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E,WAAY,YACZutI,OAAQ,OACRC,YAAa,MACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,qBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,oKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,MACPC,MAAO,OAER,CACCX,QAAS,CACR,+FACA,0CACA,iBACA,uBAED57E,SAAU,oBACV5xD,SAAU,oBACVE,WAAY,YACZutI,OAAQ,SACRC,YAAa,MACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,sBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,oKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,MAER,CACCX,QAAS,CACR,+FACA,0CACA,iBACA,uBAED57E,SAAU,YACV5xD,SAAU,YACVE,WAAY,YACZutI,OAAQ,SACRC,YAAa,IACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,sBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,oKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,MAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,aACV5xD,SAAU,aACVE,WAAY,QACZutI,OAAQ,OACRC,YAAa,IACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,sBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,sKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,OAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,mBACV5xD,SAAU,oBACVE,WAAY,QACZutI,OAAQ,OACRC,YAAa,MACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,oBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,sKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,OAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,eACV5xD,SAAU,eACVE,WAAY,QACZutI,OAAQ,SACRC,YAAa,QACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,sBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,sKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,MAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,cACV5xD,SAAU,cACVE,WAAY,QACZutI,OAAQ,QACRC,YAAa,IACbC,aAAc,QACdC,aAAc,gBACdrB,SAAU,sBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,sKACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,MAER,CACCX,QAAS,CACR,+FACA,0CACA,iBACA,uBAED57E,SAAU,eACV5xD,SAAU,eACVE,WAAY,UACZutI,OAAQ,OACRC,YAAa,IACbC,aAAc,OACdC,aAAc,gBACdrB,SAAU,qBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,+FACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,OAER,CACCX,QAAS,CACR,+FACA,0CACA,iBACA,uBAED57E,SAAU,sBACV5xD,SAAU,uBACVE,WAAY,UACZutI,OAAQ,OACRC,YAAa,MACbC,aAAc,OACdC,aAAc,gBACdrB,SAAU,mBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,+FACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,OAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,kBACV5xD,SAAU,kBACVE,WAAY,UACZutI,OAAQ,SACRC,YAAa,MACbC,aAAc,OACdC,aAAc,gBACdrB,SAAU,oBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,qGACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,MAER,CACCX,QAAS,CACR,qGACA,0CACA,iBACA,uBAED57E,SAAU,UACV5xD,SAAU,UACVE,WAAY,UACZutI,OAAQ,SACRC,YAAa,IACbC,aAAc,OACdC,aAAc,gBACdrB,SAAU,oBACVsB,kBAAmB,OACnBC,mBAAoB,KACpBC,QAAS,UACTC,OAAQ,qGACRC,eAAgB,wBAChBtB,UAAW,MACXD,QAAS,MACTF,SAAU,MACVC,UAAW,OACXyB,MAAO,KACPC,MAAO,OA6iiCRjC,YA1iiCiB,CACjBnrF,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDqtF,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED/uE,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDgvE,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDxuG,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDyuG,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDjuC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDkuC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDt9F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDu9F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDh+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDi+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDj5J,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDi7D,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDi+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDrnD,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED32C,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDJ,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDq+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED9oE,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED0+D,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDqK,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED3W,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDuM,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDqK,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDx+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDy+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED3+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED4+F,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED1K,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED2K,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED75K,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDkQ,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED5M,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED2M,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDpd,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDg4E,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED7d,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDg4C,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED9sG,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDga,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDD,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED6nE,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED6vC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDx4G,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDmzF,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED/zF,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDowI,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDl9I,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDyN,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDD,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDwzF,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED1kG,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED82H,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDpqE,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDwC,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED6/G,EAAG,CACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDgL,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED1uB,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAED2uB,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,eAAgB,CACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,eAAgB,CACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,eAAgB,CACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,eAAgB,CACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDvjF,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDwjF,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,GAAI,CACH,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,cAAe,CACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,MAAO,CACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,WAAY,CACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,UAAW,CACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,SAAU,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,IAAK,CACJ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,OAAQ,CACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,aAAc,CACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,YAAa,CACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,QAAS,CACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEDC,KAAM,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,MAkv5BD7S,UA/u5Be,CACf8S,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,UAAW,EACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,kBAAmB,EACjB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,qBAAsB,EACpB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,YAAa,EACX,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,KACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,IAEFC,YAAa,EACX,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,oBAAqB,EACnB,KACA,KACA,KACA,KACA,IAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,sBAAuB,EACrB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,0BAA2B,EACzB,KACA,KACA,KACA,KACA,IAEFC,uBAAwB,EACtB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,oBAAqB,EACnB,KACA,KACA,KACA,KACA,IAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,IACA,KACA,KACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,CACP,GACA,IAEDC,QAAS,CACR,GACA,GACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,yBAA0B,EACxB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,KACA,KACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,OAAQ,EACN,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,kBAAmB,EACjB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,YAAa,EACX,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,kBAAmB,EACjB,IACA,IACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,kBAAmB,EACjB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,oBAAqB,EACnB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,kBAAmB,EACjB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,YAAa,EACX,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,qBAAsB,EACpB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEFC,qBAAsB,EACpB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,eAAgB,EACd,IACA,IACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,EACV,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,qBAAsB,EACpB,IACA,IACA,KACA,KACA,KACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,KACA,KACA,KACA,KACA,IACA,KAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,qBAAsB,EACpB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,uBAAwB,EACtB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,qBAAsB,EACpB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,eAAgB,EACd,KACA,KACA,KACA,KACA,IACA,IACA,IACA,KAEFC,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFz9D,GAAI,EACF,IACA,IACA,IACA,IAEF09D,QAAS,EACP,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,EACjB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,wBAAyB,EACvB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,sBAAuB,EACrB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,EACnB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,EACnB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,YAAa,EACX,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,EACjB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFttJ,GAAI,EACF,IACA,GACD,EACA,EACA,GACC,IACA,IAEF+9D,GAAI,EACF,IACA,IACA,IACA,GACD,GACC,IACA,IAEFwvF,cAAe,EACb,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,GAAI,EACF,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,cAAe,EACb,IACA,IAEFC,QAAS,EACP,IACA,IAEFvsJ,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFwsJ,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,mBAAoB,EAClB,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,mBAAoB,EAClB,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,UAAW,EACT,IACA,GACD,EACA,EACA,GACC,IACA,IAEFC,UAAW,EACT,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,UAAW,EACT,IACA,IAEFC,eAAgB,EACd,IACA,IAEFC,qBAAsB,EACpB,IACA,IAEFC,eAAgB,EACd,IACA,IAEFC,UAAW,EACT,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,EACjB,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,KACA,KACA,KACA,KACA,IACA,IACA,KACA,IAEFC,gBAAiB,EACf,KACA,KACA,KACA,KACA,IACA,IACA,KACA,IAEFC,WAAY,EACV,IACA,IAEFC,GAAI,EACF,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,GAAI,EACF,IACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,IAEFprJ,GAAI,EACF,IACA,IAEFqrJ,QAAS,EACP,IACA,IAEFC,WAAY,EACV,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,gBAAiB,EACf,IACA,IAEFC,OAAQ,CACP,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,GACA,IACC,IACA,GACD,EACA,GACC,IAEF7zG,GAAI,EACF,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEF8zG,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFhrE,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFgrE,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,YAAa,CACZ,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,YAAa,CACZ,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,eAAgB,CACf,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,YAAa,CACZ,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,GACA,IACC,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,GACD,EACA,GACC,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,CACf,GACA,GACA,GACA,GACA,IAEDC,YAAa,CACZ,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IAEDC,GAAI,CACH,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,CACX,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,YAAa,CACZ,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,wBAAyB,CACxB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,sBAAuB,CACtB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,uBAAwB,CACvB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,CACpB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,CACpB,GACA,GACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,yBAA0B,EACxB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,GACD,EACA,GACC,GAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,GAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,GACD,EACA,GACC,GAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,IAEFC,QAAS,EACP,IACA,IAEFC,WAAY,EACV,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,gBAAiB,EACf,IACA,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,IAEFC,mBAAoB,EAClB,IACA,IAEFC,sBAAuB,EACrB,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IAEFC,aAAc,EACZ,IACA,IAEFC,gBAAiB,EACf,IACA,IAEF7gE,GAAI,EACF,IACA,IACA,IACA,IAEF8gE,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,wBAAyB,EACvB,IACA,IACA,IACA,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,0BAA2B,EACzB,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,sBAAuB,EACrB,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFj9I,GAAI,EACF,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFi9I,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,cAAe,EACb,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFh9J,GAAI,EACF,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFi9J,QAAS,EACP,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,EACA,EACA,GACC,IAEFC,oBAAqB,EACnB,KACA,KACA,KACA,KACA,IACA,IACA,KACA,IAEFC,iBAAkB,EAChB,KACA,KACA,KACA,KACA,IACA,IACA,KACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,EAChB,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,uBAAwB,EACtB,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,EAChB,IACA,GACD,EACA,EACA,EACA,EACA,GACC,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,YAAa,EACX,IACA,GACD,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,UAAW,EACT,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,WAAY,EACV,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,SAAU,EACR,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,KACA,IACA,KACA,IAEFC,GAAI,EACF,IACA,GACD,EACA,GACC,GACD,GACC,IAEF3nH,GAAI,EACF,IACA,GACD,EACA,EACA,EACA,GACC,IAEF4nH,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,UAAW,EACT,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEF7lI,GAAI,CACH,GACA,GACA,GACA,IAED8lI,cAAe,CACd,GACA,GACA,GACA,IAEDC,GAAI,CACH,GACA,GACA,GACA,IACC,IAEF9mJ,GAAI,CACH,GACA,GACA,GACA,IAED+mJ,QAAS,CACR,GACA,GACA,GACA,IAEDC,WAAY,CACX,GACA,GACA,GACA,IAEDC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,kBAAmB,EACjB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,oBAAqB,EACnB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,KACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,GACA,IAEDC,mBAAoB,CACnB,GACA,GACA,GACA,IAEDC,QAAS,CACR,GACA,GACA,GACA,IACC,IAEFC,QAAS,CACR,GACA,GACA,GACA,IAEDC,aAAc,CACb,GACA,GACA,GACA,IAEDC,gBAAiB,CAChB,GACA,GACA,GACA,IAEDC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,kBAAmB,EACjB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,gBAAiB,EACf,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,oBAAqB,EACnB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,KACA,IACA,KACA,IAEFC,QAAS,EACP,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,aAAc,EACZ,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,eAAgB,EACd,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,GACA,GACA,GACA,IAEDC,mBAAoB,CACnB,GACA,GACA,GACA,IAEDC,QAAS,CACR,GACA,GACA,GACA,IACC,IAEFC,QAAS,CACR,GACA,GACA,GACA,IAEDC,aAAc,CACb,GACA,GACA,GACA,IAEDC,gBAAiB,CAChB,GACA,GACA,GACA,IAEDC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,qBAAsB,EACpB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,yBAA0B,EACxB,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IACA,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,wBAAyB,EACvB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,sBAAuB,EACrB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,0BAA2B,EACzB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,oBAAqB,EACnB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,KACA,IACA,KACA,IAEFC,cAAe,EACb,IACA,GACD,EACA,GACC,GACD,GACC,IAEFC,cAAe,EACb,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,EAClB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,qBAAsB,EACpB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,yBAA0B,EACxB,IACA,GACD,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,GACA,GACA,GACA,IAEDC,yBAA0B,CACzB,GACA,GACA,GACA,IAEDC,cAAe,CACd,GACA,GACA,GACA,IACC,IAEFC,cAAe,CACd,GACA,GACA,GACA,IAEDC,mBAAoB,CACnB,GACA,GACA,GACA,IAEDC,sBAAuB,CACtB,GACA,GACA,GACA,IAEDC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,UAAW,EACT,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,IACA,IACA,GACD,GACC,IACA,IAEFC,YAAa,EACX,KACA,KACA,IACA,IACA,GACD,GACC,IACA,IAEFC,kBAAmB,EACjB,KACA,KACA,IACA,IACA,GACD,GACC,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,GACD,EACA,GACC,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IAEF3sJ,GAAI,EACF,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEF4sJ,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,EACZ,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,WAAY,EACV,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,YAAa,EACX,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,EACP,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,SAAU,EACR,IACA,IACA,IACA,GACD,GACC,GACD,GACC,IAEFC,GAAI,EACF,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,OAAQ,EACN,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEF7tJ,GAAI,EACF,IACA,IACA,IACA,IACA,IAEF8tJ,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IAEFC,GAAI,EACF,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IACA,IAEFC,SAAU,EACR,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IAEFC,YAAa,EACX,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IAEFC,QAAS,EACP,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,kBAAmB,EACjB,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IAEFC,cAAe,EACb,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,IACA,IACA,IAEFC,aAAc,EACZ,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IAEFC,eAAgB,EACd,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,EACnB,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IAEFC,WAAY,EACV,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,qBAAsB,EACpB,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,EAClB,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,EACtB,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,EAChB,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,EACf,IACA,IACA,KACA,KACA,IACA,IACA,IACA,IAEFC,GAAI,CACH,GACA,IACC,IACA,IAEFC,QAAS,CACR,GACA,IACC,IACA,IAEFC,QAAS,CACR,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,WAAY,CACX,GACA,IACC,IACA,IAEFC,YAAa,CACZ,GACA,IACC,IACA,IAEFC,QAAS,CACR,GACA,IACC,IACA,IAEFC,SAAU,CACT,GACA,IACC,IACA,IAEFC,SAAU,CACT,GACA,IACC,IACA,IAEFC,QAAS,CACR,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,kBAAmB,CAClB,GACA,IACC,IACA,IAEFC,gBAAiB,CAChB,GACA,IACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,cAAe,CACd,GACA,IACC,IACA,IAEFC,cAAe,CACd,GACA,IACC,IACA,IAEFC,QAAS,CACR,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,kBAAmB,CAClB,GACA,IACC,IACA,IAEFC,gBAAiB,CAChB,GACA,IACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,IAEFC,aAAc,CACb,GACA,IACC,IACA,IAEFC,cAAe,CACd,GACA,IACC,IACA,IAEFC,cAAe,CACd,GACA,IACC,IACA,IAEFC,YAAa,CACZ,GACA,IACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,IAEFC,sBAAuB,CACtB,GACA,IACC,IACA,IAEFC,oBAAqB,CACpB,GACA,IACC,IACA,IAEFC,qBAAsB,CACrB,GACA,IACC,IACA,IAEFC,iBAAkB,CACjB,GACA,IACC,IACA,IAEFC,kBAAmB,CAClB,GACA,IACC,IACA,IAEFC,kBAAmB,CAClB,GACA,IACC,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,KACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,KACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,GACD,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,GACD,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,KACA,KAEFC,aAAc,CACb,EACA,GACC,KACA,KAEFC,mBAAoB,CACnB,EACA,GACC,KACA,KAEFC,QAAS,CACR,EACA,GACC,KACA,KAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,KACA,KAEFC,aAAc,CACb,EACA,GACC,KACA,KAEFC,gBAAiB,CAChB,EACA,GACC,KACA,KAEFC,oBAAqB,CACpB,EACA,GACC,KACA,KAEFC,iBAAkB,CACjB,EACA,GACC,KACA,IACD,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,KACA,KACA,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,GACC,KACA,KACA,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,KACA,KACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,KACA,KACA,IACA,IACA,IACA,KAEFhvM,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFivM,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,GACC,KACA,KACA,IACA,IACA,IACA,KAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,KACA,KACA,IACA,IACA,IACA,KAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,WAAY,CACX,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,OAAQ,CACP,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,EACA,GACC,IAEFC,UAAW,CACV,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFx0J,GAAI,CACH,EACA,GACC,IACA,IAEFy0J,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,yBAA0B,CACzB,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,wBAAyB,CACxB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,sBAAuB,CACtB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,uBAAwB,CACvB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IACA,IACA,IACA,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,WAAY,CACX,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,OAAQ,CACP,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,OAAQ,CACP,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,WAAY,CACX,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,SAAU,CACT,EACA,EACA,GACA,IAEDC,SAAU,CACT,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IACC,IAEFC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,cAAe,CACd,EACA,EACA,GACA,IACC,IAEFC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,GAAI,CACH,EACA,EACA,GACA,IACC,IAEFC,WAAY,CACX,EACA,EACA,GACA,IAEDC,GAAI,CACH,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,WAAY,CACX,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,eAAgB,CACf,EACA,EACA,GACA,IAEDC,SAAU,CACT,EACA,EACA,GACA,IAEDC,SAAU,CACT,EACA,EACA,GACA,IAEDC,OAAQ,CACP,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,YAAa,CACZ,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,YAAa,CACZ,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,mBAAoB,CACnB,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,YAAa,CACZ,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,cAAe,CACd,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,YAAa,CACZ,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,YAAa,CACZ,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,mBAAoB,CACnB,EACA,EACA,GACA,IACC,IAEFC,aAAc,CACb,EACA,EACA,GACA,IACC,IAEFC,QAAS,CACR,EACA,EACA,GACA,IACC,IAEFC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,QAAS,CACR,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,gBAAiB,CAChB,EACA,EACA,GACA,IAEDC,aAAc,CACb,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,YAAa,CACZ,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,wBAAyB,CACxB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,sBAAuB,CACtB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,wBAAyB,CACxB,EACA,EACA,GACA,IAEDC,sBAAuB,CACtB,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,yBAA0B,CACzB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,yBAA0B,CACzB,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IACC,IAEFC,mBAAoB,CACnB,EACA,EACA,GACA,IACC,IAEFC,mBAAoB,CACnB,EACA,EACA,GACA,IACC,IAEFC,yBAA0B,CACzB,EACA,EACA,GACA,IACC,IAEFC,mBAAoB,CACnB,EACA,EACA,GACA,IACC,IAEFC,cAAe,CACd,EACA,EACA,GACA,IACC,IAEFC,sBAAuB,CACtB,EACA,EACA,GACA,IAEDC,cAAe,CACd,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,wBAAyB,CACxB,EACA,EACA,GACA,IAEDC,sBAAuB,CACtB,EACA,EACA,GACA,IAEDC,mBAAoB,CACnB,EACA,EACA,GACA,IAEDC,0BAA2B,CAC1B,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,oBAAqB,CACpB,EACA,EACA,GACA,IAEDC,kBAAmB,CAClB,EACA,EACA,GACA,IAEDC,OAAQ,CACP,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,WAAY,CACX,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,IACA,IACA,GACD,GACC,IAEFC,GAAI,CACH,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,WAAY,CACX,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,OAAQ,CACP,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,GACD,GACC,IAEFC,GAAI,CACH,EACA,GACC,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,IAEFC,aAAc,CACb,EACA,GACC,IACA,GACD,GACC,IAEFC,WAAY,CACX,EACA,GACC,IACA,GACD,GACC,IAEFC,YAAa,CACZ,EACA,GACC,IACA,GACD,GACC,IAEFC,QAAS,CACR,EACA,GACC,IACA,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,GACC,IAEFC,SAAU,CACT,EACA,GACC,IACA,GACD,GACC,IAEFC,GAAI,CACH,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,WAAY,CACX,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,eAAgB,CACf,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,sBAAuB,CACtB,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,wBAAyB,CACxB,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,OAAQ,CACP,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,KAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,eAAgB,CACf,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,OAAQ,CACP,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,wBAAyB,CACxB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEF9qG,GAAI,CACH,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEF+qG,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,GACC,GACD,GACC,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,wBAAyB,CACxB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,qBAAsB,CACrB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,eAAgB,CACf,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,EACA,GACC,IAEFtrJ,GAAI,CACH,EACA,EACA,EACA,GACC,GACD,GACC,IAEFurJ,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,wBAAyB,CACxB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,uBAAwB,CACvB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,GACC,GACD,GACC,IAEFC,OAAQ,CACP,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,eAAgB,CACf,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,GACC,IACA,IACA,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,GACC,IAEFC,YAAa,CACZ,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,uBAAwB,CACvB,EACA,EACA,EACA,EACA,GACC,IACA,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,qBAAsB,CACrB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,wBAAyB,CACxB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,YAAa,CACZ,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,iBAAkB,CACjB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,uBAAwB,CACvB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,GACC,IACA,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,OAAQ,CACP,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,YAAa,CACZ,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,wBAAyB,CACxB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,gBAAiB,CAChB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,sBAAuB,CACtB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,eAAgB,CACf,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,0BAA2B,CAC1B,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,IAEFC,GAAI,CACH,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,WAAY,CACX,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,SAAU,CACT,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,OAAQ,CACP,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,QAAS,CACR,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,gBAAiB,CAChB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,YAAa,CACZ,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,aAAc,CACb,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,cAAe,CACd,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,wBAAyB,CACxB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,sBAAuB,CACtB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,oBAAqB,CACpB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,kBAAmB,CAClB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,GAEFC,mBAAoB,CACnB,EACA,EACA,EACA,EACA,EACA,EACA,GACC,MAiGGhjK,GAAQ,WACZ,IAAK,IAAIzgG,EAAOrd,UAAU5c,OAAQ45D,EAAa,IAAI99C,MAAMme,GAAOC,EAAO,EAAGA,EAAOD,EAAMC,IACrF0/B,EAAW1/B,GAAQtd,UAAUsd,GAG/B,OADcpe,MAAMw5E,KAAK17B,GAAYhgE,KAAIsgB,IAAS,OAASA,EAAK0zG,SAAS,KAAK//F,OAAO,KACxEjc,KAAK,GACpB,EAsOA,MAAM+rR,GACJ,WAAO1+R,CAAK2lK,EAAU/lK,EAAKqwG,EAAQ53G,GACjC,IAAIiiC,EACJ,GAAmB,kBAAR16B,EAAkB,CAC3B,GAA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ACA,MACA,KACA,MACA,MACA,MACA,MACA,OACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,MACA,MACA,MACA,MACA,OACA,MACA,QACA,MACA,MACA,MACA,OACA,OACA,QACA,MACA,MACA,MACA,MACA,MACA,KACA,KACA,SACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,IACA,KACA,MACA,MACA,MACA,QACA,MACA,OACA,OACA,OACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,OACA,MACA,MACA,QACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,QACA,MACA,MACA,MACA,KACA,MACA,KACA,KACA,MACA,OACA,MACA,MACA,MACA,OACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,UACA,QACA,MACA,OACA,MACA,OACA,MACA,QFigDiC,IAAIA,IE9/Cb,CACxB,aACA,YACA,YACA,aACA,aACA,cACA,oBACA,oBACA,aACA,YACA,qBACA,4BACA,yBACA,uBACA,0BACA,0CACA,iDACA,kDACA,0EACA,4EACA,oEACA,kBACA,oBACA,+BACA,mBACA,sBACA,8BACA,gCACA,6BACA,YACA,aACA,mBACA,aACA,kBACA,gBACA,iBACA,cACA,iBACA,iBACA,yBACA,aACA,aACA,aACA,YACA,aACA,YACA,YACA,kBACA,eACA,YACA,gBACA,YACA,kBACA,oBACA,4BACA,2BACA,gCACA,kBACA,mBACA,YACA,aACA,gCACA,WACA,WACA,eACA,cACA,yBACA,kBACA,mBACA,wBACA,iCACA,wCACA,oCACA,oBACA,6BACA,oBACA,yBACA,qBACA,oBACA,oBACA,kBACA,aACA,wBACA,YACA,YACA,YACA,YACA,YACA,YACA,aACA,kBACA,iCACA,aACA,sBACA,aACA,sBACA,aACA,YACA,oBACA,mBACA,gBACA,aACA,oBACA,+BACA,cACA,4BACA,4BAC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,IAAK,sDDLbrQ,GCQc,CACVw2mB,IAAKl+kB,6EACL8/e,aAAc,CAEZ,IAAIswG,GAAa8J,eAAe,CAC9BxB,2BAA4BA,KAAM,EAClCF,wBAAyB,CACvB,YACA,MACA,8BACA,yBACA,8BACA,4BAGFuB,wBvHWRz/mB,GuHXoEA,GAAAA,EvHepEu2mB,GAAAv2mB,GAAA,kBAAAmga,GAAAy8K,OuHbM,IAAIh/J,GAAoB3gE,YAAY,CAAEz/W,SAAS,KAKjDo1f,WAAY,EAEZG,iBAAkB,GAGlB7hY,QAAS,wDACTo6X,YAAa5le,SDnCjB05Q,UAAAhyS,GAAAgyS,WAAA,GACAhyS,GAAAgyS,UAAAynU,IAAAz5mB,GAAAgyS,UAAAynU,KAAA,CACAp/mB,KAAA,0BACAkgnB,SAAA,CACA,CACAlgnB,KAAA,oBACAy+B,QAAAo6kB,IAGAp6kB,QAAAo6kB,GAEAwrC,GAAA1+oB,IC4BA2se,EAAAA,QAAgBjve,EAAAA,GAAAA,KAACq3S,GAAI,IAAKltI,SAASmlO,eAAe,SAKlD2xQ","sources":["hooks/queries/useCreateFolder.tsx","components/AssetRepository/AssetRepositoryBody/EditableAssetNameCell.tsx","hooks/queries/useRenameFolder.tsx","hooks/queries/useRenameAsset.tsx","components/ui/Table/TableHeaderFilter/TableHeaderFilter.styles.ts","components/ui/Table/TableHeaderFilter/TableHeaderFilter.tsx","components/AssetRepository/AssetRepositoryBody/LabelFilter/LabelFilter.tsx","components/ui/Label/LabelStyles.tsx","components/ui/Label/index.tsx","components/ui/Label/Label.tsx","hooks/useFittingFlexItemsCount.tsx","components/AssetRepository/LabelCell/LabelCell.styles.ts","components/AssetRepository/LabelCell/LabelCell.tsx","components/AssetRepository/constants.tsx","components/AssetRepository/types.ts","components/AssetRepositoryHeader/AssetRepositoryHeaderStyles.ts","components/CloneOrUploadModal/CloneOrUploadModal.tsx","components/CombinedInvitationSender/CombinedInvitationSender.styles.ts","components/CombinedInvitationSender/CombinedInvitationSender.tsx","components/CombinedInvitationSender/PassportInvitationSender.tsx","components/CompanyCard/CompanyCard.styles.ts","components/CompanyCard/CompanyCard.tsx","components/CompanyDetails/Avatar/AvatarStyles.tsx","components/CompanyDetails/Avatar/Avatar.tsx","components/CompanyDetails/Background/BackgroundStyles.tsx","components/CompanyDetails/Background/Background.tsx","components/CompanyInfo/forms/About/AboutStyles.tsx","components/CompanyInfo/forms/sharedStyles.ts","components/ConfirmationModalBody/ConfirmationModalBody.tsx","components/FileUploader/FileUploader.styles.tsx","components/FileUploader/FileUploader.tsx","components/FileUploader/FileUploadingWindow/FileUploadingWindow.styles.tsx","components/FileUploader/FileUploadingWindow/IconDisplay/IconDisplayStyles.tsx","components/FileUploader/FileUploadingWindow/IconDisplay/IconDisplay.tsx","components/FileUploader/FileUploadingWindow/FileUploadingWindow.tsx","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/node_modules/tslib/tslib.es6.js","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/AnimateCCError.ts","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/AdobeAn/AdobeAn.ts","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/CreateJS/CreateJS.ts","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/hexToRgba.ts","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/log.ts","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/AnimateCC/AnimateCC.tsx","../../node_modules/.pnpm/react-adobe-animate@2.5.0_react@17.0.2/node_modules/react-adobe-animate/src/utils/getCompositionId.ts","components/FullScreenLoading.tsx","components/GetStartedBox/GetStartedBox.styles.tsx","components/GetStartedBox/GetStartedBox.tsx","components/GetStartedBox/index.tsx","components/Group/modals.tsx","components/Notifications/NotificationItem.styles.tsx","components/Notifications/NotificationItem.tsx","components/Notifications/ReadCircle.tsx","../../node_modules/.pnpm/@react-pdf+primitives@3.1.1/node_modules/@react-pdf/primitives/src/index.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/DecodeStream.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/EncodeStream.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Base.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Number.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/utils.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Array.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/LazyArray.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Bitfield.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Buffer.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Optional.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Reserved.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/String.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Struct.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/VersionedStruct.js","../../node_modules/.pnpm/restructure@3.0.2/node_modules/restructure/src/Pointer.js","../../node_modules/.pnpm/@swc+helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.js","../../node_modules/.pnpm/unicode-properties@1.4.1/node_modules/unicode-properties/dist/data.json","../../node_modules/.pnpm/unicode-properties@1.4.1/node_modules/unicode-properties/dist/index.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/base.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/decorators.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/cmap.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/head.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/hhea.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/hmtx.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/maxp.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/encodings.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/name.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/OS2.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/post.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/cvt.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/fpgm.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/loca.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/prep.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/glyf.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFIndex.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFOperand.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFDict.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFPointer.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFPrivateDict.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFStandardStrings.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFEncodings.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFCharsets.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/opentype.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/variations.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFTop.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/cff/CFFFont.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/VORG.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/EBDT.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/EBLC.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/sbix.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/COLR.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/CPAL.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/BASE.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/GDEF.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/GPOS.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/GSUB.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/JSTF.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/HVAR.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/DSIG.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/gasp.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/hdmx.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/kern.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/LTSH.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/PCLT.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/VDMX.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/vhea.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/vmtx.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/avar.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/aat.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/bsln.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/feat.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/fvar.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/gvar.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/just.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/morx.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/opbd.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/index.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/directory.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/utils.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/CmapProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/KernProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/UnicodeLayoutEngine.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/BBox.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/Script.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/GlyphRun.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/GlyphPosition.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/aat/AATFeatureMap.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/aat/AATLookupTable.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/aat/AATStateMachine.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/aat/AATMorxProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/aat/AATLayoutEngine.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/ShapingPlan.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/DefaultShaper.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/ArabicShaper.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/GlyphIterator.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/OTProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/GlyphInfo.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/HangulShaper.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/indic.json","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/use.json","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/indic-data.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/IndicShaper.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/UniversalShaper.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/shapers/index.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/GSUBProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/GPOSProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/opentype/OTLayoutEngine.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/layout/LayoutEngine.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/Path.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/StandardNames.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/Glyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/TTFGlyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/CFFGlyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/SBIXGlyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/COLRGlyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/GlyphVariationProcessor.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/subset/Subset.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/TTFGlyphEncoder.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/subset/TTFSubset.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/subset/CFFSubset.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/TTFFont.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/WOFFDirectory.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/glyph/WOFF2Glyph.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/tables/WOFF2Directory.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/WOFF2Font.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/TrueTypeCollection.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/DFont.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/index.js","../../node_modules/.pnpm/fontkit@2.0.4/node_modules/fontkit/dist/src/WOFFFont.js","../../node_modules/.pnpm/@react-pdf+font@2.5.2/node_modules/@react-pdf/font/lib/index.browser.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../../node_modules/.pnpm/@react-pdf+fns@2.2.1/node_modules/@react-pdf/fns/lib/index.js","../../node_modules/.pnpm/svg-arc-to-cubic-bezier@3.2.0/node_modules/svg-arc-to-cubic-bezier/modules/index.js","../../node_modules/.pnpm/normalize-svg-path@1.1.0/node_modules/normalize-svg-path/index.mjs","../../node_modules/.pnpm/@react-pdf+render@3.5.0/node_modules/@react-pdf/render/lib/index.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/dac.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/utils.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/dht.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/dqt.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/dri.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/eoi.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/exif.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/jfif.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/sos.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/sof.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/markers/soi.js","../../node_modules/.pnpm/jay-peg@1.1.0/node_modules/jay-peg/src/index.js","../../node_modules/.pnpm/@react-pdf+png-js@2.3.1/node_modules/@react-pdf/png-js/lib/png-js.browser.js","../../node_modules/.pnpm/@react-pdf+pdfkit@3.2.0/node_modules/@react-pdf/pdfkit/lib/pdfkit.browser.js","../../node_modules/.pnpm/@react-pdf+stylesheet@4.3.0/node_modules/@react-pdf/stylesheet/lib/index.js","../../node_modules/.pnpm/bidi-js@1.0.3/node_modules/bidi-js/dist/bidi.mjs","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../../node_modules/.pnpm/@react-pdf+textkit@4.4.1/node_modules/@react-pdf/textkit/lib/textkit.js","../../node_modules/.pnpm/@react-pdf+image@2.3.6/node_modules/@react-pdf/image/lib/index.browser.js","../../node_modules/.pnpm/@react-pdf+layout@3.13.0/node_modules/@react-pdf/layout/lib/index.js","../../node_modules/.pnpm/emoji-regex@10.4.0/node_modules/emoji-regex/index.mjs","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/node_modules/react-reconciler/cjs/react-reconciler.production.min.js","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/@react-pdf/renderer/src/utils/propsEqual.js","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/@react-pdf/renderer/src/renderer.js","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/@react-pdf/renderer/src/index.js","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/@react-pdf/renderer/src/dom/usePDF.js","../../node_modules/.pnpm/@react-pdf+renderer@3.4.5_react@17.0.2/node_modules/@react-pdf/renderer/src/dom/index.js","components/PassportPDF/PassportPDF.tsx","components/PassportPDF/useRenderPdfBlob.tsx","components/Passports/PassportForm/PassportForm.tsx","components/Passports/Modals/GetPassportModal.tsx","components/Passports/Modals/WelcomePassportModal.tsx","components/Passports/utils.tsx","components/PulsePage/Groups/GroupCard/Cards/JoinableGroupCard.tsx","components/PulsePage/Groups/GroupCard/GroupCardStyles.tsx","components/PulsePage/Groups/GroupCard/GroupCard.tsx","components/PulsePage/Groups/GroupDataroomSettings/GroupDataroomSettings.styles.ts","components/PulsePage/Groups/GroupDataroomSettings/GroupDataroomSettings.tsx","components/PulsePage/Groups/GroupDescription/GroupDescriptionStyles.tsx","components/PulsePage/Groups/GroupDescription/GroupDescription.tsx","components/PulsePage/Groups/GroupMembers/modals.tsx","components/ui/UserPreview/UserPreview.styles.ts","components/ui/UserPreview/UserPreview.tsx","components/PulsePage/Groups/GroupMembers/GroupMembers.styles.ts","components/PulsePage/Groups/GroupMembers/GroupMemberData.tsx","components/PulsePage/Groups/GroupMembers/GroupMemberBox.tsx","components/PulsePage/Groups/GroupMembers/GroupMemberRequestBox.tsx","components/PulsePage/Groups/GroupMembers/GroupMembers.tsx","hooks/queries/useInviteToGroup.tsx","components/PulsePage/Groups/GroupSettings/GroupSettingsStyle.tsx","components/PulsePage/Groups/GroupSettings/GroupSettingsRow.tsx","components/PulsePage/Groups/GroupSettings/GroupSettings.tsx","hooks/queries/useDeleteGroup.tsx","components/FlowPopupContent.tsx","components/PulsePage/Groups/createGroup/CreateGroupModal.styles.ts","components/PulsePage/Groups/createGroup/CreateGroupModal.tsx","hooks/queries/useCreateGroup.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/CardMedia/cardMediaClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/CardMedia/CardMedia.js","components/PulsePage/helpers.ts","components/PulsePage/About/CompanyDetailsCard/CompanyDetailsCardStyles.tsx","components/PulsePage/About/CompanyDetailsCard/CompanyDetailsCard.tsx","components/PulsePage/TagsBox/TagsBoxStyles.tsx","components/PulsePage/TagsBox/index.tsx","components/PulsePage/TagsBox/TagsBox.tsx","components/CompanyCard/CompanyCardsRow/CompanyCardsRowStyles.ts","components/CompanyCard/CompanyCardsRow/CompanyCardsRow.tsx","components/VendorSearch/CompanyListWithTitle/CompanyListWithTitleStyle.ts","components/VendorSearch/CompanyListWithTitle/CompanyListWithTitle.tsx","components/PulsePage/About/AboutStyles.tsx","components/PulsePage/About/About.tsx","components/PulsePage/Groups/GroupCard/Cards/OwnGroupCard.tsx","components/ui/BlankCard/BlankCard.styles.ts","components/ui/BlankCard/BlankCard.tsx","components/PulsePage/Groups/MyGroups/MyGroupsStyles.tsx","components/PulsePage/Groups/MyGroups/MyGroups.tsx","hooks/queries/useOwnGroups.tsx","hooks/queries/useJoinedGroups.tsx","components/PulsePage/ProductsAndServices/ProductOrService/ProductOrServiceStyles.tsx","components/PulsePage/ProductsAndServices/ProductOrService/ProductOrService.tsx","components/PulsePage/ProductsAndServices/ProductsAndServicesStyles.tsx","components/PulsePage/ProductsAndServices/ProductsAndServices.tsx","components/PassportCard/PassportCardStyles.tsx","components/PassportCard/PassportCard.tsx","shared/constants/passportsDetails.ts","components/PassportsList/PassportsList.tsx","components/PulsePage/PulsePassport/PulsePassportStyles.tsx","components/PulsePage/PulsePassport/PulsePassport.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Box/boxClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Box/Box.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createBox/createBox.js","components/PulsePage/Tabs/TabPanel/TabPanelStyles.tsx","components/PulsePage/Tabs/TabPanel/TabPanel.tsx","components/PulsePage/Tabs/TabsStyles.tsx","components/PulsePage/Tabs/Tabs.tsx","components/PulsePage/PulsePageStyles.tsx","components/PulsePage/PulsePage.tsx","hooks/useMutationObserver.tsx","components/TagInputBox/TagInputBoxStyles.tsx","components/TagInputBox/TagInputBox.tsx","components/ui/WithKebabMenu/WithKebabMenuStyles.tsx","components/ui/WithKebabMenu/WithKebabMenu.tsx","components/VendorSearch/Sidebar/SidebarStyles.ts","components/VendorSearch/Sidebar/CompanyListItem/CompanyListItemStyles.ts","components/VendorSearch/Sidebar/CompanyListItem/CompanyListItem.tsx","hooks/queries/useRenameCompanyList.tsx","hooks/queries/useDeleteCompanyList.tsx","components/VendorSearch/Sidebar/SideBar.tsx","components/VendorSearch/VendorFilterProvider.tsx","hooks/queries/useSearchGroups.tsx","components/DisplaySelector/DisplaySelector.styles.ts","components/DisplaySelector/DisplaySelector.tsx","pages/MySuppliersPage/CompanyInfoRow/CompanyInfoRow.styles.ts","pages/MySuppliersPage/CompanyInfoRow/CompanyInfoRow.tsx","components/VendorSearch/CompanyRow/CompanyRow.tsx","components/VendorSearch/CompaniesGridOrList/CompaniesGridOrList.styles.ts","components/VendorSearch/CompaniesGridOrList/CompaniesGridOrList.tsx","components/VendorSearch/CompanyListWithTitle/FirstAccessBox/FirstAccessBox.tsx","components/VendorSearch/CompanyListSearch/CompanyListSearchStyles.ts","components/VendorSearch/CompanyListSearch/CompanyListSearch.tsx","components/VendorSearch/GroupSearch/SupplierSearchStyles.ts","components/VendorSearch/GroupSearch/GroupSearchBody.tsx","components/VendorSearch/Header/FilterBar/FilterBarStyles.ts","components/VendorSearch/Header/FilterBar/FilterBar.tsx","components/VendorSearch/Header/HeaderStyles.ts","components/VendorSearch/Header/Header.tsx","components/VendorSearch/Layout/Layout.tsx","components/VendorSearch/SupplierSearch/constants.ts","components/VendorSearch/ZoneBox/ZoneBoxStyles.ts","components/VendorSearch/ZoneBox/ZoneBox.tsx","components/VendorSearch/SupplierSearch/SupplierSearchStyles.ts","components/VendorSearch/SupplierSearch/SupplierSearchBody.tsx","components/VendorSearch/VendorSearch.tsx","components/CompanyInfo/forms/About/YouTubeInformationIcon.tsx","components/VideoManager/UploadOrEditVideo.styles.ts","components/VideoManager/UploadOrEditVideo.tsx","util/files.ts","components/assets/AttachmentUploader.tsx","components/assets/RepositoryModal.tsx","components/form/Field.tsx","components/form/Form.tsx","components/ui/Attachments/AttachmentRow.styles.ts","components/ui/Attachments/AttachmentRow.tsx","components/ui/Attachments/Attachments.styles.ts","components/ui/Attachments/Attachments.tsx","components/ui/Avatar/Avatar.styles.ts","components/ui/Avatar/Avatar.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/MoreHoriz.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js","components/ui/Breadcrumb/BreadcrumbStyles.tsx","components/ui/Breadcrumb/Breadcrumb.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/CircularProgress/circularProgressClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/CircularProgress/CircularProgress.js","components/ui/Button/Button.styles.tsx","components/ui/Button/Button.tsx","components/ui/Card/Card.styles.ts","components/ui/Card/Card.tsx","components/ui/EditableText/EditableTextCellStyles.ts","components/ui/EditableText/EditableTextCell.tsx","components/ui/FormSelect/FormSelect.styles.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/useAutocomplete/useAutocomplete.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListSubheader/listSubheaderClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListSubheader/ListSubheader.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/Cancel.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Chip/chipClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Chip/Chip.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Autocomplete/autocompleteClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Autocomplete/Autocomplete.js","components/ui/FormSelect/FormSelect.tsx","components/ui/IconButton/IconButton.styles.ts","components/ui/IconButton/IconButton.tsx","components/ui/InformationIcon/InformationIconStyles.ts","components/ui/InformationIcon/InformationIcon.tsx","components/ui/Input/Input.styles.ts","components/ui/Input/Input.tsx","components/ui/InsertedImage/InsertedImage.styles.ts","components/ui/InsertedImage/InsertedImage.tsx","components/ui/KebabMenu.tsx","../../node_modules/.pnpm/react-router-hash-link@2.4.3_react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-hash-link/node_modules/tslib/tslib.es6.js","../../node_modules/.pnpm/react-router-hash-link@2.4.3_react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-hash-link/src/HashLink.jsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Link/linkClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Link/getTextDecoration.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Link/Link.js","components/ui/Link/Link.styles.tsx","components/ui/Link/LinkComponent.tsx","components/ui/Link/index.tsx","components/ui/LockedButton/LockedButtonStyles.tsx","components/ui/LockedButton/LockedButton.tsx","components/ui/Modal/Actions/ModalActions.tsx","components/ui/Modal/Actions/ModalActionsStyles.ts","components/ui/Modal/Header/ModalHeader.styles.ts","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogTitle/DialogTitle.js","components/ui/Modal/Header/ModalHeader.tsx","components/ui/Modal/SimpleModalBody/SimpleModalBody.tsx","components/ui/Modal/SimpleModalBody/SimpleModalBodyStyles.ts","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Dialog/dialogClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Dialog/Dialog.js","components/ui/Modal/Modal.styles.ts","components/ui/Modal/Modal.tsx","components/ui/ModalHeader/ModalHeaderStyles.ts","components/ui/ModalHeader/ModalHeader.tsx","components/ui/MultiSelect/Body/Body.styles.ts","components/ui/MultiSelect/Body/Body.tsx","components/ui/MultiSelect/MultiSelect.tsx","components/ui/MultiSelect/MultiSelectStyles.ts","components/ui/MultiSelectList/MultiSelectList.tsx","components/ui/MultiSelectList/MultiSelectListStyles.ts","components/ui/NoContent/NoContent.tsx","components/ui/PageLayoutWithSidebar/PageLayoutWithSidebarAndActions.styles.tsx","components/ui/PageLayoutWithSidebar/PageLayoutWithSidebarAndActions.tsx","components/ui/RadioButton/RadioLabel.styles.ts","components/ui/RadioButton/RadioLabel.tsx","components/ui/RadioGroup/PulseRadioGroup.styles.ts","components/ui/RadioGroup/PulseRadioGroup.tsx","components/ui/Searchbar/SearchbarStyles.ts","components/ui/Searchbar/Searchbar.tsx","components/ui/SideMenu/SideMenu.styles.tsx","components/ui/SideMenu/SideMenu.tsx","components/ui/SubSelect/SubSelect.tsx","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/cache.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/clone-svg.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/is-local.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/make-ajax-request.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/request-queue.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/load-svg-cached.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/load-svg-uncached.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/unique-id.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/inject-element.js","../../node_modules/.pnpm/react-svg@16.1.15_react-dom@17.0.2_react@17.0.2/node_modules/react-svg/compiled/ReactSVG.js","../../node_modules/.pnpm/react-svg@16.1.15_react-dom@17.0.2_react@17.0.2/node_modules/react-svg/compiled/owner-window.js","../../node_modules/.pnpm/@tanem+svg-injector@10.1.58/node_modules/@tanem/svg-injector/compiled/svg-injector.js","../../node_modules/.pnpm/react-svg@16.1.15_react-dom@17.0.2_react@17.0.2/node_modules/react-svg/compiled/shallow-differs.js","../../node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","components/ui/SvgIcon/SvgIcon.styles.ts","components/ui/SvgIcon/SvgIcon.tsx","components/ui/Switch/Switch.tsx","components/ui/Table/shared.styles.ts","components/ui/Tag/TagStyles.tsx","components/ui/Tag/index.tsx","components/ui/Tag/TagComponent.tsx","components/ui/TaggedMultiSelect/TaggedMultiSelectStyles.ts","components/ui/TaggedMultiSelect/TaggedMultiSelect.tsx","components/ui/TallRow/TallRow.styles.ts","components/ui/TallRow/TallRow.tsx","components/ui/TextArea/TextArea.styles.tsx","components/ui/TextArea/index.ts","components/ui/TextArea/TextArea.tsx","components/ui/TipProvider/TipContent.tsx","components/ui/TipProvider/DocumentInvitationTipContent.tsx","components/ui/TipProvider/TipProvider.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tooltip/tooltipClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tooltip/Tooltip.js","components/ui/Tooltip/Tooltip.tsx","components/ui/Tooltip/TooltipWrapper.tsx","components/ui/YouTubeVideo/YouTubeVideo.styles.ts","components/ui/YouTubeVideo/YouTubeVideo.tsx","components/vendorlists/NoList/NoListStyles.tsx","components/vendorlists/NoList/NoList.tsx","components/vendorlists/AddToList/AddToListStyles.tsx","components/vendorlists/AddToList/AddToList.tsx","hooks/queries/useAddCompanyToList.tsx","shared/utils/hasSameValues.ts","components/vendorlists/CreateList/CreateListStyles.tsx","components/vendorlists/CreateList/CreateList.tsx","hooks/queries/useCreateCompanyList.tsx","components/vendorlists/RemoveFromList/RemoveFromListStyles.tsx","components/vendorlists/RemoveFromList/RemoveFromList.tsx","components/vendorlists/utils.ts","contexts/AssetFilter/AssetFilterProvider.tsx","hooks/usePrevious.tsx","hooks/useWindowsSize.tsx","contexts/Confetti/ConfettiProvider.tsx","contexts/Group/GroupProvider.tsx","contexts/List/ListProvider.tsx","contexts/ModalContext/ModalContext.tsx","contexts/ModalContext/util.ts","shared/constants/sessionstorage.ts","contexts/PublicVisitorContext/PublicVisitorContext.tsx","hooks/usePublicVisitor.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Snackbar/useSnackbar.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/SnackbarContent/SnackbarContent.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Snackbar/snackbarClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Snackbar/Snackbar.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Alert/alertClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/SuccessOutlined.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/ReportProblemOutlined.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/ErrorOutline.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/InfoOutlined.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Alert/Alert.js","components/Alert/Alert.styles.tsx","components/Alert/Alert.tsx","contexts/Snackbar/SnackbarProvider.tsx","customHistory.ts","hooks/queries/commentHooks.tsx","hooks/queries/passportHooks.tsx","hooks/queries/regulationHooks.tsx","hooks/queries/useAssetItems.tsx","hooks/queries/useAssetLabels.tsx","hooks/queries/useAuth.tsx","hooks/queries/useCompanies.tsx","hooks/queries/useCreateRFPResponse.tsx","hooks/queries/useDataRoom.tsx","hooks/queries/useDataRooms.tsx","hooks/queries/useDeleteAsset.tsx","hooks/queries/useDeleteCompanyFromList.tsx","hooks/queries/useDownloadAssets.tsx","hooks/queries/useGetCompany.tsx","hooks/queries/useGetPosts.tsx","hooks/queries/useGroup.tsx","hooks/queries/useRole.tsx","hooks/queries/useIsAdmin.tsx","hooks/queries/useMySuppliers.tsx","hooks/queries/useNotifications.tsx","hooks/queries/useOwnCompany.tsx","hooks/queries/useRFP.tsx","hooks/queries/useRFPResponses.tsx","hooks/queries/useRFPs.tsx","hooks/queries/useReadNotification.tsx","hooks/queries/useRemoveLabelFromAssets.tsx","hooks/queries/useRequestGroupAccess.tsx","hooks/queries/useRoles.tsx","hooks/queries/useSearchAssets.tsx","hooks/queries/useSetGroupInvitationStatus.tsx","hooks/queries/useSwitchCompany.tsx","hooks/queries/useUserCompanies.tsx","hooks/queries/useUserData.tsx","hooks/queries/useVendorSearchOptions.tsx","hooks/useCompanyCards.tsx","hooks/useDeepCompareEffects.tsx","hooks/useFeatureEnabled.tsx","hooks/useFolderIdParam.tsx","hooks/useIsPublicVisitor.tsx","hooks/useMultiSelect.tsx","hooks/usePassportFeatureEnabled.tsx","hooks/useYouTubeData.tsx","hooks/utils.ts","layout/SideMenu/SideMenuStyles.tsx","pages/PulseGroup/Group/constants.ts","pages/PulseGroup/Group/types.ts","pages/PulseGroup/GroupPageCard/GroupPageCard.styles.ts","pages/PulseGroup/GroupPageCard/GroupPageCard.tsx","pages/PulseGroup/GroupPageCards/GroupCardStyles.ts","components/PulsePage/Groups/ReviewFiles/ReviewFiles.tsx","components/PulsePage/Groups/ReviewPosts/ReviewPosts.tsx","pages/PulseGroup/GroupSettingsPage/sidebar/GroupSettingsSidebar.tsx","pages/PulseGroup/GroupSettingsPage/GroupSettingsPageStyles.ts","pages/PulseGroup/GroupSettingsPage/GroupSettingsPage.tsx","hooks/queries/useUpdateGroup.tsx","pages/PulseGroup/GroupSettingsPage/useOpenGroupSettings.tsx","pages/PulseGroup/Post/EditableYouTubeVideo/EditableYouTubeVideo.tsx","components/VideoManager/PostVideoManager.tsx","hooks/queries/postMediaItemHooks.tsx","hooks/queries/useDeletePost.tsx","hooks/queries/useUpdatePost.tsx","pages/PulseGroup/Post/PostCard/modals.tsx","pages/PulseGroup/Post/shared.styles.ts","pages/PulseGroup/Post/Comment/Comment.styles.ts","pages/PulseGroup/Post/PostCard/PostCard.styles.ts","pages/PulseGroup/Post/PostCard/EditablePostCard.tsx","hooks/queries/useCreatePost.tsx","pages/PulseGroup/Post/Comment/Comment.tsx","pages/PulseGroup/Post/PostCard/ReactionCount.tsx","pages/PulseGroup/Post/PostCard/NonEditablePostCard.tsx","hooks/queries/reactionHooks.tsx","hooks/queries/useLikePost.tsx","pages/PulseGroup/Post/PostCard/PostCard.tsx","pages/PulseGroup/GroupPageCards/EmptyPostsCard.tsx","pages/PulseGroup/Post/PostsContainer/PostsContainerStyles.ts","pages/PulseGroup/Post/PostsContainer/PostsContainer.tsx","pages/RFPEditorPage/utils.tsx","reactQuery/client.ts","reactQuery/mutationKeys.ts","reactQuery/queryKeys.ts","reactQuery/util.ts","shared/client/apiError.ts","../../node_modules/.pnpm/token-types@5.0.1/node_modules/token-types/lib/index.js","../../node_modules/.pnpm/peek-readable@5.0.0/node_modules/peek-readable/lib/EndOfFileStream.js","../../node_modules/.pnpm/strtok3@7.0.0/node_modules/strtok3/lib/AbstractTokenizer.js","../../node_modules/.pnpm/peek-readable@5.0.0/node_modules/peek-readable/lib/Deferred.js","../../node_modules/.pnpm/peek-readable@5.0.0/node_modules/peek-readable/lib/StreamReader.js","../../node_modules/.pnpm/strtok3@7.0.0/node_modules/strtok3/lib/ReadStreamTokenizer.js","../../node_modules/.pnpm/strtok3@7.0.0/node_modules/strtok3/lib/BufferTokenizer.js","../../node_modules/.pnpm/file-type@18.7.0/node_modules/file-type/util.js","../../node_modules/.pnpm/file-type@18.7.0/node_modules/file-type/core.js","../../node_modules/.pnpm/strtok3@7.0.0/node_modules/strtok3/lib/core.js","../../node_modules/.pnpm/file-type@18.7.0/node_modules/file-type/supported.js","shared/client/manager.ts","shared/client/endpoints.ts","shared/constants/icons.ts","shared/constants/localstorage.ts","shared/constants/permissionMessages.tsx","shared/model.ts","shared/styles/classes.ts","shared/styles/height.ts","shared/styles/spacing.ts","shared/styles/styles.ts","shared/styles/typography.ts","shared/urls.ts","shared/utils.ts","shared/utils/authentication.ts","shared/utils/fileToBase64.ts","shared/utils/generateAlmostUniqueId.ts","shared/utils/time.ts","shared/validators.ts","store/TipStore.ts","store/index.ts","util/lazyRetry.ts","util/simulateClick.ts","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js","../../node_modules/.pnpm/@emotion+cache@11.13.1/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js","../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@17.0.80_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-5486c51c.browser.esm.js","../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@17.0.80_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../../node_modules/.pnpm/@emotion+unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../../node_modules/.pnpm/@emotion+serialize@1.3.2/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js","../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js","../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js","../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","../../node_modules/.pnpm/@emotion+utils@1.4.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Backdrop/backdropClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Backdrop/Backdrop.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Button/buttonClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Button/Button.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/useLazyRipple/useLazyRipple.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/utils/ChildMapping.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/TransitionGroup.js","../../node_modules/.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonBase/Ripple.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonBase/TouchRipple.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonBase/ButtonBase.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/CheckBox.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Checkbox/checkboxClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Checkbox/Checkbox.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Dialog/DialogContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogActions/dialogActionsClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogActions/DialogActions.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogContent/dialogContentClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogContent/DialogContent.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Divider/Divider.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Divider/dividerClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Fade/Fade.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FilledInput/FilledInput.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FilledInput/filledInputClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControl/formControlClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControl/FormControl.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControl/FormControlContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControl/formControlState.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControl/useFormControl.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/styled/styled.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/Grid/gridGenerator.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/Grid/createGrid.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Grid2/Grid2.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Grow/Grow.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/IconButton/iconButtonClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/IconButton/IconButton.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Input/Input.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Input/inputClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputAdornment/InputAdornment.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputBase/InputBase.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputBase/inputBaseClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputBase/utils.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/List/listClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/List/List.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/List/ListContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItem/listItemClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemButton/listItemButtonClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItem/ListItem.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemText/ListItemText.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemText/listItemTextClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/getScrollbarSize.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/MenuList/MenuList.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Menu/menuClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Menu/Menu.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/MenuItem/menuItemClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/MenuItem/MenuItem.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Modal/ModalManager.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Modal/useModal.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Modal/modalClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Modal/Modal.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/OutlinedInput/NotchedOutline.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/OutlinedInput/OutlinedInput.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Paper/paperClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Paper/Paper.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Popover/popoverClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Popover/Popover.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Popper/popperClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Popper/BasePopper.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Popper/Popper.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Portal/Portal.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Radio/RadioButtonIcon.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/createChainedFunction.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Radio/radioClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Radio/Radio.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormGroup/formGroupClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormGroup/FormGroup.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/RadioGroup/radioGroupClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/RadioGroup/RadioGroup.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/RadioGroup/RadioGroupContext.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/RadioGroup/useRadioGroup.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/NativeSelect/nativeSelectClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/NativeSelect/NativeSelectInput.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Select/selectClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Select/SelectInput.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Select/Select.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tab/tabClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tab/Tab.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/animate.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tabs/ScrollbarSize.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/KeyboardArrowLeft.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/KeyboardArrowRight.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/TabScrollButton/TabScrollButton.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tabs/tabsClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Tabs/Tabs.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormLabel/formLabelClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormLabel/FormLabel.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputLabel/inputLabelClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InputLabel/InputLabel.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/FormHelperText/FormHelperText.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/TextField/textFieldClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/TextField/TextField.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Typography/Typography.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Typography/typographyClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/switchBaseClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/SwitchBase.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/internal/svg-icons/Close.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/common.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/grey.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/purple.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/red.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/orange.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/blue.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/lightBlue.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/colors/green.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createPalette.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/createGetCssVar.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/cssVarsParser.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/prepareCssVars.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/shadows.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createTransitions.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/zIndex.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/stringifyTheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createThemeNoVars.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createMixins.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createColorScheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/excludeVariablesFromRoot.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createGetSelector.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createThemeWithVars.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createTheme.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createTypography.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/defaultTheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/getOverlayAlpha.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/identifier.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/rootShouldForwardProp.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/slotShouldForwardProp.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/styled.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/useTheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/useThemeProps.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/transitions/utils.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/capitalize.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/SvgIcon/svgIconClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/SvgIcon/SvgIcon.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/createSvgIcon.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/debounce.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/isHostComponent.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/isMuiElement.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/memoTheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/memoTheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/ownerDocument.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/ownerWindow.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useControlled.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useEnhancedEffect.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useEventCallback.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useForkRef.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useId.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/utils/useSlot.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/GlobalStyles/GlobalStyles.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/zero-styled/index.js","../../node_modules/.pnpm/@mui+styled-engine@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_react@17.0.2/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js","../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@17.0.80_react@17.0.2/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js","../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@17.0.80_react@17.0.2/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js","../../node_modules/.pnpm/@mui+styled-engine@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_react@17.0.2/node_modules/@mui/styled-engine/index.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/RtlProvider/index.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/breakpoints/breakpoints.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createStyled/createStyled.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createTheme/createSpacing.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createTheme/shape.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createTheme/applyStyles.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/createTheme/createTheme.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/merge/merge.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/preprocessStyles.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/spacing/spacing.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/memoize/memoize.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/style/style.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/compose/compose.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/borders/borders.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssGrid/cssGrid.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/palette/palette.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/sizing/sizing.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/useTheme/useTheme.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/capitalize/capitalize.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/clamp/clamp.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/composeClasses/composeClasses.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/debounce/debounce.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/deepmerge/deepmerge.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/resolveProps/resolveProps.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/setRef/setRef.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useControlled/useControlled.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useId/useId.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useOnMount/useOnMount.js","../../node_modules/.pnpm/@mui+utils@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/utils/esm/useTimeout/useTimeout.js","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/exports.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/hub.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/scope.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/session.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/constants.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/syncpromise.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/session.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/scope.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/hub.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/errors.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/hubextensions.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/idletransaction.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/span.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/transaction.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/utils.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/utils/hasTracingEnabled.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/browser.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/is.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/logger.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/misc.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/node.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/env.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/object.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/string.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/syncpromise.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/time.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/worldwide.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/stacktrace.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/supports.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/vendor/supportsHistory.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/instrument.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/is.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/logger.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/misc.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/node.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/env.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/object.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/time.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/worldwide.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/extensions.ts","../../node_modules/.pnpm/abs-svg-path@0.1.1/node_modules/abs-svg-path/index.js","../../node_modules/.pnpm/attr-accept@2.2.2/node_modules/attr-accept/dist/es/index.js","../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/bit_reader.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/context.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/decode.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/dictionary-browser.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/dictionary.bin.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/dictionary.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/huffman.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/prefix.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/streams.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/dec/transform.js","../../node_modules/.pnpm/brotli@1.3.3/node_modules/brotli/decompress.js","../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js","../../node_modules/.pnpm/clone@2.1.2/node_modules/clone/clone.js","../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js","../../node_modules/.pnpm/color-string@1.9.1/node_modules/color-string/index.js","../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js","../../node_modules/.pnpm/cross-fetch@3.1.8/node_modules/cross-fetch/dist/browser-ponyfill.js","../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/core.js","../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/md5.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/utils/arrays.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/utils/formatting.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/units.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/lists.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/border.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/color.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/utils/math.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/strings.js","../../node_modules/.pnpm/csx@10.0.2/node_modules/csx/lib.es2015/transforms.js","../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js","../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/duration.js","../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/relativeTime.js","../../node_modules/.pnpm/dfa@1.2.0/node_modules/dfa/src/StateMachine.js","../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js","../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js","../../node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/src/FileSaver.js","../../node_modules/.pnpm/deepmerge@2.2.1/node_modules/deepmerge/dist/es.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPath.js","../../node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/utils.ts","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/FormikContext.tsx","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/Formik.tsx","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/Field.tsx","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/Form.tsx","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/connect.tsx","../../node_modules/.pnpm/formik@2.2.9_react@17.0.2/node_modules/formik/src/FieldArray.tsx","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/youtube.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/vimeo.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/vine.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/videopress.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/microsoftstream.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/tiktok.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/dailymotion.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/index.js","../../node_modules/.pnpm/get-video-id@3.6.5/node_modules/get-video-id/src/utils/get-src.js","../../node_modules/.pnpm/resolve-pathname@3.0.0/node_modules/resolve-pathname/esm/resolve-pathname.js","../../node_modules/.pnpm/value-equal@1.0.1/node_modules/value-equal/esm/value-equal.js","../../node_modules/.pnpm/history@4.10.1/node_modules/history/esm/history.js","../../node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../../node_modules/.pnpm/hsl-to-hex@1.0.0/node_modules/hsl-to-hex/index.js","../../node_modules/.pnpm/hsl-to-rgb-for-reals@1.1.1/node_modules/hsl-to-rgb-for-reals/converter.js","../../node_modules/.pnpm/hyphen@1.10.6/node_modules/hyphen/hyphen.js","../../node_modules/.pnpm/hyphen@1.10.6/node_modules/hyphen/patterns/en-us.js","../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js","../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js","../../node_modules/.pnpm/is-arrayish@0.3.2/node_modules/is-arrayish/index.js","../../node_modules/.pnpm/is-url@1.2.4/node_modules/is-url/index.js","../../node_modules/.pnpm/isarray@0.0.1/node_modules/isarray/index.js","../../node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js","../../node_modules/.pnpm/media-engine@1.0.3/node_modules/media-engine/src/index.js","../../node_modules/.pnpm/media-engine@1.0.3/node_modules/media-engine/src/operators.js","../../node_modules/.pnpm/media-engine@1.0.3/node_modules/media-engine/src/parser.js","../../node_modules/.pnpm/media-engine@1.0.3/node_modules/media-engine/src/queries.js","../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js","../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js","../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/adler32.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/constants.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/crc32.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/deflate.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inffast.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inflate.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inftrees.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/messages.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/trees.js","../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js","../../node_modules/.pnpm/parse-svg-path@0.1.2/node_modules/parse-svg-path/index.js","../../node_modules/.pnpm/path-to-regexp@1.8.0/node_modules/path-to-regexp/index.js","../../node_modules/.pnpm/point-in-polygon@1.1.0/node_modules/point-in-polygon/flat.js","../../node_modules/.pnpm/point-in-polygon@1.1.0/node_modules/point-in-polygon/index.js","../../node_modules/.pnpm/point-in-polygon@1.1.0/node_modules/point-in-polygon/nested.js","../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js","../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js","../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js","../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js","../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/.pnpm/queue@6.0.2/node_modules/queue/index.js","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/dist/webpack/universalModuleDefinition","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/dist/webpack/bootstrap","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/dist/external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/tween-functions/index.js","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/src/Particle.ts","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/src/utils.ts","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/src/ParticleGenerator.ts","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/src/Confetti.ts","../../node_modules/.pnpm/react-confetti@6.1.0_react@17.0.2/node_modules/react-confetti/src/ReactConfetti.tsx","../../node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/.pnpm/react-dom@17.0.2_react@17.0.2/node_modules/react-dom/index.js","../../node_modules/.pnpm/file-selector@0.4.0/node_modules/file-selector/src/file.ts","../../node_modules/.pnpm/file-selector@0.4.0/node_modules/file-selector/src/file-selector.ts","../../node_modules/.pnpm/react-dropzone@11.7.1_react@17.0.2/node_modules/react-dropzone/dist/es/utils/index.js","../../node_modules/.pnpm/react-dropzone@11.7.1_react@17.0.2/node_modules/react-dropzone/dist/es/index.js","../../node_modules/.pnpm/react-fast-compare@2.0.4/node_modules/react-fast-compare/index.js","../../node_modules/.pnpm/react-intersection-observer-hook@2.1.1_react@17.0.2/node_modules/react-intersection-observer-hook/src/utils.ts","../../node_modules/.pnpm/react-intersection-observer-hook@2.1.1_react@17.0.2/node_modules/react-intersection-observer-hook/src/useIntersectionObserver.ts","../../node_modules/.pnpm/react-intersection-observer-hook@2.1.1_react@17.0.2/node_modules/react-intersection-observer-hook/src/useTrackVisibility.ts","../../node_modules/.pnpm/react-infinite-scroll-hook@4.1.1_react@17.0.2/node_modules/react-infinite-scroll-hook/src/useInfiniteScroll.ts","../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js","../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/devtools/index.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/focusManager.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/infiniteQueryBehavior.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/logger.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/mutation.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/notifyManager.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/onlineManager.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/query.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/queryCache.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/mutationCache.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/queryClient.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/retryer.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/subscribable.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/utils.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/reactBatchedUpdates.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/setBatchUpdatesFn.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/logger.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/setLogger.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/QueryClientProvider.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useIsFetching.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useIsMutating.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/mutationObserver.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/utils.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useMutation.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/queryObserver.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/QueryErrorResetBoundary.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useBaseQuery.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useQuery.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/core/infiniteQueryObserver.js","../../node_modules/.pnpm/react-query@3.39.3_react-dom@17.0.2_react@17.0.2/node_modules/react-query/es/react/useInfiniteQuery.js","../../node_modules/.pnpm/@babel+runtime@7.25.4/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../node_modules/.pnpm/@babel+runtime@7.25.4/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../node_modules/.pnpm/@babel+runtime@7.25.4/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/.pnpm/react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-dom/modules/BrowserRouter.js","../../node_modules/.pnpm/react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-dom/modules/HashRouter.js","../../node_modules/.pnpm/react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-dom/modules/utils/locationUtils.js","../../node_modules/.pnpm/react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-dom/modules/Link.js","../../node_modules/.pnpm/react-router-dom@5.3.4_react@17.0.2/node_modules/react-router-dom/modules/NavLink.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/miniCreateReactContext.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/createContext.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/createNamedContext.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/HistoryContext.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/RouterContext.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Router.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/MemoryRouter.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Lifecycle.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Prompt.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/generatePath.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Redirect.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/matchPath.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Route.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/StaticRouter.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/Switch.js","../../node_modules/.pnpm/react-router@5.3.4_react@17.0.2/node_modules/react-router/modules/hooks.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/config.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/Transition.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/utils/reflow.js","../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@17.0.2_react@17.0.2/node_modules/react-transition-group/esm/TransitionGroupContext.js","../../node_modules/.pnpm/react@17.0.2/node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/.pnpm/react@17.0.2/node_modules/react/cjs/react.production.min.js","../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js","../../node_modules/.pnpm/react@17.0.2/node_modules/react/jsx-runtime.js","../../node_modules/.pnpm/scheduler@0.17.0/node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/.pnpm/scheduler@0.17.0/node_modules/scheduler/index.js","../../node_modules/.pnpm/scheduler@0.20.2/node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/.pnpm/scheduler@0.20.2/node_modules/scheduler/index.js","../../node_modules/.pnpm/simple-swizzle@0.2.2/node_modules/simple-swizzle/index.js","../../../src/lang/en_US.ts","../../../src/lang/zh_CN.ts","../../src/register.ts","../../../src/utils/date.ts","../../src/format.ts","../../src/index.ts","../../node_modules/.pnpm/tiny-inflate@1.0.3/node_modules/tiny-inflate/index.js","../../node_modules/.pnpm/free-style@3.1.0/node_modules/free-style/src/index.ts","../../node_modules/.pnpm/typestyle@2.4.0/node_modules/typestyle/lib.es2015/internal/formatting.js","../../node_modules/.pnpm/typestyle@2.4.0/node_modules/typestyle/lib.es2015/internal/utilities.js","../../node_modules/.pnpm/typestyle@2.4.0/node_modules/typestyle/lib.es2015/internal/typestyle.js","../../node_modules/.pnpm/typestyle@2.4.0/node_modules/typestyle/lib.es2015/index.js","../../node_modules/.pnpm/unicode-trie@2.0.0/node_modules/unicode-trie/index.js","../../node_modules/.pnpm/unicode-trie@2.0.0/node_modules/unicode-trie/swap.js","../../node_modules/.pnpm/yoga-layout@2.0.1/node_modules/yoga-layout/binaries/wasm-async-web.js","../../node_modules/.pnpm/yoga-layout@2.0.1/node_modules/yoga-layout/src/entrypoint/wasm-async-web.ts","../../node_modules/.pnpm/yoga-layout@2.0.1/node_modules/yoga-layout/src/generated/YGEnums.ts","../../node_modules/.pnpm/yoga-layout@2.0.1/node_modules/yoga-layout/src/wrapAssembly.js","../../packages/constants/src/colors/colors.ts","../../packages/constants/src/constants/asset.ts","../../packages/constants/src/constants/attributeTypes.ts","../../packages/constants/src/constants/auditActionTypes.ts","../../packages/constants/src/constants/dashboardType.ts","../../packages/constants/src/constants/featureFlagEnum.ts","../../packages/constants/src/constants/procurementStatuses.ts","../../packages/constants/src/constants/procurementTypes.ts","../../packages/constants/src/constants/question.ts","../../packages/constants/src/constants/regulationModuleTypes.ts","../../packages/constants/src/constants/report.ts","../../packages/constants/src/constants/rfpUrls.ts","../../packages/constants/src/constants/routes.ts","../../packages/constants/src/constants/statusIndicator.ts","../../packages/constants/src/dtos/asset.dto.ts","../../packages/constants/src/dtos/index.ts","../../packages/constants/src/dtos/question.dto.ts","../../packages/constants/src/index.ts","../../packages/constants/src/types/enums.ts","../../packages/constants/src/types/index.ts","../../node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../node_modules/.pnpm/@babel+runtime@7.25.4/node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../node_modules/.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../node_modules/.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/.pnpm/@babel+runtime@7.26.9/node_modules/@babel/runtime/helpers/esm/typeof.js","../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../node_modules/.pnpm/filesize@10.0.7/node_modules/filesize/dist/filesize.esm.js","../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","../../node_modules/.pnpm/tslib@2.7.0/node_modules/tslib/tslib.es6.mjs","../webpack/bootstrap","../webpack/runtime/amd options","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/harmony module decorator","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/publicPath","../webpack/runtime/css loading","../webpack/runtime/jsonp chunk loading","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/version.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/integrations/inboundfilters.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/integrations/functiontostring.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/integration.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/stacktrace.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/supports.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/instrument.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/error.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/dsn.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/normalize.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/memo.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/envelope.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/api.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/envelope.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/utils/prepareEvent.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/baseclient.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/eventbuilder.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/helpers.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/severity.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/url.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/breadcrumbs.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/client.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/buildPolyfills/_optionalChain.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/clientreport.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/stack-parsers.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/trycatch.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/globalhandlers.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/linkederrors.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/dedupe.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/integrations/httpcontext.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/promisebuffer.ts","../../node_modules/.pnpm/@sentry+utils@7.29.0/node_modules/@sentry/src/ratelimit.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/transports/base.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/transports/utils.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/transports/fetch.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/transports/xhr.ts","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/sdk.ts","../../node_modules/.pnpm/@sentry+core@7.29.0/node_modules/@sentry/src/sdk.ts","../../node_modules/.pnpm/@sentry+react@7.29.0_react@17.0.2/node_modules/@sentry/src/reactrouter.tsx","../../node_modules/.pnpm/@sentry+browser@7.29.0/node_modules/src/index.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/tracing.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/baggage.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/browser.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/types.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/bindReporter.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/getNavigationEntry.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/getActivationStart.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/initMetric.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/generateUniqueID.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/observe.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/onHidden.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/getCLS.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/lib/getVisibilityWatcher.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/getFID.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/web-vitals/getLCP.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/metrics/utils.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/metrics/index.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/string.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/request.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/browsertracing.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/router.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/browser/backgroundtab.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/buildPolyfills/_optionalChain.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/utils/node-utils.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/apollo.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/url.ts","../../node_modules/.pnpm/@sentry+utils@7.54.0/node_modules/@sentry/src/requestdata.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/express.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/graphql.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/mongo.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/mysql.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/postgres.ts","../../node_modules/.pnpm/@sentry-internal+tracing@7.54.0/node_modules/@sentry-internal/src/node/integrations/prisma.ts","../../node_modules/.pnpm/@sentry+core@7.54.0/node_modules/@sentry/src/tracing/trace.ts","../../node_modules/.pnpm/@sentry+tracing@7.54.0/node_modules/src/index.ts","../../node_modules/.pnpm/htm@3.1.1/node_modules/htm/dist/htm.module.js","../../node_modules/.pnpm/htm@3.1.1/node_modules/htm/react/index.module.js","../../node_modules/.pnpm/@floating-ui+core@0.6.2/node_modules/@floating-ui/core/dist/floating-ui.core.esm.min.js","../../node_modules/.pnpm/@floating-ui+dom@0.4.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.min.js","../../node_modules/.pnpm/@floating-ui+react-dom@0.6.3_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js","../../node_modules/.pnpm/aria-hidden@1.2.3/node_modules/aria-hidden/dist/es2015/index.js","../../node_modules/.pnpm/@floating-ui+react-dom-interactions@0.3.1_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@floating-ui/react-dom-interactions/dist/floating-ui.react-dom-interactions.esm.js","../../node_modules/.pnpm/react-merge-refs@1.1.0/node_modules/react-merge-refs/src/index.tsx","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getReactInstancesForElement.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getReactInstanceForElement.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getSourceForInstance.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/ContextMenu.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getDisplayNameFromReactInstance.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getPathToSource.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/getPropsForInstance.js","../../node_modules/.pnpm/click-to-react-component@1.0.8_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/click-to-react-component/src/index.js","components/Stripe/StripeRedirectPage.tsx","components/Stripe/index.tsx","hooks/useIsComingFromInvitationRedirect.tsx","components/authentication/OnboardedRoute/OnboardedRoute.tsx","components/Onboarding/ExistingUserInvitationPopup.styles.ts","components/Onboarding/ExistingUserInvitationPopup.tsx","components/Passports/Modals/MultiCompanyInvitationSelectorModal.tsx","hooks/useCheckInvitations.tsx","layout/AppRoutes.tsx","components/FeedbackModal/FeedbackModal.styles.ts","components/FeedbackModal/FeedbackModal.tsx","components/CreateCompanyModal/CreateCompanyModal.styles.ts","components/CreateCompanyModal/CreateCompanyModal.tsx","components/AvatarMenu/AvatarMenu.styles.ts","components/AvatarMenu/AvatarMenu.tsx","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Badge/useBadge.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Badge/badgeClasses.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/Badge/Badge.js","components/Notifications/NotificationPopUp.tsx","components/Notifications/NotificationBellStyles.tsx","components/Notifications/NotificationBell.tsx","layout/Header/HeaderStyles.tsx","layout/Header/Header.tsx","layout/SideMenu/useGetRegulationMenuItem.tsx","layout/SideMenu/SideMenu.tsx","layout/SideMenu/index.tsx","layout/Layout/Layout.styles.tsx","layout/Layout/Layout.tsx","layout/Layout/index.tsx","components/auth/AuthFormLayout/AuthForm.styles.tsx","components/auth/ForgotPasswordForm/ForgotPasswordForm.tsx","components/auth/ResetPasswordSentForm/ResetPasswordSentForm.tsx","pages/AuthenticationPageLayout/AuthenticationPageLayout.styles.tsx","pages/AuthenticationPageLayout/AuthenticationPageLayout.tsx","pages/ForgotPassword/ForgotPassword.tsx","components/ui/PasswordInput/PasswordInput.styles.ts","components/ui/PasswordInput/PasswordInput.tsx","components/auth/LoginForm/LoginForm.tsx","pages/Login/Login.tsx","components/auth/RegisterForm/RegisterForm.tsx","components/auth/VerifyEmailForm/VerifyEmailForm.tsx","pages/Register/Register.tsx","components/auth/ResetPasswordForm/InvalidTokenForm.tsx","components/auth/ResetPasswordForm/ResetPasswordForm.tsx","pages/ResetPassword/ResetPassword.tsx","pages/VerifyEmail/VerifyEmailPage.tsx","layout/App.tsx","../../node_modules/.pnpm/@mui+private-theming@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/private-theming/useTheme/ThemeContext.js","../../node_modules/.pnpm/@mui+private-theming@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/private-theming/useTheme/useTheme.js","../../node_modules/.pnpm/@mui+private-theming@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/private-theming/ThemeProvider/nested.js","../../node_modules/.pnpm/@mui+private-theming@6.1.5_@types+react@17.0.80_react@17.0.2/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/ThemeProviderNoVars.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/ThemeProviderWithVars.js","../../node_modules/.pnpm/@mui+system@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react@17.0.2/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/ThemeProvider.js","../../node_modules/.pnpm/@mui+styled-engine@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_react@17.0.2/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js","muiTheme.ts","../../node_modules/.pnpm/@mui+material@6.1.5_@emotion+react@11.13.3_@emotion+styled@11.13.0_@types+react@17.0.80_react-dom@17.0.2_react@17.0.2/node_modules/@mui/material/styles/createMuiStrictModeTheme.js","layout/Providers.tsx","Root.tsx","reportWebVitals.ts","../../node_modules/.pnpm/@sentry+react@7.29.0_react@17.0.2/node_modules/@sentry/src/sdk.ts","index.tsx"],"sourcesContent":["import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { FolderDto } from \"@pulsemarket/api-client\";\nimport { FolderAPIItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport { getSideMenuFoldersFilters } from \"components/AssetRepository/constants\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { postFolder } from \"shared/client\";\nimport { FolderItemDto } from \"shared/model\";\n\nconst defaultFolderName = \"New Folder\";\n\ntype CreateFolderHookParams = {\n name: string;\n localId: string;\n};\n\nexport default function useCreateFolder() {\n const client = useQueryClient();\n const { searchOptions } = useAssetContext();\n\n const { data: userData } = useUserData();\n const { data: ownCompany } = useOwnCompany();\n\n const ROOT_FOLDER_ID = ownCompany?.assetRepositoryId;\n const sideMenuFoldersFilters = getSideMenuFoldersFilters();\n\n return useMutation(\n ({ name }: CreateFolderHookParams) => {\n return postFolder(ownCompany!.id, searchOptions.folderId!, {\n companyId: ownCompany!.id,\n name: name || defaultFolderName,\n userId: userData!.id,\n parentFolderId: searchOptions.folderId!,\n });\n },\n {\n mutationKey: mutationKeys.createFolder,\n // When mutate is called:\n onMutate: async ({ name, localId }: CreateFolderHookParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Snapshot the previous values\n const previousSearchResult = client.getQueryData(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Optimistically update to the new value\n const newFolder: FolderDto = {\n readOnly: false,\n id: localId,\n companyId: ownCompany!.id,\n userId: userData!.id,\n createdAt: new Date(),\n name: name || defaultFolderName,\n updatedAt: new Date(),\n parentFolderId: searchOptions.folderId!,\n };\n\n let previousRootDirectory: FolderItemDto[] | null = null;\n if (searchOptions.folderId === ROOT_FOLDER_ID) {\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters)\n );\n\n await client.cancelQueries(queryKeys.allFolders);\n\n previousRootDirectory =\n client.getQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters)\n ) || null;\n\n if (previousRootDirectory) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters),\n [...previousRootDirectory, newFolder]\n );\n }\n }\n\n return {\n previousSearchResult,\n previousRootDirectory,\n };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousSearchResult) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(searchOptions),\n context.previousSearchResult\n );\n }\n\n if (\n searchOptions.folderId === ROOT_FOLDER_ID &&\n context?.previousRootDirectory\n ) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters),\n context.previousRootDirectory\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n if (searchOptions.folderId === ROOT_FOLDER_ID) {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters)\n );\n }\n\n client.invalidateQueries(queryKeys.allFolders);\n },\n }\n );\n}\n","import React from \"react\";\nimport { useContext } from \"react\";\n\nimport {\n ExtendedWithLocalRepositoryData,\n ListItemType,\n} from \"components/AssetRepository/types\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport EditableText from \"components/ui/EditableText\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport { useListContext } from \"contexts/List/ListProvider\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useCreateFolder from \"hooks/queries/useCreateFolder\";\nimport useRenameAsset from \"hooks/queries/useRenameAsset\";\nimport useRenameFolder from \"hooks/queries/useRenameFolder\";\nimport { ApiError } from \"shared/client\";\n\nimport { AssetRepositoryItem } from \"./AssetRepositoryBody\";\n\nconst conflictingFolderNameMessage = \"Please give your folder a different name\";\nconst conflictingAssetNameMessage = \"Please give your file a different name\";\n\nconst buttons: ButtonProps[] = [\n { variant: \"normal\", color: \"orange\", children: \"Okay\" },\n];\n\nexport default function EditableAssetNameCell({\n row,\n}: {\n row: AssetRepositoryItem;\n}) {\n const { mutateAsync: createFolder } = useCreateFolder();\n const { mutateAsync: renameFolder } = useRenameFolder();\n const { mutateAsync: renameAsset } = useRenameAsset();\n const { openModal, closeModal } = useContext(ModalContext);\n const { setListData, listData } =\n useListContext>();\n\n return (\n {\n if (newName === row.name) {\n setListData(\n listData.map((asset) =>\n asset.id === row.id ? { ...asset, editingName: false } : asset\n )\n );\n return;\n }\n\n if (row.listItemType === ListItemType.NewFolder) {\n try {\n await createFolder({ name: newName, localId: row.id });\n } catch (err) {\n if (err instanceof ApiError) {\n if (err.status === 409) {\n openModal(\n \n );\n }\n }\n }\n }\n if (row.listItemType === ListItemType.Folder) {\n try {\n await renameFolder({ newName, folderId: row.id });\n } catch (err) {\n if (err instanceof ApiError) {\n if (err.status === 409) {\n openModal(\n \n );\n }\n }\n }\n }\n if (row.listItemType === ListItemType.File) {\n try {\n await renameAsset({ newName, assetId: row.id });\n } catch (err) {\n if (err instanceof ApiError) {\n if (err.status === 409) {\n openModal(\n \n );\n }\n }\n }\n }\n\n setListData(\n listData.map((asset) =>\n asset.id === row.id\n ? { ...asset, name: newName, editingName: false }\n : asset\n )\n );\n }}\n />\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { FolderAPIItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport { getSideMenuFoldersFilters } from \"components/AssetRepository/constants\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { ApiError, renameFolder } from \"shared/client\";\nimport { FolderItemDto } from \"shared/model\";\n\ntype RenameFolderParams = {\n folderId: string;\n newName: string;\n};\n\nexport default function useRenameFolder() {\n const client = useQueryClient();\n const { searchOptions } = useAssetContext();\n\n const { data: ownCompany } = useOwnCompany();\n\n const ROOT_FOLDER_ID = ownCompany?.assetRepositoryId;\n const sideMenuFoldersFilters = getSideMenuFoldersFilters();\n\n return useMutation(\n ({ folderId, newName }: RenameFolderParams) => {\n return renameFolder(ownCompany!.id, folderId, newName);\n },\n {\n mutationKey: mutationKeys.renameFolder,\n retry: (_, error) => {\n if (error instanceof ApiError) {\n if (error.status === 409) {\n return false;\n }\n }\n return true;\n },\n // When mutate is called:\n onMutate: async ({ folderId, newName }: RenameFolderParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n\n // Snapshot the previous values\n const previousSearchResult = client.getQueryData(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Optimistically update to the new value\n if (previousSearchResult) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(searchOptions),\n previousSearchResult.map((item) =>\n item.id === folderId ? { ...item, name: newName } : item\n )\n );\n }\n\n let previousRootDirectory: FolderItemDto[] | null = null;\n if (folderId === ROOT_FOLDER_ID) {\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters)\n );\n\n previousRootDirectory =\n client.getQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters)\n ) || null;\n\n if (previousRootDirectory) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters),\n\n previousRootDirectory.map((item) =>\n item.id === folderId ? { ...item, name: newName } : item\n )\n );\n }\n }\n\n return { previousSearchResult, previousRootDirectory };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousSearchResult) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(searchOptions),\n context.previousSearchResult\n );\n }\n if (\n searchOptions.folderId === ROOT_FOLDER_ID &&\n context?.previousRootDirectory\n ) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(sideMenuFoldersFilters),\n context.previousRootDirectory\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n\n client.invalidateQueries(queryKeys.allFolders);\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { FolderAPIItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { renameAsset } from \"shared/client\";\n\ntype RenameAssetParams = {\n assetId: string;\n newName: string;\n};\n\nexport default function useRenameAsset() {\n const client = useQueryClient();\n const { searchOptions } = useAssetContext();\n\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation(\n ({ assetId, newName }: RenameAssetParams) => {\n return renameAsset(ownCompany!.id, assetId, newName);\n },\n {\n mutationKey: mutationKeys.renameAsset,\n // When mutate is called:\n onMutate: async ({ assetId: folderId, newName }: RenameAssetParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Snapshot the previous values\n const previousSearchResult = client.getQueryData(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Optimistically update to the new value\n if (previousSearchResult) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(searchOptions),\n previousSearchResult.map((item) =>\n item.id === folderId ? { ...item, name: newName } : item\n )\n );\n }\n return { previousSearchResult };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousSearchResult) {\n client.setQueryData(\n queryKeys.assetRepositorySearch(searchOptions),\n context.previousSearchResult\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n },\n }\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n marginLeft: \"10px\",\n display: \"flex\",\n alignItems: \"center\",\n height: \"40px\",\n ...clickable,\n },\n text: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n columnName: {\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n marginLeft: \"8px\",\n },\n clearButton: {\n color: neutralColors.GRAY5,\n margin: \"4px\",\n },\n closeIcon: {\n margin: \"8px\",\n width: \"13px\",\n color: neutralColors.GRAY5,\n textAlign: \"center\",\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\n\nimport { IconButton, Popover } from \"@mui/material\";\nimport { SelectOption } from \"components/ui/FormSelect\";\nimport MultiSelectBody from \"components/ui/MultiSelect/Body\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { sharedTableHeaderStyles } from \"components/ui/Table/shared.styles\";\nimport Tooltip, {\n purpleTooltipProps,\n TooltipWrapper,\n} from \"components/ui/Tooltip\";\nimport useMultiSelect from \"hooks/useMultiSelect\";\nimport { getExpandableIconSource } from \"shared/constants/icons\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TableHeaderFilter.styles\";\n\ntype TableHeaderFilterProps = {\n className?: string;\n columnName: string;\n onChange?: (selectedIds: string[], changedId?: string) => void;\n selectedIds: string[];\n options?: SelectOption[];\n isLoading?: boolean;\n disabled?: boolean;\n};\n\nexport default function TableHeaderFilter({\n className,\n columnName,\n onChange = () => {},\n selectedIds,\n options = [],\n isLoading,\n disabled,\n}: TableHeaderFilterProps) {\n const [anchorElement, setAnchorElement] = useState(null);\n\n const { setSearch, filteredItems, clearChecked, toggleChecked } =\n useMultiSelect({\n onChange: onChange,\n options,\n selectedIds,\n });\n\n const popoverOpen = Boolean(anchorElement);\n function handlePopoverOpenerClick(\n event: React.MouseEvent\n ) {\n setAnchorElement(event.currentTarget);\n }\n function openDropDown(event: React.MouseEvent) {\n handlePopoverOpenerClick(event);\n }\n\n function handlePopoverClose() {\n setAnchorElement(null);\n }\n\n return (\n <>\n \n {\n if (disabled) {\n return;\n }\n openDropDown(e);\n }}\n >\n {columnName}\n {!disabled && (\n \n \n \n \n \n \n \n )}\n \n \n \n \n \n Clear\n \n ),\n },\n ]}\n />\n \n \n );\n}\n","import React from \"react\";\n\nimport TableHeaderFilter from \"components/ui/Table/TableHeaderFilter\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport useAssetLabels from \"hooks/queries/useAssetLabels\";\n\nfunction LabelColumnHeader() {\n const { data, isLoading } = useAssetLabels();\n const { searchOptions, setSearchOptions } = useAssetContext();\n\n const disabled =\n !searchOptions.folderId && searchOptions.labelIds?.length === 1;\n\n return (\n <>\n ({\n id: label.id,\n name: label.name,\n }))}\n isLoading={isLoading}\n columnName=\"Labels\"\n selectedIds={searchOptions.labelIds || []}\n onChange={(selectedIds) => {\n setSearchOptions({\n ...searchOptions,\n labelIds: selectedIds.length ? selectedIds : undefined,\n });\n }}\n disabled={disabled}\n />\n \n );\n}\n\nexport default LabelColumnHeader;\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n label: {\n ...typography.CAPTION,\n color: primaryColors.WHITE,\n borderRadius: \"4px\",\n padding: \"4px 14px\",\n cursor: \"default\",\n display: \"inline-flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n closeIconWrapper: {\n width: \"16px\",\n height: \"16px\",\n $nest: { \"&:hover\": { backgroundColor: \"unset\" } },\n marginLeft: \"8px\",\n },\n closeIcon: {\n color: primaryColors.WHITE,\n },\n});\n\nexport default styles;\n","import Label, { LabelProps } from \"./Label\";\n\nexport default Label;\n\nexport type { LabelProps };\n","import React from \"react\";\n\nimport { IconButton } from \"@mui/material\";\nimport { LabelColor } from \"@pulsemarket/api-client\";\nimport { classes, style } from \"typestyle\";\n\nimport SvgIcon from \"../SvgIcon/SvgIcon\";\n\nimport styles from \"./LabelStyles\";\n\nexport type LabelProps = React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLSpanElement\n> & {\n children: React.ReactNode;\n color: LabelColor;\n onDelete?: () => void;\n};\n\nexport default function Label({\n children,\n className,\n color,\n onDelete,\n ...props\n}: LabelProps): JSX.Element {\n return (\n \n
{children}
\n
\n \n \n \n
\n \n );\n}\n","import { useDebugValue, useState } from \"react\";\n\nimport {\n useDeepCompareEffect,\n useDeepCompareLayoutEffect,\n} from \"hooks/useDeepCompareEffects\";\nimport { debounce } from \"shared/utils\";\n\nfunction countElementsBeforeWrap(container: HTMLDivElement): number {\n let fittingElementsCount = 0;\n for (const child of container.children) {\n if ((child as HTMLElement).offsetTop <= container.offsetTop) {\n fittingElementsCount++;\n } else {\n break;\n }\n }\n\n return fittingElementsCount;\n}\n\ntype WrappedFlexItemCounterParams = {\n flexContainer: React.RefObject;\n items: any[];\n};\n\n/**\n * Hook that returns how many flex items fit into the first line of a parent container. Window resize is listened to.\n * Only works with flex containers that have `flex-wrap: \"wrap\";` and `flex-direction: \"row\";`.\n * @param items The items parameter is passed to re-run calculations, the underlying DOM element can be anything.\n */\nexport default function useFittingFlexItemsCount({\n flexContainer,\n items,\n}: WrappedFlexItemCounterParams) {\n const [fittingElementCount, setFittingElementCount] = useState(0);\n const [hasDeterminedHiddenElements, setDeterminedHiddenElements] =\n useState(false);\n\n useDeepCompareEffect(() => {\n setFittingElementCount(0);\n setDeterminedHiddenElements(false);\n }, [items]);\n\n useDeepCompareLayoutEffect(() => {\n const calculateHiddenElements = debounce(\n 100,\n function calculateHiddenElements() {\n if (!flexContainer.current || hasDeterminedHiddenElements) {\n return;\n }\n const numberOfFittingElements = countElementsBeforeWrap(\n flexContainer.current\n );\n setFittingElementCount(numberOfFittingElements);\n setDeterminedHiddenElements(true);\n }\n );\n\n window.addEventListener(\"resize\", calculateHiddenElements);\n return () => {\n window.removeEventListener(\"resize\", calculateHiddenElements);\n };\n }, [items, hasDeterminedHiddenElements]);\n\n useDeepCompareLayoutEffect(() => {\n if (!flexContainer.current || hasDeterminedHiddenElements) {\n return;\n }\n\n const numberOfFittingElements = countElementsBeforeWrap(\n flexContainer.current\n );\n setFittingElementCount(numberOfFittingElements);\n setDeterminedHiddenElements(true);\n }, [flexContainer, items, hasDeterminedHiddenElements]);\n\n useDebugValue({ hasDeterminedHiddenElements });\n\n return {\n fittingElementCount,\n hiddenElementCount: items.length - fittingElementCount,\n hasDeterminedHiddenElements,\n };\n}\n","import { clickable } from \"shared/styles/classes\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {},\n labels: {\n maxWidth: \"260px\",\n },\n hidden: { display: \"none\" },\n arrowDown: {\n height: \"24px\",\n width: \"24px\",\n $nest: {\n \"&&\": {\n padding: 0,\n },\n },\n },\n dropdown: {\n ...clickable,\n marginRight: \"4px\",\n },\n tooltip: {\n padding: \"4px\",\n maxHeight: \"122px\",\n overflowY: \"auto\",\n },\n});\n\nexport default styles;\n","import { useRef } from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { AssetLabelDto } from \"@pulsemarket/api-client\";\nimport { AssetRepositoryItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport Label from \"components/ui/Label\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport Tooltip from \"components/ui/Tooltip\";\nimport useRemoveLabelFromAssets from \"hooks/queries/useRemoveLabelFromAssets\";\nimport useFittingFlexItemsCount from \"hooks/useFittingFlexItemsCount\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./LabelCell.styles\";\n\ntype LabelCellProps = { row: Pick } & {\n labels?: AssetLabelDto[];\n className?: string;\n};\n\nexport default function LabelCell({\n labels = [],\n className,\n row,\n}: LabelCellProps) {\n const labelContainer = useRef(null);\n\n const {\n hasDeterminedHiddenElements,\n fittingElementCount,\n hiddenElementCount,\n } = useFittingFlexItemsCount({\n flexContainer: labelContainer,\n items: labels,\n });\n\n const { mutateAsync: removeLabelFromAssets } = useRemoveLabelFromAssets();\n\n return (\n \n \n \n {labels.map((label, i) => (\n fittingElementCount &&\n styles.hidden\n )}\n >\n {\n removeLabelFromAssets({\n labelId: label.id,\n assetIds: [row.id],\n folderIds: [row.id],\n });\n }}\n >\n {label.name}\n \n \n ))}\n \n \n\n {(hiddenElementCount > 0 || !hasDeterminedHiddenElements) && (\n \n {labels.map((label, i) => {\n return (\n \n {\n removeLabelFromAssets({\n labelId: label.id,\n assetIds: [row.id],\n folderIds: [row.id],\n });\n }}\n >\n {label.name}\n \n \n );\n })}\n \n }\n >\n \n \n \n +{hiddenElementCount}\n \n \n \n \n \n \n \n )}\n \n );\n}\n","import React from \"react\";\nimport queryClient from \"reactQuery/client\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { AssetDto, ModuleDto, QuestionDto } from \"@pulsemarket/api-client\";\nimport { AppColors } from \"@pulsemarket/constants\";\nimport LabelFilter from \"components/AssetRepository/AssetRepositoryBody/LabelFilter\";\nimport LabelCell from \"components/AssetRepository/LabelCell\";\nimport { DisplayType } from \"components/DisplaySelector\";\nimport { AssetSearchOptions, CompanyDetailsDto } from \"shared/model\";\n\nimport { AssetRepositoryItem } from \"./AssetRepositoryBody/AssetRepositoryBody\";\nimport EditableAssetNameCell from \"./AssetRepositoryBody/EditableAssetNameCell\";\nimport { HasDataType } from \"./types\";\nimport { ListItemType } from \"./types\";\n\ntype AssetTypeColor = AppColors;\n\n// can we seperate these types into two types?\nexport type AssetRepositoryMenuItemWithConfig = {\n id: string;\n icon: string;\n text: string;\n selected?: boolean;\n subMenus?: AssetRepositoryMenuItemWithConfig[];\n itemType: DataTypeInRepository;\n forcedDisplay?: DisplayType;\n filters?: [filterKey: string, filterValue: any][];\n};\n\nexport type DataTypeInRepository = ListItemType | \"Any\";\n\nexport const AssetIconSource: Record = {\n Proposal: \"/icons/proposals_icon.svg\",\n Award: \"/icons/awards_icon.svg\",\n Certificate: \"/icons/certifications_icon.svg\",\n Video: \"/icons/video_icon.svg\",\n Image: \"/icons/image_icon.svg\",\n Module: \"/icons/modules_icon.svg\",\n Policy: \"/icons/policies_icon.svg\",\n Question: \"/icons/QA_icon.svg\",\n Template: \"/icons/templates_icon.svg\",\n Folder: \"/icons/folder_icon.svg\",\n NewFolder: \"/icons/folder_icon.svg\",\n File: \"/icons/file_undefined.svg\",\n};\n\nexport const AssetColor: Record = {\n Award: AppColors.Yellow,\n Certificate: AppColors.Orange,\n Video: AppColors.Lilac,\n Image: AppColors.Lilac,\n Module: AppColors.Cyan,\n Policy: AppColors.Red,\n Question: AppColors.Green,\n Proposal: AppColors.Purple,\n Template: AppColors.Blue,\n Folder: AppColors.Blue,\n NewFolder: AppColors.Blue,\n File: AppColors.Gray,\n};\n\nexport type PossibleDtos = (AssetDto | QuestionDto | ModuleDto) & HasDataType;\n\nexport const assetRepositoryMenuIds = {\n all: \"all\",\n proposals: \"proposals\",\n templates: \"templates\",\n template_library: \"templates-template_library\",\n my_templates: \"templates-my_templates\",\n draft_templates: \"templates-draft_templates\",\n certificates: \"certificates\",\n awards: \"awards\",\n policies: \"policies\",\n modules: \"modules\",\n images: \"images\",\n questions: \"questions\",\n};\n\nexport const assetRepositoryMenuElements: AssetRepositoryMenuItemWithConfig[] =\n [\n {\n id: assetRepositoryMenuIds.all,\n icon: \"/icons/assets_icon.svg\",\n text: \"All Files\",\n itemType: \"Any\",\n selected: true,\n },\n {\n id: assetRepositoryMenuIds.proposals,\n icon: AssetIconSource[ListItemType.Proposal],\n text: \"Proposals\",\n itemType: ListItemType.Proposal,\n },\n {\n id: \"templates\",\n icon: AssetIconSource[ListItemType.Template],\n text: \"Templates\",\n itemType: ListItemType.Template,\n subMenus: [\n {\n text: \"Template library\",\n id: assetRepositoryMenuIds.template_library,\n icon: AssetIconSource[ListItemType.Template],\n itemType: ListItemType.Template,\n },\n {\n text: \"My templates\",\n id: assetRepositoryMenuIds.my_templates,\n icon: AssetIconSource[ListItemType.Template],\n itemType: ListItemType.Template,\n },\n {\n text: \"Draft templates\",\n id: assetRepositoryMenuIds.draft_templates,\n icon: AssetIconSource[ListItemType.Template],\n itemType: ListItemType.Template,\n },\n ],\n },\n {\n id: assetRepositoryMenuIds.certificates,\n icon: AssetIconSource[ListItemType.Certificate],\n itemType: ListItemType.Certificate,\n text: \"Certifications\",\n },\n {\n id: assetRepositoryMenuIds.awards,\n icon: AssetIconSource[ListItemType.Award],\n text: \"Awards\",\n itemType: ListItemType.Award,\n },\n {\n id: assetRepositoryMenuIds.policies,\n icon: AssetIconSource[ListItemType.Policy],\n text: \"Policies\",\n itemType: ListItemType.Policy,\n },\n {\n id: assetRepositoryMenuIds.modules,\n icon: AssetIconSource[ListItemType.Module],\n text: \"Modules\",\n itemType: ListItemType.Module,\n subMenus: [],\n },\n {\n id: assetRepositoryMenuIds.images,\n icon: AssetIconSource[ListItemType.Image],\n text: \"Images & Videos\",\n itemType: ListItemType.Image,\n },\n {\n id: assetRepositoryMenuIds.questions,\n icon: AssetIconSource[ListItemType.Question],\n text: \"Questions & Answers\",\n itemType: ListItemType.Question,\n },\n ];\n\ntype ColumnData =\n | {\n field: keyof T & string;\n }\n | {\n customTableColumn: (element: T, index: number) => React.ReactNode;\n key: string;\n field?: keyof T & string;\n };\n\nexport interface TableDisplaySetting {\n listConfig: {\n columns: (ColumnData & {\n columnName?: string;\n customHeader?: () => React.ReactNode;\n tooltip?: React.ReactNode;\n key?: string;\n disableSort?: boolean;\n hiddenDivider?: boolean;\n })[];\n };\n tilesConfig?: {\n imageSource?: keyof T;\n textSource: keyof T;\n };\n}\n\nexport const assetRepositoryTableDisplayConfig: TableDisplaySetting =\n {\n listConfig: {\n columns: [\n {\n field: \"name\",\n columnName: \"Name\",\n customTableColumn: (row) => ,\n },\n {\n field: \"labels\",\n columnName: \"Labels\",\n customTableColumn: (row) => (\n \n ),\n customHeader: LabelFilter,\n },\n { field: \"createdDate\", columnName: \"Date Created\" },\n { field: \"updatedDate\", columnName: \"Last Update\" },\n ],\n },\n };\n\nexport const maxUploadFileSizeMb: number = 400;\nexport const maxUploadFileSize: number = maxUploadFileSizeMb * 1024 * 1024;\n\nexport function getSideMenuFoldersFilters(): AssetSearchOptions {\n return {\n folderId: queryClient.getQueryData(queryKeys.ownCompany)\n ?.assetRepositoryId,\n name: \"\",\n showHidden: false,\n };\n}\n","import { Colored, HasIcon, Selectable } from \"components/ui/Table/types\";\n\nexport enum ListItemType {\n Proposal = \"Proposal\",\n Award = \"Award\",\n Certificate = \"Certificate\",\n Image = \"Image\",\n Video = \"Video\",\n Module = \"Module\",\n Question = \"Question\",\n Policy = \"Policy\",\n Template = \"Template\",\n Folder = \"Folder\",\n File = \"File\",\n NewFolder = \"NewFolder\",\n}\n\n// Asset DTOs are extended by these types\nexport interface Identifiable {\n id: string;\n}\n\n// Colored and HasIcon interfaces can be removed...\n// todo this type should be removed/renamed as it is a duplication, we have another ListItemType field on items that we show on asset repository\nexport interface HasDataType {\n dataType: ListItemType;\n}\n\nexport type LocalRepositoryData = Identifiable &\n Selectable &\n HasDataType &\n Colored &\n HasIcon;\n\nexport type ExtendedWithLocalRepositoryData = T & LocalRepositoryData;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n headerClass: {\n background: neutralColors.GRAY0,\n color: neutralColors.GRAY5,\n },\n buttonIcon: {\n width: \"14px\",\n height: \"14px\",\n marginRight: \"14px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n});\n\nexport default styles;\n","import React, { useContext } from \"react\";\n\nimport { DialogActions, DialogContent } from \"@mui/material\";\nimport FileUploader, {\n UploadProps,\n} from \"components/FileUploader/FileUploader\";\nimport Button from \"components/ui/Button\";\nimport ModalHeader from \"components/ui/Modal/Header/ModalHeader\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { classes, style } from \"typestyle\";\n\nimport modalActionStyles from \"components/ui/Modal/Actions/ModalActionsStyles\";\nimport simpleModalBodyStyles from \"components/ui/Modal/SimpleModalBody/SimpleModalBodyStyles\";\n\nexport type CloneOrUploadModalProps = {\n onCloneRequest?: () => void;\n uploadConfig?: UploadProps;\n onClose: () => void;\n hideCloseButton?: boolean;\n title?: string;\n text?: string;\n cloneButtonText?: string;\n};\n\nexport default function CloneOrUploadModal({\n title = \"Upload document\",\n text = \"You can choose to upload documents from the asset repository or from your desktop.\",\n cloneButtonText = \"Upload from assets\",\n ...props\n}: CloneOrUploadModalProps) {\n const { closeModal } = useContext(ModalContext);\n return (\n <>\n \n {title}\n \n \n

{text}

\n
\n \n \n \n \n {\n closeModal();\n props.onCloneRequest?.();\n }}\n >\n {cloneButtonText}\n \n \n \n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n combinedInvitationSender: {\n color: primaryColors.BLACK,\n },\n title: {\n ...zeroPaddingMargin,\n ...typography.HEADLINE6,\n marginBottom: \"24px\",\n },\n subtitle: {\n ...zeroPaddingMargin,\n ...typography.BODY2,\n marginBottom: \"24px\",\n },\n inputContainer: {\n display: \"flex\",\n alignItems: \"center\",\n },\n emailInput: {\n width: \"100%\",\n padding: px(8),\n },\n button: {\n width: \"160px\",\n marginLeft: \"20px\",\n },\n companyAndSupplierContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: px(24),\n marginTop: \"44px\",\n },\n supplierSelect: { width: \"100%\" },\n findNewSuppliersButton: { width: \"33%\", minWidth: \"148px\" },\n errorMessageContainer: {\n display: \"flex\",\n gap: \"8px\",\n alignItems: \"center\",\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n recipients: {\n display: \"flex\",\n gap: \"8px\",\n margin: \"16px 0px\",\n },\n alertIcon: {\n height: \"14px\",\n color: utilityColors.YELLOW,\n },\n});\n\nexport default styles;\n\nexport const recipientTagStyles = stylesheet({\n tag: {\n ...clickable,\n display: \"inline-flex\",\n height: px(30),\n padding: `${px(5)} ${px(15)} `,\n borderRadius: px(4),\n borderColor: primaryColors.PURPLE2,\n borderWidth: px(1),\n borderStyle: \"solid\",\n alignItems: \"baseline\",\n color: primaryColors.PURPLE3,\n },\n duplicate: {\n color: neutralColors.GRAY4,\n borderColor: neutralColors.GRAY4,\n $nest: {\n \"&:hover\": {\n backgroundColor: neutralColors.GRAY2,\n },\n },\n },\n svgIcon: {\n height: px(10),\n marginLeft: px(11),\n },\n});\n","import React, { Suspense, useCallback, useContext, useState } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport TagInputBox from \"components/TagInputBox\";\nimport Button from \"components/ui/Button\";\nimport MultiSelectList, {\n MultiSelectListProps,\n} from \"components/ui/MultiSelectList\";\nimport SubSelect from \"components/ui/SubSelect\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useGetMySuppliers from \"hooks/queries/useMySuppliers\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getCompanies } from \"shared/client\";\nimport {\n CombinedInvitationRecipientInput,\n CombinedInvitationRecipientType,\n} from \"shared/model\";\nimport { emailValidatorFn } from \"shared/validators\";\nimport { classes, style } from \"typestyle\";\nimport lazyRetry from \"util/lazyRetry\";\n\nimport styles, { recipientTagStyles } from \"./CombinedInvitationSender.styles\";\n\nconst VendorSearchModal = React.lazy(() =>\n lazyRetry(\n () => import(\"components/VendorSearch/VendorSearchModal\"),\n \"VendorSearchModal\"\n )\n);\n\n/** todo move to shared file */\nexport type InvitationsByType = {\n emails: string[];\n companies: string[];\n suppliers: string[];\n};\n\ntype CombinedInvitationSenderProps = {\n title: string;\n subtitle?: string;\n onInvite: (params: {\n recipients: CombinedInvitationRecipientInput[];\n }) => Promise;\n /** Used to block already sent invitations. None is blocked if empty. */\n existingInvitations?: InvitationsByType;\n /** Appears in the individual lists when the invitation already exists. */\n disabledReason?: string;\n className?: string;\n confirmationModal?: React.ReactNode;\n};\n\nexport default function CombinedInvitationSender({\n title,\n subtitle,\n className,\n onInvite,\n existingInvitations: invitations,\n disabledReason,\n confirmationModal,\n}: CombinedInvitationSenderProps) {\n const client = useQueryClient();\n const { openModal, closeModal } = useContext(ModalContext);\n\n const [isSending, setIsSending] = useState(false);\n\n // todo this can't show all suppliers, we need a multiselect component that can paginate\n const { data: suppliersData } = useGetMySuppliers({ limit: 100, offset: 0 });\n const { data: ownCompany } = useOwnCompany();\n\n const [recipients, setRecipients] = useState<\n CombinedInvitationRecipientInput[]\n >([]);\n\n const [newCheckedSupplierIds, setNewCheckedSupplierIds] = useState(\n []\n );\n\n const invitedSupplierIds = recipients\n .filter(\n (recipient) => recipient.type === CombinedInvitationRecipientType.Supplier\n )\n .map((recipient) => recipient.invitee);\n const selectedSupplierIds = invitedSupplierIds.concat(newCheckedSupplierIds);\n\n const addUniqueRecipients = useCallback(\n async (addedRecipients: CombinedInvitationRecipientInput[]) => {\n setRecipients((oldRecipients) => {\n const uniqueRecipients = [...oldRecipients, ...addedRecipients].filter(\n (v, i, a) => a.findIndex((v2) => v2.invitee === v.invitee) === i\n );\n\n return uniqueRecipients;\n });\n },\n []\n );\n\n const removeRecipient = useCallback(\n async (removedRecipient: CombinedInvitationRecipientInput) => {\n setRecipients((recipients) =>\n recipients.filter(\n (recipient) => recipient.invitee !== removedRecipient.invitee\n )\n );\n\n if (removedRecipient.type === CombinedInvitationRecipientType.Supplier) {\n setNewCheckedSupplierIds((ids) =>\n ids.filter((id) => id !== removedRecipient.invitee)\n );\n }\n },\n []\n );\n\n const getSubOptions = useCallback<\n (companyListId: string) => Promise\n >(\n async (companyListId) => {\n return (\n await client.fetchQuery(queryKeys.companies({ companyListId }), () =>\n getCompanies({ companyListId })\n )\n ).map((item) => ({\n id: item.id,\n name: item.name,\n avatar: { src: item.avatar || \"/icons/company_account.svg\" },\n disabled: (id) => invitations?.companies.includes(id),\n }));\n },\n [client, invitations?.companies]\n );\n\n const hasDuplicateEmails = recipients.some((recipient) => {\n if (recipient.type === \"Email\") {\n return invitations?.emails.includes(recipient.invitee);\n }\n return false;\n });\n\n return (\n
\n

{title}

\n {subtitle &&
{subtitle}
}\n
\n {\n removeRecipient({\n invitee: tag,\n type: CombinedInvitationRecipientType.Email,\n });\n }}\n onAdd={(newTags) =>\n addUniqueRecipients(\n recipients.concat(\n newTags.filter(emailValidatorFn).map((id) => {\n return {\n type: CombinedInvitationRecipientType.Email,\n invitee: id,\n };\n })\n )\n )\n }\n />\n\n {\n try {\n setIsSending(true);\n await onInvite({ recipients });\n setRecipients([]);\n if (confirmationModal) {\n openModal(confirmationModal, { keepHistory: true });\n }\n } catch (err) {\n console.log(err);\n } finally {\n setIsSending(false);\n }\n }}\n >\n Send invite\n \n
\n
\n
\n {ownCompany?.companyLists && (\n ({\n name: list.name,\n id: list.id,\n }))}\n placeholder=\"Select from your Lists\"\n multiSelectListProps={{\n getSubOptions,\n asPopover: true,\n disabledReason: disabledReason,\n emptyContent: (\n

No companies were found in the selected list.

\n ),\n }}\n onSelect={(ids) => {\n const newRecipients = recipients.concat(\n ids.map((i) => {\n return {\n invitee: i.id,\n type: CombinedInvitationRecipientType.Company,\n name: i.name,\n };\n })\n );\n addUniqueRecipients(newRecipients);\n }}\n submitLabel=\"Add\"\n />\n )}\n
\n
\n ({\n name: supplier.name,\n id: supplier.id,\n disabled: (id) =>\n invitations?.suppliers.includes(id) ||\n recipients\n .filter(\n (recipient) =>\n recipient.type ===\n CombinedInvitationRecipientType.Supplier\n )\n .map((inivitation) => inivitation.invitee)\n .includes(id),\n }))}\n asPopover\n selectedIds={selectedSupplierIds}\n actionsClassName={style({ justifyContent: \"space-between\" })}\n actions={[\n {\n color: \"orange\",\n label: \"Add\",\n disabled: (selectedIds) => !selectedIds.length,\n onClick: (items) => {\n const newRecipients = (suppliersData?.results || [])\n .filter((supplier) =>\n items.map((i) => i.id).includes(supplier.id)\n )\n .map((newRecipient) => ({\n invitee: newRecipient.id,\n type: CombinedInvitationRecipientType.Supplier,\n name: newRecipient.name,\n }));\n\n addUniqueRecipients(recipients.concat(newRecipients));\n },\n },\n {\n variant: \"transparent\",\n color: \"orange\",\n label: \"Select all\",\n disabled: (selectedIds) =>\n selectedIds.length === suppliersData?.results.length,\n onClick: () => {\n setNewCheckedSupplierIds(\n (suppliersData?.results || [])\n .filter(\n (supplier) =>\n !invitedSupplierIds.includes(supplier.id) &&\n !invitations?.suppliers.includes(supplier.id)\n )\n .map((i) => i.id)\n );\n },\n },\n ]}\n disabledReason={disabledReason}\n placeholder=\"Select from your Suppliers\"\n />\n
\n {\n openModal(\n }>\n {\n if (!company?.id) {\n return false;\n }\n return invitations?.companies.includes(company.id);\n }}\n companyDisabledReason={disabledReason}\n onSelect={(companies) => {\n closeModal();\n addUniqueRecipients(\n companies.map((c) => {\n return {\n type: CombinedInvitationRecipientType.Company,\n invitee: c.id,\n name: c.name,\n };\n })\n );\n }}\n />\n ,\n {\n props: {\n maxWidth: \"lg\",\n paperClassName: style({\n padding: \"0px\",\n overflow: \"hidden\",\n }),\n },\n keepHistory: true,\n }\n );\n }}\n >\n Find new Suppliers\n \n
\n
\n {recipients.map((r) => {\n return (\n {\n removeRecipient(r);\n }}\n isDuplicate={invitations?.emails.includes(r.invitee)}\n />\n );\n })}\n
\n {hasDuplicateEmails && (\n
\n \n Email address already invited\n
\n )}\n
\n );\n}\n\ntype RecipientTagProps = {\n id: string;\n email?: string;\n name?: string;\n onRemoveTag: () => void;\n isDuplicate?: boolean;\n};\n\nfunction RecipientTag({\n id,\n email,\n name,\n onRemoveTag,\n isDuplicate,\n}: RecipientTagProps) {\n return (\n \n {email || name || id}\n \n \n );\n}\n","import React, { useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport CombinedInvitationSender, {\n InvitationsByType,\n} from \"components/CombinedInvitationSender/CombinedInvitationSender\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport ModalContext from \"contexts/ModalContext/ModalContext\";\nimport {\n useInviteToTakePassport,\n useSentPassportInvitations,\n} from \"hooks/queries/passportHooks\";\n\nexport default function PassportInvitationSender() {\n const { data: previousInvitationsData } = useSentPassportInvitations({});\n const { mutateAsync: inviteToTakePassport } = useInviteToTakePassport();\n const history = useHistory();\n\n const previousInvitations: InvitationsByType = (\n previousInvitationsData?.pages[0] || []\n ).reduce(\n (acc, invitation) => {\n if (invitation.invitedCompanyId) {\n acc.companies.push(invitation.invitedCompanyId);\n }\n if (invitation.invitedSupplierId) {\n acc.suppliers.push(invitation.invitedSupplierId);\n }\n if (invitation.invitedEmail) {\n acc.emails.push(invitation.invitedEmail);\n }\n return acc;\n },\n {\n emails: [],\n suppliers: [],\n companies: [],\n }\n );\n\n return (\n {\n try {\n await inviteToTakePassport({ invitations: recipients });\n history.push(ROUTES.ESG_INVITATIONS);\n } catch (_e) {}\n }}\n existingInvitations={previousInvitations}\n confirmationModal={}\n title=\"Invite to take the Passport\"\n subtitle=\"Invite a Company to get the passport today!\"\n disabledReason=\"Already invited\"\n />\n );\n}\n\nexport function InvitationsSentConfirmation() {\n const { closeModal } = useContext(ModalContext);\n\n return (\n {\n closeModal();\n },\n children: \"Ok, Thanks\",\n },\n ]}\n >\n The invitations were successfully sent to all recipients.\n \n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { maxLineNumber } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n container: {\n height: \"405px\",\n width: \"240px\",\n },\n specialities: {\n color: primaryColors.PURPLE2,\n ...typography.CAPTION,\n textAlign: \"center\",\n height: \"3rem\", // 3 lines\n ...maxLineNumber(3),\n },\n location: {\n color: neutralColors.GRAY5,\n ...typography.CAPTION,\n textAlign: \"center\",\n height: \"2rem\", // 2 lines\n ...maxLineNumber(2),\n },\n disabled: {\n $nest: {\n \"&\": {\n color: neutralColors.GRAY3,\n },\n },\n },\n disabledReason: {\n ...typography.CAPTION2,\n },\n});\n\nexport default styles;\n\nexport const compactStyles = stylesheet({\n container: {\n width: \"180px\",\n height: \"340px\",\n },\n});\n","import React from \"react\";\n\nimport { Identifiable } from \"components/AssetRepository/types\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport Card from \"components/ui/Card\";\nimport Link from \"components/ui/Link\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { CompanyCardDto } from \"shared/model\";\nimport { SelectableComponentProps } from \"shared/utils/componentTypes\";\nimport { classes } from \"typestyle\";\n\nimport styles, { compactStyles } from \"./CompanyCard.styles\";\n\nexport type CompanyCardProps = {\n className?: string;\n company: CompanyCardDto;\n buttons?: (ButtonProps & Identifiable)[];\n compact?: boolean;\n} & SelectableComponentProps;\n\nexport default function CompanyCard({\n company,\n className,\n buttons = [],\n compact,\n selected,\n onToggleSelect,\n disabled,\n disabledReason,\n}: CompanyCardProps) {\n const cardDisabled =\n typeof disabled === \"function\" ? disabled(company) : disabled;\n\n const disabledStyles = cardDisabled && styles.disabled;\n\n return (\n \n {!compact && (\n
\n {company.specialities?.map((element) => element.name).join(\", \")}\n
\n )}\n {cardDisabled && (\n {disabledReason}\n )}\n {(company.city || company.country) && (\n
\n {[company.city, company.country?.name].filter(Boolean).join(\", \")}\n
\n )}\n {!compact && (\n \n View Pulse Page\n \n )}\n \n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n root: {\n display: \"inline-flex\",\n flexDirection: \"column\",\n alignContent: \"center\",\n justifyContent: \"right\",\n width: px(200),\n },\n tooltipContainer: { display: \"flex\", flexDirection: \"column\" },\n avatarBox: {\n height: \"200px\",\n width: \"200px\",\n backgroundColor: neutralColors.GRAY1,\n position: \"relative\",\n border: `3px solid ${primaryColors.WHITE}`,\n borderRadius: \"7px\",\n cursor: \"pointer\",\n },\n profileImageBox: {\n height: \"78px\",\n width: \"78px\",\n backgroundColor: neutralColors.GRAY1,\n position: \"relative\",\n border: `3px solid ${primaryColors.WHITE}`,\n borderRadius: \"7px\",\n cursor: \"pointer\",\n marginRight: \"30px\",\n },\n image: {\n height: \"100%\",\n width: \"100%\",\n objectFit: \"cover\",\n borderRadius: \"7px\",\n },\n defaultAvatar: {\n width: \"100%\",\n height: \"100%\",\n padding: \"15%\",\n color: utilityColors.CYAN,\n pointerEvents: \"none\",\n },\n profileImage: {\n width: \"100%\",\n height: \"100%\",\n color: utilityColors.LILAC,\n pointerEvents: \"none\",\n },\n iconContainer: {\n position: \"absolute\",\n width: \"28px\",\n height: \"28px\",\n borderRadius: \"3px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n $nest: {\n \"&:hover\": {\n background: primaryColors.HOVER,\n $nest: {\n \"& svg\": {\n color: primaryColors.BLACK,\n },\n },\n },\n },\n },\n cameraIconContainer: {\n backgroundColor: primaryColors.WHITE,\n right: \"14px\",\n bottom: \"13px\",\n },\n cameraIconContainerProfileImage: {\n right: \"2px\",\n bottom: \"2px\",\n },\n span: {\n ...typography.CAPTION,\n marginTop: px(10),\n marginRight: px(0),\n marginLeft: \"auto\",\n color: neutralColors.GRAY5,\n },\n maxSizeSpan: {\n ...typography.CAPTION,\n marginRight: px(0),\n marginLeft: \"auto\",\n color: neutralColors.GRAY5,\n },\n tryAgain: {\n ...typography.CAPTION,\n marginRight: px(0),\n marginLeft: \"auto\",\n color: utilityColors.RED,\n },\n});\n","import React, { useState } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\n\nimport IconButton from \"components/ui/IconButton\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport transformFileToBase64 from \"shared/utils/fileToBase64\";\nimport { classes } from \"typestyle\";\n\nimport avatarStyles from \"./AvatarStyles\";\n\ntype AvatarProps = {\n avatar?: string;\n className?: string;\n type: \"details\" | \"services\" | \"profileImage\" | \"groups\";\n onUploadBase64: (base64Avatar: string, file: File) => void;\n showHelpText?: boolean;\n recommendedSizeText?: string;\n disabled?: boolean;\n};\n\nconst avatarImage = {\n details: \"/icons/company_account.svg\",\n profileImage: \"/icons/personal_profile.svg\",\n services: \"/icons/product_or_service.svg\",\n groups: \"/icons/group_avatar.svg\",\n};\n\nexport default function Avatar({\n avatar,\n type,\n className,\n onUploadBase64: onAvatarUpload,\n showHelpText = true,\n recommendedSizeText,\n disabled = false,\n}: AvatarProps) {\n const [maxSizeReached, setMaxSizeReached] = useState(false);\n const maxSize = 20485760; //bytes\n\n const { getRootProps, getInputProps } = useDropzone({\n noDrag: true,\n accept: [\"image/*\"],\n onDropAccepted: async (files) => {\n const base64File = await transformFileToBase64(files[0]);\n setMaxSizeReached(false);\n onAvatarUpload(base64File, files[0]);\n },\n onDropRejected: () => setMaxSizeReached(true),\n multiple: false,\n maxSize,\n disabled: disabled,\n });\n\n return (\n
\n \n \n {avatar ? (\n \"avatar\"\n ) : (\n <>\n \n \n )}\n {!disabled && (\n \n \n
\n )}\n \n
\n {(showHelpText || recommendedSizeText) && (\n \n {recommendedSizeText ?? \"Recommended 200x200px\"}\n \n )}\n {showHelpText && !maxSizeReached && (\n Max size 20 MB\n )}\n {maxSizeReached && (\n \n Max size 20 MB. Try Again\n \n )}\n
\n \n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n headerImage: {\n width: \"100%\",\n height: \"38vh\",\n maxHeight: \"412px\",\n border: `3px solid ${primaryColors.WHITE}`,\n position: \"relative\",\n backgroundColor: neutralColors.GRAY0,\n cursor: \"pointer\",\n },\n image: {\n width: \"100%\",\n height: \"100%\",\n maxHeight: \"412px\",\n objectFit: \"cover\",\n },\n cyanCloud: {\n position: \"absolute\",\n color: utilityColors.CYAN,\n top: 0,\n width: \"100%\",\n zIndex: 1,\n },\n grayCloud: {\n position: \"absolute\",\n color: neutralColors.GRAY1,\n top: 0,\n width: \"100%\",\n },\n cameraIconContainer: {\n backgroundColor: primaryColors.WHITE,\n position: \"absolute\",\n right: \"14px\",\n bottom: \"13px\",\n width: \"28px\",\n height: \"28px\",\n borderRadius: \"3px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n editIcon: {\n color: primaryColors.PURPLE2,\n height: \"17px\",\n width: \"19px\",\n },\n backgroundSpan: {\n ...typography.CAPTION,\n position: \"absolute\",\n right: \"0\",\n bottom: \"-28px\",\n color: neutralColors.GRAY5,\n },\n maxSizeSpan: {\n ...typography.CAPTION,\n position: \"absolute\",\n bottom: \"-46px\",\n right: \"0\",\n color: neutralColors.GRAY5,\n },\n tryAgain: {\n ...typography.CAPTION,\n width: \"fit-content\",\n position: \"absolute\",\n bottom: \"-46px\",\n right: \"0\",\n color: utilityColors.RED,\n },\n});\n","import { useState } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport transformFileToBase64 from \"shared/utils/fileToBase64\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./BackgroundStyles\";\n\ntype BackgroundProps = {\n backgroundImage?: string;\n onUploadBase64: (base64Background: string, file: File) => void;\n className?: string;\n hideSizeText?: boolean;\n recommendedSizeText?: string;\n showHelpText?: boolean;\n disabled?: boolean;\n};\n\nexport default function Background({\n backgroundImage,\n onUploadBase64: onBackgroundUpload,\n className,\n hideSizeText,\n recommendedSizeText,\n showHelpText = true,\n disabled = false,\n}: BackgroundProps) {\n const [maxSizeReached, setMaxSizeReached] = useState(false);\n const maxSize = 20485760; //bytes\n\n const { getRootProps, getInputProps } = useDropzone({\n noDrag: true,\n accept: [\"image/*\"],\n onDropAccepted: async (files) => {\n const base64File = await transformFileToBase64(files[0]);\n setMaxSizeReached(false);\n onBackgroundUpload(base64File, files[0]);\n },\n onDropRejected: () => setMaxSizeReached(true),\n multiple: false,\n maxSize,\n disabled,\n });\n\n return (\n
\n \n {backgroundImage ? (\n \"background\"\n ) : (\n <>\n \n \n \n )}\n\n {!disabled && (\n
\n \n
\n )}\n {!hideSizeText && (\n
\n \n {recommendedSizeText ?? \"Recommended 1300x412px\"}\n \n {!maxSizeReached && showHelpText && (\n Max size 20 MB\n )}\n {maxSizeReached && (\n Max size 20 MB. Try Again\n )}\n
\n )}\n
\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { spacing } from \"shared/styles/spacing\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n form: {},\n detailsParagraph: {\n ...typography.BODY1,\n marginBottom: \"32px\",\n },\n textAreaContainer: {},\n textAreaTitle: {\n ...typography.SUBTITLE1,\n },\n imagesContainerTitle: {\n color: neutralColors.GRAY5,\n ...typography.BODY2,\n },\n headerImage: {\n width: \"100%\",\n height: \"38vh\",\n maxHeight: \"412px\",\n border: `3px solid ${primaryColors.WHITE}`,\n position: \"relative\",\n backgroundColor: neutralColors.GRAY0,\n },\n cyanCloud: {\n position: \"absolute\",\n color: utilityColors.CYAN,\n top: 0,\n width: \"100%\",\n zIndex: 1,\n },\n grayCloud: {\n position: \"absolute\",\n color: neutralColors.GRAY1,\n top: 0,\n width: \"100%\",\n },\n imagesContainer: {\n position: \"relative\",\n height: \"fit-content\",\n marginBottom: \"120px\",\n },\n buttonsContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-end\",\n alignItems: \"center\",\n width: \"100%\",\n padding: \"25px 0\",\n },\n button: {\n marginRight: \"3%\",\n },\n youtubeInputContainer: {\n paddingBottom: \"32px\",\n },\n backgroundSpan: {\n ...typography.CAPTION,\n position: \"absolute\",\n right: \"0\",\n bottom: \"-28px\",\n color: neutralColors.GRAY5,\n },\n inputContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-evenly\",\n position: \"relative\",\n $nest: {\n \"& label\": {\n marginBottom: spacing.LABEL_MARGIN,\n },\n },\n },\n inputSpan: {\n position: \"absolute\",\n right: \"0\",\n bottom: \"10px\",\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n youtubeWarning: {\n position: \"absolute\",\n right: \"0\",\n bottom: \"10px\",\n ...typography.CAPTION,\n color: utilityColors.RED,\n },\n youtubeTitleContainer: {\n display: \"flex\",\n alignItems: \"end\",\n $nest: {\n \"& label\": {\n marginBottom: spacing.LABEL_MARGIN,\n },\n },\n },\n youtubeHelpText: {\n ...typography.BODY2,\n whiteSpace: \"pre-line\",\n },\n multiTagLabel: {\n ...typography.SUBTITLE2,\n paddingBottom: \"8px\",\n },\n multitagLabelInfo: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n width: \"100%\",\n paddingBottom: \"8px\",\n },\n});\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { spacing } from \"shared/styles/spacing\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\n/**\n * styles shared between forms in company info. Todo:\n * - use everywhere\n * - move to shared styles\n * */\nconst styles = stylesheet({\n title: {\n ...typography.HEADLINE5,\n color: primaryColors.PURPLE2,\n },\n inputRow: {\n marginBottom: px(32),\n $nest: {\n \"& label\": {\n marginBottom: spacing.LABEL_MARGIN,\n },\n },\n },\n inputLabel: {\n ...typography.SUBTITLE2,\n },\n helpIcon: {\n display: \"inline-block\",\n marginLeft: px(8),\n },\n helpIconSmall: {\n width: px(18),\n height: px(18),\n },\n helpIconText: {\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n },\n labelWithIcon: {\n display: \"flex\",\n alignItems: \"center\",\n },\n labelIcon: {\n marginLeft: px(8),\n height: px(16),\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { ButtonColors } from \"components/ui/Button\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\n\nexport type ConfirmationModalBodyProps = {\n children: React.ReactNode;\n action: () => void;\n onClose: () => void;\n title?: string;\n buttonText?: string;\n buttonColor?: ButtonColors;\n};\n\nexport default function ConfirmationModalBody({\n children,\n action,\n onClose,\n title,\n buttonText = \"Ok\",\n buttonColor = \"red\",\n}: ConfirmationModalBodyProps) {\n const handleCancel = () => {\n onClose();\n };\n return (\n {\n action();\n onClose();\n },\n autoFocus: true,\n children: buttonText,\n disableCloseAfterCallback: true,\n },\n ]}\n onClose={onClose}\n >\n {children}\n \n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n fileUploaderRoot: {\n width: \"100%\",\n height: \"100%\",\n },\n});\n\nexport default styles;\n","import React, { useCallback, useContext } from \"react\";\nimport { DropEvent, FileRejection, useDropzone } from \"react-dropzone\";\n\nimport { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { maxUploadFileSize } from \"components/AssetRepository/constants\";\nimport {\n CustomFileUploaderHeaderText,\n FileUploadingWindowProps,\n PromiseState,\n} from \"components/FileUploader/FileUploadingWindow/FileUploadingWindow\";\nimport { CustomizableDialogProps } from \"components/ui/Modal/Modal\";\nimport ModalContext, { uncloseableDialogSettings } from \"contexts/ModalContext\";\nimport { UploadApiError } from \"shared/client\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./FileUploader.styles\";\nimport FileUploadingWindow from \"./FileUploadingWindow\";\n\nexport interface UploadProps {\n onFilesAccepted?: (files: Array) => Promise;\n onFilesRejected?: (fileRejections: Array) => Promise;\n allowedFileTypes?: string | Array;\n uploadSuccessCallback?: () => void;\n blockedFileTypes?: string[];\n destination?: string;\n customHeaderText?: CustomFileUploaderHeaderText;\n allowMultiple?: boolean;\n}\n\ninterface FileUploaderProps extends UploadProps {\n children: React.ReactNode;\n className?: string;\n allowedFileTypes?: string | Array;\n uploadSuccessCallback?: () => void;\n}\n\nexport const fileUploaderModalProps = (\n state: PromiseState\n): CustomizableDialogProps => {\n return {\n ...uncloseableDialogSettings().props,\n PaperProps: {\n style: {\n borderColor:\n state === PromiseState.Resolved\n ? utilityColors.GREEN\n : state === PromiseState.Rejected\n ? utilityColors.RED\n : utilityColors.ORANGE,\n borderStyle: \"solid\",\n borderWidth: \"1px\",\n borderLeftWidth: \"8px\",\n borderRadius: \"8px\",\n backgroundColor: primaryColors.WHITE,\n width: \"440px\",\n },\n },\n };\n};\n\nfunction FileUploader({\n children,\n onFilesAccepted = async () => {},\n onFilesRejected = async () => {},\n className = \"\",\n allowedFileTypes,\n uploadSuccessCallback = () => {},\n blockedFileTypes,\n destination,\n customHeaderText,\n allowMultiple = true,\n}: FileUploaderProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n\n const filesAcceptedHandler = useCallback<\n (files: File[], event: DropEvent) => void\n >(\n async (files) => {\n const uploadingWindowProps: Omit = {\n fileName: files[0].name,\n size: files[0].size,\n destination,\n customHeaderText: customHeaderText,\n };\n\n closeModal();\n openModal(\n ,\n {\n keepHistory: true,\n props: fileUploaderModalProps(PromiseState.Pending),\n }\n );\n try {\n await onFilesAccepted(files);\n closeModal();\n openModal(\n ,\n {\n keepHistory: true,\n props: fileUploaderModalProps(PromiseState.Resolved),\n }\n );\n uploadSuccessCallback();\n return;\n } catch (err) {\n if (err instanceof UploadApiError) {\n closeModal();\n openModal(\n ,\n { props: fileUploaderModalProps(PromiseState.Rejected) }\n );\n }\n }\n },\n [\n destination,\n customHeaderText,\n closeModal,\n openModal,\n onFilesAccepted,\n uploadSuccessCallback,\n ]\n );\n\n const filesRejectedHandler = useCallback(\n (fileRejections) => {\n onFilesRejected(fileRejections);\n },\n [onFilesRejected]\n );\n\n const fileTypeValidator = useCallback(\n (file: File) => {\n const extension = file.name.split(\".\").pop() || \"\";\n\n if (blockedFileTypes?.includes(extension)) {\n return {\n code: \"file-invalid-type\",\n message: \"The extension of the selected file is not allowed\",\n };\n }\n return null;\n },\n [blockedFileTypes]\n );\n\n const { getRootProps, getInputProps } = useDropzone({\n noDrag: true,\n accept: allowedFileTypes,\n onDropAccepted: filesAcceptedHandler,\n onDropRejected: filesRejectedHandler,\n multiple: allowMultiple,\n maxSize: maxUploadFileSize,\n validator: fileTypeValidator,\n });\n return (\n <>\n \n \n {children}\n \n \n );\n}\n\nexport default FileUploader;\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nimport { typography } from \"../../../shared/styles/typography\";\n\nconst styles = stylesheet({\n container: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n width: \"100%\",\n height: \"100%\",\n background: neutralColors.GRAY0,\n borderRadius: \"8px\",\n backgroundClip: \"content-box\",\n marginBottom: \"24px\",\n },\n textContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n wordBreak: \"break-word\",\n margin: \"24px\",\n },\n headerText: {\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n },\n text: {\n margin: \"3px 0px\",\n },\n errorText: {\n ...typography.CAPTION,\n color: utilityColors.RED,\n },\n buttonContainer: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n },\n});\n\nexport default styles;\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n iconContainer: {\n position: \"relative\",\n display: \"flex\",\n width: \"120px\",\n height: \"120px\",\n margin: \"36px\",\n border: `1px solid ${neutralColors.GRAY4}`,\n borderRadius: \"8px\",\n background: primaryColors.WHITE,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n statusIconContainer: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"48px\",\n height: \"48px\",\n borderRadius: \"8px\",\n background: neutralColors.GRAY1,\n border: `1px solid ${neutralColors.GRAY3}`,\n marginLeft: \"25px\",\n flexShrink: 0,\n },\n statusIcon: {\n padding: 0,\n width: \"26px\",\n height: \"26px\",\n },\n mainIcon: {\n maxWidth: \"60px\",\n },\n rotate: {\n animation: \"rotation 5s infinite linear\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { utilityColors } from \"@pulsemarket/constants\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { classes, style } from \"typestyle\";\n\nimport { PromiseState } from \"../FileUploadingWindow\";\n\nimport styles from \"./IconDisplayStyles\";\n\nconst statusIcons: Record = {\n pending: (\n \n ),\n resolved: (\n \n ),\n rejected: (\n \n ),\n};\n\ntype IconDisplayProps = {\n status: PromiseState;\n};\n\nfunction IconDisplay({ status }: IconDisplayProps) {\n const statusIcon = statusIcons[status];\n\n return (\n
{statusIcon}
\n );\n}\n\nexport default IconDisplay;\n","import Button from \"components/ui/Button\";\nimport { filesize } from \"filesize\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./FileUploadingWindow.styles\";\nimport IconDisplay from \"./IconDisplay\";\n\nexport enum PromiseState {\n Pending = \"pending\",\n Resolved = \"resolved\",\n Rejected = \"rejected\",\n}\nexport type CustomFileUploaderHeaderText = {\n [state in PromiseState]?: string;\n};\n\nexport type FileUploadingWindowProps = {\n fileName: string; // todo it should be able to list multiple files\n /** Default 1. Should be derived from `fileNames` prop when implemented */\n fileCount?: number;\n size: number;\n destination?: string;\n status: PromiseState;\n errors?: string[];\n customHeaderText?: CustomFileUploaderHeaderText;\n onClose?: () => void;\n};\n\nfunction FileUploadingWindow({\n fileName = \"\",\n size = 0,\n fileCount = 1,\n destination = \"My files\",\n status,\n errors = [],\n customHeaderText,\n onClose,\n}: FileUploadingWindowProps) {\n const headerText =\n customHeaderText && customHeaderText[status]\n ? customHeaderText[status]\n : (() => {\n switch (status) {\n case \"pending\":\n return `Uploading ${fileCount} item${\n fileCount > 1 ? \"s\" : \"\"\n } to ${destination}`;\n case \"resolved\":\n return `Uploaded ${fileCount} item${\n fileCount > 1 ? \"s\" : \"\"\n } to ${destination}`;\n default:\n return `Error uploading ${fileName}:`;\n }\n })();\n\n const StatusDisplay = () => {\n switch (status) {\n case \"pending\":\n case \"resolved\":\n return (\n <>\n {fileName &&

{fileName}

}\n {!!size &&

{filesize(size)}

}\n \n );\n default:\n return (\n <>\n {errors.map((error, index) => (\n \n {error}\n \n ))}\n \n );\n }\n };\n return (\n <>\n
\n \n
\n

{headerText}

\n \n
\n
\n\n {status !== \"pending\" && (\n
\n \n
\n )}\n \n );\n}\n\nexport default FileUploadingWindow;\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","export const ANIMATE_CC_ERROR_NAME = 'AnimateCC';\nexport class AnimateCCError extends Error {\n name = ANIMATE_CC_ERROR_NAME;\n}\n","import { AnimateCCError } from '../AnimateCCError';\nimport { An } from './types';\n\nexport const AdobeAn = (global as any).AdobeAn as An;\n\nif (typeof window !== 'undefined' && AdobeAn === undefined) {\n throw new AnimateCCError('AdobeAn dependency not found');\n}\n","import type createjs from 'createjs-module';\nimport { AnimateCCError } from '../AnimateCCError';\n\nexport const CreateJS = global.createjs as typeof createjs;\n\nif (typeof window !== 'undefined' && CreateJS === undefined) {\n throw new AnimateCCError('createjs dependency not found');\n}\n","export const hexToRgba = (color: string, opacity: number) => {\n const r = parseInt(color.substring(1, 3), 16);\n const g = parseInt(color.substring(3, 5), 16);\n const b = parseInt(color.substring(5, 7), 16);\n\n return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n};\n","export const log = (...args: any[]) => {\n // eslint-disable-next-line no-console\n console.error('AnimateCC:', ...args);\n};\n","import React from 'react';\nimport type createjs from 'createjs-module';\nimport { AdobeAn, Composition } from '../utils/AdobeAn';\nimport { CreateJS } from '../utils/CreateJS';\n\nimport { hexToRgba } from '../utils/hexToRgba';\nimport { getCompositionId } from '../utils/getCompositionId';\nimport { log } from '../utils/log';\n\nimport {\n AnimationObject,\n Props,\n State,\n} from './types';\n\nexport class AnimateCC extends React.Component {\n private animationObject?: AnimationObject;\n\n private stage?: createjs.Stage;\n\n private canvasRef = React.createRef();\n\n state: State = {\n error: false,\n };\n\n componentDidMount() {\n if (typeof window === 'undefined') {\n return;\n }\n\n const { animationName, composition: externalCompositionId } = this.props;\n\n const compositionId = getCompositionId(animationName, externalCompositionId);\n\n if (compositionId === null) {\n log(`${externalCompositionId} composition was not found in ${animationName} animation`);\n this.setState({ error: true });\n return;\n }\n\n const composition = AdobeAn.getComposition(compositionId);\n\n if (composition === undefined) {\n log(`Animation with name ${animationName} was not found`);\n this.setState({ error: true });\n return;\n }\n\n const { properties: { manifest } } = composition.getLibrary();\n\n const loader = new CreateJS.LoadQueue(false);\n loader.addEventListener('fileload', (evt) => { this.handleFileLoad(evt as createjs.Event, composition); });\n loader.addEventListener('complete', (evt) => { this.handleComplete(evt as createjs.Event, composition); });\n loader.addEventListener('error', (evt) => { this.handleFileError(evt as createjs.ErrorEvent); });\n loader.loadManifest(manifest);\n\n if (manifest.filter(({ type }) => type === 'image').length === 0) {\n this.handleComplete(null, composition);\n }\n }\n\n componentDidUpdate() {\n const { error } = this.state;\n const { paused } = this.props;\n\n if (!error && this.animationObject !== undefined) {\n this.animationObject.tickEnabled = !paused;\n }\n }\n\n componentWillUnmount() {\n const { error } = this.state;\n if (error) {\n return;\n }\n\n // Force garbage collection on Safari\n // https://bugs.webkit.org/show_bug.cgi?id=195325\n if (this.canvasRef.current) {\n this.canvasRef.current.height = 0;\n this.canvasRef.current.width = 0;\n }\n\n this.stopAnimation();\n }\n\n private onAnimationReady = () => {\n this.resizeCanvas();\n this.startAnimation();\n };\n\n private handleFileError = (evt: createjs.ErrorEvent) => {\n if (evt.title === 'FILE_LOAD_ERROR') {\n const { src } = evt.data as { src: string };\n\n log(`Asset ${src} failed to load`);\n this.setState({ error: true });\n }\n };\n\n private handleComplete = (evt: createjs.Event|null, composition: Composition) => {\n const { error } = this.state;\n if (error) {\n return;\n }\n\n const {\n animationName, paused, getAnimationObject,\n } = this.props;\n\n const lib = composition.getLibrary();\n\n if (evt !== null) {\n const ss = composition.getSpriteSheet();\n\n const queue = evt.target;\n const { ssMetadata = [] } = lib;\n\n for (const metadata of ssMetadata) {\n if (metadata) {\n ss[metadata.name] = new CreateJS.SpriteSheet({\n images: [queue?.getResult(metadata.name)],\n frames: metadata.frames,\n });\n }\n }\n }\n\n const animationObject = new lib[animationName]();\n getAnimationObject?.(animationObject);\n\n this.animationObject = animationObject;\n this.animationObject.tickEnabled = !paused;\n\n if (this.canvasRef.current) {\n this.stage = new lib.Stage(this.canvasRef.current);\n this.setState({ properties: lib.properties }, this.onAnimationReady);\n }\n };\n\n private handleFileLoad = (evt: createjs.Event, comp: Composition) => {\n const images = comp.getImages();\n if (evt?.item?.type === 'image') {\n images[evt.item.id] = evt.result;\n }\n };\n\n // Registers the \"tick\" event listener.\n private startAnimation = () => {\n const { properties } = this.state;\n\n if (properties !== undefined) {\n AdobeAn.compositionLoaded(properties.id);\n }\n\n if (this.animationObject !== undefined) {\n this.stage?.addChild(this.animationObject);\n }\n\n if (properties !== undefined && this.stage !== undefined) {\n CreateJS.Ticker.framerate = properties.fps;\n CreateJS.Ticker.addEventListener('tick', this.stage);\n }\n };\n\n // Unregisters the \"tick\" event listener.\n private stopAnimation = () => {\n if (this.stage !== undefined) {\n CreateJS.Ticker.removeEventListener('tick', this.stage as any as Function);\n }\n };\n\n private getCanvasSize = () => {\n const { properties } = this.state;\n const width = properties?.width ?? 1;\n const height = properties?.height ?? 1;\n const pRatio = window.devicePixelRatio;\n\n return {\n width: width * pRatio,\n height: height * pRatio,\n };\n };\n\n // Code to support hidpi screens and responsive scaling.\n private resizeCanvas = () => {\n const pRatio = window.devicePixelRatio;\n\n if (this.stage !== undefined) {\n this.stage.scaleX = pRatio;\n this.stage.scaleY = pRatio;\n this.stage.tickOnUpdate = false;\n this.stage.update();\n this.stage.tickOnUpdate = true;\n }\n };\n\n render() {\n const {\n animationName,\n getAnimationObject,\n paused,\n style: additionalStyles,\n composition,\n ...props\n } = this.props;\n\n if (typeof window === 'undefined') {\n return null;\n }\n\n const { properties } = this.state;\n const { width: canvasWidth, height: canvasHeight } = this.getCanvasSize();\n\n if (properties === undefined || Object.keys(properties).length === 0) {\n return (\n
\n
\n \n
\n
\n
\n );\n }\n\n const color = hexToRgba(properties.color, properties.opacity);\n\n return (\n
\n \n \n \n
\n
\n );\n }\n}\n","import { AdobeAn } from './AdobeAn';\n\nexport const getCompositionId = (searchedName: string, composition?: string): string|null => {\n const compositionIds = Object.keys(AdobeAn.compositions);\n\n if (composition) {\n if (AdobeAn.compositions[composition].getLibrary()[searchedName]) {\n return composition;\n }\n\n return null;\n }\n\n const [foundComposition] = compositionIds.filter((id) => {\n const library = (AdobeAn.compositions[id].getLibrary() as any) as {\n [id: string]: { prototype?: { mode?: string } }\n };\n const props = Object.keys(library);\n\n const independent = props.filter((prop) => {\n if (library?.[prop]?.prototype?.mode === 'independent') {\n return true;\n }\n\n return false;\n });\n\n return independent.some((name) => name === searchedName);\n });\n\n return foundComposition;\n};\n","import * as React from \"react\";\nimport AnimateCC from \"react-adobe-animate\";\n\nimport { primaryColors } from \"@pulsemarket/constants\";\nimport { classes, style } from \"typestyle\";\n\nconst loadingClassFullScreen = style({\n position: \"fixed\",\n zIndex: 1200,\n background: \"white\",\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n display: \"flex\",\n flexDirection: \"column\",\n});\n\nconst loadingClassWindowedScreen = style({\n // paddingTop: \"24px\",\n display: \"flex\",\n});\n\nconst wrapperClass = style({\n margin: \"auto\",\n height: \"90px\",\n width: \"90px\",\n marginBottom: \"24px\",\n});\n\nconst centerClass = style({\n margin: \"auto\",\n fontSize: \"18px\",\n fontWeight: 600,\n color: primaryColors.BLACK,\n});\n\ninterface LoadingProps {\n message?: string;\n isWindowed?: boolean;\n className?: string;\n}\n\nexport function Loading(props: LoadingProps) {\n return (\n \n
\n
\n \n
\n {props.message}\n
\n \n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { stylesheet } from \"typestyle\";\n\nimport { typography } from \"../../shared/styles/typography\";\n\nconst containerBox = {\n backgroundColor: primaryColors.WHITE,\n display: \"flex\",\n width: \"100%\",\n borderRadius: \"8px\",\n};\n\nconst sharedStyles = stylesheet({\n caption: {\n ...typography.BODY2,\n ...zeroPaddingMargin,\n color: neutralColors.GRAY5,\n marginBottom: \"24px\",\n paddingRight: \"20%\",\n },\n subtitle: {\n ...zeroPaddingMargin,\n ...typography.SUBTITLE2,\n marginBottom: \"24px\",\n paddingRight: \"20%\",\n },\n buttonContainer: {\n marginTop: \"auto\",\n\n height: \"33px\",\n },\n buttonRow: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"start\",\n position: \"relative\",\n width: \"100%\",\n gap: \"20px\",\n },\n});\n\nexport const buttonStyles = stylesheet({\n containerBox: {\n ...containerBox,\n flexDirection: \"column\",\n position: \"relative\",\n padding: \"42px\",\n },\n imageAndDescription: {\n ...containerBox,\n flexDirection: \"row\",\n },\n content: {\n display: \"flex\",\n justifyContent: \"start\",\n alignItems: \"start\",\n flexDirection: \"column\",\n paddingLeft: \"23px\",\n flex: 4,\n },\n title: {\n ...zeroPaddingMargin,\n ...typography.HEADLINE6,\n color: primaryColors.PURPLE2,\n marginBottom: \"24px\",\n },\n buttonsContainer: {\n display: \"flex\",\n width: \"100%\",\n alignItems: \"center\",\n },\n illustrationContainer: {\n display: \"flex\",\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n});\n\nexport const linkStyles = stylesheet({\n imageAndDescription: {\n ...containerBox,\n flexDirection: \"row\",\n },\n containerBox: {\n ...containerBox,\n flexDirection: \"column\",\n position: \"relative\",\n padding: \"42px\",\n },\n illustrationContainer: {\n display: \"flex\",\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingRight: \"30px\",\n },\n illustration: {\n width: \"80%\",\n maxWidth: \"250px\",\n },\n content: {\n display: \"flex\",\n alignItems: \"start\",\n flexDirection: \"column\",\n flex: 4,\n },\n title: {\n ...zeroPaddingMargin,\n ...typography.HEADLINE6,\n color: primaryColors.PURPLE2,\n marginBottom: \"24px\",\n },\n});\n\nexport default sharedStyles;\n","import { ReactNode } from \"react\";\n\nimport { ButtonProps } from \"components/ui/Button\";\nimport LockedButton from \"components/ui/LockedButton\";\nimport { LockedButtonProps } from \"components/ui/LockedButton/LockedButton\";\nimport { MaybeTipProvider } from \"components/ui/TipProvider/TipProvider\";\nimport { TipType } from \"store/TipStore\";\nimport { classes } from \"typestyle\";\n\nimport sharedStyles, { buttonStyles, linkStyles } from \"./GetStartedBox.styles\";\n\nexport type GetStartedBoxProps = {\n className?: string;\n title: string | ReactNode;\n subtitle?: string | ReactNode;\n caption?: string | ReactNode;\n action?: () => void;\n linkClassName?: string;\n /** ButtonProps - Is overwritten by default rules of the GetStartedBox component */\n lockedButtonProps?: Partial;\n name: string;\n type: \"button\" | \"link\" | \"outlined\";\n /** Explicitly set button variant */\n buttonVariant?: ButtonProps[\"variant\"];\n image?: JSX.IntrinsicElements[\"img\"] | React.ReactNode;\n secondaryButtonProps?: Partial;\n secondaryName?: string;\n secondAction?: () => void;\n secondaryVariant?: ButtonProps[\"variant\"];\n tipType?: TipType;\n};\n\nconst isTypeButton = (type: \"button\" | \"link\" | \"outlined\") =>\n type === \"button\";\n\n/**\n * todo reimplement based on https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=12929%3A84669&t=HT9uWwyNrWHXgtlQ-0\n * - name suggestion: CallToActionCard\n */\nexport default function GetStartedBox({\n className,\n title,\n subtitle,\n caption,\n name,\n type,\n action = () => {},\n linkClassName,\n lockedButtonProps,\n buttonVariant,\n image,\n secondaryButtonProps,\n secondaryName,\n secondAction,\n secondaryVariant,\n tipType,\n}: GetStartedBoxProps): JSX.Element {\n const isButton = isTypeButton(type);\n\n const styles = isButton ? buttonStyles : linkStyles;\n\n return (\n
\n
\n
\n {image &&\n //render if image has src\n // render children if image is a ReactNode\n typeof image === \"object\" &&\n \"src\" in image ? (\n \n ) : (\n image\n )}\n
\n
\n

{title}

\n {subtitle &&

{subtitle}

}\n {caption &&

{caption}

}\n
\n
\n \n {isButton ? (\n \n {name}\n \n ) : (\n \n {name}\n \n )}\n \n
\n\n {!!secondAction && (\n
\n {isButton ? (\n \n {secondaryName}\n \n ) : (\n \n {secondaryName}\n \n )}\n
\n )}\n
\n
\n
\n
\n );\n}\n","import GetStartedBox from \"./GetStartedBox\";\n\nexport default GetStartedBox;\n\nexport type { GetStartedBoxProps } from \"./GetStartedBox\";\n","import { useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport { TabTitle } from \"components/PulsePage/PulsePage\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useSetGroupInvitationStatus from \"hooks/queries/useSetGroupInvitationStatus\";\nimport { GroupInvitationStatus } from \"shared/model\";\n\nexport function LeaveGroupModal({\n activeGroupInvitationId,\n}: {\n activeGroupInvitationId: string;\n}) {\n const { closeModal } = useContext(ModalContext);\n const { data: ownCompany } = useOwnCompany();\n const { mutate: setGroupInvitationStatus } = useSetGroupInvitationStatus();\n\n const history = useHistory();\n\n return (\n {\n try {\n if (!ownCompany?.id) {\n return;\n }\n await setGroupInvitationStatus({\n groupInvitationId: activeGroupInvitationId,\n status: GroupInvitationStatus.Left,\n });\n history.push({\n pathname: `/pulsepage/${ownCompany.id}`,\n state: { tabTitle: TabTitle.Groups },\n });\n } catch (_e) {}\n }}\n onClose={closeModal}\n >\n Are you sure you want to leave this group? You may need to ask to join\n again.\n \n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst itemStyles = stylesheet({\n wrapper: {\n width: \"100%\",\n cursor: \"pointer\",\n display: \"inline-flex\",\n alignItems: \"center\",\n padding: \"10px\",\n transition: \"80ms all linear\",\n $nest: {\n \"&:hover\": {\n background: primaryColors.HOVER,\n },\n \"&:hover.read\": {\n background: neutralColors.GRAY1,\n },\n },\n },\n center: {\n flex: 1,\n marginRight: \"12px\",\n marginLeft: \"12px\",\n },\n message: {\n ...typography.CAPTION,\n },\n name: {\n color: utilityColors.ORANGE,\n fontWeight: \"bolder\",\n },\n orange: {\n color: utilityColors.ORANGE,\n },\n date: {\n ...typography.CAPTION2,\n color: neutralColors.GRAY4,\n },\n});\n\nexport default itemStyles;\n","import React, { useCallback } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { NotificationType, RFPType, ROUTES } from \"@pulsemarket/constants\";\nimport itemStyles from \"components/Notifications/NotificationItem.styles\";\nimport ReadCircle from \"components/Notifications/ReadCircle\";\nimport { useGetPassport } from \"components/Passports/utils\";\nimport Avatar from \"components/ui/Avatar/Avatar\";\nimport type { History } from \"history\";\nimport { useMessageDetails } from \"hooks/queries/commentHooks\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useReadNotification from \"hooks/queries/useReadNotification\";\nimport { TriggeredPopupEnum } from \"hooks/utils\";\nimport { GroupPageLocationState } from \"pages/PulseGroup/GroupPage\";\nimport { GroupSettingTab } from \"pages/PulseGroup/GroupSettingsPage/GroupSettingsPage\";\nimport {\n getGroup,\n getMessageDetails,\n getPost,\n getRFP,\n getRfpInvitation,\n getRFPresponse,\n} from \"shared/client\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { CompanyDetailsDto, CompanyDto, NotificationDto } from \"shared/model\";\nimport { format } from \"timeago.js\";\nimport { classes } from \"typestyle\";\n\ntype GroupDeleteNotificationDetails = {\n deletedGroupName: string;\n};\n\ntype DocumentMessageNotificationDetails = {\n documentName: string;\n documentType: RFPType;\n};\n\ntype NotificationDetails =\n | GroupDeleteNotificationDetails\n | DocumentMessageNotificationDetails;\n\nexport const MESSAGES: Record<\n NotificationType,\n (sender: string, details?: NotificationDetails) => React.ReactFragment\n> = {\n [NotificationType.InvitedForRFP]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new RFP\n \n ),\n [NotificationType.InvitedForRFI]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new RFI\n \n ),\n [NotificationType.InvitedForDDQ]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new DDQ\n \n ),\n [NotificationType.InvitedForQTP]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new QTP\n \n ),\n [NotificationType.InvitedForPassport]: (sender: string) => (\n <>\n {sender}\n
\n invited you to take a Passport\n \n ),\n [NotificationType.RFPResponseReceived]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new RFP Response\n \n ),\n [NotificationType.RFIResponseReceived]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new RFI Response\n \n ),\n [NotificationType.DDQResponseReceived]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new DDQ Response\n \n ),\n [NotificationType.QTPResponseReceived]: (sender: string) => (\n <>\n {sender}\n
\n sent you a new QTP Response\n \n ),\n [NotificationType.GroupInvitationReceived]: (sender: string) => (\n <>\n {sender}\n
\n invited you to join a group\n \n ),\n [NotificationType.GroupJoinRequestReceived]: (sender: string) => (\n <>\n {sender}\n
\n requested to join a group\n \n ),\n [NotificationType.GroupInvitationApproved]: (sender: string) => (\n <>\n {sender}\n
\n approved your request to join the group\n \n ),\n [NotificationType.GroupDeleted]: (\n sender: string,\n details?: NotificationDetails\n ) => (\n <>\n {sender}\n
\n deleted{\" \"}\n \n {(details as GroupDeleteNotificationDetails)?.deletedGroupName}\n \n . The group will no be longer accesible.\n \n ),\n [NotificationType.PostApproveRequestReceived]: (sender: string) => (\n <>\n {sender}\n
\n requested a post to be approved\n \n ),\n [NotificationType.PostApproved]: (sender: string) => (\n <>\n {sender}\n
\n approved your post\n \n ),\n [NotificationType.DocumentMessageReceived]: (\n sender: string,\n details?: NotificationDetails\n ) => (\n <>\n Message from {sender}\n
\n You got a message on the{\" \"}\n {(details as DocumentMessageNotificationDetails)?.documentName}{\" \"}\n {(details as DocumentMessageNotificationDetails)?.documentType}\n \n ),\n [NotificationType.DocumentReplyReceived]: (\n sender: string,\n details?: NotificationDetails\n ) => (\n <>\n Reply from {sender}\n
\n You got a reply from your message on the{\" \"}\n {(details as DocumentMessageNotificationDetails)?.documentName}{\" \"}\n {(details as DocumentMessageNotificationDetails)?.documentType}\n \n ),\n [NotificationType.OwnPassportReportReady]: (_sender: string) => (\n <>\n \n You Did It: ESG Passport Complete!\n \n
\n Congratulations, Your ESG Action Guide and Certificate are ready!\n \n ),\n [NotificationType.InvitedContactPassportReportReady]: (sender: string) => (\n <>\n Your invited contact report\n
\n The report of {sender} is ready, you can access and view it.\n \n ),\n [NotificationType.RenewPassport]: (_sender: string) => (\n <>\n Renew your ESG Passport\n
\n Your Pulse ESG passport is close to expire, the new passport is available\n for you.\n \n ),\n [NotificationType.ProcurementFeedbackReceived]: (sender: string) => (\n <>\n {sender}\n
\n sent you feedback\n \n ),\n};\n\nasync function getResponse(rfpResponseId: string, company: CompanyDetailsDto) {\n const response = await getRFPresponse(rfpResponseId);\n\n // FIXME: Remove comment after refactoring routing logic on RFPEditor side\n // client.setQueryData(\n // queryKeys.rfpResponse(company.id, rfpResponseId),\n // response\n // );\n\n return response;\n}\n\ntype PulseHistoryState =\n GroupPageLocationState /*| extend later on for type safety*/;\n\ntype HistoryParameters = Parameters[\"push\"]>;\n\n/** todo use react query to fetch data to cache */\nexport const NotificationRoutes: Record<\n NotificationType,\n (\n id: string,\n company: CompanyDetailsDto\n ) => Promise | HistoryParameters\n> = {\n [NotificationType.InvitedForRFP]: async (invitationId) => {\n const invitation = await getRfpInvitation(invitationId);\n return [`/rfpresponses/rfp/${invitation.rfpId}/invitation/${invitationId}`];\n },\n [NotificationType.InvitedForRFI]: async (invitationId) => {\n const invitation = await getRfpInvitation(invitationId);\n return [`/rfiresponses/rfi/${invitation.rfpId}/invitation/${invitationId}`];\n },\n [NotificationType.InvitedForDDQ]: async (invitationId) => {\n const invitation = await getRfpInvitation(invitationId);\n return [`/ddqresponses/ddq/${invitation.rfpId}/invitation/${invitationId}`];\n },\n [NotificationType.InvitedForQTP]: async (invitationId) => {\n const invitation = await getRfpInvitation(invitationId);\n return [`/qtpresponses/qtp/${invitation.rfpId}/invitation/${invitationId}`];\n },\n [NotificationType.InvitedForPassport]: async (invitationId) => {\n const invitation = await getRfpInvitation(invitationId);\n\n if (invitation.responseId) {\n if (invitation.responseDate) {\n return [`/passports/esg/my_passports`];\n }\n return [\n `/passportresponses/passport/${invitation.rfpId}/invitation/${invitationId}`,\n ];\n }\n return;\n },\n [NotificationType.RFPResponseReceived]: async (rfpResponseId, company) => {\n const response = await getResponse(rfpResponseId, company);\n return [`/rfp/${response.rfpId}/response/${response.id}`];\n },\n [NotificationType.RFIResponseReceived]: async (rfpResponseId, company) => {\n const response = await getResponse(rfpResponseId, company);\n return [`/rfi/${response.rfpId}/response/${response.id}`];\n },\n [NotificationType.DDQResponseReceived]: async (rfpResponseId, company) => {\n const response = await getResponse(rfpResponseId, company);\n return [`/ddq/${response.rfpId}/response/${response.id}`];\n },\n [NotificationType.QTPResponseReceived]: async (rfpResponseId, company) => {\n const response = await getResponse(rfpResponseId, company);\n return [`/qtp/${response.rfpId}/response/${response.id}`];\n },\n [NotificationType.GroupInvitationReceived]: async (groupId) => {\n const group = await getGroup(groupId);\n return [ROUTES.GROUP(group.id)];\n },\n [NotificationType.GroupJoinRequestReceived]: async (groupId) => {\n const group = await getGroup(groupId);\n return [ROUTES.GROUP(group.id)];\n },\n [NotificationType.GroupInvitationApproved]: async (groupId) => {\n const group = await getGroup(groupId);\n return [ROUTES.GROUP(group.id)];\n },\n [NotificationType.GroupDeleted]: () => {\n return [`/groups`];\n },\n [NotificationType.PostApproved]: async (postId) => {\n const post = await getPost(postId);\n return [ROUTES.GROUP(post.groupId)];\n },\n [NotificationType.PostApproveRequestReceived]: async (groupId) => {\n return [\n ROUTES.GROUP(groupId),\n { initialSettingsPage: GroupSettingTab.Posts },\n ];\n },\n [NotificationType.DocumentMessageReceived]: async (messageId) => {\n const messageDetails = await getMessageDetails(messageId);\n // todo constant routes\n return [\n `/${messageDetails.rfpType.toLocaleLowerCase()}responses/${messageDetails.rfpType.toLowerCase()}/${\n messageDetails.rfpId\n }/response/${messageDetails.rfpResponseId}#message-${messageDetails.id}`,\n ];\n },\n [NotificationType.DocumentReplyReceived]: async (messageId) => {\n const messageDetails = await getMessageDetails(messageId);\n\n return [\n `/${messageDetails.rfpType.toLocaleLowerCase()}/${\n messageDetails.rfpId\n }/response/${messageDetails.rfpResponseId}#message-${messageDetails.id}`,\n ];\n },\n [NotificationType.OwnPassportReportReady]: () => {\n return [`/passports/esg/my_passports`];\n },\n [NotificationType.InvitedContactPassportReportReady]: () => {\n // todo redirect to correct url\n return [`/passports/esg/invitations`];\n },\n [NotificationType.RenewPassport]: () => {\n return [`/passports/esg/my_passports`];\n },\n [NotificationType.ProcurementFeedbackReceived]: async (responseId) => {\n const rfxResponse = await getRFPresponse(responseId);\n const rfx = await getRFP(rfxResponse.rfpId);\n\n const rfxType = rfx.type.toLowerCase();\n return [\n `/${rfxType}responses/${rfxType}/${rfx.id}/response/${rfxResponse.id}?openPopup=${TriggeredPopupEnum.RFXFeedback}`,\n ];\n },\n};\n\nfunction useCustomNotificationClickActionHandlers() {\n const getPassport = useGetPassport();\n\n const customNotificationClickActionHandlers: Record<\n NotificationType,\n () => void\n > = {\n [NotificationType.InvitedForPassport]: getPassport,\n [NotificationType.RenewPassport]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.InvitedForRFP]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.InvitedForDDQ]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.InvitedForRFI]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.InvitedForQTP]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.RFPResponseReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.DDQResponseReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.RFIResponseReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.QTPResponseReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.GroupInvitationReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.GroupJoinRequestReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.GroupInvitationApproved]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.GroupDeleted]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.PostApproveRequestReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.PostApproved]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.DocumentMessageReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.DocumentReplyReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.OwnPassportReportReady]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.InvitedContactPassportReportReady]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n [NotificationType.ProcurementFeedbackReceived]: function (): void {\n throw new Error(\"Function not implemented.\");\n },\n };\n\n return customNotificationClickActionHandlers;\n}\n\nexport const NOTIFICATION_IMAGES: Record<\n NotificationType,\n (company: CompanyDto) => string | undefined\n> = {\n [NotificationType.InvitedForRFP]: (company) => {\n return company.avatar;\n },\n [NotificationType.InvitedForRFI]: (company) => {\n return company.avatar;\n },\n [NotificationType.InvitedForDDQ]: (company) => {\n return company.avatar;\n },\n [NotificationType.InvitedForQTP]: (company) => {\n return company.avatar;\n },\n [NotificationType.InvitedForPassport]: (company) => {\n return company.avatar;\n },\n [NotificationType.RFPResponseReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.RFIResponseReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.DDQResponseReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.QTPResponseReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.GroupInvitationReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.GroupJoinRequestReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.GroupInvitationApproved]: (company) => {\n return company.avatar;\n },\n [NotificationType.GroupDeleted]: (company) => {\n return company.avatar;\n },\n [NotificationType.PostApproved]: (company) => {\n return company.avatar;\n },\n [NotificationType.PostApproveRequestReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.DocumentMessageReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.DocumentReplyReceived]: (company) => {\n return company.avatar;\n },\n [NotificationType.OwnPassportReportReady]: () => {\n return \"/illustrations/ESG.png\";\n },\n [NotificationType.InvitedContactPassportReportReady]: () => {\n return \"/illustrations/ESG.png\";\n },\n [NotificationType.RenewPassport]: () => {\n return \"/illustrations/ESG.png\";\n },\n [NotificationType.ProcurementFeedbackReceived]: (company) => {\n return company.avatar;\n },\n};\n\nexport function useNotificationClick(notification: NotificationDto) {\n const readAction = useReadNotification();\n const history = useHistory();\n const { data: company } = useOwnCompany();\n\n const customNotificationClickAction =\n useCustomNotificationClickActionHandlers();\n\n const handleClick = useCallback(async () => {\n if (!company) {\n return;\n }\n\n readAction.mutate({ notification, isRead: true });\n\n const route = await NotificationRoutes[notification.type](\n notification.relatedId,\n company\n );\n\n !!route\n ? history.push(...route)\n : customNotificationClickAction[notification.type]();\n }, [\n company,\n readAction,\n notification,\n history,\n customNotificationClickAction,\n ]);\n\n return handleClick;\n}\n\nconst NotificationItem = ({\n notification,\n onItemClick,\n}: {\n notification: NotificationDto;\n onItemClick: () => void;\n}) => {\n const handleClick = useNotificationClick(notification);\n\n const queryRelatedMessage =\n notification.type === NotificationType.DocumentMessageReceived ||\n notification.type === NotificationType.DocumentReplyReceived;\n\n const { data: messageDetails } = useMessageDetails({\n messageId: notification.relatedId,\n enabled: queryRelatedMessage,\n });\n\n return (\n {\n onItemClick();\n handleClick();\n }}\n >\n \n
\n
\n {MESSAGES[notification.type]?.(notification.sentByCompany.name, {\n deletedGroupName: notification.relatedId,\n documentName: messageDetails?.rfpName,\n documentType: messageDetails?.rfpType,\n })}\n
\n
{format(notification.createdAt)}
\n
\n \n \n );\n};\n\nexport default NotificationItem;\n","import React from \"react\";\n\nimport { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { classes, stylesheet } from \"typestyle\";\n\ntype Props = {\n className?: string;\n isRead: boolean;\n};\n\nconst itemStyles = stylesheet({\n circle: {\n width: \"7px\",\n height: \"7px\",\n borderRadius: \"100%\",\n marginRight: \"15px\",\n background: utilityColors.ORANGE,\n $nest: {\n \"&.read\": {\n background: neutralColors.GRAY3,\n },\n },\n },\n});\n\nconst ReadCircle = ({ isRead, className }: Props) => {\n return (\n
\n );\n};\n\nexport default ReadCircle;\n","export const G = 'G';\nexport const Svg = 'SVG';\nexport const View = 'VIEW';\nexport const Text = 'TEXT';\nexport const Link = 'LINK';\nexport const Page = 'PAGE';\nexport const Note = 'NOTE';\nexport const Path = 'PATH';\nexport const Rect = 'RECT';\nexport const Line = 'LINE';\nexport const Stop = 'STOP';\nexport const Defs = 'DEFS';\nexport const Image = 'IMAGE';\nexport const Tspan = 'TSPAN';\nexport const Canvas = 'CANVAS';\nexport const Circle = 'CIRCLE';\nexport const Ellipse = 'ELLIPSE';\nexport const Polygon = 'POLYGON';\nexport const Document = 'DOCUMENT';\nexport const Polyline = 'POLYLINE';\nexport const ClipPath = 'CLIP_PATH';\nexport const TextInstance = 'TEXT_INSTANCE';\nexport const LinearGradient = 'LINEAR_GRADIENT';\nexport const RadialGradient = 'RADIAL_GRADIENT';\n","// Node back-compat.\nconst ENCODING_MAPPING = {\n utf16le: 'utf-16le',\n ucs2: 'utf-16le',\n utf16be: 'utf-16be'\n}\n\nexport class DecodeStream {\n constructor(buffer) {\n this.buffer = buffer;\n this.view = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n this.pos = 0;\n this.length = this.buffer.length;\n }\n\n readString(length, encoding = 'ascii') {\n encoding = ENCODING_MAPPING[encoding] || encoding;\n\n let buf = this.readBuffer(length);\n try {\n let decoder = new TextDecoder(encoding);\n return decoder.decode(buf);\n } catch (err) {\n return buf;\n }\n }\n\n readBuffer(length) {\n return this.buffer.slice(this.pos, (this.pos += length));\n }\n\n readUInt24BE() {\n return (this.readUInt16BE() << 8) + this.readUInt8();\n }\n\n readUInt24LE() {\n return this.readUInt16LE() + (this.readUInt8() << 16);\n }\n\n readInt24BE() {\n return (this.readInt16BE() << 8) + this.readUInt8();\n }\n\n readInt24LE() {\n return this.readUInt16LE() + (this.readInt8() << 16);\n }\n}\n\nDecodeStream.TYPES = {\n UInt8: 1,\n UInt16: 2,\n UInt24: 3,\n UInt32: 4,\n Int8: 1,\n Int16: 2,\n Int24: 3,\n Int32: 4,\n Float: 4,\n Double: 8\n};\n\nfor (let key of Object.getOwnPropertyNames(DataView.prototype)) {\n if (key.slice(0, 3) === 'get') {\n let type = key.slice(3).replace('Ui', 'UI');\n if (type === 'Float32') {\n type = 'Float';\n } else if (type === 'Float64') {\n type = 'Double';\n }\n let bytes = DecodeStream.TYPES[type];\n DecodeStream.prototype['read' + type + (bytes === 1 ? '' : 'BE')] = function () {\n const ret = this.view[key](this.pos, false);\n this.pos += bytes;\n return ret;\n };\n\n if (bytes !== 1) {\n DecodeStream.prototype['read' + type + 'LE'] = function () {\n const ret = this.view[key](this.pos, true);\n this.pos += bytes;\n return ret;\n };\n }\n }\n}\n","import {DecodeStream} from './DecodeStream.js';\n\nconst textEncoder = new TextEncoder();\nconst isBigEndian = new Uint8Array(new Uint16Array([0x1234]).buffer)[0] == 0x12;\n\nexport class EncodeStream {\n constructor(buffer) {\n this.buffer = buffer;\n this.view = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n this.pos = 0;\n }\n\n writeBuffer(buffer) {\n this.buffer.set(buffer, this.pos);\n this.pos += buffer.length;\n }\n\n writeString(string, encoding = 'ascii') {\n let buf;\n switch (encoding) {\n case 'utf16le':\n case 'utf16-le':\n case 'ucs2': // node treats this the same as utf16.\n buf = stringToUtf16(string, isBigEndian);\n break;\n\n case 'utf16be':\n case 'utf16-be':\n buf = stringToUtf16(string, !isBigEndian);\n break;\n\n case 'utf8':\n buf = textEncoder.encode(string);\n break;\n\n case 'ascii':\n buf = stringToAscii(string);\n break;\n\n default:\n throw new Error(`Unsupported encoding: ${encoding}`);\n }\n\n this.writeBuffer(buf);\n }\n\n writeUInt24BE(val) {\n this.buffer[this.pos++] = (val >>> 16) & 0xff;\n this.buffer[this.pos++] = (val >>> 8) & 0xff;\n this.buffer[this.pos++] = val & 0xff;\n }\n\n writeUInt24LE(val) {\n this.buffer[this.pos++] = val & 0xff;\n this.buffer[this.pos++] = (val >>> 8) & 0xff;\n this.buffer[this.pos++] = (val >>> 16) & 0xff;\n }\n\n writeInt24BE(val) {\n if (val >= 0) {\n this.writeUInt24BE(val);\n } else {\n this.writeUInt24BE(val + 0xffffff + 1);\n }\n }\n\n writeInt24LE(val) {\n if (val >= 0) {\n this.writeUInt24LE(val);\n } else {\n this.writeUInt24LE(val + 0xffffff + 1);\n }\n }\n\n fill(val, length) {\n if (length < this.buffer.length) {\n this.buffer.fill(val, this.pos, this.pos + length);\n this.pos += length;\n } else {\n const buf = new Uint8Array(length);\n buf.fill(val);\n this.writeBuffer(buf);\n }\n }\n}\n\nfunction stringToUtf16(string, swap) {\n let buf = new Uint16Array(string.length);\n for (let i = 0; i < string.length; i++) {\n let code = string.charCodeAt(i);\n if (swap) {\n code = (code >> 8) | ((code & 0xff) << 8);\n }\n buf[i] = code;\n }\n return new Uint8Array(buf.buffer);\n}\n\nfunction stringToAscii(string) {\n let buf = new Uint8Array(string.length);\n for (let i = 0; i < string.length; i++) {\n // Match node.js behavior - encoding allows 8-bit rather than 7-bit.\n buf[i] = string.charCodeAt(i);\n }\n return buf;\n}\n\nfor (let key of Object.getOwnPropertyNames(DataView.prototype)) {\n if (key.slice(0, 3) === 'set') {\n let type = key.slice(3).replace('Ui', 'UI');\n if (type === 'Float32') {\n type = 'Float';\n } else if (type === 'Float64') {\n type = 'Double';\n }\n let bytes = DecodeStream.TYPES[type];\n EncodeStream.prototype['write' + type + (bytes === 1 ? '' : 'BE')] = function (value) {\n this.view[key](this.pos, value, false);\n this.pos += bytes;\n };\n\n if (bytes !== 1) {\n EncodeStream.prototype['write' + type + 'LE'] = function (value) {\n this.view[key](this.pos, value, true);\n this.pos += bytes;\n };\n }\n }\n}\n","import {DecodeStream} from './DecodeStream.js';\nimport {EncodeStream} from './EncodeStream.js';\n\nexport class Base {\n fromBuffer(buffer) {\n let stream = new DecodeStream(buffer);\n return this.decode(stream);\n }\n\n toBuffer(value) {\n let size = this.size(value);\n let buffer = new Uint8Array(size);\n let stream = new EncodeStream(buffer);\n this.encode(stream, value);\n return buffer;\n }\n}\n","import {DecodeStream} from './DecodeStream.js';\nimport {Base} from './Base.js';\n\nclass NumberT extends Base {\n constructor(type, endian = 'BE') {\n super();\n this.type = type;\n this.endian = endian;\n this.fn = this.type;\n if (this.type[this.type.length - 1] !== '8') {\n this.fn += this.endian;\n }\n }\n\n size() {\n return DecodeStream.TYPES[this.type];\n }\n\n decode(stream) {\n return stream[`read${this.fn}`]();\n }\n\n encode(stream, val) {\n return stream[`write${this.fn}`](val);\n }\n}\n\nexport {NumberT as Number};\n\nexport const uint8 = new NumberT('UInt8');\nexport const uint16be = new NumberT('UInt16', 'BE');\nexport const uint16 = uint16be;\nexport const uint16le = new NumberT('UInt16', 'LE');\nexport const uint24be = new NumberT('UInt24', 'BE');\nexport const uint24 = uint24be;\nexport const uint24le = new NumberT('UInt24', 'LE');\nexport const uint32be = new NumberT('UInt32', 'BE');\nexport const uint32 = uint32be;\nexport const uint32le = new NumberT('UInt32', 'LE');\nexport const int8 = new NumberT('Int8');\nexport const int16be = new NumberT('Int16', 'BE');\nexport const int16 = int16be;\nexport const int16le = new NumberT('Int16', 'LE');\nexport const int24be = new NumberT('Int24', 'BE');\nexport const int24 = int24be;\nexport const int24le = new NumberT('Int24', 'LE');\nexport const int32be = new NumberT('Int32', 'BE');\nexport const int32 = int32be;\nexport const int32le = new NumberT('Int32', 'LE');\nexport const floatbe = new NumberT('Float', 'BE');\nexport const float = floatbe;\nexport const floatle = new NumberT('Float', 'LE');\nexport const doublebe = new NumberT('Double', 'BE');\nexport const double = doublebe;\nexport const doublele = new NumberT('Double', 'LE');\n\nexport class Fixed extends NumberT {\n constructor(size, endian, fracBits = size >> 1) {\n super(`Int${size}`, endian);\n this._point = 1 << fracBits;\n }\n\n decode(stream) {\n return super.decode(stream) / this._point;\n }\n\n encode(stream, val) {\n return super.encode(stream, (val * this._point) | 0);\n }\n}\n\nexport const fixed16be = new Fixed(16, 'BE');\nexport const fixed16 = fixed16be;\nexport const fixed16le = new Fixed(16, 'LE');\nexport const fixed32be = new Fixed(32, 'BE');\nexport const fixed32 = fixed32be;\nexport const fixed32le = new Fixed(32, 'LE');\n","import {Number as NumberT} from './Number.js';\n\nexport function resolveLength(length, stream, parent) {\n let res;\n if (typeof length === 'number') {\n res = length;\n\n } else if (typeof length === 'function') {\n res = length.call(parent, parent);\n\n } else if (parent && (typeof length === 'string')) {\n res = parent[length];\n\n } else if (stream && length instanceof NumberT) {\n res = length.decode(stream);\n }\n\n if (isNaN(res)) {\n throw new Error('Not a fixed size');\n }\n\n return res;\n};\n\nexport class PropertyDescriptor {\n constructor(opts = {}) {\n this.enumerable = true;\n this.configurable = true;\n\n for (let key in opts) {\n const val = opts[key];\n this[key] = val;\n }\n }\n}\n","import {Base} from './Base.js';\nimport {Number as NumberT} from './Number.js';\nimport * as utils from './utils.js';\n\nclass ArrayT extends Base {\n constructor(type, length, lengthType = 'count') {\n super();\n this.type = type;\n this.length = length;\n this.lengthType = lengthType;\n }\n\n decode(stream, parent) {\n let length;\n const { pos } = stream;\n\n const res = [];\n let ctx = parent;\n\n if (this.length != null) {\n length = utils.resolveLength(this.length, stream, parent);\n }\n\n if (this.length instanceof NumberT) {\n // define hidden properties\n Object.defineProperties(res, {\n parent: { value: parent },\n _startOffset: { value: pos },\n _currentOffset: { value: 0, writable: true },\n _length: { value: length }\n });\n\n ctx = res;\n }\n\n if ((length == null) || (this.lengthType === 'bytes')) {\n const target = (length != null) ?\n stream.pos + length\n : (parent != null ? parent._length : undefined) ?\n parent._startOffset + parent._length\n :\n stream.length;\n\n while (stream.pos < target) {\n res.push(this.type.decode(stream, ctx));\n }\n\n } else {\n for (let i = 0, end = length; i < end; i++) {\n res.push(this.type.decode(stream, ctx));\n }\n }\n\n return res;\n }\n\n size(array, ctx, includePointers = true) {\n if (!array) {\n return this.type.size(null, ctx) * utils.resolveLength(this.length, null, ctx);\n }\n\n let size = 0;\n if (this.length instanceof NumberT) {\n size += this.length.size();\n ctx = {parent: ctx, pointerSize: 0};\n }\n\n for (let item of array) {\n size += this.type.size(item, ctx);\n }\n\n if (ctx && includePointers && this.length instanceof NumberT) {\n size += ctx.pointerSize;\n }\n \n return size;\n }\n\n encode(stream, array, parent) {\n let ctx = parent;\n if (this.length instanceof NumberT) {\n ctx = {\n pointers: [],\n startOffset: stream.pos,\n parent\n };\n\n ctx.pointerOffset = stream.pos + this.size(array, ctx, false);\n this.length.encode(stream, array.length);\n }\n\n for (let item of array) {\n this.type.encode(stream, item, ctx);\n }\n\n if (this.length instanceof NumberT) {\n let i = 0;\n while (i < ctx.pointers.length) {\n const ptr = ctx.pointers[i++];\n ptr.type.encode(stream, ptr.val, ptr.parent);\n }\n }\n }\n}\n\nexport {ArrayT as Array};\n","import {Array as ArrayT} from './Array.js';\nimport {Number as NumberT} from './Number.js';\nimport * as utils from './utils.js';\n\nexport class LazyArray extends ArrayT {\n decode(stream, parent) {\n const { pos } = stream;\n const length = utils.resolveLength(this.length, stream, parent);\n\n if (this.length instanceof NumberT) {\n parent = {\n parent,\n _startOffset: pos,\n _currentOffset: 0,\n _length: length\n };\n }\n\n const res = new LazyArrayValue(this.type, length, stream, parent);\n\n stream.pos += length * this.type.size(null, parent);\n return res;\n }\n\n size(val, ctx) {\n if (val instanceof LazyArrayValue) {\n val = val.toArray();\n }\n\n return super.size(val, ctx);\n }\n\n encode(stream, val, ctx) {\n if (val instanceof LazyArrayValue) {\n val = val.toArray();\n }\n\n return super.encode(stream, val, ctx);\n }\n}\n\nclass LazyArrayValue {\n constructor(type, length, stream, ctx) {\n this.type = type;\n this.length = length;\n this.stream = stream;\n this.ctx = ctx;\n this.base = this.stream.pos;\n this.items = [];\n }\n\n get(index) {\n if ((index < 0) || (index >= this.length)) {\n return undefined;\n }\n\n if (this.items[index] == null) {\n const { pos } = this.stream;\n this.stream.pos = this.base + (this.type.size(null, this.ctx) * index);\n this.items[index] = this.type.decode(this.stream, this.ctx);\n this.stream.pos = pos;\n }\n\n return this.items[index];\n }\n\n toArray() {\n const result = [];\n for (let i = 0, end = this.length; i < end; i++) {\n result.push(this.get(i));\n }\n return result;\n }\n}\n","import {Base} from './Base.js';\n\nexport class Bitfield extends Base {\n constructor(type, flags = []) {\n super();\n this.type = type;\n this.flags = flags;\n }\n\n decode(stream) {\n const val = this.type.decode(stream);\n\n const res = {};\n for (let i = 0; i < this.flags.length; i++) {\n const flag = this.flags[i];\n if (flag != null) {\n res[flag] = !!(val & (1 << i));\n }\n }\n\n return res;\n }\n\n size() {\n return this.type.size();\n }\n\n encode(stream, keys) {\n let val = 0;\n for (let i = 0; i < this.flags.length; i++) {\n const flag = this.flags[i];\n if (flag != null) {\n if (keys[flag]) { val |= (1 << i); }\n }\n }\n\n return this.type.encode(stream, val);\n }\n}\n","import {Base} from './Base.js';\nimport {Number as NumberT} from './Number.js';\nimport * as utils from './utils.js';\n\nexport class BufferT extends Base {\n constructor(length) {\n super();\n this.length = length;\n }\n \n decode(stream, parent) {\n const length = utils.resolveLength(this.length, stream, parent);\n return stream.readBuffer(length);\n }\n\n size(val, parent) {\n if (!val) {\n return utils.resolveLength(this.length, null, parent);\n }\n\n let len = val.length;\n if (this.length instanceof NumberT) {\n len += this.length.size();\n }\n\n return len;\n }\n\n encode(stream, buf, parent) {\n if (this.length instanceof NumberT) {\n this.length.encode(stream, buf.length);\n }\n\n return stream.writeBuffer(buf);\n }\n}\n\nexport {BufferT as Buffer};\n","import {Base} from './Base.js';\n\nexport class Optional extends Base {\n constructor(type, condition = true) {\n super();\n this.type = type;\n this.condition = condition;\n }\n\n decode(stream, parent) {\n let { condition } = this;\n if (typeof condition === 'function') {\n condition = condition.call(parent, parent);\n }\n\n if (condition) {\n return this.type.decode(stream, parent);\n }\n }\n\n size(val, parent) {\n let { condition } = this;\n if (typeof condition === 'function') {\n condition = condition.call(parent, parent);\n }\n\n if (condition) {\n return this.type.size(val, parent);\n } else {\n return 0;\n }\n }\n\n encode(stream, val, parent) {\n let { condition } = this;\n if (typeof condition === 'function') {\n condition = condition.call(parent, parent);\n }\n\n if (condition) {\n return this.type.encode(stream, val, parent);\n }\n }\n}\n","import {Base} from './Base.js';\nimport * as utils from './utils.js';\n\nexport class Reserved extends Base {\n constructor(type, count = 1) {\n super();\n this.type = type;\n this.count = count;\n }\n decode(stream, parent) {\n stream.pos += this.size(null, parent);\n return undefined;\n }\n\n size(data, parent) {\n const count = utils.resolveLength(this.count, null, parent);\n return this.type.size() * count;\n }\n\n encode(stream, val, parent) {\n return stream.fill(0, this.size(val, parent));\n }\n}\n","import {Base} from './Base.js';\nimport {Number as NumberT} from './Number.js';\nimport * as utils from './utils.js';\n\nclass StringT extends Base {\n constructor(length, encoding = 'ascii') {\n super();\n this.length = length;\n this.encoding = encoding;\n }\n\n decode(stream, parent) {\n let length, pos;\n\n let { encoding } = this;\n if (typeof encoding === 'function') {\n encoding = encoding.call(parent, parent) || 'ascii';\n }\n let width = encodingWidth(encoding);\n\n if (this.length != null) {\n length = utils.resolveLength(this.length, stream, parent);\n } else {\n let buffer;\n ({buffer, length, pos} = stream);\n\n while ((pos < length - width + 1) &&\n (buffer[pos] !== 0x00 ||\n (width === 2 && buffer[pos+1] !== 0x00)\n )) {\n pos += width;\n }\n\n length = pos - stream.pos;\n }\n\n\n const string = stream.readString(length, encoding);\n\n if ((this.length == null) && (stream.pos < stream.length)) {\n stream.pos+=width;\n }\n\n return string;\n }\n\n size(val, parent) {\n // Use the defined value if no value was given\n if (val === undefined || val === null) {\n return utils.resolveLength(this.length, null, parent);\n }\n\n let { encoding } = this;\n if (typeof encoding === 'function') {\n encoding = encoding.call(parent != null ? parent.val : undefined, parent != null ? parent.val : undefined) || 'ascii';\n }\n\n if (encoding === 'utf16be') {\n encoding = 'utf16le';\n }\n\n let size = byteLength(val, encoding);\n if (this.length instanceof NumberT) {\n size += this.length.size();\n }\n\n if ((this.length == null)) {\n size += encodingWidth(encoding);\n }\n\n return size;\n }\n\n encode(stream, val, parent) {\n let { encoding } = this;\n if (typeof encoding === 'function') {\n encoding = encoding.call(parent != null ? parent.val : undefined, parent != null ? parent.val : undefined) || 'ascii';\n }\n\n if (this.length instanceof NumberT) {\n this.length.encode(stream, byteLength(val, encoding));\n }\n\n stream.writeString(val, encoding);\n\n if ((this.length == null)) {\n return encodingWidth(encoding) == 2 ?\n stream.writeUInt16LE(0x0000) :\n stream.writeUInt8(0x00);\n }\n }\n}\n\nfunction encodingWidth(encoding) {\n switch(encoding) {\n case 'ascii':\n case 'utf8': // utf8 is a byte-based encoding for zero-term string\n return 1;\n case 'utf16le':\n case 'utf16-le':\n case 'utf-16be':\n case 'utf-16le':\n case 'utf16be':\n case 'utf16-be':\n case 'ucs2':\n return 2;\n default:\n //TODO: assume all other encodings are 1-byters\n //throw new Error('Unknown encoding ' + encoding);\n return 1;\n }\n}\n\nfunction byteLength(string, encoding) {\n switch (encoding) {\n case 'ascii':\n return string.length;\n case 'utf8':\n let len = 0;\n for (let i = 0; i < string.length; i++) {\n let c = string.charCodeAt(i);\n\n if (c >= 0xd800 && c <= 0xdbff && i < string.length - 1) {\n let c2 = string.charCodeAt(++i);\n if ((c2 & 0xfc00) === 0xdc00) {\n c = ((c & 0x3ff) << 10) + (c2 & 0x3ff) + 0x10000;\n } else {\n // unmatched surrogate.\n i--;\n }\n }\n\n if ((c & 0xffffff80) === 0) {\n len++;\n } else if ((c & 0xfffff800) === 0) {\n len += 2;\n } else if ((c & 0xffff0000) === 0) {\n len += 3;\n } else if ((c & 0xffe00000) === 0) {\n len += 4;\n }\n }\n return len;\n case 'utf16le':\n case 'utf16-le':\n case 'utf16be':\n case 'utf16-be':\n case 'ucs2':\n return string.length * 2;\n default:\n throw new Error('Unknown encoding ' + encoding);\n }\n}\n\nexport {StringT as String};\n","import {Base} from './Base.js';\nimport * as utils from './utils.js';\n\nexport class Struct extends Base {\n constructor(fields = {}) {\n super();\n this.fields = fields;\n }\n\n decode(stream, parent, length = 0) {\n const res = this._setup(stream, parent, length);\n this._parseFields(stream, res, this.fields);\n\n if (this.process != null) {\n this.process.call(res, stream);\n }\n return res;\n }\n\n _setup(stream, parent, length) {\n const res = {};\n\n // define hidden properties\n Object.defineProperties(res, {\n parent: { value: parent },\n _startOffset: { value: stream.pos },\n _currentOffset: { value: 0, writable: true },\n _length: { value: length }\n });\n\n return res;\n }\n\n _parseFields(stream, res, fields) {\n for (let key in fields) {\n var val;\n const type = fields[key];\n if (typeof type === 'function') {\n val = type.call(res, res);\n } else {\n val = type.decode(stream, res);\n }\n\n if (val !== undefined) {\n if (val instanceof utils.PropertyDescriptor) {\n Object.defineProperty(res, key, val);\n } else {\n res[key] = val;\n }\n }\n\n res._currentOffset = stream.pos - res._startOffset;\n }\n\n }\n\n size(val, parent, includePointers = true) {\n if (val == null) { val = {}; }\n const ctx = {\n parent,\n val,\n pointerSize: 0\n };\n\n if (this.preEncode != null) {\n this.preEncode.call(val);\n }\n\n let size = 0;\n for (let key in this.fields) {\n const type = this.fields[key];\n if (type.size != null) {\n size += type.size(val[key], ctx);\n }\n }\n\n if (includePointers) {\n size += ctx.pointerSize;\n }\n\n return size;\n }\n\n encode(stream, val, parent) {\n let type;\n if (this.preEncode != null) {\n this.preEncode.call(val, stream);\n }\n\n const ctx = {\n pointers: [],\n startOffset: stream.pos,\n parent,\n val,\n pointerSize: 0\n };\n\n ctx.pointerOffset = stream.pos + this.size(val, ctx, false);\n\n for (let key in this.fields) {\n type = this.fields[key];\n if (type.encode != null) {\n type.encode(stream, val[key], ctx);\n }\n }\n\n let i = 0;\n while (i < ctx.pointers.length) {\n const ptr = ctx.pointers[i++];\n ptr.type.encode(stream, ptr.val, ptr.parent);\n }\n }\n}\n","import {Struct} from './Struct.js';\n\nconst getPath = (object, pathArray) => {\n return pathArray.reduce((prevObj, key) => prevObj && prevObj[key], object);\n};\n\nexport class VersionedStruct extends Struct {\n constructor(type, versions = {}) {\n super();\n this.type = type;\n this.versions = versions;\n if (typeof type === 'string') {\n this.versionPath = type.split('.');\n }\n }\n\n decode(stream, parent, length = 0) {\n const res = this._setup(stream, parent, length);\n\n if (typeof this.type === 'string') {\n res.version = getPath(parent, this.versionPath);\n } else {\n res.version = this.type.decode(stream);\n }\n\n if (this.versions.header) {\n this._parseFields(stream, res, this.versions.header);\n }\n\n const fields = this.versions[res.version];\n if ((fields == null)) {\n throw new Error(`Unknown version ${res.version}`);\n }\n\n if (fields instanceof VersionedStruct) {\n return fields.decode(stream, parent);\n }\n\n this._parseFields(stream, res, fields);\n\n if (this.process != null) {\n this.process.call(res, stream);\n }\n return res;\n }\n\n size(val, parent, includePointers = true) {\n let key, type;\n if (!val) {\n throw new Error('Not a fixed size');\n }\n\n if (this.preEncode != null) {\n this.preEncode.call(val);\n }\n\n const ctx = {\n parent,\n val,\n pointerSize: 0\n };\n\n let size = 0;\n if (typeof this.type !== 'string') {\n size += this.type.size(val.version, ctx);\n }\n\n if (this.versions.header) {\n for (key in this.versions.header) {\n type = this.versions.header[key];\n if (type.size != null) {\n size += type.size(val[key], ctx);\n }\n }\n }\n\n const fields = this.versions[val.version];\n if ((fields == null)) {\n throw new Error(`Unknown version ${val.version}`);\n }\n\n for (key in fields) {\n type = fields[key];\n if (type.size != null) {\n size += type.size(val[key], ctx);\n }\n }\n\n if (includePointers) {\n size += ctx.pointerSize;\n }\n\n return size;\n }\n\n encode(stream, val, parent) {\n let key, type;\n if (this.preEncode != null) {\n this.preEncode.call(val, stream);\n }\n\n const ctx = {\n pointers: [],\n startOffset: stream.pos,\n parent,\n val,\n pointerSize: 0\n };\n\n ctx.pointerOffset = stream.pos + this.size(val, ctx, false);\n\n if (typeof this.type !== 'string') {\n this.type.encode(stream, val.version);\n }\n\n if (this.versions.header) {\n for (key in this.versions.header) {\n type = this.versions.header[key];\n if (type.encode != null) {\n type.encode(stream, val[key], ctx);\n }\n }\n }\n\n const fields = this.versions[val.version];\n for (key in fields) {\n type = fields[key];\n if (type.encode != null) {\n type.encode(stream, val[key], ctx);\n }\n }\n\n let i = 0;\n while (i < ctx.pointers.length) {\n const ptr = ctx.pointers[i++];\n ptr.type.encode(stream, ptr.val, ptr.parent);\n }\n }\n}\n","import * as utils from './utils.js';\nimport {Base} from './Base.js';\n\nexport class Pointer extends Base {\n constructor(offsetType, type, options = {}) {\n super();\n this.offsetType = offsetType;\n this.type = type;\n this.options = options;\n if (this.type === 'void') { this.type = null; }\n if (this.options.type == null) { this.options.type = 'local'; }\n if (this.options.allowNull == null) { this.options.allowNull = true; }\n if (this.options.nullValue == null) { this.options.nullValue = 0; }\n if (this.options.lazy == null) { this.options.lazy = false; }\n if (this.options.relativeTo) {\n if (typeof this.options.relativeTo !== 'function') {\n throw new Error('relativeTo option must be a function');\n }\n this.relativeToGetter = options.relativeTo;\n }\n }\n\n decode(stream, ctx) {\n const offset = this.offsetType.decode(stream, ctx);\n\n // handle NULL pointers\n if ((offset === this.options.nullValue) && this.options.allowNull) {\n return null;\n }\n\n let relative;\n switch (this.options.type) {\n case 'local': relative = ctx._startOffset; break;\n case 'immediate': relative = stream.pos - this.offsetType.size(); break;\n case 'parent': relative = ctx.parent._startOffset; break;\n default:\n var c = ctx;\n while (c.parent) {\n c = c.parent;\n }\n\n relative = c._startOffset || 0;\n }\n\n if (this.options.relativeTo) {\n relative += this.relativeToGetter(ctx);\n }\n\n const ptr = offset + relative;\n\n if (this.type != null) {\n let val = null;\n const decodeValue = () => {\n if (val != null) { return val; }\n\n const { pos } = stream;\n stream.pos = ptr;\n val = this.type.decode(stream, ctx);\n stream.pos = pos;\n return val;\n };\n\n // If this is a lazy pointer, define a getter to decode only when needed.\n // This obviously only works when the pointer is contained by a Struct.\n if (this.options.lazy) {\n return new utils.PropertyDescriptor({\n get: decodeValue});\n }\n\n return decodeValue();\n } else {\n return ptr;\n }\n }\n\n size(val, ctx) {\n const parent = ctx;\n switch (this.options.type) {\n case 'local': case 'immediate':\n break;\n case 'parent':\n ctx = ctx.parent;\n break;\n default: // global\n while (ctx.parent) {\n ctx = ctx.parent;\n }\n }\n\n let { type } = this;\n if (type == null) {\n if (!(val instanceof VoidPointer)) {\n throw new Error(\"Must be a VoidPointer\");\n }\n\n ({ type } = val);\n val = val.value;\n }\n\n if (val && ctx) {\n // Must be written as two separate lines rather than += in case `type.size` mutates ctx.pointerSize.\n let size = type.size(val, parent);\n ctx.pointerSize += size;\n }\n\n return this.offsetType.size();\n }\n\n encode(stream, val, ctx) {\n let relative;\n const parent = ctx;\n if ((val == null)) {\n this.offsetType.encode(stream, this.options.nullValue);\n return;\n }\n\n switch (this.options.type) {\n case 'local':\n relative = ctx.startOffset;\n break;\n case 'immediate':\n relative = stream.pos + this.offsetType.size(val, parent);\n break;\n case 'parent':\n ctx = ctx.parent;\n relative = ctx.startOffset;\n break;\n default: // global\n relative = 0;\n while (ctx.parent) {\n ctx = ctx.parent;\n }\n }\n\n if (this.options.relativeTo) {\n relative += this.relativeToGetter(parent.val);\n }\n\n this.offsetType.encode(stream, ctx.pointerOffset - relative);\n\n let { type } = this;\n if (type == null) {\n if (!(val instanceof VoidPointer)) {\n throw new Error(\"Must be a VoidPointer\");\n }\n\n ({ type } = val);\n val = val.value;\n }\n\n ctx.pointers.push({\n type,\n val,\n parent\n });\n\n return ctx.pointerOffset += type.size(val, parent);\n }\n}\n\n// A pointer whose type is determined at decode time\nexport class VoidPointer {\n constructor(type, value) {\n this.type = type;\n this.value = value;\n }\n}\n","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n } else obj[key] = value;\n\n return obj;\n}\nexport { _define_property as _ };\n","{\"categories\":[\"Cc\",\"Zs\",\"Po\",\"Sc\",\"Ps\",\"Pe\",\"Sm\",\"Pd\",\"Nd\",\"Lu\",\"Sk\",\"Pc\",\"Ll\",\"So\",\"Lo\",\"Pi\",\"Cf\",\"No\",\"Pf\",\"Lt\",\"Lm\",\"Mn\",\"Me\",\"Mc\",\"Nl\",\"Zl\",\"Zp\",\"Cs\",\"Co\"],\"combiningClasses\":[\"Not_Reordered\",\"Above\",\"Above_Right\",\"Below\",\"Attached_Above_Right\",\"Attached_Below\",\"Overlay\",\"Iota_Subscript\",\"Double_Below\",\"Double_Above\",\"Below_Right\",\"Above_Left\",\"CCC10\",\"CCC11\",\"CCC12\",\"CCC13\",\"CCC14\",\"CCC15\",\"CCC16\",\"CCC17\",\"CCC18\",\"CCC19\",\"CCC20\",\"CCC21\",\"CCC22\",\"CCC23\",\"CCC24\",\"CCC25\",\"CCC30\",\"CCC31\",\"CCC32\",\"CCC27\",\"CCC28\",\"CCC29\",\"CCC33\",\"CCC34\",\"CCC35\",\"CCC36\",\"Nukta\",\"Virama\",\"CCC84\",\"CCC91\",\"CCC103\",\"CCC107\",\"CCC118\",\"CCC122\",\"CCC129\",\"CCC130\",\"CCC132\",\"Attached_Above\",\"Below_Left\",\"Left\",\"Kana_Voicing\",\"CCC26\",\"Right\"],\"scripts\":[\"Common\",\"Latin\",\"Bopomofo\",\"Inherited\",\"Greek\",\"Coptic\",\"Cyrillic\",\"Armenian\",\"Hebrew\",\"Arabic\",\"Syriac\",\"Thaana\",\"Nko\",\"Samaritan\",\"Mandaic\",\"Devanagari\",\"Bengali\",\"Gurmukhi\",\"Gujarati\",\"Oriya\",\"Tamil\",\"Telugu\",\"Kannada\",\"Malayalam\",\"Sinhala\",\"Thai\",\"Lao\",\"Tibetan\",\"Myanmar\",\"Georgian\",\"Hangul\",\"Ethiopic\",\"Cherokee\",\"Canadian_Aboriginal\",\"Ogham\",\"Runic\",\"Tagalog\",\"Hanunoo\",\"Buhid\",\"Tagbanwa\",\"Khmer\",\"Mongolian\",\"Limbu\",\"Tai_Le\",\"New_Tai_Lue\",\"Buginese\",\"Tai_Tham\",\"Balinese\",\"Sundanese\",\"Batak\",\"Lepcha\",\"Ol_Chiki\",\"Braille\",\"Glagolitic\",\"Tifinagh\",\"Han\",\"Hiragana\",\"Katakana\",\"Yi\",\"Lisu\",\"Vai\",\"Bamum\",\"Syloti_Nagri\",\"Phags_Pa\",\"Saurashtra\",\"Kayah_Li\",\"Rejang\",\"Javanese\",\"Cham\",\"Tai_Viet\",\"Meetei_Mayek\",\"null\",\"Linear_B\",\"Lycian\",\"Carian\",\"Old_Italic\",\"Gothic\",\"Old_Permic\",\"Ugaritic\",\"Old_Persian\",\"Deseret\",\"Shavian\",\"Osmanya\",\"Osage\",\"Elbasan\",\"Caucasian_Albanian\",\"Linear_A\",\"Cypriot\",\"Imperial_Aramaic\",\"Palmyrene\",\"Nabataean\",\"Hatran\",\"Phoenician\",\"Lydian\",\"Meroitic_Hieroglyphs\",\"Meroitic_Cursive\",\"Kharoshthi\",\"Old_South_Arabian\",\"Old_North_Arabian\",\"Manichaean\",\"Avestan\",\"Inscriptional_Parthian\",\"Inscriptional_Pahlavi\",\"Psalter_Pahlavi\",\"Old_Turkic\",\"Old_Hungarian\",\"Hanifi_Rohingya\",\"Old_Sogdian\",\"Sogdian\",\"Elymaic\",\"Brahmi\",\"Kaithi\",\"Sora_Sompeng\",\"Chakma\",\"Mahajani\",\"Sharada\",\"Khojki\",\"Multani\",\"Khudawadi\",\"Grantha\",\"Newa\",\"Tirhuta\",\"Siddham\",\"Modi\",\"Takri\",\"Ahom\",\"Dogra\",\"Warang_Citi\",\"Nandinagari\",\"Zanabazar_Square\",\"Soyombo\",\"Pau_Cin_Hau\",\"Bhaiksuki\",\"Marchen\",\"Masaram_Gondi\",\"Gunjala_Gondi\",\"Makasar\",\"Cuneiform\",\"Egyptian_Hieroglyphs\",\"Anatolian_Hieroglyphs\",\"Mro\",\"Bassa_Vah\",\"Pahawh_Hmong\",\"Medefaidrin\",\"Miao\",\"Tangut\",\"Nushu\",\"Duployan\",\"SignWriting\",\"Nyiakeng_Puachue_Hmong\",\"Wancho\",\"Mende_Kikakui\",\"Adlam\"],\"eaw\":[\"N\",\"Na\",\"A\",\"W\",\"H\",\"F\"]}","import base64 from 'base64-js';\nimport UnicodeTrie from 'unicode-trie';\nimport data from './data.json';\n\nconst trie = new UnicodeTrie(base64.toByteArray(require('fs').readFileSync(__dirname + '/data.trie', 'base64')));\n\nconst log2 = Math.log2 || (n => Math.log(n) / Math.LN2);\nconst bits = (n) => ((log2(n) + 1) | 0);\n\n// compute the number of bits stored for each field\nconst CATEGORY_BITS = bits(data.categories.length - 1);\nconst COMBINING_BITS = bits(data.combiningClasses.length - 1);\nconst SCRIPT_BITS = bits(data.scripts.length - 1);\nconst EAW_BITS = bits(data.eaw.length - 1);\nconst NUMBER_BITS = 10;\n\n// compute shift and mask values for each field\nconst CATEGORY_SHIFT = COMBINING_BITS + SCRIPT_BITS + EAW_BITS + NUMBER_BITS;\nconst COMBINING_SHIFT = SCRIPT_BITS + EAW_BITS + NUMBER_BITS;\nconst SCRIPT_SHIFT = EAW_BITS + NUMBER_BITS;\nconst EAW_SHIFT = NUMBER_BITS;\nconst CATEGORY_MASK = (1 << CATEGORY_BITS) - 1;\nconst COMBINING_MASK = (1 << COMBINING_BITS) - 1;\nconst SCRIPT_MASK = (1 << SCRIPT_BITS) - 1;\nconst EAW_MASK = (1 << EAW_BITS) - 1;\nconst NUMBER_MASK = (1 << NUMBER_BITS) - 1;\n\nexport function getCategory(codePoint) {\n const val = trie.get(codePoint);\n return data.categories[(val >> CATEGORY_SHIFT) & CATEGORY_MASK];\n}\n\nexport function getCombiningClass(codePoint) {\n const val = trie.get(codePoint);\n return data.combiningClasses[(val >> COMBINING_SHIFT) & COMBINING_MASK];\n}\n\nexport function getScript(codePoint) {\n const val = trie.get(codePoint);\n return data.scripts[(val >> SCRIPT_SHIFT) & SCRIPT_MASK];\n}\n\nexport function getEastAsianWidth(codePoint) {\n const val = trie.get(codePoint);\n return data.eaw[(val >> EAW_SHIFT) & EAW_MASK];\n}\n\nexport function getNumericValue(codePoint) {\n let val = trie.get(codePoint);\n let num = val & NUMBER_MASK;\n\n if (num === 0) {\n return null;\n } else if (num <= 50) {\n return num - 1;\n } else if (num < 0x1e0) {\n const numerator = (num >> 4) - 12;\n const denominator = (num & 0xf) + 1;\n return numerator / denominator;\n } else if (num < 0x300) {\n val = (num >> 5) - 14;\n let exp = (num & 0x1f) + 2;\n\n while (exp > 0) {\n val *= 10;\n exp--;\n }\n return val;\n } else {\n val = (num >> 2) - 0xbf;\n let exp = (num & 3) + 1;\n while (exp > 0) {\n val *= 60;\n exp--;\n }\n return val;\n }\n}\n\nexport function isAlphabetic(codePoint) {\n const category = getCategory(codePoint);\n return (\n category === 'Lu' ||\n category === 'Ll' ||\n category === 'Lt' ||\n category === 'Lm' ||\n category === 'Lo' ||\n category === 'Nl'\n )\n}\n\nexport function isDigit(codePoint) {\n return getCategory(codePoint) === 'Nd'\n}\n\nexport function isPunctuation(codePoint) {\n const category = getCategory(codePoint);\n return (\n category === 'Pc' ||\n category === 'Pd' ||\n category === 'Pe' ||\n category === 'Pf' ||\n category === 'Pi' ||\n category === 'Po' ||\n category === 'Ps'\n );\n}\n\nexport function isLowerCase(codePoint) {\n return getCategory(codePoint) === 'Ll';\n}\n\nexport function isUpperCase(codePoint) {\n return getCategory(codePoint) === 'Lu'\n}\n\nexport function isTitleCase(codePoint) {\n return getCategory(codePoint) === 'Lt'\n}\n\nexport function isWhiteSpace(codePoint) {\n const category = getCategory(codePoint);\n return (\n category === 'Zs' ||\n category === 'Zl' ||\n category === 'Zp'\n );\n}\n\nexport function isBaseForm(codePoint) {\n const category = getCategory(codePoint);\n return (\n category === 'Nd' ||\n category === 'No' ||\n category === 'Nl' ||\n category === 'Lu' ||\n category === 'Ll' ||\n category === 'Lt' ||\n category === 'Lm' ||\n category === 'Lo' ||\n category === 'Me' ||\n category === 'Mc'\n )\n}\n\nexport function isMark(codePoint) {\n const category = getCategory(codePoint);\n return (\n category === 'Mn' ||\n category === 'Me' ||\n category === 'Mc'\n );\n}\n\n// Backwards compatibility.\nexport default {\n getCategory,\n getCombiningClass,\n getScript,\n getEastAsianWidth,\n getNumericValue,\n isAlphabetic,\n isDigit,\n isPunctuation,\n isLowerCase,\n isUpperCase,\n isTitleCase,\n isWhiteSpace,\n isBaseForm,\n isMark\n};\n","import {DecodeStream} from 'restructure';\n\nexport let logErrors = false;\n\nlet formats = [];\nexport function registerFormat(format) {\n formats.push(format);\n};\n\nexport function create(buffer, postscriptName) {\n for (let i = 0; i < formats.length; i++) {\n let format = formats[i];\n if (format.probe(buffer)) {\n let font = new format(new DecodeStream(buffer));\n if (postscriptName) {\n return font.getFont(postscriptName);\n }\n\n return font;\n }\n }\n\n throw new Error('Unknown font format');\n};\n\nexport let defaultLanguage = 'en';\nexport function setDefaultLanguage(lang = 'en') {\n defaultLanguage = lang;\n};\n","/**\n * This decorator caches the results of a getter or method such that\n * the results are lazily computed once, and then cached.\n * @private\n */\nexport function cache(target, key, descriptor) {\n if (descriptor.get) {\n let get = descriptor.get;\n descriptor.get = function() {\n let value = get.call(this);\n Object.defineProperty(this, key, { value });\n return value;\n };\n } else if (typeof descriptor.value === 'function') {\n let fn = descriptor.value;\n\n return {\n get() {\n let cache = new Map;\n function memoized(...args) {\n let key = args.length > 0 ? args[0] : 'value';\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n let result = fn.apply(this, args);\n cache.set(key, result);\n return result;\n };\n\n Object.defineProperty(this, key, {value: memoized});\n return memoized;\n }\n };\n }\n}\n","import * as r from 'restructure';\n\nlet SubHeader = new r.Struct({\n firstCode: r.uint16,\n entryCount: r.uint16,\n idDelta: r.int16,\n idRangeOffset: r.uint16\n});\n\nlet CmapGroup = new r.Struct({\n startCharCode: r.uint32,\n endCharCode: r.uint32,\n glyphID: r.uint32\n});\n\nlet UnicodeValueRange = new r.Struct({\n startUnicodeValue: r.uint24,\n additionalCount: r.uint8\n});\n\nlet UVSMapping = new r.Struct({\n unicodeValue: r.uint24,\n glyphID: r.uint16\n});\n\nlet DefaultUVS = new r.Array(UnicodeValueRange, r.uint32);\nlet NonDefaultUVS = new r.Array(UVSMapping, r.uint32);\n\nlet VarSelectorRecord = new r.Struct({\n varSelector: r.uint24,\n defaultUVS: new r.Pointer(r.uint32, DefaultUVS, {type: 'parent'}),\n nonDefaultUVS: new r.Pointer(r.uint32, NonDefaultUVS, {type: 'parent'})\n});\n\nlet CmapSubtable = new r.VersionedStruct(r.uint16, {\n 0: { // Byte encoding\n length: r.uint16, // Total table length in bytes (set to 262 for format 0)\n language: r.uint16, // Language code for this encoding subtable, or zero if language-independent\n codeMap: new r.LazyArray(r.uint8, 256)\n },\n\n 2: { // High-byte mapping (CJK)\n length: r.uint16,\n language: r.uint16,\n subHeaderKeys: new r.Array(r.uint16, 256),\n subHeaderCount: t => Math.max.apply(Math, t.subHeaderKeys),\n subHeaders: new r.LazyArray(SubHeader, 'subHeaderCount'),\n glyphIndexArray: new r.LazyArray(r.uint16, 'subHeaderCount')\n },\n\n 4: { // Segment mapping to delta values\n length: r.uint16, // Total table length in bytes\n language: r.uint16, // Language code\n segCountX2: r.uint16,\n segCount: t => t.segCountX2 >> 1,\n searchRange: r.uint16,\n entrySelector: r.uint16,\n rangeShift: r.uint16,\n endCode: new r.LazyArray(r.uint16, 'segCount'),\n reservedPad: new r.Reserved(r.uint16), // This value should be zero\n startCode: new r.LazyArray(r.uint16, 'segCount'),\n idDelta: new r.LazyArray(r.int16, 'segCount'),\n idRangeOffset: new r.LazyArray(r.uint16, 'segCount'),\n glyphIndexArray: new r.LazyArray(r.uint16, t => (t.length - t._currentOffset) / 2)\n },\n\n 6: { // Trimmed table\n length: r.uint16,\n language: r.uint16,\n firstCode: r.uint16,\n entryCount: r.uint16,\n glyphIndices: new r.LazyArray(r.uint16, 'entryCount')\n },\n\n 8: { // mixed 16-bit and 32-bit coverage\n reserved: new r.Reserved(r.uint16),\n length: r.uint32,\n language: r.uint16,\n is32: new r.LazyArray(r.uint8, 8192),\n nGroups: r.uint32,\n groups: new r.LazyArray(CmapGroup, 'nGroups')\n },\n\n 10: { // Trimmed Array\n reserved: new r.Reserved(r.uint16),\n length: r.uint32,\n language: r.uint32,\n firstCode: r.uint32,\n entryCount: r.uint32,\n glyphIndices: new r.LazyArray(r.uint16, 'numChars')\n },\n\n 12: { // Segmented coverage\n reserved: new r.Reserved(r.uint16),\n length: r.uint32,\n language: r.uint32,\n nGroups: r.uint32,\n groups: new r.LazyArray(CmapGroup, 'nGroups')\n },\n\n 13: { // Many-to-one range mappings (same as 12 except for group.startGlyphID)\n reserved: new r.Reserved(r.uint16),\n length: r.uint32,\n language: r.uint32,\n nGroups: r.uint32,\n groups: new r.LazyArray(CmapGroup, 'nGroups')\n },\n\n 14: { // Unicode Variation Sequences\n length: r.uint32,\n numRecords: r.uint32,\n varSelectors: new r.LazyArray(VarSelectorRecord, 'numRecords')\n }\n});\n\nlet CmapEntry = new r.Struct({\n platformID: r.uint16, // Platform identifier\n encodingID: r.uint16, // Platform-specific encoding identifier\n table: new r.Pointer(r.uint32, CmapSubtable, {type: 'parent', lazy: true})\n});\n\n// character to glyph mapping\nexport default new r.Struct({\n version: r.uint16,\n numSubtables: r.uint16,\n tables: new r.Array(CmapEntry, 'numSubtables')\n});\n","import * as r from 'restructure';\n\n// font header\nexport default new r.Struct({\n version: r.int32, // 0x00010000 (version 1.0)\n revision: r.int32, // set by font manufacturer\n checkSumAdjustment: r.uint32,\n magicNumber: r.uint32, // set to 0x5F0F3CF5\n flags: r.uint16,\n unitsPerEm: r.uint16, // range from 64 to 16384\n created: new r.Array(r.int32, 2),\n modified: new r.Array(r.int32, 2),\n xMin: r.int16, // for all glyph bounding boxes\n yMin: r.int16, // for all glyph bounding boxes\n xMax: r.int16, // for all glyph bounding boxes\n yMax: r.int16, // for all glyph bounding boxes\n macStyle: new r.Bitfield(r.uint16, [\n 'bold', 'italic', 'underline', 'outline',\n 'shadow', 'condensed', 'extended'\n ]),\n lowestRecPPEM: r.uint16, // smallest readable size in pixels\n fontDirectionHint: r.int16,\n indexToLocFormat: r.int16, // 0 for short offsets, 1 for long\n glyphDataFormat: r.int16 // 0 for current format\n});\n","import * as r from 'restructure';\n\n// horizontal header\nexport default new r.Struct({\n version: r.int32,\n ascent: r.int16, // Distance from baseline of highest ascender\n descent: r.int16, // Distance from baseline of lowest descender\n lineGap: r.int16, // Typographic line gap\n advanceWidthMax: r.uint16, // Maximum advance width value in 'hmtx' table\n minLeftSideBearing: r.int16, // Maximum advance width value in 'hmtx' table\n minRightSideBearing: r.int16, // Minimum right sidebearing value\n xMaxExtent: r.int16,\n caretSlopeRise: r.int16, // Used to calculate the slope of the cursor (rise/run); 1 for vertical\n caretSlopeRun: r.int16, // 0 for vertical\n caretOffset: r.int16, // Set to 0 for non-slanted fonts\n reserved: new r.Reserved(r.int16, 4),\n metricDataFormat: r.int16, // 0 for current format\n numberOfMetrics: r.uint16 // Number of advance widths in 'hmtx' table\n});\n","import * as r from 'restructure';\n\nlet HmtxEntry = new r.Struct({\n advance: r.uint16,\n bearing: r.int16\n});\n\nexport default new r.Struct({\n metrics: new r.LazyArray(HmtxEntry, t => t.parent.hhea.numberOfMetrics),\n bearings: new r.LazyArray(r.int16, t => t.parent.maxp.numGlyphs - t.parent.hhea.numberOfMetrics)\n});\n","import * as r from 'restructure';\n\n// maxiumum profile\nexport default new r.Struct({\n version: r.int32,\n numGlyphs: r.uint16, // The number of glyphs in the font\n maxPoints: r.uint16, // Maximum points in a non-composite glyph\n maxContours: r.uint16, // Maximum contours in a non-composite glyph\n maxComponentPoints: r.uint16, // Maximum points in a composite glyph\n maxComponentContours: r.uint16, // Maximum contours in a composite glyph\n maxZones: r.uint16, // 1 if instructions do not use the twilight zone, 2 otherwise\n maxTwilightPoints: r.uint16, // Maximum points used in Z0\n maxStorage: r.uint16, // Number of Storage Area locations\n maxFunctionDefs: r.uint16, // Number of FDEFs\n maxInstructionDefs: r.uint16, // Number of IDEFs\n maxStackElements: r.uint16, // Maximum stack depth\n maxSizeOfInstructions: r.uint16, // Maximum byte count for glyph instructions\n maxComponentElements: r.uint16, // Maximum number of components referenced at “top level” for any composite glyph\n maxComponentDepth: r.uint16 // Maximum levels of recursion; 1 for simple components\n});\n","/**\n * Gets an encoding name from platform, encoding, and language ids.\n * Returned encoding names can be used in iconv-lite to decode text.\n */\nexport function getEncoding(platformID, encodingID, languageID = 0) {\n if (platformID === 1 && MAC_LANGUAGE_ENCODINGS[languageID]) {\n return MAC_LANGUAGE_ENCODINGS[languageID];\n }\n \n return ENCODINGS[platformID][encodingID];\n}\n\nconst SINGLE_BYTE_ENCODINGS = new Set(['x-mac-roman', 'x-mac-cyrillic', 'iso-8859-6', 'iso-8859-8']);\nconst MAC_ENCODINGS = {\n 'x-mac-croatian': 'ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ',\n 'x-mac-gaelic': 'ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ',\n 'x-mac-greek': 'Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ\\u00AD',\n 'x-mac-icelandic': 'ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ',\n 'x-mac-inuit': 'ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł',\n 'x-mac-ce': 'ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ',\n 'x-mac-romanian': 'ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ',\n 'x-mac-turkish': 'ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ'\n};\n\nconst encodingCache = new Map();\n\nexport function getEncodingMapping(encoding) {\n let cached = encodingCache.get(encoding);\n if (cached) {\n return cached;\n }\n\n // These encodings aren't supported by TextDecoder.\n let mapping = MAC_ENCODINGS[encoding];\n if (mapping) {\n let res = new Map();\n for (let i = 0; i < mapping.length; i++) {\n res.set(mapping.charCodeAt(i), 0x80 + i);\n }\n\n encodingCache.set(encoding, res);\n return res;\n }\n\n // Only single byte encodings can be mapped 1:1.\n if (SINGLE_BYTE_ENCODINGS.has(encoding)) {\n // TextEncoder only supports utf8, whereas TextDecoder supports legacy encodings.\n // Use this to create a mapping of code points.\n let decoder = new TextDecoder(encoding);\n let mapping = new Uint8Array(0x80);\n for (let i = 0; i < 0x80; i++) {\n mapping[i] = 0x80 + i;\n }\n\n let res = new Map();\n let s = decoder.decode(mapping);\n for (let i = 0; i < 0x80; i++) {\n res.set(s.charCodeAt(i), 0x80 + i);\n }\n\n encodingCache.set(encoding, res);\n return res;\n }\n}\n\n// Map of platform ids to encoding ids.\nexport const ENCODINGS = [\n // unicode\n ['utf-16be', 'utf-16be', 'utf-16be', 'utf-16be', 'utf-16be', 'utf-16be', 'utf-16be'],\n \n // macintosh\n // Mappings available at http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/\n // 0\tRoman 17\tMalayalam\n // 1\tJapanese\t 18\tSinhalese\n // 2\tTraditional Chinese\t 19\tBurmese\n // 3\tKorean\t 20\tKhmer\n // 4\tArabic\t 21\tThai\n // 5\tHebrew\t 22\tLaotian\n // 6\tGreek\t 23\tGeorgian\n // 7\tRussian\t 24\tArmenian\n // 8\tRSymbol\t 25\tSimplified Chinese\n // 9\tDevanagari\t 26\tTibetan\n // 10\tGurmukhi\t 27\tMongolian\n // 11\tGujarati\t 28\tGeez\n // 12\tOriya\t 29\tSlavic\n // 13\tBengali\t 30\tVietnamese\n // 14\tTamil\t 31\tSindhi\n // 15\tTelugu\t 32\t(Uninterpreted)\n // 16\tKannada\n ['x-mac-roman', 'shift-jis', 'big5', 'euc-kr', 'iso-8859-6', 'iso-8859-8',\n 'x-mac-greek', 'x-mac-cyrillic', 'x-mac-symbol', 'x-mac-devanagari', 'x-mac-gurmukhi', 'x-mac-gujarati',\n 'Oriya', 'Bengali', 'Tamil', 'Telugu', 'Kannada', 'Malayalam', 'Sinhalese',\n 'Burmese', 'Khmer', 'iso-8859-11', 'Laotian', 'Georgian', 'Armenian', 'gbk', \n 'Tibetan', 'Mongolian', 'Geez', 'x-mac-ce', 'Vietnamese', 'Sindhi'],\n \n // ISO (deprecated)\n ['ascii', null, 'iso-8859-1'],\n \n // windows\n // Docs here: http://msdn.microsoft.com/en-us/library/system.text.encoding(v=vs.110).aspx\n ['symbol', 'utf-16be', 'shift-jis', 'gb18030', 'big5', 'euc-kr', 'johab', null, null, null, 'utf-16be']\n];\n\n// Overrides for Mac scripts by language id.\n// See http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/Readme.txt\nexport const MAC_LANGUAGE_ENCODINGS = {\n 15: 'x-mac-icelandic',\n 17: 'x-mac-turkish',\n 18: 'x-mac-croatian',\n 24: 'x-mac-ce',\n 25: 'x-mac-ce',\n 26: 'x-mac-ce',\n 27: 'x-mac-ce',\n 28: 'x-mac-ce',\n 30: 'x-mac-icelandic',\n 37: 'x-mac-romanian',\n 38: 'x-mac-ce',\n 39: 'x-mac-ce',\n 40: 'x-mac-ce',\n 143: 'x-mac-inuit',\n 146: 'x-mac-gaelic'\n};\n\n// Map of platform ids to BCP-47 language codes.\nexport const LANGUAGES = [\n // unicode\n [],\n \n { // macintosh\n 0: 'en', 30: 'fo', 60: 'ks', 90: 'rw',\n 1: 'fr', 31: 'fa', 61: 'ku', 91: 'rn',\n 2: 'de', 32: 'ru', 62: 'sd', 92: 'ny',\n 3: 'it', 33: 'zh', 63: 'bo', 93: 'mg',\n 4: 'nl', 34: 'nl-BE', 64: 'ne', 94: 'eo',\n 5: 'sv', 35: 'ga', 65: 'sa', 128: 'cy',\n 6: 'es', 36: 'sq', 66: 'mr', 129: 'eu',\n 7: 'da', 37: 'ro', 67: 'bn', 130: 'ca',\n 8: 'pt', 38: 'cz', 68: 'as', 131: 'la',\n 9: 'no', 39: 'sk', 69: 'gu', 132: 'qu',\n 10: 'he', 40: 'si', 70: 'pa', 133: 'gn',\n 11: 'ja', 41: 'yi', 71: 'or', 134: 'ay',\n 12: 'ar', 42: 'sr', 72: 'ml', 135: 'tt',\n 13: 'fi', 43: 'mk', 73: 'kn', 136: 'ug',\n 14: 'el', 44: 'bg', 74: 'ta', 137: 'dz',\n 15: 'is', 45: 'uk', 75: 'te', 138: 'jv',\n 16: 'mt', 46: 'be', 76: 'si', 139: 'su',\n 17: 'tr', 47: 'uz', 77: 'my', 140: 'gl',\n 18: 'hr', 48: 'kk', 78: 'km', 141: 'af',\n 19: 'zh-Hant', 49: 'az-Cyrl', 79: 'lo', 142: 'br',\n 20: 'ur', 50: 'az-Arab', 80: 'vi', 143: 'iu',\n 21: 'hi', 51: 'hy', 81: 'id', 144: 'gd',\n 22: 'th', 52: 'ka', 82: 'tl', 145: 'gv',\n 23: 'ko', 53: 'mo', 83: 'ms', 146: 'ga',\n 24: 'lt', 54: 'ky', 84: 'ms-Arab', 147: 'to',\n 25: 'pl', 55: 'tg', 85: 'am', 148: 'el-polyton',\n 26: 'hu', 56: 'tk', 86: 'ti', 149: 'kl',\n 27: 'es', 57: 'mn-CN', 87: 'om', 150: 'az',\n 28: 'lv', 58: 'mn', 88: 'so', 151: 'nn',\n 29: 'se', 59: 'ps', 89: 'sw',\n },\n \n // ISO (deprecated)\n [],\n \n { // windows \n 0x0436: 'af', 0x4009: 'en-IN', 0x0487: 'rw', 0x0432: 'tn', \n 0x041C: 'sq', 0x1809: 'en-IE', 0x0441: 'sw', 0x045B: 'si', \n 0x0484: 'gsw', 0x2009: 'en-JM', 0x0457: 'kok', 0x041B: 'sk', \n 0x045E: 'am', 0x4409: 'en-MY', 0x0412: 'ko', 0x0424: 'sl', \n 0x1401: 'ar-DZ', 0x1409: 'en-NZ', 0x0440: 'ky', 0x2C0A: 'es-AR', \n 0x3C01: 'ar-BH', 0x3409: 'en-PH', 0x0454: 'lo', 0x400A: 'es-BO', \n 0x0C01: 'ar', 0x4809: 'en-SG', 0x0426: 'lv', 0x340A: 'es-CL', \n 0x0801: 'ar-IQ', 0x1C09: 'en-ZA', 0x0427: 'lt', 0x240A: 'es-CO', \n 0x2C01: 'ar-JO', 0x2C09: 'en-TT', 0x082E: 'dsb', 0x140A: 'es-CR', \n 0x3401: 'ar-KW', 0x0809: 'en-GB', 0x046E: 'lb', 0x1C0A: 'es-DO', \n 0x3001: 'ar-LB', 0x0409: 'en', 0x042F: 'mk', 0x300A: 'es-EC', \n 0x1001: 'ar-LY', 0x3009: 'en-ZW', 0x083E: 'ms-BN', 0x440A: 'es-SV', \n 0x1801: 'ary', 0x0425: 'et', 0x043E: 'ms', 0x100A: 'es-GT', \n 0x2001: 'ar-OM', 0x0438: 'fo', 0x044C: 'ml', 0x480A: 'es-HN', \n 0x4001: 'ar-QA', 0x0464: 'fil', 0x043A: 'mt', 0x080A: 'es-MX', \n 0x0401: 'ar-SA', 0x040B: 'fi', 0x0481: 'mi', 0x4C0A: 'es-NI', \n 0x2801: 'ar-SY', 0x080C: 'fr-BE', 0x047A: 'arn', 0x180A: 'es-PA', \n 0x1C01: 'aeb', 0x0C0C: 'fr-CA', 0x044E: 'mr', 0x3C0A: 'es-PY', \n 0x3801: 'ar-AE', 0x040C: 'fr', 0x047C: 'moh', 0x280A: 'es-PE', \n 0x2401: 'ar-YE', 0x140C: 'fr-LU', 0x0450: 'mn', 0x500A: 'es-PR', \n 0x042B: 'hy', 0x180C: 'fr-MC', 0x0850: 'mn-CN', 0x0C0A: 'es', \n 0x044D: 'as', 0x100C: 'fr-CH', 0x0461: 'ne', 0x040A: 'es', \n 0x082C: 'az-Cyrl', 0x0462: 'fy', 0x0414: 'nb', 0x540A: 'es-US', \n 0x042C: 'az', 0x0456: 'gl', 0x0814: 'nn', 0x380A: 'es-UY', \n 0x046D: 'ba', 0x0437: 'ka', 0x0482: 'oc', 0x200A: 'es-VE', \n 0x042D: 'eu', 0x0C07: 'de-AT', 0x0448: 'or', 0x081D: 'sv-FI', \n 0x0423: 'be', 0x0407: 'de', 0x0463: 'ps', 0x041D: 'sv', \n 0x0845: 'bn', 0x1407: 'de-LI', 0x0415: 'pl', 0x045A: 'syr', \n 0x0445: 'bn-IN', 0x1007: 'de-LU', 0x0416: 'pt', 0x0428: 'tg', \n 0x201A: 'bs-Cyrl', 0x0807: 'de-CH', 0x0816: 'pt-PT', 0x085F: 'tzm', \n 0x141A: 'bs', 0x0408: 'el', 0x0446: 'pa', 0x0449: 'ta', \n 0x047E: 'br', 0x046F: 'kl', 0x046B: 'qu-BO', 0x0444: 'tt', \n 0x0402: 'bg', 0x0447: 'gu', 0x086B: 'qu-EC', 0x044A: 'te', \n 0x0403: 'ca', 0x0468: 'ha', 0x0C6B: 'qu', 0x041E: 'th', \n 0x0C04: 'zh-HK', 0x040D: 'he', 0x0418: 'ro', 0x0451: 'bo', \n 0x1404: 'zh-MO', 0x0439: 'hi', 0x0417: 'rm', 0x041F: 'tr', \n 0x0804: 'zh', 0x040E: 'hu', 0x0419: 'ru', 0x0442: 'tk', \n 0x1004: 'zh-SG', 0x040F: 'is', 0x243B: 'smn', 0x0480: 'ug', \n 0x0404: 'zh-TW', 0x0470: 'ig', 0x103B: 'smj-NO', 0x0422: 'uk', \n 0x0483: 'co', 0x0421: 'id', 0x143B: 'smj', 0x042E: 'hsb', \n 0x041A: 'hr', 0x045D: 'iu', 0x0C3B: 'se-FI', 0x0420: 'ur', \n 0x101A: 'hr-BA', 0x085D: 'iu-Latn', 0x043B: 'se', 0x0843: 'uz-Cyrl', \n 0x0405: 'cs', 0x083C: 'ga', 0x083B: 'se-SE', 0x0443: 'uz', \n 0x0406: 'da', 0x0434: 'xh', 0x203B: 'sms', 0x042A: 'vi', \n 0x048C: 'prs', 0x0435: 'zu', 0x183B: 'sma-NO', 0x0452: 'cy', \n 0x0465: 'dv', 0x0410: 'it', 0x1C3B: 'sms', 0x0488: 'wo', \n 0x0813: 'nl-BE', 0x0810: 'it-CH', 0x044F: 'sa', 0x0485: 'sah', \n 0x0413: 'nl', 0x0411: 'ja', 0x1C1A: 'sr-Cyrl-BA', 0x0478: 'ii', \n 0x0C09: 'en-AU', 0x044B: 'kn', 0x0C1A: 'sr', 0x046A: 'yo', \n 0x2809: 'en-BZ', 0x043F: 'kk', 0x181A: 'sr-Latn-BA', \n 0x1009: 'en-CA', 0x0453: 'km', 0x081A: 'sr-Latn', \n 0x2409: 'en-029', 0x0486: 'quc', 0x046C: 'nso', \n }\n];\n","import * as r from 'restructure';\nimport {getEncoding, LANGUAGES} from '../encodings';\n\nlet NameRecord = new r.Struct({\n platformID: r.uint16,\n encodingID: r.uint16,\n languageID: r.uint16,\n nameID: r.uint16,\n length: r.uint16,\n string: new r.Pointer(r.uint16,\n new r.String('length', t => getEncoding(t.platformID, t.encodingID, t.languageID)),\n { type: 'parent', relativeTo: ctx => ctx.parent.stringOffset, allowNull: false }\n )\n});\n\nlet LangTagRecord = new r.Struct({\n length: r.uint16,\n tag: new r.Pointer(r.uint16, new r.String('length', 'utf16be'), {type: 'parent', relativeTo: ctx => ctx.stringOffset})\n});\n\nvar NameTable = new r.VersionedStruct(r.uint16, {\n 0: {\n count: r.uint16,\n stringOffset: r.uint16,\n records: new r.Array(NameRecord, 'count')\n },\n 1: {\n count: r.uint16,\n stringOffset: r.uint16,\n records: new r.Array(NameRecord, 'count'),\n langTagCount: r.uint16,\n langTags: new r.Array(LangTagRecord, 'langTagCount')\n }\n});\n\nexport default NameTable;\n\nconst NAMES = [\n 'copyright',\n 'fontFamily',\n 'fontSubfamily',\n 'uniqueSubfamily',\n 'fullName',\n 'version',\n 'postscriptName', // Note: A font may have only one PostScript name and that name must be ASCII.\n 'trademark',\n 'manufacturer',\n 'designer',\n 'description',\n 'vendorURL',\n 'designerURL',\n 'license',\n 'licenseURL',\n null, // reserved\n 'preferredFamily',\n 'preferredSubfamily',\n 'compatibleFull',\n 'sampleText',\n 'postscriptCIDFontName',\n 'wwsFamilyName',\n 'wwsSubfamilyName'\n];\n\nNameTable.process = function(stream) {\n var records = {};\n for (let record of this.records) {\n // find out what language this is for\n let language = LANGUAGES[record.platformID][record.languageID];\n\n if (language == null && this.langTags != null && record.languageID >= 0x8000) {\n language = this.langTags[record.languageID - 0x8000].tag;\n }\n\n if (language == null) {\n language = record.platformID + '-' + record.languageID;\n }\n\n // if the nameID is >= 256, it is a font feature record (AAT)\n let key = record.nameID >= 256 ? 'fontFeatures' : (NAMES[record.nameID] || record.nameID);\n if (records[key] == null) {\n records[key] = {};\n }\n\n let obj = records[key];\n if (record.nameID >= 256) {\n obj = obj[record.nameID] || (obj[record.nameID] = {});\n }\n\n if (typeof record.string === 'string' || typeof obj[language] !== 'string') {\n obj[language] = record.string;\n }\n }\n\n this.records = records;\n};\n\nNameTable.preEncode = function() {\n if (Array.isArray(this.records)) return;\n this.version = 0;\n\n let records = [];\n for (let key in this.records) {\n let val = this.records[key];\n if (key === 'fontFeatures') continue;\n\n records.push({\n platformID: 3,\n encodingID: 1,\n languageID: 0x409,\n nameID: NAMES.indexOf(key),\n length: val.en.length * 2,\n string: val.en\n });\n\n if (key === 'postscriptName') {\n records.push({\n platformID: 1,\n encodingID: 0,\n languageID: 0,\n nameID: NAMES.indexOf(key),\n length: val.en.length,\n string: val.en\n });\n }\n }\n\n this.records = records;\n this.count = records.length;\n this.stringOffset = NameTable.size(this, null, false);\n};\n","import * as r from 'restructure';\n\nvar OS2 = new r.VersionedStruct(r.uint16, {\n header: {\n xAvgCharWidth: r.int16, // average weighted advance width of lower case letters and space\n usWeightClass: r.uint16, // visual weight of stroke in glyphs\n usWidthClass: r.uint16, // relative change from the normal aspect ratio (width to height ratio)\n fsType: new r.Bitfield(r.uint16, [ // Indicates font embedding licensing rights\n null, 'noEmbedding', 'viewOnly', 'editable', null,\n null, null, null, 'noSubsetting', 'bitmapOnly'\n ]),\n ySubscriptXSize: r.int16, // recommended horizontal size in pixels for subscripts\n ySubscriptYSize: r.int16, // recommended vertical size in pixels for subscripts\n ySubscriptXOffset: r.int16, // recommended horizontal offset for subscripts\n ySubscriptYOffset: r.int16, // recommended vertical offset form the baseline for subscripts\n ySuperscriptXSize: r.int16, // recommended horizontal size in pixels for superscripts\n ySuperscriptYSize: r.int16, // recommended vertical size in pixels for superscripts\n ySuperscriptXOffset: r.int16, // recommended horizontal offset for superscripts\n ySuperscriptYOffset: r.int16, // recommended vertical offset from the baseline for superscripts\n yStrikeoutSize: r.int16, // width of the strikeout stroke\n yStrikeoutPosition: r.int16, // position of the strikeout stroke relative to the baseline\n sFamilyClass: r.int16, // classification of font-family design\n panose: new r.Array(r.uint8, 10), // describe the visual characteristics of a given typeface\n ulCharRange: new r.Array(r.uint32, 4),\n vendorID: new r.String(4), // four character identifier for the font vendor\n fsSelection: new r.Bitfield(r.uint16, [ // bit field containing information about the font\n 'italic', 'underscore', 'negative', 'outlined', 'strikeout',\n 'bold', 'regular', 'useTypoMetrics', 'wws', 'oblique'\n ]),\n usFirstCharIndex: r.uint16, // The minimum Unicode index in this font\n usLastCharIndex: r.uint16 // The maximum Unicode index in this font\n },\n\n // The Apple version of this table ends here, but the Microsoft one continues on...\n 0: {},\n\n 1: {\n typoAscender: r.int16,\n typoDescender: r.int16,\n typoLineGap: r.int16,\n winAscent: r.uint16,\n winDescent: r.uint16,\n codePageRange: new r.Array(r.uint32, 2)\n },\n\n 2: {\n // these should be common with version 1 somehow\n typoAscender: r.int16,\n typoDescender: r.int16,\n typoLineGap: r.int16,\n winAscent: r.uint16,\n winDescent: r.uint16,\n codePageRange: new r.Array(r.uint32, 2),\n\n xHeight: r.int16,\n capHeight: r.int16,\n defaultChar: r.uint16,\n breakChar: r.uint16,\n maxContent: r.uint16\n },\n\n 5: {\n typoAscender: r.int16,\n typoDescender: r.int16,\n typoLineGap: r.int16,\n winAscent: r.uint16,\n winDescent: r.uint16,\n codePageRange: new r.Array(r.uint32, 2),\n\n xHeight: r.int16,\n capHeight: r.int16,\n defaultChar: r.uint16,\n breakChar: r.uint16,\n maxContent: r.uint16,\n\n usLowerOpticalPointSize: r.uint16,\n usUpperOpticalPointSize: r.uint16\n }\n});\n\nlet versions = OS2.versions;\nversions[3] = versions[4] = versions[2];\n\nexport default OS2;\n","import * as r from 'restructure';\n\n// PostScript information\nexport default new r.VersionedStruct(r.fixed32, {\n header: { // these fields exist at the top of all versions\n italicAngle: r.fixed32, // Italic angle in counter-clockwise degrees from the vertical.\n underlinePosition: r.int16, // Suggested distance of the top of the underline from the baseline\n underlineThickness: r.int16, // Suggested values for the underline thickness\n isFixedPitch: r.uint32, // Whether the font is monospaced\n minMemType42: r.uint32, // Minimum memory usage when a TrueType font is downloaded as a Type 42 font\n maxMemType42: r.uint32, // Maximum memory usage when a TrueType font is downloaded as a Type 42 font\n minMemType1: r.uint32, // Minimum memory usage when a TrueType font is downloaded as a Type 1 font\n maxMemType1: r.uint32 // Maximum memory usage when a TrueType font is downloaded as a Type 1 font\n },\n\n 1: {}, // version 1 has no additional fields\n\n 2: {\n numberOfGlyphs: r.uint16,\n glyphNameIndex: new r.Array(r.uint16, 'numberOfGlyphs'),\n names: new r.Array(new r.String(r.uint8))\n },\n\n 2.5: {\n numberOfGlyphs: r.uint16,\n offsets: new r.Array(r.uint8, 'numberOfGlyphs')\n },\n\n 3: {}, // version 3 has no additional fields\n\n 4: {\n map: new r.Array(r.uint32, t => t.parent.maxp.numGlyphs)\n }\n});\n","import * as r from 'restructure';\n\n// An array of predefined values accessible by instructions\nexport default new r.Struct({\n controlValues: new r.Array(r.int16)\n});\n","import * as r from 'restructure';\n\n// A list of instructions that are executed once when a font is first used.\n// These instructions are known as the font program. The main use of this table\n// is for the definition of functions that are used in many different glyph programs.\nexport default new r.Struct({\n instructions: new r.Array(r.uint8)\n});\n","import * as r from 'restructure';\n\nlet loca = new r.VersionedStruct('head.indexToLocFormat', {\n 0: {\n offsets: new r.Array(r.uint16)\n },\n 1: {\n offsets: new r.Array(r.uint32)\n }\n});\n\nloca.process = function() {\n if (this.version === 0 && !this._processed) {\n for (let i = 0; i < this.offsets.length; i++) {\n this.offsets[i] <<= 1;\n }\n this._processed = true;\n }\n};\n\nloca.preEncode = function() {\n if (this.version === 0 && this._processed !== false) {\n for (let i = 0; i < this.offsets.length; i++) {\n this.offsets[i] >>>= 1;\n }\n this._processed = false;\n }\n};\n\nexport default loca;\n","import * as r from 'restructure';\n\n// Set of instructions executed whenever the point size or font transformation change\nexport default new r.Struct({\n controlValueProgram: new r.Array(r.uint8)\n});\n","import * as r from 'restructure';\n\n// only used for encoding\nexport default new r.Array(new r.Buffer);\n","import * as r from 'restructure';\n\nexport default class CFFIndex {\n constructor(type) {\n this.type = type;\n }\n\n getCFFVersion(ctx) {\n while (ctx && !ctx.hdrSize) {\n ctx = ctx.parent;\n }\n\n return ctx ? ctx.version : -1;\n }\n\n decode(stream, parent) {\n let version = this.getCFFVersion(parent);\n let count = version >= 2\n ? stream.readUInt32BE()\n : stream.readUInt16BE();\n\n if (count === 0) {\n return [];\n }\n\n let offSize = stream.readUInt8();\n let offsetType;\n if (offSize === 1) {\n offsetType = r.uint8;\n } else if (offSize === 2) {\n offsetType = r.uint16;\n } else if (offSize === 3) {\n offsetType = r.uint24;\n } else if (offSize === 4) {\n offsetType = r.uint32;\n } else {\n throw new Error(`Bad offset size in CFFIndex: ${offSize} ${stream.pos}`);\n }\n\n let ret = [];\n let startPos = stream.pos + ((count + 1) * offSize) - 1;\n\n let start = offsetType.decode(stream);\n for (let i = 0; i < count; i++) {\n let end = offsetType.decode(stream);\n\n if (this.type != null) {\n let pos = stream.pos;\n stream.pos = startPos + start;\n\n parent.length = end - start;\n ret.push(this.type.decode(stream, parent));\n stream.pos = pos;\n } else {\n ret.push({\n offset: startPos + start,\n length: end - start\n });\n }\n\n start = end;\n }\n\n stream.pos = startPos + start;\n return ret;\n }\n\n size(arr, parent) {\n let size = 2;\n if (arr.length === 0) {\n return size;\n }\n\n let type = this.type || new r.Buffer;\n\n // find maximum offset to detminine offset type\n let offset = 1;\n for (let i = 0; i < arr.length; i++) {\n let item = arr[i];\n offset += type.size(item, parent);\n }\n\n let offsetType;\n if (offset <= 0xff) {\n offsetType = r.uint8;\n } else if (offset <= 0xffff) {\n offsetType = r.uint16;\n } else if (offset <= 0xffffff) {\n offsetType = r.uint24;\n } else if (offset <= 0xffffffff) {\n offsetType = r.uint32;\n } else {\n throw new Error(\"Bad offset in CFFIndex\");\n }\n\n size += 1 + offsetType.size() * (arr.length + 1);\n size += offset - 1;\n\n return size;\n }\n\n encode(stream, arr, parent) {\n stream.writeUInt16BE(arr.length);\n if (arr.length === 0) {\n return;\n }\n\n let type = this.type || new r.Buffer;\n\n // find maximum offset to detminine offset type\n let sizes = [];\n let offset = 1;\n for (let item of arr) {\n let s = type.size(item, parent);\n sizes.push(s);\n offset += s;\n }\n\n let offsetType;\n if (offset <= 0xff) {\n offsetType = r.uint8;\n } else if (offset <= 0xffff) {\n offsetType = r.uint16;\n } else if (offset <= 0xffffff) {\n offsetType = r.uint24;\n } else if (offset <= 0xffffffff) {\n offsetType = r.uint32;\n } else {\n throw new Error(\"Bad offset in CFFIndex\");\n }\n\n // write offset size\n stream.writeUInt8(offsetType.size());\n\n // write elements\n offset = 1;\n offsetType.encode(stream, offset);\n\n for (let size of sizes) {\n offset += size;\n offsetType.encode(stream, offset);\n }\n\n for (let item of arr) {\n type.encode(stream, item, parent);\n }\n\n return;\n }\n}\n","const FLOAT_EOF = 0xf;\nconst FLOAT_LOOKUP = [\n '0', '1', '2', '3', '4', '5', '6', '7',\n '8', '9', '.', 'E', 'E-', null, '-'\n];\n\nconst FLOAT_ENCODE_LOOKUP = {\n '.': 10,\n 'E': 11,\n 'E-': 12,\n '-': 14\n};\n\nexport default class CFFOperand {\n static decode(stream, value) {\n if (32 <= value && value <= 246) {\n return value - 139;\n }\n\n if (247 <= value && value <= 250) {\n return (value - 247) * 256 + stream.readUInt8() + 108;\n }\n\n if (251 <= value && value <= 254) {\n return -(value - 251) * 256 - stream.readUInt8() - 108;\n }\n\n if (value === 28) {\n return stream.readInt16BE();\n }\n\n if (value === 29) {\n return stream.readInt32BE();\n }\n\n if (value === 30) {\n let str = '';\n while (true) {\n let b = stream.readUInt8();\n\n let n1 = b >> 4;\n if (n1 === FLOAT_EOF) { break; }\n str += FLOAT_LOOKUP[n1];\n\n let n2 = b & 15;\n if (n2 === FLOAT_EOF) { break; }\n str += FLOAT_LOOKUP[n2];\n }\n\n return parseFloat(str);\n }\n\n return null;\n }\n\n static size(value) {\n // if the value needs to be forced to the largest size (32 bit)\n // e.g. for unknown pointers, set to 32768\n if (value.forceLarge) {\n value = 32768;\n }\n\n if ((value | 0) !== value) { // floating point\n let str = '' + value;\n return 1 + Math.ceil((str.length + 1) / 2);\n\n } else if (-107 <= value && value <= 107) {\n return 1;\n\n } else if (108 <= value && value <= 1131 || -1131 <= value && value <= -108) {\n return 2;\n\n } else if (-32768 <= value && value <= 32767) {\n return 3;\n\n } else {\n return 5;\n }\n }\n\n static encode(stream, value) {\n // if the value needs to be forced to the largest size (32 bit)\n // e.g. for unknown pointers, save the old value and set to 32768\n let val = Number(value);\n\n if (value.forceLarge) {\n stream.writeUInt8(29);\n return stream.writeInt32BE(val);\n\n } else if ((val | 0) !== val) { // floating point\n stream.writeUInt8(30);\n\n let str = '' + val;\n for (let i = 0; i < str.length; i += 2) {\n let c1 = str[i];\n let n1 = FLOAT_ENCODE_LOOKUP[c1] || +c1;\n\n if (i === str.length - 1) {\n var n2 = FLOAT_EOF;\n } else {\n let c2 = str[i + 1];\n var n2 = FLOAT_ENCODE_LOOKUP[c2] || +c2;\n }\n\n stream.writeUInt8((n1 << 4) | (n2 & 15));\n }\n\n if (n2 !== FLOAT_EOF) {\n return stream.writeUInt8((FLOAT_EOF << 4));\n }\n\n } else if (-107 <= val && val <= 107) {\n return stream.writeUInt8(val + 139);\n\n } else if (108 <= val && val <= 1131) {\n val -= 108;\n stream.writeUInt8((val >> 8) + 247);\n return stream.writeUInt8(val & 0xff);\n\n } else if (-1131 <= val && val <= -108) {\n val = -val - 108;\n stream.writeUInt8((val >> 8) + 251);\n return stream.writeUInt8(val & 0xff);\n\n } else if (-32768 <= val && val <= 32767) {\n stream.writeUInt8(28);\n return stream.writeInt16BE(val);\n\n } else {\n stream.writeUInt8(29);\n return stream.writeInt32BE(val);\n }\n }\n}\n","import isEqual from 'fast-deep-equal';\nimport * as r from 'restructure';\nimport CFFOperand from './CFFOperand';\nimport { PropertyDescriptor } from 'restructure';\n\nexport default class CFFDict {\n constructor(ops = []) {\n this.ops = ops;\n this.fields = {};\n for (let field of ops) {\n let key = Array.isArray(field[0]) ? field[0][0] << 8 | field[0][1] : field[0];\n this.fields[key] = field;\n }\n }\n\n decodeOperands(type, stream, ret, operands) {\n if (Array.isArray(type)) {\n return operands.map((op, i) => this.decodeOperands(type[i], stream, ret, [op]));\n } else if (type.decode != null) {\n return type.decode(stream, ret, operands);\n } else {\n switch (type) {\n case 'number':\n case 'offset':\n case 'sid':\n return operands[0];\n case 'boolean':\n return !!operands[0];\n default:\n return operands;\n }\n }\n }\n\n encodeOperands(type, stream, ctx, operands) {\n if (Array.isArray(type)) {\n return operands.map((op, i) => this.encodeOperands(type[i], stream, ctx, op)[0]);\n } else if (type.encode != null) {\n return type.encode(stream, operands, ctx);\n } else if (typeof operands === 'number') {\n return [operands];\n } else if (typeof operands === 'boolean') {\n return [+operands];\n } else if (Array.isArray(operands)) {\n return operands;\n } else {\n return [operands];\n }\n }\n\n decode(stream, parent) {\n let end = stream.pos + parent.length;\n let ret = {};\n let operands = [];\n\n // define hidden properties\n Object.defineProperties(ret, {\n parent: { value: parent },\n _startOffset: { value: stream.pos }\n });\n\n // fill in defaults\n for (let key in this.fields) {\n let field = this.fields[key];\n ret[field[1]] = field[3];\n }\n\n while (stream.pos < end) {\n let b = stream.readUInt8();\n if (b < 28) {\n if (b === 12) {\n b = (b << 8) | stream.readUInt8();\n }\n\n let field = this.fields[b];\n if (!field) {\n throw new Error(`Unknown operator ${b}`);\n }\n\n let val = this.decodeOperands(field[2], stream, ret, operands);\n if (val != null) {\n if (val instanceof PropertyDescriptor) {\n Object.defineProperty(ret, field[1], val);\n } else {\n ret[field[1]] = val;\n }\n }\n\n operands = [];\n } else {\n operands.push(CFFOperand.decode(stream, b));\n }\n }\n\n return ret;\n }\n\n size(dict, parent, includePointers = true) {\n let ctx = {\n parent,\n val: dict,\n pointerSize: 0,\n startOffset: parent.startOffset || 0\n };\n\n let len = 0;\n\n for (let k in this.fields) {\n let field = this.fields[k];\n let val = dict[field[1]];\n if (val == null || isEqual(val, field[3])) {\n continue;\n }\n\n let operands = this.encodeOperands(field[2], null, ctx, val);\n for (let op of operands) {\n len += CFFOperand.size(op);\n }\n\n let key = Array.isArray(field[0]) ? field[0] : [field[0]];\n len += key.length;\n }\n\n if (includePointers) {\n len += ctx.pointerSize;\n }\n\n return len;\n }\n\n encode(stream, dict, parent) {\n let ctx = {\n pointers: [],\n startOffset: stream.pos,\n parent,\n val: dict,\n pointerSize: 0\n };\n\n ctx.pointerOffset = stream.pos + this.size(dict, ctx, false);\n\n for (let field of this.ops) {\n let val = dict[field[1]];\n if (val == null || isEqual(val, field[3])) {\n continue;\n }\n\n let operands = this.encodeOperands(field[2], stream, ctx, val);\n for (let op of operands) {\n CFFOperand.encode(stream, op);\n }\n\n let key = Array.isArray(field[0]) ? field[0] : [field[0]];\n for (let op of key) {\n stream.writeUInt8(op);\n }\n }\n\n let i = 0;\n while (i < ctx.pointers.length) {\n let ptr = ctx.pointers[i++];\n ptr.type.encode(stream, ptr.val, ptr.parent);\n }\n\n return;\n }\n}\n","import * as r from 'restructure';\n\nexport default class CFFPointer extends r.Pointer {\n constructor(type, options = {}) {\n if (options.type == null) {\n options.type = 'global';\n }\n\n super(null, type, options);\n }\n\n decode(stream, parent, operands) {\n this.offsetType = {\n decode: () => operands[0]\n };\n\n return super.decode(stream, parent, operands);\n }\n\n encode(stream, value, ctx) {\n if (!stream) {\n // compute the size (so ctx.pointerSize is correct)\n this.offsetType = {\n size: () => 0\n };\n\n this.size(value, ctx);\n return [new Ptr(0)];\n }\n\n let ptr = null;\n this.offsetType = {\n encode: (stream, val) => ptr = val\n };\n\n super.encode(stream, value, ctx);\n return [new Ptr(ptr)];\n }\n}\n\nclass Ptr {\n constructor(val) {\n this.val = val;\n this.forceLarge = true;\n }\n\n valueOf() {\n return this.val;\n }\n}\n","import CFFDict from './CFFDict';\nimport CFFIndex from './CFFIndex';\nimport CFFPointer from './CFFPointer';\n\nclass CFFBlendOp {\n static decode(stream, parent, operands) {\n let numBlends = operands.pop();\n\n // TODO: actually blend. For now just consume the deltas\n // since we don't use any of the values anyway.\n while (operands.length > numBlends) {\n operands.pop();\n }\n }\n}\n\nexport default new CFFDict([\n // key name type default\n [6, 'BlueValues', 'delta', null],\n [7, 'OtherBlues', 'delta', null],\n [8, 'FamilyBlues', 'delta', null],\n [9, 'FamilyOtherBlues', 'delta', null],\n [[12, 9], 'BlueScale', 'number', 0.039625],\n [[12, 10], 'BlueShift', 'number', 7],\n [[12, 11], 'BlueFuzz', 'number', 1],\n [10, 'StdHW', 'number', null],\n [11, 'StdVW', 'number', null],\n [[12, 12], 'StemSnapH', 'delta', null],\n [[12, 13], 'StemSnapV', 'delta', null],\n [[12, 14], 'ForceBold', 'boolean', false],\n [[12, 17], 'LanguageGroup', 'number', 0],\n [[12, 18], 'ExpansionFactor', 'number', 0.06],\n [[12, 19], 'initialRandomSeed', 'number', 0],\n [20, 'defaultWidthX', 'number', 0],\n [21, 'nominalWidthX', 'number', 0],\n [22, 'vsindex', 'number', 0],\n [23, 'blend', CFFBlendOp, null],\n [19, 'Subrs', new CFFPointer(new CFFIndex, {type: 'local'}), null]\n]);\n","// Automatically generated from Appendix A of the CFF specification; do\n// not edit. Length should be 391.\nexport default [\n \".notdef\", \"space\", \"exclam\", \"quotedbl\", \"numbersign\", \"dollar\",\n \"percent\", \"ampersand\", \"quoteright\", \"parenleft\", \"parenright\",\n \"asterisk\", \"plus\", \"comma\", \"hyphen\", \"period\", \"slash\", \"zero\", \"one\",\n \"two\", \"three\", \"four\", \"five\", \"six\", \"seven\", \"eight\", \"nine\", \"colon\",\n \"semicolon\", \"less\", \"equal\", \"greater\", \"question\", \"at\", \"A\", \"B\", \"C\",\n \"D\", \"E\", \"F\", \"G\", \"H\", \"I\", \"J\", \"K\", \"L\", \"M\", \"N\", \"O\", \"P\", \"Q\", \"R\",\n \"S\", \"T\", \"U\", \"V\", \"W\", \"X\", \"Y\", \"Z\", \"bracketleft\", \"backslash\",\n \"bracketright\", \"asciicircum\", \"underscore\", \"quoteleft\", \"a\", \"b\", \"c\",\n \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\",\n \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"braceleft\", \"bar\", \"braceright\",\n \"asciitilde\", \"exclamdown\", \"cent\", \"sterling\", \"fraction\", \"yen\",\n \"florin\", \"section\", \"currency\", \"quotesingle\", \"quotedblleft\",\n \"guillemotleft\", \"guilsinglleft\", \"guilsinglright\", \"fi\", \"fl\", \"endash\",\n \"dagger\", \"daggerdbl\", \"periodcentered\", \"paragraph\", \"bullet\",\n \"quotesinglbase\", \"quotedblbase\", \"quotedblright\", \"guillemotright\",\n \"ellipsis\", \"perthousand\", \"questiondown\", \"grave\", \"acute\", \"circumflex\",\n \"tilde\", \"macron\", \"breve\", \"dotaccent\", \"dieresis\", \"ring\", \"cedilla\",\n \"hungarumlaut\", \"ogonek\", \"caron\", \"emdash\", \"AE\", \"ordfeminine\", \"Lslash\",\n \"Oslash\", \"OE\", \"ordmasculine\", \"ae\", \"dotlessi\", \"lslash\", \"oslash\", \"oe\",\n \"germandbls\", \"onesuperior\", \"logicalnot\", \"mu\", \"trademark\", \"Eth\",\n \"onehalf\", \"plusminus\", \"Thorn\", \"onequarter\", \"divide\", \"brokenbar\",\n \"degree\", \"thorn\", \"threequarters\", \"twosuperior\", \"registered\", \"minus\",\n \"eth\", \"multiply\", \"threesuperior\", \"copyright\", \"Aacute\", \"Acircumflex\",\n \"Adieresis\", \"Agrave\", \"Aring\", \"Atilde\", \"Ccedilla\", \"Eacute\",\n \"Ecircumflex\", \"Edieresis\", \"Egrave\", \"Iacute\", \"Icircumflex\", \"Idieresis\",\n \"Igrave\", \"Ntilde\", \"Oacute\", \"Ocircumflex\", \"Odieresis\", \"Ograve\",\n \"Otilde\", \"Scaron\", \"Uacute\", \"Ucircumflex\", \"Udieresis\", \"Ugrave\",\n \"Yacute\", \"Ydieresis\", \"Zcaron\", \"aacute\", \"acircumflex\", \"adieresis\",\n \"agrave\", \"aring\", \"atilde\", \"ccedilla\", \"eacute\", \"ecircumflex\",\n \"edieresis\", \"egrave\", \"iacute\", \"icircumflex\", \"idieresis\", \"igrave\",\n \"ntilde\", \"oacute\", \"ocircumflex\", \"odieresis\", \"ograve\", \"otilde\",\n \"scaron\", \"uacute\", \"ucircumflex\", \"udieresis\", \"ugrave\", \"yacute\",\n \"ydieresis\", \"zcaron\", \"exclamsmall\", \"Hungarumlautsmall\",\n \"dollaroldstyle\", \"dollarsuperior\", \"ampersandsmall\", \"Acutesmall\",\n \"parenleftsuperior\", \"parenrightsuperior\", \"twodotenleader\",\n \"onedotenleader\", \"zerooldstyle\", \"oneoldstyle\", \"twooldstyle\",\n \"threeoldstyle\", \"fouroldstyle\", \"fiveoldstyle\", \"sixoldstyle\",\n \"sevenoldstyle\", \"eightoldstyle\", \"nineoldstyle\", \"commasuperior\",\n \"threequartersemdash\", \"periodsuperior\", \"questionsmall\", \"asuperior\",\n \"bsuperior\", \"centsuperior\", \"dsuperior\", \"esuperior\", \"isuperior\",\n \"lsuperior\", \"msuperior\", \"nsuperior\", \"osuperior\", \"rsuperior\",\n \"ssuperior\", \"tsuperior\", \"ff\", \"ffi\", \"ffl\", \"parenleftinferior\",\n \"parenrightinferior\", \"Circumflexsmall\", \"hyphensuperior\", \"Gravesmall\",\n \"Asmall\", \"Bsmall\", \"Csmall\", \"Dsmall\", \"Esmall\", \"Fsmall\", \"Gsmall\",\n \"Hsmall\", \"Ismall\", \"Jsmall\", \"Ksmall\", \"Lsmall\", \"Msmall\", \"Nsmall\",\n \"Osmall\", \"Psmall\", \"Qsmall\", \"Rsmall\", \"Ssmall\", \"Tsmall\", \"Usmall\",\n \"Vsmall\", \"Wsmall\", \"Xsmall\", \"Ysmall\", \"Zsmall\", \"colonmonetary\",\n \"onefitted\", \"rupiah\", \"Tildesmall\", \"exclamdownsmall\", \"centoldstyle\",\n \"Lslashsmall\", \"Scaronsmall\", \"Zcaronsmall\", \"Dieresissmall\", \"Brevesmall\",\n \"Caronsmall\", \"Dotaccentsmall\", \"Macronsmall\", \"figuredash\",\n \"hypheninferior\", \"Ogoneksmall\", \"Ringsmall\", \"Cedillasmall\",\n \"questiondownsmall\", \"oneeighth\", \"threeeighths\", \"fiveeighths\",\n \"seveneighths\", \"onethird\", \"twothirds\", \"zerosuperior\", \"foursuperior\",\n \"fivesuperior\", \"sixsuperior\", \"sevensuperior\", \"eightsuperior\",\n \"ninesuperior\", \"zeroinferior\", \"oneinferior\", \"twoinferior\",\n \"threeinferior\", \"fourinferior\", \"fiveinferior\", \"sixinferior\",\n \"seveninferior\", \"eightinferior\", \"nineinferior\", \"centinferior\",\n \"dollarinferior\", \"periodinferior\", \"commainferior\", \"Agravesmall\",\n \"Aacutesmall\", \"Acircumflexsmall\", \"Atildesmall\", \"Adieresissmall\",\n \"Aringsmall\", \"AEsmall\", \"Ccedillasmall\", \"Egravesmall\", \"Eacutesmall\",\n \"Ecircumflexsmall\", \"Edieresissmall\", \"Igravesmall\", \"Iacutesmall\",\n \"Icircumflexsmall\", \"Idieresissmall\", \"Ethsmall\", \"Ntildesmall\",\n \"Ogravesmall\", \"Oacutesmall\", \"Ocircumflexsmall\", \"Otildesmall\",\n \"Odieresissmall\", \"OEsmall\", \"Oslashsmall\", \"Ugravesmall\", \"Uacutesmall\",\n \"Ucircumflexsmall\", \"Udieresissmall\", \"Yacutesmall\", \"Thornsmall\",\n \"Ydieresissmall\", \"001.000\", \"001.001\", \"001.002\", \"001.003\", \"Black\",\n \"Bold\", \"Book\", \"Light\", \"Medium\", \"Regular\", \"Roman\", \"Semibold\"\n];\n","export let StandardEncoding = [\n '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',\n '', '', '', '', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent', 'ampersand', 'quoteright',\n 'parenleft', 'parenright', 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash', 'zero', 'one', 'two',\n 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater',\n 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',\n 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright', 'asciicircum', 'underscore',\n 'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',\n 'u', 'v', 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright', 'asciitilde', '', '', '', '', '', '', '', '',\n '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',\n 'exclamdown', 'cent', 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency', 'quotesingle',\n 'quotedblleft', 'guillemotleft', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', '', 'endash', 'dagger',\n 'daggerdbl', 'periodcentered', '', 'paragraph', 'bullet', 'quotesinglbase', 'quotedblbase', 'quotedblright',\n 'guillemotright', 'ellipsis', 'perthousand', '', 'questiondown', '', 'grave', 'acute', 'circumflex', 'tilde',\n 'macron', 'breve', 'dotaccent', 'dieresis', '', 'ring', 'cedilla', '', 'hungarumlaut', 'ogonek', 'caron',\n 'emdash', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'AE', '', 'ordfeminine', '', '', '',\n '', 'Lslash', 'Oslash', 'OE', 'ordmasculine', '', '', '', '', '', 'ae', '', '', '', 'dotlessi', '', '',\n 'lslash', 'oslash', 'oe', 'germandbls'\n];\n\nexport let ExpertEncoding = [\n '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',\n '', '', '', '', 'space', 'exclamsmall', 'Hungarumlautsmall', '', 'dollaroldstyle', 'dollarsuperior',\n 'ampersandsmall', 'Acutesmall', 'parenleftsuperior', 'parenrightsuperior', 'twodotenleader', 'onedotenleader',\n 'comma', 'hyphen', 'period', 'fraction', 'zerooldstyle', 'oneoldstyle', 'twooldstyle', 'threeoldstyle',\n 'fouroldstyle', 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle', 'colon',\n 'semicolon', 'commasuperior', 'threequartersemdash', 'periodsuperior', 'questionsmall', '', 'asuperior',\n 'bsuperior', 'centsuperior', 'dsuperior', 'esuperior', '', '', 'isuperior', '', '', 'lsuperior', 'msuperior',\n 'nsuperior', 'osuperior', '', '', 'rsuperior', 'ssuperior', 'tsuperior', '', 'ff', 'fi', 'fl', 'ffi', 'ffl',\n 'parenleftinferior', '', 'parenrightinferior', 'Circumflexsmall', 'hyphensuperior', 'Gravesmall', 'Asmall',\n 'Bsmall', 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall', 'Hsmall', 'Ismall', 'Jsmall', 'Ksmall', 'Lsmall',\n 'Msmall', 'Nsmall', 'Osmall', 'Psmall', 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall', 'Vsmall', 'Wsmall',\n 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary', 'onefitted', 'rupiah', 'Tildesmall', '', '', '', '', '', '', '',\n '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',\n 'exclamdownsmall', 'centoldstyle', 'Lslashsmall', '', '', 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall',\n 'Brevesmall', 'Caronsmall', '', 'Dotaccentsmall', '', '', 'Macronsmall', '', '', 'figuredash', 'hypheninferior',\n '', '', 'Ogoneksmall', 'Ringsmall', 'Cedillasmall', '', '', '', 'onequarter', 'onehalf', 'threequarters',\n 'questiondownsmall', 'oneeighth', 'threeeighths', 'fiveeighths', 'seveneighths', 'onethird', 'twothirds', '',\n '', 'zerosuperior', 'onesuperior', 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',\n 'sixsuperior', 'sevensuperior', 'eightsuperior', 'ninesuperior', 'zeroinferior', 'oneinferior', 'twoinferior',\n 'threeinferior', 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior', 'eightinferior',\n 'nineinferior', 'centinferior', 'dollarinferior', 'periodinferior', 'commainferior', 'Agravesmall',\n 'Aacutesmall', 'Acircumflexsmall', 'Atildesmall', 'Adieresissmall', 'Aringsmall', 'AEsmall', 'Ccedillasmall',\n 'Egravesmall', 'Eacutesmall', 'Ecircumflexsmall', 'Edieresissmall', 'Igravesmall', 'Iacutesmall',\n 'Icircumflexsmall', 'Idieresissmall', 'Ethsmall', 'Ntildesmall', 'Ogravesmall', 'Oacutesmall',\n 'Ocircumflexsmall', 'Otildesmall', 'Odieresissmall', 'OEsmall', 'Oslashsmall', 'Ugravesmall', 'Uacutesmall',\n 'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall', 'Thornsmall', 'Ydieresissmall'\n];\n","export let ISOAdobeCharset = [\n '.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar',\n 'percent', 'ampersand', 'quoteright', 'parenleft', 'parenright',\n 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash', 'zero',\n 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight',\n 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater', 'question',\n 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n 'bracketleft', 'backslash', 'bracketright', 'asciicircum', 'underscore',\n 'quoteleft', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l',\n 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',\n 'braceleft', 'bar', 'braceright', 'asciitilde', 'exclamdown', 'cent',\n 'sterling', 'fraction', 'yen', 'florin', 'section', 'currency',\n 'quotesingle', 'quotedblleft', 'guillemotleft', 'guilsinglleft',\n 'guilsinglright', 'fi', 'fl', 'endash', 'dagger', 'daggerdbl',\n 'periodcentered', 'paragraph', 'bullet', 'quotesinglbase',\n 'quotedblbase', 'quotedblright', 'guillemotright', 'ellipsis',\n 'perthousand', 'questiondown', 'grave', 'acute', 'circumflex', 'tilde',\n 'macron', 'breve', 'dotaccent', 'dieresis', 'ring', 'cedilla',\n 'hungarumlaut', 'ogonek', 'caron', 'emdash', 'AE', 'ordfeminine',\n 'Lslash', 'Oslash', 'OE', 'ordmasculine', 'ae', 'dotlessi', 'lslash',\n 'oslash', 'oe', 'germandbls', 'onesuperior', 'logicalnot', 'mu',\n 'trademark', 'Eth', 'onehalf', 'plusminus', 'Thorn', 'onequarter',\n 'divide', 'brokenbar', 'degree', 'thorn', 'threequarters', 'twosuperior',\n 'registered', 'minus', 'eth', 'multiply', 'threesuperior', 'copyright',\n 'Aacute', 'Acircumflex', 'Adieresis', 'Agrave', 'Aring', 'Atilde',\n 'Ccedilla', 'Eacute', 'Ecircumflex', 'Edieresis', 'Egrave', 'Iacute',\n 'Icircumflex', 'Idieresis', 'Igrave', 'Ntilde', 'Oacute', 'Ocircumflex',\n 'Odieresis', 'Ograve', 'Otilde', 'Scaron', 'Uacute', 'Ucircumflex',\n 'Udieresis', 'Ugrave', 'Yacute', 'Ydieresis', 'Zcaron', 'aacute',\n 'acircumflex', 'adieresis', 'agrave', 'aring', 'atilde', 'ccedilla',\n 'eacute', 'ecircumflex', 'edieresis', 'egrave', 'iacute', 'icircumflex',\n 'idieresis', 'igrave', 'ntilde', 'oacute', 'ocircumflex', 'odieresis',\n 'ograve', 'otilde', 'scaron', 'uacute', 'ucircumflex', 'udieresis',\n 'ugrave', 'yacute', 'ydieresis', 'zcaron'\n];\n\nexport let ExpertCharset = [\n '.notdef', 'space', 'exclamsmall', 'Hungarumlautsmall', 'dollaroldstyle',\n 'dollarsuperior', 'ampersandsmall', 'Acutesmall', 'parenleftsuperior',\n 'parenrightsuperior', 'twodotenleader', 'onedotenleader', 'comma',\n 'hyphen', 'period', 'fraction', 'zerooldstyle', 'oneoldstyle',\n 'twooldstyle', 'threeoldstyle', 'fouroldstyle', 'fiveoldstyle',\n 'sixoldstyle', 'sevenoldstyle', 'eightoldstyle', 'nineoldstyle',\n 'colon', 'semicolon', 'commasuperior', 'threequartersemdash',\n 'periodsuperior', 'questionsmall', 'asuperior', 'bsuperior',\n 'centsuperior', 'dsuperior', 'esuperior', 'isuperior', 'lsuperior',\n 'msuperior', 'nsuperior', 'osuperior', 'rsuperior', 'ssuperior',\n 'tsuperior', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior',\n 'parenrightinferior', 'Circumflexsmall', 'hyphensuperior', 'Gravesmall',\n 'Asmall', 'Bsmall', 'Csmall', 'Dsmall', 'Esmall', 'Fsmall', 'Gsmall',\n 'Hsmall', 'Ismall', 'Jsmall', 'Ksmall', 'Lsmall', 'Msmall', 'Nsmall',\n 'Osmall', 'Psmall', 'Qsmall', 'Rsmall', 'Ssmall', 'Tsmall', 'Usmall',\n 'Vsmall', 'Wsmall', 'Xsmall', 'Ysmall', 'Zsmall', 'colonmonetary',\n 'onefitted', 'rupiah', 'Tildesmall', 'exclamdownsmall', 'centoldstyle',\n 'Lslashsmall', 'Scaronsmall', 'Zcaronsmall', 'Dieresissmall',\n 'Brevesmall', 'Caronsmall', 'Dotaccentsmall', 'Macronsmall',\n 'figuredash', 'hypheninferior', 'Ogoneksmall', 'Ringsmall',\n 'Cedillasmall', 'onequarter', 'onehalf', 'threequarters',\n 'questiondownsmall', 'oneeighth', 'threeeighths', 'fiveeighths',\n 'seveneighths', 'onethird', 'twothirds', 'zerosuperior', 'onesuperior',\n 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',\n 'sixsuperior', 'sevensuperior', 'eightsuperior', 'ninesuperior',\n 'zeroinferior', 'oneinferior', 'twoinferior', 'threeinferior',\n 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior',\n 'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',\n 'periodinferior', 'commainferior', 'Agravesmall', 'Aacutesmall',\n 'Acircumflexsmall', 'Atildesmall', 'Adieresissmall', 'Aringsmall',\n 'AEsmall', 'Ccedillasmall', 'Egravesmall', 'Eacutesmall',\n 'Ecircumflexsmall', 'Edieresissmall', 'Igravesmall', 'Iacutesmall',\n 'Icircumflexsmall', 'Idieresissmall', 'Ethsmall', 'Ntildesmall',\n 'Ogravesmall', 'Oacutesmall', 'Ocircumflexsmall', 'Otildesmall',\n 'Odieresissmall', 'OEsmall', 'Oslashsmall', 'Ugravesmall', 'Uacutesmall',\n 'Ucircumflexsmall', 'Udieresissmall', 'Yacutesmall', 'Thornsmall',\n 'Ydieresissmall'\n];\n\nexport let ExpertSubsetCharset = [\n '.notdef', 'space', 'dollaroldstyle', 'dollarsuperior',\n 'parenleftsuperior', 'parenrightsuperior', 'twodotenleader',\n 'onedotenleader', 'comma', 'hyphen', 'period', 'fraction',\n 'zerooldstyle', 'oneoldstyle', 'twooldstyle', 'threeoldstyle',\n 'fouroldstyle', 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle',\n 'eightoldstyle', 'nineoldstyle', 'colon', 'semicolon', 'commasuperior',\n 'threequartersemdash', 'periodsuperior', 'asuperior', 'bsuperior',\n 'centsuperior', 'dsuperior', 'esuperior', 'isuperior', 'lsuperior',\n 'msuperior', 'nsuperior', 'osuperior', 'rsuperior', 'ssuperior',\n 'tsuperior', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'parenleftinferior',\n 'parenrightinferior', 'hyphensuperior', 'colonmonetary', 'onefitted',\n 'rupiah', 'centoldstyle', 'figuredash', 'hypheninferior', 'onequarter',\n 'onehalf', 'threequarters', 'oneeighth', 'threeeighths', 'fiveeighths',\n 'seveneighths', 'onethird', 'twothirds', 'zerosuperior', 'onesuperior',\n 'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',\n 'sixsuperior', 'sevensuperior', 'eightsuperior', 'ninesuperior',\n 'zeroinferior', 'oneinferior', 'twoinferior', 'threeinferior',\n 'fourinferior', 'fiveinferior', 'sixinferior', 'seveninferior',\n 'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',\n 'periodinferior', 'commainferior'\n];\n","import * as r from 'restructure';\n\n//########################\n// Scripts and Languages #\n//########################\n\nlet LangSysTable = new r.Struct({\n reserved: new r.Reserved(r.uint16),\n reqFeatureIndex: r.uint16,\n featureCount: r.uint16,\n featureIndexes: new r.Array(r.uint16, 'featureCount')\n});\n\nlet LangSysRecord = new r.Struct({\n tag: new r.String(4),\n langSys: new r.Pointer(r.uint16, LangSysTable, { type: 'parent' })\n});\n\nlet Script = new r.Struct({\n defaultLangSys: new r.Pointer(r.uint16, LangSysTable),\n count: r.uint16,\n langSysRecords: new r.Array(LangSysRecord, 'count')\n});\n\nlet ScriptRecord = new r.Struct({\n tag: new r.String(4),\n script: new r.Pointer(r.uint16, Script, { type: 'parent' })\n});\n\nexport let ScriptList = new r.Array(ScriptRecord, r.uint16);\n\n//#######################\n// Features and Lookups #\n//#######################\n\nlet FeatureParams = new r.Struct({\n version: r.uint16, // should be set to 0 according OT spec\n nameID: r.uint16, //OT spec: UI Name ID or uiLabelNameId\n});\n\nexport let Feature = new r.Struct({\n featureParams: new r.Pointer(r.uint16, FeatureParams),\n lookupCount: r.uint16,\n lookupListIndexes: new r.Array(r.uint16, 'lookupCount')\n});\n\nlet FeatureRecord = new r.Struct({\n tag: new r.String(4),\n feature: new r.Pointer(r.uint16, Feature, { type: 'parent' })\n});\n\nexport let FeatureList = new r.Array(FeatureRecord, r.uint16);\n\nlet LookupFlags = new r.Struct({\n markAttachmentType: r.uint8,\n flags: new r.Bitfield(r.uint8, [\n 'rightToLeft', 'ignoreBaseGlyphs', 'ignoreLigatures',\n 'ignoreMarks', 'useMarkFilteringSet'\n ])\n});\n\nexport function LookupList(SubTable) {\n let Lookup = new r.Struct({\n lookupType: r.uint16,\n flags: LookupFlags,\n subTableCount: r.uint16,\n subTables: new r.Array(new r.Pointer(r.uint16, SubTable), 'subTableCount'),\n markFilteringSet: new r.Optional(r.uint16, t => t.flags.flags.useMarkFilteringSet)\n });\n\n return new r.LazyArray(new r.Pointer(r.uint16, Lookup), r.uint16);\n}\n\n//#################\n// Coverage Table #\n//#################\n\nlet RangeRecord = new r.Struct({\n start: r.uint16,\n end: r.uint16,\n startCoverageIndex: r.uint16\n});\n\nexport let Coverage = new r.VersionedStruct(r.uint16, {\n 1: {\n glyphCount: r.uint16,\n glyphs: new r.Array(r.uint16, 'glyphCount')\n },\n 2: {\n rangeCount: r.uint16,\n rangeRecords: new r.Array(RangeRecord, 'rangeCount')\n }\n});\n\n//#########################\n// Class Definition Table #\n//#########################\n\nlet ClassRangeRecord = new r.Struct({\n start: r.uint16,\n end: r.uint16,\n class: r.uint16\n});\n\nexport let ClassDef = new r.VersionedStruct(r.uint16, {\n 1: { // Class array\n startGlyph: r.uint16,\n glyphCount: r.uint16,\n classValueArray: new r.Array(r.uint16, 'glyphCount')\n },\n 2: { // Class ranges\n classRangeCount: r.uint16,\n classRangeRecord: new r.Array(ClassRangeRecord, 'classRangeCount')\n }\n});\n\n//###############\n// Device Table #\n//###############\n\nexport let Device = new r.Struct({\n a: r.uint16, // startSize for hinting Device, outerIndex for VariationIndex\n b: r.uint16, // endSize for Device, innerIndex for VariationIndex\n deltaFormat: r.uint16\n});\n\n//#############################################\n// Contextual Substitution/Positioning Tables #\n//#############################################\n\nlet LookupRecord = new r.Struct({\n sequenceIndex: r.uint16,\n lookupListIndex: r.uint16\n});\n\nlet Rule = new r.Struct({\n glyphCount: r.uint16,\n lookupCount: r.uint16,\n input: new r.Array(r.uint16, t => t.glyphCount - 1),\n lookupRecords: new r.Array(LookupRecord, 'lookupCount')\n});\n\nlet RuleSet = new r.Array(new r.Pointer(r.uint16, Rule), r.uint16);\n\nlet ClassRule = new r.Struct({\n glyphCount: r.uint16,\n lookupCount: r.uint16,\n classes: new r.Array(r.uint16, t => t.glyphCount - 1),\n lookupRecords: new r.Array(LookupRecord, 'lookupCount')\n});\n\nlet ClassSet = new r.Array(new r.Pointer(r.uint16, ClassRule), r.uint16);\n\nexport let Context = new r.VersionedStruct(r.uint16, {\n 1: { // Simple context\n coverage: new r.Pointer(r.uint16, Coverage),\n ruleSetCount: r.uint16,\n ruleSets: new r.Array(new r.Pointer(r.uint16, RuleSet), 'ruleSetCount')\n },\n 2: { // Class-based context\n coverage: new r.Pointer(r.uint16, Coverage),\n classDef: new r.Pointer(r.uint16, ClassDef),\n classSetCnt: r.uint16,\n classSet: new r.Array(new r.Pointer(r.uint16, ClassSet), 'classSetCnt')\n },\n 3: {\n glyphCount: r.uint16,\n lookupCount: r.uint16,\n coverages: new r.Array(new r.Pointer(r.uint16, Coverage), 'glyphCount'),\n lookupRecords: new r.Array(LookupRecord, 'lookupCount')\n }\n});\n\n//######################################################\n// Chaining Contextual Substitution/Positioning Tables #\n//######################################################\n\nlet ChainRule = new r.Struct({\n backtrackGlyphCount: r.uint16,\n backtrack: new r.Array(r.uint16, 'backtrackGlyphCount'),\n inputGlyphCount: r.uint16,\n input: new r.Array(r.uint16, t => t.inputGlyphCount - 1),\n lookaheadGlyphCount: r.uint16,\n lookahead: new r.Array(r.uint16, 'lookaheadGlyphCount'),\n lookupCount: r.uint16,\n lookupRecords: new r.Array(LookupRecord, 'lookupCount')\n});\n\nlet ChainRuleSet = new r.Array(new r.Pointer(r.uint16, ChainRule), r.uint16);\n\nexport let ChainingContext = new r.VersionedStruct(r.uint16, {\n 1: { // Simple context glyph substitution\n coverage: new r.Pointer(r.uint16, Coverage),\n chainCount: r.uint16,\n chainRuleSets: new r.Array(new r.Pointer(r.uint16, ChainRuleSet), 'chainCount')\n },\n\n 2: { // Class-based chaining context\n coverage: new r.Pointer(r.uint16, Coverage),\n backtrackClassDef: new r.Pointer(r.uint16, ClassDef),\n inputClassDef: new r.Pointer(r.uint16, ClassDef),\n lookaheadClassDef: new r.Pointer(r.uint16, ClassDef),\n chainCount: r.uint16,\n chainClassSet: new r.Array(new r.Pointer(r.uint16, ChainRuleSet), 'chainCount')\n },\n\n 3: { // Coverage-based chaining context\n backtrackGlyphCount: r.uint16,\n backtrackCoverage: new r.Array(new r.Pointer(r.uint16, Coverage), 'backtrackGlyphCount'),\n inputGlyphCount: r.uint16,\n inputCoverage: new r.Array(new r.Pointer(r.uint16, Coverage), 'inputGlyphCount'),\n lookaheadGlyphCount: r.uint16,\n lookaheadCoverage: new r.Array(new r.Pointer(r.uint16, Coverage), 'lookaheadGlyphCount'),\n lookupCount: r.uint16,\n lookupRecords: new r.Array(LookupRecord, 'lookupCount')\n }\n});\n","import {Feature} from './opentype';\nimport * as r from 'restructure';\n\n/*******************\n * Variation Store *\n *******************/\n\nlet F2DOT14 = new r.Fixed(16, 'BE', 14);\nlet RegionAxisCoordinates = new r.Struct({\n startCoord: F2DOT14,\n peakCoord: F2DOT14,\n endCoord: F2DOT14\n});\n\nlet VariationRegionList = new r.Struct({\n axisCount: r.uint16,\n regionCount: r.uint16,\n variationRegions: new r.Array(new r.Array(RegionAxisCoordinates, 'axisCount'), 'regionCount')\n});\n\nlet DeltaSet = new r.Struct({\n shortDeltas: new r.Array(r.int16, t => t.parent.shortDeltaCount),\n regionDeltas: new r.Array(r.int8, t => t.parent.regionIndexCount - t.parent.shortDeltaCount),\n deltas: t => t.shortDeltas.concat(t.regionDeltas)\n});\n\nlet ItemVariationData = new r.Struct({\n itemCount: r.uint16,\n shortDeltaCount: r.uint16,\n regionIndexCount: r.uint16,\n regionIndexes: new r.Array(r.uint16, 'regionIndexCount'),\n deltaSets: new r.Array(DeltaSet, 'itemCount')\n});\n\nexport let ItemVariationStore = new r.Struct({\n format: r.uint16,\n variationRegionList: new r.Pointer(r.uint32, VariationRegionList),\n variationDataCount: r.uint16,\n itemVariationData: new r.Array(new r.Pointer(r.uint32, ItemVariationData), 'variationDataCount')\n});\n\n/**********************\n * Feature Variations *\n **********************/\n\nlet ConditionTable = new r.VersionedStruct(r.uint16, {\n 1: {\n axisIndex: r.uint16,\n axisIndex: r.uint16,\n filterRangeMinValue: F2DOT14,\n filterRangeMaxValue: F2DOT14\n }\n});\n\nlet ConditionSet = new r.Struct({\n conditionCount: r.uint16,\n conditionTable: new r.Array(new r.Pointer(r.uint32, ConditionTable), 'conditionCount')\n});\n\nlet FeatureTableSubstitutionRecord = new r.Struct({\n featureIndex: r.uint16,\n alternateFeatureTable: new r.Pointer(r.uint32, Feature, {type: 'parent'})\n});\n\nlet FeatureTableSubstitution = new r.Struct({\n version: r.fixed32,\n substitutionCount: r.uint16,\n substitutions: new r.Array(FeatureTableSubstitutionRecord, 'substitutionCount')\n});\n\nlet FeatureVariationRecord = new r.Struct({\n conditionSet: new r.Pointer(r.uint32, ConditionSet, {type: 'parent'}),\n featureTableSubstitution: new r.Pointer(r.uint32, FeatureTableSubstitution, {type: 'parent'})\n});\n\nexport let FeatureVariations = new r.Struct({\n majorVersion: r.uint16,\n minorVersion: r.uint16,\n featureVariationRecordCount: r.uint32,\n featureVariationRecords: new r.Array(FeatureVariationRecord, 'featureVariationRecordCount')\n});\n","import * as r from 'restructure';\nimport { resolveLength } from 'restructure';\nimport CFFDict from './CFFDict';\nimport CFFIndex from './CFFIndex';\nimport CFFPointer from './CFFPointer';\nimport CFFPrivateDict from './CFFPrivateDict';\nimport StandardStrings from './CFFStandardStrings';\nimport { StandardEncoding, ExpertEncoding } from './CFFEncodings';\nimport { ISOAdobeCharset, ExpertCharset, ExpertSubsetCharset } from './CFFCharsets';\nimport { ItemVariationStore } from '../tables/variations';\n\n// Checks if an operand is an index of a predefined value,\n// otherwise delegates to the provided type.\nclass PredefinedOp {\n constructor(predefinedOps, type) {\n this.predefinedOps = predefinedOps;\n this.type = type;\n }\n\n decode(stream, parent, operands) {\n if (this.predefinedOps[operands[0]]) {\n return this.predefinedOps[operands[0]];\n }\n\n return this.type.decode(stream, parent, operands);\n }\n\n size(value, ctx) {\n return this.type.size(value, ctx);\n }\n\n encode(stream, value, ctx) {\n let index = this.predefinedOps.indexOf(value);\n if (index !== -1) {\n return index;\n }\n\n return this.type.encode(stream, value, ctx);\n }\n}\n\nclass CFFEncodingVersion extends r.Number {\n constructor() {\n super('UInt8');\n }\n\n decode(stream) {\n return r.uint8.decode(stream) & 0x7f;\n }\n}\n\nlet Range1 = new r.Struct({\n first: r.uint16,\n nLeft: r.uint8\n});\n\nlet Range2 = new r.Struct({\n first: r.uint16,\n nLeft: r.uint16\n});\n\nlet CFFCustomEncoding = new r.VersionedStruct(new CFFEncodingVersion(), {\n 0: {\n nCodes: r.uint8,\n codes: new r.Array(r.uint8, 'nCodes')\n },\n\n 1: {\n nRanges: r.uint8,\n ranges: new r.Array(Range1, 'nRanges')\n }\n\n // TODO: supplement?\n});\n\nlet CFFEncoding = new PredefinedOp([ StandardEncoding, ExpertEncoding ], new CFFPointer(CFFCustomEncoding, { lazy: true }));\n\n// Decodes an array of ranges until the total\n// length is equal to the provided length.\nclass RangeArray extends r.Array {\n decode(stream, parent) {\n let length = resolveLength(this.length, stream, parent);\n let count = 0;\n let res = [];\n while (count < length) {\n let range = this.type.decode(stream, parent);\n range.offset = count;\n count += range.nLeft + 1;\n res.push(range);\n }\n\n return res;\n }\n}\n\nlet CFFCustomCharset = new r.VersionedStruct(r.uint8, {\n 0: {\n glyphs: new r.Array(r.uint16, t => t.parent.CharStrings.length - 1)\n },\n\n 1: {\n ranges: new RangeArray(Range1, t => t.parent.CharStrings.length - 1)\n },\n\n 2: {\n ranges: new RangeArray(Range2, t => t.parent.CharStrings.length - 1)\n }\n});\n\nlet CFFCharset = new PredefinedOp([ ISOAdobeCharset, ExpertCharset, ExpertSubsetCharset ], new CFFPointer(CFFCustomCharset, {lazy: true}));\n\nlet FDRange3 = new r.Struct({\n first: r.uint16,\n fd: r.uint8\n});\n\nlet FDRange4 = new r.Struct({\n first: r.uint32,\n fd: r.uint16\n});\n\nlet FDSelect = new r.VersionedStruct(r.uint8, {\n 0: {\n fds: new r.Array(r.uint8, t => t.parent.CharStrings.length)\n },\n\n 3: {\n nRanges: r.uint16,\n ranges: new r.Array(FDRange3, 'nRanges'),\n sentinel: r.uint16\n },\n\n 4: {\n nRanges: r.uint32,\n ranges: new r.Array(FDRange4, 'nRanges'),\n sentinel: r.uint32\n }\n});\n\nlet ptr = new CFFPointer(CFFPrivateDict);\nclass CFFPrivateOp {\n decode(stream, parent, operands) {\n parent.length = operands[0];\n return ptr.decode(stream, parent, [operands[1]]);\n }\n\n size(dict, ctx) {\n return [CFFPrivateDict.size(dict, ctx, false), ptr.size(dict, ctx)[0]];\n }\n\n encode(stream, dict, ctx) {\n return [CFFPrivateDict.size(dict, ctx, false), ptr.encode(stream, dict, ctx)[0]];\n }\n}\n\nlet FontDict = new CFFDict([\n // key name type(s) default\n [18, 'Private', new CFFPrivateOp, null],\n [[12, 38], 'FontName', 'sid', null],\n [[12, 7], 'FontMatrix', 'array', [0.001, 0, 0, 0.001, 0, 0]],\n [[12, 5], 'PaintType', 'number', 0],\n]);\n\nlet CFFTopDict = new CFFDict([\n // key name type(s) default\n [[12, 30], 'ROS', ['sid', 'sid', 'number'], null],\n\n [0, 'version', 'sid', null],\n [1, 'Notice', 'sid', null],\n [[12, 0], 'Copyright', 'sid', null],\n [2, 'FullName', 'sid', null],\n [3, 'FamilyName', 'sid', null],\n [4, 'Weight', 'sid', null],\n [[12, 1], 'isFixedPitch', 'boolean', false],\n [[12, 2], 'ItalicAngle', 'number', 0],\n [[12, 3], 'UnderlinePosition', 'number', -100],\n [[12, 4], 'UnderlineThickness', 'number', 50],\n [[12, 5], 'PaintType', 'number', 0],\n [[12, 6], 'CharstringType', 'number', 2],\n [[12, 7], 'FontMatrix', 'array', [0.001, 0, 0, 0.001, 0, 0]],\n [13, 'UniqueID', 'number', null],\n [5, 'FontBBox', 'array', [0, 0, 0, 0]],\n [[12, 8], 'StrokeWidth', 'number', 0],\n [14, 'XUID', 'array', null],\n [15, 'charset', CFFCharset, ISOAdobeCharset],\n [16, 'Encoding', CFFEncoding, StandardEncoding],\n [17, 'CharStrings', new CFFPointer(new CFFIndex), null],\n [18, 'Private', new CFFPrivateOp, null],\n [[12, 20], 'SyntheticBase', 'number', null],\n [[12, 21], 'PostScript', 'sid', null],\n [[12, 22], 'BaseFontName', 'sid', null],\n [[12, 23], 'BaseFontBlend', 'delta', null],\n\n // CID font specific\n [[12, 31], 'CIDFontVersion', 'number', 0],\n [[12, 32], 'CIDFontRevision', 'number', 0],\n [[12, 33], 'CIDFontType', 'number', 0],\n [[12, 34], 'CIDCount', 'number', 8720],\n [[12, 35], 'UIDBase', 'number', null],\n [[12, 37], 'FDSelect', new CFFPointer(FDSelect), null],\n [[12, 36], 'FDArray', new CFFPointer(new CFFIndex(FontDict)), null],\n [[12, 38], 'FontName', 'sid', null]\n]);\n\nlet VariationStore = new r.Struct({\n length: r.uint16,\n itemVariationStore: ItemVariationStore\n})\n\nlet CFF2TopDict = new CFFDict([\n [[12, 7], 'FontMatrix', 'array', [0.001, 0, 0, 0.001, 0, 0]],\n [17, 'CharStrings', new CFFPointer(new CFFIndex), null],\n [[12, 37], 'FDSelect', new CFFPointer(FDSelect), null],\n [[12, 36], 'FDArray', new CFFPointer(new CFFIndex(FontDict)), null],\n [24, 'vstore', new CFFPointer(VariationStore), null],\n [25, 'maxstack', 'number', 193]\n]);\n\nlet CFFTop = new r.VersionedStruct(r.fixed16, {\n 1: {\n hdrSize: r.uint8,\n offSize: r.uint8,\n nameIndex: new CFFIndex(new r.String('length')),\n topDictIndex: new CFFIndex(CFFTopDict),\n stringIndex: new CFFIndex(new r.String('length')),\n globalSubrIndex: new CFFIndex\n },\n\n 2: {\n hdrSize: r.uint8,\n length: r.uint16,\n topDict: CFF2TopDict,\n globalSubrIndex: new CFFIndex\n }\n});\n\nexport default CFFTop;\n","import * as r from 'restructure';\nimport CFFIndex from './CFFIndex';\nimport CFFTop from './CFFTop';\nimport CFFPrivateDict from './CFFPrivateDict';\nimport standardStrings from './CFFStandardStrings';\n\nclass CFFFont {\n constructor(stream) {\n this.stream = stream;\n this.decode();\n }\n\n static decode(stream) {\n return new CFFFont(stream);\n }\n\n decode() {\n let start = this.stream.pos;\n let top = CFFTop.decode(this.stream);\n for (let key in top) {\n let val = top[key];\n this[key] = val;\n }\n\n if (this.version < 2) {\n if (this.topDictIndex.length !== 1) {\n throw new Error(\"Only a single font is allowed in CFF\");\n }\n\n this.topDict = this.topDictIndex[0];\n }\n\n this.isCIDFont = this.topDict.ROS != null;\n return this;\n }\n\n string(sid) {\n if (this.version >= 2) {\n return null;\n }\n\n if (sid < standardStrings.length) {\n return standardStrings[sid];\n }\n\n return this.stringIndex[sid - standardStrings.length];\n }\n\n get postscriptName() {\n if (this.version < 2) {\n return this.nameIndex[0];\n }\n\n return null;\n }\n\n get fullName() {\n return this.string(this.topDict.FullName);\n }\n\n get familyName() {\n return this.string(this.topDict.FamilyName);\n }\n\n getCharString(glyph) {\n this.stream.pos = this.topDict.CharStrings[glyph].offset;\n return this.stream.readBuffer(this.topDict.CharStrings[glyph].length);\n }\n\n getGlyphName(gid) {\n // CFF2 glyph names are in the post table.\n if (this.version >= 2) {\n return null;\n }\n\n // CID-keyed fonts don't have glyph names\n if (this.isCIDFont) {\n return null;\n }\n\n let { charset } = this.topDict;\n if (Array.isArray(charset)) {\n return charset[gid];\n }\n\n if (gid === 0) {\n return '.notdef';\n }\n\n gid -= 1;\n\n switch (charset.version) {\n case 0:\n return this.string(charset.glyphs[gid]);\n\n case 1:\n case 2:\n for (let i = 0; i < charset.ranges.length; i++) {\n let range = charset.ranges[i];\n if (range.offset <= gid && gid <= range.offset + range.nLeft) {\n return this.string(range.first + (gid - range.offset));\n }\n }\n break;\n }\n\n return null;\n }\n\n fdForGlyph(gid) {\n if (!this.topDict.FDSelect) {\n return null;\n }\n\n switch (this.topDict.FDSelect.version) {\n case 0:\n return this.topDict.FDSelect.fds[gid];\n\n case 3:\n case 4:\n let { ranges } = this.topDict.FDSelect;\n let low = 0;\n let high = ranges.length - 1;\n\n while (low <= high) {\n let mid = (low + high) >> 1;\n\n if (gid < ranges[mid].first) {\n high = mid - 1;\n } else if (mid < high && gid >= ranges[mid + 1].first) {\n low = mid + 1;\n } else {\n return ranges[mid].fd;\n }\n }\n default:\n throw new Error(`Unknown FDSelect version: ${this.topDict.FDSelect.version}`);\n }\n }\n\n privateDictForGlyph(gid) {\n if (this.topDict.FDSelect) {\n let fd = this.fdForGlyph(gid);\n if (this.topDict.FDArray[fd]) {\n return this.topDict.FDArray[fd].Private;\n }\n\n return null;\n }\n\n if (this.version < 2) {\n return this.topDict.Private;\n }\n\n return this.topDict.FDArray[0].Private;\n }\n}\n\nexport default CFFFont;\n","import * as r from 'restructure';\n\nlet VerticalOrigin = new r.Struct({\n glyphIndex: r.uint16,\n vertOriginY: r.int16\n});\n\nexport default new r.Struct({\n majorVersion: r.uint16,\n minorVersion: r.uint16,\n defaultVertOriginY: r.int16,\n numVertOriginYMetrics: r.uint16,\n metrics: new r.Array(VerticalOrigin, 'numVertOriginYMetrics')\n});\n","import * as r from 'restructure';\n\nexport let BigMetrics = new r.Struct({\n height: r.uint8,\n width: r.uint8,\n horiBearingX: r.int8,\n horiBearingY: r.int8,\n horiAdvance: r.uint8,\n vertBearingX: r.int8,\n vertBearingY: r.int8,\n vertAdvance: r.uint8\n});\n\nexport let SmallMetrics = new r.Struct({\n height: r.uint8,\n width: r.uint8,\n bearingX: r.int8,\n bearingY: r.int8,\n advance: r.uint8\n});\n\nlet EBDTComponent = new r.Struct({\n glyph: r.uint16,\n xOffset: r.int8,\n yOffset: r.int8\n});\n\nclass ByteAligned {}\n\nclass BitAligned {}\n\nexport let glyph = new r.VersionedStruct('version', {\n 1: {\n metrics: SmallMetrics,\n data: ByteAligned\n },\n\n 2: {\n metrics: SmallMetrics,\n data: BitAligned\n },\n\n // format 3 is deprecated\n // format 4 is not supported by Microsoft\n\n 5: {\n data: BitAligned\n },\n\n 6: {\n metrics: BigMetrics,\n data: ByteAligned\n },\n\n 7: {\n metrics: BigMetrics,\n data: BitAligned\n },\n\n 8: {\n metrics: SmallMetrics,\n pad: new r.Reserved(r.uint8),\n numComponents: r.uint16,\n components: new r.Array(EBDTComponent, 'numComponents')\n },\n\n 9: {\n metrics: BigMetrics,\n pad: new r.Reserved(r.uint8),\n numComponents: r.uint16,\n components: new r.Array(EBDTComponent, 'numComponents')\n },\n\n 17: {\n metrics: SmallMetrics,\n dataLen: r.uint32,\n data: new r.Buffer('dataLen')\n },\n\n 18: {\n metrics: BigMetrics,\n dataLen: r.uint32,\n data: new r.Buffer('dataLen')\n },\n\n 19: {\n dataLen: r.uint32,\n data: new r.Buffer('dataLen')\n }\n});\n\n","import * as r from 'restructure';\nimport {BigMetrics} from './EBDT';\n\nlet SBitLineMetrics = new r.Struct({\n ascender: r.int8,\n descender: r.int8,\n widthMax: r.uint8,\n caretSlopeNumerator: r.int8,\n caretSlopeDenominator: r.int8,\n caretOffset: r.int8,\n minOriginSB: r.int8,\n minAdvanceSB: r.int8,\n maxBeforeBL: r.int8,\n minAfterBL: r.int8,\n pad: new r.Reserved(r.int8, 2)\n});\n\nlet CodeOffsetPair = new r.Struct({\n glyphCode: r.uint16,\n offset: r.uint16\n});\n\nlet IndexSubtable = new r.VersionedStruct(r.uint16, {\n header: {\n imageFormat: r.uint16,\n imageDataOffset: r.uint32\n },\n\n 1: {\n offsetArray: new r.Array(r.uint32, t => t.parent.lastGlyphIndex - t.parent.firstGlyphIndex + 1)\n },\n\n 2: {\n imageSize: r.uint32,\n bigMetrics: BigMetrics\n },\n\n 3: {\n offsetArray: new r.Array(r.uint16, t => t.parent.lastGlyphIndex - t.parent.firstGlyphIndex + 1)\n },\n\n 4: {\n numGlyphs: r.uint32,\n glyphArray: new r.Array(CodeOffsetPair, t => t.numGlyphs + 1)\n },\n\n 5: {\n imageSize: r.uint32,\n bigMetrics: BigMetrics,\n numGlyphs: r.uint32,\n glyphCodeArray: new r.Array(r.uint16, 'numGlyphs')\n }\n});\n\nlet IndexSubtableArray = new r.Struct({\n firstGlyphIndex: r.uint16,\n lastGlyphIndex: r.uint16,\n subtable: new r.Pointer(r.uint32, IndexSubtable)\n});\n\nlet BitmapSizeTable = new r.Struct({\n indexSubTableArray: new r.Pointer(r.uint32, new r.Array(IndexSubtableArray, 1), { type: 'parent' }),\n indexTablesSize: r.uint32,\n numberOfIndexSubTables: r.uint32,\n colorRef: r.uint32,\n hori: SBitLineMetrics,\n vert: SBitLineMetrics,\n startGlyphIndex: r.uint16,\n endGlyphIndex: r.uint16,\n ppemX: r.uint8,\n ppemY: r.uint8,\n bitDepth: r.uint8,\n flags: new r.Bitfield(r.uint8, ['horizontal', 'vertical'])\n});\n\nexport default new r.Struct({\n version: r.uint32, // 0x00020000\n numSizes: r.uint32,\n sizes: new r.Array(BitmapSizeTable, 'numSizes')\n});\n","import * as r from 'restructure';\n\nlet ImageTable = new r.Struct({\n ppem: r.uint16,\n resolution: r.uint16,\n imageOffsets: new r.Array(new r.Pointer(r.uint32, 'void'), t => t.parent.parent.maxp.numGlyphs + 1)\n});\n\n// This is the Apple sbix table, used by the \"Apple Color Emoji\" font.\n// It includes several image tables with images for each bitmap glyph\n// of several different sizes.\nexport default new r.Struct({\n version: r.uint16,\n flags: new r.Bitfield(r.uint16, ['renderOutlines']),\n numImgTables: r.uint32,\n imageTables: new r.Array(new r.Pointer(r.uint32, ImageTable), 'numImgTables')\n});\n","import * as r from 'restructure';\n\nlet LayerRecord = new r.Struct({\n gid: r.uint16, // Glyph ID of layer glyph (must be in z-order from bottom to top).\n paletteIndex: r.uint16 // Index value to use in the appropriate palette. This value must\n}); // be less than numPaletteEntries in the CPAL table, except for\n // the special case noted below. Each palette entry is 16 bits.\n // A palette index of 0xFFFF is a special case indicating that\n // the text foreground color should be used.\n\nlet BaseGlyphRecord = new r.Struct({\n gid: r.uint16, // Glyph ID of reference glyph. This glyph is for reference only\n // and is not rendered for color.\n firstLayerIndex: r.uint16, // Index (from beginning of the Layer Records) to the layer record.\n // There will be numLayers consecutive entries for this base glyph.\n numLayers: r.uint16\n});\n\nexport default new r.Struct({\n version: r.uint16,\n numBaseGlyphRecords: r.uint16,\n baseGlyphRecord: new r.Pointer(r.uint32, new r.Array(BaseGlyphRecord, 'numBaseGlyphRecords')),\n layerRecords: new r.Pointer(r.uint32, new r.Array(LayerRecord, 'numLayerRecords'), { lazy: true }),\n numLayerRecords: r.uint16\n});\n","import * as r from 'restructure';\n\nlet ColorRecord = new r.Struct({\n blue: r.uint8,\n green: r.uint8,\n red: r.uint8,\n alpha: r.uint8\n});\n\nexport default new r.VersionedStruct(r.uint16, {\n header: {\n numPaletteEntries: r.uint16,\n numPalettes: r.uint16,\n numColorRecords: r.uint16,\n colorRecords: new r.Pointer(r.uint32, new r.Array(ColorRecord, 'numColorRecords')),\n colorRecordIndices: new r.Array(r.uint16, 'numPalettes'),\n },\n 0: {},\n 1: {\n offsetPaletteTypeArray: new r.Pointer(r.uint32, new r.Array(r.uint32, 'numPalettes')),\n offsetPaletteLabelArray: new r.Pointer(r.uint32, new r.Array(r.uint16, 'numPalettes')),\n offsetPaletteEntryLabelArray: new r.Pointer(r.uint32, new r.Array(r.uint16, 'numPaletteEntries'))\n }\n});\n","import * as r from 'restructure';\nimport {ScriptList, FeatureList, LookupList, Coverage, ClassDef, Device} from './opentype';\nimport {ItemVariationStore} from './variations';\n\nlet BaseCoord = new r.VersionedStruct(r.uint16, {\n 1: { // Design units only\n coordinate: r.int16 // X or Y value, in design units\n },\n\n 2: { // Design units plus contour point\n coordinate: r.int16, // X or Y value, in design units\n referenceGlyph: r.uint16, // GlyphID of control glyph\n baseCoordPoint: r.uint16 // Index of contour point on the referenceGlyph\n },\n\n 3: { // Design units plus Device table\n coordinate: r.int16, // X or Y value, in design units\n deviceTable: new r.Pointer(r.uint16, Device) // Device table for X or Y value\n }\n});\n\nlet BaseValues = new r.Struct({\n defaultIndex: r.uint16, // Index of default baseline for this script-same index in the BaseTagList\n baseCoordCount: r.uint16,\n baseCoords: new r.Array(new r.Pointer(r.uint16, BaseCoord), 'baseCoordCount')\n});\n\nlet FeatMinMaxRecord = new r.Struct({\n tag: new r.String(4), // 4-byte feature identification tag-must match FeatureTag in FeatureList\n minCoord: new r.Pointer(r.uint16, BaseCoord, {type: 'parent'}), // May be NULL\n maxCoord: new r.Pointer(r.uint16, BaseCoord, {type: 'parent'}) // May be NULL\n});\n\nlet MinMax = new r.Struct({\n minCoord: new r.Pointer(r.uint16, BaseCoord), // May be NULL\n maxCoord: new r.Pointer(r.uint16, BaseCoord), // May be NULL\n featMinMaxCount: r.uint16, // May be 0\n featMinMaxRecords: new r.Array(FeatMinMaxRecord, 'featMinMaxCount') // In alphabetical order\n});\n\nlet BaseLangSysRecord = new r.Struct({\n tag: new r.String(4), // 4-byte language system identification tag\n minMax: new r.Pointer(r.uint16, MinMax, {type: 'parent'})\n});\n\nlet BaseScript = new r.Struct({\n baseValues: new r.Pointer(r.uint16, BaseValues), // May be NULL\n defaultMinMax: new r.Pointer(r.uint16, MinMax), // May be NULL\n baseLangSysCount: r.uint16, // May be 0\n baseLangSysRecords: new r.Array(BaseLangSysRecord, 'baseLangSysCount') // in alphabetical order by BaseLangSysTag\n});\n\nlet BaseScriptRecord = new r.Struct({\n tag: new r.String(4), // 4-byte script identification tag\n script: new r.Pointer(r.uint16, BaseScript, {type: 'parent'})\n});\n\nlet BaseScriptList = new r.Array(BaseScriptRecord, r.uint16);\n\n// Array of 4-byte baseline identification tags-must be in alphabetical order\nlet BaseTagList = new r.Array(new r.String(4), r.uint16);\n\nlet Axis = new r.Struct({\n baseTagList: new r.Pointer(r.uint16, BaseTagList), // May be NULL\n baseScriptList: new r.Pointer(r.uint16, BaseScriptList)\n});\n\nexport default new r.VersionedStruct(r.uint32, {\n header: {\n horizAxis: new r.Pointer(r.uint16, Axis), // May be NULL\n vertAxis: new r.Pointer(r.uint16, Axis) // May be NULL\n },\n\n 0x00010000: {},\n 0x00010001: {\n itemVariationStore: new r.Pointer(r.uint32, ItemVariationStore)\n }\n});\n","import * as r from 'restructure';\nimport {ScriptList, FeatureList, LookupList, Coverage, ClassDef, Device} from './opentype';\nimport {ItemVariationStore} from './variations';\n\nlet AttachPoint = new r.Array(r.uint16, r.uint16);\nlet AttachList = new r.Struct({\n coverage: new r.Pointer(r.uint16, Coverage),\n glyphCount: r.uint16,\n attachPoints: new r.Array(new r.Pointer(r.uint16, AttachPoint), 'glyphCount')\n});\n\nlet CaretValue = new r.VersionedStruct(r.uint16, {\n 1: { // Design units only\n coordinate: r.int16\n },\n\n 2: { // Contour point\n caretValuePoint: r.uint16\n },\n\n 3: { // Design units plus Device table\n coordinate: r.int16,\n deviceTable: new r.Pointer(r.uint16, Device)\n }\n});\n\nlet LigGlyph = new r.Array(new r.Pointer(r.uint16, CaretValue), r.uint16);\n\nlet LigCaretList = new r.Struct({\n coverage: new r.Pointer(r.uint16, Coverage),\n ligGlyphCount: r.uint16,\n ligGlyphs: new r.Array(new r.Pointer(r.uint16, LigGlyph), 'ligGlyphCount')\n});\n\nlet MarkGlyphSetsDef = new r.Struct({\n markSetTableFormat: r.uint16,\n markSetCount: r.uint16,\n coverage: new r.Array(new r.Pointer(r.uint32, Coverage), 'markSetCount')\n});\n\nexport default new r.VersionedStruct(r.uint32, {\n header: {\n glyphClassDef: new r.Pointer(r.uint16, ClassDef),\n attachList: new r.Pointer(r.uint16, AttachList),\n ligCaretList: new r.Pointer(r.uint16, LigCaretList),\n markAttachClassDef: new r.Pointer(r.uint16, ClassDef)\n },\n\n 0x00010000: {},\n 0x00010002: {\n markGlyphSetsDef: new r.Pointer(r.uint16, MarkGlyphSetsDef)\n },\n 0x00010003: {\n markGlyphSetsDef: new r.Pointer(r.uint16, MarkGlyphSetsDef),\n itemVariationStore: new r.Pointer(r.uint32, ItemVariationStore)\n }\n});\n","import * as r from 'restructure';\nimport {ScriptList, FeatureList, LookupList, Coverage, ClassDef, Device, Context, ChainingContext} from './opentype';\nimport {FeatureVariations} from './variations';\n\nlet ValueFormat = new r.Bitfield(r.uint16, [\n 'xPlacement', 'yPlacement',\n 'xAdvance', 'yAdvance',\n 'xPlaDevice', 'yPlaDevice',\n 'xAdvDevice', 'yAdvDevice'\n]);\n\nlet types = {\n xPlacement: r.int16,\n yPlacement: r.int16,\n xAdvance: r.int16,\n yAdvance: r.int16,\n xPlaDevice: new r.Pointer(r.uint16, Device, { type: 'global', relativeTo: ctx => ctx.rel }),\n yPlaDevice: new r.Pointer(r.uint16, Device, { type: 'global', relativeTo: ctx => ctx.rel }),\n xAdvDevice: new r.Pointer(r.uint16, Device, { type: 'global', relativeTo: ctx => ctx.rel }),\n yAdvDevice: new r.Pointer(r.uint16, Device, { type: 'global', relativeTo: ctx => ctx.rel })\n};\n\nclass ValueRecord {\n constructor(key = 'valueFormat') {\n this.key = key;\n }\n\n buildStruct(parent) {\n let struct = parent;\n while (!struct[this.key] && struct.parent) {\n struct = struct.parent;\n }\n\n if (!struct[this.key]) return;\n\n let fields = {};\n fields.rel = () => struct._startOffset;\n\n let format = struct[this.key];\n for (let key in format) {\n if (format[key]) {\n fields[key] = types[key];\n }\n }\n\n return new r.Struct(fields);\n }\n\n size(val, ctx) {\n return this.buildStruct(ctx).size(val, ctx);\n }\n\n decode(stream, parent) {\n let res = this.buildStruct(parent).decode(stream, parent);\n delete res.rel;\n return res;\n }\n}\n\nlet PairValueRecord = new r.Struct({\n secondGlyph: r.uint16,\n value1: new ValueRecord('valueFormat1'),\n value2: new ValueRecord('valueFormat2')\n});\n\nlet PairSet = new r.Array(PairValueRecord, r.uint16);\n\nlet Class2Record = new r.Struct({\n value1: new ValueRecord('valueFormat1'),\n value2: new ValueRecord('valueFormat2')\n});\n\nlet Anchor = new r.VersionedStruct(r.uint16, {\n 1: { // Design units only\n xCoordinate: r.int16,\n yCoordinate: r.int16\n },\n\n 2: { // Design units plus contour point\n xCoordinate: r.int16,\n yCoordinate: r.int16,\n anchorPoint: r.uint16\n },\n\n 3: { // Design units plus Device tables\n xCoordinate: r.int16,\n yCoordinate: r.int16,\n xDeviceTable: new r.Pointer(r.uint16, Device),\n yDeviceTable: new r.Pointer(r.uint16, Device)\n }\n});\n\nlet EntryExitRecord = new r.Struct({\n entryAnchor: new r.Pointer(r.uint16, Anchor, {type: 'parent'}),\n exitAnchor: new r.Pointer(r.uint16, Anchor, {type: 'parent'})\n});\n\nlet MarkRecord = new r.Struct({\n class: r.uint16,\n markAnchor: new r.Pointer(r.uint16, Anchor, {type: 'parent'})\n});\n\nlet MarkArray = new r.Array(MarkRecord, r.uint16);\n\nlet BaseRecord = new r.Array(new r.Pointer(r.uint16, Anchor), t => t.parent.classCount);\nlet BaseArray = new r.Array(BaseRecord, r.uint16);\n\nlet ComponentRecord = new r.Array(new r.Pointer(r.uint16, Anchor), t => t.parent.parent.classCount);\nlet LigatureAttach = new r.Array(ComponentRecord, r.uint16);\nlet LigatureArray = new r.Array(new r.Pointer(r.uint16, LigatureAttach), r.uint16);\n\nlet GPOSLookup = new r.VersionedStruct('lookupType', {\n 1: new r.VersionedStruct(r.uint16, { // Single Adjustment\n 1: { // Single positioning value\n coverage: new r.Pointer(r.uint16, Coverage),\n valueFormat: ValueFormat,\n value: new ValueRecord()\n },\n 2: {\n coverage: new r.Pointer(r.uint16, Coverage),\n valueFormat: ValueFormat,\n valueCount: r.uint16,\n values: new r.LazyArray(new ValueRecord(), 'valueCount')\n }\n }),\n\n 2: new r.VersionedStruct(r.uint16, { // Pair Adjustment Positioning\n 1: { // Adjustments for glyph pairs\n coverage: new r.Pointer(r.uint16, Coverage),\n valueFormat1: ValueFormat,\n valueFormat2: ValueFormat,\n pairSetCount: r.uint16,\n pairSets: new r.LazyArray(new r.Pointer(r.uint16, PairSet), 'pairSetCount')\n },\n\n 2: { // Class pair adjustment\n coverage: new r.Pointer(r.uint16, Coverage),\n valueFormat1: ValueFormat,\n valueFormat2: ValueFormat,\n classDef1: new r.Pointer(r.uint16, ClassDef),\n classDef2: new r.Pointer(r.uint16, ClassDef),\n class1Count: r.uint16,\n class2Count: r.uint16,\n classRecords: new r.LazyArray(new r.LazyArray(Class2Record, 'class2Count'), 'class1Count')\n }\n }),\n\n 3: { // Cursive Attachment Positioning\n format: r.uint16,\n coverage: new r.Pointer(r.uint16, Coverage),\n entryExitCount: r.uint16,\n entryExitRecords: new r.Array(EntryExitRecord, 'entryExitCount')\n },\n\n 4: { // MarkToBase Attachment Positioning\n format: r.uint16,\n markCoverage: new r.Pointer(r.uint16, Coverage),\n baseCoverage: new r.Pointer(r.uint16, Coverage),\n classCount: r.uint16,\n markArray: new r.Pointer(r.uint16, MarkArray),\n baseArray: new r.Pointer(r.uint16, BaseArray)\n },\n\n 5: { // MarkToLigature Attachment Positioning\n format: r.uint16,\n markCoverage: new r.Pointer(r.uint16, Coverage),\n ligatureCoverage: new r.Pointer(r.uint16, Coverage),\n classCount: r.uint16,\n markArray: new r.Pointer(r.uint16, MarkArray),\n ligatureArray: new r.Pointer(r.uint16, LigatureArray)\n },\n\n 6: { // MarkToMark Attachment Positioning\n format: r.uint16,\n mark1Coverage: new r.Pointer(r.uint16, Coverage),\n mark2Coverage: new r.Pointer(r.uint16, Coverage),\n classCount: r.uint16,\n mark1Array: new r.Pointer(r.uint16, MarkArray),\n mark2Array: new r.Pointer(r.uint16, BaseArray)\n },\n\n 7: Context, // Contextual positioning\n 8: ChainingContext, // Chaining contextual positioning\n\n 9: { // Extension Positioning\n posFormat: r.uint16,\n lookupType: r.uint16, // cannot also be 9\n extension: new r.Pointer(r.uint32, null)\n }\n});\n\n// Fix circular reference\nGPOSLookup.versions[9].extension.type = GPOSLookup;\n\nexport default new r.VersionedStruct(r.uint32, {\n header: {\n scriptList: new r.Pointer(r.uint16, ScriptList),\n featureList: new r.Pointer(r.uint16, FeatureList),\n lookupList: new r.Pointer(r.uint16, new LookupList(GPOSLookup))\n },\n\n 0x00010000: {},\n 0x00010001: {\n featureVariations: new r.Pointer(r.uint32, FeatureVariations)\n }\n});\n\n// export GPOSLookup for JSTF table\nexport { GPOSLookup };\n","import * as r from 'restructure';\nimport {ScriptList, FeatureList, LookupList, Coverage, ClassDef, Device, Context, ChainingContext} from './opentype';\nimport {FeatureVariations} from './variations';\n\nlet Sequence = new r.Array(r.uint16, r.uint16);\nlet AlternateSet = Sequence;\n\nlet Ligature = new r.Struct({\n glyph: r.uint16,\n compCount: r.uint16,\n components: new r.Array(r.uint16, t => t.compCount - 1)\n});\n\nlet LigatureSet = new r.Array(new r.Pointer(r.uint16, Ligature), r.uint16);\n\nlet GSUBLookup = new r.VersionedStruct('lookupType', {\n 1: new r.VersionedStruct(r.uint16, {// Single Substitution\n 1: {\n coverage: new r.Pointer(r.uint16, Coverage),\n deltaGlyphID: r.int16\n },\n 2: {\n coverage: new r.Pointer(r.uint16, Coverage),\n glyphCount: r.uint16,\n substitute: new r.LazyArray(r.uint16, 'glyphCount')\n }\n }),\n\n 2: { // Multiple Substitution\n substFormat: r.uint16,\n coverage: new r.Pointer(r.uint16, Coverage),\n count: r.uint16,\n sequences: new r.LazyArray(new r.Pointer(r.uint16, Sequence), 'count')\n },\n\n 3: { // Alternate Substitution\n substFormat: r.uint16,\n coverage: new r.Pointer(r.uint16, Coverage),\n count: r.uint16,\n alternateSet: new r.LazyArray(new r.Pointer(r.uint16, AlternateSet), 'count')\n },\n\n 4: { // Ligature Substitution\n substFormat: r.uint16,\n coverage: new r.Pointer(r.uint16, Coverage),\n count: r.uint16,\n ligatureSets: new r.LazyArray(new r.Pointer(r.uint16, LigatureSet), 'count')\n },\n\n 5: Context, // Contextual Substitution\n 6: ChainingContext, // Chaining Contextual Substitution\n\n 7: { // Extension Substitution\n substFormat: r.uint16,\n lookupType: r.uint16, // cannot also be 7\n extension: new r.Pointer(r.uint32, null)\n },\n\n 8: { // Reverse Chaining Contextual Single Substitution\n substFormat: r.uint16,\n coverage: new r.Pointer(r.uint16, Coverage),\n backtrackCoverage: new r.Array(new r.Pointer(r.uint16, Coverage), 'backtrackGlyphCount'),\n lookaheadGlyphCount: r.uint16,\n lookaheadCoverage: new r.Array(new r.Pointer(r.uint16, Coverage), 'lookaheadGlyphCount'),\n glyphCount: r.uint16,\n substitutes: new r.Array(r.uint16, 'glyphCount')\n }\n});\n\n// Fix circular reference\nGSUBLookup.versions[7].extension.type = GSUBLookup;\n\nexport default new r.VersionedStruct(r.uint32, {\n header: {\n scriptList: new r.Pointer(r.uint16, ScriptList),\n featureList: new r.Pointer(r.uint16, FeatureList),\n lookupList: new r.Pointer(r.uint16, new LookupList(GSUBLookup))\n },\n\n 0x00010000: {},\n 0x00010001: {\n featureVariations: new r.Pointer(r.uint32, FeatureVariations)\n }\n});\n","import * as r from 'restructure';\nimport { ScriptList, FeatureList, LookupList, Coverage, ClassDef, Device } from './opentype';\nimport { GPOSLookup } from './GPOS';\n\nlet JstfGSUBModList = new r.Array(r.uint16, r.uint16);\n\nlet JstfPriority = new r.Struct({\n shrinkageEnableGSUB: new r.Pointer(r.uint16, JstfGSUBModList),\n shrinkageDisableGSUB: new r.Pointer(r.uint16, JstfGSUBModList),\n shrinkageEnableGPOS: new r.Pointer(r.uint16, JstfGSUBModList),\n shrinkageDisableGPOS: new r.Pointer(r.uint16, JstfGSUBModList),\n shrinkageJstfMax: new r.Pointer(r.uint16, new LookupList(GPOSLookup)),\n extensionEnableGSUB: new r.Pointer(r.uint16, JstfGSUBModList),\n extensionDisableGSUB: new r.Pointer(r.uint16, JstfGSUBModList),\n extensionEnableGPOS: new r.Pointer(r.uint16, JstfGSUBModList),\n extensionDisableGPOS: new r.Pointer(r.uint16, JstfGSUBModList),\n extensionJstfMax: new r.Pointer(r.uint16, new LookupList(GPOSLookup))\n});\n\nlet JstfLangSys = new r.Array(new r.Pointer(r.uint16, JstfPriority), r.uint16);\n\nlet JstfLangSysRecord = new r.Struct({\n tag: new r.String(4),\n jstfLangSys: new r.Pointer(r.uint16, JstfLangSys)\n});\n\nlet JstfScript = new r.Struct({\n extenderGlyphs: new r.Pointer(r.uint16, new r.Array(r.uint16, r.uint16)), // array of glyphs to extend line length\n defaultLangSys: new r.Pointer(r.uint16, JstfLangSys),\n langSysCount: r.uint16,\n langSysRecords: new r.Array(JstfLangSysRecord, 'langSysCount')\n});\n\nlet JstfScriptRecord = new r.Struct({\n tag: new r.String(4),\n script: new r.Pointer(r.uint16, JstfScript, {type: 'parent'})\n});\n\nexport default new r.Struct({\n version: r.uint32, // should be 0x00010000\n scriptCount: r.uint16,\n scriptList: new r.Array(JstfScriptRecord, 'scriptCount')\n});\n","import * as r from 'restructure';\nimport { resolveLength } from 'restructure';\nimport { ItemVariationStore } from './variations';\n\n// TODO: add this to restructure\nclass VariableSizeNumber {\n constructor(size) {\n this._size = size;\n }\n\n decode(stream, parent) {\n switch (this.size(0, parent)) {\n case 1: return stream.readUInt8();\n case 2: return stream.readUInt16BE();\n case 3: return stream.readUInt24BE();\n case 4: return stream.readUInt32BE();\n }\n }\n\n size(val, parent) {\n return resolveLength(this._size, null, parent);\n }\n}\n\nlet MapDataEntry = new r.Struct({\n entry: new VariableSizeNumber(t => ((t.parent.entryFormat & 0x0030) >> 4) + 1),\n outerIndex: t => t.entry >> ((t.parent.entryFormat & 0x000F) + 1),\n innerIndex: t => t.entry & ((1 << ((t.parent.entryFormat & 0x000F) + 1)) - 1)\n});\n\nlet DeltaSetIndexMap = new r.Struct({\n entryFormat: r.uint16,\n mapCount: r.uint16,\n mapData: new r.Array(MapDataEntry, 'mapCount')\n});\n\nexport default new r.Struct({\n majorVersion: r.uint16,\n minorVersion: r.uint16,\n itemVariationStore: new r.Pointer(r.uint32, ItemVariationStore),\n advanceWidthMapping: new r.Pointer(r.uint32, DeltaSetIndexMap),\n LSBMapping: new r.Pointer(r.uint32, DeltaSetIndexMap),\n RSBMapping: new r.Pointer(r.uint32, DeltaSetIndexMap)\n});\n","import * as r from 'restructure';\n\nlet Signature = new r.Struct({\n format: r.uint32,\n length: r.uint32,\n offset: r.uint32\n});\n\nlet SignatureBlock = new r.Struct({\n reserved: new r.Reserved(r.uint16, 2),\n cbSignature: r.uint32, // Length (in bytes) of the PKCS#7 packet in pbSignature\n signature: new r.Buffer('cbSignature')\n});\n\nexport default new r.Struct({\n ulVersion: r.uint32, // Version number of the DSIG table (0x00000001)\n usNumSigs: r.uint16, // Number of signatures in the table\n usFlag: r.uint16, // Permission flags\n signatures: new r.Array(Signature, 'usNumSigs'),\n signatureBlocks: new r.Array(SignatureBlock, 'usNumSigs')\n});\n","import * as r from 'restructure';\n\nlet GaspRange = new r.Struct({\n rangeMaxPPEM: r.uint16, // Upper limit of range, in ppem\n rangeGaspBehavior: new r.Bitfield(r.uint16, [ // Flags describing desired rasterizer behavior\n 'grayscale', 'gridfit',\n 'symmetricSmoothing', 'symmetricGridfit' // only in version 1, for ClearType\n ])\n});\n\nexport default new r.Struct({\n version: r.uint16, // set to 0\n numRanges: r.uint16,\n gaspRanges: new r.Array(GaspRange, 'numRanges') // Sorted by ppem\n});\n","import * as r from 'restructure';\n\nlet DeviceRecord = new r.Struct({\n pixelSize: r.uint8,\n maximumWidth: r.uint8,\n widths: new r.Array(r.uint8, t => t.parent.parent.maxp.numGlyphs)\n});\n\n// The Horizontal Device Metrics table stores integer advance widths scaled to particular pixel sizes\nexport default new r.Struct({\n version: r.uint16,\n numRecords: r.int16,\n sizeDeviceRecord: r.int32,\n records: new r.Array(DeviceRecord, 'numRecords')\n});\n","import * as r from 'restructure';\n\nlet KernPair = new r.Struct({\n left: r.uint16,\n right: r.uint16,\n value: r.int16\n});\n\nlet ClassTable = new r.Struct({\n firstGlyph: r.uint16,\n nGlyphs: r.uint16,\n offsets: new r.Array(r.uint16, 'nGlyphs'),\n max: t => t.offsets.length && Math.max.apply(Math, t.offsets)\n});\n\nlet Kern2Array = new r.Struct({\n off: t => t._startOffset - t.parent.parent._startOffset,\n len: t => (((t.parent.leftTable.max - t.off) / t.parent.rowWidth) + 1) * (t.parent.rowWidth / 2),\n values: new r.LazyArray(r.int16, 'len')\n});\n\nlet KernSubtable = new r.VersionedStruct('format', {\n 0: {\n nPairs: r.uint16,\n searchRange: r.uint16,\n entrySelector: r.uint16,\n rangeShift: r.uint16,\n pairs: new r.Array(KernPair, 'nPairs')\n },\n\n 2: {\n rowWidth: r.uint16,\n leftTable: new r.Pointer(r.uint16, ClassTable, {type: 'parent'}),\n rightTable: new r.Pointer(r.uint16, ClassTable, {type: 'parent'}),\n array: new r.Pointer(r.uint16, Kern2Array, {type: 'parent'})\n },\n\n 3: {\n glyphCount: r.uint16,\n kernValueCount: r.uint8,\n leftClassCount: r.uint8,\n rightClassCount: r.uint8,\n flags: r.uint8,\n kernValue: new r.Array(r.int16, 'kernValueCount'),\n leftClass: new r.Array(r.uint8, 'glyphCount'),\n rightClass: new r.Array(r.uint8, 'glyphCount'),\n kernIndex: new r.Array(r.uint8, t => t.leftClassCount * t.rightClassCount)\n }\n});\n\nlet KernTable = new r.VersionedStruct('version', {\n 0: { // Microsoft uses this format\n subVersion: r.uint16, // Microsoft has an extra sub-table version number\n length: r.uint16, // Length of the subtable, in bytes\n format: r.uint8, // Format of subtable\n coverage: new r.Bitfield(r.uint8, [\n 'horizontal', // 1 if table has horizontal data, 0 if vertical\n 'minimum', // If set to 1, the table has minimum values. If set to 0, the table has kerning values.\n 'crossStream', // If set to 1, kerning is perpendicular to the flow of the text\n 'override' // If set to 1 the value in this table replaces the accumulated value\n ]),\n subtable: KernSubtable,\n padding: new r.Reserved(r.uint8, t => t.length - t._currentOffset)\n },\n 1: { // Apple uses this format\n length: r.uint32,\n coverage: new r.Bitfield(r.uint8, [\n null, null, null, null, null,\n 'variation', // Set if table has variation kerning values\n 'crossStream', // Set if table has cross-stream kerning values\n 'vertical' // Set if table has vertical kerning values\n ]),\n format: r.uint8,\n tupleIndex: r.uint16,\n subtable: KernSubtable,\n padding: new r.Reserved(r.uint8, t => t.length - t._currentOffset)\n }\n});\n\nexport default new r.VersionedStruct(r.uint16, {\n 0: { // Microsoft Version\n nTables: r.uint16,\n tables: new r.Array(KernTable, 'nTables')\n },\n\n 1: { // Apple Version\n reserved: new r.Reserved(r.uint16), // the other half of the version number\n nTables: r.uint32,\n tables: new r.Array(KernTable, 'nTables')\n }\n});\n","import * as r from 'restructure';\n\n// Linear Threshold table\n// Records the ppem for each glyph at which the scaling becomes linear again,\n// despite instructions effecting the advance width\nexport default new r.Struct({\n version: r.uint16,\n numGlyphs: r.uint16,\n yPels: new r.Array(r.uint8, 'numGlyphs')\n});\n","import * as r from 'restructure';\n\n// PCL 5 Table\n// NOTE: The PCLT table is strongly discouraged for OpenType fonts with TrueType outlines\nexport default new r.Struct({\n version: r.uint16,\n fontNumber: r.uint32,\n pitch: r.uint16,\n xHeight: r.uint16,\n style: r.uint16,\n typeFamily: r.uint16,\n capHeight: r.uint16,\n symbolSet: r.uint16,\n typeface: new r.String(16),\n characterComplement: new r.String(8),\n fileName: new r.String(6),\n strokeWeight: new r.String(1),\n widthType: new r.String(1),\n serifStyle: r.uint8,\n reserved: new r.Reserved(r.uint8)\n});\n","import * as r from 'restructure';\n\n// VDMX tables contain ascender/descender overrides for certain (usually small)\n// sizes. This is needed in order to match font metrics on Windows.\n\nlet Ratio = new r.Struct({\n bCharSet: r.uint8, // Character set\n xRatio: r.uint8, // Value to use for x-Ratio\n yStartRatio: r.uint8, // Starting y-Ratio value\n yEndRatio: r.uint8 // Ending y-Ratio value\n});\n\nlet vTable = new r.Struct({\n yPelHeight: r.uint16, // yPelHeight to which values apply\n yMax: r.int16, // Maximum value (in pels) for this yPelHeight\n yMin: r.int16 // Minimum value (in pels) for this yPelHeight\n});\n\nlet VdmxGroup = new r.Struct({\n recs: r.uint16, // Number of height records in this group\n startsz: r.uint8, // Starting yPelHeight\n endsz: r.uint8, // Ending yPelHeight\n entries: new r.Array(vTable, 'recs') // The VDMX records\n});\n\nexport default new r.Struct({\n version: r.uint16, // Version number (0 or 1)\n numRecs: r.uint16, // Number of VDMX groups present\n numRatios: r.uint16, // Number of aspect ratio groupings\n ratioRanges: new r.Array(Ratio, 'numRatios'), // Ratio ranges\n offsets: new r.Array(r.uint16, 'numRatios'), // Offset to the VDMX group for this ratio range\n groups: new r.Array(VdmxGroup, 'numRecs') // The actual VDMX groupings\n});\n","import * as r from 'restructure';\n\n// Vertical Header Table\nexport default new r.Struct({\n version: r.uint16, // Version number of the Vertical Header Table\n ascent: r.int16, // The vertical typographic ascender for this font\n descent: r.int16, // The vertical typographic descender for this font\n lineGap: r.int16, // The vertical typographic line gap for this font\n advanceHeightMax: r.int16, // The maximum advance height measurement found in the font\n minTopSideBearing: r.int16, // The minimum top side bearing measurement found in the font\n minBottomSideBearing: r.int16, // The minimum bottom side bearing measurement found in the font\n yMaxExtent: r.int16,\n caretSlopeRise: r.int16, // Caret slope (rise/run)\n caretSlopeRun: r.int16,\n caretOffset: r.int16, // Set value equal to 0 for nonslanted fonts\n reserved: new r.Reserved(r.int16, 4),\n metricDataFormat: r.int16, // Set to 0\n numberOfMetrics: r.uint16 // Number of advance heights in the Vertical Metrics table\n});\n","import * as r from 'restructure';\n\nlet VmtxEntry = new r.Struct({\n advance: r.uint16, // The advance height of the glyph\n bearing: r.int16 // The top sidebearing of the glyph\n});\n\n// Vertical Metrics Table\nexport default new r.Struct({\n metrics: new r.LazyArray(VmtxEntry, t => t.parent.vhea.numberOfMetrics),\n bearings: new r.LazyArray(r.int16, t => t.parent.maxp.numGlyphs - t.parent.vhea.numberOfMetrics)\n});\n","import * as r from 'restructure';\n\nlet shortFrac = new r.Fixed(16, 'BE', 14);\n\nlet Correspondence = new r.Struct({\n fromCoord: shortFrac,\n toCoord: shortFrac\n});\n\nlet Segment = new r.Struct({\n pairCount: r.uint16,\n correspondence: new r.Array(Correspondence, 'pairCount')\n});\n\nexport default new r.Struct({\n version: r.fixed32,\n axisCount: r.uint32,\n segment: new r.Array(Segment, 'axisCount')\n});\n","import * as r from 'restructure';\n\nclass UnboundedArrayAccessor {\n constructor(type, stream, parent) {\n this.type = type;\n this.stream = stream;\n this.parent = parent;\n this.base = this.stream.pos;\n this._items = [];\n }\n\n getItem(index) {\n if (this._items[index] == null) {\n let pos = this.stream.pos;\n this.stream.pos = this.base + this.type.size(null, this.parent) * index;\n this._items[index] = this.type.decode(this.stream, this.parent);\n this.stream.pos = pos;\n }\n\n return this._items[index];\n }\n\n inspect() {\n return `[UnboundedArray ${this.type.constructor.name}]`;\n }\n}\n\nexport class UnboundedArray extends r.Array {\n constructor(type) {\n super(type, 0);\n }\n\n decode(stream, parent) {\n return new UnboundedArrayAccessor(this.type, stream, parent);\n }\n}\n\nexport let LookupTable = function(ValueType = r.uint16) {\n // Helper class that makes internal structures invisible to pointers\n class Shadow {\n constructor(type) {\n this.type = type;\n }\n\n decode(stream, ctx) {\n ctx = ctx.parent.parent;\n return this.type.decode(stream, ctx);\n }\n\n size(val, ctx) {\n ctx = ctx.parent.parent;\n return this.type.size(val, ctx);\n }\n\n encode(stream, val, ctx) {\n ctx = ctx.parent.parent;\n return this.type.encode(stream, val, ctx);\n }\n }\n\n ValueType = new Shadow(ValueType);\n\n let BinarySearchHeader = new r.Struct({\n unitSize: r.uint16,\n nUnits: r.uint16,\n searchRange: r.uint16,\n entrySelector: r.uint16,\n rangeShift: r.uint16\n });\n\n let LookupSegmentSingle = new r.Struct({\n lastGlyph: r.uint16,\n firstGlyph: r.uint16,\n value: ValueType\n });\n\n let LookupSegmentArray = new r.Struct({\n lastGlyph: r.uint16,\n firstGlyph: r.uint16,\n values: new r.Pointer(r.uint16, new r.Array(ValueType, t => t.lastGlyph - t.firstGlyph + 1), {type: 'parent'})\n });\n\n let LookupSingle = new r.Struct({\n glyph: r.uint16,\n value: ValueType\n });\n\n return new r.VersionedStruct(r.uint16, {\n 0: {\n values: new UnboundedArray(ValueType) // length == number of glyphs maybe?\n },\n 2: {\n binarySearchHeader: BinarySearchHeader,\n segments: new r.Array(LookupSegmentSingle, t => t.binarySearchHeader.nUnits)\n },\n 4: {\n binarySearchHeader: BinarySearchHeader,\n segments: new r.Array(LookupSegmentArray, t => t.binarySearchHeader.nUnits)\n },\n 6: {\n binarySearchHeader: BinarySearchHeader,\n segments: new r.Array(LookupSingle, t => t.binarySearchHeader.nUnits)\n },\n 8: {\n firstGlyph: r.uint16,\n count: r.uint16,\n values: new r.Array(ValueType, 'count')\n }\n });\n};\n\nexport function StateTable(entryData = {}, lookupType = r.uint16) {\n let entry = Object.assign({\n newState: r.uint16,\n flags: r.uint16\n }, entryData);\n\n let Entry = new r.Struct(entry);\n let StateArray = new UnboundedArray(new r.Array(r.uint16, t => t.nClasses));\n\n let StateHeader = new r.Struct({\n nClasses: r.uint32,\n classTable: new r.Pointer(r.uint32, new LookupTable(lookupType)),\n stateArray: new r.Pointer(r.uint32, StateArray),\n entryTable: new r.Pointer(r.uint32, new UnboundedArray(Entry))\n });\n\n return StateHeader;\n}\n\n// This is the old version of the StateTable structure\nexport function StateTable1(entryData = {}, lookupType = r.uint16) {\n let ClassLookupTable = new r.Struct({\n version() { return 8; }, // simulate LookupTable\n firstGlyph: r.uint16,\n values: new r.Array(r.uint8, r.uint16)\n });\n\n let entry = Object.assign({\n newStateOffset: r.uint16,\n // convert offset to stateArray index\n newState: t => (t.newStateOffset - (t.parent.stateArray.base - t.parent._startOffset)) / t.parent.nClasses,\n flags: r.uint16\n }, entryData);\n\n let Entry = new r.Struct(entry);\n let StateArray = new UnboundedArray(new r.Array(r.uint8, t => t.nClasses));\n\n let StateHeader1 = new r.Struct({\n nClasses: r.uint16,\n classTable: new r.Pointer(r.uint16, ClassLookupTable),\n stateArray: new r.Pointer(r.uint16, StateArray),\n entryTable: new r.Pointer(r.uint16, new UnboundedArray(Entry))\n });\n\n return StateHeader1;\n}\n","import * as r from 'restructure';\nimport { LookupTable } from './aat';\n\nlet BslnSubtable = new r.VersionedStruct('format', {\n 0: { // Distance-based, no mapping\n deltas: new r.Array(r.int16, 32)\n },\n\n 1: { // Distance-based, with mapping\n deltas: new r.Array(r.int16, 32),\n mappingData: new LookupTable(r.uint16)\n },\n\n 2: { // Control point-based, no mapping\n standardGlyph: r.uint16,\n controlPoints: new r.Array(r.uint16, 32)\n },\n\n 3: { // Control point-based, with mapping\n standardGlyph: r.uint16,\n controlPoints: new r.Array(r.uint16, 32),\n mappingData: new LookupTable(r.uint16)\n }\n});\n\nexport default new r.Struct({\n version: r.fixed32,\n format: r.uint16,\n defaultBaseline: r.uint16,\n subtable: BslnSubtable\n});\n","import * as r from 'restructure';\n\nlet Setting = new r.Struct({\n setting: r.uint16,\n nameIndex: r.int16,\n name: t => t.parent.parent.parent.name.records.fontFeatures[t.nameIndex]\n});\n\nlet FeatureName = new r.Struct({\n feature: r.uint16,\n nSettings: r.uint16,\n settingTable: new r.Pointer(r.uint32, new r.Array(Setting, 'nSettings'), { type: 'parent' }),\n featureFlags: new r.Bitfield(r.uint8, [\n null, null, null, null, null, null,\n 'hasDefault', 'exclusive'\n ]),\n defaultSetting: r.uint8,\n nameIndex: r.int16,\n name: t => t.parent.parent.name.records.fontFeatures[t.nameIndex]\n});\n\nexport default new r.Struct({\n version: r.fixed32,\n featureNameCount: r.uint16,\n reserved1: new r.Reserved(r.uint16),\n reserved2: new r.Reserved(r.uint32),\n featureNames: new r.Array(FeatureName, 'featureNameCount')\n});\n","import * as r from 'restructure';\n\nlet Axis = new r.Struct({\n axisTag: new r.String(4),\n minValue: r.fixed32,\n defaultValue: r.fixed32,\n maxValue: r.fixed32,\n flags: r.uint16,\n nameID: r.uint16,\n name: t => t.parent.parent.name.records.fontFeatures[t.nameID]\n});\n\nlet Instance = new r.Struct({\n nameID: r.uint16,\n name: t => t.parent.parent.name.records.fontFeatures[t.nameID],\n flags: r.uint16,\n coord: new r.Array(r.fixed32, t => t.parent.axisCount),\n postscriptNameID: new r.Optional(r.uint16, t => t.parent.instanceSize - t._currentOffset > 0)\n});\n\nexport default new r.Struct({\n version: r.fixed32,\n offsetToData: r.uint16,\n countSizePairs: r.uint16,\n axisCount: r.uint16,\n axisSize: r.uint16,\n instanceCount: r.uint16,\n instanceSize: r.uint16,\n axis: new r.Array(Axis, 'axisCount'),\n instance: new r.Array(Instance, 'instanceCount')\n});\n","import * as r from 'restructure';\n\nlet shortFrac = new r.Fixed(16, 'BE', 14);\nclass Offset {\n static decode(stream, parent) {\n // In short format, offsets are multiplied by 2.\n // This doesn't seem to be documented by Apple, but it\n // is implemented this way in Freetype.\n return parent.flags\n ? stream.readUInt32BE()\n : stream.readUInt16BE() * 2;\n }\n}\n\nlet gvar = new r.Struct({\n version: r.uint16,\n reserved: new r.Reserved(r.uint16),\n axisCount: r.uint16,\n globalCoordCount: r.uint16,\n globalCoords: new r.Pointer(r.uint32, new r.Array(new r.Array(shortFrac, 'axisCount'), 'globalCoordCount')),\n glyphCount: r.uint16,\n flags: r.uint16,\n offsetToData: r.uint32,\n offsets: new r.Array(new r.Pointer(Offset, 'void', { relativeTo: ctx => ctx.offsetToData, allowNull: false }), t => t.glyphCount + 1)\n});\n\nexport default gvar;\n","import * as r from 'restructure';\nimport { LookupTable, StateTable1 } from './aat';\n\nlet ClassTable = new r.Struct({\n length: r.uint16,\n coverage: r.uint16,\n subFeatureFlags: r.uint32,\n stateTable: new StateTable1\n});\n\nlet WidthDeltaRecord = new r.Struct({\n justClass: r.uint32,\n beforeGrowLimit: r.fixed32,\n beforeShrinkLimit: r.fixed32,\n afterGrowLimit: r.fixed32,\n afterShrinkLimit: r.fixed32,\n growFlags: r.uint16,\n shrinkFlags: r.uint16\n});\n\nlet WidthDeltaCluster = new r.Array(WidthDeltaRecord, r.uint32);\n\nlet ActionData = new r.VersionedStruct('actionType', {\n 0: { // Decomposition action\n lowerLimit: r.fixed32,\n upperLimit: r.fixed32,\n order: r.uint16,\n glyphs: new r.Array(r.uint16, r.uint16)\n },\n\n 1: { // Unconditional add glyph action\n addGlyph: r.uint16\n },\n\n 2: { // Conditional add glyph action\n substThreshold: r.fixed32,\n addGlyph: r.uint16,\n substGlyph: r.uint16\n },\n\n 3: {}, // Stretch glyph action (no data, not supported by CoreText)\n\n 4: { // Ductile glyph action (not supported by CoreText)\n variationAxis: r.uint32,\n minimumLimit: r.fixed32,\n noStretchValue: r.fixed32,\n maximumLimit: r.fixed32\n },\n\n 5: { // Repeated add glyph action\n flags: r.uint16,\n glyph: r.uint16\n }\n});\n\nlet Action = new r.Struct({\n actionClass: r.uint16,\n actionType: r.uint16,\n actionLength: r.uint32,\n actionData: ActionData,\n padding: new r.Reserved(r.uint8, t => t.actionLength - t._currentOffset)\n});\n\nlet PostcompensationAction = new r.Array(Action, r.uint32);\nlet PostCompensationTable = new r.Struct({\n lookupTable: new LookupTable(new r.Pointer(r.uint16, PostcompensationAction))\n});\n\nlet JustificationTable = new r.Struct({\n classTable: new r.Pointer(r.uint16, ClassTable, { type: 'parent' }),\n wdcOffset: r.uint16,\n postCompensationTable: new r.Pointer(r.uint16, PostCompensationTable, { type: 'parent' }),\n widthDeltaClusters: new LookupTable(new r.Pointer(r.uint16, WidthDeltaCluster, { type: 'parent', relativeTo: ctx => ctx.wdcOffset }))\n});\n\nexport default new r.Struct({\n version: r.uint32,\n format: r.uint16,\n horizontal: new r.Pointer(r.uint16, JustificationTable),\n vertical: new r.Pointer(r.uint16, JustificationTable)\n});\n","import * as r from 'restructure';\nimport { UnboundedArray, LookupTable, StateTable } from './aat';\n\nlet LigatureData = {\n action: r.uint16\n};\n\nlet ContextualData = {\n markIndex: r.uint16,\n currentIndex: r.uint16\n};\n\nlet InsertionData = {\n currentInsertIndex: r.uint16,\n markedInsertIndex: r.uint16\n};\n\nlet SubstitutionTable = new r.Struct({\n items: new UnboundedArray(new r.Pointer(r.uint32, new LookupTable))\n});\n\nlet SubtableData = new r.VersionedStruct('type', {\n 0: { // Indic Rearrangement Subtable\n stateTable: new StateTable\n },\n\n 1: { // Contextual Glyph Substitution Subtable\n stateTable: new StateTable(ContextualData),\n substitutionTable: new r.Pointer(r.uint32, SubstitutionTable)\n },\n\n 2: { // Ligature subtable\n stateTable: new StateTable(LigatureData),\n ligatureActions: new r.Pointer(r.uint32, new UnboundedArray(r.uint32)),\n components: new r.Pointer(r.uint32, new UnboundedArray(r.uint16)),\n ligatureList: new r.Pointer(r.uint32, new UnboundedArray(r.uint16))\n },\n\n 4: { // Non-contextual Glyph Substitution Subtable\n lookupTable: new LookupTable\n },\n\n 5: { // Glyph Insertion Subtable\n stateTable: new StateTable(InsertionData),\n insertionActions: new r.Pointer(r.uint32, new UnboundedArray(r.uint16))\n }\n});\n\nlet Subtable = new r.Struct({\n length: r.uint32,\n coverage: r.uint24,\n type: r.uint8,\n subFeatureFlags: r.uint32,\n table: SubtableData,\n padding: new r.Reserved(r.uint8, t => t.length - t._currentOffset)\n});\n\nlet FeatureEntry = new r.Struct({\n featureType: r.uint16,\n featureSetting: r.uint16,\n enableFlags: r.uint32,\n disableFlags: r.uint32\n});\n\nlet MorxChain = new r.Struct({\n defaultFlags: r.uint32,\n chainLength: r.uint32,\n nFeatureEntries: r.uint32,\n nSubtables: r.uint32,\n features: new r.Array(FeatureEntry, 'nFeatureEntries'),\n subtables: new r.Array(Subtable, 'nSubtables')\n});\n\nexport default new r.Struct({\n version: r.uint16,\n unused: new r.Reserved(r.uint16),\n nChains: r.uint32,\n chains: new r.Array(MorxChain, 'nChains')\n});\n","import * as r from 'restructure';\nimport { LookupTable } from './aat';\n\nlet OpticalBounds = new r.Struct({\n left: r.int16,\n top: r.int16,\n right: r.int16,\n bottom: r.int16\n});\n\nexport default new r.Struct({\n version: r.fixed32,\n format: r.uint16,\n lookupTable: new LookupTable(OpticalBounds)\n});\n","let tables = {};\nexport default tables;\n\n// Required Tables\nimport cmap from './cmap';\nimport head from './head';\nimport hhea from './hhea';\nimport hmtx from './hmtx';\nimport maxp from './maxp';\nimport name from './name';\nimport OS2 from './OS2';\nimport post from './post';\n\ntables.cmap = cmap;\ntables.head = head;\ntables.hhea = hhea;\ntables.hmtx = hmtx;\ntables.maxp = maxp;\ntables.name = name;\ntables['OS/2'] = OS2;\ntables.post = post;\n\n\n// TrueType Outlines\nimport cvt from './cvt';\nimport fpgm from './fpgm';\nimport loca from './loca';\nimport prep from './prep';\nimport glyf from './glyf';\n\ntables.fpgm = fpgm;\ntables.loca = loca;\ntables.prep = prep;\ntables['cvt '] = cvt;\ntables.glyf = glyf;\n\n\n// PostScript Outlines\nimport CFFFont from '../cff/CFFFont';\nimport VORG from './VORG';\n\ntables['CFF '] = CFFFont;\ntables['CFF2'] = CFFFont;\ntables.VORG = VORG;\n\n\n// Bitmap Glyphs\nimport EBLC from './EBLC';\nimport sbix from './sbix';\nimport COLR from './COLR';\nimport CPAL from './CPAL';\n\ntables.EBLC = EBLC;\ntables.CBLC = tables.EBLC;\ntables.sbix = sbix;\ntables.COLR = COLR;\ntables.CPAL = CPAL;\n\n\n// Advanced OpenType Tables\nimport BASE from './BASE';\nimport GDEF from './GDEF';\nimport GPOS from './GPOS';\nimport GSUB from './GSUB';\nimport JSTF from './JSTF';\n\ntables.BASE = BASE;\ntables.GDEF = GDEF;\ntables.GPOS = GPOS;\ntables.GSUB = GSUB;\ntables.JSTF = JSTF;\n\n// OpenType variations tables\nimport HVAR from './HVAR';\n\ntables.HVAR = HVAR;\n\n// Other OpenType Tables\nimport DSIG from './DSIG';\nimport gasp from './gasp';\nimport hdmx from './hdmx';\nimport kern from './kern';\nimport LTSH from './LTSH';\nimport PCLT from './PCLT';\nimport VDMX from './VDMX';\nimport vhea from './vhea';\nimport vmtx from './vmtx';\n\ntables.DSIG = DSIG;\ntables.gasp = gasp;\ntables.hdmx = hdmx;\ntables.kern = kern;\ntables.LTSH = LTSH;\ntables.PCLT = PCLT;\ntables.VDMX = VDMX;\ntables.vhea = vhea;\ntables.vmtx = vmtx;\n\n\n// Apple Advanced Typography Tables\nimport avar from './avar';\nimport bsln from './bsln';\nimport feat from './feat';\nimport fvar from './fvar';\nimport gvar from './gvar';\nimport just from './just';\nimport morx from './morx';\nimport opbd from './opbd';\n\ntables.avar = avar;\ntables.bsln = bsln;\ntables.feat = feat;\ntables.fvar = fvar;\ntables.gvar = gvar;\ntables.just = just;\ntables.morx = morx;\ntables.opbd = opbd;\n","import * as r from 'restructure';\nimport Tables from './';\n\nlet TableEntry = new r.Struct({\n tag: new r.String(4),\n checkSum: r.uint32,\n offset: new r.Pointer(r.uint32, 'void', { type: 'global' }),\n length: r.uint32\n});\n\nlet Directory = new r.Struct({\n tag: new r.String(4),\n numTables: r.uint16,\n searchRange: r.uint16,\n entrySelector: r.uint16,\n rangeShift: r.uint16,\n tables: new r.Array(TableEntry, 'numTables')\n});\n\nDirectory.process = function() {\n let tables = {};\n for (let table of this.tables) {\n tables[table.tag] = table;\n }\n\n this.tables = tables;\n};\n\nDirectory.preEncode = function() {\n if (!Array.isArray(this.tables)) {\n let tables = [];\n for (let tag in this.tables) {\n let table = this.tables[tag];\n if (table) {\n tables.push({\n tag: tag,\n checkSum: 0,\n offset: new r.VoidPointer(Tables[tag], table),\n length: Tables[tag].size(table)\n });\n }\n }\n \n this.tables = tables;\n }\n\n this.tag = 'true';\n this.numTables = this.tables.length;\n\n let maxExponentFor2 = Math.floor((Math.log(this.numTables) / Math.LN2));\n let maxPowerOf2 = Math.pow(2, maxExponentFor2);\n\n this.searchRange = maxPowerOf2 * 16;\n this.entrySelector = Math.log(maxPowerOf2) / Math.LN2;\n this.rangeShift = this.numTables * 16 - this.searchRange;\n};\n\nexport default Directory;\n","export function binarySearch(arr, cmp) {\n let min = 0;\n let max = arr.length - 1;\n while (min <= max) {\n let mid = (min + max) >> 1;\n let res = cmp(arr[mid]);\n\n if (res < 0) {\n max = mid - 1;\n } else if (res > 0) {\n min = mid + 1;\n } else {\n return mid;\n }\n }\n\n return -1;\n}\n\nexport function range(index, end) {\n let range = [];\n while (index < end) {\n range.push(index++);\n }\n return range;\n}\n\nexport const asciiDecoder = new TextDecoder('ascii');\n\n// Based on https://github.com/niklasvh/base64-arraybuffer. MIT license.\nconst CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nconst LOOKUP = new Uint8Array(256);\nfor (let i = 0; i < CHARS.length; i++) {\n LOOKUP[CHARS.charCodeAt(i)] = i;\n}\n\nexport function decodeBase64(base64) {\n let bufferLength = base64.length * 0.75;\n\n if (base64[base64.length - 1] === '=') {\n bufferLength--;\n if (base64[base64.length - 2] === '=') {\n bufferLength--;\n }\n }\n\n let bytes = new Uint8Array(bufferLength);\n let p = 0;\n\n for (let i = 0, len = base64.length; i < len; i += 4) {\n let encoded1 = LOOKUP[base64.charCodeAt(i)];\n let encoded2 = LOOKUP[base64.charCodeAt(i + 1)];\n let encoded3 = LOOKUP[base64.charCodeAt(i + 2)];\n let encoded4 = LOOKUP[base64.charCodeAt(i + 3)];\n\n bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);\n bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);\n bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);\n }\n\n return bytes;\n}\n","import { binarySearch } from './utils';\nimport { encodingExists, getEncoding, getEncodingMapping } from './encodings';\nimport { cache } from './decorators';\nimport { range } from './utils';\n\nexport default class CmapProcessor {\n constructor(cmapTable) {\n // Attempt to find a Unicode cmap first\n this.encoding = null;\n this.cmap = this.findSubtable(cmapTable, [\n // 32-bit subtables\n [3, 10],\n [0, 6],\n [0, 4],\n\n // 16-bit subtables\n [3, 1],\n [0, 3],\n [0, 2],\n [0, 1],\n [0, 0]\n ]);\n\n // If not unicode cmap was found, take the first table with a supported encoding.\n if (!this.cmap) {\n for (let cmap of cmapTable.tables) {\n let encoding = getEncoding(cmap.platformID, cmap.encodingID, cmap.table.language - 1);\n let mapping = getEncodingMapping(encoding);\n if (mapping) {\n this.cmap = cmap.table;\n this.encoding = mapping;\n }\n }\n }\n\n if (!this.cmap) {\n throw new Error(\"Could not find a supported cmap table\");\n }\n\n this.uvs = this.findSubtable(cmapTable, [[0, 5]]);\n if (this.uvs && this.uvs.version !== 14) {\n this.uvs = null;\n }\n }\n\n findSubtable(cmapTable, pairs) {\n for (let [platformID, encodingID] of pairs) {\n for (let cmap of cmapTable.tables) {\n if (cmap.platformID === platformID && cmap.encodingID === encodingID) {\n return cmap.table;\n }\n }\n }\n\n return null;\n }\n\n lookup(codepoint, variationSelector) {\n // If there is no Unicode cmap in this font, we need to re-encode\n // the codepoint in the encoding that the cmap supports.\n if (this.encoding) {\n codepoint = this.encoding.get(codepoint) || codepoint;\n\n // Otherwise, try to get a Unicode variation selector for this codepoint if one is provided.\n } else if (variationSelector) {\n let gid = this.getVariationSelector(codepoint, variationSelector);\n if (gid) {\n return gid;\n }\n }\n\n let cmap = this.cmap;\n switch (cmap.version) {\n case 0:\n return cmap.codeMap.get(codepoint) || 0;\n\n case 4: {\n let min = 0;\n let max = cmap.segCount - 1;\n while (min <= max) {\n let mid = (min + max) >> 1;\n\n if (codepoint < cmap.startCode.get(mid)) {\n max = mid - 1;\n } else if (codepoint > cmap.endCode.get(mid)) {\n min = mid + 1;\n } else {\n let rangeOffset = cmap.idRangeOffset.get(mid);\n let gid;\n\n if (rangeOffset === 0) {\n gid = codepoint + cmap.idDelta.get(mid);\n } else {\n let index = rangeOffset / 2 + (codepoint - cmap.startCode.get(mid)) - (cmap.segCount - mid);\n gid = cmap.glyphIndexArray.get(index) || 0;\n if (gid !== 0) {\n gid += cmap.idDelta.get(mid);\n }\n }\n\n return gid & 0xffff;\n }\n }\n\n return 0;\n }\n\n case 8:\n throw new Error('TODO: cmap format 8');\n\n case 6:\n case 10:\n return cmap.glyphIndices.get(codepoint - cmap.firstCode) || 0;\n\n case 12:\n case 13: {\n let min = 0;\n let max = cmap.nGroups - 1;\n while (min <= max) {\n let mid = (min + max) >> 1;\n let group = cmap.groups.get(mid);\n\n if (codepoint < group.startCharCode) {\n max = mid - 1;\n } else if (codepoint > group.endCharCode) {\n min = mid + 1;\n } else {\n if (cmap.version === 12) {\n return group.glyphID + (codepoint - group.startCharCode);\n } else {\n return group.glyphID;\n }\n }\n }\n\n return 0;\n }\n\n case 14:\n throw new Error('TODO: cmap format 14');\n\n default:\n throw new Error(`Unknown cmap format ${cmap.version}`);\n }\n }\n\n getVariationSelector(codepoint, variationSelector) {\n if (!this.uvs) {\n return 0;\n }\n\n let selectors = this.uvs.varSelectors.toArray();\n let i = binarySearch(selectors, x => variationSelector - x.varSelector);\n let sel = selectors[i];\n\n if (i !== -1 && sel.defaultUVS) {\n i = binarySearch(sel.defaultUVS, x =>\n codepoint < x.startUnicodeValue ? -1 : codepoint > x.startUnicodeValue + x.additionalCount ? +1 : 0\n );\n }\n\n if (i !== -1 && sel.nonDefaultUVS) {\n i = binarySearch(sel.nonDefaultUVS, x => codepoint - x.unicodeValue);\n if (i !== -1) {\n return sel.nonDefaultUVS[i].glyphID;\n }\n }\n\n return 0;\n }\n\n @cache\n getCharacterSet() {\n let cmap = this.cmap;\n switch (cmap.version) {\n case 0:\n return range(0, cmap.codeMap.length);\n\n case 4: {\n let res = [];\n let endCodes = cmap.endCode.toArray();\n for (let i = 0; i < endCodes.length; i++) {\n let tail = endCodes[i] + 1;\n let start = cmap.startCode.get(i);\n res.push(...range(start, tail));\n }\n\n return res;\n }\n\n case 8:\n throw new Error('TODO: cmap format 8');\n\n case 6:\n case 10:\n return range(cmap.firstCode, cmap.firstCode + cmap.glyphIndices.length);\n\n case 12:\n case 13: {\n let res = [];\n for (let group of cmap.groups.toArray()) {\n res.push(...range(group.startCharCode, group.endCharCode + 1));\n }\n\n return res;\n }\n\n case 14:\n throw new Error('TODO: cmap format 14');\n\n default:\n throw new Error(`Unknown cmap format ${cmap.version}`);\n }\n }\n\n @cache\n codePointsForGlyph(gid) {\n let cmap = this.cmap;\n switch (cmap.version) {\n case 0: {\n let res = [];\n for (let i = 0; i < 256; i++) {\n if (cmap.codeMap.get(i) === gid) {\n res.push(i);\n }\n }\n\n return res;\n }\n\n case 4: {\n let res = [];\n for (let i = 0; i < cmap.segCount; i++) {\n let end = cmap.endCode.get(i);\n let start = cmap.startCode.get(i);\n let rangeOffset = cmap.idRangeOffset.get(i);\n let delta = cmap.idDelta.get(i);\n\n for (var c = start; c <= end; c++) {\n let g = 0;\n if (rangeOffset === 0) {\n g = c + delta;\n } else {\n let index = rangeOffset / 2 + (c - start) - (cmap.segCount - i);\n g = cmap.glyphIndexArray.get(index) || 0;\n if (g !== 0) {\n g += delta;\n }\n }\n\n if (g === gid) {\n res.push(c);\n }\n }\n }\n\n return res;\n }\n\n case 12: {\n let res = [];\n for (let group of cmap.groups.toArray()) {\n if (gid >= group.glyphID && gid <= group.glyphID + (group.endCharCode - group.startCharCode)) {\n res.push(group.startCharCode + (gid - group.glyphID));\n }\n }\n\n return res;\n }\n\n case 13: {\n let res = [];\n for (let group of cmap.groups.toArray()) {\n if (gid === group.glyphID) {\n res.push(...range(group.startCharCode, group.endCharCode + 1));\n }\n }\n\n return res;\n }\n\n default:\n throw new Error(`Unknown cmap format ${cmap.version}`);\n }\n }\n}\n","import {binarySearch} from '../utils';\n\nexport default class KernProcessor {\n constructor(font) {\n this.kern = font.kern;\n }\n\n process(glyphs, positions) {\n for (let glyphIndex = 0; glyphIndex < glyphs.length - 1; glyphIndex++) {\n let left = glyphs[glyphIndex].id;\n let right = glyphs[glyphIndex + 1].id;\n positions[glyphIndex].xAdvance += this.getKerning(left, right);\n }\n }\n\n getKerning(left, right) {\n let res = 0;\n\n for (let table of this.kern.tables) {\n if (table.coverage.crossStream) {\n continue;\n }\n\n switch (table.version) {\n case 0:\n if (!table.coverage.horizontal) {\n continue;\n }\n\n break;\n case 1:\n if (table.coverage.vertical || table.coverage.variation) {\n continue;\n }\n\n break;\n default:\n throw new Error(`Unsupported kerning table version ${table.version}`);\n }\n\n let val = 0;\n let s = table.subtable;\n switch (table.format) {\n case 0:\n let pairIdx = binarySearch(s.pairs, function (pair) {\n return (left - pair.left) || (right - pair.right);\n });\n\n if (pairIdx >= 0) {\n val = s.pairs[pairIdx].value;\n }\n\n break;\n\n case 2:\n let leftOffset = 0, rightOffset = 0;\n if (left >= s.leftTable.firstGlyph && left < s.leftTable.firstGlyph + s.leftTable.nGlyphs) {\n leftOffset = s.leftTable.offsets[left - s.leftTable.firstGlyph];\n } else {\n leftOffset = s.array.off;\n }\n\n if (right >= s.rightTable.firstGlyph && right < s.rightTable.firstGlyph + s.rightTable.nGlyphs) {\n rightOffset = s.rightTable.offsets[right - s.rightTable.firstGlyph];\n }\n\n let index = (leftOffset + rightOffset - s.array.off) / 2;\n val = s.array.values.get(index);\n break;\n\n case 3:\n if (left >= s.glyphCount || right >= s.glyphCount) {\n return 0;\n }\n\n val = s.kernValue[s.kernIndex[s.leftClass[left] * s.rightClassCount + s.rightClass[right]]];\n break;\n\n default:\n throw new Error(`Unsupported kerning sub-table format ${table.format}`);\n }\n\n // Microsoft supports the override flag, which resets the result\n // Otherwise, the sum of the results from all subtables is returned\n if (table.coverage.override) {\n res = val;\n } else {\n res += val;\n }\n }\n\n return res;\n }\n}\n","import {getCombiningClass} from 'unicode-properties';\n\n/**\n * This class is used when GPOS does not define 'mark' or 'mkmk' features\n * for positioning marks relative to base glyphs. It uses the unicode\n * combining class property to position marks.\n *\n * Based on code from Harfbuzz, thanks!\n * https://github.com/behdad/harfbuzz/blob/master/src/hb-ot-shape-fallback.cc\n */\nexport default class UnicodeLayoutEngine {\n constructor(font) {\n this.font = font;\n }\n\n positionGlyphs(glyphs, positions) {\n // find each base + mark cluster, and position the marks relative to the base\n let clusterStart = 0;\n let clusterEnd = 0;\n for (let index = 0; index < glyphs.length; index++) {\n let glyph = glyphs[index];\n if (glyph.isMark) { // TODO: handle ligatures\n clusterEnd = index;\n } else {\n if (clusterStart !== clusterEnd) {\n this.positionCluster(glyphs, positions, clusterStart, clusterEnd);\n }\n\n clusterStart = clusterEnd = index;\n }\n }\n\n if (clusterStart !== clusterEnd) {\n this.positionCluster(glyphs, positions, clusterStart, clusterEnd);\n }\n\n return positions;\n }\n\n positionCluster(glyphs, positions, clusterStart, clusterEnd) {\n let base = glyphs[clusterStart];\n let baseBox = base.cbox.copy();\n\n // adjust bounding box for ligature glyphs\n if (base.codePoints.length > 1) {\n // LTR. TODO: RTL support.\n baseBox.minX += ((base.codePoints.length - 1) * baseBox.width) / base.codePoints.length;\n }\n\n let xOffset = -positions[clusterStart].xAdvance;\n let yOffset = 0;\n let yGap = this.font.unitsPerEm / 16;\n\n // position each of the mark glyphs relative to the base glyph\n for (let index = clusterStart + 1; index <= clusterEnd; index++) {\n let mark = glyphs[index];\n let markBox = mark.cbox;\n let position = positions[index];\n\n let combiningClass = this.getCombiningClass(mark.codePoints[0]);\n\n if (combiningClass !== 'Not_Reordered') {\n position.xOffset = position.yOffset = 0;\n\n // x positioning\n switch (combiningClass) {\n case 'Double_Above':\n case 'Double_Below':\n // LTR. TODO: RTL support.\n position.xOffset += baseBox.minX - markBox.width / 2 - markBox.minX;\n break;\n\n case 'Attached_Below_Left':\n case 'Below_Left':\n case 'Above_Left':\n // left align\n position.xOffset += baseBox.minX - markBox.minX;\n break;\n\n case 'Attached_Above_Right':\n case 'Below_Right':\n case 'Above_Right':\n // right align\n position.xOffset += baseBox.maxX - markBox.width - markBox.minX;\n break;\n\n default: // Attached_Below, Attached_Above, Below, Above, other\n // center align\n position.xOffset += baseBox.minX + (baseBox.width - markBox.width) / 2 - markBox.minX;\n }\n\n // y positioning\n switch (combiningClass) {\n case 'Double_Below':\n case 'Below_Left':\n case 'Below':\n case 'Below_Right':\n case 'Attached_Below_Left':\n case 'Attached_Below':\n // add a small gap between the glyphs if they are not attached\n if (combiningClass === 'Attached_Below_Left' || combiningClass === 'Attached_Below') {\n baseBox.minY += yGap;\n }\n\n position.yOffset = -baseBox.minY - markBox.maxY;\n baseBox.minY += markBox.height;\n break;\n\n case 'Double_Above':\n case 'Above_Left':\n case 'Above':\n case 'Above_Right':\n case 'Attached_Above':\n case 'Attached_Above_Right':\n // add a small gap between the glyphs if they are not attached\n if (combiningClass === 'Attached_Above' || combiningClass === 'Attached_Above_Right') {\n baseBox.maxY += yGap;\n }\n\n position.yOffset = baseBox.maxY - markBox.minY;\n baseBox.maxY += markBox.height;\n break;\n }\n\n position.xAdvance = position.yAdvance = 0;\n position.xOffset += xOffset;\n position.yOffset += yOffset;\n\n } else {\n xOffset -= position.xAdvance;\n yOffset -= position.yAdvance;\n }\n }\n\n return;\n }\n\n getCombiningClass(codePoint) {\n let combiningClass = getCombiningClass(codePoint);\n\n // Thai / Lao need some per-character work\n if ((codePoint & ~0xff) === 0x0e00) {\n if (combiningClass === 'Not_Reordered') {\n switch (codePoint) {\n case 0x0e31:\n case 0x0e34:\n case 0x0e35:\n case 0x0e36:\n case 0x0e37:\n case 0x0e47:\n case 0x0e4c:\n case 0x0e3d:\n case 0x0e4e:\n return 'Above_Right';\n\n case 0x0eb1:\n case 0x0eb4:\n case 0x0eb5:\n case 0x0eb6:\n case 0x0eb7:\n case 0x0ebb:\n case 0x0ecc:\n case 0x0ecd:\n return 'Above';\n\n case 0x0ebc:\n return 'Below';\n }\n } else if (codePoint === 0x0e3a) { // virama\n return 'Below_Right';\n }\n }\n\n switch (combiningClass) {\n // Hebrew\n\n case 'CCC10': // sheva\n case 'CCC11': // hataf segol\n case 'CCC12': // hataf patah\n case 'CCC13': // hataf qamats\n case 'CCC14': // hiriq\n case 'CCC15': // tsere\n case 'CCC16': // segol\n case 'CCC17': // patah\n case 'CCC18': // qamats\n case 'CCC20': // qubuts\n case 'CCC22': // meteg\n return 'Below';\n\n case 'CCC23': // rafe\n return 'Attached_Above';\n\n case 'CCC24': // shin dot\n return 'Above_Right';\n\n case 'CCC25': // sin dot\n case 'CCC19': // holam\n return 'Above_Left';\n\n case 'CCC26': // point varika\n return 'Above';\n\n case 'CCC21': // dagesh\n break;\n\n // Arabic and Syriac\n\n case 'CCC27': // fathatan\n case 'CCC28': // dammatan\n case 'CCC30': // fatha\n case 'CCC31': // damma\n case 'CCC33': // shadda\n case 'CCC34': // sukun\n case 'CCC35': // superscript alef\n case 'CCC36': // superscript alaph\n return 'Above';\n\n case 'CCC29': // kasratan\n case 'CCC32': // kasra\n return 'Below';\n\n // Thai\n\n case 'CCC103': // sara u / sara uu\n return 'Below_Right';\n\n case 'CCC107': // mai\n return 'Above_Right';\n\n // Lao\n\n case 'CCC118': // sign u / sign uu\n return 'Below';\n\n case 'CCC122': // mai\n return 'Above';\n\n // Tibetan\n\n case 'CCC129': // sign aa\n case 'CCC132': // sign u\n return 'Below';\n\n case 'CCC130': // sign i\n return 'Above';\n }\n\n return combiningClass;\n }\n}\n","/**\n * Represents a glyph bounding box\n */\nexport default class BBox {\n constructor(minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity) {\n /**\n * The minimum X position in the bounding box\n * @type {number}\n */\n this.minX = minX;\n\n /**\n * The minimum Y position in the bounding box\n * @type {number}\n */\n this.minY = minY;\n\n /**\n * The maxmimum X position in the bounding box\n * @type {number}\n */\n this.maxX = maxX;\n\n /**\n * The maxmimum Y position in the bounding box\n * @type {number}\n */\n this.maxY = maxY;\n }\n\n /**\n * The width of the bounding box\n * @type {number}\n */\n get width() {\n return this.maxX - this.minX;\n }\n\n /**\n * The height of the bounding box\n * @type {number}\n */\n get height() {\n return this.maxY - this.minY;\n }\n\n addPoint(x, y) {\n if (Math.abs(x) !== Infinity) {\n if (x < this.minX) {\n this.minX = x;\n }\n\n if (x > this.maxX) {\n this.maxX = x;\n }\n }\n\n if (Math.abs(y) !== Infinity) {\n if (y < this.minY) {\n this.minY = y;\n }\n\n if (y > this.maxY) {\n this.maxY = y;\n }\n }\n }\n\n copy() {\n return new BBox(this.minX, this.minY, this.maxX, this.maxY);\n }\n}\n","import {getScript} from 'unicode-properties';\n\n// This maps the Unicode Script property to an OpenType script tag\n// Data from http://www.microsoft.com/typography/otspec/scripttags.htm\n// and http://www.unicode.org/Public/UNIDATA/PropertyValueAliases.txt.\nconst UNICODE_SCRIPTS = {\n Caucasian_Albanian: 'aghb',\n Arabic: 'arab',\n Imperial_Aramaic: 'armi',\n Armenian: 'armn',\n Avestan: 'avst',\n Balinese: 'bali',\n Bamum: 'bamu',\n Bassa_Vah: 'bass',\n Batak: 'batk',\n Bengali: ['bng2', 'beng'],\n Bopomofo: 'bopo',\n Brahmi: 'brah',\n Braille: 'brai',\n Buginese: 'bugi',\n Buhid: 'buhd',\n Chakma: 'cakm',\n Canadian_Aboriginal: 'cans',\n Carian: 'cari',\n Cham: 'cham',\n Cherokee: 'cher',\n Coptic: 'copt',\n Cypriot: 'cprt',\n Cyrillic: 'cyrl',\n Devanagari: ['dev2', 'deva'],\n Deseret: 'dsrt',\n Duployan: 'dupl',\n Egyptian_Hieroglyphs: 'egyp',\n Elbasan: 'elba',\n Ethiopic: 'ethi',\n Georgian: 'geor',\n Glagolitic: 'glag',\n Gothic: 'goth',\n Grantha: 'gran',\n Greek: 'grek',\n Gujarati: ['gjr2', 'gujr'],\n Gurmukhi: ['gur2', 'guru'],\n Hangul: 'hang',\n Han: 'hani',\n Hanunoo: 'hano',\n Hebrew: 'hebr',\n Hiragana: 'hira',\n Pahawh_Hmong: 'hmng',\n Katakana_Or_Hiragana: 'hrkt',\n Old_Italic: 'ital',\n Javanese: 'java',\n Kayah_Li: 'kali',\n Katakana: 'kana',\n Kharoshthi: 'khar',\n Khmer: 'khmr',\n Khojki: 'khoj',\n Kannada: ['knd2', 'knda'],\n Kaithi: 'kthi',\n Tai_Tham: 'lana',\n Lao: 'lao ',\n Latin: 'latn',\n Lepcha: 'lepc',\n Limbu: 'limb',\n Linear_A: 'lina',\n Linear_B: 'linb',\n Lisu: 'lisu',\n Lycian: 'lyci',\n Lydian: 'lydi',\n Mahajani: 'mahj',\n Mandaic: 'mand',\n Manichaean: 'mani',\n Mende_Kikakui: 'mend',\n Meroitic_Cursive: 'merc',\n Meroitic_Hieroglyphs: 'mero',\n Malayalam: ['mlm2', 'mlym'],\n Modi: 'modi',\n Mongolian: 'mong',\n Mro: 'mroo',\n Meetei_Mayek: 'mtei',\n Myanmar: ['mym2', 'mymr'],\n Old_North_Arabian: 'narb',\n Nabataean: 'nbat',\n Nko: 'nko ',\n Ogham: 'ogam',\n Ol_Chiki: 'olck',\n Old_Turkic: 'orkh',\n Oriya: ['ory2', 'orya'],\n Osmanya: 'osma',\n Palmyrene: 'palm',\n Pau_Cin_Hau: 'pauc',\n Old_Permic: 'perm',\n Phags_Pa: 'phag',\n Inscriptional_Pahlavi: 'phli',\n Psalter_Pahlavi: 'phlp',\n Phoenician: 'phnx',\n Miao: 'plrd',\n Inscriptional_Parthian: 'prti',\n Rejang: 'rjng',\n Runic: 'runr',\n Samaritan: 'samr',\n Old_South_Arabian: 'sarb',\n Saurashtra: 'saur',\n Shavian: 'shaw',\n Sharada: 'shrd',\n Siddham: 'sidd',\n Khudawadi: 'sind',\n Sinhala: 'sinh',\n Sora_Sompeng: 'sora',\n Sundanese: 'sund',\n Syloti_Nagri: 'sylo',\n Syriac: 'syrc',\n Tagbanwa: 'tagb',\n Takri: 'takr',\n Tai_Le: 'tale',\n New_Tai_Lue: 'talu',\n Tamil: ['tml2', 'taml'],\n Tai_Viet: 'tavt',\n Telugu: ['tel2', 'telu'],\n Tifinagh: 'tfng',\n Tagalog: 'tglg',\n Thaana: 'thaa',\n Thai: 'thai',\n Tibetan: 'tibt',\n Tirhuta: 'tirh',\n Ugaritic: 'ugar',\n Vai: 'vai ',\n Warang_Citi: 'wara',\n Old_Persian: 'xpeo',\n Cuneiform: 'xsux',\n Yi: 'yi ',\n Inherited: 'zinh',\n Common: 'zyyy',\n Unknown: 'zzzz'\n};\n\nconst OPENTYPE_SCRIPTS = {};\nfor (let script in UNICODE_SCRIPTS) {\n let tag = UNICODE_SCRIPTS[script];\n if (Array.isArray(tag)) {\n for (let t of tag) {\n OPENTYPE_SCRIPTS[t] = script;\n }\n } else {\n OPENTYPE_SCRIPTS[tag] = script;\n }\n}\n\nexport function fromUnicode(script) {\n return UNICODE_SCRIPTS[script];\n}\n\nexport function fromOpenType(tag) {\n return OPENTYPE_SCRIPTS[tag];\n}\n\nexport function forString(string) {\n let len = string.length;\n let idx = 0;\n while (idx < len) {\n let code = string.charCodeAt(idx++);\n\n // Check if this is a high surrogate\n if (0xd800 <= code && code <= 0xdbff && idx < len) {\n let next = string.charCodeAt(idx);\n\n // Check if this is a low surrogate\n if (0xdc00 <= next && next <= 0xdfff) {\n idx++;\n code = ((code & 0x3FF) << 10) + (next & 0x3FF) + 0x10000;\n }\n }\n\n let script = getScript(code);\n if (script !== 'Common' && script !== 'Inherited' && script !== 'Unknown') {\n return UNICODE_SCRIPTS[script];\n }\n }\n\n return UNICODE_SCRIPTS.Unknown;\n}\n\nexport function forCodePoints(codePoints) {\n for (let i = 0; i < codePoints.length; i++) {\n let codePoint = codePoints[i];\n let script = getScript(codePoint);\n if (script !== 'Common' && script !== 'Inherited' && script !== 'Unknown') {\n return UNICODE_SCRIPTS[script];\n }\n }\n\n return UNICODE_SCRIPTS.Unknown;\n}\n\n// The scripts in this map are written from right to left\nconst RTL = {\n arab: true, // Arabic\n hebr: true, // Hebrew\n syrc: true, // Syriac\n thaa: true, // Thaana\n cprt: true, // Cypriot Syllabary\n khar: true, // Kharosthi\n phnx: true, // Phoenician\n 'nko ': true, // N'Ko\n lydi: true, // Lydian\n avst: true, // Avestan\n armi: true, // Imperial Aramaic\n phli: true, // Inscriptional Pahlavi\n prti: true, // Inscriptional Parthian\n sarb: true, // Old South Arabian\n orkh: true, // Old Turkic, Orkhon Runic\n samr: true, // Samaritan\n mand: true, // Mandaic, Mandaean\n merc: true, // Meroitic Cursive\n mero: true, // Meroitic Hieroglyphs\n\n // Unicode 7.0 (not listed on http://www.microsoft.com/typography/otspec/scripttags.htm)\n mani: true, // Manichaean\n mend: true, // Mende Kikakui\n nbat: true, // Nabataean\n narb: true, // Old North Arabian\n palm: true, // Palmyrene\n phlp: true // Psalter Pahlavi\n};\n\nexport function direction(script) {\n if (RTL[script]) {\n return 'rtl';\n }\n\n return 'ltr';\n}\n","import BBox from '../glyph/BBox';\nimport * as Script from '../layout/Script';\n\n/**\n * Represents a run of Glyph and GlyphPosition objects.\n * Returned by the font layout method.\n */\nexport default class GlyphRun {\n constructor(glyphs, features, script, language, direction) {\n /**\n * An array of Glyph objects in the run\n * @type {Glyph[]}\n */\n this.glyphs = glyphs;\n\n /**\n * An array of GlyphPosition objects for each glyph in the run\n * @type {GlyphPosition[]}\n */\n this.positions = null;\n\n /**\n * The script that was requested for shaping. This was either passed in or detected automatically.\n * @type {string}\n */\n this.script = script;\n\n /**\n * The language requested for shaping, as passed in. If `null`, the default language for the\n * script was used.\n * @type {string}\n */\n this.language = language || null;\n\n /**\n * The direction requested for shaping, as passed in (either ltr or rtl).\n * If `null`, the default direction of the script is used.\n * @type {string}\n */\n this.direction = direction || Script.direction(script);\n\n /**\n * The features requested during shaping. This is a combination of user\n * specified features and features chosen by the shaper.\n * @type {object}\n */\n this.features = {};\n\n // Convert features to an object\n if (Array.isArray(features)) {\n for (let tag of features) {\n this.features[tag] = true;\n }\n } else if (typeof features === 'object') {\n this.features = features;\n }\n }\n\n /**\n * The total advance width of the run.\n * @type {number}\n */\n get advanceWidth() {\n let width = 0;\n for (let position of this.positions) {\n width += position.xAdvance;\n }\n\n return width;\n }\n\n /**\n * The total advance height of the run.\n * @type {number}\n */\n get advanceHeight() {\n let height = 0;\n for (let position of this.positions) {\n height += position.yAdvance;\n }\n\n return height;\n }\n\n /**\n * The bounding box containing all glyphs in the run.\n * @type {BBox}\n */\n get bbox() {\n let bbox = new BBox;\n\n let x = 0;\n let y = 0;\n for (let index = 0; index < this.glyphs.length; index++) {\n let glyph = this.glyphs[index];\n let p = this.positions[index];\n let b = glyph.bbox;\n\n bbox.addPoint(b.minX + x + p.xOffset, b.minY + y + p.yOffset);\n bbox.addPoint(b.maxX + x + p.xOffset, b.maxY + y + p.yOffset);\n\n x += p.xAdvance;\n y += p.yAdvance;\n }\n\n return bbox;\n }\n}\n","/**\n * Represents positioning information for a glyph in a GlyphRun.\n */\nexport default class GlyphPosition {\n constructor(xAdvance = 0, yAdvance = 0, xOffset = 0, yOffset = 0) {\n /**\n * The amount to move the virtual pen in the X direction after rendering this glyph.\n * @type {number}\n */\n this.xAdvance = xAdvance;\n\n /**\n * The amount to move the virtual pen in the Y direction after rendering this glyph.\n * @type {number}\n */\n this.yAdvance = yAdvance;\n\n /**\n * The offset from the pen position in the X direction at which to render this glyph.\n * @type {number}\n */\n this.xOffset = xOffset;\n\n /**\n * The offset from the pen position in the Y direction at which to render this glyph.\n * @type {number}\n */\n this.yOffset = yOffset;\n }\n}\n","// see https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html\n// and /System/Library/Frameworks/CoreText.framework/Versions/A/Headers/SFNTLayoutTypes.h on a Mac\nconst features = {\n allTypographicFeatures: {\n code: 0,\n exclusive: false,\n allTypeFeatures: 0\n },\n ligatures: {\n code: 1,\n exclusive: false,\n requiredLigatures: 0,\n commonLigatures: 2,\n rareLigatures: 4,\n // logos: 6\n rebusPictures: 8,\n diphthongLigatures: 10,\n squaredLigatures: 12,\n abbrevSquaredLigatures: 14,\n symbolLigatures: 16,\n contextualLigatures: 18,\n historicalLigatures: 20\n },\n cursiveConnection: {\n code: 2,\n exclusive: true,\n unconnected: 0,\n partiallyConnected: 1,\n cursive: 2\n },\n letterCase: {\n code: 3,\n exclusive: true\n },\n // upperAndLowerCase: 0 # deprecated\n // allCaps: 1 # deprecated\n // allLowerCase: 2 # deprecated\n // smallCaps: 3 # deprecated\n // initialCaps: 4 # deprecated\n // initialCapsAndSmallCaps: 5 # deprecated\n verticalSubstitution: {\n code: 4,\n exclusive: false,\n substituteVerticalForms: 0\n },\n linguisticRearrangement: {\n code: 5,\n exclusive: false,\n linguisticRearrangement: 0\n },\n numberSpacing: {\n code: 6,\n exclusive: true,\n monospacedNumbers: 0,\n proportionalNumbers: 1,\n thirdWidthNumbers: 2,\n quarterWidthNumbers: 3\n },\n smartSwash: {\n code: 8,\n exclusive: false,\n wordInitialSwashes: 0,\n wordFinalSwashes: 2,\n // lineInitialSwashes: 4\n // lineFinalSwashes: 6\n nonFinalSwashes: 8\n },\n diacritics: {\n code: 9,\n exclusive: true,\n showDiacritics: 0,\n hideDiacritics: 1,\n decomposeDiacritics: 2\n },\n verticalPosition: {\n code: 10,\n exclusive: true,\n normalPosition: 0,\n superiors: 1,\n inferiors: 2,\n ordinals: 3,\n scientificInferiors: 4\n },\n fractions: {\n code: 11,\n exclusive: true,\n noFractions: 0,\n verticalFractions: 1,\n diagonalFractions: 2\n },\n overlappingCharacters: {\n code: 13,\n exclusive: false,\n preventOverlap: 0\n },\n typographicExtras: {\n code: 14,\n exclusive: false,\n // hyphensToEmDash: 0\n // hyphenToEnDash: 2\n slashedZero: 4\n },\n // formInterrobang: 6\n // smartQuotes: 8\n // periodsToEllipsis: 10\n mathematicalExtras: {\n code: 15,\n exclusive: false,\n // hyphenToMinus: 0\n // asteristoMultiply: 2\n // slashToDivide: 4\n // inequalityLigatures: 6\n // exponents: 8\n mathematicalGreek: 10\n },\n ornamentSets: {\n code: 16,\n exclusive: true,\n noOrnaments: 0,\n dingbats: 1,\n piCharacters: 2,\n fleurons: 3,\n decorativeBorders: 4,\n internationalSymbols: 5,\n mathSymbols: 6\n },\n characterAlternatives: {\n code: 17,\n exclusive: true,\n noAlternates: 0\n },\n // user defined options\n designComplexity: {\n code: 18,\n exclusive: true,\n designLevel1: 0,\n designLevel2: 1,\n designLevel3: 2,\n designLevel4: 3,\n designLevel5: 4\n },\n styleOptions: {\n code: 19,\n exclusive: true,\n noStyleOptions: 0,\n displayText: 1,\n engravedText: 2,\n illuminatedCaps: 3,\n titlingCaps: 4,\n tallCaps: 5\n },\n characterShape: {\n code: 20,\n exclusive: true,\n traditionalCharacters: 0,\n simplifiedCharacters: 1,\n JIS1978Characters: 2,\n JIS1983Characters: 3,\n JIS1990Characters: 4,\n traditionalAltOne: 5,\n traditionalAltTwo: 6,\n traditionalAltThree: 7,\n traditionalAltFour: 8,\n traditionalAltFive: 9,\n expertCharacters: 10,\n JIS2004Characters: 11,\n hojoCharacters: 12,\n NLCCharacters: 13,\n traditionalNamesCharacters: 14\n },\n numberCase: {\n code: 21,\n exclusive: true,\n lowerCaseNumbers: 0,\n upperCaseNumbers: 1\n },\n textSpacing: {\n code: 22,\n exclusive: true,\n proportionalText: 0,\n monospacedText: 1,\n halfWidthText: 2,\n thirdWidthText: 3,\n quarterWidthText: 4,\n altProportionalText: 5,\n altHalfWidthText: 6\n },\n transliteration: {\n code: 23,\n exclusive: true,\n noTransliteration: 0\n },\n // hanjaToHangul: 1\n // hiraganaToKatakana: 2\n // katakanaToHiragana: 3\n // kanaToRomanization: 4\n // romanizationToHiragana: 5\n // romanizationToKatakana: 6\n // hanjaToHangulAltOne: 7\n // hanjaToHangulAltTwo: 8\n // hanjaToHangulAltThree: 9\n annotation: {\n code: 24,\n exclusive: true,\n noAnnotation: 0,\n boxAnnotation: 1,\n roundedBoxAnnotation: 2,\n circleAnnotation: 3,\n invertedCircleAnnotation: 4,\n parenthesisAnnotation: 5,\n periodAnnotation: 6,\n romanNumeralAnnotation: 7,\n diamondAnnotation: 8,\n invertedBoxAnnotation: 9,\n invertedRoundedBoxAnnotation: 10\n },\n kanaSpacing: {\n code: 25,\n exclusive: true,\n fullWidthKana: 0,\n proportionalKana: 1\n },\n ideographicSpacing: {\n code: 26,\n exclusive: true,\n fullWidthIdeographs: 0,\n proportionalIdeographs: 1,\n halfWidthIdeographs: 2\n },\n unicodeDecomposition: {\n code: 27,\n exclusive: false,\n canonicalComposition: 0,\n compatibilityComposition: 2,\n transcodingComposition: 4\n },\n rubyKana: {\n code: 28,\n exclusive: false,\n // noRubyKana: 0 # deprecated - use rubyKanaOff instead\n // rubyKana: 1 # deprecated - use rubyKanaOn instead\n rubyKana: 2\n },\n CJKSymbolAlternatives: {\n code: 29,\n exclusive: true,\n noCJKSymbolAlternatives: 0,\n CJKSymbolAltOne: 1,\n CJKSymbolAltTwo: 2,\n CJKSymbolAltThree: 3,\n CJKSymbolAltFour: 4,\n CJKSymbolAltFive: 5\n },\n ideographicAlternatives: {\n code: 30,\n exclusive: true,\n noIdeographicAlternatives: 0,\n ideographicAltOne: 1,\n ideographicAltTwo: 2,\n ideographicAltThree: 3,\n ideographicAltFour: 4,\n ideographicAltFive: 5\n },\n CJKVerticalRomanPlacement: {\n code: 31,\n exclusive: true,\n CJKVerticalRomanCentered: 0,\n CJKVerticalRomanHBaseline: 1\n },\n italicCJKRoman: {\n code: 32,\n exclusive: false,\n // noCJKItalicRoman: 0 # deprecated - use CJKItalicRomanOff instead\n // CJKItalicRoman: 1 # deprecated - use CJKItalicRomanOn instead\n CJKItalicRoman: 2\n },\n caseSensitiveLayout: {\n code: 33,\n exclusive: false,\n caseSensitiveLayout: 0,\n caseSensitiveSpacing: 2\n },\n alternateKana: {\n code: 34,\n exclusive: false,\n alternateHorizKana: 0,\n alternateVertKana: 2\n },\n stylisticAlternatives: {\n code: 35,\n exclusive: false,\n noStylisticAlternates: 0,\n stylisticAltOne: 2,\n stylisticAltTwo: 4,\n stylisticAltThree: 6,\n stylisticAltFour: 8,\n stylisticAltFive: 10,\n stylisticAltSix: 12,\n stylisticAltSeven: 14,\n stylisticAltEight: 16,\n stylisticAltNine: 18,\n stylisticAltTen: 20,\n stylisticAltEleven: 22,\n stylisticAltTwelve: 24,\n stylisticAltThirteen: 26,\n stylisticAltFourteen: 28,\n stylisticAltFifteen: 30,\n stylisticAltSixteen: 32,\n stylisticAltSeventeen: 34,\n stylisticAltEighteen: 36,\n stylisticAltNineteen: 38,\n stylisticAltTwenty: 40\n },\n contextualAlternates: {\n code: 36,\n exclusive: false,\n contextualAlternates: 0,\n swashAlternates: 2,\n contextualSwashAlternates: 4\n },\n lowerCase: {\n code: 37,\n exclusive: true,\n defaultLowerCase: 0,\n lowerCaseSmallCaps: 1,\n lowerCasePetiteCaps: 2\n },\n upperCase: {\n code: 38,\n exclusive: true,\n defaultUpperCase: 0,\n upperCaseSmallCaps: 1,\n upperCasePetiteCaps: 2\n },\n languageTag: { // indices into ltag table\n code: 39,\n exclusive: true\n },\n CJKRomanSpacing: {\n code: 103,\n exclusive: true,\n halfWidthCJKRoman: 0,\n proportionalCJKRoman: 1,\n defaultCJKRoman: 2,\n fullWidthCJKRoman: 3\n }\n};\n\nconst feature = (name, selector) => [features[name].code, features[name][selector]];\n\nconst OTMapping = {\n rlig: feature('ligatures', 'requiredLigatures'),\n clig: feature('ligatures', 'contextualLigatures'),\n dlig: feature('ligatures', 'rareLigatures'),\n hlig: feature('ligatures', 'historicalLigatures'),\n liga: feature('ligatures', 'commonLigatures'),\n hist: feature('ligatures', 'historicalLigatures'), // ??\n\n smcp: feature('lowerCase', 'lowerCaseSmallCaps'),\n pcap: feature('lowerCase', 'lowerCasePetiteCaps'),\n\n frac: feature('fractions', 'diagonalFractions'),\n dnom: feature('fractions', 'diagonalFractions'), // ??\n numr: feature('fractions', 'diagonalFractions'), // ??\n afrc: feature('fractions', 'verticalFractions'),\n // aalt\n // abvf, abvm, abvs, akhn, blwf, blwm, blws, cfar, cjct, cpsp, falt, isol, jalt, ljmo, mset?\n // ltra, ltrm, nukt, pref, pres, pstf, psts, rand, rkrf, rphf, rtla, rtlm, size, tjmo, tnum?\n // unic, vatu, vhal, vjmo, vpal, vrt2\n // dist -> trak table?\n // kern, vkrn -> kern table\n // lfbd + opbd + rtbd -> opbd table?\n // mark, mkmk -> acnt table?\n // locl -> languageTag + ltag table\n\n case: feature('caseSensitiveLayout', 'caseSensitiveLayout'), // also caseSensitiveSpacing\n ccmp: feature('unicodeDecomposition', 'canonicalComposition'), // compatibilityComposition?\n cpct: feature('CJKVerticalRomanPlacement', 'CJKVerticalRomanCentered'), // guess..., probably not given below\n valt: feature('CJKVerticalRomanPlacement', 'CJKVerticalRomanCentered'),\n swsh: feature('contextualAlternates', 'swashAlternates'),\n cswh: feature('contextualAlternates', 'contextualSwashAlternates'),\n curs: feature('cursiveConnection', 'cursive'), // ??\n c2pc: feature('upperCase', 'upperCasePetiteCaps'),\n c2sc: feature('upperCase', 'upperCaseSmallCaps'),\n\n init: feature('smartSwash', 'wordInitialSwashes'), // ??\n fin2: feature('smartSwash', 'wordFinalSwashes'), // ??\n medi: feature('smartSwash', 'nonFinalSwashes'), // ??\n med2: feature('smartSwash', 'nonFinalSwashes'), // ??\n fin3: feature('smartSwash', 'wordFinalSwashes'), // ??\n fina: feature('smartSwash', 'wordFinalSwashes'), // ??\n\n pkna: feature('kanaSpacing', 'proportionalKana'),\n half: feature('textSpacing', 'halfWidthText'), // also HalfWidthCJKRoman, HalfWidthIdeographs?\n halt: feature('textSpacing', 'altHalfWidthText'),\n\n hkna: feature('alternateKana', 'alternateHorizKana'),\n vkna: feature('alternateKana', 'alternateVertKana'),\n // hngl: feature 'transliteration', 'hanjaToHangulSelector' # deprecated\n\n ital: feature('italicCJKRoman', 'CJKItalicRoman'),\n lnum: feature('numberCase', 'upperCaseNumbers'),\n onum: feature('numberCase', 'lowerCaseNumbers'),\n mgrk: feature('mathematicalExtras', 'mathematicalGreek'),\n\n // nalt: not enough info. what type of annotation?\n // ornm: ditto, which ornament style?\n\n calt: feature('contextualAlternates', 'contextualAlternates'), // or more?\n vrt2: feature('verticalSubstitution', 'substituteVerticalForms'), // oh... below?\n vert: feature('verticalSubstitution', 'substituteVerticalForms'),\n tnum: feature('numberSpacing', 'monospacedNumbers'),\n pnum: feature('numberSpacing', 'proportionalNumbers'),\n sups: feature('verticalPosition', 'superiors'),\n subs: feature('verticalPosition', 'inferiors'),\n ordn: feature('verticalPosition', 'ordinals'),\n pwid: feature('textSpacing', 'proportionalText'),\n hwid: feature('textSpacing', 'halfWidthText'),\n qwid: feature('textSpacing', 'quarterWidthText'), // also QuarterWidthNumbers?\n twid: feature('textSpacing', 'thirdWidthText'), // also ThirdWidthNumbers?\n fwid: feature('textSpacing', 'proportionalText'), //??\n palt: feature('textSpacing', 'altProportionalText'),\n trad: feature('characterShape', 'traditionalCharacters'),\n smpl: feature('characterShape', 'simplifiedCharacters'),\n jp78: feature('characterShape', 'JIS1978Characters'),\n jp83: feature('characterShape', 'JIS1983Characters'),\n jp90: feature('characterShape', 'JIS1990Characters'),\n jp04: feature('characterShape', 'JIS2004Characters'),\n expt: feature('characterShape', 'expertCharacters'),\n hojo: feature('characterShape', 'hojoCharacters'),\n nlck: feature('characterShape', 'NLCCharacters'),\n tnam: feature('characterShape', 'traditionalNamesCharacters'),\n ruby: feature('rubyKana', 'rubyKana'),\n titl: feature('styleOptions', 'titlingCaps'),\n zero: feature('typographicExtras', 'slashedZero'),\n\n ss01: feature('stylisticAlternatives', 'stylisticAltOne'),\n ss02: feature('stylisticAlternatives', 'stylisticAltTwo'),\n ss03: feature('stylisticAlternatives', 'stylisticAltThree'),\n ss04: feature('stylisticAlternatives', 'stylisticAltFour'),\n ss05: feature('stylisticAlternatives', 'stylisticAltFive'),\n ss06: feature('stylisticAlternatives', 'stylisticAltSix'),\n ss07: feature('stylisticAlternatives', 'stylisticAltSeven'),\n ss08: feature('stylisticAlternatives', 'stylisticAltEight'),\n ss09: feature('stylisticAlternatives', 'stylisticAltNine'),\n ss10: feature('stylisticAlternatives', 'stylisticAltTen'),\n ss11: feature('stylisticAlternatives', 'stylisticAltEleven'),\n ss12: feature('stylisticAlternatives', 'stylisticAltTwelve'),\n ss13: feature('stylisticAlternatives', 'stylisticAltThirteen'),\n ss14: feature('stylisticAlternatives', 'stylisticAltFourteen'),\n ss15: feature('stylisticAlternatives', 'stylisticAltFifteen'),\n ss16: feature('stylisticAlternatives', 'stylisticAltSixteen'),\n ss17: feature('stylisticAlternatives', 'stylisticAltSeventeen'),\n ss18: feature('stylisticAlternatives', 'stylisticAltEighteen'),\n ss19: feature('stylisticAlternatives', 'stylisticAltNineteen'),\n ss20: feature('stylisticAlternatives', 'stylisticAltTwenty')\n};\n\n // salt: feature 'stylisticAlternatives', 'stylisticAltOne' # hmm, which one to choose\n\n// Add cv01-cv99 features\nfor (let i = 1; i <= 99; i++) {\n OTMapping[`cv${`00${i}`.slice(-2)}`] = [features.characterAlternatives.code, i];\n}\n\n// create inverse mapping\nlet AATMapping = {};\nfor (let ot in OTMapping) {\n let aat = OTMapping[ot];\n if (AATMapping[aat[0]] == null) {\n AATMapping[aat[0]] = {};\n }\n\n AATMapping[aat[0]][aat[1]] = ot;\n}\n\n// Maps an array of OpenType features to AAT features\n// in the form of {featureType:{featureSetting:true}}\nexport function mapOTToAAT(features) {\n let res = {};\n for (let k in features) {\n let r;\n if (r = OTMapping[k]) {\n if (res[r[0]] == null) {\n res[r[0]] = {};\n }\n\n res[r[0]][r[1]] = features[k];\n }\n }\n\n return res;\n}\n\n// Maps strings in a [featureType, featureSetting]\n// to their equivalent number codes\nfunction mapFeatureStrings(f) {\n let [type, setting] = f;\n if (isNaN(type)) {\n var typeCode = features[type] && features[type].code;\n } else {\n var typeCode = type;\n }\n\n if (isNaN(setting)) {\n var settingCode = features[type] && features[type][setting];\n } else {\n var settingCode = setting;\n }\n\n return [typeCode, settingCode];\n}\n\n// Maps AAT features to an array of OpenType features\n// Supports both arrays in the form of [[featureType, featureSetting]]\n// and objects in the form of {featureType:{featureSetting:true}}\n// featureTypes and featureSettings can be either strings or number codes\nexport function mapAATToOT(features) {\n let res = {};\n if (Array.isArray(features)) {\n for (let k = 0; k < features.length; k++) {\n let r;\n let f = mapFeatureStrings(features[k]);\n if (r = AATMapping[f[0]] && AATMapping[f[0]][f[1]]) {\n res[r] = true;\n }\n }\n\n } else if (typeof features === 'object') {\n for (let type in features) {\n let feature = features[type];\n for (let setting in feature) {\n let r;\n let f = mapFeatureStrings([type, setting]);\n if (feature[setting] && (r = AATMapping[f[0]] && AATMapping[f[0]][f[1]])) {\n res[r] = true;\n }\n }\n }\n }\n\n return Object.keys(res);\n}\n","import {cache} from '../decorators';\nimport {range} from '../utils';\n\nexport default class AATLookupTable {\n constructor(table) {\n this.table = table;\n }\n\n lookup(glyph) {\n switch (this.table.version) {\n case 0: // simple array format\n return this.table.values.getItem(glyph);\n\n case 2: // segment format\n case 4: {\n let min = 0;\n let max = this.table.binarySearchHeader.nUnits - 1;\n\n while (min <= max) {\n var mid = (min + max) >> 1;\n var seg = this.table.segments[mid];\n\n // special end of search value\n if (seg.firstGlyph === 0xffff) {\n return null;\n }\n\n if (glyph < seg.firstGlyph) {\n max = mid - 1;\n } else if (glyph > seg.lastGlyph) {\n min = mid + 1;\n } else {\n if (this.table.version === 2) {\n return seg.value;\n } else {\n return seg.values[glyph - seg.firstGlyph];\n }\n }\n }\n\n return null;\n }\n\n case 6: { // lookup single\n let min = 0;\n let max = this.table.binarySearchHeader.nUnits - 1;\n\n while (min <= max) {\n var mid = (min + max) >> 1;\n var seg = this.table.segments[mid];\n\n // special end of search value\n if (seg.glyph === 0xffff) {\n return null;\n }\n\n if (glyph < seg.glyph) {\n max = mid - 1;\n } else if (glyph > seg.glyph) {\n min = mid + 1;\n } else {\n return seg.value;\n }\n }\n\n return null;\n }\n\n case 8: // lookup trimmed\n return this.table.values[glyph - this.table.firstGlyph];\n\n default:\n throw new Error(`Unknown lookup table format: ${this.table.version}`);\n }\n }\n\n @cache\n glyphsForValue(classValue) {\n let res = [];\n\n switch (this.table.version) {\n case 2: // segment format\n case 4: {\n for (let segment of this.table.segments) {\n if ((this.table.version === 2 && segment.value === classValue)) {\n res.push(...range(segment.firstGlyph, segment.lastGlyph + 1));\n } else {\n for (let index = 0; index < segment.values.length; index++) {\n if (segment.values[index] === classValue) {\n res.push(segment.firstGlyph + index);\n }\n }\n }\n }\n\n break;\n }\n\n case 6: { // lookup single\n for (let segment of this.table.segments) {\n if (segment.value === classValue) {\n res.push(segment.glyph);\n }\n }\n\n break;\n }\n\n case 8: { // lookup trimmed\n for (let i = 0; i < this.table.values.length; i++) {\n if (this.table.values[i] === classValue) {\n res.push(this.table.firstGlyph + i);\n }\n }\n\n break;\n }\n\n default:\n throw new Error(`Unknown lookup table format: ${this.table.version}`);\n }\n\n return res;\n }\n}\n","import AATLookupTable from './AATLookupTable';\n\nconst START_OF_TEXT_STATE = 0;\nconst START_OF_LINE_STATE = 1;\n\nconst END_OF_TEXT_CLASS = 0;\nconst OUT_OF_BOUNDS_CLASS = 1;\nconst DELETED_GLYPH_CLASS = 2;\nconst END_OF_LINE_CLASS = 3;\n\nconst DONT_ADVANCE = 0x4000;\n\nexport default class AATStateMachine {\n constructor(stateTable) {\n this.stateTable = stateTable;\n this.lookupTable = new AATLookupTable(stateTable.classTable);\n }\n\n process(glyphs, reverse, processEntry) {\n let currentState = START_OF_TEXT_STATE; // START_OF_LINE_STATE is used for kashida glyph insertions sometimes I think?\n let index = reverse ? glyphs.length - 1 : 0;\n let dir = reverse ? -1 : 1;\n\n while ((dir === 1 && index <= glyphs.length) || (dir === -1 && index >= -1)) {\n let glyph = null;\n let classCode = OUT_OF_BOUNDS_CLASS;\n let shouldAdvance = true;\n\n if (index === glyphs.length || index === -1) {\n classCode = END_OF_TEXT_CLASS;\n } else {\n glyph = glyphs[index];\n if (glyph.id === 0xffff) { // deleted glyph\n classCode = DELETED_GLYPH_CLASS;\n } else {\n classCode = this.lookupTable.lookup(glyph.id);\n if (classCode == null) {\n classCode = OUT_OF_BOUNDS_CLASS;\n }\n }\n }\n\n let row = this.stateTable.stateArray.getItem(currentState);\n let entryIndex = row[classCode];\n let entry = this.stateTable.entryTable.getItem(entryIndex);\n\n if (classCode !== END_OF_TEXT_CLASS && classCode !== DELETED_GLYPH_CLASS) {\n processEntry(glyph, entry, index);\n shouldAdvance = !(entry.flags & DONT_ADVANCE);\n }\n\n currentState = entry.newState;\n if (shouldAdvance) {\n index += dir;\n }\n }\n\n return glyphs;\n }\n\n /**\n * Performs a depth-first traversal of the glyph strings\n * represented by the state machine.\n */\n traverse(opts, state = 0, visited = new Set) {\n if (visited.has(state)) {\n return;\n }\n\n visited.add(state);\n\n let {nClasses, stateArray, entryTable} = this.stateTable;\n let row = stateArray.getItem(state);\n\n // Skip predefined classes\n for (let classCode = 4; classCode < nClasses; classCode++) {\n let entryIndex = row[classCode];\n let entry = entryTable.getItem(entryIndex);\n\n // Try all glyphs in the class\n for (let glyph of this.lookupTable.glyphsForValue(classCode)) {\n if (opts.enter) {\n opts.enter(glyph, entry);\n }\n\n if (entry.newState !== 0) {\n this.traverse(opts, entry.newState, visited);\n }\n\n if (opts.exit) {\n opts.exit(glyph, entry);\n }\n }\n }\n }\n}\n","import AATStateMachine from './AATStateMachine';\nimport AATLookupTable from './AATLookupTable';\nimport {cache} from '../decorators';\n\n// indic replacement flags\nconst MARK_FIRST = 0x8000;\nconst MARK_LAST = 0x2000;\nconst VERB = 0x000F;\n\n// contextual substitution and glyph insertion flag\nconst SET_MARK = 0x8000;\n\n// ligature entry flags\nconst SET_COMPONENT = 0x8000;\nconst PERFORM_ACTION = 0x2000;\n\n// ligature action masks\nconst LAST_MASK = 0x80000000;\nconst STORE_MASK = 0x40000000;\nconst OFFSET_MASK = 0x3FFFFFFF;\n\nconst VERTICAL_ONLY = 0x800000;\nconst REVERSE_DIRECTION = 0x400000;\nconst HORIZONTAL_AND_VERTICAL = 0x200000;\n\n// glyph insertion flags\nconst CURRENT_IS_KASHIDA_LIKE = 0x2000;\nconst MARKED_IS_KASHIDA_LIKE = 0x1000;\nconst CURRENT_INSERT_BEFORE = 0x0800;\nconst MARKED_INSERT_BEFORE = 0x0400;\nconst CURRENT_INSERT_COUNT = 0x03E0;\nconst MARKED_INSERT_COUNT = 0x001F;\n\nexport default class AATMorxProcessor {\n constructor(font) {\n this.processIndicRearragement = this.processIndicRearragement.bind(this);\n this.processContextualSubstitution = this.processContextualSubstitution.bind(this);\n this.processLigature = this.processLigature.bind(this);\n this.processNoncontextualSubstitutions = this.processNoncontextualSubstitutions.bind(this);\n this.processGlyphInsertion = this.processGlyphInsertion.bind(this);\n this.font = font;\n this.morx = font.morx;\n this.inputCache = null;\n }\n\n // Processes an array of glyphs and applies the specified features\n // Features should be in the form of {featureType:{featureSetting:boolean}}\n process(glyphs, features = {}) {\n for (let chain of this.morx.chains) {\n let flags = chain.defaultFlags;\n\n // enable/disable the requested features\n for (let feature of chain.features) {\n let f;\n if (f = features[feature.featureType]) {\n if (f[feature.featureSetting]) {\n flags &= feature.disableFlags;\n flags |= feature.enableFlags;\n } else if (f[feature.featureSetting] === false) {\n flags |= ~feature.disableFlags;\n flags &= ~feature.enableFlags;\n }\n }\n }\n\n for (let subtable of chain.subtables) {\n if (subtable.subFeatureFlags & flags) {\n this.processSubtable(subtable, glyphs);\n }\n }\n }\n\n // remove deleted glyphs\n let index = glyphs.length - 1;\n while (index >= 0) {\n if (glyphs[index].id === 0xffff) {\n glyphs.splice(index, 1);\n }\n\n index--;\n }\n\n return glyphs;\n }\n\n processSubtable(subtable, glyphs) {\n this.subtable = subtable;\n this.glyphs = glyphs;\n if (this.subtable.type === 4) {\n this.processNoncontextualSubstitutions(this.subtable, this.glyphs);\n return;\n }\n\n this.ligatureStack = [];\n this.markedGlyph = null;\n this.firstGlyph = null;\n this.lastGlyph = null;\n this.markedIndex = null;\n\n let stateMachine = this.getStateMachine(subtable);\n let process = this.getProcessor();\n\n let reverse = !!(this.subtable.coverage & REVERSE_DIRECTION);\n return stateMachine.process(this.glyphs, reverse, process);\n }\n\n @cache\n getStateMachine(subtable) {\n return new AATStateMachine(subtable.table.stateTable);\n }\n\n getProcessor() {\n switch (this.subtable.type) {\n case 0:\n return this.processIndicRearragement;\n case 1:\n return this.processContextualSubstitution;\n case 2:\n return this.processLigature;\n case 4:\n return this.processNoncontextualSubstitutions;\n case 5:\n return this.processGlyphInsertion;\n default:\n throw new Error(`Invalid morx subtable type: ${this.subtable.type}`);\n }\n }\n\n processIndicRearragement(glyph, entry, index) {\n if (entry.flags & MARK_FIRST) {\n this.firstGlyph = index;\n }\n\n if (entry.flags & MARK_LAST) {\n this.lastGlyph = index;\n }\n\n reorderGlyphs(this.glyphs, entry.flags & VERB, this.firstGlyph, this.lastGlyph);\n }\n\n processContextualSubstitution(glyph, entry, index) {\n let subsitutions = this.subtable.table.substitutionTable.items;\n if (entry.markIndex !== 0xffff) {\n let lookup = subsitutions.getItem(entry.markIndex);\n let lookupTable = new AATLookupTable(lookup);\n glyph = this.glyphs[this.markedGlyph];\n var gid = lookupTable.lookup(glyph.id);\n if (gid) {\n this.glyphs[this.markedGlyph] = this.font.getGlyph(gid, glyph.codePoints);\n }\n }\n\n if (entry.currentIndex !== 0xffff) {\n let lookup = subsitutions.getItem(entry.currentIndex);\n let lookupTable = new AATLookupTable(lookup);\n glyph = this.glyphs[index];\n var gid = lookupTable.lookup(glyph.id);\n if (gid) {\n this.glyphs[index] = this.font.getGlyph(gid, glyph.codePoints);\n }\n }\n\n if (entry.flags & SET_MARK) {\n this.markedGlyph = index;\n }\n }\n\n processLigature(glyph, entry, index) {\n if (entry.flags & SET_COMPONENT) {\n this.ligatureStack.push(index);\n }\n\n if (entry.flags & PERFORM_ACTION) {\n let actions = this.subtable.table.ligatureActions;\n let components = this.subtable.table.components;\n let ligatureList = this.subtable.table.ligatureList;\n\n let actionIndex = entry.action;\n let last = false;\n let ligatureIndex = 0;\n let codePoints = [];\n let ligatureGlyphs = [];\n\n while (!last) {\n let componentGlyph = this.ligatureStack.pop();\n codePoints.unshift(...this.glyphs[componentGlyph].codePoints);\n\n let action = actions.getItem(actionIndex++);\n last = !!(action & LAST_MASK);\n let store = !!(action & STORE_MASK);\n let offset = (action & OFFSET_MASK) << 2 >> 2; // sign extend 30 to 32 bits\n offset += this.glyphs[componentGlyph].id;\n\n let component = components.getItem(offset);\n ligatureIndex += component;\n\n if (last || store) {\n let ligatureEntry = ligatureList.getItem(ligatureIndex);\n this.glyphs[componentGlyph] = this.font.getGlyph(ligatureEntry, codePoints);\n ligatureGlyphs.push(componentGlyph);\n ligatureIndex = 0;\n codePoints = [];\n } else {\n this.glyphs[componentGlyph] = this.font.getGlyph(0xffff);\n }\n }\n\n // Put ligature glyph indexes back on the stack\n this.ligatureStack.push(...ligatureGlyphs);\n }\n }\n\n processNoncontextualSubstitutions(subtable, glyphs, index) {\n let lookupTable = new AATLookupTable(subtable.table.lookupTable);\n\n for (index = 0; index < glyphs.length; index++) {\n let glyph = glyphs[index];\n if (glyph.id !== 0xffff) {\n let gid = lookupTable.lookup(glyph.id);\n if (gid) { // 0 means do nothing\n glyphs[index] = this.font.getGlyph(gid, glyph.codePoints);\n }\n }\n }\n }\n\n _insertGlyphs(glyphIndex, insertionActionIndex, count, isBefore) {\n let insertions = [];\n while (count--) {\n let gid = this.subtable.table.insertionActions.getItem(insertionActionIndex++);\n insertions.push(this.font.getGlyph(gid));\n }\n\n if (!isBefore) {\n glyphIndex++;\n }\n\n this.glyphs.splice(glyphIndex, 0, ...insertions);\n }\n\n processGlyphInsertion(glyph, entry, index) {\n if (entry.flags & SET_MARK) {\n this.markedIndex = index;\n }\n\n if (entry.markedInsertIndex !== 0xffff) {\n let count = (entry.flags & MARKED_INSERT_COUNT) >>> 5;\n let isBefore = !!(entry.flags & MARKED_INSERT_BEFORE);\n this._insertGlyphs(this.markedIndex, entry.markedInsertIndex, count, isBefore);\n }\n\n if (entry.currentInsertIndex !== 0xffff) {\n let count = (entry.flags & CURRENT_INSERT_COUNT) >>> 5;\n let isBefore = !!(entry.flags & CURRENT_INSERT_BEFORE);\n this._insertGlyphs(index, entry.currentInsertIndex, count, isBefore);\n }\n }\n\n getSupportedFeatures() {\n let features = [];\n for (let chain of this.morx.chains) {\n for (let feature of chain.features) {\n features.push([feature.featureType, feature.featureSetting]);\n }\n }\n\n return features;\n }\n\n generateInputs(gid) {\n if (!this.inputCache) {\n this.generateInputCache();\n }\n\n return this.inputCache[gid] || [];\n }\n\n generateInputCache() {\n this.inputCache = {};\n\n for (let chain of this.morx.chains) {\n let flags = chain.defaultFlags;\n\n for (let subtable of chain.subtables) {\n if (subtable.subFeatureFlags & flags) {\n this.generateInputsForSubtable(subtable);\n }\n }\n }\n }\n\n generateInputsForSubtable(subtable) {\n // Currently, only supporting ligature subtables.\n if (subtable.type !== 2) {\n return;\n }\n\n let reverse = !!(subtable.coverage & REVERSE_DIRECTION);\n if (reverse) {\n throw new Error('Reverse subtable, not supported.');\n }\n\n this.subtable = subtable;\n this.ligatureStack = [];\n\n let stateMachine = this.getStateMachine(subtable);\n let process = this.getProcessor();\n\n let input = [];\n let stack = [];\n this.glyphs = [];\n\n stateMachine.traverse({\n enter: (glyph, entry) => {\n let glyphs = this.glyphs;\n stack.push({\n glyphs: glyphs.slice(),\n ligatureStack: this.ligatureStack.slice()\n });\n\n // Add glyph to input and glyphs to process.\n let g = this.font.getGlyph(glyph);\n input.push(g);\n glyphs.push(input[input.length - 1]);\n\n // Process ligature substitution\n process(glyphs[glyphs.length - 1], entry, glyphs.length - 1);\n\n // Add input to result if only one matching (non-deleted) glyph remains.\n let count = 0;\n let found = 0;\n for (let i = 0; i < glyphs.length && count <= 1; i++) {\n if (glyphs[i].id !== 0xffff) {\n count++;\n found = glyphs[i].id;\n }\n }\n\n if (count === 1) {\n let result = input.map(g => g.id);\n let cache = this.inputCache[found];\n if (cache) {\n cache.push(result);\n } else {\n this.inputCache[found] = [result];\n }\n }\n },\n\n exit: () => {\n ({glyphs: this.glyphs, ligatureStack: this.ligatureStack} = stack.pop());\n input.pop();\n }\n });\n }\n}\n\n// swaps the glyphs in rangeA with those in rangeB\n// reverse the glyphs inside those ranges if specified\n// ranges are in [offset, length] format\nfunction swap(glyphs, rangeA, rangeB, reverseA = false, reverseB = false) {\n let end = glyphs.splice(rangeB[0] - (rangeB[1] - 1), rangeB[1]);\n if (reverseB) {\n end.reverse();\n }\n\n let start = glyphs.splice(rangeA[0], rangeA[1], ...end);\n if (reverseA) {\n start.reverse();\n }\n\n glyphs.splice(rangeB[0] - (rangeA[1] - 1), 0, ...start);\n return glyphs;\n}\n\nfunction reorderGlyphs(glyphs, verb, firstGlyph, lastGlyph) {\n let length = lastGlyph - firstGlyph + 1;\n switch (verb) {\n case 0: // no change\n return glyphs;\n\n case 1: // Ax => xA\n return swap(glyphs, [firstGlyph, 1], [lastGlyph, 0]);\n\n case 2: // xD => Dx\n return swap(glyphs, [firstGlyph, 0], [lastGlyph, 1]);\n\n case 3: // AxD => DxA\n return swap(glyphs, [firstGlyph, 1], [lastGlyph, 1]);\n\n case 4: // ABx => xAB\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 0]);\n\n case 5: // ABx => xBA\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 0], true, false);\n\n case 6: // xCD => CDx\n return swap(glyphs, [firstGlyph, 0], [lastGlyph, 2]);\n\n case 7: // xCD => DCx\n return swap(glyphs, [firstGlyph, 0], [lastGlyph, 2], false, true);\n\n case 8: // AxCD => CDxA\n return swap(glyphs, [firstGlyph, 1], [lastGlyph, 2]);\n\n case 9: // AxCD => DCxA\n return swap(glyphs, [firstGlyph, 1], [lastGlyph, 2], false, true);\n\n case 10: // ABxD => DxAB\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 1]);\n\n case 11: // ABxD => DxBA\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 1], true, false);\n\n case 12: // ABxCD => CDxAB\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 2]);\n\n case 13: // ABxCD => CDxBA\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 2], true, false);\n\n case 14: // ABxCD => DCxAB\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 2], false, true);\n\n case 15: // ABxCD => DCxBA\n return swap(glyphs, [firstGlyph, 2], [lastGlyph, 2], true, true);\n\n default:\n throw new Error(`Unknown verb: ${verb}`);\n }\n}\n","import * as AATFeatureMap from './AATFeatureMap';\nimport * as Script from '../layout/Script';\nimport AATMorxProcessor from './AATMorxProcessor';\n\nexport default class AATLayoutEngine {\n constructor(font) {\n this.font = font;\n this.morxProcessor = new AATMorxProcessor(font);\n this.fallbackPosition = false;\n }\n\n substitute(glyphRun) {\n // AAT expects the glyphs to be in visual order prior to morx processing,\n // so reverse the glyphs if the script is right-to-left.\n if (glyphRun.direction === 'rtl') {\n glyphRun.glyphs.reverse();\n }\n\n this.morxProcessor.process(glyphRun.glyphs, AATFeatureMap.mapOTToAAT(glyphRun.features));\n }\n\n getAvailableFeatures(script, language) {\n return AATFeatureMap.mapAATToOT(this.morxProcessor.getSupportedFeatures());\n }\n\n stringsForGlyph(gid) {\n let glyphStrings = this.morxProcessor.generateInputs(gid);\n let result = new Set;\n\n for (let glyphs of glyphStrings) {\n this._addStrings(glyphs, 0, result, '');\n }\n\n return result;\n }\n\n _addStrings(glyphs, index, strings, string) {\n let codePoints = this.font._cmapProcessor.codePointsForGlyph(glyphs[index]);\n\n for (let codePoint of codePoints) {\n let s = string + String.fromCodePoint(codePoint);\n if (index < glyphs.length - 1) {\n this._addStrings(glyphs, index + 1, strings, s);\n } else {\n strings.add(s);\n }\n }\n }\n}\n","import * as Script from '../layout/Script';\n\n/**\n * ShapingPlans are used by the OpenType shapers to store which\n * features should by applied, and in what order to apply them.\n * The features are applied in groups called stages. A feature\n * can be applied globally to all glyphs, or locally to only\n * specific glyphs.\n *\n * @private\n */\nexport default class ShapingPlan {\n constructor(font, script, direction) {\n this.font = font;\n this.script = script;\n this.direction = direction;\n this.stages = [];\n this.globalFeatures = {};\n this.allFeatures = {};\n }\n\n /**\n * Adds the given features to the last stage.\n * Ignores features that have already been applied.\n */\n _addFeatures(features, global) {\n let stageIndex = this.stages.length - 1;\n let stage = this.stages[stageIndex];\n for (let feature of features) {\n if (this.allFeatures[feature] == null) {\n stage.push(feature);\n this.allFeatures[feature] = stageIndex;\n\n if (global) {\n this.globalFeatures[feature] = true;\n }\n }\n }\n }\n\n /**\n * Add features to the last stage\n */\n add(arg, global = true) {\n if (this.stages.length === 0) {\n this.stages.push([]);\n }\n\n if (typeof arg === 'string') {\n arg = [arg];\n }\n\n if (Array.isArray(arg)) {\n this._addFeatures(arg, global);\n } else if (typeof arg === 'object') {\n this._addFeatures(arg.global || [], true);\n this._addFeatures(arg.local || [], false);\n } else {\n throw new Error(\"Unsupported argument to ShapingPlan#add\");\n }\n }\n\n /**\n * Add a new stage\n */\n addStage(arg, global) {\n if (typeof arg === 'function') {\n this.stages.push(arg, []);\n } else {\n this.stages.push([]);\n this.add(arg, global);\n }\n }\n\n setFeatureOverrides(features) {\n if (Array.isArray(features)) {\n this.add(features);\n } else if (typeof features === 'object') {\n for (let tag in features) {\n if (features[tag]) {\n this.add(tag);\n } else if (this.allFeatures[tag] != null) {\n let stage = this.stages[this.allFeatures[tag]];\n stage.splice(stage.indexOf(tag), 1);\n delete this.allFeatures[tag];\n delete this.globalFeatures[tag];\n }\n }\n }\n }\n\n /**\n * Assigns the global features to the given glyphs\n */\n assignGlobalFeatures(glyphs) {\n for (let glyph of glyphs) {\n for (let feature in this.globalFeatures) {\n glyph.features[feature] = true;\n }\n }\n }\n\n /**\n * Executes the planned stages using the given OTProcessor\n */\n process(processor, glyphs, positions) {\n for (let stage of this.stages) {\n if (typeof stage === 'function') {\n if (!positions) {\n stage(this.font, glyphs, this);\n }\n\n } else if (stage.length > 0) {\n processor.applyFeatures(stage, glyphs, positions);\n }\n }\n }\n}\n","import {isDigit} from 'unicode-properties';\n\nconst VARIATION_FEATURES = ['rvrn'];\nconst COMMON_FEATURES = ['ccmp', 'locl', 'rlig', 'mark', 'mkmk'];\nconst FRACTIONAL_FEATURES = ['frac', 'numr', 'dnom'];\nconst HORIZONTAL_FEATURES = ['calt', 'clig', 'liga', 'rclt', 'curs', 'kern'];\nconst VERTICAL_FEATURES = ['vert'];\nconst DIRECTIONAL_FEATURES = {\n ltr: ['ltra', 'ltrm'],\n rtl: ['rtla', 'rtlm']\n};\n\nexport default class DefaultShaper {\n static zeroMarkWidths = 'AFTER_GPOS';\n static plan(plan, glyphs, features) {\n // Plan the features we want to apply\n this.planPreprocessing(plan);\n this.planFeatures(plan);\n this.planPostprocessing(plan, features);\n\n // Assign the global features to all the glyphs\n plan.assignGlobalFeatures(glyphs);\n\n // Assign local features to glyphs\n this.assignFeatures(plan, glyphs);\n }\n\n static planPreprocessing(plan) {\n plan.add({\n global: [...VARIATION_FEATURES, ...DIRECTIONAL_FEATURES[plan.direction]],\n local: FRACTIONAL_FEATURES\n });\n }\n\n static planFeatures(plan) {\n // Do nothing by default. Let subclasses override this.\n }\n\n static planPostprocessing(plan, userFeatures) {\n plan.add([...COMMON_FEATURES, ...HORIZONTAL_FEATURES]);\n plan.setFeatureOverrides(userFeatures);\n }\n\n static assignFeatures(plan, glyphs) {\n // Enable contextual fractions\n for (let i = 0; i < glyphs.length; i++) {\n let glyph = glyphs[i];\n if (glyph.codePoints[0] === 0x2044) { // fraction slash\n let start = i;\n let end = i + 1;\n\n // Apply numerator\n while (start > 0 && isDigit(glyphs[start - 1].codePoints[0])) {\n glyphs[start - 1].features.numr = true;\n glyphs[start - 1].features.frac = true;\n start--;\n }\n\n // Apply denominator\n while (end < glyphs.length && isDigit(glyphs[end].codePoints[0])) {\n glyphs[end].features.dnom = true;\n glyphs[end].features.frac = true;\n end++;\n }\n\n // Apply fraction slash\n glyph.features.frac = true;\n i = end - 1;\n }\n }\n }\n}\n","import DefaultShaper from './DefaultShaper';\nimport {getCategory} from 'unicode-properties';\nimport UnicodeTrie from 'unicode-trie';\nimport { decodeBase64 } from '../../utils';\n\nconst trie = new UnicodeTrie(decodeBase64(require('fs').readFileSync(__dirname + '/data.trie', 'base64')));\nconst FEATURES = ['isol', 'fina', 'fin2', 'fin3', 'medi', 'med2', 'init'];\n\nconst ShapingClasses = {\n Non_Joining: 0,\n Left_Joining: 1,\n Right_Joining: 2,\n Dual_Joining: 3,\n Join_Causing: 3,\n ALAPH: 4,\n 'DALATH RISH': 5,\n Transparent: 6\n};\n\nconst ISOL = 'isol';\nconst FINA = 'fina';\nconst FIN2 = 'fin2';\nconst FIN3 = 'fin3';\nconst MEDI = 'medi';\nconst MED2 = 'med2';\nconst INIT = 'init';\nconst NONE = null;\n\n// Each entry is [prevAction, curAction, nextState]\nconst STATE_TABLE = [\n // Non_Joining, Left_Joining, Right_Joining, Dual_Joining, ALAPH, DALATH RISH\n // State 0: prev was U, not willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ NONE, ISOL, 1 ], [ NONE, ISOL, 2 ], [ NONE, ISOL, 1 ], [ NONE, ISOL, 6 ] ],\n\n // State 1: prev was R or ISOL/ALAPH, not willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ NONE, ISOL, 1 ], [ NONE, ISOL, 2 ], [ NONE, FIN2, 5 ], [ NONE, ISOL, 6 ] ],\n\n // State 2: prev was D/L in ISOL form, willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ INIT, FINA, 1 ], [ INIT, FINA, 3 ], [ INIT, FINA, 4 ], [ INIT, FINA, 6 ] ],\n\n // State 3: prev was D in FINA form, willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ MEDI, FINA, 1 ], [ MEDI, FINA, 3 ], [ MEDI, FINA, 4 ], [ MEDI, FINA, 6 ] ],\n\n // State 4: prev was FINA ALAPH, not willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ MED2, ISOL, 1 ], [ MED2, ISOL, 2 ], [ MED2, FIN2, 5 ], [ MED2, ISOL, 6 ] ],\n\n // State 5: prev was FIN2/FIN3 ALAPH, not willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ ISOL, ISOL, 1 ], [ ISOL, ISOL, 2 ], [ ISOL, FIN2, 5 ], [ ISOL, ISOL, 6 ] ],\n\n // State 6: prev was DALATH/RISH, not willing to join.\n [ [ NONE, NONE, 0 ], [ NONE, ISOL, 2 ], [ NONE, ISOL, 1 ], [ NONE, ISOL, 2 ], [ NONE, FIN3, 5 ], [ NONE, ISOL, 6 ] ]\n];\n\n/**\n * This is a shaper for Arabic, and other cursive scripts.\n * It uses data from ArabicShaping.txt in the Unicode database,\n * compiled to a UnicodeTrie by generate-data.coffee.\n *\n * The shaping state machine was ported from Harfbuzz.\n * https://github.com/behdad/harfbuzz/blob/master/src/hb-ot-shape-complex-arabic.cc\n */\nexport default class ArabicShaper extends DefaultShaper {\n static planFeatures(plan) {\n plan.add(['ccmp', 'locl']);\n for (let i = 0; i < FEATURES.length; i++) {\n let feature = FEATURES[i];\n plan.addStage(feature, false);\n }\n\n plan.addStage('mset');\n }\n\n static assignFeatures(plan, glyphs) {\n super.assignFeatures(plan, glyphs);\n\n let prev = -1;\n let state = 0;\n let actions = [];\n\n // Apply the state machine to map glyphs to features\n for (let i = 0; i < glyphs.length; i++) {\n let curAction, prevAction;\n var glyph = glyphs[i];\n let type = getShapingClass(glyph.codePoints[0]);\n if (type === ShapingClasses.Transparent) {\n actions[i] = NONE;\n continue;\n }\n\n [prevAction, curAction, state] = STATE_TABLE[state][type];\n\n if (prevAction !== NONE && prev !== -1) {\n actions[prev] = prevAction;\n }\n\n actions[i] = curAction;\n prev = i;\n }\n\n // Apply the chosen features to their respective glyphs\n for (let index = 0; index < glyphs.length; index++) {\n let feature;\n var glyph = glyphs[index];\n if (feature = actions[index]) {\n glyph.features[feature] = true;\n }\n }\n }\n}\n\nfunction getShapingClass(codePoint) {\n let res = trie.get(codePoint);\n if (res) {\n return res - 1;\n }\n\n let category = getCategory(codePoint);\n if (category === 'Mn' || category === 'Me' || category === 'Cf') {\n return ShapingClasses.Transparent;\n }\n\n return ShapingClasses.Non_Joining;\n}\n","export default class GlyphIterator {\n constructor(glyphs, options) {\n this.glyphs = glyphs;\n this.reset(options);\n }\n\n reset(options = {}, index = 0) {\n this.options = options;\n this.flags = options.flags || {};\n this.markAttachmentType = options.markAttachmentType || 0;\n this.index = index;\n }\n\n get cur() {\n return this.glyphs[this.index] || null;\n }\n\n shouldIgnore(glyph) {\n return (this.flags.ignoreMarks && glyph.isMark) ||\n (this.flags.ignoreBaseGlyphs && glyph.isBase) ||\n (this.flags.ignoreLigatures && glyph.isLigature) ||\n (this.markAttachmentType && glyph.isMark && glyph.markAttachmentType !== this.markAttachmentType);\n }\n\n move(dir) {\n this.index += dir;\n while (0 <= this.index && this.index < this.glyphs.length && this.shouldIgnore(this.glyphs[this.index])) {\n this.index += dir;\n }\n\n if (0 > this.index || this.index >= this.glyphs.length) {\n return null;\n }\n\n return this.glyphs[this.index];\n }\n\n next() {\n return this.move(+1);\n }\n\n prev() {\n return this.move(-1);\n }\n\n peek(count = 1) {\n let idx = this.index;\n let res = this.increment(count);\n this.index = idx;\n return res;\n }\n\n peekIndex(count = 1) {\n let idx = this.index;\n this.increment(count);\n let res = this.index;\n this.index = idx;\n return res;\n }\n\n increment(count = 1) {\n let dir = count < 0 ? -1 : 1;\n count = Math.abs(count);\n while (count--) {\n this.move(dir);\n }\n\n return this.glyphs[this.index];\n }\n}\n","import GlyphIterator from './GlyphIterator';\nimport * as Script from '../layout/Script';\n\nconst DEFAULT_SCRIPTS = ['DFLT', 'dflt', 'latn'];\n\nexport default class OTProcessor {\n constructor(font, table) {\n this.font = font;\n this.table = table;\n\n this.script = null;\n this.scriptTag = null;\n\n this.language = null;\n this.languageTag = null;\n\n this.features = {};\n this.lookups = {};\n\n // Setup variation substitutions\n this.variationsIndex = font._variationProcessor\n ? this.findVariationsIndex(font._variationProcessor.normalizedCoords)\n : -1;\n\n // initialize to default script + language\n this.selectScript();\n\n // current context (set by applyFeatures)\n this.glyphs = [];\n this.positions = []; // only used by GPOS\n this.ligatureID = 1;\n this.currentFeature = null;\n }\n\n findScript(script) {\n if (this.table.scriptList == null) {\n return null;\n }\n\n if (!Array.isArray(script)) {\n script = [script];\n }\n\n for (let s of script) {\n for (let entry of this.table.scriptList) {\n if (entry.tag === s) {\n return entry;\n }\n }\n }\n\n return null;\n }\n\n selectScript(script, language, direction) {\n let changed = false;\n let entry;\n if (!this.script || script !== this.scriptTag) {\n entry = this.findScript(script);\n if (!entry) {\n entry = this.findScript(DEFAULT_SCRIPTS);\n }\n\n if (!entry) {\n return this.scriptTag;\n }\n\n this.scriptTag = entry.tag;\n this.script = entry.script;\n this.language = null;\n this.languageTag = null;\n changed = true;\n }\n\n if (!direction || direction !== this.direction) {\n this.direction = direction || Script.direction(script);\n }\n\n if (language && language.length < 4) {\n language += ' '.repeat(4 - language.length);\n }\n\n if (!language || language !== this.languageTag) {\n this.language = null;\n\n for (let lang of this.script.langSysRecords) {\n if (lang.tag === language) {\n this.language = lang.langSys;\n this.languageTag = lang.tag;\n break;\n }\n }\n\n if (!this.language) {\n this.language = this.script.defaultLangSys;\n this.languageTag = null;\n }\n\n changed = true;\n }\n\n // Build a feature lookup table\n if (changed) {\n this.features = {};\n if (this.language) {\n for (let featureIndex of this.language.featureIndexes) {\n let record = this.table.featureList[featureIndex];\n let substituteFeature = this.substituteFeatureForVariations(featureIndex);\n this.features[record.tag] = substituteFeature || record.feature;\n }\n }\n }\n\n return this.scriptTag;\n }\n\n lookupsForFeatures(userFeatures = [], exclude) {\n let lookups = [];\n for (let tag of userFeatures) {\n let feature = this.features[tag];\n if (!feature) {\n continue;\n }\n\n for (let lookupIndex of feature.lookupListIndexes) {\n if (exclude && exclude.indexOf(lookupIndex) !== -1) {\n continue;\n }\n\n lookups.push({\n feature: tag,\n index: lookupIndex,\n lookup: this.table.lookupList.get(lookupIndex)\n });\n }\n }\n\n lookups.sort((a, b) => a.index - b.index);\n return lookups;\n }\n\n substituteFeatureForVariations(featureIndex) {\n if (this.variationsIndex === -1) {\n return null;\n }\n\n let record = this.table.featureVariations.featureVariationRecords[this.variationsIndex];\n let substitutions = record.featureTableSubstitution.substitutions;\n for (let substitution of substitutions) {\n if (substitution.featureIndex === featureIndex) {\n return substitution.alternateFeatureTable;\n }\n }\n\n return null;\n }\n\n findVariationsIndex(coords) {\n let variations = this.table.featureVariations;\n if (!variations) {\n return -1;\n }\n\n let records = variations.featureVariationRecords;\n for (let i = 0; i < records.length; i++) {\n let conditions = records[i].conditionSet.conditionTable;\n if (this.variationConditionsMatch(conditions, coords)) {\n return i;\n }\n }\n\n return -1;\n }\n\n variationConditionsMatch(conditions, coords) {\n return conditions.every(condition => {\n let coord = condition.axisIndex < coords.length ? coords[condition.axisIndex] : 0;\n return condition.filterRangeMinValue <= coord && coord <= condition.filterRangeMaxValue;\n });\n }\n\n applyFeatures(userFeatures, glyphs, advances) {\n let lookups = this.lookupsForFeatures(userFeatures);\n this.applyLookups(lookups, glyphs, advances);\n }\n\n applyLookups(lookups, glyphs, positions) {\n this.glyphs = glyphs;\n this.positions = positions;\n this.glyphIterator = new GlyphIterator(glyphs);\n\n for (let { feature, lookup } of lookups) {\n this.currentFeature = feature;\n this.glyphIterator.reset(lookup.flags);\n\n while (this.glyphIterator.index < glyphs.length) {\n if (!(feature in this.glyphIterator.cur.features)) {\n this.glyphIterator.next();\n continue;\n }\n\n for (let table of lookup.subTables) {\n let res = this.applyLookup(lookup.lookupType, table);\n if (res) {\n break;\n }\n }\n\n this.glyphIterator.next();\n }\n }\n }\n\n applyLookup(lookup, table) {\n throw new Error(\"applyLookup must be implemented by subclasses\");\n }\n\n applyLookupList(lookupRecords) {\n let options = this.glyphIterator.options;\n let glyphIndex = this.glyphIterator.index;\n\n for (let lookupRecord of lookupRecords) {\n // Reset flags and find glyph index for this lookup record\n this.glyphIterator.reset(options, glyphIndex);\n this.glyphIterator.increment(lookupRecord.sequenceIndex);\n\n // Get the lookup and setup flags for subtables\n let lookup = this.table.lookupList.get(lookupRecord.lookupListIndex);\n this.glyphIterator.reset(lookup.flags, this.glyphIterator.index);\n\n // Apply lookup subtables until one matches\n for (let table of lookup.subTables) {\n if (this.applyLookup(lookup.lookupType, table)) {\n break;\n }\n }\n }\n\n this.glyphIterator.reset(options, glyphIndex);\n return true;\n }\n\n coverageIndex(coverage, glyph) {\n if (glyph == null) {\n glyph = this.glyphIterator.cur.id;\n }\n\n switch (coverage.version) {\n case 1:\n return coverage.glyphs.indexOf(glyph);\n\n case 2:\n for (let range of coverage.rangeRecords) {\n if (range.start <= glyph && glyph <= range.end) {\n return range.startCoverageIndex + glyph - range.start;\n }\n }\n\n break;\n }\n\n return -1;\n }\n\n match(sequenceIndex, sequence, fn, matched) {\n let pos = this.glyphIterator.index;\n let glyph = this.glyphIterator.increment(sequenceIndex);\n let idx = 0;\n\n while (idx < sequence.length && glyph && fn(sequence[idx], glyph)) {\n if (matched) {\n matched.push(this.glyphIterator.index);\n }\n\n idx++;\n glyph = this.glyphIterator.next();\n }\n\n this.glyphIterator.index = pos;\n if (idx < sequence.length) {\n return false;\n }\n\n return matched || true;\n }\n\n sequenceMatches(sequenceIndex, sequence) {\n return this.match(sequenceIndex, sequence, (component, glyph) => component === glyph.id);\n }\n\n sequenceMatchIndices(sequenceIndex, sequence) {\n return this.match(sequenceIndex, sequence, (component, glyph) => {\n // If the current feature doesn't apply to this glyph,\n if (!(this.currentFeature in glyph.features)) {\n return false;\n }\n\n return component === glyph.id;\n }, []);\n }\n\n coverageSequenceMatches(sequenceIndex, sequence) {\n return this.match(sequenceIndex, sequence, (coverage, glyph) =>\n this.coverageIndex(coverage, glyph.id) >= 0\n );\n }\n\n getClassID(glyph, classDef) {\n switch (classDef.version) {\n case 1: // Class array\n let i = glyph - classDef.startGlyph;\n if (i >= 0 && i < classDef.classValueArray.length) {\n return classDef.classValueArray[i];\n }\n\n break;\n\n case 2:\n for (let range of classDef.classRangeRecord) {\n if (range.start <= glyph && glyph <= range.end) {\n return range.class;\n }\n }\n\n break;\n }\n\n return 0;\n }\n\n classSequenceMatches(sequenceIndex, sequence, classDef) {\n return this.match(sequenceIndex, sequence, (classID, glyph) =>\n classID === this.getClassID(glyph.id, classDef)\n );\n }\n\n applyContext(table) {\n let index, set;\n switch (table.version) {\n case 1:\n index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n set = table.ruleSets[index];\n for (let rule of set) {\n if (this.sequenceMatches(1, rule.input)) {\n return this.applyLookupList(rule.lookupRecords);\n }\n }\n\n break;\n\n case 2:\n if (this.coverageIndex(table.coverage) === -1) {\n return false;\n }\n\n index = this.getClassID(this.glyphIterator.cur.id, table.classDef);\n if (index === -1) {\n return false;\n }\n\n set = table.classSet[index];\n for (let rule of set) {\n if (this.classSequenceMatches(1, rule.classes, table.classDef)) {\n return this.applyLookupList(rule.lookupRecords);\n }\n }\n\n break;\n\n case 3:\n if (this.coverageSequenceMatches(0, table.coverages)) {\n return this.applyLookupList(table.lookupRecords);\n }\n\n break;\n }\n\n return false;\n }\n\n applyChainingContext(table) {\n let index;\n switch (table.version) {\n case 1:\n index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n let set = table.chainRuleSets[index];\n for (let rule of set) {\n if (this.sequenceMatches(-rule.backtrack.length, rule.backtrack)\n && this.sequenceMatches(1, rule.input)\n && this.sequenceMatches(1 + rule.input.length, rule.lookahead)) {\n return this.applyLookupList(rule.lookupRecords);\n }\n }\n\n break;\n\n case 2:\n if (this.coverageIndex(table.coverage) === -1) {\n return false;\n }\n\n index = this.getClassID(this.glyphIterator.cur.id, table.inputClassDef);\n let rules = table.chainClassSet[index];\n if (!rules) {\n return false;\n }\n\n for (let rule of rules) {\n if (this.classSequenceMatches(-rule.backtrack.length, rule.backtrack, table.backtrackClassDef) &&\n this.classSequenceMatches(1, rule.input, table.inputClassDef) &&\n this.classSequenceMatches(1 + rule.input.length, rule.lookahead, table.lookaheadClassDef)) {\n return this.applyLookupList(rule.lookupRecords);\n }\n }\n\n break;\n\n case 3:\n if (this.coverageSequenceMatches(-table.backtrackGlyphCount, table.backtrackCoverage) &&\n this.coverageSequenceMatches(0, table.inputCoverage) &&\n this.coverageSequenceMatches(table.inputGlyphCount, table.lookaheadCoverage)) {\n return this.applyLookupList(table.lookupRecords);\n }\n\n break;\n }\n\n return false;\n }\n}\n","import {isMark} from 'unicode-properties';\nimport OTProcessor from './OTProcessor';\n\nexport default class GlyphInfo {\n constructor(font, id, codePoints = [], features) {\n this._font = font;\n this.codePoints = codePoints;\n this.id = id;\n\n this.features = {};\n if (Array.isArray(features)) {\n for (let i = 0; i < features.length; i++) {\n let feature = features[i];\n this.features[feature] = true;\n }\n } else if (typeof features === 'object') {\n Object.assign(this.features, features);\n }\n\n this.ligatureID = null;\n this.ligatureComponent = null;\n this.isLigated = false;\n this.cursiveAttachment = null;\n this.markAttachment = null;\n this.shaperInfo = null;\n this.substituted = false;\n this.isMultiplied = false;\n }\n\n get id() {\n return this._id;\n }\n\n set id(id) {\n this._id = id;\n this.substituted = true;\n\n let GDEF = this._font.GDEF;\n if (GDEF && GDEF.glyphClassDef) {\n // TODO: clean this up\n let classID = OTProcessor.prototype.getClassID(id, GDEF.glyphClassDef);\n this.isBase = classID === 1;\n this.isLigature = classID === 2;\n this.isMark = classID === 3;\n this.markAttachmentType = GDEF.markAttachClassDef ? OTProcessor.prototype.getClassID(id, GDEF.markAttachClassDef) : 0;\n } else {\n this.isMark = this.codePoints.length > 0 && this.codePoints.every(isMark);\n this.isBase = !this.isMark;\n this.isLigature = this.codePoints.length > 1;\n this.markAttachmentType = 0;\n }\n }\n\n copy() {\n return new GlyphInfo(this._font, this.id, this.codePoints, this.features);\n }\n}\n","import DefaultShaper from './DefaultShaper';\nimport GlyphInfo from '../GlyphInfo';\n\n/**\n * This is a shaper for the Hangul script, used by the Korean language.\n * It does the following:\n * - decompose if unsupported by the font:\n * -> \n * -> \n * -> \n *\n * - compose if supported by the font:\n * -> \n * -> \n * -> \n *\n * - reorder tone marks (S is any valid syllable):\n * -> \n *\n * - apply ljmo, vjmo, and tjmo OpenType features to decomposed Jamo sequences.\n *\n * This logic is based on the following documents:\n * - http://www.microsoft.com/typography/OpenTypeDev/hangul/intro.htm\n * - http://ktug.org/~nomos/harfbuzz-hangul/hangulshaper.pdf\n */\nexport default class HangulShaper extends DefaultShaper {\n static zeroMarkWidths = 'NONE';\n static planFeatures(plan) {\n plan.add(['ljmo', 'vjmo', 'tjmo'], false);\n }\n\n static assignFeatures(plan, glyphs) {\n let state = 0;\n let i = 0;\n while (i < glyphs.length) {\n let action;\n let glyph = glyphs[i];\n let code = glyph.codePoints[0];\n let type = getType(code);\n\n [ action, state ] = STATE_TABLE[state][type];\n\n switch (action) {\n case DECOMPOSE:\n // Decompose the composed syllable if it is not supported by the font.\n if (!plan.font.hasGlyphForCodePoint(code)) {\n i = decompose(glyphs, i, plan.font);\n }\n break;\n\n case COMPOSE:\n // Found a decomposed syllable. Try to compose if supported by the font.\n i = compose(glyphs, i, plan.font);\n break;\n\n case TONE_MARK:\n // Got a valid syllable, followed by a tone mark. Move the tone mark to the beginning of the syllable.\n reorderToneMark(glyphs, i, plan.font);\n break;\n\n case INVALID:\n // Tone mark has no valid syllable to attach to, so insert a dotted circle\n i = insertDottedCircle(glyphs, i, plan.font);\n break;\n }\n\n i++;\n }\n }\n}\n\nconst HANGUL_BASE = 0xac00;\nconst HANGUL_END = 0xd7a4;\nconst HANGUL_COUNT = HANGUL_END - HANGUL_BASE + 1;\nconst L_BASE = 0x1100; // lead\nconst V_BASE = 0x1161; // vowel\nconst T_BASE = 0x11a7; // trail\nconst L_COUNT = 19;\nconst V_COUNT = 21;\nconst T_COUNT = 28;\nconst L_END = L_BASE + L_COUNT - 1;\nconst V_END = V_BASE + V_COUNT - 1;\nconst T_END = T_BASE + T_COUNT - 1;\nconst DOTTED_CIRCLE = 0x25cc;\n\nconst isL = code => 0x1100 <= code && code <= 0x115f || 0xa960 <= code && code <= 0xa97c;\nconst isV = code => 0x1160 <= code && code <= 0x11a7 || 0xd7b0 <= code && code <= 0xd7c6;\nconst isT = code => 0x11a8 <= code && code <= 0x11ff || 0xd7cb <= code && code <= 0xd7fb;\nconst isTone = code => 0x302e <= code && code <= 0x302f;\nconst isLVT = code => HANGUL_BASE <= code && code <= HANGUL_END;\nconst isLV = code => (code - HANGUL_BASE) < HANGUL_COUNT && (code - HANGUL_BASE) % T_COUNT === 0;\nconst isCombiningL = code => L_BASE <= code && code <= L_END;\nconst isCombiningV = code => V_BASE <= code && code <= V_END;\nconst isCombiningT = code => T_BASE + 1 && 1 <= code && code <= T_END;\n\n// Character categories\nconst X = 0; // Other character\nconst L = 1; // Leading consonant\nconst V = 2; // Medial vowel\nconst T = 3; // Trailing consonant\nconst LV = 4; // Composed syllable\nconst LVT = 5; // Composed syllable\nconst M = 6; // Tone mark\n\n// This function classifies a character using the above categories.\nfunction getType(code) {\n if (isL(code)) { return L; }\n if (isV(code)) { return V; }\n if (isT(code)) { return T; }\n if (isLV(code)) { return LV; }\n if (isLVT(code)) { return LVT; }\n if (isTone(code)) { return M; }\n return X;\n}\n\n// State machine actions\nconst NO_ACTION = 0;\nconst DECOMPOSE = 1;\nconst COMPOSE = 2;\nconst TONE_MARK = 4;\nconst INVALID = 5;\n\n// Build a state machine that accepts valid syllables, and applies actions along the way.\n// The logic this is implementing is documented at the top of the file.\nconst STATE_TABLE = [\n // X L V T LV LVT M\n // State 0: start state\n [ [ NO_ACTION, 0 ], [ NO_ACTION, 1 ], [ NO_ACTION, 0 ], [ NO_ACTION, 0 ], [ DECOMPOSE, 2 ], [ DECOMPOSE, 3 ], [ INVALID, 0 ] ],\n\n // State 1: \n [ [ NO_ACTION, 0 ], [ NO_ACTION, 1 ], [ COMPOSE, 2 ], [ NO_ACTION, 0 ], [ DECOMPOSE, 2 ], [ DECOMPOSE, 3 ], [ INVALID, 0 ] ],\n\n // State 2: or \n [ [ NO_ACTION, 0 ], [ NO_ACTION, 1 ], [ NO_ACTION, 0 ], [ COMPOSE, 3 ], [ DECOMPOSE, 2 ], [ DECOMPOSE, 3 ], [ TONE_MARK, 0 ] ],\n\n // State 3: or \n [ [ NO_ACTION, 0 ], [ NO_ACTION, 1 ], [ NO_ACTION, 0 ], [ NO_ACTION, 0 ], [ DECOMPOSE, 2 ], [ DECOMPOSE, 3 ], [ TONE_MARK, 0 ] ]\n];\n\nfunction getGlyph(font, code, features) {\n return new GlyphInfo(font, font.glyphForCodePoint(code).id, [code], features);\n}\n\nfunction decompose(glyphs, i, font) {\n let glyph = glyphs[i];\n let code = glyph.codePoints[0];\n\n let s = code - HANGUL_BASE;\n let t = T_BASE + s % T_COUNT;\n s = s / T_COUNT | 0;\n let l = L_BASE + s / V_COUNT | 0;\n let v = V_BASE + s % V_COUNT;\n\n // Don't decompose if all of the components are not available\n if (!font.hasGlyphForCodePoint(l) ||\n !font.hasGlyphForCodePoint(v) ||\n (t !== T_BASE && !font.hasGlyphForCodePoint(t))) {\n return i;\n }\n\n // Replace the current glyph with decomposed L, V, and T glyphs,\n // and apply the proper OpenType features to each component.\n let ljmo = getGlyph(font, l, glyph.features);\n ljmo.features.ljmo = true;\n\n let vjmo = getGlyph(font, v, glyph.features);\n vjmo.features.vjmo = true;\n\n let insert = [ ljmo, vjmo ];\n\n if (t > T_BASE) {\n let tjmo = getGlyph(font, t, glyph.features);\n tjmo.features.tjmo = true;\n insert.push(tjmo);\n }\n\n glyphs.splice(i, 1, ...insert);\n return i + insert.length - 1;\n}\n\nfunction compose(glyphs, i, font) {\n let glyph = glyphs[i];\n let code = glyphs[i].codePoints[0];\n let type = getType(code);\n\n let prev = glyphs[i - 1].codePoints[0];\n let prevType = getType(prev);\n\n // Figure out what type of syllable we're dealing with\n let lv, ljmo, vjmo, tjmo;\n if (prevType === LV && type === T) {\n // \n lv = prev;\n tjmo = glyph;\n } else {\n if (type === V) {\n // \n ljmo = glyphs[i - 1];\n vjmo = glyph;\n } else {\n // \n ljmo = glyphs[i - 2];\n vjmo = glyphs[i - 1];\n tjmo = glyph;\n }\n\n let l = ljmo.codePoints[0];\n let v = vjmo.codePoints[0];\n\n // Make sure L and V are combining characters\n if (isCombiningL(l) && isCombiningV(v)) {\n lv = HANGUL_BASE + ((l - L_BASE) * V_COUNT + (v - V_BASE)) * T_COUNT;\n }\n }\n\n let t = (tjmo && tjmo.codePoints[0]) || T_BASE;\n if ((lv != null) && (t === T_BASE || isCombiningT(t))) {\n let s = lv + (t - T_BASE);\n\n // Replace with a composed glyph if supported by the font,\n // otherwise apply the proper OpenType features to each component.\n if (font.hasGlyphForCodePoint(s)) {\n let del = prevType === V ? 3 : 2;\n glyphs.splice(i - del + 1, del, getGlyph(font, s, glyph.features));\n return i - del + 1;\n }\n }\n\n // Didn't compose (either a non-combining component or unsupported by font).\n if (ljmo) { ljmo.features.ljmo = true; }\n if (vjmo) { vjmo.features.vjmo = true; }\n if (tjmo) { tjmo.features.tjmo = true; }\n\n if (prevType === LV) {\n // Sequence was originally , which got combined earlier.\n // Either the T was non-combining, or the LVT glyph wasn't supported.\n // Decompose the glyph again and apply OT features.\n decompose(glyphs, i - 1, font);\n return i + 1;\n }\n\n return i;\n}\n\nfunction getLength(code) {\n switch (getType(code)) {\n case LV:\n case LVT:\n return 1;\n case V:\n return 2;\n case T:\n return 3;\n }\n}\n\nfunction reorderToneMark(glyphs, i, font) {\n let glyph = glyphs[i];\n let code = glyphs[i].codePoints[0];\n\n // Move tone mark to the beginning of the previous syllable, unless it is zero width\n if (font.glyphForCodePoint(code).advanceWidth === 0) { return; }\n\n let prev = glyphs[i - 1].codePoints[0];\n let len = getLength(prev);\n\n glyphs.splice(i, 1);\n return glyphs.splice(i - len, 0, glyph);\n}\n\nfunction insertDottedCircle(glyphs, i, font) {\n let glyph = glyphs[i];\n let code = glyphs[i].codePoints[0];\n\n if (font.hasGlyphForCodePoint(DOTTED_CIRCLE)) {\n let dottedCircle = getGlyph(font, DOTTED_CIRCLE, glyph.features);\n\n // If the tone mark is zero width, insert the dotted circle before, otherwise after\n let idx = font.glyphForCodePoint(code).advanceWidth === 0 ? i : i + 1;\n glyphs.splice(idx, 0, dottedCircle);\n i++;\n }\n\n return i;\n}\n","{\"stateTable\":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,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,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,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,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,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,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,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,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,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,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,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,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,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,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,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,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,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,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,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,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,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,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,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,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,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,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,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,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,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,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,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,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,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,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,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,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,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,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,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,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],\"accepting\":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],\"tags\":[[],[\"broken_cluster\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"standalone_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"consonant_syllable\"],[\"broken_cluster\"],[\"symbol_cluster\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"symbol_cluster\"],[],[\"symbol_cluster\"],[\"symbol_cluster\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"symbol_cluster\"],[\"symbol_cluster\"],[\"symbol_cluster\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[\"broken_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"broken_cluster\"],[\"symbol_cluster\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[],[],[\"broken_cluster\"],[],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[],[],[\"consonant_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[],[],[\"vowel_syllable\"],[],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[],[\"standalone_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[],[],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[],[],[],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[],[],[\"consonant_syllable\",\"broken_cluster\"],[\"consonant_syllable\",\"broken_cluster\"],[],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[],[],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"consonant_syllable\"],[],[\"consonant_syllable\"],[\"consonant_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"vowel_syllable\"],[],[\"vowel_syllable\"],[\"vowel_syllable\"],[\"broken_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"standalone_cluster\"],[\"standalone_cluster\"],[],[\"consonant_syllable\"],[\"vowel_syllable\"],[\"standalone_cluster\"]]}","{\"categories\":[\"O\",\"IND\",\"S\",\"GB\",\"B\",\"FM\",\"CGJ\",\"VMAbv\",\"VMPst\",\"VAbv\",\"VPst\",\"CMBlw\",\"VPre\",\"VBlw\",\"H\",\"VMBlw\",\"CMAbv\",\"MBlw\",\"CS\",\"R\",\"SUB\",\"MPst\",\"MPre\",\"FAbv\",\"FPst\",\"FBlw\",\"null\",\"SMAbv\",\"SMBlw\",\"VMPre\",\"ZWNJ\",\"ZWJ\",\"WJ\",\"M\",\"VS\",\"N\",\"HN\",\"MAbv\"],\"decompositions\":{\"2507\":[2503,2494],\"2508\":[2503,2519],\"2888\":[2887,2902],\"2891\":[2887,2878],\"2892\":[2887,2903],\"3018\":[3014,3006],\"3019\":[3015,3006],\"3020\":[3014,3031],\"3144\":[3142,3158],\"3264\":[3263,3285],\"3271\":[3270,3285],\"3272\":[3270,3286],\"3274\":[3270,3266],\"3275\":[3270,3266,3285],\"3402\":[3398,3390],\"3403\":[3399,3390],\"3404\":[3398,3415],\"3546\":[3545,3530],\"3548\":[3545,3535],\"3549\":[3545,3535,3530],\"3550\":[3545,3551],\"3635\":[3661,3634],\"3763\":[3789,3762],\"3955\":[3953,3954],\"3957\":[3953,3956],\"3958\":[4018,3968],\"3959\":[4018,3953,3968],\"3960\":[4019,3968],\"3961\":[4019,3953,3968],\"3969\":[3953,3968],\"6971\":[6970,6965],\"6973\":[6972,6965],\"6976\":[6974,6965],\"6977\":[6975,6965],\"6979\":[6978,6965],\"69934\":[69937,69927],\"69935\":[69938,69927],\"70475\":[70471,70462],\"70476\":[70471,70487],\"70843\":[70841,70842],\"70844\":[70841,70832],\"70846\":[70841,70845],\"71098\":[71096,71087],\"71099\":[71097,71087]},\"stateTable\":[[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,0,0,0,0,0,0,0],[2,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[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,0,0,0,26,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,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[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,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,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,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7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0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,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,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[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,0,0,0,0,0,51,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,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[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,0,0,0,50,0,51,0]],\"accepting\":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],\"tags\":[[],[\"broken_cluster\"],[\"independent_cluster\"],[\"symbol_cluster\"],[\"standard_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"numeral_cluster\"],[\"broken_cluster\"],[\"independent_cluster\"],[\"symbol_cluster\"],[\"symbol_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"virama_terminated_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"broken_cluster\"],[\"broken_cluster\"],[\"numeral_cluster\"],[\"number_joiner_terminated_cluster\"],[\"standard_cluster\"],[\"standard_cluster\"],[\"numeral_cluster\"]]}","// Cateories used in the OpenType spec:\n// https://www.microsoft.com/typography/otfntdev/devanot/shaping.aspx\nexport const CATEGORIES = {\n X: 1 << 0,\n C: 1 << 1,\n V: 1 << 2,\n N: 1 << 3,\n H: 1 << 4,\n ZWNJ: 1 << 5,\n ZWJ: 1 << 6,\n M: 1 << 7,\n SM: 1 << 8,\n VD: 1 << 9,\n A: 1 << 10,\n Placeholder: 1 << 11,\n Dotted_Circle: 1 << 12,\n RS: 1 << 13, // Register Shifter, used in Khmer OT spec.\n Coeng: 1 << 14, // Khmer-style Virama.\n Repha: 1 << 15, // Atomically-encoded logical or visual repha.\n Ra: 1 << 16,\n CM: 1 << 17, // Consonant-Medial.\n Symbol: 1 << 18 // Avagraha, etc that take marks (SM,A,VD).\n};\n\n// Visual positions in a syllable from left to right.\nexport const POSITIONS = {\n Start: 1 << 0,\n\n Ra_To_Become_Reph: 1 << 1,\n Pre_M: 1 << 2,\n Pre_C: 1 << 3,\n\n Base_C: 1 << 4,\n After_Main: 1 << 5,\n\n Above_C: 1 << 6,\n\n Before_Sub: 1 << 7,\n Below_C: 1 << 8,\n After_Sub: 1 << 9,\n\n Before_Post: 1 << 10,\n Post_C: 1 << 11,\n After_Post: 1 << 12,\n\n Final_C: 1 << 13,\n SMVD: 1 << 14,\n\n End: 1 << 15\n};\n\nexport const CONSONANT_FLAGS = CATEGORIES.C | CATEGORIES.Ra | CATEGORIES.CM | CATEGORIES.V | CATEGORIES.Placeholder | CATEGORIES.Dotted_Circle;\nexport const JOINER_FLAGS = CATEGORIES.ZWJ | CATEGORIES.ZWNJ;\nexport const HALANT_OR_COENG_FLAGS = CATEGORIES.H | CATEGORIES.Coeng;\n\nexport const INDIC_CONFIGS = {\n Default: {\n hasOldSpec: false,\n virama: 0,\n basePos: 'Last',\n rephPos: POSITIONS.Before_Post,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Devanagari: {\n hasOldSpec: true,\n virama: 0x094D,\n basePos: 'Last',\n rephPos: POSITIONS.Before_Post,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Bengali: {\n hasOldSpec: true,\n virama: 0x09CD,\n basePos: 'Last',\n rephPos: POSITIONS.After_Sub,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Gurmukhi: {\n hasOldSpec: true,\n virama: 0x0A4D,\n basePos: 'Last',\n rephPos: POSITIONS.Before_Sub,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Gujarati: {\n hasOldSpec: true,\n virama: 0x0ACD,\n basePos: 'Last',\n rephPos: POSITIONS.Before_Post,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Oriya: {\n hasOldSpec: true,\n virama: 0x0B4D,\n basePos: 'Last',\n rephPos: POSITIONS.After_Main,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Tamil: {\n hasOldSpec: true,\n virama: 0x0BCD,\n basePos: 'Last',\n rephPos: POSITIONS.After_Post,\n rephMode: 'Implicit',\n blwfMode: 'Pre_And_Post'\n },\n\n Telugu: {\n hasOldSpec: true,\n virama: 0x0C4D,\n basePos: 'Last',\n rephPos: POSITIONS.After_Post,\n rephMode: 'Explicit',\n blwfMode: 'Post_Only'\n },\n\n Kannada: {\n hasOldSpec: true,\n virama: 0x0CCD,\n basePos: 'Last',\n rephPos: POSITIONS.After_Post,\n rephMode: 'Implicit',\n blwfMode: 'Post_Only'\n },\n\n Malayalam: {\n hasOldSpec: true,\n virama: 0x0D4D,\n basePos: 'Last',\n rephPos: POSITIONS.After_Main,\n rephMode: 'Log_Repha',\n blwfMode: 'Pre_And_Post'\n },\n\n // Handled by UniversalShaper\n // Sinhala: {\n // hasOldSpec: false,\n // virama: 0x0DCA,\n // basePos: 'Last_Sinhala',\n // rephPos: POSITIONS.After_Main,\n // rephMode: 'Explicit',\n // blwfMode: 'Pre_And_Post'\n // },\n\n Khmer: {\n hasOldSpec: false,\n virama: 0x17D2,\n basePos: 'First',\n rephPos: POSITIONS.Ra_To_Become_Reph,\n rephMode: 'Vis_Repha',\n blwfMode: 'Pre_And_Post'\n }\n};\n\n// Additional decompositions that aren't in Unicode\nexport const INDIC_DECOMPOSITIONS = {\n // Khmer\n 0x17BE: [0x17C1, 0x17BE],\n 0x17BF: [0x17C1, 0x17BF],\n 0x17C0: [0x17C1, 0x17C0],\n 0x17C4: [0x17C1, 0x17C4],\n 0x17C5: [0x17C1, 0x17C5]\n};\n","import DefaultShaper from './DefaultShaper';\nimport StateMachine from 'dfa';\nimport UnicodeTrie from 'unicode-trie';\nimport {getCategory} from 'unicode-properties';\nimport * as Script from '../../layout/Script';\nimport GlyphInfo from '../GlyphInfo';\nimport indicMachine from './indic.json';\nimport useData from './use.json';\nimport {\n CATEGORIES,\n POSITIONS,\n CONSONANT_FLAGS,\n JOINER_FLAGS,\n HALANT_OR_COENG_FLAGS, INDIC_CONFIGS,\n INDIC_DECOMPOSITIONS\n} from './indic-data';\nimport { decodeBase64 } from '../../utils';\n\nconst {decompositions} = useData;\nconst trie = new UnicodeTrie(decodeBase64(require('fs').readFileSync(__dirname + '/indic.trie', 'base64')));\nconst stateMachine = new StateMachine(indicMachine);\n\n/**\n * The IndicShaper supports indic scripts e.g. Devanagari, Kannada, etc.\n * Based on code from Harfbuzz: https://github.com/behdad/harfbuzz/blob/master/src/hb-ot-shape-complex-indic.cc\n */\nexport default class IndicShaper extends DefaultShaper {\n static zeroMarkWidths = 'NONE';\n static planFeatures(plan) {\n plan.addStage(setupSyllables);\n\n plan.addStage(['locl', 'ccmp']);\n\n plan.addStage(initialReordering);\n\n plan.addStage('nukt');\n plan.addStage('akhn');\n plan.addStage('rphf', false);\n plan.addStage('rkrf');\n plan.addStage('pref', false);\n plan.addStage('blwf', false);\n plan.addStage('abvf', false);\n plan.addStage('half', false);\n plan.addStage('pstf', false);\n plan.addStage('vatu');\n plan.addStage('cjct');\n plan.addStage('cfar', false);\n\n plan.addStage(finalReordering);\n\n plan.addStage({\n local: ['init'],\n global: ['pres', 'abvs', 'blws', 'psts', 'haln', 'dist', 'abvm', 'blwm', 'calt', 'clig']\n });\n\n // Setup the indic config for the selected script\n plan.unicodeScript = Script.fromOpenType(plan.script);\n plan.indicConfig = INDIC_CONFIGS[plan.unicodeScript] || INDIC_CONFIGS.Default;\n plan.isOldSpec = plan.indicConfig.hasOldSpec && plan.script[plan.script.length - 1] !== '2';\n\n // TODO: turn off kern (Khmer) and liga features.\n }\n\n static assignFeatures(plan, glyphs) {\n // Decompose split matras\n // TODO: do this in a more general unicode normalizer\n for (let i = glyphs.length - 1; i >= 0; i--) {\n let codepoint = glyphs[i].codePoints[0];\n let d = INDIC_DECOMPOSITIONS[codepoint] || decompositions[codepoint];\n if (d) {\n let decomposed = d.map(c => {\n let g = plan.font.glyphForCodePoint(c);\n return new GlyphInfo(plan.font, g.id, [c], glyphs[i].features);\n });\n\n glyphs.splice(i, 1, ...decomposed);\n }\n }\n }\n}\n\nfunction indicCategory(glyph) {\n return trie.get(glyph.codePoints[0]) >> 8;\n}\n\nfunction indicPosition(glyph) {\n return 1 << (trie.get(glyph.codePoints[0]) & 0xff);\n}\n\nclass IndicInfo {\n constructor(category, position, syllableType, syllable) {\n this.category = category;\n this.position = position;\n this.syllableType = syllableType;\n this.syllable = syllable;\n }\n}\n\nfunction setupSyllables(font, glyphs) {\n let syllable = 0;\n let last = 0;\n for (let [start, end, tags] of stateMachine.match(glyphs.map(indicCategory))) {\n if (start > last) {\n ++syllable;\n for (let i = last; i < start; i++) {\n glyphs[i].shaperInfo = new IndicInfo(CATEGORIES.X, POSITIONS.End, 'non_indic_cluster', syllable);\n }\n }\n\n ++syllable;\n\n // Create shaper info\n for (let i = start; i <= end; i++) {\n glyphs[i].shaperInfo = new IndicInfo(\n 1 << indicCategory(glyphs[i]),\n indicPosition(glyphs[i]),\n tags[0],\n syllable\n );\n }\n\n last = end + 1;\n }\n\n if (last < glyphs.length) {\n ++syllable;\n for (let i = last; i < glyphs.length; i++) {\n glyphs[i].shaperInfo = new IndicInfo(CATEGORIES.X, POSITIONS.End, 'non_indic_cluster', syllable);\n }\n }\n}\n\nfunction isConsonant(glyph) {\n return glyph.shaperInfo.category & CONSONANT_FLAGS;\n}\n\nfunction isJoiner(glyph) {\n return glyph.shaperInfo.category & JOINER_FLAGS;\n}\n\nfunction isHalantOrCoeng(glyph) {\n return glyph.shaperInfo.category & HALANT_OR_COENG_FLAGS;\n}\n\nfunction wouldSubstitute(glyphs, feature) {\n for (let glyph of glyphs) {\n glyph.features = {[feature]: true};\n }\n\n let GSUB = glyphs[0]._font._layoutEngine.engine.GSUBProcessor;\n GSUB.applyFeatures([feature], glyphs);\n\n return glyphs.length === 1;\n}\n\nfunction consonantPosition(font, consonant, virama) {\n let glyphs = [virama, consonant, virama];\n if (wouldSubstitute(glyphs.slice(0, 2), 'blwf') || wouldSubstitute(glyphs.slice(1, 3), 'blwf')) {\n return POSITIONS.Below_C;\n } else if (wouldSubstitute(glyphs.slice(0, 2), 'pstf') || wouldSubstitute(glyphs.slice(1, 3), 'pstf')) {\n return POSITIONS.Post_C;\n } else if (wouldSubstitute(glyphs.slice(0, 2), 'pref') || wouldSubstitute(glyphs.slice(1, 3), 'pref')) {\n return POSITIONS.Post_C;\n }\n\n return POSITIONS.Base_C;\n}\n\nfunction initialReordering(font, glyphs, plan) {\n let indicConfig = plan.indicConfig;\n let features = font._layoutEngine.engine.GSUBProcessor.features;\n\n let dottedCircle = font.glyphForCodePoint(0x25cc).id;\n let virama = font.glyphForCodePoint(indicConfig.virama).id;\n if (virama) {\n let info = new GlyphInfo(font, virama, [indicConfig.virama]);\n for (let i = 0; i < glyphs.length; i++) {\n if (glyphs[i].shaperInfo.position === POSITIONS.Base_C) {\n glyphs[i].shaperInfo.position = consonantPosition(font, glyphs[i].copy(), info);\n }\n }\n }\n\n for (let start = 0, end = nextSyllable(glyphs, 0); start < glyphs.length; start = end, end = nextSyllable(glyphs, start)) {\n let {category, syllableType} = glyphs[start].shaperInfo;\n\n if (syllableType === 'symbol_cluster' || syllableType === 'non_indic_cluster') {\n continue;\n }\n\n if (syllableType === 'broken_cluster' && dottedCircle) {\n let g = new GlyphInfo(font, dottedCircle, [0x25cc]);\n g.shaperInfo = new IndicInfo(\n 1 << indicCategory(g),\n indicPosition(g),\n glyphs[start].shaperInfo.syllableType,\n glyphs[start].shaperInfo.syllable\n );\n\n // Insert after possible Repha.\n let i = start;\n while (i < end && glyphs[i].shaperInfo.category === CATEGORIES.Repha) {\n i++;\n }\n\n glyphs.splice(i++, 0, g);\n end++;\n }\n\n // 1. Find base consonant:\n //\n // The shaping engine finds the base consonant of the syllable, using the\n // following algorithm: starting from the end of the syllable, move backwards\n // until a consonant is found that does not have a below-base or post-base\n // form (post-base forms have to follow below-base forms), or that is not a\n // pre-base reordering Ra, or arrive at the first consonant. The consonant\n // stopped at will be the base.\n\n let base = end;\n let limit = start;\n let hasReph = false;\n\n // If the syllable starts with Ra + Halant (in a script that has Reph)\n // and has more than one consonant, Ra is excluded from candidates for\n // base consonants.\n if (indicConfig.rephPos !== POSITIONS.Ra_To_Become_Reph &&\n features.rphf &&\n start + 3 <= end && (\n (indicConfig.rephMode === 'Implicit' && !isJoiner(glyphs[start + 2])) ||\n (indicConfig.rephMode === 'Explicit' && glyphs[start + 2].shaperInfo.category === CATEGORIES.ZWJ)\n )\n ) {\n // See if it matches the 'rphf' feature.\n let g = [glyphs[start].copy(), glyphs[start + 1].copy(), glyphs[start + 2].copy()];\n if (wouldSubstitute(g.slice(0, 2), 'rphf') || (indicConfig.rephMode === 'Explicit' && wouldSubstitute(g, 'rphf'))) {\n limit += 2;\n while (limit < end && isJoiner(glyphs[limit])) {\n limit++;\n }\n base = start;\n hasReph = true;\n }\n } else if (indicConfig.rephMode === 'Log_Repha' && glyphs[start].shaperInfo.category === CATEGORIES.Repha) {\n limit++;\n while (limit < end && isJoiner(glyphs[limit])) {\n limit++;\n }\n base = start;\n hasReph = true;\n }\n\n switch (indicConfig.basePos) {\n case 'Last': {\n // starting from the end of the syllable, move backwards\n let i = end;\n let seenBelow = false;\n\n do {\n let info = glyphs[--i].shaperInfo;\n\n // until a consonant is found\n if (isConsonant(glyphs[i])) {\n // that does not have a below-base or post-base form\n // (post-base forms have to follow below-base forms),\n if (info.position !== POSITIONS.Below_C && (info.position !== POSITIONS.Post_C || seenBelow)) {\n base = i;\n break;\n }\n\n // or that is not a pre-base reordering Ra,\n //\n // IMPLEMENTATION NOTES:\n //\n // Our pre-base reordering Ra's are marked POS_POST_C, so will be skipped\n // by the logic above already.\n //\n\n // or arrive at the first consonant. The consonant stopped at will\n // be the base.\n if (info.position === POSITIONS.Below_C) {\n seenBelow = true;\n }\n\n base = i;\n } else if (start < i && info.category === CATEGORIES.ZWJ && glyphs[i - 1].shaperInfo.category === CATEGORIES.H) {\n // A ZWJ after a Halant stops the base search, and requests an explicit\n // half form.\n // A ZWJ before a Halant, requests a subjoined form instead, and hence\n // search continues. This is particularly important for Bengali\n // sequence Ra,H,Ya that should form Ya-Phalaa by subjoining Ya.\n break;\n }\n } while (i > limit);\n break;\n }\n\n case 'First': {\n // The first consonant is always the base.\n base = start;\n\n // Mark all subsequent consonants as below.\n for (let i = base + 1; i < end; i++) {\n if (isConsonant(glyphs[i])) {\n glyphs[i].shaperInfo.position = POSITIONS.Below_C;\n }\n }\n }\n }\n\n // If the syllable starts with Ra + Halant (in a script that has Reph)\n // and has more than one consonant, Ra is excluded from candidates for\n // base consonants.\n //\n // Only do this for unforced Reph. (ie. not for Ra,H,ZWJ)\n if (hasReph && base === start && limit - base <= 2) {\n hasReph = false;\n }\n\n // 2. Decompose and reorder Matras:\n //\n // Each matra and any syllable modifier sign in the cluster are moved to the\n // appropriate position relative to the consonant(s) in the cluster. The\n // shaping engine decomposes two- or three-part matras into their constituent\n // parts before any repositioning. Matra characters are classified by which\n // consonant in a conjunct they have affinity for and are reordered to the\n // following positions:\n //\n // o Before first half form in the syllable\n // o After subjoined consonants\n // o After post-form consonant\n // o After main consonant (for above marks)\n //\n // IMPLEMENTATION NOTES:\n //\n // The normalize() routine has already decomposed matras for us, so we don't\n // need to worry about that.\n\n // 3. Reorder marks to canonical order:\n //\n // Adjacent nukta and halant or nukta and vedic sign are always repositioned\n // if necessary, so that the nukta is first.\n //\n // IMPLEMENTATION NOTES:\n //\n // We don't need to do this: the normalize() routine already did this for us.\n\n // Reorder characters\n\n for (let i = start; i < base; i++) {\n let info = glyphs[i].shaperInfo;\n info.position = Math.min(POSITIONS.Pre_C, info.position);\n }\n\n if (base < end) {\n glyphs[base].shaperInfo.position = POSITIONS.Base_C;\n }\n\n // Mark final consonants. A final consonant is one appearing after a matra,\n // like in Khmer.\n for (let i = base + 1; i < end; i++) {\n if (glyphs[i].shaperInfo.category === CATEGORIES.M) {\n for (let j = i + 1; j < end; j++) {\n if (isConsonant(glyphs[j])) {\n glyphs[j].shaperInfo.position = POSITIONS.Final_C;\n break;\n }\n }\n break;\n }\n }\n\n // Handle beginning Ra\n if (hasReph) {\n glyphs[start].shaperInfo.position = POSITIONS.Ra_To_Become_Reph;\n }\n\n // For old-style Indic script tags, move the first post-base Halant after\n // last consonant.\n //\n // Reports suggest that in some scripts Uniscribe does this only if there\n // is *not* a Halant after last consonant already (eg. Kannada), while it\n // does it unconditionally in other scripts (eg. Malayalam). We don't\n // currently know about other scripts, so we single out Malayalam for now.\n //\n // Kannada test case:\n // U+0C9A,U+0CCD,U+0C9A,U+0CCD\n // With some versions of Lohit Kannada.\n // https://bugs.freedesktop.org/show_bug.cgi?id=59118\n //\n // Malayalam test case:\n // U+0D38,U+0D4D,U+0D31,U+0D4D,U+0D31,U+0D4D\n // With lohit-ttf-20121122/Lohit-Malayalam.ttf\n if (plan.isOldSpec) {\n let disallowDoubleHalants = plan.unicodeScript !== 'Malayalam';\n for (let i = base + 1; i < end; i++) {\n if (glyphs[i].shaperInfo.category === CATEGORIES.H) {\n let j;\n for (j = end - 1; j > i; j--) {\n if (isConsonant(glyphs[j]) || (disallowDoubleHalants && glyphs[j].shaperInfo.category === CATEGORIES.H)) {\n break;\n }\n }\n\n if (glyphs[j].shaperInfo.category !== CATEGORIES.H && j > i) {\n // Move Halant to after last consonant.\n let t = glyphs[i];\n glyphs.splice(i, 0, ...glyphs.splice(i + 1, j - i));\n glyphs[j] = t;\n }\n\n break;\n }\n }\n }\n\n // Attach misc marks to previous char to move with them.\n let lastPos = POSITIONS.Start;\n for (let i = start; i < end; i++) {\n let info = glyphs[i].shaperInfo;\n if (info.category & (JOINER_FLAGS | CATEGORIES.N | CATEGORIES.RS | CATEGORIES.CM | HALANT_OR_COENG_FLAGS & info.category)) {\n info.position = lastPos;\n if (info.category === CATEGORIES.H && info.position === POSITIONS.Pre_M) {\n // Uniscribe doesn't move the Halant with Left Matra.\n // TEST: U+092B,U+093F,U+094DE\n // We follow. This is important for the Sinhala\n // U+0DDA split matra since it decomposes to U+0DD9,U+0DCA\n // where U+0DD9 is a left matra and U+0DCA is the virama.\n // We don't want to move the virama with the left matra.\n // TEST: U+0D9A,U+0DDA\n for (let j = i; j > start; j--) {\n if (glyphs[j - 1].shaperInfo.position !== POSITIONS.Pre_M) {\n info.position = glyphs[j - 1].shaperInfo.position;\n break;\n }\n }\n }\n } else if (info.position !== POSITIONS.SMVD) {\n lastPos = info.position;\n }\n }\n\n // For post-base consonants let them own anything before them\n // since the last consonant or matra.\n let last = base;\n for (let i = base + 1; i < end; i++) {\n if (isConsonant(glyphs[i])) {\n for (let j = last + 1; j < i; j++) {\n if (glyphs[j].shaperInfo.position < POSITIONS.SMVD) {\n glyphs[j].shaperInfo.position = glyphs[i].shaperInfo.position;\n }\n }\n last = i;\n } else if (glyphs[i].shaperInfo.category === CATEGORIES.M) {\n last = i;\n }\n }\n\n let arr = glyphs.slice(start, end);\n arr.sort((a, b) => a.shaperInfo.position - b.shaperInfo.position);\n glyphs.splice(start, arr.length, ...arr);\n\n // Find base again\n for (let i = start; i < end; i++) {\n if (glyphs[i].shaperInfo.position === POSITIONS.Base_C) {\n base = i;\n break;\n }\n }\n\n // Setup features now\n\n // Reph\n for (let i = start; i < end && glyphs[i].shaperInfo.position === POSITIONS.Ra_To_Become_Reph; i++) {\n glyphs[i].features.rphf = true;\n }\n\n // Pre-base\n let blwf = !plan.isOldSpec && indicConfig.blwfMode === 'Pre_And_Post';\n for (let i = start; i < base; i++) {\n glyphs[i].features.half = true;\n if (blwf) {\n glyphs[i].features.blwf = true;\n }\n }\n\n // Post-base\n for (let i = base + 1; i < end; i++) {\n glyphs[i].features.abvf = true;\n glyphs[i].features.pstf = true;\n glyphs[i].features.blwf = true;\n }\n\n if (plan.isOldSpec && plan.unicodeScript === 'Devanagari') {\n // Old-spec eye-lash Ra needs special handling. From the\n // spec:\n //\n // \"The feature 'below-base form' is applied to consonants\n // having below-base forms and following the base consonant.\n // The exception is vattu, which may appear below half forms\n // as well as below the base glyph. The feature 'below-base\n // form' will be applied to all such occurrences of Ra as well.\"\n //\n // Test case: U+0924,U+094D,U+0930,U+094d,U+0915\n // with Sanskrit 2003 font.\n //\n // However, note that Ra,Halant,ZWJ is the correct way to\n // request eyelash form of Ra, so we wouldbn't inhibit it\n // in that sequence.\n //\n // Test case: U+0924,U+094D,U+0930,U+094d,U+200D,U+0915\n for (let i = start; i + 1 < base; i++) {\n if (glyphs[i].shaperInfo.category === CATEGORIES.Ra &&\n glyphs[i + 1].shaperInfo.category === CATEGORIES.H &&\n (i + 1 === base || glyphs[i + 2].shaperInfo.category === CATEGORIES.ZWJ)\n ) {\n glyphs[i].features.blwf = true;\n glyphs[i + 1].features.blwf = true;\n }\n }\n }\n\n let prefLen = 2;\n if (features.pref && base + prefLen < end) {\n // Find a Halant,Ra sequence and mark it for pre-base reordering processing.\n for (let i = base + 1; i + prefLen - 1 < end; i++) {\n let g = [glyphs[i].copy(), glyphs[i + 1].copy()];\n if (wouldSubstitute(g, 'pref')) {\n for (let j = 0; j < prefLen; j++) {\n glyphs[i++].features.pref = true;\n }\n\n // Mark the subsequent stuff with 'cfar'. Used in Khmer.\n // Read the feature spec.\n // This allows distinguishing the following cases with MS Khmer fonts:\n // U+1784,U+17D2,U+179A,U+17D2,U+1782\n // U+1784,U+17D2,U+1782,U+17D2,U+179A\n if (features.cfar) {\n for (; i < end; i++) {\n glyphs[i].features.cfar = true;\n }\n }\n\n break;\n }\n }\n }\n\n // Apply ZWJ/ZWNJ effects\n for (let i = start + 1; i < end; i++) {\n if (isJoiner(glyphs[i])) {\n let nonJoiner = glyphs[i].shaperInfo.category === CATEGORIES.ZWNJ;\n let j = i;\n\n do {\n j--;\n\n // ZWJ/ZWNJ should disable CJCT. They do that by simply\n // being there, since we don't skip them for the CJCT\n // feature (ie. F_MANUAL_ZWJ)\n\n // A ZWNJ disables HALF.\n if (nonJoiner) {\n delete glyphs[j].features.half;\n }\n } while (j > start && !isConsonant(glyphs[j]));\n }\n }\n }\n}\n\nfunction finalReordering(font, glyphs, plan) {\n let indicConfig = plan.indicConfig;\n let features = font._layoutEngine.engine.GSUBProcessor.features;\n\n for (let start = 0, end = nextSyllable(glyphs, 0); start < glyphs.length; start = end, end = nextSyllable(glyphs, start)) {\n // 4. Final reordering:\n //\n // After the localized forms and basic shaping forms GSUB features have been\n // applied (see below), the shaping engine performs some final glyph\n // reordering before applying all the remaining font features to the entire\n // cluster.\n\n let tryPref = !!features.pref;\n\n // Find base again\n let base = start;\n for (; base < end; base++) {\n if (glyphs[base].shaperInfo.position >= POSITIONS.Base_C) {\n if (tryPref && base + 1 < end) {\n for (let i = base + 1; i < end; i++) {\n if (glyphs[i].features.pref) {\n if (!(glyphs[i].substituted && glyphs[i].isLigated && !glyphs[i].isMultiplied)) {\n // Ok, this was a 'pref' candidate but didn't form any.\n // Base is around here...\n base = i;\n while (base < end && isHalantOrCoeng(glyphs[base])) {\n base++;\n }\n glyphs[base].shaperInfo.position = POSITIONS.BASE_C;\n tryPref = false;\n }\n break;\n }\n }\n }\n\n // For Malayalam, skip over unformed below- (but NOT post-) forms.\n if (plan.unicodeScript === 'Malayalam') {\n for (let i = base + 1; i < end; i++) {\n while (i < end && isJoiner(glyphs[i])) {\n i++;\n }\n\n if (i === end || !isHalantOrCoeng(glyphs[i])) {\n break;\n }\n\n i++; // Skip halant.\n while (i < end && isJoiner(glyphs[i])) {\n i++;\n }\n\n if (i < end && isConsonant(glyphs[i]) && glyphs[i].shaperInfo.position === POSITIONS.Below_C) {\n base = i;\n glyphs[base].shaperInfo.position = POSITIONS.Base_C;\n }\n }\n }\n\n if (start < base && glyphs[base].shaperInfo.position > POSITIONS.Base_C) {\n base--;\n }\n break;\n }\n }\n\n if (base === end && start < base && glyphs[base - 1].shaperInfo.category === CATEGORIES.ZWJ) {\n base--;\n }\n\n if (base < end) {\n while (start < base && glyphs[base].shaperInfo.category & (CATEGORIES.N | HALANT_OR_COENG_FLAGS)) {\n base--;\n }\n }\n\n // o Reorder matras:\n //\n // If a pre-base matra character had been reordered before applying basic\n // features, the glyph can be moved closer to the main consonant based on\n // whether half-forms had been formed. Actual position for the matra is\n // defined as “after last standalone halant glyph, after initial matra\n // position and before the main consonant”. If ZWJ or ZWNJ follow this\n // halant, position is moved after it.\n //\n\n if (start + 1 < end && start < base) { // Otherwise there can't be any pre-base matra characters.\n // If we lost track of base, alas, position before last thingy.\n let newPos = base === end ? base - 2 : base - 1;\n\n // Malayalam / Tamil do not have \"half\" forms or explicit virama forms.\n // The glyphs formed by 'half' are Chillus or ligated explicit viramas.\n // We want to position matra after them.\n if (plan.unicodeScript !== 'Malayalam' && plan.unicodeScript !== 'Tamil') {\n while (newPos > start && !(glyphs[newPos].shaperInfo.category & (CATEGORIES.M | HALANT_OR_COENG_FLAGS))) {\n newPos--;\n }\n\n // If we found no Halant we are done.\n // Otherwise only proceed if the Halant does\n // not belong to the Matra itself!\n if (isHalantOrCoeng(glyphs[newPos]) && glyphs[newPos].shaperInfo.position !== POSITIONS.Pre_M) {\n // If ZWJ or ZWNJ follow this halant, position is moved after it.\n if (newPos + 1 < end && isJoiner(glyphs[newPos + 1])) {\n newPos++;\n }\n } else {\n newPos = start; // No move.\n }\n }\n\n if (start < newPos && glyphs[newPos].shaperInfo.position !== POSITIONS.Pre_M) {\n // Now go see if there's actually any matras...\n for (let i = newPos; i > start; i--) {\n if (glyphs[i - 1].shaperInfo.position === POSITIONS.Pre_M) {\n let oldPos = i - 1;\n if (oldPos < base && base <= newPos) { // Shouldn't actually happen.\n base--;\n }\n\n let tmp = glyphs[oldPos];\n glyphs.splice(oldPos, 0, ...glyphs.splice(oldPos + 1, newPos - oldPos));\n glyphs[newPos] = tmp;\n\n newPos--;\n }\n }\n }\n }\n\n // o Reorder reph:\n //\n // Reph’s original position is always at the beginning of the syllable,\n // (i.e. it is not reordered at the character reordering stage). However,\n // it will be reordered according to the basic-forms shaping results.\n // Possible positions for reph, depending on the script, are; after main,\n // before post-base consonant forms, and after post-base consonant forms.\n\n // Two cases:\n //\n // - If repha is encoded as a sequence of characters (Ra,H or Ra,H,ZWJ), then\n // we should only move it if the sequence ligated to the repha form.\n //\n // - If repha is encoded separately and in the logical position, we should only\n // move it if it did NOT ligate. If it ligated, it's probably the font trying\n // to make it work without the reordering.\n if (start + 1 < end &&\n glyphs[start].shaperInfo.position === POSITIONS.Ra_To_Become_Reph &&\n (glyphs[start].shaperInfo.category === CATEGORIES.Repha) !== (glyphs[start].isLigated && !glyphs[start].isMultiplied)\n ) {\n let newRephPos;\n let rephPos = indicConfig.rephPos;\n let found = false;\n\n // 1. If reph should be positioned after post-base consonant forms,\n // proceed to step 5.\n if (rephPos !== POSITIONS.After_Post) {\n // 2. If the reph repositioning class is not after post-base: target\n // position is after the first explicit halant glyph between the\n // first post-reph consonant and last main consonant. If ZWJ or ZWNJ\n // are following this halant, position is moved after it. If such\n // position is found, this is the target position. Otherwise,\n // proceed to the next step.\n //\n // Note: in old-implementation fonts, where classifications were\n // fixed in shaping engine, there was no case where reph position\n // will be found on this step.\n newRephPos = start + 1;\n while (newRephPos < base && !isHalantOrCoeng(glyphs[newRephPos])) {\n newRephPos++;\n }\n\n if (newRephPos < base && isHalantOrCoeng(glyphs[newRephPos])) {\n // ->If ZWJ or ZWNJ are following this halant, position is moved after it.\n if (newRephPos + 1 < base && isJoiner(glyphs[newRephPos + 1])) {\n newRephPos++;\n }\n\n found = true;\n }\n\n // 3. If reph should be repositioned after the main consonant: find the\n // first consonant not ligated with main, or find the first\n // consonant that is not a potential pre-base reordering Ra.\n if (!found && rephPos === POSITIONS.After_Main) {\n newRephPos = base;\n while (newRephPos + 1 < end && glyphs[newRephPos + 1].shaperInfo.position <= POSITIONS.After_Main) {\n newRephPos++;\n }\n\n found = newRephPos < end;\n }\n\n // 4. If reph should be positioned before post-base consonant, find\n // first post-base classified consonant not ligated with main. If no\n // consonant is found, the target position should be before the\n // first matra, syllable modifier sign or vedic sign.\n //\n // This is our take on what step 4 is trying to say (and failing, BADLY).\n if (!found && rephPos === POSITIONS.After_Sub) {\n newRephPos = base;\n while (newRephPos + 1 < end && !(glyphs[newRephPos + 1].shaperInfo.position & (POSITIONS.Post_C | POSITIONS.After_Post | POSITIONS.SMVD))) {\n newRephPos++;\n }\n\n found = newRephPos < end;\n }\n }\n\n // 5. If no consonant is found in steps 3 or 4, move reph to a position\n // immediately before the first post-base matra, syllable modifier\n // sign or vedic sign that has a reordering class after the intended\n // reph position. For example, if the reordering position for reph\n // is post-main, it will skip above-base matras that also have a\n // post-main position.\n if (!found) {\n // Copied from step 2.\n newRephPos = start + 1;\n while (newRephPos < base && !isHalantOrCoeng(glyphs[newRephPos])) {\n newRephPos++;\n }\n\n if (newRephPos < base && isHalantOrCoeng(glyphs[newRephPos])) {\n // ->If ZWJ or ZWNJ are following this halant, position is moved after it.\n if (newRephPos + 1 < base && isJoiner(glyphs[newRephPos + 1])) {\n newRephPos++;\n }\n\n found = true;\n }\n }\n\n // 6. Otherwise, reorder reph to the end of the syllable.\n if (!found) {\n newRephPos = end - 1;\n while (newRephPos > start && glyphs[newRephPos].shaperInfo.position === POSITIONS.SMVD) {\n newRephPos--;\n }\n\n // If the Reph is to be ending up after a Matra,Halant sequence,\n // position it before that Halant so it can interact with the Matra.\n // However, if it's a plain Consonant,Halant we shouldn't do that.\n // Uniscribe doesn't do this.\n // TEST: U+0930,U+094D,U+0915,U+094B,U+094D\n if (isHalantOrCoeng(glyphs[newRephPos])) {\n for (let i = base + 1; i < newRephPos; i++) {\n if (glyphs[i].shaperInfo.category === CATEGORIES.M) {\n newRephPos--;\n }\n }\n }\n }\n\n let reph = glyphs[start];\n glyphs.splice(start, 0, ...glyphs.splice(start + 1, newRephPos - start));\n glyphs[newRephPos] = reph;\n\n if (start < base && base <= newRephPos) {\n base--;\n }\n }\n\n // o Reorder pre-base reordering consonants:\n //\n // If a pre-base reordering consonant is found, reorder it according to\n // the following rules:\n if (tryPref && base + 1 < end) {\n for (let i = base + 1; i < end; i++) {\n if (glyphs[i].features.pref) {\n // 1. Only reorder a glyph produced by substitution during application\n // of the feature. (Note that a font may shape a Ra consonant with\n // the feature generally but block it in certain contexts.)\n\n // Note: We just check that something got substituted. We don't check that\n // the feature actually did it...\n //\n // Reorder pref only if it ligated.\n if (glyphs[i].isLigated && !glyphs[i].isMultiplied) {\n // 2. Try to find a target position the same way as for pre-base matra.\n // If it is found, reorder pre-base consonant glyph.\n //\n // 3. If position is not found, reorder immediately before main\n // consonant.\n let newPos = base;\n\n // Malayalam / Tamil do not have \"half\" forms or explicit virama forms.\n // The glyphs formed by 'half' are Chillus or ligated explicit viramas.\n // We want to position matra after them.\n if (plan.unicodeScript !== 'Malayalam' && plan.unicodeScript !== 'Tamil') {\n while (newPos > start && !(glyphs[newPos - 1].shaperInfo.category & (CATEGORIES.M | HALANT_OR_COENG_FLAGS))) {\n newPos--;\n }\n\n // In Khmer coeng model, a H,Ra can go *after* matras. If it goes after a\n // split matra, it should be reordered to *before* the left part of such matra.\n if (newPos > start && glyphs[newPos - 1].shaperInfo.category === CATEGORIES.M) {\n let oldPos = i;\n for (let j = base + 1; j < oldPos; j++) {\n if (glyphs[j].shaperInfo.category === CATEGORIES.M) {\n newPos--;\n break;\n }\n }\n }\n }\n\n if (newPos > start && isHalantOrCoeng(glyphs[newPos - 1])) {\n // -> If ZWJ or ZWNJ follow this halant, position is moved after it.\n if (newPos < end && isJoiner(glyphs[newPos])) {\n newPos++;\n }\n }\n\n let oldPos = i;\n let tmp = glyphs[oldPos];\n glyphs.splice(newPos + 1, 0, ...glyphs.splice(newPos, oldPos - newPos));\n glyphs[newPos] = tmp;\n\n if (newPos <= base && base < oldPos) {\n base++;\n }\n }\n\n break;\n }\n }\n }\n\n // Apply 'init' to the Left Matra if it's a word start.\n if (glyphs[start].shaperInfo.position === POSITIONS.Pre_M && (!start || !/Cf|Mn/.test(getCategory(glyphs[start - 1].codePoints[0])))) {\n glyphs[start].features.init = true;\n }\n }\n}\n\nfunction nextSyllable(glyphs, start) {\n if (start >= glyphs.length) return start;\n let syllable = glyphs[start].shaperInfo.syllable;\n while (++start < glyphs.length && glyphs[start].shaperInfo.syllable === syllable);\n return start;\n}\n","import DefaultShaper from './DefaultShaper';\nimport StateMachine from 'dfa';\nimport UnicodeTrie from 'unicode-trie';\nimport GlyphInfo from '../GlyphInfo';\nimport useData from './use.json';\nimport { decodeBase64 } from '../../utils';\n\nconst {categories, decompositions} = useData;\nconst trie = new UnicodeTrie(decodeBase64(require('fs').readFileSync(__dirname + '/use.trie', 'base64')));\nconst stateMachine = new StateMachine(useData);\n\n/**\n * This shaper is an implementation of the Universal Shaping Engine, which\n * uses Unicode data to shape a number of scripts without a dedicated shaping engine.\n * See https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm.\n */\nexport default class UniversalShaper extends DefaultShaper {\n static zeroMarkWidths = 'BEFORE_GPOS';\n static planFeatures(plan) {\n plan.addStage(setupSyllables);\n\n // Default glyph pre-processing group\n plan.addStage(['locl', 'ccmp', 'nukt', 'akhn']);\n\n // Reordering group\n plan.addStage(clearSubstitutionFlags);\n plan.addStage(['rphf'], false);\n plan.addStage(recordRphf);\n plan.addStage(clearSubstitutionFlags);\n plan.addStage(['pref']);\n plan.addStage(recordPref);\n\n // Orthographic unit shaping group\n plan.addStage(['rkrf', 'abvf', 'blwf', 'half', 'pstf', 'vatu', 'cjct']);\n plan.addStage(reorder);\n\n // Topographical features\n // Scripts that need this are handled by the Arabic shaper, not implemented here for now.\n // plan.addStage(['isol', 'init', 'medi', 'fina', 'med2', 'fin2', 'fin3'], false);\n\n // Standard topographic presentation and positional feature application\n plan.addStage(['abvs', 'blws', 'pres', 'psts', 'dist', 'abvm', 'blwm']);\n }\n\n static assignFeatures(plan, glyphs) {\n // Decompose split vowels\n // TODO: do this in a more general unicode normalizer\n for (let i = glyphs.length - 1; i >= 0; i--) {\n let codepoint = glyphs[i].codePoints[0];\n if (decompositions[codepoint]) {\n let decomposed = decompositions[codepoint].map(c => {\n let g = plan.font.glyphForCodePoint(c);\n return new GlyphInfo(plan.font, g.id, [c], glyphs[i].features);\n });\n\n glyphs.splice(i, 1, ...decomposed);\n }\n }\n }\n}\n\nfunction useCategory(glyph) {\n return trie.get(glyph.codePoints[0]);\n}\n\nclass USEInfo {\n constructor(category, syllableType, syllable) {\n this.category = category;\n this.syllableType = syllableType;\n this.syllable = syllable;\n }\n}\n\nfunction setupSyllables(font, glyphs) {\n let syllable = 0;\n for (let [start, end, tags] of stateMachine.match(glyphs.map(useCategory))) {\n ++syllable;\n\n // Create shaper info\n for (let i = start; i <= end; i++) {\n glyphs[i].shaperInfo = new USEInfo(categories[useCategory(glyphs[i])], tags[0], syllable);\n }\n\n // Assign rphf feature\n let limit = glyphs[start].shaperInfo.category === 'R' ? 1 : Math.min(3, end - start);\n for (let i = start; i < start + limit; i++) {\n glyphs[i].features.rphf = true;\n }\n }\n}\n\nfunction clearSubstitutionFlags(font, glyphs) {\n for (let glyph of glyphs) {\n glyph.substituted = false;\n }\n}\n\nfunction recordRphf(font, glyphs) {\n for (let glyph of glyphs) {\n if (glyph.substituted && glyph.features.rphf) {\n // Mark a substituted repha.\n glyph.shaperInfo.category = 'R';\n }\n }\n}\n\nfunction recordPref(font, glyphs) {\n for (let glyph of glyphs) {\n if (glyph.substituted) {\n // Mark a substituted pref as VPre, as they behave the same way.\n glyph.shaperInfo.category = 'VPre';\n }\n }\n}\n\nfunction reorder(font, glyphs) {\n let dottedCircle = font.glyphForCodePoint(0x25cc).id;\n\n for (let start = 0, end = nextSyllable(glyphs, 0); start < glyphs.length; start = end, end = nextSyllable(glyphs, start)) {\n let i, j;\n let info = glyphs[start].shaperInfo;\n let type = info.syllableType;\n\n // Only a few syllable types need reordering.\n if (type !== 'virama_terminated_cluster' && type !== 'standard_cluster' && type !== 'broken_cluster') {\n continue;\n }\n\n // Insert a dotted circle glyph in broken clusters.\n if (type === 'broken_cluster' && dottedCircle) {\n let g = new GlyphInfo(font, dottedCircle, [0x25cc]);\n g.shaperInfo = info;\n\n // Insert after possible Repha.\n for (i = start; i < end && glyphs[i].shaperInfo.category === 'R'; i++);\n glyphs.splice(++i, 0, g);\n end++;\n }\n\n // Move things forward.\n if (info.category === 'R' && end - start > 1) {\n // Got a repha. Reorder it to after first base, before first halant.\n for (i = start + 1; i < end; i++) {\n info = glyphs[i].shaperInfo;\n if (isBase(info) || isHalant(glyphs[i])) {\n // If we hit a halant, move before it; otherwise it's a base: move to it's\n // place, and shift things in between backward.\n if (isHalant(glyphs[i])) {\n i--;\n }\n\n glyphs.splice(start, 0, ...glyphs.splice(start + 1, i - start), glyphs[i]);\n break;\n }\n }\n }\n\n // Move things back.\n for (i = start, j = end; i < end; i++) {\n info = glyphs[i].shaperInfo;\n if (isBase(info) || isHalant(glyphs[i])) {\n // If we hit a halant, move after it; otherwise it's a base: move to it's\n // place, and shift things in between backward.\n j = isHalant(glyphs[i]) ? i + 1 : i;\n } else if ((info.category === 'VPre' || info.category === 'VMPre') && j < i) {\n glyphs.splice(j, 1, glyphs[i], ...glyphs.splice(j, i - j));\n }\n }\n }\n}\n\nfunction nextSyllable(glyphs, start) {\n if (start >= glyphs.length) return start;\n let syllable = glyphs[start].shaperInfo.syllable;\n while (++start < glyphs.length && glyphs[start].shaperInfo.syllable === syllable);\n return start;\n}\n\nfunction isHalant(glyph) {\n return glyph.shaperInfo.category === 'H' && !glyph.isLigated;\n}\n\nfunction isBase(info) {\n return info.category === 'B' || info.category === 'GB';\n}\n","import DefaultShaper from './DefaultShaper';\nimport ArabicShaper from './ArabicShaper';\nimport HangulShaper from './HangulShaper';\nimport IndicShaper from './IndicShaper';\nimport UniversalShaper from './UniversalShaper';\n\nconst SHAPERS = {\n arab: ArabicShaper, // Arabic\n mong: ArabicShaper, // Mongolian\n syrc: ArabicShaper, // Syriac\n 'nko ': ArabicShaper, // N'Ko\n phag: ArabicShaper, // Phags Pa\n mand: ArabicShaper, // Mandaic\n mani: ArabicShaper, // Manichaean\n phlp: ArabicShaper, // Psalter Pahlavi\n\n hang: HangulShaper, // Hangul\n\n bng2: IndicShaper, // Bengali\n beng: IndicShaper, // Bengali\n dev2: IndicShaper, // Devanagari\n deva: IndicShaper, // Devanagari\n gjr2: IndicShaper, // Gujarati\n gujr: IndicShaper, // Gujarati\n guru: IndicShaper, // Gurmukhi\n gur2: IndicShaper, // Gurmukhi\n knda: IndicShaper, // Kannada\n knd2: IndicShaper, // Kannada\n mlm2: IndicShaper, // Malayalam\n mlym: IndicShaper, // Malayalam\n ory2: IndicShaper, // Oriya\n orya: IndicShaper, // Oriya\n taml: IndicShaper, // Tamil\n tml2: IndicShaper, // Tamil\n telu: IndicShaper, // Telugu\n tel2: IndicShaper, // Telugu\n khmr: IndicShaper, // Khmer\n\n bali: UniversalShaper, // Balinese\n batk: UniversalShaper, // Batak\n brah: UniversalShaper, // Brahmi\n bugi: UniversalShaper, // Buginese\n buhd: UniversalShaper, // Buhid\n cakm: UniversalShaper, // Chakma\n cham: UniversalShaper, // Cham\n dupl: UniversalShaper, // Duployan\n egyp: UniversalShaper, // Egyptian Hieroglyphs\n gran: UniversalShaper, // Grantha\n hano: UniversalShaper, // Hanunoo\n java: UniversalShaper, // Javanese\n kthi: UniversalShaper, // Kaithi\n kali: UniversalShaper, // Kayah Li\n khar: UniversalShaper, // Kharoshthi\n khoj: UniversalShaper, // Khojki\n sind: UniversalShaper, // Khudawadi\n lepc: UniversalShaper, // Lepcha\n limb: UniversalShaper, // Limbu\n mahj: UniversalShaper, // Mahajani\n // mand: UniversalShaper, // Mandaic\n // mani: UniversalShaper, // Manichaean\n mtei: UniversalShaper, // Meitei Mayek\n modi: UniversalShaper, // Modi\n // mong: UniversalShaper, // Mongolian\n // 'nko ': UniversalShaper, // N’Ko\n hmng: UniversalShaper, // Pahawh Hmong\n // phag: UniversalShaper, // Phags-pa\n // phlp: UniversalShaper, // Psalter Pahlavi\n rjng: UniversalShaper, // Rejang\n saur: UniversalShaper, // Saurashtra\n shrd: UniversalShaper, // Sharada\n sidd: UniversalShaper, // Siddham\n sinh: IndicShaper, // Sinhala\n sund: UniversalShaper, // Sundanese\n sylo: UniversalShaper, // Syloti Nagri\n tglg: UniversalShaper, // Tagalog\n tagb: UniversalShaper, // Tagbanwa\n tale: UniversalShaper, // Tai Le\n lana: UniversalShaper, // Tai Tham\n tavt: UniversalShaper, // Tai Viet\n takr: UniversalShaper, // Takri\n tibt: UniversalShaper, // Tibetan\n tfng: UniversalShaper, // Tifinagh\n tirh: UniversalShaper, // Tirhuta\n\n latn: DefaultShaper, // Latin\n DFLT: DefaultShaper // Default\n};\n\nexport function choose(script) {\n if (!Array.isArray(script)) {\n script = [script];\n }\n\n for (let s of script) {\n let shaper = SHAPERS[s];\n if (shaper) {\n return shaper;\n }\n }\n\n return DefaultShaper;\n}\n","import OTProcessor from './OTProcessor';\nimport GlyphInfo from './GlyphInfo';\n\nexport default class GSUBProcessor extends OTProcessor {\n applyLookup(lookupType, table) {\n switch (lookupType) {\n case 1: { // Single Substitution\n let index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n let glyph = this.glyphIterator.cur;\n switch (table.version) {\n case 1:\n glyph.id = (glyph.id + table.deltaGlyphID) & 0xffff;\n break;\n\n case 2:\n glyph.id = table.substitute.get(index);\n break;\n }\n\n return true;\n }\n\n case 2: { // Multiple Substitution\n let index = this.coverageIndex(table.coverage);\n if (index !== -1) {\n let sequence = table.sequences.get(index);\n\n if (sequence.length === 0) {\n // If the sequence length is zero, delete the glyph.\n // The OpenType spec disallows this, but seems like Harfbuzz and Uniscribe allow it.\n this.glyphs.splice(this.glyphIterator.index, 1);\n return true;\n }\n\n this.glyphIterator.cur.id = sequence[0];\n this.glyphIterator.cur.ligatureComponent = 0;\n\n let features = this.glyphIterator.cur.features;\n let curGlyph = this.glyphIterator.cur;\n let replacement = sequence.slice(1).map((gid, i) => {\n let glyph = new GlyphInfo(this.font, gid, undefined, features);\n glyph.shaperInfo = curGlyph.shaperInfo;\n glyph.isLigated = curGlyph.isLigated;\n glyph.ligatureComponent = i + 1;\n glyph.substituted = true;\n glyph.isMultiplied = true;\n return glyph;\n });\n\n this.glyphs.splice(this.glyphIterator.index + 1, 0, ...replacement);\n return true;\n }\n\n return false;\n }\n\n case 3: { // Alternate Substitution\n let index = this.coverageIndex(table.coverage);\n if (index !== -1) {\n let USER_INDEX = 0; // TODO\n this.glyphIterator.cur.id = table.alternateSet.get(index)[USER_INDEX];\n return true;\n }\n\n return false;\n }\n\n case 4: { // Ligature Substitution\n let index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n for (let ligature of table.ligatureSets.get(index)) {\n let matched = this.sequenceMatchIndices(1, ligature.components);\n if (!matched) {\n continue;\n }\n\n let curGlyph = this.glyphIterator.cur;\n\n // Concatenate all of the characters the new ligature will represent\n let characters = curGlyph.codePoints.slice();\n for (let index of matched) {\n characters.push(...this.glyphs[index].codePoints);\n }\n\n // Create the replacement ligature glyph\n let ligatureGlyph = new GlyphInfo(this.font, ligature.glyph, characters, curGlyph.features);\n ligatureGlyph.shaperInfo = curGlyph.shaperInfo;\n ligatureGlyph.isLigated = true;\n ligatureGlyph.substituted = true;\n\n // From Harfbuzz:\n // - If it *is* a mark ligature, we don't allocate a new ligature id, and leave\n // the ligature to keep its old ligature id. This will allow it to attach to\n // a base ligature in GPOS. Eg. if the sequence is: LAM,LAM,SHADDA,FATHA,HEH,\n // and LAM,LAM,HEH for a ligature, they will leave SHADDA and FATHA with a\n // ligature id and component value of 2. Then if SHADDA,FATHA form a ligature\n // later, we don't want them to lose their ligature id/component, otherwise\n // GPOS will fail to correctly position the mark ligature on top of the\n // LAM,LAM,HEH ligature. See https://bugzilla.gnome.org/show_bug.cgi?id=676343\n //\n // - If a ligature is formed of components that some of which are also ligatures\n // themselves, and those ligature components had marks attached to *their*\n // components, we have to attach the marks to the new ligature component\n // positions! Now *that*'s tricky! And these marks may be following the\n // last component of the whole sequence, so we should loop forward looking\n // for them and update them.\n //\n // Eg. the sequence is LAM,LAM,SHADDA,FATHA,HEH, and the font first forms a\n // 'calt' ligature of LAM,HEH, leaving the SHADDA and FATHA with a ligature\n // id and component == 1. Now, during 'liga', the LAM and the LAM-HEH ligature\n // form a LAM-LAM-HEH ligature. We need to reassign the SHADDA and FATHA to\n // the new ligature with a component value of 2.\n //\n // This in fact happened to a font... See https://bugzilla.gnome.org/show_bug.cgi?id=437633\n let isMarkLigature = curGlyph.isMark;\n for (let i = 0; i < matched.length && isMarkLigature; i++) {\n isMarkLigature = this.glyphs[matched[i]].isMark;\n }\n\n ligatureGlyph.ligatureID = isMarkLigature ? null : this.ligatureID++;\n\n let lastLigID = curGlyph.ligatureID;\n let lastNumComps = curGlyph.codePoints.length;\n let curComps = lastNumComps;\n let idx = this.glyphIterator.index + 1;\n\n // Set ligatureID and ligatureComponent on glyphs that were skipped in the matched sequence.\n // This allows GPOS to attach marks to the correct ligature components.\n for (let matchIndex of matched) {\n // Don't assign new ligature components for mark ligatures (see above)\n if (isMarkLigature) {\n idx = matchIndex;\n } else {\n while (idx < matchIndex) {\n var ligatureComponent = curComps - lastNumComps + Math.min(this.glyphs[idx].ligatureComponent || 1, lastNumComps);\n this.glyphs[idx].ligatureID = ligatureGlyph.ligatureID;\n this.glyphs[idx].ligatureComponent = ligatureComponent;\n idx++;\n }\n }\n\n lastLigID = this.glyphs[idx].ligatureID;\n lastNumComps = this.glyphs[idx].codePoints.length;\n curComps += lastNumComps;\n idx++; // skip base glyph\n }\n\n // Adjust ligature components for any marks following\n if (lastLigID && !isMarkLigature) {\n for (let i = idx; i < this.glyphs.length; i++) {\n if (this.glyphs[i].ligatureID === lastLigID) {\n var ligatureComponent = curComps - lastNumComps + Math.min(this.glyphs[i].ligatureComponent || 1, lastNumComps);\n this.glyphs[i].ligatureComponent = ligatureComponent;\n } else {\n break;\n }\n }\n }\n\n // Delete the matched glyphs, and replace the current glyph with the ligature glyph\n for (let i = matched.length - 1; i >= 0; i--) {\n this.glyphs.splice(matched[i], 1);\n }\n\n this.glyphs[this.glyphIterator.index] = ligatureGlyph;\n return true;\n }\n\n return false;\n }\n\n case 5: // Contextual Substitution\n return this.applyContext(table);\n\n case 6: // Chaining Contextual Substitution\n return this.applyChainingContext(table);\n\n case 7: // Extension Substitution\n return this.applyLookup(table.lookupType, table.extension);\n\n default:\n throw new Error(`GSUB lookupType ${lookupType} is not supported`);\n }\n }\n}\n","import OTProcessor from './OTProcessor';\n\nexport default class GPOSProcessor extends OTProcessor {\n applyPositionValue(sequenceIndex, value) {\n let position = this.positions[this.glyphIterator.peekIndex(sequenceIndex)];\n if (value.xAdvance != null) {\n position.xAdvance += value.xAdvance;\n }\n\n if (value.yAdvance != null) {\n position.yAdvance += value.yAdvance;\n }\n\n if (value.xPlacement != null) {\n position.xOffset += value.xPlacement;\n }\n\n if (value.yPlacement != null) {\n position.yOffset += value.yPlacement;\n }\n\n // Adjustments for font variations\n let variationProcessor = this.font._variationProcessor;\n let variationStore = this.font.GDEF && this.font.GDEF.itemVariationStore;\n if (variationProcessor && variationStore) {\n if (value.xPlaDevice) {\n position.xOffset += variationProcessor.getDelta(variationStore, value.xPlaDevice.a, value.xPlaDevice.b);\n }\n\n if (value.yPlaDevice) {\n position.yOffset += variationProcessor.getDelta(variationStore, value.yPlaDevice.a, value.yPlaDevice.b);\n }\n\n if (value.xAdvDevice) {\n position.xAdvance += variationProcessor.getDelta(variationStore, value.xAdvDevice.a, value.xAdvDevice.b);\n }\n\n if (value.yAdvDevice) {\n position.yAdvance += variationProcessor.getDelta(variationStore, value.yAdvDevice.a, value.yAdvDevice.b);\n }\n }\n\n // TODO: device tables\n }\n\n applyLookup(lookupType, table) {\n switch (lookupType) {\n case 1: { // Single positioning value\n let index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n switch (table.version) {\n case 1:\n this.applyPositionValue(0, table.value);\n break;\n\n case 2:\n this.applyPositionValue(0, table.values.get(index));\n break;\n }\n\n return true;\n }\n\n case 2: { // Pair Adjustment Positioning\n let nextGlyph = this.glyphIterator.peek();\n if (!nextGlyph) {\n return false;\n }\n\n let index = this.coverageIndex(table.coverage);\n if (index === -1) {\n return false;\n }\n\n switch (table.version) {\n case 1: // Adjustments for glyph pairs\n let set = table.pairSets.get(index);\n\n for (let pair of set) {\n if (pair.secondGlyph === nextGlyph.id) {\n this.applyPositionValue(0, pair.value1);\n this.applyPositionValue(1, pair.value2);\n return true;\n }\n }\n\n return false;\n\n case 2: // Class pair adjustment\n let class1 = this.getClassID(this.glyphIterator.cur.id, table.classDef1);\n let class2 = this.getClassID(nextGlyph.id, table.classDef2);\n if (class1 === -1 || class2 === -1) {\n return false;\n }\n\n var pair = table.classRecords.get(class1).get(class2);\n this.applyPositionValue(0, pair.value1);\n this.applyPositionValue(1, pair.value2);\n return true;\n }\n }\n\n case 3: { // Cursive Attachment Positioning\n let nextIndex = this.glyphIterator.peekIndex();\n let nextGlyph = this.glyphs[nextIndex];\n if (!nextGlyph) {\n return false;\n }\n\n let curRecord = table.entryExitRecords[this.coverageIndex(table.coverage)];\n if (!curRecord || !curRecord.exitAnchor) {\n return false;\n }\n\n let nextRecord = table.entryExitRecords[this.coverageIndex(table.coverage, nextGlyph.id)];\n if (!nextRecord || !nextRecord.entryAnchor) {\n return false;\n }\n\n let entry = this.getAnchor(nextRecord.entryAnchor);\n let exit = this.getAnchor(curRecord.exitAnchor);\n\n let cur = this.positions[this.glyphIterator.index];\n let next = this.positions[nextIndex];\n let d;\n\n switch (this.direction) {\n case 'ltr':\n cur.xAdvance = exit.x + cur.xOffset;\n\n d = entry.x + next.xOffset;\n next.xAdvance -= d;\n next.xOffset -= d;\n break;\n\n case 'rtl':\n d = exit.x + cur.xOffset;\n cur.xAdvance -= d;\n cur.xOffset -= d;\n next.xAdvance = entry.x + next.xOffset;\n break;\n }\n\n if (this.glyphIterator.flags.rightToLeft) {\n this.glyphIterator.cur.cursiveAttachment = nextIndex;\n cur.yOffset = entry.y - exit.y;\n } else {\n nextGlyph.cursiveAttachment = this.glyphIterator.index;\n cur.yOffset = exit.y - entry.y;\n }\n\n return true;\n }\n\n case 4: { // Mark to base positioning\n let markIndex = this.coverageIndex(table.markCoverage);\n if (markIndex === -1) {\n return false;\n }\n\n // search backward for a base glyph\n let baseGlyphIndex = this.glyphIterator.index;\n while (--baseGlyphIndex >= 0 && (this.glyphs[baseGlyphIndex].isMark || this.glyphs[baseGlyphIndex].ligatureComponent > 0));\n\n if (baseGlyphIndex < 0) {\n return false;\n }\n\n let baseIndex = this.coverageIndex(table.baseCoverage, this.glyphs[baseGlyphIndex].id);\n if (baseIndex === -1) {\n return false;\n }\n\n let markRecord = table.markArray[markIndex];\n let baseAnchor = table.baseArray[baseIndex][markRecord.class];\n this.applyAnchor(markRecord, baseAnchor, baseGlyphIndex);\n return true;\n }\n\n case 5: { // Mark to ligature positioning\n let markIndex = this.coverageIndex(table.markCoverage);\n if (markIndex === -1) {\n return false;\n }\n\n // search backward for a base glyph\n let baseGlyphIndex = this.glyphIterator.index;\n while (--baseGlyphIndex >= 0 && this.glyphs[baseGlyphIndex].isMark);\n\n if (baseGlyphIndex < 0) {\n return false;\n }\n\n let ligIndex = this.coverageIndex(table.ligatureCoverage, this.glyphs[baseGlyphIndex].id);\n if (ligIndex === -1) {\n return false;\n }\n\n let ligAttach = table.ligatureArray[ligIndex];\n let markGlyph = this.glyphIterator.cur;\n let ligGlyph = this.glyphs[baseGlyphIndex];\n let compIndex = ligGlyph.ligatureID && ligGlyph.ligatureID === markGlyph.ligatureID && (markGlyph.ligatureComponent > 0)\n ? Math.min(markGlyph.ligatureComponent, ligGlyph.codePoints.length) - 1\n : ligGlyph.codePoints.length - 1;\n\n let markRecord = table.markArray[markIndex];\n let baseAnchor = ligAttach[compIndex][markRecord.class];\n this.applyAnchor(markRecord, baseAnchor, baseGlyphIndex);\n return true;\n }\n\n case 6: { // Mark to mark positioning\n let mark1Index = this.coverageIndex(table.mark1Coverage);\n if (mark1Index === -1) {\n return false;\n }\n\n // get the previous mark to attach to\n let prevIndex = this.glyphIterator.peekIndex(-1);\n let prev = this.glyphs[prevIndex];\n if (!prev || !prev.isMark) {\n return false;\n }\n\n let cur = this.glyphIterator.cur;\n\n // The following logic was borrowed from Harfbuzz\n let good = false;\n if (cur.ligatureID === prev.ligatureID) {\n if (!cur.ligatureID) { // Marks belonging to the same base\n good = true;\n } else if (cur.ligatureComponent === prev.ligatureComponent) { // Marks belonging to the same ligature component\n good = true;\n }\n } else {\n // If ligature ids don't match, it may be the case that one of the marks\n // itself is a ligature, in which case match.\n if ((cur.ligatureID && !cur.ligatureComponent) || (prev.ligatureID && !prev.ligatureComponent)) {\n good = true;\n }\n }\n\n if (!good) {\n return false;\n }\n\n let mark2Index = this.coverageIndex(table.mark2Coverage, prev.id);\n if (mark2Index === -1) {\n return false;\n }\n\n let markRecord = table.mark1Array[mark1Index];\n let baseAnchor = table.mark2Array[mark2Index][markRecord.class];\n this.applyAnchor(markRecord, baseAnchor, prevIndex);\n return true;\n }\n\n case 7: // Contextual positioning\n return this.applyContext(table);\n\n case 8: // Chaining contextual positioning\n return this.applyChainingContext(table);\n\n case 9: // Extension positioning\n return this.applyLookup(table.lookupType, table.extension);\n\n default:\n throw new Error(`Unsupported GPOS table: ${lookupType}`);\n }\n }\n\n applyAnchor(markRecord, baseAnchor, baseGlyphIndex) {\n let baseCoords = this.getAnchor(baseAnchor);\n let markCoords = this.getAnchor(markRecord.markAnchor);\n\n let basePos = this.positions[baseGlyphIndex];\n let markPos = this.positions[this.glyphIterator.index];\n\n markPos.xOffset = baseCoords.x - markCoords.x;\n markPos.yOffset = baseCoords.y - markCoords.y;\n this.glyphIterator.cur.markAttachment = baseGlyphIndex;\n }\n\n getAnchor(anchor) {\n // TODO: contour point, device tables\n let x = anchor.xCoordinate;\n let y = anchor.yCoordinate;\n\n // Adjustments for font variations\n let variationProcessor = this.font._variationProcessor;\n let variationStore = this.font.GDEF && this.font.GDEF.itemVariationStore;\n if (variationProcessor && variationStore) {\n if (anchor.xDeviceTable) {\n x += variationProcessor.getDelta(variationStore, anchor.xDeviceTable.a, anchor.xDeviceTable.b);\n }\n\n if (anchor.yDeviceTable) {\n y += variationProcessor.getDelta(variationStore, anchor.yDeviceTable.a, anchor.yDeviceTable.b);\n }\n }\n\n return { x, y };\n }\n\n applyFeatures(userFeatures, glyphs, advances) {\n super.applyFeatures(userFeatures, glyphs, advances);\n\n for (var i = 0; i < this.glyphs.length; i++) {\n this.fixCursiveAttachment(i);\n }\n\n this.fixMarkAttachment();\n }\n\n fixCursiveAttachment(i) {\n let glyph = this.glyphs[i];\n if (glyph.cursiveAttachment != null) {\n let j = glyph.cursiveAttachment;\n\n glyph.cursiveAttachment = null;\n this.fixCursiveAttachment(j);\n\n this.positions[i].yOffset += this.positions[j].yOffset;\n }\n }\n\n fixMarkAttachment() {\n for (let i = 0; i < this.glyphs.length; i++) {\n let glyph = this.glyphs[i];\n if (glyph.markAttachment != null) {\n let j = glyph.markAttachment;\n\n this.positions[i].xOffset += this.positions[j].xOffset;\n this.positions[i].yOffset += this.positions[j].yOffset;\n\n if (this.direction === 'ltr') {\n for (let k = j; k < i; k++) {\n this.positions[i].xOffset -= this.positions[k].xAdvance;\n this.positions[i].yOffset -= this.positions[k].yAdvance;\n }\n } else {\n for (let k = j + 1; k < i + 1; k++) {\n this.positions[i].xOffset += this.positions[k].xAdvance;\n this.positions[i].yOffset += this.positions[k].yAdvance;\n }\n }\n }\n }\n }\n}\n","import ShapingPlan from './ShapingPlan';\nimport * as Shapers from './shapers';\nimport GlyphInfo from './GlyphInfo';\nimport GSUBProcessor from './GSUBProcessor';\nimport GPOSProcessor from './GPOSProcessor';\n\nexport default class OTLayoutEngine {\n constructor(font) {\n this.font = font;\n this.glyphInfos = null;\n this.plan = null;\n this.GSUBProcessor = null;\n this.GPOSProcessor = null;\n this.fallbackPosition = true;\n\n if (font.GSUB) {\n this.GSUBProcessor = new GSUBProcessor(font, font.GSUB);\n }\n\n if (font.GPOS) {\n this.GPOSProcessor = new GPOSProcessor(font, font.GPOS);\n }\n }\n\n setup(glyphRun) {\n // Map glyphs to GlyphInfo objects so data can be passed between\n // GSUB and GPOS without mutating the real (shared) Glyph objects.\n this.glyphInfos = glyphRun.glyphs.map(glyph => new GlyphInfo(this.font, glyph.id, [...glyph.codePoints]));\n\n // Select a script based on what is available in GSUB/GPOS.\n let script = null;\n if (this.GPOSProcessor) {\n script = this.GPOSProcessor.selectScript(glyphRun.script, glyphRun.language, glyphRun.direction);\n }\n\n if (this.GSUBProcessor) {\n script = this.GSUBProcessor.selectScript(glyphRun.script, glyphRun.language, glyphRun.direction);\n }\n\n // Choose a shaper based on the script, and setup a shaping plan.\n // This determines which features to apply to which glyphs.\n this.shaper = Shapers.choose(script);\n this.plan = new ShapingPlan(this.font, script, glyphRun.direction);\n this.shaper.plan(this.plan, this.glyphInfos, glyphRun.features);\n\n // Assign chosen features to output glyph run\n for (let key in this.plan.allFeatures) {\n glyphRun.features[key] = true;\n }\n }\n\n substitute(glyphRun) {\n if (this.GSUBProcessor) {\n this.plan.process(this.GSUBProcessor, this.glyphInfos);\n\n // Map glyph infos back to normal Glyph objects\n glyphRun.glyphs = this.glyphInfos.map(glyphInfo => this.font.getGlyph(glyphInfo.id, glyphInfo.codePoints));\n }\n }\n\n position(glyphRun) {\n if (this.shaper.zeroMarkWidths === 'BEFORE_GPOS') {\n this.zeroMarkAdvances(glyphRun.positions);\n }\n\n if (this.GPOSProcessor) {\n this.plan.process(this.GPOSProcessor, this.glyphInfos, glyphRun.positions);\n }\n\n if (this.shaper.zeroMarkWidths === 'AFTER_GPOS') {\n this.zeroMarkAdvances(glyphRun.positions);\n }\n\n // Reverse the glyphs and positions if the script is right-to-left\n if (glyphRun.direction === 'rtl') {\n glyphRun.glyphs.reverse();\n glyphRun.positions.reverse();\n }\n\n return this.GPOSProcessor && this.GPOSProcessor.features;\n }\n\n zeroMarkAdvances(positions) {\n for (let i = 0; i < this.glyphInfos.length; i++) {\n if (this.glyphInfos[i].isMark) {\n positions[i].xAdvance = 0;\n positions[i].yAdvance = 0;\n }\n }\n }\n\n cleanup() {\n this.glyphInfos = null;\n this.plan = null;\n this.shaper = null;\n }\n\n getAvailableFeatures(script, language) {\n let features = [];\n\n if (this.GSUBProcessor) {\n this.GSUBProcessor.selectScript(script, language);\n features.push(...Object.keys(this.GSUBProcessor.features));\n }\n\n if (this.GPOSProcessor) {\n this.GPOSProcessor.selectScript(script, language);\n features.push(...Object.keys(this.GPOSProcessor.features));\n }\n\n return features;\n }\n}\n","import KernProcessor from './KernProcessor';\nimport UnicodeLayoutEngine from './UnicodeLayoutEngine';\nimport GlyphRun from './GlyphRun';\nimport GlyphPosition from './GlyphPosition';\nimport * as Script from './Script';\nimport AATLayoutEngine from '../aat/AATLayoutEngine';\nimport OTLayoutEngine from '../opentype/OTLayoutEngine';\n\nexport default class LayoutEngine {\n constructor(font) {\n this.font = font;\n this.unicodeLayoutEngine = null;\n this.kernProcessor = null;\n\n // Choose an advanced layout engine. We try the AAT morx table first since more\n // scripts are currently supported because the shaping logic is built into the font.\n if (this.font.morx) {\n this.engine = new AATLayoutEngine(this.font);\n\n } else if (this.font.GSUB || this.font.GPOS) {\n this.engine = new OTLayoutEngine(this.font);\n }\n }\n\n layout(string, features, script, language, direction) {\n // Make the features parameter optional\n if (typeof features === 'string') {\n direction = language;\n language = script;\n script = features;\n features = [];\n }\n\n // Map string to glyphs if needed\n if (typeof string === 'string') {\n // Attempt to detect the script from the string if not provided.\n if (script == null) {\n script = Script.forString(string);\n }\n\n var glyphs = this.font.glyphsForString(string);\n } else {\n // Attempt to detect the script from the glyph code points if not provided.\n if (script == null) {\n let codePoints = [];\n for (let glyph of string) {\n codePoints.push(...glyph.codePoints);\n }\n\n script = Script.forCodePoints(codePoints);\n }\n\n var glyphs = string;\n }\n\n let glyphRun = new GlyphRun(glyphs, features, script, language, direction);\n\n // Return early if there are no glyphs\n if (glyphs.length === 0) {\n glyphRun.positions = [];\n return glyphRun;\n }\n\n // Setup the advanced layout engine\n if (this.engine && this.engine.setup) {\n this.engine.setup(glyphRun);\n }\n\n // Substitute and position the glyphs\n this.substitute(glyphRun);\n this.position(glyphRun);\n\n this.hideDefaultIgnorables(glyphRun.glyphs, glyphRun.positions);\n\n // Let the layout engine clean up any state it might have\n if (this.engine && this.engine.cleanup) {\n this.engine.cleanup();\n }\n\n return glyphRun;\n }\n\n substitute(glyphRun) {\n // Call the advanced layout engine to make substitutions\n if (this.engine && this.engine.substitute) {\n this.engine.substitute(glyphRun);\n }\n }\n\n position(glyphRun) {\n // Get initial glyph positions\n glyphRun.positions = glyphRun.glyphs.map(glyph => new GlyphPosition(glyph.advanceWidth));\n let positioned = null;\n\n // Call the advanced layout engine. Returns the features applied.\n if (this.engine && this.engine.position) {\n positioned = this.engine.position(glyphRun);\n }\n\n // if there is no GPOS table, use unicode properties to position marks.\n if (!positioned && (!this.engine || this.engine.fallbackPosition)) {\n if (!this.unicodeLayoutEngine) {\n this.unicodeLayoutEngine = new UnicodeLayoutEngine(this.font);\n }\n\n this.unicodeLayoutEngine.positionGlyphs(glyphRun.glyphs, glyphRun.positions);\n }\n\n // if kerning is not supported by GPOS, do kerning with the TrueType/AAT kern table\n if ((!positioned || !positioned.kern) && glyphRun.features.kern !== false && this.font.kern) {\n if (!this.kernProcessor) {\n this.kernProcessor = new KernProcessor(this.font);\n }\n\n this.kernProcessor.process(glyphRun.glyphs, glyphRun.positions);\n glyphRun.features.kern = true;\n }\n }\n\n hideDefaultIgnorables(glyphs, positions) {\n let space = this.font.glyphForCodePoint(0x20);\n for (let i = 0; i < glyphs.length; i++) {\n if (this.isDefaultIgnorable(glyphs[i].codePoints[0])) {\n glyphs[i] = space;\n positions[i].xAdvance = 0;\n positions[i].yAdvance = 0;\n }\n }\n }\n\n isDefaultIgnorable(ch) {\n // From DerivedCoreProperties.txt in the Unicode database,\n // minus U+115F, U+1160, U+3164 and U+FFA0, which is what\n // Harfbuzz and Uniscribe do.\n let plane = ch >> 16;\n if (plane === 0) {\n // BMP\n switch (ch >> 8) {\n \tcase 0x00: return ch === 0x00AD;\n \tcase 0x03: return ch === 0x034F;\n \tcase 0x06: return ch === 0x061C;\n \tcase 0x17: return 0x17B4 <= ch && ch <= 0x17B5;\n \tcase 0x18: return 0x180B <= ch && ch <= 0x180E;\n \tcase 0x20: return (0x200B <= ch && ch <= 0x200F) || (0x202A <= ch && ch <= 0x202E) || (0x2060 <= ch && ch <= 0x206F);\n \tcase 0xFE: return (0xFE00 <= ch && ch <= 0xFE0F) || ch === 0xFEFF;\n \tcase 0xFF: return 0xFFF0 <= ch && ch <= 0xFFF8;\n \tdefault: return false;\n }\n } else {\n // Other planes\n switch (plane) {\n \tcase 0x01: return (0x1BCA0 <= ch && ch <= 0x1BCA3) || (0x1D173 <= ch && ch <= 0x1D17A);\n \tcase 0x0E: return 0xE0000 <= ch && ch <= 0xE0FFF;\n \tdefault: return false;\n }\n }\n }\n\n getAvailableFeatures(script, language) {\n let features = [];\n\n if (this.engine) {\n features.push(...this.engine.getAvailableFeatures(script, language));\n }\n\n if (this.font.kern && features.indexOf('kern') === -1) {\n features.push('kern');\n }\n\n return features;\n }\n\n stringsForGlyph(gid) {\n let result = new Set;\n\n let codePoints = this.font._cmapProcessor.codePointsForGlyph(gid);\n for (let codePoint of codePoints) {\n result.add(String.fromCodePoint(codePoint));\n }\n\n if (this.engine && this.engine.stringsForGlyph) {\n for (let string of this.engine.stringsForGlyph(gid)) {\n result.add(string);\n }\n }\n\n return Array.from(result);\n }\n}\n","import BBox from './BBox';\n\nconst SVG_COMMANDS = {\n moveTo: 'M',\n lineTo: 'L',\n quadraticCurveTo: 'Q',\n bezierCurveTo: 'C',\n closePath: 'Z'\n};\n\n/**\n * Path objects are returned by glyphs and represent the actual\n * vector outlines for each glyph in the font. Paths can be converted\n * to SVG path data strings, or to functions that can be applied to\n * render the path to a graphics context.\n */\nexport default class Path {\n constructor() {\n this.commands = [];\n this._bbox = null;\n this._cbox = null;\n }\n\n /**\n * Compiles the path to a JavaScript function that can be applied with\n * a graphics context in order to render the path.\n * @return {string}\n */\n toFunction() {\n return ctx => {\n this.commands.forEach(c => {\n return ctx[c.command].apply(ctx, c.args)\n })\n };\n }\n\n /**\n * Converts the path to an SVG path data string\n * @return {string}\n */\n toSVG() {\n let cmds = this.commands.map(c => {\n let args = c.args.map(arg => Math.round(arg * 100) / 100);\n return `${SVG_COMMANDS[c.command]}${args.join(' ')}`;\n });\n\n return cmds.join('');\n }\n\n /**\n * Gets the \"control box\" of a path.\n * This is like the bounding box, but it includes all points including\n * control points of bezier segments and is much faster to compute than\n * the real bounding box.\n * @type {BBox}\n */\n get cbox() {\n if (!this._cbox) {\n let cbox = new BBox;\n for (let command of this.commands) {\n for (let i = 0; i < command.args.length; i += 2) {\n cbox.addPoint(command.args[i], command.args[i + 1]);\n }\n }\n\n this._cbox = Object.freeze(cbox);\n }\n\n return this._cbox;\n }\n\n /**\n * Gets the exact bounding box of the path by evaluating curve segments.\n * Slower to compute than the control box, but more accurate.\n * @type {BBox}\n */\n get bbox() {\n if (this._bbox) {\n return this._bbox;\n }\n\n let bbox = new BBox;\n let cx = 0, cy = 0;\n\n let f = t => (\n Math.pow(1 - t, 3) * p0[i]\n + 3 * Math.pow(1 - t, 2) * t * p1[i]\n + 3 * (1 - t) * Math.pow(t, 2) * p2[i]\n + Math.pow(t, 3) * p3[i]\n );\n\n for (let c of this.commands) {\n switch (c.command) {\n case 'moveTo':\n case 'lineTo':\n let [x, y] = c.args;\n bbox.addPoint(x, y);\n cx = x;\n cy = y;\n break;\n\n case 'quadraticCurveTo':\n case 'bezierCurveTo':\n if (c.command === 'quadraticCurveTo') {\n // http://fontforge.org/bezier.html\n var [qp1x, qp1y, p3x, p3y] = c.args;\n var cp1x = cx + 2 / 3 * (qp1x - cx); // CP1 = QP0 + 2/3 * (QP1-QP0)\n var cp1y = cy + 2 / 3 * (qp1y - cy);\n var cp2x = p3x + 2 / 3 * (qp1x - p3x); // CP2 = QP2 + 2/3 * (QP1-QP2)\n var cp2y = p3y + 2 / 3 * (qp1y - p3y);\n } else {\n var [cp1x, cp1y, cp2x, cp2y, p3x, p3y] = c.args;\n }\n\n // http://blog.hackers-cafe.net/2009/06/how-to-calculate-bezier-curves-bounding.html\n bbox.addPoint(p3x, p3y);\n\n var p0 = [cx, cy];\n var p1 = [cp1x, cp1y];\n var p2 = [cp2x, cp2y];\n var p3 = [p3x, p3y];\n\n for (var i = 0; i <= 1; i++) {\n let b = 6 * p0[i] - 12 * p1[i] + 6 * p2[i];\n let a = -3 * p0[i] + 9 * p1[i] - 9 * p2[i] + 3 * p3[i];\n c = 3 * p1[i] - 3 * p0[i];\n\n if (a === 0) {\n if (b === 0) {\n continue;\n }\n\n let t = -c / b;\n if (0 < t && t < 1) {\n if (i === 0) {\n bbox.addPoint(f(t), bbox.maxY);\n } else if (i === 1) {\n bbox.addPoint(bbox.maxX, f(t));\n }\n }\n\n continue;\n }\n\n let b2ac = Math.pow(b, 2) - 4 * c * a;\n if (b2ac < 0) {\n continue;\n }\n\n let t1 = (-b + Math.sqrt(b2ac)) / (2 * a);\n if (0 < t1 && t1 < 1) {\n if (i === 0) {\n bbox.addPoint(f(t1), bbox.maxY);\n } else if (i === 1) {\n bbox.addPoint(bbox.maxX, f(t1));\n }\n }\n\n let t2 = (-b - Math.sqrt(b2ac)) / (2 * a);\n if (0 < t2 && t2 < 1) {\n if (i === 0) {\n bbox.addPoint(f(t2), bbox.maxY);\n } else if (i === 1) {\n bbox.addPoint(bbox.maxX, f(t2));\n }\n }\n }\n\n cx = p3x;\n cy = p3y;\n break;\n }\n }\n\n return this._bbox = Object.freeze(bbox);\n }\n\n /**\n * Applies a mapping function to each point in the path.\n * @param {function} fn\n * @return {Path}\n */\n mapPoints(fn) {\n let path = new Path;\n\n for (let c of this.commands) {\n let args = [];\n for (let i = 0; i < c.args.length; i += 2) {\n let [x, y] = fn(c.args[i], c.args[i + 1]);\n args.push(x, y);\n }\n\n path[c.command](...args);\n }\n\n return path;\n }\n\n /**\n * Transforms the path by the given matrix.\n */\n transform(m0, m1, m2, m3, m4, m5) {\n return this.mapPoints((x, y) => {\n const tx = m0 * x + m2 * y + m4;\n const ty = m1 * x + m3 * y + m5;\n return [tx, ty];\n });\n }\n\n /**\n * Translates the path by the given offset.\n */\n translate(x, y) {\n return this.transform(1, 0, 0, 1, x, y);\n }\n\n /**\n * Rotates the path by the given angle (in radians).\n */\n rotate(angle) {\n let cos = Math.cos(angle);\n let sin = Math.sin(angle);\n return this.transform(cos, sin, -sin, cos, 0, 0);\n }\n\n /**\n * Scales the path.\n */\n scale(scaleX, scaleY = scaleX) {\n return this.transform(scaleX, 0, 0, scaleY, 0, 0);\n }\n}\n\nfor (let command of ['moveTo', 'lineTo', 'quadraticCurveTo', 'bezierCurveTo', 'closePath']) {\n Path.prototype[command] = function(...args) {\n this._bbox = this._cbox = null;\n this.commands.push({\n command,\n args\n });\n\n return this;\n };\n}\n","export default [\n '.notdef', '.null', 'nonmarkingreturn', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', 'percent',\n 'ampersand', 'quotesingle', 'parenleft', 'parenright', 'asterisk', 'plus', 'comma', 'hyphen', 'period', 'slash',\n 'zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon', 'semicolon', 'less',\n 'equal', 'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',\n 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'bracketleft', 'backslash', 'bracketright',\n 'asciicircum', 'underscore', 'grave', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o',\n 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'braceleft', 'bar', 'braceright', 'asciitilde',\n 'Adieresis', 'Aring', 'Ccedilla', 'Eacute', 'Ntilde', 'Odieresis', 'Udieresis', 'aacute', 'agrave',\n 'acircumflex', 'adieresis', 'atilde', 'aring', 'ccedilla', 'eacute', 'egrave', 'ecircumflex', 'edieresis',\n 'iacute', 'igrave', 'icircumflex', 'idieresis', 'ntilde', 'oacute', 'ograve', 'ocircumflex', 'odieresis',\n 'otilde', 'uacute', 'ugrave', 'ucircumflex', 'udieresis', 'dagger', 'degree', 'cent', 'sterling', 'section',\n 'bullet', 'paragraph', 'germandbls', 'registered', 'copyright', 'trademark', 'acute', 'dieresis', 'notequal',\n 'AE', 'Oslash', 'infinity', 'plusminus', 'lessequal', 'greaterequal', 'yen', 'mu', 'partialdiff', 'summation',\n 'product', 'pi', 'integral', 'ordfeminine', 'ordmasculine', 'Omega', 'ae', 'oslash', 'questiondown',\n 'exclamdown', 'logicalnot', 'radical', 'florin', 'approxequal', 'Delta', 'guillemotleft', 'guillemotright',\n 'ellipsis', 'nonbreakingspace', 'Agrave', 'Atilde', 'Otilde', 'OE', 'oe', 'endash', 'emdash', 'quotedblleft',\n 'quotedblright', 'quoteleft', 'quoteright', 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction',\n 'currency', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl', 'periodcentered', 'quotesinglbase',\n 'quotedblbase', 'perthousand', 'Acircumflex', 'Ecircumflex', 'Aacute', 'Edieresis', 'Egrave', 'Iacute',\n 'Icircumflex', 'Idieresis', 'Igrave', 'Oacute', 'Ocircumflex', 'apple', 'Ograve', 'Uacute', 'Ucircumflex',\n 'Ugrave', 'dotlessi', 'circumflex', 'tilde', 'macron', 'breve', 'dotaccent', 'ring', 'cedilla', 'hungarumlaut',\n 'ogonek', 'caron', 'Lslash', 'lslash', 'Scaron', 'scaron', 'Zcaron', 'zcaron', 'brokenbar', 'Eth', 'eth',\n 'Yacute', 'yacute', 'Thorn', 'thorn', 'minus', 'multiply', 'onesuperior', 'twosuperior', 'threesuperior',\n 'onehalf', 'onequarter', 'threequarters', 'franc', 'Gbreve', 'gbreve', 'Idotaccent', 'Scedilla', 'scedilla',\n 'Cacute', 'cacute', 'Ccaron', 'ccaron', 'dcroat'\n];\n","import { cache } from '../decorators';\nimport Path from './Path';\nimport {isMark} from 'unicode-properties';\nimport StandardNames from './StandardNames';\n\n/**\n * Glyph objects represent a glyph in the font. They have various properties for accessing metrics and\n * the actual vector path the glyph represents, and methods for rendering the glyph to a graphics context.\n *\n * You do not create glyph objects directly. They are created by various methods on the font object.\n * There are several subclasses of the base Glyph class internally that may be returned depending\n * on the font format, but they all inherit from this class.\n */\nexport default class Glyph {\n constructor(id, codePoints, font) {\n /**\n * The glyph id in the font\n * @type {number}\n */\n this.id = id;\n\n /**\n * An array of unicode code points that are represented by this glyph.\n * There can be multiple code points in the case of ligatures and other glyphs\n * that represent multiple visual characters.\n * @type {number[]}\n */\n this.codePoints = codePoints;\n this._font = font;\n\n // TODO: get this info from GDEF if available\n this.isMark = this.codePoints.length > 0 && this.codePoints.every(isMark);\n this.isLigature = this.codePoints.length > 1;\n }\n\n _getPath() {\n return new Path();\n }\n\n _getCBox() {\n return this.path.cbox;\n }\n\n _getBBox() {\n return this.path.bbox;\n }\n\n _getTableMetrics(table) {\n if (this.id < table.metrics.length) {\n return table.metrics.get(this.id);\n }\n\n let metric = table.metrics.get(table.metrics.length - 1);\n let res = {\n advance: metric ? metric.advance : 0,\n bearing: table.bearings.get(this.id - table.metrics.length) || 0\n };\n\n return res;\n }\n\n _getMetrics(cbox) {\n if (this._metrics) { return this._metrics; }\n\n let {advance:advanceWidth, bearing:leftBearing} = this._getTableMetrics(this._font.hmtx);\n\n // For vertical metrics, use vmtx if available, or fall back to global data from OS/2 or hhea\n if (this._font.vmtx) {\n var {advance:advanceHeight, bearing:topBearing} = this._getTableMetrics(this._font.vmtx);\n\n } else {\n let os2;\n if (typeof cbox === 'undefined' || cbox === null) { ({ cbox } = this); }\n\n if ((os2 = this._font['OS/2']) && os2.version > 0) {\n var advanceHeight = Math.abs(os2.typoAscender - os2.typoDescender);\n var topBearing = os2.typoAscender - cbox.maxY;\n\n } else {\n let { hhea } = this._font;\n var advanceHeight = Math.abs(hhea.ascent - hhea.descent);\n var topBearing = hhea.ascent - cbox.maxY;\n }\n }\n\n if (this._font._variationProcessor && this._font.HVAR) {\n advanceWidth += this._font._variationProcessor.getAdvanceAdjustment(this.id, this._font.HVAR);\n }\n\n return this._metrics = { advanceWidth, advanceHeight, leftBearing, topBearing };\n }\n\n /**\n * The glyph’s control box.\n * This is often the same as the bounding box, but is faster to compute.\n * Because of the way bezier curves are defined, some of the control points\n * can be outside of the bounding box. Where `bbox` takes this into account,\n * `cbox` does not. Thus, cbox is less accurate, but faster to compute.\n * See [here](http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html#section-2)\n * for a more detailed description.\n *\n * @type {BBox}\n */\n @cache\n get cbox() {\n return this._getCBox();\n }\n\n /**\n * The glyph’s bounding box, i.e. the rectangle that encloses the\n * glyph outline as tightly as possible.\n * @type {BBox}\n */\n @cache\n get bbox() {\n return this._getBBox();\n }\n\n /**\n * A vector Path object representing the glyph outline.\n * @type {Path}\n */\n @cache\n get path() {\n // Cache the path so we only decode it once\n // Decoding is actually performed by subclasses\n return this._getPath();\n }\n\n /**\n * Returns a path scaled to the given font size.\n * @param {number} size\n * @return {Path}\n */\n getScaledPath(size) {\n let scale = 1 / this._font.unitsPerEm * size;\n return this.path.scale(scale);\n }\n\n /**\n * The glyph's advance width.\n * @type {number}\n */\n @cache\n get advanceWidth() {\n return this._getMetrics().advanceWidth;\n }\n\n /**\n * The glyph's advance height.\n * @type {number}\n */\n @cache\n get advanceHeight() {\n return this._getMetrics().advanceHeight;\n }\n\n get ligatureCaretPositions() {}\n\n _getName() {\n let { post } = this._font;\n if (!post) {\n return null;\n }\n\n switch (post.version) {\n case 1:\n return StandardNames[this.id];\n\n case 2:\n let id = post.glyphNameIndex[this.id];\n if (id < StandardNames.length) {\n return StandardNames[id];\n }\n\n return post.names[id - StandardNames.length];\n\n case 2.5:\n return StandardNames[this.id + post.offsets[this.id]];\n\n case 4:\n return String.fromCharCode(post.map[this.id]);\n }\n }\n\n /**\n * The glyph's name\n * @type {string}\n */\n @cache\n get name() {\n return this._getName();\n }\n\n /**\n * Renders the glyph to the given graphics context, at the specified font size.\n * @param {CanvasRenderingContext2d} ctx\n * @param {number} size\n */\n render(ctx, size) {\n ctx.save();\n\n let scale = 1 / this._font.head.unitsPerEm * size;\n ctx.scale(scale, scale);\n\n let fn = this.path.toFunction();\n fn(ctx);\n ctx.fill();\n\n ctx.restore();\n }\n}\n","import Glyph from './Glyph';\nimport Path from './Path';\nimport BBox from './BBox';\nimport * as r from 'restructure';\n\n// The header for both simple and composite glyphs\nlet GlyfHeader = new r.Struct({\n numberOfContours: r.int16, // if negative, this is a composite glyph\n xMin: r.int16,\n yMin: r.int16,\n xMax: r.int16,\n yMax: r.int16\n});\n\n// Flags for simple glyphs\nconst ON_CURVE = 1 << 0;\nconst X_SHORT_VECTOR = 1 << 1;\nconst Y_SHORT_VECTOR = 1 << 2;\nconst REPEAT = 1 << 3;\nconst SAME_X = 1 << 4;\nconst SAME_Y = 1 << 5;\n\n// Flags for composite glyphs\nconst ARG_1_AND_2_ARE_WORDS = 1 << 0;\nconst ARGS_ARE_XY_VALUES = 1 << 1;\nconst ROUND_XY_TO_GRID = 1 << 2;\nconst WE_HAVE_A_SCALE = 1 << 3;\nconst MORE_COMPONENTS = 1 << 5;\nconst WE_HAVE_AN_X_AND_Y_SCALE = 1 << 6;\nconst WE_HAVE_A_TWO_BY_TWO = 1 << 7;\nconst WE_HAVE_INSTRUCTIONS = 1 << 8;\nconst USE_MY_METRICS = 1 << 9;\nconst OVERLAP_COMPOUND = 1 << 10;\nconst SCALED_COMPONENT_OFFSET = 1 << 11;\nconst UNSCALED_COMPONENT_OFFSET = 1 << 12;\n\n// Represents a point in a simple glyph\nexport class Point {\n constructor(onCurve, endContour, x = 0, y = 0) {\n this.onCurve = onCurve;\n this.endContour = endContour;\n this.x = x;\n this.y = y;\n }\n\n copy() {\n return new Point(this.onCurve, this.endContour, this.x, this.y);\n }\n}\n\n// Represents a component in a composite glyph\nclass Component {\n constructor(glyphID, dx, dy) {\n this.glyphID = glyphID;\n this.dx = dx;\n this.dy = dy;\n this.pos = 0;\n this.scaleX = this.scaleY = 1;\n this.scale01 = this.scale10 = 0;\n }\n}\n\n/**\n * Represents a TrueType glyph.\n */\nexport default class TTFGlyph extends Glyph {\n type = 'TTF';\n\n // Parses just the glyph header and returns the bounding box\n _getCBox(internal) {\n // We need to decode the glyph if variation processing is requested,\n // so it's easier just to recompute the path's cbox after decoding.\n if (this._font._variationProcessor && !internal) {\n return this.path.cbox;\n }\n\n let stream = this._font._getTableStream('glyf');\n stream.pos += this._font.loca.offsets[this.id];\n let glyph = GlyfHeader.decode(stream);\n\n let cbox = new BBox(glyph.xMin, glyph.yMin, glyph.xMax, glyph.yMax);\n return Object.freeze(cbox);\n }\n\n // Parses a single glyph coordinate\n _parseGlyphCoord(stream, prev, short, same) {\n if (short) {\n var val = stream.readUInt8();\n if (!same) {\n val = -val;\n }\n\n val += prev;\n } else {\n if (same) {\n var val = prev;\n } else {\n var val = prev + stream.readInt16BE();\n }\n }\n\n return val;\n }\n\n // Decodes the glyph data into points for simple glyphs,\n // or components for composite glyphs\n _decode() {\n let glyfPos = this._font.loca.offsets[this.id];\n let nextPos = this._font.loca.offsets[this.id + 1];\n\n // Nothing to do if there is no data for this glyph\n if (glyfPos === nextPos) { return null; }\n\n let stream = this._font._getTableStream('glyf');\n stream.pos += glyfPos;\n let startPos = stream.pos;\n\n let glyph = GlyfHeader.decode(stream);\n\n if (glyph.numberOfContours > 0) {\n this._decodeSimple(glyph, stream);\n\n } else if (glyph.numberOfContours < 0) {\n this._decodeComposite(glyph, stream, startPos);\n }\n\n return glyph;\n }\n\n _decodeSimple(glyph, stream) {\n // this is a simple glyph\n glyph.points = [];\n\n let endPtsOfContours = new r.Array(r.uint16, glyph.numberOfContours).decode(stream);\n glyph.instructions = new r.Array(r.uint8, r.uint16).decode(stream);\n\n let flags = [];\n let numCoords = endPtsOfContours[endPtsOfContours.length - 1] + 1;\n\n while (flags.length < numCoords) {\n var flag = stream.readUInt8();\n flags.push(flag);\n\n // check for repeat flag\n if (flag & REPEAT) {\n let count = stream.readUInt8();\n for (let j = 0; j < count; j++) {\n flags.push(flag);\n }\n }\n }\n\n for (var i = 0; i < flags.length; i++) {\n var flag = flags[i];\n let point = new Point(!!(flag & ON_CURVE), endPtsOfContours.indexOf(i) >= 0, 0, 0);\n glyph.points.push(point);\n }\n\n let px = 0;\n for (var i = 0; i < flags.length; i++) {\n var flag = flags[i];\n glyph.points[i].x = px = this._parseGlyphCoord(stream, px, flag & X_SHORT_VECTOR, flag & SAME_X);\n }\n\n let py = 0;\n for (var i = 0; i < flags.length; i++) {\n var flag = flags[i];\n glyph.points[i].y = py = this._parseGlyphCoord(stream, py, flag & Y_SHORT_VECTOR, flag & SAME_Y);\n }\n\n if (this._font._variationProcessor) {\n let points = glyph.points.slice();\n points.push(...this._getPhantomPoints(glyph));\n\n this._font._variationProcessor.transformPoints(this.id, points);\n glyph.phantomPoints = points.slice(-4);\n }\n\n return;\n }\n\n _decodeComposite(glyph, stream, offset = 0) {\n // this is a composite glyph\n glyph.components = [];\n let haveInstructions = false;\n let flags = MORE_COMPONENTS;\n\n while (flags & MORE_COMPONENTS) {\n flags = stream.readUInt16BE();\n let gPos = stream.pos - offset;\n let glyphID = stream.readUInt16BE();\n if (!haveInstructions) {\n haveInstructions = (flags & WE_HAVE_INSTRUCTIONS) !== 0;\n }\n\n if (flags & ARG_1_AND_2_ARE_WORDS) {\n var dx = stream.readInt16BE();\n var dy = stream.readInt16BE();\n } else {\n var dx = stream.readInt8();\n var dy = stream.readInt8();\n }\n\n var component = new Component(glyphID, dx, dy);\n component.pos = gPos;\n\n if (flags & WE_HAVE_A_SCALE) {\n // fixed number with 14 bits of fraction\n component.scaleX =\n component.scaleY = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n\n } else if (flags & WE_HAVE_AN_X_AND_Y_SCALE) {\n component.scaleX = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n component.scaleY = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n\n } else if (flags & WE_HAVE_A_TWO_BY_TWO) {\n component.scaleX = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n component.scale01 = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n component.scale10 = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n component.scaleY = ((stream.readUInt8() << 24) | (stream.readUInt8() << 16)) / 1073741824;\n }\n\n glyph.components.push(component);\n }\n\n if (this._font._variationProcessor) {\n let points = [];\n for (let j = 0; j < glyph.components.length; j++) {\n var component = glyph.components[j];\n points.push(new Point(true, true, component.dx, component.dy));\n }\n\n points.push(...this._getPhantomPoints(glyph));\n\n this._font._variationProcessor.transformPoints(this.id, points);\n glyph.phantomPoints = points.splice(-4, 4);\n\n for (let i = 0; i < points.length; i++) {\n let point = points[i];\n glyph.components[i].dx = point.x;\n glyph.components[i].dy = point.y;\n }\n }\n\n return haveInstructions;\n }\n\n _getPhantomPoints(glyph) {\n let cbox = this._getCBox(true);\n if (this._metrics == null) {\n this._metrics = Glyph.prototype._getMetrics.call(this, cbox);\n }\n\n let { advanceWidth, advanceHeight, leftBearing, topBearing } = this._metrics;\n\n return [\n new Point(false, true, glyph.xMin - leftBearing, 0),\n new Point(false, true, glyph.xMin - leftBearing + advanceWidth, 0),\n new Point(false, true, 0, glyph.yMax + topBearing),\n new Point(false, true, 0, glyph.yMax + topBearing + advanceHeight)\n ];\n }\n\n // Decodes font data, resolves composite glyphs, and returns an array of contours\n _getContours() {\n let glyph = this._decode();\n if (!glyph) {\n return [];\n }\n\n let points = [];\n\n if (glyph.numberOfContours < 0) {\n // resolve composite glyphs\n for (let component of glyph.components) {\n let contours = this._font.getGlyph(component.glyphID)._getContours();\n for (let i = 0; i < contours.length; i++) {\n let contour = contours[i];\n for (let j = 0; j < contour.length; j++) {\n let point = contour[j];\n let x = point.x * component.scaleX + point.y * component.scale01 + component.dx;\n let y = point.y * component.scaleY + point.x * component.scale10 + component.dy;\n points.push(new Point(point.onCurve, point.endContour, x, y));\n }\n }\n }\n } else {\n points = glyph.points || [];\n }\n\n // Recompute and cache metrics if we performed variation processing, and don't have an HVAR table\n if (glyph.phantomPoints && !this._font.directory.tables.HVAR) {\n this._metrics.advanceWidth = glyph.phantomPoints[1].x - glyph.phantomPoints[0].x;\n this._metrics.advanceHeight = glyph.phantomPoints[3].y - glyph.phantomPoints[2].y;\n this._metrics.leftBearing = glyph.xMin - glyph.phantomPoints[0].x;\n this._metrics.topBearing = glyph.phantomPoints[2].y - glyph.yMax;\n }\n\n let contours = [];\n let cur = [];\n for (let k = 0; k < points.length; k++) {\n var point = points[k];\n cur.push(point);\n if (point.endContour) {\n contours.push(cur);\n cur = [];\n }\n }\n\n return contours;\n }\n\n _getMetrics() {\n if (this._metrics) {\n return this._metrics;\n }\n\n let cbox = this._getCBox(true);\n super._getMetrics(cbox);\n\n if (this._font._variationProcessor && !this._font.HVAR) {\n // No HVAR table, decode the glyph. This triggers recomputation of metrics.\n this.path;\n }\n\n return this._metrics;\n }\n\n // Converts contours to a Path object that can be rendered\n _getPath() {\n let contours = this._getContours();\n let path = new Path;\n\n for (let i = 0; i < contours.length; i++) {\n let contour = contours[i];\n let firstPt = contour[0];\n let lastPt = contour[contour.length - 1];\n let start = 0;\n\n if (firstPt.onCurve) {\n // The first point will be consumed by the moveTo command, so skip in the loop\n var curvePt = null;\n start = 1;\n } else {\n if (lastPt.onCurve) {\n // Start at the last point if the first point is off curve and the last point is on curve\n firstPt = lastPt;\n } else {\n // Start at the middle if both the first and last points are off curve\n firstPt = new Point(false, false, (firstPt.x + lastPt.x) / 2, (firstPt.y + lastPt.y) / 2);\n }\n\n var curvePt = firstPt;\n }\n\n path.moveTo(firstPt.x, firstPt.y);\n\n for (let j = start; j < contour.length; j++) {\n let pt = contour[j];\n let prevPt = j === 0 ? firstPt : contour[j - 1];\n\n if (prevPt.onCurve && pt.onCurve) {\n path.lineTo(pt.x, pt.y);\n\n } else if (prevPt.onCurve && !pt.onCurve) {\n var curvePt = pt;\n\n } else if (!prevPt.onCurve && !pt.onCurve) {\n let midX = (prevPt.x + pt.x) / 2;\n let midY = (prevPt.y + pt.y) / 2;\n path.quadraticCurveTo(prevPt.x, prevPt.y, midX, midY);\n var curvePt = pt;\n\n } else if (!prevPt.onCurve && pt.onCurve) {\n path.quadraticCurveTo(curvePt.x, curvePt.y, pt.x, pt.y);\n var curvePt = null;\n\n } else {\n throw new Error(\"Unknown TTF path state\");\n }\n }\n\n // Connect the first and last points\n if (curvePt) {\n path.quadraticCurveTo(curvePt.x, curvePt.y, firstPt.x, firstPt.y);\n }\n\n path.closePath();\n }\n\n return path;\n }\n}\n","import Glyph from './Glyph';\nimport Path from './Path';\n\n/**\n * Represents an OpenType PostScript glyph, in the Compact Font Format.\n */\nexport default class CFFGlyph extends Glyph {\n type = 'CFF';\n\n _getName() {\n if (this._font.CFF2) {\n return super._getName();\n }\n\n return this._font['CFF '].getGlyphName(this.id);\n }\n\n bias(s) {\n if (s.length < 1240) {\n return 107;\n } else if (s.length < 33900) {\n return 1131;\n } else {\n return 32768;\n }\n }\n\n _getPath() {\n let cff = this._font.CFF2 || this._font['CFF '];\n let { stream } = cff;\n let str = cff.topDict.CharStrings[this.id];\n let end = str.offset + str.length;\n stream.pos = str.offset;\n\n let path = new Path;\n let stack = [];\n let trans = [];\n\n let width = null;\n let nStems = 0;\n let x = 0, y = 0;\n let usedGsubrs;\n let usedSubrs;\n let open = false;\n\n this._usedGsubrs = usedGsubrs = {};\n this._usedSubrs = usedSubrs = {};\n\n let gsubrs = cff.globalSubrIndex || [];\n let gsubrsBias = this.bias(gsubrs);\n\n let privateDict = cff.privateDictForGlyph(this.id) || {};\n let subrs = privateDict.Subrs || [];\n let subrsBias = this.bias(subrs);\n\n let vstore = cff.topDict.vstore && cff.topDict.vstore.itemVariationStore;\n let vsindex = privateDict.vsindex;\n let variationProcessor = this._font._variationProcessor;\n\n function checkWidth() {\n if (width == null) {\n width = stack.shift() + privateDict.nominalWidthX;\n }\n }\n\n function parseStems() {\n if (stack.length % 2 !== 0) {\n checkWidth();\n }\n\n nStems += stack.length >> 1;\n return stack.length = 0;\n }\n\n function moveTo(x, y) {\n if (open) {\n path.closePath();\n }\n\n path.moveTo(x, y);\n open = true;\n }\n\n let parse = function () {\n while (stream.pos < end) {\n let op = stream.readUInt8();\n if (op < 32) {\n let index, subr, phase;\n let c1x, c1y, c2x, c2y, c3x, c3y;\n let c4x, c4y, c5x, c5y, c6x, c6y;\n let pts;\n\n switch (op) {\n case 1: // hstem\n case 3: // vstem\n case 18: // hstemhm\n case 23: // vstemhm\n parseStems();\n break;\n\n case 4: // vmoveto\n if (stack.length > 1) {\n checkWidth();\n }\n\n y += stack.shift();\n moveTo(x, y);\n break;\n\n case 5: // rlineto\n while (stack.length >= 2) {\n x += stack.shift();\n y += stack.shift();\n path.lineTo(x, y);\n }\n break;\n\n case 6: // hlineto\n case 7: // vlineto\n phase = op === 6;\n while (stack.length >= 1) {\n if (phase) {\n x += stack.shift();\n } else {\n y += stack.shift();\n }\n\n path.lineTo(x, y);\n phase = !phase;\n }\n break;\n\n case 8: // rrcurveto\n while (stack.length > 0) {\n c1x = x + stack.shift();\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x + stack.shift();\n y = c2y + stack.shift();\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n }\n break;\n\n case 10: // callsubr\n index = stack.pop() + subrsBias;\n subr = subrs[index];\n if (subr) {\n usedSubrs[index] = true;\n let p = stream.pos;\n let e = end;\n stream.pos = subr.offset;\n end = subr.offset + subr.length;\n parse();\n stream.pos = p;\n end = e;\n }\n break;\n\n case 11: // return\n if (cff.version >= 2) {\n break;\n }\n return;\n\n case 14: // endchar\n if (cff.version >= 2) {\n break;\n }\n\n if (stack.length > 0) {\n checkWidth();\n }\n\n if (open) {\n path.closePath();\n open = false;\n }\n break;\n\n case 15: { // vsindex\n if (cff.version < 2) {\n throw new Error('vsindex operator not supported in CFF v1');\n }\n\n vsindex = stack.pop();\n break;\n }\n\n case 16: { // blend\n if (cff.version < 2) {\n throw new Error('blend operator not supported in CFF v1');\n }\n\n if (!variationProcessor) {\n throw new Error('blend operator in non-variation font');\n }\n\n let blendVector = variationProcessor.getBlendVector(vstore, vsindex);\n let numBlends = stack.pop();\n let numOperands = numBlends * blendVector.length;\n let delta = stack.length - numOperands;\n let base = delta - numBlends;\n\n for (let i = 0; i < numBlends; i++) {\n let sum = stack[base + i];\n for (let j = 0; j < blendVector.length; j++) {\n sum += blendVector[j] * stack[delta++];\n }\n\n stack[base + i] = sum;\n }\n\n while (numOperands--) {\n stack.pop();\n }\n\n break;\n }\n\n case 19: // hintmask\n case 20: // cntrmask\n parseStems();\n stream.pos += (nStems + 7) >> 3;\n break;\n\n case 21: // rmoveto\n if (stack.length > 2) {\n checkWidth();\n }\n\n x += stack.shift();\n y += stack.shift();\n moveTo(x, y);\n break;\n\n case 22: // hmoveto\n if (stack.length > 1) {\n checkWidth();\n }\n\n x += stack.shift();\n moveTo(x, y);\n break;\n\n case 24: // rcurveline\n while (stack.length >= 8) {\n c1x = x + stack.shift();\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x + stack.shift();\n y = c2y + stack.shift();\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n }\n\n x += stack.shift();\n y += stack.shift();\n path.lineTo(x, y);\n break;\n\n case 25: // rlinecurve\n while (stack.length >= 8) {\n x += stack.shift();\n y += stack.shift();\n path.lineTo(x, y);\n }\n\n c1x = x + stack.shift();\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x + stack.shift();\n y = c2y + stack.shift();\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n break;\n\n case 26: // vvcurveto\n if (stack.length % 2) {\n x += stack.shift();\n }\n\n while (stack.length >= 4) {\n c1x = x;\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x;\n y = c2y + stack.shift();\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n }\n break;\n\n case 27: // hhcurveto\n if (stack.length % 2) {\n y += stack.shift();\n }\n\n while (stack.length >= 4) {\n c1x = x + stack.shift();\n c1y = y;\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x + stack.shift();\n y = c2y;\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n }\n break;\n\n case 28: // shortint\n stack.push(stream.readInt16BE());\n break;\n\n case 29: // callgsubr\n index = stack.pop() + gsubrsBias;\n subr = gsubrs[index];\n if (subr) {\n usedGsubrs[index] = true;\n let p = stream.pos;\n let e = end;\n stream.pos = subr.offset;\n end = subr.offset + subr.length;\n parse();\n stream.pos = p;\n end = e;\n }\n break;\n\n case 30: // vhcurveto\n case 31: // hvcurveto\n phase = op === 31;\n while (stack.length >= 4) {\n if (phase) {\n c1x = x + stack.shift();\n c1y = y;\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n y = c2y + stack.shift();\n x = c2x + (stack.length === 1 ? stack.shift() : 0);\n } else {\n c1x = x;\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n x = c2x + stack.shift();\n y = c2y + (stack.length === 1 ? stack.shift() : 0);\n }\n\n path.bezierCurveTo(c1x, c1y, c2x, c2y, x, y);\n phase = !phase;\n }\n break;\n\n case 12:\n op = stream.readUInt8();\n switch (op) {\n case 3: // and\n let a = stack.pop();\n let b = stack.pop();\n stack.push(a && b ? 1 : 0);\n break;\n\n case 4: // or\n a = stack.pop();\n b = stack.pop();\n stack.push(a || b ? 1 : 0);\n break;\n\n case 5: // not\n a = stack.pop();\n stack.push(a ? 0 : 1);\n break;\n\n case 9: // abs\n a = stack.pop();\n stack.push(Math.abs(a));\n break;\n\n case 10: // add\n a = stack.pop();\n b = stack.pop();\n stack.push(a + b);\n break;\n\n case 11: // sub\n a = stack.pop();\n b = stack.pop();\n stack.push(a - b);\n break;\n\n case 12: // div\n a = stack.pop();\n b = stack.pop();\n stack.push(a / b);\n break;\n\n case 14: // neg\n a = stack.pop();\n stack.push(-a);\n break;\n\n case 15: // eq\n a = stack.pop();\n b = stack.pop();\n stack.push(a === b ? 1 : 0);\n break;\n\n case 18: // drop\n stack.pop();\n break;\n\n case 20: // put\n let val = stack.pop();\n let idx = stack.pop();\n trans[idx] = val;\n break;\n\n case 21: // get\n idx = stack.pop();\n stack.push(trans[idx] || 0);\n break;\n\n case 22: // ifelse\n let s1 = stack.pop();\n let s2 = stack.pop();\n let v1 = stack.pop();\n let v2 = stack.pop();\n stack.push(v1 <= v2 ? s1 : s2);\n break;\n\n case 23: // random\n stack.push(Math.random());\n break;\n\n case 24: // mul\n a = stack.pop();\n b = stack.pop();\n stack.push(a * b);\n break;\n\n case 26: // sqrt\n a = stack.pop();\n stack.push(Math.sqrt(a));\n break;\n\n case 27: // dup\n a = stack.pop();\n stack.push(a, a);\n break;\n\n case 28: // exch\n a = stack.pop();\n b = stack.pop();\n stack.push(b, a);\n break;\n\n case 29: // index\n idx = stack.pop();\n if (idx < 0) {\n idx = 0;\n } else if (idx > stack.length - 1) {\n idx = stack.length - 1;\n }\n\n stack.push(stack[idx]);\n break;\n\n case 30: // roll\n let n = stack.pop();\n let j = stack.pop();\n\n if (j >= 0) {\n while (j > 0) {\n var t = stack[n - 1];\n for (let i = n - 2; i >= 0; i--) {\n stack[i + 1] = stack[i];\n }\n\n stack[0] = t;\n j--;\n }\n } else {\n while (j < 0) {\n var t = stack[0];\n for (let i = 0; i <= n; i++) {\n stack[i] = stack[i + 1];\n }\n\n stack[n - 1] = t;\n j++;\n }\n }\n break;\n\n case 34: // hflex\n c1x = x + stack.shift();\n c1y = y;\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n c3x = c2x + stack.shift();\n c3y = c2y;\n c4x = c3x + stack.shift();\n c4y = c3y;\n c5x = c4x + stack.shift();\n c5y = c4y;\n c6x = c5x + stack.shift();\n c6y = c5y;\n x = c6x;\n y = c6y;\n\n path.bezierCurveTo(c1x, c1y, c2x, c2y, c3x, c3y);\n path.bezierCurveTo(c4x, c4y, c5x, c5y, c6x, c6y);\n break;\n\n case 35: // flex\n pts = [];\n\n for (let i = 0; i <= 5; i++) {\n x += stack.shift();\n y += stack.shift();\n pts.push(x, y);\n }\n\n path.bezierCurveTo(...pts.slice(0, 6));\n path.bezierCurveTo(...pts.slice(6));\n stack.shift(); // fd\n break;\n\n case 36: // hflex1\n c1x = x + stack.shift();\n c1y = y + stack.shift();\n c2x = c1x + stack.shift();\n c2y = c1y + stack.shift();\n c3x = c2x + stack.shift();\n c3y = c2y;\n c4x = c3x + stack.shift();\n c4y = c3y;\n c5x = c4x + stack.shift();\n c5y = c4y + stack.shift();\n c6x = c5x + stack.shift();\n c6y = c5y;\n x = c6x;\n y = c6y;\n\n path.bezierCurveTo(c1x, c1y, c2x, c2y, c3x, c3y);\n path.bezierCurveTo(c4x, c4y, c5x, c5y, c6x, c6y);\n break;\n\n case 37: // flex1\n let startx = x;\n let starty = y;\n\n pts = [];\n for (let i = 0; i <= 4; i++) {\n x += stack.shift();\n y += stack.shift();\n pts.push(x, y);\n }\n\n if (Math.abs(x - startx) > Math.abs(y - starty)) { // horizontal\n x += stack.shift();\n y = starty;\n } else {\n x = startx;\n y += stack.shift();\n }\n\n pts.push(x, y);\n path.bezierCurveTo(...pts.slice(0, 6));\n path.bezierCurveTo(...pts.slice(6));\n break;\n\n default:\n throw new Error(`Unknown op: 12 ${op}`);\n }\n break;\n\n default:\n throw new Error(`Unknown op: ${op}`);\n }\n\n } else if (op < 247) {\n stack.push(op - 139);\n } else if (op < 251) {\n var b1 = stream.readUInt8();\n stack.push((op - 247) * 256 + b1 + 108);\n } else if (op < 255) {\n var b1 = stream.readUInt8();\n stack.push(-(op - 251) * 256 - b1 - 108);\n } else {\n stack.push(stream.readInt32BE() / 65536);\n }\n }\n };\n\n parse();\n\n if (open) {\n path.closePath();\n }\n\n return path;\n }\n}\n","import TTFGlyph from './TTFGlyph';\nimport * as r from 'restructure';\n\nlet SBIXImage = new r.Struct({\n originX: r.uint16,\n originY: r.uint16,\n type: new r.String(4),\n data: new r.Buffer(t => t.parent.buflen - t._currentOffset)\n});\n\n/**\n * Represents a color (e.g. emoji) glyph in Apple's SBIX format.\n */\nexport default class SBIXGlyph extends TTFGlyph {\n type = 'SBIX';\n\n /**\n * Returns an object representing a glyph image at the given point size.\n * The object has a data property with a Buffer containing the actual image data,\n * along with the image type, and origin.\n *\n * @param {number} size\n * @return {object}\n */\n getImageForSize(size) {\n for (let i = 0; i < this._font.sbix.imageTables.length; i++) {\n var table = this._font.sbix.imageTables[i];\n if (table.ppem >= size) { break; }\n }\n\n let offsets = table.imageOffsets;\n let start = offsets[this.id];\n let end = offsets[this.id + 1];\n\n if (start === end) {\n return null;\n }\n\n this._font.stream.pos = start;\n return SBIXImage.decode(this._font.stream, {buflen: end - start});\n }\n\n render(ctx, size) {\n let img = this.getImageForSize(size);\n if (img != null) {\n let scale = size / this._font.unitsPerEm;\n ctx.image(img.data, {height: size, x: img.originX, y: (this.bbox.minY - img.originY) * scale});\n }\n\n if (this._font.sbix.flags.renderOutlines) {\n super.render(ctx, size);\n }\n }\n}\n","import Glyph from './Glyph';\nimport BBox from './BBox';\n\nclass COLRLayer {\n constructor(glyph, color) {\n this.glyph = glyph;\n this.color = color;\n }\n}\n\n/**\n * Represents a color (e.g. emoji) glyph in Microsoft's COLR format.\n * Each glyph in this format contain a list of colored layers, each\n * of which is another vector glyph.\n */\nexport default class COLRGlyph extends Glyph {\n type = 'COLR';\n\n _getBBox() {\n let bbox = new BBox;\n for (let i = 0; i < this.layers.length; i++) {\n let layer = this.layers[i];\n let b = layer.glyph.bbox;\n bbox.addPoint(b.minX, b.minY);\n bbox.addPoint(b.maxX, b.maxY);\n }\n\n return bbox;\n }\n\n /**\n * Returns an array of objects containing the glyph and color for\n * each layer in the composite color glyph.\n * @type {object[]}\n */\n get layers() {\n let cpal = this._font.CPAL;\n let colr = this._font.COLR;\n let low = 0;\n let high = colr.baseGlyphRecord.length - 1;\n\n while (low <= high) {\n let mid = (low + high) >> 1;\n var rec = colr.baseGlyphRecord[mid];\n\n if (this.id < rec.gid) {\n high = mid - 1;\n } else if (this.id > rec.gid) {\n low = mid + 1;\n } else {\n var baseLayer = rec;\n break;\n }\n }\n\n // if base glyph not found in COLR table,\n // default to normal glyph from glyf or CFF\n if (baseLayer == null) {\n var g = this._font._getBaseGlyph(this.id);\n var color = {\n red: 0,\n green: 0,\n blue: 0,\n alpha: 255\n };\n\n return [new COLRLayer(g, color)];\n }\n\n // otherwise, return an array of all the layers\n let layers = [];\n for (let i = baseLayer.firstLayerIndex; i < baseLayer.firstLayerIndex + baseLayer.numLayers; i++) {\n var rec = colr.layerRecords[i];\n var color = cpal.colorRecords[rec.paletteIndex];\n var g = this._font._getBaseGlyph(rec.gid);\n layers.push(new COLRLayer(g, color));\n }\n\n return layers;\n }\n\n render(ctx, size) {\n for (let {glyph, color} of this.layers) {\n ctx.fillColor([color.red, color.green, color.blue], color.alpha / 255 * 100);\n glyph.render(ctx, size);\n }\n\n return;\n }\n}\n","const TUPLES_SHARE_POINT_NUMBERS = 0x8000;\nconst TUPLE_COUNT_MASK = 0x0fff;\nconst EMBEDDED_TUPLE_COORD = 0x8000;\nconst INTERMEDIATE_TUPLE = 0x4000;\nconst PRIVATE_POINT_NUMBERS = 0x2000;\nconst TUPLE_INDEX_MASK = 0x0fff;\nconst POINTS_ARE_WORDS = 0x80;\nconst POINT_RUN_COUNT_MASK = 0x7f;\nconst DELTAS_ARE_ZERO = 0x80;\nconst DELTAS_ARE_WORDS = 0x40;\nconst DELTA_RUN_COUNT_MASK = 0x3f;\n\n/**\n * This class is transforms TrueType glyphs according to the data from\n * the Apple Advanced Typography variation tables (fvar, gvar, and avar).\n * These tables allow infinite adjustments to glyph weight, width, slant,\n * and optical size without the designer needing to specify every exact style.\n *\n * Apple's documentation for these tables is not great, so thanks to the\n * Freetype project for figuring much of this out.\n *\n * @private\n */\nexport default class GlyphVariationProcessor {\n constructor(font, coords) {\n this.font = font;\n this.normalizedCoords = this.normalizeCoords(coords);\n this.blendVectors = new Map;\n }\n\n normalizeCoords(coords) {\n // the default mapping is linear along each axis, in two segments:\n // from the minValue to defaultValue, and from defaultValue to maxValue.\n let normalized = [];\n for (var i = 0; i < this.font.fvar.axis.length; i++) {\n let axis = this.font.fvar.axis[i];\n if (coords[i] < axis.defaultValue) {\n normalized.push((coords[i] - axis.defaultValue + Number.EPSILON) / (axis.defaultValue - axis.minValue + Number.EPSILON));\n } else {\n normalized.push((coords[i] - axis.defaultValue + Number.EPSILON) / (axis.maxValue - axis.defaultValue + Number.EPSILON));\n }\n }\n\n // if there is an avar table, the normalized value is calculated\n // by interpolating between the two nearest mapped values.\n if (this.font.avar) {\n for (var i = 0; i < this.font.avar.segment.length; i++) {\n let segment = this.font.avar.segment[i];\n for (let j = 0; j < segment.correspondence.length; j++) {\n let pair = segment.correspondence[j];\n if (j >= 1 && normalized[i] < pair.fromCoord) {\n let prev = segment.correspondence[j - 1];\n normalized[i] = ((normalized[i] - prev.fromCoord) * (pair.toCoord - prev.toCoord) + Number.EPSILON) /\n (pair.fromCoord - prev.fromCoord + Number.EPSILON) +\n prev.toCoord;\n\n break;\n }\n }\n }\n }\n\n return normalized;\n }\n\n transformPoints(gid, glyphPoints) {\n if (!this.font.fvar || !this.font.gvar) { return; }\n\n let { gvar } = this.font;\n if (gid >= gvar.glyphCount) { return; }\n\n let offset = gvar.offsets[gid];\n if (offset === gvar.offsets[gid + 1]) { return; }\n\n // Read the gvar data for this glyph\n let { stream } = this.font;\n stream.pos = offset;\n if (stream.pos >= stream.length) {\n return;\n }\n\n let tupleCount = stream.readUInt16BE();\n let offsetToData = offset + stream.readUInt16BE();\n\n if (tupleCount & TUPLES_SHARE_POINT_NUMBERS) {\n var here = stream.pos;\n stream.pos = offsetToData;\n var sharedPoints = this.decodePoints();\n offsetToData = stream.pos;\n stream.pos = here;\n }\n\n let origPoints = glyphPoints.map(pt => pt.copy());\n\n tupleCount &= TUPLE_COUNT_MASK;\n for (let i = 0; i < tupleCount; i++) {\n let tupleDataSize = stream.readUInt16BE();\n let tupleIndex = stream.readUInt16BE();\n\n if (tupleIndex & EMBEDDED_TUPLE_COORD) {\n var tupleCoords = [];\n for (let a = 0; a < gvar.axisCount; a++) {\n tupleCoords.push(stream.readInt16BE() / 16384);\n }\n\n } else {\n if ((tupleIndex & TUPLE_INDEX_MASK) >= gvar.globalCoordCount) {\n throw new Error('Invalid gvar table');\n }\n\n var tupleCoords = gvar.globalCoords[tupleIndex & TUPLE_INDEX_MASK];\n }\n\n if (tupleIndex & INTERMEDIATE_TUPLE) {\n var startCoords = [];\n for (let a = 0; a < gvar.axisCount; a++) {\n startCoords.push(stream.readInt16BE() / 16384);\n }\n\n var endCoords = [];\n for (let a = 0; a < gvar.axisCount; a++) {\n endCoords.push(stream.readInt16BE() / 16384);\n }\n }\n\n // Get the factor at which to apply this tuple\n let factor = this.tupleFactor(tupleIndex, tupleCoords, startCoords, endCoords);\n if (factor === 0) {\n offsetToData += tupleDataSize;\n continue;\n }\n\n var here = stream.pos;\n stream.pos = offsetToData;\n\n if (tupleIndex & PRIVATE_POINT_NUMBERS) {\n var points = this.decodePoints();\n } else {\n var points = sharedPoints;\n }\n\n // points.length = 0 means there are deltas for all points\n let nPoints = points.length === 0 ? glyphPoints.length : points.length;\n let xDeltas = this.decodeDeltas(nPoints);\n let yDeltas = this.decodeDeltas(nPoints);\n\n if (points.length === 0) { // all points\n for (let i = 0; i < glyphPoints.length; i++) {\n var point = glyphPoints[i];\n point.x += Math.round(xDeltas[i] * factor);\n point.y += Math.round(yDeltas[i] * factor);\n }\n } else {\n let outPoints = origPoints.map(pt => pt.copy());\n let hasDelta = glyphPoints.map(() => false);\n\n for (let i = 0; i < points.length; i++) {\n let idx = points[i];\n if (idx < glyphPoints.length) {\n let point = outPoints[idx];\n hasDelta[idx] = true;\n\n point.x += xDeltas[i] * factor;\n point.y += yDeltas[i] * factor;\n }\n }\n\n this.interpolateMissingDeltas(outPoints, origPoints, hasDelta);\n\n for (let i = 0; i < glyphPoints.length; i++) {\n let deltaX = outPoints[i].x - origPoints[i].x;\n let deltaY = outPoints[i].y - origPoints[i].y;\n\n glyphPoints[i].x = Math.round(glyphPoints[i].x + deltaX);\n glyphPoints[i].y = Math.round(glyphPoints[i].y + deltaY);\n }\n }\n\n offsetToData += tupleDataSize;\n stream.pos = here;\n }\n }\n\n decodePoints() {\n let stream = this.font.stream;\n let count = stream.readUInt8();\n\n if (count & POINTS_ARE_WORDS) {\n count = (count & POINT_RUN_COUNT_MASK) << 8 | stream.readUInt8();\n }\n\n let points = new Uint16Array(count);\n let i = 0;\n let point = 0;\n while (i < count) {\n let run = stream.readUInt8();\n let runCount = (run & POINT_RUN_COUNT_MASK) + 1;\n let fn = run & POINTS_ARE_WORDS ? stream.readUInt16 : stream.readUInt8;\n\n for (let j = 0; j < runCount && i < count; j++) {\n point += fn.call(stream);\n points[i++] = point;\n }\n }\n\n return points;\n }\n\n decodeDeltas(count) {\n let stream = this.font.stream;\n let i = 0;\n let deltas = new Int16Array(count);\n\n while (i < count) {\n let run = stream.readUInt8();\n let runCount = (run & DELTA_RUN_COUNT_MASK) + 1;\n\n if (run & DELTAS_ARE_ZERO) {\n i += runCount;\n\n } else {\n let fn = run & DELTAS_ARE_WORDS ? stream.readInt16BE : stream.readInt8;\n for (let j = 0; j < runCount && i < count; j++) {\n deltas[i++] = fn.call(stream);\n }\n }\n }\n\n return deltas;\n }\n\n tupleFactor(tupleIndex, tupleCoords, startCoords, endCoords) {\n let normalized = this.normalizedCoords;\n let { gvar } = this.font;\n let factor = 1;\n\n for (let i = 0; i < gvar.axisCount; i++) {\n if (tupleCoords[i] === 0) {\n continue;\n }\n\n if (normalized[i] === 0) {\n return 0;\n }\n\n if ((tupleIndex & INTERMEDIATE_TUPLE) === 0) {\n if ((normalized[i] < Math.min(0, tupleCoords[i])) ||\n (normalized[i] > Math.max(0, tupleCoords[i]))) {\n return 0;\n }\n\n factor = (factor * normalized[i] + Number.EPSILON) / (tupleCoords[i] + Number.EPSILON);\n } else {\n if ((normalized[i] < startCoords[i]) ||\n (normalized[i] > endCoords[i])) {\n return 0;\n\n } else if (normalized[i] < tupleCoords[i]) {\n factor = factor * (normalized[i] - startCoords[i] + Number.EPSILON) / (tupleCoords[i] - startCoords[i] + Number.EPSILON);\n\n } else {\n factor = factor * (endCoords[i] - normalized[i] + Number.EPSILON) / (endCoords[i] - tupleCoords[i] + Number.EPSILON);\n }\n }\n }\n\n return factor;\n }\n\n // Interpolates points without delta values.\n // Needed for the Ø and Q glyphs in Skia.\n // Algorithm from Freetype.\n interpolateMissingDeltas(points, inPoints, hasDelta) {\n if (points.length === 0) {\n return;\n }\n\n let point = 0;\n while (point < points.length) {\n let firstPoint = point;\n\n // find the end point of the contour\n let endPoint = point;\n let pt = points[endPoint];\n while (!pt.endContour) {\n pt = points[++endPoint];\n }\n\n // find the first point that has a delta\n while (point <= endPoint && !hasDelta[point]) {\n point++;\n }\n\n if (point > endPoint) {\n continue;\n }\n\n let firstDelta = point;\n let curDelta = point;\n point++;\n\n while (point <= endPoint) {\n // find the next point with a delta, and interpolate intermediate points\n if (hasDelta[point]) {\n this.deltaInterpolate(curDelta + 1, point - 1, curDelta, point, inPoints, points);\n curDelta = point;\n }\n\n point++;\n }\n\n // shift contour if we only have a single delta\n if (curDelta === firstDelta) {\n this.deltaShift(firstPoint, endPoint, curDelta, inPoints, points);\n } else {\n // otherwise, handle the remaining points at the end and beginning of the contour\n this.deltaInterpolate(curDelta + 1, endPoint, curDelta, firstDelta, inPoints, points);\n\n if (firstDelta > 0) {\n this.deltaInterpolate(firstPoint, firstDelta - 1, curDelta, firstDelta, inPoints, points);\n }\n }\n\n point = endPoint + 1;\n }\n }\n\n deltaInterpolate(p1, p2, ref1, ref2, inPoints, outPoints) {\n if (p1 > p2) {\n return;\n }\n\n let iterable = ['x', 'y'];\n for (let i = 0; i < iterable.length; i++) {\n let k = iterable[i];\n if (inPoints[ref1][k] > inPoints[ref2][k]) {\n var p = ref1;\n ref1 = ref2;\n ref2 = p;\n }\n\n let in1 = inPoints[ref1][k];\n let in2 = inPoints[ref2][k];\n let out1 = outPoints[ref1][k];\n let out2 = outPoints[ref2][k];\n\n // If the reference points have the same coordinate but different\n // delta, inferred delta is zero. Otherwise interpolate.\n if (in1 !== in2 || out1 === out2) {\n let scale = in1 === in2 ? 0 : (out2 - out1) / (in2 - in1);\n\n for (let p = p1; p <= p2; p++) {\n let out = inPoints[p][k];\n\n if (out <= in1) {\n out += out1 - in1;\n } else if (out >= in2) {\n out += out2 - in2;\n } else {\n out = out1 + (out - in1) * scale;\n }\n\n outPoints[p][k] = out;\n }\n }\n }\n }\n\n deltaShift(p1, p2, ref, inPoints, outPoints) {\n let deltaX = outPoints[ref].x - inPoints[ref].x;\n let deltaY = outPoints[ref].y - inPoints[ref].y;\n\n if (deltaX === 0 && deltaY === 0) {\n return;\n }\n\n for (let p = p1; p <= p2; p++) {\n if (p !== ref) {\n outPoints[p].x += deltaX;\n outPoints[p].y += deltaY;\n }\n }\n }\n\n getAdvanceAdjustment(gid, table) {\n let outerIndex, innerIndex;\n\n if (table.advanceWidthMapping) {\n let idx = gid;\n if (idx >= table.advanceWidthMapping.mapCount) {\n idx = table.advanceWidthMapping.mapCount - 1;\n }\n\n let entryFormat = table.advanceWidthMapping.entryFormat;\n ({outerIndex, innerIndex} = table.advanceWidthMapping.mapData[idx]);\n } else {\n outerIndex = 0;\n innerIndex = gid;\n }\n\n return this.getDelta(table.itemVariationStore, outerIndex, innerIndex);\n }\n\n // See pseudo code from `Font Variations Overview'\n // in the OpenType specification.\n getDelta(itemStore, outerIndex, innerIndex) {\n if (outerIndex >= itemStore.itemVariationData.length) {\n return 0;\n }\n\n let varData = itemStore.itemVariationData[outerIndex];\n if (innerIndex >= varData.deltaSets.length) {\n return 0;\n }\n\n let deltaSet = varData.deltaSets[innerIndex];\n let blendVector = this.getBlendVector(itemStore, outerIndex);\n let netAdjustment = 0;\n\n for (let master = 0; master < varData.regionIndexCount; master++) {\n netAdjustment += deltaSet.deltas[master] * blendVector[master];\n }\n\n return netAdjustment;\n }\n\n getBlendVector(itemStore, outerIndex) {\n let varData = itemStore.itemVariationData[outerIndex];\n if (this.blendVectors.has(varData)) {\n return this.blendVectors.get(varData);\n }\n\n let normalizedCoords = this.normalizedCoords;\n let blendVector = [];\n\n // outer loop steps through master designs to be blended\n for (let master = 0; master < varData.regionIndexCount; master++) {\n let scalar = 1;\n let regionIndex = varData.regionIndexes[master];\n let axes = itemStore.variationRegionList.variationRegions[regionIndex];\n\n // inner loop steps through axes in this region\n for (let j = 0; j < axes.length; j++) {\n let axis = axes[j];\n let axisScalar;\n\n // compute the scalar contribution of this axis\n // ignore invalid ranges\n if (axis.startCoord > axis.peakCoord || axis.peakCoord > axis.endCoord) {\n axisScalar = 1;\n\n } else if (axis.startCoord < 0 && axis.endCoord > 0 && axis.peakCoord !== 0) {\n axisScalar = 1;\n\n // peak of 0 means ignore this axis\n } else if (axis.peakCoord === 0) {\n axisScalar = 1;\n\n // ignore this region if coords are out of range\n } else if (normalizedCoords[j] < axis.startCoord || normalizedCoords[j] > axis.endCoord) {\n axisScalar = 0;\n\n // calculate a proportional factor\n } else {\n if (normalizedCoords[j] === axis.peakCoord) {\n axisScalar = 1;\n } else if (normalizedCoords[j] < axis.peakCoord) {\n axisScalar = (normalizedCoords[j] - axis.startCoord + Number.EPSILON) /\n (axis.peakCoord - axis.startCoord + Number.EPSILON);\n } else {\n axisScalar = (axis.endCoord - normalizedCoords[j] + Number.EPSILON) /\n (axis.endCoord - axis.peakCoord + Number.EPSILON);\n }\n }\n\n // take product of all the axis scalars\n scalar *= axisScalar;\n }\n\n blendVector[master] = scalar;\n }\n\n this.blendVectors.set(varData, blendVector);\n return blendVector;\n }\n}\n","import * as r from 'restructure';\n\nconst resolved = Promise.resolve();\n\nexport default class Subset {\n constructor(font) {\n this.font = font;\n this.glyphs = [];\n this.mapping = {};\n\n // always include the missing glyph\n this.includeGlyph(0);\n }\n\n includeGlyph(glyph) {\n if (typeof glyph === 'object') {\n glyph = glyph.id;\n }\n\n if (this.mapping[glyph] == null) {\n this.glyphs.push(glyph);\n this.mapping[glyph] = this.glyphs.length - 1;\n }\n\n return this.mapping[glyph];\n }\n}\n","import * as r from 'restructure';\n\n// Flags for simple glyphs\nconst ON_CURVE = 1 << 0;\nconst X_SHORT_VECTOR = 1 << 1;\nconst Y_SHORT_VECTOR = 1 << 2;\nconst REPEAT = 1 << 3;\nconst SAME_X = 1 << 4;\nconst SAME_Y = 1 << 5;\n\nclass Point {\n static size(val) {\n return val >= 0 && val <= 255 ? 1 : 2;\n }\n \n static encode(stream, value) {\n if (value >= 0 && value <= 255) {\n stream.writeUInt8(value);\n } else {\n stream.writeInt16BE(value);\n }\n }\n}\n\nlet Glyf = new r.Struct({\n numberOfContours: r.int16, // if negative, this is a composite glyph\n xMin: r.int16,\n yMin: r.int16,\n xMax: r.int16,\n yMax: r.int16,\n endPtsOfContours: new r.Array(r.uint16, 'numberOfContours'),\n instructions: new r.Array(r.uint8, r.uint16),\n flags: new r.Array(r.uint8, 0),\n xPoints: new r.Array(Point, 0),\n yPoints: new r.Array(Point, 0)\n});\n\n/**\n * Encodes TrueType glyph outlines\n */\nexport default class TTFGlyphEncoder {\n encodeSimple(path, instructions = []) {\n let endPtsOfContours = [];\n let xPoints = [];\n let yPoints = [];\n let flags = [];\n let same = 0;\n let lastX = 0, lastY = 0, lastFlag = 0;\n let pointCount = 0;\n \n for (let i = 0; i < path.commands.length; i++) {\n let c = path.commands[i];\n \n for (let j = 0; j < c.args.length; j += 2) {\n let x = c.args[j];\n let y = c.args[j + 1];\n let flag = 0;\n \n // If the ending point of a quadratic curve is the midpoint\n // between the control point and the control point of the next\n // quadratic curve, we can omit the ending point.\n if (c.command === 'quadraticCurveTo' && j === 2) {\n let next = path.commands[i + 1];\n if (next && next.command === 'quadraticCurveTo') {\n let midX = (lastX + next.args[0]) / 2;\n let midY = (lastY + next.args[1]) / 2;\n \n if (x === midX && y === midY) {\n continue;\n }\n }\n }\n \n // All points except control points are on curve.\n if (!(c.command === 'quadraticCurveTo' && j === 0)) {\n flag |= ON_CURVE;\n }\n \n flag = this._encodePoint(x, lastX, xPoints, flag, X_SHORT_VECTOR, SAME_X);\n flag = this._encodePoint(y, lastY, yPoints, flag, Y_SHORT_VECTOR, SAME_Y);\n \n if (flag === lastFlag && same < 255) {\n flags[flags.length - 1] |= REPEAT;\n same++;\n } else {\n if (same > 0) {\n flags.push(same);\n same = 0;\n }\n \n flags.push(flag);\n lastFlag = flag;\n }\n \n lastX = x;\n lastY = y;\n pointCount++;\n }\n \n if (c.command === 'closePath') {\n endPtsOfContours.push(pointCount - 1);\n }\n }\n\n // Close the path if the last command didn't already\n if (path.commands.length > 1 && path.commands[path.commands.length - 1].command !== 'closePath') {\n endPtsOfContours.push(pointCount - 1);\n }\n \n let bbox = path.bbox;\n let glyf = {\n numberOfContours: endPtsOfContours.length,\n xMin: bbox.minX,\n yMin: bbox.minY,\n xMax: bbox.maxX,\n yMax: bbox.maxY,\n endPtsOfContours: endPtsOfContours,\n instructions: instructions,\n flags: flags,\n xPoints: xPoints,\n yPoints: yPoints\n };\n \n let size = Glyf.size(glyf);\n let tail = 4 - (size % 4);\n \n let stream = new r.EncodeStream(size + tail);\n Glyf.encode(stream, glyf);\n \n // Align to 4-byte length\n if (tail !== 0) {\n stream.fill(0, tail);\n }\n \n return stream.buffer;\n }\n \n _encodePoint(value, last, points, flag, shortFlag, sameFlag) {\n let diff = value - last;\n \n if (value === last) {\n flag |= sameFlag;\n } else {\n if (-255 <= diff && diff <= 255) {\n flag |= shortFlag;\n if (diff < 0) {\n diff = -diff;\n } else {\n flag |= sameFlag;\n }\n }\n \n points.push(diff);\n }\n \n return flag;\n }\n}\n","import cloneDeep from 'clone';\nimport Subset from './Subset';\nimport Directory from '../tables/directory';\nimport Tables from '../tables';\nimport TTFGlyphEncoder from '../glyph/TTFGlyphEncoder';\n\nexport default class TTFSubset extends Subset {\n constructor(font) {\n super(font);\n this.glyphEncoder = new TTFGlyphEncoder;\n }\n\n _addGlyph(gid) {\n let glyph = this.font.getGlyph(gid);\n let glyf = glyph._decode();\n\n // get the offset to the glyph from the loca table\n let curOffset = this.font.loca.offsets[gid];\n let nextOffset = this.font.loca.offsets[gid + 1];\n\n let stream = this.font._getTableStream('glyf');\n stream.pos += curOffset;\n\n let buffer = stream.readBuffer(nextOffset - curOffset);\n\n // if it is a compound glyph, include its components\n if (glyf && glyf.numberOfContours < 0) {\n buffer = new Uint8Array(buffer);\n let view = new DataView(buffer.buffer);\n for (let component of glyf.components) {\n gid = this.includeGlyph(component.glyphID);\n view.setUint16(component.pos, gid);\n }\n } else if (glyf && this.font._variationProcessor) {\n // If this is a TrueType variation glyph, re-encode the path\n buffer = this.glyphEncoder.encodeSimple(glyph.path, glyf.instructions);\n }\n\n this.glyf.push(buffer);\n this.loca.offsets.push(this.offset);\n\n this.hmtx.metrics.push({\n advance: glyph.advanceWidth,\n bearing: glyph._getMetrics().leftBearing\n });\n\n this.offset += buffer.length;\n return this.glyf.length - 1;\n }\n\n encode() {\n // tables required by PDF spec:\n // head, hhea, loca, maxp, cvt , prep, glyf, hmtx, fpgm\n //\n // additional tables required for standalone fonts:\n // name, cmap, OS/2, post\n\n this.glyf = [];\n this.offset = 0;\n this.loca = {\n offsets: [],\n version: this.font.loca.version\n };\n\n this.hmtx = {\n metrics: [],\n bearings: []\n };\n\n // include all the glyphs\n // not using a for loop because we need to support adding more\n // glyphs to the array as we go, and CoffeeScript caches the length.\n let i = 0;\n while (i < this.glyphs.length) {\n this._addGlyph(this.glyphs[i++]);\n }\n\n let maxp = cloneDeep(this.font.maxp);\n maxp.numGlyphs = this.glyf.length;\n\n this.loca.offsets.push(this.offset);\n\n let head = cloneDeep(this.font.head);\n head.indexToLocFormat = this.loca.version;\n\n let hhea = cloneDeep(this.font.hhea);\n hhea.numberOfMetrics = this.hmtx.metrics.length;\n\n // map = []\n // for index in [0...256]\n // if index < @numGlyphs\n // map[index] = index\n // else\n // map[index] = 0\n //\n // cmapTable =\n // version: 0\n // length: 262\n // language: 0\n // codeMap: map\n //\n // cmap =\n // version: 0\n // numSubtables: 1\n // tables: [\n // platformID: 1\n // encodingID: 0\n // table: cmapTable\n // ]\n\n // TODO: subset prep, cvt, fpgm?\n return Directory.toBuffer({\n tables: {\n head,\n hhea,\n loca: this.loca,\n maxp,\n 'cvt ': this.font['cvt '],\n prep: this.font.prep,\n glyf: this.glyf,\n hmtx: this.hmtx,\n fpgm: this.font.fpgm\n\n // name: clone @font.name\n // 'OS/2': clone @font['OS/2']\n // post: clone @font.post\n // cmap: cmap\n }\n });\n }\n}\n","import Subset from './Subset';\nimport CFFTop from '../cff/CFFTop';\nimport CFFPrivateDict from '../cff/CFFPrivateDict';\nimport standardStrings from '../cff/CFFStandardStrings';\n\nexport default class CFFSubset extends Subset {\n constructor(font) {\n super(font);\n\n this.cff = this.font['CFF '];\n if (!this.cff) {\n throw new Error('Not a CFF Font');\n }\n }\n\n subsetCharstrings() {\n this.charstrings = [];\n let gsubrs = {};\n\n for (let gid of this.glyphs) {\n this.charstrings.push(this.cff.getCharString(gid));\n\n let glyph = this.font.getGlyph(gid);\n let path = glyph.path; // this causes the glyph to be parsed\n\n for (let subr in glyph._usedGsubrs) {\n gsubrs[subr] = true;\n }\n }\n\n this.gsubrs = this.subsetSubrs(this.cff.globalSubrIndex, gsubrs);\n }\n\n subsetSubrs(subrs, used) {\n let res = [];\n for (let i = 0; i < subrs.length; i++) {\n let subr = subrs[i];\n if (used[i]) {\n this.cff.stream.pos = subr.offset;\n res.push(this.cff.stream.readBuffer(subr.length));\n } else {\n res.push(new Uint8Array([11])); // return\n }\n }\n\n return res;\n }\n\n subsetFontdict(topDict) {\n topDict.FDArray = [];\n topDict.FDSelect = {\n version: 0,\n fds: []\n };\n\n let used_fds = {};\n let used_subrs = [];\n let fd_select = {};\n for (let gid of this.glyphs) {\n let fd = this.cff.fdForGlyph(gid);\n if (fd == null) {\n continue;\n }\n\n if (!used_fds[fd]) {\n topDict.FDArray.push(Object.assign({}, this.cff.topDict.FDArray[fd]));\n used_subrs.push({});\n fd_select[fd] = topDict.FDArray.length - 1;\n }\n\n used_fds[fd] = true;\n topDict.FDSelect.fds.push(fd_select[fd]);\n\n let glyph = this.font.getGlyph(gid);\n let path = glyph.path; // this causes the glyph to be parsed\n for (let subr in glyph._usedSubrs) {\n used_subrs[fd_select[fd]][subr] = true;\n }\n }\n\n for (let i = 0; i < topDict.FDArray.length; i++) {\n let dict = topDict.FDArray[i];\n delete dict.FontName;\n if (dict.Private && dict.Private.Subrs) {\n dict.Private = Object.assign({}, dict.Private);\n dict.Private.Subrs = this.subsetSubrs(dict.Private.Subrs, used_subrs[i]);\n }\n }\n\n return;\n }\n\n createCIDFontdict(topDict) {\n let used_subrs = {};\n for (let gid of this.glyphs) {\n let glyph = this.font.getGlyph(gid);\n let path = glyph.path; // this causes the glyph to be parsed\n\n for (let subr in glyph._usedSubrs) {\n used_subrs[subr] = true;\n }\n }\n\n let privateDict = Object.assign({}, this.cff.topDict.Private);\n if (this.cff.topDict.Private && this.cff.topDict.Private.Subrs) {\n privateDict.Subrs = this.subsetSubrs(this.cff.topDict.Private.Subrs, used_subrs);\n }\n\n topDict.FDArray = [{ Private: privateDict }];\n return topDict.FDSelect = {\n version: 3,\n nRanges: 1,\n ranges: [{ first: 0, fd: 0 }],\n sentinel: this.charstrings.length\n };\n }\n\n addString(string) {\n if (!string) {\n return null;\n }\n\n if (!this.strings) {\n this.strings = [];\n }\n\n this.strings.push(string);\n return standardStrings.length + this.strings.length - 1;\n }\n\n encode() {\n this.subsetCharstrings();\n\n let charset = {\n version: this.charstrings.length > 255 ? 2 : 1,\n ranges: [{ first: 1, nLeft: this.charstrings.length - 2 }]\n };\n\n let topDict = Object.assign({}, this.cff.topDict);\n topDict.Private = null;\n topDict.charset = charset;\n topDict.Encoding = null;\n topDict.CharStrings = this.charstrings;\n\n for (let key of ['version', 'Notice', 'Copyright', 'FullName', 'FamilyName', 'Weight', 'PostScript', 'BaseFontName', 'FontName']) {\n topDict[key] = this.addString(this.cff.string(topDict[key]));\n }\n\n topDict.ROS = [this.addString('Adobe'), this.addString('Identity'), 0];\n topDict.CIDCount = this.charstrings.length;\n\n if (this.cff.isCIDFont) {\n this.subsetFontdict(topDict);\n } else {\n this.createCIDFontdict(topDict);\n }\n\n let top = {\n version: 1,\n hdrSize: this.cff.hdrSize,\n offSize: 4,\n header: this.cff.header,\n nameIndex: [this.cff.postscriptName],\n topDictIndex: [topDict],\n stringIndex: this.strings,\n globalSubrIndex: this.gsubrs\n };\n\n return CFFTop.toBuffer(top);\n }\n}\n","import * as r from 'restructure';\nimport { cache } from './decorators';\nimport * as fontkit from './base';\nimport Directory from './tables/directory';\nimport tables from './tables';\nimport CmapProcessor from './CmapProcessor';\nimport LayoutEngine from './layout/LayoutEngine';\nimport TTFGlyph from './glyph/TTFGlyph';\nimport CFFGlyph from './glyph/CFFGlyph';\nimport SBIXGlyph from './glyph/SBIXGlyph';\nimport COLRGlyph from './glyph/COLRGlyph';\nimport GlyphVariationProcessor from './glyph/GlyphVariationProcessor';\nimport TTFSubset from './subset/TTFSubset';\nimport CFFSubset from './subset/CFFSubset';\nimport BBox from './glyph/BBox';\nimport { asciiDecoder } from './utils';\n\n/**\n * This is the base class for all SFNT-based font formats in fontkit.\n * It supports TrueType, and PostScript glyphs, and several color glyph formats.\n */\nexport default class TTFFont {\n type = 'TTF';\n\n static probe(buffer) {\n let format = asciiDecoder.decode(buffer.slice(0, 4));\n return format === 'true' || format === 'OTTO' || format === String.fromCharCode(0, 1, 0, 0);\n }\n\n constructor(stream, variationCoords = null) {\n this.defaultLanguage = null;\n this.stream = stream;\n this.variationCoords = variationCoords;\n\n this._directoryPos = this.stream.pos;\n this._tables = {};\n this._glyphs = {};\n this._decodeDirectory();\n\n // define properties for each table to lazily parse\n for (let tag in this.directory.tables) {\n let table = this.directory.tables[tag];\n if (tables[tag] && table.length > 0) {\n Object.defineProperty(this, tag, {\n get: this._getTable.bind(this, table)\n });\n }\n }\n }\n\n setDefaultLanguage(lang = null) {\n this.defaultLanguage = lang;\n }\n\n _getTable(table) {\n if (!(table.tag in this._tables)) {\n try {\n this._tables[table.tag] = this._decodeTable(table);\n } catch (e) {\n if (fontkit.logErrors) {\n console.error(`Error decoding table ${table.tag}`);\n console.error(e.stack);\n }\n }\n }\n\n return this._tables[table.tag];\n }\n\n _getTableStream(tag) {\n let table = this.directory.tables[tag];\n if (table) {\n this.stream.pos = table.offset;\n return this.stream;\n }\n\n return null;\n }\n\n _decodeDirectory() {\n return this.directory = Directory.decode(this.stream, {_startOffset: 0});\n }\n\n _decodeTable(table) {\n let pos = this.stream.pos;\n\n let stream = this._getTableStream(table.tag);\n let result = tables[table.tag].decode(stream, this, table.length);\n\n this.stream.pos = pos;\n return result;\n }\n\n /**\n * Gets a string from the font's `name` table\n * `lang` is a BCP-47 language code.\n * @return {string}\n */\n getName(key, lang = this.defaultLanguage || fontkit.defaultLanguage) {\n let record = this.name && this.name.records[key];\n if (record) {\n // Attempt to retrieve the entry, depending on which translation is available:\n return (\n record[lang]\n || record[this.defaultLanguage]\n || record[fontkit.defaultLanguage]\n || record['en']\n || record[Object.keys(record)[0]] // Seriously, ANY language would be fine\n || null\n );\n }\n\n return null;\n }\n\n /**\n * The unique PostScript name for this font, e.g. \"Helvetica-Bold\"\n * @type {string}\n */\n get postscriptName() {\n return this.getName('postscriptName');\n }\n\n /**\n * The font's full name, e.g. \"Helvetica Bold\"\n * @type {string}\n */\n get fullName() {\n return this.getName('fullName');\n }\n\n /**\n * The font's family name, e.g. \"Helvetica\"\n * @type {string}\n */\n get familyName() {\n return this.getName('fontFamily');\n }\n\n /**\n * The font's sub-family, e.g. \"Bold\".\n * @type {string}\n */\n get subfamilyName() {\n return this.getName('fontSubfamily');\n }\n\n /**\n * The font's copyright information\n * @type {string}\n */\n get copyright() {\n return this.getName('copyright');\n }\n\n /**\n * The font's version number\n * @type {string}\n */\n get version() {\n return this.getName('version');\n }\n\n /**\n * The font’s [ascender](https://en.wikipedia.org/wiki/Ascender_(typography))\n * @type {number}\n */\n get ascent() {\n return this.hhea.ascent;\n }\n\n /**\n * The font’s [descender](https://en.wikipedia.org/wiki/Descender)\n * @type {number}\n */\n get descent() {\n return this.hhea.descent;\n }\n\n /**\n * The amount of space that should be included between lines\n * @type {number}\n */\n get lineGap() {\n return this.hhea.lineGap;\n }\n\n /**\n * The offset from the normal underline position that should be used\n * @type {number}\n */\n get underlinePosition() {\n return this.post.underlinePosition;\n }\n\n /**\n * The weight of the underline that should be used\n * @type {number}\n */\n get underlineThickness() {\n return this.post.underlineThickness;\n }\n\n /**\n * If this is an italic font, the angle the cursor should be drawn at to match the font design\n * @type {number}\n */\n get italicAngle() {\n return this.post.italicAngle;\n }\n\n /**\n * The height of capital letters above the baseline.\n * See [here](https://en.wikipedia.org/wiki/Cap_height) for more details.\n * @type {number}\n */\n get capHeight() {\n let os2 = this['OS/2'];\n return os2 ? os2.capHeight : this.ascent;\n }\n\n /**\n * The height of lower case letters in the font.\n * See [here](https://en.wikipedia.org/wiki/X-height) for more details.\n * @type {number}\n */\n get xHeight() {\n let os2 = this['OS/2'];\n return os2 ? os2.xHeight : 0;\n }\n\n /**\n * The number of glyphs in the font.\n * @type {number}\n */\n get numGlyphs() {\n return this.maxp.numGlyphs;\n }\n\n /**\n * The size of the font’s internal coordinate grid\n * @type {number}\n */\n get unitsPerEm() {\n return this.head.unitsPerEm;\n }\n\n /**\n * The font’s bounding box, i.e. the box that encloses all glyphs in the font.\n * @type {BBox}\n */\n @cache\n get bbox() {\n return Object.freeze(new BBox(this.head.xMin, this.head.yMin, this.head.xMax, this.head.yMax));\n }\n\n @cache\n get _cmapProcessor() {\n return new CmapProcessor(this.cmap);\n }\n\n /**\n * An array of all of the unicode code points supported by the font.\n * @type {number[]}\n */\n @cache\n get characterSet() {\n return this._cmapProcessor.getCharacterSet();\n }\n\n /**\n * Returns whether there is glyph in the font for the given unicode code point.\n *\n * @param {number} codePoint\n * @return {boolean}\n */\n hasGlyphForCodePoint(codePoint) {\n return !!this._cmapProcessor.lookup(codePoint);\n }\n\n /**\n * Maps a single unicode code point to a Glyph object.\n * Does not perform any advanced substitutions (there is no context to do so).\n *\n * @param {number} codePoint\n * @return {Glyph}\n */\n glyphForCodePoint(codePoint) {\n return this.getGlyph(this._cmapProcessor.lookup(codePoint), [codePoint]);\n }\n\n /**\n * Returns an array of Glyph objects for the given string.\n * This is only a one-to-one mapping from characters to glyphs.\n * For most uses, you should use font.layout (described below), which\n * provides a much more advanced mapping supporting AAT and OpenType shaping.\n *\n * @param {string} string\n * @return {Glyph[]}\n */\n glyphsForString(string) {\n let glyphs = [];\n let len = string.length;\n let idx = 0;\n let last = -1;\n let state = -1;\n\n while (idx <= len) {\n let code = 0;\n let nextState = 0;\n\n if (idx < len) {\n // Decode the next codepoint from UTF 16\n code = string.charCodeAt(idx++);\n if (0xd800 <= code && code <= 0xdbff && idx < len) {\n let next = string.charCodeAt(idx);\n if (0xdc00 <= next && next <= 0xdfff) {\n idx++;\n code = ((code & 0x3ff) << 10) + (next & 0x3ff) + 0x10000;\n }\n }\n\n // Compute the next state: 1 if the next codepoint is a variation selector, 0 otherwise.\n nextState = ((0xfe00 <= code && code <= 0xfe0f) || (0xe0100 <= code && code <= 0xe01ef)) ? 1 : 0;\n } else {\n idx++;\n }\n\n if (state === 0 && nextState === 1) {\n // Variation selector following normal codepoint.\n glyphs.push(this.getGlyph(this._cmapProcessor.lookup(last, code), [last, code]));\n } else if (state === 0 && nextState === 0) {\n // Normal codepoint following normal codepoint.\n glyphs.push(this.glyphForCodePoint(last));\n }\n\n last = code;\n state = nextState;\n }\n\n return glyphs;\n }\n\n @cache\n get _layoutEngine() {\n return new LayoutEngine(this);\n }\n\n /**\n * Returns a GlyphRun object, which includes an array of Glyphs and GlyphPositions for the given string.\n *\n * @param {string} string\n * @param {string[]} [userFeatures]\n * @param {string} [script]\n * @param {string} [language]\n * @param {string} [direction]\n * @return {GlyphRun}\n */\n layout(string, userFeatures, script, language, direction) {\n return this._layoutEngine.layout(string, userFeatures, script, language, direction);\n }\n\n /**\n * Returns an array of strings that map to the given glyph id.\n * @param {number} gid - glyph id\n */\n stringsForGlyph(gid) {\n return this._layoutEngine.stringsForGlyph(gid);\n }\n\n /**\n * An array of all [OpenType feature tags](https://www.microsoft.com/typography/otspec/featuretags.htm)\n * (or mapped AAT tags) supported by the font.\n * The features parameter is an array of OpenType feature tags to be applied in addition to the default set.\n * If this is an AAT font, the OpenType feature tags are mapped to AAT features.\n *\n * @type {string[]}\n */\n get availableFeatures() {\n return this._layoutEngine.getAvailableFeatures();\n }\n\n getAvailableFeatures(script, language) {\n return this._layoutEngine.getAvailableFeatures(script, language);\n }\n\n _getBaseGlyph(glyph, characters = []) {\n if (!this._glyphs[glyph]) {\n if (this.directory.tables.glyf) {\n this._glyphs[glyph] = new TTFGlyph(glyph, characters, this);\n\n } else if (this.directory.tables['CFF '] || this.directory.tables.CFF2) {\n this._glyphs[glyph] = new CFFGlyph(glyph, characters, this);\n }\n }\n\n return this._glyphs[glyph] || null;\n }\n\n /**\n * Returns a glyph object for the given glyph id.\n * You can pass the array of code points this glyph represents for\n * your use later, and it will be stored in the glyph object.\n *\n * @param {number} glyph\n * @param {number[]} characters\n * @return {Glyph}\n */\n getGlyph(glyph, characters = []) {\n if (!this._glyphs[glyph]) {\n if (this.directory.tables.sbix) {\n this._glyphs[glyph] = new SBIXGlyph(glyph, characters, this);\n\n } else if ((this.directory.tables.COLR) && (this.directory.tables.CPAL)) {\n this._glyphs[glyph] = new COLRGlyph(glyph, characters, this);\n\n } else {\n this._getBaseGlyph(glyph, characters);\n }\n }\n\n return this._glyphs[glyph] || null;\n }\n\n /**\n * Returns a Subset for this font.\n * @return {Subset}\n */\n createSubset() {\n if (this.directory.tables['CFF ']) {\n return new CFFSubset(this);\n }\n\n return new TTFSubset(this);\n }\n\n /**\n * Returns an object describing the available variation axes\n * that this font supports. Keys are setting tags, and values\n * contain the axis name, range, and default value.\n *\n * @type {object}\n */\n @cache\n get variationAxes() {\n let res = {};\n if (!this.fvar) {\n return res;\n }\n\n for (let axis of this.fvar.axis) {\n res[axis.axisTag.trim()] = {\n name: axis.name.en,\n min: axis.minValue,\n default: axis.defaultValue,\n max: axis.maxValue\n };\n }\n\n return res;\n }\n\n /**\n * Returns an object describing the named variation instances\n * that the font designer has specified. Keys are variation names\n * and values are the variation settings for this instance.\n *\n * @type {object}\n */\n @cache\n get namedVariations() {\n let res = {};\n if (!this.fvar) {\n return res;\n }\n\n for (let instance of this.fvar.instance) {\n let settings = {};\n for (let i = 0; i < this.fvar.axis.length; i++) {\n let axis = this.fvar.axis[i];\n settings[axis.axisTag.trim()] = instance.coord[i];\n }\n\n res[instance.name.en] = settings;\n }\n\n return res;\n }\n\n /**\n * Returns a new font with the given variation settings applied.\n * Settings can either be an instance name, or an object containing\n * variation tags as specified by the `variationAxes` property.\n *\n * @param {object} settings\n * @return {TTFFont}\n */\n getVariation(settings) {\n if (!(this.directory.tables.fvar && ((this.directory.tables.gvar && this.directory.tables.glyf) || this.directory.tables.CFF2))) {\n throw new Error('Variations require a font with the fvar, gvar and glyf, or CFF2 tables.');\n }\n\n if (typeof settings === 'string') {\n settings = this.namedVariations[settings];\n }\n\n if (typeof settings !== 'object') {\n throw new Error('Variation settings must be either a variation name or settings object.');\n }\n\n // normalize the coordinates\n let coords = this.fvar.axis.map((axis, i) => {\n let axisTag = axis.axisTag.trim();\n if (axisTag in settings) {\n return Math.max(axis.minValue, Math.min(axis.maxValue, settings[axisTag]));\n } else {\n return axis.defaultValue;\n }\n });\n\n let stream = new r.DecodeStream(this.stream.buffer);\n stream.pos = this._directoryPos;\n\n let font = new TTFFont(stream, coords);\n font._tables = this._tables;\n\n return font;\n }\n\n @cache\n get _variationProcessor() {\n if (!this.fvar) {\n return null;\n }\n\n let variationCoords = this.variationCoords;\n\n // Ignore if no variation coords and not CFF2\n if (!variationCoords && !this.CFF2) {\n return null;\n }\n\n if (!variationCoords) {\n variationCoords = this.fvar.axis.map(axis => axis.defaultValue);\n }\n\n return new GlyphVariationProcessor(this, variationCoords);\n }\n\n // Standardized format plugin API\n getFont(name) {\n return this.getVariation(name);\n }\n}\n","import * as r from 'restructure';\nimport tables from './';\n\nlet WOFFDirectoryEntry = new r.Struct({\n tag: new r.String(4),\n offset: new r.Pointer(r.uint32, 'void', {type: 'global'}),\n compLength: r.uint32,\n length: r.uint32,\n origChecksum: r.uint32\n});\n\nlet WOFFDirectory = new r.Struct({\n tag: new r.String(4), // should be 'wOFF'\n flavor: r.uint32,\n length: r.uint32,\n numTables: r.uint16,\n reserved: new r.Reserved(r.uint16),\n totalSfntSize: r.uint32,\n majorVersion: r.uint16,\n minorVersion: r.uint16,\n metaOffset: r.uint32,\n metaLength: r.uint32,\n metaOrigLength: r.uint32,\n privOffset: r.uint32,\n privLength: r.uint32,\n tables: new r.Array(WOFFDirectoryEntry, 'numTables')\n});\n\nWOFFDirectory.process = function() {\n let tables = {};\n for (let table of this.tables) {\n tables[table.tag] = table;\n }\n\n this.tables = tables;\n};\n\nexport default WOFFDirectory;\n","import TTFGlyph from './TTFGlyph';\n\n/**\n * Represents a TrueType glyph in the WOFF2 format, which compresses glyphs differently.\n */\nexport default class WOFF2Glyph extends TTFGlyph {\n type = 'WOFF2';\n\n _decode() {\n // We have to decode in advance (in WOFF2Font), so just return the pre-decoded data.\n return this._font._transformedGlyphs[this.id];\n }\n\n _getCBox() {\n return this.path.bbox;\n }\n}\n","import * as r from 'restructure';\n\nconst Base128 = {\n decode(stream) {\n let result = 0;\n let iterable = [0, 1, 2, 3, 4];\n for (let j = 0; j < iterable.length; j++) {\n let i = iterable[j];\n let code = stream.readUInt8();\n\n // If any of the top seven bits are set then we're about to overflow.\n if (result & 0xe0000000) {\n throw new Error('Overflow');\n }\n\n result = (result << 7) | (code & 0x7f);\n if ((code & 0x80) === 0) {\n return result;\n }\n }\n\n throw new Error('Bad base 128 number');\n }\n};\n\nlet knownTags = [\n 'cmap', 'head', 'hhea', 'hmtx', 'maxp', 'name', 'OS/2', 'post', 'cvt ',\n 'fpgm', 'glyf', 'loca', 'prep', 'CFF ', 'VORG', 'EBDT', 'EBLC', 'gasp',\n 'hdmx', 'kern', 'LTSH', 'PCLT', 'VDMX', 'vhea', 'vmtx', 'BASE', 'GDEF',\n 'GPOS', 'GSUB', 'EBSC', 'JSTF', 'MATH', 'CBDT', 'CBLC', 'COLR', 'CPAL',\n 'SVG ', 'sbix', 'acnt', 'avar', 'bdat', 'bloc', 'bsln', 'cvar', 'fdsc',\n 'feat', 'fmtx', 'fvar', 'gvar', 'hsty', 'just', 'lcar', 'mort', 'morx',\n 'opbd', 'prop', 'trak', 'Zapf', 'Silf', 'Glat', 'Gloc', 'Feat', 'Sill'\n];\n\nlet WOFF2DirectoryEntry = new r.Struct({\n flags: r.uint8,\n customTag: new r.Optional(new r.String(4), t => (t.flags & 0x3f) === 0x3f),\n tag: t => t.customTag || knownTags[t.flags & 0x3f],// || (() => { throw new Error(`Bad tag: ${flags & 0x3f}`); })(); },\n length: Base128,\n transformVersion: t => (t.flags >>> 6) & 0x03,\n transformed: t => (t.tag === 'glyf' || t.tag === 'loca') ? t.transformVersion === 0 : t.transformVersion !== 0,\n transformLength: new r.Optional(Base128, t => t.transformed)\n});\n\nlet WOFF2Directory = new r.Struct({\n tag: new r.String(4), // should be 'wOF2'\n flavor: r.uint32,\n length: r.uint32,\n numTables: r.uint16,\n reserved: new r.Reserved(r.uint16),\n totalSfntSize: r.uint32,\n totalCompressedSize: r.uint32,\n majorVersion: r.uint16,\n minorVersion: r.uint16,\n metaOffset: r.uint32,\n metaLength: r.uint32,\n metaOrigLength: r.uint32,\n privOffset: r.uint32,\n privLength: r.uint32,\n tables: new r.Array(WOFF2DirectoryEntry, 'numTables')\n});\n\nWOFF2Directory.process = function() {\n let tables = {};\n for (let i = 0; i < this.tables.length; i++) {\n let table = this.tables[i];\n tables[table.tag] = table;\n }\n\n return this.tables = tables;\n};\n\nexport default WOFF2Directory;\n","import * as r from 'restructure';\nimport brotli from 'brotli/decompress.js';\nimport TTFFont from './TTFFont';\nimport TTFGlyph, { Point } from './glyph/TTFGlyph';\nimport WOFF2Glyph from './glyph/WOFF2Glyph';\nimport WOFF2Directory from './tables/WOFF2Directory';\nimport { asciiDecoder } from './utils';\n\n/**\n * Subclass of TTFFont that represents a TTF/OTF font compressed by WOFF2\n * See spec here: http://www.w3.org/TR/WOFF2/\n */\nexport default class WOFF2Font extends TTFFont {\n type = 'WOFF2';\n\n static probe(buffer) {\n return asciiDecoder.decode(buffer.slice(0, 4)) === 'wOF2';\n }\n\n _decodeDirectory() {\n this.directory = WOFF2Directory.decode(this.stream);\n this._dataPos = this.stream.pos;\n }\n\n _decompress() {\n // decompress data and setup table offsets if we haven't already\n if (!this._decompressed) {\n this.stream.pos = this._dataPos;\n let buffer = this.stream.readBuffer(this.directory.totalCompressedSize);\n\n let decompressedSize = 0;\n for (let tag in this.directory.tables) {\n let entry = this.directory.tables[tag];\n entry.offset = decompressedSize;\n decompressedSize += (entry.transformLength != null) ? entry.transformLength : entry.length;\n }\n\n let decompressed = brotli(buffer, decompressedSize);\n if (!decompressed) {\n throw new Error('Error decoding compressed data in WOFF2');\n }\n\n this.stream = new r.DecodeStream(decompressed);\n this._decompressed = true;\n }\n }\n\n _decodeTable(table) {\n this._decompress();\n return super._decodeTable(table);\n }\n\n // Override this method to get a glyph and return our\n // custom subclass if there is a glyf table.\n _getBaseGlyph(glyph, characters = []) {\n if (!this._glyphs[glyph]) {\n if (this.directory.tables.glyf && this.directory.tables.glyf.transformed) {\n if (!this._transformedGlyphs) { this._transformGlyfTable(); }\n return this._glyphs[glyph] = new WOFF2Glyph(glyph, characters, this);\n\n } else {\n return super._getBaseGlyph(glyph, characters);\n }\n }\n }\n\n _transformGlyfTable() {\n this._decompress();\n this.stream.pos = this.directory.tables.glyf.offset;\n let table = GlyfTable.decode(this.stream);\n let glyphs = [];\n\n for (let index = 0; index < table.numGlyphs; index++) {\n let glyph = {};\n let nContours = table.nContours.readInt16BE();\n glyph.numberOfContours = nContours;\n\n if (nContours > 0) { // simple glyph\n let nPoints = [];\n let totalPoints = 0;\n\n for (let i = 0; i < nContours; i++) {\n let r = read255UInt16(table.nPoints);\n totalPoints += r;\n nPoints.push(totalPoints);\n }\n\n glyph.points = decodeTriplet(table.flags, table.glyphs, totalPoints);\n for (let i = 0; i < nContours; i++) {\n glyph.points[nPoints[i] - 1].endContour = true;\n }\n\n var instructionSize = read255UInt16(table.glyphs);\n\n } else if (nContours < 0) { // composite glyph\n let haveInstructions = TTFGlyph.prototype._decodeComposite.call({ _font: this }, glyph, table.composites);\n if (haveInstructions) {\n var instructionSize = read255UInt16(table.glyphs);\n }\n }\n\n glyphs.push(glyph);\n }\n\n this._transformedGlyphs = glyphs;\n }\n}\n\n// Special class that accepts a length and returns a sub-stream for that data\nclass Substream {\n constructor(length) {\n this.length = length;\n this._buf = new r.Buffer(length);\n }\n\n decode(stream, parent) {\n return new r.DecodeStream(this._buf.decode(stream, parent));\n }\n}\n\n// This struct represents the entire glyf table\nlet GlyfTable = new r.Struct({\n version: r.uint32,\n numGlyphs: r.uint16,\n indexFormat: r.uint16,\n nContourStreamSize: r.uint32,\n nPointsStreamSize: r.uint32,\n flagStreamSize: r.uint32,\n glyphStreamSize: r.uint32,\n compositeStreamSize: r.uint32,\n bboxStreamSize: r.uint32,\n instructionStreamSize: r.uint32,\n nContours: new Substream('nContourStreamSize'),\n nPoints: new Substream('nPointsStreamSize'),\n flags: new Substream('flagStreamSize'),\n glyphs: new Substream('glyphStreamSize'),\n composites: new Substream('compositeStreamSize'),\n bboxes: new Substream('bboxStreamSize'),\n instructions: new Substream('instructionStreamSize')\n});\n\nconst WORD_CODE = 253;\nconst ONE_MORE_BYTE_CODE2 = 254;\nconst ONE_MORE_BYTE_CODE1 = 255;\nconst LOWEST_U_CODE = 253;\n\nfunction read255UInt16(stream) {\n let code = stream.readUInt8();\n\n if (code === WORD_CODE) {\n return stream.readUInt16BE();\n }\n\n if (code === ONE_MORE_BYTE_CODE1) {\n return stream.readUInt8() + LOWEST_U_CODE;\n }\n\n if (code === ONE_MORE_BYTE_CODE2) {\n return stream.readUInt8() + LOWEST_U_CODE * 2;\n }\n\n return code;\n}\n\nfunction withSign(flag, baseval) {\n return flag & 1 ? baseval : -baseval;\n}\n\nfunction decodeTriplet(flags, glyphs, nPoints) {\n let y;\n let x = y = 0;\n let res = [];\n\n for (let i = 0; i < nPoints; i++) {\n let dx = 0, dy = 0;\n let flag = flags.readUInt8();\n let onCurve = !(flag >> 7);\n flag &= 0x7f;\n\n if (flag < 10) {\n dx = 0;\n dy = withSign(flag, ((flag & 14) << 7) + glyphs.readUInt8());\n\n } else if (flag < 20) {\n dx = withSign(flag, (((flag - 10) & 14) << 7) + glyphs.readUInt8());\n dy = 0;\n\n } else if (flag < 84) {\n var b0 = flag - 20;\n var b1 = glyphs.readUInt8();\n dx = withSign(flag, 1 + (b0 & 0x30) + (b1 >> 4));\n dy = withSign(flag >> 1, 1 + ((b0 & 0x0c) << 2) + (b1 & 0x0f));\n\n } else if (flag < 120) {\n var b0 = flag - 84;\n dx = withSign(flag, 1 + ((b0 / 12) << 8) + glyphs.readUInt8());\n dy = withSign(flag >> 1, 1 + (((b0 % 12) >> 2) << 8) + glyphs.readUInt8());\n\n } else if (flag < 124) {\n var b1 = glyphs.readUInt8();\n let b2 = glyphs.readUInt8();\n dx = withSign(flag, (b1 << 4) + (b2 >> 4));\n dy = withSign(flag >> 1, ((b2 & 0x0f) << 8) + glyphs.readUInt8());\n\n } else {\n dx = withSign(flag, glyphs.readUInt16BE());\n dy = withSign(flag >> 1, glyphs.readUInt16BE());\n }\n\n x += dx;\n y += dy;\n res.push(new Point(onCurve, false, x, y));\n }\n\n return res;\n}\n","import * as r from 'restructure';\nimport TTFFont from './TTFFont';\nimport Directory from './tables/directory';\nimport tables from './tables';\nimport { asciiDecoder } from './utils';\n\nlet TTCHeader = new r.VersionedStruct(r.uint32, {\n 0x00010000: {\n numFonts: r.uint32,\n offsets: new r.Array(r.uint32, 'numFonts')\n },\n 0x00020000: {\n numFonts: r.uint32,\n offsets: new r.Array(r.uint32, 'numFonts'),\n dsigTag: r.uint32,\n dsigLength: r.uint32,\n dsigOffset: r.uint32\n }\n});\n\nexport default class TrueTypeCollection {\n type = 'TTC';\n\n static probe(buffer) {\n return asciiDecoder.decode(buffer.slice(0, 4)) === 'ttcf';\n }\n\n constructor(stream) {\n this.stream = stream;\n if (stream.readString(4) !== 'ttcf') {\n throw new Error('Not a TrueType collection');\n }\n\n this.header = TTCHeader.decode(stream);\n }\n\n getFont(name) {\n for (let offset of this.header.offsets) {\n let stream = new r.DecodeStream(this.stream.buffer);\n stream.pos = offset;\n let font = new TTFFont(stream);\n if (\n font.postscriptName === name ||\n (\n font.postscriptName instanceof Uint8Array && \n name instanceof Uint8Array && \n font.postscriptName.every((v, i) => name[i] === v)\n )\n ) {\n return font;\n }\n }\n\n return null;\n }\n\n get fonts() {\n let fonts = [];\n for (let offset of this.header.offsets) {\n let stream = new r.DecodeStream(this.stream.buffer);\n stream.pos = offset;\n fonts.push(new TTFFont(stream));\n }\n\n return fonts;\n }\n}\n","import * as r from 'restructure';\nimport TTFFont from './TTFFont';\n\nlet DFontName = new r.String(r.uint8);\nlet DFontData = new r.Struct({\n len: r.uint32,\n buf: new r.Buffer('len')\n});\n\nlet Ref = new r.Struct({\n id: r.uint16,\n nameOffset: r.int16,\n attr: r.uint8,\n dataOffset: r.uint24,\n handle: r.uint32\n});\n\nlet Type = new r.Struct({\n name: new r.String(4),\n maxTypeIndex: r.uint16,\n refList: new r.Pointer(r.uint16, new r.Array(Ref, t => t.maxTypeIndex + 1), { type: 'parent' })\n});\n\nlet TypeList = new r.Struct({\n length: r.uint16,\n types: new r.Array(Type, t => t.length + 1)\n});\n\nlet DFontMap = new r.Struct({\n reserved: new r.Reserved(r.uint8, 24),\n typeList: new r.Pointer(r.uint16, TypeList),\n nameListOffset: new r.Pointer(r.uint16, 'void')\n});\n\nlet DFontHeader = new r.Struct({\n dataOffset: r.uint32,\n map: new r.Pointer(r.uint32, DFontMap),\n dataLength: r.uint32,\n mapLength: r.uint32\n});\n\nexport default class DFont {\n type = 'DFont';\n\n static probe(buffer) {\n let stream = new r.DecodeStream(buffer);\n\n try {\n var header = DFontHeader.decode(stream);\n } catch (e) {\n return false;\n }\n\n for (let type of header.map.typeList.types) {\n if (type.name === 'sfnt') {\n return true;\n }\n }\n\n return false;\n }\n\n constructor(stream) {\n this.stream = stream;\n this.header = DFontHeader.decode(this.stream);\n\n for (let type of this.header.map.typeList.types) {\n for (let ref of type.refList) {\n if (ref.nameOffset >= 0) {\n this.stream.pos = ref.nameOffset + this.header.map.nameListOffset;\n ref.name = DFontName.decode(this.stream);\n } else {\n ref.name = null;\n }\n }\n\n if (type.name === 'sfnt') {\n this.sfnt = type;\n }\n }\n }\n\n getFont(name) {\n if (!this.sfnt) {\n return null;\n }\n\n for (let ref of this.sfnt.refList) {\n let pos = this.header.dataOffset + ref.dataOffset + 4;\n let stream = new r.DecodeStream(this.stream.buffer.slice(pos));\n let font = new TTFFont(stream);\n if (\n font.postscriptName === name ||\n (\n font.postscriptName instanceof Uint8Array && \n name instanceof Uint8Array && \n font.postscriptName.every((v, i) => name[i] === v)\n )\n ) {\n return font;\n }\n }\n\n return null;\n }\n\n get fonts() {\n let fonts = [];\n for (let ref of this.sfnt.refList) {\n let pos = this.header.dataOffset + ref.dataOffset + 4;\n let stream = new r.DecodeStream(this.stream.buffer.slice(pos));\n fonts.push(new TTFFont(stream));\n }\n\n return fonts;\n }\n}\n","import { registerFormat, create, defaultLanguage, setDefaultLanguage } from './base';\nimport TTFFont from './TTFFont';\nimport WOFFFont from './WOFFFont';\nimport WOFF2Font from './WOFF2Font';\nimport TrueTypeCollection from './TrueTypeCollection';\nimport DFont from './DFont';\n\n// Register font formats\nregisterFormat(TTFFont);\nregisterFormat(WOFFFont);\nregisterFormat(WOFF2Font);\nregisterFormat(TrueTypeCollection);\nregisterFormat(DFont);\n\nexport * from './base';\n","import TTFFont from './TTFFont';\nimport WOFFDirectory from './tables/WOFFDirectory';\nimport tables from './tables';\nimport inflate from 'tiny-inflate';\nimport * as r from 'restructure';\nimport { asciiDecoder } from './utils';\n\nexport default class WOFFFont extends TTFFont {\n type = 'WOFF';\n\n static probe(buffer) {\n return asciiDecoder.decode(buffer.slice(0, 4)) === 'wOFF';\n }\n\n _decodeDirectory() {\n this.directory = WOFFDirectory.decode(this.stream, { _startOffset: 0 });\n }\n\n _getTableStream(tag) {\n let table = this.directory.tables[tag];\n if (table) {\n this.stream.pos = table.offset;\n\n if (table.compLength < table.length) {\n this.stream.pos += 2; // skip deflate header\n let outBuffer = new Uint8Array(table.length);\n let buf = inflate(this.stream.readBuffer(table.compLength - 2), outBuffer);\n return new r.DecodeStream(buf);\n } else {\n return this.stream;\n }\n }\n\n return null;\n }\n}\n","import 'is-url';\nimport fetch from 'cross-fetch';\nimport * as fontkit from 'fontkit';\n\n/* eslint-disable max-classes-per-file */\n\nconst FONT_WEIGHTS = {\n thin: 100,\n hairline: 100,\n ultralight: 200,\n extralight: 200,\n light: 300,\n normal: 400,\n medium: 500,\n semibold: 600,\n demibold: 600,\n bold: 700,\n ultrabold: 800,\n extrabold: 800,\n heavy: 900,\n black: 900\n};\nconst fetchFont = async (src, options) => {\n const response = await fetch(src, options);\n const data = await response.arrayBuffer();\n return new Uint8Array(data);\n};\nconst isDataUrl = dataUrl => {\n const header = dataUrl.split(',')[0];\n const hasDataPrefix = header.substring(0, 5) === 'data:';\n const hasBase64Prefix = header.split(';')[1] === 'base64';\n return hasDataPrefix && hasBase64Prefix;\n};\nconst resolveFontWeight = value => {\n return typeof value === 'string' ? FONT_WEIGHTS[value] : value;\n};\nconst sortByFontWeight = (a, b) => a.fontWeight - b.fontWeight;\nclass FontSource {\n constructor(src, fontFamily, fontStyle, fontWeight, options) {\n this.src = src;\n this.fontFamily = fontFamily;\n this.fontStyle = fontStyle || 'normal';\n this.fontWeight = fontWeight || 400;\n this.data = null;\n this.options = options;\n this.loadResultPromise = null;\n }\n async _load() {\n const {\n postscriptName\n } = this.options;\n if (isDataUrl(this.src)) {\n const raw = this.src.split(',')[1];\n const uint8Array = new Uint8Array(atob(raw).split('').map(c => c.charCodeAt(0)));\n this.data = fontkit.create(uint8Array, postscriptName);\n } else {\n const {\n headers,\n body,\n method = 'GET'\n } = this.options;\n const data = await fetchFont(this.src, {\n method,\n body,\n headers\n });\n this.data = fontkit.create(data, postscriptName);\n }\n }\n async load() {\n if (this.loadResultPromise === null) {\n this.loadResultPromise = this._load();\n }\n return this.loadResultPromise;\n }\n}\nclass Font {\n static create(family) {\n return new Font(family);\n }\n constructor(family) {\n this.family = family;\n this.sources = [];\n }\n register(_ref) {\n let {\n src,\n fontWeight,\n fontStyle,\n ...options\n } = _ref;\n const numericFontWeight = resolveFontWeight(fontWeight);\n this.sources.push(new FontSource(src, this.family, fontStyle, numericFontWeight, options));\n }\n resolve(descriptor) {\n const {\n fontWeight = 400,\n fontStyle = 'normal'\n } = descriptor;\n const styleSources = this.sources.filter(s => s.fontStyle === fontStyle);\n\n // Weight resolution. https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Fallback_weights\n const exactFit = styleSources.find(s => s.fontWeight === fontWeight);\n if (exactFit) return exactFit;\n let res;\n if (fontWeight >= 400 && fontWeight <= 500) {\n const leftOffset = styleSources.filter(s => s.fontWeight <= fontWeight);\n const rightOffset = styleSources.filter(s => s.fontWeight > 500);\n const fit = styleSources.filter(s => s.fontWeight >= fontWeight && s.fontWeight < 500);\n res = fit[0] || leftOffset[leftOffset.length - 1] || rightOffset[0];\n }\n const lt = styleSources.filter(s => s.fontWeight < fontWeight).sort(sortByFontWeight);\n const gt = styleSources.filter(s => s.fontWeight > fontWeight).sort(sortByFontWeight);\n if (fontWeight < 400) {\n res = lt[lt.length - 1] || gt[0];\n }\n if (fontWeight > 500) {\n res = gt[0] || lt[lt.length - 1];\n }\n if (!res) {\n throw new Error(\"Could not resolve font for \" + this.family + \", fontWeight \" + fontWeight);\n }\n return res;\n }\n}\n\nvar standard = ['Courier', 'Courier-Bold', 'Courier-Oblique', 'Courier-BoldOblique', 'Helvetica', 'Helvetica-Bold', 'Helvetica-Oblique', 'Helvetica-BoldOblique', 'Times-Roman', 'Times-Bold', 'Times-Italic', 'Times-BoldItalic'];\n\nfunction FontStore() {\n let fonts = {};\n let emojiSource = null;\n let hyphenationCallback = null;\n this.register = data => {\n const {\n family\n } = data;\n if (!fonts[family]) {\n fonts[family] = Font.create(family);\n }\n\n // Bulk loading\n if (data.fonts) {\n for (let i = 0; i < data.fonts.length; i += 1) {\n fonts[family].register({\n family,\n ...data.fonts[i]\n });\n }\n } else {\n fonts[family].register(data);\n }\n };\n this.registerEmojiSource = _ref => {\n let {\n url,\n format = 'png',\n builder,\n withVariationSelectors = false\n } = _ref;\n emojiSource = {\n url,\n format,\n builder,\n withVariationSelectors\n };\n };\n this.registerHyphenationCallback = callback => {\n hyphenationCallback = callback;\n };\n this.getFont = descriptor => {\n const {\n fontFamily\n } = descriptor;\n const isStandard = standard.includes(fontFamily);\n if (isStandard) return null;\n if (!fonts[fontFamily]) {\n throw new Error(\"Font family not registered: \" + fontFamily + \". Please register it calling Font.register() method.\");\n }\n return fonts[fontFamily].resolve(descriptor);\n };\n this.load = async descriptor => {\n const {\n fontFamily\n } = descriptor;\n const fontFamilies = typeof fontFamily === 'string' ? [fontFamily] : [...(fontFamily || [])];\n const promises = [];\n for (let len = fontFamilies.length, i = 0; i < len; i += 1) {\n const family = fontFamilies[i];\n const isStandard = standard.includes(family);\n if (isStandard) return;\n const f = this.getFont({\n ...descriptor,\n fontFamily: family\n });\n promises.push(f.load());\n }\n await Promise.all(promises);\n };\n this.reset = () => {\n const keys = Object.keys(fonts);\n for (let i = 0; i < keys.length; i += 1) {\n const key = keys[i];\n fonts[key].data = null;\n }\n };\n this.clear = () => {\n fonts = {};\n };\n this.getRegisteredFonts = () => fonts;\n this.getEmojiSource = () => emojiSource;\n this.getHyphenationCallback = () => hyphenationCallback;\n this.getRegisteredFontFamilies = () => Object.keys(fonts);\n}\n\nexport { FontStore as default };\n","import _typeof from \"./typeof.js\";\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return e;\n };\n var t,\n e = {},\n r = Object.prototype,\n n = r.hasOwnProperty,\n o = Object.defineProperty || function (t, e, r) {\n t[e] = r.value;\n },\n i = \"function\" == typeof Symbol ? Symbol : {},\n a = i.iterator || \"@@iterator\",\n c = i.asyncIterator || \"@@asyncIterator\",\n u = i.toStringTag || \"@@toStringTag\";\n function define(t, e, r) {\n return Object.defineProperty(t, e, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), t[e];\n }\n try {\n define({}, \"\");\n } catch (t) {\n define = function define(t, e, r) {\n return t[e] = r;\n };\n }\n function wrap(t, e, r, n) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = Object.create(i.prototype),\n c = new Context(n || []);\n return o(a, \"_invoke\", {\n value: makeInvokeMethod(t, r, c)\n }), a;\n }\n function tryCatch(t, e, r) {\n try {\n return {\n type: \"normal\",\n arg: t.call(e, r)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n e.wrap = wrap;\n var h = \"suspendedStart\",\n l = \"suspendedYield\",\n f = \"executing\",\n s = \"completed\",\n y = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var p = {};\n define(p, a, function () {\n return this;\n });\n var d = Object.getPrototypeOf,\n v = d && d(d(values([])));\n v && v !== r && n.call(v, a) && (p = v);\n var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);\n function defineIteratorMethods(t) {\n [\"next\", \"throw\", \"return\"].forEach(function (e) {\n define(t, e, function (t) {\n return this._invoke(e, t);\n });\n });\n }\n function AsyncIterator(t, e) {\n function invoke(r, o, i, a) {\n var c = tryCatch(t[r], t, o);\n if (\"throw\" !== c.type) {\n var u = c.arg,\n h = u.value;\n return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) {\n invoke(\"next\", t, i, a);\n }, function (t) {\n invoke(\"throw\", t, i, a);\n }) : e.resolve(h).then(function (t) {\n u.value = t, i(u);\n }, function (t) {\n return invoke(\"throw\", t, i, a);\n });\n }\n a(c.arg);\n }\n var r;\n o(this, \"_invoke\", {\n value: function value(t, n) {\n function callInvokeWithMethodAndArg() {\n return new e(function (e, r) {\n invoke(t, n, e, r);\n });\n }\n return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(e, r, n) {\n var o = h;\n return function (i, a) {\n if (o === f) throw Error(\"Generator is already running\");\n if (o === s) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var c = n.delegate;\n if (c) {\n var u = maybeInvokeDelegate(c, n);\n if (u) {\n if (u === y) continue;\n return u;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (o === h) throw o = s, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = f;\n var p = tryCatch(e, r, n);\n if (\"normal\" === p.type) {\n if (o = n.done ? s : l, p.arg === y) continue;\n return {\n value: p.arg,\n done: n.done\n };\n }\n \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg);\n }\n };\n }\n function maybeInvokeDelegate(e, r) {\n var n = r.method,\n o = e.iterator[n];\n if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y;\n var i = tryCatch(o, e.iterator, r.arg);\n if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y;\n var a = i.arg;\n return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y);\n }\n function pushTryEntry(t) {\n var e = {\n tryLoc: t[0]\n };\n 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);\n }\n function resetTryEntry(t) {\n var e = t.completion || {};\n e.type = \"normal\", delete e.arg, t.completion = e;\n }\n function Context(t) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], t.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(e) {\n if (e || \"\" === e) {\n var r = e[a];\n if (r) return r.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) {\n var o = -1,\n i = function next() {\n for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;\n return next.value = t, next.done = !0, next;\n };\n return i.next = i;\n }\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), o(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) {\n var e = \"function\" == typeof t && t.constructor;\n return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name));\n }, e.mark = function (t) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t;\n }, e.awrap = function (t) {\n return {\n __await: t\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {\n return this;\n }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {\n void 0 === i && (i = Promise);\n var a = new AsyncIterator(wrap(t, r, n, o), i);\n return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () {\n return this;\n }), define(g, \"toString\", function () {\n return \"[object Generator]\";\n }), e.keys = function (t) {\n var e = Object(t),\n r = [];\n for (var n in e) r.push(n);\n return r.reverse(), function next() {\n for (; r.length;) {\n var t = r.pop();\n if (t in e) return next.value = t, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, e.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(e) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0].completion;\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(e) {\n if (this.done) throw e;\n var r = this;\n function handle(n, o) {\n return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o;\n }\n for (var o = this.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i.completion;\n if (\"root\" === i.tryLoc) return handle(\"end\");\n if (i.tryLoc <= this.prev) {\n var c = n.call(i, \"catchLoc\"),\n u = n.call(i, \"finallyLoc\");\n if (c && u) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n } else if (c) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n } else {\n if (!u) throw Error(\"try statement without catch or finally\");\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(t, e) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var o = this.tryEntries[r];\n if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) {\n var i = o;\n break;\n }\n }\n i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);\n var a = i ? i.completion : {};\n return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a);\n },\n complete: function complete(t, e) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y;\n },\n finish: function finish(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;\n }\n },\n \"catch\": function _catch(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.tryLoc === t) {\n var n = r.completion;\n if (\"throw\" === n.type) {\n var o = n.arg;\n resetTryEntry(r);\n }\n return o;\n }\n }\n throw Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(e, r, n) {\n return this.delegate = {\n iterator: values(e),\n resultName: r,\n nextLoc: n\n }, \"next\" === this.method && (this.arg = t), y;\n }\n }, e;\n}\nexport { _regeneratorRuntime as default };","import _regeneratorRuntime from '@babel/runtime/helpers/regeneratorRuntime';\nimport _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';\n\n/**\n * Applies a function to the value at the given index of an array\n\n * @param {number} index\n * @param {function} fn\n * @param {array} collection\n * @returns copy of the array with the element at the given index replaced with the result of the function application.\n */\nvar adjust = function adjust(index, fn, collection) {\n var _Object$assign;\n if (index >= 0 && index >= collection.length) return collection;\n if (index < 0 && Math.abs(index) > collection.length) return collection;\n var i = index < 0 ? collection.length + index : index;\n return Object.assign([], collection, (_Object$assign = {}, _Object$assign[i] = fn(collection[i]), _Object$assign));\n};\n\nvar reverse = function reverse(list) {\n return Array.prototype.slice.call(list, 0).reverse();\n};\n\n/**\n * @typedef {Function} AsyncCompose\n * @param {any} value\n * @param {...any} args\n * @returns {any} result\n */\n\n/**\n * Performs right-to-left function composition with async functions support\n *\n * @param {...Function} fns functions\n * @returns {AsyncCompose} composed function\n */\nvar asyncCompose = function asyncCompose() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n return /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {\n var result,\n reversedFns,\n _len2,\n args,\n _key2,\n i,\n fn,\n _args = arguments;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n result = value;\n reversedFns = reverse(fns);\n for (_len2 = _args.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = _args[_key2];\n }\n i = 0;\n case 4:\n if (!(i < reversedFns.length)) {\n _context.next = 12;\n break;\n }\n fn = reversedFns[i];\n _context.next = 8;\n return fn.apply(void 0, [result].concat(args));\n case 8:\n result = _context.sent;\n case 9:\n i += 1;\n _context.next = 4;\n break;\n case 12:\n return _context.abrupt(\"return\", result);\n case 13:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n};\n\n/**\n * Capitalize first letter of each word\n *\n * @param {string} value string\n * @returns {string} capitalized string\n */\nvar capitalize = function capitalize(value) {\n if (!value) return value;\n return value.replace(/(^|\\s)\\S/g, function (l) {\n return l.toUpperCase();\n });\n};\n\n/**\n * Casts value to array\n *\n * @template T\n * @param {T|T[]} value value\n * @returns {T[]} array\n */\nvar castArray = function castArray(value) {\n return Array.isArray(value) ? value : [value];\n};\n\n/* eslint-disable no-await-in-loop */\n\n\n/**\n * @typedef {Function} Compose\n * @param {any} value\n * @param {...any} args\n * @returns {any} result\n */\n\n/**\n * Performs right-to-left function composition\n *\n * @param {...Function} fns functions\n * @returns {Compose} composed function\n */\nvar compose = function compose() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n return function (value) {\n var result = value;\n var reversedFns = reverse(fns);\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n for (var i = 0; i < reversedFns.length; i += 1) {\n var fn = reversedFns[i];\n result = fn.apply(void 0, [result].concat(args));\n }\n return result;\n };\n};\n\nvar dropLast = function dropLast(array) {\n return array.slice(0, array.length - 1);\n};\n\nvar evolve = function evolve(transformations, object) {\n var result = object instanceof Array ? [] : {};\n var keys = Object.keys(object);\n for (var i = 0; i < keys.length; i += 1) {\n var key = keys[i];\n var transformation = transformations[key];\n var type = typeof transformation;\n if (type === 'function') {\n result[key] = transformation(object[key]);\n } else if (transformation && type === 'object') {\n result[key] = evolve(transformation, object[key]);\n } else result[key] = object[key];\n }\n return result;\n};\n\nvar isNil = function isNil(value) {\n return value === null || value === undefined;\n};\n\nvar get = function get(target, path, defaultValue) {\n if (isNil(target)) return defaultValue;\n var _path = castArray(path);\n var result = target;\n for (var i = 0; i < _path.length; i += 1) {\n if (isNil(result)) return undefined;\n result = result[_path[i]];\n }\n return isNil(result) ? defaultValue : result;\n};\n\nvar last = function last(value) {\n return value === '' ? '' : value[value.length - 1];\n};\n\nvar mapValues = function mapValues(object, fn) {\n var entries = Object.entries(object);\n return entries.reduce(function (acc, _ref, index) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = fn(value, key, index);\n return acc;\n }, {});\n};\n\n/**\n * @param {string | number} value\n * @returns {RegExpExecArray | null} match\n */\nvar isPercent = function isPercent(value) {\n return /((-)?\\d+\\.?\\d*)%/g.exec(\"\" + value);\n};\n\n/**\n * Get percentage value of input\n *\n * @param {string | number} value\n * @returns {{ percent: number, value: number } | null} percent value (if matches)\n */\nvar matchPercent = function matchPercent(value) {\n var match = isPercent(value);\n if (match) {\n var f = parseFloat(match[1]);\n var percent = f / 100;\n return {\n percent: percent,\n value: f\n };\n }\n return null;\n};\n\nvar omit = function omit(keys, object) {\n var _keys = castArray(keys);\n var copy = Object.assign({}, object);\n _keys.forEach(function (key) {\n delete copy[key];\n });\n return copy;\n};\n\nvar pick = function pick(keys, obj) {\n var result = {};\n for (var i = 0; i < keys.length; i += 1) {\n var key = keys[i];\n if (key in obj) result[key] = obj[key];\n }\n return result;\n};\n\nvar repeat = function repeat(list, length) {\n if (length === void 0) {\n length = 0;\n }\n var result = new Array(length);\n for (var i = 0; i < length; i += 1) {\n result[i] = list;\n }\n return result;\n};\n\n/**\n * Capitalize first letter of string\n *\n * @param {string} value string\n * @returns {string} capitalized string\n */\nvar upperFirst = function upperFirst(value) {\n if (!value) return value;\n return value.charAt(0).toUpperCase() + value.slice(1);\n};\n\nexport { adjust, asyncCompose, capitalize, castArray, compose, dropLast, evolve, get, isNil, last, mapValues, matchPercent, omit, pick, repeat, reverse, upperFirst };\n","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar TAU = Math.PI * 2;\n\nvar mapToEllipse = function mapToEllipse(_ref, rx, ry, cosphi, sinphi, centerx, centery) {\n var x = _ref.x,\n y = _ref.y;\n\n x *= rx;\n y *= ry;\n\n var xp = cosphi * x - sinphi * y;\n var yp = sinphi * x + cosphi * y;\n\n return {\n x: xp + centerx,\n y: yp + centery\n };\n};\n\nvar approxUnitArc = function approxUnitArc(ang1, ang2) {\n // If 90 degree circular arc, use a constant\n // as derived from http://spencermortensen.com/articles/bezier-circle\n var a = ang2 === 1.5707963267948966 ? 0.551915024494 : ang2 === -1.5707963267948966 ? -0.551915024494 : 4 / 3 * Math.tan(ang2 / 4);\n\n var x1 = Math.cos(ang1);\n var y1 = Math.sin(ang1);\n var x2 = Math.cos(ang1 + ang2);\n var y2 = Math.sin(ang1 + ang2);\n\n return [{\n x: x1 - y1 * a,\n y: y1 + x1 * a\n }, {\n x: x2 + y2 * a,\n y: y2 - x2 * a\n }, {\n x: x2,\n y: y2\n }];\n};\n\nvar vectorAngle = function vectorAngle(ux, uy, vx, vy) {\n var sign = ux * vy - uy * vx < 0 ? -1 : 1;\n\n var dot = ux * vx + uy * vy;\n\n if (dot > 1) {\n dot = 1;\n }\n\n if (dot < -1) {\n dot = -1;\n }\n\n return sign * Math.acos(dot);\n};\n\nvar getArcCenter = function getArcCenter(px, py, cx, cy, rx, ry, largeArcFlag, sweepFlag, sinphi, cosphi, pxp, pyp) {\n var rxsq = Math.pow(rx, 2);\n var rysq = Math.pow(ry, 2);\n var pxpsq = Math.pow(pxp, 2);\n var pypsq = Math.pow(pyp, 2);\n\n var radicant = rxsq * rysq - rxsq * pypsq - rysq * pxpsq;\n\n if (radicant < 0) {\n radicant = 0;\n }\n\n radicant /= rxsq * pypsq + rysq * pxpsq;\n radicant = Math.sqrt(radicant) * (largeArcFlag === sweepFlag ? -1 : 1);\n\n var centerxp = radicant * rx / ry * pyp;\n var centeryp = radicant * -ry / rx * pxp;\n\n var centerx = cosphi * centerxp - sinphi * centeryp + (px + cx) / 2;\n var centery = sinphi * centerxp + cosphi * centeryp + (py + cy) / 2;\n\n var vx1 = (pxp - centerxp) / rx;\n var vy1 = (pyp - centeryp) / ry;\n var vx2 = (-pxp - centerxp) / rx;\n var vy2 = (-pyp - centeryp) / ry;\n\n var ang1 = vectorAngle(1, 0, vx1, vy1);\n var ang2 = vectorAngle(vx1, vy1, vx2, vy2);\n\n if (sweepFlag === 0 && ang2 > 0) {\n ang2 -= TAU;\n }\n\n if (sweepFlag === 1 && ang2 < 0) {\n ang2 += TAU;\n }\n\n return [centerx, centery, ang1, ang2];\n};\n\nvar arcToBezier = function arcToBezier(_ref2) {\n var px = _ref2.px,\n py = _ref2.py,\n cx = _ref2.cx,\n cy = _ref2.cy,\n rx = _ref2.rx,\n ry = _ref2.ry,\n _ref2$xAxisRotation = _ref2.xAxisRotation,\n xAxisRotation = _ref2$xAxisRotation === undefined ? 0 : _ref2$xAxisRotation,\n _ref2$largeArcFlag = _ref2.largeArcFlag,\n largeArcFlag = _ref2$largeArcFlag === undefined ? 0 : _ref2$largeArcFlag,\n _ref2$sweepFlag = _ref2.sweepFlag,\n sweepFlag = _ref2$sweepFlag === undefined ? 0 : _ref2$sweepFlag;\n\n var curves = [];\n\n if (rx === 0 || ry === 0) {\n return [];\n }\n\n var sinphi = Math.sin(xAxisRotation * TAU / 360);\n var cosphi = Math.cos(xAxisRotation * TAU / 360);\n\n var pxp = cosphi * (px - cx) / 2 + sinphi * (py - cy) / 2;\n var pyp = -sinphi * (px - cx) / 2 + cosphi * (py - cy) / 2;\n\n if (pxp === 0 && pyp === 0) {\n return [];\n }\n\n rx = Math.abs(rx);\n ry = Math.abs(ry);\n\n var lambda = Math.pow(pxp, 2) / Math.pow(rx, 2) + Math.pow(pyp, 2) / Math.pow(ry, 2);\n\n if (lambda > 1) {\n rx *= Math.sqrt(lambda);\n ry *= Math.sqrt(lambda);\n }\n\n var _getArcCenter = getArcCenter(px, py, cx, cy, rx, ry, largeArcFlag, sweepFlag, sinphi, cosphi, pxp, pyp),\n _getArcCenter2 = _slicedToArray(_getArcCenter, 4),\n centerx = _getArcCenter2[0],\n centery = _getArcCenter2[1],\n ang1 = _getArcCenter2[2],\n ang2 = _getArcCenter2[3];\n\n // If 'ang2' == 90.0000000001, then `ratio` will evaluate to\n // 1.0000000001. This causes `segments` to be greater than one, which is an\n // unecessary split, and adds extra points to the bezier curve. To alleviate\n // this issue, we round to 1.0 when the ratio is close to 1.0.\n\n\n var ratio = Math.abs(ang2) / (TAU / 4);\n if (Math.abs(1.0 - ratio) < 0.0000001) {\n ratio = 1.0;\n }\n\n var segments = Math.max(Math.ceil(ratio), 1);\n\n ang2 /= segments;\n\n for (var i = 0; i < segments; i++) {\n curves.push(approxUnitArc(ang1, ang2));\n ang1 += ang2;\n }\n\n return curves.map(function (curve) {\n var _mapToEllipse = mapToEllipse(curve[0], rx, ry, cosphi, sinphi, centerx, centery),\n x1 = _mapToEllipse.x,\n y1 = _mapToEllipse.y;\n\n var _mapToEllipse2 = mapToEllipse(curve[1], rx, ry, cosphi, sinphi, centerx, centery),\n x2 = _mapToEllipse2.x,\n y2 = _mapToEllipse2.y;\n\n var _mapToEllipse3 = mapToEllipse(curve[2], rx, ry, cosphi, sinphi, centerx, centery),\n x = _mapToEllipse3.x,\n y = _mapToEllipse3.y;\n\n return { x1: x1, y1: y1, x2: x2, y2: y2, x: x, y: y };\n });\n};\n\nexport default arcToBezier;","import arcToCurve from 'svg-arc-to-cubic-bezier'\r\n\r\nexport default function normalize(path){\r\n // init state\r\n var prev\r\n var result = []\r\n var bezierX = 0\r\n var bezierY = 0\r\n var startX = 0\r\n var startY = 0\r\n var quadX = null\r\n var quadY = null\r\n var x = 0\r\n var y = 0\r\n\r\n for (var i = 0, len = path.length; i < len; i++) {\r\n var seg = path[i]\r\n var command = seg[0]\r\n\r\n switch (command) {\r\n case 'M':\r\n startX = seg[1]\r\n startY = seg[2]\r\n break\r\n case 'A':\r\n var curves = arcToCurve({\r\n px: x,\r\n py: y,\r\n cx: seg[6],\r\n cy: seg[7],\r\n rx: seg[1],\r\n ry: seg[2],\r\n xAxisRotation: seg[3],\r\n largeArcFlag: seg[4],\r\n sweepFlag: seg[5]\r\n })\r\n\r\n // null-curves\r\n if (!curves.length) continue\r\n\r\n for (var j = 0, c; j < curves.length; j++) {\r\n c = curves[j]\r\n seg = ['C', c.x1, c.y1, c.x2, c.y2, c.x, c.y]\r\n if (j < curves.length - 1) result.push(seg)\r\n }\r\n\r\n break\r\n case 'S':\r\n // default control point\r\n var cx = x\r\n var cy = y\r\n if (prev == 'C' || prev == 'S') {\r\n cx += cx - bezierX // reflect the previous command's control\r\n cy += cy - bezierY // point relative to the current point\r\n }\r\n seg = ['C', cx, cy, seg[1], seg[2], seg[3], seg[4]]\r\n break\r\n case 'T':\r\n if (prev == 'Q' || prev == 'T') {\r\n quadX = x * 2 - quadX // as with 'S' reflect previous control point\r\n quadY = y * 2 - quadY\r\n } else {\r\n quadX = x\r\n quadY = y\r\n }\r\n seg = quadratic(x, y, quadX, quadY, seg[1], seg[2])\r\n break\r\n case 'Q':\r\n quadX = seg[1]\r\n quadY = seg[2]\r\n seg = quadratic(x, y, seg[1], seg[2], seg[3], seg[4])\r\n break\r\n case 'L':\r\n seg = line(x, y, seg[1], seg[2])\r\n break\r\n case 'H':\r\n seg = line(x, y, seg[1], y)\r\n break\r\n case 'V':\r\n seg = line(x, y, x, seg[1])\r\n break\r\n case 'Z':\r\n seg = line(x, y, startX, startY)\r\n break\r\n }\r\n\r\n // update state\r\n prev = command\r\n x = seg[seg.length - 2]\r\n y = seg[seg.length - 1]\r\n if (seg.length > 4) {\r\n bezierX = seg[seg.length - 4]\r\n bezierY = seg[seg.length - 3]\r\n } else {\r\n bezierX = x\r\n bezierY = y\r\n }\r\n result.push(seg)\r\n }\r\n\r\n return result\r\n}\r\n\r\nfunction line(x1, y1, x2, y2){\r\n return ['C', x1, y1, x2, y2, x2, y2]\r\n}\r\n\r\nfunction quadratic(x1, y1, cx, cy, x2, y2){\r\n return [\r\n 'C',\r\n x1/3 + (2/3) * cx,\r\n y1/3 + (2/3) * cy,\r\n x2/3 + (2/3) * cx,\r\n y2/3 + (2/3) * cy,\r\n x2,\r\n y2\r\n ]\r\n}\r\n","import * as P from '@react-pdf/primitives';\nimport { isNil, matchPercent } from '@react-pdf/fns';\nimport absPath from 'abs-svg-path';\nimport parsePath from 'parse-svg-path';\nimport normalizePath from 'normalize-svg-path';\nimport colorString from 'color-string';\n\nconst renderPath = (ctx, node) => {\n var _node$props;\n const d = (_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.d;\n if (d) ctx.path(node.props.d);\n};\n\nconst KAPPA$3 = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0);\nconst renderRect = (ctx, node) => {\n var _node$props, _node$props2, _node$props3, _node$props4, _node$props5, _node$props6;\n const x = ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.x) || 0;\n const y = ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.y) || 0;\n const rx = ((_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.rx) || 0;\n const ry = ((_node$props4 = node.props) === null || _node$props4 === void 0 ? void 0 : _node$props4.ry) || 0;\n const width = ((_node$props5 = node.props) === null || _node$props5 === void 0 ? void 0 : _node$props5.width) || 0;\n const height = ((_node$props6 = node.props) === null || _node$props6 === void 0 ? void 0 : _node$props6.height) || 0;\n if (!width || !height) return;\n if (rx && ry) {\n const krx = rx * KAPPA$3;\n const kry = ry * KAPPA$3;\n ctx.moveTo(x + rx, y);\n ctx.lineTo(x - rx + width, y);\n ctx.bezierCurveTo(x - rx + width + krx, y, x + width, y + ry - kry, x + width, y + ry);\n ctx.lineTo(x + width, y + height - ry);\n ctx.bezierCurveTo(x + width, y + height - ry + kry, x - rx + width + krx, y + height, x - rx + width, y + height);\n ctx.lineTo(x + rx, y + height);\n ctx.bezierCurveTo(x + rx - krx, y + height, x, y + height - ry + kry, x, y + height - ry);\n ctx.lineTo(x, y + ry);\n ctx.bezierCurveTo(x, y + ry - kry, x + rx - krx, y, x + rx, y);\n } else {\n ctx.moveTo(x, y);\n ctx.lineTo(x + width, y);\n ctx.lineTo(x + width, y + height);\n ctx.lineTo(x, y + height);\n }\n ctx.closePath();\n};\n\nconst renderLine$1 = (ctx, node) => {\n const {\n x1,\n x2,\n y1,\n y2\n } = node.props || {};\n ctx.moveTo(x1, y1);\n ctx.lineTo(x2, y2);\n};\n\nconst renderGroup = () => {\n // noop\n};\n\nconst KAPPA$2 = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0);\nconst drawEllipse = function (ctx, cx, cy, rx, ry) {\n if (cx === void 0) {\n cx = 0;\n }\n if (cy === void 0) {\n cy = 0;\n }\n const x = cx - rx;\n const y = cy - ry;\n const ox = rx * KAPPA$2;\n const oy = ry * KAPPA$2;\n const xe = x + rx * 2;\n const ye = y + ry * 2;\n const xm = x + rx;\n const ym = y + ry;\n ctx.moveTo(x, ym);\n ctx.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);\n ctx.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);\n ctx.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);\n ctx.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);\n ctx.closePath();\n};\nconst renderEllipse = (ctx, node) => {\n const {\n cx,\n cy,\n rx,\n ry\n } = node.props || {};\n drawEllipse(ctx, cx, cy, rx, ry);\n};\n\nconst renderCircle = (ctx, node) => {\n var _node$props, _node$props2, _node$props3;\n const cx = (_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.cx;\n const cy = (_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.cy;\n const r = (_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.r;\n drawEllipse(ctx, cx, cy, r, r);\n};\n\nconst renderGlyphs = function (ctx, glyphs, positions, x, y, options) {\n if (options === void 0) {\n options = {};\n }\n const scale = 1000 / ctx._fontSize;\n const unitsPerEm = ctx._font.font.unitsPerEm || 1000;\n const advanceWidthScale = 1000 / unitsPerEm;\n\n // Glyph encoding and positioning\n const encodedGlyphs = ctx._font.encodeGlyphs(glyphs);\n const encodedPositions = positions.map((pos, i) => ({\n xAdvance: pos.xAdvance * scale,\n yAdvance: pos.yAdvance * scale,\n xOffset: pos.xOffset,\n yOffset: pos.yOffset,\n advanceWidth: glyphs[i].advanceWidth * advanceWidthScale\n }));\n return ctx._glyphs(encodedGlyphs, encodedPositions, x, y, options);\n};\n\nconst renderRun$1 = (ctx, run) => {\n const runAdvanceWidth = run.xAdvance;\n const {\n font,\n fontSize,\n color,\n opacity\n } = run.attributes;\n ctx.fillColor(color);\n ctx.fillOpacity(opacity);\n if (font.sbix || font.COLR && font.CPAL) {\n ctx.save();\n ctx.translate(0, -run.ascent);\n for (let i = 0; i < run.glyphs.length; i += 1) {\n const position = run.positions[i];\n const glyph = run.glyphs[i];\n ctx.save();\n ctx.translate(position.xOffset, position.yOffset);\n glyph.render(ctx, fontSize);\n ctx.restore();\n ctx.translate(position.xAdvance, position.yAdvance);\n }\n ctx.restore();\n } else {\n ctx.font(typeof font.name === 'string' ? font.name : font, fontSize);\n try {\n renderGlyphs(ctx, run.glyphs, run.positions, 0, 0);\n } catch (error) {\n console.log(error);\n }\n }\n ctx.translate(runAdvanceWidth, 0);\n};\nconst renderSpan = (ctx, line, textAnchor, dominantBaseline) => {\n var _line$box, _line$box2, _line$runs$, _line$runs$2, _line$runs$2$attribut;\n ctx.save();\n const x = ((_line$box = line.box) === null || _line$box === void 0 ? void 0 : _line$box.x) || 0;\n const y = ((_line$box2 = line.box) === null || _line$box2 === void 0 ? void 0 : _line$box2.y) || 0;\n const font = (_line$runs$ = line.runs[0]) === null || _line$runs$ === void 0 ? void 0 : _line$runs$.attributes.font;\n const scale = ((_line$runs$2 = line.runs[0]) === null || _line$runs$2 === void 0 ? void 0 : (_line$runs$2$attribut = _line$runs$2.attributes) === null || _line$runs$2$attribut === void 0 ? void 0 : _line$runs$2$attribut.scale) || 1;\n const width = line.xAdvance;\n const ascent = font.ascent * scale;\n const xHeight = font.xHeight * scale;\n const descent = font.descent * scale;\n const capHeight = font.capHeight * scale;\n let xTranslate = x;\n let yTranslate = y;\n switch (textAnchor) {\n case 'middle':\n xTranslate = x - width / 2;\n break;\n case 'end':\n xTranslate = x - width;\n break;\n default:\n xTranslate = x;\n break;\n }\n switch (dominantBaseline) {\n case 'middle':\n case 'central':\n yTranslate = y + capHeight / 2;\n break;\n case 'hanging':\n yTranslate = y + capHeight;\n break;\n case 'mathematical':\n yTranslate = y + xHeight;\n break;\n case 'text-after-edge':\n yTranslate = y + descent;\n break;\n case 'text-before-edge':\n yTranslate = y + ascent;\n break;\n default:\n yTranslate = y;\n break;\n }\n ctx.translate(xTranslate, yTranslate);\n line.runs.forEach(run => renderRun$1(ctx, run));\n ctx.restore();\n};\nconst renderSvgText = (ctx, node) => {\n node.children.forEach(span => renderSpan(ctx, span.lines[0], span.props.textAnchor, span.props.dominantBaseline));\n};\n\n/**\n * Create pairs from array\n *\n * @template T\n * @param {T[]} values array\n * @returns {T[][]} pairs\n */\nconst pairs = values => {\n const result = [];\n for (let i = 0; i < values.length; i += 2) {\n result.push([values[i], values[i + 1]]);\n }\n return result;\n};\n\n/**\n * Parse svg-like points into number arrays\n *\n * @param {string} points string ex. \"20,30 50,60\"\n * @returns {number[][]} points array ex. [[20, 30], [50, 60]]\n */\nconst parsePoints = points => {\n let values = (points || '').trim().replace(/,/g, ' ').replace(/(\\d)-(\\d)/g, '$1 -$2').split(/\\s+/);\n if (values.length % 2 !== 0) {\n values = values.slice(0, -1);\n }\n const mappedValues = values.map(parseFloat);\n return pairs(mappedValues);\n};\n\nconst drawPolyline = (ctx, points) => {\n if (points.length > 0) {\n ctx.moveTo(points[0][0], points[0][1]);\n points.slice(1).forEach(p => ctx.lineTo(p[0], p[1]));\n }\n};\nconst renderPolyline = (ctx, node) => {\n const points = parsePoints(node.props.points || '');\n drawPolyline(ctx, points);\n};\n\nconst renderPolygon = (ctx, node) => {\n renderPolyline(ctx, node);\n ctx.closePath();\n};\n\nconst renderImage$1 = (ctx, node) => {\n if (!node.image.data) return;\n const {\n x,\n y\n } = node.props;\n const {\n width,\n height,\n opacity\n } = node.style;\n const paddingTop = node.box.paddingLeft || 0;\n const paddingLeft = node.box.paddingLeft || 0;\n if (width === 0 || height === 0) {\n console.warn(\"Image with src '\" + node.props.href + \"' skipped due to invalid dimensions\");\n return;\n }\n ctx.save();\n ctx.fillOpacity(opacity || 1).image(node.image.data, x + paddingLeft, y + paddingTop, {\n width,\n height\n });\n ctx.restore();\n};\n\n// This constant is used to approximate a symmetrical arc using a cubic\n// Bezier curve.\nconst KAPPA$1 = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0);\nconst clipNode = (ctx, node) => {\n if (!node.style) return;\n const {\n top,\n left,\n width,\n height\n } = node.box;\n const {\n borderTopLeftRadius = 0,\n borderTopRightRadius = 0,\n borderBottomRightRadius = 0,\n borderBottomLeftRadius = 0\n } = node.style;\n\n // Border top\n const rtr = Math.min(borderTopRightRadius, 0.5 * width, 0.5 * height);\n const ctr = rtr * (1.0 - KAPPA$1);\n ctx.moveTo(left + rtr, top);\n ctx.lineTo(left + width - rtr, top);\n ctx.bezierCurveTo(left + width - ctr, top, left + width, top + ctr, left + width, top + rtr);\n\n // Border right\n const rbr = Math.min(borderBottomRightRadius, 0.5 * width, 0.5 * height);\n const cbr = rbr * (1.0 - KAPPA$1);\n ctx.lineTo(left + width, top + height - rbr);\n ctx.bezierCurveTo(left + width, top + height - cbr, left + width - cbr, top + height, left + width - rbr, top + height);\n\n // Border bottom\n const rbl = Math.min(borderBottomLeftRadius, 0.5 * width, 0.5 * height);\n const cbl = rbl * (1.0 - KAPPA$1);\n ctx.lineTo(left + rbl, top + height);\n ctx.bezierCurveTo(left + cbl, top + height, left, top + height - cbl, left, top + height - rbl);\n\n // Border left\n const rtl = Math.min(borderTopLeftRadius, 0.5 * width, 0.5 * height);\n const ctl = rtl * (1.0 - KAPPA$1);\n ctx.lineTo(left, top + rtl);\n ctx.bezierCurveTo(left, top + ctl, left + ctl, top, left + rtl, top);\n ctx.closePath();\n ctx.clip();\n};\n\nconst applySingleTransformation = (ctx, transform, origin) => {\n const {\n operation,\n value\n } = transform;\n switch (operation) {\n case 'scale':\n {\n const [scaleX, scaleY] = value;\n ctx.scale(scaleX, scaleY, {\n origin\n });\n break;\n }\n case 'rotate':\n {\n const [angle] = value;\n ctx.rotate(angle, {\n origin\n });\n break;\n }\n case 'translate':\n {\n const [x, y = 0] = value;\n ctx.translate(x, y, {\n origin\n });\n break;\n }\n case 'skew':\n {\n const [xAngle, yAngle] = value;\n ctx.skew(xAngle, yAngle, {\n origin\n });\n break;\n }\n case 'matrix':\n {\n ctx.transform(...value);\n break;\n }\n default:\n {\n console.error(\"Transform operation: '\" + operation + \"' doesn't supported\");\n }\n }\n};\nconst applyTransformations = (ctx, node) => {\n var _node$style, _node$props;\n if (!node.origin) return;\n const origin = [node.origin.left, node.origin.top];\n const operations = ((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.transform) || ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.transform) || [];\n operations.forEach(operation => {\n applySingleTransformation(ctx, operation, origin);\n });\n};\n\n// From https://github.com/dy/svg-path-bounds/blob/master/index.js\nconst getPathBoundingBox = node => {\n var _node$props;\n const path = normalizePath(absPath(parsePath(((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.d) || '')));\n if (!path.length) return [0, 0, 0, 0];\n const bounds = [Infinity, Infinity, -Infinity, -Infinity];\n for (let i = 0, l = path.length; i < l; i += 1) {\n const points = path[i].slice(1);\n for (let j = 0; j < points.length; j += 2) {\n if (points[j + 0] < bounds[0]) bounds[0] = points[j + 0];\n if (points[j + 1] < bounds[1]) bounds[1] = points[j + 1];\n if (points[j + 0] > bounds[2]) bounds[2] = points[j + 0];\n if (points[j + 1] > bounds[3]) bounds[3] = points[j + 1];\n }\n }\n return bounds;\n};\nconst getCircleBoundingBox = node => {\n var _node$props2, _node$props3, _node$props4;\n const r = ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.r) || 0;\n const cx = ((_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.cx) || 0;\n const cy = ((_node$props4 = node.props) === null || _node$props4 === void 0 ? void 0 : _node$props4.cy) || 0;\n return [cx - r, cy - r, cx + r, cy + r];\n};\nconst getEllipseBoundingBox = node => {\n var _node$props5, _node$props6, _node$props7, _node$props8;\n const cx = ((_node$props5 = node.props) === null || _node$props5 === void 0 ? void 0 : _node$props5.cx) || 0;\n const cy = ((_node$props6 = node.props) === null || _node$props6 === void 0 ? void 0 : _node$props6.cy) || 0;\n const rx = ((_node$props7 = node.props) === null || _node$props7 === void 0 ? void 0 : _node$props7.rx) || 0;\n const ry = ((_node$props8 = node.props) === null || _node$props8 === void 0 ? void 0 : _node$props8.ry) || 0;\n return [cx - rx, cy - ry, cx + rx, cy + ry];\n};\nconst getLineBoundingBox = node => {\n var _node$props9, _node$props10, _node$props11, _node$props12;\n const x1 = ((_node$props9 = node.props) === null || _node$props9 === void 0 ? void 0 : _node$props9.x1) || 0;\n const y1 = ((_node$props10 = node.props) === null || _node$props10 === void 0 ? void 0 : _node$props10.y1) || 0;\n const x2 = ((_node$props11 = node.props) === null || _node$props11 === void 0 ? void 0 : _node$props11.x2) || 0;\n const y2 = ((_node$props12 = node.props) === null || _node$props12 === void 0 ? void 0 : _node$props12.y2) || 0;\n return [Math.min(x1, x2), Math.min(y1, y2), Math.max(x1, x2), Math.max(y1, y2)];\n};\nconst getRectBoundingBox = node => {\n var _node$props13, _node$props14, _node$props15, _node$props16;\n const x = ((_node$props13 = node.props) === null || _node$props13 === void 0 ? void 0 : _node$props13.x) || 0;\n const y = ((_node$props14 = node.props) === null || _node$props14 === void 0 ? void 0 : _node$props14.y) || 0;\n const width = ((_node$props15 = node.props) === null || _node$props15 === void 0 ? void 0 : _node$props15.width) || 0;\n const height = ((_node$props16 = node.props) === null || _node$props16 === void 0 ? void 0 : _node$props16.height) || 0;\n return [x, y, x + width, y + height];\n};\nconst max = values => Math.max(-Infinity, ...values);\nconst min = values => Math.min(Infinity, ...values);\nconst getPolylineBoundingBox = node => {\n var _node$props17;\n const points = parsePoints(((_node$props17 = node.props) === null || _node$props17 === void 0 ? void 0 : _node$props17.points) || []);\n const xValues = points.map(p => p[0]);\n const yValues = points.map(p => p[1]);\n return [min(xValues), min(yValues), max(xValues), max(yValues)];\n};\nconst boundingBoxFns = {\n [P.Rect]: getRectBoundingBox,\n [P.Line]: getLineBoundingBox,\n [P.Path]: getPathBoundingBox,\n [P.Circle]: getCircleBoundingBox,\n [P.Ellipse]: getEllipseBoundingBox,\n [P.Polygon]: getPolylineBoundingBox,\n [P.Polyline]: getPolylineBoundingBox\n};\nconst getBoundingBox = node => {\n const boundingBoxFn = boundingBoxFns[node.type];\n return boundingBoxFn ? boundingBoxFn(node) : [0, 0, 0, 0];\n};\n\nconst setStrokeWidth = (ctx, node) => {\n var _node$props;\n const lineWidth = ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.strokeWidth) || 0;\n if (lineWidth) ctx.lineWidth(lineWidth);\n};\nconst setStrokeColor = (ctx, node) => {\n var _node$props2;\n const strokeColor = ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.stroke) || null;\n if (strokeColor) ctx.strokeColor(strokeColor);\n};\nconst setOpacity = (ctx, node) => {\n var _node$props3;\n const opacity = ((_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.opacity) || null;\n if (!isNil(opacity)) ctx.opacity(opacity);\n};\nconst setFillOpacity = (ctx, node) => {\n var _node$props4;\n const fillOpacity = ((_node$props4 = node.props) === null || _node$props4 === void 0 ? void 0 : _node$props4.fillOpacity) || null;\n if (!isNil(fillOpacity)) ctx.fillOpacity(fillOpacity);\n};\nconst setStrokeOpacity = (ctx, node) => {\n var _node$props5;\n const strokeOpacity = ((_node$props5 = node.props) === null || _node$props5 === void 0 ? void 0 : _node$props5.strokeOpacity) || null;\n if (!isNil(strokeOpacity)) ctx.strokeOpacity(strokeOpacity);\n};\nconst setLineJoin = (ctx, node) => {\n var _node$props6;\n const lineJoin = ((_node$props6 = node.props) === null || _node$props6 === void 0 ? void 0 : _node$props6.strokeLinejoin) || null;\n if (lineJoin) ctx.lineJoin(lineJoin);\n};\nconst setLineCap = (ctx, node) => {\n var _node$props7;\n const lineCap = ((_node$props7 = node.props) === null || _node$props7 === void 0 ? void 0 : _node$props7.strokeLinecap) || null;\n if (lineCap) ctx.lineCap(lineCap);\n};\nconst setLineDash = (ctx, node) => {\n var _node$props8;\n const value = ((_node$props8 = node.props) === null || _node$props8 === void 0 ? void 0 : _node$props8.strokeDasharray) || null;\n if (value) ctx.dash(value.split(',').map(Number));\n};\nconst hasLinearGradientFill = node => {\n var _node$props9, _node$props9$fill;\n return ((_node$props9 = node.props) === null || _node$props9 === void 0 ? void 0 : (_node$props9$fill = _node$props9.fill) === null || _node$props9$fill === void 0 ? void 0 : _node$props9$fill.type) === P.LinearGradient;\n};\nconst hasRadialGradientFill = node => {\n var _node$props10, _node$props10$fill;\n return ((_node$props10 = node.props) === null || _node$props10 === void 0 ? void 0 : (_node$props10$fill = _node$props10.fill) === null || _node$props10$fill === void 0 ? void 0 : _node$props10$fill.type) === P.RadialGradient;\n};\n\n// Math simplified from https://github.com/devongovett/svgkit/blob/master/src/elements/SVGGradient.js#L104\nconst setLinearGradientFill = (ctx, node) => {\n var _node$props11;\n const bbox = getBoundingBox(node);\n const gradient = ((_node$props11 = node.props) === null || _node$props11 === void 0 ? void 0 : _node$props11.fill) || null;\n const x1 = gradient.props.x1 || 0;\n const y1 = gradient.props.y1 || 0;\n const x2 = gradient.props.x2 || 1;\n const y2 = gradient.props.y2 || 0;\n const m0 = bbox[2] - bbox[0];\n const m3 = bbox[3] - bbox[1];\n const m4 = bbox[0];\n const m5 = bbox[1];\n const gx1 = m0 * x1 + m4;\n const gy1 = m3 * y1 + m5;\n const gx2 = m0 * x2 + m4;\n const gy2 = m3 * y2 + m5;\n const grad = ctx.linearGradient(gx1, gy1, gx2, gy2);\n gradient.children.forEach(stop => {\n grad.stop(stop.props.offset, stop.props.stopColor, stop.props.stopOpacity);\n });\n ctx.fill(grad);\n};\n\n// Math simplified from https://github.com/devongovett/svgkit/blob/master/src/elements/SVGGradient.js#L155\nconst setRadialGradientFill = (ctx, node) => {\n var _node$props12;\n const bbox = getBoundingBox(node);\n const gradient = ((_node$props12 = node.props) === null || _node$props12 === void 0 ? void 0 : _node$props12.fill) || null;\n const cx = gradient.props.cx || 0.5;\n const cy = gradient.props.cy || 0.5;\n const fx = gradient.props.fx || cx;\n const fy = gradient.props.fy || cy;\n const r = gradient.props.r || 0.5;\n const m0 = bbox[2] - bbox[0];\n const m3 = bbox[3] - bbox[1];\n const m4 = bbox[0];\n const m5 = bbox[1];\n const gr = r * m0;\n const gcx = m0 * cx + m4;\n const gcy = m3 * cy + m5;\n const gfx = m0 * fx + m4;\n const gfy = m3 * fy + m5;\n const grad = ctx.radialGradient(gfx, gfy, 0, gcx, gcy, gr);\n gradient.children.forEach(stop => {\n grad.stop(stop.props.offset, stop.props.stopColor, stop.props.stopOpacity);\n });\n ctx.fill(grad);\n};\nconst setFillColor = (ctx, node) => {\n var _node$props13;\n const fillColor = ((_node$props13 = node.props) === null || _node$props13 === void 0 ? void 0 : _node$props13.fill) || null;\n if (fillColor) ctx.fillColor(fillColor);\n};\nconst setFill = (ctx, node) => {\n if (hasLinearGradientFill(node)) return setLinearGradientFill(ctx, node);\n if (hasRadialGradientFill(node)) return setRadialGradientFill(ctx, node);\n return setFillColor(ctx, node);\n};\nconst draw = (ctx, node) => {\n const props = node.props || {};\n if (props.fill && props.stroke) {\n ctx.fillAndStroke(props.fillRule);\n } else if (props.fill) {\n ctx.fill(props.fillRule);\n } else if (props.stroke) {\n ctx.stroke();\n } else {\n ctx.save();\n ctx.opacity(0);\n ctx.fill(null);\n ctx.restore();\n }\n};\nconst noop = () => {};\nconst renderFns$1 = {\n [P.Tspan]: noop,\n [P.TextInstance]: noop,\n [P.Path]: renderPath,\n [P.Rect]: renderRect,\n [P.Line]: renderLine$1,\n [P.G]: renderGroup,\n [P.Text]: renderSvgText,\n [P.Circle]: renderCircle,\n [P.Image]: renderImage$1,\n [P.Ellipse]: renderEllipse,\n [P.Polygon]: renderPolygon,\n [P.Polyline]: renderPolyline\n};\nconst renderNode$1 = (ctx, node) => {\n const renderFn = renderFns$1[node.type];\n if (renderFn) {\n renderFn(ctx, node);\n } else {\n console.warn(\"SVG node of type \" + node.type + \" is not currently supported\");\n }\n};\nconst drawNode = (ctx, node) => {\n setLineCap(ctx, node);\n setLineDash(ctx, node);\n setLineJoin(ctx, node);\n setStrokeWidth(ctx, node);\n setStrokeColor(ctx, node);\n setFill(ctx, node);\n setStrokeOpacity(ctx, node);\n setFillOpacity(ctx, node);\n setOpacity(ctx, node);\n applyTransformations(ctx, node);\n renderNode$1(ctx, node);\n draw(ctx, node);\n};\nconst clipPath = (ctx, node) => {\n var _node$props14;\n const value = (_node$props14 = node.props) === null || _node$props14 === void 0 ? void 0 : _node$props14.clipPath;\n if (value) {\n const children = value.children || [];\n children.forEach(child => renderNode$1(ctx, child));\n ctx.clip();\n }\n};\nconst drawChildren = (ctx, node) => {\n const children = node.children || [];\n children.forEach(child => {\n ctx.save();\n clipPath(ctx, child);\n drawNode(ctx, child);\n drawChildren(ctx, child);\n ctx.restore();\n });\n};\nconst resolveAspectRatio = (ctx, node) => {\n const {\n width,\n height\n } = node.box;\n const {\n viewBox,\n preserveAspectRatio = {}\n } = node.props;\n const {\n meetOrSlice = 'meet',\n align = 'xMidYMid'\n } = preserveAspectRatio;\n if (viewBox == null || width == null || height == null) return;\n const x = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.minX) || 0;\n const y = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.minY) || 0;\n const logicalWidth = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.maxX) || width;\n const logicalHeight = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.maxY) || height;\n const logicalRatio = logicalWidth / logicalHeight;\n const physicalRatio = width / height;\n const scaleX = width / logicalWidth;\n const scaleY = height / logicalHeight;\n if (align === 'none') {\n ctx.scale(scaleX, scaleY);\n ctx.translate(-x, -y);\n return;\n }\n if (logicalRatio < physicalRatio && meetOrSlice === 'meet' || logicalRatio >= physicalRatio && meetOrSlice === 'slice') {\n ctx.scale(scaleY, scaleY);\n switch (align) {\n case 'xMinYMin':\n case 'xMinYMid':\n case 'xMinYMax':\n ctx.translate(-x, -y);\n break;\n case 'xMidYMin':\n case 'xMidYMid':\n case 'xMidYMax':\n ctx.translate(-x - (logicalWidth - width * logicalHeight / height) / 2, -y);\n break;\n default:\n ctx.translate(-x - (logicalWidth - width * logicalHeight / height), -y);\n }\n } else {\n ctx.scale(scaleX, scaleX);\n switch (align) {\n case 'xMinYMin':\n case 'xMidYMin':\n case 'xMaxYMin':\n ctx.translate(-x, -y);\n break;\n case 'xMinYMid':\n case 'xMidYMid':\n case 'xMaxYMid':\n ctx.translate(-x, -y - (logicalHeight - height * logicalWidth / width) / 2);\n break;\n default:\n ctx.translate(-x, -y - (logicalHeight - height * logicalWidth / width));\n }\n }\n};\nconst moveToOrigin = (ctx, node) => {\n const {\n top,\n left\n } = node.box;\n const paddingLeft = node.box.paddingLeft || 0;\n const paddingTop = node.box.paddingTop || 0;\n ctx.translate(left + paddingLeft, top + paddingTop);\n};\nconst renderSvg = (ctx, node) => {\n ctx.save();\n clipNode(ctx, node);\n moveToOrigin(ctx, node);\n resolveAspectRatio(ctx, node);\n drawChildren(ctx, node);\n ctx.restore();\n};\n\nconst black = {\n value: [0, 0, 0],\n opacity: 1\n};\nconst parseColor = hex => {\n const parsed = colorString.get(hex);\n if (!parsed) return black;\n const value = colorString.to.hex(parsed.value.slice(0, 3));\n const opacity = parsed.value[3];\n return {\n value,\n opacity\n };\n};\n\n/* eslint-disable no-param-reassign */\nconst DEST_REGEXP = /^#.+/;\nconst isSrcId$1 = src => src.match(DEST_REGEXP);\nconst renderAttachment = (ctx, attachment) => {\n const {\n xOffset = 0,\n yOffset = 0,\n width,\n height,\n image\n } = attachment;\n ctx.translate(-width + xOffset, -height + yOffset);\n ctx.image(image, 0, 0, {\n fit: [width, height],\n align: 'center',\n valign: 'bottom'\n });\n};\nconst renderAttachments = (ctx, run) => {\n ctx.save();\n const {\n font\n } = run.attributes;\n const space = font.glyphForCodePoint(0x20);\n const objectReplacement = font.glyphForCodePoint(0xfffc);\n let attachmentAdvance = 0;\n for (let i = 0; i < run.glyphs.length; i += 1) {\n const position = run.positions[i];\n const glyph = run.glyphs[i];\n attachmentAdvance += position.xAdvance || 0;\n if (glyph.id === objectReplacement.id && run.attributes.attachment) {\n ctx.translate(attachmentAdvance, position.yOffset || 0);\n renderAttachment(ctx, run.attributes.attachment);\n run.glyphs[i] = space;\n attachmentAdvance = 0;\n }\n }\n ctx.restore();\n};\nconst renderRun = (ctx, run, options) => {\n const {\n font,\n fontSize,\n link\n } = run.attributes;\n const color = parseColor(run.attributes.color);\n const opacity = isNil(run.attributes.opacity) ? color.opacity : run.attributes.opacity;\n const {\n height,\n descent,\n xAdvance\n } = run;\n if (options.outlineRuns) {\n ctx.rect(0, -height, xAdvance, height).stroke();\n }\n ctx.fillColor(color.value);\n ctx.fillOpacity(opacity);\n if (link) {\n if (isSrcId$1(link)) {\n ctx.goTo(0, -height - descent, xAdvance, height, link.slice(1));\n } else {\n ctx.link(0, -height - descent, xAdvance, height, link);\n }\n }\n renderAttachments(ctx, run);\n if (font.sbix || font.COLR && font.CPAL) {\n ctx.save();\n ctx.translate(0, -run.ascent);\n for (let i = 0; i < run.glyphs.length; i += 1) {\n const position = run.positions[i];\n const glyph = run.glyphs[i];\n ctx.save();\n ctx.translate(position.xOffset, position.yOffset);\n glyph.render(ctx, fontSize);\n ctx.restore();\n ctx.translate(position.xAdvance, position.yAdvance);\n }\n ctx.restore();\n } else {\n ctx.font(typeof font.name === 'string' ? font.name : font, fontSize);\n try {\n renderGlyphs(ctx, run.glyphs, run.positions, 0, 0);\n } catch (error) {\n console.log(error);\n }\n }\n ctx.translate(xAdvance, 0);\n};\nconst renderBackground$1 = (ctx, rect, backgroundColor) => {\n const color = parseColor(backgroundColor);\n ctx.save();\n ctx.fillOpacity(color.opacity);\n ctx.rect(rect.x, rect.y, rect.width, rect.height);\n ctx.fill(color.value);\n ctx.restore();\n};\nconst renderDecorationLine = (ctx, line) => {\n ctx.save();\n ctx.lineWidth(line.rect.height);\n ctx.strokeOpacity(line.opacity);\n if (/dashed/.test(line.style)) {\n ctx.dash(3 * line.rect.height);\n } else if (/dotted/.test(line.style)) {\n ctx.dash(line.rect.height);\n }\n if (/wavy/.test(line.style)) {\n const dist = Math.max(2, line.rect.height);\n let step = 1.1 * dist;\n const stepCount = Math.floor(line.rect.width / (2 * step));\n\n // Adjust step to fill entire width\n const remainingWidth = line.rect.width - stepCount * 2 * step;\n const adjustment = remainingWidth / stepCount / 2;\n step += adjustment;\n const cp1y = line.rect.y + dist;\n const cp2y = line.rect.y - dist;\n let {\n x\n } = line.rect;\n ctx.moveTo(line.rect.x, line.rect.y);\n for (let i = 0; i < stepCount; i += 1) {\n ctx.bezierCurveTo(x + step, cp1y, x + step, cp2y, x + 2 * step, line.rect.y);\n x += 2 * step;\n }\n } else {\n ctx.moveTo(line.rect.x, line.rect.y);\n ctx.lineTo(line.rect.x + line.rect.width, line.rect.y);\n if (/double/.test(line.style)) {\n ctx.moveTo(line.rect.x, line.rect.y + line.rect.height * 2);\n ctx.lineTo(line.rect.x + line.rect.width, line.rect.y + line.rect.height * 2);\n }\n }\n ctx.stroke(line.color);\n ctx.restore();\n};\nconst renderLine = (ctx, line, options) => {\n const lineAscent = line.ascent;\n if (options.outlineLines) {\n ctx.rect(line.box.x, line.box.y, line.box.width, line.box.height).stroke();\n }\n ctx.save();\n ctx.translate(line.box.x, line.box.y + lineAscent);\n for (let i = 0; i < line.runs.length; i += 1) {\n const run = line.runs[i];\n const isLastRun = i === line.runs.length - 1;\n if (run.attributes.backgroundColor) {\n const overflowRight = isLastRun ? line.overflowRight : 0;\n const backgroundRect = {\n x: 0,\n y: -lineAscent,\n height: line.box.height,\n width: run.xAdvance - overflowRight\n };\n renderBackground$1(ctx, backgroundRect, run.attributes.backgroundColor);\n }\n renderRun(ctx, run, options);\n }\n ctx.restore();\n ctx.save();\n ctx.translate(line.box.x, line.box.y);\n for (let i = 0; i < line.decorationLines.length; i += 1) {\n const decorationLine = line.decorationLines[i];\n renderDecorationLine(ctx, decorationLine);\n }\n ctx.restore();\n};\nconst renderBlock = (ctx, block, options) => {\n block.forEach(line => {\n renderLine(ctx, line, options);\n });\n};\nconst renderText = (ctx, node) => {\n var _node$box, _node$box2;\n const {\n top,\n left\n } = node.box;\n const blocks = [node.lines];\n const paddingTop = ((_node$box = node.box) === null || _node$box === void 0 ? void 0 : _node$box.paddingTop) || 0;\n const paddingLeft = ((_node$box2 = node.box) === null || _node$box2 === void 0 ? void 0 : _node$box2.paddingLeft) || 0;\n const initialY = node.lines[0] ? node.lines[0].box.y : 0;\n const offsetX = node.alignOffset || 0;\n ctx.save();\n ctx.translate(left + paddingLeft - offsetX, top + paddingTop - initialY);\n blocks.forEach(block => {\n renderBlock(ctx, block, {});\n });\n ctx.restore();\n};\n\nconst renderPage = (ctx, node) => {\n var _node$props;\n const {\n width,\n height\n } = node.box;\n const dpi = ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.dpi) || 72;\n const userUnit = dpi / 72;\n ctx.addPage({\n size: [width, height],\n margin: 0,\n userUnit\n });\n};\n\nconst renderNote = (ctx, node) => {\n var _node$children, _node$style, _node$style2;\n const {\n top,\n left\n } = node.box;\n const value = (node === null || node === void 0 ? void 0 : (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children[0].value) || '';\n const color = ((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.backgroundColor) || null;\n const borderWidth = ((_node$style2 = node.style) === null || _node$style2 === void 0 ? void 0 : _node$style2.borderWidth) || null;\n ctx.note(left, top, 0, 0, value, {\n color,\n borderWidth\n });\n};\n\nconst isNumeric = n => {\n return !Number.isNaN(parseFloat(n)) && Number.isFinite(n);\n};\nconst applyContainObjectFit = (cw, ch, iw, ih, px, py) => {\n const cr = cw / ch;\n const ir = iw / ih;\n const pxp = matchPercent(px);\n const pyp = matchPercent(py);\n const pxv = pxp ? pxp.percent : 0.5;\n const pyv = pyp ? pyp.percent : 0.5;\n if (cr > ir) {\n const height = ch;\n const width = height * ir;\n const yOffset = isNumeric(py) ? py : 0;\n const xOffset = isNumeric(px) ? px : (cw - width) * pxv;\n return {\n width,\n height,\n xOffset,\n yOffset\n };\n }\n const width = cw;\n const height = width / ir;\n const xOffset = isNumeric(px) ? px : 0;\n const yOffset = isNumeric(py) ? py : (ch - height) * pyv;\n return {\n width,\n height,\n yOffset,\n xOffset\n };\n};\nconst applyNoneObjectFit = (cw, ch, iw, ih, px, py) => {\n const width = iw;\n const height = ih;\n const pxp = matchPercent(px);\n const pyp = matchPercent(py);\n const pxv = pxp ? pxp.percent : 0.5;\n const pyv = pyp ? pyp.percent : 0.5;\n const xOffset = isNumeric(px) ? px : (cw - width) * pxv;\n const yOffset = isNumeric(py) ? py : (ch - height) * pyv;\n return {\n width,\n height,\n xOffset,\n yOffset\n };\n};\nconst applyCoverObjectFit = (cw, ch, iw, ih, px, py) => {\n const ir = iw / ih;\n const cr = cw / ch;\n const pxp = matchPercent(px);\n const pyp = matchPercent(py);\n const pxv = pxp ? pxp.percent : 0.5;\n const pyv = pyp ? pyp.percent : 0.5;\n if (cr > ir) {\n const width = cw;\n const height = width / ir;\n const xOffset = isNumeric(px) ? px : 0;\n const yOffset = isNumeric(py) ? py : (ch - height) * pyv;\n return {\n width,\n height,\n yOffset,\n xOffset\n };\n }\n const height = ch;\n const width = height * ir;\n const xOffset = isNumeric(px) ? px : (cw - width) * pxv;\n const yOffset = isNumeric(py) ? py : 0;\n return {\n width,\n height,\n xOffset,\n yOffset\n };\n};\nconst applyScaleDownObjectFit = (cw, ch, iw, ih, px, py) => {\n const containDimension = applyContainObjectFit(cw, ch, iw, ih, px, py);\n const noneDimension = applyNoneObjectFit(cw, ch, iw, ih, px, py);\n return containDimension.width < noneDimension.width ? containDimension : noneDimension;\n};\nconst applyFillObjectFit = (cw, ch, px, py) => {\n return {\n width: cw,\n height: ch,\n xOffset: matchPercent(px) ? 0 : px || 0,\n yOffset: matchPercent(py) ? 0 : py || 0\n };\n};\nconst resolveObjectFit = function (type, cw, ch, iw, ih, px, py) {\n if (type === void 0) {\n type = 'fill';\n }\n switch (type) {\n case 'contain':\n return applyContainObjectFit(cw, ch, iw, ih, px, py);\n case 'cover':\n return applyCoverObjectFit(cw, ch, iw, ih, px, py);\n case 'none':\n return applyNoneObjectFit(cw, ch, iw, ih, px, py);\n case 'scale-down':\n return applyScaleDownObjectFit(cw, ch, iw, ih, px, py);\n default:\n return applyFillObjectFit(cw, ch, px, py);\n }\n};\n\nconst drawImage = function (ctx, node, options) {\n var _node$style, _node$style2, _node$style3, _node$style4;\n if (options === void 0) {\n options = {};\n }\n const {\n left,\n top\n } = node.box;\n const opacity = (_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.opacity;\n const objectFit = (_node$style2 = node.style) === null || _node$style2 === void 0 ? void 0 : _node$style2.objectFit;\n const objectPositionX = (_node$style3 = node.style) === null || _node$style3 === void 0 ? void 0 : _node$style3.objectPositionX;\n const objectPositionY = (_node$style4 = node.style) === null || _node$style4 === void 0 ? void 0 : _node$style4.objectPositionY;\n const paddingTop = node.box.paddingTop || 0;\n const paddingRight = node.box.paddingRight || 0;\n const paddingBottom = node.box.paddingBottom || 0;\n const paddingLeft = node.box.paddingLeft || 0;\n const imageCache = options.imageCache || new Map();\n const {\n width,\n height,\n xOffset,\n yOffset\n } = resolveObjectFit(objectFit, node.box.width - paddingLeft - paddingRight, node.box.height - paddingTop - paddingBottom, node.image.width, node.image.height, objectPositionX, objectPositionY);\n if (node.image.data) {\n if (width !== 0 && height !== 0) {\n const cacheKey = node.image.key;\n const image = imageCache.get(cacheKey) || ctx.embedImage(node.image.data);\n if (cacheKey) imageCache.set(cacheKey, image);\n const imageOpacity = isNil(opacity) ? 1 : opacity;\n ctx.fillOpacity(imageOpacity).image(image, left + paddingLeft + xOffset, top + paddingTop + yOffset, {\n width,\n height\n });\n } else {\n console.warn(\"Image with src '\" + JSON.stringify(node.props.src) + \"' skipped due to invalid dimensions\");\n }\n }\n};\nconst renderImage = (ctx, node, options) => {\n ctx.save();\n clipNode(ctx, node);\n drawImage(ctx, node, options);\n ctx.restore();\n};\n\nconst CONTENT_COLOR = '#a1c6e7';\nconst PADDING_COLOR = '#c4deb9';\nconst MARGIN_COLOR = '#f8cca1';\n\n// TODO: Draw debug boxes using clipping to enhance quality\n\nconst debugContent = (ctx, node) => {\n const {\n left,\n top,\n width,\n height,\n paddingLeft = 0,\n paddingTop = 0,\n paddingRight = 0,\n paddingBottom = 0,\n borderLeftWidth = 0,\n borderTopWidth = 0,\n borderRightWidth = 0,\n borderBottomWidth = 0\n } = node.box;\n ctx.fillColor(CONTENT_COLOR).opacity(0.5).rect(left + paddingLeft + borderLeftWidth, top + paddingTop + borderTopWidth, width - paddingLeft - paddingRight - borderRightWidth - borderLeftWidth, height - paddingTop - paddingBottom - borderTopWidth - borderBottomWidth).fill();\n};\nconst debugPadding = (ctx, node) => {\n const {\n left,\n top,\n width,\n height,\n paddingLeft = 0,\n paddingTop = 0,\n paddingRight = 0,\n paddingBottom = 0,\n borderLeftWidth = 0,\n borderTopWidth = 0,\n borderRightWidth = 0,\n borderBottomWidth = 0\n } = node.box;\n ctx.fillColor(PADDING_COLOR).opacity(0.5);\n\n // Padding top\n ctx.rect(left + paddingLeft + borderLeftWidth, top + borderTopWidth, width - paddingRight - paddingLeft - borderLeftWidth - borderRightWidth, paddingTop).fill();\n\n // Padding left\n ctx.rect(left + borderLeftWidth, top + borderTopWidth, paddingLeft, height - borderTopWidth - borderBottomWidth).fill();\n\n // Padding right\n ctx.rect(left + width - paddingRight - borderRightWidth, top + borderTopWidth, paddingRight, height - borderTopWidth - borderBottomWidth).fill();\n\n // Padding bottom\n ctx.rect(left + paddingLeft + borderLeftWidth, top + height - paddingBottom - borderBottomWidth, width - paddingRight - paddingLeft - borderLeftWidth - borderRightWidth, paddingBottom).fill();\n};\nconst getMargin = box => {\n const marginLeft = box.marginLeft === 'auto' ? 0 : box.marginLeft;\n const marginTop = box.marginTop === 'auto' ? 0 : box.marginTop;\n const marginRight = box.marginRight === 'auto' ? 0 : box.marginRight;\n const marginBottom = box.marginBottom === 'auto' ? 0 : box.marginBottom;\n return {\n marginLeft,\n marginTop,\n marginRight,\n marginBottom\n };\n};\nconst debugMargin = (ctx, node) => {\n const {\n left,\n top,\n width,\n height\n } = node.box;\n const {\n marginLeft = 0,\n marginTop = 0,\n marginRight = 0,\n marginBottom = 0\n } = getMargin(node.box);\n ctx.fillColor(MARGIN_COLOR).opacity(0.5);\n\n // Margin top\n ctx.rect(left, top - marginTop, width, marginTop).fill();\n\n // Margin left\n ctx.rect(left - marginLeft, top - marginTop, marginLeft, height + marginTop + marginBottom).fill();\n\n // Margin right\n ctx.rect(left + width, top - marginTop, marginRight, height + marginTop + marginBottom).fill();\n\n // Margin bottom\n ctx.rect(left, top + height, width, marginBottom).fill();\n};\nconst debugText = (ctx, node) => {\n const {\n left,\n top,\n width,\n height\n } = node.box;\n const {\n marginLeft = 0,\n marginTop = 0,\n marginRight = 0,\n marginBottom = 0\n } = getMargin(node.box);\n const roundedWidth = Math.round(width + marginLeft + marginRight);\n const roundedHeight = Math.round(height + marginTop + marginBottom);\n ctx.fontSize(6).opacity(1).fillColor('black').text(roundedWidth + \" x \" + roundedHeight, left - marginLeft, Math.max(top - marginTop - 4, 1));\n};\nconst debugOrigin = (ctx, node) => {\n if (node.origin) {\n ctx.circle(node.origin.left, node.origin.top, 3).fill('red').circle(node.origin.left, node.origin.top, 5).stroke('red');\n }\n};\nconst renderDebug = (ctx, node) => {\n var _node$props;\n if (!((_node$props = node.props) !== null && _node$props !== void 0 && _node$props.debug)) return;\n ctx.save();\n debugContent(ctx, node);\n debugPadding(ctx, node);\n debugMargin(ctx, node);\n debugText(ctx, node);\n debugOrigin(ctx, node);\n ctx.restore();\n};\n\nconst availableMethods = ['dash', 'clip', 'save', 'path', 'fill', 'font', 'text', 'rect', 'scale', 'moveTo', 'lineTo', 'stroke', 'rotate', 'circle', 'lineCap', 'opacity', 'ellipse', 'polygon', 'restore', 'lineJoin', 'fontSize', 'fillColor', 'lineWidth', 'translate', 'miterLimit', 'strokeColor', 'fillOpacity', 'roundedRect', 'fillAndStroke', 'strokeOpacity', 'bezierCurveTo', 'quadraticCurveTo', 'linearGradient', 'radialGradient'];\nconst painter = ctx => {\n const p = availableMethods.reduce((acc, prop) => ({\n ...acc,\n [prop]: function () {\n ctx[prop](...arguments);\n return p;\n }\n }), {});\n return p;\n};\nconst renderCanvas = (ctx, node) => {\n const {\n top,\n left,\n width,\n height\n } = node.box;\n const paddingTop = node.box.paddingTop || 0;\n const paddingLeft = node.box.paddingLeft || 0;\n const paddingRight = node.box.paddingRight || 0;\n const paddingBottom = node.box.paddingBottom || 0;\n const availableWidth = width - paddingLeft - paddingRight;\n const availableHeight = height - paddingTop - paddingBottom;\n if (!availableWidth || !availableHeight) {\n console.warn('Canvas element has null width or height. Please provide valid values via the `style` prop in order to correctly render it.');\n }\n ctx.save().translate(left + paddingLeft, top + paddingTop);\n if (node.props.paint) {\n node.props.paint(painter(ctx), availableWidth, availableHeight);\n }\n ctx.restore();\n};\n\n// Ref: https://www.w3.org/TR/css-backgrounds-3/#borders\n\n// This constant is used to approximate a symmetrical arc using a cubic Bezier curve.\nconst KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0);\nconst clipBorderTop = (ctx, layout, style, rtr, rtl) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderTopWidth,\n borderRightWidth,\n borderLeftWidth\n } = style;\n\n // Clip outer top border edge\n ctx.moveTo(left + rtl, top);\n ctx.lineTo(left + width - rtr, top);\n\n // Ellipse coefficients outer top right cap\n const c0 = rtr * (1.0 - KAPPA);\n\n // Clip outer top right cap\n ctx.bezierCurveTo(left + width - c0, top, left + width, top + c0, left + width, top + rtr);\n\n // Move down in case the margin exceedes the radius\n const topRightYCoord = top + Math.max(borderTopWidth, rtr);\n ctx.lineTo(left + width, topRightYCoord);\n\n // Clip inner top right cap\n ctx.lineTo(left + width - borderRightWidth, topRightYCoord);\n\n // Ellipse coefficients inner top right cap\n const innerTopRightRadiusX = Math.max(rtr - borderRightWidth, 0);\n const innerTopRightRadiusY = Math.max(rtr - borderTopWidth, 0);\n const c1 = innerTopRightRadiusX * (1.0 - KAPPA);\n const c2 = innerTopRightRadiusY * (1.0 - KAPPA);\n\n // Clip inner top right cap\n ctx.bezierCurveTo(left + width - borderRightWidth, top + borderTopWidth + c2, left + width - borderRightWidth - c1, top + borderTopWidth, left + width - borderRightWidth - innerTopRightRadiusX, top + borderTopWidth);\n\n // Clip inner top border edge\n ctx.lineTo(left + Math.max(rtl, borderLeftWidth), top + borderTopWidth);\n\n // Ellipse coefficients inner top left cap\n const innerTopLeftRadiusX = Math.max(rtl - borderLeftWidth, 0);\n const innerTopLeftRadiusY = Math.max(rtl - borderTopWidth, 0);\n const c3 = innerTopLeftRadiusX * (1.0 - KAPPA);\n const c4 = innerTopLeftRadiusY * (1.0 - KAPPA);\n const topLeftYCoord = top + Math.max(borderTopWidth, rtl);\n\n // Clip inner top left cap\n ctx.bezierCurveTo(left + borderLeftWidth + c3, top + borderTopWidth, left + borderLeftWidth, top + borderTopWidth + c4, left + borderLeftWidth, topLeftYCoord);\n ctx.lineTo(left, topLeftYCoord);\n\n // Move down in case the margin exceedes the radius\n ctx.lineTo(left, top + rtl);\n\n // Ellipse coefficients outer top left cap\n const c5 = rtl * (1.0 - KAPPA);\n\n // Clip outer top left cap\n ctx.bezierCurveTo(left, top + c5, left + c5, top, left + rtl, top);\n ctx.closePath();\n ctx.clip();\n\n // Clip border top cap joins\n if (borderRightWidth) {\n const trSlope = -borderTopWidth / borderRightWidth;\n ctx.moveTo(left + width / 2, trSlope * (-width / 2) + top);\n ctx.lineTo(left + width, top);\n ctx.lineTo(left, top);\n ctx.lineTo(left, top + height);\n ctx.closePath();\n ctx.clip();\n }\n if (borderLeftWidth) {\n const trSlope = -borderTopWidth / borderLeftWidth;\n ctx.moveTo(left + width / 2, trSlope * (-width / 2) + top);\n ctx.lineTo(left, top);\n ctx.lineTo(left + width, top);\n ctx.lineTo(left + width, top + height);\n ctx.closePath();\n ctx.clip();\n }\n};\nconst fillBorderTop = (ctx, layout, style, rtr, rtl) => {\n const {\n top,\n left,\n width\n } = layout;\n const {\n borderTopColor,\n borderTopWidth,\n borderTopStyle,\n borderRightWidth,\n borderLeftWidth\n } = style;\n const c0 = rtl * (1.0 - KAPPA);\n const c1 = rtr * (1.0 - KAPPA);\n ctx.moveTo(left, top + Math.max(rtl, borderTopWidth));\n ctx.bezierCurveTo(left, top + c0, left + c0, top, left + rtl, top);\n ctx.lineTo(left + width - rtr, top);\n ctx.bezierCurveTo(left + width - c1, top, left + width, top + c1, left + width, top + rtr);\n ctx.strokeColor(borderTopColor);\n ctx.lineWidth(Math.max(borderRightWidth, borderTopWidth, borderLeftWidth) * 2);\n if (borderTopStyle === 'dashed') {\n ctx.dash(borderTopWidth * 2, {\n space: borderTopWidth * 1.2\n });\n } else if (borderTopStyle === 'dotted') {\n ctx.dash(borderTopWidth, {\n space: borderTopWidth * 1.2\n });\n }\n ctx.stroke();\n ctx.undash();\n};\nconst clipBorderRight = (ctx, layout, style, rtr, rbr) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderTopWidth,\n borderRightWidth,\n borderBottomWidth\n } = style;\n\n // Clip outer right border edge\n ctx.moveTo(left + width, top + rtr);\n ctx.lineTo(left + width, top + height - rbr);\n\n // Ellipse coefficients outer bottom right cap\n const c0 = rbr * (1.0 - KAPPA);\n\n // Clip outer top right cap\n ctx.bezierCurveTo(left + width, top + height - c0, left + width - c0, top + height, left + width - rbr, top + height);\n\n // Move left in case the margin exceedes the radius\n const topBottomXCoord = left + width - Math.max(borderRightWidth, rbr);\n ctx.lineTo(topBottomXCoord, top + height);\n\n // Clip inner bottom right cap\n ctx.lineTo(topBottomXCoord, top + height - borderBottomWidth);\n\n // Ellipse coefficients inner bottom right cap\n const innerBottomRightRadiusX = Math.max(rbr - borderRightWidth, 0);\n const innerBottomRightRadiusY = Math.max(rbr - borderBottomWidth, 0);\n const c1 = innerBottomRightRadiusX * (1.0 - KAPPA);\n const c2 = innerBottomRightRadiusY * (1.0 - KAPPA);\n\n // Clip inner top right cap\n ctx.bezierCurveTo(left + width - borderRightWidth - c1, top + height - borderBottomWidth, left + width - borderRightWidth, top + height - borderBottomWidth - c2, left + width - borderRightWidth, top + height - Math.max(rbr, borderBottomWidth));\n\n // Clip inner right border edge\n ctx.lineTo(left + width - borderRightWidth, top + Math.max(rtr, borderTopWidth));\n\n // Ellipse coefficients inner top right cap\n const innerTopRightRadiusX = Math.max(rtr - borderRightWidth, 0);\n const innerTopRightRadiusY = Math.max(rtr - borderTopWidth, 0);\n const c3 = innerTopRightRadiusX * (1.0 - KAPPA);\n const c4 = innerTopRightRadiusY * (1.0 - KAPPA);\n const topRightXCoord = left + width - Math.max(rtr, borderRightWidth);\n\n // Clip inner top left cap\n ctx.bezierCurveTo(left + width - borderRightWidth, top + borderTopWidth + c4, left + width - borderRightWidth - c3, top + borderTopWidth, topRightXCoord, top + borderTopWidth);\n ctx.lineTo(topRightXCoord, top);\n\n // Move right in case the margin exceedes the radius\n ctx.lineTo(left + width - rtr, top);\n\n // Ellipse coefficients outer top right cap\n const c5 = rtr * (1.0 - KAPPA);\n\n // Clip outer top right cap\n ctx.bezierCurveTo(left + width - c5, top, left + width, top + c5, left + width, top + rtr);\n ctx.closePath();\n ctx.clip();\n\n // Clip border right cap joins\n if (borderTopWidth) {\n const trSlope = -borderTopWidth / borderRightWidth;\n ctx.moveTo(left + width / 2, trSlope * (-width / 2) + top);\n ctx.lineTo(left + width, top);\n ctx.lineTo(left + width, top + height);\n ctx.lineTo(left, top + height);\n ctx.closePath();\n ctx.clip();\n }\n if (borderBottomWidth) {\n const brSlope = borderBottomWidth / borderRightWidth;\n ctx.moveTo(left + width / 2, brSlope * (-width / 2) + top + height);\n ctx.lineTo(left + width, top + height);\n ctx.lineTo(left + width, top);\n ctx.lineTo(left, top);\n ctx.closePath();\n ctx.clip();\n }\n};\nconst fillBorderRight = (ctx, layout, style, rtr, rbr) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderRightColor,\n borderRightStyle,\n borderRightWidth,\n borderTopWidth,\n borderBottomWidth\n } = style;\n const c0 = rbr * (1.0 - KAPPA);\n const c1 = rtr * (1.0 - KAPPA);\n ctx.moveTo(left + width - rtr, top);\n ctx.bezierCurveTo(left + width - c1, top, left + width, top + c1, left + width, top + rtr);\n ctx.lineTo(left + width, top + height - rbr);\n ctx.bezierCurveTo(left + width, top + height - c0, left + width - c0, top + height, left + width - rbr, top + height);\n ctx.strokeColor(borderRightColor);\n ctx.lineWidth(Math.max(borderRightWidth, borderTopWidth, borderBottomWidth) * 2);\n if (borderRightStyle === 'dashed') {\n ctx.dash(borderRightWidth * 2, {\n space: borderRightWidth * 1.2\n });\n } else if (borderRightStyle === 'dotted') {\n ctx.dash(borderRightWidth, {\n space: borderRightWidth * 1.2\n });\n }\n ctx.stroke();\n ctx.undash();\n};\nconst clipBorderBottom = (ctx, layout, style, rbl, rbr) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderBottomWidth,\n borderRightWidth,\n borderLeftWidth\n } = style;\n\n // Clip outer top border edge\n ctx.moveTo(left + width - rbr, top + height);\n ctx.lineTo(left + rbl, top + height);\n\n // Ellipse coefficients outer top right cap\n const c0 = rbl * (1.0 - KAPPA);\n\n // Clip outer top right cap\n ctx.bezierCurveTo(left + c0, top + height, left, top + height - c0, left, top + height - rbl);\n\n // Move up in case the margin exceedes the radius\n const bottomLeftYCoord = top + height - Math.max(borderBottomWidth, rbl);\n ctx.lineTo(left, bottomLeftYCoord);\n\n // Clip inner bottom left cap\n ctx.lineTo(left + borderLeftWidth, bottomLeftYCoord);\n\n // Ellipse coefficients inner top right cap\n const innerBottomLeftRadiusX = Math.max(rbl - borderLeftWidth, 0);\n const innerBottomLeftRadiusY = Math.max(rbl - borderBottomWidth, 0);\n const c1 = innerBottomLeftRadiusX * (1.0 - KAPPA);\n const c2 = innerBottomLeftRadiusY * (1.0 - KAPPA);\n\n // Clip inner bottom left cap\n ctx.bezierCurveTo(left + borderLeftWidth, top + height - borderBottomWidth - c2, left + borderLeftWidth + c1, top + height - borderBottomWidth, left + borderLeftWidth + innerBottomLeftRadiusX, top + height - borderBottomWidth);\n\n // Clip inner bottom border edge\n ctx.lineTo(left + width - Math.max(rbr, borderRightWidth), top + height - borderBottomWidth);\n\n // Ellipse coefficients inner top left cap\n const innerBottomRightRadiusX = Math.max(rbr - borderRightWidth, 0);\n const innerBottomRightRadiusY = Math.max(rbr - borderBottomWidth, 0);\n const c3 = innerBottomRightRadiusX * (1.0 - KAPPA);\n const c4 = innerBottomRightRadiusY * (1.0 - KAPPA);\n const bottomRightYCoord = top + height - Math.max(borderBottomWidth, rbr);\n\n // Clip inner top left cap\n ctx.bezierCurveTo(left + width - borderRightWidth - c3, top + height - borderBottomWidth, left + width - borderRightWidth, top + height - borderBottomWidth - c4, left + width - borderRightWidth, bottomRightYCoord);\n ctx.lineTo(left + width, bottomRightYCoord);\n\n // Move down in case the margin exceedes the radius\n ctx.lineTo(left + width, top + height - rbr);\n\n // Ellipse coefficients outer top left cap\n const c5 = rbr * (1.0 - KAPPA);\n\n // Clip outer top left cap\n ctx.bezierCurveTo(left + width, top + height - c5, left + width - c5, top + height, left + width - rbr, top + height);\n ctx.closePath();\n ctx.clip();\n\n // Clip border bottom cap joins\n if (borderRightWidth) {\n const brSlope = borderBottomWidth / borderRightWidth;\n ctx.moveTo(left + width / 2, brSlope * (-width / 2) + top + height);\n ctx.lineTo(left + width, top + height);\n ctx.lineTo(left, top + height);\n ctx.lineTo(left, top);\n ctx.closePath();\n ctx.clip();\n }\n if (borderLeftWidth) {\n const trSlope = -borderBottomWidth / borderLeftWidth;\n ctx.moveTo(left + width / 2, trSlope * (width / 2) + top + height);\n ctx.lineTo(left, top + height);\n ctx.lineTo(left + width, top + height);\n ctx.lineTo(left + width, top);\n ctx.closePath();\n ctx.clip();\n }\n};\nconst fillBorderBottom = (ctx, layout, style, rbl, rbr) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderBottomColor,\n borderBottomStyle,\n borderBottomWidth,\n borderRightWidth,\n borderLeftWidth\n } = style;\n const c0 = rbl * (1.0 - KAPPA);\n const c1 = rbr * (1.0 - KAPPA);\n ctx.moveTo(left + width, top + height - rbr);\n ctx.bezierCurveTo(left + width, top + height - c1, left + width - c1, top + height, left + width - rbr, top + height);\n ctx.lineTo(left + rbl, top + height);\n ctx.bezierCurveTo(left + c0, top + height, left, top + height - c0, left, top + height - rbl);\n ctx.strokeColor(borderBottomColor);\n ctx.lineWidth(Math.max(borderBottomWidth, borderRightWidth, borderLeftWidth) * 2);\n if (borderBottomStyle === 'dashed') {\n ctx.dash(borderBottomWidth * 2, {\n space: borderBottomWidth * 1.2\n });\n } else if (borderBottomStyle === 'dotted') {\n ctx.dash(borderBottomWidth, {\n space: borderBottomWidth * 1.2\n });\n }\n ctx.stroke();\n ctx.undash();\n};\nconst clipBorderLeft = (ctx, layout, style, rbl, rtl) => {\n const {\n top,\n left,\n width,\n height\n } = layout;\n const {\n borderTopWidth,\n borderLeftWidth,\n borderBottomWidth\n } = style;\n\n // Clip outer left border edge\n ctx.moveTo(left, top + height - rbl);\n ctx.lineTo(left, top + rtl);\n\n // Ellipse coefficients outer top left cap\n const c0 = rtl * (1.0 - KAPPA);\n\n // Clip outer top left cap\n ctx.bezierCurveTo(left, top + c0, left + c0, top, left + rtl, top);\n\n // Move right in case the margin exceedes the radius\n const topLeftCoordX = left + Math.max(borderLeftWidth, rtl);\n ctx.lineTo(topLeftCoordX, top);\n\n // Clip inner top left cap\n ctx.lineTo(topLeftCoordX, top + borderTopWidth);\n\n // Ellipse coefficients inner top left cap\n const innerTopLeftRadiusX = Math.max(rtl - borderLeftWidth, 0);\n const innerTopLeftRadiusY = Math.max(rtl - borderTopWidth, 0);\n const c1 = innerTopLeftRadiusX * (1.0 - KAPPA);\n const c2 = innerTopLeftRadiusY * (1.0 - KAPPA);\n\n // Clip inner top right cap\n ctx.bezierCurveTo(left + borderLeftWidth + c1, top + borderTopWidth, left + borderLeftWidth, top + borderTopWidth + c2, left + borderLeftWidth, top + Math.max(rtl, borderTopWidth));\n\n // Clip inner left border edge\n ctx.lineTo(left + borderLeftWidth, top + height - Math.max(rbl, borderBottomWidth));\n\n // Ellipse coefficients inner bottom left cap\n const innerBottomLeftRadiusX = Math.max(rbl - borderLeftWidth, 0);\n const innerBottomLeftRadiusY = Math.max(rbl - borderBottomWidth, 0);\n const c3 = innerBottomLeftRadiusX * (1.0 - KAPPA);\n const c4 = innerBottomLeftRadiusY * (1.0 - KAPPA);\n const bottomLeftXCoord = left + Math.max(rbl, borderLeftWidth);\n\n // Clip inner top left cap\n ctx.bezierCurveTo(left + borderLeftWidth, top + height - borderBottomWidth - c4, left + borderLeftWidth + c3, top + height - borderBottomWidth, bottomLeftXCoord, top + height - borderBottomWidth);\n ctx.lineTo(bottomLeftXCoord, top + height);\n\n // Move left in case the margin exceedes the radius\n ctx.lineTo(left + rbl, top + height);\n\n // Ellipse coefficients outer top right cap\n const c5 = rbl * (1.0 - KAPPA);\n\n // Clip outer top right cap\n ctx.bezierCurveTo(left + c5, top + height, left, top + height - c5, left, top + height - rbl);\n ctx.closePath();\n ctx.clip();\n\n // Clip border right cap joins\n if (borderBottomWidth) {\n const trSlope = -borderBottomWidth / borderLeftWidth;\n ctx.moveTo(left + width / 2, trSlope * (width / 2) + top + height);\n ctx.lineTo(left, top + height);\n ctx.lineTo(left, top);\n ctx.lineTo(left + width, top);\n ctx.closePath();\n ctx.clip();\n }\n if (borderBottomWidth) {\n const trSlope = -borderTopWidth / borderLeftWidth;\n ctx.moveTo(left + width / 2, trSlope * (-width / 2) + top);\n ctx.lineTo(left, top);\n ctx.lineTo(left, top + height);\n ctx.lineTo(left + width, top + height);\n ctx.closePath();\n ctx.clip();\n }\n};\nconst fillBorderLeft = (ctx, layout, style, rbl, rtl) => {\n const {\n top,\n left,\n height\n } = layout;\n const {\n borderLeftColor,\n borderLeftStyle,\n borderLeftWidth,\n borderTopWidth,\n borderBottomWidth\n } = style;\n const c0 = rbl * (1.0 - KAPPA);\n const c1 = rtl * (1.0 - KAPPA);\n ctx.moveTo(left + rbl, top + height);\n ctx.bezierCurveTo(left + c0, top + height, left, top + height - c0, left, top + height - rbl);\n ctx.lineTo(left, top + rtl);\n ctx.bezierCurveTo(left, top + c1, left + c1, top, left + rtl, top);\n ctx.strokeColor(borderLeftColor);\n ctx.lineWidth(Math.max(borderLeftWidth, borderTopWidth, borderBottomWidth) * 2);\n if (borderLeftStyle === 'dashed') {\n ctx.dash(borderLeftWidth * 2, {\n space: borderLeftWidth * 1.2\n });\n } else if (borderLeftStyle === 'dotted') {\n ctx.dash(borderLeftWidth, {\n space: borderLeftWidth * 1.2\n });\n }\n ctx.stroke();\n ctx.undash();\n};\nconst shouldRenderBorders = node => node.box && (node.box.borderTopWidth || node.box.borderRightWidth || node.box.borderBottomWidth || node.box.borderLeftWidth);\nconst renderBorders = (ctx, node) => {\n if (!shouldRenderBorders(node)) return;\n const {\n width,\n height,\n borderTopWidth,\n borderLeftWidth,\n borderRightWidth,\n borderBottomWidth\n } = node.box;\n const {\n opacity,\n borderTopLeftRadius = 0,\n borderTopRightRadius = 0,\n borderBottomLeftRadius = 0,\n borderBottomRightRadius = 0,\n borderTopColor = 'black',\n borderTopStyle = 'solid',\n borderLeftColor = 'black',\n borderLeftStyle = 'solid',\n borderRightColor = 'black',\n borderRightStyle = 'solid',\n borderBottomColor = 'black',\n borderBottomStyle = 'solid'\n } = node.style;\n const style = {\n borderTopColor,\n borderTopWidth,\n borderTopStyle,\n borderLeftColor,\n borderLeftWidth,\n borderLeftStyle,\n borderRightColor,\n borderRightWidth,\n borderRightStyle,\n borderBottomColor,\n borderBottomWidth,\n borderBottomStyle,\n borderTopLeftRadius,\n borderTopRightRadius,\n borderBottomLeftRadius,\n borderBottomRightRadius\n };\n const rtr = Math.min(borderTopRightRadius, 0.5 * width, 0.5 * height);\n const rtl = Math.min(borderTopLeftRadius, 0.5 * width, 0.5 * height);\n const rbr = Math.min(borderBottomRightRadius, 0.5 * width, 0.5 * height);\n const rbl = Math.min(borderBottomLeftRadius, 0.5 * width, 0.5 * height);\n ctx.save();\n ctx.strokeOpacity(opacity);\n if (borderTopWidth) {\n ctx.save();\n clipBorderTop(ctx, node.box, style, rtr, rtl);\n fillBorderTop(ctx, node.box, style, rtr, rtl);\n ctx.restore();\n }\n if (borderRightWidth) {\n ctx.save();\n clipBorderRight(ctx, node.box, style, rtr, rbr);\n fillBorderRight(ctx, node.box, style, rtr, rbr);\n ctx.restore();\n }\n if (borderBottomWidth) {\n ctx.save();\n clipBorderBottom(ctx, node.box, style, rbl, rbr);\n fillBorderBottom(ctx, node.box, style, rbl, rbr);\n ctx.restore();\n }\n if (borderLeftWidth) {\n ctx.save();\n clipBorderLeft(ctx, node.box, style, rbl, rtl);\n fillBorderLeft(ctx, node.box, style, rbl, rtl);\n ctx.restore();\n }\n ctx.restore();\n};\n\nconst drawBackground = (ctx, node) => {\n var _node$style;\n const {\n top,\n left,\n width,\n height\n } = node.box;\n const color = parseColor(node.style.backgroundColor);\n const nodeOpacity = isNil((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.opacity) ? 1 : node.style.opacity;\n const opacity = Math.min(color.opacity, nodeOpacity);\n ctx.fillOpacity(opacity).fillColor(color.value).rect(left, top, width, height).fill();\n};\nconst renderBackground = (ctx, node) => {\n var _node$style2;\n const hasBackground = !!node.box && !!((_node$style2 = node.style) !== null && _node$style2 !== void 0 && _node$style2.backgroundColor);\n if (hasBackground) {\n ctx.save();\n clipNode(ctx, node);\n drawBackground(ctx, node);\n ctx.restore();\n }\n};\n\nconst isSrcId = value => /^#.+/.test(value);\nconst setLink = (ctx, node) => {\n const props = node.props || {};\n const {\n top,\n left,\n width,\n height\n } = node.box;\n const src = props.src || props.href;\n if (src) {\n const isId = isSrcId(src);\n const method = isId ? 'goTo' : 'link';\n const value = isId ? src.slice(1) : src;\n ctx[method](left, top, width, height, value);\n }\n};\n\nconst setDestination = (ctx, node) => {\n var _node$props;\n if ((_node$props = node.props) !== null && _node$props !== void 0 && _node$props.id) {\n ctx.addNamedDestination(node.props.id, 'XYZ', null, node.box.top, null);\n }\n};\n\nconst isRecursiveNode = node => node.type !== P.Text && node.type !== P.Svg;\nconst renderChildren = (ctx, node, options) => {\n ctx.save();\n if (node.box) {\n ctx.translate(node.box.left, node.box.top);\n }\n const children = node.children || [];\n const renderChild = child => renderNode(ctx, child, options);\n children.forEach(renderChild);\n ctx.restore();\n};\nconst renderFns = {\n [P.Text]: renderText,\n [P.Note]: renderNote,\n [P.Image]: renderImage,\n [P.Canvas]: renderCanvas,\n [P.Svg]: renderSvg,\n [P.Link]: setLink\n};\nconst renderNode = (ctx, node, options) => {\n var _node$style;\n const overflowHidden = ((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.overflow) === 'hidden';\n const shouldRenderChildren = isRecursiveNode(node);\n if (node.type === P.Page) renderPage(ctx, node);\n ctx.save();\n if (overflowHidden) clipNode(ctx, node);\n applyTransformations(ctx, node);\n renderBackground(ctx, node);\n renderBorders(ctx, node);\n const renderFn = renderFns[node.type];\n if (renderFn) renderFn(ctx, node, options);\n if (shouldRenderChildren) renderChildren(ctx, node, options);\n setDestination(ctx, node);\n renderDebug(ctx, node);\n ctx.restore();\n};\n\n/* eslint-disable no-param-reassign */\n\nconst setPDFMetadata = target => (key, value) => {\n if (value) target.info[key] = value;\n};\n\n/**\n * Set document instance metadata\n *\n * @param {Object} ctx document instance\n * @param {Object} doc document root\n */\nconst addMetadata = (ctx, doc) => {\n var _props$creator, _props$producer;\n const setProp = setPDFMetadata(ctx);\n const props = doc.props || {};\n const title = props.title || null;\n const author = props.author || null;\n const subject = props.subject || null;\n const keywords = props.keywords || null;\n const creator = (_props$creator = props.creator) != null ? _props$creator : 'react-pdf';\n const producer = (_props$producer = props.producer) != null ? _props$producer : 'react-pdf';\n const creationDate = props.creationDate || new Date();\n const modificationDate = props.modificationDate || null;\n setProp('Title', title);\n setProp('Author', author);\n setProp('Subject', subject);\n setProp('Keywords', keywords);\n setProp('Creator', creator);\n setProp('Producer', producer);\n setProp('CreationDate', creationDate);\n setProp('ModificationDate', modificationDate);\n};\n\n/* eslint-disable no-param-reassign */\n\nconst addNodeBookmark = (ctx, node, pageNumber, registry) => {\n var _node$props;\n const bookmark = (_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.bookmark;\n if (bookmark) {\n const {\n title,\n parent,\n expanded,\n zoom,\n fit\n } = bookmark;\n const outline = registry[parent] || ctx.outline;\n const top = bookmark.top || node.box.top;\n const left = bookmark.left || node.box.left;\n const instance = outline.addItem(title, {\n pageNumber,\n expanded,\n top,\n left,\n zoom,\n fit\n });\n registry[bookmark.ref] = instance;\n }\n if (!node.children) return;\n node.children.forEach(child => addNodeBookmark(ctx, child, pageNumber, registry));\n};\nconst addBookmarks = (ctx, root) => {\n const registry = {};\n const pages = root.children || [];\n pages.forEach((page, i) => {\n addNodeBookmark(ctx, page, i, registry);\n });\n};\n\nconst render = (ctx, doc) => {\n const pages = doc.children || [];\n const options = {\n imageCache: new Map()\n };\n addMetadata(ctx, doc);\n pages.forEach(page => renderNode(ctx, page, options));\n addBookmarks(ctx, doc);\n ctx.end();\n return ctx;\n};\n\nexport { render as default };\n","import * as r from \"restructure\";\n\nconst DACTable = new r.Struct({\n identifier: new r.Buffer(1),\n value: new r.Buffer(1),\n});\n\nconst DACMarker = {\n name: () => \"DAC\",\n length: r.uint16be,\n tables: new r.Array(DACTable, (parent) => parent.length / 2),\n};\n\nexport default DACMarker;\n","export const readUInt8 = (array, offset) => {\n return array[offset];\n};\n\nexport const readUInt16BE = (array, offset) => {\n return (array[offset] << 8) | array[offset + 1];\n};\n\nexport const readUInt16LE = (array, offset) => {\n return array[offset] | (array[offset + 1] << 8);\n};\n\nexport const readUInt32BE = (array, offset) => {\n return (\n (array[offset] << 24) |\n (array[offset + 1] << 16) |\n (array[offset + 2] << 8) |\n array[offset + 3]\n );\n};\n\nexport const readUInt32LE = (array, offset) => {\n return (\n array[offset] |\n (array[offset + 1] << 8) |\n (array[offset + 2] << 16) |\n (array[offset + 3] << 24)\n );\n};\n\nexport const uint8ArrayToHexString = (uint8Array) => {\n return Array.from(uint8Array, (byte) =>\n byte.toString(16).padStart(2, \"0\"),\n ).join(\"\");\n};\n\nconst decoder = new TextDecoder(\"utf-8\");\n\nexport const uint8ArrayToString = (uint8Array) => {\n return decoder.decode(uint8Array);\n};\n\nexport const concatenateUint8Arrays = (arrays) => {\n const totalLength = arrays.reduce((length, arr) => length + arr.length, 0);\n const concatenatedArray = new Uint8Array(totalLength);\n\n let offset = 0;\n\n arrays.forEach((arr) => {\n concatenatedArray.set(arr, offset);\n offset += arr.length;\n });\n\n return concatenatedArray;\n};\n\nexport const readInt32BE = (array, offset) => {\n return readUInt32BE(array, offset) | 0;\n};\n\nexport const readInt32LE = (array, offset) => {\n return readUInt32LE(array, offset) | 0;\n};\n","import * as r from \"restructure\";\nimport { concatenateUint8Arrays, readUInt8 } from \"./utils.js\";\n\nclass HuffmanTableElements {\n decode(stream, parent) {\n const tables = {};\n\n let buffer = stream.buffer.slice(\n stream.pos,\n stream.pos + parent.length - 2,\n );\n\n while (buffer.length > 0) {\n let offset = 1;\n\n const elements = [];\n const identifier = readUInt8(buffer, 0);\n const lengths = buffer.slice(offset, offset + 16);\n\n offset += 16;\n\n for (const length of lengths) {\n elements.push(buffer.slice(offset, offset + length));\n offset += length;\n }\n\n buffer = buffer.slice(offset);\n\n tables[identifier] = concatenateUint8Arrays(elements);\n }\n\n stream.pos += parent.length - 2;\n\n return tables;\n }\n}\n\nconst DefineHuffmanTableMarker = {\n name: () => \"DHT\",\n length: r.uint16be,\n tables: new HuffmanTableElements(),\n};\n\nexport default DefineHuffmanTableMarker;\n","import * as r from \"restructure\";\n\nconst DQTMarker = {\n name: () => \"DQT\",\n length: r.uint16be,\n tables: new r.Array(\n new r.Struct({\n identifier: new r.Buffer(1),\n data: new r.Buffer(64),\n }),\n (parent) => (parent.length - 2) / 65,\n ),\n};\n\nexport default DQTMarker;\n","import * as r from \"restructure\";\n\nconst DRIMarker = {\n name: () => \"DRI\",\n length: r.uint16be,\n restartInterval: r.uint16be,\n};\n\nexport default DRIMarker;\n","import * as r from \"restructure\";\n\nconst EndOfImageMarker = {\n name: () => \"EOI\",\n afterEOI: new r.Reserved(r.uint8, Infinity),\n};\n\nexport default EndOfImageMarker;\n","import * as r from \"restructure\";\nimport {\n readUInt8,\n readUInt16BE,\n readUInt16LE,\n readUInt32BE,\n readUInt32LE,\n uint8ArrayToHexString,\n uint8ArrayToString,\n readInt32BE,\n readInt32LE,\n} from \"./utils.js\";\n\nconst tags = {\n ifd: {\n \"010e\": \"imageDescription\",\n \"010f\": \"make\",\n \"011a\": \"xResolution\",\n \"011b\": \"yResolution\",\n \"011c\": \"planarConfiguration\",\n \"012d\": \"transferFunction\",\n \"013b\": \"artist\",\n \"013e\": \"whitePoint\",\n \"013f\": \"primaryChromaticities\",\n \"0100\": \"imageWidth\",\n \"0101\": \"imageHeight\",\n \"0102\": \"bitsPerSample\",\n \"0103\": \"compression\",\n \"0106\": \"photometricInterpretation\",\n \"0110\": \"model\",\n \"0111\": \"stripOffsets\",\n \"0112\": \"orientation\",\n \"0115\": \"samplesPerPixel\",\n \"0116\": \"rowsPerStrip\",\n \"0117\": \"stripByteCounts\",\n \"0128\": \"resolutionUnit\",\n \"0131\": \"software\",\n \"0132\": \"dateTime\",\n \"0201\": \"jpegInterchangeFormat\",\n \"0202\": \"jpegInterchangeFormatLength\",\n \"0211\": \"ycbCrCoefficients\",\n \"0212\": \"ycbCrSubSampling\",\n \"0213\": \"ycbCrPositioning\",\n \"0214\": \"referenceBlackWhite\",\n \"829a\": \"exposureTime\",\n \"829d\": \"fNumber\",\n \"920a\": \"focalLength\",\n \"927c\": \"makerNote\",\n 8298: \"copyright\",\n 8769: \"exifIFDPointer\",\n 8822: \"exposureProgram\",\n 8824: \"spectralSensitivity\",\n 8825: \"gpsInfoIFDPointer\",\n 8827: \"photographicSensitivity\",\n 8828: \"oecf\",\n 8830: \"sensitivityType\",\n 8831: \"standardOutputSensitivity\",\n 8832: \"recommendedExposureIndex\",\n 8833: \"isoSpeed\",\n 8834: \"isoSpeedLatitudeyyy\",\n 8835: \"isoSpeedLatitudezzz\",\n 9000: \"exifVersion\",\n 9003: \"dateTimeOriginal\",\n 9004: \"dateTimeDigitized\",\n 9101: \"componentsConfiguration\",\n 9102: \"compressedBitsPerPixel\",\n 9201: \"shutterSpeedValue\",\n 9202: \"apertureValue\",\n 9203: \"brightnessValue\",\n 9204: \"exposureBiasValue\",\n 9205: \"maxApertureValue\",\n 9206: \"subjectDistance\",\n 9207: \"meteringMode\",\n 9208: \"lightSource\",\n 9209: \"flash\",\n 9214: \"subjectArea\",\n 9286: \"userComment\",\n 9290: \"subSecTime\",\n 9291: \"subSecTimeOriginal\",\n 9292: \"subSecTimeDigitized\",\n a000: \"flashpixVersion\",\n a001: \"colorSpace\",\n a002: \"pixelXDimension\",\n a003: \"pixelYDimension\",\n a004: \"relatedSoundFile\",\n a005: \"interoperabilityIFDPointer\",\n a20b: \"flashEnergy\",\n a20c: \"spatialFrequencyResponse\",\n a20e: \"focalPlaneXResolution\",\n a20f: \"focalPlaneYResolution\",\n a40a: \"sharpness\",\n a40b: \"deviceSettingDescription\",\n a40c: \"subjectDistanceRange\",\n a210: \"focalPlaneResolutionUnit\",\n a214: \"subjectLocation\",\n a215: \"exposureIndex\",\n a217: \"sensingMethod\",\n a300: \"fileSource\",\n a301: \"sceneType\",\n a302: \"cfaPattern\",\n a401: \"customRendered\",\n a402: \"exposureMode\",\n a403: \"whiteBalance\",\n a404: \"digitalZoomRatio\",\n a405: \"focalLengthIn35mmFilm\",\n a406: \"sceneCaptureType\",\n a407: \"gainControl\",\n a408: \"contrast\",\n a409: \"saturation\",\n a420: \"imageUniqueID\",\n a430: \"cameraOwnerName\",\n a431: \"bodySerialNumber\",\n a432: \"lensSpecification\",\n a433: \"lensMake\",\n a434: \"lensModel\",\n a435: \"lensSerialNumber\",\n a500: \"gamma\",\n },\n gps: {\n \"0000\": \"gpsVersionID\",\n \"0001\": \"gpsLatitudeRef\",\n \"0002\": \"gpsLatitude\",\n \"0003\": \"gpsLongitudeRef\",\n \"0004\": \"gpsLongitude\",\n \"0005\": \"gpsAltitudeRef\",\n \"0006\": \"gpsAltitude\",\n \"0007\": \"gpsTimeStamp\",\n \"0008\": \"gpsSatellites\",\n \"0009\": \"gpsStatus\",\n \"000a\": \"gpsMeasureMode\",\n \"000b\": \"gpsDOP\",\n \"000c\": \"gpsSpeedRef\",\n \"000d\": \"gpsSpeed\",\n \"000e\": \"gpsTrackRef\",\n \"000f\": \"gpsTrack\",\n \"0010\": \"gpsImgDirectionRef\",\n \"0011\": \"gpsImgDirection\",\n \"0012\": \"gpsMapDatum\",\n \"0013\": \"gpsDestLatitudeRef\",\n \"0014\": \"gpsDestLatitude\",\n \"0015\": \"gpsDestLongitudeRef\",\n \"0016\": \"gpsDestLongitude\",\n \"0017\": \"gpsDestBearingRef\",\n \"0018\": \"gpsDestBearing\",\n \"0019\": \"gpsDestDistanceRef\",\n \"001a\": \"gpsDestDistance\",\n \"001b\": \"gpsProcessingMethod\",\n \"001c\": \"gpsAreaInformation\",\n \"001d\": \"gpsDateStamp\",\n \"001e\": \"gpsDifferential\",\n \"001f\": \"gpsHPositioningError\",\n },\n};\n\nclass IDFEntries {\n constructor(bigEndian) {\n this.bigEndian = bigEndian;\n this.bytes = [0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8];\n }\n\n _getTagValue(dataValue, dataFormat, componentsNumber) {\n switch (dataFormat) {\n case 2:\n return dataValue.toString(\"ascii\").replace(/\\0+$/, \"\");\n case 129:\n return dataValue.toString(\"utf8\").replace(/\\0+$/, \"\");\n case 7:\n return \"0x\" + dataValue.toString(\"hex\");\n default:\n return this._getTagValueForNumericalData(dataValue, dataFormat, componentsNumber);\n }\n }\n\n _getTagValueForNumericalData(dataValue, dataFormat, componentsNumber) {\n const tagValue = [];\n const componentsBytes = this.bytes[dataFormat];\n for (let i = 0; i < componentsNumber; i += 1) {\n tagValue.push(this._getSingleTagValueForNumericalData(dataValue, dataFormat, i * componentsBytes));\n }\n return tagValue.length === 1 ? tagValue[0] : tagValue;\n }\n\n _getSingleTagValueForNumericalData(dataValue, dataFormat, pos) {\n const uint16 = (pos) =>\n this.bigEndian\n ? readUInt16BE(dataValue, pos)\n : readUInt16LE(dataValue, pos);\n\n const uint32 = (pos) =>\n this.bigEndian\n ? readUInt32BE(dataValue, pos)\n : readUInt32LE(dataValue, pos);\n\n const int32 = (pos) =>\n this.bigEndian\n ? readInt32BE(dataValue, pos)\n : readInt32LE(dataValue, pos);\n\n switch (dataFormat) {\n case 1:\n return readUInt8(dataValue, pos)\n case 3:\n return uint16(pos);\n case 4:\n return uint32(pos);\n case 5:\n return uint32(pos) / uint32(pos + 4);\n case 9:\n return int32(pos);\n case 10: {\n return int32(pos) / int32(pos + 4);\n }\n }\n }\n\n _decodeIDFEntries(buffer, tags, offset, log = false) {\n let pos = 2 + offset;\n\n const entries = {};\n\n const uint16 = (pos) =>\n this.bigEndian ? readUInt16BE(buffer, pos) : readUInt16LE(buffer, pos);\n\n const uint32 = (pos) =>\n this.bigEndian ? readUInt32BE(buffer, pos) : readUInt32LE(buffer, pos);\n\n const numberOfEntries = uint16(offset);\n\n for (let i = 0; i < numberOfEntries; i++) {\n const tagAddress = buffer.slice(pos, pos + 2);\n const dataFormat = uint16(pos + 2);\n const componentsNumber = uint32(pos + 4);\n const componentsBytes = this.bytes[dataFormat];\n const dataLength = componentsNumber * componentsBytes;\n\n let dataValue = buffer.slice(pos + 8, pos + 12);\n\n if (dataLength > 4) {\n const dataOffset = this.bigEndian\n ? readUInt32BE(dataValue, 0)\n : readUInt32LE(dataValue, 0);\n\n dataValue = buffer.slice(dataOffset, dataOffset + dataLength);\n }\n\n const tagValue = this._getTagValue(dataValue, dataFormat, componentsNumber);\n\n const tagNumber = this.bigEndian\n ? uint8ArrayToHexString(tagAddress)\n : uint8ArrayToHexString(tagAddress.reverse());\n\n const tagName = tags[tagNumber];\n\n entries[tagName] = tagValue;\n\n pos += 12;\n }\n\n return entries;\n }\n\n decode(stream, parent) {\n const buffer = stream.buffer.slice(stream.pos - 8);\n const offsetToFirstIFD = parent.offsetToFirstIFD;\n\n if (offsetToFirstIFD > buffer.length) {\n stream.pos += parent.parent.length - 16;\n return {};\n }\n\n const entries = this._decodeIDFEntries(buffer, tags.ifd, offsetToFirstIFD);\n const { exifIFDPointer, gpsInfoIFDPointer } = entries;\n\n if (exifIFDPointer) {\n entries.subExif = this._decodeIDFEntries(\n buffer,\n tags.ifd,\n exifIFDPointer,\n );\n }\n\n if (gpsInfoIFDPointer) {\n const gps = gpsInfoIFDPointer;\n entries.gpsInfo = this._decodeIDFEntries(buffer, tags.gps, gps, true);\n }\n\n stream.pos += parent.parent.length - 16;\n\n return entries;\n }\n}\n\nconst IFDData = (bigEndian) => {\n const uint16 = bigEndian ? r.uint16be : r.uint16le;\n const uint32 = bigEndian ? r.uint32be : r.uint32le;\n\n return new r.Struct({\n fortyTwo: uint16,\n offsetToFirstIFD: uint32,\n entries: new IDFEntries(bigEndian),\n });\n};\n\nclass TIFFHeader {\n decode(stream, parent) {\n const byteOrder = uint8ArrayToString(\n stream.buffer.slice(stream.pos, stream.pos + 2),\n );\n\n const bigEndian = byteOrder === \"MM\";\n\n stream.pos += 2;\n\n const data = IFDData(bigEndian).decode(stream, parent);\n\n return data.entries;\n }\n}\n\nconst EXIFMarker = {\n name: () => \"EXIF\",\n length: r.uint16be,\n identifier: new r.String(6),\n entries: new TIFFHeader(),\n};\n\nexport default EXIFMarker;\n","import * as r from \"restructure\";\n\nconst JFIFMarker = {\n name: () => \"JFIF\",\n length: r.uint16be,\n identifier: new r.String(5),\n version: r.uint16be,\n units: r.uint8,\n xDensity: r.uint16be,\n yDensity: r.uint16be,\n thumbnailWidth: r.uint8,\n thumbnailHeight: r.uint8,\n};\n\nexport default JFIFMarker;\n","import * as r from \"restructure\";\n\nclass ImageData {\n decode(stream) {\n const buffer = stream.buffer.slice(stream.pos);\n\n let length = 0;\n let i = buffer.indexOf(0xff);\n\n while (i !== -1) {\n length = i;\n\n const nextByte = buffer[length + 1];\n const comesRestart = nextByte >= 0xd0 && nextByte <= 0xd7;\n\n if (nextByte !== 0x00 && !comesRestart) break;\n\n i = buffer.indexOf(0xff, i + 1);\n }\n\n stream.pos += length;\n\n return buffer.slice(0, length);\n }\n}\n\nconst SOSComponentSpecification = new r.Struct({\n scanComponentSelector: r.uint8,\n entropyCodingTable: new r.Buffer(1),\n});\n\nconst SOSMarker = {\n name: () => \"SOS\",\n length: r.uint16be,\n numberOfImageComponents: r.uint8,\n componentSpecifications: new r.Array(\n SOSComponentSpecification,\n (parent) => parent.numberOfImageComponents,\n ),\n startOfSpectral: r.uint8,\n endOfSpectral: r.uint8,\n successiveApproximationBit: new r.Buffer(1),\n data: new ImageData(),\n};\n\nexport default SOSMarker;\n","import * as r from \"restructure\";\n\nconst FrameColorComponent = new r.Struct({\n id: r.uint8,\n samplingFactors: r.uint8,\n quantizationTableId: r.uint8,\n});\n\nconst StartOfFrameMarker = {\n name: () => \"SOF\",\n length: r.uint16be,\n precision: r.uint8,\n height: r.uint16be,\n width: r.uint16be,\n numberOfComponents: r.uint8,\n components: new r.Array(\n FrameColorComponent,\n (parent) => parent.numberOfComponents,\n ),\n};\n\nexport default StartOfFrameMarker;\n","const StartOfImageMarker = {\n name: () => \"SOI\",\n};\n\nexport default StartOfImageMarker;\n","import * as r from \"restructure\";\n\nimport DACMarker from \"./markers/dac.js\";\nimport DefineHuffmanTableMarker from \"./markers/dht.js\";\nimport DQTMarker from \"./markers/dqt.js\";\nimport DRIMarker from \"./markers/dri.js\";\nimport EndOfImageMarker from \"./markers/eoi.js\";\nimport EXIFMarker from \"./markers/exif.js\";\nimport JFIFMarker from \"./markers/jfif.js\";\nimport SOSMarker from \"./markers/sos.js\";\nimport StartOfFrameMarker from \"./markers/sof.js\";\nimport StartOfImageMarker from \"./markers/soi.js\";\n\nconst UnknownMarker = {\n length: r.uint16be,\n buf: new r.Buffer((parent) => parent.length - 2),\n};\n\nconst unknownMarkers = Array(63)\n .fill(0)\n .reduce((acc, v, i) => ({ ...acc, [i + 0xffc0]: UnknownMarker }), {});\n\nconst Marker = new r.VersionedStruct(r.uint16be, {\n ...unknownMarkers,\n 0xffc0: StartOfFrameMarker,\n 0xffc1: StartOfFrameMarker,\n 0xffc2: StartOfFrameMarker,\n 0xffc3: StartOfFrameMarker,\n 0xffc4: DefineHuffmanTableMarker,\n 0xffc5: StartOfFrameMarker,\n 0xffc6: StartOfFrameMarker,\n 0xffc7: StartOfFrameMarker,\n 0xffc9: StartOfFrameMarker,\n 0xffca: StartOfFrameMarker,\n 0xffcb: StartOfFrameMarker,\n 0xffcc: DACMarker,\n 0xffcd: StartOfFrameMarker,\n 0xffce: StartOfFrameMarker,\n 0xffcf: StartOfFrameMarker,\n 0xffd8: StartOfImageMarker,\n 0xffd9: EndOfImageMarker,\n 0xffda: SOSMarker,\n 0xffdb: DQTMarker,\n 0xffdd: DRIMarker,\n 0xffe0: JFIFMarker,\n 0xffe1: EXIFMarker,\n});\n\nconst JPEG = new r.Array(Marker);\n\nconst decode = (buffer) => {\n const markers = JPEG.fromBuffer(buffer);\n return markers.map(({ version, ...rest }) => ({ type: version, ...rest }));\n};\n\nexport default { decode };\n","var global$1 = (typeof global !== \"undefined\" ? global :\n typeof self !== \"undefined\" ? self :\n typeof window !== \"undefined\" ? window : {});\n\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\nvar inited = false;\nfunction init () {\n inited = true;\n var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n for (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i];\n revLookup[code.charCodeAt(i)] = i;\n }\n\n revLookup['-'.charCodeAt(0)] = 62;\n revLookup['_'.charCodeAt(0)] = 63;\n}\n\nfunction toByteArray (b64) {\n if (!inited) {\n init();\n }\n var i, j, l, tmp, placeHolders, arr;\n var len = b64.length;\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0;\n\n // base64 is 4/3 + up to two characters of the original data\n arr = new Arr(len * 3 / 4 - placeHolders);\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len;\n\n var L = 0;\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)];\n arr[L++] = (tmp >> 16) & 0xFF;\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4);\n arr[L++] = tmp & 0xFF;\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2);\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp;\n var output = [];\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]);\n output.push(tripletToBase64(tmp));\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n if (!inited) {\n init();\n }\n var tmp;\n var len = uint8.length;\n var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n var output = '';\n var parts = [];\n var maxChunkLength = 16383; // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)));\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1];\n output += lookup[tmp >> 2];\n output += lookup[(tmp << 4) & 0x3F];\n output += '==';\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1]);\n output += lookup[tmp >> 10];\n output += lookup[(tmp >> 4) & 0x3F];\n output += lookup[(tmp << 2) & 0x3F];\n output += '=';\n }\n\n parts.push(output);\n\n return parts.join('')\n}\n\nfunction read (buffer, offset, isLE, mLen, nBytes) {\n var e, m;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = -7;\n var i = isLE ? (nBytes - 1) : 0;\n var d = isLE ? -1 : 1;\n var s = buffer[offset + i];\n\n i += d;\n\n e = s & ((1 << (-nBits)) - 1);\n s >>= (-nBits);\n nBits += eLen;\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1);\n e >>= (-nBits);\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen);\n e = e - eBias;\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nfunction write (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0);\n var i = isLE ? 0 : (nBytes - 1);\n var d = isLE ? 1 : -1;\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0;\n\n value = Math.abs(value);\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0;\n e = eMax;\n } else {\n e = Math.floor(Math.log(value) / Math.LN2);\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * Math.pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n e = 0;\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m;\n eLen += mLen;\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128;\n}\n\nvar toString = {}.toString;\n\nvar isArray$1 = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\nvar INSPECT_MAX_BYTES = 50;\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined\n ? global$1.TYPED_ARRAY_SUPPORT\n : true;\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nvar _kMaxLength = kMaxLength();\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length);\n }\n that.length = length;\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192; // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype;\n return arr\n};\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n};\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype;\n Buffer.__proto__ = Uint8Array;\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) ;\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size);\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n};\n\nfunction allocUnsafe (that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n};\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n};\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n\n var actual = that.write(string, encoding);\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (internalIsBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len);\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray$1(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0;\n }\n return Buffer.alloc(+length)\n}\nBuffer.isBuffer = isBuffer$1;\nfunction internalIsBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!internalIsBuffer(a) || !internalIsBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n};\n\nBuffer.concat = function concat (list, length) {\n if (!isArray$1(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i;\n if (length === undefined) {\n length = 0;\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n\n var buffer = Buffer.allocUnsafe(length);\n var pos = 0;\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n if (!internalIsBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n return buffer\n};\n\nfunction byteLength (string, encoding) {\n if (internalIsBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string;\n }\n\n var len = string.length;\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n}\nBuffer.byteLength = byteLength;\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false;\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0;\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0;\n start >>>= 0;\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8';\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true;\n\nfunction swap (b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length;\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n return this\n};\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length;\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n return this\n};\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length;\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n return this\n};\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0;\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n};\n\nBuffer.prototype.equals = function equals (b) {\n if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n};\n\nBuffer.prototype.inspect = function inspect () {\n var str = '';\n var max = INSPECT_MAX_BYTES;\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n return ''\n};\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!internalIsBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0;\n }\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n if (thisStart === undefined) {\n thisStart = 0;\n }\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n byteOffset = +byteOffset; // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1);\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding);\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (internalIsBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i;\n if (dir) {\n var foundIndex = -1;\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n};\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n};\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n};\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n if (length > remaining) {\n length = remaining;\n }\n }\n\n // must be an even number of digits\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed;\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0;\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0;\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8';\n\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n};\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n};\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return fromByteArray(buf)\n } else {\n return fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n\n var i = start;\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1;\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n break\n case 2:\n secondByte = buf[i + 1];\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F);\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F);\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F);\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n\n res.push(codePoint);\n i += bytesPerSequence;\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000;\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length;\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = '';\n var i = 0;\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n );\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length;\n\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n\n var out = '';\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i]);\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n\n if (end < start) end = start;\n\n var newBuf;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer(sliceLen, undefined);\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n\n return newBuf\n};\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n\n return val\n};\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n\n var val = this[offset + --byteLength];\n var mul = 1;\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n\n return val\n};\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset]\n};\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | (this[offset + 1] << 8)\n};\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return (this[offset] << 8) | this[offset + 1]\n};\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n};\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n};\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n};\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | (this[offset + 1] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | (this[offset] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n};\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n};\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, true, 23, 4)\n};\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, false, 23, 4)\n};\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, true, 52, 8)\n};\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, false, 52, 8)\n};\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!internalIsBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8;\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff;\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24);\n this[offset + 2] = (value >>> 16);\n this[offset + 1] = (value >>> 8);\n this[offset] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n this[offset + 2] = (value >>> 16);\n this[offset + 3] = (value >>> 24);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4);\n }\n write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n};\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n};\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8);\n }\n write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n};\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n};\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start;\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length;\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n\n var len = end - start;\n var i;\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n );\n }\n\n return len\n};\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n if (code < 256) {\n val = code;\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n\n if (!val) val = 0;\n\n var i;\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = internalIsBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString());\n var len = bytes.length;\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n\n return this\n};\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '');\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint;\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n\n leadSurrogate = null;\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo;\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n\n return byteArray\n}\n\n\nfunction base64ToBytes (str) {\n return toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i];\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n\n// the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nfunction isBuffer$1(obj) {\n return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj))\n}\n\nfunction isFastBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))\n}\n\nvar _polyfillNode_buffer = /*#__PURE__*/Object.freeze({\n __proto__: null,\n Buffer: Buffer,\n INSPECT_MAX_BYTES: INSPECT_MAX_BYTES,\n SlowBuffer: SlowBuffer,\n isBuffer: isBuffer$1,\n kMaxLength: _kMaxLength\n});\n\n// shim for using process in browser\n// based off https://github.com/defunctzombie/node-process/blob/master/browser.js\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\nvar cachedSetTimeout = defaultSetTimout;\nvar cachedClearTimeout = defaultClearTimeout;\nif (typeof global$1.setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n}\nif (typeof global$1.clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n}\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nfunction nextTick(fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nvar title = 'browser';\nvar platform = 'browser';\nvar browser = true;\nvar env = {};\nvar argv = [];\nvar version = ''; // empty string to avoid regexp issues\nvar versions = {};\nvar release = {};\nvar config = {};\n\nfunction noop() {}\n\nvar on = noop;\nvar addListener = noop;\nvar once = noop;\nvar off = noop;\nvar removeListener = noop;\nvar removeAllListeners = noop;\nvar emit = noop;\n\nfunction binding$1(name) {\n throw new Error('process.binding is not supported');\n}\n\nfunction cwd () { return '/' }\nfunction chdir (dir) {\n throw new Error('process.chdir is not supported');\n}function umask() { return 0; }\n\n// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js\nvar performance = global$1.performance || {};\nvar performanceNow =\n performance.now ||\n performance.mozNow ||\n performance.msNow ||\n performance.oNow ||\n performance.webkitNow ||\n function(){ return (new Date()).getTime() };\n\n// generate timestamp or delta\n// see http://nodejs.org/api/process.html#process_process_hrtime\nfunction hrtime(previousTimestamp){\n var clocktime = performanceNow.call(performance)*1e-3;\n var seconds = Math.floor(clocktime);\n var nanoseconds = Math.floor((clocktime%1)*1e9);\n if (previousTimestamp) {\n seconds = seconds - previousTimestamp[0];\n nanoseconds = nanoseconds - previousTimestamp[1];\n if (nanoseconds<0) {\n seconds--;\n nanoseconds += 1e9;\n }\n }\n return [seconds,nanoseconds]\n}\n\nvar startTime = new Date();\nfunction uptime() {\n var currentTime = new Date();\n var dif = currentTime - startTime;\n return dif / 1000;\n}\n\nvar browser$1 = {\n nextTick: nextTick,\n title: title,\n browser: browser,\n env: env,\n argv: argv,\n version: version,\n versions: versions,\n on: on,\n addListener: addListener,\n once: once,\n off: off,\n removeListener: removeListener,\n removeAllListeners: removeAllListeners,\n emit: emit,\n binding: binding$1,\n cwd: cwd,\n chdir: chdir,\n umask: umask,\n hrtime: hrtime,\n platform: platform,\n release: release,\n config: config,\n uptime: uptime\n};\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction getAugmentedNamespace(n) {\n if (n.__esModule) return n;\n var f = n.default;\n\tif (typeof f == \"function\") {\n\t\tvar a = function a () {\n\t\t\tif (this instanceof a) {\n return Reflect.construct(f, arguments, this.constructor);\n\t\t\t}\n\t\t\treturn f.apply(this, arguments);\n\t\t};\n\t\ta.prototype = f.prototype;\n } else a = {};\n Object.defineProperty(a, '__esModule', {value: true});\n\tObject.keys(n).forEach(function (k) {\n\t\tvar d = Object.getOwnPropertyDescriptor(n, k);\n\t\tObject.defineProperty(a, k, d.get ? d : {\n\t\t\tenumerable: true,\n\t\t\tget: function () {\n\t\t\t\treturn n[k];\n\t\t\t}\n\t\t});\n\t});\n\treturn a;\n}\n\nvar lib = {};\n\nvar require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_buffer);\n\nvar domain;\n\n// This constructor is used to store event handlers. Instantiating this is\n// faster than explicitly calling `Object.create(null)` to get a \"clean\" empty\n// object (tested with v8 v4.9).\nfunction EventHandlers() {}\nEventHandlers.prototype = Object.create(null);\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\n\n// nodejs oddity\n// require('events') === require('events').EventEmitter\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.usingDomains = false;\n\nEventEmitter.prototype.domain = undefined;\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\nEventEmitter.init = function() {\n this.domain = null;\n if (EventEmitter.usingDomains) {\n // if there is an active domain, then attach to it.\n if (domain.active ) ;\n }\n\n if (!this._events || this._events === Object.getPrototypeOf(this)._events) {\n this._events = new EventHandlers();\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || isNaN(n))\n throw new TypeError('\"n\" argument must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nfunction $getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return $getMaxListeners(this);\n};\n\n// These standalone emit* functions are used to optimize calling of event\n// handlers for fast cases because emit() itself often has a variable number of\n// arguments and can be deoptimized because of that. These functions always have\n// the same number of arguments and thus do not get deoptimized, so the code\n// inside them can execute faster.\nfunction emitNone(handler, isFn, self) {\n if (isFn)\n handler.call(self);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self);\n }\n}\nfunction emitOne(handler, isFn, self, arg1) {\n if (isFn)\n handler.call(self, arg1);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1);\n }\n}\nfunction emitTwo(handler, isFn, self, arg1, arg2) {\n if (isFn)\n handler.call(self, arg1, arg2);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1, arg2);\n }\n}\nfunction emitThree(handler, isFn, self, arg1, arg2, arg3) {\n if (isFn)\n handler.call(self, arg1, arg2, arg3);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1, arg2, arg3);\n }\n}\n\nfunction emitMany(handler, isFn, self, args) {\n if (isFn)\n handler.apply(self, args);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].apply(self, args);\n }\n}\n\nEventEmitter.prototype.emit = function emit(type) {\n var er, handler, len, args, i, events, domain;\n var doError = (type === 'error');\n\n events = this._events;\n if (events)\n doError = (doError && events.error == null);\n else if (!doError)\n return false;\n\n domain = this.domain;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n er = arguments[1];\n if (domain) {\n if (!er)\n er = new Error('Uncaught, unspecified \"error\" event');\n er.domainEmitter = this;\n er.domain = domain;\n er.domainThrown = false;\n domain.emit('error', er);\n } else if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n return false;\n }\n\n handler = events[type];\n\n if (!handler)\n return false;\n\n var isFn = typeof handler === 'function';\n len = arguments.length;\n switch (len) {\n // fast cases\n case 1:\n emitNone(handler, isFn, this);\n break;\n case 2:\n emitOne(handler, isFn, this, arguments[1]);\n break;\n case 3:\n emitTwo(handler, isFn, this, arguments[1], arguments[2]);\n break;\n case 4:\n emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);\n break;\n // slower\n default:\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n emitMany(handler, isFn, this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n\n events = target._events;\n if (!events) {\n events = target._events = new EventHandlers();\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (!existing) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] = prepend ? [listener, existing] :\n [existing, listener];\n } else {\n // If we've already got an array, just append.\n if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n }\n\n // Check for listener leak\n if (!existing.warned) {\n m = $getMaxListeners(target);\n if (m && m > 0 && existing.length > m) {\n existing.warned = true;\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + type + ' listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n emitWarning(w);\n }\n }\n }\n\n return target;\n}\nfunction emitWarning(e) {\n typeof console.warn === 'function' ? console.warn(e) : console.log(e);\n}\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction _onceWrap(target, type, listener) {\n var fired = false;\n function g() {\n target.removeListener(type, g);\n if (!fired) {\n fired = true;\n listener.apply(target, arguments);\n }\n }\n g.listener = listener;\n return g;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n\n events = this._events;\n if (!events)\n return this;\n\n list = events[type];\n if (!list)\n return this;\n\n if (list === listener || (list.listener && list.listener === listener)) {\n if (--this._eventsCount === 0)\n this._events = new EventHandlers();\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list[0] = undefined;\n if (--this._eventsCount === 0) {\n this._events = new EventHandlers();\n return this;\n } else {\n delete events[type];\n }\n } else {\n spliceOne(list, position);\n }\n\n if (events.removeListener)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n \n// Alias for removeListener added in NodeJS 10.0\n// https://nodejs.org/api/events.html#events_emitter_off_eventname_listener\nEventEmitter.prototype.off = function(type, listener){\n return this.removeListener(type, listener);\n};\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events;\n\n events = this._events;\n if (!events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!events.removeListener) {\n if (arguments.length === 0) {\n this._events = new EventHandlers();\n this._eventsCount = 0;\n } else if (events[type]) {\n if (--this._eventsCount === 0)\n this._events = new EventHandlers();\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n for (var i = 0, key; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = new EventHandlers();\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n do {\n this.removeListener(type, listeners[listeners.length - 1]);\n } while (listeners[0]);\n }\n\n return this;\n };\n\nEventEmitter.prototype.listeners = function listeners(type) {\n var evlistener;\n var ret;\n var events = this._events;\n\n if (!events)\n ret = [];\n else {\n evlistener = events[type];\n if (!evlistener)\n ret = [];\n else if (typeof evlistener === 'function')\n ret = [evlistener.listener || evlistener];\n else\n ret = unwrapListeners(evlistener);\n }\n\n return ret;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount$1.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount$1;\nfunction listenerCount$1(type) {\n var events = this._events;\n\n if (events) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];\n};\n\n// About 1.5x faster than the two-arg version of Array#splice().\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)\n list[i] = list[k];\n list.pop();\n}\n\nfunction arrayClone(arr, i) {\n var copy = new Array(i);\n while (i--)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nvar inherits;\nif (typeof Object.create === 'function'){\n inherits = function inherits(ctor, superCtor) {\n // implementation from standard node.js 'util' module\n ctor.super_ = superCtor;\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n inherits = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor;\n var TempCtor = function () {};\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n };\n}\nvar inherits$1 = inherits;\n\nvar getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||\n function getOwnPropertyDescriptors(obj) {\n var keys = Object.keys(obj);\n var descriptors = {};\n for (var i = 0; i < keys.length; i++) {\n descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);\n }\n return descriptors;\n };\n\nvar formatRegExp = /%[sdj%]/g;\nfunction format(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect$1(arguments[i]));\n }\n return objects.join(' ');\n }\n\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%') return '%';\n if (i >= len) return x;\n switch (x) {\n case '%s': return String(args[i++]);\n case '%d': return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect$1(x);\n }\n }\n return str;\n}\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nfunction deprecate(fn, msg) {\n // Allow for deprecating things in the process of starting up.\n if (isUndefined(global$1.process)) {\n return function() {\n return deprecate(fn, msg).apply(this, arguments);\n };\n }\n\n if (browser$1.noDeprecation === true) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (browser$1.throwDeprecation) {\n throw new Error(msg);\n } else if (browser$1.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\nvar debugs = {};\nvar debugEnviron;\nfunction debuglog(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = browser$1.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = 0;\n debugs[set] = function() {\n var msg = format.apply(null, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n}\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect$1(obj, opts) {\n // default options\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n // legacy...\n if (arguments.length >= 3) ctx.depth = arguments[2];\n if (arguments.length >= 4) ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n // legacy...\n ctx.showHidden = opts;\n } else if (opts) {\n // got an \"options\" object\n _extend(ctx, opts);\n }\n // set default options\n if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n if (isUndefined(ctx.depth)) ctx.depth = 2;\n if (isUndefined(ctx.colors)) ctx.colors = false;\n if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n if (ctx.colors) ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n}\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect$1.colors = {\n 'bold' : [1, 22],\n 'italic' : [3, 23],\n 'underline' : [4, 24],\n 'inverse' : [7, 27],\n 'white' : [37, 39],\n 'grey' : [90, 39],\n 'black' : [30, 39],\n 'blue' : [34, 39],\n 'cyan' : [36, 39],\n 'green' : [32, 39],\n 'magenta' : [35, 39],\n 'red' : [31, 39],\n 'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect$1.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n // \"name\": intentionally not styling\n 'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n var style = inspect$1.styles[styleType];\n\n if (style) {\n return '\\u001b[' + inspect$1.colors[style][0] + 'm' + str +\n '\\u001b[' + inspect$1.colors[style][1] + 'm';\n } else {\n return str;\n }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n return str;\n}\n\n\nfunction arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n // Provide a hook for user-specified inspect functions.\n // Check that value is an object with an inspect function on it\n if (ctx.customInspect &&\n value &&\n isFunction(value.inspect) &&\n // Filter out the util module, it's inspect function is special\n value.inspect !== inspect$1 &&\n // Also filter out any prototype objects using the circular check.\n !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (isError(value)\n && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '', array = false, braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value))\n return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n key, true));\n }\n });\n return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n var length = output.reduce(function(prev, cur) {\n if (cur.indexOf('\\n') >= 0) ;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1];\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n return Array.isArray(ar);\n}\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\nfunction isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n}\n\nfunction isError(e) {\n return isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error);\n}\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\n\nfunction isBuffer(maybeBuf) {\n return Buffer.isBuffer(maybeBuf);\n}\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n 'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()),\n pad(d.getMinutes()),\n pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nfunction log() {\n console.log('%s - %s', timestamp(), format.apply(null, arguments));\n}\n\nfunction _extend(origin, add) {\n // Don't do anything if add isn't an object\n if (!add || !isObject(add)) return origin;\n\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n}\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nvar kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined;\n\nfunction promisify(original) {\n if (typeof original !== 'function')\n throw new TypeError('The \"original\" argument must be of type Function');\n\n if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {\n var fn = original[kCustomPromisifiedSymbol];\n if (typeof fn !== 'function') {\n throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');\n }\n Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return fn;\n }\n\n function fn() {\n var promiseResolve, promiseReject;\n var promise = new Promise(function (resolve, reject) {\n promiseResolve = resolve;\n promiseReject = reject;\n });\n\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n args.push(function (err, value) {\n if (err) {\n promiseReject(err);\n } else {\n promiseResolve(value);\n }\n });\n\n try {\n original.apply(this, args);\n } catch (err) {\n promiseReject(err);\n }\n\n return promise;\n }\n\n Object.setPrototypeOf(fn, Object.getPrototypeOf(original));\n\n if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return Object.defineProperties(\n fn,\n getOwnPropertyDescriptors(original)\n );\n}\n\npromisify.custom = kCustomPromisifiedSymbol;\n\nfunction callbackifyOnRejected(reason, cb) {\n // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).\n // Because `null` is a special error value in callbacks which means \"no error\n // occurred\", we error-wrap so the callback consumer can distinguish between\n // \"the promise rejected with null\" or \"the promise fulfilled with undefined\".\n if (!reason) {\n var newReason = new Error('Promise was rejected with a falsy value');\n newReason.reason = reason;\n reason = newReason;\n }\n return cb(reason);\n}\n\nfunction callbackify(original) {\n if (typeof original !== 'function') {\n throw new TypeError('The \"original\" argument must be of type Function');\n }\n\n // We DO NOT return the promise as it gives the user a false sense that\n // the promise is actually somehow related to the callback's execution\n // and that the callback throwing will reject the promise.\n function callbackified() {\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n\n var maybeCb = args.pop();\n if (typeof maybeCb !== 'function') {\n throw new TypeError('The last argument must be of type Function');\n }\n var self = this;\n var cb = function() {\n return maybeCb.apply(self, arguments);\n };\n // In true node style we process the callback on `nextTick` with all the\n // implications (stack, `uncaughtException`, `async_hooks`)\n original.apply(this, args)\n .then(function(ret) { browser$1.nextTick(cb.bind(null, null, ret)); },\n function(rej) { browser$1.nextTick(callbackifyOnRejected.bind(null, rej, cb)); });\n }\n\n Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));\n Object.defineProperties(callbackified, getOwnPropertyDescriptors(original));\n return callbackified;\n}\n\nvar _polyfillNode_util = {\n inherits: inherits$1,\n _extend: _extend,\n log: log,\n isBuffer: isBuffer,\n isPrimitive: isPrimitive,\n isFunction: isFunction,\n isError: isError,\n isDate: isDate,\n isObject: isObject,\n isRegExp: isRegExp,\n isUndefined: isUndefined,\n isSymbol: isSymbol,\n isString: isString,\n isNumber: isNumber,\n isNullOrUndefined: isNullOrUndefined,\n isNull: isNull,\n isBoolean: isBoolean,\n isArray: isArray,\n inspect: inspect$1,\n deprecate: deprecate,\n format: format,\n debuglog: debuglog,\n promisify: promisify,\n callbackify: callbackify,\n};\n\nvar _polyfillNode_util$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n _extend: _extend,\n callbackify: callbackify,\n debuglog: debuglog,\n default: _polyfillNode_util,\n deprecate: deprecate,\n format: format,\n inherits: inherits$1,\n inspect: inspect$1,\n isArray: isArray,\n isBoolean: isBoolean,\n isBuffer: isBuffer,\n isDate: isDate,\n isError: isError,\n isFunction: isFunction,\n isNull: isNull,\n isNullOrUndefined: isNullOrUndefined,\n isNumber: isNumber,\n isObject: isObject,\n isPrimitive: isPrimitive,\n isRegExp: isRegExp,\n isString: isString,\n isSymbol: isSymbol,\n isUndefined: isUndefined,\n log: log,\n promisify: promisify\n});\n\nfunction BufferList() {\n this.head = null;\n this.tail = null;\n this.length = 0;\n}\n\nBufferList.prototype.push = function (v) {\n var entry = { data: v, next: null };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n};\n\nBufferList.prototype.unshift = function (v) {\n var entry = { data: v, next: this.head };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n};\n\nBufferList.prototype.shift = function () {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n};\n\nBufferList.prototype.clear = function () {\n this.head = this.tail = null;\n this.length = 0;\n};\n\nBufferList.prototype.join = function (s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }return ret;\n};\n\nBufferList.prototype.concat = function (n) {\n if (this.length === 0) return Buffer.alloc(0);\n if (this.length === 1) return this.head.data;\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n p.data.copy(ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar isBufferEncoding = Buffer.isEncoding\n || function(encoding) {\n switch (encoding && encoding.toLowerCase()) {\n case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': case 'raw': return true;\n default: return false;\n }\n };\n\n\nfunction assertEncoding(encoding) {\n if (encoding && !isBufferEncoding(encoding)) {\n throw new Error('Unknown encoding: ' + encoding);\n }\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters. CESU-8 is handled as part of the UTF-8 encoding.\n//\n// @TODO Handling all encodings inside a single object makes it very difficult\n// to reason about this code, so it should be split up in the future.\n// @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code\n// points as used by CESU-8.\nfunction StringDecoder(encoding) {\n this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');\n assertEncoding(encoding);\n switch (this.encoding) {\n case 'utf8':\n // CESU-8 represents each of Surrogate Pair by 3-bytes\n this.surrogateSize = 3;\n break;\n case 'ucs2':\n case 'utf16le':\n // UTF-16 represents each of Surrogate Pair by 2-bytes\n this.surrogateSize = 2;\n this.detectIncompleteChar = utf16DetectIncompleteChar;\n break;\n case 'base64':\n // Base-64 stores 3 bytes in 4 chars, and pads the remainder.\n this.surrogateSize = 3;\n this.detectIncompleteChar = base64DetectIncompleteChar;\n break;\n default:\n this.write = passThroughWrite;\n return;\n }\n\n // Enough space to store all bytes of a single character. UTF-8 needs 4\n // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate).\n this.charBuffer = new Buffer(6);\n // Number of bytes received for the current incomplete multi-byte character.\n this.charReceived = 0;\n // Number of bytes expected for the current incomplete multi-byte character.\n this.charLength = 0;\n}\n\n// write decodes the given buffer and returns it as JS string that is\n// guaranteed to not contain any partial multi-byte characters. Any partial\n// character found at the end of the buffer is buffered up, and will be\n// returned when calling write again with the remaining bytes.\n//\n// Note: Converting a Buffer containing an orphan surrogate to a String\n// currently works, but converting a String to a Buffer (via `new Buffer`, or\n// Buffer#write) will replace incomplete surrogates with the unicode\n// replacement character. See https://codereview.chromium.org/121173009/ .\nStringDecoder.prototype.write = function(buffer) {\n var charStr = '';\n // if our last write ended with an incomplete multibyte character\n while (this.charLength) {\n // determine how many remaining bytes this buffer has to offer for this char\n var available = (buffer.length >= this.charLength - this.charReceived) ?\n this.charLength - this.charReceived :\n buffer.length;\n\n // add the new bytes to the char buffer\n buffer.copy(this.charBuffer, this.charReceived, 0, available);\n this.charReceived += available;\n\n if (this.charReceived < this.charLength) {\n // still not enough chars in this buffer? wait for more ...\n return '';\n }\n\n // remove bytes belonging to the current character from the buffer\n buffer = buffer.slice(available, buffer.length);\n\n // get the character that was split\n charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);\n\n // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character\n var charCode = charStr.charCodeAt(charStr.length - 1);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n this.charLength += this.surrogateSize;\n charStr = '';\n continue;\n }\n this.charReceived = this.charLength = 0;\n\n // if there are no more bytes in this buffer, just emit our char\n if (buffer.length === 0) {\n return charStr;\n }\n break;\n }\n\n // determine and set charLength / charReceived\n this.detectIncompleteChar(buffer);\n\n var end = buffer.length;\n if (this.charLength) {\n // buffer the incomplete character bytes we got\n buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);\n end -= this.charReceived;\n }\n\n charStr += buffer.toString(this.encoding, 0, end);\n\n var end = charStr.length - 1;\n var charCode = charStr.charCodeAt(end);\n // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n var size = this.surrogateSize;\n this.charLength += size;\n this.charReceived += size;\n this.charBuffer.copy(this.charBuffer, size, 0, size);\n buffer.copy(this.charBuffer, 0, 0, size);\n return charStr.substring(0, end);\n }\n\n // or just emit the charStr\n return charStr;\n};\n\n// detectIncompleteChar determines if there is an incomplete UTF-8 character at\n// the end of the given buffer. If so, it sets this.charLength to the byte\n// length that character, and sets this.charReceived to the number of bytes\n// that are available for this character.\nStringDecoder.prototype.detectIncompleteChar = function(buffer) {\n // determine how many bytes we have to check at the end of this buffer\n var i = (buffer.length >= 3) ? 3 : buffer.length;\n\n // Figure out if one of the last i bytes of our buffer announces an\n // incomplete char.\n for (; i > 0; i--) {\n var c = buffer[buffer.length - i];\n\n // See http://en.wikipedia.org/wiki/UTF-8#Description\n\n // 110XXXXX\n if (i == 1 && c >> 5 == 0x06) {\n this.charLength = 2;\n break;\n }\n\n // 1110XXXX\n if (i <= 2 && c >> 4 == 0x0E) {\n this.charLength = 3;\n break;\n }\n\n // 11110XXX\n if (i <= 3 && c >> 3 == 0x1E) {\n this.charLength = 4;\n break;\n }\n }\n this.charReceived = i;\n};\n\nStringDecoder.prototype.end = function(buffer) {\n var res = '';\n if (buffer && buffer.length)\n res = this.write(buffer);\n\n if (this.charReceived) {\n var cr = this.charReceived;\n var buf = this.charBuffer;\n var enc = this.encoding;\n res += buf.slice(0, cr).toString(enc);\n }\n\n return res;\n};\n\nfunction passThroughWrite(buffer) {\n return buffer.toString(this.encoding);\n}\n\nfunction utf16DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 2;\n this.charLength = this.charReceived ? 2 : 0;\n}\n\nfunction base64DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 3;\n this.charLength = this.charReceived ? 3 : 0;\n}\n\nReadable.ReadableState = ReadableState;\n\nvar debug = debuglog('stream');\ninherits$1(Readable, EventEmitter);\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') {\n return emitter.prependListener(event, fn);\n } else {\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event])\n emitter.on(event, fn);\n else if (Array.isArray(emitter._events[event]))\n emitter._events[event].unshift(fn);\n else\n emitter._events[event] = [fn, emitter._events[event]];\n }\n}\nfunction listenerCount (emitter, type) {\n return emitter.listeners(type).length;\n}\nfunction ReadableState(options, stream) {\n\n options = options || {};\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n\n // cast to ints.\n this.highWaterMark = ~ ~this.highWaterMark;\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // when piping, we only care about 'readable' events that happen\n // after read()ing all the bytes and not getting any pushback.\n this.ranOut = false;\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\nfunction Readable(options) {\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options && typeof options.read === 'function') this._read = options.read;\n\n EventEmitter.call(this);\n}\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n\n if (!state.objectMode && typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n }\n\n return readableAddChunk(this, state, chunk, encoding, false);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n var state = this._readableState;\n return readableAddChunk(this, state, chunk, '', true);\n};\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\nfunction readableAddChunk(stream, state, chunk, encoding, addToFront) {\n var er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (state.ended && !addToFront) {\n var e = new Error('stream.push() after EOF');\n stream.emit('error', e);\n } else if (state.endEmitted && addToFront) {\n var _e = new Error('stream.unshift() after end event');\n stream.emit('error', _e);\n } else {\n var skipAdd;\n if (state.decoder && !addToFront && !encoding) {\n chunk = state.decoder.write(chunk);\n skipAdd = !state.objectMode && chunk.length === 0;\n }\n\n if (!addToFront) state.reading = false;\n\n // Don't add to the buffer if we've decoded to an empty string chunk and\n // we're not in object mode\n if (!skipAdd) {\n // if we want the data now, just emit it.\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n }\n\n maybeReadMore(stream, state);\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n\n return needMoreData(state);\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction chunkInvalid(state, chunk) {\n var er = null;\n if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false);\n\n var endFn = doEnd ? onend : cleanup;\n if (state.endEmitted) nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable) {\n debug('onunpipe');\n if (readable === src) {\n cleanup();\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', cleanup);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (listenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && src.listeners('data').length) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var _i = 0; _i < len; _i++) {\n dests[_i].emit('unpipe', this);\n }return this;\n }\n\n // try to find the right one.\n var i = indexOf(state.pipes, dest);\n if (i === -1) return this;\n\n state.pipes.splice(i, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = EventEmitter.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var state = this._readableState;\n var paused = false;\n\n var self = this;\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) self.push(chunk);\n }\n\n self.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = self.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n var events = ['error', 'close', 'destroy', 'pause', 'resume'];\n forEach(events, function (ev) {\n stream.on(ev, self.emit.bind(self, ev));\n });\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n self._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return self;\n};\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction forEach(xs, f) {\n for (var i = 0, l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\nWritable.WritableState = WritableState;\ninherits$1(Writable, EventEmitter);\n\nfunction nop() {}\n\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\nfunction WritableState(options, stream) {\n Object.defineProperty(this, 'buffer', {\n get: deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.')\n });\n options = options || {};\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n\n // cast to ints.\n this.highWaterMark = ~ ~this.highWaterMark;\n\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function writableStateGetBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\nfunction Writable(options) {\n\n // Writable ctor is applied to Duplexes, though they're not\n // instanceof Writable, they're instanceof Readable.\n if (!(this instanceof Writable) && !(this instanceof Duplex)) return new Writable(options);\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n }\n\n EventEmitter.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n nextTick(cb, er);\n}\n\n// If we get something that is not a buffer, string, null, or undefined,\n// and we're not in objectMode, then that's an error.\n// Otherwise stream chunks are all considered to be of length=1, and the\n// watermarks determine how many objects to keep in the buffer, rather than\n// how many bytes or characters.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n // Always throw error if a null is written\n // if we are not in object mode then throw\n // if it is not a buffer, string, or undefined.\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (Buffer.isBuffer(chunk)) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, chunk, encoding, cb) {\n chunk = decodeChunk(state, chunk, encoding);\n\n if (Buffer.isBuffer(chunk)) encoding = 'buffer';\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = new WriteReq(chunk, encoding, cb);\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync) nextTick(cb, er);else cb(er);\n\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n nextTick(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n while (entry) {\n buffer[count] = entry;\n entry = entry.next;\n count += 1;\n }\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequestCount = 0;\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\n\nfunction prefinish(stream, state) {\n if (!state.prefinished) {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n if (state.pendingcb === 0) {\n prefinish(stream, state);\n state.finished = true;\n stream.emit('finish');\n } else {\n prefinish(stream, state);\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n\n this.finish = function (err) {\n var entry = _this.entry;\n _this.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = _this;\n } else {\n state.corkedRequestsFree = _this;\n }\n };\n}\n\ninherits$1(Duplex, Readable);\n\nvar keys = Object.keys(Writable.prototype);\nfor (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n}\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\ninherits$1(Transform, Duplex);\n\nfunction TransformState(stream) {\n this.afterTransform = function (er, data) {\n return afterTransform(stream, er, data);\n };\n\n this.needTransform = false;\n this.transforming = false;\n this.writecb = null;\n this.writechunk = null;\n this.writeencoding = null;\n}\n\nfunction afterTransform(stream, er, data) {\n var ts = stream._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) return stream.emit('error', new Error('no writecb in Transform class'));\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data !== null && data !== undefined) stream.push(data);\n\n cb(er);\n\n var rs = stream._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n stream._read(rs.highWaterMark);\n }\n}\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = new TransformState(this);\n\n // when the writable side finishes, then flush out anything remaining.\n var stream = this;\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n this.once('prefinish', function () {\n if (typeof this._flush === 'function') this._flush(function (er) {\n done(stream, er);\n });else done(stream);\n });\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('Not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nfunction done(stream, er) {\n if (er) return stream.emit('error', er);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n var ws = stream._writableState;\n var ts = stream._transformState;\n\n if (ws.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (ts.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\ninherits$1(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\ninherits$1(Stream, EventEmitter);\nStream.Readable = Readable;\nStream.Writable = Writable;\nStream.Duplex = Duplex;\nStream.Transform = Transform;\nStream.PassThrough = PassThrough;\n\n// Backwards-compat with node 0.4.x\nStream.Stream = Stream;\n\n// old-style streams. Note that the pipe method (the only relevant\n// part of this class) is overridden in the Readable class.\n\nfunction Stream() {\n EventEmitter.call(this);\n}\n\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n\n source.on('data', ondata);\n\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n\n dest.on('drain', ondrain);\n\n // If the 'end' option is not supplied, dest.end() will be called when\n // source gets the 'end' or 'close' events. Only dest.end() once.\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n\n var didOnEnd = false;\n function onend() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n dest.end();\n }\n\n\n function onclose() {\n if (didOnEnd) return;\n didOnEnd = true;\n\n if (typeof dest.destroy === 'function') dest.destroy();\n }\n\n // don't leave dangling pipes when there are errors.\n function onerror(er) {\n cleanup();\n if (EventEmitter.listenerCount(this, 'error') === 0) {\n throw er; // Unhandled stream error in pipe.\n }\n }\n\n source.on('error', onerror);\n dest.on('error', onerror);\n\n // remove all the event listeners that were added.\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n\n dest.removeListener('close', cleanup);\n }\n\n source.on('end', cleanup);\n source.on('close', cleanup);\n\n dest.on('close', cleanup);\n\n dest.emit('pipe', source);\n\n // Allow for unix-like usage: A.pipe(B).pipe(C)\n return dest;\n};\n\nvar _polyfillNode_stream = /*#__PURE__*/Object.freeze({\n __proto__: null,\n Duplex: Duplex,\n PassThrough: PassThrough,\n Readable: Readable,\n Stream: Stream,\n Transform: Transform,\n Writable: Writable,\n default: Stream\n});\n\nvar require$$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_stream);\n\nvar binding = {};\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break;\n }\n }\n\n if (x < y) {\n return -1;\n }\n if (y < x) {\n return 1;\n }\n return 0;\n}\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n if (hasOwn.call(obj, key)) keys.push(key);\n }\n return keys;\n};\nvar pSlice = Array.prototype.slice;\nvar _functionsHaveNames;\nfunction functionsHaveNames() {\n if (typeof _functionsHaveNames !== 'undefined') {\n return _functionsHaveNames;\n }\n return _functionsHaveNames = (function () {\n return function foo() {}.name === 'foo';\n }());\n}\nfunction pToString (obj) {\n return Object.prototype.toString.call(obj);\n}\nfunction isView(arrbuf) {\n if (isBuffer$1(arrbuf)) {\n return false;\n }\n if (typeof global$1.ArrayBuffer !== 'function') {\n return false;\n }\n if (typeof ArrayBuffer.isView === 'function') {\n return ArrayBuffer.isView(arrbuf);\n }\n if (!arrbuf) {\n return false;\n }\n if (arrbuf instanceof DataView) {\n return true;\n }\n if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) {\n return true;\n }\n return false;\n}\n// 1. The assert module provides functions that throw\n// AssertionError's when particular conditions are not met. The\n// assert module must conform to the following interface.\n\nfunction assert(value, message) {\n if (!value) fail(value, true, message, '==', ok);\n}\n\n// 2. The AssertionError is defined in assert.\n// new assert.AssertionError({ message: message,\n// actual: actual,\n// expected: expected })\n\nvar regex = /\\s*function\\s+([^\\(\\s]*)\\s*/;\n// based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js\nfunction getName(func) {\n if (!isFunction(func)) {\n return;\n }\n if (functionsHaveNames()) {\n return func.name;\n }\n var str = func.toString();\n var match = str.match(regex);\n return match && match[1];\n}\nassert.AssertionError = AssertionError;\nfunction AssertionError(options) {\n this.name = 'AssertionError';\n this.actual = options.actual;\n this.expected = options.expected;\n this.operator = options.operator;\n if (options.message) {\n this.message = options.message;\n this.generatedMessage = false;\n } else {\n this.message = getMessage(this);\n this.generatedMessage = true;\n }\n var stackStartFunction = options.stackStartFunction || fail;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, stackStartFunction);\n } else {\n // non v8 browsers so we can have a stacktrace\n var err = new Error();\n if (err.stack) {\n var out = err.stack;\n\n // try to strip useless frames\n var fn_name = getName(stackStartFunction);\n var idx = out.indexOf('\\n' + fn_name);\n if (idx >= 0) {\n // once we have located the function frame\n // we need to strip out everything before it (and its line)\n var next_line = out.indexOf('\\n', idx + 1);\n out = out.substring(next_line + 1);\n }\n\n this.stack = out;\n }\n }\n}\n\n// assert.AssertionError instanceof Error\ninherits$1(AssertionError, Error);\n\nfunction truncate(s, n) {\n if (typeof s === 'string') {\n return s.length < n ? s : s.slice(0, n);\n } else {\n return s;\n }\n}\nfunction inspect(something) {\n if (functionsHaveNames() || !isFunction(something)) {\n return inspect$1(something);\n }\n var rawname = getName(something);\n var name = rawname ? ': ' + rawname : '';\n return '[Function' + name + ']';\n}\nfunction getMessage(self) {\n return truncate(inspect(self.actual), 128) + ' ' +\n self.operator + ' ' +\n truncate(inspect(self.expected), 128);\n}\n\n// At present only the three keys mentioned above are used and\n// understood by the spec. Implementations or sub modules can pass\n// other keys to the AssertionError's constructor - they will be\n// ignored.\n\n// 3. All of the following functions must throw an AssertionError\n// when a corresponding condition is not met, with a message that\n// may be undefined if not provided. All assertion methods provide\n// both the actual and expected values to the assertion error for\n// display purposes.\n\nfunction fail(actual, expected, message, operator, stackStartFunction) {\n throw new AssertionError({\n message: message,\n actual: actual,\n expected: expected,\n operator: operator,\n stackStartFunction: stackStartFunction\n });\n}\n\n// EXTENSION! allows for well behaved errors defined elsewhere.\nassert.fail = fail;\n\n// 4. Pure assertion tests whether a value is truthy, as determined\n// by !!guard.\n// assert.ok(guard, message_opt);\n// This statement is equivalent to assert.equal(true, !!guard,\n// message_opt);. To test strictly for the value true, use\n// assert.strictEqual(true, guard, message_opt);.\n\nfunction ok(value, message) {\n if (!value) fail(value, true, message, '==', ok);\n}\nassert.ok = ok;\n\n// 5. The equality assertion tests shallow, coercive equality with\n// ==.\n// assert.equal(actual, expected, message_opt);\nassert.equal = equal;\nfunction equal(actual, expected, message) {\n if (actual != expected) fail(actual, expected, message, '==', equal);\n}\n\n// 6. The non-equality assertion tests for whether two objects are not equal\n// with != assert.notEqual(actual, expected, message_opt);\nassert.notEqual = notEqual;\nfunction notEqual(actual, expected, message) {\n if (actual == expected) {\n fail(actual, expected, message, '!=', notEqual);\n }\n}\n\n// 7. The equivalence assertion tests a deep equality relation.\n// assert.deepEqual(actual, expected, message_opt);\nassert.deepEqual = deepEqual;\nfunction deepEqual(actual, expected, message) {\n if (!_deepEqual(actual, expected, false)) {\n fail(actual, expected, message, 'deepEqual', deepEqual);\n }\n}\nassert.deepStrictEqual = deepStrictEqual;\nfunction deepStrictEqual(actual, expected, message) {\n if (!_deepEqual(actual, expected, true)) {\n fail(actual, expected, message, 'deepStrictEqual', deepStrictEqual);\n }\n}\n\nfunction _deepEqual(actual, expected, strict, memos) {\n // 7.1. All identical values are equivalent, as determined by ===.\n if (actual === expected) {\n return true;\n } else if (isBuffer$1(actual) && isBuffer$1(expected)) {\n return compare(actual, expected) === 0;\n\n // 7.2. If the expected value is a Date object, the actual value is\n // equivalent if it is also a Date object that refers to the same time.\n } else if (isDate(actual) && isDate(expected)) {\n return actual.getTime() === expected.getTime();\n\n // 7.3 If the expected value is a RegExp object, the actual value is\n // equivalent if it is also a RegExp object with the same source and\n // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).\n } else if (isRegExp(actual) && isRegExp(expected)) {\n return actual.source === expected.source &&\n actual.global === expected.global &&\n actual.multiline === expected.multiline &&\n actual.lastIndex === expected.lastIndex &&\n actual.ignoreCase === expected.ignoreCase;\n\n // 7.4. Other pairs that do not both pass typeof value == 'object',\n // equivalence is determined by ==.\n } else if ((actual === null || typeof actual !== 'object') &&\n (expected === null || typeof expected !== 'object')) {\n return strict ? actual === expected : actual == expected;\n\n // If both values are instances of typed arrays, wrap their underlying\n // ArrayBuffers in a Buffer each to increase performance\n // This optimization requires the arrays to have the same type as checked by\n // Object.prototype.toString (aka pToString). Never perform binary\n // comparisons for Float*Arrays, though, since e.g. +0 === -0 but their\n // bit patterns are not identical.\n } else if (isView(actual) && isView(expected) &&\n pToString(actual) === pToString(expected) &&\n !(actual instanceof Float32Array ||\n actual instanceof Float64Array)) {\n return compare(new Uint8Array(actual.buffer),\n new Uint8Array(expected.buffer)) === 0;\n\n // 7.5 For all other Object pairs, including Array objects, equivalence is\n // determined by having the same number of owned properties (as verified\n // with Object.prototype.hasOwnProperty.call), the same set of keys\n // (although not necessarily the same order), equivalent values for every\n // corresponding key, and an identical 'prototype' property. Note: this\n // accounts for both named and indexed properties on Arrays.\n } else if (isBuffer$1(actual) !== isBuffer$1(expected)) {\n return false;\n } else {\n memos = memos || {actual: [], expected: []};\n\n var actualIndex = memos.actual.indexOf(actual);\n if (actualIndex !== -1) {\n if (actualIndex === memos.expected.indexOf(expected)) {\n return true;\n }\n }\n\n memos.actual.push(actual);\n memos.expected.push(expected);\n\n return objEquiv(actual, expected, strict, memos);\n }\n}\n\nfunction isArguments(object) {\n return Object.prototype.toString.call(object) == '[object Arguments]';\n}\n\nfunction objEquiv(a, b, strict, actualVisitedObjects) {\n if (a === null || a === undefined || b === null || b === undefined)\n return false;\n // if one is a primitive, the other must be same\n if (isPrimitive(a) || isPrimitive(b))\n return a === b;\n if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b))\n return false;\n var aIsArgs = isArguments(a);\n var bIsArgs = isArguments(b);\n if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))\n return false;\n if (aIsArgs) {\n a = pSlice.call(a);\n b = pSlice.call(b);\n return _deepEqual(a, b, strict);\n }\n var ka = objectKeys(a);\n var kb = objectKeys(b);\n var key, i;\n // having the same number of owned properties (keys incorporates\n // hasOwnProperty)\n if (ka.length !== kb.length)\n return false;\n //the same set of keys (although not necessarily the same order),\n ka.sort();\n kb.sort();\n //~~~cheap key test\n for (i = ka.length - 1; i >= 0; i--) {\n if (ka[i] !== kb[i])\n return false;\n }\n //equivalent values for every corresponding key, and\n //~~~possibly expensive deep test\n for (i = ka.length - 1; i >= 0; i--) {\n key = ka[i];\n if (!_deepEqual(a[key], b[key], strict, actualVisitedObjects))\n return false;\n }\n return true;\n}\n\n// 8. The non-equivalence assertion tests for any deep inequality.\n// assert.notDeepEqual(actual, expected, message_opt);\nassert.notDeepEqual = notDeepEqual;\nfunction notDeepEqual(actual, expected, message) {\n if (_deepEqual(actual, expected, false)) {\n fail(actual, expected, message, 'notDeepEqual', notDeepEqual);\n }\n}\n\nassert.notDeepStrictEqual = notDeepStrictEqual;\nfunction notDeepStrictEqual(actual, expected, message) {\n if (_deepEqual(actual, expected, true)) {\n fail(actual, expected, message, 'notDeepStrictEqual', notDeepStrictEqual);\n }\n}\n\n\n// 9. The strict equality assertion tests strict equality, as determined by ===.\n// assert.strictEqual(actual, expected, message_opt);\nassert.strictEqual = strictEqual;\nfunction strictEqual(actual, expected, message) {\n if (actual !== expected) {\n fail(actual, expected, message, '===', strictEqual);\n }\n}\n\n// 10. The strict non-equality assertion tests for strict inequality, as\n// determined by !==. assert.notStrictEqual(actual, expected, message_opt);\nassert.notStrictEqual = notStrictEqual;\nfunction notStrictEqual(actual, expected, message) {\n if (actual === expected) {\n fail(actual, expected, message, '!==', notStrictEqual);\n }\n}\n\nfunction expectedException(actual, expected) {\n if (!actual || !expected) {\n return false;\n }\n\n if (Object.prototype.toString.call(expected) == '[object RegExp]') {\n return expected.test(actual);\n }\n\n try {\n if (actual instanceof expected) {\n return true;\n }\n } catch (e) {\n // Ignore. The instanceof check doesn't work for arrow functions.\n }\n\n if (Error.isPrototypeOf(expected)) {\n return false;\n }\n\n return expected.call({}, actual) === true;\n}\n\nfunction _tryBlock(block) {\n var error;\n try {\n block();\n } catch (e) {\n error = e;\n }\n return error;\n}\n\nfunction _throws(shouldThrow, block, expected, message) {\n var actual;\n\n if (typeof block !== 'function') {\n throw new TypeError('\"block\" argument must be a function');\n }\n\n if (typeof expected === 'string') {\n message = expected;\n expected = null;\n }\n\n actual = _tryBlock(block);\n\n message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +\n (message ? ' ' + message : '.');\n\n if (shouldThrow && !actual) {\n fail(actual, expected, 'Missing expected exception' + message);\n }\n\n var userProvidedMessage = typeof message === 'string';\n var isUnwantedException = !shouldThrow && isError(actual);\n var isUnexpectedException = !shouldThrow && actual && !expected;\n\n if ((isUnwantedException &&\n userProvidedMessage &&\n expectedException(actual, expected)) ||\n isUnexpectedException) {\n fail(actual, expected, 'Got unwanted exception' + message);\n }\n\n if ((shouldThrow && actual && expected &&\n !expectedException(actual, expected)) || (!shouldThrow && actual)) {\n throw actual;\n }\n}\n\n// 11. Expected to throw an error:\n// assert.throws(block, Error_opt, message_opt);\nassert.throws = throws;\nfunction throws(block, /*optional*/error, /*optional*/message) {\n _throws(true, block, error, message);\n}\n\n// EXTENSION! This is annoying to write outside this module.\nassert.doesNotThrow = doesNotThrow;\nfunction doesNotThrow(block, /*optional*/error, /*optional*/message) {\n _throws(false, block, error, message);\n}\n\nassert.ifError = ifError;\nfunction ifError(err) {\n if (err) throw err;\n}\n\nvar _polyfillNode_assert = /*#__PURE__*/Object.freeze({\n __proto__: null,\n AssertionError: AssertionError,\n assert: ok,\n deepEqual: deepEqual,\n deepStrictEqual: deepStrictEqual,\n default: assert,\n doesNotThrow: doesNotThrow,\n equal: equal,\n fail: fail,\n ifError: ifError,\n notDeepEqual: notDeepEqual,\n notDeepStrictEqual: notDeepStrictEqual,\n notEqual: notEqual,\n notStrictEqual: notStrictEqual,\n ok: ok,\n strictEqual: strictEqual,\n throws: throws\n});\n\nvar require$$4 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_assert);\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction ZStream() {\n /* next input byte */\n this.input = null; // JS specific, because we have no pointers\n this.next_in = 0;\n /* number of bytes available at input */\n this.avail_in = 0;\n /* total number of input bytes read so far */\n this.total_in = 0;\n /* next output byte should be put there */\n this.output = null; // JS specific, because we have no pointers\n this.next_out = 0;\n /* remaining free space at output */\n this.avail_out = 0;\n /* total number of bytes output so far */\n this.total_out = 0;\n /* last error message, NULL if no error */\n this.msg = '' /*Z_NULL*/;\n /* not visible by applications */\n this.state = null;\n /* best guess about the data type: binary or text */\n this.data_type = 2 /*Z_UNKNOWN*/;\n /* adler32 value of the uncompressed data */\n this.adler = 0;\n}\nvar zstream = ZStream;\n\nvar deflate$1 = {};\n\nvar common = {};\n\n(function (exports) {\n\n var TYPED_OK = typeof Uint8Array !== 'undefined' && typeof Uint16Array !== 'undefined' && typeof Int32Array !== 'undefined';\n function _has(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n }\n exports.assign = function (obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n while (sources.length) {\n var source = sources.shift();\n if (!source) {\n continue;\n }\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be non-object');\n }\n for (var p in source) {\n if (_has(source, p)) {\n obj[p] = source[p];\n }\n }\n }\n return obj;\n };\n\n // reduce buffer size, avoiding mem copy\n exports.shrinkBuf = function (buf, size) {\n if (buf.length === size) {\n return buf;\n }\n if (buf.subarray) {\n return buf.subarray(0, size);\n }\n buf.length = size;\n return buf;\n };\n var fnTyped = {\n arraySet: function arraySet(dest, src, src_offs, len, dest_offs) {\n if (src.subarray && dest.subarray) {\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\n return;\n }\n // Fallback to ordinary array\n for (var i = 0; i < len; i++) {\n dest[dest_offs + i] = src[src_offs + i];\n }\n },\n // Join array of chunks to single array.\n flattenChunks: function flattenChunks(chunks) {\n var i, l, len, pos, chunk, result;\n\n // calculate data length\n len = 0;\n for (i = 0, l = chunks.length; i < l; i++) {\n len += chunks[i].length;\n }\n\n // join chunks\n result = new Uint8Array(len);\n pos = 0;\n for (i = 0, l = chunks.length; i < l; i++) {\n chunk = chunks[i];\n result.set(chunk, pos);\n pos += chunk.length;\n }\n return result;\n }\n };\n var fnUntyped = {\n arraySet: function arraySet(dest, src, src_offs, len, dest_offs) {\n for (var i = 0; i < len; i++) {\n dest[dest_offs + i] = src[src_offs + i];\n }\n },\n // Join array of chunks to single array.\n flattenChunks: function flattenChunks(chunks) {\n return [].concat.apply([], chunks);\n }\n };\n\n // Enable/Disable typed arrays use, for testing\n //\n exports.setTyped = function (on) {\n if (on) {\n exports.Buf8 = Uint8Array;\n exports.Buf16 = Uint16Array;\n exports.Buf32 = Int32Array;\n exports.assign(exports, fnTyped);\n } else {\n exports.Buf8 = Array;\n exports.Buf16 = Array;\n exports.Buf32 = Array;\n exports.assign(exports, fnUntyped);\n }\n };\n exports.setTyped(TYPED_OK);\n})(common);\n\nvar trees$1 = {};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n/* eslint-disable space-unary-ops */\n\nvar utils$3 = common;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n//var Z_FILTERED = 1;\n//var Z_HUFFMAN_ONLY = 2;\n//var Z_RLE = 3;\nvar Z_FIXED$1 = 4;\n//var Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\nvar Z_BINARY = 0;\nvar Z_TEXT = 1;\n//var Z_ASCII = 1; // = Z_TEXT\nvar Z_UNKNOWN$1 = 2;\n\n/*============================================================================*/\n\nfunction zero$1(buf) {\n var len = buf.length;\n while (--len >= 0) {\n buf[len] = 0;\n }\n}\n\n// From zutil.h\n\nvar STORED_BLOCK = 0;\nvar STATIC_TREES = 1;\nvar DYN_TREES = 2;\n/* The three kinds of block type */\n\nvar MIN_MATCH$1 = 3;\nvar MAX_MATCH$1 = 258;\n/* The minimum and maximum match lengths */\n\n// From deflate.h\n/* ===========================================================================\n * Internal compression state.\n */\n\nvar LENGTH_CODES$1 = 29;\n/* number of length codes, not counting the special END_BLOCK code */\n\nvar LITERALS$1 = 256;\n/* number of literal bytes 0..255 */\n\nvar L_CODES$1 = LITERALS$1 + 1 + LENGTH_CODES$1;\n/* number of Literal or Length codes, including the END_BLOCK code */\n\nvar D_CODES$1 = 30;\n/* number of distance codes */\n\nvar BL_CODES$1 = 19;\n/* number of codes used to transfer the bit lengths */\n\nvar HEAP_SIZE$1 = 2 * L_CODES$1 + 1;\n/* maximum heap size */\n\nvar MAX_BITS$1 = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nvar Buf_size = 16;\n/* size of bit buffer in bi_buf */\n\n/* ===========================================================================\n * Constants\n */\n\nvar MAX_BL_BITS = 7;\n/* Bit length codes must not exceed MAX_BL_BITS bits */\n\nvar END_BLOCK = 256;\n/* end of block literal code */\n\nvar REP_3_6 = 16;\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\n\nvar REPZ_3_10 = 17;\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\n\nvar REPZ_11_138 = 18;\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\n\n/* eslint-disable comma-spacing,array-bracket-spacing */\nvar extra_lbits = /* extra bits for each length code */\n[0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0];\nvar extra_dbits = /* extra bits for each distance code */\n[0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13];\nvar extra_blbits = /* extra bits for each bit length code */\n[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7];\nvar bl_order = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];\n/* eslint-enable comma-spacing,array-bracket-spacing */\n\n/* The lengths of the bit length codes are sent in order of decreasing\n * probability, to avoid transmitting the lengths for unused bit length codes.\n */\n\n/* ===========================================================================\n * Local data. These are initialized only once.\n */\n\n// We pre-fill arrays with 0 to avoid uninitialized gaps\n\nvar DIST_CODE_LEN = 512; /* see definition of array dist_code below */\n\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\nvar static_ltree = new Array((L_CODES$1 + 2) * 2);\nzero$1(static_ltree);\n/* The static literal tree. Since the bit lengths are imposed, there is no\n * need for the L_CODES extra codes used during heap construction. However\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\n * below).\n */\n\nvar static_dtree = new Array(D_CODES$1 * 2);\nzero$1(static_dtree);\n/* The static distance tree. (Actually a trivial tree since all codes use\n * 5 bits.)\n */\n\nvar _dist_code = new Array(DIST_CODE_LEN);\nzero$1(_dist_code);\n/* Distance codes. The first 256 values correspond to the distances\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\n * the 15 bit distances.\n */\n\nvar _length_code = new Array(MAX_MATCH$1 - MIN_MATCH$1 + 1);\nzero$1(_length_code);\n/* length code for each normalized match length (0 == MIN_MATCH) */\n\nvar base_length = new Array(LENGTH_CODES$1);\nzero$1(base_length);\n/* First normalized length for each code (0 = MIN_MATCH) */\n\nvar base_dist = new Array(D_CODES$1);\nzero$1(base_dist);\n/* First normalized distance for each code (0 = distance of 1) */\n\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\n this.static_tree = static_tree; /* static tree or NULL */\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\n this.extra_base = extra_base; /* base index for extra_bits */\n this.elems = elems; /* max number of elements in the tree */\n this.max_length = max_length; /* max bit length for the codes */\n\n // show if `static_tree` has data or dummy - needed for monomorphic objects\n this.has_stree = static_tree && static_tree.length;\n}\nvar static_l_desc;\nvar static_d_desc;\nvar static_bl_desc;\nfunction TreeDesc(dyn_tree, stat_desc) {\n this.dyn_tree = dyn_tree; /* the dynamic tree */\n this.max_code = 0; /* largest code with non zero frequency */\n this.stat_desc = stat_desc; /* the corresponding static tree */\n}\nfunction d_code(dist) {\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\n}\n\n/* ===========================================================================\n * Output a short LSB first on the stream.\n * IN assertion: there is enough room in pendingBuf.\n */\nfunction put_short(s, w) {\n // put_byte(s, (uch)((w) & 0xff));\n // put_byte(s, (uch)((ush)(w) >> 8));\n s.pending_buf[s.pending++] = w & 0xff;\n s.pending_buf[s.pending++] = w >>> 8 & 0xff;\n}\n\n/* ===========================================================================\n * Send a value on a given number of bits.\n * IN assertion: length <= 16 and value fits in length bits.\n */\nfunction send_bits(s, value, length) {\n if (s.bi_valid > Buf_size - length) {\n s.bi_buf |= value << s.bi_valid & 0xffff;\n put_short(s, s.bi_buf);\n s.bi_buf = value >> Buf_size - s.bi_valid;\n s.bi_valid += length - Buf_size;\n } else {\n s.bi_buf |= value << s.bi_valid & 0xffff;\n s.bi_valid += length;\n }\n}\nfunction send_code(s, c, tree) {\n send_bits(s, tree[c * 2] /*.Code*/, tree[c * 2 + 1] /*.Len*/);\n}\n\n/* ===========================================================================\n * Reverse the first len bits of a code, using straightforward code (a faster\n * method would use a table)\n * IN assertion: 1 <= len <= 15\n */\nfunction bi_reverse(code, len) {\n var res = 0;\n do {\n res |= code & 1;\n code >>>= 1;\n res <<= 1;\n } while (--len > 0);\n return res >>> 1;\n}\n\n/* ===========================================================================\n * Flush the bit buffer, keeping at most 7 bits in it.\n */\nfunction bi_flush(s) {\n if (s.bi_valid === 16) {\n put_short(s, s.bi_buf);\n s.bi_buf = 0;\n s.bi_valid = 0;\n } else if (s.bi_valid >= 8) {\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\n s.bi_buf >>= 8;\n s.bi_valid -= 8;\n }\n}\n\n/* ===========================================================================\n * Compute the optimal bit lengths for a tree and update the total bit length\n * for the current block.\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\n * above are the tree nodes sorted by increasing frequency.\n * OUT assertions: the field len is set to the optimal bit length, the\n * array bl_count contains the frequencies for each bit length.\n * The length opt_len is updated; static_len is also updated if stree is\n * not null.\n */\nfunction gen_bitlen(s, desc)\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n var tree = desc.dyn_tree;\n var max_code = desc.max_code;\n var stree = desc.stat_desc.static_tree;\n var has_stree = desc.stat_desc.has_stree;\n var extra = desc.stat_desc.extra_bits;\n var base = desc.stat_desc.extra_base;\n var max_length = desc.stat_desc.max_length;\n var h; /* heap index */\n var n, m; /* iterate over the tree elements */\n var bits; /* bit length */\n var xbits; /* extra bits */\n var f; /* frequency */\n var overflow = 0; /* number of elements with bit length too large */\n\n for (bits = 0; bits <= MAX_BITS$1; bits++) {\n s.bl_count[bits] = 0;\n }\n\n /* In a first pass, compute the optimal bit lengths (which may\n * overflow in the case of the bit length tree).\n */\n tree[s.heap[s.heap_max] * 2 + 1] /*.Len*/ = 0; /* root of the heap */\n\n for (h = s.heap_max + 1; h < HEAP_SIZE$1; h++) {\n n = s.heap[h];\n bits = tree[tree[n * 2 + 1] /*.Dad*/ * 2 + 1] /*.Len*/ + 1;\n if (bits > max_length) {\n bits = max_length;\n overflow++;\n }\n tree[n * 2 + 1] /*.Len*/ = bits;\n /* We overwrite tree[n].Dad which is no longer needed */\n\n if (n > max_code) {\n continue;\n } /* not a leaf node */\n\n s.bl_count[bits]++;\n xbits = 0;\n if (n >= base) {\n xbits = extra[n - base];\n }\n f = tree[n * 2] /*.Freq*/;\n s.opt_len += f * (bits + xbits);\n if (has_stree) {\n s.static_len += f * (stree[n * 2 + 1] /*.Len*/ + xbits);\n }\n }\n if (overflow === 0) {\n return;\n }\n\n // Trace((stderr,\"\\nbit length overflow\\n\"));\n /* This happens for example on obj2 and pic of the Calgary corpus */\n\n /* Find the first bit length which could increase: */\n do {\n bits = max_length - 1;\n while (s.bl_count[bits] === 0) {\n bits--;\n }\n s.bl_count[bits]--; /* move one leaf down the tree */\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\n s.bl_count[max_length]--;\n /* The brother of the overflow item also moves one step up,\n * but this does not affect bl_count[max_length]\n */\n overflow -= 2;\n } while (overflow > 0);\n\n /* Now recompute all bit lengths, scanning in increasing frequency.\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\n * lengths instead of fixing only the wrong ones. This idea is taken\n * from 'ar' written by Haruhiko Okumura.)\n */\n for (bits = max_length; bits !== 0; bits--) {\n n = s.bl_count[bits];\n while (n !== 0) {\n m = s.heap[--h];\n if (m > max_code) {\n continue;\n }\n if (tree[m * 2 + 1] /*.Len*/ !== bits) {\n // Trace((stderr,\"code %d bits %d->%d\\n\", m, tree[m].Len, bits));\n s.opt_len += (bits - tree[m * 2 + 1] /*.Len*/) * tree[m * 2] /*.Freq*/;\n tree[m * 2 + 1] /*.Len*/ = bits;\n }\n n--;\n }\n }\n}\n\n/* ===========================================================================\n * Generate the codes for a given tree and bit counts (which need not be\n * optimal).\n * IN assertion: the array bl_count contains the bit length statistics for\n * the given tree and the field len is set for all tree elements.\n * OUT assertion: the field code is set for all tree elements of non\n * zero code length.\n */\nfunction gen_codes(tree, max_code, bl_count)\n// ct_data *tree; /* the tree to decorate */\n// int max_code; /* largest code with non zero frequency */\n// ushf *bl_count; /* number of codes at each bit length */\n{\n var next_code = new Array(MAX_BITS$1 + 1); /* next code value for each bit length */\n var code = 0; /* running code value */\n var bits; /* bit index */\n var n; /* code index */\n\n /* The distribution counts are first used to generate the code values\n * without bit reversal.\n */\n for (bits = 1; bits <= MAX_BITS$1; bits++) {\n next_code[bits] = code = code + bl_count[bits - 1] << 1;\n }\n /* Check that the bit counts in bl_count are consistent. The last code\n * must be all ones.\n */\n //Assert (code + bl_count[MAX_BITS]-1 == (1< length code (0..28) */\n length = 0;\n for (code = 0; code < LENGTH_CODES$1 - 1; code++) {\n base_length[code] = length;\n for (n = 0; n < 1 << extra_lbits[code]; n++) {\n _length_code[length++] = code;\n }\n }\n //Assert (length == 256, \"tr_static_init: length != 256\");\n /* Note that the length 255 (match length 258) can be represented\n * in two different ways: code 284 + 5 bits or code 285, so we\n * overwrite length_code[255] to use the best encoding:\n */\n _length_code[length - 1] = code;\n\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\n dist = 0;\n for (code = 0; code < 16; code++) {\n base_dist[code] = dist;\n for (n = 0; n < 1 << extra_dbits[code]; n++) {\n _dist_code[dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: dist != 256\");\n dist >>= 7; /* from now on, all distances are divided by 128 */\n for (; code < D_CODES$1; code++) {\n base_dist[code] = dist << 7;\n for (n = 0; n < 1 << extra_dbits[code] - 7; n++) {\n _dist_code[256 + dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: 256+dist != 512\");\n\n /* Construct the codes of the static literal tree */\n for (bits = 0; bits <= MAX_BITS$1; bits++) {\n bl_count[bits] = 0;\n }\n n = 0;\n while (n <= 143) {\n static_ltree[n * 2 + 1] /*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n while (n <= 255) {\n static_ltree[n * 2 + 1] /*.Len*/ = 9;\n n++;\n bl_count[9]++;\n }\n while (n <= 279) {\n static_ltree[n * 2 + 1] /*.Len*/ = 7;\n n++;\n bl_count[7]++;\n }\n while (n <= 287) {\n static_ltree[n * 2 + 1] /*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n /* Codes 286 and 287 do not exist, but we must include them in the\n * tree construction to get a canonical Huffman tree (longest code\n * all ones)\n */\n gen_codes(static_ltree, L_CODES$1 + 1, bl_count);\n\n /* The static distance tree is trivial: */\n for (n = 0; n < D_CODES$1; n++) {\n static_dtree[n * 2 + 1] /*.Len*/ = 5;\n static_dtree[n * 2] /*.Code*/ = bi_reverse(n, 5);\n }\n\n // Now data ready and we can init static trees\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS$1 + 1, L_CODES$1, MAX_BITS$1);\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES$1, MAX_BITS$1);\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES$1, MAX_BL_BITS);\n\n //static_init_done = true;\n}\n\n/* ===========================================================================\n * Initialize a new block.\n */\nfunction init_block(s) {\n var n; /* iterates over tree elements */\n\n /* Initialize the trees. */\n for (n = 0; n < L_CODES$1; n++) {\n s.dyn_ltree[n * 2] /*.Freq*/ = 0;\n }\n for (n = 0; n < D_CODES$1; n++) {\n s.dyn_dtree[n * 2] /*.Freq*/ = 0;\n }\n for (n = 0; n < BL_CODES$1; n++) {\n s.bl_tree[n * 2] /*.Freq*/ = 0;\n }\n s.dyn_ltree[END_BLOCK * 2] /*.Freq*/ = 1;\n s.opt_len = s.static_len = 0;\n s.last_lit = s.matches = 0;\n}\n\n/* ===========================================================================\n * Flush the bit buffer and align the output on a byte boundary\n */\nfunction bi_windup(s) {\n if (s.bi_valid > 8) {\n put_short(s, s.bi_buf);\n } else if (s.bi_valid > 0) {\n //put_byte(s, (Byte)s->bi_buf);\n s.pending_buf[s.pending++] = s.bi_buf;\n }\n s.bi_buf = 0;\n s.bi_valid = 0;\n}\n\n/* ===========================================================================\n * Copy a stored block, storing first the length and its\n * one's complement if requested.\n */\nfunction copy_block(s, buf, len, header)\n//DeflateState *s;\n//charf *buf; /* the input data */\n//unsigned len; /* its length */\n//int header; /* true if block header must be written */\n{\n bi_windup(s); /* align on byte boundary */\n\n if (header) {\n put_short(s, len);\n put_short(s, ~len);\n }\n // while (len--) {\n // put_byte(s, *buf++);\n // }\n utils$3.arraySet(s.pending_buf, s.window, buf, len, s.pending);\n s.pending += len;\n}\n\n/* ===========================================================================\n * Compares to subtrees, using the tree depth as tie breaker when\n * the subtrees have equal frequency. This minimizes the worst case length.\n */\nfunction smaller(tree, n, m, depth) {\n var _n2 = n * 2;\n var _m2 = m * 2;\n return tree[_n2] /*.Freq*/ < tree[_m2] /*.Freq*/ || tree[_n2] /*.Freq*/ === tree[_m2] /*.Freq*/ && depth[n] <= depth[m];\n}\n\n/* ===========================================================================\n * Restore the heap property by moving down the tree starting at node k,\n * exchanging a node with the smallest of its two sons if necessary, stopping\n * when the heap property is re-established (each father smaller than its\n * two sons).\n */\nfunction pqdownheap(s, tree, k)\n// deflate_state *s;\n// ct_data *tree; /* the tree to restore */\n// int k; /* node to move down */\n{\n var v = s.heap[k];\n var j = k << 1; /* left son of k */\n while (j <= s.heap_len) {\n /* Set j to the smallest of the two sons: */\n if (j < s.heap_len && smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\n j++;\n }\n /* Exit if v is smaller than both sons */\n if (smaller(tree, v, s.heap[j], s.depth)) {\n break;\n }\n\n /* Exchange v with the smallest son */\n s.heap[k] = s.heap[j];\n k = j;\n\n /* And continue down the tree, setting j to the left son of k */\n j <<= 1;\n }\n s.heap[k] = v;\n}\n\n// inlined manually\n// var SMALLEST = 1;\n\n/* ===========================================================================\n * Send the block data compressed using the given Huffman trees\n */\nfunction compress_block(s, ltree, dtree)\n// deflate_state *s;\n// const ct_data *ltree; /* literal tree */\n// const ct_data *dtree; /* distance tree */\n{\n var dist; /* distance of matched string */\n var lc; /* match length or unmatched char (if dist == 0) */\n var lx = 0; /* running index in l_buf */\n var code; /* the code to send */\n var extra; /* number of extra bits to send */\n\n if (s.last_lit !== 0) {\n do {\n dist = s.pending_buf[s.d_buf + lx * 2] << 8 | s.pending_buf[s.d_buf + lx * 2 + 1];\n lc = s.pending_buf[s.l_buf + lx];\n lx++;\n if (dist === 0) {\n send_code(s, lc, ltree); /* send a literal byte */\n //Tracecv(isgraph(lc), (stderr,\" '%c' \", lc));\n } else {\n /* Here, lc is the match length - MIN_MATCH */\n code = _length_code[lc];\n send_code(s, code + LITERALS$1 + 1, ltree); /* send the length code */\n extra = extra_lbits[code];\n if (extra !== 0) {\n lc -= base_length[code];\n send_bits(s, lc, extra); /* send the extra length bits */\n }\n dist--; /* dist is now the match distance - 1 */\n code = d_code(dist);\n //Assert (code < D_CODES, \"bad d_code\");\n\n send_code(s, code, dtree); /* send the distance code */\n extra = extra_dbits[code];\n if (extra !== 0) {\n dist -= base_dist[code];\n send_bits(s, dist, extra); /* send the extra distance bits */\n }\n } /* literal or match pair ? */\n\n /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */\n //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,\n // \"pendingBuf overflow\");\n } while (lx < s.last_lit);\n }\n send_code(s, END_BLOCK, ltree);\n}\n\n/* ===========================================================================\n * Construct one Huffman tree and assigns the code bit strings and lengths.\n * Update the total bit length for the current block.\n * IN assertion: the field freq is set for all tree elements.\n * OUT assertions: the fields len and code are set to the optimal bit length\n * and corresponding code. The length opt_len is updated; static_len is\n * also updated if stree is not null. The field max_code is set.\n */\nfunction build_tree(s, desc)\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n var tree = desc.dyn_tree;\n var stree = desc.stat_desc.static_tree;\n var has_stree = desc.stat_desc.has_stree;\n var elems = desc.stat_desc.elems;\n var n, m; /* iterate over heap elements */\n var max_code = -1; /* largest code with non zero frequency */\n var node; /* new node being created */\n\n /* Construct the initial heap, with least frequent element in\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\n * heap[0] is not used.\n */\n s.heap_len = 0;\n s.heap_max = HEAP_SIZE$1;\n for (n = 0; n < elems; n++) {\n if (tree[n * 2] /*.Freq*/ !== 0) {\n s.heap[++s.heap_len] = max_code = n;\n s.depth[n] = 0;\n } else {\n tree[n * 2 + 1] /*.Len*/ = 0;\n }\n }\n\n /* The pkzip format requires that at least one distance code exists,\n * and that at least one bit should be sent even if there is only one\n * possible code. So to avoid special checks later on we force at least\n * two codes of non zero frequency.\n */\n while (s.heap_len < 2) {\n node = s.heap[++s.heap_len] = max_code < 2 ? ++max_code : 0;\n tree[node * 2] /*.Freq*/ = 1;\n s.depth[node] = 0;\n s.opt_len--;\n if (has_stree) {\n s.static_len -= stree[node * 2 + 1] /*.Len*/;\n }\n /* node is 0 or 1 so it does not have extra bits */\n }\n desc.max_code = max_code;\n\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\n * establish sub-heaps of increasing lengths:\n */\n for (n = s.heap_len >> 1 /*int /2*/; n >= 1; n--) {\n pqdownheap(s, tree, n);\n }\n\n /* Construct the Huffman tree by repeatedly combining the least two\n * frequent nodes.\n */\n node = elems; /* next internal node of the tree */\n do {\n //pqremove(s, tree, n); /* n = node of least frequency */\n /*** pqremove ***/\n n = s.heap[1 /*SMALLEST*/];\n s.heap[1 /*SMALLEST*/] = s.heap[s.heap_len--];\n pqdownheap(s, tree, 1 /*SMALLEST*/);\n /***/\n\n m = s.heap[1 /*SMALLEST*/]; /* m = node of next least frequency */\n\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\n s.heap[--s.heap_max] = m;\n\n /* Create a new node father of n and m */\n tree[node * 2] /*.Freq*/ = tree[n * 2] /*.Freq*/ + tree[m * 2] /*.Freq*/;\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\n tree[n * 2 + 1] /*.Dad*/ = tree[m * 2 + 1] /*.Dad*/ = node;\n\n /* and insert the new node in the heap */\n s.heap[1 /*SMALLEST*/] = node++;\n pqdownheap(s, tree, 1 /*SMALLEST*/);\n } while (s.heap_len >= 2);\n s.heap[--s.heap_max] = s.heap[1 /*SMALLEST*/];\n\n /* At this point, the fields freq and dad are set. We can now\n * generate the bit lengths.\n */\n gen_bitlen(s, desc);\n\n /* The field len is now set, we can generate the bit codes */\n gen_codes(tree, max_code, s.bl_count);\n}\n\n/* ===========================================================================\n * Scan a literal or distance tree to determine the frequencies of the codes\n * in the bit length tree.\n */\nfunction scan_tree(s, tree, max_code)\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n var n; /* iterates over all tree elements */\n var prevlen = -1; /* last emitted length */\n var curlen; /* length of current code */\n\n var nextlen = tree[0 * 2 + 1] /*.Len*/; /* length of next code */\n\n var count = 0; /* repeat count of the current code */\n var max_count = 7; /* max repeat count */\n var min_count = 4; /* min repeat count */\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n tree[(max_code + 1) * 2 + 1] /*.Len*/ = 0xffff; /* guard */\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1] /*.Len*/;\n if (++count < max_count && curlen === nextlen) {\n continue;\n } else if (count < min_count) {\n s.bl_tree[curlen * 2] /*.Freq*/ += count;\n } else if (curlen !== 0) {\n if (curlen !== prevlen) {\n s.bl_tree[curlen * 2] /*.Freq*/++;\n }\n s.bl_tree[REP_3_6 * 2] /*.Freq*/++;\n } else if (count <= 10) {\n s.bl_tree[REPZ_3_10 * 2] /*.Freq*/++;\n } else {\n s.bl_tree[REPZ_11_138 * 2] /*.Freq*/++;\n }\n count = 0;\n prevlen = curlen;\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n}\n\n/* ===========================================================================\n * Send a literal or distance tree in compressed form, using the codes in\n * bl_tree.\n */\nfunction send_tree(s, tree, max_code)\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n var n; /* iterates over all tree elements */\n var prevlen = -1; /* last emitted length */\n var curlen; /* length of current code */\n\n var nextlen = tree[0 * 2 + 1] /*.Len*/; /* length of next code */\n\n var count = 0; /* repeat count of the current code */\n var max_count = 7; /* max repeat count */\n var min_count = 4; /* min repeat count */\n\n /* tree[max_code+1].Len = -1; */ /* guard already set */\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1] /*.Len*/;\n if (++count < max_count && curlen === nextlen) {\n continue;\n } else if (count < min_count) {\n do {\n send_code(s, curlen, s.bl_tree);\n } while (--count !== 0);\n } else if (curlen !== 0) {\n if (curlen !== prevlen) {\n send_code(s, curlen, s.bl_tree);\n count--;\n }\n //Assert(count >= 3 && count <= 6, \" 3_6?\");\n send_code(s, REP_3_6, s.bl_tree);\n send_bits(s, count - 3, 2);\n } else if (count <= 10) {\n send_code(s, REPZ_3_10, s.bl_tree);\n send_bits(s, count - 3, 3);\n } else {\n send_code(s, REPZ_11_138, s.bl_tree);\n send_bits(s, count - 11, 7);\n }\n count = 0;\n prevlen = curlen;\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n}\n\n/* ===========================================================================\n * Construct the Huffman tree for the bit lengths and return the index in\n * bl_order of the last bit length code to send.\n */\nfunction build_bl_tree(s) {\n var max_blindex; /* index of last bit length code of non zero freq */\n\n /* Determine the bit length frequencies for literal and distance trees */\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\n\n /* Build the bit length tree: */\n build_tree(s, s.bl_desc);\n /* opt_len now includes the length of the tree representations, except\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\n */\n\n /* Determine the number of bit length codes to send. The pkzip format\n * requires that at least 4 bit length codes be sent. (appnote.txt says\n * 3 but the actual value used is 4.)\n */\n for (max_blindex = BL_CODES$1 - 1; max_blindex >= 3; max_blindex--) {\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1] /*.Len*/ !== 0) {\n break;\n }\n }\n /* Update opt_len to include the bit length tree and counts */\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\n //Tracev((stderr, \"\\ndyn trees: dyn %ld, stat %ld\",\n // s->opt_len, s->static_len));\n\n return max_blindex;\n}\n\n/* ===========================================================================\n * Send the header for a block using dynamic Huffman trees: the counts, the\n * lengths of the bit length codes, the literal tree and the distance tree.\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\n */\nfunction send_all_trees(s, lcodes, dcodes, blcodes)\n// deflate_state *s;\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\n{\n var rank; /* index in bl_order */\n\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \"not enough codes\");\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\n // \"too many codes\");\n //Tracev((stderr, \"\\nbl counts: \"));\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\n send_bits(s, dcodes - 1, 5);\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\n for (rank = 0; rank < blcodes; rank++) {\n //Tracev((stderr, \"\\nbl code %2d \", bl_order[rank]));\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1] /*.Len*/, 3);\n }\n //Tracev((stderr, \"\\nbl tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\n //Tracev((stderr, \"\\nlit tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\n //Tracev((stderr, \"\\ndist tree: sent %ld\", s->bits_sent));\n}\n\n/* ===========================================================================\n * Check if the data type is TEXT or BINARY, using the following algorithm:\n * - TEXT if the two conditions below are satisfied:\n * a) There are no non-portable control characters belonging to the\n * \"black list\" (0..6, 14..25, 28..31).\n * b) There is at least one printable character belonging to the\n * \"white list\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\n * - BINARY otherwise.\n * - The following partially-portable control characters form a\n * \"gray list\" that is ignored in this detection algorithm:\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\n * IN assertion: the fields Freq of dyn_ltree are set.\n */\nfunction detect_data_type(s) {\n /* black_mask is the bit mask of black-listed bytes\n * set bits 0..6, 14..25, and 28..31\n * 0xf3ffc07f = binary 11110011111111111100000001111111\n */\n var black_mask = 0xf3ffc07f;\n var n;\n\n /* Check for non-textual (\"black-listed\") bytes. */\n for (n = 0; n <= 31; n++, black_mask >>>= 1) {\n if (black_mask & 1 && s.dyn_ltree[n * 2] /*.Freq*/ !== 0) {\n return Z_BINARY;\n }\n }\n\n /* Check for textual (\"white-listed\") bytes. */\n if (s.dyn_ltree[9 * 2] /*.Freq*/ !== 0 || s.dyn_ltree[10 * 2] /*.Freq*/ !== 0 || s.dyn_ltree[13 * 2] /*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n for (n = 32; n < LITERALS$1; n++) {\n if (s.dyn_ltree[n * 2] /*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n }\n\n /* There are no \"black-listed\" or \"white-listed\" bytes:\n * this stream either is empty or has tolerated (\"gray-listed\") bytes only.\n */\n return Z_BINARY;\n}\nvar static_init_done = false;\n\n/* ===========================================================================\n * Initialize the tree data structures for a new zlib stream.\n */\nfunction _tr_init(s) {\n if (!static_init_done) {\n tr_static_init();\n static_init_done = true;\n }\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n /* Initialize the first block of the first file: */\n init_block(s);\n}\n\n/* ===========================================================================\n * Send a stored block\n */\nfunction _tr_stored_block(s, buf, stored_len, last)\n//DeflateState *s;\n//charf *buf; /* input block */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\n copy_block(s, buf, stored_len, true); /* with header */\n}\n\n/* ===========================================================================\n * Send one empty static block to give enough lookahead for inflate.\n * This takes 10 bits, of which 7 may remain in the bit buffer.\n */\nfunction _tr_align(s) {\n send_bits(s, STATIC_TREES << 1, 3);\n send_code(s, END_BLOCK, static_ltree);\n bi_flush(s);\n}\n\n/* ===========================================================================\n * Determine the best encoding for the current block: dynamic trees, static\n * trees or store, and output the encoded block to the zip file.\n */\nfunction _tr_flush_block(s, buf, stored_len, last)\n//DeflateState *s;\n//charf *buf; /* input block, or NULL if too old */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n var opt_lenb, static_lenb; /* opt_len and static_len in bytes */\n var max_blindex = 0; /* index of last bit length code of non zero freq */\n\n /* Build the Huffman trees unless a stored block is forced */\n if (s.level > 0) {\n /* Check if the file is binary or text */\n if (s.strm.data_type === Z_UNKNOWN$1) {\n s.strm.data_type = detect_data_type(s);\n }\n\n /* Construct the literal and distance trees */\n build_tree(s, s.l_desc);\n // Tracev((stderr, \"\\nlit data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n\n build_tree(s, s.d_desc);\n // Tracev((stderr, \"\\ndist data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n /* At this point, opt_len and static_len are the total bit lengths of\n * the compressed block data, excluding the tree representations.\n */\n\n /* Build the bit length tree for the above two trees, and get the index\n * in bl_order of the last bit length code to send.\n */\n max_blindex = build_bl_tree(s);\n\n /* Determine the best encoding. Compute the block lengths in bytes. */\n opt_lenb = s.opt_len + 3 + 7 >>> 3;\n static_lenb = s.static_len + 3 + 7 >>> 3;\n\n // Tracev((stderr, \"\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \",\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\n // s->last_lit));\n\n if (static_lenb <= opt_lenb) {\n opt_lenb = static_lenb;\n }\n } else {\n // Assert(buf != (char*)0, \"lost buf\");\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\n }\n if (stored_len + 4 <= opt_lenb && buf !== -1) {\n /* 4: two words for the lengths */\n\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\n * Otherwise we can't have processed more than WSIZE input bytes since\n * the last block flush, because compression would have been\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\n * transform a block into a stored block.\n */\n _tr_stored_block(s, buf, stored_len, last);\n } else if (s.strategy === Z_FIXED$1 || static_lenb === opt_lenb) {\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\n compress_block(s, static_ltree, static_dtree);\n } else {\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\n }\n // Assert (s->compressed_len == s->bits_sent, \"bad compressed size\");\n /* The above check is made mod 2^32, for files larger than 512 MB\n * and uLong implemented on 32 bits.\n */\n init_block(s);\n if (last) {\n bi_windup(s);\n }\n // Tracev((stderr,\"\\ncomprlen %lu(%lu) \", s->compressed_len>>3,\n // s->compressed_len-7*last));\n}\n\n/* ===========================================================================\n * Save the match info and tally the frequency counts. Return true if\n * the current block must be flushed.\n */\nfunction _tr_tally(s, dist, lc)\n// deflate_state *s;\n// unsigned dist; /* distance of matched string */\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\n{\n //var out_length, in_length, dcode;\n\n s.pending_buf[s.d_buf + s.last_lit * 2] = dist >>> 8 & 0xff;\n s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;\n s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;\n s.last_lit++;\n if (dist === 0) {\n /* lc is the unmatched char */\n s.dyn_ltree[lc * 2] /*.Freq*/++;\n } else {\n s.matches++;\n /* Here, lc is the match length - MIN_MATCH */\n dist--; /* dist = match distance - 1 */\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\n // (ush)d_code(dist) < (ush)D_CODES, \"_tr_tally: bad match\");\n\n s.dyn_ltree[(_length_code[lc] + LITERALS$1 + 1) * 2] /*.Freq*/++;\n s.dyn_dtree[d_code(dist) * 2] /*.Freq*/++;\n }\n\n // (!) This block is disabled in zlib defaults,\n // don't enable it for binary compatibility\n\n //#ifdef TRUNCATE_BLOCK\n // /* Try to guess if it is profitable to stop the current block here */\n // if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {\n // /* Compute an upper bound for the compressed length */\n // out_length = s.last_lit*8;\n // in_length = s.strstart - s.block_start;\n //\n // for (dcode = 0; dcode < D_CODES; dcode++) {\n // out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);\n // }\n // out_length >>>= 3;\n // //Tracev((stderr,\"\\nlast_lit %u, in %ld, out ~%ld(%ld%%) \",\n // // s->last_lit, in_length, out_length,\n // // 100L - out_length*100L/in_length));\n // if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {\n // return true;\n // }\n // }\n //#endif\n\n return s.last_lit === s.lit_bufsize - 1;\n /* We avoid equality with lit_bufsize because of wraparound at 64K\n * on 16 bit machines and because stored blocks are restricted to\n * 64K-1 bytes.\n */\n}\ntrees$1._tr_init = _tr_init;\ntrees$1._tr_stored_block = _tr_stored_block;\ntrees$1._tr_flush_block = _tr_flush_block;\ntrees$1._tr_tally = _tr_tally;\ntrees$1._tr_align = _tr_align;\n\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\n// It isn't worth it to make additional optimizations as in original.\n// Small size is preferable.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction adler32$2(adler, buf, len, pos) {\n var s1 = adler & 0xffff | 0,\n s2 = adler >>> 16 & 0xffff | 0,\n n = 0;\n while (len !== 0) {\n // Set limit ~ twice less than 5552, to keep\n // s2 in 31-bits, because we force signed ints.\n // in other case %= will fail.\n n = len > 2000 ? 2000 : len;\n len -= n;\n do {\n s1 = s1 + buf[pos++] | 0;\n s2 = s2 + s1 | 0;\n } while (--n);\n s1 %= 65521;\n s2 %= 65521;\n }\n return s1 | s2 << 16 | 0;\n}\nvar adler32_1 = adler32$2;\n\n// Note: we can't get significant speed boost here.\n// So write code to minimize size - no pregenerated tables\n// and array tools dependencies.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// Use ordinary array, since untyped makes no boost here\nfunction makeTable() {\n var c,\n table = [];\n for (var n = 0; n < 256; n++) {\n c = n;\n for (var k = 0; k < 8; k++) {\n c = c & 1 ? 0xEDB88320 ^ c >>> 1 : c >>> 1;\n }\n table[n] = c;\n }\n return table;\n}\n\n// Create table on load. Just 255 signed longs. Not a problem.\nvar crcTable = makeTable();\nfunction crc32$2(crc, buf, len, pos) {\n var t = crcTable,\n end = pos + len;\n crc ^= -1;\n for (var i = pos; i < end; i++) {\n crc = crc >>> 8 ^ t[(crc ^ buf[i]) & 0xFF];\n }\n return crc ^ -1; // >>> 0;\n}\nvar crc32_1 = crc32$2;\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar messages = {\n 2: 'need dictionary',\n /* Z_NEED_DICT 2 */\n 1: 'stream end',\n /* Z_STREAM_END 1 */\n 0: '',\n /* Z_OK 0 */\n '-1': 'file error',\n /* Z_ERRNO (-1) */\n '-2': 'stream error',\n /* Z_STREAM_ERROR (-2) */\n '-3': 'data error',\n /* Z_DATA_ERROR (-3) */\n '-4': 'insufficient memory',\n /* Z_MEM_ERROR (-4) */\n '-5': 'buffer error',\n /* Z_BUF_ERROR (-5) */\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils$2 = common;\nvar trees = trees$1;\nvar adler32$1 = adler32_1;\nvar crc32$1 = crc32_1;\nvar msg = messages;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n/* Allowed flush values; see deflate() and inflate() below for details */\nvar Z_NO_FLUSH = 0;\nvar Z_PARTIAL_FLUSH = 1;\n//var Z_SYNC_FLUSH = 2;\nvar Z_FULL_FLUSH = 3;\nvar Z_FINISH$1 = 4;\nvar Z_BLOCK$1 = 5;\n//var Z_TREES = 6;\n\n/* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\nvar Z_OK$1 = 0;\nvar Z_STREAM_END$1 = 1;\n//var Z_NEED_DICT = 2;\n//var Z_ERRNO = -1;\nvar Z_STREAM_ERROR$1 = -2;\nvar Z_DATA_ERROR$1 = -3;\n//var Z_MEM_ERROR = -4;\nvar Z_BUF_ERROR$1 = -5;\n//var Z_VERSION_ERROR = -6;\n\n/* compression levels */\n//var Z_NO_COMPRESSION = 0;\n//var Z_BEST_SPEED = 1;\n//var Z_BEST_COMPRESSION = 9;\nvar Z_DEFAULT_COMPRESSION = -1;\nvar Z_FILTERED = 1;\nvar Z_HUFFMAN_ONLY = 2;\nvar Z_RLE = 3;\nvar Z_FIXED = 4;\nvar Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\n//var Z_BINARY = 0;\n//var Z_TEXT = 1;\n//var Z_ASCII = 1; // = Z_TEXT\nvar Z_UNKNOWN = 2;\n\n/* The deflate compression method */\nvar Z_DEFLATED$1 = 8;\n\n/*============================================================================*/\n\nvar MAX_MEM_LEVEL = 9;\n/* Maximum value for memLevel in deflateInit2 */\nvar MAX_WBITS$1 = 15;\n/* 32K LZ77 window */\nvar DEF_MEM_LEVEL = 8;\nvar LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\nvar LITERALS = 256;\n/* number of literal bytes 0..255 */\nvar L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\nvar D_CODES = 30;\n/* number of distance codes */\nvar BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\nvar HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\nvar MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nvar MIN_MATCH = 3;\nvar MAX_MATCH = 258;\nvar MIN_LOOKAHEAD = MAX_MATCH + MIN_MATCH + 1;\nvar PRESET_DICT = 0x20;\nvar INIT_STATE = 42;\nvar EXTRA_STATE = 69;\nvar NAME_STATE = 73;\nvar COMMENT_STATE = 91;\nvar HCRC_STATE = 103;\nvar BUSY_STATE = 113;\nvar FINISH_STATE = 666;\nvar BS_NEED_MORE = 1; /* block not completed, need more input or more output */\nvar BS_BLOCK_DONE = 2; /* block flush performed */\nvar BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\nvar BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\n\nvar OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\n\nfunction err(strm, errorCode) {\n strm.msg = msg[errorCode];\n return errorCode;\n}\nfunction rank(f) {\n return (f << 1) - (f > 4 ? 9 : 0);\n}\nfunction zero(buf) {\n var len = buf.length;\n while (--len >= 0) {\n buf[len] = 0;\n }\n}\n\n/* =========================================================================\n * Flush as much pending output as possible. All deflate() output goes\n * through this function so some applications may wish to modify it\n * to avoid allocating a large strm->output buffer and copying into it.\n * (See also read_buf()).\n */\nfunction flush_pending(strm) {\n var s = strm.state;\n\n //_tr_flush_bits(s);\n var len = s.pending;\n if (len > strm.avail_out) {\n len = strm.avail_out;\n }\n if (len === 0) {\n return;\n }\n utils$2.arraySet(strm.output, s.pending_buf, s.pending_out, len, strm.next_out);\n strm.next_out += len;\n s.pending_out += len;\n strm.total_out += len;\n strm.avail_out -= len;\n s.pending -= len;\n if (s.pending === 0) {\n s.pending_out = 0;\n }\n}\nfunction flush_block_only(s, last) {\n trees._tr_flush_block(s, s.block_start >= 0 ? s.block_start : -1, s.strstart - s.block_start, last);\n s.block_start = s.strstart;\n flush_pending(s.strm);\n}\nfunction put_byte(s, b) {\n s.pending_buf[s.pending++] = b;\n}\n\n/* =========================================================================\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\n * IN assertion: the stream state is correct and there is enough room in\n * pending_buf.\n */\nfunction putShortMSB(s, b) {\n // put_byte(s, (Byte)(b >> 8));\n // put_byte(s, (Byte)(b & 0xff));\n s.pending_buf[s.pending++] = b >>> 8 & 0xff;\n s.pending_buf[s.pending++] = b & 0xff;\n}\n\n/* ===========================================================================\n * Read a new buffer from the current input stream, update the adler32\n * and total number of bytes read. All deflate() input goes through\n * this function so some applications may wish to modify it to avoid\n * allocating a large strm->input buffer and copying from it.\n * (See also flush_pending()).\n */\nfunction read_buf(strm, buf, start, size) {\n var len = strm.avail_in;\n if (len > size) {\n len = size;\n }\n if (len === 0) {\n return 0;\n }\n strm.avail_in -= len;\n\n // zmemcpy(buf, strm->next_in, len);\n utils$2.arraySet(buf, strm.input, strm.next_in, len, start);\n if (strm.state.wrap === 1) {\n strm.adler = adler32$1(strm.adler, buf, len, start);\n } else if (strm.state.wrap === 2) {\n strm.adler = crc32$1(strm.adler, buf, len, start);\n }\n strm.next_in += len;\n strm.total_in += len;\n return len;\n}\n\n/* ===========================================================================\n * Set match_start to the longest match starting at the given string and\n * return its length. Matches shorter or equal to prev_length are discarded,\n * in which case the result is equal to prev_length and match_start is\n * garbage.\n * IN assertions: cur_match is the head of the hash chain for the current\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\n * OUT assertion: the match length is not greater than s->lookahead.\n */\nfunction longest_match(s, cur_match) {\n var chain_length = s.max_chain_length; /* max hash chain length */\n var scan = s.strstart; /* current string */\n var match; /* matched string */\n var len; /* length of current match */\n var best_len = s.prev_length; /* best match length so far */\n var nice_match = s.nice_match; /* stop if match long enough */\n var limit = s.strstart > s.w_size - MIN_LOOKAHEAD ? s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0 /*NIL*/;\n var _win = s.window; // shortcut\n\n var wmask = s.w_mask;\n var prev = s.prev;\n\n /* Stop when cur_match becomes <= limit. To simplify the code,\n * we prevent matches with the string of window index 0.\n */\n\n var strend = s.strstart + MAX_MATCH;\n var scan_end1 = _win[scan + best_len - 1];\n var scan_end = _win[scan + best_len];\n\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\n * It is easy to get rid of this optimization if necessary.\n */\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \"Code too clever\");\n\n /* Do not waste too much time if we already have a good match: */\n if (s.prev_length >= s.good_match) {\n chain_length >>= 2;\n }\n /* Do not look for matches beyond the end of the input. This is necessary\n * to make deflate deterministic.\n */\n if (nice_match > s.lookahead) {\n nice_match = s.lookahead;\n }\n\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \"need lookahead\");\n\n do {\n // Assert(cur_match < s->strstart, \"no future\");\n match = cur_match;\n\n /* Skip to next match if the match length cannot increase\n * or if the match length is less than 2. Note that the checks below\n * for insufficient lookahead only occur occasionally for performance\n * reasons. Therefore uninitialized memory will be accessed, and\n * conditional jumps will be made that depend on those values.\n * However the length of the match is limited to the lookahead, so\n * the output of deflate is not affected by the uninitialized values.\n */\n\n if (_win[match + best_len] !== scan_end || _win[match + best_len - 1] !== scan_end1 || _win[match] !== _win[scan] || _win[++match] !== _win[scan + 1]) {\n continue;\n }\n\n /* The check at best_len-1 can be removed because it will be made\n * again later. (This heuristic is not always a win.)\n * It is not necessary to compare scan[2] and match[2] since they\n * are always equal when the other bytes match, given that\n * the hash keys are equal and that HASH_BITS >= 8.\n */\n scan += 2;\n match++;\n // Assert(*scan == *match, \"match[2]?\");\n\n /* We check for insufficient lookahead only every 8th comparison;\n * the 256th check will be made at strstart+258.\n */\n do {\n /*jshint noempty:false*/\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && scan < strend);\n\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \"wild scan\");\n\n len = MAX_MATCH - (strend - scan);\n scan = strend - MAX_MATCH;\n if (len > best_len) {\n s.match_start = cur_match;\n best_len = len;\n if (len >= nice_match) {\n break;\n }\n scan_end1 = _win[scan + best_len - 1];\n scan_end = _win[scan + best_len];\n }\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\n if (best_len <= s.lookahead) {\n return best_len;\n }\n return s.lookahead;\n}\n\n/* ===========================================================================\n * Fill the window when the lookahead becomes insufficient.\n * Updates strstart and lookahead.\n *\n * IN assertion: lookahead < MIN_LOOKAHEAD\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\n * At least one byte has been read, or avail_in == 0; reads are\n * performed for at least two bytes (required for the zip translate_eol\n * option -- not supported here).\n */\nfunction fill_window(s) {\n var _w_size = s.w_size;\n var p, n, m, more, str;\n\n //Assert(s->lookahead < MIN_LOOKAHEAD, \"already enough lookahead\");\n\n do {\n more = s.window_size - s.lookahead - s.strstart;\n\n // JS ints have 32 bit, block below not needed\n /* Deal with !@#$% 64K limit: */\n //if (sizeof(int) <= 2) {\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\n // more = wsize;\n //\n // } else if (more == (unsigned)(-1)) {\n // /* Very unlikely, but possible on 16 bit machine if\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\n // */\n // more--;\n // }\n //}\n\n /* If the window is almost full and there is insufficient lookahead,\n * move the upper half to the lower one to make room in the upper half.\n */\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\n utils$2.arraySet(s.window, s.window, _w_size, _w_size, 0);\n s.match_start -= _w_size;\n s.strstart -= _w_size;\n /* we now have strstart >= MAX_DIST */\n s.block_start -= _w_size;\n\n /* Slide the hash table (could be avoided with 32 bit values\n at the expense of memory usage). We slide even when level == 0\n to keep the hash table consistent if we switch back to level > 0\n later. (Using level 0 permanently is not an optimal usage of\n zlib, so we don't care about this pathological case.)\n */\n\n n = s.hash_size;\n p = n;\n do {\n m = s.head[--p];\n s.head[p] = m >= _w_size ? m - _w_size : 0;\n } while (--n);\n n = _w_size;\n p = n;\n do {\n m = s.prev[--p];\n s.prev[p] = m >= _w_size ? m - _w_size : 0;\n /* If n is not on any hash chain, prev[n] is garbage but\n * its value will never be used.\n */\n } while (--n);\n more += _w_size;\n }\n if (s.strm.avail_in === 0) {\n break;\n }\n\n /* If there was no sliding:\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\n * more == window_size - lookahead - strstart\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\n * => more >= window_size - 2*WSIZE + 2\n * In the BIG_MEM or MMAP case (not yet supported),\n * window_size == input_size + MIN_LOOKAHEAD &&\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\n * Otherwise, window_size == 2*WSIZE so more >= 2.\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\n */\n //Assert(more >= 2, \"more < 2\");\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\n s.lookahead += n;\n\n /* Initialize the hash value now that we have some input: */\n if (s.lookahead + s.insert >= MIN_MATCH) {\n str = s.strstart - s.insert;\n s.ins_h = s.window[str];\n\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[str + 1]) & s.hash_mask;\n //#if MIN_MATCH != 3\n // Call update_hash() MIN_MATCH-3 more times\n //#endif\n while (s.insert) {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = str;\n str++;\n s.insert--;\n if (s.lookahead + s.insert < MIN_MATCH) {\n break;\n }\n }\n }\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\n * but this is not important since only literal bytes will be emitted.\n */\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\n\n /* If the WIN_INIT bytes after the end of the current data have never been\n * written, then zero those bytes in order to avoid memory check reports of\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\n * the longest match routines. Update the high water mark for the next\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\n */\n // if (s.high_water < s.window_size) {\n // var curr = s.strstart + s.lookahead;\n // var init = 0;\n //\n // if (s.high_water < curr) {\n // /* Previous high water mark below current data -- zero WIN_INIT\n // * bytes or up to end of window, whichever is less.\n // */\n // init = s.window_size - curr;\n // if (init > WIN_INIT)\n // init = WIN_INIT;\n // zmemzero(s->window + curr, (unsigned)init);\n // s->high_water = curr + init;\n // }\n // else if (s->high_water < (ulg)curr + WIN_INIT) {\n // /* High water mark at or above current data, but below current data\n // * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\n // * to end of window, whichever is less.\n // */\n // init = (ulg)curr + WIN_INIT - s->high_water;\n // if (init > s->window_size - s->high_water)\n // init = s->window_size - s->high_water;\n // zmemzero(s->window + s->high_water, (unsigned)init);\n // s->high_water += init;\n // }\n // }\n //\n // Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\n // \"not enough room for search\");\n}\n\n/* ===========================================================================\n * Copy without compression as much as possible from the input stream, return\n * the current block state.\n * This function does not insert new strings in the dictionary since\n * uncompressible data is probably not useful. This function is used\n * only for the level=0 compression option.\n * NOTE: this function should be optimized to avoid extra copying from\n * window to pending_buf.\n */\nfunction deflate_stored(s, flush) {\n /* Stored blocks are limited to 0xffff bytes, pending_buf is limited\n * to pending_buf_size, and each stored block has a 5 byte header:\n */\n var max_block_size = 0xffff;\n if (max_block_size > s.pending_buf_size - 5) {\n max_block_size = s.pending_buf_size - 5;\n }\n\n /* Copy as much as possible from input to output: */\n for (;;) {\n /* Fill the window as much as possible: */\n if (s.lookahead <= 1) {\n //Assert(s->strstart < s->w_size+MAX_DIST(s) ||\n // s->block_start >= (long)s->w_size, \"slide too late\");\n // if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||\n // s.block_start >= s.w_size)) {\n // throw new Error(\"slide too late\");\n // }\n\n fill_window(s);\n if (s.lookahead === 0 && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break;\n }\n /* flush the current block */\n }\n //Assert(s->block_start >= 0L, \"block gone\");\n // if (s.block_start < 0) throw new Error(\"block gone\");\n\n s.strstart += s.lookahead;\n s.lookahead = 0;\n\n /* Emit a stored block if pending_buf will be full: */\n var max_start = s.block_start + max_block_size;\n if (s.strstart === 0 || s.strstart >= max_start) {\n /* strstart == 0 is possible when wraparound on 16-bit machine */\n s.lookahead = s.strstart - max_start;\n s.strstart = max_start;\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n /* Flush if we may have to slide, otherwise block_start may become\n * negative and the data will be gone:\n */\n if (s.strstart - s.block_start >= s.w_size - MIN_LOOKAHEAD) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH$1) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.strstart > s.block_start) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_NEED_MORE;\n}\n\n/* ===========================================================================\n * Compress as much as possible from the input stream, return the current\n * block state.\n * This function does not perform lazy evaluation of matches and inserts\n * new strings in the dictionary only for unmatched strings or for short\n * matches. It is used only for the fast compression options.\n */\nfunction deflate_fast(s, flush) {\n var hash_head; /* head of the hash chain */\n var bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break; /* flush the current block */\n }\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0 /*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n * At this point we have always match_length < MIN_MATCH\n */\n if (hash_head !== 0 /*NIL*/ && s.strstart - hash_head <= s.w_size - MIN_LOOKAHEAD) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n }\n if (s.match_length >= MIN_MATCH) {\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\n\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\n s.match_length - MIN_MATCH, bflush); ***/\n bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\n s.lookahead -= s.match_length;\n\n /* Insert new strings in the hash table only if the match length\n * is not too large. This saves time but degrades compression.\n */\n if (s.match_length <= s.max_lazy_match /*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\n s.match_length--; /* string at strstart already in table */\n do {\n s.strstart++;\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\n * always MIN_MATCH bytes ahead.\n */\n } while (--s.match_length !== 0);\n s.strstart++;\n } else {\n s.strstart += s.match_length;\n s.match_length = 0;\n s.ins_h = s.window[s.strstart];\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + 1]) & s.hash_mask;\n\n //#if MIN_MATCH != 3\n // Call UPDATE_HASH() MIN_MATCH-3 more times\n //#endif\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\n * matter since it will be recomputed at next deflate call.\n */\n }\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s.window[s.strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\n if (flush === Z_FINISH$1) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* ===========================================================================\n * Same as above, but achieves better compression. We use a lazy\n * evaluation for matches: a match is finally adopted only if there is\n * no better match at the next window position.\n */\nfunction deflate_slow(s, flush) {\n var hash_head; /* head of hash chain */\n var bflush; /* set if current block must be flushed */\n\n var max_insert;\n\n /* Process the input block. */\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break;\n } /* flush the current block */\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0 /*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n */\n s.prev_length = s.match_length;\n s.prev_match = s.match_start;\n s.match_length = MIN_MATCH - 1;\n if (hash_head !== 0 /*NIL*/ && s.prev_length < s.max_lazy_match && s.strstart - hash_head <= s.w_size - MIN_LOOKAHEAD /*MAX_DIST(s)*/) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n\n if (s.match_length <= 5 && (s.strategy === Z_FILTERED || s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096 /*TOO_FAR*/)) {\n /* If prev_match is also MIN_MATCH, match_start is garbage\n * but we will ignore the current match anyway.\n */\n s.match_length = MIN_MATCH - 1;\n }\n }\n /* If there was a match at the previous step and the current\n * match is not better, output the previous match:\n */\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\n /* Do not insert strings in hash table beyond this. */\n\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\n\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\n s.prev_length - MIN_MATCH, bflush);***/\n bflush = trees._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\n /* Insert in hash table all strings up to the end of the match.\n * strstart-1 and strstart are already inserted. If there is not\n * enough lookahead, the last two strings are not inserted in\n * the hash table.\n */\n s.lookahead -= s.prev_length - 1;\n s.prev_length -= 2;\n do {\n if (++s.strstart <= max_insert) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n } while (--s.prev_length !== 0);\n s.match_available = 0;\n s.match_length = MIN_MATCH - 1;\n s.strstart++;\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n } else if (s.match_available) {\n /* If there was no match at the previous position, output a\n * single literal. If there was a match but the current match\n * is longer, truncate the previous match to a single literal.\n */\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);\n if (bflush) {\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\n flush_block_only(s, false);\n /***/\n }\n s.strstart++;\n s.lookahead--;\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n } else {\n /* There is no previous match to compare with, wait for\n * the next step to decide.\n */\n s.match_available = 1;\n s.strstart++;\n s.lookahead--;\n }\n }\n //Assert (flush != Z_NO_FLUSH, \"no flush?\");\n if (s.match_available) {\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);\n s.match_available = 0;\n }\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\n if (flush === Z_FINISH$1) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* ===========================================================================\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\n * one. Do not maintain a hash table. (It will be regenerated if this run of\n * deflate switches away from Z_RLE.)\n */\nfunction deflate_rle(s, flush) {\n var bflush; /* set if current block must be flushed */\n var prev; /* byte at distance one to match */\n var scan, strend; /* scan goes up to strend for length of run */\n\n var _win = s.window;\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the longest run, plus one for the unrolled loop.\n */\n if (s.lookahead <= MAX_MATCH) {\n fill_window(s);\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break;\n } /* flush the current block */\n }\n\n /* See how many times the previous byte repeats */\n s.match_length = 0;\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\n scan = s.strstart - 1;\n prev = _win[scan];\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\n strend = s.strstart + MAX_MATCH;\n do {\n /*jshint noempty:false*/\n } while (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan] && scan < strend);\n s.match_length = MAX_MATCH - (strend - scan);\n if (s.match_length > s.lookahead) {\n s.match_length = s.lookahead;\n }\n }\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \"wild scan\");\n }\n\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\n if (s.match_length >= MIN_MATCH) {\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\n\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\n bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);\n s.lookahead -= s.match_length;\n s.strstart += s.match_length;\n s.match_length = 0;\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH$1) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* ===========================================================================\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\n * (It will be regenerated if this run of deflate switches away from Huffman.)\n */\nfunction deflate_huff(s, flush) {\n var bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we have a literal to write. */\n if (s.lookahead === 0) {\n fill_window(s);\n if (s.lookahead === 0) {\n if (flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n break; /* flush the current block */\n }\n }\n\n /* Output a literal byte */\n s.match_length = 0;\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH$1) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\n * the desired pack level (0..9). The values given below have been tuned to\n * exclude worst case performance for pathological files. Better values may be\n * found for specific files.\n */\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\n this.good_length = good_length;\n this.max_lazy = max_lazy;\n this.nice_length = nice_length;\n this.max_chain = max_chain;\n this.func = func;\n}\nvar configuration_table;\nconfiguration_table = [/* good lazy nice chain */\nnew Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\nnew Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\nnew Config(4, 5, 16, 8, deflate_fast), /* 2 */\nnew Config(4, 6, 32, 32, deflate_fast), /* 3 */\n\nnew Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\nnew Config(8, 16, 32, 32, deflate_slow), /* 5 */\nnew Config(8, 16, 128, 128, deflate_slow), /* 6 */\nnew Config(8, 32, 128, 256, deflate_slow), /* 7 */\nnew Config(32, 128, 258, 1024, deflate_slow), /* 8 */\nnew Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */];\n\n/* ===========================================================================\n * Initialize the \"longest match\" routines for a new zlib stream\n */\nfunction lm_init(s) {\n s.window_size = 2 * s.w_size;\n\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n\n /* Set the default configuration parameters:\n */\n s.max_lazy_match = configuration_table[s.level].max_lazy;\n s.good_match = configuration_table[s.level].good_length;\n s.nice_match = configuration_table[s.level].nice_length;\n s.max_chain_length = configuration_table[s.level].max_chain;\n s.strstart = 0;\n s.block_start = 0;\n s.lookahead = 0;\n s.insert = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n s.ins_h = 0;\n}\nfunction DeflateState() {\n this.strm = null; /* pointer back to this zlib stream */\n this.status = 0; /* as the name implies */\n this.pending_buf = null; /* output still pending */\n this.pending_buf_size = 0; /* size of pending_buf */\n this.pending_out = 0; /* next pending byte to output to the stream */\n this.pending = 0; /* nb of bytes in the pending buffer */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.gzhead = null; /* gzip header information to write */\n this.gzindex = 0; /* where in extra, name, or comment */\n this.method = Z_DEFLATED$1; /* can only be DEFLATED */\n this.last_flush = -1; /* value of flush param for previous deflate call */\n\n this.w_size = 0; /* LZ77 window size (32K by default) */\n this.w_bits = 0; /* log2(w_size) (8..16) */\n this.w_mask = 0; /* w_size - 1 */\n\n this.window = null;\n /* Sliding window. Input bytes are read into the second half of the window,\n * and move to the first half later to keep a dictionary of at least wSize\n * bytes. With this organization, matches are limited to a distance of\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\n * performed with a length multiple of the block size.\n */\n\n this.window_size = 0;\n /* Actual size of window: 2*wSize, except when the user input buffer\n * is directly used as sliding window.\n */\n\n this.prev = null;\n /* Link to older string with same hash index. To limit the size of this\n * array to 64K, this link is maintained only for the last 32K strings.\n * An index in this array is thus a window index modulo 32K.\n */\n\n this.head = null; /* Heads of the hash chains or NIL. */\n\n this.ins_h = 0; /* hash index of string to be inserted */\n this.hash_size = 0; /* number of elements in hash table */\n this.hash_bits = 0; /* log2(hash_size) */\n this.hash_mask = 0; /* hash_size-1 */\n\n this.hash_shift = 0;\n /* Number of bits by which ins_h must be shifted at each input\n * step. It must be such that after MIN_MATCH steps, the oldest\n * byte no longer takes part in the hash key, that is:\n * hash_shift * MIN_MATCH >= hash_bits\n */\n\n this.block_start = 0;\n /* Window position at the beginning of the current output block. Gets\n * negative when the window is moved backwards.\n */\n\n this.match_length = 0; /* length of best match */\n this.prev_match = 0; /* previous match */\n this.match_available = 0; /* set if previous match exists */\n this.strstart = 0; /* start of string to insert */\n this.match_start = 0; /* start of matching string */\n this.lookahead = 0; /* number of valid bytes ahead in window */\n\n this.prev_length = 0;\n /* Length of the best match at previous step. Matches not greater than this\n * are discarded. This is used in the lazy match evaluation.\n */\n\n this.max_chain_length = 0;\n /* To speed up deflation, hash chains are never searched beyond this\n * length. A higher limit improves compression ratio but degrades the\n * speed.\n */\n\n this.max_lazy_match = 0;\n /* Attempt to find a better match only when the current match is strictly\n * smaller than this value. This mechanism is used only for compression\n * levels >= 4.\n */\n // That's alias to max_lazy_match, don't use directly\n //this.max_insert_length = 0;\n /* Insert new strings in the hash table only if the match length is not\n * greater than this length. This saves time but degrades compression.\n * max_insert_length is used only for compression levels <= 3.\n */\n\n this.level = 0; /* compression level (1..9) */\n this.strategy = 0; /* favor or force Huffman coding*/\n\n this.good_match = 0;\n /* Use a faster search when the previous match is longer than this */\n\n this.nice_match = 0; /* Stop searching when current match exceeds this */\n\n /* used by trees.c: */\n\n /* Didn't use ct_data typedef below to suppress compiler warning */\n\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\n\n // Use flat array of DOUBLE size, with interleaved fata,\n // because JS does not support effective\n this.dyn_ltree = new utils$2.Buf16(HEAP_SIZE * 2);\n this.dyn_dtree = new utils$2.Buf16((2 * D_CODES + 1) * 2);\n this.bl_tree = new utils$2.Buf16((2 * BL_CODES + 1) * 2);\n zero(this.dyn_ltree);\n zero(this.dyn_dtree);\n zero(this.bl_tree);\n this.l_desc = null; /* desc. for literal tree */\n this.d_desc = null; /* desc. for distance tree */\n this.bl_desc = null; /* desc. for bit length tree */\n\n //ush bl_count[MAX_BITS+1];\n this.bl_count = new utils$2.Buf16(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\n this.heap = new utils$2.Buf16(2 * L_CODES + 1); /* heap used to build the Huffman trees */\n zero(this.heap);\n this.heap_len = 0; /* number of elements in the heap */\n this.heap_max = 0; /* element of largest frequency */\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\n * The same heap array is used to build all trees.\n */\n\n this.depth = new utils$2.Buf16(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\n zero(this.depth);\n /* Depth of each subtree used as tie breaker for trees of equal frequency\n */\n\n this.l_buf = 0; /* buffer index for literals or lengths */\n\n this.lit_bufsize = 0;\n /* Size of match buffer for literals/lengths. There are 4 reasons for\n * limiting lit_bufsize to 64K:\n * - frequencies can be kept in 16 bit counters\n * - if compression is not successful for the first block, all input\n * data is still in the window so we can still emit a stored block even\n * when input comes from standard input. (This can also be done for\n * all blocks if lit_bufsize is not greater than 32K.)\n * - if compression is not successful for a file smaller than 64K, we can\n * even emit a stored file instead of a stored block (saving 5 bytes).\n * This is applicable only for zip (not gzip or zlib).\n * - creating new Huffman trees less frequently may not provide fast\n * adaptation to changes in the input data statistics. (Take for\n * example a binary file with poorly compressible code followed by\n * a highly compressible string table.) Smaller buffer sizes give\n * fast adaptation but have of course the overhead of transmitting\n * trees more frequently.\n * - I can't count above 4\n */\n\n this.last_lit = 0; /* running index in l_buf */\n\n this.d_buf = 0;\n /* Buffer index for distances. To simplify the code, d_buf and l_buf have\n * the same number of elements. To use different lengths, an extra flag\n * array would be necessary.\n */\n\n this.opt_len = 0; /* bit length of current block with optimal trees */\n this.static_len = 0; /* bit length of current block with static trees */\n this.matches = 0; /* number of string matches in current block */\n this.insert = 0; /* bytes at end of window left to insert */\n\n this.bi_buf = 0;\n /* Output buffer. bits are inserted starting at the bottom (least\n * significant bits).\n */\n this.bi_valid = 0;\n /* Number of valid bits in bi_buf. All bits above the last valid bit\n * are always zero.\n */\n\n // Used for window memory init. We safely ignore it for JS. That makes\n // sense only for pointers and memory check tools.\n //this.high_water = 0;\n /* High water mark offset in window for initialized bytes -- bytes above\n * this are set to zero in order to avoid memory check warnings when\n * longest match routines access bytes past the input. This is then\n * updated to the new high water mark.\n */\n}\nfunction deflateResetKeep(strm) {\n var s;\n if (!strm || !strm.state) {\n return err(strm, Z_STREAM_ERROR$1);\n }\n strm.total_in = strm.total_out = 0;\n strm.data_type = Z_UNKNOWN;\n s = strm.state;\n s.pending = 0;\n s.pending_out = 0;\n if (s.wrap < 0) {\n s.wrap = -s.wrap;\n /* was made negative by deflate(..., Z_FINISH); */\n }\n s.status = s.wrap ? INIT_STATE : BUSY_STATE;\n strm.adler = s.wrap === 2 ? 0 // crc32(0, Z_NULL, 0)\n : 1; // adler32(0, Z_NULL, 0)\n s.last_flush = Z_NO_FLUSH;\n trees._tr_init(s);\n return Z_OK$1;\n}\nfunction deflateReset(strm) {\n var ret = deflateResetKeep(strm);\n if (ret === Z_OK$1) {\n lm_init(strm.state);\n }\n return ret;\n}\nfunction deflateSetHeader(strm, head) {\n if (!strm || !strm.state) {\n return Z_STREAM_ERROR$1;\n }\n if (strm.state.wrap !== 2) {\n return Z_STREAM_ERROR$1;\n }\n strm.state.gzhead = head;\n return Z_OK$1;\n}\nfunction deflateInit2(strm, level, method, windowBits, memLevel, strategy) {\n if (!strm) {\n // === Z_NULL\n return Z_STREAM_ERROR$1;\n }\n var wrap = 1;\n if (level === Z_DEFAULT_COMPRESSION) {\n level = 6;\n }\n if (windowBits < 0) {\n /* suppress zlib wrapper */\n wrap = 0;\n windowBits = -windowBits;\n } else if (windowBits > 15) {\n wrap = 2; /* write gzip wrapper instead */\n windowBits -= 16;\n }\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED$1 || windowBits < 8 || windowBits > 15 || level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {\n return err(strm, Z_STREAM_ERROR$1);\n }\n if (windowBits === 8) {\n windowBits = 9;\n }\n /* until 256-byte window bug fixed */\n\n var s = new DeflateState();\n strm.state = s;\n s.strm = strm;\n s.wrap = wrap;\n s.gzhead = null;\n s.w_bits = windowBits;\n s.w_size = 1 << s.w_bits;\n s.w_mask = s.w_size - 1;\n s.hash_bits = memLevel + 7;\n s.hash_size = 1 << s.hash_bits;\n s.hash_mask = s.hash_size - 1;\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\n s.window = new utils$2.Buf8(s.w_size * 2);\n s.head = new utils$2.Buf16(s.hash_size);\n s.prev = new utils$2.Buf16(s.w_size);\n\n // Don't need mem init magic for JS.\n //s.high_water = 0; /* nothing written to s->window yet */\n\n s.lit_bufsize = 1 << memLevel + 6; /* 16K elements by default */\n\n s.pending_buf_size = s.lit_bufsize * 4;\n\n //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);\n //s->pending_buf = (uchf *) overlay;\n s.pending_buf = new utils$2.Buf8(s.pending_buf_size);\n\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\n //s->d_buf = overlay + s->lit_bufsize/sizeof(ush);\n s.d_buf = 1 * s.lit_bufsize;\n\n //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;\n s.l_buf = (1 + 2) * s.lit_bufsize;\n s.level = level;\n s.strategy = strategy;\n s.method = method;\n return deflateReset(strm);\n}\nfunction deflateInit(strm, level) {\n return deflateInit2(strm, level, Z_DEFLATED$1, MAX_WBITS$1, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);\n}\nfunction deflate(strm, flush) {\n var old_flush, s;\n var beg, val; // for gzip header write only\n\n if (!strm || !strm.state || flush > Z_BLOCK$1 || flush < 0) {\n return strm ? err(strm, Z_STREAM_ERROR$1) : Z_STREAM_ERROR$1;\n }\n s = strm.state;\n if (!strm.output || !strm.input && strm.avail_in !== 0 || s.status === FINISH_STATE && flush !== Z_FINISH$1) {\n return err(strm, strm.avail_out === 0 ? Z_BUF_ERROR$1 : Z_STREAM_ERROR$1);\n }\n s.strm = strm; /* just in case */\n old_flush = s.last_flush;\n s.last_flush = flush;\n\n /* Write the header */\n if (s.status === INIT_STATE) {\n if (s.wrap === 2) {\n // GZIP header\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n put_byte(s, 31);\n put_byte(s, 139);\n put_byte(s, 8);\n if (!s.gzhead) {\n // s->gzhead == Z_NULL\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, s.level === 9 ? 2 : s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? 4 : 0);\n put_byte(s, OS_CODE);\n s.status = BUSY_STATE;\n } else {\n put_byte(s, (s.gzhead.text ? 1 : 0) + (s.gzhead.hcrc ? 2 : 0) + (!s.gzhead.extra ? 0 : 4) + (!s.gzhead.name ? 0 : 8) + (!s.gzhead.comment ? 0 : 16));\n put_byte(s, s.gzhead.time & 0xff);\n put_byte(s, s.gzhead.time >> 8 & 0xff);\n put_byte(s, s.gzhead.time >> 16 & 0xff);\n put_byte(s, s.gzhead.time >> 24 & 0xff);\n put_byte(s, s.level === 9 ? 2 : s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? 4 : 0);\n put_byte(s, s.gzhead.os & 0xff);\n if (s.gzhead.extra && s.gzhead.extra.length) {\n put_byte(s, s.gzhead.extra.length & 0xff);\n put_byte(s, s.gzhead.extra.length >> 8 & 0xff);\n }\n if (s.gzhead.hcrc) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending, 0);\n }\n s.gzindex = 0;\n s.status = EXTRA_STATE;\n }\n } else\n // DEFLATE header\n {\n var header = Z_DEFLATED$1 + (s.w_bits - 8 << 4) << 8;\n var level_flags = -1;\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\n level_flags = 0;\n } else if (s.level < 6) {\n level_flags = 1;\n } else if (s.level === 6) {\n level_flags = 2;\n } else {\n level_flags = 3;\n }\n header |= level_flags << 6;\n if (s.strstart !== 0) {\n header |= PRESET_DICT;\n }\n header += 31 - header % 31;\n s.status = BUSY_STATE;\n putShortMSB(s, header);\n\n /* Save the adler32 of the preset dictionary: */\n if (s.strstart !== 0) {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\n }\n }\n\n //#ifdef GZIP\n if (s.status === EXTRA_STATE) {\n if (s.gzhead.extra /* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n\n while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n break;\n }\n }\n put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);\n s.gzindex++;\n }\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (s.gzindex === s.gzhead.extra.length) {\n s.gzindex = 0;\n s.status = NAME_STATE;\n }\n } else {\n s.status = NAME_STATE;\n }\n }\n if (s.status === NAME_STATE) {\n if (s.gzhead.name /* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.name.length) {\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.gzindex = 0;\n s.status = COMMENT_STATE;\n }\n } else {\n s.status = COMMENT_STATE;\n }\n }\n if (s.status === COMMENT_STATE) {\n if (s.gzhead.comment /* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.comment.length) {\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32$1(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.status = HCRC_STATE;\n }\n } else {\n s.status = HCRC_STATE;\n }\n }\n if (s.status === HCRC_STATE) {\n if (s.gzhead.hcrc) {\n if (s.pending + 2 > s.pending_buf_size) {\n flush_pending(strm);\n }\n if (s.pending + 2 <= s.pending_buf_size) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, strm.adler >> 8 & 0xff);\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n s.status = BUSY_STATE;\n }\n } else {\n s.status = BUSY_STATE;\n }\n }\n //#endif\n\n /* Flush as much pending output as possible */\n if (s.pending !== 0) {\n flush_pending(strm);\n if (strm.avail_out === 0) {\n /* Since avail_out is 0, deflate will be called again with\n * more output space, but possibly with both pending and\n * avail_in equal to zero. There won't be anything to do,\n * but this is not an error situation so make sure we\n * return OK instead of BUF_ERROR at next call of deflate:\n */\n s.last_flush = -1;\n return Z_OK$1;\n }\n\n /* Make sure there is something to do and avoid duplicate consecutive\n * flushes. For repeated and useless calls with Z_FINISH, we keep\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\n */\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) && flush !== Z_FINISH$1) {\n return err(strm, Z_BUF_ERROR$1);\n }\n\n /* User must not provide more input after the first FINISH: */\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\n return err(strm, Z_BUF_ERROR$1);\n }\n\n /* Start a new block or continue the current one.\n */\n if (strm.avail_in !== 0 || s.lookahead !== 0 || flush !== Z_NO_FLUSH && s.status !== FINISH_STATE) {\n var bstate = s.strategy === Z_HUFFMAN_ONLY ? deflate_huff(s, flush) : s.strategy === Z_RLE ? deflate_rle(s, flush) : configuration_table[s.level].func(s, flush);\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\n s.status = FINISH_STATE;\n }\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\n if (strm.avail_out === 0) {\n s.last_flush = -1;\n /* avoid BUF_ERROR next call, see above */\n }\n return Z_OK$1;\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\n * of deflate should use the same flush parameter to make sure\n * that the flush is complete. So we don't have to output an\n * empty block here, this will be done at next call. This also\n * ensures that for a very small output buffer, we emit at most\n * one empty block.\n */\n }\n if (bstate === BS_BLOCK_DONE) {\n if (flush === Z_PARTIAL_FLUSH) {\n trees._tr_align(s);\n } else if (flush !== Z_BLOCK$1) {\n /* FULL_FLUSH or SYNC_FLUSH */\n\n trees._tr_stored_block(s, 0, 0, false);\n /* For a full flush, this empty block will be recognized\n * as a special marker by inflate_sync().\n */\n if (flush === Z_FULL_FLUSH) {\n /*** CLEAR_HASH(s); ***/ /* forget history */\n zero(s.head); // Fill with NIL (= 0);\n\n if (s.lookahead === 0) {\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n }\n }\n flush_pending(strm);\n if (strm.avail_out === 0) {\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\n return Z_OK$1;\n }\n }\n }\n //Assert(strm->avail_out > 0, \"bug2\");\n //if (strm.avail_out <= 0) { throw new Error(\"bug2\");}\n\n if (flush !== Z_FINISH$1) {\n return Z_OK$1;\n }\n if (s.wrap <= 0) {\n return Z_STREAM_END$1;\n }\n\n /* Write the trailer */\n if (s.wrap === 2) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, strm.adler >> 8 & 0xff);\n put_byte(s, strm.adler >> 16 & 0xff);\n put_byte(s, strm.adler >> 24 & 0xff);\n put_byte(s, strm.total_in & 0xff);\n put_byte(s, strm.total_in >> 8 & 0xff);\n put_byte(s, strm.total_in >> 16 & 0xff);\n put_byte(s, strm.total_in >> 24 & 0xff);\n } else {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n flush_pending(strm);\n /* If avail_out is zero, the application will call deflate again\n * to flush the rest.\n */\n if (s.wrap > 0) {\n s.wrap = -s.wrap;\n }\n /* write the trailer only once! */\n return s.pending !== 0 ? Z_OK$1 : Z_STREAM_END$1;\n}\nfunction deflateEnd(strm) {\n var status;\n if (!strm /*== Z_NULL*/ || !strm.state /*== Z_NULL*/) {\n return Z_STREAM_ERROR$1;\n }\n status = strm.state.status;\n if (status !== INIT_STATE && status !== EXTRA_STATE && status !== NAME_STATE && status !== COMMENT_STATE && status !== HCRC_STATE && status !== BUSY_STATE && status !== FINISH_STATE) {\n return err(strm, Z_STREAM_ERROR$1);\n }\n strm.state = null;\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR$1) : Z_OK$1;\n}\n\n/* =========================================================================\n * Initializes the compression dictionary from the given byte\n * sequence without producing any compressed output.\n */\nfunction deflateSetDictionary(strm, dictionary) {\n var dictLength = dictionary.length;\n var s;\n var str, n;\n var wrap;\n var avail;\n var next;\n var input;\n var tmpDict;\n if (!strm /*== Z_NULL*/ || !strm.state /*== Z_NULL*/) {\n return Z_STREAM_ERROR$1;\n }\n s = strm.state;\n wrap = s.wrap;\n if (wrap === 2 || wrap === 1 && s.status !== INIT_STATE || s.lookahead) {\n return Z_STREAM_ERROR$1;\n }\n\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\n if (wrap === 1) {\n /* adler32(strm->adler, dictionary, dictLength); */\n strm.adler = adler32$1(strm.adler, dictionary, dictLength, 0);\n }\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\n\n /* if dictionary would fill window, just replace the history */\n if (dictLength >= s.w_size) {\n if (wrap === 0) {\n /* already empty otherwise */\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n /* use the tail */\n // dictionary = dictionary.slice(dictLength - s.w_size);\n tmpDict = new utils$2.Buf8(s.w_size);\n utils$2.arraySet(tmpDict, dictionary, dictLength - s.w_size, s.w_size, 0);\n dictionary = tmpDict;\n dictLength = s.w_size;\n }\n /* insert dictionary into window and hash */\n avail = strm.avail_in;\n next = strm.next_in;\n input = strm.input;\n strm.avail_in = dictLength;\n strm.next_in = 0;\n strm.input = dictionary;\n fill_window(s);\n while (s.lookahead >= MIN_MATCH) {\n str = s.strstart;\n n = s.lookahead - (MIN_MATCH - 1);\n do {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = (s.ins_h << s.hash_shift ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = str;\n str++;\n } while (--n);\n s.strstart = str;\n s.lookahead = MIN_MATCH - 1;\n fill_window(s);\n }\n s.strstart += s.lookahead;\n s.block_start = s.strstart;\n s.insert = s.lookahead;\n s.lookahead = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n strm.next_in = next;\n strm.input = input;\n strm.avail_in = avail;\n s.wrap = wrap;\n return Z_OK$1;\n}\ndeflate$1.deflateInit = deflateInit;\ndeflate$1.deflateInit2 = deflateInit2;\ndeflate$1.deflateReset = deflateReset;\ndeflate$1.deflateResetKeep = deflateResetKeep;\ndeflate$1.deflateSetHeader = deflateSetHeader;\ndeflate$1.deflate = deflate;\ndeflate$1.deflateEnd = deflateEnd;\ndeflate$1.deflateSetDictionary = deflateSetDictionary;\ndeflate$1.deflateInfo = 'pako deflate (from Nodeca project)';\n\nvar inflate$1 = {};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// See state defs from inflate.js\nvar BAD$1 = 30; /* got a data error -- remain here until reset */\nvar TYPE$1 = 12; /* i: waiting for type bits, including last-flag bit */\n\n/*\n Decode literal, length, and distance codes and write out the resulting\n literal and match bytes until either not enough input or output is\n available, an end-of-block is encountered, or a data error is encountered.\n When large enough input and output buffers are supplied to inflate(), for\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\n inflate execution time is spent in this routine.\n\n Entry assumptions:\n\n state.mode === LEN\n strm.avail_in >= 6\n strm.avail_out >= 258\n start >= strm.avail_out\n state.bits < 8\n\n On return, state.mode is one of:\n\n LEN -- ran out of enough output space or enough available input\n TYPE -- reached end of block code, inflate() to interpret next block\n BAD -- error in block data\n\n Notes:\n\n - The maximum input bits used by a length/distance pair is 15 bits for the\n length code, 5 bits for the length extra, 15 bits for the distance code,\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\n checking for available input while decoding.\n\n - The maximum bytes that a single length/distance pair can output is 258\n bytes, which is the maximum length that can be coded. inflate_fast()\n requires strm.avail_out >= 258 for each loop to avoid checking for\n output space.\n */\nvar inffast = function inflate_fast(strm, start) {\n var state;\n var _in; /* local strm.input */\n var last; /* have enough input while in < last */\n var _out; /* local strm.output */\n var beg; /* inflate()'s initial strm.output */\n var end; /* while out < end, enough space available */\n //#ifdef INFLATE_STRICT\n var dmax; /* maximum distance from zlib header */\n //#endif\n var wsize; /* window size or zero if not using window */\n var whave; /* valid bytes in the window */\n var wnext; /* window write index */\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\n var s_window; /* allocated sliding window, if wsize != 0 */\n var hold; /* local strm.hold */\n var bits; /* local strm.bits */\n var lcode; /* local strm.lencode */\n var dcode; /* local strm.distcode */\n var lmask; /* mask for first level of length codes */\n var dmask; /* mask for first level of distance codes */\n var here; /* retrieved table entry */\n var op; /* code bits, operation, extra bits, or */\n /* window position, window bytes to copy */\n var len; /* match length, unused bytes */\n var dist; /* match distance */\n var from; /* where to copy match from */\n var from_source;\n var input, output; // JS specific, because we have no pointers\n\n /* copy state to local variables */\n state = strm.state;\n //here = state.here;\n _in = strm.next_in;\n input = strm.input;\n last = _in + (strm.avail_in - 5);\n _out = strm.next_out;\n output = strm.output;\n beg = _out - (start - strm.avail_out);\n end = _out + (strm.avail_out - 257);\n //#ifdef INFLATE_STRICT\n dmax = state.dmax;\n //#endif\n wsize = state.wsize;\n whave = state.whave;\n wnext = state.wnext;\n s_window = state.window;\n hold = state.hold;\n bits = state.bits;\n lcode = state.lencode;\n dcode = state.distcode;\n lmask = (1 << state.lenbits) - 1;\n dmask = (1 << state.distbits) - 1;\n\n /* decode literals and length/distances until end-of-block or not enough\n input data or output space */\n\n top: do {\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n here = lcode[hold & lmask];\n dolen: for (;;) {\n // Goto emulation\n op = here >>> 24 /*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = here >>> 16 & 0xff /*here.op*/;\n if (op === 0) {\n /* literal */\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n output[_out++] = here & 0xffff /*here.val*/;\n } else if (op & 16) {\n /* length base */\n len = here & 0xffff /*here.val*/;\n op &= 15; /* number of extra bits */\n if (op) {\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n len += hold & (1 << op) - 1;\n hold >>>= op;\n bits -= op;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", len));\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n here = dcode[hold & dmask];\n dodist: for (;;) {\n // goto emulation\n op = here >>> 24 /*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = here >>> 16 & 0xff /*here.op*/;\n if (op & 16) {\n /* distance base */\n dist = here & 0xffff /*here.val*/;\n op &= 15; /* number of extra bits */\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n }\n dist += hold & (1 << op) - 1;\n //#ifdef INFLATE_STRICT\n if (dist > dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD$1;\n break top;\n }\n //#endif\n hold >>>= op;\n bits -= op;\n //Tracevv((stderr, \"inflate: distance %u\\n\", dist));\n op = _out - beg; /* max distance in output */\n if (dist > op) {\n /* see if copy from window */\n op = dist - op; /* distance back in window */\n if (op > whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD$1;\n break top;\n }\n\n // (!) This block is disabled in zlib defaults,\n // don't enable it for binary compatibility\n //#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n // if (len <= op - whave) {\n // do {\n // output[_out++] = 0;\n // } while (--len);\n // continue top;\n // }\n // len -= op - whave;\n // do {\n // output[_out++] = 0;\n // } while (--op > whave);\n // if (op === 0) {\n // from = _out - dist;\n // do {\n // output[_out++] = output[from++];\n // } while (--len);\n // continue top;\n // }\n //#endif\n }\n from = 0; // window index\n from_source = s_window;\n if (wnext === 0) {\n /* very common case */\n from += wsize - op;\n if (op < len) {\n /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n } else if (wnext < op) {\n /* wrap around window */\n from += wsize + wnext - op;\n op -= wnext;\n if (op < len) {\n /* some from end of window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = 0;\n if (wnext < len) {\n /* some from start of window */\n op = wnext;\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n } else {\n /* contiguous in window */\n from += wnext - op;\n if (op < len) {\n /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n while (len > 2) {\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n len -= 3;\n }\n if (len) {\n output[_out++] = from_source[from++];\n if (len > 1) {\n output[_out++] = from_source[from++];\n }\n }\n } else {\n from = _out - dist; /* copy direct from output */\n do {\n /* minimum length is three */\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n len -= 3;\n } while (len > 2);\n if (len) {\n output[_out++] = output[from++];\n if (len > 1) {\n output[_out++] = output[from++];\n }\n }\n }\n } else if ((op & 64) === 0) {\n /* 2nd level distance code */\n here = dcode[(here & 0xffff /*here.val*/) + (hold & (1 << op) - 1)];\n continue dodist;\n } else {\n strm.msg = 'invalid distance code';\n state.mode = BAD$1;\n break top;\n }\n break; // need to emulate goto via \"continue\"\n }\n } else if ((op & 64) === 0) {\n /* 2nd level length code */\n here = lcode[(here & 0xffff /*here.val*/) + (hold & (1 << op) - 1)];\n continue dolen;\n } else if (op & 32) {\n /* end-of-block */\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.mode = TYPE$1;\n break top;\n } else {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD$1;\n break top;\n }\n break; // need to emulate goto via \"continue\"\n }\n } while (_in < last && _out < end);\n\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\n len = bits >> 3;\n _in -= len;\n bits -= len << 3;\n hold &= (1 << bits) - 1;\n\n /* update state and return */\n strm.next_in = _in;\n strm.next_out = _out;\n strm.avail_in = _in < last ? 5 + (last - _in) : 5 - (_in - last);\n strm.avail_out = _out < end ? 257 + (end - _out) : 257 - (_out - end);\n state.hold = hold;\n state.bits = bits;\n return;\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils$1 = common;\nvar MAXBITS = 15;\nvar ENOUGH_LENS$1 = 852;\nvar ENOUGH_DISTS$1 = 592;\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nvar CODES$1 = 0;\nvar LENS$1 = 1;\nvar DISTS$1 = 2;\nvar lbase = [/* Length codes 257..285 base */\n3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0];\nvar lext = [/* Length codes 257..285 extra */\n16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78];\nvar dbase = [/* Distance codes 0..29 base */\n1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0];\nvar dext = [/* Distance codes 0..29 extra */\n16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];\nvar inftrees = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts) {\n var bits = opts.bits;\n //here = opts.here; /* table entry for duplication */\n\n var len = 0; /* a code's length in bits */\n var sym = 0; /* index of code symbols */\n var min = 0,\n max = 0; /* minimum and maximum code lengths */\n var root = 0; /* number of index bits for root table */\n var curr = 0; /* number of index bits for current table */\n var drop = 0; /* code bits to drop for sub-table */\n var left = 0; /* number of prefix codes available */\n var used = 0; /* code entries in table used */\n var huff = 0; /* Huffman code */\n var incr; /* for incrementing code, index */\n var fill; /* index for replicating entries */\n var low; /* low bits for current root entry */\n var mask; /* mask for low root bits */\n var next; /* next available space in table */\n var base = null; /* base value table to use */\n var base_index = 0;\n // var shoextra; /* extra bits table to use */\n var end; /* use base and extra for symbol > end */\n var count = new utils$1.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\n var offs = new utils$1.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\n var extra = null;\n var extra_index = 0;\n var here_bits, here_op, here_val;\n\n /*\n Process a set of code lengths to create a canonical Huffman code. The\n code lengths are lens[0..codes-1]. Each length corresponds to the\n symbols 0..codes-1. The Huffman code is generated by first sorting the\n symbols by length from short to long, and retaining the symbol order\n for codes with equal lengths. Then the code starts with all zero bits\n for the first code of the shortest length, and the codes are integer\n increments for the same length, and zeros are appended as the length\n increases. For the deflate format, these bits are stored backwards\n from their more natural integer increment ordering, and so when the\n decoding tables are built in the large loop below, the integer codes\n are incremented backwards.\n This routine assumes, but does not check, that all of the entries in\n lens[] are in the range 0..MAXBITS. The caller must assure this.\n 1..MAXBITS is interpreted as that code length. zero means that that\n symbol does not occur in this code.\n The codes are sorted by computing a count of codes for each length,\n creating from that a table of starting indices for each length in the\n sorted table, and then entering the symbols in order in the sorted\n table. The sorted table is work[], with that space being provided by\n the caller.\n The length counts are used for other purposes as well, i.e. finding\n the minimum and maximum length codes, determining if there are any\n codes at all, checking for a valid set of lengths, and looking ahead\n at length counts to determine sub-table sizes when building the\n decoding tables.\n */\n\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\n for (len = 0; len <= MAXBITS; len++) {\n count[len] = 0;\n }\n for (sym = 0; sym < codes; sym++) {\n count[lens[lens_index + sym]]++;\n }\n\n /* bound code lengths, force root to be within code lengths */\n root = bits;\n for (max = MAXBITS; max >= 1; max--) {\n if (count[max] !== 0) {\n break;\n }\n }\n if (root > max) {\n root = max;\n }\n if (max === 0) {\n /* no symbols to code at all */\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\n table[table_index++] = 1 << 24 | 64 << 16 | 0;\n\n //table.op[opts.table_index] = 64;\n //table.bits[opts.table_index] = 1;\n //table.val[opts.table_index++] = 0;\n table[table_index++] = 1 << 24 | 64 << 16 | 0;\n opts.bits = 1;\n return 0; /* no symbols, but wait for decoding to report error */\n }\n for (min = 1; min < max; min++) {\n if (count[min] !== 0) {\n break;\n }\n }\n if (root < min) {\n root = min;\n }\n\n /* check for an over-subscribed or incomplete set of lengths */\n left = 1;\n for (len = 1; len <= MAXBITS; len++) {\n left <<= 1;\n left -= count[len];\n if (left < 0) {\n return -1;\n } /* over-subscribed */\n }\n if (left > 0 && (type === CODES$1 || max !== 1)) {\n return -1; /* incomplete set */\n }\n\n /* generate offsets into symbol table for each length for sorting */\n offs[1] = 0;\n for (len = 1; len < MAXBITS; len++) {\n offs[len + 1] = offs[len] + count[len];\n }\n\n /* sort symbols by length, by symbol order within each length */\n for (sym = 0; sym < codes; sym++) {\n if (lens[lens_index + sym] !== 0) {\n work[offs[lens[lens_index + sym]]++] = sym;\n }\n }\n\n /*\n Create and fill in decoding tables. In this loop, the table being\n filled is at next and has curr index bits. The code being used is huff\n with length len. That code is converted to an index by dropping drop\n bits off of the bottom. For codes where len is less than drop + curr,\n those top drop + curr - len bits are incremented through all values to\n fill the table with replicated entries.\n root is the number of index bits for the root table. When len exceeds\n root, sub-tables are created pointed to by the root entry with an index\n of the low root bits of huff. This is saved in low to check for when a\n new sub-table should be started. drop is zero when the root table is\n being filled, and drop is root when sub-tables are being filled.\n When a new sub-table is needed, it is necessary to look ahead in the\n code lengths to determine what size sub-table is needed. The length\n counts are used for this, and so count[] is decremented as codes are\n entered in the tables.\n used keeps track of how many table entries have been allocated from the\n provided *table space. It is checked for LENS and DIST tables against\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\n the initial root table size constants. See the comments in inftrees.h\n for more information.\n sym increments through all symbols, and the loop terminates when\n all codes of length max, i.e. all codes, have been processed. This\n routine permits incomplete codes, so another loop after this one fills\n in the rest of the decoding tables with invalid code markers.\n */\n\n /* set up for code type */\n // poor man optimization - use if-else instead of switch,\n // to avoid deopts in old v8\n if (type === CODES$1) {\n base = extra = work; /* dummy value--not used */\n end = 19;\n } else if (type === LENS$1) {\n base = lbase;\n base_index -= 257;\n extra = lext;\n extra_index -= 257;\n end = 256;\n } else {\n /* DISTS */\n base = dbase;\n extra = dext;\n end = -1;\n }\n\n /* initialize opts for loop */\n huff = 0; /* starting code */\n sym = 0; /* starting code symbol */\n len = min; /* starting code length */\n next = table_index; /* current table to fill in */\n curr = root; /* current table index bits */\n drop = 0; /* current bits to drop from code for index */\n low = -1; /* trigger new sub-table when len > root */\n used = 1 << root; /* use root table entries */\n mask = used - 1; /* mask for comparing low */\n\n /* check available table space */\n if (type === LENS$1 && used > ENOUGH_LENS$1 || type === DISTS$1 && used > ENOUGH_DISTS$1) {\n return 1;\n }\n\n /* process all codes and make table entries */\n for (;;) {\n /* create table entry */\n here_bits = len - drop;\n if (work[sym] < end) {\n here_op = 0;\n here_val = work[sym];\n } else if (work[sym] > end) {\n here_op = extra[extra_index + work[sym]];\n here_val = base[base_index + work[sym]];\n } else {\n here_op = 32 + 64; /* end of block */\n here_val = 0;\n }\n\n /* replicate for those indices with low len bits equal to huff */\n incr = 1 << len - drop;\n fill = 1 << curr;\n min = fill; /* save offset to next table */\n do {\n fill -= incr;\n table[next + (huff >> drop) + fill] = here_bits << 24 | here_op << 16 | here_val | 0;\n } while (fill !== 0);\n\n /* backwards increment the len-bit code huff */\n incr = 1 << len - 1;\n while (huff & incr) {\n incr >>= 1;\n }\n if (incr !== 0) {\n huff &= incr - 1;\n huff += incr;\n } else {\n huff = 0;\n }\n\n /* go to next symbol, update count, len */\n sym++;\n if (--count[len] === 0) {\n if (len === max) {\n break;\n }\n len = lens[lens_index + work[sym]];\n }\n\n /* create new sub-table if needed */\n if (len > root && (huff & mask) !== low) {\n /* if first time, transition to sub-tables */\n if (drop === 0) {\n drop = root;\n }\n\n /* increment past last table */\n next += min; /* here min is 1 << curr */\n\n /* determine length of next table */\n curr = len - drop;\n left = 1 << curr;\n while (curr + drop < max) {\n left -= count[curr + drop];\n if (left <= 0) {\n break;\n }\n curr++;\n left <<= 1;\n }\n\n /* check for enough space */\n used += 1 << curr;\n if (type === LENS$1 && used > ENOUGH_LENS$1 || type === DISTS$1 && used > ENOUGH_DISTS$1) {\n return 1;\n }\n\n /* point entry in root table to sub-table */\n low = huff & mask;\n /*table.op[low] = curr;\n table.bits[low] = root;\n table.val[low] = next - opts.table_index;*/\n table[low] = root << 24 | curr << 16 | next - table_index | 0;\n }\n }\n\n /* fill in remaining table entry if code is incomplete (guaranteed to have\n at most one remaining entry, since if the code is incomplete, the\n maximum code length that was allowed to get this far is one bit) */\n if (huff !== 0) {\n //table.op[next + huff] = 64; /* invalid code marker */\n //table.bits[next + huff] = len - drop;\n //table.val[next + huff] = 0;\n table[next + huff] = len - drop << 24 | 64 << 16 | 0;\n }\n\n /* set return parameters */\n //opts.table_index += used;\n opts.bits = root;\n return 0;\n};\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils = common;\nvar adler32 = adler32_1;\nvar crc32 = crc32_1;\nvar inflate_fast = inffast;\nvar inflate_table = inftrees;\nvar CODES = 0;\nvar LENS = 1;\nvar DISTS = 2;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n/* Allowed flush values; see deflate() and inflate() below for details */\n//var Z_NO_FLUSH = 0;\n//var Z_PARTIAL_FLUSH = 1;\n//var Z_SYNC_FLUSH = 2;\n//var Z_FULL_FLUSH = 3;\nvar Z_FINISH = 4;\nvar Z_BLOCK = 5;\nvar Z_TREES = 6;\n\n/* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\nvar Z_OK = 0;\nvar Z_STREAM_END = 1;\nvar Z_NEED_DICT = 2;\n//var Z_ERRNO = -1;\nvar Z_STREAM_ERROR = -2;\nvar Z_DATA_ERROR = -3;\nvar Z_MEM_ERROR = -4;\nvar Z_BUF_ERROR = -5;\n//var Z_VERSION_ERROR = -6;\n\n/* The deflate compression method */\nvar Z_DEFLATED = 8;\n\n/* STATES ====================================================================*/\n/* ===========================================================================*/\n\nvar HEAD = 1; /* i: waiting for magic header */\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\nvar TIME = 3; /* i: waiting for modification time (gzip) */\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\nvar DICTID = 10; /* i: waiting for dictionary check value */\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\nvar LENLENS = 18; /* i: waiting for code length code lengths */\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\nvar LEN = 21; /* i: waiting for length/lit/eob code */\nvar LENEXT = 22; /* i: waiting for length extra bits */\nvar DIST = 23; /* i: waiting for distance code */\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\nvar MATCH = 25; /* o: waiting for output space to copy string */\nvar LIT = 26; /* o: waiting for output space to write literal */\nvar CHECK = 27; /* i: waiting for 32-bit check value */\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\nvar DONE = 29; /* finished check, done -- remain here until reset */\nvar BAD = 30; /* got a data error -- remain here until reset */\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\n\n/* ===========================================================================*/\n\nvar ENOUGH_LENS = 852;\nvar ENOUGH_DISTS = 592;\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nvar MAX_WBITS = 15;\n/* 32K LZ77 window */\nvar DEF_WBITS = MAX_WBITS;\nfunction zswap32(q) {\n return (q >>> 24 & 0xff) + (q >>> 8 & 0xff00) + ((q & 0xff00) << 8) + ((q & 0xff) << 24);\n}\nfunction InflateState() {\n this.mode = 0; /* current inflate mode */\n this.last = false; /* true if processing last block */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.havedict = false; /* true if dictionary provided */\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\n this.check = 0; /* protected copy of check value */\n this.total = 0; /* protected copy of output count */\n // TODO: may be {}\n this.head = null; /* where to save gzip header information */\n\n /* sliding window */\n this.wbits = 0; /* log base 2 of requested window size */\n this.wsize = 0; /* window size or zero if not using window */\n this.whave = 0; /* valid bytes in the window */\n this.wnext = 0; /* window write index */\n this.window = null; /* allocated sliding window, if needed */\n\n /* bit accumulator */\n this.hold = 0; /* input bit accumulator */\n this.bits = 0; /* number of bits in \"in\" */\n\n /* for string and stored block copying */\n this.length = 0; /* literal or length of data to copy */\n this.offset = 0; /* distance back to copy string from */\n\n /* for table and code decoding */\n this.extra = 0; /* extra bits needed */\n\n /* fixed and dynamic code tables */\n this.lencode = null; /* starting table for length/literal codes */\n this.distcode = null; /* starting table for distance codes */\n this.lenbits = 0; /* index bits for lencode */\n this.distbits = 0; /* index bits for distcode */\n\n /* dynamic table building */\n this.ncode = 0; /* number of code length code lengths */\n this.nlen = 0; /* number of length code lengths */\n this.ndist = 0; /* number of distance code lengths */\n this.have = 0; /* number of code lengths in lens[] */\n this.next = null; /* next available space in codes[] */\n\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\n this.work = new utils.Buf16(288); /* work area for code table building */\n\n /*\n because we don't have pointers in js, we use lencode and distcode directly\n as buffers so we don't need codes\n */\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\n this.sane = 0; /* if false, allow invalid distance too far */\n this.back = 0; /* bits back of last unprocessed length/lit */\n this.was = 0; /* initial length of match */\n}\nfunction inflateResetKeep(strm) {\n var state;\n if (!strm || !strm.state) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n strm.total_in = strm.total_out = state.total = 0;\n strm.msg = ''; /*Z_NULL*/\n if (state.wrap) {\n /* to support ill-conceived Java test suite */\n strm.adler = state.wrap & 1;\n }\n state.mode = HEAD;\n state.last = 0;\n state.havedict = 0;\n state.dmax = 32768;\n state.head = null /*Z_NULL*/;\n state.hold = 0;\n state.bits = 0;\n //state.lencode = state.distcode = state.next = state.codes;\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\n state.sane = 1;\n state.back = -1;\n //Tracev((stderr, \"inflate: reset\\n\"));\n return Z_OK;\n}\nfunction inflateReset(strm) {\n var state;\n if (!strm || !strm.state) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n state.wsize = 0;\n state.whave = 0;\n state.wnext = 0;\n return inflateResetKeep(strm);\n}\nfunction inflateReset2(strm, windowBits) {\n var wrap;\n var state;\n\n /* get the state */\n if (!strm || !strm.state) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n\n /* extract wrap request from windowBits parameter */\n if (windowBits < 0) {\n wrap = 0;\n windowBits = -windowBits;\n } else {\n wrap = (windowBits >> 4) + 1;\n if (windowBits < 48) {\n windowBits &= 15;\n }\n }\n\n /* set number of window bits, free window if different */\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\n return Z_STREAM_ERROR;\n }\n if (state.window !== null && state.wbits !== windowBits) {\n state.window = null;\n }\n\n /* update state and reset the rest of it */\n state.wrap = wrap;\n state.wbits = windowBits;\n return inflateReset(strm);\n}\nfunction inflateInit2(strm, windowBits) {\n var ret;\n var state;\n if (!strm) {\n return Z_STREAM_ERROR;\n }\n //strm.msg = Z_NULL; /* in case we return an error */\n\n state = new InflateState();\n\n //if (state === Z_NULL) return Z_MEM_ERROR;\n //Tracev((stderr, \"inflate: allocated\\n\"));\n strm.state = state;\n state.window = null /*Z_NULL*/;\n ret = inflateReset2(strm, windowBits);\n if (ret !== Z_OK) {\n strm.state = null /*Z_NULL*/;\n }\n return ret;\n}\nfunction inflateInit(strm) {\n return inflateInit2(strm, DEF_WBITS);\n}\n\n/*\n Return state with length and distance decoding tables and index sizes set to\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\n If BUILDFIXED is defined, then instead this routine builds the tables the\n first time it's called, and returns those tables the first time and\n thereafter. This reduces the size of the code by about 2K bytes, in\n exchange for a little execution time. However, BUILDFIXED should not be\n used for threaded applications, since the rewriting of the tables and virgin\n may not be thread-safe.\n */\nvar virgin = true;\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\n\nfunction fixedtables(state) {\n /* build fixed huffman tables if first call (may not be thread safe) */\n if (virgin) {\n var sym;\n lenfix = new utils.Buf32(512);\n distfix = new utils.Buf32(32);\n\n /* literal/length table */\n sym = 0;\n while (sym < 144) {\n state.lens[sym++] = 8;\n }\n while (sym < 256) {\n state.lens[sym++] = 9;\n }\n while (sym < 280) {\n state.lens[sym++] = 7;\n }\n while (sym < 288) {\n state.lens[sym++] = 8;\n }\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, {\n bits: 9\n });\n\n /* distance table */\n sym = 0;\n while (sym < 32) {\n state.lens[sym++] = 5;\n }\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, {\n bits: 5\n });\n\n /* do this just once */\n virgin = false;\n }\n state.lencode = lenfix;\n state.lenbits = 9;\n state.distcode = distfix;\n state.distbits = 5;\n}\n\n/*\n Update the window with the last wsize (normally 32K) bytes written before\n returning. If window does not exist yet, create it. This is only called\n when a window is already in use, or when output has been written during this\n inflate call, but the end of the deflate stream has not been reached yet.\n It is also called to create a window for dictionary data when a dictionary\n is loaded.\n\n Providing output buffers larger than 32K to inflate() should provide a speed\n advantage, since only the last 32K of output is copied to the sliding window\n upon return from inflate(), and since all distances after the first 32K of\n output will fall in the output data, making match copies simpler and faster.\n The advantage may be dependent on the size of the processor's data caches.\n */\nfunction updatewindow(strm, src, end, copy) {\n var dist;\n var state = strm.state;\n\n /* if it hasn't been done already, allocate space for the window */\n if (state.window === null) {\n state.wsize = 1 << state.wbits;\n state.wnext = 0;\n state.whave = 0;\n state.window = new utils.Buf8(state.wsize);\n }\n\n /* copy state->wsize or less output bytes into the circular window */\n if (copy >= state.wsize) {\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\n state.wnext = 0;\n state.whave = state.wsize;\n } else {\n dist = state.wsize - state.wnext;\n if (dist > copy) {\n dist = copy;\n }\n //zmemcpy(state->window + state->wnext, end - copy, dist);\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\n copy -= dist;\n if (copy) {\n //zmemcpy(state->window, end - copy, copy);\n utils.arraySet(state.window, src, end - copy, copy, 0);\n state.wnext = copy;\n state.whave = state.wsize;\n } else {\n state.wnext += dist;\n if (state.wnext === state.wsize) {\n state.wnext = 0;\n }\n if (state.whave < state.wsize) {\n state.whave += dist;\n }\n }\n }\n return 0;\n}\nfunction inflate(strm, flush) {\n var state;\n var input, output; // input/output buffers\n var next; /* next input INDEX */\n var put; /* next output INDEX */\n var have, left; /* available input and output */\n var hold; /* bit buffer */\n var bits; /* bits in bit buffer */\n var _in, _out; /* save starting available input and output */\n var copy; /* number of stored or match bytes to copy */\n var from; /* where to copy match bytes from */\n var from_source;\n var here = 0; /* current decoding table entry */\n var here_bits, here_op, here_val; // paked \"here\" denormalized (JS specific)\n //var last; /* parent table entry */\n var last_bits, last_op, last_val; // paked \"last\" denormalized (JS specific)\n var len; /* length to copy for repeats, bits to drop */\n var ret; /* return code */\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\n var opts;\n var n; // temporary var for NEED_BITS\n\n var order = /* permutation of code lengths */\n [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];\n if (!strm || !strm.state || !strm.output || !strm.input && strm.avail_in !== 0) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n if (state.mode === TYPE) {\n state.mode = TYPEDO;\n } /* skip check */\n\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n _in = have;\n _out = left;\n ret = Z_OK;\n inf_leave:\n // goto emulation\n for (;;) {\n switch (state.mode) {\n case HEAD:\n if (state.wrap === 0) {\n state.mode = TYPEDO;\n break;\n }\n //=== NEEDBITS(16);\n while (bits < 16) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.wrap & 2 && hold === 0x8b1f) {\n /* gzip header */\n state.check = 0 /*crc32(0L, Z_NULL, 0)*/;\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = hold >>> 8 & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = FLAGS;\n break;\n }\n state.flags = 0; /* expect zlib header */\n if (state.head) {\n state.head.done = false;\n }\n if (!(state.wrap & 1) || /* check if zlib header allowed */\n (((hold & 0xff /*BITS(8)*/) << 8) + (hold >> 8)) % 31) {\n strm.msg = 'incorrect header check';\n state.mode = BAD;\n break;\n }\n if ((hold & 0x0f /*BITS(4)*/) !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n len = (hold & 0x0f /*BITS(4)*/) + 8;\n if (state.wbits === 0) {\n state.wbits = len;\n } else if (len > state.wbits) {\n strm.msg = 'invalid window size';\n state.mode = BAD;\n break;\n }\n state.dmax = 1 << len;\n //Tracev((stderr, \"inflate: zlib header ok\\n\"));\n strm.adler = state.check = 1 /*adler32(0L, Z_NULL, 0)*/;\n state.mode = hold & 0x200 ? DICTID : TYPE;\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n break;\n case FLAGS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.flags = hold;\n if ((state.flags & 0xff) !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n if (state.flags & 0xe000) {\n strm.msg = 'unknown header flags set';\n state.mode = BAD;\n break;\n }\n if (state.head) {\n state.head.text = hold >> 8 & 1;\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = hold >>> 8 & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = TIME;\n /* falls through */\n case TIME:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.time = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC4(state.check, hold)\n hbuf[0] = hold & 0xff;\n hbuf[1] = hold >>> 8 & 0xff;\n hbuf[2] = hold >>> 16 & 0xff;\n hbuf[3] = hold >>> 24 & 0xff;\n state.check = crc32(state.check, hbuf, 4, 0);\n //===\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = OS;\n /* falls through */\n case OS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.xflags = hold & 0xff;\n state.head.os = hold >> 8;\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = hold >>> 8 & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = EXLEN;\n /* falls through */\n case EXLEN:\n if (state.flags & 0x0400) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length = hold;\n if (state.head) {\n state.head.extra_len = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = hold >>> 8 & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n } else if (state.head) {\n state.head.extra = null /*Z_NULL*/;\n }\n state.mode = EXTRA;\n /* falls through */\n case EXTRA:\n if (state.flags & 0x0400) {\n copy = state.length;\n if (copy > have) {\n copy = have;\n }\n if (copy) {\n if (state.head) {\n len = state.head.extra_len - state.length;\n if (!state.head.extra) {\n // Use untyped array for more convenient processing later\n state.head.extra = new Array(state.head.extra_len);\n }\n utils.arraySet(state.head.extra, input, next,\n // extra field is limited to 65536 bytes\n // - no need for additional size check\n copy, /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\n len);\n //zmemcpy(state.head.extra + len, next,\n // len + copy > state.head.extra_max ?\n // state.head.extra_max - len : copy);\n }\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n state.length -= copy;\n }\n if (state.length) {\n break inf_leave;\n }\n }\n state.length = 0;\n state.mode = NAME;\n /* falls through */\n case NAME:\n if (state.flags & 0x0800) {\n if (have === 0) {\n break inf_leave;\n }\n copy = 0;\n do {\n // TODO: 2 or 1 bytes?\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len && state.length < 65536 /*state.head.name_max*/) {\n state.head.name += String.fromCharCode(len);\n }\n } while (len && copy < have);\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) {\n break inf_leave;\n }\n } else if (state.head) {\n state.head.name = null;\n }\n state.length = 0;\n state.mode = COMMENT;\n /* falls through */\n case COMMENT:\n if (state.flags & 0x1000) {\n if (have === 0) {\n break inf_leave;\n }\n copy = 0;\n do {\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len && state.length < 65536 /*state.head.comm_max*/) {\n state.head.comment += String.fromCharCode(len);\n }\n } while (len && copy < have);\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) {\n break inf_leave;\n }\n } else if (state.head) {\n state.head.comment = null;\n }\n state.mode = HCRC;\n /* falls through */\n case HCRC:\n if (state.flags & 0x0200) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.check & 0xffff)) {\n strm.msg = 'header crc mismatch';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n if (state.head) {\n state.head.hcrc = state.flags >> 9 & 1;\n state.head.done = true;\n }\n strm.adler = state.check = 0;\n state.mode = TYPE;\n break;\n case DICTID:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n strm.adler = state.check = zswap32(hold);\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = DICT;\n /* falls through */\n case DICT:\n if (state.havedict === 0) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n return Z_NEED_DICT;\n }\n strm.adler = state.check = 1 /*adler32(0L, Z_NULL, 0)*/;\n state.mode = TYPE;\n /* falls through */\n case TYPE:\n if (flush === Z_BLOCK || flush === Z_TREES) {\n break inf_leave;\n }\n /* falls through */\n case TYPEDO:\n if (state.last) {\n //--- BYTEBITS() ---//\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n state.mode = CHECK;\n break;\n }\n //=== NEEDBITS(3); */\n while (bits < 3) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.last = hold & 0x01 /*BITS(1)*/;\n //--- DROPBITS(1) ---//\n hold >>>= 1;\n bits -= 1;\n //---//\n\n switch (hold & 0x03 /*BITS(2)*/) {\n case 0:\n /* stored block */\n //Tracev((stderr, \"inflate: stored block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = STORED;\n break;\n case 1:\n /* fixed block */\n fixedtables(state);\n //Tracev((stderr, \"inflate: fixed codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = LEN_; /* decode codes */\n if (flush === Z_TREES) {\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break inf_leave;\n }\n break;\n case 2:\n /* dynamic block */\n //Tracev((stderr, \"inflate: dynamic codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = TABLE;\n break;\n case 3:\n strm.msg = 'invalid block type';\n state.mode = BAD;\n }\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break;\n case STORED:\n //--- BYTEBITS() ---// /* go to byte boundary */\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((hold & 0xffff) !== (hold >>> 16 ^ 0xffff)) {\n strm.msg = 'invalid stored block lengths';\n state.mode = BAD;\n break;\n }\n state.length = hold & 0xffff;\n //Tracev((stderr, \"inflate: stored length %u\\n\",\n // state.length));\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = COPY_;\n if (flush === Z_TREES) {\n break inf_leave;\n }\n /* falls through */\n case COPY_:\n state.mode = COPY;\n /* falls through */\n case COPY:\n copy = state.length;\n if (copy) {\n if (copy > have) {\n copy = have;\n }\n if (copy > left) {\n copy = left;\n }\n if (copy === 0) {\n break inf_leave;\n }\n //--- zmemcpy(put, next, copy); ---\n utils.arraySet(output, input, next, copy, put);\n //---//\n have -= copy;\n next += copy;\n left -= copy;\n put += copy;\n state.length -= copy;\n break;\n }\n //Tracev((stderr, \"inflate: stored end\\n\"));\n state.mode = TYPE;\n break;\n case TABLE:\n //=== NEEDBITS(14); */\n while (bits < 14) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.nlen = (hold & 0x1f /*BITS(5)*/) + 257;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ndist = (hold & 0x1f /*BITS(5)*/) + 1;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ncode = (hold & 0x0f /*BITS(4)*/) + 4;\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n //#ifndef PKZIP_BUG_WORKAROUND\n if (state.nlen > 286 || state.ndist > 30) {\n strm.msg = 'too many length or distance symbols';\n state.mode = BAD;\n break;\n }\n //#endif\n //Tracev((stderr, \"inflate: table sizes ok\\n\"));\n state.have = 0;\n state.mode = LENLENS;\n /* falls through */\n case LENLENS:\n while (state.have < state.ncode) {\n //=== NEEDBITS(3);\n while (bits < 3) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.lens[order[state.have++]] = hold & 0x07; //BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n while (state.have < 19) {\n state.lens[order[state.have++]] = 0;\n }\n // We have separate tables & no pointers. 2 commented lines below not needed.\n //state.next = state.codes;\n //state.lencode = state.next;\n // Switch to use dynamic table\n state.lencode = state.lendyn;\n state.lenbits = 7;\n opts = {\n bits: state.lenbits\n };\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\n state.lenbits = opts.bits;\n if (ret) {\n strm.msg = 'invalid code lengths set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, \"inflate: code lengths ok\\n\"));\n state.have = 0;\n state.mode = CODELENS;\n /* falls through */\n case CODELENS:\n while (state.have < state.nlen + state.ndist) {\n for (;;) {\n here = state.lencode[hold & (1 << state.lenbits) - 1]; /*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = here >>> 16 & 0xff;\n here_val = here & 0xffff;\n if (here_bits <= bits) {\n break;\n }\n //--- PULLBYTE() ---//\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_val < 16) {\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.lens[state.have++] = here_val;\n } else {\n if (here_val === 16) {\n //=== NEEDBITS(here.bits + 2);\n n = here_bits + 2;\n while (bits < n) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n if (state.have === 0) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n len = state.lens[state.have - 1];\n copy = 3 + (hold & 0x03); //BITS(2);\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n } else if (here_val === 17) {\n //=== NEEDBITS(here.bits + 3);\n n = here_bits + 3;\n while (bits < n) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 3 + (hold & 0x07); //BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n } else {\n //=== NEEDBITS(here.bits + 7);\n n = here_bits + 7;\n while (bits < n) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 11 + (hold & 0x7f); //BITS(7);\n //--- DROPBITS(7) ---//\n hold >>>= 7;\n bits -= 7;\n //---//\n }\n if (state.have + copy > state.nlen + state.ndist) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n while (copy--) {\n state.lens[state.have++] = len;\n }\n }\n }\n\n /* handle error breaks in while */\n if (state.mode === BAD) {\n break;\n }\n\n /* check for end-of-block code (better have one) */\n if (state.lens[256] === 0) {\n strm.msg = 'invalid code -- missing end-of-block';\n state.mode = BAD;\n break;\n }\n\n /* build code tables -- note: do not change the lenbits or distbits\n values here (9 and 6) without reading the comments in inftrees.h\n concerning the ENOUGH constants, which depend on those values */\n state.lenbits = 9;\n opts = {\n bits: state.lenbits\n };\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.lenbits = opts.bits;\n // state.lencode = state.next;\n\n if (ret) {\n strm.msg = 'invalid literal/lengths set';\n state.mode = BAD;\n break;\n }\n state.distbits = 6;\n //state.distcode.copy(state.codes);\n // Switch to use dynamic table\n state.distcode = state.distdyn;\n opts = {\n bits: state.distbits\n };\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.distbits = opts.bits;\n // state.distcode = state.next;\n\n if (ret) {\n strm.msg = 'invalid distances set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, 'inflate: codes ok\\n'));\n state.mode = LEN_;\n if (flush === Z_TREES) {\n break inf_leave;\n }\n /* falls through */\n case LEN_:\n state.mode = LEN;\n /* falls through */\n case LEN:\n if (have >= 6 && left >= 258) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n inflate_fast(strm, _out);\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n if (state.mode === TYPE) {\n state.back = -1;\n }\n break;\n }\n state.back = 0;\n for (;;) {\n here = state.lencode[hold & (1 << state.lenbits) - 1]; /*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = here >>> 16 & 0xff;\n here_val = here & 0xffff;\n if (here_bits <= bits) {\n break;\n }\n //--- PULLBYTE() ---//\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_op && (here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.lencode[last_val + ((hold & (1 << last_bits + last_op) - 1 /*BITS(last.bits + last.op)*/) >> last_bits)];\n here_bits = here >>> 24;\n here_op = here >>> 16 & 0xff;\n here_val = here & 0xffff;\n if (last_bits + here_bits <= bits) {\n break;\n }\n //--- PULLBYTE() ---//\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n state.length = here_val;\n if (here_op === 0) {\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n state.mode = LIT;\n break;\n }\n if (here_op & 32) {\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.back = -1;\n state.mode = TYPE;\n break;\n }\n if (here_op & 64) {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break;\n }\n state.extra = here_op & 15;\n state.mode = LENEXT;\n /* falls through */\n case LENEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length += hold & (1 << state.extra) - 1 /*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", state.length));\n state.was = state.length;\n state.mode = DIST;\n /* falls through */\n case DIST:\n for (;;) {\n here = state.distcode[hold & (1 << state.distbits) - 1]; /*BITS(state.distbits)*/\n here_bits = here >>> 24;\n here_op = here >>> 16 & 0xff;\n here_val = here & 0xffff;\n if (here_bits <= bits) {\n break;\n }\n //--- PULLBYTE() ---//\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if ((here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.distcode[last_val + ((hold & (1 << last_bits + last_op) - 1 /*BITS(last.bits + last.op)*/) >> last_bits)];\n here_bits = here >>> 24;\n here_op = here >>> 16 & 0xff;\n here_val = here & 0xffff;\n if (last_bits + here_bits <= bits) {\n break;\n }\n //--- PULLBYTE() ---//\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n if (here_op & 64) {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break;\n }\n state.offset = here_val;\n state.extra = here_op & 15;\n state.mode = DISTEXT;\n /* falls through */\n case DISTEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.offset += hold & (1 << state.extra) - 1 /*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n //#ifdef INFLATE_STRICT\n if (state.offset > state.dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n //#endif\n //Tracevv((stderr, \"inflate: distance %u\\n\", state.offset));\n state.mode = MATCH;\n /* falls through */\n case MATCH:\n if (left === 0) {\n break inf_leave;\n }\n copy = _out - left;\n if (state.offset > copy) {\n /* copy from window */\n copy = state.offset - copy;\n if (copy > state.whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n // (!) This block is disabled in zlib defaults,\n // don't enable it for binary compatibility\n //#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n // Trace((stderr, \"inflate.c too far\\n\"));\n // copy -= state.whave;\n // if (copy > state.length) { copy = state.length; }\n // if (copy > left) { copy = left; }\n // left -= copy;\n // state.length -= copy;\n // do {\n // output[put++] = 0;\n // } while (--copy);\n // if (state.length === 0) { state.mode = LEN; }\n // break;\n //#endif\n }\n if (copy > state.wnext) {\n copy -= state.wnext;\n from = state.wsize - copy;\n } else {\n from = state.wnext - copy;\n }\n if (copy > state.length) {\n copy = state.length;\n }\n from_source = state.window;\n } else {\n /* copy from output */\n from_source = output;\n from = put - state.offset;\n copy = state.length;\n }\n if (copy > left) {\n copy = left;\n }\n left -= copy;\n state.length -= copy;\n do {\n output[put++] = from_source[from++];\n } while (--copy);\n if (state.length === 0) {\n state.mode = LEN;\n }\n break;\n case LIT:\n if (left === 0) {\n break inf_leave;\n }\n output[put++] = state.length;\n left--;\n state.mode = LEN;\n break;\n case CHECK:\n if (state.wrap) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n // Use '|' instead of '+' to make sure that result is signed\n hold |= input[next++] << bits;\n bits += 8;\n }\n //===//\n _out -= left;\n strm.total_out += _out;\n state.total += _out;\n if (_out) {\n strm.adler = state.check = /*UPDATE(state.check, put - _out, _out);*/\n state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out);\n }\n _out = left;\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\n strm.msg = 'incorrect data check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: check matches trailer\\n\"));\n }\n state.mode = LENGTH;\n /* falls through */\n case LENGTH:\n if (state.wrap && state.flags) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) {\n break inf_leave;\n }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.total & 0xffffffff)) {\n strm.msg = 'incorrect length check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: length matches trailer\\n\"));\n }\n state.mode = DONE;\n /* falls through */\n case DONE:\n ret = Z_STREAM_END;\n break inf_leave;\n case BAD:\n ret = Z_DATA_ERROR;\n break inf_leave;\n case MEM:\n return Z_MEM_ERROR;\n case SYNC:\n /* falls through */\n default:\n return Z_STREAM_ERROR;\n }\n }\n\n // inf_leave <- here is real place for \"goto inf_leave\", emulated via \"break inf_leave\"\n\n /*\n Return from inflate(), updating the total counts and the check value.\n If there was no progress during the inflate() call, return a buffer\n error. Call updatewindow() to create and/or update the window state.\n Note: a memory error from inflate() is non-recoverable.\n */\n\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n\n if (state.wsize || _out !== strm.avail_out && state.mode < BAD && (state.mode < CHECK || flush !== Z_FINISH)) {\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) ;\n }\n _in -= strm.avail_in;\n _out -= strm.avail_out;\n strm.total_in += _in;\n strm.total_out += _out;\n state.total += _out;\n if (state.wrap && _out) {\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\n state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out);\n }\n strm.data_type = state.bits + (state.last ? 64 : 0) + (state.mode === TYPE ? 128 : 0) + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\n if ((_in === 0 && _out === 0 || flush === Z_FINISH) && ret === Z_OK) {\n ret = Z_BUF_ERROR;\n }\n return ret;\n}\nfunction inflateEnd(strm) {\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\n return Z_STREAM_ERROR;\n }\n var state = strm.state;\n if (state.window) {\n state.window = null;\n }\n strm.state = null;\n return Z_OK;\n}\nfunction inflateGetHeader(strm, head) {\n var state;\n\n /* check state */\n if (!strm || !strm.state) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n if ((state.wrap & 2) === 0) {\n return Z_STREAM_ERROR;\n }\n\n /* save header structure */\n state.head = head;\n head.done = false;\n return Z_OK;\n}\nfunction inflateSetDictionary(strm, dictionary) {\n var dictLength = dictionary.length;\n var state;\n var dictid;\n var ret;\n\n /* check state */\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) {\n return Z_STREAM_ERROR;\n }\n state = strm.state;\n if (state.wrap !== 0 && state.mode !== DICT) {\n return Z_STREAM_ERROR;\n }\n\n /* check for correct dictionary identifier */\n if (state.mode === DICT) {\n dictid = 1; /* adler32(0, null, 0)*/\n /* dictid = adler32(dictid, dictionary, dictLength); */\n dictid = adler32(dictid, dictionary, dictLength, 0);\n if (dictid !== state.check) {\n return Z_DATA_ERROR;\n }\n }\n /* copy dictionary to window using updatewindow(), which will amend the\n existing dictionary if appropriate */\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\n if (ret) {\n state.mode = MEM;\n return Z_MEM_ERROR;\n }\n state.havedict = 1;\n // Tracev((stderr, \"inflate: dictionary set\\n\"));\n return Z_OK;\n}\ninflate$1.inflateReset = inflateReset;\ninflate$1.inflateReset2 = inflateReset2;\ninflate$1.inflateResetKeep = inflateResetKeep;\ninflate$1.inflateInit = inflateInit;\ninflate$1.inflateInit2 = inflateInit2;\ninflate$1.inflate = inflate;\ninflate$1.inflateEnd = inflateEnd;\ninflate$1.inflateGetHeader = inflateGetHeader;\ninflate$1.inflateSetDictionary = inflateSetDictionary;\ninflate$1.inflateInfo = 'pako inflate (from Nodeca project)';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar constants = {\n /* Allowed flush values; see deflate() and inflate() below for details */\n Z_NO_FLUSH: 0,\n Z_PARTIAL_FLUSH: 1,\n Z_SYNC_FLUSH: 2,\n Z_FULL_FLUSH: 3,\n Z_FINISH: 4,\n Z_BLOCK: 5,\n Z_TREES: 6,\n /* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\n Z_OK: 0,\n Z_STREAM_END: 1,\n Z_NEED_DICT: 2,\n Z_ERRNO: -1,\n Z_STREAM_ERROR: -2,\n Z_DATA_ERROR: -3,\n //Z_MEM_ERROR: -4,\n Z_BUF_ERROR: -5,\n //Z_VERSION_ERROR: -6,\n\n /* compression levels */\n Z_NO_COMPRESSION: 0,\n Z_BEST_SPEED: 1,\n Z_BEST_COMPRESSION: 9,\n Z_DEFAULT_COMPRESSION: -1,\n Z_FILTERED: 1,\n Z_HUFFMAN_ONLY: 2,\n Z_RLE: 3,\n Z_FIXED: 4,\n Z_DEFAULT_STRATEGY: 0,\n /* Possible values of the data_type field (though see inflate()) */\n Z_BINARY: 0,\n Z_TEXT: 1,\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\n Z_UNKNOWN: 2,\n /* The deflate compression method */\n Z_DEFLATED: 8\n //Z_NULL: null // Use -1 or null inline, depending on var type\n};\n\n(function (exports) {\n\n /* eslint camelcase: \"off\" */\n var assert = require$$4;\n var Zstream = zstream;\n var zlib_deflate = deflate$1;\n var zlib_inflate = inflate$1;\n var constants$1 = constants;\n for (var key in constants$1) {\n exports[key] = constants$1[key];\n }\n\n // zlib modes\n exports.NONE = 0;\n exports.DEFLATE = 1;\n exports.INFLATE = 2;\n exports.GZIP = 3;\n exports.GUNZIP = 4;\n exports.DEFLATERAW = 5;\n exports.INFLATERAW = 6;\n exports.UNZIP = 7;\n var GZIP_HEADER_ID1 = 0x1f;\n var GZIP_HEADER_ID2 = 0x8b;\n\n /**\n * Emulate Node's zlib C++ layer for use by the JS layer in index.js\n */\n function Zlib(mode) {\n if (typeof mode !== 'number' || mode < exports.DEFLATE || mode > exports.UNZIP) {\n throw new TypeError('Bad argument');\n }\n this.dictionary = null;\n this.err = 0;\n this.flush = 0;\n this.init_done = false;\n this.level = 0;\n this.memLevel = 0;\n this.mode = mode;\n this.strategy = 0;\n this.windowBits = 0;\n this.write_in_progress = false;\n this.pending_close = false;\n this.gzip_id_bytes_read = 0;\n }\n Zlib.prototype.close = function () {\n if (this.write_in_progress) {\n this.pending_close = true;\n return;\n }\n this.pending_close = false;\n assert(this.init_done, 'close before init');\n assert(this.mode <= exports.UNZIP);\n if (this.mode === exports.DEFLATE || this.mode === exports.GZIP || this.mode === exports.DEFLATERAW) {\n zlib_deflate.deflateEnd(this.strm);\n } else if (this.mode === exports.INFLATE || this.mode === exports.GUNZIP || this.mode === exports.INFLATERAW || this.mode === exports.UNZIP) {\n zlib_inflate.inflateEnd(this.strm);\n }\n this.mode = exports.NONE;\n this.dictionary = null;\n };\n Zlib.prototype.write = function (flush, input, in_off, in_len, out, out_off, out_len) {\n return this._write(true, flush, input, in_off, in_len, out, out_off, out_len);\n };\n Zlib.prototype.writeSync = function (flush, input, in_off, in_len, out, out_off, out_len) {\n return this._write(false, flush, input, in_off, in_len, out, out_off, out_len);\n };\n Zlib.prototype._write = function (async, flush, input, in_off, in_len, out, out_off, out_len) {\n assert.equal(arguments.length, 8);\n assert(this.init_done, 'write before init');\n assert(this.mode !== exports.NONE, 'already finalized');\n assert.equal(false, this.write_in_progress, 'write already in progress');\n assert.equal(false, this.pending_close, 'close is pending');\n this.write_in_progress = true;\n assert.equal(false, flush === undefined, 'must provide flush value');\n this.write_in_progress = true;\n if (flush !== exports.Z_NO_FLUSH && flush !== exports.Z_PARTIAL_FLUSH && flush !== exports.Z_SYNC_FLUSH && flush !== exports.Z_FULL_FLUSH && flush !== exports.Z_FINISH && flush !== exports.Z_BLOCK) {\n throw new Error('Invalid flush value');\n }\n if (input == null) {\n input = Buffer.alloc(0);\n in_len = 0;\n in_off = 0;\n }\n this.strm.avail_in = in_len;\n this.strm.input = input;\n this.strm.next_in = in_off;\n this.strm.avail_out = out_len;\n this.strm.output = out;\n this.strm.next_out = out_off;\n this.flush = flush;\n if (!async) {\n // sync version\n this._process();\n if (this._checkError()) {\n return this._afterSync();\n }\n return;\n }\n\n // async version\n var self = this;\n browser$1.nextTick(function () {\n self._process();\n self._after();\n });\n return this;\n };\n Zlib.prototype._afterSync = function () {\n var avail_out = this.strm.avail_out;\n var avail_in = this.strm.avail_in;\n this.write_in_progress = false;\n return [avail_in, avail_out];\n };\n Zlib.prototype._process = function () {\n var next_expected_header_byte = null;\n\n // If the avail_out is left at 0, then it means that it ran out\n // of room. If there was avail_out left over, then it means\n // that all of the input was consumed.\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.GZIP:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflate(this.strm, this.flush);\n break;\n case exports.UNZIP:\n if (this.strm.avail_in > 0) {\n next_expected_header_byte = this.strm.next_in;\n }\n switch (this.gzip_id_bytes_read) {\n case 0:\n if (next_expected_header_byte === null) {\n break;\n }\n if (this.strm.input[next_expected_header_byte] === GZIP_HEADER_ID1) {\n this.gzip_id_bytes_read = 1;\n next_expected_header_byte++;\n if (this.strm.avail_in === 1) {\n // The only available byte was already read.\n break;\n }\n } else {\n this.mode = exports.INFLATE;\n break;\n }\n\n // fallthrough\n case 1:\n if (next_expected_header_byte === null) {\n break;\n }\n if (this.strm.input[next_expected_header_byte] === GZIP_HEADER_ID2) {\n this.gzip_id_bytes_read = 2;\n this.mode = exports.GUNZIP;\n } else {\n // There is no actual difference between INFLATE and INFLATERAW\n // (after initialization).\n this.mode = exports.INFLATE;\n }\n break;\n default:\n throw new Error('invalid number of gzip magic number bytes read');\n }\n\n // fallthrough\n case exports.INFLATE:\n case exports.GUNZIP:\n case exports.INFLATERAW:\n this.err = zlib_inflate.inflate(this.strm, this.flush\n\n // If data was encoded with dictionary\n );\n if (this.err === exports.Z_NEED_DICT && this.dictionary) {\n // Load it\n this.err = zlib_inflate.inflateSetDictionary(this.strm, this.dictionary);\n if (this.err === exports.Z_OK) {\n // And try to decode again\n this.err = zlib_inflate.inflate(this.strm, this.flush);\n } else if (this.err === exports.Z_DATA_ERROR) {\n // Both inflateSetDictionary() and inflate() return Z_DATA_ERROR.\n // Make it possible for After() to tell a bad dictionary from bad\n // input.\n this.err = exports.Z_NEED_DICT;\n }\n }\n while (this.strm.avail_in > 0 && this.mode === exports.GUNZIP && this.err === exports.Z_STREAM_END && this.strm.next_in[0] !== 0x00) {\n // Bytes remain in input buffer. Perhaps this is another compressed\n // member in the same archive, or just trailing garbage.\n // Trailing zero bytes are okay, though, since they are frequently\n // used for padding.\n\n this.reset();\n this.err = zlib_inflate.inflate(this.strm, this.flush);\n }\n break;\n default:\n throw new Error('Unknown mode ' + this.mode);\n }\n };\n Zlib.prototype._checkError = function () {\n // Acceptable error states depend on the type of zlib stream.\n switch (this.err) {\n case exports.Z_OK:\n case exports.Z_BUF_ERROR:\n if (this.strm.avail_out !== 0 && this.flush === exports.Z_FINISH) {\n this._error('unexpected end of file');\n return false;\n }\n break;\n case exports.Z_STREAM_END:\n // normal statuses, not fatal\n break;\n case exports.Z_NEED_DICT:\n if (this.dictionary == null) {\n this._error('Missing dictionary');\n } else {\n this._error('Bad dictionary');\n }\n return false;\n default:\n // something else.\n this._error('Zlib error');\n return false;\n }\n return true;\n };\n Zlib.prototype._after = function () {\n if (!this._checkError()) {\n return;\n }\n var avail_out = this.strm.avail_out;\n var avail_in = this.strm.avail_in;\n this.write_in_progress = false;\n\n // call the write() cb\n this.callback(avail_in, avail_out);\n if (this.pending_close) {\n this.close();\n }\n };\n Zlib.prototype._error = function (message) {\n if (this.strm.msg) {\n message = this.strm.msg;\n }\n this.onerror(message, this.err\n\n // no hope of rescue.\n );\n this.write_in_progress = false;\n if (this.pending_close) {\n this.close();\n }\n };\n Zlib.prototype.init = function (windowBits, level, memLevel, strategy, dictionary) {\n assert(arguments.length === 4 || arguments.length === 5, 'init(windowBits, level, memLevel, strategy, [dictionary])');\n assert(windowBits >= 8 && windowBits <= 15, 'invalid windowBits');\n assert(level >= -1 && level <= 9, 'invalid compression level');\n assert(memLevel >= 1 && memLevel <= 9, 'invalid memlevel');\n assert(strategy === exports.Z_FILTERED || strategy === exports.Z_HUFFMAN_ONLY || strategy === exports.Z_RLE || strategy === exports.Z_FIXED || strategy === exports.Z_DEFAULT_STRATEGY, 'invalid strategy');\n this._init(level, windowBits, memLevel, strategy, dictionary);\n this._setDictionary();\n };\n Zlib.prototype.params = function () {\n throw new Error('deflateParams Not supported');\n };\n Zlib.prototype.reset = function () {\n this._reset();\n this._setDictionary();\n };\n Zlib.prototype._init = function (level, windowBits, memLevel, strategy, dictionary) {\n this.level = level;\n this.windowBits = windowBits;\n this.memLevel = memLevel;\n this.strategy = strategy;\n this.flush = exports.Z_NO_FLUSH;\n this.err = exports.Z_OK;\n if (this.mode === exports.GZIP || this.mode === exports.GUNZIP) {\n this.windowBits += 16;\n }\n if (this.mode === exports.UNZIP) {\n this.windowBits += 32;\n }\n if (this.mode === exports.DEFLATERAW || this.mode === exports.INFLATERAW) {\n this.windowBits = -1 * this.windowBits;\n }\n this.strm = new Zstream();\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.GZIP:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflateInit2(this.strm, this.level, exports.Z_DEFLATED, this.windowBits, this.memLevel, this.strategy);\n break;\n case exports.INFLATE:\n case exports.GUNZIP:\n case exports.INFLATERAW:\n case exports.UNZIP:\n this.err = zlib_inflate.inflateInit2(this.strm, this.windowBits);\n break;\n default:\n throw new Error('Unknown mode ' + this.mode);\n }\n if (this.err !== exports.Z_OK) {\n this._error('Init error');\n }\n this.dictionary = dictionary;\n this.write_in_progress = false;\n this.init_done = true;\n };\n Zlib.prototype._setDictionary = function () {\n if (this.dictionary == null) {\n return;\n }\n this.err = exports.Z_OK;\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflateSetDictionary(this.strm, this.dictionary);\n break;\n }\n if (this.err !== exports.Z_OK) {\n this._error('Failed to set dictionary');\n }\n };\n Zlib.prototype._reset = function () {\n this.err = exports.Z_OK;\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.DEFLATERAW:\n case exports.GZIP:\n this.err = zlib_deflate.deflateReset(this.strm);\n break;\n case exports.INFLATE:\n case exports.INFLATERAW:\n case exports.GUNZIP:\n this.err = zlib_inflate.inflateReset(this.strm);\n break;\n }\n if (this.err !== exports.Z_OK) {\n this._error('Failed to reset stream');\n }\n };\n exports.Zlib = Zlib;\n})(binding);\n\nvar require$$3 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_util$1);\n\n(function (exports) {\n\n var Buffer = require$$0.Buffer;\n var Transform = require$$1.Transform;\n var binding$1 = binding;\n var util = require$$3;\n var assert = require$$4.ok;\n var kMaxLength = require$$0.kMaxLength;\n var kRangeErrorMessage = 'Cannot create final Buffer. It would be larger ' + 'than 0x' + kMaxLength.toString(16) + ' bytes';\n\n // zlib doesn't provide these, so kludge them in following the same\n // const naming scheme zlib uses.\n binding$1.Z_MIN_WINDOWBITS = 8;\n binding$1.Z_MAX_WINDOWBITS = 15;\n binding$1.Z_DEFAULT_WINDOWBITS = 15;\n\n // fewer than 64 bytes per chunk is stupid.\n // technically it could work with as few as 8, but even 64 bytes\n // is absurdly low. Usually a MB or more is best.\n binding$1.Z_MIN_CHUNK = 64;\n binding$1.Z_MAX_CHUNK = Infinity;\n binding$1.Z_DEFAULT_CHUNK = 16 * 1024;\n binding$1.Z_MIN_MEMLEVEL = 1;\n binding$1.Z_MAX_MEMLEVEL = 9;\n binding$1.Z_DEFAULT_MEMLEVEL = 8;\n binding$1.Z_MIN_LEVEL = -1;\n binding$1.Z_MAX_LEVEL = 9;\n binding$1.Z_DEFAULT_LEVEL = binding$1.Z_DEFAULT_COMPRESSION;\n\n // expose all the zlib constants\n var bkeys = Object.keys(binding$1);\n for (var bk = 0; bk < bkeys.length; bk++) {\n var bkey = bkeys[bk];\n if (bkey.match(/^Z/)) {\n Object.defineProperty(exports, bkey, {\n enumerable: true,\n value: binding$1[bkey],\n writable: false\n });\n }\n }\n\n // translation table for return codes.\n var codes = {\n Z_OK: binding$1.Z_OK,\n Z_STREAM_END: binding$1.Z_STREAM_END,\n Z_NEED_DICT: binding$1.Z_NEED_DICT,\n Z_ERRNO: binding$1.Z_ERRNO,\n Z_STREAM_ERROR: binding$1.Z_STREAM_ERROR,\n Z_DATA_ERROR: binding$1.Z_DATA_ERROR,\n Z_MEM_ERROR: binding$1.Z_MEM_ERROR,\n Z_BUF_ERROR: binding$1.Z_BUF_ERROR,\n Z_VERSION_ERROR: binding$1.Z_VERSION_ERROR\n };\n var ckeys = Object.keys(codes);\n for (var ck = 0; ck < ckeys.length; ck++) {\n var ckey = ckeys[ck];\n codes[codes[ckey]] = ckey;\n }\n Object.defineProperty(exports, 'codes', {\n enumerable: true,\n value: Object.freeze(codes),\n writable: false\n });\n exports.Deflate = Deflate;\n exports.Inflate = Inflate;\n exports.Gzip = Gzip;\n exports.Gunzip = Gunzip;\n exports.DeflateRaw = DeflateRaw;\n exports.InflateRaw = InflateRaw;\n exports.Unzip = Unzip;\n exports.createDeflate = function (o) {\n return new Deflate(o);\n };\n exports.createInflate = function (o) {\n return new Inflate(o);\n };\n exports.createDeflateRaw = function (o) {\n return new DeflateRaw(o);\n };\n exports.createInflateRaw = function (o) {\n return new InflateRaw(o);\n };\n exports.createGzip = function (o) {\n return new Gzip(o);\n };\n exports.createGunzip = function (o) {\n return new Gunzip(o);\n };\n exports.createUnzip = function (o) {\n return new Unzip(o);\n };\n\n // Convenience methods.\n // compress/decompress a string or buffer in one step.\n exports.deflate = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Deflate(opts), buffer, callback);\n };\n exports.deflateSync = function (buffer, opts) {\n return zlibBufferSync(new Deflate(opts), buffer);\n };\n exports.gzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Gzip(opts), buffer, callback);\n };\n exports.gzipSync = function (buffer, opts) {\n return zlibBufferSync(new Gzip(opts), buffer);\n };\n exports.deflateRaw = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new DeflateRaw(opts), buffer, callback);\n };\n exports.deflateRawSync = function (buffer, opts) {\n return zlibBufferSync(new DeflateRaw(opts), buffer);\n };\n exports.unzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Unzip(opts), buffer, callback);\n };\n exports.unzipSync = function (buffer, opts) {\n return zlibBufferSync(new Unzip(opts), buffer);\n };\n exports.inflate = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Inflate(opts), buffer, callback);\n };\n exports.inflateSync = function (buffer, opts) {\n return zlibBufferSync(new Inflate(opts), buffer);\n };\n exports.gunzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Gunzip(opts), buffer, callback);\n };\n exports.gunzipSync = function (buffer, opts) {\n return zlibBufferSync(new Gunzip(opts), buffer);\n };\n exports.inflateRaw = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new InflateRaw(opts), buffer, callback);\n };\n exports.inflateRawSync = function (buffer, opts) {\n return zlibBufferSync(new InflateRaw(opts), buffer);\n };\n function zlibBuffer(engine, buffer, callback) {\n var buffers = [];\n var nread = 0;\n engine.on('error', onError);\n engine.on('end', onEnd);\n engine.end(buffer);\n flow();\n function flow() {\n var chunk;\n while (null !== (chunk = engine.read())) {\n buffers.push(chunk);\n nread += chunk.length;\n }\n engine.once('readable', flow);\n }\n function onError(err) {\n engine.removeListener('end', onEnd);\n engine.removeListener('readable', flow);\n callback(err);\n }\n function onEnd() {\n var buf;\n var err = null;\n if (nread >= kMaxLength) {\n err = new RangeError(kRangeErrorMessage);\n } else {\n buf = Buffer.concat(buffers, nread);\n }\n buffers = [];\n engine.close();\n callback(err, buf);\n }\n }\n function zlibBufferSync(engine, buffer) {\n if (typeof buffer === 'string') buffer = Buffer.from(buffer);\n if (!Buffer.isBuffer(buffer)) throw new TypeError('Not a string or buffer');\n var flushFlag = engine._finishFlushFlag;\n return engine._processChunk(buffer, flushFlag);\n }\n\n // generic zlib\n // minimal 2-byte header\n function Deflate(opts) {\n if (!(this instanceof Deflate)) return new Deflate(opts);\n Zlib.call(this, opts, binding$1.DEFLATE);\n }\n function Inflate(opts) {\n if (!(this instanceof Inflate)) return new Inflate(opts);\n Zlib.call(this, opts, binding$1.INFLATE);\n }\n\n // gzip - bigger header, same deflate compression\n function Gzip(opts) {\n if (!(this instanceof Gzip)) return new Gzip(opts);\n Zlib.call(this, opts, binding$1.GZIP);\n }\n function Gunzip(opts) {\n if (!(this instanceof Gunzip)) return new Gunzip(opts);\n Zlib.call(this, opts, binding$1.GUNZIP);\n }\n\n // raw - no header\n function DeflateRaw(opts) {\n if (!(this instanceof DeflateRaw)) return new DeflateRaw(opts);\n Zlib.call(this, opts, binding$1.DEFLATERAW);\n }\n function InflateRaw(opts) {\n if (!(this instanceof InflateRaw)) return new InflateRaw(opts);\n Zlib.call(this, opts, binding$1.INFLATERAW);\n }\n\n // auto-detect header.\n function Unzip(opts) {\n if (!(this instanceof Unzip)) return new Unzip(opts);\n Zlib.call(this, opts, binding$1.UNZIP);\n }\n function isValidFlushFlag(flag) {\n return flag === binding$1.Z_NO_FLUSH || flag === binding$1.Z_PARTIAL_FLUSH || flag === binding$1.Z_SYNC_FLUSH || flag === binding$1.Z_FULL_FLUSH || flag === binding$1.Z_FINISH || flag === binding$1.Z_BLOCK;\n }\n\n // the Zlib class they all inherit from\n // This thing manages the queue of requests, and returns\n // true or false if there is anything in the queue when\n // you call the .write() method.\n\n function Zlib(opts, mode) {\n var _this = this;\n this._opts = opts = opts || {};\n this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK;\n Transform.call(this, opts);\n if (opts.flush && !isValidFlushFlag(opts.flush)) {\n throw new Error('Invalid flush flag: ' + opts.flush);\n }\n if (opts.finishFlush && !isValidFlushFlag(opts.finishFlush)) {\n throw new Error('Invalid flush flag: ' + opts.finishFlush);\n }\n this._flushFlag = opts.flush || binding$1.Z_NO_FLUSH;\n this._finishFlushFlag = typeof opts.finishFlush !== 'undefined' ? opts.finishFlush : binding$1.Z_FINISH;\n if (opts.chunkSize) {\n if (opts.chunkSize < exports.Z_MIN_CHUNK || opts.chunkSize > exports.Z_MAX_CHUNK) {\n throw new Error('Invalid chunk size: ' + opts.chunkSize);\n }\n }\n if (opts.windowBits) {\n if (opts.windowBits < exports.Z_MIN_WINDOWBITS || opts.windowBits > exports.Z_MAX_WINDOWBITS) {\n throw new Error('Invalid windowBits: ' + opts.windowBits);\n }\n }\n if (opts.level) {\n if (opts.level < exports.Z_MIN_LEVEL || opts.level > exports.Z_MAX_LEVEL) {\n throw new Error('Invalid compression level: ' + opts.level);\n }\n }\n if (opts.memLevel) {\n if (opts.memLevel < exports.Z_MIN_MEMLEVEL || opts.memLevel > exports.Z_MAX_MEMLEVEL) {\n throw new Error('Invalid memLevel: ' + opts.memLevel);\n }\n }\n if (opts.strategy) {\n if (opts.strategy != exports.Z_FILTERED && opts.strategy != exports.Z_HUFFMAN_ONLY && opts.strategy != exports.Z_RLE && opts.strategy != exports.Z_FIXED && opts.strategy != exports.Z_DEFAULT_STRATEGY) {\n throw new Error('Invalid strategy: ' + opts.strategy);\n }\n }\n if (opts.dictionary) {\n if (!Buffer.isBuffer(opts.dictionary)) {\n throw new Error('Invalid dictionary: it should be a Buffer instance');\n }\n }\n this._handle = new binding$1.Zlib(mode);\n var self = this;\n this._hadError = false;\n this._handle.onerror = function (message, errno) {\n // there is no way to cleanly recover.\n // continuing only obscures problems.\n _close(self);\n self._hadError = true;\n var error = new Error(message);\n error.errno = errno;\n error.code = exports.codes[errno];\n self.emit('error', error);\n };\n var level = exports.Z_DEFAULT_COMPRESSION;\n if (typeof opts.level === 'number') level = opts.level;\n var strategy = exports.Z_DEFAULT_STRATEGY;\n if (typeof opts.strategy === 'number') strategy = opts.strategy;\n this._handle.init(opts.windowBits || exports.Z_DEFAULT_WINDOWBITS, level, opts.memLevel || exports.Z_DEFAULT_MEMLEVEL, strategy, opts.dictionary);\n this._buffer = Buffer.allocUnsafe(this._chunkSize);\n this._offset = 0;\n this._level = level;\n this._strategy = strategy;\n this.once('end', this.close);\n Object.defineProperty(this, '_closed', {\n get: function get() {\n return !_this._handle;\n },\n configurable: true,\n enumerable: true\n });\n }\n util.inherits(Zlib, Transform);\n Zlib.prototype.params = function (level, strategy, callback) {\n if (level < exports.Z_MIN_LEVEL || level > exports.Z_MAX_LEVEL) {\n throw new RangeError('Invalid compression level: ' + level);\n }\n if (strategy != exports.Z_FILTERED && strategy != exports.Z_HUFFMAN_ONLY && strategy != exports.Z_RLE && strategy != exports.Z_FIXED && strategy != exports.Z_DEFAULT_STRATEGY) {\n throw new TypeError('Invalid strategy: ' + strategy);\n }\n if (this._level !== level || this._strategy !== strategy) {\n var self = this;\n this.flush(binding$1.Z_SYNC_FLUSH, function () {\n assert(self._handle, 'zlib binding closed');\n self._handle.params(level, strategy);\n if (!self._hadError) {\n self._level = level;\n self._strategy = strategy;\n if (callback) callback();\n }\n });\n } else {\n browser$1.nextTick(callback);\n }\n };\n Zlib.prototype.reset = function () {\n assert(this._handle, 'zlib binding closed');\n return this._handle.reset();\n };\n\n // This is the _flush function called by the transform class,\n // internally, when the last chunk has been written.\n Zlib.prototype._flush = function (callback) {\n this._transform(Buffer.alloc(0), '', callback);\n };\n Zlib.prototype.flush = function (kind, callback) {\n var _this2 = this;\n var ws = this._writableState;\n if (typeof kind === 'function' || kind === undefined && !callback) {\n callback = kind;\n kind = binding$1.Z_FULL_FLUSH;\n }\n if (ws.ended) {\n if (callback) browser$1.nextTick(callback);\n } else if (ws.ending) {\n if (callback) this.once('end', callback);\n } else if (ws.needDrain) {\n if (callback) {\n this.once('drain', function () {\n return _this2.flush(kind, callback);\n });\n }\n } else {\n this._flushFlag = kind;\n this.write(Buffer.alloc(0), '', callback);\n }\n };\n Zlib.prototype.close = function (callback) {\n _close(this, callback);\n browser$1.nextTick(emitCloseNT, this);\n };\n function _close(engine, callback) {\n if (callback) browser$1.nextTick(callback);\n\n // Caller may invoke .close after a zlib error (which will null _handle).\n if (!engine._handle) return;\n engine._handle.close();\n engine._handle = null;\n }\n function emitCloseNT(self) {\n self.emit('close');\n }\n Zlib.prototype._transform = function (chunk, encoding, cb) {\n var flushFlag;\n var ws = this._writableState;\n var ending = ws.ending || ws.ended;\n var last = ending && (!chunk || ws.length === chunk.length);\n if (chunk !== null && !Buffer.isBuffer(chunk)) return cb(new Error('invalid input'));\n if (!this._handle) return cb(new Error('zlib binding closed'));\n\n // If it's the last chunk, or a final flush, we use the Z_FINISH flush flag\n // (or whatever flag was provided using opts.finishFlush).\n // If it's explicitly flushing at some other time, then we use\n // Z_FULL_FLUSH. Otherwise, use Z_NO_FLUSH for maximum compression\n // goodness.\n if (last) flushFlag = this._finishFlushFlag;else {\n flushFlag = this._flushFlag;\n // once we've flushed the last of the queue, stop flushing and\n // go back to the normal behavior.\n if (chunk.length >= ws.length) {\n this._flushFlag = this._opts.flush || binding$1.Z_NO_FLUSH;\n }\n }\n this._processChunk(chunk, flushFlag, cb);\n };\n Zlib.prototype._processChunk = function (chunk, flushFlag, cb) {\n var availInBefore = chunk && chunk.length;\n var availOutBefore = this._chunkSize - this._offset;\n var inOff = 0;\n var self = this;\n var async = typeof cb === 'function';\n if (!async) {\n var buffers = [];\n var nread = 0;\n var error;\n this.on('error', function (er) {\n error = er;\n });\n assert(this._handle, 'zlib binding closed');\n do {\n var res = this._handle.writeSync(flushFlag, chunk,\n // in\n inOff,\n // in_off\n availInBefore,\n // in_len\n this._buffer,\n // out\n this._offset,\n //out_off\n availOutBefore); // out_len\n } while (!this._hadError && callback(res[0], res[1]));\n if (this._hadError) {\n throw error;\n }\n if (nread >= kMaxLength) {\n _close(this);\n throw new RangeError(kRangeErrorMessage);\n }\n var buf = Buffer.concat(buffers, nread);\n _close(this);\n return buf;\n }\n assert(this._handle, 'zlib binding closed');\n var req = this._handle.write(flushFlag, chunk,\n // in\n inOff,\n // in_off\n availInBefore,\n // in_len\n this._buffer,\n // out\n this._offset,\n //out_off\n availOutBefore); // out_len\n\n req.buffer = chunk;\n req.callback = callback;\n function callback(availInAfter, availOutAfter) {\n // When the callback is used in an async write, the callback's\n // context is the `req` object that was created. The req object\n // is === this._handle, and that's why it's important to null\n // out the values after they are done being used. `this._handle`\n // can stay in memory longer than the callback and buffer are needed.\n if (this) {\n this.buffer = null;\n this.callback = null;\n }\n if (self._hadError) return;\n var have = availOutBefore - availOutAfter;\n assert(have >= 0, 'have should not go down');\n if (have > 0) {\n var out = self._buffer.slice(self._offset, self._offset + have);\n self._offset += have;\n // serve some output to the consumer.\n if (async) {\n self.push(out);\n } else {\n buffers.push(out);\n nread += out.length;\n }\n }\n\n // exhausted the output buffer, or used all the input create a new one.\n if (availOutAfter === 0 || self._offset >= self._chunkSize) {\n availOutBefore = self._chunkSize;\n self._offset = 0;\n self._buffer = Buffer.allocUnsafe(self._chunkSize);\n }\n if (availOutAfter === 0) {\n // Not actually done. Need to reprocess.\n // Also, update the availInBefore to the availInAfter value,\n // so that if we have to hit it a third (fourth, etc.) time,\n // it'll have the correct byte counts.\n inOff += availInBefore - availInAfter;\n availInBefore = availInAfter;\n if (!async) return true;\n var newReq = self._handle.write(flushFlag, chunk, inOff, availInBefore, self._buffer, self._offset, self._chunkSize);\n newReq.callback = callback; // this same function\n newReq.buffer = chunk;\n return;\n }\n if (!async) return false;\n\n // finished with the chunk.\n cb();\n }\n };\n util.inherits(Deflate, Zlib);\n util.inherits(Inflate, Zlib);\n util.inherits(Gzip, Zlib);\n util.inherits(Gunzip, Zlib);\n util.inherits(DeflateRaw, Zlib);\n util.inherits(InflateRaw, Zlib);\n util.inherits(Unzip, Zlib);\n})(lib);\nvar zlib = /*@__PURE__*/getDefaultExportFromCjs(lib);\n\nvar PNG = /*#__PURE__*/function () {\n PNG.decode = function decode(path, fn) {\n {\n throw new Error('PNG.decode not available in browser build');\n }\n };\n PNG.load = function load(path) {\n {\n throw new Error('PNG.load not available in browser build');\n }\n };\n function PNG(data) {\n var i;\n this.data = data;\n this.pos = 8; // Skip the default header\n\n this.palette = [];\n this.imgData = [];\n this.transparency = {};\n this.text = {};\n while (true) {\n var chunkSize = this.readUInt32();\n var section = '';\n for (i = 0; i < 4; i++) {\n section += String.fromCharCode(this.data[this.pos++]);\n }\n switch (section) {\n case 'IHDR':\n // we can grab interesting values from here (like width, height, etc)\n this.width = this.readUInt32();\n this.height = this.readUInt32();\n this.bits = this.data[this.pos++];\n this.colorType = this.data[this.pos++];\n this.compressionMethod = this.data[this.pos++];\n this.filterMethod = this.data[this.pos++];\n this.interlaceMethod = this.data[this.pos++];\n break;\n case 'PLTE':\n this.palette = this.read(chunkSize);\n break;\n case 'IDAT':\n for (i = 0; i < chunkSize; i++) {\n this.imgData.push(this.data[this.pos++]);\n }\n break;\n case 'tRNS':\n // This chunk can only occur once and it must occur after the\n // PLTE chunk and before the IDAT chunk.\n this.transparency = {};\n switch (this.colorType) {\n case 3:\n // Indexed color, RGB. Each byte in this chunk is an alpha for\n // the palette index in the PLTE (\"palette\") chunk up until the\n // last non-opaque entry. Set up an array, stretching over all\n // palette entries which will be 0 (opaque) or 1 (transparent).\n this.transparency.indexed = this.read(chunkSize);\n var short = 255 - this.transparency.indexed.length;\n if (short > 0) {\n for (i = 0; i < short; i++) {\n this.transparency.indexed.push(255);\n }\n }\n break;\n case 0:\n // Greyscale. Corresponding to entries in the PLTE chunk.\n // Grey is two bytes, range 0 .. (2 ^ bit-depth) - 1\n this.transparency.grayscale = this.read(chunkSize)[0];\n break;\n case 2:\n // True color with proper alpha channel.\n this.transparency.rgb = this.read(chunkSize);\n break;\n }\n break;\n case 'tEXt':\n var text = this.read(chunkSize);\n var index = text.indexOf(0);\n var key = String.fromCharCode.apply(String, text.slice(0, index));\n this.text[key] = String.fromCharCode.apply(String, text.slice(index + 1));\n break;\n case 'IEND':\n // we've got everything we need!\n switch (this.colorType) {\n case 0:\n case 3:\n case 4:\n this.colors = 1;\n break;\n case 2:\n case 6:\n this.colors = 3;\n break;\n }\n this.hasAlphaChannel = [4, 6].includes(this.colorType);\n var colors = this.colors + (this.hasAlphaChannel ? 1 : 0);\n this.pixelBitlength = this.bits * colors;\n switch (this.colors) {\n case 1:\n this.colorSpace = 'DeviceGray';\n break;\n case 3:\n this.colorSpace = 'DeviceRGB';\n break;\n }\n this.imgData = Buffer.from(this.imgData);\n return;\n default:\n // unknown (or unimportant) section, skip it\n this.pos += chunkSize;\n }\n this.pos += 4; // Skip the CRC\n\n if (this.pos > this.data.length) {\n throw new Error('Incomplete or corrupt PNG file');\n }\n }\n }\n var _proto = PNG.prototype;\n _proto.read = function read(bytes) {\n var result = new Array(bytes);\n for (var i = 0; i < bytes; i++) {\n result[i] = this.data[this.pos++];\n }\n return result;\n };\n _proto.readUInt32 = function readUInt32() {\n var b1 = this.data[this.pos++] << 24;\n var b2 = this.data[this.pos++] << 16;\n var b3 = this.data[this.pos++] << 8;\n var b4 = this.data[this.pos++];\n return b1 | b2 | b3 | b4;\n };\n _proto.readUInt16 = function readUInt16() {\n var b1 = this.data[this.pos++] << 8;\n var b2 = this.data[this.pos++];\n return b1 | b2;\n };\n _proto.decodePixels = function decodePixels(fn) {\n var _this = this;\n return zlib.inflate(this.imgData, function (err, data) {\n if (err) throw err;\n var pos = 0;\n var width = _this.width,\n height = _this.height;\n var pixelBytes = _this.pixelBitlength / 8;\n var pixels = Buffer.alloc(width * height * pixelBytes);\n function pass(x0, y0, dx, dy, singlePass) {\n if (singlePass === void 0) {\n singlePass = false;\n }\n var w = Math.ceil((width - x0) / dx);\n var h = Math.ceil((height - y0) / dy);\n var scanlineLength = pixelBytes * w;\n var buffer = singlePass ? pixels : Buffer.alloc(scanlineLength * h);\n var row = 0;\n var c = 0;\n while (row < h && pos < data.length) {\n var byte;\n var col;\n var i;\n var left;\n var upper;\n switch (data[pos++]) {\n case 0:\n // None\n for (i = 0; i < scanlineLength; i++) {\n buffer[c++] = data[pos++];\n }\n break;\n case 1:\n // Sub\n for (i = 0; i < scanlineLength; i++) {\n byte = data[pos++];\n left = i < pixelBytes ? 0 : buffer[c - pixelBytes];\n buffer[c++] = (byte + left) % 256;\n }\n break;\n case 2:\n // Up\n for (i = 0; i < scanlineLength; i++) {\n byte = data[pos++];\n col = (i - i % pixelBytes) / pixelBytes;\n upper = row && buffer[(row - 1) * scanlineLength + col * pixelBytes + i % pixelBytes];\n buffer[c++] = (upper + byte) % 256;\n }\n break;\n case 3:\n // Average\n for (i = 0; i < scanlineLength; i++) {\n byte = data[pos++];\n col = (i - i % pixelBytes) / pixelBytes;\n left = i < pixelBytes ? 0 : buffer[c - pixelBytes];\n upper = row && buffer[(row - 1) * scanlineLength + col * pixelBytes + i % pixelBytes];\n buffer[c++] = (byte + Math.floor((left + upper) / 2)) % 256;\n }\n break;\n case 4:\n // Paeth\n for (i = 0; i < scanlineLength; i++) {\n var paeth;\n var upperLeft;\n byte = data[pos++];\n col = (i - i % pixelBytes) / pixelBytes;\n left = i < pixelBytes ? 0 : buffer[c - pixelBytes];\n if (row === 0) {\n upper = upperLeft = 0;\n } else {\n upper = buffer[(row - 1) * scanlineLength + col * pixelBytes + i % pixelBytes];\n upperLeft = col && buffer[(row - 1) * scanlineLength + (col - 1) * pixelBytes + i % pixelBytes];\n }\n var p = left + upper - upperLeft;\n var pa = Math.abs(p - left);\n var pb = Math.abs(p - upper);\n var pc = Math.abs(p - upperLeft);\n if (pa <= pb && pa <= pc) {\n paeth = left;\n } else if (pb <= pc) {\n paeth = upper;\n } else {\n paeth = upperLeft;\n }\n buffer[c++] = (byte + paeth) % 256;\n }\n break;\n default:\n throw new Error(\"Invalid filter algorithm: \" + data[pos - 1]);\n }\n if (!singlePass) {\n var pixelsPos = ((y0 + row * dy) * width + x0) * pixelBytes;\n var bufferPos = row * scanlineLength;\n for (i = 0; i < w; i++) {\n for (var j = 0; j < pixelBytes; j++) pixels[pixelsPos++] = buffer[bufferPos++];\n pixelsPos += (dx - 1) * pixelBytes;\n }\n }\n row++;\n }\n }\n if (_this.interlaceMethod === 1) {\n /*\n 1 6 4 6 2 6 4 6\n 7 7 7 7 7 7 7 7\n 5 6 5 6 5 6 5 6\n 7 7 7 7 7 7 7 7\n 3 6 4 6 3 6 4 6\n 7 7 7 7 7 7 7 7\n 5 6 5 6 5 6 5 6\n 7 7 7 7 7 7 7 7\n */\n pass(0, 0, 8, 8); // 1\n pass(4, 0, 8, 8); // 2\n pass(0, 4, 4, 8); // 3\n pass(2, 0, 4, 4); // 4\n pass(0, 2, 2, 4); // 5\n pass(1, 0, 2, 2); // 6\n pass(0, 1, 1, 2); // 7\n } else {\n pass(0, 0, 1, 1, true);\n }\n return fn(pixels);\n });\n };\n _proto.decodePalette = function decodePalette() {\n var palette = this.palette;\n var length = palette.length;\n var transparency = this.transparency.indexed || [];\n var ret = Buffer.alloc(transparency.length + length);\n var pos = 0;\n var c = 0;\n for (var i = 0; i < length; i += 3) {\n var left;\n ret[pos++] = palette[i];\n ret[pos++] = palette[i + 1];\n ret[pos++] = palette[i + 2];\n ret[pos++] = (left = transparency[c++]) != null ? left : 255;\n }\n return ret;\n };\n _proto.copyToImageData = function copyToImageData(imageData, pixels) {\n var j;\n var k;\n var colors = this.colors;\n var palette = null;\n var alpha = this.hasAlphaChannel;\n if (this.palette.length) {\n palette = this._decodedPalette || (this._decodedPalette = this.decodePalette());\n colors = 4;\n alpha = true;\n }\n var data = imageData.data || imageData;\n var length = data.length;\n var input = palette || pixels;\n var i = j = 0;\n if (colors === 1) {\n while (i < length) {\n k = palette ? pixels[i / 4] * 4 : j;\n var v = input[k++];\n data[i++] = v;\n data[i++] = v;\n data[i++] = v;\n data[i++] = alpha ? input[k++] : 255;\n j = k;\n }\n } else {\n while (i < length) {\n k = palette ? pixels[i / 4] * 4 : j;\n data[i++] = input[k++];\n data[i++] = input[k++];\n data[i++] = input[k++];\n data[i++] = alpha ? input[k++] : 255;\n j = k;\n }\n }\n };\n _proto.decode = function decode(fn) {\n var _this2 = this;\n var ret = Buffer.alloc(this.width * this.height * 4);\n return this.decodePixels(function (pixels) {\n _this2.copyToImageData(ret, pixels);\n return fn(ret);\n });\n };\n return PNG;\n}();\n\nexport { PNG as default };\n","import require$$1$2 from 'pako/lib/zlib/zstream.js';\nimport require$$2 from 'pako/lib/zlib/deflate.js';\nimport require$$3$1 from 'pako/lib/zlib/inflate.js';\nimport require$$4$1 from 'pako/lib/zlib/constants.js';\nimport MD5 from 'crypto-js/md5.js';\nimport * as fontkit from 'fontkit';\nimport _JPEG from 'jay-peg';\nimport PNG from '@react-pdf/png-js';\nimport * as CryptoJS from 'crypto-js/core.js';\n\nvar global$1 = (typeof global !== \"undefined\" ? global :\n typeof self !== \"undefined\" ? self :\n typeof window !== \"undefined\" ? window : {});\n\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\nvar inited = false;\nfunction init () {\n inited = true;\n var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n for (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i];\n revLookup[code.charCodeAt(i)] = i;\n }\n\n revLookup['-'.charCodeAt(0)] = 62;\n revLookup['_'.charCodeAt(0)] = 63;\n}\n\nfunction toByteArray (b64) {\n if (!inited) {\n init();\n }\n var i, j, l, tmp, placeHolders, arr;\n var len = b64.length;\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0;\n\n // base64 is 4/3 + up to two characters of the original data\n arr = new Arr(len * 3 / 4 - placeHolders);\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len;\n\n var L = 0;\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)];\n arr[L++] = (tmp >> 16) & 0xFF;\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4);\n arr[L++] = tmp & 0xFF;\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2);\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp;\n var output = [];\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]);\n output.push(tripletToBase64(tmp));\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n if (!inited) {\n init();\n }\n var tmp;\n var len = uint8.length;\n var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n var output = '';\n var parts = [];\n var maxChunkLength = 16383; // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)));\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1];\n output += lookup[tmp >> 2];\n output += lookup[(tmp << 4) & 0x3F];\n output += '==';\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1]);\n output += lookup[tmp >> 10];\n output += lookup[(tmp >> 4) & 0x3F];\n output += lookup[(tmp << 2) & 0x3F];\n output += '=';\n }\n\n parts.push(output);\n\n return parts.join('')\n}\n\nfunction read (buffer, offset, isLE, mLen, nBytes) {\n var e, m;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = -7;\n var i = isLE ? (nBytes - 1) : 0;\n var d = isLE ? -1 : 1;\n var s = buffer[offset + i];\n\n i += d;\n\n e = s & ((1 << (-nBits)) - 1);\n s >>= (-nBits);\n nBits += eLen;\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1);\n e >>= (-nBits);\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen);\n e = e - eBias;\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nfunction write (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0);\n var i = isLE ? 0 : (nBytes - 1);\n var d = isLE ? 1 : -1;\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0;\n\n value = Math.abs(value);\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0;\n e = eMax;\n } else {\n e = Math.floor(Math.log(value) / Math.LN2);\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * Math.pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n e = 0;\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m;\n eLen += mLen;\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128;\n}\n\nvar toString = {}.toString;\n\nvar isArray$1 = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\nvar INSPECT_MAX_BYTES = 50;\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer$2.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined\n ? global$1.TYPED_ARRAY_SUPPORT\n : true;\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nvar _kMaxLength = kMaxLength();\n\nfunction kMaxLength () {\n return Buffer$2.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer$2.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer$2(length);\n }\n that.length = length;\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer$2 (arg, encodingOrOffset, length) {\n if (!Buffer$2.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer$2)) {\n return new Buffer$2(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from$1(this, arg, encodingOrOffset, length)\n}\n\nBuffer$2.poolSize = 8192; // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer$2._augment = function (arr) {\n arr.__proto__ = Buffer$2.prototype;\n return arr\n};\n\nfunction from$1 (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer$2.from = function (value, encodingOrOffset, length) {\n return from$1(null, value, encodingOrOffset, length)\n};\n\nif (Buffer$2.TYPED_ARRAY_SUPPORT) {\n Buffer$2.prototype.__proto__ = Uint8Array.prototype;\n Buffer$2.__proto__ = Uint8Array;\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer$2[Symbol.species] === Buffer$2) ;\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size);\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer$2.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n};\n\nfunction allocUnsafe (that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n if (!Buffer$2.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer$2.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n};\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer$2.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n};\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n\n if (!Buffer$2.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n\n var actual = that.write(string, encoding);\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer$2.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (internalIsBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len);\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray$1(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0;\n }\n return Buffer$2.alloc(+length)\n}\nBuffer$2.isBuffer = isBuffer$1;\nfunction internalIsBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer$2.compare = function compare (a, b) {\n if (!internalIsBuffer(a) || !internalIsBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\nBuffer$2.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n};\n\nBuffer$2.concat = function concat (list, length) {\n if (!isArray$1(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer$2.alloc(0)\n }\n\n var i;\n if (length === undefined) {\n length = 0;\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n\n var buffer = Buffer$2.allocUnsafe(length);\n var pos = 0;\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n if (!internalIsBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n return buffer\n};\n\nfunction byteLength (string, encoding) {\n if (internalIsBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string;\n }\n\n var len = string.length;\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n}\nBuffer$2.byteLength = byteLength;\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false;\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0;\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0;\n start >>>= 0;\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8';\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer$2.prototype._isBuffer = true;\n\nfunction swap (b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n}\n\nBuffer$2.prototype.swap16 = function swap16 () {\n var len = this.length;\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n return this\n};\n\nBuffer$2.prototype.swap32 = function swap32 () {\n var len = this.length;\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n return this\n};\n\nBuffer$2.prototype.swap64 = function swap64 () {\n var len = this.length;\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n return this\n};\n\nBuffer$2.prototype.toString = function toString () {\n var length = this.length | 0;\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n};\n\nBuffer$2.prototype.equals = function equals (b) {\n if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer$2.compare(this, b) === 0\n};\n\nBuffer$2.prototype.inspect = function inspect () {\n var str = '';\n var max = INSPECT_MAX_BYTES;\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n return ''\n};\n\nBuffer$2.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!internalIsBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0;\n }\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n if (thisStart === undefined) {\n thisStart = 0;\n }\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n byteOffset = +byteOffset; // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1);\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer$2.from(val, encoding);\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (internalIsBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n if (Buffer$2.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i;\n if (dir) {\n var foundIndex = -1;\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer$2.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n};\n\nBuffer$2.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n};\n\nBuffer$2.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n};\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n if (length > remaining) {\n length = remaining;\n }\n }\n\n // must be an even number of digits\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed;\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer$2.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0;\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0;\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8';\n\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n};\n\nBuffer$2.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n};\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return fromByteArray(buf)\n } else {\n return fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n\n var i = start;\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1;\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n break\n case 2:\n secondByte = buf[i + 1];\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F);\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F);\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F);\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n\n res.push(codePoint);\n i += bytesPerSequence;\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000;\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length;\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = '';\n var i = 0;\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n );\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length;\n\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n\n var out = '';\n for (var i = start; i < end; ++i) {\n out += toHex$1(buf[i]);\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n return res\n}\n\nBuffer$2.prototype.slice = function slice (start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n\n if (end < start) end = start;\n\n var newBuf;\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer$2.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer$2(sliceLen, undefined);\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n\n return newBuf\n};\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer$2.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n\n return val\n};\n\nBuffer$2.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n\n var val = this[offset + --byteLength];\n var mul = 1;\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n\n return val\n};\n\nBuffer$2.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset]\n};\n\nBuffer$2.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | (this[offset + 1] << 8)\n};\n\nBuffer$2.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return (this[offset] << 8) | this[offset + 1]\n};\n\nBuffer$2.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n};\n\nBuffer$2.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n};\n\nBuffer$2.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer$2.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer$2.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n};\n\nBuffer$2.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | (this[offset + 1] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer$2.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | (this[offset] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer$2.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n};\n\nBuffer$2.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n};\n\nBuffer$2.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, true, 23, 4)\n};\n\nBuffer$2.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, false, 23, 4)\n};\n\nBuffer$2.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, true, 52, 8)\n};\n\nBuffer$2.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, false, 52, 8)\n};\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!internalIsBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer$2.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer$2.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer$2.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer$2.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8;\n }\n}\n\nBuffer$2.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer$2.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff;\n }\n}\n\nBuffer$2.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24);\n this[offset + 2] = (value >>> 16);\n this[offset + 1] = (value >>> 8);\n this[offset] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer$2.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nBuffer$2.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer$2.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer$2.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer$2.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nBuffer$2.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer$2.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nBuffer$2.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n this[offset + 2] = (value >>> 16);\n this[offset + 3] = (value >>> 24);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer$2.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n if (Buffer$2.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4);\n }\n write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4\n}\n\nBuffer$2.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n};\n\nBuffer$2.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n};\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8);\n }\n write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8\n}\n\nBuffer$2.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n};\n\nBuffer$2.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n};\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer$2.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start;\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length;\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n\n var len = end - start;\n var i;\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer$2.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n );\n }\n\n return len\n};\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer$2.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n if (code < 256) {\n val = code;\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer$2.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n\n if (!val) val = 0;\n\n var i;\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = internalIsBuffer(val)\n ? val\n : utf8ToBytes(new Buffer$2(val, encoding).toString());\n var len = bytes.length;\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n\n return this\n};\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '');\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex$1 (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint;\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n\n leadSurrogate = null;\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo;\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n\n return byteArray\n}\n\n\nfunction base64ToBytes (str) {\n return toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i];\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n\n// the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nfunction isBuffer$1(obj) {\n return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj))\n}\n\nfunction isFastBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))\n}\n\nvar _polyfillNode_buffer = /*#__PURE__*/Object.freeze({\n __proto__: null,\n Buffer: Buffer$2,\n INSPECT_MAX_BYTES: INSPECT_MAX_BYTES,\n SlowBuffer: SlowBuffer,\n isBuffer: isBuffer$1,\n kMaxLength: _kMaxLength\n});\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction getAugmentedNamespace(n) {\n if (n.__esModule) return n;\n var f = n.default;\n\tif (typeof f == \"function\") {\n\t\tvar a = function a () {\n\t\t\tif (this instanceof a) {\n return Reflect.construct(f, arguments, this.constructor);\n\t\t\t}\n\t\t\treturn f.apply(this, arguments);\n\t\t};\n\t\ta.prototype = f.prototype;\n } else a = {};\n Object.defineProperty(a, '__esModule', {value: true});\n\tObject.keys(n).forEach(function (k) {\n\t\tvar d = Object.getOwnPropertyDescriptor(n, k);\n\t\tObject.defineProperty(a, k, d.get ? d : {\n\t\t\tenumerable: true,\n\t\t\tget: function () {\n\t\t\t\treturn n[k];\n\t\t\t}\n\t\t});\n\t});\n\treturn a;\n}\n\nvar readableBrowser = {exports: {}};\n\nvar _registry = {};\n\n// shim for using process in browser\n// based off https://github.com/defunctzombie/node-process/blob/master/browser.js\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\nvar cachedSetTimeout = defaultSetTimout;\nvar cachedClearTimeout = defaultClearTimeout;\nif (typeof global$1.setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n}\nif (typeof global$1.clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n}\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nfunction nextTick(fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nvar title = 'browser';\nvar platform = 'browser';\nvar browser$1 = true;\nvar env = {};\nvar argv = [];\nvar version = ''; // empty string to avoid regexp issues\nvar versions = {};\nvar release = {};\nvar config$1 = {};\n\nfunction noop$2() {}\n\nvar on = noop$2;\nvar addListener = noop$2;\nvar once$2 = noop$2;\nvar off = noop$2;\nvar removeListener = noop$2;\nvar removeAllListeners = noop$2;\nvar emit = noop$2;\n\nfunction binding$1(name) {\n throw new Error('process.binding is not supported');\n}\n\nfunction cwd () { return '/' }\nfunction chdir (dir) {\n throw new Error('process.chdir is not supported');\n}function umask() { return 0; }\n\n// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js\nvar performance = global$1.performance || {};\nvar performanceNow =\n performance.now ||\n performance.mozNow ||\n performance.msNow ||\n performance.oNow ||\n performance.webkitNow ||\n function(){ return (new Date()).getTime() };\n\n// generate timestamp or delta\n// see http://nodejs.org/api/process.html#process_process_hrtime\nfunction hrtime(previousTimestamp){\n var clocktime = performanceNow.call(performance)*1e-3;\n var seconds = Math.floor(clocktime);\n var nanoseconds = Math.floor((clocktime%1)*1e9);\n if (previousTimestamp) {\n seconds = seconds - previousTimestamp[0];\n nanoseconds = nanoseconds - previousTimestamp[1];\n if (nanoseconds<0) {\n seconds--;\n nanoseconds += 1e9;\n }\n }\n return [seconds,nanoseconds]\n}\n\nvar startTime = new Date();\nfunction uptime() {\n var currentTime = new Date();\n var dif = currentTime - startTime;\n return dif / 1000;\n}\n\nvar browser$1$1 = {\n nextTick: nextTick,\n title: title,\n browser: browser$1,\n env: env,\n argv: argv,\n version: version,\n versions: versions,\n on: on,\n addListener: addListener,\n once: once$2,\n off: off,\n removeListener: removeListener,\n removeAllListeners: removeAllListeners,\n emit: emit,\n binding: binding$1,\n cwd: cwd,\n chdir: chdir,\n umask: umask,\n hrtime: hrtime,\n platform: platform,\n release: release,\n config: config$1,\n uptime: uptime\n};\n\nvar domain;\n\n// This constructor is used to store event handlers. Instantiating this is\n// faster than explicitly calling `Object.create(null)` to get a \"clean\" empty\n// object (tested with v8 v4.9).\nfunction EventHandlers() {}\nEventHandlers.prototype = Object.create(null);\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\n\n// nodejs oddity\n// require('events') === require('events').EventEmitter\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.usingDomains = false;\n\nEventEmitter.prototype.domain = undefined;\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\nEventEmitter.init = function() {\n this.domain = null;\n if (EventEmitter.usingDomains) {\n // if there is an active domain, then attach to it.\n if (domain.active ) ;\n }\n\n if (!this._events || this._events === Object.getPrototypeOf(this)._events) {\n this._events = new EventHandlers();\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || isNaN(n))\n throw new TypeError('\"n\" argument must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nfunction $getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return $getMaxListeners(this);\n};\n\n// These standalone emit* functions are used to optimize calling of event\n// handlers for fast cases because emit() itself often has a variable number of\n// arguments and can be deoptimized because of that. These functions always have\n// the same number of arguments and thus do not get deoptimized, so the code\n// inside them can execute faster.\nfunction emitNone(handler, isFn, self) {\n if (isFn)\n handler.call(self);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self);\n }\n}\nfunction emitOne(handler, isFn, self, arg1) {\n if (isFn)\n handler.call(self, arg1);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1);\n }\n}\nfunction emitTwo(handler, isFn, self, arg1, arg2) {\n if (isFn)\n handler.call(self, arg1, arg2);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1, arg2);\n }\n}\nfunction emitThree(handler, isFn, self, arg1, arg2, arg3) {\n if (isFn)\n handler.call(self, arg1, arg2, arg3);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].call(self, arg1, arg2, arg3);\n }\n}\n\nfunction emitMany(handler, isFn, self, args) {\n if (isFn)\n handler.apply(self, args);\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n listeners[i].apply(self, args);\n }\n}\n\nEventEmitter.prototype.emit = function emit(type) {\n var er, handler, len, args, i, events, domain;\n var doError = (type === 'error');\n\n events = this._events;\n if (events)\n doError = (doError && events.error == null);\n else if (!doError)\n return false;\n\n domain = this.domain;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n er = arguments[1];\n if (domain) {\n if (!er)\n er = new Error('Uncaught, unspecified \"error\" event');\n er.domainEmitter = this;\n er.domain = domain;\n er.domainThrown = false;\n domain.emit('error', er);\n } else if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n return false;\n }\n\n handler = events[type];\n\n if (!handler)\n return false;\n\n var isFn = typeof handler === 'function';\n len = arguments.length;\n switch (len) {\n // fast cases\n case 1:\n emitNone(handler, isFn, this);\n break;\n case 2:\n emitOne(handler, isFn, this, arguments[1]);\n break;\n case 3:\n emitTwo(handler, isFn, this, arguments[1], arguments[2]);\n break;\n case 4:\n emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);\n break;\n // slower\n default:\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n emitMany(handler, isFn, this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n\n events = target._events;\n if (!events) {\n events = target._events = new EventHandlers();\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (!existing) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] = prepend ? [listener, existing] :\n [existing, listener];\n } else {\n // If we've already got an array, just append.\n if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n }\n\n // Check for listener leak\n if (!existing.warned) {\n m = $getMaxListeners(target);\n if (m && m > 0 && existing.length > m) {\n existing.warned = true;\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + type + ' listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n emitWarning(w);\n }\n }\n }\n\n return target;\n}\nfunction emitWarning(e) {\n typeof console.warn === 'function' ? console.warn(e) : console.log(e);\n}\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction _onceWrap(target, type, listener) {\n var fired = false;\n function g() {\n target.removeListener(type, g);\n if (!fired) {\n fired = true;\n listener.apply(target, arguments);\n }\n }\n g.listener = listener;\n return g;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n if (typeof listener !== 'function')\n throw new TypeError('\"listener\" argument must be a function');\n\n events = this._events;\n if (!events)\n return this;\n\n list = events[type];\n if (!list)\n return this;\n\n if (list === listener || (list.listener && list.listener === listener)) {\n if (--this._eventsCount === 0)\n this._events = new EventHandlers();\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list[0] = undefined;\n if (--this._eventsCount === 0) {\n this._events = new EventHandlers();\n return this;\n } else {\n delete events[type];\n }\n } else {\n spliceOne(list, position);\n }\n\n if (events.removeListener)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n \n// Alias for removeListener added in NodeJS 10.0\n// https://nodejs.org/api/events.html#events_emitter_off_eventname_listener\nEventEmitter.prototype.off = function(type, listener){\n return this.removeListener(type, listener);\n};\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events;\n\n events = this._events;\n if (!events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!events.removeListener) {\n if (arguments.length === 0) {\n this._events = new EventHandlers();\n this._eventsCount = 0;\n } else if (events[type]) {\n if (--this._eventsCount === 0)\n this._events = new EventHandlers();\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n for (var i = 0, key; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = new EventHandlers();\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n do {\n this.removeListener(type, listeners[listeners.length - 1]);\n } while (listeners[0]);\n }\n\n return this;\n };\n\nEventEmitter.prototype.listeners = function listeners(type) {\n var evlistener;\n var ret;\n var events = this._events;\n\n if (!events)\n ret = [];\n else {\n evlistener = events[type];\n if (!evlistener)\n ret = [];\n else if (typeof evlistener === 'function')\n ret = [evlistener.listener || evlistener];\n else\n ret = unwrapListeners(evlistener);\n }\n\n return ret;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];\n};\n\n// About 1.5x faster than the two-arg version of Array#splice().\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)\n list[i] = list[k];\n list.pop();\n}\n\nfunction arrayClone(arr, i) {\n var copy = new Array(i);\n while (i--)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nvar _polyfillNode_events = /*#__PURE__*/Object.freeze({\n __proto__: null,\n EventEmitter: EventEmitter,\n default: EventEmitter\n});\n\nvar require$$1$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_events);\n\nvar streamBrowser = require$$1$1.EventEmitter;\n\nvar require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_buffer);\n\nvar inherits$2;\nif (typeof Object.create === 'function'){\n inherits$2 = function inherits(ctor, superCtor) {\n // implementation from standard node.js 'util' module\n ctor.super_ = superCtor;\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n inherits$2 = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor;\n var TempCtor = function () {};\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n };\n}\nvar inherits$3 = inherits$2;\n\nvar getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||\n function getOwnPropertyDescriptors(obj) {\n var keys = Object.keys(obj);\n var descriptors = {};\n for (var i = 0; i < keys.length; i++) {\n descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);\n }\n return descriptors;\n };\n\nvar formatRegExp = /%[sdj%]/g;\nfunction format(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect$1(arguments[i]));\n }\n return objects.join(' ');\n }\n\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%') return '%';\n if (i >= len) return x;\n switch (x) {\n case '%s': return String(args[i++]);\n case '%d': return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect$1(x);\n }\n }\n return str;\n}\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nfunction deprecate$1(fn, msg) {\n // Allow for deprecating things in the process of starting up.\n if (isUndefined(global$1.process)) {\n return function() {\n return deprecate$1(fn, msg).apply(this, arguments);\n };\n }\n\n if (browser$1$1.noDeprecation === true) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (browser$1$1.throwDeprecation) {\n throw new Error(msg);\n } else if (browser$1$1.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\nvar debugs = {};\nvar debugEnviron;\nfunction debuglog(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = browser$1$1.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = 0;\n debugs[set] = function() {\n var msg = format.apply(null, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n}\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect$1(obj, opts) {\n // default options\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n // legacy...\n if (arguments.length >= 3) ctx.depth = arguments[2];\n if (arguments.length >= 4) ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n // legacy...\n ctx.showHidden = opts;\n } else if (opts) {\n // got an \"options\" object\n _extend(ctx, opts);\n }\n // set default options\n if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n if (isUndefined(ctx.depth)) ctx.depth = 2;\n if (isUndefined(ctx.colors)) ctx.colors = false;\n if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n if (ctx.colors) ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n}\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect$1.colors = {\n 'bold' : [1, 22],\n 'italic' : [3, 23],\n 'underline' : [4, 24],\n 'inverse' : [7, 27],\n 'white' : [37, 39],\n 'grey' : [90, 39],\n 'black' : [30, 39],\n 'blue' : [34, 39],\n 'cyan' : [36, 39],\n 'green' : [32, 39],\n 'magenta' : [35, 39],\n 'red' : [31, 39],\n 'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect$1.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n // \"name\": intentionally not styling\n 'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n var style = inspect$1.styles[styleType];\n\n if (style) {\n return '\\u001b[' + inspect$1.colors[style][0] + 'm' + str +\n '\\u001b[' + inspect$1.colors[style][1] + 'm';\n } else {\n return str;\n }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n return str;\n}\n\n\nfunction arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n // Provide a hook for user-specified inspect functions.\n // Check that value is an object with an inspect function on it\n if (ctx.customInspect &&\n value &&\n isFunction(value.inspect) &&\n // Filter out the util module, it's inspect function is special\n value.inspect !== inspect$1 &&\n // Also filter out any prototype objects using the circular check.\n !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (isError(value)\n && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '', array = false, braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value))\n return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n key, true));\n }\n });\n return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n var length = output.reduce(function(prev, cur) {\n if (cur.indexOf('\\n') >= 0) ;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1];\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n return Array.isArray(ar);\n}\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\nfunction isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n}\n\nfunction isError(e) {\n return isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error);\n}\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\n\nfunction isBuffer(maybeBuf) {\n return Buffer$2.isBuffer(maybeBuf);\n}\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\nfunction pad$1(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n 'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n var d = new Date();\n var time = [pad$1(d.getHours()),\n pad$1(d.getMinutes()),\n pad$1(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nfunction log() {\n console.log('%s - %s', timestamp(), format.apply(null, arguments));\n}\n\nfunction _extend(origin, add) {\n // Don't do anything if add isn't an object\n if (!add || !isObject(add)) return origin;\n\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n}\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nvar kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined;\n\nfunction promisify(original) {\n if (typeof original !== 'function')\n throw new TypeError('The \"original\" argument must be of type Function');\n\n if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {\n var fn = original[kCustomPromisifiedSymbol];\n if (typeof fn !== 'function') {\n throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');\n }\n Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return fn;\n }\n\n function fn() {\n var promiseResolve, promiseReject;\n var promise = new Promise(function (resolve, reject) {\n promiseResolve = resolve;\n promiseReject = reject;\n });\n\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n args.push(function (err, value) {\n if (err) {\n promiseReject(err);\n } else {\n promiseResolve(value);\n }\n });\n\n try {\n original.apply(this, args);\n } catch (err) {\n promiseReject(err);\n }\n\n return promise;\n }\n\n Object.setPrototypeOf(fn, Object.getPrototypeOf(original));\n\n if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n value: fn, enumerable: false, writable: false, configurable: true\n });\n return Object.defineProperties(\n fn,\n getOwnPropertyDescriptors(original)\n );\n}\n\npromisify.custom = kCustomPromisifiedSymbol;\n\nfunction callbackifyOnRejected(reason, cb) {\n // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).\n // Because `null` is a special error value in callbacks which means \"no error\n // occurred\", we error-wrap so the callback consumer can distinguish between\n // \"the promise rejected with null\" or \"the promise fulfilled with undefined\".\n if (!reason) {\n var newReason = new Error('Promise was rejected with a falsy value');\n newReason.reason = reason;\n reason = newReason;\n }\n return cb(reason);\n}\n\nfunction callbackify(original) {\n if (typeof original !== 'function') {\n throw new TypeError('The \"original\" argument must be of type Function');\n }\n\n // We DO NOT return the promise as it gives the user a false sense that\n // the promise is actually somehow related to the callback's execution\n // and that the callback throwing will reject the promise.\n function callbackified() {\n var args = [];\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n\n var maybeCb = args.pop();\n if (typeof maybeCb !== 'function') {\n throw new TypeError('The last argument must be of type Function');\n }\n var self = this;\n var cb = function() {\n return maybeCb.apply(self, arguments);\n };\n // In true node style we process the callback on `nextTick` with all the\n // implications (stack, `uncaughtException`, `async_hooks`)\n original.apply(this, args)\n .then(function(ret) { browser$1$1.nextTick(cb.bind(null, null, ret)); },\n function(rej) { browser$1$1.nextTick(callbackifyOnRejected.bind(null, rej, cb)); });\n }\n\n Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));\n Object.defineProperties(callbackified, getOwnPropertyDescriptors(original));\n return callbackified;\n}\n\nvar _polyfillNode_util = {\n inherits: inherits$3,\n _extend: _extend,\n log: log,\n isBuffer: isBuffer,\n isPrimitive: isPrimitive,\n isFunction: isFunction,\n isError: isError,\n isDate: isDate,\n isObject: isObject,\n isRegExp: isRegExp,\n isUndefined: isUndefined,\n isSymbol: isSymbol,\n isString: isString,\n isNumber: isNumber,\n isNullOrUndefined: isNullOrUndefined,\n isNull: isNull,\n isBoolean: isBoolean,\n isArray: isArray,\n inspect: inspect$1,\n deprecate: deprecate$1,\n format: format,\n debuglog: debuglog,\n promisify: promisify,\n callbackify: callbackify,\n};\n\nvar _polyfillNode_util$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n _extend: _extend,\n callbackify: callbackify,\n debuglog: debuglog,\n default: _polyfillNode_util,\n deprecate: deprecate$1,\n format: format,\n inherits: inherits$3,\n inspect: inspect$1,\n isArray: isArray,\n isBoolean: isBoolean,\n isBuffer: isBuffer,\n isDate: isDate,\n isError: isError,\n isFunction: isFunction,\n isNull: isNull,\n isNullOrUndefined: isNullOrUndefined,\n isNumber: isNumber,\n isObject: isObject,\n isPrimitive: isPrimitive,\n isRegExp: isRegExp,\n isString: isString,\n isSymbol: isSymbol,\n isUndefined: isUndefined,\n log: log,\n promisify: promisify\n});\n\nvar require$$3 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_util$1);\n\nvar buffer_list;\nvar hasRequiredBuffer_list;\nfunction requireBuffer_list() {\n if (hasRequiredBuffer_list) return buffer_list;\n hasRequiredBuffer_list = 1;\n function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n return keys;\n }\n function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n }\n function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n }\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n var _require = require$$0,\n Buffer = _require.Buffer;\n var _require2 = require$$3,\n inspect = _require2.inspect;\n var custom = inspect && inspect.custom || 'inspect';\n function copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n }\n buffer_list = /*#__PURE__*/\n function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n _createClass(BufferList, [{\n key: \"push\",\n value: function push(v) {\n var entry = {\n data: v,\n next: null\n };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n }\n }, {\n key: \"unshift\",\n value: function unshift(v) {\n var entry = {\n data: v,\n next: this.head\n };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n }\n }, {\n key: \"shift\",\n value: function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.head = this.tail = null;\n this.length = 0;\n }\n }, {\n key: \"join\",\n value: function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }\n return ret;\n }\n }, {\n key: \"concat\",\n value: function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n } // Consumes a specified amount of bytes or characters from the buffered data.\n }, {\n key: \"consume\",\n value: function consume(n, hasStrings) {\n var ret;\n if (n < this.head.data.length) {\n // `slice` is the same for buffers and strings.\n ret = this.head.data.slice(0, n);\n this.head.data = this.head.data.slice(n);\n } else if (n === this.head.data.length) {\n // First chunk is a perfect match.\n ret = this.shift();\n } else {\n // Result spans more than one buffer.\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\n }\n return ret;\n }\n }, {\n key: \"first\",\n value: function first() {\n return this.head.data;\n } // Consumes a specified amount of characters from the buffered data.\n }, {\n key: \"_getString\",\n value: function _getString(n) {\n var p = this.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n } // Consumes a specified amount of bytes from the buffered data.\n }, {\n key: \"_getBuffer\",\n value: function _getBuffer(n) {\n var ret = Buffer.allocUnsafe(n);\n var p = this.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n this.length -= c;\n return ret;\n } // Make sure the linked list only shows the minimal necessary information.\n }, {\n key: custom,\n value: function value(_, options) {\n return inspect(this, _objectSpread({}, options, {\n // Only inspect one level.\n depth: 0,\n // It should not recurse.\n customInspect: false\n }));\n }\n }]);\n return BufferList;\n }();\n return buffer_list;\n}\n\nfunction destroy(err, cb) {\n var _this = this;\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err) {\n if (!this._writableState) {\n browser$1$1.nextTick(emitErrorNT, this, err);\n } else if (!this._writableState.errorEmitted) {\n this._writableState.errorEmitted = true;\n browser$1$1.nextTick(emitErrorNT, this, err);\n }\n }\n return this;\n } // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n } // if this is a duplex stream mark the writable part as destroyed as well\n\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n if (!_this._writableState) {\n browser$1$1.nextTick(emitErrorAndCloseNT, _this, err);\n } else if (!_this._writableState.errorEmitted) {\n _this._writableState.errorEmitted = true;\n browser$1$1.nextTick(emitErrorAndCloseNT, _this, err);\n } else {\n browser$1$1.nextTick(emitCloseNT, _this);\n }\n } else if (cb) {\n browser$1$1.nextTick(emitCloseNT, _this);\n cb(err);\n } else {\n browser$1$1.nextTick(emitCloseNT, _this);\n }\n });\n return this;\n}\nfunction emitErrorAndCloseNT(self, err) {\n emitErrorNT(self, err);\n emitCloseNT(self);\n}\nfunction emitCloseNT(self) {\n if (self._writableState && !self._writableState.emitClose) return;\n if (self._readableState && !self._readableState.emitClose) return;\n self.emit('close');\n}\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finalCalled = false;\n this._writableState.prefinished = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\nfunction errorOrDestroy$2(stream, err) {\n // We have tests that rely on errors being emitted\n // in the same tick, so changing this is semver major.\n // For now when you opt-in to autoDestroy we allow\n // the error to be emitted nextTick. In a future\n // semver major update we should change the default to this.\n var rState = stream._readableState;\n var wState = stream._writableState;\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\n}\nvar destroy_1 = {\n destroy: destroy,\n undestroy: undestroy,\n errorOrDestroy: errorOrDestroy$2\n};\n\nvar errorsBrowser = {};\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\nvar codes = {};\nfunction createErrorType(code, message, Base) {\n if (!Base) {\n Base = Error;\n }\n function getMessage(arg1, arg2, arg3) {\n if (typeof message === 'string') {\n return message;\n } else {\n return message(arg1, arg2, arg3);\n }\n }\n var NodeError = /*#__PURE__*/\n function (_Base) {\n _inheritsLoose(NodeError, _Base);\n function NodeError(arg1, arg2, arg3) {\n return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;\n }\n return NodeError;\n }(Base);\n NodeError.prototype.name = Base.name;\n NodeError.prototype.code = code;\n codes[code] = NodeError;\n} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\n\nfunction oneOf(expected, thing) {\n if (Array.isArray(expected)) {\n var len = expected.length;\n expected = expected.map(function (i) {\n return String(i);\n });\n if (len > 2) {\n return \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(', '), \", or \") + expected[len - 1];\n } else if (len === 2) {\n return \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1]);\n } else {\n return \"of \".concat(thing, \" \").concat(expected[0]);\n }\n } else {\n return \"of \".concat(thing, \" \").concat(String(expected));\n }\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\n\nfunction startsWith(str, search, pos) {\n return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\nfunction endsWith(str, search, this_len) {\n if (this_len === undefined || this_len > str.length) {\n this_len = str.length;\n }\n return str.substring(this_len - search.length, this_len) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\n\nfunction includes(str, search, start) {\n if (typeof start !== 'number') {\n start = 0;\n }\n if (start + search.length > str.length) {\n return false;\n } else {\n return str.indexOf(search, start) !== -1;\n }\n}\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\n return 'The value \"' + value + '\" is invalid for option \"' + name + '\"';\n}, TypeError);\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\n // determiner: 'must be' or 'must not be'\n var determiner;\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\n determiner = 'must not be';\n expected = expected.replace(/^not /, '');\n } else {\n determiner = 'must be';\n }\n var msg;\n if (endsWith(name, ' argument')) {\n // For cases like 'first argument'\n msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n } else {\n var type = includes(name, '.') ? 'property' : 'argument';\n msg = \"The \\\"\".concat(name, \"\\\" \").concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n }\n msg += \". Received type \".concat(typeof actual);\n return msg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\n return 'The ' + name + ' method is not implemented';\n});\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\n return 'Cannot call ' + name + ' after a stream was destroyed';\n});\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\n return 'Unknown encoding: ' + arg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\nerrorsBrowser.codes = codes;\n\nvar ERR_INVALID_OPT_VALUE = errorsBrowser.codes.ERR_INVALID_OPT_VALUE;\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n}\nfunction getHighWaterMark$2(state, options, duplexKey, isDuplex) {\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n if (hwm != null) {\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n var name = isDuplex ? duplexKey : 'highWaterMark';\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\n }\n return Math.floor(hwm);\n } // Default value\n\n return state.objectMode ? 16 : 16 * 1024;\n}\nvar state = {\n getHighWaterMark: getHighWaterMark$2\n};\n\nvar inherits;\nif (typeof Object.create === 'function'){\n inherits = function inherits(ctor, superCtor) {\n // implementation from standard node.js 'util' module\n ctor.super_ = superCtor;\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n inherits = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor;\n var TempCtor = function () {};\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n };\n}\nvar inherits$1 = inherits;\n\nvar _polyfillNode_inherits = /*#__PURE__*/Object.freeze({\n __proto__: null,\n default: inherits$1\n});\n\nvar require$$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_inherits);\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar isBufferEncoding = Buffer$2.isEncoding\n || function(encoding) {\n switch (encoding && encoding.toLowerCase()) {\n case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': case 'raw': return true;\n default: return false;\n }\n };\n\n\nfunction assertEncoding(encoding) {\n if (encoding && !isBufferEncoding(encoding)) {\n throw new Error('Unknown encoding: ' + encoding);\n }\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters. CESU-8 is handled as part of the UTF-8 encoding.\n//\n// @TODO Handling all encodings inside a single object makes it very difficult\n// to reason about this code, so it should be split up in the future.\n// @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code\n// points as used by CESU-8.\nfunction StringDecoder$1(encoding) {\n this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');\n assertEncoding(encoding);\n switch (this.encoding) {\n case 'utf8':\n // CESU-8 represents each of Surrogate Pair by 3-bytes\n this.surrogateSize = 3;\n break;\n case 'ucs2':\n case 'utf16le':\n // UTF-16 represents each of Surrogate Pair by 2-bytes\n this.surrogateSize = 2;\n this.detectIncompleteChar = utf16DetectIncompleteChar;\n break;\n case 'base64':\n // Base-64 stores 3 bytes in 4 chars, and pads the remainder.\n this.surrogateSize = 3;\n this.detectIncompleteChar = base64DetectIncompleteChar;\n break;\n default:\n this.write = passThroughWrite;\n return;\n }\n\n // Enough space to store all bytes of a single character. UTF-8 needs 4\n // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate).\n this.charBuffer = new Buffer$2(6);\n // Number of bytes received for the current incomplete multi-byte character.\n this.charReceived = 0;\n // Number of bytes expected for the current incomplete multi-byte character.\n this.charLength = 0;\n}\n\n// write decodes the given buffer and returns it as JS string that is\n// guaranteed to not contain any partial multi-byte characters. Any partial\n// character found at the end of the buffer is buffered up, and will be\n// returned when calling write again with the remaining bytes.\n//\n// Note: Converting a Buffer containing an orphan surrogate to a String\n// currently works, but converting a String to a Buffer (via `new Buffer`, or\n// Buffer#write) will replace incomplete surrogates with the unicode\n// replacement character. See https://codereview.chromium.org/121173009/ .\nStringDecoder$1.prototype.write = function(buffer) {\n var charStr = '';\n // if our last write ended with an incomplete multibyte character\n while (this.charLength) {\n // determine how many remaining bytes this buffer has to offer for this char\n var available = (buffer.length >= this.charLength - this.charReceived) ?\n this.charLength - this.charReceived :\n buffer.length;\n\n // add the new bytes to the char buffer\n buffer.copy(this.charBuffer, this.charReceived, 0, available);\n this.charReceived += available;\n\n if (this.charReceived < this.charLength) {\n // still not enough chars in this buffer? wait for more ...\n return '';\n }\n\n // remove bytes belonging to the current character from the buffer\n buffer = buffer.slice(available, buffer.length);\n\n // get the character that was split\n charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);\n\n // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character\n var charCode = charStr.charCodeAt(charStr.length - 1);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n this.charLength += this.surrogateSize;\n charStr = '';\n continue;\n }\n this.charReceived = this.charLength = 0;\n\n // if there are no more bytes in this buffer, just emit our char\n if (buffer.length === 0) {\n return charStr;\n }\n break;\n }\n\n // determine and set charLength / charReceived\n this.detectIncompleteChar(buffer);\n\n var end = buffer.length;\n if (this.charLength) {\n // buffer the incomplete character bytes we got\n buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);\n end -= this.charReceived;\n }\n\n charStr += buffer.toString(this.encoding, 0, end);\n\n var end = charStr.length - 1;\n var charCode = charStr.charCodeAt(end);\n // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n var size = this.surrogateSize;\n this.charLength += size;\n this.charReceived += size;\n this.charBuffer.copy(this.charBuffer, size, 0, size);\n buffer.copy(this.charBuffer, 0, 0, size);\n return charStr.substring(0, end);\n }\n\n // or just emit the charStr\n return charStr;\n};\n\n// detectIncompleteChar determines if there is an incomplete UTF-8 character at\n// the end of the given buffer. If so, it sets this.charLength to the byte\n// length that character, and sets this.charReceived to the number of bytes\n// that are available for this character.\nStringDecoder$1.prototype.detectIncompleteChar = function(buffer) {\n // determine how many bytes we have to check at the end of this buffer\n var i = (buffer.length >= 3) ? 3 : buffer.length;\n\n // Figure out if one of the last i bytes of our buffer announces an\n // incomplete char.\n for (; i > 0; i--) {\n var c = buffer[buffer.length - i];\n\n // See http://en.wikipedia.org/wiki/UTF-8#Description\n\n // 110XXXXX\n if (i == 1 && c >> 5 == 0x06) {\n this.charLength = 2;\n break;\n }\n\n // 1110XXXX\n if (i <= 2 && c >> 4 == 0x0E) {\n this.charLength = 3;\n break;\n }\n\n // 11110XXX\n if (i <= 3 && c >> 3 == 0x1E) {\n this.charLength = 4;\n break;\n }\n }\n this.charReceived = i;\n};\n\nStringDecoder$1.prototype.end = function(buffer) {\n var res = '';\n if (buffer && buffer.length)\n res = this.write(buffer);\n\n if (this.charReceived) {\n var cr = this.charReceived;\n var buf = this.charBuffer;\n var enc = this.encoding;\n res += buf.slice(0, cr).toString(enc);\n }\n\n return res;\n};\n\nfunction passThroughWrite(buffer) {\n return buffer.toString(this.encoding);\n}\n\nfunction utf16DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 2;\n this.charLength = this.charReceived ? 2 : 0;\n}\n\nfunction base64DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 3;\n this.charLength = this.charReceived ? 3 : 0;\n}\n\nvar _polyfillNode_string_decoder = /*#__PURE__*/Object.freeze({\n __proto__: null,\n StringDecoder: StringDecoder$1\n});\n\nvar require$$10 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_string_decoder);\n\nvar ERR_STREAM_PREMATURE_CLOSE = errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;\nfunction once$1(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n callback.apply(this, args);\n };\n}\nfunction noop$1() {}\nfunction isRequest$1(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction eos$1(stream, opts, callback) {\n if (typeof opts === 'function') return eos$1(stream, null, opts);\n if (!opts) opts = {};\n callback = once$1(callback || noop$1);\n var readable = opts.readable || opts.readable !== false && stream.readable;\n var writable = opts.writable || opts.writable !== false && stream.writable;\n var onlegacyfinish = function onlegacyfinish() {\n if (!stream.writable) onfinish();\n };\n var writableEnded = stream._writableState && stream._writableState.finished;\n var onfinish = function onfinish() {\n writable = false;\n writableEnded = true;\n if (!readable) callback.call(stream);\n };\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\n var onend = function onend() {\n readable = false;\n readableEnded = true;\n if (!writable) callback.call(stream);\n };\n var onerror = function onerror(err) {\n callback.call(stream, err);\n };\n var onclose = function onclose() {\n var err;\n if (readable && !readableEnded) {\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n if (writable && !writableEnded) {\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n };\n var onrequest = function onrequest() {\n stream.req.on('finish', onfinish);\n };\n if (isRequest$1(stream)) {\n stream.on('complete', onfinish);\n stream.on('abort', onclose);\n if (stream.req) onrequest();else stream.on('request', onrequest);\n } else if (writable && !stream._writableState) {\n // legacy streams\n stream.on('end', onlegacyfinish);\n stream.on('close', onlegacyfinish);\n }\n stream.on('end', onend);\n stream.on('finish', onfinish);\n if (opts.error !== false) stream.on('error', onerror);\n stream.on('close', onclose);\n return function () {\n stream.removeListener('complete', onfinish);\n stream.removeListener('abort', onclose);\n stream.removeListener('request', onrequest);\n if (stream.req) stream.req.removeListener('finish', onfinish);\n stream.removeListener('end', onlegacyfinish);\n stream.removeListener('close', onlegacyfinish);\n stream.removeListener('finish', onfinish);\n stream.removeListener('end', onend);\n stream.removeListener('error', onerror);\n stream.removeListener('close', onclose);\n };\n}\nvar endOfStream = eos$1;\n\nvar async_iterator;\nvar hasRequiredAsync_iterator;\nfunction requireAsync_iterator() {\n if (hasRequiredAsync_iterator) return async_iterator;\n hasRequiredAsync_iterator = 1;\n var _Object$setPrototypeO;\n function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n }\n var finished = endOfStream;\n var kLastResolve = Symbol('lastResolve');\n var kLastReject = Symbol('lastReject');\n var kError = Symbol('error');\n var kEnded = Symbol('ended');\n var kLastPromise = Symbol('lastPromise');\n var kHandlePromise = Symbol('handlePromise');\n var kStream = Symbol('stream');\n function createIterResult(value, done) {\n return {\n value: value,\n done: done\n };\n }\n function readAndResolve(iter) {\n var resolve = iter[kLastResolve];\n if (resolve !== null) {\n var data = iter[kStream].read(); // we defer if data is null\n // we can be expecting either 'end' or\n // 'error'\n\n if (data !== null) {\n iter[kLastPromise] = null;\n iter[kLastResolve] = null;\n iter[kLastReject] = null;\n resolve(createIterResult(data, false));\n }\n }\n }\n function onReadable(iter) {\n // we wait for the next tick, because it might\n // emit an error with process.nextTick\n browser$1$1.nextTick(readAndResolve, iter);\n }\n function wrapForNext(lastPromise, iter) {\n return function (resolve, reject) {\n lastPromise.then(function () {\n if (iter[kEnded]) {\n resolve(createIterResult(undefined, true));\n return;\n }\n iter[kHandlePromise](resolve, reject);\n }, reject);\n };\n }\n var AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\n var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\n get stream() {\n return this[kStream];\n },\n next: function next() {\n var _this = this;\n\n // if we have detected an error in the meanwhile\n // reject straight away\n var error = this[kError];\n if (error !== null) {\n return Promise.reject(error);\n }\n if (this[kEnded]) {\n return Promise.resolve(createIterResult(undefined, true));\n }\n if (this[kStream].destroyed) {\n // We need to defer via nextTick because if .destroy(err) is\n // called, the error will be emitted via nextTick, and\n // we cannot guarantee that there is no error lingering around\n // waiting to be emitted.\n return new Promise(function (resolve, reject) {\n browser$1$1.nextTick(function () {\n if (_this[kError]) {\n reject(_this[kError]);\n } else {\n resolve(createIterResult(undefined, true));\n }\n });\n });\n } // if we have multiple next() calls\n // we will wait for the previous Promise to finish\n // this logic is optimized to support for await loops,\n // where next() is only called once at a time\n\n var lastPromise = this[kLastPromise];\n var promise;\n if (lastPromise) {\n promise = new Promise(wrapForNext(lastPromise, this));\n } else {\n // fast path needed to support multiple this.push()\n // without triggering the next() queue\n var data = this[kStream].read();\n if (data !== null) {\n return Promise.resolve(createIterResult(data, false));\n }\n promise = new Promise(this[kHandlePromise]);\n }\n this[kLastPromise] = promise;\n return promise;\n }\n }, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\n return this;\n }), _defineProperty(_Object$setPrototypeO, \"return\", function _return() {\n var _this2 = this;\n\n // destroy(err, cb) is a private API\n // we can guarantee we have that here, because we control the\n // Readable class this is attached to\n return new Promise(function (resolve, reject) {\n _this2[kStream].destroy(null, function (err) {\n if (err) {\n reject(err);\n return;\n }\n resolve(createIterResult(undefined, true));\n });\n });\n }), _Object$setPrototypeO), AsyncIteratorPrototype);\n var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\n var _Object$create;\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\n value: stream,\n writable: true\n }), _defineProperty(_Object$create, kLastResolve, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kLastReject, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kError, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kEnded, {\n value: stream._readableState.endEmitted,\n writable: true\n }), _defineProperty(_Object$create, kHandlePromise, {\n value: function value(resolve, reject) {\n var data = iterator[kStream].read();\n if (data) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(data, false));\n } else {\n iterator[kLastResolve] = resolve;\n iterator[kLastReject] = reject;\n }\n },\n writable: true\n }), _Object$create));\n iterator[kLastPromise] = null;\n finished(stream, function (err) {\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\n var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise\n // returned by next() and store the error\n\n if (reject !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n reject(err);\n }\n iterator[kError] = err;\n return;\n }\n var resolve = iterator[kLastResolve];\n if (resolve !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(undefined, true));\n }\n iterator[kEnded] = true;\n });\n stream.on('readable', onReadable.bind(null, iterator));\n return iterator;\n };\n async_iterator = createReadableStreamAsyncIterator;\n return async_iterator;\n}\n\nvar fromBrowser;\nvar hasRequiredFromBrowser;\nfunction requireFromBrowser() {\n if (hasRequiredFromBrowser) return fromBrowser;\n hasRequiredFromBrowser = 1;\n fromBrowser = function () {\n throw new Error('Readable.from is not available in the browser');\n };\n return fromBrowser;\n}\n\nconst Registry$4 = _registry;\nRegistry$4.Readable = Readable;\nReadable.ReadableState = ReadableState;\n/**/\n\nrequire$$1$1.EventEmitter;\nvar EElistenerCount = function EElistenerCount(emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\n\nvar Stream$1 = streamBrowser;\n/**/\n\nvar Buffer$1 = require$$0.Buffer;\nvar OurUint8Array$1 = commonjsGlobal.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer$1(chunk) {\n return Buffer$1.from(chunk);\n}\nfunction _isUint8Array$1(obj) {\n return Buffer$1.isBuffer(obj) || obj instanceof OurUint8Array$1;\n}\n/**/\n\nvar debugUtil = require$$3;\nvar debug;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function debug() {};\n}\n/**/\n\nvar BufferList = requireBuffer_list();\nvar destroyImpl$1 = destroy_1;\nvar _require$1 = state,\n getHighWaterMark$1 = _require$1.getHighWaterMark;\nvar _require$codes$3 = errorsBrowser.codes,\n ERR_INVALID_ARG_TYPE$1 = _require$codes$3.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes$3.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED$2 = _require$codes$3.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes$3.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\n\nvar StringDecoder;\nvar createReadableStreamAsyncIterator;\nvar from;\nrequire$$1(Readable, Stream$1);\nvar errorOrDestroy$1 = destroyImpl$1.errorOrDestroy;\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\nfunction ReadableState(options, stream, isDuplex) {\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Registry$4.Duplex; // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n\n this.highWaterMark = getHighWaterMark$1(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n\n this.sync = true; // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.paused = true; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')\n\n this.autoDestroy = !!options.autoDestroy; // has it been destroyed\n\n this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s\n\n this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled\n\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = require$$10.StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\nfunction Readable(options) {\n if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside\n // the ReadableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Registry$4.Duplex;\n this._readableState = new ReadableState(options, this, isDuplex); // legacy\n\n this.readable = true;\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n Stream$1.call(this);\n}\nObject.defineProperty(Readable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n this._readableState.destroyed = value;\n }\n});\nReadable.prototype.destroy = destroyImpl$1.destroy;\nReadable.prototype._undestroy = destroyImpl$1.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n cb(err);\n}; // Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\n\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer$1.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n}; // Unshift should *always* be something directly out of read()\n\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n debug('readableAddChunk', chunk);\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n errorOrDestroy$1(stream, er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer$1.prototype) {\n chunk = _uint8ArrayToBuffer$1(chunk);\n }\n if (addToFront) {\n if (state.endEmitted) errorOrDestroy$1(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n errorOrDestroy$1(stream, new ERR_STREAM_PUSH_AFTER_EOF());\n } else if (state.destroyed) {\n return false;\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n maybeReadMore(stream, state);\n }\n } // We can push more data if we are below the highWaterMark.\n // Also, if we have no data yet, we can stand some more bytes.\n // This is to work around cases where hwm=0, such as the repl.\n\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\n}\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n state.awaitDrain = 0;\n stream.emit('data', chunk);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array$1(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE$1('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\n }\n return er;\n}\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n}; // backwards compatibility.\n\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = require$$10.StringDecoder;\n var decoder = new StringDecoder(enc);\n this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8\n\n this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:\n\n var p = this._readableState.buffer.head;\n var content = '';\n while (p !== null) {\n content += decoder.write(p.data);\n p = p.next;\n }\n this._readableState.buffer.clear();\n if (content !== '') this._readableState.buffer.push(content);\n this._readableState.length = content.length;\n return this;\n}; // Don't raise the hwm > 1GB\n\nvar MAX_HWM = 0x40000000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n} // This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n } // If we're asking for more than the current hwm, then raise the hwm.\n\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n; // Don't have enough\n\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n} // you can override either this method, or the async _read(n) below.\n\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.\n\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n } // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n // if we need a readable event, then we need to do some reading.\n\n var doRead = state.needReadable;\n debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some\n\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n } // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true; // if the length is currently zero, then we *need* a readable event.\n\n if (state.length === 0) state.needReadable = true; // call internal read method\n\n this._read(state.highWaterMark);\n state.sync = false; // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n if (ret === null) {\n state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;\n state.awaitDrain = 0;\n }\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.\n\n if (nOrig !== n && state.ended) endReadable(this);\n }\n if (ret !== null) this.emit('data', ret);\n return ret;\n};\nfunction onEofChunk(stream, state) {\n debug('onEofChunk');\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n if (state.sync) {\n // if we are sync, wait until next tick to emit the data.\n // Otherwise we risk emitting data in the flow()\n // the readable code triggers during a read() call\n emitReadable(stream);\n } else {\n // emit 'readable' now to make sure it gets picked up.\n state.needReadable = false;\n if (!state.emittedReadable) {\n state.emittedReadable = true;\n emitReadable_(stream);\n }\n }\n} // Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\n\nfunction emitReadable(stream) {\n var state = stream._readableState;\n debug('emitReadable', state.needReadable, state.emittedReadable);\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n browser$1$1.nextTick(emitReadable_, stream);\n }\n}\nfunction emitReadable_(stream) {\n var state = stream._readableState;\n debug('emitReadable_', state.destroyed, state.length, state.ended);\n if (!state.destroyed && (state.length || state.ended)) {\n stream.emit('readable');\n state.emittedReadable = false;\n } // The stream needs another readable event if\n // 1. It is not flowing, as the flow mechanism will take\n // care of it.\n // 2. It is not ended.\n // 3. It is below the highWaterMark, so we can schedule\n // another readable later.\n\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\n flow(stream);\n} // at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\n\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n browser$1$1.nextTick(maybeReadMore_, stream, state);\n }\n}\nfunction maybeReadMore_(stream, state) {\n // Attempt to read more data if we should.\n //\n // The conditions for reading more data are (one of):\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\n // is responsible for filling the buffer with enough data if such data\n // is available. If highWaterMark is 0 and we are not in the flowing mode\n // we should _not_ attempt to buffer any extra data. We'll get more data\n // when the stream consumer calls read() instead.\n // - No data in the buffer, and the stream is in flowing mode. In this mode\n // the loop below is responsible for ensuring read() is called. Failing to\n // call read here would abort the flow and there's no other mechanism for\n // continuing the flow if the stream consumer has just subscribed to the\n // 'data' event.\n //\n // In addition to the above conditions to keep reading data, the following\n // conditions prevent the data from being read:\n // - The stream has ended (state.ended).\n // - There is already a pending 'read' operation (state.reading). This is a\n // case where the the stream has called the implementation defined _read()\n // method, but they are processing the call asynchronously and have _not_\n // called push() with new data. In this case we skip performing more\n // read()s. The execution ends in this method again after the _read() ends\n // up calling push() with more data.\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\n var len = state.length;\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;\n }\n state.readingMore = false;\n} // abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\n\nReadable.prototype._read = function (n) {\n errorOrDestroy$1(this, new ERR_METHOD_NOT_IMPLEMENTED$2('_read()'));\n};\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== browser$1$1.stdout && dest !== browser$1$1.stderr;\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) browser$1$1.nextTick(endFn);else src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n } // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup'); // cleanup event handlers once the pipe is broken\n\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n cleanedUp = true; // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n debug('dest.write', ret);\n if (ret === false) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', state.awaitDrain);\n state.awaitDrain++;\n }\n src.pause();\n }\n } // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy$1(dest, er);\n } // Make sure our error handler is attached before userland ones.\n\n prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.\n\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n } // tell the dest that it's being piped to\n\n dest.emit('pipe', src); // start the flow if it hasn't been started already.\n\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n};\nfunction pipeOnDrain(src) {\n return function pipeOnDrainFunctionResult() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = {\n hasUnpiped: false\n }; // if we're not piping anywhere, then do nothing.\n\n if (state.pipesCount === 0) return this; // just one destination. most common case.\n\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n if (!dest) dest = state.pipes; // got a match.\n\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n } // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, {\n hasUnpiped: false\n });\n }\n return this;\n } // try to find the right one.\n\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n dest.emit('unpipe', this, unpipeInfo);\n return this;\n}; // set up data events if they are asked for\n// Ensure readable listeners eventually get something\n\nReadable.prototype.on = function (ev, fn) {\n var res = Stream$1.prototype.on.call(this, ev, fn);\n var state = this._readableState;\n if (ev === 'data') {\n // update readableListening so that resume() may be a no-op\n // a few lines down. This is needed to support once('readable').\n state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused\n\n if (state.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.flowing = false;\n state.emittedReadable = false;\n debug('on readable', state.length, state.reading);\n if (state.length) {\n emitReadable(this);\n } else if (!state.reading) {\n browser$1$1.nextTick(nReadingNextTick, this);\n }\n }\n }\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\nReadable.prototype.removeListener = function (ev, fn) {\n var res = Stream$1.prototype.removeListener.call(this, ev, fn);\n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n browser$1$1.nextTick(updateReadableListening, this);\n }\n return res;\n};\nReadable.prototype.removeAllListeners = function (ev) {\n var res = Stream$1.prototype.removeAllListeners.apply(this, arguments);\n if (ev === 'readable' || ev === undefined) {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n browser$1$1.nextTick(updateReadableListening, this);\n }\n return res;\n};\nfunction updateReadableListening(self) {\n var state = self._readableState;\n state.readableListening = self.listenerCount('readable') > 0;\n if (state.resumeScheduled && !state.paused) {\n // flowing needs to be set to true now, otherwise\n // the upcoming resume will not flow.\n state.flowing = true; // crude way to check if we should resume\n } else if (self.listenerCount('data') > 0) {\n self.resume();\n }\n}\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n} // pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\n\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume'); // we flow only if there is no one listening\n // for readable, but we still have to call\n // resume()\n\n state.flowing = !state.readableListening;\n resume(this, state);\n }\n state.paused = false;\n return this;\n};\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n browser$1$1.nextTick(resume_, stream, state);\n }\n}\nfunction resume_(stream, state) {\n debug('resume', state.reading);\n if (!state.reading) {\n stream.read(0);\n }\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (this._readableState.flowing !== false) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n this._readableState.paused = true;\n return this;\n};\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {\n }\n} // wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\n\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n var state = this._readableState;\n var paused = false;\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n _this.push(null);\n });\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode\n\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n }); // proxy all the other methods.\n // important when wrapping filters and duplexes.\n\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function methodWrap(method) {\n return function methodWrapReturnFunction() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n } // proxy certain important events.\n\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n } // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return this;\n};\nif (typeof Symbol === 'function') {\n Readable.prototype[Symbol.asyncIterator] = function () {\n if (createReadableStreamAsyncIterator === undefined) {\n createReadableStreamAsyncIterator = requireAsync_iterator();\n }\n return createReadableStreamAsyncIterator(this);\n };\n}\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.highWaterMark;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState && this._readableState.buffer;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.flowing;\n },\n set: function set(state) {\n if (this._readableState) {\n this._readableState.flowing = state;\n }\n }\n}); // exposed for testing purposes only.\n\nReadable._fromList = fromList;\nObject.defineProperty(Readable.prototype, 'readableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.length;\n }\n}); // Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = state.buffer.consume(n, state.decoder);\n }\n return ret;\n}\nfunction endReadable(stream) {\n var state = stream._readableState;\n debug('endReadable', state.endEmitted);\n if (!state.endEmitted) {\n state.ended = true;\n browser$1$1.nextTick(endReadableNT, state, stream);\n }\n}\nfunction endReadableNT(state, stream) {\n debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.\n\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the writable side is ready for autoDestroy as well\n var wState = stream._writableState;\n if (!wState || wState.autoDestroy && wState.finished) {\n stream.destroy();\n }\n }\n }\n}\nif (typeof Symbol === 'function') {\n Readable.from = function (iterable, opts) {\n if (from === undefined) {\n from = requireFromBrowser();\n }\n return from(Readable, iterable, opts);\n };\n}\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n\n/**\n * Module exports.\n */\n\nvar browser = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate(fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config(name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!commonjsGlobal.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = commonjsGlobal.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n\nconst Registry$3 = _registry;\nRegistry$3.Writable = Writable;\n// there will be only 2 of these for each stream\n\nfunction CorkedRequest(state) {\n var _this = this;\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\n\n/**/\n\nWritable.WritableState = WritableState;\n/**/\n\nvar internalUtil = {\n deprecate: browser\n};\n/**/\n\n/**/\n\nvar Stream = streamBrowser;\n/**/\n\nvar Buffer = require$$0.Buffer;\nvar OurUint8Array = commonjsGlobal.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\nvar destroyImpl = destroy_1;\nvar _require = state,\n getHighWaterMark = _require.getHighWaterMark;\nvar _require$codes$2 = errorsBrowser.codes,\n ERR_INVALID_ARG_TYPE = _require$codes$2.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED$1 = _require$codes$2.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK$1 = _require$codes$2.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes$2.ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED$1 = _require$codes$2.ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES = _require$codes$2.ERR_STREAM_NULL_VALUES,\n ERR_STREAM_WRITE_AFTER_END = _require$codes$2.ERR_STREAM_WRITE_AFTER_END,\n ERR_UNKNOWN_ENCODING = _require$codes$2.ERR_UNKNOWN_ENCODING;\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nrequire$$1(Writable, Stream);\nfunction nop() {}\nfunction WritableState(options, stream, isDuplex) {\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream,\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Registry$3.Duplex; // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called\n\n this.finalCalled = false; // drain event flag.\n\n this.needDrain = false; // at the start of calling end()\n\n this.ending = false; // when end() has been called, and returned\n\n this.ended = false; // when 'finish' is emitted\n\n this.finished = false; // has it been destroyed\n\n this.destroyed = false; // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n\n this.length = 0; // a flag to see when we're in the middle of a write.\n\n this.writing = false; // when true all writes will be buffered until .uncork() call\n\n this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n\n this.sync = true; // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n\n this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)\n\n this.onwrite = function (er) {\n onwrite(stream, er);\n }; // the callback that the user supplies to write(chunk,encoding,cb)\n\n this.writecb = null; // the amount that is being written when _write is called.\n\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null; // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n\n this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n\n this.prefinished = false; // True if the error was already emitted and should not be thrown again\n\n this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')\n\n this.autoDestroy = !!options.autoDestroy; // count buffered requests\n\n this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n\n this.corkedRequestsFree = new CorkedRequest(this);\n}\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function writableStateBufferGetter() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})(); // Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\n\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function value(object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function realHasInstance(object) {\n return object instanceof this;\n };\n}\nfunction Writable(options) {\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the WritableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Registry$3.Duplex;\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\n this._writableState = new WritableState(options, this, isDuplex); // legacy.\n\n this.writable = true;\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n if (typeof options.writev === 'function') this._writev = options.writev;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n if (typeof options.final === 'function') this._final = options.final;\n }\n Stream.call(this);\n} // Otherwise people can pipe Writable streams, which is just wrong.\n\nWritable.prototype.pipe = function () {\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\n};\nfunction writeAfterEnd(stream, cb) {\n var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb\n\n errorOrDestroy(stream, er);\n browser$1$1.nextTick(cb, er);\n} // Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\n\nfunction validChunk(stream, state, chunk, cb) {\n var er;\n if (chunk === null) {\n er = new ERR_STREAM_NULL_VALUES();\n } else if (typeof chunk !== 'string' && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\n }\n if (er) {\n errorOrDestroy(stream, er);\n browser$1$1.nextTick(cb, er);\n return false;\n }\n return true;\n}\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n if (typeof cb !== 'function') cb = nop;\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n return ret;\n};\nWritable.prototype.cork = function () {\n this._writableState.corked++;\n};\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n}); // if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\n\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.\n\n if (!ret) state.needDrain = true;\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n return ret;\n}\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED$1('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n browser$1$1.nextTick(cb, er); // this can emit finish, and it will always happen\n // after error\n\n browser$1$1.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er); // this can emit finish, but finish must\n // always follow error\n\n finishMaybe(stream, state);\n }\n}\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK$1();\n onwriteStateUpdate(state);\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state) || stream.destroyed;\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n if (sync) {\n browser$1$1.nextTick(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n} // Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\n\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n} // if there's something in the buffer waiting, then process it\n\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n\n if (state.writing) {\n break;\n }\n }\n if (entry === null) state.lastBufferedRequest = null;\n }\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED$1('_write()'));\n};\nWritable.prototype._writev = null;\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks\n\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n } // ignore unnecessary end() calls.\n\n if (!state.ending) endWritable(this, state, cb);\n return this;\n};\nObject.defineProperty(Writable.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n errorOrDestroy(stream, err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish$1(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function' && !state.destroyed) {\n state.pendingcb++;\n state.finalCalled = true;\n browser$1$1.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish$1(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the readable side is ready for autoDestroy as well\n var rState = stream._readableState;\n if (!rState || rState.autoDestroy && rState.endEmitted) {\n stream.destroy();\n }\n }\n }\n }\n return need;\n}\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) browser$1$1.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n } // reuse the free corkReq.\n\n state.corkedRequestsFree.next = corkReq;\n}\nObject.defineProperty(Writable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n this._writableState.destroyed = value;\n }\n});\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n cb(err);\n};\n\n/**/\n\nvar objectKeys$1 = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }\n return keys;\n};\n/**/\n\nconst Registry$2 = _registry;\nRegistry$2.Duplex = Duplex;\nrequire$$1(Duplex, Registry$2.Readable);\n{\n // Allow the keys array to be GC'ed.\n var keys = objectKeys$1(Registry$2.Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Registry$2.Writable.prototype[method];\n }\n}\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n Registry$2.Readable.call(this, options);\n Registry$2.Writable.call(this, options);\n this.allowHalfOpen = true;\n if (options) {\n if (options.readable === false) this.readable = false;\n if (options.writable === false) this.writable = false;\n if (options.allowHalfOpen === false) {\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n }\n}\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n}); // the no-half-open enforcer\n\nfunction onend() {\n // If the writable side ended, then we're ok.\n if (this._writableState.ended) return; // no more data can be written.\n // But allow more writes to happen in this tick.\n\n browser$1$1.nextTick(onEndNT, this);\n}\nfunction onEndNT(self) {\n self.end();\n}\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nconst Registry$1 = _registry;\nRegistry$1.Transform = Transform$1;\nvar _require$codes$1 = errorsBrowser.codes,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes$1.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes$1.ERR_MULTIPLE_CALLBACK,\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING,\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0;\nrequire$$1(Transform$1, Registry$1.Duplex);\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (cb === null) {\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\n }\n ts.writechunk = null;\n ts.writecb = null;\n if (data != null)\n // single equals check for both `null` and `undefined`\n this.push(data);\n cb(er);\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\nfunction Transform$1(options) {\n if (!(this instanceof Transform$1)) return new Transform$1(options);\n Registry$1.Duplex.call(this, options);\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n }; // start out asking for a readable event once data is transformed.\n\n this._readableState.needReadable = true; // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n\n this._readableState.sync = false;\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n if (typeof options.flush === 'function') this._flush = options.flush;\n } // When the writable side finishes, then flush out anything remaining.\n\n this.on('prefinish', prefinish);\n}\nfunction prefinish() {\n var _this = this;\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\nTransform$1.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Registry$1.Duplex.prototype.push.call(this, chunk, encoding);\n}; // This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\n\nTransform$1.prototype._transform = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\n};\nTransform$1.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n}; // Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\n\nTransform$1.prototype._read = function (n) {\n var ts = this._transformState;\n if (ts.writechunk !== null && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\nTransform$1.prototype._destroy = function (err, cb) {\n Registry$1.Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n });\n};\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n if (data != null)\n // single equals check for both `null` and `undefined`\n stream.push(data); // TODO(BridgeAR): Write a test for these two error cases\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\n return stream.push(null);\n}\n\nconst Registry = _registry;\nRegistry.PassThrough = PassThrough;\nrequire$$1(PassThrough, Registry.Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\nvar eos;\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n callback.apply(void 0, arguments);\n };\n}\nvar _require$codes = errorsBrowser.codes,\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\nfunction noop(err) {\n // Rethrow the error if it exists to avoid swallowing it\n if (err) throw err;\n}\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\nfunction destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n var closed = false;\n stream.on('close', function () {\n closed = true;\n });\n if (eos === undefined) eos = endOfStream;\n eos(stream, {\n readable: reading,\n writable: writing\n }, function (err) {\n if (err) return callback(err);\n closed = true;\n callback();\n });\n var destroyed = false;\n return function (err) {\n if (closed) return;\n if (destroyed) return;\n destroyed = true; // request.destroy just do .end - .abort is what we want\n\n if (isRequest(stream)) return stream.abort();\n if (typeof stream.destroy === 'function') return stream.destroy();\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\n };\n}\nfunction call(fn) {\n fn();\n}\nfunction pipe(from, to) {\n return from.pipe(to);\n}\nfunction popCallback(streams) {\n if (!streams.length) return noop;\n if (typeof streams[streams.length - 1] !== 'function') return noop;\n return streams.pop();\n}\nfunction pipeline() {\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\n streams[_key] = arguments[_key];\n }\n var callback = popCallback(streams);\n if (Array.isArray(streams[0])) streams = streams[0];\n if (streams.length < 2) {\n throw new ERR_MISSING_ARGS('streams');\n }\n var error;\n var destroys = streams.map(function (stream, i) {\n var reading = i < streams.length - 1;\n var writing = i > 0;\n return destroyer(stream, reading, writing, function (err) {\n if (!error) error = err;\n if (err) destroys.forEach(call);\n if (reading) return;\n destroys.forEach(call);\n callback(error);\n });\n });\n return streams.reduce(pipe);\n}\nvar pipeline_1 = pipeline;\n\n(function (module, exports) {\n const Registry = _registry;\n exports = module.exports = Registry.Readable;\n exports.Stream = Registry.Readable;\n exports.Readable = Registry.Readable;\n exports.Writable = Registry.Writable;\n exports.Duplex = Registry.Duplex;\n exports.Transform = Registry.Transform;\n exports.PassThrough = Registry.PassThrough;\n exports.finished = endOfStream;\n exports.pipeline = pipeline_1;\n})(readableBrowser, readableBrowser.exports);\nvar readableBrowserExports = readableBrowser.exports;\nvar stream = /*@__PURE__*/getDefaultExportFromCjs(readableBrowserExports);\n\nvar lib = {};\n\nvar binding = {};\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break;\n }\n }\n\n if (x < y) {\n return -1;\n }\n if (y < x) {\n return 1;\n }\n return 0;\n}\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n if (hasOwn.call(obj, key)) keys.push(key);\n }\n return keys;\n};\nvar pSlice = Array.prototype.slice;\nvar _functionsHaveNames;\nfunction functionsHaveNames() {\n if (typeof _functionsHaveNames !== 'undefined') {\n return _functionsHaveNames;\n }\n return _functionsHaveNames = (function () {\n return function foo() {}.name === 'foo';\n }());\n}\nfunction pToString (obj) {\n return Object.prototype.toString.call(obj);\n}\nfunction isView(arrbuf) {\n if (isBuffer$1(arrbuf)) {\n return false;\n }\n if (typeof global$1.ArrayBuffer !== 'function') {\n return false;\n }\n if (typeof ArrayBuffer.isView === 'function') {\n return ArrayBuffer.isView(arrbuf);\n }\n if (!arrbuf) {\n return false;\n }\n if (arrbuf instanceof DataView) {\n return true;\n }\n if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) {\n return true;\n }\n return false;\n}\n// 1. The assert module provides functions that throw\n// AssertionError's when particular conditions are not met. The\n// assert module must conform to the following interface.\n\nfunction assert(value, message) {\n if (!value) fail(value, true, message, '==', ok);\n}\n\n// 2. The AssertionError is defined in assert.\n// new assert.AssertionError({ message: message,\n// actual: actual,\n// expected: expected })\n\nvar regex = /\\s*function\\s+([^\\(\\s]*)\\s*/;\n// based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js\nfunction getName(func) {\n if (!isFunction(func)) {\n return;\n }\n if (functionsHaveNames()) {\n return func.name;\n }\n var str = func.toString();\n var match = str.match(regex);\n return match && match[1];\n}\nassert.AssertionError = AssertionError;\nfunction AssertionError(options) {\n this.name = 'AssertionError';\n this.actual = options.actual;\n this.expected = options.expected;\n this.operator = options.operator;\n if (options.message) {\n this.message = options.message;\n this.generatedMessage = false;\n } else {\n this.message = getMessage(this);\n this.generatedMessage = true;\n }\n var stackStartFunction = options.stackStartFunction || fail;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, stackStartFunction);\n } else {\n // non v8 browsers so we can have a stacktrace\n var err = new Error();\n if (err.stack) {\n var out = err.stack;\n\n // try to strip useless frames\n var fn_name = getName(stackStartFunction);\n var idx = out.indexOf('\\n' + fn_name);\n if (idx >= 0) {\n // once we have located the function frame\n // we need to strip out everything before it (and its line)\n var next_line = out.indexOf('\\n', idx + 1);\n out = out.substring(next_line + 1);\n }\n\n this.stack = out;\n }\n }\n}\n\n// assert.AssertionError instanceof Error\ninherits$3(AssertionError, Error);\n\nfunction truncate(s, n) {\n if (typeof s === 'string') {\n return s.length < n ? s : s.slice(0, n);\n } else {\n return s;\n }\n}\nfunction inspect(something) {\n if (functionsHaveNames() || !isFunction(something)) {\n return inspect$1(something);\n }\n var rawname = getName(something);\n var name = rawname ? ': ' + rawname : '';\n return '[Function' + name + ']';\n}\nfunction getMessage(self) {\n return truncate(inspect(self.actual), 128) + ' ' +\n self.operator + ' ' +\n truncate(inspect(self.expected), 128);\n}\n\n// At present only the three keys mentioned above are used and\n// understood by the spec. Implementations or sub modules can pass\n// other keys to the AssertionError's constructor - they will be\n// ignored.\n\n// 3. All of the following functions must throw an AssertionError\n// when a corresponding condition is not met, with a message that\n// may be undefined if not provided. All assertion methods provide\n// both the actual and expected values to the assertion error for\n// display purposes.\n\nfunction fail(actual, expected, message, operator, stackStartFunction) {\n throw new AssertionError({\n message: message,\n actual: actual,\n expected: expected,\n operator: operator,\n stackStartFunction: stackStartFunction\n });\n}\n\n// EXTENSION! allows for well behaved errors defined elsewhere.\nassert.fail = fail;\n\n// 4. Pure assertion tests whether a value is truthy, as determined\n// by !!guard.\n// assert.ok(guard, message_opt);\n// This statement is equivalent to assert.equal(true, !!guard,\n// message_opt);. To test strictly for the value true, use\n// assert.strictEqual(true, guard, message_opt);.\n\nfunction ok(value, message) {\n if (!value) fail(value, true, message, '==', ok);\n}\nassert.ok = ok;\n\n// 5. The equality assertion tests shallow, coercive equality with\n// ==.\n// assert.equal(actual, expected, message_opt);\nassert.equal = equal;\nfunction equal(actual, expected, message) {\n if (actual != expected) fail(actual, expected, message, '==', equal);\n}\n\n// 6. The non-equality assertion tests for whether two objects are not equal\n// with != assert.notEqual(actual, expected, message_opt);\nassert.notEqual = notEqual;\nfunction notEqual(actual, expected, message) {\n if (actual == expected) {\n fail(actual, expected, message, '!=', notEqual);\n }\n}\n\n// 7. The equivalence assertion tests a deep equality relation.\n// assert.deepEqual(actual, expected, message_opt);\nassert.deepEqual = deepEqual;\nfunction deepEqual(actual, expected, message) {\n if (!_deepEqual(actual, expected, false)) {\n fail(actual, expected, message, 'deepEqual', deepEqual);\n }\n}\nassert.deepStrictEqual = deepStrictEqual;\nfunction deepStrictEqual(actual, expected, message) {\n if (!_deepEqual(actual, expected, true)) {\n fail(actual, expected, message, 'deepStrictEqual', deepStrictEqual);\n }\n}\n\nfunction _deepEqual(actual, expected, strict, memos) {\n // 7.1. All identical values are equivalent, as determined by ===.\n if (actual === expected) {\n return true;\n } else if (isBuffer$1(actual) && isBuffer$1(expected)) {\n return compare(actual, expected) === 0;\n\n // 7.2. If the expected value is a Date object, the actual value is\n // equivalent if it is also a Date object that refers to the same time.\n } else if (isDate(actual) && isDate(expected)) {\n return actual.getTime() === expected.getTime();\n\n // 7.3 If the expected value is a RegExp object, the actual value is\n // equivalent if it is also a RegExp object with the same source and\n // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).\n } else if (isRegExp(actual) && isRegExp(expected)) {\n return actual.source === expected.source &&\n actual.global === expected.global &&\n actual.multiline === expected.multiline &&\n actual.lastIndex === expected.lastIndex &&\n actual.ignoreCase === expected.ignoreCase;\n\n // 7.4. Other pairs that do not both pass typeof value == 'object',\n // equivalence is determined by ==.\n } else if ((actual === null || typeof actual !== 'object') &&\n (expected === null || typeof expected !== 'object')) {\n return strict ? actual === expected : actual == expected;\n\n // If both values are instances of typed arrays, wrap their underlying\n // ArrayBuffers in a Buffer each to increase performance\n // This optimization requires the arrays to have the same type as checked by\n // Object.prototype.toString (aka pToString). Never perform binary\n // comparisons for Float*Arrays, though, since e.g. +0 === -0 but their\n // bit patterns are not identical.\n } else if (isView(actual) && isView(expected) &&\n pToString(actual) === pToString(expected) &&\n !(actual instanceof Float32Array ||\n actual instanceof Float64Array)) {\n return compare(new Uint8Array(actual.buffer),\n new Uint8Array(expected.buffer)) === 0;\n\n // 7.5 For all other Object pairs, including Array objects, equivalence is\n // determined by having the same number of owned properties (as verified\n // with Object.prototype.hasOwnProperty.call), the same set of keys\n // (although not necessarily the same order), equivalent values for every\n // corresponding key, and an identical 'prototype' property. Note: this\n // accounts for both named and indexed properties on Arrays.\n } else if (isBuffer$1(actual) !== isBuffer$1(expected)) {\n return false;\n } else {\n memos = memos || {actual: [], expected: []};\n\n var actualIndex = memos.actual.indexOf(actual);\n if (actualIndex !== -1) {\n if (actualIndex === memos.expected.indexOf(expected)) {\n return true;\n }\n }\n\n memos.actual.push(actual);\n memos.expected.push(expected);\n\n return objEquiv(actual, expected, strict, memos);\n }\n}\n\nfunction isArguments(object) {\n return Object.prototype.toString.call(object) == '[object Arguments]';\n}\n\nfunction objEquiv(a, b, strict, actualVisitedObjects) {\n if (a === null || a === undefined || b === null || b === undefined)\n return false;\n // if one is a primitive, the other must be same\n if (isPrimitive(a) || isPrimitive(b))\n return a === b;\n if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b))\n return false;\n var aIsArgs = isArguments(a);\n var bIsArgs = isArguments(b);\n if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))\n return false;\n if (aIsArgs) {\n a = pSlice.call(a);\n b = pSlice.call(b);\n return _deepEqual(a, b, strict);\n }\n var ka = objectKeys(a);\n var kb = objectKeys(b);\n var key, i;\n // having the same number of owned properties (keys incorporates\n // hasOwnProperty)\n if (ka.length !== kb.length)\n return false;\n //the same set of keys (although not necessarily the same order),\n ka.sort();\n kb.sort();\n //~~~cheap key test\n for (i = ka.length - 1; i >= 0; i--) {\n if (ka[i] !== kb[i])\n return false;\n }\n //equivalent values for every corresponding key, and\n //~~~possibly expensive deep test\n for (i = ka.length - 1; i >= 0; i--) {\n key = ka[i];\n if (!_deepEqual(a[key], b[key], strict, actualVisitedObjects))\n return false;\n }\n return true;\n}\n\n// 8. The non-equivalence assertion tests for any deep inequality.\n// assert.notDeepEqual(actual, expected, message_opt);\nassert.notDeepEqual = notDeepEqual;\nfunction notDeepEqual(actual, expected, message) {\n if (_deepEqual(actual, expected, false)) {\n fail(actual, expected, message, 'notDeepEqual', notDeepEqual);\n }\n}\n\nassert.notDeepStrictEqual = notDeepStrictEqual;\nfunction notDeepStrictEqual(actual, expected, message) {\n if (_deepEqual(actual, expected, true)) {\n fail(actual, expected, message, 'notDeepStrictEqual', notDeepStrictEqual);\n }\n}\n\n\n// 9. The strict equality assertion tests strict equality, as determined by ===.\n// assert.strictEqual(actual, expected, message_opt);\nassert.strictEqual = strictEqual;\nfunction strictEqual(actual, expected, message) {\n if (actual !== expected) {\n fail(actual, expected, message, '===', strictEqual);\n }\n}\n\n// 10. The strict non-equality assertion tests for strict inequality, as\n// determined by !==. assert.notStrictEqual(actual, expected, message_opt);\nassert.notStrictEqual = notStrictEqual;\nfunction notStrictEqual(actual, expected, message) {\n if (actual === expected) {\n fail(actual, expected, message, '!==', notStrictEqual);\n }\n}\n\nfunction expectedException(actual, expected) {\n if (!actual || !expected) {\n return false;\n }\n\n if (Object.prototype.toString.call(expected) == '[object RegExp]') {\n return expected.test(actual);\n }\n\n try {\n if (actual instanceof expected) {\n return true;\n }\n } catch (e) {\n // Ignore. The instanceof check doesn't work for arrow functions.\n }\n\n if (Error.isPrototypeOf(expected)) {\n return false;\n }\n\n return expected.call({}, actual) === true;\n}\n\nfunction _tryBlock(block) {\n var error;\n try {\n block();\n } catch (e) {\n error = e;\n }\n return error;\n}\n\nfunction _throws(shouldThrow, block, expected, message) {\n var actual;\n\n if (typeof block !== 'function') {\n throw new TypeError('\"block\" argument must be a function');\n }\n\n if (typeof expected === 'string') {\n message = expected;\n expected = null;\n }\n\n actual = _tryBlock(block);\n\n message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +\n (message ? ' ' + message : '.');\n\n if (shouldThrow && !actual) {\n fail(actual, expected, 'Missing expected exception' + message);\n }\n\n var userProvidedMessage = typeof message === 'string';\n var isUnwantedException = !shouldThrow && isError(actual);\n var isUnexpectedException = !shouldThrow && actual && !expected;\n\n if ((isUnwantedException &&\n userProvidedMessage &&\n expectedException(actual, expected)) ||\n isUnexpectedException) {\n fail(actual, expected, 'Got unwanted exception' + message);\n }\n\n if ((shouldThrow && actual && expected &&\n !expectedException(actual, expected)) || (!shouldThrow && actual)) {\n throw actual;\n }\n}\n\n// 11. Expected to throw an error:\n// assert.throws(block, Error_opt, message_opt);\nassert.throws = throws;\nfunction throws(block, /*optional*/error, /*optional*/message) {\n _throws(true, block, error, message);\n}\n\n// EXTENSION! This is annoying to write outside this module.\nassert.doesNotThrow = doesNotThrow;\nfunction doesNotThrow(block, /*optional*/error, /*optional*/message) {\n _throws(false, block, error, message);\n}\n\nassert.ifError = ifError;\nfunction ifError(err) {\n if (err) throw err;\n}\n\nvar _polyfillNode_assert = /*#__PURE__*/Object.freeze({\n __proto__: null,\n AssertionError: AssertionError,\n assert: ok,\n deepEqual: deepEqual,\n deepStrictEqual: deepStrictEqual,\n default: assert,\n doesNotThrow: doesNotThrow,\n equal: equal,\n fail: fail,\n ifError: ifError,\n notDeepEqual: notDeepEqual,\n notDeepStrictEqual: notDeepStrictEqual,\n notEqual: notEqual,\n notStrictEqual: notStrictEqual,\n ok: ok,\n strictEqual: strictEqual,\n throws: throws\n});\n\nvar require$$4 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_assert);\n\n(function (exports) {\n\n /* eslint camelcase: \"off\" */\n var assert = require$$4;\n var Zstream = require$$1$2;\n var zlib_deflate = require$$2;\n var zlib_inflate = require$$3$1;\n var constants = require$$4$1;\n for (var key in constants) {\n exports[key] = constants[key];\n }\n\n // zlib modes\n exports.NONE = 0;\n exports.DEFLATE = 1;\n exports.INFLATE = 2;\n exports.GZIP = 3;\n exports.GUNZIP = 4;\n exports.DEFLATERAW = 5;\n exports.INFLATERAW = 6;\n exports.UNZIP = 7;\n var GZIP_HEADER_ID1 = 0x1f;\n var GZIP_HEADER_ID2 = 0x8b;\n\n /**\n * Emulate Node's zlib C++ layer for use by the JS layer in index.js\n */\n function Zlib(mode) {\n if (typeof mode !== 'number' || mode < exports.DEFLATE || mode > exports.UNZIP) {\n throw new TypeError('Bad argument');\n }\n this.dictionary = null;\n this.err = 0;\n this.flush = 0;\n this.init_done = false;\n this.level = 0;\n this.memLevel = 0;\n this.mode = mode;\n this.strategy = 0;\n this.windowBits = 0;\n this.write_in_progress = false;\n this.pending_close = false;\n this.gzip_id_bytes_read = 0;\n }\n Zlib.prototype.close = function () {\n if (this.write_in_progress) {\n this.pending_close = true;\n return;\n }\n this.pending_close = false;\n assert(this.init_done, 'close before init');\n assert(this.mode <= exports.UNZIP);\n if (this.mode === exports.DEFLATE || this.mode === exports.GZIP || this.mode === exports.DEFLATERAW) {\n zlib_deflate.deflateEnd(this.strm);\n } else if (this.mode === exports.INFLATE || this.mode === exports.GUNZIP || this.mode === exports.INFLATERAW || this.mode === exports.UNZIP) {\n zlib_inflate.inflateEnd(this.strm);\n }\n this.mode = exports.NONE;\n this.dictionary = null;\n };\n Zlib.prototype.write = function (flush, input, in_off, in_len, out, out_off, out_len) {\n return this._write(true, flush, input, in_off, in_len, out, out_off, out_len);\n };\n Zlib.prototype.writeSync = function (flush, input, in_off, in_len, out, out_off, out_len) {\n return this._write(false, flush, input, in_off, in_len, out, out_off, out_len);\n };\n Zlib.prototype._write = function (async, flush, input, in_off, in_len, out, out_off, out_len) {\n assert.equal(arguments.length, 8);\n assert(this.init_done, 'write before init');\n assert(this.mode !== exports.NONE, 'already finalized');\n assert.equal(false, this.write_in_progress, 'write already in progress');\n assert.equal(false, this.pending_close, 'close is pending');\n this.write_in_progress = true;\n assert.equal(false, flush === undefined, 'must provide flush value');\n this.write_in_progress = true;\n if (flush !== exports.Z_NO_FLUSH && flush !== exports.Z_PARTIAL_FLUSH && flush !== exports.Z_SYNC_FLUSH && flush !== exports.Z_FULL_FLUSH && flush !== exports.Z_FINISH && flush !== exports.Z_BLOCK) {\n throw new Error('Invalid flush value');\n }\n if (input == null) {\n input = Buffer$2.alloc(0);\n in_len = 0;\n in_off = 0;\n }\n this.strm.avail_in = in_len;\n this.strm.input = input;\n this.strm.next_in = in_off;\n this.strm.avail_out = out_len;\n this.strm.output = out;\n this.strm.next_out = out_off;\n this.flush = flush;\n if (!async) {\n // sync version\n this._process();\n if (this._checkError()) {\n return this._afterSync();\n }\n return;\n }\n\n // async version\n var self = this;\n browser$1$1.nextTick(function () {\n self._process();\n self._after();\n });\n return this;\n };\n Zlib.prototype._afterSync = function () {\n var avail_out = this.strm.avail_out;\n var avail_in = this.strm.avail_in;\n this.write_in_progress = false;\n return [avail_in, avail_out];\n };\n Zlib.prototype._process = function () {\n var next_expected_header_byte = null;\n\n // If the avail_out is left at 0, then it means that it ran out\n // of room. If there was avail_out left over, then it means\n // that all of the input was consumed.\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.GZIP:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflate(this.strm, this.flush);\n break;\n case exports.UNZIP:\n if (this.strm.avail_in > 0) {\n next_expected_header_byte = this.strm.next_in;\n }\n switch (this.gzip_id_bytes_read) {\n case 0:\n if (next_expected_header_byte === null) {\n break;\n }\n if (this.strm.input[next_expected_header_byte] === GZIP_HEADER_ID1) {\n this.gzip_id_bytes_read = 1;\n next_expected_header_byte++;\n if (this.strm.avail_in === 1) {\n // The only available byte was already read.\n break;\n }\n } else {\n this.mode = exports.INFLATE;\n break;\n }\n\n // fallthrough\n case 1:\n if (next_expected_header_byte === null) {\n break;\n }\n if (this.strm.input[next_expected_header_byte] === GZIP_HEADER_ID2) {\n this.gzip_id_bytes_read = 2;\n this.mode = exports.GUNZIP;\n } else {\n // There is no actual difference between INFLATE and INFLATERAW\n // (after initialization).\n this.mode = exports.INFLATE;\n }\n break;\n default:\n throw new Error('invalid number of gzip magic number bytes read');\n }\n\n // fallthrough\n case exports.INFLATE:\n case exports.GUNZIP:\n case exports.INFLATERAW:\n this.err = zlib_inflate.inflate(this.strm, this.flush\n\n // If data was encoded with dictionary\n );\n if (this.err === exports.Z_NEED_DICT && this.dictionary) {\n // Load it\n this.err = zlib_inflate.inflateSetDictionary(this.strm, this.dictionary);\n if (this.err === exports.Z_OK) {\n // And try to decode again\n this.err = zlib_inflate.inflate(this.strm, this.flush);\n } else if (this.err === exports.Z_DATA_ERROR) {\n // Both inflateSetDictionary() and inflate() return Z_DATA_ERROR.\n // Make it possible for After() to tell a bad dictionary from bad\n // input.\n this.err = exports.Z_NEED_DICT;\n }\n }\n while (this.strm.avail_in > 0 && this.mode === exports.GUNZIP && this.err === exports.Z_STREAM_END && this.strm.next_in[0] !== 0x00) {\n // Bytes remain in input buffer. Perhaps this is another compressed\n // member in the same archive, or just trailing garbage.\n // Trailing zero bytes are okay, though, since they are frequently\n // used for padding.\n\n this.reset();\n this.err = zlib_inflate.inflate(this.strm, this.flush);\n }\n break;\n default:\n throw new Error('Unknown mode ' + this.mode);\n }\n };\n Zlib.prototype._checkError = function () {\n // Acceptable error states depend on the type of zlib stream.\n switch (this.err) {\n case exports.Z_OK:\n case exports.Z_BUF_ERROR:\n if (this.strm.avail_out !== 0 && this.flush === exports.Z_FINISH) {\n this._error('unexpected end of file');\n return false;\n }\n break;\n case exports.Z_STREAM_END:\n // normal statuses, not fatal\n break;\n case exports.Z_NEED_DICT:\n if (this.dictionary == null) {\n this._error('Missing dictionary');\n } else {\n this._error('Bad dictionary');\n }\n return false;\n default:\n // something else.\n this._error('Zlib error');\n return false;\n }\n return true;\n };\n Zlib.prototype._after = function () {\n if (!this._checkError()) {\n return;\n }\n var avail_out = this.strm.avail_out;\n var avail_in = this.strm.avail_in;\n this.write_in_progress = false;\n\n // call the write() cb\n this.callback(avail_in, avail_out);\n if (this.pending_close) {\n this.close();\n }\n };\n Zlib.prototype._error = function (message) {\n if (this.strm.msg) {\n message = this.strm.msg;\n }\n this.onerror(message, this.err\n\n // no hope of rescue.\n );\n this.write_in_progress = false;\n if (this.pending_close) {\n this.close();\n }\n };\n Zlib.prototype.init = function (windowBits, level, memLevel, strategy, dictionary) {\n assert(arguments.length === 4 || arguments.length === 5, 'init(windowBits, level, memLevel, strategy, [dictionary])');\n assert(windowBits >= 8 && windowBits <= 15, 'invalid windowBits');\n assert(level >= -1 && level <= 9, 'invalid compression level');\n assert(memLevel >= 1 && memLevel <= 9, 'invalid memlevel');\n assert(strategy === exports.Z_FILTERED || strategy === exports.Z_HUFFMAN_ONLY || strategy === exports.Z_RLE || strategy === exports.Z_FIXED || strategy === exports.Z_DEFAULT_STRATEGY, 'invalid strategy');\n this._init(level, windowBits, memLevel, strategy, dictionary);\n this._setDictionary();\n };\n Zlib.prototype.params = function () {\n throw new Error('deflateParams Not supported');\n };\n Zlib.prototype.reset = function () {\n this._reset();\n this._setDictionary();\n };\n Zlib.prototype._init = function (level, windowBits, memLevel, strategy, dictionary) {\n this.level = level;\n this.windowBits = windowBits;\n this.memLevel = memLevel;\n this.strategy = strategy;\n this.flush = exports.Z_NO_FLUSH;\n this.err = exports.Z_OK;\n if (this.mode === exports.GZIP || this.mode === exports.GUNZIP) {\n this.windowBits += 16;\n }\n if (this.mode === exports.UNZIP) {\n this.windowBits += 32;\n }\n if (this.mode === exports.DEFLATERAW || this.mode === exports.INFLATERAW) {\n this.windowBits = -1 * this.windowBits;\n }\n this.strm = new Zstream();\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.GZIP:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflateInit2(this.strm, this.level, exports.Z_DEFLATED, this.windowBits, this.memLevel, this.strategy);\n break;\n case exports.INFLATE:\n case exports.GUNZIP:\n case exports.INFLATERAW:\n case exports.UNZIP:\n this.err = zlib_inflate.inflateInit2(this.strm, this.windowBits);\n break;\n default:\n throw new Error('Unknown mode ' + this.mode);\n }\n if (this.err !== exports.Z_OK) {\n this._error('Init error');\n }\n this.dictionary = dictionary;\n this.write_in_progress = false;\n this.init_done = true;\n };\n Zlib.prototype._setDictionary = function () {\n if (this.dictionary == null) {\n return;\n }\n this.err = exports.Z_OK;\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.DEFLATERAW:\n this.err = zlib_deflate.deflateSetDictionary(this.strm, this.dictionary);\n break;\n }\n if (this.err !== exports.Z_OK) {\n this._error('Failed to set dictionary');\n }\n };\n Zlib.prototype._reset = function () {\n this.err = exports.Z_OK;\n switch (this.mode) {\n case exports.DEFLATE:\n case exports.DEFLATERAW:\n case exports.GZIP:\n this.err = zlib_deflate.deflateReset(this.strm);\n break;\n case exports.INFLATE:\n case exports.INFLATERAW:\n case exports.GUNZIP:\n this.err = zlib_inflate.inflateReset(this.strm);\n break;\n }\n if (this.err !== exports.Z_OK) {\n this._error('Failed to reset stream');\n }\n };\n exports.Zlib = Zlib;\n})(binding);\n\n(function (exports) {\n\n var Buffer = require$$0.Buffer;\n var Transform = readableBrowserExports.Transform;\n var binding$1 = binding;\n var util = require$$3;\n var assert = require$$4.ok;\n var kMaxLength = require$$0.kMaxLength;\n var kRangeErrorMessage = 'Cannot create final Buffer. It would be larger ' + 'than 0x' + kMaxLength.toString(16) + ' bytes';\n\n // zlib doesn't provide these, so kludge them in following the same\n // const naming scheme zlib uses.\n binding$1.Z_MIN_WINDOWBITS = 8;\n binding$1.Z_MAX_WINDOWBITS = 15;\n binding$1.Z_DEFAULT_WINDOWBITS = 15;\n\n // fewer than 64 bytes per chunk is stupid.\n // technically it could work with as few as 8, but even 64 bytes\n // is absurdly low. Usually a MB or more is best.\n binding$1.Z_MIN_CHUNK = 64;\n binding$1.Z_MAX_CHUNK = Infinity;\n binding$1.Z_DEFAULT_CHUNK = 16 * 1024;\n binding$1.Z_MIN_MEMLEVEL = 1;\n binding$1.Z_MAX_MEMLEVEL = 9;\n binding$1.Z_DEFAULT_MEMLEVEL = 8;\n binding$1.Z_MIN_LEVEL = -1;\n binding$1.Z_MAX_LEVEL = 9;\n binding$1.Z_DEFAULT_LEVEL = binding$1.Z_DEFAULT_COMPRESSION;\n\n // expose all the zlib constants\n var bkeys = Object.keys(binding$1);\n for (var bk = 0; bk < bkeys.length; bk++) {\n var bkey = bkeys[bk];\n if (bkey.match(/^Z/)) {\n Object.defineProperty(exports, bkey, {\n enumerable: true,\n value: binding$1[bkey],\n writable: false\n });\n }\n }\n\n // translation table for return codes.\n var codes = {\n Z_OK: binding$1.Z_OK,\n Z_STREAM_END: binding$1.Z_STREAM_END,\n Z_NEED_DICT: binding$1.Z_NEED_DICT,\n Z_ERRNO: binding$1.Z_ERRNO,\n Z_STREAM_ERROR: binding$1.Z_STREAM_ERROR,\n Z_DATA_ERROR: binding$1.Z_DATA_ERROR,\n Z_MEM_ERROR: binding$1.Z_MEM_ERROR,\n Z_BUF_ERROR: binding$1.Z_BUF_ERROR,\n Z_VERSION_ERROR: binding$1.Z_VERSION_ERROR\n };\n var ckeys = Object.keys(codes);\n for (var ck = 0; ck < ckeys.length; ck++) {\n var ckey = ckeys[ck];\n codes[codes[ckey]] = ckey;\n }\n Object.defineProperty(exports, 'codes', {\n enumerable: true,\n value: Object.freeze(codes),\n writable: false\n });\n exports.Deflate = Deflate;\n exports.Inflate = Inflate;\n exports.Gzip = Gzip;\n exports.Gunzip = Gunzip;\n exports.DeflateRaw = DeflateRaw;\n exports.InflateRaw = InflateRaw;\n exports.Unzip = Unzip;\n exports.createDeflate = function (o) {\n return new Deflate(o);\n };\n exports.createInflate = function (o) {\n return new Inflate(o);\n };\n exports.createDeflateRaw = function (o) {\n return new DeflateRaw(o);\n };\n exports.createInflateRaw = function (o) {\n return new InflateRaw(o);\n };\n exports.createGzip = function (o) {\n return new Gzip(o);\n };\n exports.createGunzip = function (o) {\n return new Gunzip(o);\n };\n exports.createUnzip = function (o) {\n return new Unzip(o);\n };\n\n // Convenience methods.\n // compress/decompress a string or buffer in one step.\n exports.deflate = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Deflate(opts), buffer, callback);\n };\n exports.deflateSync = function (buffer, opts) {\n return zlibBufferSync(new Deflate(opts), buffer);\n };\n exports.gzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Gzip(opts), buffer, callback);\n };\n exports.gzipSync = function (buffer, opts) {\n return zlibBufferSync(new Gzip(opts), buffer);\n };\n exports.deflateRaw = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new DeflateRaw(opts), buffer, callback);\n };\n exports.deflateRawSync = function (buffer, opts) {\n return zlibBufferSync(new DeflateRaw(opts), buffer);\n };\n exports.unzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Unzip(opts), buffer, callback);\n };\n exports.unzipSync = function (buffer, opts) {\n return zlibBufferSync(new Unzip(opts), buffer);\n };\n exports.inflate = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Inflate(opts), buffer, callback);\n };\n exports.inflateSync = function (buffer, opts) {\n return zlibBufferSync(new Inflate(opts), buffer);\n };\n exports.gunzip = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new Gunzip(opts), buffer, callback);\n };\n exports.gunzipSync = function (buffer, opts) {\n return zlibBufferSync(new Gunzip(opts), buffer);\n };\n exports.inflateRaw = function (buffer, opts, callback) {\n if (typeof opts === 'function') {\n callback = opts;\n opts = {};\n }\n return zlibBuffer(new InflateRaw(opts), buffer, callback);\n };\n exports.inflateRawSync = function (buffer, opts) {\n return zlibBufferSync(new InflateRaw(opts), buffer);\n };\n function zlibBuffer(engine, buffer, callback) {\n var buffers = [];\n var nread = 0;\n engine.on('error', onError);\n engine.on('end', onEnd);\n engine.end(buffer);\n flow();\n function flow() {\n var chunk;\n while (null !== (chunk = engine.read())) {\n buffers.push(chunk);\n nread += chunk.length;\n }\n engine.once('readable', flow);\n }\n function onError(err) {\n engine.removeListener('end', onEnd);\n engine.removeListener('readable', flow);\n callback(err);\n }\n function onEnd() {\n var buf;\n var err = null;\n if (nread >= kMaxLength) {\n err = new RangeError(kRangeErrorMessage);\n } else {\n buf = Buffer.concat(buffers, nread);\n }\n buffers = [];\n engine.close();\n callback(err, buf);\n }\n }\n function zlibBufferSync(engine, buffer) {\n if (typeof buffer === 'string') buffer = Buffer.from(buffer);\n if (!Buffer.isBuffer(buffer)) throw new TypeError('Not a string or buffer');\n var flushFlag = engine._finishFlushFlag;\n return engine._processChunk(buffer, flushFlag);\n }\n\n // generic zlib\n // minimal 2-byte header\n function Deflate(opts) {\n if (!(this instanceof Deflate)) return new Deflate(opts);\n Zlib.call(this, opts, binding$1.DEFLATE);\n }\n function Inflate(opts) {\n if (!(this instanceof Inflate)) return new Inflate(opts);\n Zlib.call(this, opts, binding$1.INFLATE);\n }\n\n // gzip - bigger header, same deflate compression\n function Gzip(opts) {\n if (!(this instanceof Gzip)) return new Gzip(opts);\n Zlib.call(this, opts, binding$1.GZIP);\n }\n function Gunzip(opts) {\n if (!(this instanceof Gunzip)) return new Gunzip(opts);\n Zlib.call(this, opts, binding$1.GUNZIP);\n }\n\n // raw - no header\n function DeflateRaw(opts) {\n if (!(this instanceof DeflateRaw)) return new DeflateRaw(opts);\n Zlib.call(this, opts, binding$1.DEFLATERAW);\n }\n function InflateRaw(opts) {\n if (!(this instanceof InflateRaw)) return new InflateRaw(opts);\n Zlib.call(this, opts, binding$1.INFLATERAW);\n }\n\n // auto-detect header.\n function Unzip(opts) {\n if (!(this instanceof Unzip)) return new Unzip(opts);\n Zlib.call(this, opts, binding$1.UNZIP);\n }\n function isValidFlushFlag(flag) {\n return flag === binding$1.Z_NO_FLUSH || flag === binding$1.Z_PARTIAL_FLUSH || flag === binding$1.Z_SYNC_FLUSH || flag === binding$1.Z_FULL_FLUSH || flag === binding$1.Z_FINISH || flag === binding$1.Z_BLOCK;\n }\n\n // the Zlib class they all inherit from\n // This thing manages the queue of requests, and returns\n // true or false if there is anything in the queue when\n // you call the .write() method.\n\n function Zlib(opts, mode) {\n var _this = this;\n this._opts = opts = opts || {};\n this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK;\n Transform.call(this, opts);\n if (opts.flush && !isValidFlushFlag(opts.flush)) {\n throw new Error('Invalid flush flag: ' + opts.flush);\n }\n if (opts.finishFlush && !isValidFlushFlag(opts.finishFlush)) {\n throw new Error('Invalid flush flag: ' + opts.finishFlush);\n }\n this._flushFlag = opts.flush || binding$1.Z_NO_FLUSH;\n this._finishFlushFlag = typeof opts.finishFlush !== 'undefined' ? opts.finishFlush : binding$1.Z_FINISH;\n if (opts.chunkSize) {\n if (opts.chunkSize < exports.Z_MIN_CHUNK || opts.chunkSize > exports.Z_MAX_CHUNK) {\n throw new Error('Invalid chunk size: ' + opts.chunkSize);\n }\n }\n if (opts.windowBits) {\n if (opts.windowBits < exports.Z_MIN_WINDOWBITS || opts.windowBits > exports.Z_MAX_WINDOWBITS) {\n throw new Error('Invalid windowBits: ' + opts.windowBits);\n }\n }\n if (opts.level) {\n if (opts.level < exports.Z_MIN_LEVEL || opts.level > exports.Z_MAX_LEVEL) {\n throw new Error('Invalid compression level: ' + opts.level);\n }\n }\n if (opts.memLevel) {\n if (opts.memLevel < exports.Z_MIN_MEMLEVEL || opts.memLevel > exports.Z_MAX_MEMLEVEL) {\n throw new Error('Invalid memLevel: ' + opts.memLevel);\n }\n }\n if (opts.strategy) {\n if (opts.strategy != exports.Z_FILTERED && opts.strategy != exports.Z_HUFFMAN_ONLY && opts.strategy != exports.Z_RLE && opts.strategy != exports.Z_FIXED && opts.strategy != exports.Z_DEFAULT_STRATEGY) {\n throw new Error('Invalid strategy: ' + opts.strategy);\n }\n }\n if (opts.dictionary) {\n if (!Buffer.isBuffer(opts.dictionary)) {\n throw new Error('Invalid dictionary: it should be a Buffer instance');\n }\n }\n this._handle = new binding$1.Zlib(mode);\n var self = this;\n this._hadError = false;\n this._handle.onerror = function (message, errno) {\n // there is no way to cleanly recover.\n // continuing only obscures problems.\n _close(self);\n self._hadError = true;\n var error = new Error(message);\n error.errno = errno;\n error.code = exports.codes[errno];\n self.emit('error', error);\n };\n var level = exports.Z_DEFAULT_COMPRESSION;\n if (typeof opts.level === 'number') level = opts.level;\n var strategy = exports.Z_DEFAULT_STRATEGY;\n if (typeof opts.strategy === 'number') strategy = opts.strategy;\n this._handle.init(opts.windowBits || exports.Z_DEFAULT_WINDOWBITS, level, opts.memLevel || exports.Z_DEFAULT_MEMLEVEL, strategy, opts.dictionary);\n this._buffer = Buffer.allocUnsafe(this._chunkSize);\n this._offset = 0;\n this._level = level;\n this._strategy = strategy;\n this.once('end', this.close);\n Object.defineProperty(this, '_closed', {\n get: function () {\n return !_this._handle;\n },\n configurable: true,\n enumerable: true\n });\n }\n util.inherits(Zlib, Transform);\n Zlib.prototype.params = function (level, strategy, callback) {\n if (level < exports.Z_MIN_LEVEL || level > exports.Z_MAX_LEVEL) {\n throw new RangeError('Invalid compression level: ' + level);\n }\n if (strategy != exports.Z_FILTERED && strategy != exports.Z_HUFFMAN_ONLY && strategy != exports.Z_RLE && strategy != exports.Z_FIXED && strategy != exports.Z_DEFAULT_STRATEGY) {\n throw new TypeError('Invalid strategy: ' + strategy);\n }\n if (this._level !== level || this._strategy !== strategy) {\n var self = this;\n this.flush(binding$1.Z_SYNC_FLUSH, function () {\n assert(self._handle, 'zlib binding closed');\n self._handle.params(level, strategy);\n if (!self._hadError) {\n self._level = level;\n self._strategy = strategy;\n if (callback) callback();\n }\n });\n } else {\n browser$1$1.nextTick(callback);\n }\n };\n Zlib.prototype.reset = function () {\n assert(this._handle, 'zlib binding closed');\n return this._handle.reset();\n };\n\n // This is the _flush function called by the transform class,\n // internally, when the last chunk has been written.\n Zlib.prototype._flush = function (callback) {\n this._transform(Buffer.alloc(0), '', callback);\n };\n Zlib.prototype.flush = function (kind, callback) {\n var _this2 = this;\n var ws = this._writableState;\n if (typeof kind === 'function' || kind === undefined && !callback) {\n callback = kind;\n kind = binding$1.Z_FULL_FLUSH;\n }\n if (ws.ended) {\n if (callback) browser$1$1.nextTick(callback);\n } else if (ws.ending) {\n if (callback) this.once('end', callback);\n } else if (ws.needDrain) {\n if (callback) {\n this.once('drain', function () {\n return _this2.flush(kind, callback);\n });\n }\n } else {\n this._flushFlag = kind;\n this.write(Buffer.alloc(0), '', callback);\n }\n };\n Zlib.prototype.close = function (callback) {\n _close(this, callback);\n browser$1$1.nextTick(emitCloseNT, this);\n };\n function _close(engine, callback) {\n if (callback) browser$1$1.nextTick(callback);\n\n // Caller may invoke .close after a zlib error (which will null _handle).\n if (!engine._handle) return;\n engine._handle.close();\n engine._handle = null;\n }\n function emitCloseNT(self) {\n self.emit('close');\n }\n Zlib.prototype._transform = function (chunk, encoding, cb) {\n var flushFlag;\n var ws = this._writableState;\n var ending = ws.ending || ws.ended;\n var last = ending && (!chunk || ws.length === chunk.length);\n if (chunk !== null && !Buffer.isBuffer(chunk)) return cb(new Error('invalid input'));\n if (!this._handle) return cb(new Error('zlib binding closed'));\n\n // If it's the last chunk, or a final flush, we use the Z_FINISH flush flag\n // (or whatever flag was provided using opts.finishFlush).\n // If it's explicitly flushing at some other time, then we use\n // Z_FULL_FLUSH. Otherwise, use Z_NO_FLUSH for maximum compression\n // goodness.\n if (last) flushFlag = this._finishFlushFlag;else {\n flushFlag = this._flushFlag;\n // once we've flushed the last of the queue, stop flushing and\n // go back to the normal behavior.\n if (chunk.length >= ws.length) {\n this._flushFlag = this._opts.flush || binding$1.Z_NO_FLUSH;\n }\n }\n this._processChunk(chunk, flushFlag, cb);\n };\n Zlib.prototype._processChunk = function (chunk, flushFlag, cb) {\n var availInBefore = chunk && chunk.length;\n var availOutBefore = this._chunkSize - this._offset;\n var inOff = 0;\n var self = this;\n var async = typeof cb === 'function';\n if (!async) {\n var buffers = [];\n var nread = 0;\n var error;\n this.on('error', function (er) {\n error = er;\n });\n assert(this._handle, 'zlib binding closed');\n do {\n var res = this._handle.writeSync(flushFlag, chunk,\n // in\n inOff,\n // in_off\n availInBefore,\n // in_len\n this._buffer,\n // out\n this._offset,\n //out_off\n availOutBefore); // out_len\n } while (!this._hadError && callback(res[0], res[1]));\n if (this._hadError) {\n throw error;\n }\n if (nread >= kMaxLength) {\n _close(this);\n throw new RangeError(kRangeErrorMessage);\n }\n var buf = Buffer.concat(buffers, nread);\n _close(this);\n return buf;\n }\n assert(this._handle, 'zlib binding closed');\n var req = this._handle.write(flushFlag, chunk,\n // in\n inOff,\n // in_off\n availInBefore,\n // in_len\n this._buffer,\n // out\n this._offset,\n //out_off\n availOutBefore); // out_len\n\n req.buffer = chunk;\n req.callback = callback;\n function callback(availInAfter, availOutAfter) {\n // When the callback is used in an async write, the callback's\n // context is the `req` object that was created. The req object\n // is === this._handle, and that's why it's important to null\n // out the values after they are done being used. `this._handle`\n // can stay in memory longer than the callback and buffer are needed.\n if (this) {\n this.buffer = null;\n this.callback = null;\n }\n if (self._hadError) return;\n var have = availOutBefore - availOutAfter;\n assert(have >= 0, 'have should not go down');\n if (have > 0) {\n var out = self._buffer.slice(self._offset, self._offset + have);\n self._offset += have;\n // serve some output to the consumer.\n if (async) {\n self.push(out);\n } else {\n buffers.push(out);\n nread += out.length;\n }\n }\n\n // exhausted the output buffer, or used all the input create a new one.\n if (availOutAfter === 0 || self._offset >= self._chunkSize) {\n availOutBefore = self._chunkSize;\n self._offset = 0;\n self._buffer = Buffer.allocUnsafe(self._chunkSize);\n }\n if (availOutAfter === 0) {\n // Not actually done. Need to reprocess.\n // Also, update the availInBefore to the availInAfter value,\n // so that if we have to hit it a third (fourth, etc.) time,\n // it'll have the correct byte counts.\n inOff += availInBefore - availInAfter;\n availInBefore = availInAfter;\n if (!async) return true;\n var newReq = self._handle.write(flushFlag, chunk, inOff, availInBefore, self._buffer, self._offset, self._chunkSize);\n newReq.callback = callback; // this same function\n newReq.buffer = chunk;\n return;\n }\n if (!async) return false;\n\n // finished with the chunk.\n cb();\n }\n };\n util.inherits(Deflate, Zlib);\n util.inherits(Inflate, Zlib);\n util.inherits(Gzip, Zlib);\n util.inherits(Gunzip, Zlib);\n util.inherits(DeflateRaw, Zlib);\n util.inherits(InflateRaw, Zlib);\n util.inherits(Unzip, Zlib);\n})(lib);\nvar zlib = /*@__PURE__*/getDefaultExportFromCjs(lib);\n\nclass PDFReference extends stream.Writable {\n constructor(document, id, data) {\n super({\n decodeStrings: false\n });\n this.finalize = this.finalize.bind(this);\n this.document = document;\n this.id = id;\n if (data == null) {\n data = {};\n }\n this.data = data;\n this.gen = 0;\n this.deflate = null;\n this.compress = this.document.compress && !this.data.Filter;\n this.uncompressedLength = 0;\n this.chunks = [];\n }\n initDeflate() {\n this.data.Filter = 'FlateDecode';\n this.deflate = zlib.createDeflate();\n this.deflate.on('data', chunk => {\n this.chunks.push(chunk);\n return this.data.Length += chunk.length;\n });\n return this.deflate.on('end', this.finalize);\n }\n _write(chunk, encoding, callback) {\n if (!(chunk instanceof Uint8Array)) {\n chunk = Buffer$2.from(chunk + '\\n', 'binary');\n }\n this.uncompressedLength += chunk.length;\n if (this.data.Length == null) {\n this.data.Length = 0;\n }\n if (this.compress) {\n if (!this.deflate) {\n this.initDeflate();\n }\n this.deflate.write(chunk);\n } else {\n this.chunks.push(chunk);\n this.data.Length += chunk.length;\n }\n return callback();\n }\n end() {\n super.end(...arguments);\n if (this.deflate) {\n return this.deflate.end();\n }\n return this.finalize();\n }\n finalize() {\n this.offset = this.document._offset;\n this.document._write(this.id + \" \" + this.gen + \" obj\");\n this.document._write(PDFObject$1.convert(this.data));\n if (this.chunks.length) {\n this.document._write('stream');\n for (let chunk of Array.from(this.chunks)) {\n this.document._write(chunk);\n }\n this.chunks.length = 0; // free up memory\n this.document._write('\\nendstream');\n }\n this.document._write('endobj');\n return this.document._refEnd(this);\n }\n toString() {\n return this.id + \" \" + this.gen + \" R\";\n }\n}\n\n/*\nPDFTree - abstract base class for name and number tree objects\n*/\n\nclass PDFTree {\n constructor(options) {\n if (options === void 0) {\n options = {};\n }\n this._items = {};\n // disable /Limits output for this tree\n this.limits = typeof options.limits === 'boolean' ? options.limits : true;\n }\n add(key, val) {\n return this._items[key] = val;\n }\n get(key) {\n return this._items[key];\n }\n toString() {\n // Needs to be sorted by key\n const sortedKeys = Object.keys(this._items).sort((a, b) => this._compareKeys(a, b));\n const out = ['<<'];\n if (this.limits && sortedKeys.length > 1) {\n const first = sortedKeys[0],\n last = sortedKeys[sortedKeys.length - 1];\n out.push(\" /Limits \" + PDFObject$1.convert([this._dataForKey(first), this._dataForKey(last)]));\n }\n out.push(\" /\" + this._keysName() + \" [\");\n for (let key of sortedKeys) {\n out.push(\" \" + PDFObject$1.convert(this._dataForKey(key)) + \" \" + PDFObject$1.convert(this._items[key]));\n }\n out.push(']');\n out.push('>>');\n return out.join('\\n');\n }\n _compareKeys( /*a, b*/\n ) {\n throw new Error('Must be implemented by subclasses');\n }\n _keysName() {\n throw new Error('Must be implemented by subclasses');\n }\n _dataForKey( /*k*/\n ) {\n throw new Error('Must be implemented by subclasses');\n }\n}\n\n/*\nPDFNameTree - represents a name tree object\n*/\n\nclass PDFNameTree extends PDFTree {\n _compareKeys(a, b) {\n return a.localeCompare(b);\n }\n _keysName() {\n return 'Names';\n }\n _dataForKey(k) {\n return new String(k);\n }\n}\n\nconst escapableRe = /[\\n\\r\\t\\b\\f\\(\\)\\\\]/g;\nconst escapable = {\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\\\': '\\\\\\\\',\n '(': '\\\\(',\n ')': '\\\\)'\n};\nconst pad = (str, length) => (Array(length + 1).join('0') + str).slice(-length);\n\n// Convert little endian UTF-16 to big endian\nconst swapBytes = function (buff) {\n const l = buff.length;\n if (l & 0x01) {\n throw new Error('Buffer length must be even');\n } else {\n for (let i = 0, end = l - 1; i < end; i += 2) {\n const a = buff[i];\n buff[i] = buff[i + 1];\n buff[i + 1] = a;\n }\n }\n return buff;\n};\nclass PDFObject {\n static convert(object) {\n // String literals are converted to the PDF name type\n if (typeof object === 'string') {\n return \"/\" + object;\n }\n\n // String objects are converted to PDF strings (UTF-16)\n if (object instanceof String) {\n let string = object;\n // Detect if this is a unicode string\n let isUnicode = false;\n for (let i = 0, end = string.length; i < end; i++) {\n if (string.charCodeAt(i) > 0x7f) {\n isUnicode = true;\n break;\n }\n }\n\n // If so, encode it as big endian UTF-16\n if (isUnicode) {\n string = swapBytes(Buffer$2.from(\"\\uFEFF\" + string, 'utf16le')).toString('binary');\n }\n\n // Escape characters as required by the spec\n string = string.replace(escapableRe, c => escapable[c]);\n return \"(\" + string + \")\";\n\n // Buffers are converted to PDF hex strings\n }\n if (Buffer$2.isBuffer(object)) {\n return \"<\" + object.toString('hex') + \">\";\n }\n if (object instanceof PDFReference || object instanceof PDFNameTree) {\n return object.toString();\n }\n if (object instanceof Date) {\n return \"(D:\" + pad(object.getUTCFullYear(), 4) + pad(object.getUTCMonth() + 1, 2) + pad(object.getUTCDate(), 2) + pad(object.getUTCHours(), 2) + pad(object.getUTCMinutes(), 2) + pad(object.getUTCSeconds(), 2) + 'Z)';\n }\n if (Array.isArray(object)) {\n const items = Array.from(object).map(e => PDFObject.convert(e)).join(' ');\n return \"[\" + items + \"]\";\n }\n if ({}.toString.call(object) === '[object Object]') {\n const out = ['<<'];\n for (let key in object) {\n const val = object[key];\n out.push(\"/\" + key + \" \" + PDFObject.convert(val));\n }\n out.push('>>');\n return out.join('\\n');\n }\n if (typeof object === 'number') {\n return PDFObject.number(object);\n }\n return \"\" + object;\n }\n static number(n) {\n if (n > -1e21 && n < 1e21) {\n return Math.round(n * 1e6) / 1e6;\n }\n throw new Error(\"unsupported number: \" + n);\n }\n}\nvar PDFObject$1 = PDFObject;\n\n/*\nPDFPage - represents a single page in the PDF document\nBy Devon Govett\n*/\n\nconst DEFAULT_MARGINS = {\n top: 72,\n left: 72,\n bottom: 72,\n right: 72\n};\nconst SIZES = {\n '4A0': [4767.87, 6740.79],\n '2A0': [3370.39, 4767.87],\n A0: [2383.94, 3370.39],\n A1: [1683.78, 2383.94],\n A2: [1190.55, 1683.78],\n A3: [841.89, 1190.55],\n A4: [595.28, 841.89],\n A5: [419.53, 595.28],\n A6: [297.64, 419.53],\n A7: [209.76, 297.64],\n A8: [147.4, 209.76],\n A9: [104.88, 147.4],\n A10: [73.7, 104.88],\n B0: [2834.65, 4008.19],\n B1: [2004.09, 2834.65],\n B2: [1417.32, 2004.09],\n B3: [1000.63, 1417.32],\n B4: [708.66, 1000.63],\n B5: [498.9, 708.66],\n B6: [354.33, 498.9],\n B7: [249.45, 354.33],\n B8: [175.75, 249.45],\n B9: [124.72, 175.75],\n B10: [87.87, 124.72],\n C0: [2599.37, 3676.54],\n C1: [1836.85, 2599.37],\n C2: [1298.27, 1836.85],\n C3: [918.43, 1298.27],\n C4: [649.13, 918.43],\n C5: [459.21, 649.13],\n C6: [323.15, 459.21],\n C7: [229.61, 323.15],\n C8: [161.57, 229.61],\n C9: [113.39, 161.57],\n C10: [79.37, 113.39],\n RA0: [2437.8, 3458.27],\n RA1: [1729.13, 2437.8],\n RA2: [1218.9, 1729.13],\n RA3: [864.57, 1218.9],\n RA4: [609.45, 864.57],\n SRA0: [2551.18, 3628.35],\n SRA1: [1814.17, 2551.18],\n SRA2: [1275.59, 1814.17],\n SRA3: [907.09, 1275.59],\n SRA4: [637.8, 907.09],\n EXECUTIVE: [521.86, 756.0],\n FOLIO: [612.0, 936.0],\n LEGAL: [612.0, 1008.0],\n LETTER: [612.0, 792.0],\n TABLOID: [792.0, 1224.0]\n};\nclass PDFPage {\n constructor(document, options) {\n if (options === void 0) {\n options = {};\n }\n this.document = document;\n this.size = options.size || 'letter';\n this.layout = options.layout || 'portrait';\n this.userUnit = options.userUnit || 1.0;\n\n // process margins\n if (typeof options.margin === 'number') {\n this.margins = {\n top: options.margin,\n left: options.margin,\n bottom: options.margin,\n right: options.margin\n };\n\n // default to 1 inch margins\n } else {\n this.margins = options.margins || DEFAULT_MARGINS;\n }\n\n // calculate page dimensions\n const dimensions = Array.isArray(this.size) ? this.size : SIZES[this.size.toUpperCase()];\n this.width = dimensions[this.layout === 'portrait' ? 0 : 1];\n this.height = dimensions[this.layout === 'portrait' ? 1 : 0];\n this.content = this.document.ref();\n\n // Initialize the Font, XObject, and ExtGState dictionaries\n this.resources = this.document.ref({\n ProcSet: ['PDF', 'Text', 'ImageB', 'ImageC', 'ImageI']\n });\n\n // The page dictionary\n this.dictionary = this.document.ref({\n Type: 'Page',\n Parent: this.document._root.data.Pages,\n MediaBox: [0, 0, this.width, this.height],\n Contents: this.content,\n Resources: this.resources,\n UserUnit: this.userUnit\n });\n this.markings = [];\n }\n\n // Lazily create these objects\n get fonts() {\n const data = this.resources.data;\n return data.Font != null ? data.Font : data.Font = {};\n }\n get xobjects() {\n const data = this.resources.data;\n return data.XObject != null ? data.XObject : data.XObject = {};\n }\n get ext_gstates() {\n const data = this.resources.data;\n return data.ExtGState != null ? data.ExtGState : data.ExtGState = {};\n }\n get patterns() {\n const data = this.resources.data;\n return data.Pattern != null ? data.Pattern : data.Pattern = {};\n }\n get colorSpaces() {\n const data = this.resources.data;\n return data.ColorSpace || (data.ColorSpace = {});\n }\n get annotations() {\n const data = this.dictionary.data;\n return data.Annots != null ? data.Annots : data.Annots = [];\n }\n get structParentTreeKey() {\n const data = this.dictionary.data;\n return data.StructParents != null ? data.StructParents : data.StructParents = this.document.createStructParentTreeNextKey();\n }\n maxY() {\n return this.height - this.margins.bottom;\n }\n write(chunk) {\n return this.content.write(chunk);\n }\n end() {\n this.dictionary.end();\n this.resources.end();\n return this.content.end();\n }\n}\n\nconst wordArrayToBuffer = wordArray => {\n const byteArray = [];\n for (let i = 0; i < wordArray.sigBytes; i++) {\n byteArray.push(wordArray.words[Math.floor(i / 4)] >> 8 * (3 - i % 4) & 0xff);\n }\n return Buffer$2.from(byteArray);\n};\nclass PDFSecurity {\n static generateFileID(info) {\n if (info === void 0) {\n info = {};\n }\n let infoStr = info.CreationDate.getTime() + \"\\n\";\n for (let key in info) {\n if (!info.hasOwnProperty(key)) continue;\n infoStr += key + \": \" + info[key].valueOf() + \"\\n\";\n }\n return wordArrayToBuffer(MD5(infoStr));\n }\n}\n\nconst {\n number: number$2\n} = PDFObject$1;\nlet PDFGradient$1 = class PDFGradient {\n constructor(doc) {\n this.doc = doc;\n this.stops = [];\n this.embedded = false;\n this.transform = [1, 0, 0, 1, 0, 0];\n }\n stop(pos, color, opacity) {\n if (opacity == null) {\n opacity = 1;\n }\n color = this.doc._normalizeColor(color);\n if (this.stops.length === 0) {\n if (color.length === 3) {\n this._colorSpace = 'DeviceRGB';\n } else if (color.length === 4) {\n this._colorSpace = 'DeviceCMYK';\n } else if (color.length === 1) {\n this._colorSpace = 'DeviceGray';\n } else {\n throw new Error('Unknown color space');\n }\n } else if (this._colorSpace === 'DeviceRGB' && color.length !== 3 || this._colorSpace === 'DeviceCMYK' && color.length !== 4 || this._colorSpace === 'DeviceGray' && color.length !== 1) {\n throw new Error('All gradient stops must use the same color space');\n }\n opacity = Math.max(0, Math.min(1, opacity));\n this.stops.push([pos, color, opacity]);\n return this;\n }\n setTransform(m11, m12, m21, m22, dx, dy) {\n this.transform = [m11, m12, m21, m22, dx, dy];\n return this;\n }\n embed(m) {\n let fn;\n const stopsLength = this.stops.length;\n if (stopsLength === 0) {\n return;\n }\n this.embedded = true;\n this.matrix = m;\n\n // if the last stop comes before 100%, add a copy at 100%\n const last = this.stops[stopsLength - 1];\n if (last[0] < 1) {\n this.stops.push([1, last[1], last[2]]);\n }\n const bounds = [];\n const encode = [];\n const stops = [];\n for (let i = 0; i < stopsLength - 1; i++) {\n encode.push(0, 1);\n if (i + 2 !== stopsLength) {\n bounds.push(this.stops[i + 1][0]);\n }\n fn = this.doc.ref({\n FunctionType: 2,\n Domain: [0, 1],\n C0: this.stops[i + 0][1],\n C1: this.stops[i + 1][1],\n N: 1\n });\n stops.push(fn);\n fn.end();\n }\n\n // if there are only two stops, we don't need a stitching function\n if (stopsLength === 1) {\n fn = stops[0];\n } else {\n fn = this.doc.ref({\n FunctionType: 3,\n // stitching function\n Domain: [0, 1],\n Functions: stops,\n Bounds: bounds,\n Encode: encode\n });\n fn.end();\n }\n this.id = \"Sh\" + ++this.doc._gradCount;\n const shader = this.shader(fn);\n shader.end();\n const pattern = this.doc.ref({\n Type: 'Pattern',\n PatternType: 2,\n Shading: shader,\n Matrix: this.matrix.map(number$2)\n });\n pattern.end();\n if (this.stops.some(stop => stop[2] < 1)) {\n let grad = this.opacityGradient();\n grad._colorSpace = 'DeviceGray';\n for (let stop of this.stops) {\n grad.stop(stop[0], [stop[2]]);\n }\n grad = grad.embed(this.matrix);\n const pageBBox = [0, 0, this.doc.page.width, this.doc.page.height];\n const form = this.doc.ref({\n Type: 'XObject',\n Subtype: 'Form',\n FormType: 1,\n BBox: pageBBox,\n Group: {\n Type: 'Group',\n S: 'Transparency',\n CS: 'DeviceGray'\n },\n Resources: {\n ProcSet: ['PDF', 'Text', 'ImageB', 'ImageC', 'ImageI'],\n Pattern: {\n Sh1: grad\n }\n }\n });\n form.write('/Pattern cs /Sh1 scn');\n form.end(pageBBox.join(' ') + \" re f\");\n const gstate = this.doc.ref({\n Type: 'ExtGState',\n SMask: {\n Type: 'Mask',\n S: 'Luminosity',\n G: form\n }\n });\n gstate.end();\n const opacityPattern = this.doc.ref({\n Type: 'Pattern',\n PatternType: 1,\n PaintType: 1,\n TilingType: 2,\n BBox: pageBBox,\n XStep: pageBBox[2],\n YStep: pageBBox[3],\n Resources: {\n ProcSet: ['PDF', 'Text', 'ImageB', 'ImageC', 'ImageI'],\n Pattern: {\n Sh1: pattern\n },\n ExtGState: {\n Gs1: gstate\n }\n }\n });\n opacityPattern.write('/Gs1 gs /Pattern cs /Sh1 scn');\n opacityPattern.end(pageBBox.join(' ') + \" re f\");\n this.doc.page.patterns[this.id] = opacityPattern;\n } else {\n this.doc.page.patterns[this.id] = pattern;\n }\n return pattern;\n }\n apply(stroke) {\n // apply gradient transform to existing document ctm\n const [m0, m1, m2, m3, m4, m5] = this.doc._ctm;\n const [m11, m12, m21, m22, dx, dy] = this.transform;\n const m = [m0 * m11 + m2 * m12, m1 * m11 + m3 * m12, m0 * m21 + m2 * m22, m1 * m21 + m3 * m22, m0 * dx + m2 * dy + m4, m1 * dx + m3 * dy + m5];\n if (!this.embedded || m.join(' ') !== this.matrix.join(' ')) {\n this.embed(m);\n }\n this.doc._setColorSpace('Pattern', stroke);\n const op = stroke ? 'SCN' : 'scn';\n return this.doc.addContent(\"/\" + this.id + \" \" + op);\n }\n};\nlet PDFLinearGradient$1 = class PDFLinearGradient extends PDFGradient$1 {\n constructor(doc, x1, y1, x2, y2) {\n super(doc);\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n }\n shader(fn) {\n return this.doc.ref({\n ShadingType: 2,\n ColorSpace: this._colorSpace,\n Coords: [this.x1, this.y1, this.x2, this.y2],\n Function: fn,\n Extend: [true, true]\n });\n }\n opacityGradient() {\n return new PDFLinearGradient(this.doc, this.x1, this.y1, this.x2, this.y2);\n }\n};\nlet PDFRadialGradient$1 = class PDFRadialGradient extends PDFGradient$1 {\n constructor(doc, x1, y1, r1, x2, y2, r2) {\n super(doc);\n this.doc = doc;\n this.x1 = x1;\n this.y1 = y1;\n this.r1 = r1;\n this.x2 = x2;\n this.y2 = y2;\n this.r2 = r2;\n }\n shader(fn) {\n return this.doc.ref({\n ShadingType: 3,\n ColorSpace: this._colorSpace,\n Coords: [this.x1, this.y1, this.r1, this.x2, this.y2, this.r2],\n Function: fn,\n Extend: [true, true]\n });\n }\n opacityGradient() {\n return new PDFRadialGradient(this.doc, this.x1, this.y1, this.r1, this.x2, this.y2, this.r2);\n }\n};\nvar Gradient = {\n PDFGradient: PDFGradient$1,\n PDFLinearGradient: PDFLinearGradient$1,\n PDFRadialGradient: PDFRadialGradient$1\n};\n\n/*\nPDF tiling pattern support. Uncolored only.\n */\n\nconst underlyingColorSpaces = ['DeviceCMYK', 'DeviceRGB'];\nlet PDFTilingPattern$1 = class PDFTilingPattern {\n constructor(doc, bBox, xStep, yStep, stream) {\n this.doc = doc;\n this.bBox = bBox;\n this.xStep = xStep;\n this.yStep = yStep;\n this.stream = stream;\n }\n createPattern() {\n // no resources needed for our current usage\n // required entry\n const resources = this.doc.ref();\n resources.end();\n // apply default transform matrix (flipped in the default doc._ctm)\n // see document.js & gradient.js\n const [m0, m1, m2, m3, m4, m5] = this.doc._ctm;\n const [m11, m12, m21, m22, dx, dy] = [1, 0, 0, 1, 0, 0];\n const m = [m0 * m11 + m2 * m12, m1 * m11 + m3 * m12, m0 * m21 + m2 * m22, m1 * m21 + m3 * m22, m0 * dx + m2 * dy + m4, m1 * dx + m3 * dy + m5];\n const pattern = this.doc.ref({\n Type: 'Pattern',\n PatternType: 1,\n // tiling\n PaintType: 2,\n // 1-colored, 2-uncolored\n TilingType: 2,\n // 2-no distortion\n BBox: this.bBox,\n XStep: this.xStep,\n YStep: this.yStep,\n Matrix: m.map(v => +v.toFixed(5)),\n Resources: resources\n });\n pattern.end(this.stream);\n return pattern;\n }\n embedPatternColorSpaces() {\n // map each pattern to an underlying color space\n // and embed on each page\n underlyingColorSpaces.forEach(csName => {\n const csId = this.getPatternColorSpaceId(csName);\n if (this.doc.page.colorSpaces[csId]) return;\n const cs = this.doc.ref(['Pattern', csName]);\n cs.end();\n this.doc.page.colorSpaces[csId] = cs;\n });\n }\n getPatternColorSpaceId(underlyingColorspace) {\n return \"CsP\" + underlyingColorspace;\n }\n embed() {\n if (!this.id) {\n this.doc._patternCount = this.doc._patternCount + 1;\n this.id = 'P' + this.doc._patternCount;\n this.pattern = this.createPattern();\n }\n\n // patterns are embedded in each page\n if (!this.doc.page.patterns[this.id]) {\n this.doc.page.patterns[this.id] = this.pattern;\n }\n }\n apply(stroke, patternColor) {\n // do any embedding/creating that might be needed\n this.embedPatternColorSpaces();\n this.embed();\n const normalizedColor = this.doc._normalizeColor(patternColor);\n if (!normalizedColor) throw Error(\"invalid pattern color. (value: \" + patternColor + \")\");\n\n // select one of the pattern color spaces\n const csId = this.getPatternColorSpaceId(this.doc._getColorSpace(normalizedColor));\n this.doc._setColorSpace(csId, stroke);\n\n // stroke/fill using the pattern and color (in the above underlying color space)\n const op = stroke ? 'SCN' : 'scn';\n return this.doc.addContent(normalizedColor.join(' ') + \" /\" + this.id + \" \" + op);\n }\n};\nvar pattern = {\n PDFTilingPattern: PDFTilingPattern$1\n};\n\nconst {\n PDFGradient,\n PDFLinearGradient,\n PDFRadialGradient\n} = Gradient;\nconst {\n PDFTilingPattern\n} = pattern;\nvar ColorMixin = {\n initColor() {\n // The opacity dictionaries\n this._opacityRegistry = {};\n this._opacityCount = 0;\n this._patternCount = 0;\n return this._gradCount = 0;\n },\n _normalizeColor(color) {\n if (typeof color === 'string') {\n if (color.charAt(0) === '#') {\n if (color.length === 4) {\n color = color.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i, '#$1$1$2$2$3$3');\n }\n const hex = parseInt(color.slice(1), 16);\n color = [hex >> 16, hex >> 8 & 0xff, hex & 0xff];\n } else if (namedColors[color]) {\n color = namedColors[color];\n }\n }\n if (Array.isArray(color)) {\n // RGB\n if (color.length === 3) {\n color = color.map(part => part / 255);\n // CMYK\n } else if (color.length === 4) {\n color = color.map(part => part / 100);\n }\n return color;\n }\n return null;\n },\n _setColor(color, stroke) {\n if (color instanceof PDFGradient) {\n color.apply(stroke);\n return true;\n // see if tiling pattern, decode & apply it it\n } else if (Array.isArray(color) && color[0] instanceof PDFTilingPattern) {\n color[0].apply(stroke, color[1]);\n return true;\n }\n // any other case should be a normal color and not a pattern\n return this._setColorCore(color, stroke);\n },\n _setColorCore(color, stroke) {\n color = this._normalizeColor(color);\n if (!color) {\n return false;\n }\n const op = stroke ? 'SCN' : 'scn';\n const space = this._getColorSpace(color);\n this._setColorSpace(space, stroke);\n color = color.join(' ');\n this.addContent(color + \" \" + op);\n return true;\n },\n _setColorSpace(space, stroke) {\n const op = stroke ? 'CS' : 'cs';\n return this.addContent(\"/\" + space + \" \" + op);\n },\n _getColorSpace(color) {\n return color.length === 4 ? 'DeviceCMYK' : 'DeviceRGB';\n },\n fillColor(color, opacity) {\n const set = this._setColor(color, false);\n if (set) {\n this.fillOpacity(opacity);\n }\n\n // save this for text wrapper, which needs to reset\n // the fill color on new pages\n this._fillColor = [color, opacity];\n return this;\n },\n strokeColor(color, opacity) {\n const set = this._setColor(color, true);\n if (set) {\n this.strokeOpacity(opacity);\n }\n return this;\n },\n opacity(opacity) {\n this._doOpacity(opacity, opacity);\n return this;\n },\n fillOpacity(opacity) {\n this._doOpacity(opacity, null);\n return this;\n },\n strokeOpacity(opacity) {\n this._doOpacity(null, opacity);\n return this;\n },\n _doOpacity(fillOpacity, strokeOpacity) {\n let dictionary, name;\n if (fillOpacity == null && strokeOpacity == null) {\n return;\n }\n if (fillOpacity != null) {\n fillOpacity = Math.max(0, Math.min(1, fillOpacity));\n }\n if (strokeOpacity != null) {\n strokeOpacity = Math.max(0, Math.min(1, strokeOpacity));\n }\n const key = fillOpacity + \"_\" + strokeOpacity;\n if (this._opacityRegistry[key]) {\n [dictionary, name] = this._opacityRegistry[key];\n } else {\n dictionary = {\n Type: 'ExtGState'\n };\n if (fillOpacity != null) {\n dictionary.ca = fillOpacity;\n }\n if (strokeOpacity != null) {\n dictionary.CA = strokeOpacity;\n }\n dictionary = this.ref(dictionary);\n dictionary.end();\n const id = ++this._opacityCount;\n name = \"Gs\" + id;\n this._opacityRegistry[key] = [dictionary, name];\n }\n this.page.ext_gstates[name] = dictionary;\n return this.addContent(\"/\" + name + \" gs\");\n },\n linearGradient(x1, y1, x2, y2) {\n return new PDFLinearGradient(this, x1, y1, x2, y2);\n },\n radialGradient(x1, y1, r1, x2, y2, r2) {\n return new PDFRadialGradient(this, x1, y1, r1, x2, y2, r2);\n },\n pattern(bbox, xStep, yStep, stream) {\n return new PDFTilingPattern(this, bbox, xStep, yStep, stream);\n }\n};\nvar namedColors = {\n aliceblue: [240, 248, 255],\n antiquewhite: [250, 235, 215],\n aqua: [0, 255, 255],\n aquamarine: [127, 255, 212],\n azure: [240, 255, 255],\n beige: [245, 245, 220],\n bisque: [255, 228, 196],\n black: [0, 0, 0],\n blanchedalmond: [255, 235, 205],\n blue: [0, 0, 255],\n blueviolet: [138, 43, 226],\n brown: [165, 42, 42],\n burlywood: [222, 184, 135],\n cadetblue: [95, 158, 160],\n chartreuse: [127, 255, 0],\n chocolate: [210, 105, 30],\n coral: [255, 127, 80],\n cornflowerblue: [100, 149, 237],\n cornsilk: [255, 248, 220],\n crimson: [220, 20, 60],\n cyan: [0, 255, 255],\n darkblue: [0, 0, 139],\n darkcyan: [0, 139, 139],\n darkgoldenrod: [184, 134, 11],\n darkgray: [169, 169, 169],\n darkgreen: [0, 100, 0],\n darkgrey: [169, 169, 169],\n darkkhaki: [189, 183, 107],\n darkmagenta: [139, 0, 139],\n darkolivegreen: [85, 107, 47],\n darkorange: [255, 140, 0],\n darkorchid: [153, 50, 204],\n darkred: [139, 0, 0],\n darksalmon: [233, 150, 122],\n darkseagreen: [143, 188, 143],\n darkslateblue: [72, 61, 139],\n darkslategray: [47, 79, 79],\n darkslategrey: [47, 79, 79],\n darkturquoise: [0, 206, 209],\n darkviolet: [148, 0, 211],\n deeppink: [255, 20, 147],\n deepskyblue: [0, 191, 255],\n dimgray: [105, 105, 105],\n dimgrey: [105, 105, 105],\n dodgerblue: [30, 144, 255],\n firebrick: [178, 34, 34],\n floralwhite: [255, 250, 240],\n forestgreen: [34, 139, 34],\n fuchsia: [255, 0, 255],\n gainsboro: [220, 220, 220],\n ghostwhite: [248, 248, 255],\n gold: [255, 215, 0],\n goldenrod: [218, 165, 32],\n gray: [128, 128, 128],\n grey: [128, 128, 128],\n green: [0, 128, 0],\n greenyellow: [173, 255, 47],\n honeydew: [240, 255, 240],\n hotpink: [255, 105, 180],\n indianred: [205, 92, 92],\n indigo: [75, 0, 130],\n ivory: [255, 255, 240],\n khaki: [240, 230, 140],\n lavender: [230, 230, 250],\n lavenderblush: [255, 240, 245],\n lawngreen: [124, 252, 0],\n lemonchiffon: [255, 250, 205],\n lightblue: [173, 216, 230],\n lightcoral: [240, 128, 128],\n lightcyan: [224, 255, 255],\n lightgoldenrodyellow: [250, 250, 210],\n lightgray: [211, 211, 211],\n lightgreen: [144, 238, 144],\n lightgrey: [211, 211, 211],\n lightpink: [255, 182, 193],\n lightsalmon: [255, 160, 122],\n lightseagreen: [32, 178, 170],\n lightskyblue: [135, 206, 250],\n lightslategray: [119, 136, 153],\n lightslategrey: [119, 136, 153],\n lightsteelblue: [176, 196, 222],\n lightyellow: [255, 255, 224],\n lime: [0, 255, 0],\n limegreen: [50, 205, 50],\n linen: [250, 240, 230],\n magenta: [255, 0, 255],\n maroon: [128, 0, 0],\n mediumaquamarine: [102, 205, 170],\n mediumblue: [0, 0, 205],\n mediumorchid: [186, 85, 211],\n mediumpurple: [147, 112, 219],\n mediumseagreen: [60, 179, 113],\n mediumslateblue: [123, 104, 238],\n mediumspringgreen: [0, 250, 154],\n mediumturquoise: [72, 209, 204],\n mediumvioletred: [199, 21, 133],\n midnightblue: [25, 25, 112],\n mintcream: [245, 255, 250],\n mistyrose: [255, 228, 225],\n moccasin: [255, 228, 181],\n navajowhite: [255, 222, 173],\n navy: [0, 0, 128],\n oldlace: [253, 245, 230],\n olive: [128, 128, 0],\n olivedrab: [107, 142, 35],\n orange: [255, 165, 0],\n orangered: [255, 69, 0],\n orchid: [218, 112, 214],\n palegoldenrod: [238, 232, 170],\n palegreen: [152, 251, 152],\n paleturquoise: [175, 238, 238],\n palevioletred: [219, 112, 147],\n papayawhip: [255, 239, 213],\n peachpuff: [255, 218, 185],\n peru: [205, 133, 63],\n pink: [255, 192, 203],\n plum: [221, 160, 221],\n powderblue: [176, 224, 230],\n purple: [128, 0, 128],\n red: [255, 0, 0],\n rosybrown: [188, 143, 143],\n royalblue: [65, 105, 225],\n saddlebrown: [139, 69, 19],\n salmon: [250, 128, 114],\n sandybrown: [244, 164, 96],\n seagreen: [46, 139, 87],\n seashell: [255, 245, 238],\n sienna: [160, 82, 45],\n silver: [192, 192, 192],\n skyblue: [135, 206, 235],\n slateblue: [106, 90, 205],\n slategray: [112, 128, 144],\n slategrey: [112, 128, 144],\n snow: [255, 250, 250],\n springgreen: [0, 255, 127],\n steelblue: [70, 130, 180],\n tan: [210, 180, 140],\n teal: [0, 128, 128],\n thistle: [216, 191, 216],\n tomato: [255, 99, 71],\n turquoise: [64, 224, 208],\n violet: [238, 130, 238],\n wheat: [245, 222, 179],\n white: [255, 255, 255],\n whitesmoke: [245, 245, 245],\n yellow: [255, 255, 0],\n yellowgreen: [154, 205, 50]\n};\n\n/* eslint-disable no-lonely-if */\nlet cx;\nlet cy;\nlet px;\nlet py;\nlet sx;\nlet sy;\ncx = cy = px = py = sx = sy = 0;\n\n// parseDataPath copy pasted from svgo\n// https://github.com/svg/svgo/blob/e4918ccdd1a2b5831defe0f00c1286744b479448/lib/path.js\n\n/**\n * @typedef {'M' | 'm' | 'Z' | 'z' | 'L' | 'l' | 'H' | 'h' | 'V' | 'v' | 'C' | 'c' | 'S' | 's' | 'Q' | 'q' | 'T' | 't' | 'A' | 'a'} PathDataCommand\n */\n\n/**\n * @typedef {Object} PathDataItem\n * @property {PathDataCommand} command\n * @property {number[]} args\n */\n\nconst argsCountPerCommand = {\n M: 2,\n m: 2,\n Z: 0,\n z: 0,\n L: 2,\n l: 2,\n H: 1,\n h: 1,\n V: 1,\n v: 1,\n C: 6,\n c: 6,\n S: 4,\n s: 4,\n Q: 4,\n q: 4,\n T: 2,\n t: 2,\n A: 7,\n a: 7\n};\n\n/**\n * @type {(c: string) => c is PathDataCommand}\n */\nconst isCommand = c => {\n return c in argsCountPerCommand;\n};\n\n/**\n * @type {(c: string) => boolean}\n */\nconst isWsp = c => {\n const codePoint = c.codePointAt(0);\n return codePoint === 0x20 || codePoint === 0x9 || codePoint === 0xd || codePoint === 0xa;\n};\n\n/**\n * @type {(c: string) => boolean}\n */\nconst isDigit = c => {\n const codePoint = c.codePointAt(0);\n if (codePoint == null) {\n return false;\n }\n return 48 <= codePoint && codePoint <= 57;\n};\n\n/**\n * @typedef {'none' | 'sign' | 'whole' | 'decimal_point' | 'decimal' | 'e' | 'exponent_sign' | 'exponent'} ReadNumberState\n */\n\n/**\n * @type {(string: string, cursor: number) => [number, number | null]}\n */\nconst readNumber = (string, cursor) => {\n let i = cursor;\n let value = '';\n let state = /** @type {ReadNumberState} */'none';\n for (; i < string.length; i += 1) {\n const c = string[i];\n if (c === '+' || c === '-') {\n if (state === 'none') {\n state = 'sign';\n value += c;\n continue;\n }\n if (state === 'e') {\n state = 'exponent_sign';\n value += c;\n continue;\n }\n }\n if (isDigit(c)) {\n if (state === 'none' || state === 'sign' || state === 'whole') {\n state = 'whole';\n value += c;\n continue;\n }\n if (state === 'decimal_point' || state === 'decimal') {\n state = 'decimal';\n value += c;\n continue;\n }\n if (state === 'e' || state === 'exponent_sign' || state === 'exponent') {\n state = 'exponent';\n value += c;\n continue;\n }\n }\n if (c === '.') {\n if (state === 'none' || state === 'sign' || state === 'whole') {\n state = 'decimal_point';\n value += c;\n continue;\n }\n }\n if (c === 'E' || c === 'e') {\n if (state === 'whole' || state === 'decimal_point' || state === 'decimal') {\n state = 'e';\n value += c;\n continue;\n }\n }\n break;\n }\n const number = Number.parseFloat(value);\n if (Number.isNaN(number)) {\n return [cursor, null];\n }\n // step back to delegate iteration to parent loop\n return [i - 1, number];\n};\n\n/**\n * @type {(string: string) => Array}\n */\nconst parsePathData = string => {\n /**\n * @type {Array}\n */\n const pathData = [];\n /**\n * @type {null | PathDataCommand}\n */\n let command = null;\n let args = /** @type {number[]} */[];\n let argsCount = 0;\n let canHaveComma = false;\n let hadComma = false;\n for (let i = 0; i < string.length; i += 1) {\n const c = string.charAt(i);\n if (isWsp(c)) {\n continue;\n }\n // allow comma only between arguments\n if (canHaveComma && c === ',') {\n if (hadComma) {\n break;\n }\n hadComma = true;\n continue;\n }\n if (isCommand(c)) {\n if (hadComma) {\n return pathData;\n }\n if (command == null) {\n // moveto should be leading command\n if (c !== 'M' && c !== 'm') {\n return pathData;\n }\n } else {\n // stop if previous command arguments are not flushed\n if (args.length !== 0) {\n return pathData;\n }\n }\n command = c;\n args = [];\n argsCount = argsCountPerCommand[command];\n canHaveComma = false;\n // flush command without arguments\n if (argsCount === 0) {\n pathData.push({\n command,\n args\n });\n }\n continue;\n }\n // avoid parsing arguments if no command detected\n if (command == null) {\n return pathData;\n }\n // read next argument\n let newCursor = i;\n let number = null;\n if (command === 'A' || command === 'a') {\n const position = args.length;\n if (position === 0 || position === 1) {\n // allow only positive number without sign as first two arguments\n if (c !== '+' && c !== '-') {\n [newCursor, number] = readNumber(string, i);\n }\n }\n if (position === 2 || position === 5 || position === 6) {\n [newCursor, number] = readNumber(string, i);\n }\n if (position === 3 || position === 4) {\n // read flags\n if (c === '0') {\n number = 0;\n }\n if (c === '1') {\n number = 1;\n }\n }\n } else {\n [newCursor, number] = readNumber(string, i);\n }\n if (number == null) {\n return pathData;\n }\n args.push(number);\n canHaveComma = true;\n hadComma = false;\n i = newCursor;\n // flush arguments when necessary count is reached\n if (args.length === argsCount) {\n pathData.push({\n command,\n args\n });\n // subsequent moveto coordinates are threated as implicit lineto commands\n if (command === 'M') {\n command = 'L';\n }\n if (command === 'm') {\n command = 'l';\n }\n args = [];\n }\n }\n return pathData;\n};\nconst apply = function (commands, doc) {\n // current point, control point, and subpath starting point\n cx = cy = px = py = sx = sy = 0;\n\n // run the commands\n for (let i = 0; i < commands.length; i++) {\n const {\n command,\n args\n } = commands[i];\n if (typeof runners[command] === 'function') {\n runners[command](doc, args);\n }\n }\n};\nconst runners = {\n M(doc, a) {\n cx = a[0];\n cy = a[1];\n px = py = null;\n sx = cx;\n sy = cy;\n return doc.moveTo(cx, cy);\n },\n m(doc, a) {\n cx += a[0];\n cy += a[1];\n px = py = null;\n sx = cx;\n sy = cy;\n return doc.moveTo(cx, cy);\n },\n C(doc, a) {\n cx = a[4];\n cy = a[5];\n px = a[2];\n py = a[3];\n return doc.bezierCurveTo(...a);\n },\n c(doc, a) {\n doc.bezierCurveTo(a[0] + cx, a[1] + cy, a[2] + cx, a[3] + cy, a[4] + cx, a[5] + cy);\n px = cx + a[2];\n py = cy + a[3];\n cx += a[4];\n return cy += a[5];\n },\n S(doc, a) {\n if (px === null) {\n px = cx;\n py = cy;\n }\n doc.bezierCurveTo(cx - (px - cx), cy - (py - cy), a[0], a[1], a[2], a[3]);\n px = a[0];\n py = a[1];\n cx = a[2];\n return cy = a[3];\n },\n s(doc, a) {\n if (px === null) {\n px = cx;\n py = cy;\n }\n doc.bezierCurveTo(cx - (px - cx), cy - (py - cy), cx + a[0], cy + a[1], cx + a[2], cy + a[3]);\n px = cx + a[0];\n py = cy + a[1];\n cx += a[2];\n return cy += a[3];\n },\n Q(doc, a) {\n px = a[0];\n py = a[1];\n cx = a[2];\n cy = a[3];\n return doc.quadraticCurveTo(a[0], a[1], cx, cy);\n },\n q(doc, a) {\n doc.quadraticCurveTo(a[0] + cx, a[1] + cy, a[2] + cx, a[3] + cy);\n px = cx + a[0];\n py = cy + a[1];\n cx += a[2];\n return cy += a[3];\n },\n T(doc, a) {\n if (px === null) {\n px = cx;\n py = cy;\n } else {\n px = cx - (px - cx);\n py = cy - (py - cy);\n }\n doc.quadraticCurveTo(px, py, a[0], a[1]);\n px = cx - (px - cx);\n py = cy - (py - cy);\n cx = a[0];\n return cy = a[1];\n },\n t(doc, a) {\n if (px === null) {\n px = cx;\n py = cy;\n } else {\n px = cx - (px - cx);\n py = cy - (py - cy);\n }\n doc.quadraticCurveTo(px, py, cx + a[0], cy + a[1]);\n cx += a[0];\n return cy += a[1];\n },\n A(doc, a) {\n solveArc(doc, cx, cy, a);\n cx = a[5];\n return cy = a[6];\n },\n a(doc, a) {\n a[5] += cx;\n a[6] += cy;\n solveArc(doc, cx, cy, a);\n cx = a[5];\n return cy = a[6];\n },\n L(doc, a) {\n cx = a[0];\n cy = a[1];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n l(doc, a) {\n cx += a[0];\n cy += a[1];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n H(doc, a) {\n cx = a[0];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n h(doc, a) {\n cx += a[0];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n V(doc, a) {\n cy = a[0];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n v(doc, a) {\n cy += a[0];\n px = py = null;\n return doc.lineTo(cx, cy);\n },\n Z(doc) {\n doc.closePath();\n cx = sx;\n return cy = sy;\n },\n z(doc) {\n doc.closePath();\n cx = sx;\n return cy = sy;\n }\n};\nconst solveArc = function (doc, x, y, coords) {\n const [rx, ry, rot, large, sweep, ex, ey] = coords;\n const segs = arcToSegments(ex, ey, rx, ry, large, sweep, rot, x, y);\n for (let seg of segs) {\n const bez = segmentToBezier(...seg);\n doc.bezierCurveTo(...bez);\n }\n};\n\n// from Inkscape svgtopdf, thanks!\nconst arcToSegments = function (x, y, rx, ry, large, sweep, rotateX, ox, oy) {\n const th = rotateX * (Math.PI / 180);\n const sin_th = Math.sin(th);\n const cos_th = Math.cos(th);\n rx = Math.abs(rx);\n ry = Math.abs(ry);\n px = cos_th * (ox - x) * 0.5 + sin_th * (oy - y) * 0.5;\n py = cos_th * (oy - y) * 0.5 - sin_th * (ox - x) * 0.5;\n let pl = px * px / (rx * rx) + py * py / (ry * ry);\n if (pl > 1) {\n pl = Math.sqrt(pl);\n rx *= pl;\n ry *= pl;\n }\n const a00 = cos_th / rx;\n const a01 = sin_th / rx;\n const a10 = -sin_th / ry;\n const a11 = cos_th / ry;\n const x0 = a00 * ox + a01 * oy;\n const y0 = a10 * ox + a11 * oy;\n const x1 = a00 * x + a01 * y;\n const y1 = a10 * x + a11 * y;\n const d = (x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0);\n let sfactor_sq = 1 / d - 0.25;\n if (sfactor_sq < 0) {\n sfactor_sq = 0;\n }\n let sfactor = Math.sqrt(sfactor_sq);\n if (sweep === large) {\n sfactor = -sfactor;\n }\n const xc = 0.5 * (x0 + x1) - sfactor * (y1 - y0);\n const yc = 0.5 * (y0 + y1) + sfactor * (x1 - x0);\n const th0 = Math.atan2(y0 - yc, x0 - xc);\n const th1 = Math.atan2(y1 - yc, x1 - xc);\n let th_arc = th1 - th0;\n if (th_arc < 0 && sweep === 1) {\n th_arc += 2 * Math.PI;\n } else if (th_arc > 0 && sweep === 0) {\n th_arc -= 2 * Math.PI;\n }\n const segments = Math.ceil(Math.abs(th_arc / (Math.PI * 0.5 + 0.001)));\n const result = [];\n for (let i = 0; i < segments; i++) {\n const th2 = th0 + i * th_arc / segments;\n const th3 = th0 + (i + 1) * th_arc / segments;\n result[i] = [xc, yc, th2, th3, rx, ry, sin_th, cos_th];\n }\n return result;\n};\nconst segmentToBezier = function (cx, cy, th0, th1, rx, ry, sin_th, cos_th) {\n const a00 = cos_th * rx;\n const a01 = -sin_th * ry;\n const a10 = sin_th * rx;\n const a11 = cos_th * ry;\n const th_half = 0.5 * (th1 - th0);\n const t = 8 / 3 * Math.sin(th_half * 0.5) * Math.sin(th_half * 0.5) / Math.sin(th_half);\n const x1 = cx + Math.cos(th0) - t * Math.sin(th0);\n const y1 = cy + Math.sin(th0) + t * Math.cos(th0);\n const x3 = cx + Math.cos(th1);\n const y3 = cy + Math.sin(th1);\n const x2 = x3 + t * Math.sin(th1);\n const y2 = y3 - t * Math.cos(th1);\n return [a00 * x1 + a01 * y1, a10 * x1 + a11 * y1, a00 * x2 + a01 * y2, a10 * x2 + a11 * y2, a00 * x3 + a01 * y3, a10 * x3 + a11 * y3];\n};\nclass SVGPath {\n static apply(doc, path) {\n const commands = parsePathData(path);\n apply(commands, doc);\n }\n}\n\nconst {\n number: number$1\n} = PDFObject$1;\n\n// This constant is used to approximate a symmetrical arc using a cubic\n// Bezier curve.\nconst KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0);\nvar VectorMixin = {\n initVector() {\n this._ctm = [1, 0, 0, 1, 0, 0]; // current transformation matrix\n return this._ctmStack = [];\n },\n save() {\n this._ctmStack.push(this._ctm.slice());\n // TODO: save/restore colorspace and styles so not setting it unnessesarily all the time?\n return this.addContent('q');\n },\n restore() {\n this._ctm = this._ctmStack.pop() || [1, 0, 0, 1, 0, 0];\n return this.addContent('Q');\n },\n closePath() {\n return this.addContent('h');\n },\n lineWidth(w) {\n return this.addContent(number$1(w) + \" w\");\n },\n _CAP_STYLES: {\n BUTT: 0,\n ROUND: 1,\n SQUARE: 2\n },\n lineCap(c) {\n if (typeof c === 'string') {\n c = this._CAP_STYLES[c.toUpperCase()];\n }\n return this.addContent(c + \" J\");\n },\n _JOIN_STYLES: {\n MITER: 0,\n ROUND: 1,\n BEVEL: 2\n },\n lineJoin(j) {\n if (typeof j === 'string') {\n j = this._JOIN_STYLES[j.toUpperCase()];\n }\n return this.addContent(j + \" j\");\n },\n miterLimit(m) {\n return this.addContent(number$1(m) + \" M\");\n },\n dash(length, options) {\n if (options === void 0) {\n options = {};\n }\n const originalLength = length;\n if (!Array.isArray(length)) {\n length = [length, options.space || length];\n }\n const valid = length.every(x => Number.isFinite(x) && x >= 0);\n if (!valid) {\n throw new Error(\"dash(\" + JSON.stringify(originalLength) + \", \" + JSON.stringify(options) + \") invalid, lengths must be numeric and greater than or equal to zero\");\n }\n length = length.map(number$1).join(' ');\n return this.addContent(\"[\" + length + \"] \" + number$1(options.phase || 0) + \" d\");\n },\n undash() {\n return this.addContent('[] 0 d');\n },\n moveTo(x, y) {\n return this.addContent(number$1(x) + \" \" + number$1(y) + \" m\");\n },\n lineTo(x, y) {\n return this.addContent(number$1(x) + \" \" + number$1(y) + \" l\");\n },\n bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) {\n return this.addContent(number$1(cp1x) + \" \" + number$1(cp1y) + \" \" + number$1(cp2x) + \" \" + number$1(cp2y) + \" \" + number$1(x) + \" \" + number$1(y) + \" c\");\n },\n quadraticCurveTo(cpx, cpy, x, y) {\n return this.addContent(number$1(cpx) + \" \" + number$1(cpy) + \" \" + number$1(x) + \" \" + number$1(y) + \" v\");\n },\n rect(x, y, w, h) {\n return this.addContent(number$1(x) + \" \" + number$1(y) + \" \" + number$1(w) + \" \" + number$1(h) + \" re\");\n },\n roundedRect(x, y, w, h, r) {\n if (r == null) {\n r = 0;\n }\n r = Math.min(r, 0.5 * w, 0.5 * h);\n\n // amount to inset control points from corners (see `ellipse`)\n const c = r * (1.0 - KAPPA);\n this.moveTo(x + r, y);\n this.lineTo(x + w - r, y);\n this.bezierCurveTo(x + w - c, y, x + w, y + c, x + w, y + r);\n this.lineTo(x + w, y + h - r);\n this.bezierCurveTo(x + w, y + h - c, x + w - c, y + h, x + w - r, y + h);\n this.lineTo(x + r, y + h);\n this.bezierCurveTo(x + c, y + h, x, y + h - c, x, y + h - r);\n this.lineTo(x, y + r);\n this.bezierCurveTo(x, y + c, x + c, y, x + r, y);\n return this.closePath();\n },\n ellipse(x, y, r1, r2) {\n // based on http://stackoverflow.com/questions/2172798/how-to-draw-an-oval-in-html5-canvas/2173084#2173084\n if (r2 == null) {\n r2 = r1;\n }\n x -= r1;\n y -= r2;\n const ox = r1 * KAPPA;\n const oy = r2 * KAPPA;\n const xe = x + r1 * 2;\n const ye = y + r2 * 2;\n const xm = x + r1;\n const ym = y + r2;\n this.moveTo(x, ym);\n this.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);\n this.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);\n this.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);\n this.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);\n return this.closePath();\n },\n circle(x, y, radius) {\n return this.ellipse(x, y, radius);\n },\n arc(x, y, radius, startAngle, endAngle, anticlockwise) {\n if (anticlockwise == null) {\n anticlockwise = false;\n }\n const TWO_PI = 2.0 * Math.PI;\n const HALF_PI = 0.5 * Math.PI;\n let deltaAng = endAngle - startAngle;\n if (Math.abs(deltaAng) > TWO_PI) {\n // draw only full circle if more than that is specified\n deltaAng = TWO_PI;\n } else if (deltaAng !== 0 && anticlockwise !== deltaAng < 0) {\n // necessary to flip direction of rendering\n const dir = anticlockwise ? -1 : 1;\n deltaAng = dir * TWO_PI + deltaAng;\n }\n const numSegs = Math.ceil(Math.abs(deltaAng) / HALF_PI);\n const segAng = deltaAng / numSegs;\n const handleLen = segAng / HALF_PI * KAPPA * radius;\n let curAng = startAngle;\n\n // component distances between anchor point and control point\n let deltaCx = -Math.sin(curAng) * handleLen;\n let deltaCy = Math.cos(curAng) * handleLen;\n\n // anchor point\n let ax = x + Math.cos(curAng) * radius;\n let ay = y + Math.sin(curAng) * radius;\n\n // calculate and render segments\n this.moveTo(ax, ay);\n for (let segIdx = 0; segIdx < numSegs; segIdx++) {\n // starting control point\n const cp1x = ax + deltaCx;\n const cp1y = ay + deltaCy;\n\n // step angle\n curAng += segAng;\n\n // next anchor point\n ax = x + Math.cos(curAng) * radius;\n ay = y + Math.sin(curAng) * radius;\n\n // next control point delta\n deltaCx = -Math.sin(curAng) * handleLen;\n deltaCy = Math.cos(curAng) * handleLen;\n\n // ending control point\n const cp2x = ax - deltaCx;\n const cp2y = ay - deltaCy;\n\n // render segment\n this.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, ax, ay);\n }\n return this;\n },\n polygon() {\n for (var _len = arguments.length, points = new Array(_len), _key = 0; _key < _len; _key++) {\n points[_key] = arguments[_key];\n }\n this.moveTo(...(points.shift() || []));\n for (let point of points) {\n this.lineTo(...(point || []));\n }\n return this.closePath();\n },\n path(path) {\n SVGPath.apply(this, path);\n return this;\n },\n _windingRule(rule) {\n if (/even-?odd/.test(rule)) {\n return '*';\n }\n return '';\n },\n fill(color, rule) {\n if (/(even-?odd)|(non-?zero)/.test(color)) {\n rule = color;\n color = null;\n }\n if (color) {\n this.fillColor(color);\n }\n return this.addContent(\"f\" + this._windingRule(rule));\n },\n stroke(color) {\n if (color) {\n this.strokeColor(color);\n }\n return this.addContent('S');\n },\n fillAndStroke(fillColor, strokeColor, rule) {\n if (strokeColor == null) {\n strokeColor = fillColor;\n }\n const isFillRule = /(even-?odd)|(non-?zero)/;\n if (isFillRule.test(fillColor)) {\n rule = fillColor;\n fillColor = null;\n }\n if (isFillRule.test(strokeColor)) {\n rule = strokeColor;\n strokeColor = fillColor;\n }\n if (fillColor) {\n this.fillColor(fillColor);\n this.strokeColor(strokeColor);\n }\n return this.addContent(\"B\" + this._windingRule(rule));\n },\n clip(rule) {\n return this.addContent(\"W\" + this._windingRule(rule) + \" n\");\n },\n transform(m11, m12, m21, m22, dx, dy) {\n // keep track of the current transformation matrix\n if (m11 === 1 && m12 === 0 && m21 === 0 && m22 === 1 && dx === 0 && dy === 0) {\n // Ignore identity transforms\n return this;\n }\n const m = this._ctm;\n const [m0, m1, m2, m3, m4, m5] = m;\n m[0] = m0 * m11 + m2 * m12;\n m[1] = m1 * m11 + m3 * m12;\n m[2] = m0 * m21 + m2 * m22;\n m[3] = m1 * m21 + m3 * m22;\n m[4] = m0 * dx + m2 * dy + m4;\n m[5] = m1 * dx + m3 * dy + m5;\n const values = [m11, m12, m21, m22, dx, dy].map(v => number$1(v)).join(' ');\n return this.addContent(values + \" cm\");\n },\n translate(x, y) {\n return this.transform(1, 0, 0, 1, x, y);\n },\n rotate(angle, options) {\n if (options === void 0) {\n options = {};\n }\n let y;\n const rad = angle * Math.PI / 180;\n const cos = Math.cos(rad);\n const sin = Math.sin(rad);\n let x = y = 0;\n if (options.origin != null) {\n [x, y] = options.origin;\n const x1 = x * cos - y * sin;\n const y1 = x * sin + y * cos;\n x -= x1;\n y -= y1;\n }\n return this.transform(cos, sin, -sin, cos, x, y);\n },\n scale(xFactor, yFactor, options) {\n if (options === void 0) {\n options = {};\n }\n let y;\n if (yFactor == null) {\n yFactor = xFactor;\n }\n if (typeof yFactor === 'object') {\n options = yFactor;\n yFactor = xFactor;\n }\n let x = y = 0;\n if (options.origin != null) {\n [x, y] = options.origin;\n x -= xFactor * x;\n y -= yFactor * y;\n }\n return this.transform(xFactor, 0, 0, yFactor, x, y);\n }\n};\n\nvar fs = {};\n\nconst range = (left, right, inclusive) => {\n let range = [];\n let ascending = left < right;\n let end = !inclusive ? right : ascending ? right + 1 : right - 1;\n for (let i = left; ascending ? i < end : i > end; ascending ? i++ : i--) {\n range.push(i);\n }\n return range;\n};\n\n/* eslint-disable no-var */\n/* eslint-disable no-cond-assign */\n\nconst WIN_ANSI_MAP = {\n 402: 131,\n 8211: 150,\n 8212: 151,\n 8216: 145,\n 8217: 146,\n 8218: 130,\n 8220: 147,\n 8221: 148,\n 8222: 132,\n 8224: 134,\n 8225: 135,\n 8226: 149,\n 8230: 133,\n 8364: 128,\n 8240: 137,\n 8249: 139,\n 8250: 155,\n 710: 136,\n 8482: 153,\n 338: 140,\n 339: 156,\n 732: 152,\n 352: 138,\n 353: 154,\n 376: 159,\n 381: 142,\n 382: 158\n};\nconst characters = \".notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n.notdef .notdef .notdef .notdef\\n\\nspace exclam quotedbl numbersign\\ndollar percent ampersand quotesingle\\nparenleft parenright asterisk plus\\ncomma hyphen period slash\\nzero one two three\\nfour five six seven\\neight nine colon semicolon\\nless equal greater question\\n\\nat A B C\\nD E F G\\nH I J K\\nL M N O\\nP Q R S\\nT U V W\\nX Y Z bracketleft\\nbackslash bracketright asciicircum underscore\\n\\ngrave a b c\\nd e f g\\nh i j k\\nl m n o\\np q r s\\nt u v w\\nx y z braceleft\\nbar braceright asciitilde .notdef\\n\\nEuro .notdef quotesinglbase florin\\nquotedblbase ellipsis dagger daggerdbl\\ncircumflex perthousand Scaron guilsinglleft\\nOE .notdef Zcaron .notdef\\n.notdef quoteleft quoteright quotedblleft\\nquotedblright bullet endash emdash\\ntilde trademark scaron guilsinglright\\noe .notdef zcaron ydieresis\\n\\nspace exclamdown cent sterling\\ncurrency yen brokenbar section\\ndieresis copyright ordfeminine guillemotleft\\nlogicalnot hyphen registered macron\\ndegree plusminus twosuperior threesuperior\\nacute mu paragraph periodcentered\\ncedilla onesuperior ordmasculine guillemotright\\nonequarter onehalf threequarters questiondown\\n\\nAgrave Aacute Acircumflex Atilde\\nAdieresis Aring AE Ccedilla\\nEgrave Eacute Ecircumflex Edieresis\\nIgrave Iacute Icircumflex Idieresis\\nEth Ntilde Ograve Oacute\\nOcircumflex Otilde Odieresis multiply\\nOslash Ugrave Uacute Ucircumflex\\nUdieresis Yacute Thorn germandbls\\n\\nagrave aacute acircumflex atilde\\nadieresis aring ae ccedilla\\negrave eacute ecircumflex edieresis\\nigrave iacute icircumflex idieresis\\neth ntilde ograve oacute\\nocircumflex otilde odieresis divide\\noslash ugrave uacute ucircumflex\\nudieresis yacute thorn ydieresis\".split(/\\s+/);\nfunction parse(contents) {\n const obj = {\n attributes: {},\n glyphWidths: {},\n kernPairs: {}\n };\n let section = '';\n for (let line of contents.split('\\n')) {\n var match;\n var a;\n if (match = line.match(/^Start(\\w+)/)) {\n section = match[1];\n continue;\n } else if (match = line.match(/^End(\\w+)/)) {\n section = '';\n continue;\n }\n switch (section) {\n case 'FontMetrics':\n match = line.match(/(^\\w+)\\s+(.*)/);\n var key = match[1];\n var value = match[2];\n if (a = obj.attributes[key]) {\n if (!Array.isArray(a)) {\n a = obj.attributes[key] = [a];\n }\n a.push(value);\n } else {\n obj.attributes[key] = value;\n }\n break;\n case 'CharMetrics':\n if (!/^CH?\\s/.test(line)) {\n continue;\n }\n var name = line.match(/\\bN\\s+(\\.?\\w+)\\s*;/)[1];\n obj.glyphWidths[name] = +line.match(/\\bWX\\s+(\\d+)\\s*;/)[1];\n break;\n case 'KernPairs':\n match = line.match(/^KPX\\s+(\\.?\\w+)\\s+(\\.?\\w+)\\s+(-?\\d+)/);\n if (match) {\n obj.kernPairs[match[1] + match[2]] = parseInt(match[3]);\n }\n break;\n }\n }\n return obj;\n}\nclass AFMFont {\n static open(filename) {\n {\n throw new Error('AFMFont.open not available on browser build');\n }\n }\n static fromJson(json) {\n return new AFMFont(json);\n }\n constructor(contents) {\n if (typeof contents === 'string') {\n this.contents = contents;\n this.parse();\n } else {\n this.attributes = contents.attributes;\n this.glyphWidths = contents.glyphWidths;\n this.kernPairs = contents.kernPairs;\n }\n this.charWidths = range(0, 255, true).map(i => this.glyphWidths[characters[i]]);\n this.bbox = Array.from(this.attributes.FontBBox.split(/\\s+/)).map(e => +e);\n this.ascender = +(this.attributes.Ascender || 0);\n this.descender = +(this.attributes.Descender || 0);\n this.xHeight = +(this.attributes.XHeight || 0);\n this.capHeight = +(this.attributes.CapHeight || 0);\n this.lineGap = this.bbox[3] - this.bbox[1] - (this.ascender - this.descender);\n }\n parse() {\n const parsed = parse(this.contents);\n this.attributes = parsed.attributes;\n this.glyphWidths = parsed.glyphWidths;\n this.kernPairs = parsed.kernPairs;\n }\n encodeText(text) {\n const res = [];\n for (let i = 0, end = text.length, asc = 0 <= end; asc ? i < end : i > end; asc ? i++ : i--) {\n let char = text.charCodeAt(i);\n char = WIN_ANSI_MAP[char] || char;\n res.push(char.toString(16));\n }\n return res;\n }\n glyphsForString(string) {\n const glyphs = [];\n for (let i = 0, end = string.length, asc = 0 <= end; asc ? i < end : i > end; asc ? i++ : i--) {\n const charCode = string.charCodeAt(i);\n glyphs.push(this.characterToGlyph(charCode));\n }\n return glyphs;\n }\n characterToGlyph(character) {\n return characters[WIN_ANSI_MAP[character] || character] || '.notdef';\n }\n widthOfGlyph(glyph) {\n return this.glyphWidths[glyph] || 0;\n }\n getKernPair(left, right) {\n return this.kernPairs[left + right] || 0;\n }\n advancesForGlyphs(glyphs) {\n const advances = [];\n for (let index = 0; index < glyphs.length; index++) {\n const left = glyphs[index];\n const right = glyphs[index + 1];\n advances.push(this.widthOfGlyph(left) + this.getKernPair(left, right));\n }\n return advances;\n }\n}\n\nvar attributes = [\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:43:52 1997\",\n\t\t\t\"UniqueID 43052\",\n\t\t\t\"VMusage 37169 48194\"\n\t\t],\n\t\tFontName: \"Helvetica-Bold\",\n\t\tFullName: \"Helvetica Bold\",\n\t\tFamilyName: \"Helvetica\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-170 -228 1003 962 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"718\",\n\t\tXHeight: \"532\",\n\t\tAscender: \"718\",\n\t\tDescender: \"-207\",\n\t\tStdHW: \"118\",\n\t\tStdVW: \"140\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:45:12 1997\",\n\t\t\t\"UniqueID 43053\",\n\t\t\t\"VMusage 14482 68586\"\n\t\t],\n\t\tFontName: \"Helvetica-BoldOblique\",\n\t\tFullName: \"Helvetica Bold Oblique\",\n\t\tFamilyName: \"Helvetica\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"-12\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-174 -228 1114 962\",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"718\",\n\t\tXHeight: \"532\",\n\t\tAscender: \"718\",\n\t\tDescender: \"-207\",\n\t\tStdHW: \"118\",\n\t\tStdVW: \"140\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:44:31 1997\",\n\t\t\t\"UniqueID 43055\",\n\t\t\t\"VMusage 14960 69346\"\n\t\t],\n\t\tFontName: \"Helvetica-Oblique\",\n\t\tFullName: \"Helvetica Oblique\",\n\t\tFamilyName: \"Helvetica\",\n\t\tWeight: \"Medium\",\n\t\tItalicAngle: \"-12\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-170 -225 1116 931 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"718\",\n\t\tXHeight: \"523\",\n\t\tAscender: \"718\",\n\t\tDescender: \"-207\",\n\t\tStdHW: \"76\",\n\t\tStdVW: \"88\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:38:23 1997\",\n\t\t\t\"UniqueID 43054\",\n\t\t\t\"VMusage 37069 48094\"\n\t\t],\n\t\tFontName: \"Helvetica\",\n\t\tFullName: \"Helvetica\",\n\t\tFamilyName: \"Helvetica\",\n\t\tWeight: \"Medium\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-166 -225 1000 931 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"718\",\n\t\tXHeight: \"523\",\n\t\tAscender: \"718\",\n\t\tDescender: \"-207\",\n\t\tStdHW: \"76\",\n\t\tStdVW: \"88\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:52:56 1997\",\n\t\t\t\"UniqueID 43065\",\n\t\t\t\"VMusage 41636 52661\"\n\t\t],\n\t\tFontName: \"Times-Bold\",\n\t\tFullName: \"Times Bold\",\n\t\tFamilyName: \"Times\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-168 -218 1000 935 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"676\",\n\t\tXHeight: \"461\",\n\t\tAscender: \"683\",\n\t\tDescender: \"-217\",\n\t\tStdHW: \"44\",\n\t\tStdVW: \"139\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 13:04:06 1997\",\n\t\t\t\"UniqueID 43066\",\n\t\t\t\"VMusage 45874 56899\"\n\t\t],\n\t\tFontName: \"Times-BoldItalic\",\n\t\tFullName: \"Times Bold Italic\",\n\t\tFamilyName: \"Times\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"-15\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-200 -218 996 921\",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"669\",\n\t\tXHeight: \"462\",\n\t\tAscender: \"683\",\n\t\tDescender: \"-217\",\n\t\tStdHW: \"42\",\n\t\tStdVW: \"121\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:56:55 1997\",\n\t\t\t\"UniqueID 43067\",\n\t\t\t\"VMusage 47727 58752\"\n\t\t],\n\t\tFontName: \"Times-Italic\",\n\t\tFullName: \"Times Italic\",\n\t\tFamilyName: \"Times\",\n\t\tWeight: \"Medium\",\n\t\tItalicAngle: \"-15.5\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-169 -217 1010 883 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"653\",\n\t\tXHeight: \"441\",\n\t\tAscender: \"683\",\n\t\tDescender: \"-217\",\n\t\tStdHW: \"32\",\n\t\tStdVW: \"76\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 12:49:17 1997\",\n\t\t\t\"UniqueID 43068\",\n\t\t\t\"VMusage 43909 54934\"\n\t\t],\n\t\tFontName: \"Times-Roman\",\n\t\tFullName: \"Times Roman\",\n\t\tFamilyName: \"Times\",\n\t\tWeight: \"Roman\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"false\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-168 -218 1000 898 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"002.000\",\n\t\tNotice: \"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"662\",\n\t\tXHeight: \"450\",\n\t\tAscender: \"683\",\n\t\tDescender: \"-217\",\n\t\tStdHW: \"28\",\n\t\tStdVW: \"84\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Mon Jun 23 16:28:00 1997\",\n\t\t\t\"UniqueID 43048\",\n\t\t\t\"VMusage 41139 52164\"\n\t\t],\n\t\tFontName: \"Courier-Bold\",\n\t\tFullName: \"Courier Bold\",\n\t\tFamilyName: \"Courier\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"true\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-113 -250 749 801 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"003.000\",\n\t\tNotice: \"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"562\",\n\t\tXHeight: \"439\",\n\t\tAscender: \"629\",\n\t\tDescender: \"-157\",\n\t\tStdHW: \"84\",\n\t\tStdVW: \"106\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Mon Jun 23 16:28:46 1997\",\n\t\t\t\"UniqueID 43049\",\n\t\t\t\"VMusage 17529 79244\"\n\t\t],\n\t\tFontName: \"Courier-BoldOblique\",\n\t\tFullName: \"Courier Bold Oblique\",\n\t\tFamilyName: \"Courier\",\n\t\tWeight: \"Bold\",\n\t\tItalicAngle: \"-12\",\n\t\tIsFixedPitch: \"true\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-57 -250 869 801\",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"003.000\",\n\t\tNotice: \"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"562\",\n\t\tXHeight: \"439\",\n\t\tAscender: \"629\",\n\t\tDescender: \"-157\",\n\t\tStdHW: \"84\",\n\t\tStdVW: \"106\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 17:37:52 1997\",\n\t\t\t\"UniqueID 43051\",\n\t\t\t\"VMusage 16248 75829\"\n\t\t],\n\t\tFontName: \"Courier-Oblique\",\n\t\tFullName: \"Courier Oblique\",\n\t\tFamilyName: \"Courier\",\n\t\tWeight: \"Medium\",\n\t\tItalicAngle: \"-12\",\n\t\tIsFixedPitch: \"true\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-27 -250 849 805 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"003.000\",\n\t\tNotice: \"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"562\",\n\t\tXHeight: \"426\",\n\t\tAscender: \"629\",\n\t\tDescender: \"-157\",\n\t\tStdHW: \"51\",\n\t\tStdVW: \"51\"\n\t},\n\t{\n\t\tComment: [\n\t\t\t\"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\t\t\"Creation Date: Thu May 1 17:27:09 1997\",\n\t\t\t\"UniqueID 43050\",\n\t\t\t\"VMusage 39754 50779\"\n\t\t],\n\t\tFontName: \"Courier\",\n\t\tFullName: \"Courier\",\n\t\tFamilyName: \"Courier\",\n\t\tWeight: \"Medium\",\n\t\tItalicAngle: \"0\",\n\t\tIsFixedPitch: \"true\",\n\t\tCharacterSet: \"ExtendedRoman\",\n\t\tFontBBox: \"-23 -250 715 805 \",\n\t\tUnderlinePosition: \"-100\",\n\t\tUnderlineThickness: \"50\",\n\t\tVersion: \"003.000\",\n\t\tNotice: \"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.\",\n\t\tEncodingScheme: \"AdobeStandardEncoding\",\n\t\tCapHeight: \"562\",\n\t\tXHeight: \"426\",\n\t\tAscender: \"629\",\n\t\tDescender: \"-157\",\n\t\tStdHW: \"51\",\n\t\tStdVW: \"51\"\n\t}\n];\nvar glyphWidths = {\n\tspace: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\texclam: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotedbl: [\n\t\t474,\n\t\t474,\n\t\t355,\n\t\t355,\n\t\t555,\n\t\t555,\n\t\t420,\n\t\t408,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tnumbersign: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdollar: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tpercent: [\n\t\t889,\n\t\t889,\n\t\t889,\n\t\t889,\n\t\t1000,\n\t\t833,\n\t\t833,\n\t\t833,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tampersand: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t833,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquoteright: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tparenleft: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tparenright: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tasterisk: [\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tplus: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcomma: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\thyphen: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tperiod: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tslash: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tzero: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tone: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttwo: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tthree: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tfour: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tfive: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsix: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tseven: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\teight: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tnine: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcolon: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsemicolon: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tless: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tequal: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgreater: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquestion: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tat: [\n\t\t975,\n\t\t975,\n\t\t1015,\n\t\t1015,\n\t\t930,\n\t\t832,\n\t\t920,\n\t\t921,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tA: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tB: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tC: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tD: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tE: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tF: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tG: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tH: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tI: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tJ: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tK: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t778,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tL: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tM: [\n\t\t833,\n\t\t833,\n\t\t833,\n\t\t833,\n\t\t944,\n\t\t889,\n\t\t833,\n\t\t889,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tN: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tO: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tP: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tQ: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tR: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tS: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tT: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tU: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tV: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tW: [\n\t\t944,\n\t\t944,\n\t\t944,\n\t\t944,\n\t\t1000,\n\t\t889,\n\t\t833,\n\t\t944,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tX: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tY: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t611,\n\t\t556,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tZ: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbracketleft: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t333,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbackslash: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbracketright: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t333,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tasciicircum: [\n\t\t584,\n\t\t584,\n\t\t469,\n\t\t469,\n\t\t581,\n\t\t570,\n\t\t422,\n\t\t469,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tunderscore: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquoteleft: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ta: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tb: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tc: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\td: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\te: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tf: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tg: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\th: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ti: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tj: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tk: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t500,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tl: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tm: [\n\t\t889,\n\t\t889,\n\t\t833,\n\t\t833,\n\t\t833,\n\t\t778,\n\t\t722,\n\t\t778,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tn: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\to: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tp: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tq: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tr: [\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ts: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tt: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tu: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tv: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tw: [\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tx: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ty: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tz: [\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbraceleft: [\n\t\t389,\n\t\t389,\n\t\t334,\n\t\t334,\n\t\t394,\n\t\t348,\n\t\t400,\n\t\t480,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbar: [\n\t\t280,\n\t\t280,\n\t\t260,\n\t\t260,\n\t\t220,\n\t\t220,\n\t\t275,\n\t\t200,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbraceright: [\n\t\t389,\n\t\t389,\n\t\t334,\n\t\t334,\n\t\t394,\n\t\t348,\n\t\t400,\n\t\t480,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tasciitilde: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t520,\n\t\t570,\n\t\t541,\n\t\t541,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\texclamdown: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcent: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsterling: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tfraction: [\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t167,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tyen: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tflorin: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsection: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcurrency: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotesingle: [\n\t\t238,\n\t\t238,\n\t\t191,\n\t\t191,\n\t\t278,\n\t\t278,\n\t\t214,\n\t\t180,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotedblleft: [\n\t\t500,\n\t\t500,\n\t\t333,\n\t\t333,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tguillemotleft: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tguilsinglleft: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tguilsinglright: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tfi: [\n\t\t611,\n\t\t611,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tfl: [\n\t\t611,\n\t\t611,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tendash: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdagger: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdaggerdbl: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tperiodcentered: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tparagraph: [\n\t\t556,\n\t\t556,\n\t\t537,\n\t\t537,\n\t\t540,\n\t\t500,\n\t\t523,\n\t\t453,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbullet: [\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t350,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotesinglbase: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotedblbase: [\n\t\t500,\n\t\t500,\n\t\t333,\n\t\t333,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquotedblright: [\n\t\t500,\n\t\t500,\n\t\t333,\n\t\t333,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tguillemotright: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tellipsis: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t889,\n\t\t1000,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tperthousand: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tquestiondown: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgrave: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tacute: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcircumflex: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttilde: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tmacron: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbreve: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdotaccent: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdieresis: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tring: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcedilla: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\thungarumlaut: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\togonek: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcaron: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\temdash: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t889,\n\t\t1000,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAE: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t944,\n\t\t889,\n\t\t889,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tordfeminine: [\n\t\t370,\n\t\t370,\n\t\t370,\n\t\t370,\n\t\t300,\n\t\t266,\n\t\t276,\n\t\t276,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tLslash: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOslash: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOE: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t944,\n\t\t944,\n\t\t889,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tordmasculine: [\n\t\t365,\n\t\t365,\n\t\t365,\n\t\t365,\n\t\t330,\n\t\t300,\n\t\t310,\n\t\t310,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tae: [\n\t\t889,\n\t\t889,\n\t\t889,\n\t\t889,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdotlessi: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlslash: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\toslash: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\toe: [\n\t\t944,\n\t\t944,\n\t\t944,\n\t\t944,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgermandbls: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIdieresis: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\teacute: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tabreve: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tuhungarumlaut: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tecaron: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tYdieresis: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t611,\n\t\t556,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdivide: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tYacute: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t611,\n\t\t556,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAcircumflex: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\taacute: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUcircumflex: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tyacute: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tscommaaccent: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tecircumflex: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUring: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUdieresis: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\taogonek: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUacute: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tuogonek: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEdieresis: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tDcroat: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcommaaccent: [\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t250,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcopyright: [\n\t\t737,\n\t\t737,\n\t\t737,\n\t\t737,\n\t\t747,\n\t\t747,\n\t\t760,\n\t\t760,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEmacron: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tccaron: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\taring: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tNcommaaccent: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlacute: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tagrave: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tTcommaaccent: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tCacute: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tatilde: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEdotaccent: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tscaron: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tscedilla: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tiacute: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlozenge: [\n\t\t494,\n\t\t494,\n\t\t471,\n\t\t471,\n\t\t494,\n\t\t494,\n\t\t471,\n\t\t471,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tRcaron: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tGcommaaccent: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tucircumflex: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tacircumflex: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAmacron: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\trcaron: [\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tccedilla: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tZdotaccent: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tThorn: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOmacron: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tRacute: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tSacute: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdcaron: [\n\t\t743,\n\t\t743,\n\t\t643,\n\t\t643,\n\t\t672,\n\t\t608,\n\t\t544,\n\t\t588,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUmacron: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\turing: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tthreesuperior: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOgrave: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAgrave: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAbreve: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tmultiply: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tuacute: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tTcaron: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tpartialdiff: [\n\t\t494,\n\t\t494,\n\t\t476,\n\t\t476,\n\t\t494,\n\t\t494,\n\t\t476,\n\t\t476,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tydieresis: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tNacute: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ticircumflex: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEcircumflex: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tadieresis: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tedieresis: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tcacute: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tnacute: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tumacron: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tNcaron: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIacute: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tplusminus: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t570,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tbrokenbar: [\n\t\t280,\n\t\t280,\n\t\t260,\n\t\t260,\n\t\t220,\n\t\t220,\n\t\t275,\n\t\t200,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tregistered: [\n\t\t737,\n\t\t737,\n\t\t737,\n\t\t737,\n\t\t747,\n\t\t747,\n\t\t760,\n\t\t760,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tGbreve: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIdotaccent: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsummation: [\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEgrave: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tracute: [\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tomacron: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tZacute: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tZcaron: [\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgreaterequal: [\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEth: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tCcedilla: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlcommaaccent: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttcaron: [\n\t\t389,\n\t\t389,\n\t\t317,\n\t\t317,\n\t\t416,\n\t\t366,\n\t\t300,\n\t\t326,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\teogonek: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUogonek: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAacute: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAdieresis: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tegrave: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tzacute: [\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tiogonek: [\n\t\t278,\n\t\t278,\n\t\t222,\n\t\t222,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOacute: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\toacute: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tamacron: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tsacute: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t389,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tidieresis: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOcircumflex: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUgrave: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tDelta: [\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t612,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tthorn: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttwosuperior: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOdieresis: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tmu: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t576,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tigrave: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tohungarumlaut: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEogonek: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdcroat: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tthreequarters: [\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tScedilla: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlcaron: [\n\t\t400,\n\t\t400,\n\t\t299,\n\t\t299,\n\t\t394,\n\t\t382,\n\t\t300,\n\t\t344,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tKcommaaccent: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t778,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tLacute: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttrademark: [\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t1000,\n\t\t980,\n\t\t980,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tedotaccent: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIgrave: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tImacron: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tLcaron: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tonehalf: [\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlessequal: [\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tocircumflex: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tntilde: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tUhungarumlaut: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEacute: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\temacron: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgbreve: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tonequarter: [\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t834,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t750,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tScaron: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tScommaaccent: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t556,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOhungarumlaut: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tdegree: [\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t400,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tograve: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tCcaron: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tugrave: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tradical: [\n\t\t549,\n\t\t549,\n\t\t453,\n\t\t453,\n\t\t549,\n\t\t549,\n\t\t453,\n\t\t453,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tDcaron: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\trcommaaccent: [\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tNtilde: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\totilde: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tRcommaaccent: [\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t667,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tLcommaaccent: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t667,\n\t\t611,\n\t\t556,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAtilde: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAogonek: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tAring: [\n\t\t722,\n\t\t722,\n\t\t667,\n\t\t667,\n\t\t722,\n\t\t667,\n\t\t611,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tOtilde: [\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t778,\n\t\t722,\n\t\t722,\n\t\t722,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tzdotaccent: [\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEcaron: [\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t667,\n\t\t611,\n\t\t611,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIogonek: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tkcommaaccent: [\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t556,\n\t\t500,\n\t\t444,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tminus: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t606,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tIcircumflex: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t389,\n\t\t389,\n\t\t333,\n\t\t333,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tncaron: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\ttcommaaccent: [\n\t\t333,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t333,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tlogicalnot: [\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t584,\n\t\t570,\n\t\t606,\n\t\t675,\n\t\t564,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\todieresis: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tudieresis: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tnotequal: [\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t549,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tgcommaaccent: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\teth: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tzcaron: [\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t444,\n\t\t389,\n\t\t389,\n\t\t444,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tncommaaccent: [\n\t\t611,\n\t\t611,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tonesuperior: [\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t333,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t300,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\timacron: [\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t278,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t],\n\tEuro: [\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t556,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t500,\n\t\t600,\n\t\t600,\n\t\t600,\n\t\t600\n\t]\n};\nvar kernPairs = {\n\tAC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tACacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tACcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tACcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tATcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tATcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAy: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAacuteC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAacuteCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAacuteCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAacuteCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAacuteG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAacuteGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAacuteGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAacuteO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAacuteT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAacuteTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAacuteTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAacuteU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAacuteV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAacuteW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAacuteY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAacuteYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAacuteYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAacuteu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacuteuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAacutev: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAacutew: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAacutey: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAacuteyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAacuteydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAbreveC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAbreveCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAbreveCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAbreveCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAbreveG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAbreveGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAbreveGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAbreveO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAbreveT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAbreveTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAbreveTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAbreveU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAbreveV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAbreveW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAbreveY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAbreveYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAbreveYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAbreveu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbreveuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAbrevev: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAbrevew: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAbrevey: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAbreveyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAbreveydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAcircumflexC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAcircumflexCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAcircumflexCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAcircumflexCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAcircumflexG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAcircumflexGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAcircumflexGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAcircumflexO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAcircumflexT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAcircumflexTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAcircumflexTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAcircumflexU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAcircumflexV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAcircumflexW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAcircumflexY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAcircumflexYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAcircumflexYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAcircumflexu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAcircumflexv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAcircumflexw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAcircumflexy: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAcircumflexyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAcircumflexydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAdieresisC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAdieresisCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAdieresisCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAdieresisCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAdieresisG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAdieresisGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAdieresisGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAdieresisO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAdieresisT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAdieresisTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAdieresisTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAdieresisU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAdieresisV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAdieresisW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAdieresisY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAdieresisYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAdieresisYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAdieresisu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAdieresisv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAdieresisw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAdieresisy: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAdieresisyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAdieresisydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAgraveC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAgraveCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAgraveCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAgraveCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAgraveG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAgraveGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAgraveGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAgraveO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAgraveT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAgraveTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAgraveTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAgraveU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAgraveV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAgraveW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAgraveY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAgraveYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAgraveYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAgraveu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgraveuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAgravev: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAgravew: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAgravey: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAgraveyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAgraveydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAmacronC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAmacronCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAmacronCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAmacronCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAmacronG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAmacronGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAmacronGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAmacronO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAmacronT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAmacronTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAmacronTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAmacronU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAmacronV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAmacronW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAmacronY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAmacronYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAmacronYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAmacronu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAmacronv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAmacronw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAmacrony: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAmacronyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAmacronydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAogonekC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAogonekCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAogonekCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAogonekCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAogonekG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAogonekGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAogonekGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAogonekO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAogonekT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAogonekTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAogonekTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAogonekU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAogonekV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAogonekW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAogonekY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAogonekYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAogonekYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAogoneku: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAogonekv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAogonekw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-52\n\t],\n\tAogoneky: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-34,\n\t\t-34,\n\t\t-55,\n\t\t-52\n\t],\n\tAogonekyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-34,\n\t\t-34,\n\t\t-55,\n\t\t-52\n\t],\n\tAogonekydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-34,\n\t\t-34,\n\t\t-55,\n\t\t-52\n\t],\n\tAringC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAringCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAringCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAringCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAringG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAringGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAringGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAringO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAringQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAringT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAringTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAringTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAringU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAringV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAringW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAringY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAringYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAringYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAringu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAringv: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAringw: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAringy: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAringyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAringydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAtildeC: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAtildeCacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAtildeCcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAtildeCcedilla: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-65,\n\t\t-30,\n\t\t-40\n\t],\n\tAtildeG: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAtildeGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAtildeGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-60,\n\t\t-35,\n\t\t-40\n\t],\n\tAtildeO: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeQ: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-45,\n\t\t-55,\n\t\t-40,\n\t\t-55\n\t],\n\tAtildeT: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAtildeTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAtildeTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-95,\n\t\t-55,\n\t\t-37,\n\t\t-111\n\t],\n\tAtildeU: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeUring: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55\n\t],\n\tAtildeV: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-145,\n\t\t-95,\n\t\t-105,\n\t\t-135\n\t],\n\tAtildeW: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-130,\n\t\t-100,\n\t\t-95,\n\t\t-90\n\t],\n\tAtildeY: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAtildeYacute: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAtildeYdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-100,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-55,\n\t\t-105\n\t],\n\tAtildeu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildeuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30,\n\t\t-20\n\t],\n\tAtildev: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-100,\n\t\t-74,\n\t\t-55,\n\t\t-74\n\t],\n\tAtildew: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-90,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAtildey: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAtildeyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tAtildeydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-92\n\t],\n\tBA: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAacute: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAbreve: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAcircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAdieresis: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAgrave: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAmacron: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAogonek: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAring: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBAtilde: [\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-35\n\t],\n\tBU: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUcircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUdieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUgrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUmacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tBUring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tDA: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAbreve: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAogonek: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAring: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDAtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDV: [\n\t\t-40,\n\t\t-40,\n\t\t-70,\n\t\t-70,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-40\n\t],\n\tDW: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-30\n\t],\n\tDY: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70\n\t],\n\tDperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70,\n\t\t-20\n\t],\n\tDcaronA: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAbreve: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAogonek: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAring: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronAtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcaronV: [\n\t\t-40,\n\t\t-40,\n\t\t-70,\n\t\t-70,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-40\n\t],\n\tDcaronW: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-30\n\t],\n\tDcaronY: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcaronYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcaronYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcaroncomma: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70\n\t],\n\tDcaronperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70,\n\t\t-20\n\t],\n\tDcroatA: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAbreve: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAogonek: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAring: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatAtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-35,\n\t\t-25,\n\t\t-35,\n\t\t-40\n\t],\n\tDcroatV: [\n\t\t-40,\n\t\t-40,\n\t\t-70,\n\t\t-70,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-40\n\t],\n\tDcroatW: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-30\n\t],\n\tDcroatY: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcroatYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcroatYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-90,\n\t\t-90,\n\t\t-40,\n\t\t-50,\n\t\t-40,\n\t\t-55\n\t],\n\tDcroatcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70\n\t],\n\tDcroatperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-70,\n\t\t-70,\n\t\t-20\n\t],\n\tFA: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAacute: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAbreve: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAcircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAdieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAgrave: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAmacron: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAring: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFAtilde: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-90,\n\t\t-100,\n\t\t-115,\n\t\t-74\n\t],\n\tFa: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFaacute: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFabreve: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFacircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFadieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFagrave: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFamacron: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFaogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFaring: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFatilde: [\n\t\t-20,\n\t\t-20,\n\t\t-50,\n\t\t-50,\n\t\t-25,\n\t\t-95,\n\t\t-75,\n\t\t-15\n\t],\n\tFcomma: [\n\t\t-100,\n\t\t-100,\n\t\t-150,\n\t\t-150,\n\t\t-92,\n\t\t-129,\n\t\t-135,\n\t\t-80\n\t],\n\tFperiod: [\n\t\t-100,\n\t\t-100,\n\t\t-150,\n\t\t-150,\n\t\t-110,\n\t\t-129,\n\t\t-135,\n\t\t-80\n\t],\n\tJA: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAbreve: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAring: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJAtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-25,\n\t\t-40,\n\t\t-60\n\t],\n\tJcomma: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t-25\n\t],\n\tJperiod: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-10,\n\t\t-25\n\t],\n\tJu: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJuacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJucircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJudieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJugrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJuhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJumacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJuogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJuring: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tKO: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOacute: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOcircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOdieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOgrave: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOmacron: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOslash: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKOtilde: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKe: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKeacute: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKecaron: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKecircumflex: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKedieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKedotaccent: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKegrave: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKemacron: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKeogonek: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKo: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKoacute: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKocircumflex: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKodieresis: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKograve: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKohungarumlaut: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKomacron: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKoslash: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKotilde: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKuring: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKy: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tKyacute: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tKydieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tKcommaaccentO: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOacute: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOcircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOdieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOgrave: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOmacron: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOslash: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccentOtilde: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-30\n\t],\n\tKcommaaccente: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccenteacute: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentecaron: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentecircumflex: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentedieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentedotaccent: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentegrave: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccentemacron: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccenteogonek: [\n\t\t-15,\n\t\t-15,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-35,\n\t\t-25\n\t],\n\tKcommaaccento: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentoacute: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentocircumflex: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentodieresis: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentograve: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentohungarumlaut: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentomacron: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentoslash: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentotilde: [\n\t\t-35,\n\t\t-35,\n\t\t-40,\n\t\t-40,\n\t\t-25,\n\t\t-25,\n\t\t-40,\n\t\t-35\n\t],\n\tKcommaaccentu: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentuacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentucircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentudieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentugrave: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentuhungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentumacron: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccentuogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccenturing: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-20,\n\t\t-40,\n\t\t-15\n\t],\n\tKcommaaccenty: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tKcommaaccentyacute: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tKcommaaccentydieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-20,\n\t\t-40,\n\t\t-25\n\t],\n\tLT: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLV: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-100\n\t],\n\tLW: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-74\n\t],\n\tLY: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLYacute: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLYdieresis: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLquotedblright: [\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-20\n\t],\n\tLquoteright: [\n\t\t-140,\n\t\t-140,\n\t\t-160,\n\t\t-160,\n\t\t-110,\n\t\t-55,\n\t\t-37,\n\t\t-92\n\t],\n\tLy: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLacuteT: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLacuteTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLacuteTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLacuteV: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-100\n\t],\n\tLacuteW: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-74\n\t],\n\tLacuteY: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLacuteYacute: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLacuteYdieresis: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLacutequotedblright: [\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-20\n\t],\n\tLacutequoteright: [\n\t\t-140,\n\t\t-140,\n\t\t-160,\n\t\t-160,\n\t\t-110,\n\t\t-55,\n\t\t-37,\n\t\t-92\n\t],\n\tLacutey: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLacuteyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLacuteydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLcommaaccentT: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLcommaaccentTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLcommaaccentTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLcommaaccentV: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-100\n\t],\n\tLcommaaccentW: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-74\n\t],\n\tLcommaaccentY: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLcommaaccentYacute: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLcommaaccentYdieresis: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLcommaaccentquotedblright: [\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-20\n\t],\n\tLcommaaccentquoteright: [\n\t\t-140,\n\t\t-140,\n\t\t-160,\n\t\t-160,\n\t\t-110,\n\t\t-55,\n\t\t-37,\n\t\t-92\n\t],\n\tLcommaaccenty: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLcommaaccentyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLcommaaccentydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLslashT: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLslashTcaron: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLslashTcommaaccent: [\n\t\t-90,\n\t\t-90,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-18,\n\t\t-20,\n\t\t-92\n\t],\n\tLslashV: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-100\n\t],\n\tLslashW: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-74\n\t],\n\tLslashY: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLslashYacute: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLslashYdieresis: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-37,\n\t\t-20,\n\t\t-100\n\t],\n\tLslashquotedblright: [\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-140,\n\t\t-20\n\t],\n\tLslashquoteright: [\n\t\t-140,\n\t\t-140,\n\t\t-160,\n\t\t-160,\n\t\t-110,\n\t\t-55,\n\t\t-37,\n\t\t-92\n\t],\n\tLslashy: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLslashyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tLslashydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-55,\n\t\t-37,\n\t\t-30,\n\t\t-55\n\t],\n\tOA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOcomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOacuteT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOacuteW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOacuteX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOacuteYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOacuteYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOacutecomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOacuteperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOcircumflexT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOcircumflexW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOcircumflexX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOcircumflexYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOcircumflexYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOcircumflexcomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOcircumflexperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOdieresisT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOdieresisW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOdieresisX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOdieresisYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOdieresisYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOdieresiscomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOdieresisperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOgraveT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOgraveW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOgraveX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOgraveYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOgraveYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOgravecomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOgraveperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOhungarumlautT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOhungarumlautW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOhungarumlautX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOhungarumlautYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOhungarumlautYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOhungarumlautcomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOhungarumlautperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOmacronT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOmacronW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOmacronX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOmacronYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOmacronYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOmacroncomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOmacronperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOslashT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOslashW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOslashX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOslashYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOslashYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOslashcomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOslashperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeA: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAring: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-55,\n\t\t-35\n\t],\n\tOtildeT: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeTcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeTcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOtildeW: [\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35\n\t],\n\tOtildeX: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeY: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOtildeYacute: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOtildeYdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-70,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50\n\t],\n\tOtildecomma: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tOtildeperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tPA: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAacute: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAbreve: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAcircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAdieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAgrave: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAmacron: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAogonek: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAring: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPAtilde: [\n\t\t-100,\n\t\t-100,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-85,\n\t\t-90,\n\t\t-92\n\t],\n\tPa: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPaacute: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPabreve: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPacircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPadieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPagrave: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPamacron: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPaogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tParing: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPatilde: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-10,\n\t\t-40,\n\t\t-80,\n\t\t-15\n\t],\n\tPcomma: [\n\t\t-120,\n\t\t-120,\n\t\t-180,\n\t\t-180,\n\t\t-92,\n\t\t-129,\n\t\t-135,\n\t\t-111\n\t],\n\tPe: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPeacute: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPecaron: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPecircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPedieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPedotaccent: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPegrave: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPemacron: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPeogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-50,\n\t\t-80\n\t],\n\tPo: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPoacute: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPocircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPodieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPograve: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPohungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPomacron: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPoslash: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPotilde: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-55,\n\t\t-80\n\t],\n\tPperiod: [\n\t\t-120,\n\t\t-120,\n\t\t-180,\n\t\t-180,\n\t\t-110,\n\t\t-129,\n\t\t-135,\n\t\t-111\n\t],\n\tQU: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUcircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUdieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUgrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUmacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQUring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tQcomma: [\n\t\t20,\n\t\t20\n\t],\n\tQperiod: [\n\t\t20,\n\t\t20,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tRO: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROslash: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tROtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRT: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRTcaron: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRTcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRU: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUacute: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRUring: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55,\n\t\t-18,\n\t\t-18,\n\t\t-80\n\t],\n\tRW: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-55\n\t],\n\tRY: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRYacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRYdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRacuteO: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOslash: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteOtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteT: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRacuteTcaron: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRacuteTcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRacuteU: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUacute: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteUring: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRacuteV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55,\n\t\t-18,\n\t\t-18,\n\t\t-80\n\t],\n\tRacuteW: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-55\n\t],\n\tRacuteY: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRacuteYacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRacuteYdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcaronO: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOslash: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronOtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronT: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcaronTcaron: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcaronTcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcaronU: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUacute: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronUring: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcaronV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55,\n\t\t-18,\n\t\t-18,\n\t\t-80\n\t],\n\tRcaronW: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-55\n\t],\n\tRcaronY: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcaronYacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcaronYdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcommaaccentO: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOslash: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentOtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentT: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcommaaccentTcaron: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcommaaccentTcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-30,\n\t\t0,\n\t\t-60\n\t],\n\tRcommaaccentU: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUacute: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentUring: [\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tRcommaaccentV: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-55,\n\t\t-18,\n\t\t-18,\n\t\t-80\n\t],\n\tRcommaaccentW: [\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-30,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-55\n\t],\n\tRcommaaccentY: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcommaaccentYacute: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tRcommaaccentYdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-50,\n\t\t-35,\n\t\t-18,\n\t\t-18,\n\t\t-65\n\t],\n\tTA: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAbreve: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAcircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAdieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAgrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAmacron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAring: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTAtilde: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTO: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTa: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTaacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTabreve: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTacircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTadieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTagrave: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTamacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTaogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTaring: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTatilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-50\n\t],\n\tTcomma: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTe: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTeacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTecaron: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTecircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-52,\n\t\t-70\n\t],\n\tTedieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTedotaccent: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTegrave: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-70\n\t],\n\tTemacron: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTeogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tThyphen: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-92\n\t],\n\tTo: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tToacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTocircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTodieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTograve: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTohungarumlaut: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTomacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tToslash: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTotilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTr: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTracute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTrcommaaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTsemicolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-65,\n\t\t-55\n\t],\n\tTu: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTuacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTucircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTudieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTugrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTuhungarumlaut: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTumacron: [\n\t\t-90,\n\t\t-90,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTuogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTuring: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTw: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTy: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTyacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTydieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-34,\n\t\t-37,\n\t\t-34,\n\t\t-80\n\t],\n\tTcaronA: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAbreve: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAcircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAdieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAgrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAmacron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAring: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronAtilde: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcaronO: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcaronOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcarona: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronaacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronabreve: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronacircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronadieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcaronagrave: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcaronamacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcaronaogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronaring: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronatilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcaroncolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-50\n\t],\n\tTcaroncomma: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTcarone: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcaroneacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcaronecaron: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcaronecircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-52,\n\t\t-30\n\t],\n\tTcaronedieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTcaronedotaccent: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcaronegrave: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-70\n\t],\n\tTcaronemacron: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTcaroneogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcaronhyphen: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-92\n\t],\n\tTcarono: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronoacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronocircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronodieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronograve: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronohungarumlaut: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronomacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronoslash: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronotilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcaronperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTcaronr: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaronracute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaronrcommaaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaronsemicolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-65,\n\t\t-55\n\t],\n\tTcaronu: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronuacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronucircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronudieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronugrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronuhungarumlaut: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronumacron: [\n\t\t-90,\n\t\t-90,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronuogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronuring: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcaronw: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcarony: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcaronyacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcaronydieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-34,\n\t\t-37,\n\t\t-34,\n\t\t-80\n\t],\n\tTcommaaccentA: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAbreve: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAcircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAdieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAgrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAmacron: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAring: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentAtilde: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-55,\n\t\t-50,\n\t\t-93\n\t],\n\tTcommaaccentO: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOcircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOdieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOgrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOhungarumlaut: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOmacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOslash: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccentOtilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-18,\n\t\t-18,\n\t\t-18,\n\t\t-18\n\t],\n\tTcommaaccenta: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentaacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentabreve: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentacircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentadieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcommaaccentagrave: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcommaaccentamacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcommaaccentaogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentaring: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentatilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-92,\n\t\t-92,\n\t\t-40\n\t],\n\tTcommaaccentcolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-55,\n\t\t-50\n\t],\n\tTcommaaccentcomma: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTcommaaccente: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcommaaccenteacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcommaaccentecaron: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcommaaccentecircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-52,\n\t\t-30\n\t],\n\tTcommaaccentedieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTcommaaccentedotaccent: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcommaaccentegrave: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-30\n\t],\n\tTcommaaccentemacron: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-52,\n\t\t-52,\n\t\t-52,\n\t\t-70\n\t],\n\tTcommaaccenteogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-70\n\t],\n\tTcommaaccenthyphen: [\n\t\t-120,\n\t\t-120,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-92\n\t],\n\tTcommaaccento: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentoacute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentocircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentodieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentograve: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentohungarumlaut: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentomacron: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentoslash: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentotilde: [\n\t\t-80,\n\t\t-80,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-95,\n\t\t-92,\n\t\t-80\n\t],\n\tTcommaaccentperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-92,\n\t\t-74,\n\t\t-74\n\t],\n\tTcommaaccentr: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentracute: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentrcommaaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentsemicolon: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-74,\n\t\t-74,\n\t\t-65,\n\t\t-55\n\t],\n\tTcommaaccentu: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentuacute: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentucircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentudieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentugrave: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentuhungarumlaut: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentumacron: [\n\t\t-90,\n\t\t-90,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentuogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccenturing: [\n\t\t-90,\n\t\t-90,\n\t\t-120,\n\t\t-120,\n\t\t-92,\n\t\t-37,\n\t\t-55,\n\t\t-45\n\t],\n\tTcommaaccentw: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcommaaccenty: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcommaaccentyacute: [\n\t\t-60,\n\t\t-60,\n\t\t-120,\n\t\t-120,\n\t\t-34,\n\t\t-37,\n\t\t-74,\n\t\t-80\n\t],\n\tTcommaaccentydieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-34,\n\t\t-37,\n\t\t-34,\n\t\t-80\n\t],\n\tUA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUacuteA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacuteAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUacutecomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUacuteperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUcircumflexA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUcircumflexcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUcircumflexperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUdieresisA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresisAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUdieresiscomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUdieresisperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUgraveA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgraveAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUgravecomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUgraveperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUhungarumlautA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUhungarumlautcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUhungarumlautperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUmacronA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacronAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUmacroncomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUmacronperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUogonekA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUogonekcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUogonekperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUringA: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAring: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringAtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-45,\n\t\t-40,\n\t\t-40\n\t],\n\tUringcomma: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tUringperiod: [\n\t\t-30,\n\t\t-30,\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t0,\n\t\t-25\n\t],\n\tVA: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAacute: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAbreve: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAcircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAdieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAgrave: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAmacron: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAring: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVAtilde: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-135,\n\t\t-85,\n\t\t-60,\n\t\t-135\n\t],\n\tVG: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\tVGbreve: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\tVGcommaaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\tVO: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOacute: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOcircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOdieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOgrave: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOhungarumlaut: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOmacron: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOslash: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVOtilde: [\n\t\t-50,\n\t\t-50,\n\t\t-40,\n\t\t-40,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-40\n\t],\n\tVa: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVaacute: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVabreve: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVacircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVadieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVagrave: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVamacron: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVaogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVaring: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVatilde: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVcolon: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-92,\n\t\t-74,\n\t\t-65,\n\t\t-74\n\t],\n\tVcomma: [\n\t\t-120,\n\t\t-120,\n\t\t-125,\n\t\t-125,\n\t\t-129,\n\t\t-129,\n\t\t-129,\n\t\t-129\n\t],\n\tVe: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVeacute: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVecaron: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVecircumflex: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-71\n\t],\n\tVedieresis: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-71,\n\t\t-71,\n\t\t-71\n\t],\n\tVedotaccent: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVegrave: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-71,\n\t\t-71,\n\t\t-71\n\t],\n\tVemacron: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-71,\n\t\t-71,\n\t\t-71\n\t],\n\tVeogonek: [\n\t\t-50,\n\t\t-50,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-111\n\t],\n\tVhyphen: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-74,\n\t\t-70,\n\t\t-55,\n\t\t-100\n\t],\n\tVo: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-129\n\t],\n\tVoacute: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-129\n\t],\n\tVocircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-129\n\t],\n\tVodieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-89\n\t],\n\tVograve: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-89\n\t],\n\tVohungarumlaut: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-129\n\t],\n\tVomacron: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-89\n\t],\n\tVoslash: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-129\n\t],\n\tVotilde: [\n\t\t-90,\n\t\t-90,\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-111,\n\t\t-111,\n\t\t-89\n\t],\n\tVperiod: [\n\t\t-120,\n\t\t-120,\n\t\t-125,\n\t\t-125,\n\t\t-145,\n\t\t-129,\n\t\t-129,\n\t\t-129\n\t],\n\tVsemicolon: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-92,\n\t\t-74,\n\t\t-74,\n\t\t-74\n\t],\n\tVu: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVuacute: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVucircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVudieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVugrave: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVuhungarumlaut: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVumacron: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVuogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tVuring: [\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-70,\n\t\t-92,\n\t\t-55,\n\t\t-74,\n\t\t-75\n\t],\n\tWA: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAacute: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAbreve: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAcircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAdieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAgrave: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAmacron: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAogonek: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAring: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWAtilde: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-120,\n\t\t-74,\n\t\t-60,\n\t\t-120\n\t],\n\tWO: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOcircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOdieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOgrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOmacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOslash: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWOtilde: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-15,\n\t\t-25,\n\t\t-10\n\t],\n\tWa: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWaacute: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWabreve: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWacircumflex: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWadieresis: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWagrave: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWamacron: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWaogonek: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWaring: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWatilde: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-65,\n\t\t-85,\n\t\t-92,\n\t\t-80\n\t],\n\tWcolon: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55,\n\t\t-65,\n\t\t-37\n\t],\n\tWcomma: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-92,\n\t\t-74,\n\t\t-92,\n\t\t-92\n\t],\n\tWe: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWeacute: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWecaron: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWecircumflex: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWedieresis: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-50,\n\t\t-52,\n\t\t-40\n\t],\n\tWedotaccent: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWegrave: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-50,\n\t\t-52,\n\t\t-40\n\t],\n\tWemacron: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-50,\n\t\t-52,\n\t\t-40\n\t],\n\tWeogonek: [\n\t\t-35,\n\t\t-35,\n\t\t-30,\n\t\t-30,\n\t\t-65,\n\t\t-90,\n\t\t-92,\n\t\t-80\n\t],\n\tWhyphen: [\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-37,\n\t\t-50,\n\t\t-37,\n\t\t-65\n\t],\n\tWo: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWoacute: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWocircumflex: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWodieresis: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWograve: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWohungarumlaut: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWomacron: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWoslash: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWotilde: [\n\t\t-60,\n\t\t-60,\n\t\t-30,\n\t\t-30,\n\t\t-75,\n\t\t-80,\n\t\t-92,\n\t\t-80\n\t],\n\tWperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-92,\n\t\t-74,\n\t\t-92,\n\t\t-92\n\t],\n\tWsemicolon: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55,\n\t\t-65,\n\t\t-37\n\t],\n\tWu: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWuacute: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWucircumflex: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWudieresis: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWugrave: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWuhungarumlaut: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWumacron: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWuogonek: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWuring: [\n\t\t-45,\n\t\t-45,\n\t\t-30,\n\t\t-30,\n\t\t-50,\n\t\t-55,\n\t\t-55,\n\t\t-50\n\t],\n\tWy: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-60,\n\t\t-55,\n\t\t-70,\n\t\t-73\n\t],\n\tWyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-60,\n\t\t-55,\n\t\t-70,\n\t\t-73\n\t],\n\tWydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-60,\n\t\t-55,\n\t\t-70,\n\t\t-73\n\t],\n\tYA: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAacute: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAbreve: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAcircumflex: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAgrave: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAmacron: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAogonek: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAring: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYAtilde: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYO: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOacute: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOcircumflex: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOgrave: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOhungarumlaut: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOmacron: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOslash: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYOtilde: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYa: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYaacute: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYabreve: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYadieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYagrave: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYamacron: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYaogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYaring: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYatilde: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYcolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYcomma: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-129\n\t],\n\tYe: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYeacute: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYecaron: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYecircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-71,\n\t\t-92,\n\t\t-100\n\t],\n\tYedieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYedotaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYegrave: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYemacron: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYeogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYo: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYoacute: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYocircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYodieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYograve: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYohungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYomacron: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYoslash: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYotilde: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYperiod: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-74,\n\t\t-92,\n\t\t-129\n\t],\n\tYsemicolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYu: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYuacute: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYucircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYudieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYugrave: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYuhungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYumacron: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYuogonek: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYuring: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteA: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAacute: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAbreve: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAcircumflex: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAgrave: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAmacron: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAogonek: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAring: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteAtilde: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYacuteO: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOacute: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOcircumflex: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOgrave: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOhungarumlaut: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOmacron: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOslash: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacuteOtilde: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYacutea: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteaacute: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteabreve: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteacircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteadieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYacuteagrave: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYacuteamacron: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYacuteaogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacutearing: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteatilde: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYacutecolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYacutecomma: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-129\n\t],\n\tYacutee: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteeacute: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteecaron: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteecircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-71,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteedieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYacuteedotaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteegrave: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYacuteemacron: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYacuteeogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYacuteo: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYacuteoacute: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYacuteocircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYacuteodieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYacuteograve: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYacuteohungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYacuteomacron: [\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-70,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYacuteoslash: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYacuteotilde: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYacuteperiod: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-74,\n\t\t-92,\n\t\t-129\n\t],\n\tYacutesemicolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYacuteu: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteuacute: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteucircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteudieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYacuteugrave: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYacuteuhungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteumacron: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYacuteuogonek: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYacuteuring: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisA: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAacute: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAbreve: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAcircumflex: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAdieresis: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAgrave: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAmacron: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAogonek: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAring: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisAtilde: [\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-110,\n\t\t-74,\n\t\t-50,\n\t\t-120\n\t],\n\tYdieresisO: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOacute: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOcircumflex: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOdieresis: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOgrave: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOhungarumlaut: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOmacron: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOslash: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisOtilde: [\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-85,\n\t\t-35,\n\t\t-25,\n\t\t-15,\n\t\t-30\n\t],\n\tYdieresisa: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisaacute: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisabreve: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisacircumflex: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisadieresis: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYdieresisagrave: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYdieresisamacron: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-60\n\t],\n\tYdieresisaogonek: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisaring: [\n\t\t-90,\n\t\t-90,\n\t\t-140,\n\t\t-140,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisatilde: [\n\t\t-90,\n\t\t-90,\n\t\t-70,\n\t\t-70,\n\t\t-85,\n\t\t-92,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresiscolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYdieresiscomma: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-129\n\t],\n\tYdieresise: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresiseacute: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisecaron: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisecircumflex: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-71,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisedieresis: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYdieresisedotaccent: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresisegrave: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYdieresisemacron: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-71,\n\t\t-71,\n\t\t-52,\n\t\t-60\n\t],\n\tYdieresiseogonek: [\n\t\t-80,\n\t\t-80,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-100\n\t],\n\tYdieresiso: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYdieresisoacute: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYdieresisocircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYdieresisodieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYdieresisograve: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYdieresisohungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYdieresisomacron: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYdieresisoslash: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-110\n\t],\n\tYdieresisotilde: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-111,\n\t\t-111,\n\t\t-92,\n\t\t-70\n\t],\n\tYdieresisperiod: [\n\t\t-100,\n\t\t-100,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-74,\n\t\t-92,\n\t\t-129\n\t],\n\tYdieresissemicolon: [\n\t\t-50,\n\t\t-50,\n\t\t-60,\n\t\t-60,\n\t\t-92,\n\t\t-92,\n\t\t-65,\n\t\t-92\n\t],\n\tYdieresisu: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisuacute: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisucircumflex: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisudieresis: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYdieresisugrave: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYdieresisuhungarumlaut: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisumacron: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-71\n\t],\n\tYdieresisuogonek: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tYdieresisuring: [\n\t\t-100,\n\t\t-100,\n\t\t-110,\n\t\t-110,\n\t\t-92,\n\t\t-92,\n\t\t-92,\n\t\t-111\n\t],\n\tag: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tagbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tagcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tav: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\taw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tay: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tayacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taacuteg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taacutegbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taacutegcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taacutev: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\taacutew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\taacutey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taacuteyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taacuteydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tabreveg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tabrevegbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tabrevegcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tabrevev: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tabrevew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tabrevey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tabreveyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tabreveydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tacircumflexg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tacircumflexgbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tacircumflexgcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tacircumflexv: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tacircumflexw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tacircumflexy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tacircumflexyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tacircumflexydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tadieresisg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tadieresisgbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tadieresisgcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tadieresisv: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tadieresisw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tadieresisy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tadieresisyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tadieresisydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tagraveg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tagravegbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tagravegcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tagravev: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tagravew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tagravey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tagraveyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tagraveydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tamacrong: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tamacrongbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tamacrongcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tamacronv: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tamacronw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tamacrony: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tamacronyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tamacronydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taogonekg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taogonekgbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taogonekgcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taogonekv: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\taogonekw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\taogoneky: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taogonekyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taogonekydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taringg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taringgbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taringgcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\taringv: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\taringw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\taringy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taringyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\taringydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tatildeg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tatildegbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tatildegcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tatildev: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tatildew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tatildey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tatildeyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tatildeydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30\n\t],\n\tbl: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20\n\t],\n\tblacute: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20\n\t],\n\tblcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20\n\t],\n\tblslash: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20\n\t],\n\tbu: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbuacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbucircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbudieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbugrave: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbuhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbumacron: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbuogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tburing: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbv: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tby: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tbydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20\n\t],\n\tch: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tck: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tckcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tcl: [\n\t\t-20,\n\t\t-20\n\t],\n\tclacute: [\n\t\t-20,\n\t\t-20\n\t],\n\tclcommaaccent: [\n\t\t-20,\n\t\t-20\n\t],\n\tclslash: [\n\t\t-20,\n\t\t-20\n\t],\n\tcy: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcyacute: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcydieresis: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcacuteh: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tcacutek: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tcacutekcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tcacutel: [\n\t\t-20,\n\t\t-20\n\t],\n\tcacutelacute: [\n\t\t-20,\n\t\t-20\n\t],\n\tcacutelcommaaccent: [\n\t\t-20,\n\t\t-20\n\t],\n\tcacutelslash: [\n\t\t-20,\n\t\t-20\n\t],\n\tcacutey: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcacuteyacute: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcacuteydieresis: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccaronh: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tccaronk: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tccaronkcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tccaronl: [\n\t\t-20,\n\t\t-20\n\t],\n\tccaronlacute: [\n\t\t-20,\n\t\t-20\n\t],\n\tccaronlcommaaccent: [\n\t\t-20,\n\t\t-20\n\t],\n\tccaronlslash: [\n\t\t-20,\n\t\t-20\n\t],\n\tccarony: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccaronyacute: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccaronydieresis: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccedillah: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tccedillak: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tccedillakcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t-10,\n\t\t-20\n\t],\n\tccedillal: [\n\t\t-20,\n\t\t-20\n\t],\n\tccedillalacute: [\n\t\t-20,\n\t\t-20\n\t],\n\tccedillalcommaaccent: [\n\t\t-20,\n\t\t-20\n\t],\n\tccedillalslash: [\n\t\t-20,\n\t\t-20\n\t],\n\tccedillay: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccedillayacute: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tccedillaydieresis: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tcolonspace: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50\n\t],\n\tcommaquotedblright: [\n\t\t-120,\n\t\t-120,\n\t\t-100,\n\t\t-100,\n\t\t-45,\n\t\t-95,\n\t\t-140,\n\t\t-70\n\t],\n\tcommaquoteright: [\n\t\t-120,\n\t\t-120,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-95,\n\t\t-140,\n\t\t-70\n\t],\n\tcommaspace: [\n\t\t-40,\n\t\t-40\n\t],\n\tdd: [\n\t\t-10,\n\t\t-10\n\t],\n\tddcroat: [\n\t\t-10,\n\t\t-10\n\t],\n\tdv: [\n\t\t-15,\n\t\t-15\n\t],\n\tdw: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tdy: [\n\t\t-15,\n\t\t-15\n\t],\n\tdyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tdydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tdcroatd: [\n\t\t-10,\n\t\t-10\n\t],\n\tdcroatdcroat: [\n\t\t-10,\n\t\t-10\n\t],\n\tdcroatv: [\n\t\t-15,\n\t\t-15\n\t],\n\tdcroatw: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tdcroaty: [\n\t\t-15,\n\t\t-15\n\t],\n\tdcroatyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tdcroatydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tecomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\teperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tev: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tex: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tey: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teacutecomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\teacuteperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\teacutev: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\teacutew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\teacutex: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\teacutey: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teacuteyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teacuteydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecaroncomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tecaronperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tecaronv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tecaronw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tecaronx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tecarony: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecaronyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecaronydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecircumflexcomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tecircumflexperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tecircumflexv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tecircumflexw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tecircumflexx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tecircumflexy: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecircumflexyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tecircumflexydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedieresiscomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tedieresisperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tedieresisv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tedieresisw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tedieresisx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tedieresisy: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedieresisyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedieresisydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedotaccentcomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tedotaccentperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tedotaccentv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tedotaccentw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tedotaccentx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tedotaccenty: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedotaccentyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tedotaccentydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tegravecomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tegraveperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tegravev: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tegravew: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\tegravex: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\tegravey: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tegraveyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tegraveydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\temacroncomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\temacronperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\temacronv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\temacronw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\temacronx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\temacrony: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\temacronyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\temacronydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teogonekcomma: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\teogonekperiod: [\n\t\t20,\n\t\t20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\teogonekv: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\teogonekw: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-25\n\t],\n\teogonekx: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15\n\t],\n\teogoneky: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teogonekyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\teogonekydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-15\n\t],\n\tfcomma: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-10,\n\t\t-10\n\t],\n\tfe: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tfeacute: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tfecaron: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30\n\t],\n\tfecircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30\n\t],\n\tfedieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30\n\t],\n\tfedotaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tfegrave: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30\n\t],\n\tfemacron: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30\n\t],\n\tfeogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tfo: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfoacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25\n\t],\n\tfograve: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfomacron: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25\n\t],\n\tfoslash: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfotilde: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-10\n\t],\n\tfperiod: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\tfquotedblright: [\n\t\t30,\n\t\t30,\n\t\t60,\n\t\t60,\n\t\t50\n\t],\n\tfquoteright: [\n\t\t30,\n\t\t30,\n\t\t50,\n\t\t50,\n\t\t55,\n\t\t55,\n\t\t92,\n\t\t55\n\t],\n\tge: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgeacute: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgecaron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgecircumflex: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgedieresis: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgedotaccent: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgegrave: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgemacron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgeogonek: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tggbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tggcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbrevee: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveeacute: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveecaron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveecircumflex: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveedieresis: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveedotaccent: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveegrave: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveemacron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveeogonek: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbreveg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbrevegbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbrevegcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccente: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccenteacute: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentecaron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentecircumflex: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentedieresis: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentedotaccent: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentegrave: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentemacron: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccenteogonek: [\n\t\t10,\n\t\t10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentg: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentgbreve: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentgcommaaccent: [\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\thy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\thyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\thydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tko: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkoacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkocircumflex: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkodieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkograve: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkohungarumlaut: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkomacron: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkoslash: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkotilde: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccento: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentoacute: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentocircumflex: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentodieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentograve: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentohungarumlaut: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentomacron: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentoslash: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentotilde: [\n\t\t-15,\n\t\t-15,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tlw: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tly: [\n\t\t-15,\n\t\t-15\n\t],\n\tlyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tlydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tlacutew: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tlacutey: [\n\t\t-15,\n\t\t-15\n\t],\n\tlacuteyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tlacuteydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tlcommaaccentw: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tlcommaaccenty: [\n\t\t-15,\n\t\t-15\n\t],\n\tlcommaaccentyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tlcommaaccentydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tlslashw: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tlslashy: [\n\t\t-15,\n\t\t-15\n\t],\n\tlslashyacute: [\n\t\t-15,\n\t\t-15\n\t],\n\tlslashydieresis: [\n\t\t-15,\n\t\t-15\n\t],\n\tmu: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmuacute: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmucircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmudieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmugrave: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmuhungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmumacron: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmuogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmuring: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10\n\t],\n\tmy: [\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-15\n\t],\n\tmyacute: [\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-15\n\t],\n\tmydieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-15,\n\t\t-15\n\t],\n\tnu: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnuacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnucircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnudieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnugrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnuhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnumacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnuogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnuring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnv: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tny: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tnyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tnydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tnacuteu: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteuacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteucircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteudieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteugrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteuhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteumacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteuogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacuteuring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tnacutev: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tnacutey: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tnacuteyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tnacuteydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncaronu: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronuacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronucircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronudieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronugrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronuhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronumacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronuogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronuring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncaronv: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tncarony: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncaronyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncaronydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncommaaccentu: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentuacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentucircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentudieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentugrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentuhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentumacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentuogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccenturing: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tncommaaccentv: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tncommaaccenty: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncommaaccentyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tncommaaccentydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tntildeu: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeuacute: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeucircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeudieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeugrave: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeuhungarumlaut: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeumacron: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeuogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildeuring: [\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tntildev: [\n\t\t-40,\n\t\t-40,\n\t\t-20,\n\t\t-20,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tntildey: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tntildeyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tntildeydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tov: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\tow: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\tox: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\toy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toacutev: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\toacutew: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\toacutex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\toacutey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toacuteyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toacuteydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexv: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\tocircumflexw: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\tocircumflexx: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\todieresisv: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\todieresisw: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\todieresisx: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\todieresisy: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\todieresisyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\todieresisydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\togravev: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\togravew: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\togravex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\togravey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tograveyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tograveydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautv: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\tohungarumlautw: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\tohungarumlautx: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlauty: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tomacronv: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\tomacronw: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\tomacronx: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\tomacrony: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tomacronyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tomacronydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toslashv: [\n\t\t-20,\n\t\t-20,\n\t\t-70,\n\t\t-70,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\toslashw: [\n\t\t-15,\n\t\t-15,\n\t\t-70,\n\t\t-70,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\toslashx: [\n\t\t-30,\n\t\t-30,\n\t\t-85,\n\t\t-85,\n\t\t0,\n\t\t-10\n\t],\n\toslashy: [\n\t\t-20,\n\t\t-20,\n\t\t-70,\n\t\t-70,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toslashyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-70,\n\t\t-70,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\toslashydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-70,\n\t\t-70,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\totildev: [\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-15,\n\t\t-10,\n\t\t-15\n\t],\n\totildew: [\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-15,\n\t\t-10,\n\t\t-25,\n\t\t0,\n\t\t-25\n\t],\n\totildex: [\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10\n\t],\n\totildey: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\totildeyacute: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\totildeydieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tpy: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tpyacute: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tpydieresis: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tperiodquotedblright: [\n\t\t-120,\n\t\t-120,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-95,\n\t\t-140,\n\t\t-70\n\t],\n\tperiodquoteright: [\n\t\t-120,\n\t\t-120,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-95,\n\t\t-140,\n\t\t-70\n\t],\n\tperiodspace: [\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-60\n\t],\n\tquotedblrightspace: [\n\t\t-80,\n\t\t-80,\n\t\t-40,\n\t\t-40\n\t],\n\tquoteleftquoteleft: [\n\t\t-46,\n\t\t-46,\n\t\t-57,\n\t\t-57,\n\t\t-63,\n\t\t-74,\n\t\t-111,\n\t\t-74\n\t],\n\tquoterightd: [\n\t\t-80,\n\t\t-80,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterightdcroat: [\n\t\t-80,\n\t\t-80,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterightl: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tquoterightlacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tquoterightlcommaaccent: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tquoterightlslash: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tquoterightquoteright: [\n\t\t-46,\n\t\t-46,\n\t\t-57,\n\t\t-57,\n\t\t-63,\n\t\t-74,\n\t\t-111,\n\t\t-74\n\t],\n\tquoterightr: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterightracute: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterightrcaron: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterightrcommaaccent: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50,\n\t\t-20,\n\t\t-15,\n\t\t-25,\n\t\t-50\n\t],\n\tquoterights: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-37,\n\t\t-74,\n\t\t-40,\n\t\t-55\n\t],\n\tquoterightsacute: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-37,\n\t\t-74,\n\t\t-40,\n\t\t-55\n\t],\n\tquoterightscaron: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-37,\n\t\t-74,\n\t\t-40,\n\t\t-55\n\t],\n\tquoterightscedilla: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-37,\n\t\t-74,\n\t\t-40,\n\t\t-55\n\t],\n\tquoterightscommaaccent: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-37,\n\t\t-74,\n\t\t-40,\n\t\t-55\n\t],\n\tquoterightspace: [\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-70,\n\t\t-74,\n\t\t-74,\n\t\t-111,\n\t\t-74\n\t],\n\tquoterightv: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-15,\n\t\t-10,\n\t\t-50\n\t],\n\trc: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trccaron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trccedilla: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcomma: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-92,\n\t\t-65,\n\t\t-111,\n\t\t-40\n\t],\n\trd: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trdcroat: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trg: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trgbreve: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trgcommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trhyphen: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tro: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\troacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trograve: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tromacron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\troslash: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trotilde: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trperiod: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-100,\n\t\t-65,\n\t\t-111,\n\t\t-55\n\t],\n\trq: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trs: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trsacute: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trscaron: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trscedilla: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trscommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trt: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trtcommaaccent: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trv: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\try: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\tryacute: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trydieresis: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\tracutec: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracutecacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteccaron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteccedilla: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracutecomma: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-92,\n\t\t-65,\n\t\t-111,\n\t\t-40\n\t],\n\tracuted: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\tracutedcroat: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\tracuteg: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\tracutegbreve: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\tracutegcommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\tracutehyphen: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tracuteo: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteoacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteograve: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteomacron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteoslash: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteotilde: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\tracuteperiod: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-100,\n\t\t-65,\n\t\t-111,\n\t\t-55\n\t],\n\tracuteq: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracutes: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tracutesacute: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tracutescaron: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tracutescedilla: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tracutescommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tracutet: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\tracutetcommaaccent: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\tracutev: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\tracutey: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\tracuteyacute: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\tracuteydieresis: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcaronc: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaroncacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronccaron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronccedilla: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaroncomma: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-92,\n\t\t-65,\n\t\t-111,\n\t\t-40\n\t],\n\trcarond: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trcarondcroat: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trcarong: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcarongbreve: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcarongcommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcaronhyphen: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\trcarono: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronoacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronograve: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronomacron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronoslash: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronotilde: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcaronperiod: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-100,\n\t\t-65,\n\t\t-111,\n\t\t-55\n\t],\n\trcaronq: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcarons: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcaronsacute: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcaronscaron: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcaronscedilla: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcaronscommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcaront: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trcarontcommaaccent: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trcaronv: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\trcarony: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcaronyacute: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcaronydieresis: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcommaaccentc: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentcacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentccaron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentccedilla: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentcomma: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-92,\n\t\t-65,\n\t\t-111,\n\t\t-40\n\t],\n\trcommaaccentd: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentdcroat: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentg: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcommaaccentgbreve: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcommaaccentgcommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-37,\n\t\t-18\n\t],\n\trcommaaccenthyphen: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\trcommaaccento: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentoacute: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentograve: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentomacron: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentoslash: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentotilde: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-45\n\t],\n\trcommaaccentperiod: [\n\t\t-60,\n\t\t-60,\n\t\t-50,\n\t\t-50,\n\t\t-100,\n\t\t-65,\n\t\t-111,\n\t\t-55\n\t],\n\trcommaaccentq: [\n\t\t-20,\n\t\t-20,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccents: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcommaaccentsacute: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcommaaccentscaron: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcommaaccentscedilla: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcommaaccentscommaaccent: [\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\trcommaaccentt: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trcommaaccenttcommaaccent: [\n\t\t20,\n\t\t20,\n\t\t40,\n\t\t40\n\t],\n\trcommaaccentv: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\trcommaaccenty: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcommaaccentyacute: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\trcommaaccentydieresis: [\n\t\t10,\n\t\t10,\n\t\t30,\n\t\t30\n\t],\n\tsw: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30\n\t],\n\tsacutew: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30\n\t],\n\tscaronw: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30\n\t],\n\tscedillaw: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30\n\t],\n\tscommaaccentw: [\n\t\t-15,\n\t\t-15,\n\t\t-30,\n\t\t-30\n\t],\n\tsemicolonspace: [\n\t\t-40,\n\t\t-40,\n\t\t-50,\n\t\t-50\n\t],\n\tspaceT: [\n\t\t-100,\n\t\t-100,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t0,\n\t\t-18,\n\t\t-18\n\t],\n\tspaceTcaron: [\n\t\t-100,\n\t\t-100,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t0,\n\t\t-18,\n\t\t-18\n\t],\n\tspaceTcommaaccent: [\n\t\t-100,\n\t\t-100,\n\t\t-50,\n\t\t-50,\n\t\t-30,\n\t\t0,\n\t\t-18,\n\t\t-18\n\t],\n\tspaceV: [\n\t\t-80,\n\t\t-80,\n\t\t-50,\n\t\t-50,\n\t\t-45,\n\t\t-70,\n\t\t-35,\n\t\t-50\n\t],\n\tspaceW: [\n\t\t-80,\n\t\t-80,\n\t\t-40,\n\t\t-40,\n\t\t-30,\n\t\t-70,\n\t\t-40,\n\t\t-30\n\t],\n\tspaceY: [\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-90,\n\t\t-55,\n\t\t-70,\n\t\t-75,\n\t\t-90\n\t],\n\tspaceYacute: [\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-90,\n\t\t-55,\n\t\t-70,\n\t\t-75,\n\t\t-90\n\t],\n\tspaceYdieresis: [\n\t\t-120,\n\t\t-120,\n\t\t-90,\n\t\t-90,\n\t\t-55,\n\t\t-70,\n\t\t-75,\n\t\t-90\n\t],\n\tspacequotedblleft: [\n\t\t-80,\n\t\t-80,\n\t\t-30,\n\t\t-30\n\t],\n\tspacequoteleft: [\n\t\t-60,\n\t\t-60,\n\t\t-60,\n\t\t-60\n\t],\n\tva: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvaacute: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvabreve: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvacircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvadieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvagrave: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvamacron: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvaogonek: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvaring: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvatilde: [\n\t\t-20,\n\t\t-20,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tvcomma: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-55,\n\t\t-37,\n\t\t-74,\n\t\t-65\n\t],\n\tvo: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvoacute: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvocircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvodieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvograve: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvohungarumlaut: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvomacron: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvoslash: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvotilde: [\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-20\n\t],\n\tvperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-80,\n\t\t-70,\n\t\t-37,\n\t\t-74,\n\t\t-65\n\t],\n\twcomma: [\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-60,\n\t\t-55,\n\t\t-37,\n\t\t-74,\n\t\t-65\n\t],\n\two: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twoacute: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twocircumflex: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twodieresis: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twograve: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twohungarumlaut: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twomacron: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twoslash: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twotilde: [\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-10\n\t],\n\twperiod: [\n\t\t-40,\n\t\t-40,\n\t\t-60,\n\t\t-60,\n\t\t-70,\n\t\t-37,\n\t\t-74,\n\t\t-65\n\t],\n\txe: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txeacute: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txecaron: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txecircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txedieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txedotaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txegrave: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txemacron: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\txeogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-15\n\t],\n\tya: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyaacute: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyabreve: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyadieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyagrave: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyamacron: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyaogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyaring: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyatilde: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tycomma: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tye: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyeacute: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyecaron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyecircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyedieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyedotaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyegrave: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyemacron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyeogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyo: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyoacute: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyocircumflex: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyodieresis: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyograve: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyohungarumlaut: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyomacron: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyoslash: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyotilde: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\typeriod: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tyacutea: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteaacute: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteabreve: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteacircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteadieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteagrave: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteamacron: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteaogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacutearing: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacuteatilde: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tyacutecomma: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tyacutee: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteeacute: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteecaron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteecircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteedieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteedotaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteegrave: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteemacron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteeogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tyacuteo: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteoacute: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteocircumflex: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteodieresis: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteograve: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteohungarumlaut: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteomacron: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteoslash: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteotilde: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tyacuteperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tydieresisa: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisaacute: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisabreve: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisacircumflex: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisadieresis: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisagrave: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisamacron: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisaogonek: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisaring: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresisatilde: [\n\t\t-30,\n\t\t-30,\n\t\t-20,\n\t\t-20\n\t],\n\tydieresiscomma: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-55,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tydieresise: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresiseacute: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisecaron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisecircumflex: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisedieresis: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisedotaccent: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisegrave: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresisemacron: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresiseogonek: [\n\t\t-10,\n\t\t-10,\n\t\t-20,\n\t\t-20,\n\t\t-10\n\t],\n\tydieresiso: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisoacute: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisocircumflex: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisodieresis: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisograve: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisohungarumlaut: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisomacron: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisoslash: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisotilde: [\n\t\t-25,\n\t\t-25,\n\t\t-20,\n\t\t-20,\n\t\t-25\n\t],\n\tydieresisperiod: [\n\t\t-80,\n\t\t-80,\n\t\t-100,\n\t\t-100,\n\t\t-70,\n\t\t-37,\n\t\t-55,\n\t\t-65\n\t],\n\tze: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzeacute: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzecaron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzecircumflex: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzedieresis: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzedotaccent: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzegrave: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzemacron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzeogonek: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacutee: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteeacute: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteecaron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteecircumflex: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteedieresis: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteedotaccent: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteegrave: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteemacron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteeogonek: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcarone: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaroneacute: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronecaron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronecircumflex: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronedieresis: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronedotaccent: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronegrave: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronemacron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaroneogonek: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccente: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccenteacute: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentecaron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentecircumflex: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentedieresis: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentedotaccent: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentegrave: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentemacron: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccenteogonek: [\n\t\t10,\n\t\t10,\n\t\t-15,\n\t\t-15\n\t],\n\tBcomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tBperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tCcomma: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCperiod: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCacutecomma: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCacuteperiod: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCcaroncomma: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCcaronperiod: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCcedillacomma: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tCcedillaperiod: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30\n\t],\n\tFe: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFeacute: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFecaron: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFedieresis: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFegrave: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFemacron: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFeogonek: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-100,\n\t\t-75\n\t],\n\tFo: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFoacute: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFodieresis: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFograve: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFomacron: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFoslash: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFotilde: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t-25,\n\t\t-70,\n\t\t-105,\n\t\t-15\n\t],\n\tFr: [\n\t\t0,\n\t\t0,\n\t\t-45,\n\t\t-45,\n\t\t0,\n\t\t-50,\n\t\t-55\n\t],\n\tFracute: [\n\t\t0,\n\t\t0,\n\t\t-45,\n\t\t-45,\n\t\t0,\n\t\t-50,\n\t\t-55\n\t],\n\tFrcaron: [\n\t\t0,\n\t\t0,\n\t\t-45,\n\t\t-45,\n\t\t0,\n\t\t-50,\n\t\t-55\n\t],\n\tFrcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-45,\n\t\t-45,\n\t\t0,\n\t\t-50,\n\t\t-55\n\t],\n\tJa: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJaacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJabreve: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJadieresis: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJagrave: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJamacron: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJaogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJaring: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tJatilde: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-15,\n\t\t-40,\n\t\t-35\n\t],\n\tLcaronT: [\n\t\t0,\n\t\t0,\n\t\t-110,\n\t\t-110\n\t],\n\tLcaronTcaron: [\n\t\t0,\n\t\t0,\n\t\t-110,\n\t\t-110\n\t],\n\tLcaronTcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-110,\n\t\t-110\n\t],\n\tLcaronV: [\n\t\t0,\n\t\t0,\n\t\t-110,\n\t\t-110\n\t],\n\tLcaronW: [\n\t\t0,\n\t\t0,\n\t\t-70,\n\t\t-70\n\t],\n\tLcaronY: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140\n\t],\n\tLcaronYacute: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140\n\t],\n\tLcaronYdieresis: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140\n\t],\n\tLcaronquotedblright: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140\n\t],\n\tLcaronquoteright: [\n\t\t0,\n\t\t0,\n\t\t-160,\n\t\t-160,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-92\n\t],\n\tLcarony: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55\n\t],\n\tLcaronyacute: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55\n\t],\n\tLcaronydieresis: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55\n\t],\n\tScomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tSperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tSacutecomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tSacuteperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScaroncomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScaronperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScedillacomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScedillaperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScommaaccentcomma: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tScommaaccentperiod: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20\n\t],\n\tTrcaron: [\n\t\t0,\n\t\t0,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaronrcaron: [\n\t\t0,\n\t\t0,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentrcaron: [\n\t\t0,\n\t\t0,\n\t\t-120,\n\t\t-120,\n\t\t-74,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tYhyphen: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-111\n\t],\n\tYi: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYiacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYiogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYacutehyphen: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-111\n\t],\n\tYacutei: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYacuteiacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYacuteiogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYdieresishyphen: [\n\t\t0,\n\t\t0,\n\t\t-140,\n\t\t-140,\n\t\t-92,\n\t\t-92,\n\t\t-74,\n\t\t-111\n\t],\n\tYdieresisi: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYdieresisiacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tYdieresisiogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-55\n\t],\n\tbb: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t-10,\n\t\t-10\n\t],\n\tbcomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tbperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40,\n\t\t-40\n\t],\n\tccomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tcacutecomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tccaroncomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tccedillacomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tfa: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfaacute: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfabreve: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfadieresis: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfagrave: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfamacron: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfaogonek: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfaring: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfatilde: [\n\t\t0,\n\t\t0,\n\t\t-30,\n\t\t-30,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfdotlessi: [\n\t\t0,\n\t\t0,\n\t\t-28,\n\t\t-28,\n\t\t-35,\n\t\t-30,\n\t\t-60,\n\t\t-50\n\t],\n\tgr: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgracute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgrcaron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgrcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgbrever: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgbreveracute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgbrevercaron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgbrevercommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgcommaaccentr: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgcommaaccentracute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgcommaaccentrcaron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tgcommaaccentrcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10\n\t],\n\tke: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkeacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkecaron: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkedieresis: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkegrave: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkemacron: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkeogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccente: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccenteacute: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentecaron: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentedieresis: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentegrave: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccentemacron: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tkcommaaccenteogonek: [\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-20,\n\t\t-10,\n\t\t-30,\n\t\t-10,\n\t\t-10\n\t],\n\tocomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\toperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\toacutecomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\toacuteperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tocircumflexcomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tocircumflexperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\todieresiscomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\todieresisperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\togravecomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tograveperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tohungarumlautcomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tohungarumlautperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tomacroncomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tomacronperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\toslasha: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashaacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashabreve: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashadieresis: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashagrave: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashamacron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashaogonek: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslasharing: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashatilde: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashb: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashc: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashcacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashccaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashccedilla: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashcomma: [\n\t\t0,\n\t\t0,\n\t\t-95,\n\t\t-95\n\t],\n\toslashd: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashdcroat: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashe: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslasheacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashecaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashedieresis: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashegrave: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashemacron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslasheogonek: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashf: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashg: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toslashgbreve: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toslashgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toslashh: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashi: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashiacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashicircumflex: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashidieresis: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashigrave: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashimacron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashiogonek: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashj: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashk: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashkcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashl: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashlacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashlcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashlslash: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashm: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashn: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashnacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashncaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashncommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashntilde: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslasho: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashoacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashodieresis: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashograve: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashomacron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashoslash: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashotilde: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashp: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashperiod: [\n\t\t0,\n\t\t0,\n\t\t-95,\n\t\t-95\n\t],\n\toslashq: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashr: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashracute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashrcaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashrcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashs: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashsacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashscaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashscedilla: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashscommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslasht: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashtcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashu: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashuacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashucircumflex: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashudieresis: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashugrave: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashuhungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashumacron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashuogonek: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashuring: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashz: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashzacute: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashzcaron: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\toslashzdotaccent: [\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-55\n\t],\n\totildecomma: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\totildeperiod: [\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-40\n\t],\n\tpcomma: [\n\t\t0,\n\t\t0,\n\t\t-35,\n\t\t-35\n\t],\n\tpperiod: [\n\t\t0,\n\t\t0,\n\t\t-35,\n\t\t-35\n\t],\n\tra: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\traacute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trabreve: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracircumflex: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tradieresis: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tragrave: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tramacron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\traogonek: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\traring: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tratilde: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\tri: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\triacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tricircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tridieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trigrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trimacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\triogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trk: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trkcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trl: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trlacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trlcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trlslash: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trm: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25\n\t],\n\trn: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trnacute: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trncaron: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trncommaaccent: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trntilde: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trp: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\trsemicolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\tru: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\truacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trucircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trudieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trugrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\truhungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trumacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\truogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\truring: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutea: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteaacute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteabreve: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteadieresis: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteagrave: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteamacron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteaogonek: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracutearing: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracuteatilde: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\tracutecolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\tracutei: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteiacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteicircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteidieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteigrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteimacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteiogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutekcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutel: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutelacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutelcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutelslash: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracutem: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25\n\t],\n\tracuten: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\tracutenacute: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\tracutencaron: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\tracutencommaaccent: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\tracutentilde: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\tracutep: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\tracutesemicolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\tracuteu: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteuacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteucircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteudieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteugrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteuhungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteumacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteuogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tracuteuring: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcarona: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronaacute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronabreve: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronadieresis: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronagrave: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronamacron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronaogonek: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronaring: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaronatilde: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcaroncolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\trcaroni: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaroniacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronicircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronidieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronigrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronimacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaroniogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronk: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronkcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronl: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronlacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronlcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronlslash: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronm: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25\n\t],\n\trcaronn: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcaronnacute: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcaronncaron: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcaronncommaaccent: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcaronntilde: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcaronp: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\trcaronsemicolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\trcaronu: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronuacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronucircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronudieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronugrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronuhungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronumacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronuogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcaronuring: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccenta: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentaacute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentabreve: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentadieresis: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentagrave: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentamacron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentaogonek: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentaring: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentatilde: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-15\n\t],\n\trcommaaccentcolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\trcommaaccenti: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentiacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccenticircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentidieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentigrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentimacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentiogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentk: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentkcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentl: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentlacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentlcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentlslash: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentm: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25\n\t],\n\trcommaaccentn: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcommaaccentnacute: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcommaaccentncaron: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcommaaccentncommaaccent: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcommaaccentntilde: [\n\t\t0,\n\t\t0,\n\t\t25,\n\t\t25,\n\t\t-15\n\t],\n\trcommaaccentp: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30,\n\t\t-10\n\t],\n\trcommaaccentsemicolon: [\n\t\t0,\n\t\t0,\n\t\t30,\n\t\t30\n\t],\n\trcommaaccentu: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentuacute: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentucircumflex: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentudieresis: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentugrave: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentuhungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentumacron: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccentuogonek: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\trcommaaccenturing: [\n\t\t0,\n\t\t0,\n\t\t15,\n\t\t15\n\t],\n\tscomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tsperiod: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tsacutecomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tsacuteperiod: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscaroncomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscaronperiod: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscedillacomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscedillaperiod: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscommaaccentcomma: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tscommaaccentperiod: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tve: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tveacute: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvecaron: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvedieresis: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvegrave: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tvemacron: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\tveogonek: [\n\t\t0,\n\t\t0,\n\t\t-25,\n\t\t-25,\n\t\t-10,\n\t\t-15,\n\t\t0,\n\t\t-15\n\t],\n\twa: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twaacute: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twabreve: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twacircumflex: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twadieresis: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twagrave: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twamacron: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twaogonek: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twaring: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twatilde: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twe: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tweacute: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twecaron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twecircumflex: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twedieresis: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twedotaccent: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twegrave: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\twemacron: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tweogonek: [\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t-10,\n\t\t0,\n\t\t-10\n\t],\n\tzo: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzoacute: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzodieresis: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzograve: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzomacron: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzoslash: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzotilde: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteo: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteoacute: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteodieresis: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteograve: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteomacron: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteoslash: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzacuteotilde: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcarono: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronoacute: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronodieresis: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronograve: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronomacron: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronoslash: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzcaronotilde: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccento: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentoacute: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentocircumflex: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentodieresis: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentograve: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentomacron: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentoslash: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tzdotaccentotilde: [\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-15\n\t],\n\tAp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAacutep: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAacutequoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAbrevep: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAbrevequoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAcircumflexp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAcircumflexquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAdieresisp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAdieresisquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAgravep: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAgravequoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAmacronp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAmacronquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAogonekp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAogonekquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAringp: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAringquoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tAtildep: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-25\n\t],\n\tAtildequoteright: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-74,\n\t\t-74,\n\t\t-37,\n\t\t-111\n\t],\n\tJe: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJeacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJecaron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJecircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJedieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJedotaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJegrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJemacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJeogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJo: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJoacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJocircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJodieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJograve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJohungarumlaut: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJomacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJoslash: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tJotilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t-40,\n\t\t-25\n\t],\n\tNA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNacuteAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcaronAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNcommaaccentAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tNtildeAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20,\n\t\t-30,\n\t\t-27,\n\t\t-35\n\t],\n\tTi: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTiacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTiogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaroni: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaroniacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcaroniogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccenti: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentiacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tTcommaaccentiogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-35\n\t],\n\tVi: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-60\n\t],\n\tViacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-60\n\t],\n\tVicircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-34,\n\t\t-20\n\t],\n\tVidieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-34,\n\t\t-20\n\t],\n\tVigrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-34,\n\t\t-20\n\t],\n\tVimacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t0,\n\t\t-34,\n\t\t-20\n\t],\n\tViogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t-55,\n\t\t-74,\n\t\t-60\n\t],\n\tWi: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-40\n\t],\n\tWiacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-37,\n\t\t-55,\n\t\t-40\n\t],\n\tWiogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t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0,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tkydieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tkcommaaccenty: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tkcommaaccentyacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tkcommaaccentydieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-15,\n\t\t0,\n\t\t-10,\n\t\t-15\n\t],\n\tquotedblleftA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquotedblleftAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tquoteleftAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10,\n\t\t0,\n\t\t0,\n\t\t-80\n\t],\n\tre: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\treacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trecaron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trecircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tredieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tredotaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tregrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tremacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\treogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracutee: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteeacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteecaron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteecircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteedieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteedotaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteegrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteemacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tracuteeogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcarone: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaroneacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronecaron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronecircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronedieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronedotaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronegrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaronemacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcaroneogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccente: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccenteacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentecaron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentecircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentedieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentedotaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentegrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccentemacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\trcommaaccenteogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t0,\n\t\t-37\n\t],\n\tspaceA: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAcircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAdieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAgrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAmacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tspaceAtilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-55,\n\t\t-37,\n\t\t-18,\n\t\t-55\n\t],\n\tFi: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFiacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFicircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFidieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFigrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFimacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\tFiogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-45\n\t],\n\teb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\teacuteb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tecaronb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tecircumflexb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tedieresisb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tedotaccentb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tegraveb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\temacronb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\teogonekb: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tff: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-18,\n\t\t-18,\n\t\t-25\n\t],\n\tquoterightt: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t-30,\n\t\t-18\n\t],\n\tquoterighttcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-37,\n\t\t-30,\n\t\t-18\n\t],\n\tYicircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYidieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYigrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYimacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYacuteicircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYacuteidieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYacuteigrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYacuteimacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYdieresisicircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYdieresisidieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYdieresisigrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\tYdieresisimacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-34\n\t],\n\teg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teacuteg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teacutegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teacutegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecarong: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecarongbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecarongcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecircumflexg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecircumflexgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tecircumflexgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedieresisg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedieresisgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedieresisgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedotaccentg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedotaccentgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tedotaccentgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tegraveg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tegravegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tegravegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\temacrong: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\temacrongbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\temacrongcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teogonekg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teogonekgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\teogonekgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-40,\n\t\t-15\n\t],\n\tfiogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tgcomma: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgbrevecomma: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tgcommaaccentcomma: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tog: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\togbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\togcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toacuteg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toacutegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\toacutegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tocircumflexgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\todieresisg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\todieresisgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\todieresisgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tograveg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\togravegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\togravegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautgbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tohungarumlautgcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tomacrong: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tomacrongbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tomacrongcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\totildeg: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\totildegbreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\totildegcommaaccent: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-10\n\t],\n\tfiacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-20\n\t],\n\tga: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgaacute: [\n\t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n\t],\n\tgbreveadieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgbreveagrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgbreveamacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgbreveaogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgbrevearing: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgbreveatilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccenta: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentaacute: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentabreve: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentacircumflex: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentadieresis: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentagrave: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentamacron: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentaogonek: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentaring: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t],\n\tgcommaaccentatilde: [\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t-5\n\t]\n};\nvar data = {\n\tattributes: attributes,\n\tglyphWidths: glyphWidths,\n\tkernPairs: kernPairs\n};\n\nconst initFont = font => {\n return [font.FontName, {\n attributes: font,\n glyphWidths: {},\n kernPairs: {}\n }];\n};\nconst expandData = data => {\n const {\n attributes,\n glyphWidths,\n kernPairs\n } = data;\n const fonts = attributes.map(initFont);\n Object.keys(glyphWidths).forEach(key => {\n glyphWidths[key].forEach((value, index) => {\n if (value) fonts[index][1].glyphWidths[key] = value;\n });\n });\n Object.keys(kernPairs).forEach(key => {\n kernPairs[key].forEach((value, index) => {\n if (value) fonts[index][1].kernPairs[key] = value;\n });\n });\n return Object.fromEntries(fonts);\n};\n\nconst STANDARD_FONTS = expandData(data);\nconst createStandardFont = PDFFont => class StandardFont extends PDFFont {\n constructor(document, name, id) {\n super();\n this.document = document;\n this.name = name;\n this.id = id;\n this.font = AFMFont.fromJson(STANDARD_FONTS[this.name]);\n this.ascender = this.font.ascender;\n this.descender = this.font.descender;\n this.bbox = this.font.bbox;\n this.lineGap = this.font.lineGap;\n }\n embed() {\n this.dictionary.data = {\n Type: 'Font',\n BaseFont: this.name,\n Subtype: 'Type1',\n Encoding: 'WinAnsiEncoding'\n };\n return this.dictionary.end();\n }\n encode(text) {\n const encoded = this.font.encodeText(text);\n const glyphs = this.font.glyphsForString(\"\" + text);\n const advances = this.font.advancesForGlyphs(glyphs);\n const positions = [];\n for (let i = 0; i < glyphs.length; i++) {\n const glyph = glyphs[i];\n positions.push({\n xAdvance: advances[i],\n yAdvance: 0,\n xOffset: 0,\n yOffset: 0,\n advanceWidth: this.font.widthOfGlyph(glyph)\n });\n }\n return [encoded, positions];\n }\n encodeGlyphs(glyphs) {\n const res = [];\n for (let glyph of Array.from(glyphs)) {\n res.push((\"00\" + glyph.id.toString(16)).slice(-2));\n }\n return res;\n }\n widthOfString(string, size) {\n const glyphs = this.font.glyphsForString(\"\" + string);\n const advances = this.font.advancesForGlyphs(glyphs);\n let width = 0;\n for (let advance of Array.from(advances)) {\n width += advance;\n }\n const scale = size / 1000;\n return width * scale;\n }\n static isStandardFont(name) {\n return name in STANDARD_FONTS;\n }\n};\n\nconst toHex = function () {\n for (var _len = arguments.length, codePoints = new Array(_len), _key = 0; _key < _len; _key++) {\n codePoints[_key] = arguments[_key];\n }\n const codes = Array.from(codePoints).map(code => (\"0000\" + code.toString(16)).slice(-4));\n return codes.join('');\n};\nconst createEmbeddedFont = PDFFont => class EmbeddedFont extends PDFFont {\n constructor(document, font, id) {\n super();\n this.document = document;\n this.font = font;\n this.id = id;\n this.subset = this.font.createSubset();\n this.unicode = [[0]];\n this.widths = [this.font.getGlyph(0).advanceWidth];\n this.name = this.font.postscriptName;\n this.scale = 1000 / this.font.unitsPerEm;\n this.ascender = this.font.ascent * this.scale;\n this.descender = this.font.descent * this.scale;\n this.xHeight = this.font.xHeight * this.scale;\n this.capHeight = this.font.capHeight * this.scale;\n this.lineGap = this.font.lineGap * this.scale;\n this.bbox = this.font.bbox;\n this.layoutCache = Object.create(null);\n }\n layoutRun(text, features) {\n // passing LTR To force fontkit to not reverse the string\n const run = this.font.layout(text, features, undefined, undefined, 'ltr');\n\n // Normalize position values\n for (let i = 0; i < run.positions.length; i++) {\n const position = run.positions[i];\n for (let key in position) {\n position[key] *= this.scale;\n }\n position.advanceWidth = run.glyphs[i].advanceWidth * this.scale;\n }\n return run;\n }\n layoutCached(text) {\n let cached;\n if (cached = this.layoutCache[text]) {\n return cached;\n }\n const run = this.layoutRun(text);\n this.layoutCache[text] = run;\n return run;\n }\n layout(text, features, onlyWidth) {\n // Skip the cache if any user defined features are applied\n if (onlyWidth == null) {\n onlyWidth = false;\n }\n if (features) {\n return this.layoutRun(text, features);\n }\n const glyphs = onlyWidth ? null : [];\n const positions = onlyWidth ? null : [];\n let advanceWidth = 0;\n\n // Split the string by words to increase cache efficiency.\n // For this purpose, spaces and tabs are a good enough delimeter.\n let last = 0;\n let index = 0;\n while (index <= text.length) {\n let needle;\n if (index === text.length && last < index || (needle = text.charAt(index), [' ', '\\t'].includes(needle))) {\n const run = this.layoutCached(text.slice(last, ++index));\n if (!onlyWidth) {\n glyphs.push(...Array.from(run.glyphs || []));\n positions.push(...Array.from(run.positions || []));\n }\n advanceWidth += run.advanceWidth;\n last = index;\n } else {\n index++;\n }\n }\n return {\n glyphs,\n positions,\n advanceWidth\n };\n }\n encode(text, features) {\n const {\n glyphs,\n positions\n } = this.layout(text, features);\n const res = [];\n for (let i = 0; i < glyphs.length; i++) {\n const glyph = glyphs[i];\n const gid = this.subset.includeGlyph(glyph.id);\n res.push((\"0000\" + gid.toString(16)).slice(-4));\n if (this.widths[gid] == null) {\n this.widths[gid] = glyph.advanceWidth * this.scale;\n }\n if (this.unicode[gid] == null) {\n this.unicode[gid] = glyph.codePoints;\n }\n }\n return [res, positions];\n }\n encodeGlyphs(glyphs) {\n const res = [];\n for (let i = 0; i < glyphs.length; i++) {\n const glyph = glyphs[i];\n const gid = this.subset.includeGlyph(glyph.id);\n res.push((\"0000\" + gid.toString(16)).slice(-4));\n if (this.widths[gid] == null) {\n this.widths[gid] = glyph.advanceWidth * this.scale;\n }\n if (this.unicode[gid] == null) {\n this.unicode[gid] = glyph.codePoints;\n }\n }\n return res;\n }\n widthOfString(string, size, features) {\n const width = this.layout(string, features, true).advanceWidth;\n const scale = size / 1000;\n return width * scale;\n }\n embed() {\n const isCFF = this.subset.cff != null;\n const fontFile = this.document.ref();\n if (isCFF) {\n fontFile.data.Subtype = 'CIDFontType0C';\n }\n fontFile.end(this.subset.encode());\n const familyClass = ((this.font['OS/2'] != null ? this.font['OS/2'].sFamilyClass : undefined) || 0) >> 8;\n let flags = 0;\n if (this.font.post.isFixedPitch) {\n flags |= 1 << 0;\n }\n if (1 <= familyClass && familyClass <= 7) {\n flags |= 1 << 1;\n }\n flags |= 1 << 2; // assume the font uses non-latin characters\n if (familyClass === 10) {\n flags |= 1 << 3;\n }\n if (this.font.head.macStyle.italic) {\n flags |= 1 << 6;\n }\n\n // generate a random tag (6 uppercase letters. 65 is the char code for 'A')\n const tag = [0, 1, 2, 3, 4, 5].map(() => String.fromCharCode(Math.random() * 26 + 65)).join('');\n const name = tag + '+' + this.font.postscriptName;\n const {\n bbox\n } = this.font;\n const descriptor = this.document.ref({\n Type: 'FontDescriptor',\n FontName: name,\n Flags: flags,\n FontBBox: [bbox.minX * this.scale, bbox.minY * this.scale, bbox.maxX * this.scale, bbox.maxY * this.scale],\n ItalicAngle: this.font.italicAngle,\n Ascent: this.ascender,\n Descent: this.descender,\n CapHeight: (this.font.capHeight || this.font.ascent) * this.scale,\n XHeight: (this.font.xHeight || 0) * this.scale,\n StemV: 0\n }); // not sure how to calculate this\n\n if (isCFF) {\n descriptor.data.FontFile3 = fontFile;\n } else {\n descriptor.data.FontFile2 = fontFile;\n }\n descriptor.end();\n const descendantFontData = {\n Type: 'Font',\n Subtype: 'CIDFontType0',\n BaseFont: name,\n CIDSystemInfo: {\n Registry: new String('Adobe'),\n Ordering: new String('Identity'),\n Supplement: 0\n },\n FontDescriptor: descriptor,\n W: [0, this.widths]\n };\n if (!isCFF) {\n descendantFontData.Subtype = 'CIDFontType2';\n descendantFontData.CIDToGIDMap = 'Identity';\n }\n const descendantFont = this.document.ref(descendantFontData);\n descendantFont.end();\n this.dictionary.data = {\n Type: 'Font',\n Subtype: 'Type0',\n BaseFont: name,\n Encoding: 'Identity-H',\n DescendantFonts: [descendantFont],\n ToUnicode: this.toUnicodeCmap()\n };\n return this.dictionary.end();\n }\n\n // Maps the glyph ids encoded in the PDF back to unicode strings\n // Because of ligature substitutions and the like, there may be one or more\n // unicode characters represented by each glyph.\n toUnicodeCmap() {\n const cmap = this.document.ref();\n let entries = [];\n let unicodeMap = '/CIDInit /ProcSet findresource begin\\n12 dict begin\\nbegincmap\\n/CIDSystemInfo <<\\n /Registry (Adobe)\\n /Ordering (UCS)\\n /Supplement 0\\n>> def\\n/CMapName /Adobe-Identity-UCS def\\n/CMapType 2 def\\n1 begincodespacerange\\n<0000>\\nendcodespacerange';\n for (let [index, codePoints] of this.unicode.entries()) {\n const encoded = [];\n if (entries.length >= 100) {\n unicodeMap += '\\n' + entries.length + ' beginbfchar\\n' + entries.join('\\n') + '\\nendbfchar';\n entries = [];\n }\n // encode codePoints to utf16\n for (let value of codePoints) {\n if (value > 0xffff) {\n value -= 0x10000;\n encoded.push(toHex(value >>> 10 & 0x3ff | 0xd800));\n value = 0xdc00 | value & 0x3ff;\n }\n encoded.push(toHex(value));\n }\n\n // eslint-disable-next-line no-useless-concat\n entries.push('<' + toHex(index) + '>' + '<' + encoded.join(' ') + '>');\n }\n if (entries.length) {\n unicodeMap += '\\n' + entries.length + ' beginbfchar\\n' + entries.join('\\n') + '\\nendbfchar\\n';\n }\n unicodeMap += 'endcmap\\nCMapName currentdict /CMap defineresource pop\\nend\\nend';\n cmap.end(unicodeMap);\n return cmap;\n }\n};\n\nclass PDFFont {\n static open(document, src, family, id) {\n let font;\n if (typeof src === 'string') {\n if (StandardFont.isStandardFont(src)) {\n return new StandardFont(document, src, id);\n }\n {\n throw new Error(\"Can't open \" + src + \" in browser build\");\n }\n } else if (src instanceof Uint8Array) {\n font = fontkit.create(src, family);\n } else if (src instanceof ArrayBuffer) {\n font = fontkit.create(new Uint8Array(src), family);\n } else if (typeof src === 'object') {\n font = src;\n }\n if (font == null) {\n throw new Error('Not a supported font format or standard PDF font.');\n }\n return new EmbeddedFont(document, font, id);\n }\n encode() {\n throw new Error('Must be implemented by subclasses');\n }\n widthOfString() {\n throw new Error('Must be implemented by subclasses');\n }\n ref() {\n return this.dictionary != null ? this.dictionary : this.dictionary = this.document.ref();\n }\n finalize() {\n if (this.embedded || this.dictionary == null) {\n return;\n }\n this.embed();\n return this.embedded = true;\n }\n embed() {\n throw new Error('Must be implemented by subclasses');\n }\n lineHeight(size, includeGap) {\n if (includeGap == null) {\n includeGap = false;\n }\n const gap = includeGap ? this.lineGap : 0;\n return (this.ascender + gap - this.descender) / 1000 * size;\n }\n}\nconst StandardFont = createStandardFont(PDFFont);\nconst EmbeddedFont = createEmbeddedFont(PDFFont);\n\nvar FontsMixin = {\n initFonts() {\n // Lookup table for embedded fonts\n this._fontFamilies = {};\n this._fontCount = 0;\n\n // Font state\n this._fontSize = 12;\n this._font = null;\n this._registeredFonts = {};\n\n // Set the default font\n return this.font('Helvetica');\n },\n font(src, family, size) {\n let cacheKey;\n let font;\n if (typeof family === 'number') {\n size = family;\n family = null;\n }\n\n // check registered fonts if src is a string\n if (typeof src === 'string' && this._registeredFonts[src]) {\n cacheKey = src;\n ({\n src,\n family\n } = this._registeredFonts[src]);\n } else {\n cacheKey = family || src;\n if (typeof cacheKey !== 'string') {\n cacheKey = null;\n }\n }\n if (size != null) {\n this.fontSize(size);\n }\n\n // fast path: check if the font is already in the PDF\n if (font = this._fontFamilies[cacheKey]) {\n this._font = font;\n return this;\n }\n\n // load the font\n const id = \"F\" + ++this._fontCount;\n this._font = PDFFont.open(this, src, family, id);\n\n // check for existing font familes with the same name already in the PDF\n // useful if the font was passed as a buffer\n if (font = this._fontFamilies[this._font.name]) {\n this._font = font;\n return this;\n }\n\n // save the font for reuse later\n if (cacheKey) {\n this._fontFamilies[cacheKey] = this._font;\n }\n if (this._font.name) {\n this._fontFamilies[this._font.name] = this._font;\n }\n return this;\n },\n fontSize(_fontSize) {\n this._fontSize = _fontSize;\n return this;\n },\n currentLineHeight(includeGap) {\n if (includeGap == null) {\n includeGap = false;\n }\n return this._font.lineHeight(this._fontSize, includeGap);\n },\n registerFont(name, src, family) {\n this._registeredFonts[name] = {\n src,\n family\n };\n return this;\n }\n};\n\nconst {\n number\n} = PDFObject$1;\nvar TextMixin = {\n initText() {\n this._line = this._line.bind(this);\n\n // Current coordinates\n this.x = 0;\n this.y = 0;\n return this._lineGap = 0;\n },\n _text(text, x, y, options, lineCallback) {\n options = this._initOptions(x, y, options);\n\n // Convert text to a string\n text = text == null ? '' : \"\" + text;\n\n // if the wordSpacing option is specified, remove multiple consecutive spaces\n if (options.wordSpacing) {\n text = text.replace(/\\s{2,}/g, ' ');\n }\n const addStructure = () => {\n if (options.structParent) {\n options.structParent.add(this.struct(options.structType || 'P', [this.markStructureContent(options.structType || 'P')]));\n }\n };\n for (let line of text.split('\\n')) {\n addStructure();\n lineCallback(line, options);\n }\n return this;\n },\n text(text, x, y, options) {\n return this._text(text, x, y, options, this._line);\n },\n widthOfString(string, options) {\n if (options === void 0) {\n options = {};\n }\n return this._font.widthOfString(string, this._fontSize, options.features) + (options.characterSpacing || 0) * (string.length - 1);\n },\n _initOptions(x, y, options) {\n if (x === void 0) {\n x = {};\n }\n if (options === void 0) {\n options = {};\n }\n if (typeof x === 'object') {\n options = x;\n x = null;\n }\n\n // shallow clone options object\n /**\n * @type {Object}\n */\n const result = Object.assign({}, options);\n\n // extend options with previous values for continued text\n if (this._textOptions) {\n for (let key in this._textOptions) {\n const val = this._textOptions[key];\n if (key !== 'continued') {\n if (result[key] === undefined) {\n result[key] = val;\n }\n }\n }\n }\n\n // Update the current position\n if (x != null) {\n this.x = x;\n }\n if (y != null) {\n this.y = y;\n }\n\n // wrap to margins if no x or y position passed\n if (result.lineBreak !== false) {\n if (result.width == null) {\n result.width = this.page.width - this.x - this.page.margins.right;\n }\n result.width = Math.max(result.width, 0);\n }\n if (!result.columns) {\n result.columns = 0;\n }\n if (result.columnGap == null) {\n result.columnGap = 18;\n } // 1/4 inch\n\n return result;\n },\n _line(text, options) {\n if (options === void 0) {\n options = {};\n }\n this._fragment(text, this.x, this.y, options);\n return this.x += this.widthOfString(text);\n },\n _fragment(text, x, y, options) {\n text = (\"\" + text).replace(/\\n/g, '');\n if (text.length === 0) return;\n const [encoded, positions] = this._font.encode(text, options.features);\n const dy = this._font.ascender / 1000 * this._fontSize;\n this._glyphs(encoded, positions, x, y + dy, options);\n },\n _glyphs(encoded, positions, x, y, options) {\n const commands = [];\n const scale = this._fontSize / 1000;\n let i;\n let last = 0;\n let hadOffset = false;\n this.save();\n\n // flip coordinate system\n this.transform(1, 0, 0, -1, 0, this.page.height);\n y = this.page.height - y;\n\n // add current font to page if necessary\n if (this.page.fonts[this._font.id] == null) {\n this.page.fonts[this._font.id] = this._font.ref();\n }\n\n // begin the text object\n this.addContent('BT');\n\n // text position\n this.addContent(\"1 0 0 1 \" + number(x) + \" \" + number(y) + \" Tm\");\n\n // font and font size\n this.addContent(\"/\" + this._font.id + \" \" + number(this._fontSize) + \" Tf\");\n\n // rendering mode\n const mode = options.fill && options.stroke ? 2 : options.stroke ? 1 : 0;\n if (mode) {\n this.addContent(mode + \" Tr\");\n }\n\n // Adds a segment of text to the TJ command buffer\n const addSegment = cur => {\n if (last < cur) {\n const hex = encoded.slice(last, cur).join('');\n const advance = positions[cur - 1].xAdvance - positions[cur - 1].advanceWidth;\n commands.push(\"<\" + hex + \"> \" + number(-advance));\n }\n return last = cur;\n };\n\n // Flushes the current TJ commands to the output stream\n const flush = i => {\n addSegment(i);\n if (commands.length > 0) {\n this.addContent(\"[\" + commands.join(' ') + \"] TJ\");\n return commands.length = 0;\n }\n };\n for (i = 0; i < positions.length; i++) {\n // If we have an x or y offset, we have to break out of the current TJ command\n // so we can move the text position.\n const pos = positions[i];\n if (pos.xOffset || pos.yOffset) {\n // Flush the current buffer\n flush(i);\n\n // Move the text position and flush just the current character\n this.addContent(\"1 0 0 1 \" + number(x + pos.xOffset * scale) + \" \" + number(y + pos.yOffset * scale) + \" Tm\");\n flush(i + 1);\n hadOffset = true;\n } else {\n // If the last character had an offset, reset the text position\n if (hadOffset) {\n this.addContent(\"1 0 0 1 \" + number(x) + \" \" + number(y) + \" Tm\");\n hadOffset = false;\n }\n\n // Group segments that don't have any advance adjustments\n if (pos.xAdvance - pos.advanceWidth !== 0) {\n addSegment(i + 1);\n }\n }\n x += pos.xAdvance * scale;\n }\n\n // Flush any remaining commands\n flush(i);\n\n // end the text object\n this.addContent('ET');\n\n // restore flipped coordinate system\n return this.restore();\n }\n};\n\nconst COLOR_SPACE_MAP = {\n 1: 'DeviceGray',\n 3: 'DeviceRGB',\n 4: 'DeviceCMYK'\n};\nclass JPEG {\n constructor(data, label) {\n this.data = data;\n this.label = label;\n this.orientation = 1;\n if (this.data.readUInt16BE(0) !== 0xffd8) {\n throw 'SOI not found in JPEG';\n }\n const markers = _JPEG.decode(this.data);\n for (let i = 0; i < markers.length; i += 1) {\n const marker = markers[i];\n if (marker.name === 'EXIF' && marker.entries.orientation) {\n this.orientation = marker.entries.orientation;\n }\n if (marker.name === 'SOF') {\n this.bits || (this.bits = marker.precision);\n this.width || (this.width = marker.width);\n this.height || (this.height = marker.height);\n this.colorSpace || (this.colorSpace = COLOR_SPACE_MAP[marker.numberOfComponents]);\n }\n }\n this.obj = null;\n }\n embed(document) {\n if (this.obj) {\n return;\n }\n this.obj = document.ref({\n Type: 'XObject',\n Subtype: 'Image',\n BitsPerComponent: this.bits,\n Width: this.width,\n Height: this.height,\n ColorSpace: this.colorSpace,\n Filter: 'DCTDecode'\n });\n\n // add extra decode params for CMYK images. By swapping the\n // min and max values from the default, we invert the colors. See\n // section 4.8.4 of the spec.\n if (this.colorSpace === 'DeviceCMYK') {\n this.obj.data['Decode'] = [1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0];\n }\n this.obj.end(this.data);\n\n // free memory\n return this.data = null;\n }\n}\n\nclass PNGImage {\n constructor(data, label) {\n this.label = label;\n this.image = new PNG(data);\n this.width = this.image.width;\n this.height = this.image.height;\n this.imgData = this.image.imgData;\n this.obj = null;\n }\n embed(document) {\n let dataDecoded = false;\n this.document = document;\n if (this.obj) {\n return;\n }\n const hasAlphaChannel = this.image.hasAlphaChannel;\n const isInterlaced = this.image.interlaceMethod === 1;\n this.obj = this.document.ref({\n Type: 'XObject',\n Subtype: 'Image',\n BitsPerComponent: hasAlphaChannel ? 8 : this.image.bits,\n Width: this.width,\n Height: this.height,\n Filter: 'FlateDecode'\n });\n if (!hasAlphaChannel) {\n const params = this.document.ref({\n Predictor: isInterlaced ? 1 : 15,\n Colors: this.image.colors,\n BitsPerComponent: this.image.bits,\n Columns: this.width\n });\n this.obj.data.DecodeParms = params;\n params.end();\n }\n if (this.image.palette.length === 0) {\n this.obj.data.ColorSpace = this.image.colorSpace;\n } else {\n // embed the color palette in the PDF as an object stream\n const palette = this.document.ref();\n palette.end(Buffer$2.from(this.image.palette));\n\n // build the color space array for the image\n this.obj.data.ColorSpace = ['Indexed', 'DeviceRGB', this.image.palette.length / 3 - 1, palette];\n }\n\n // For PNG color types 0, 2 and 3, the transparency data is stored in\n // a dedicated PNG chunk.\n if (this.image.transparency.grayscale != null) {\n // Use Color Key Masking (spec section 4.8.5)\n // An array with N elements, where N is two times the number of color components.\n const val = this.image.transparency.grayscale;\n this.obj.data.Mask = [val, val];\n } else if (this.image.transparency.rgb) {\n // Use Color Key Masking (spec section 4.8.5)\n // An array with N elements, where N is two times the number of color components.\n const {\n rgb\n } = this.image.transparency;\n const mask = [];\n for (let x of rgb) {\n mask.push(x, x);\n }\n this.obj.data.Mask = mask;\n } else if (this.image.transparency.indexed) {\n // Create a transparency SMask for the image based on the data\n // in the PLTE and tRNS sections. See below for details on SMasks.\n dataDecoded = true;\n return this.loadIndexedAlphaChannel();\n } else if (hasAlphaChannel) {\n // For PNG color types 4 and 6, the transparency data is stored as a alpha\n // channel mixed in with the main image data. Separate this data out into an\n // SMask object and store it separately in the PDF.\n dataDecoded = true;\n return this.splitAlphaChannel();\n }\n if (isInterlaced && !dataDecoded) {\n return this.decodeData();\n }\n this.finalize();\n }\n finalize() {\n if (this.alphaChannel) {\n const sMask = this.document.ref({\n Type: 'XObject',\n Subtype: 'Image',\n Height: this.height,\n Width: this.width,\n BitsPerComponent: 8,\n Filter: 'FlateDecode',\n ColorSpace: 'DeviceGray',\n Decode: [0, 1]\n });\n sMask.end(this.alphaChannel);\n this.obj.data.SMask = sMask;\n }\n\n // add the actual image data\n this.obj.end(this.imgData);\n\n // free memory\n this.image = null;\n return this.imgData = null;\n }\n splitAlphaChannel() {\n return this.image.decodePixels(pixels => {\n let a;\n let p;\n const colorCount = this.image.colors;\n const pixelCount = this.width * this.height;\n const imgData = Buffer$2.alloc(pixelCount * colorCount);\n const alphaChannel = Buffer$2.alloc(pixelCount);\n let i = p = a = 0;\n const len = pixels.length;\n // For 16bit images copy only most significant byte (MSB) - PNG data is always stored in network byte order (MSB first)\n const skipByteCount = this.image.bits === 16 ? 1 : 0;\n while (i < len) {\n for (let colorIndex = 0; colorIndex < colorCount; colorIndex++) {\n imgData[p++] = pixels[i++];\n i += skipByteCount;\n }\n alphaChannel[a++] = pixels[i++];\n i += skipByteCount;\n }\n this.imgData = zlib.deflateSync(imgData);\n this.alphaChannel = zlib.deflateSync(alphaChannel);\n return this.finalize();\n });\n }\n loadIndexedAlphaChannel() {\n const transparency = this.image.transparency.indexed;\n return this.image.decodePixels(pixels => {\n const alphaChannel = Buffer$2.alloc(this.width * this.height);\n let i = 0;\n for (let j = 0, end = pixels.length; j < end; j++) {\n alphaChannel[i++] = transparency[pixels[j]];\n }\n this.alphaChannel = zlib.deflateSync(alphaChannel);\n return this.finalize();\n });\n }\n decodeData() {\n this.image.decodePixels(pixels => {\n this.imgData = zlib.deflateSync(pixels);\n this.finalize();\n });\n }\n}\n\nclass PDFImage {\n static open(src, label) {\n let data;\n if (Buffer$2.isBuffer(src)) {\n data = src;\n } else if (src instanceof ArrayBuffer) {\n data = Buffer$2.from(new Uint8Array(src));\n } else {\n let match;\n if (match = /^data:.+?;base64,(.*)$/.exec(src)) {\n data = Buffer$2.from(match[1], 'base64');\n } else {\n data = fs.readFileSync(src);\n if (!data) {\n return;\n }\n }\n }\n if (data[0] === 0xff && data[1] === 0xd8) {\n return new JPEG(data, label);\n } else if (data[0] === 0x89 && data.toString('ascii', 1, 4) === 'PNG') {\n return new PNGImage(data, label);\n } else {\n throw new Error('Unknown image format.');\n }\n }\n}\n\nvar ImagesMixin = {\n initImages() {\n this._imageRegistry = {};\n return this._imageCount = 0;\n },\n embedImage(src) {\n let image;\n if (typeof src === 'string') {\n image = this._imageRegistry[src];\n }\n if (!image) {\n if (src.width && src.height) {\n image = src;\n } else {\n image = this.openImage(src);\n }\n }\n if (!image.obj) {\n image.embed(this);\n }\n return image;\n },\n image(src, x, y, options) {\n if (options === void 0) {\n options = {};\n }\n let bh;\n let bp;\n let bw;\n let image;\n let ip;\n let left;\n let left1;\n let rotateAngle;\n let originX;\n let originY;\n if (typeof x === 'object') {\n options = x;\n x = null;\n }\n\n // Ignore orientation based on document options or image options\n const ignoreOrientation = options.ignoreOrientation || options.ignoreOrientation !== false && this.options.ignoreOrientation;\n x = (left = x != null ? x : options.x) != null ? left : this.x;\n y = (left1 = y != null ? y : options.y) != null ? left1 : this.y;\n if (typeof src === 'string') {\n image = this._imageRegistry[src];\n }\n if (!image) {\n if (src.width && src.height) {\n image = src;\n } else {\n image = this.openImage(src);\n }\n }\n if (!image.obj) {\n image.embed(this);\n }\n if (this.page.xobjects[image.label] == null) {\n this.page.xobjects[image.label] = image.obj;\n }\n let {\n width,\n height\n } = image;\n\n // If EXIF orientation calls for it, swap width and height\n if (!ignoreOrientation && image.orientation > 4) {\n [width, height] = [height, width];\n }\n let w = options.width || width;\n let h = options.height || height;\n if (options.width && !options.height) {\n const wp = w / width;\n w = width * wp;\n h = height * wp;\n } else if (options.height && !options.width) {\n const hp = h / height;\n w = width * hp;\n h = height * hp;\n } else if (options.scale) {\n w = width * options.scale;\n h = height * options.scale;\n } else if (options.fit) {\n [bw, bh] = options.fit;\n bp = bw / bh;\n ip = width / height;\n if (ip > bp) {\n w = bw;\n h = bw / ip;\n } else {\n h = bh;\n w = bh * ip;\n }\n } else if (options.cover) {\n [bw, bh] = options.cover;\n bp = bw / bh;\n ip = width / height;\n if (ip > bp) {\n h = bh;\n w = bh * ip;\n } else {\n w = bw;\n h = bw / ip;\n }\n }\n if (options.fit || options.cover) {\n if (options.align === 'center') {\n x = x + bw / 2 - w / 2;\n } else if (options.align === 'right') {\n x = x + bw - w;\n }\n if (options.valign === 'center') {\n y = y + bh / 2 - h / 2;\n } else if (options.valign === 'bottom') {\n y = y + bh - h;\n }\n }\n if (!ignoreOrientation) {\n switch (image.orientation) {\n // No orientation (need to flip image, though, because of the default transform matrix on the document)\n default:\n case 1:\n h = -h;\n y -= h;\n rotateAngle = 0;\n break;\n // Flip Horizontal\n case 2:\n w = -w;\n h = -h;\n x -= w;\n y -= h;\n rotateAngle = 0;\n break;\n // Rotate 180 degrees\n case 3:\n originX = x;\n originY = y;\n h = -h;\n x -= w;\n rotateAngle = 180;\n break;\n // Flip vertical\n case 4:\n // Do nothing, image will be flipped\n\n break;\n // Flip horizontally and rotate 270 degrees CW\n case 5:\n originX = x;\n originY = y;\n [w, h] = [h, w];\n y -= h;\n rotateAngle = 90;\n break;\n // Rotate 90 degrees CW\n case 6:\n originX = x;\n originY = y;\n [w, h] = [h, w];\n h = -h;\n rotateAngle = 90;\n break;\n // Flip horizontally and rotate 90 degrees CW\n case 7:\n originX = x;\n originY = y;\n [w, h] = [h, w];\n h = -h;\n w = -w;\n x -= w;\n rotateAngle = 90;\n break;\n // Rotate 270 degrees CW\n case 8:\n originX = x;\n originY = y;\n [w, h] = [h, w];\n h = -h;\n x -= w;\n y -= h;\n rotateAngle = -90;\n break;\n }\n } else {\n h = -h;\n y -= h;\n rotateAngle = 0;\n }\n\n // Set the current y position to below the image if it is in the document flow\n if (this.y === y) {\n this.y += h;\n }\n this.save();\n if (rotateAngle) {\n this.rotate(rotateAngle, {\n origin: [originX, originY]\n });\n }\n this.transform(w, 0, 0, h, x, y);\n this.addContent(\"/\" + image.label + \" Do\");\n this.restore();\n return this;\n },\n openImage(src) {\n let image;\n if (typeof src === 'string') {\n image = this._imageRegistry[src];\n }\n if (!image) {\n image = PDFImage.open(src, \"I\" + ++this._imageCount);\n if (typeof src === 'string') {\n this._imageRegistry[src] = image;\n }\n }\n return image;\n }\n};\n\nvar AnnotationsMixin = {\n annotate(x, y, w, h, options) {\n options.Type = 'Annot';\n options.Rect = this._convertRect(x, y, w, h);\n options.Border = [0, 0, 0];\n if (options.Subtype === 'Link' && typeof options.F === 'undefined') {\n options.F = 1 << 2; // Print Annotation Flag\n }\n if (options.Subtype !== 'Link') {\n if (options.C == null) {\n options.C = this._normalizeColor(options.color || [0, 0, 0]);\n }\n } // convert colors\n delete options.color;\n if (typeof options.Dest === 'string') {\n options.Dest = new String(options.Dest);\n }\n\n // Capitalize keys\n for (let key in options) {\n const val = options[key];\n options[key[0].toUpperCase() + key.slice(1)] = val;\n }\n const ref = this.ref(options);\n this.page.annotations.push(ref);\n ref.end();\n return this;\n },\n note(x, y, w, h, contents, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Text';\n options.Contents = new String(contents);\n options.Name = 'Comment';\n if (options.color == null) {\n options.color = [243, 223, 92];\n }\n return this.annotate(x, y, w, h, options);\n },\n goTo(x, y, w, h, name, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Link';\n options.A = this.ref({\n S: 'GoTo',\n D: new String(name)\n });\n options.A.end();\n return this.annotate(x, y, w, h, options);\n },\n link(x, y, w, h, url, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Link';\n if (typeof url === 'number') {\n // Link to a page in the document (the page must already exist)\n const pages = this._root.data.Pages.data;\n if (url >= 0 && url < pages.Kids.length) {\n options.A = this.ref({\n S: 'GoTo',\n D: [pages.Kids[url], 'XYZ', null, null, null]\n });\n options.A.end();\n } else {\n throw new Error(\"The document has no page \" + url);\n }\n } else {\n // Link to an external url\n options.A = this.ref({\n S: 'URI',\n URI: new String(url)\n });\n options.A.end();\n }\n return this.annotate(x, y, w, h, options);\n },\n _markup(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n const [x1, y1, x2, y2] = this._convertRect(x, y, w, h);\n options.QuadPoints = [x1, y2, x2, y2, x1, y1, x2, y1];\n options.Contents = new String();\n return this.annotate(x, y, w, h, options);\n },\n highlight(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Highlight';\n if (options.color == null) {\n options.color = [241, 238, 148];\n }\n return this._markup(x, y, w, h, options);\n },\n underline(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Underline';\n return this._markup(x, y, w, h, options);\n },\n strike(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'StrikeOut';\n return this._markup(x, y, w, h, options);\n },\n lineAnnotation(x1, y1, x2, y2, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Line';\n options.Contents = new String();\n options.L = [x1, this.page.height - y1, x2, this.page.height - y2];\n return this.annotate(x1, y1, x2, y2, options);\n },\n rectAnnotation(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Square';\n options.Contents = new String();\n return this.annotate(x, y, w, h, options);\n },\n ellipseAnnotation(x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'Circle';\n options.Contents = new String();\n return this.annotate(x, y, w, h, options);\n },\n textAnnotation(x, y, w, h, text, options) {\n if (options === void 0) {\n options = {};\n }\n options.Subtype = 'FreeText';\n options.Contents = new String(text);\n options.DA = new String();\n return this.annotate(x, y, w, h, options);\n },\n fileAnnotation(x, y, w, h, file, options) {\n if (file === void 0) {\n file = {};\n }\n if (options === void 0) {\n options = {};\n }\n // create hidden file\n const filespec = this.file(file.src, Object.assign({\n hidden: true\n }, file));\n options.Subtype = 'FileAttachment';\n options.FS = filespec;\n\n // add description from filespec unless description (Contents) has already been set\n if (options.Contents) {\n options.Contents = new String(options.Contents);\n } else if (filespec.data.Desc) {\n options.Contents = filespec.data.Desc;\n }\n return this.annotate(x, y, w, h, options);\n },\n _convertRect(x1, y1, w, h) {\n // flip y1 and y2\n let y2 = y1;\n y1 += h;\n\n // make x2\n let x2 = x1 + w;\n\n // apply current transformation matrix to points\n const [m0, m1, m2, m3, m4, m5] = this._ctm;\n x1 = m0 * x1 + m2 * y1 + m4;\n y1 = m1 * x1 + m3 * y1 + m5;\n x2 = m0 * x2 + m2 * y2 + m4;\n y2 = m1 * x2 + m3 * y2 + m5;\n return [x1, y1, x2, y2];\n }\n};\n\nclass PDFOutline {\n constructor(document, parent, title, dest, options) {\n if (options === void 0) {\n options = {\n expanded: false\n };\n }\n this.document = document;\n this.options = options;\n this.outlineData = {};\n if (dest !== null) {\n this.outlineData['Dest'] = [dest.dictionary, 'Fit'];\n }\n if (parent !== null) {\n this.outlineData['Parent'] = parent;\n }\n if (title !== null) {\n this.outlineData['Title'] = new String(title);\n }\n this.dictionary = this.document.ref(this.outlineData);\n this.children = [];\n }\n addItem(title, options) {\n if (options === void 0) {\n options = {\n expanded: false\n };\n }\n const result = new PDFOutline(this.document, this.dictionary, title, this.document.page, options);\n this.children.push(result);\n return result;\n }\n endOutline() {\n if (this.children.length > 0) {\n if (this.options.expanded) {\n this.outlineData.Count = this.children.length;\n }\n const first = this.children[0],\n last = this.children[this.children.length - 1];\n this.outlineData.First = first.dictionary;\n this.outlineData.Last = last.dictionary;\n for (let i = 0, len = this.children.length; i < len; i++) {\n const child = this.children[i];\n if (i > 0) {\n child.outlineData.Prev = this.children[i - 1].dictionary;\n }\n if (i < this.children.length - 1) {\n child.outlineData.Next = this.children[i + 1].dictionary;\n }\n child.endOutline();\n }\n }\n return this.dictionary.end();\n }\n}\n\nvar OutlineMixin = {\n initOutline() {\n return this.outline = new PDFOutline(this, null, null, null);\n },\n endOutline() {\n this.outline.endOutline();\n if (this.outline.children.length > 0) {\n this._root.data.Outlines = this.outline.dictionary;\n return this._root.data.PageMode = 'UseOutlines';\n }\n }\n};\n\n/*\nPDFStructureContent - a reference to a marked structure content\nBy Ben Schmidt\n*/\n\nclass PDFStructureContent {\n constructor(pageRef, mcid) {\n this.refs = [{\n pageRef,\n mcid\n }];\n }\n push(structContent) {\n structContent.refs.forEach(ref => this.refs.push(ref));\n }\n}\n\n/*\nPDFStructureElement - represents an element in the PDF logical structure tree\nBy Ben Schmidt\n*/\n\nclass PDFStructureElement {\n constructor(document, type, options, children) {\n if (options === void 0) {\n options = {};\n }\n if (children === void 0) {\n children = null;\n }\n this.document = document;\n this._attached = false;\n this._ended = false;\n this._flushed = false;\n this.dictionary = document.ref({\n // Type: \"StructElem\",\n S: type\n });\n const data = this.dictionary.data;\n if (Array.isArray(options) || this._isValidChild(options)) {\n children = options;\n options = {};\n }\n if (typeof options.title !== 'undefined') {\n data.T = new String(options.title);\n }\n if (typeof options.lang !== 'undefined') {\n data.Lang = new String(options.lang);\n }\n if (typeof options.alt !== 'undefined') {\n data.Alt = new String(options.alt);\n }\n if (typeof options.expanded !== 'undefined') {\n data.E = new String(options.expanded);\n }\n if (typeof options.actual !== 'undefined') {\n data.ActualText = new String(options.actual);\n }\n this._children = [];\n if (children) {\n if (!Array.isArray(children)) {\n children = [children];\n }\n children.forEach(child => this.add(child));\n this.end();\n }\n }\n add(child) {\n if (this._ended) {\n throw new Error(\"Cannot add child to already-ended structure element\");\n }\n if (!this._isValidChild(child)) {\n throw new Error(\"Invalid structure element child\");\n }\n if (child instanceof PDFStructureElement) {\n child.setParent(this.dictionary);\n if (this._attached) {\n child.setAttached();\n }\n }\n if (child instanceof PDFStructureContent) {\n this._addContentToParentTree(child);\n }\n if (typeof child === 'function' && this._attached) {\n // _contentForClosure() adds the content to the parent tree\n child = this._contentForClosure(child);\n }\n this._children.push(child);\n return this;\n }\n _addContentToParentTree(content) {\n content.refs.forEach(_ref => {\n let {\n pageRef,\n mcid\n } = _ref;\n const pageStructParents = this.document.getStructParentTree().get(pageRef.data.StructParents);\n pageStructParents[mcid] = this.dictionary;\n });\n }\n setParent(parentRef) {\n if (this.dictionary.data.P) {\n throw new Error(\"Structure element added to more than one parent\");\n }\n this.dictionary.data.P = parentRef;\n this._flush();\n }\n setAttached() {\n if (this._attached) {\n return;\n }\n this._children.forEach((child, index) => {\n if (child instanceof PDFStructureElement) {\n child.setAttached();\n }\n if (typeof child === 'function') {\n this._children[index] = this._contentForClosure(child);\n }\n });\n this._attached = true;\n this._flush();\n }\n end() {\n if (this._ended) {\n return;\n }\n this._children.filter(child => child instanceof PDFStructureElement).forEach(child => child.end());\n this._ended = true;\n this._flush();\n }\n _isValidChild(child) {\n return child instanceof PDFStructureElement || child instanceof PDFStructureContent || typeof child === 'function';\n }\n _contentForClosure(closure) {\n const content = this.document.markStructureContent(this.dictionary.data.S);\n closure();\n this.document.endMarkedContent();\n this._addContentToParentTree(content);\n return content;\n }\n _isFlushable() {\n if (!this.dictionary.data.P || !this._ended) {\n return false;\n }\n return this._children.every(child => {\n if (typeof child === 'function') {\n return false;\n }\n if (child instanceof PDFStructureElement) {\n return child._isFlushable();\n }\n return true;\n });\n }\n _flush() {\n if (this._flushed || !this._isFlushable()) {\n return;\n }\n this.dictionary.data.K = [];\n this._children.forEach(child => this._flushChild(child));\n this.dictionary.end();\n\n // free memory used by children; the dictionary itself may still be\n // referenced by a parent structure element or root, but we can\n // at least trim the tree here\n this._children = [];\n this.dictionary.data.K = null;\n this._flushed = true;\n }\n _flushChild(child) {\n if (child instanceof PDFStructureElement) {\n this.dictionary.data.K.push(child.dictionary);\n }\n if (child instanceof PDFStructureContent) {\n child.refs.forEach(_ref2 => {\n let {\n pageRef,\n mcid\n } = _ref2;\n if (!this.dictionary.data.Pg) {\n this.dictionary.data.Pg = pageRef;\n }\n if (this.dictionary.data.Pg === pageRef) {\n this.dictionary.data.K.push(mcid);\n } else {\n this.dictionary.data.K.push({\n Type: 'MCR',\n Pg: pageRef,\n MCID: mcid\n });\n }\n });\n }\n }\n}\n\n/*\nPDFNumberTree - represents a number tree object\n*/\n\nclass PDFNumberTree extends PDFTree {\n _compareKeys(a, b) {\n return parseInt(a) - parseInt(b);\n }\n _keysName() {\n return 'Nums';\n }\n _dataForKey(k) {\n return parseInt(k);\n }\n}\n\n/*\nMarkings mixin - support marked content sequences in content streams\nBy Ben Schmidt\n*/\n\nvar MarkingsMixin = {\n initMarkings(options) {\n this.structChildren = [];\n if (options.tagged) {\n this.getMarkInfoDictionary().data.Marked = true;\n this.getStructTreeRoot();\n }\n },\n markContent(tag, options) {\n if (options === void 0) {\n options = null;\n }\n if (tag === 'Artifact' || options && options.mcid) {\n let toClose = 0;\n this.page.markings.forEach(marking => {\n if (toClose || marking.structContent || marking.tag === 'Artifact') {\n toClose++;\n }\n });\n while (toClose--) {\n this.endMarkedContent();\n }\n }\n if (!options) {\n this.page.markings.push({\n tag\n });\n this.addContent(\"/\" + tag + \" BMC\");\n return this;\n }\n this.page.markings.push({\n tag,\n options\n });\n const dictionary = {};\n if (typeof options.mcid !== 'undefined') {\n dictionary.MCID = options.mcid;\n }\n if (tag === 'Artifact') {\n if (typeof options.type === 'string') {\n dictionary.Type = options.type;\n }\n if (Array.isArray(options.bbox)) {\n dictionary.BBox = [options.bbox[0], this.page.height - options.bbox[3], options.bbox[2], this.page.height - options.bbox[1]];\n }\n if (Array.isArray(options.attached) && options.attached.every(val => typeof val === 'string')) {\n dictionary.Attached = options.attached;\n }\n }\n if (tag === 'Span') {\n if (options.lang) {\n dictionary.Lang = new String(options.lang);\n }\n if (options.alt) {\n dictionary.Alt = new String(options.alt);\n }\n if (options.expanded) {\n dictionary.E = new String(options.expanded);\n }\n if (options.actual) {\n dictionary.ActualText = new String(options.actual);\n }\n }\n this.addContent(\"/\" + tag + \" \" + PDFObject$1.convert(dictionary) + \" BDC\");\n return this;\n },\n markStructureContent(tag, options) {\n if (options === void 0) {\n options = {};\n }\n const pageStructParents = this.getStructParentTree().get(this.page.structParentTreeKey);\n const mcid = pageStructParents.length;\n pageStructParents.push(null);\n this.markContent(tag, {\n ...options,\n mcid\n });\n const structContent = new PDFStructureContent(this.page.dictionary, mcid);\n this.page.markings.slice(-1)[0].structContent = structContent;\n return structContent;\n },\n endMarkedContent() {\n this.page.markings.pop();\n this.addContent('EMC');\n return this;\n },\n struct(type, options, children) {\n if (options === void 0) {\n options = {};\n }\n if (children === void 0) {\n children = null;\n }\n return new PDFStructureElement(this, type, options, children);\n },\n addStructure(structElem) {\n const structTreeRoot = this.getStructTreeRoot();\n structElem.setParent(structTreeRoot);\n structElem.setAttached();\n this.structChildren.push(structElem);\n if (!structTreeRoot.data.K) {\n structTreeRoot.data.K = [];\n }\n structTreeRoot.data.K.push(structElem.dictionary);\n return this;\n },\n initPageMarkings(pageMarkings) {\n pageMarkings.forEach(marking => {\n if (marking.structContent) {\n const structContent = marking.structContent;\n const newStructContent = this.markStructureContent(marking.tag, marking.options);\n structContent.push(newStructContent);\n this.page.markings.slice(-1)[0].structContent = structContent;\n } else {\n this.markContent(marking.tag, marking.options);\n }\n });\n },\n endPageMarkings(page) {\n const pageMarkings = page.markings;\n pageMarkings.forEach(() => page.write('EMC'));\n page.markings = [];\n return pageMarkings;\n },\n getMarkInfoDictionary() {\n if (!this._root.data.MarkInfo) {\n this._root.data.MarkInfo = this.ref({});\n }\n return this._root.data.MarkInfo;\n },\n getStructTreeRoot() {\n if (!this._root.data.StructTreeRoot) {\n this._root.data.StructTreeRoot = this.ref({\n Type: 'StructTreeRoot',\n ParentTree: new PDFNumberTree(),\n ParentTreeNextKey: 0\n });\n }\n return this._root.data.StructTreeRoot;\n },\n getStructParentTree() {\n return this.getStructTreeRoot().data.ParentTree;\n },\n createStructParentTreeNextKey() {\n // initialise the MarkInfo dictionary\n this.getMarkInfoDictionary();\n const structTreeRoot = this.getStructTreeRoot();\n const key = structTreeRoot.data.ParentTreeNextKey++;\n structTreeRoot.data.ParentTree.add(key, []);\n return key;\n },\n endMarkings() {\n const structTreeRoot = this._root.data.StructTreeRoot;\n if (structTreeRoot) {\n structTreeRoot.end();\n this.structChildren.forEach(structElem => structElem.end());\n }\n if (this._root.data.MarkInfo) {\n this._root.data.MarkInfo.end();\n }\n }\n};\n\nconst FIELD_FLAGS = {\n readOnly: 1,\n required: 2,\n noExport: 4,\n multiline: 0x1000,\n password: 0x2000,\n toggleToOffButton: 0x4000,\n radioButton: 0x8000,\n pushButton: 0x10000,\n combo: 0x20000,\n edit: 0x40000,\n sort: 0x80000,\n multiSelect: 0x200000,\n noSpell: 0x400000\n};\nconst FIELD_JUSTIFY = {\n left: 0,\n center: 1,\n right: 2\n};\nconst VALUE_MAP = {\n value: 'V',\n defaultValue: 'DV'\n};\nconst FORMAT_SPECIAL = {\n zip: '0',\n zipPlus4: '1',\n zip4: '1',\n phone: '2',\n ssn: '3'\n};\nconst FORMAT_DEFAULT = {\n number: {\n nDec: 0,\n sepComma: false,\n negStyle: 'MinusBlack',\n currency: '',\n currencyPrepend: true\n },\n percent: {\n nDec: 0,\n sepComma: false\n }\n};\nvar AcroFormMixin = {\n /**\n * Must call if adding AcroForms to a document. Must also call font() before\n * this method to set the default font.\n */\n initForm() {\n if (!this._font) {\n throw new Error('Must set a font before calling initForm method');\n }\n this._acroform = {\n fonts: {},\n defaultFont: this._font.name\n };\n this._acroform.fonts[this._font.id] = this._font.ref();\n let data = {\n Fields: [],\n NeedAppearances: true,\n DA: new String(\"/\" + this._font.id + \" 0 Tf 0 g\"),\n DR: {\n Font: {}\n }\n };\n data.DR.Font[this._font.id] = this._font.ref();\n const AcroForm = this.ref(data);\n this._root.data.AcroForm = AcroForm;\n return this;\n },\n /**\n * Called automatically by document.js\n */\n endAcroForm() {\n if (this._root.data.AcroForm) {\n if (!Object.keys(this._acroform.fonts).length && !this._acroform.defaultFont) {\n throw new Error('No fonts specified for PDF form');\n }\n let fontDict = this._root.data.AcroForm.data.DR.Font;\n Object.keys(this._acroform.fonts).forEach(name => {\n fontDict[name] = this._acroform.fonts[name];\n });\n this._root.data.AcroForm.data.Fields.forEach(fieldRef => {\n this._endChild(fieldRef);\n });\n this._root.data.AcroForm.end();\n }\n return this;\n },\n _endChild(ref) {\n if (Array.isArray(ref.data.Kids)) {\n ref.data.Kids.forEach(childRef => {\n this._endChild(childRef);\n });\n ref.end();\n }\n return this;\n },\n /**\n * Creates and adds a form field to the document. Form fields are intermediate\n * nodes in a PDF form that are used to specify form name heirarchy and form\n * value defaults.\n * @param {string} name - field name (T attribute in field dictionary)\n * @param {object} options - other attributes to include in field dictionary\n */\n formField(name, options) {\n if (options === void 0) {\n options = {};\n }\n let fieldDict = this._fieldDict(name, null, options);\n let fieldRef = this.ref(fieldDict);\n this._addToParent(fieldRef);\n return fieldRef;\n },\n /**\n * Creates and adds a Form Annotation to the document. Form annotations are\n * called Widget annotations internally within a PDF file.\n * @param {string} name - form field name (T attribute of widget annotation\n * dictionary)\n * @param {number} x\n * @param {number} y\n * @param {number} w\n * @param {number} h\n * @param {object} options\n */\n formAnnotation(name, type, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n let fieldDict = this._fieldDict(name, type, options);\n fieldDict.Subtype = 'Widget';\n if (fieldDict.F === undefined) {\n fieldDict.F = 4; // print the annotation\n }\n\n // Add Field annot to page, and get it's ref\n this.annotate(x, y, w, h, fieldDict);\n let annotRef = this.page.annotations[this.page.annotations.length - 1];\n return this._addToParent(annotRef);\n },\n formText(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'text', x, y, w, h, options);\n },\n formPushButton(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'pushButton', x, y, w, h, options);\n },\n formCombo(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'combo', x, y, w, h, options);\n },\n formList(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'list', x, y, w, h, options);\n },\n formRadioButton(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'radioButton', x, y, w, h, options);\n },\n formCheckbox(name, x, y, w, h, options) {\n if (options === void 0) {\n options = {};\n }\n return this.formAnnotation(name, 'checkbox', x, y, w, h, options);\n },\n _addToParent(fieldRef) {\n let parent = fieldRef.data.Parent;\n if (parent) {\n if (!parent.data.Kids) {\n parent.data.Kids = [];\n }\n parent.data.Kids.push(fieldRef);\n } else {\n this._root.data.AcroForm.data.Fields.push(fieldRef);\n }\n return this;\n },\n _fieldDict(name, type, options) {\n if (options === void 0) {\n options = {};\n }\n if (!this._acroform) {\n throw new Error('Call document.initForms() method before adding form elements to document');\n }\n let opts = Object.assign({}, options);\n if (type !== null) {\n opts = this._resolveType(type, options);\n }\n opts = this._resolveFlags(opts);\n opts = this._resolveJustify(opts);\n opts = this._resolveFont(opts);\n opts = this._resolveStrings(opts);\n opts = this._resolveColors(opts);\n opts = this._resolveFormat(opts);\n opts.T = new String(name);\n if (opts.parent) {\n opts.Parent = opts.parent;\n delete opts.parent;\n }\n return opts;\n },\n _resolveType(type, opts) {\n if (type === 'text') {\n opts.FT = 'Tx';\n } else if (type === 'pushButton') {\n opts.FT = 'Btn';\n opts.pushButton = true;\n } else if (type === 'radioButton') {\n opts.FT = 'Btn';\n opts.radioButton = true;\n } else if (type === 'checkbox') {\n opts.FT = 'Btn';\n } else if (type === 'combo') {\n opts.FT = 'Ch';\n opts.combo = true;\n } else if (type === 'list') {\n opts.FT = 'Ch';\n } else {\n throw new Error(\"Invalid form annotation type '\" + type + \"'\");\n }\n return opts;\n },\n _resolveFormat(opts) {\n const f = opts.format;\n if (f && f.type) {\n let fnKeystroke;\n let fnFormat;\n let params = '';\n if (FORMAT_SPECIAL[f.type] !== undefined) {\n fnKeystroke = \"AFSpecial_Keystroke\";\n fnFormat = \"AFSpecial_Format\";\n params = FORMAT_SPECIAL[f.type];\n } else {\n let format = f.type.charAt(0).toUpperCase() + f.type.slice(1);\n fnKeystroke = \"AF\" + format + \"_Keystroke\";\n fnFormat = \"AF\" + format + \"_Format\";\n if (f.type === 'date') {\n fnKeystroke += 'Ex';\n params = String(f.param);\n } else if (f.type === 'time') {\n params = String(f.param);\n } else if (f.type === 'number') {\n let p = Object.assign({}, FORMAT_DEFAULT.number, f);\n params = String([String(p.nDec), p.sepComma ? '0' : '1', '\"' + p.negStyle + '\"', 'null', '\"' + p.currency + '\"', String(p.currencyPrepend)].join(','));\n } else if (f.type === 'percent') {\n let p = Object.assign({}, FORMAT_DEFAULT.percent, f);\n params = String([String(p.nDec), p.sepComma ? '0' : '1'].join(','));\n }\n }\n opts.AA = opts.AA ? opts.AA : {};\n opts.AA.K = {\n S: 'JavaScript',\n JS: new String(fnKeystroke + \"(\" + params + \");\")\n };\n opts.AA.F = {\n S: 'JavaScript',\n JS: new String(fnFormat + \"(\" + params + \");\")\n };\n }\n delete opts.format;\n return opts;\n },\n _resolveColors(opts) {\n let color = this._normalizeColor(opts.backgroundColor);\n if (color) {\n if (!opts.MK) {\n opts.MK = {};\n }\n opts.MK.BG = color;\n }\n color = this._normalizeColor(opts.borderColor);\n if (color) {\n if (!opts.MK) {\n opts.MK = {};\n }\n opts.MK.BC = color;\n }\n delete opts.backgroundColor;\n delete opts.borderColor;\n return opts;\n },\n _resolveFlags(options) {\n let result = 0;\n Object.keys(options).forEach(key => {\n if (FIELD_FLAGS[key]) {\n result |= FIELD_FLAGS[key];\n delete options[key];\n }\n });\n if (result !== 0) {\n options.Ff = options.Ff ? options.Ff : 0;\n options.Ff |= result;\n }\n return options;\n },\n _resolveJustify(options) {\n let result = 0;\n if (options.align !== undefined) {\n if (typeof FIELD_JUSTIFY[options.align] === 'number') {\n result = FIELD_JUSTIFY[options.align];\n }\n delete options.align;\n }\n if (result !== 0) {\n options.Q = result; // default\n }\n return options;\n },\n _resolveFont(options) {\n // add current font to document-level AcroForm dict if necessary\n if (this._acroform.fonts[this._font.id] === null) {\n this._acroform.fonts[this._font.id] = this._font.ref();\n }\n\n // add current font to field's resource dict (RD) if not the default acroform font\n if (this._acroform.defaultFont !== this._font.name) {\n options.DR = {\n Font: {}\n };\n\n // Get the fontSize option. If not set use auto sizing\n const fontSize = options.fontSize || 0;\n options.DR.Font[this._font.id] = this._font.ref();\n options.DA = new String(\"/\" + this._font.id + \" \" + fontSize + \" Tf 0 g\");\n }\n return options;\n },\n _resolveStrings(options) {\n let select = [];\n function appendChoices(a) {\n if (Array.isArray(a)) {\n for (let idx = 0; idx < a.length; idx++) {\n if (typeof a[idx] === 'string') {\n select.push(new String(a[idx]));\n } else {\n select.push(a[idx]);\n }\n }\n }\n }\n appendChoices(options.Opt);\n if (options.select) {\n appendChoices(options.select);\n delete options.select;\n }\n if (select.length) {\n options.Opt = select;\n }\n Object.keys(VALUE_MAP).forEach(key => {\n if (options[key] !== undefined) {\n options[VALUE_MAP[key]] = options[key];\n delete options[key];\n }\n });\n ['V', 'DV'].forEach(key => {\n if (typeof options[key] === 'string') {\n options[key] = new String(options[key]);\n }\n });\n if (options.MK && options.MK.CA) {\n options.MK.CA = new String(options.MK.CA);\n }\n if (options.label) {\n options.MK = options.MK ? options.MK : {};\n options.MK.CA = new String(options.label);\n delete options.label;\n }\n return options;\n }\n};\n\nvar AttachmentsMixin = {\n /**\n * Embed contents of `src` in PDF\n * @param {Buffer | ArrayBuffer | string} src input Buffer, ArrayBuffer, base64 encoded string or path to file\n * @param {object} options\n * * options.name: filename to be shown in PDF, will use `src` if none set\n * * options.type: filetype to be shown in PDF\n * * options.description: description to be shown in PDF\n * * options.hidden: if true, do not add attachment to EmbeddedFiles dictionary. Useful for file attachment annotations\n * * options.creationDate: override creation date\n * * options.modifiedDate: override modified date\n * @returns filespec reference\n */\n file(src, options) {\n if (options === void 0) {\n options = {};\n }\n options.name = options.name || src;\n const refBody = {\n Type: 'EmbeddedFile',\n Params: {}\n };\n let data;\n if (!src) {\n throw new Error('No src specified');\n }\n if (Buffer$2.isBuffer(src)) {\n data = src;\n } else if (src instanceof ArrayBuffer) {\n data = Buffer$2.from(new Uint8Array(src));\n } else {\n let match;\n if (match = /^data:(.*);base64,(.*)$/.exec(src)) {\n if (match[1]) {\n refBody.Subtype = match[1].replace('/', '#2F');\n }\n data = Buffer$2.from(match[2], 'base64');\n } else {\n throw new Error(\"Could not find file \" + src);\n }\n }\n\n // override creation date and modified date\n if (options.creationDate instanceof Date) {\n refBody.Params.CreationDate = options.creationDate;\n }\n if (options.modifiedDate instanceof Date) {\n refBody.Params.ModDate = options.modifiedDate;\n }\n // add optional subtype\n if (options.type) {\n refBody.Subtype = options.type.replace('/', '#2F');\n }\n\n // add checksum and size information\n const checksum = MD5(CryptoJS.lib.WordArray.create(new Uint8Array(data)));\n refBody.Params.CheckSum = new String(checksum);\n refBody.Params.Size = data.byteLength;\n\n // save some space when embedding the same file again\n // if a file with the same name and metadata exists, reuse its reference\n let ref;\n if (!this._fileRegistry) this._fileRegistry = {};\n let file = this._fileRegistry[options.name];\n if (file && isEqual(refBody, file)) {\n ref = file.ref;\n } else {\n ref = this.ref(refBody);\n ref.end(data);\n this._fileRegistry[options.name] = {\n ...refBody,\n ref\n };\n }\n // add filespec for embedded file\n const fileSpecBody = {\n Type: 'Filespec',\n F: new String(options.name),\n EF: {\n F: ref\n },\n UF: new String(options.name)\n };\n if (options.description) {\n fileSpecBody.Desc = new String(options.description);\n }\n const filespec = this.ref(fileSpecBody);\n filespec.end();\n if (!options.hidden) {\n this.addNamedEmbeddedFile(options.name, filespec);\n }\n return filespec;\n }\n};\n\n/** check two embedded file metadata objects for equality */\nfunction isEqual(a, b) {\n return a.Subtype === b.Subtype && a.Params.CheckSum.toString() === b.Params.CheckSum.toString() && a.Params.Size === b.Params.Size && a.Params.CreationDate === b.Params.CreationDate && a.Params.ModDate === b.Params.ModDate;\n}\n\nclass PDFMetadata {\n constructor() {\n this._metadata = \"\\n \\n \\n \\n \";\n }\n _closeTags() {\n this._metadata = this._metadata.concat(\"\\n \\n \\n \\n \");\n }\n append(xml, newline) {\n if (newline === void 0) {\n newline = true;\n }\n this._metadata = this._metadata.concat(xml);\n if (newline) this._metadata = this._metadata.concat('\\n');\n }\n getXML() {\n return this._metadata;\n }\n getLength() {\n return this._metadata.length;\n }\n end() {\n this._closeTags();\n this._metadata = this._metadata.trim();\n }\n}\n\nvar MetadataMixin = {\n initMetadata() {\n this.metadata = new PDFMetadata();\n },\n appendXML(xml, newline) {\n if (newline === void 0) {\n newline = true;\n }\n this.metadata.append(xml, newline);\n },\n _addInfo() {\n this.appendXML(\"\\n \\n \" + (this.info.CreationDate.toISOString().split('.')[0] + 'Z') + \"\\n \" + this.info.Creator + \"\\n \\n \");\n if (this.info.Title || this.info.Author || this.info.Subject) {\n this.appendXML(\"\\n \\n \");\n if (this.info.Title) {\n this.appendXML(\"\\n \\n \\n \" + this.info.Title + \"\\n \\n \\n \");\n }\n if (this.info.Author) {\n this.appendXML(\"\\n \\n \\n \" + this.info.Author + \"\\n \\n \\n \");\n }\n if (this.info.Subject) {\n this.appendXML(\"\\n \\n \\n \" + this.info.Subject + \"\\n \\n \\n \");\n }\n this.appendXML(\"\\n \\n \");\n }\n this.appendXML(\"\\n \\n \" + this.info.Creator + \"\", false);\n if (this.info.Keywords) {\n this.appendXML(\"\\n \" + this.info.Keywords + \"\", false);\n }\n this.appendXML(\"\\n \\n \");\n },\n endMetadata() {\n this._addInfo();\n this.metadata.end();\n\n /*\n Metadata was introduced in PDF 1.4, so adding it to 1.3\n will likely only take up more space.\n */\n if (this.version != 1.3) {\n this.metadataRef = this.ref({\n length: this.metadata.getLength(),\n Type: 'Metadata',\n Subtype: 'XML'\n });\n this.metadataRef.compress = false;\n this.metadataRef.write(Buffer$2.from(this.metadata.getXML(), 'utf-8'));\n this.metadataRef.end();\n this._root.data.Metadata = this.metadataRef;\n }\n }\n};\n\nconst capitalize = v => v[0].toUpperCase() + v.slice(1);\n\nclass PDFDocument extends stream.Readable {\n constructor(options) {\n if (options === void 0) {\n options = {};\n }\n super();\n this.options = options;\n\n // PDF version\n switch (options.pdfVersion) {\n case '1.4':\n this.version = 1.4;\n break;\n case '1.5':\n this.version = 1.5;\n break;\n case '1.6':\n this.version = 1.6;\n break;\n case '1.7':\n case '1.7ext3':\n this.version = 1.7;\n break;\n default:\n this.version = 1.3;\n break;\n }\n\n // Whether streams should be compressed\n this.compress = this.options.compress != null ? this.options.compress : true;\n this._pageBuffer = [];\n this._pageBufferStart = 0;\n\n // The PDF object store\n this._offsets = [];\n this._waiting = 0;\n this._ended = false;\n this._offset = 0;\n const Pages = this.ref({\n Type: 'Pages',\n Count: 0,\n Kids: []\n });\n const Names = this.ref({\n Dests: new PDFNameTree()\n });\n this._root = this.ref({\n Type: 'Catalog',\n Pages,\n Names\n });\n if (this.options.lang) {\n this._root.data.Lang = new String(this.options.lang);\n }\n if (this.options.pageLayout) {\n this._root.data.PageLayout = capitalize(this.options.pageLayout);\n }\n if (this.options.pageMode) {\n this._root.data.PageMode = capitalize(this.options.pageMode);\n }\n\n // The current page\n this.page = null;\n\n // Initialize mixins\n this.initColor();\n this.initVector();\n this.initFonts();\n this.initText();\n this.initImages();\n this.initOutline();\n // this.initMarkings(options)\n\n // Initialize the metadata\n this.info = {\n Producer: 'PDFKit',\n Creator: 'PDFKit',\n CreationDate: new Date()\n };\n if (this.options.info) {\n for (let key in this.options.info) {\n const val = this.options.info[key];\n this.info[key] = val;\n }\n }\n if (this.options.displayTitle) {\n this._root.data.ViewerPreferences = this.ref({\n DisplayDocTitle: true\n });\n }\n\n // Generate file ID\n this._id = PDFSecurity.generateFileID(this.info);\n\n // Initialize security settings\n // this._security = PDFSecurity.create(this, options);\n\n // Write the header PDF version\n this._write(\"%PDF-\" + this.version);\n\n // 4 binary chars, as recommended by the spec\n this._write('%\\xFF\\xFF\\xFF\\xFF');\n\n // Add the first page\n if (this.options.autoFirstPage !== false) {\n this.addPage();\n }\n }\n addPage(options) {\n // end the current page if needed\n if (options == null) {\n ({\n options\n } = this);\n }\n\n // end the current page if needed\n if (!this.options.bufferPages) {\n this.flushPages();\n }\n\n // create a page object\n this.page = new PDFPage(this, options);\n this._pageBuffer.push(this.page);\n\n // add the page to the object store\n const pages = this._root.data.Pages.data;\n pages.Kids.push(this.page.dictionary);\n pages.Count++;\n\n // flip PDF coordinate system so that the origin is in\n // the top left rather than the bottom left\n this._ctm = [1, 0, 0, 1, 0, 0];\n this.transform(1, 0, 0, -1, 0, this.page.height);\n\n // this.emit('pageAdded');\n\n return this;\n }\n flushPages() {\n // this local variable exists so we're future-proof against\n // reentrant calls to flushPages.\n const pages = this._pageBuffer;\n this._pageBuffer = [];\n this._pageBufferStart += pages.length;\n for (let page of Array.from(pages)) {\n // this.endPageMarkings(page);\n page.end();\n }\n }\n addNamedDestination(name) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n if (args.length === 0) {\n args = ['XYZ', null, null, null];\n }\n if (args[0] === 'XYZ' && args[2] !== null) {\n args[2] = this.page.height - args[2];\n }\n args.unshift(this.page.dictionary);\n this._root.data.Names.data.Dests.add(name, args);\n }\n addNamedEmbeddedFile(name, ref) {\n if (!this._root.data.Names.data.EmbeddedFiles) {\n // disabling /Limits for this tree fixes attachments not showing in Adobe Reader\n this._root.data.Names.data.EmbeddedFiles = new PDFNameTree({\n limits: false\n });\n }\n\n // add filespec to EmbeddedFiles\n this._root.data.Names.data.EmbeddedFiles.add(name, ref);\n }\n addNamedJavaScript(name, js) {\n if (!this._root.data.Names.data.JavaScript) {\n this._root.data.Names.data.JavaScript = new PDFNameTree();\n }\n let data = {\n JS: new String(js),\n S: 'JavaScript'\n };\n this._root.data.Names.data.JavaScript.add(name, data);\n }\n ref(data) {\n const ref = new PDFReference(this, this._offsets.length + 1, data);\n this._offsets.push(null); // placeholder for this object's offset once it is finalized\n this._waiting++;\n return ref;\n }\n _read() {\n // do nothing, but this method is required by node\n }\n _write(data) {\n if (!Buffer$2.isBuffer(data)) {\n data = Buffer$2.from(data + '\\n', 'binary');\n }\n this.push(data);\n return this._offset += data.length;\n }\n addContent(data) {\n this.page.write(data);\n return this;\n }\n _refEnd(ref) {\n this._offsets[ref.id - 1] = ref.offset;\n if (--this._waiting === 0 && this._ended) {\n this._finalize();\n return this._ended = false;\n }\n }\n end() {\n this.flushPages();\n this._info = this.ref();\n for (let key in this.info) {\n let val = this.info[key];\n if (typeof val === 'string') {\n val = new String(val);\n }\n let entry = this.ref(val);\n entry.end();\n this._info.data[key] = entry;\n }\n this._info.end();\n for (let name in this._fontFamilies) {\n const font = this._fontFamilies[name];\n font.finalize();\n }\n this.endOutline();\n // this.endMarkings();\n\n this._root.end();\n this._root.data.Pages.end();\n this._root.data.Names.end();\n this.endAcroForm();\n if (this._root.data.ViewerPreferences) {\n this._root.data.ViewerPreferences.end();\n }\n\n // if (this._security) {\n // this._security.end();\n // }\n\n if (this._waiting === 0) {\n return this._finalize();\n }\n this._ended = true;\n }\n _finalize() {\n // generate xref\n const xRefOffset = this._offset;\n this._write('xref');\n this._write(\"0 \" + (this._offsets.length + 1));\n this._write('0000000000 65535 f ');\n for (let offset of Array.from(this._offsets)) {\n offset = (\"0000000000\" + offset).slice(-10);\n this._write(offset + ' 00000 n ');\n }\n\n // trailer\n const trailer = {\n Size: this._offsets.length + 1,\n Root: this._root,\n Info: this._info,\n ID: [this._id, this._id]\n };\n\n // if (this._security) {\n // trailer.Encrypt = this._security.dictionary;\n // }\n\n this._write('trailer');\n this._write(PDFObject$1.convert(trailer));\n this._write('startxref');\n this._write(\"\" + xRefOffset);\n this._write('%%EOF');\n\n // end the stream\n return this.push(null);\n }\n toString() {\n return '[object PDFDocument]';\n }\n initColor() {}\n initVector() {}\n initFonts() {}\n initText() {}\n initImages() {}\n initOutline() {}\n\n /**\n * @param {number} m11\n * @param {number} m12\n * @param {number} m21\n * @param {number} m22\n * @param {number} dx\n * @param {number} dy\n */\n // eslint-disable-next-line no-unused-vars\n transform(m11, m12, m21, m22, dx, dy) {}\n endOutline() {}\n endAcroForm() {}\n}\nconst mixin = methods => {\n Object.assign(PDFDocument.prototype, methods);\n};\n\n// Load mixins\nmixin(MetadataMixin);\nmixin(ColorMixin);\nmixin(VectorMixin);\nmixin(FontsMixin);\nmixin(TextMixin);\nmixin(ImagesMixin);\nmixin(AnnotationsMixin);\nmixin(OutlineMixin);\nmixin(MarkingsMixin);\nmixin(AcroFormMixin);\nmixin(AttachmentsMixin);\n\nexport { EmbeddedFont, PDFFont, StandardFont, PDFDocument as default };\n","import { compose, castArray } from '@react-pdf/fns';\nimport parse$1 from 'postcss-value-parser/lib/parse.js';\nimport parseUnit from 'postcss-value-parser/lib/unit.js';\nimport hlsToHex from 'hsl-to-hex';\nimport colorString from 'color-string';\nimport matchMedia from 'media-engine';\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/flex#values\n\n// TODO: change flex defaults to [0, 1, 'auto'] as in spec in next major release\nconst flexDefaults = [1, 1, 0];\n/**\n * @type {(number | 'auto')[]}\n */\nconst flexAuto = [1, 1, 'auto'];\nconst expandFlex = (key, value) => {\n /**\n * @type {(number | 'auto')[]}\n */\n let defaults = flexDefaults;\n let matches = [];\n if (value === 'auto') {\n defaults = flexAuto;\n } else {\n matches = (\"\" + value).split(' ');\n }\n const flexGrow = matches[0] || defaults[0];\n const flexShrink = matches[1] || defaults[1];\n const flexBasis = matches[2] || defaults[2];\n return {\n flexGrow,\n flexShrink,\n flexBasis\n };\n};\n\n/* eslint-disable no-plusplus */\n// This file is ran directly with Node - needs to have .js extension\n// eslint-disable-next-line import/extensions\nconst BOX_MODEL_UNITS = 'px,in,mm,cm,pt,%,vw,vh';\nconst logError = (style, value) => {\n console.error(\"\\n @react-pdf/stylesheet parsing error:\\n\\n \" + style + \": \" + value + \",\\n \" + ' '.repeat(style.length + 2) + \"^\\n Unsupported \" + style + \" value format\\n \");\n};\n\n/**\n * @param {Object} options\n * @param {Function} [options.expandsTo]\n * @param {number} [options.maxValues]\n * @param {boolean} [options.autoSupported]\n */\nconst expandBoxModel = function (_temp) {\n let {\n expandsTo,\n maxValues = 1,\n autoSupported = false\n } = _temp === void 0 ? {} : _temp;\n return (model, value) => {\n const nodes = parse$1(\"\" + value);\n const parts = [];\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n\n // value contains `calc`, `url` or other css function\n // `,`, `/` or strings that unsupported by margin and padding\n if (node.type === 'function' || node.type === 'string' || node.type === 'div') {\n logError(model, value);\n return {};\n }\n if (node.type === 'word') {\n if (node.value === 'auto' && autoSupported) {\n parts.push(node.value);\n } else {\n const result = parseUnit(node.value);\n\n // when unit isn't specified this condition is true\n if (result && BOX_MODEL_UNITS.includes(result.unit)) {\n parts.push(node.value);\n } else {\n logError(model, value);\n return {};\n }\n }\n }\n }\n\n // checks that we have enough parsed values\n if (parts.length > maxValues) {\n logError(model, value);\n return {};\n }\n const first = parts[0];\n if (expandsTo) {\n const second = parts[1] || parts[0];\n const third = parts[2] || parts[0];\n const fourth = parts[3] || parts[1] || parts[0];\n return expandsTo({\n first,\n second,\n third,\n fourth\n });\n }\n return {\n [model]: first\n };\n };\n};\n\nconst processMargin = expandBoxModel({\n expandsTo: _ref => {\n let {\n first,\n second,\n third,\n fourth\n } = _ref;\n return {\n marginTop: first,\n marginRight: second,\n marginBottom: third,\n marginLeft: fourth\n };\n },\n maxValues: 4,\n autoSupported: true\n});\nconst processMarginVertical = expandBoxModel({\n expandsTo: _ref2 => {\n let {\n first,\n second\n } = _ref2;\n return {\n marginTop: first,\n marginBottom: second\n };\n },\n maxValues: 2,\n autoSupported: true\n});\nconst processMarginHorizontal = expandBoxModel({\n expandsTo: _ref3 => {\n let {\n first,\n second\n } = _ref3;\n return {\n marginRight: first,\n marginLeft: second\n };\n },\n maxValues: 2,\n autoSupported: true\n});\nconst processMarginSingle = expandBoxModel({\n autoSupported: true\n});\n\nconst BORDER_SHORTHAND_REGEX = /(-?\\d+(\\.\\d+)?(px|in|mm|cm|pt|vw|vh|px)?)\\s(\\S+)\\s(.+)/;\nconst matchBorderShorthand = value => value.match(BORDER_SHORTHAND_REGEX) || [];\nconst expandBorders = (key, value) => {\n const match = matchBorderShorthand(\"\" + value);\n if (match) {\n const color = match[5] || value;\n const style = match[4] || value;\n const width = match[1] || value;\n if (key.match(/(Top|Right|Bottom|Left)$/)) {\n return {\n [key + \"Color\"]: color,\n [key + \"Style\"]: style,\n [key + \"Width\"]: width\n };\n }\n if (key.match(/Color$/)) {\n return {\n borderTopColor: color,\n borderRightColor: color,\n borderBottomColor: color,\n borderLeftColor: color\n };\n }\n if (key.match(/Style$/)) {\n return {\n borderTopStyle: style,\n borderRightStyle: style,\n borderBottomStyle: style,\n borderLeftStyle: style\n };\n }\n if (key.match(/Width$/)) {\n return {\n borderTopWidth: width,\n borderRightWidth: width,\n borderBottomWidth: width,\n borderLeftWidth: width\n };\n }\n if (key.match(/Radius$/)) {\n return {\n borderTopLeftRadius: value,\n borderTopRightRadius: value,\n borderBottomRightRadius: value,\n borderBottomLeftRadius: value\n };\n }\n return {\n borderTopColor: color,\n borderTopStyle: style,\n borderTopWidth: width,\n borderRightColor: color,\n borderRightStyle: style,\n borderRightWidth: width,\n borderBottomColor: color,\n borderBottomStyle: style,\n borderBottomWidth: width,\n borderLeftColor: color,\n borderLeftStyle: style,\n borderLeftWidth: width\n };\n }\n return value;\n};\n\nconst processPadding = expandBoxModel({\n expandsTo: _ref => {\n let {\n first,\n second,\n third,\n fourth\n } = _ref;\n return {\n paddingTop: first,\n paddingRight: second,\n paddingBottom: third,\n paddingLeft: fourth\n };\n },\n maxValues: 4\n});\nconst processPaddingVertical = expandBoxModel({\n expandsTo: _ref2 => {\n let {\n first,\n second\n } = _ref2;\n return {\n paddingTop: first,\n paddingBottom: second\n };\n },\n maxValues: 2\n});\nconst processPaddingHorizontal = expandBoxModel({\n expandsTo: _ref3 => {\n let {\n first,\n second\n } = _ref3;\n return {\n paddingRight: first,\n paddingLeft: second\n };\n },\n maxValues: 2\n});\nconst processPaddingSingle = expandBoxModel();\n\nconst expandObjectPosition = (key, value) => {\n const match = (\"\" + value).split(' ');\n return {\n objectPositionX: (match === null || match === void 0 ? void 0 : match[0]) || value,\n objectPositionY: (match === null || match === void 0 ? void 0 : match[1]) || value\n };\n};\n\nconst Y_AXIS_SHORTHANDS = {\n top: true,\n bottom: true\n};\nconst sortTransformOriginPair = (a, b) => {\n if (Y_AXIS_SHORTHANDS[a]) return 1;\n if (Y_AXIS_SHORTHANDS[b]) return -1;\n return 0;\n};\nconst getTransformOriginPair = values => {\n if (!values || values.length === 0) return ['center', 'center'];\n const pair = values.length === 1 ? [values[0], 'center'] : values;\n return pair.sort(sortTransformOriginPair);\n};\n\n// Transforms shorthand transformOrigin values\nconst expandTransformOrigin = (key, value) => {\n const match = (\"\" + value).split(' ');\n const pair = getTransformOriginPair(match);\n return {\n transformOriginX: pair[0],\n transformOriginY: pair[1]\n };\n};\n\nconst expandGap = (key, value) => {\n const match = (\"\" + value).split(' ');\n return {\n rowGap: (match === null || match === void 0 ? void 0 : match[0]) || value,\n columnGap: (match === null || match === void 0 ? void 0 : match[1]) || value\n };\n};\n\nconst shorthands = {\n flex: expandFlex,\n gap: expandGap,\n margin: processMargin,\n marginHorizontal: processMarginHorizontal,\n marginVertical: processMarginVertical,\n marginTop: processMarginSingle,\n marginRight: processMarginSingle,\n marginBottom: processMarginSingle,\n marginLeft: processMarginSingle,\n padding: processPadding,\n paddingHorizontal: processPaddingHorizontal,\n paddingVertical: processPaddingVertical,\n paddingTop: processPaddingSingle,\n paddingRight: processPaddingSingle,\n paddingBottom: processPaddingSingle,\n paddingLeft: processPaddingSingle,\n border: expandBorders,\n borderTop: expandBorders,\n borderRight: expandBorders,\n borderBottom: expandBorders,\n borderLeft: expandBorders,\n borderColor: expandBorders,\n borderRadius: expandBorders,\n borderStyle: expandBorders,\n borderWidth: expandBorders,\n objectPosition: expandObjectPosition,\n transformOrigin: expandTransformOrigin\n};\n\n/**\n * Transforms style key-value\n *\n * @param {string} key style key\n * @param {string} value style value\n * @returns {string | Number} transformed style values\n */\nconst expandStyle = (key, value) => {\n return shorthands[key] ? shorthands[key](key, value) : {\n [key]: value\n };\n};\n\n/**\n * Expand the shorthand properties.\n *\n * @param {Object} style object\n * @returns {Object} expanded style object\n */\nconst expand = style => {\n if (!style) return style;\n const propsArray = Object.keys(style);\n const resolvedStyle = {};\n for (let i = 0; i < propsArray.length; i += 1) {\n const key = propsArray[i];\n const value = style[key];\n const extended = expandStyle(key, value);\n const keys = Object.keys(extended);\n for (let j = 0; j < keys.length; j += 1) {\n const propName = keys[j];\n const propValue = extended[propName];\n resolvedStyle[propName] = propValue;\n }\n }\n return resolvedStyle;\n};\n\n/**\n * Remove nil values from array\n *\n * @template T\n * @param {(T | null | undefined)[]} array\n * @returns {T[]} array without nils\n */\nconst compact = array => array.filter(Boolean);\n\n/**\n * Merges style objects array\n *\n * @param {Object[]} styles style objects array\n * @returns {Object} merged style object\n */\nconst mergeStyles = styles => styles.reduce((acc, style) => {\n const s = Array.isArray(style) ? flatten(style) : style;\n Object.keys(s).forEach(key => {\n if (s[key] !== null && s[key] !== undefined) {\n acc[key] = s[key];\n }\n });\n return acc;\n}, {});\n\n/**\n * Flattens an array of style objects, into one aggregated style object.\n *\n * @param {Object[]} styles style objects array\n * @returns {Object} flattened style object\n */\nconst flatten = compose(mergeStyles, compact, castArray);\n\n/**\n * Parses scalar value in value and unit pairs\n *\n * @param {string} value scalar value\n * @returns {Object} parsed value\n */\nconst parseValue = value => {\n const match = /^(-?\\d*\\.?\\d+)(in|mm|cm|pt|vh|vw|px)?$/g.exec(value);\n return match ? {\n value: parseFloat(match[1]),\n unit: match[2] || 'pt'\n } : {\n value,\n unit: undefined\n };\n};\n\n/**\n * Transform given scalar value\n *\n * @param {Object} container\n * @param {string} value styles value\n * @returns {Object} transformed value\n */\nconst transformUnit = (container, value) => {\n const scalar = parseValue(value);\n const dpi = 72; // Removed: container.dpi || 72\n const mmFactor = 1 / 25.4 * dpi;\n const cmFactor = 1 / 2.54 * dpi;\n switch (scalar.unit) {\n case 'in':\n return scalar.value * dpi;\n case 'mm':\n return scalar.value * mmFactor;\n case 'cm':\n return scalar.value * cmFactor;\n case 'vh':\n return scalar.value * (container.height / 100);\n case 'vw':\n return scalar.value * (container.width / 100);\n default:\n return scalar.value;\n }\n};\n\nconst isRgb = value => /rgba?/g.test(value);\nconst isHsl = value => /hsla?/g.test(value);\n\n/**\n * Transform rgb color to hexa\n *\n * @param {string} value styles value\n * @returns {Object} transformed value\n */\nconst parseRgb = value => {\n const rgb = colorString.get.rgb(value);\n return colorString.to.hex(rgb);\n};\n\n/**\n * Transform Hsl color to hexa\n *\n * @param {string} value styles value\n * @returns {Object} transformed value\n */\nconst parseHsl = value => {\n const hsl = colorString.get.hsl(value).map(Math.round);\n const hex = hlsToHex(...hsl);\n return hex.toUpperCase();\n};\n\n/**\n * Transform given color to hexa\n *\n * @param {string} value styles value\n * @returns {Object} transformed value\n */\nconst transformColor = value => {\n if (isRgb(value)) return parseRgb(value);\n if (isHsl(value)) return parseHsl(value);\n return value;\n};\n\nconst parse = transformString => {\n const transforms = transformString.trim().split(/\\) |\\)/);\n\n // Handle \"initial\", \"inherit\", \"unset\".\n if (transforms.length === 1) {\n return [[transforms[0], true]];\n }\n const parsed = [];\n for (let i = 0; i < transforms.length; i += 1) {\n const transform = transforms[i];\n if (transform) {\n const [name, rawValue] = transform.split('(');\n const splitChar = rawValue.indexOf(',') >= 0 ? ',' : ' ';\n const value = rawValue.split(splitChar).map(val => val.trim());\n parsed.push({\n operation: name,\n value\n });\n }\n }\n return parsed;\n};\nconst parseAngle = value => {\n const unitsRegexp = /(-?\\d*\\.?\\d*)(\\w*)?/i;\n const [, angle, unit] = unitsRegexp.exec(value);\n const number = Number.parseFloat(angle);\n return unit === 'rad' ? number * 180 / Math.PI : number;\n};\nconst normalizeTransformOperation = _ref => {\n let {\n operation,\n value\n } = _ref;\n switch (operation) {\n case 'scale':\n {\n const [scaleX, scaleY = scaleX] = value.map(num => Number.parseFloat(num));\n return {\n operation: 'scale',\n value: [scaleX, scaleY]\n };\n }\n case 'scaleX':\n {\n return {\n operation: 'scale',\n value: [Number.parseFloat(value), 1]\n };\n }\n case 'scaleY':\n {\n return {\n operation: 'scale',\n value: [1, Number.parseFloat(value)]\n };\n }\n case 'rotate':\n {\n return {\n operation: 'rotate',\n value: [parseAngle(value)]\n };\n }\n case 'translate':\n {\n return {\n operation: 'translate',\n value: value.map(num => Number.parseFloat(num))\n };\n }\n case 'translateX':\n {\n return {\n operation: 'translate',\n value: [Number.parseFloat(value), 0]\n };\n }\n case 'translateY':\n {\n return {\n operation: 'translate',\n value: [0, Number.parseFloat(value)]\n };\n }\n case 'skew':\n {\n return {\n operation: 'skew',\n value: value.map(parseAngle)\n };\n }\n case 'skewX':\n {\n return {\n operation: 'skew',\n value: [parseAngle(value), 0]\n };\n }\n case 'skewY':\n {\n return {\n operation: 'skew',\n value: [0, parseAngle(value)]\n };\n }\n default:\n {\n return {\n operation,\n value: value.map(num => Number.parseFloat(num))\n };\n }\n }\n};\nconst normalize = operations => {\n return operations.map(operation => normalizeTransformOperation(operation));\n};\nconst processTransform = value => {\n if (typeof value !== 'string') return value;\n return normalize(parse(value));\n};\n\nconst FONT_WEIGHTS = {\n thin: 100,\n hairline: 100,\n ultralight: 200,\n extralight: 200,\n light: 300,\n normal: 400,\n medium: 500,\n semibold: 600,\n demibold: 600,\n bold: 700,\n ultrabold: 800,\n extrabold: 800,\n heavy: 900,\n black: 900\n};\nconst processFontWeight = value => {\n if (!value) return FONT_WEIGHTS.normal;\n if (typeof value === 'number') return value;\n const lv = value.toLowerCase();\n if (FONT_WEIGHTS[lv]) return FONT_WEIGHTS[lv];\n return value;\n};\n\nconst matchNumber = value => typeof value === 'string' && /^-?\\d*\\.?\\d*$/.test(value);\nconst castFloat = value => {\n if (typeof value !== 'string') return value;\n if (matchNumber(value)) return parseFloat(value);\n return value;\n};\n\nconst offsetKeyword = value => {\n switch (value) {\n case 'top':\n case 'left':\n return '0%';\n case 'right':\n case 'bottom':\n return '100%';\n case 'center':\n return '50%';\n default:\n return null;\n }\n};\n\nconst transformObjectPosition = value => offsetKeyword(value) || castFloat(value);\n\nconst transformTransformOrigin = value => offsetKeyword(value) || castFloat(value);\n\nconst handlers = {\n transform: processTransform,\n fontWeight: processFontWeight,\n objectPositionX: transformObjectPosition,\n objectPositionY: transformObjectPosition,\n transformOriginX: transformTransformOrigin,\n transformOriginY: transformTransformOrigin\n};\nconst transformStyle = (key, value, container) => {\n const result = handlers[key] ? handlers[key](value) : value;\n return transformColor(transformUnit(container, castFloat(result)));\n};\n\n/**\n * @typedef {Function} Transform\n * @param {Object} style styles object\n * @returns {Object} transformed styles\n */\n\n/**\n * Transform styles values\n *\n * @param {Object} container\n * @returns {Transform} transform function\n */\nconst transform = container => style => {\n if (!style) return style;\n const propsArray = Object.keys(style);\n const resolvedStyle = {};\n for (let i = 0; i < propsArray.length; i += 1) {\n const key = propsArray[i];\n const value = style[key];\n const transformed = transformStyle(key, value, container);\n resolvedStyle[key] = transformed;\n }\n return resolvedStyle;\n};\n\n/**\n * Resolves media queries in styles object\n *\n * @param {Object} container\n * @param {Object} styles object\n */\nconst resolveMediaQueries = (container, styles) => {\n return Object.keys(styles).reduce((acc, key) => {\n if (/@media/.test(key)) {\n return {\n ...acc,\n ...matchMedia({\n [key]: styles[key]\n }, container)\n };\n }\n return {\n ...acc,\n [key]: styles[key]\n };\n }, {});\n};\n\n/**\n * Resolves styles\n *\n * @param {Object} container\n * @param {Object} style object\n * @returns {Object} resolved style object\n */\nconst resolveStyles = (container, style) => {\n const computeMediaQueries = value => resolveMediaQueries(container, value);\n return compose(transform(container), expand, computeMediaQueries, flatten)(style);\n};\n\nexport { resolveStyles as default, flatten, processTransform, transformColor };\n","function bidiFactory() {\nvar bidi = (function (exports) {\n\n // Bidi character types data, auto generated\n var DATA = {\n \"R\": \"13k,1a,2,3,3,2+1j,ch+16,a+1,5+2,2+n,5,a,4,6+16,4+3,h+1b,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x+1,29+1,7l,4,5,q+1,6,48+1,r+h,e,13+7,q+a,1b+2,1d,3+3,3+1,14,1w+5,3+1,3+1,d,9,1c,1g,2+2,3+1,6+1,2,17+1,9,6n,3,5,fn5,ki+f,h+f,r2,6b,46+4,1af+2,2+1,6+3,15+2,5,4m+1,fy+3,as+1,4a+a,4x,1j+e,1l+2,1e+3,3+1,1y+2,11+4,2+7,1r,d+1,1h+8,b+3,3,2o+2,3,2+1,7,4h,4+7,m+1,1m+1,4,12+6,4+4,5g+7,3+2,2,o,2d+5,2,5+1,2+1,6n+3,7+1,2+1,s+1,2e+7,3,2+1,2z,2,3+5,2,2u+2,3+3,2+4,78+8,2+1,75+1,2,5,41+3,3+1,5,x+5,3+1,15+5,3+3,9,a+5,3+2,1b+c,2+1,bb+6,2+5,2d+l,3+6,2+1,2+1,3f+5,4,2+1,2+6,2,21+1,4,2,9o+1,f0c+4,1o+6,t5,1s+3,2a,f5l+1,43t+2,i+7,3+6,v+3,45+2,1j0+1i,5+1d,9,f,n+4,2+e,11t+6,2+g,3+6,2+1,2+4,7a+6,c6+3,15t+6,32+6,gzhy+6n\",\n \"AL\": \"16w,3,2,e+1b,z+2,2+2s,g+1,8+1,b+m,2+t,s+2i,c+e,4h+f,1d+1e,1bwe+dp,3+3z,x+c,2+1,35+3y,2rm+z,5+7,b+5,dt+l,c+u,17nl+27,1t+27,4x+6n,3+d\",\n \"LRO\": \"6ct\",\n \"RLO\": \"6cu\",\n \"LRE\": \"6cq\",\n \"RLE\": \"6cr\",\n \"PDF\": \"6cs\",\n \"LRI\": \"6ee\",\n \"RLI\": \"6ef\",\n \"FSI\": \"6eg\",\n \"PDI\": \"6eh\"\n };\n\n var TYPES = {};\n var TYPES_TO_NAMES = {};\n TYPES.L = 1; //L is the default\n TYPES_TO_NAMES[1] = 'L';\n Object.keys(DATA).forEach(function (type, i) {\n TYPES[type] = 1 << (i + 1);\n TYPES_TO_NAMES[TYPES[type]] = type;\n });\n Object.freeze(TYPES);\n\n var ISOLATE_INIT_TYPES = TYPES.LRI | TYPES.RLI | TYPES.FSI;\n var STRONG_TYPES = TYPES.L | TYPES.R | TYPES.AL;\n var NEUTRAL_ISOLATE_TYPES = TYPES.B | TYPES.S | TYPES.WS | TYPES.ON | TYPES.FSI | TYPES.LRI | TYPES.RLI | TYPES.PDI;\n var BN_LIKE_TYPES = TYPES.BN | TYPES.RLE | TYPES.LRE | TYPES.RLO | TYPES.LRO | TYPES.PDF;\n var TRAILING_TYPES = TYPES.S | TYPES.WS | TYPES.B | ISOLATE_INIT_TYPES | TYPES.PDI | BN_LIKE_TYPES;\n\n var map = null;\n\n function parseData () {\n if (!map) {\n //const start = performance.now()\n map = new Map();\n var loop = function ( type ) {\n if (DATA.hasOwnProperty(type)) {\n var lastCode = 0;\n DATA[type].split(',').forEach(function (range) {\n var ref = range.split('+');\n var skip = ref[0];\n var step = ref[1];\n skip = parseInt(skip, 36);\n step = step ? parseInt(step, 36) : 0;\n map.set(lastCode += skip, TYPES[type]);\n for (var i = 0; i < step; i++) {\n map.set(++lastCode, TYPES[type]);\n }\n });\n }\n };\n\n for (var type in DATA) loop( type );\n //console.log(`char types parsed in ${performance.now() - start}ms`)\n }\n }\n\n /**\n * @param {string} char\n * @return {number}\n */\n function getBidiCharType (char) {\n parseData();\n return map.get(char.codePointAt(0)) || TYPES.L\n }\n\n function getBidiCharTypeName(char) {\n return TYPES_TO_NAMES[getBidiCharType(char)]\n }\n\n // Bidi bracket pairs data, auto generated\n var data$1 = {\n \"pairs\": \"14>1,1e>2,u>2,2wt>1,1>1,1ge>1,1wp>1,1j>1,f>1,hm>1,1>1,u>1,u6>1,1>1,+5,28>1,w>1,1>1,+3,b8>1,1>1,+3,1>3,-1>-1,3>1,1>1,+2,1s>1,1>1,x>1,th>1,1>1,+2,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,4q>1,1e>2,u>2,2>1,+1\",\n \"canonical\": \"6f1>-6dx,6dy>-6dx,6ec>-6ed,6ee>-6ed,6ww>2jj,-2ji>2jj,14r4>-1e7l,1e7m>-1e7l,1e7m>-1e5c,1e5d>-1e5b,1e5c>-14qx,14qy>-14qx,14vn>-1ecg,1ech>-1ecg,1edu>-1ecg,1eci>-1ecg,1eda>-1ecg,1eci>-1ecg,1eci>-168q,168r>-168q,168s>-14ye,14yf>-14ye\"\n };\n\n /**\n * Parses an string that holds encoded codepoint mappings, e.g. for bracket pairs or\n * mirroring characters, as encoded by scripts/generateBidiData.js. Returns an object\n * holding the `map`, and optionally a `reverseMap` if `includeReverse:true`.\n * @param {string} encodedString\n * @param {boolean} includeReverse - true if you want reverseMap in the output\n * @return {{map: Map, reverseMap?: Map}}\n */\n function parseCharacterMap (encodedString, includeReverse) {\n var radix = 36;\n var lastCode = 0;\n var map = new Map();\n var reverseMap = includeReverse && new Map();\n var prevPair;\n encodedString.split(',').forEach(function visit(entry) {\n if (entry.indexOf('+') !== -1) {\n for (var i = +entry; i--;) {\n visit(prevPair);\n }\n } else {\n prevPair = entry;\n var ref = entry.split('>');\n var a = ref[0];\n var b = ref[1];\n a = String.fromCodePoint(lastCode += parseInt(a, radix));\n b = String.fromCodePoint(lastCode += parseInt(b, radix));\n map.set(a, b);\n includeReverse && reverseMap.set(b, a);\n }\n });\n return { map: map, reverseMap: reverseMap }\n }\n\n var openToClose, closeToOpen, canonical;\n\n function parse$1 () {\n if (!openToClose) {\n //const start = performance.now()\n var ref = parseCharacterMap(data$1.pairs, true);\n var map = ref.map;\n var reverseMap = ref.reverseMap;\n openToClose = map;\n closeToOpen = reverseMap;\n canonical = parseCharacterMap(data$1.canonical, false).map;\n //console.log(`brackets parsed in ${performance.now() - start}ms`)\n }\n }\n\n function openingToClosingBracket (char) {\n parse$1();\n return openToClose.get(char) || null\n }\n\n function closingToOpeningBracket (char) {\n parse$1();\n return closeToOpen.get(char) || null\n }\n\n function getCanonicalBracket (char) {\n parse$1();\n return canonical.get(char) || null\n }\n\n // Local type aliases\n var TYPE_L = TYPES.L;\n var TYPE_R = TYPES.R;\n var TYPE_EN = TYPES.EN;\n var TYPE_ES = TYPES.ES;\n var TYPE_ET = TYPES.ET;\n var TYPE_AN = TYPES.AN;\n var TYPE_CS = TYPES.CS;\n var TYPE_B = TYPES.B;\n var TYPE_S = TYPES.S;\n var TYPE_ON = TYPES.ON;\n var TYPE_BN = TYPES.BN;\n var TYPE_NSM = TYPES.NSM;\n var TYPE_AL = TYPES.AL;\n var TYPE_LRO = TYPES.LRO;\n var TYPE_RLO = TYPES.RLO;\n var TYPE_LRE = TYPES.LRE;\n var TYPE_RLE = TYPES.RLE;\n var TYPE_PDF = TYPES.PDF;\n var TYPE_LRI = TYPES.LRI;\n var TYPE_RLI = TYPES.RLI;\n var TYPE_FSI = TYPES.FSI;\n var TYPE_PDI = TYPES.PDI;\n\n /**\n * @typedef {object} GetEmbeddingLevelsResult\n * @property {{start, end, level}[]} paragraphs\n * @property {Uint8Array} levels\n */\n\n /**\n * This function applies the Bidirectional Algorithm to a string, returning the resolved embedding levels\n * in a single Uint8Array plus a list of objects holding each paragraph's start and end indices and resolved\n * base embedding level.\n *\n * @param {string} string - The input string\n * @param {\"ltr\"|\"rtl\"|\"auto\"} [baseDirection] - Use \"ltr\" or \"rtl\" to force a base paragraph direction,\n * otherwise a direction will be chosen automatically from each paragraph's contents.\n * @return {GetEmbeddingLevelsResult}\n */\n function getEmbeddingLevels (string, baseDirection) {\n var MAX_DEPTH = 125;\n\n // Start by mapping all characters to their unicode type, as a bitmask integer\n var charTypes = new Uint32Array(string.length);\n for (var i = 0; i < string.length; i++) {\n charTypes[i] = getBidiCharType(string[i]);\n }\n\n var charTypeCounts = new Map(); //will be cleared at start of each paragraph\n function changeCharType(i, type) {\n var oldType = charTypes[i];\n charTypes[i] = type;\n charTypeCounts.set(oldType, charTypeCounts.get(oldType) - 1);\n if (oldType & NEUTRAL_ISOLATE_TYPES) {\n charTypeCounts.set(NEUTRAL_ISOLATE_TYPES, charTypeCounts.get(NEUTRAL_ISOLATE_TYPES) - 1);\n }\n charTypeCounts.set(type, (charTypeCounts.get(type) || 0) + 1);\n if (type & NEUTRAL_ISOLATE_TYPES) {\n charTypeCounts.set(NEUTRAL_ISOLATE_TYPES, (charTypeCounts.get(NEUTRAL_ISOLATE_TYPES) || 0) + 1);\n }\n }\n\n var embedLevels = new Uint8Array(string.length);\n var isolationPairs = new Map(); //init->pdi and pdi->init\n\n // === 3.3.1 The Paragraph Level ===\n // 3.3.1 P1: Split the text into paragraphs\n var paragraphs = []; // [{start, end, level}, ...]\n var paragraph = null;\n for (var i$1 = 0; i$1 < string.length; i$1++) {\n if (!paragraph) {\n paragraphs.push(paragraph = {\n start: i$1,\n end: string.length - 1,\n // 3.3.1 P2-P3: Determine the paragraph level\n level: baseDirection === 'rtl' ? 1 : baseDirection === 'ltr' ? 0 : determineAutoEmbedLevel(i$1, false)\n });\n }\n if (charTypes[i$1] & TYPE_B) {\n paragraph.end = i$1;\n paragraph = null;\n }\n }\n\n var FORMATTING_TYPES = TYPE_RLE | TYPE_LRE | TYPE_RLO | TYPE_LRO | ISOLATE_INIT_TYPES | TYPE_PDI | TYPE_PDF | TYPE_B;\n var nextEven = function (n) { return n + ((n & 1) ? 1 : 2); };\n var nextOdd = function (n) { return n + ((n & 1) ? 2 : 1); };\n\n // Everything from here on will operate per paragraph.\n for (var paraIdx = 0; paraIdx < paragraphs.length; paraIdx++) {\n paragraph = paragraphs[paraIdx];\n var statusStack = [{\n _level: paragraph.level,\n _override: 0, //0=neutral, 1=L, 2=R\n _isolate: 0 //bool\n }];\n var stackTop = (void 0);\n var overflowIsolateCount = 0;\n var overflowEmbeddingCount = 0;\n var validIsolateCount = 0;\n charTypeCounts.clear();\n\n // === 3.3.2 Explicit Levels and Directions ===\n for (var i$2 = paragraph.start; i$2 <= paragraph.end; i$2++) {\n var charType = charTypes[i$2];\n stackTop = statusStack[statusStack.length - 1];\n\n // Set initial counts\n charTypeCounts.set(charType, (charTypeCounts.get(charType) || 0) + 1);\n if (charType & NEUTRAL_ISOLATE_TYPES) {\n charTypeCounts.set(NEUTRAL_ISOLATE_TYPES, (charTypeCounts.get(NEUTRAL_ISOLATE_TYPES) || 0) + 1);\n }\n\n // Explicit Embeddings: 3.3.2 X2 - X3\n if (charType & FORMATTING_TYPES) { //prefilter all formatters\n if (charType & (TYPE_RLE | TYPE_LRE)) {\n embedLevels[i$2] = stackTop._level; // 5.2\n var level = (charType === TYPE_RLE ? nextOdd : nextEven)(stackTop._level);\n if (level <= MAX_DEPTH && !overflowIsolateCount && !overflowEmbeddingCount) {\n statusStack.push({\n _level: level,\n _override: 0,\n _isolate: 0\n });\n } else if (!overflowIsolateCount) {\n overflowEmbeddingCount++;\n }\n }\n\n // Explicit Overrides: 3.3.2 X4 - X5\n else if (charType & (TYPE_RLO | TYPE_LRO)) {\n embedLevels[i$2] = stackTop._level; // 5.2\n var level$1 = (charType === TYPE_RLO ? nextOdd : nextEven)(stackTop._level);\n if (level$1 <= MAX_DEPTH && !overflowIsolateCount && !overflowEmbeddingCount) {\n statusStack.push({\n _level: level$1,\n _override: (charType & TYPE_RLO) ? TYPE_R : TYPE_L,\n _isolate: 0\n });\n } else if (!overflowIsolateCount) {\n overflowEmbeddingCount++;\n }\n }\n\n // Isolates: 3.3.2 X5a - X5c\n else if (charType & ISOLATE_INIT_TYPES) {\n // X5c - FSI becomes either RLI or LRI\n if (charType & TYPE_FSI) {\n charType = determineAutoEmbedLevel(i$2 + 1, true) === 1 ? TYPE_RLI : TYPE_LRI;\n }\n\n embedLevels[i$2] = stackTop._level;\n if (stackTop._override) {\n changeCharType(i$2, stackTop._override);\n }\n var level$2 = (charType === TYPE_RLI ? nextOdd : nextEven)(stackTop._level);\n if (level$2 <= MAX_DEPTH && overflowIsolateCount === 0 && overflowEmbeddingCount === 0) {\n validIsolateCount++;\n statusStack.push({\n _level: level$2,\n _override: 0,\n _isolate: 1,\n _isolInitIndex: i$2\n });\n } else {\n overflowIsolateCount++;\n }\n }\n\n // Terminating Isolates: 3.3.2 X6a\n else if (charType & TYPE_PDI) {\n if (overflowIsolateCount > 0) {\n overflowIsolateCount--;\n } else if (validIsolateCount > 0) {\n overflowEmbeddingCount = 0;\n while (!statusStack[statusStack.length - 1]._isolate) {\n statusStack.pop();\n }\n // Add to isolation pairs bidirectional mapping:\n var isolInitIndex = statusStack[statusStack.length - 1]._isolInitIndex;\n if (isolInitIndex != null) {\n isolationPairs.set(isolInitIndex, i$2);\n isolationPairs.set(i$2, isolInitIndex);\n }\n statusStack.pop();\n validIsolateCount--;\n }\n stackTop = statusStack[statusStack.length - 1];\n embedLevels[i$2] = stackTop._level;\n if (stackTop._override) {\n changeCharType(i$2, stackTop._override);\n }\n }\n\n\n // Terminating Embeddings and Overrides: 3.3.2 X7\n else if (charType & TYPE_PDF) {\n if (overflowIsolateCount === 0) {\n if (overflowEmbeddingCount > 0) {\n overflowEmbeddingCount--;\n } else if (!stackTop._isolate && statusStack.length > 1) {\n statusStack.pop();\n stackTop = statusStack[statusStack.length - 1];\n }\n }\n embedLevels[i$2] = stackTop._level; // 5.2\n }\n\n // End of Paragraph: 3.3.2 X8\n else if (charType & TYPE_B) {\n embedLevels[i$2] = paragraph.level;\n }\n }\n\n // Non-formatting characters: 3.3.2 X6\n else {\n embedLevels[i$2] = stackTop._level;\n // NOTE: This exclusion of BN seems to go against what section 5.2 says, but is required for test passage\n if (stackTop._override && charType !== TYPE_BN) {\n changeCharType(i$2, stackTop._override);\n }\n }\n }\n\n // === 3.3.3 Preparations for Implicit Processing ===\n\n // Remove all RLE, LRE, RLO, LRO, PDF, and BN characters: 3.3.3 X9\n // Note: Due to section 5.2, we won't remove them, but we'll use the BN_LIKE_TYPES bitset to\n // easily ignore them all from here on out.\n\n // 3.3.3 X10\n // Compute the set of isolating run sequences as specified by BD13\n var levelRuns = [];\n var currentRun = null;\n for (var i$3 = paragraph.start; i$3 <= paragraph.end; i$3++) {\n var charType$1 = charTypes[i$3];\n if (!(charType$1 & BN_LIKE_TYPES)) {\n var lvl = embedLevels[i$3];\n var isIsolInit = charType$1 & ISOLATE_INIT_TYPES;\n var isPDI = charType$1 === TYPE_PDI;\n if (currentRun && lvl === currentRun._level) {\n currentRun._end = i$3;\n currentRun._endsWithIsolInit = isIsolInit;\n } else {\n levelRuns.push(currentRun = {\n _start: i$3,\n _end: i$3,\n _level: lvl,\n _startsWithPDI: isPDI,\n _endsWithIsolInit: isIsolInit\n });\n }\n }\n }\n var isolatingRunSeqs = []; // [{seqIndices: [], sosType: L|R, eosType: L|R}]\n for (var runIdx = 0; runIdx < levelRuns.length; runIdx++) {\n var run = levelRuns[runIdx];\n if (!run._startsWithPDI || (run._startsWithPDI && !isolationPairs.has(run._start))) {\n var seqRuns = [currentRun = run];\n for (var pdiIndex = (void 0); currentRun && currentRun._endsWithIsolInit && (pdiIndex = isolationPairs.get(currentRun._end)) != null;) {\n for (var i$4 = runIdx + 1; i$4 < levelRuns.length; i$4++) {\n if (levelRuns[i$4]._start === pdiIndex) {\n seqRuns.push(currentRun = levelRuns[i$4]);\n break\n }\n }\n }\n // build flat list of indices across all runs:\n var seqIndices = [];\n for (var i$5 = 0; i$5 < seqRuns.length; i$5++) {\n var run$1 = seqRuns[i$5];\n for (var j = run$1._start; j <= run$1._end; j++) {\n seqIndices.push(j);\n }\n }\n // determine the sos/eos types:\n var firstLevel = embedLevels[seqIndices[0]];\n var prevLevel = paragraph.level;\n for (var i$6 = seqIndices[0] - 1; i$6 >= 0; i$6--) {\n if (!(charTypes[i$6] & BN_LIKE_TYPES)) { //5.2\n prevLevel = embedLevels[i$6];\n break\n }\n }\n var lastIndex = seqIndices[seqIndices.length - 1];\n var lastLevel = embedLevels[lastIndex];\n var nextLevel = paragraph.level;\n if (!(charTypes[lastIndex] & ISOLATE_INIT_TYPES)) {\n for (var i$7 = lastIndex + 1; i$7 <= paragraph.end; i$7++) {\n if (!(charTypes[i$7] & BN_LIKE_TYPES)) { //5.2\n nextLevel = embedLevels[i$7];\n break\n }\n }\n }\n isolatingRunSeqs.push({\n _seqIndices: seqIndices,\n _sosType: Math.max(prevLevel, firstLevel) % 2 ? TYPE_R : TYPE_L,\n _eosType: Math.max(nextLevel, lastLevel) % 2 ? TYPE_R : TYPE_L\n });\n }\n }\n\n // The next steps are done per isolating run sequence\n for (var seqIdx = 0; seqIdx < isolatingRunSeqs.length; seqIdx++) {\n var ref = isolatingRunSeqs[seqIdx];\n var seqIndices$1 = ref._seqIndices;\n var sosType = ref._sosType;\n var eosType = ref._eosType;\n /**\n * All the level runs in an isolating run sequence have the same embedding level.\n * \n * DO NOT change any `embedLevels[i]` within the current scope.\n */\n var embedDirection = ((embedLevels[seqIndices$1[0]]) & 1) ? TYPE_R : TYPE_L;\n\n // === 3.3.4 Resolving Weak Types ===\n\n // W1 + 5.2. Search backward from each NSM to the first character in the isolating run sequence whose\n // bidirectional type is not BN, and set the NSM to ON if it is an isolate initiator or PDI, and to its\n // type otherwise. If the NSM is the first non-BN character, change the NSM to the type of sos.\n if (charTypeCounts.get(TYPE_NSM)) {\n for (var si = 0; si < seqIndices$1.length; si++) {\n var i$8 = seqIndices$1[si];\n if (charTypes[i$8] & TYPE_NSM) {\n var prevType = sosType;\n for (var sj = si - 1; sj >= 0; sj--) {\n if (!(charTypes[seqIndices$1[sj]] & BN_LIKE_TYPES)) { //5.2 scan back to first non-BN\n prevType = charTypes[seqIndices$1[sj]];\n break\n }\n }\n changeCharType(i$8, (prevType & (ISOLATE_INIT_TYPES | TYPE_PDI)) ? TYPE_ON : prevType);\n }\n }\n }\n\n // W2. Search backward from each instance of a European number until the first strong type (R, L, AL, or sos)\n // is found. If an AL is found, change the type of the European number to Arabic number.\n if (charTypeCounts.get(TYPE_EN)) {\n for (var si$1 = 0; si$1 < seqIndices$1.length; si$1++) {\n var i$9 = seqIndices$1[si$1];\n if (charTypes[i$9] & TYPE_EN) {\n for (var sj$1 = si$1 - 1; sj$1 >= -1; sj$1--) {\n var prevCharType = sj$1 === -1 ? sosType : charTypes[seqIndices$1[sj$1]];\n if (prevCharType & STRONG_TYPES) {\n if (prevCharType === TYPE_AL) {\n changeCharType(i$9, TYPE_AN);\n }\n break\n }\n }\n }\n }\n }\n\n // W3. Change all ALs to R\n if (charTypeCounts.get(TYPE_AL)) {\n for (var si$2 = 0; si$2 < seqIndices$1.length; si$2++) {\n var i$10 = seqIndices$1[si$2];\n if (charTypes[i$10] & TYPE_AL) {\n changeCharType(i$10, TYPE_R);\n }\n }\n }\n\n // W4. A single European separator between two European numbers changes to a European number. A single common\n // separator between two numbers of the same type changes to that type.\n if (charTypeCounts.get(TYPE_ES) || charTypeCounts.get(TYPE_CS)) {\n for (var si$3 = 1; si$3 < seqIndices$1.length - 1; si$3++) {\n var i$11 = seqIndices$1[si$3];\n if (charTypes[i$11] & (TYPE_ES | TYPE_CS)) {\n var prevType$1 = 0, nextType = 0;\n for (var sj$2 = si$3 - 1; sj$2 >= 0; sj$2--) {\n prevType$1 = charTypes[seqIndices$1[sj$2]];\n if (!(prevType$1 & BN_LIKE_TYPES)) { //5.2\n break\n }\n }\n for (var sj$3 = si$3 + 1; sj$3 < seqIndices$1.length; sj$3++) {\n nextType = charTypes[seqIndices$1[sj$3]];\n if (!(nextType & BN_LIKE_TYPES)) { //5.2\n break\n }\n }\n if (prevType$1 === nextType && (charTypes[i$11] === TYPE_ES ? prevType$1 === TYPE_EN : (prevType$1 & (TYPE_EN | TYPE_AN)))) {\n changeCharType(i$11, prevType$1);\n }\n }\n }\n }\n\n // W5. A sequence of European terminators adjacent to European numbers changes to all European numbers.\n if (charTypeCounts.get(TYPE_EN)) {\n for (var si$4 = 0; si$4 < seqIndices$1.length; si$4++) {\n var i$12 = seqIndices$1[si$4];\n if (charTypes[i$12] & TYPE_EN) {\n for (var sj$4 = si$4 - 1; sj$4 >= 0 && (charTypes[seqIndices$1[sj$4]] & (TYPE_ET | BN_LIKE_TYPES)); sj$4--) {\n changeCharType(seqIndices$1[sj$4], TYPE_EN);\n }\n for (si$4++; si$4 < seqIndices$1.length && (charTypes[seqIndices$1[si$4]] & (TYPE_ET | BN_LIKE_TYPES | TYPE_EN)); si$4++) {\n if (charTypes[seqIndices$1[si$4]] !== TYPE_EN) {\n changeCharType(seqIndices$1[si$4], TYPE_EN);\n }\n }\n }\n }\n }\n\n // W6. Otherwise, separators and terminators change to Other Neutral.\n if (charTypeCounts.get(TYPE_ET) || charTypeCounts.get(TYPE_ES) || charTypeCounts.get(TYPE_CS)) {\n for (var si$5 = 0; si$5 < seqIndices$1.length; si$5++) {\n var i$13 = seqIndices$1[si$5];\n if (charTypes[i$13] & (TYPE_ET | TYPE_ES | TYPE_CS)) {\n changeCharType(i$13, TYPE_ON);\n // 5.2 transform adjacent BNs too:\n for (var sj$5 = si$5 - 1; sj$5 >= 0 && (charTypes[seqIndices$1[sj$5]] & BN_LIKE_TYPES); sj$5--) {\n changeCharType(seqIndices$1[sj$5], TYPE_ON);\n }\n for (var sj$6 = si$5 + 1; sj$6 < seqIndices$1.length && (charTypes[seqIndices$1[sj$6]] & BN_LIKE_TYPES); sj$6++) {\n changeCharType(seqIndices$1[sj$6], TYPE_ON);\n }\n }\n }\n }\n\n // W7. Search backward from each instance of a European number until the first strong type (R, L, or sos)\n // is found. If an L is found, then change the type of the European number to L.\n // NOTE: implemented in single forward pass for efficiency\n if (charTypeCounts.get(TYPE_EN)) {\n for (var si$6 = 0, prevStrongType = sosType; si$6 < seqIndices$1.length; si$6++) {\n var i$14 = seqIndices$1[si$6];\n var type = charTypes[i$14];\n if (type & TYPE_EN) {\n if (prevStrongType === TYPE_L) {\n changeCharType(i$14, TYPE_L);\n }\n } else if (type & STRONG_TYPES) {\n prevStrongType = type;\n }\n }\n }\n\n // === 3.3.5 Resolving Neutral and Isolate Formatting Types ===\n\n if (charTypeCounts.get(NEUTRAL_ISOLATE_TYPES)) {\n // N0. Process bracket pairs in an isolating run sequence sequentially in the logical order of the text\n // positions of the opening paired brackets using the logic given below. Within this scope, bidirectional\n // types EN and AN are treated as R.\n var R_TYPES_FOR_N_STEPS = (TYPE_R | TYPE_EN | TYPE_AN);\n var STRONG_TYPES_FOR_N_STEPS = R_TYPES_FOR_N_STEPS | TYPE_L;\n\n // * Identify the bracket pairs in the current isolating run sequence according to BD16.\n var bracketPairs = [];\n {\n var openerStack = [];\n for (var si$7 = 0; si$7 < seqIndices$1.length; si$7++) {\n // NOTE: for any potential bracket character we also test that it still carries a NI\n // type, as that may have been changed earlier. This doesn't seem to be explicitly\n // called out in the spec, but is required for passage of certain tests.\n if (charTypes[seqIndices$1[si$7]] & NEUTRAL_ISOLATE_TYPES) {\n var char = string[seqIndices$1[si$7]];\n var oppositeBracket = (void 0);\n // Opening bracket\n if (openingToClosingBracket(char) !== null) {\n if (openerStack.length < 63) {\n openerStack.push({ char: char, seqIndex: si$7 });\n } else {\n break\n }\n }\n // Closing bracket\n else if ((oppositeBracket = closingToOpeningBracket(char)) !== null) {\n for (var stackIdx = openerStack.length - 1; stackIdx >= 0; stackIdx--) {\n var stackChar = openerStack[stackIdx].char;\n if (stackChar === oppositeBracket ||\n stackChar === closingToOpeningBracket(getCanonicalBracket(char)) ||\n openingToClosingBracket(getCanonicalBracket(stackChar)) === char\n ) {\n bracketPairs.push([openerStack[stackIdx].seqIndex, si$7]);\n openerStack.length = stackIdx; //pop the matching bracket and all following\n break\n }\n }\n }\n }\n }\n bracketPairs.sort(function (a, b) { return a[0] - b[0]; });\n }\n // * For each bracket-pair element in the list of pairs of text positions\n for (var pairIdx = 0; pairIdx < bracketPairs.length; pairIdx++) {\n var ref$1 = bracketPairs[pairIdx];\n var openSeqIdx = ref$1[0];\n var closeSeqIdx = ref$1[1];\n // a. Inspect the bidirectional types of the characters enclosed within the bracket pair.\n // b. If any strong type (either L or R) matching the embedding direction is found, set the type for both\n // brackets in the pair to match the embedding direction.\n var foundStrongType = false;\n var useStrongType = 0;\n for (var si$8 = openSeqIdx + 1; si$8 < closeSeqIdx; si$8++) {\n var i$15 = seqIndices$1[si$8];\n if (charTypes[i$15] & STRONG_TYPES_FOR_N_STEPS) {\n foundStrongType = true;\n var lr = (charTypes[i$15] & R_TYPES_FOR_N_STEPS) ? TYPE_R : TYPE_L;\n if (lr === embedDirection) {\n useStrongType = lr;\n break\n }\n }\n }\n // c. Otherwise, if there is a strong type it must be opposite the embedding direction. Therefore, test\n // for an established context with a preceding strong type by checking backwards before the opening paired\n // bracket until the first strong type (L, R, or sos) is found.\n // 1. If the preceding strong type is also opposite the embedding direction, context is established, so\n // set the type for both brackets in the pair to that direction.\n // 2. Otherwise set the type for both brackets in the pair to the embedding direction.\n if (foundStrongType && !useStrongType) {\n useStrongType = sosType;\n for (var si$9 = openSeqIdx - 1; si$9 >= 0; si$9--) {\n var i$16 = seqIndices$1[si$9];\n if (charTypes[i$16] & STRONG_TYPES_FOR_N_STEPS) {\n var lr$1 = (charTypes[i$16] & R_TYPES_FOR_N_STEPS) ? TYPE_R : TYPE_L;\n if (lr$1 !== embedDirection) {\n useStrongType = lr$1;\n } else {\n useStrongType = embedDirection;\n }\n break\n }\n }\n }\n if (useStrongType) {\n charTypes[seqIndices$1[openSeqIdx]] = charTypes[seqIndices$1[closeSeqIdx]] = useStrongType;\n // * Any number of characters that had original bidirectional character type NSM prior to the application\n // of W1 that immediately follow a paired bracket which changed to L or R under N0 should change to match\n // the type of their preceding bracket.\n if (useStrongType !== embedDirection) {\n for (var si$10 = openSeqIdx + 1; si$10 < seqIndices$1.length; si$10++) {\n if (!(charTypes[seqIndices$1[si$10]] & BN_LIKE_TYPES)) {\n if (getBidiCharType(string[seqIndices$1[si$10]]) & TYPE_NSM) {\n charTypes[seqIndices$1[si$10]] = useStrongType;\n }\n break\n }\n }\n }\n if (useStrongType !== embedDirection) {\n for (var si$11 = closeSeqIdx + 1; si$11 < seqIndices$1.length; si$11++) {\n if (!(charTypes[seqIndices$1[si$11]] & BN_LIKE_TYPES)) {\n if (getBidiCharType(string[seqIndices$1[si$11]]) & TYPE_NSM) {\n charTypes[seqIndices$1[si$11]] = useStrongType;\n }\n break\n }\n }\n }\n }\n }\n\n // N1. A sequence of NIs takes the direction of the surrounding strong text if the text on both sides has the\n // same direction.\n // N2. Any remaining NIs take the embedding direction.\n for (var si$12 = 0; si$12 < seqIndices$1.length; si$12++) {\n if (charTypes[seqIndices$1[si$12]] & NEUTRAL_ISOLATE_TYPES) {\n var niRunStart = si$12, niRunEnd = si$12;\n var prevType$2 = sosType; //si === 0 ? sosType : (charTypes[seqIndices[si - 1]] & R_TYPES_FOR_N_STEPS) ? TYPE_R : TYPE_L\n for (var si2 = si$12 - 1; si2 >= 0; si2--) {\n if (charTypes[seqIndices$1[si2]] & BN_LIKE_TYPES) {\n niRunStart = si2; //5.2 treat BNs adjacent to NIs as NIs\n } else {\n prevType$2 = (charTypes[seqIndices$1[si2]] & R_TYPES_FOR_N_STEPS) ? TYPE_R : TYPE_L;\n break\n }\n }\n var nextType$1 = eosType;\n for (var si2$1 = si$12 + 1; si2$1 < seqIndices$1.length; si2$1++) {\n if (charTypes[seqIndices$1[si2$1]] & (NEUTRAL_ISOLATE_TYPES | BN_LIKE_TYPES)) {\n niRunEnd = si2$1;\n } else {\n nextType$1 = (charTypes[seqIndices$1[si2$1]] & R_TYPES_FOR_N_STEPS) ? TYPE_R : TYPE_L;\n break\n }\n }\n for (var sj$7 = niRunStart; sj$7 <= niRunEnd; sj$7++) {\n charTypes[seqIndices$1[sj$7]] = prevType$2 === nextType$1 ? prevType$2 : embedDirection;\n }\n si$12 = niRunEnd;\n }\n }\n }\n }\n\n // === 3.3.6 Resolving Implicit Levels ===\n\n for (var i$17 = paragraph.start; i$17 <= paragraph.end; i$17++) {\n var level$3 = embedLevels[i$17];\n var type$1 = charTypes[i$17];\n // I2. For all characters with an odd (right-to-left) embedding level, those of type L, EN or AN go up one level.\n if (level$3 & 1) {\n if (type$1 & (TYPE_L | TYPE_EN | TYPE_AN)) {\n embedLevels[i$17]++;\n }\n }\n // I1. For all characters with an even (left-to-right) embedding level, those of type R go up one level\n // and those of type AN or EN go up two levels.\n else {\n if (type$1 & TYPE_R) {\n embedLevels[i$17]++;\n } else if (type$1 & (TYPE_AN | TYPE_EN)) {\n embedLevels[i$17] += 2;\n }\n }\n\n // 5.2: Resolve any LRE, RLE, LRO, RLO, PDF, or BN to the level of the preceding character if there is one,\n // and otherwise to the base level.\n if (type$1 & BN_LIKE_TYPES) {\n embedLevels[i$17] = i$17 === 0 ? paragraph.level : embedLevels[i$17 - 1];\n }\n\n // 3.4 L1.1-4: Reset the embedding level of segment/paragraph separators, and any sequence of whitespace or\n // isolate formatting characters preceding them or the end of the paragraph, to the paragraph level.\n // NOTE: this will also need to be applied to each individual line ending after line wrapping occurs.\n if (i$17 === paragraph.end || getBidiCharType(string[i$17]) & (TYPE_S | TYPE_B)) {\n for (var j$1 = i$17; j$1 >= 0 && (getBidiCharType(string[j$1]) & TRAILING_TYPES); j$1--) {\n embedLevels[j$1] = paragraph.level;\n }\n }\n }\n }\n\n // DONE! The resolved levels can then be used, after line wrapping, to flip runs of characters\n // according to section 3.4 Reordering Resolved Levels\n return {\n levels: embedLevels,\n paragraphs: paragraphs\n }\n\n function determineAutoEmbedLevel (start, isFSI) {\n // 3.3.1 P2 - P3\n for (var i = start; i < string.length; i++) {\n var charType = charTypes[i];\n if (charType & (TYPE_R | TYPE_AL)) {\n return 1\n }\n if ((charType & (TYPE_B | TYPE_L)) || (isFSI && charType === TYPE_PDI)) {\n return 0\n }\n if (charType & ISOLATE_INIT_TYPES) {\n var pdi = indexOfMatchingPDI(i);\n i = pdi === -1 ? string.length : pdi;\n }\n }\n return 0\n }\n\n function indexOfMatchingPDI (isolateStart) {\n // 3.1.2 BD9\n var isolationLevel = 1;\n for (var i = isolateStart + 1; i < string.length; i++) {\n var charType = charTypes[i];\n if (charType & TYPE_B) {\n break\n }\n if (charType & TYPE_PDI) {\n if (--isolationLevel === 0) {\n return i\n }\n } else if (charType & ISOLATE_INIT_TYPES) {\n isolationLevel++;\n }\n }\n return -1\n }\n }\n\n // Bidi mirrored chars data, auto generated\n var data = \"14>1,j>2,t>2,u>2,1a>g,2v3>1,1>1,1ge>1,1wd>1,b>1,1j>1,f>1,ai>3,-2>3,+1,8>1k0,-1jq>1y7,-1y6>1hf,-1he>1h6,-1h5>1ha,-1h8>1qi,-1pu>1,6>3u,-3s>7,6>1,1>1,f>1,1>1,+2,3>1,1>1,+13,4>1,1>1,6>1eo,-1ee>1,3>1mg,-1me>1mk,-1mj>1mi,-1mg>1mi,-1md>1,1>1,+2,1>10k,-103>1,1>1,4>1,5>1,1>1,+10,3>1,1>8,-7>8,+1,-6>7,+1,a>1,1>1,u>1,u6>1,1>1,+5,26>1,1>1,2>1,2>2,8>1,7>1,4>1,1>1,+5,b8>1,1>1,+3,1>3,-2>1,2>1,1>1,+2,c>1,3>1,1>1,+2,h>1,3>1,a>1,1>1,2>1,3>1,1>1,d>1,f>1,3>1,1a>1,1>1,6>1,7>1,13>1,k>1,1>1,+19,4>1,1>1,+2,2>1,1>1,+18,m>1,a>1,1>1,lk>1,1>1,4>1,2>1,f>1,3>1,1>1,+3,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,6>1,4j>1,j>2,t>2,u>2,2>1,+1\";\n\n var mirrorMap;\n\n function parse () {\n if (!mirrorMap) {\n //const start = performance.now()\n var ref = parseCharacterMap(data, true);\n var map = ref.map;\n var reverseMap = ref.reverseMap;\n // Combine both maps into one\n reverseMap.forEach(function (value, key) {\n map.set(key, value);\n });\n mirrorMap = map;\n //console.log(`mirrored chars parsed in ${performance.now() - start}ms`)\n }\n }\n\n function getMirroredCharacter (char) {\n parse();\n return mirrorMap.get(char) || null\n }\n\n /**\n * Given a string and its resolved embedding levels, build a map of indices to replacement chars\n * for any characters in right-to-left segments that have defined mirrored characters.\n * @param string\n * @param embeddingLevels\n * @param [start]\n * @param [end]\n * @return {Map}\n */\n function getMirroredCharactersMap(string, embeddingLevels, start, end) {\n var strLen = string.length;\n start = Math.max(0, start == null ? 0 : +start);\n end = Math.min(strLen - 1, end == null ? strLen - 1 : +end);\n\n var map = new Map();\n for (var i = start; i <= end; i++) {\n if (embeddingLevels[i] & 1) { //only odd (rtl) levels\n var mirror = getMirroredCharacter(string[i]);\n if (mirror !== null) {\n map.set(i, mirror);\n }\n }\n }\n return map\n }\n\n /**\n * Given a start and end denoting a single line within a string, and a set of precalculated\n * bidi embedding levels, produce a list of segments whose ordering should be flipped, in sequence.\n * @param {string} string - the full input string\n * @param {GetEmbeddingLevelsResult} embeddingLevelsResult - the result object from getEmbeddingLevels\n * @param {number} [start] - first character in a subset of the full string\n * @param {number} [end] - last character in a subset of the full string\n * @return {number[][]} - the list of start/end segments that should be flipped, in order.\n */\n function getReorderSegments(string, embeddingLevelsResult, start, end) {\n var strLen = string.length;\n start = Math.max(0, start == null ? 0 : +start);\n end = Math.min(strLen - 1, end == null ? strLen - 1 : +end);\n\n var segments = [];\n embeddingLevelsResult.paragraphs.forEach(function (paragraph) {\n var lineStart = Math.max(start, paragraph.start);\n var lineEnd = Math.min(end, paragraph.end);\n if (lineStart < lineEnd) {\n // Local slice for mutation\n var lineLevels = embeddingLevelsResult.levels.slice(lineStart, lineEnd + 1);\n\n // 3.4 L1.4: Reset any sequence of whitespace characters and/or isolate formatting characters at the\n // end of the line to the paragraph level.\n for (var i = lineEnd; i >= lineStart && (getBidiCharType(string[i]) & TRAILING_TYPES); i--) {\n lineLevels[i] = paragraph.level;\n }\n\n // L2. From the highest level found in the text to the lowest odd level on each line, including intermediate levels\n // not actually present in the text, reverse any contiguous sequence of characters that are at that level or higher.\n var maxLevel = paragraph.level;\n var minOddLevel = Infinity;\n for (var i$1 = 0; i$1 < lineLevels.length; i$1++) {\n var level = lineLevels[i$1];\n if (level > maxLevel) { maxLevel = level; }\n if (level < minOddLevel) { minOddLevel = level | 1; }\n }\n for (var lvl = maxLevel; lvl >= minOddLevel; lvl--) {\n for (var i$2 = 0; i$2 < lineLevels.length; i$2++) {\n if (lineLevels[i$2] >= lvl) {\n var segStart = i$2;\n while (i$2 + 1 < lineLevels.length && lineLevels[i$2 + 1] >= lvl) {\n i$2++;\n }\n if (i$2 > segStart) {\n segments.push([segStart + lineStart, i$2 + lineStart]);\n }\n }\n }\n }\n }\n });\n return segments\n }\n\n /**\n * @param {string} string\n * @param {GetEmbeddingLevelsResult} embedLevelsResult\n * @param {number} [start]\n * @param {number} [end]\n * @return {string} the new string with bidi segments reordered\n */\n function getReorderedString(string, embedLevelsResult, start, end) {\n var indices = getReorderedIndices(string, embedLevelsResult, start, end);\n var chars = [].concat( string );\n indices.forEach(function (charIndex, i) {\n chars[i] = (\n (embedLevelsResult.levels[charIndex] & 1) ? getMirroredCharacter(string[charIndex]) : null\n ) || string[charIndex];\n });\n return chars.join('')\n }\n\n /**\n * @param {string} string\n * @param {GetEmbeddingLevelsResult} embedLevelsResult\n * @param {number} [start]\n * @param {number} [end]\n * @return {number[]} an array with character indices in their new bidi order\n */\n function getReorderedIndices(string, embedLevelsResult, start, end) {\n var segments = getReorderSegments(string, embedLevelsResult, start, end);\n // Fill an array with indices\n var indices = [];\n for (var i = 0; i < string.length; i++) {\n indices[i] = i;\n }\n // Reverse each segment in order\n segments.forEach(function (ref) {\n var start = ref[0];\n var end = ref[1];\n\n var slice = indices.slice(start, end + 1);\n for (var i = slice.length; i--;) {\n indices[end - i] = slice[i];\n }\n });\n return indices\n }\n\n exports.closingToOpeningBracket = closingToOpeningBracket;\n exports.getBidiCharType = getBidiCharType;\n exports.getBidiCharTypeName = getBidiCharTypeName;\n exports.getCanonicalBracket = getCanonicalBracket;\n exports.getEmbeddingLevels = getEmbeddingLevels;\n exports.getMirroredCharacter = getMirroredCharacter;\n exports.getMirroredCharactersMap = getMirroredCharactersMap;\n exports.getReorderSegments = getReorderSegments;\n exports.getReorderedIndices = getReorderedIndices;\n exports.getReorderedString = getReorderedString;\n exports.openingToClosingBracket = openingToClosingBracket;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n\n}({}));\nreturn bidi}\n\nexport default bidiFactory;\n","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nexport { _arrayLikeToArray as default };","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nfunction _createForOfIteratorHelperLoose(r, e) {\n var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (t) return (t = t.call(r)).next.bind(t);\n if (Array.isArray(r) || (t = unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) {\n t && (r = t);\n var o = 0;\n return function () {\n return o >= r.length ? {\n done: !0\n } : {\n done: !1,\n value: r[o++]\n };\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _createForOfIteratorHelperLoose as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nexport { _unsupportedIterableToArray as default };","import { isNil, last, repeat, dropLast as dropLast$2, adjust, compose } from '@react-pdf/fns';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';\nimport bidiFactory from 'bidi-js';\nimport _createForOfIteratorHelperLoose from '@babel/runtime/helpers/createForOfIteratorHelperLoose';\nimport unicode from 'unicode-properties';\nimport hyphen from 'hyphen';\nimport pattern from 'hyphen/patterns/en-us.js';\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Fragment} Fragment\n */\n\n/**\n * Create attributed string from text fragments\n *\n * @param {Fragment[]} fragments fragments\n * @returns {AttributedString} attributed string\n */\nvar fromFragments = function fromFragments(fragments) {\n var offset = 0;\n var string = '';\n var runs = [];\n fragments.forEach(function (fragment) {\n string += fragment.string;\n runs.push(_extends({}, fragment, {\n start: offset,\n end: offset + fragment.string.length,\n attributes: fragment.attributes || {}\n }));\n offset += fragment.string.length;\n });\n return {\n string: string,\n runs: runs\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Default word hyphenation engine used when no one provided.\n * Does not perform word hyphenation at all\n *\n * @param {string} word\n * @returns {[string]} same word\n */\nvar defaultHyphenationEngine = function defaultHyphenationEngine(word) {\n return [word];\n};\n\n/**\n * Wrap words of attribute string\n *\n * @param {Object} engines layout engines\n * @param {Object} options layout options\n */\nvar wrapWords = function wrapWords(engines, options) {\n if (engines === void 0) {\n engines = {};\n }\n if (options === void 0) {\n options = {};\n }\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string including syllables\n */\n return function (attributedString) {\n var _engines$wordHyphenat, _engines;\n var syllables = [];\n var fragments = [];\n var hyphenateWord = options.hyphenationCallback || ((_engines$wordHyphenat = (_engines = engines).wordHyphenation) === null || _engines$wordHyphenat === void 0 ? void 0 : _engines$wordHyphenat.call(_engines, options)) || defaultHyphenationEngine;\n for (var i = 0; i < attributedString.runs.length; i += 1) {\n var string = '';\n var run = attributedString.runs[i];\n var words = attributedString.string.slice(run.start, run.end).split(/([ ]+)/g).filter(Boolean);\n for (var j = 0; j < words.length; j += 1) {\n var word = words[j];\n var parts = hyphenateWord(word);\n syllables.push.apply(syllables, parts);\n string += parts.join('');\n }\n fragments.push(_extends({}, run, {\n string: string\n }));\n }\n return _extends({}, fromFragments(fragments), {\n syllables: syllables\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * Clone rect\n *\n * @param {Rect} rect rect\n * @returns {Rect} cloned rect\n */\nvar copy = function copy(rect) {\n return Object.assign({}, rect);\n};\n\n/**\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n *\n * @param {Rect} rect rect\n * @param {number} height height\n * @returns {[Rect, Rect]} partitioned rects\n */\nvar partition = function partition(rect, height) {\n var a = Object.assign({}, rect, {\n height: height\n });\n var b = Object.assign({}, rect, {\n y: rect.y + height,\n height: rect.height - height\n });\n return [a, b];\n};\n\n/**\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * Crop upper section of rect\n *\n * @param {number} height height\n * @param {Rect} rect rect\n * @returns {Rect} cropped rect\n */\nvar crop = function crop(height, rect) {\n var _partition = partition(rect, height),\n result = _partition[1];\n return result;\n};\n\n/**\n * Get paragraph block height\n *\n * @param {Object} paragraph block\n * @returns {number} paragraph block height\n */\nvar height$2 = function height(paragraph) {\n return paragraph.reduce(function (acc, block) {\n return acc + block.box.height;\n }, 0);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Calculate run scale\n *\n * @param {Run} run run\n * @returns {number} scale\n */\nvar calculateScale = function calculateScale(run) {\n var _attributes$font;\n var attributes = run.attributes || {};\n var fontSize = attributes.fontSize || 12;\n var unitsPerEm = (_attributes$font = attributes.font) === null || _attributes$font === void 0 ? void 0 : _attributes$font.unitsPerEm;\n return unitsPerEm ? fontSize / unitsPerEm : 0;\n};\n\n/**\n * Get run scale\n *\n * @param {Object} run\n * @returns {number} scale\n */\nvar scale = function scale(run) {\n var _run$attributes;\n return ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : _run$attributes.scale) || calculateScale(run);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get ligature offset by index\n *\n * Ex. ffi ligature\n *\n * glyphs: l o f f i m\n * glyphIndices: 0 1 2 2 2 3\n * offset: 0 0 0 1 2 0\n *\n * @param {number} index\n * @param {Run} run run\n * @returns {number} ligature offset\n */\nvar offset = function offset(index, run) {\n if (!run) return 0;\n var glyphIndices = run.glyphIndices || [];\n var value = glyphIndices[index];\n return glyphIndices.slice(0, index).filter(function (i) {\n return i === value;\n }).length;\n};\n\n/**\n * @typedef {import('../types.js').Font} Font\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run font\n *\n * @param {Run} run run\n * @returns {Font | null} font\n */\nvar getFont = function getFont(run) {\n var _run$attributes;\n return ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : _run$attributes.font) || null;\n};\n\n/**\n * @typedef {import('../types.js').Font} Font\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\n/**\n * Slice glyph between codePoints range\n * Util for breaking ligatures\n *\n * @param {number} start start code point index\n * @param {number} end end code point index\n * @param {Font} font font to generate new glyph\n * @param {Glyph} glyph glyph to be sliced\n * @returns {Glyph[]} sliced glyph parts\n */\nvar slice$2 = function slice(start, end, font, glyph) {\n if (!glyph) return [];\n if (start === end) return [];\n if (start === 0 && end === glyph.codePoints.length) return [glyph];\n var codePoints = glyph.codePoints.slice(start, end);\n var string = String.fromCodePoint.apply(String, codePoints);\n\n // passing LTR To force fontkit to not reverse the string\n return font ? font.layout(string, undefined, undefined, undefined, 'ltr').glyphs : [glyph];\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Return glyph index at string index, if glyph indices present.\n * Otherwise return string index\n *\n * @param {number} index index\n * @param {Run} run run\n * @returns {number} glyph index\n */\nvar glyphIndexAt = function glyphIndexAt(index, run) {\n var _run$glyphIndices;\n var result = run === null || run === void 0 ? void 0 : (_run$glyphIndices = run.glyphIndices) === null || _run$glyphIndices === void 0 ? void 0 : _run$glyphIndices[index];\n return isNil(result) ? index : result;\n};\n\n/**\n * Returns new array starting with zero, and keeping same relation between consecutive values\n *\n * @param {number[]} array list\n * @returns {number[]} normalized array\n */\nvar normalize = function normalize(array) {\n var head = array[0];\n return array.map(function (value) {\n return value - head;\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Slice run between glyph indices range\n *\n * @param {number} start glyph index\n * @param {number} end glyph index\n * @param {Run} run run\n * @returns {Run} sliced run\n */\nvar slice$1 = function slice(start, end, run) {\n var _run$glyphs, _run$glyphs2;\n var runScale = scale(run);\n var font = getFont(run);\n\n // Get glyph start and end indices\n var startIndex = glyphIndexAt(start, run);\n var endIndex = glyphIndexAt(end, run);\n\n // Get start and end glyph\n var startGlyph = (_run$glyphs = run.glyphs) === null || _run$glyphs === void 0 ? void 0 : _run$glyphs[startIndex];\n var endGlyph = (_run$glyphs2 = run.glyphs) === null || _run$glyphs2 === void 0 ? void 0 : _run$glyphs2[endIndex];\n\n // Get start ligature chunks (if any)\n var startOffset = offset(start, run);\n var startGlyphs = startOffset > 0 ? slice$2(startOffset, Infinity, font, startGlyph) : [];\n\n // Get end ligature chunks (if any)\n var endOffset = offset(end, run);\n var endGlyphs = slice$2(0, endOffset, font, endGlyph);\n\n // Compute new glyphs\n var sliceStart = startIndex + Math.min(1, startOffset);\n var glyphs = (run.glyphs || []).slice(sliceStart, endIndex);\n\n // Compute new positions\n var glyphPosition = function glyphPosition(g) {\n return {\n xAdvance: g.advanceWidth * runScale\n };\n };\n var startPositions = startGlyphs.map(glyphPosition);\n var positions = (run.positions || []).slice(sliceStart, endIndex);\n var endPositions = endGlyphs.map(glyphPosition);\n return Object.assign({}, run, {\n start: run.start + start,\n end: Math.min(run.end, run.start + end),\n glyphIndices: normalize((run.glyphIndices || []).slice(start, end)),\n glyphs: [startGlyphs, glyphs, endGlyphs].flat(),\n positions: [startPositions, positions, endPositions].flat()\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run index that contains passed index\n *\n * @param {number} n index\n * @param {Run[]} runs runs\n * @returns {number} run index\n */\nvar runIndexAt$1 = function runIndexAt(n, runs) {\n if (!runs) return -1;\n return runs.findIndex(function (run) {\n return run.start <= n && n < run.end;\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Filter runs contained between start and end\n *\n * @param {number} start\n * @param {number} end\n * @param {Run[]} runs\n * @returns {Run[]} filtered runs\n */\nvar filter = function filter(start, end, runs) {\n var startIndex = runIndexAt$1(start, runs);\n var endIndex = Math.max(runIndexAt$1(end - 1, runs), startIndex);\n return runs.slice(startIndex, endIndex + 1);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Subtract scalar to run\n *\n * @param {number} n scalar\n * @param {Run} run run\n * @returns {Object} subtracted run\n */\nvar subtract = function subtract(n, run) {\n var start = run.start - n;\n var end = run.end - n;\n return Object.assign({}, run, {\n start: start,\n end: end\n });\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Slice array of runs\n *\n * @param {number} start offset\n * @param {number} end offset\n * @param {Run[]} runs\n * @returns {Run[]} sliced runs\n */\nvar sliceRuns = function sliceRuns(start, end, runs) {\n var sliceFirstRun = function sliceFirstRun(a) {\n return slice$1(start - a.start, end - a.start, a);\n };\n var sliceLastRun = function sliceLastRun(a) {\n return slice$1(0, end - a.start, a);\n };\n return runs.map(function (run, i) {\n var result = run;\n var isFirst = i === 0;\n var isLast = !isFirst && i === runs.length - 1;\n if (isFirst) result = sliceFirstRun(run);\n if (isLast) result = sliceLastRun(run);\n return subtract(start, result);\n });\n};\n\n/**\n * Slice attributed string between two indices\n *\n * @param {number} start offset\n * @param {number} end offset\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\nvar slice = function slice(start, end, attributedString) {\n if (attributedString.string.length === 0) return attributedString;\n var string = attributedString.string.slice(start, end);\n var filteredRuns = filter(start, end, attributedString.runs);\n var slicedRuns = sliceRuns(start, end, filteredRuns);\n return Object.assign({}, attributedString, {\n string: string,\n runs: slicedRuns\n });\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * @param {string} string\n * @returns {number} index\n */\nvar findCharIndex = function findCharIndex(string) {\n return string.search(/\\S/g);\n};\n\n/**\n * @param {string} string\n * @returns {number} index\n */\nvar findLastCharIndex = function findLastCharIndex(string) {\n var match = string.match(/\\S/g);\n return match ? string.lastIndexOf(match[match.length - 1]) : -1;\n};\n\n/**\n * Removes (strips) whitespace from both ends of the attributted string.\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\nvar trim = function trim(attributedString) {\n var start = findCharIndex(attributedString.string);\n var end = findLastCharIndex(attributedString.string);\n return slice(start, end + 1, attributedString);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Returns empty run\n *\n * @returns {Run} empty run\n */\nvar empty$1 = function empty() {\n return {\n start: 0,\n end: 0,\n glyphIndices: [],\n glyphs: [],\n positions: [],\n attributes: {}\n };\n};\n\n/**\n * Check if value is a number\n *\n * @template {unknown} T\n * @param {T} value Value to check\n * @returns {value is number} Whether value is a number\n */\nvar isNumber = function isNumber(value) {\n return typeof value === 'number';\n};\n\n/**\n * Append glyph indices with given length\n *\n * Ex. appendIndices(3, [0, 1, 2, 2]) => [0, 1, 2, 2, 3, 3, 3]\n *\n * @param {number} length length\n * @param {number[]} indices glyph indices\n * @returns {number[]} extended glyph indices\n */\nvar appendIndices = function appendIndices(length, indices) {\n var lastIndex = last(indices);\n var value = isNil(lastIndex) ? 0 : lastIndex + 1;\n var newIndices = Array(length).fill(value);\n return indices.concat(newIndices);\n};\n\n/**\n * @typedef {import('../types.js').Font} Font\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\n/**\n * Get glyph for a given code point\n *\n * @param {number} [value] codePoint\n * @param {Font} [font] font\n * @returns {Glyph} glyph\n * */\nvar fromCodePoint = function fromCodePoint(value, font) {\n return font && value ? font.glyphForCodePoint(value) : null;\n};\n\n/**\n * @typedef {import('../types.js').Glyph} Glyph\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Append glyph to run\n *\n * @param {Glyph} glyph glyph\n * @param {Run} run run\n * @returns {Run} run with glyph\n */\nvar appendGlyph = function appendGlyph(glyph, run) {\n var _glyph$codePoints;\n var glyphLength = ((_glyph$codePoints = glyph.codePoints) === null || _glyph$codePoints === void 0 ? void 0 : _glyph$codePoints.length) || 0;\n var end = run.end + glyphLength;\n var glyphs = run.glyphs.concat(glyph);\n var glyphIndices = appendIndices(glyphLength, run.glyphIndices);\n if (!run.positions) return Object.assign({}, run, {\n end: end,\n glyphs: glyphs,\n glyphIndices: glyphIndices\n });\n var positions = run.positions.concat({\n xAdvance: glyph.advanceWidth * scale(run)\n });\n return Object.assign({}, run, {\n end: end,\n glyphs: glyphs,\n glyphIndices: glyphIndices,\n positions: positions\n });\n};\n\n/**\n * Append glyph or code point to run\n *\n * @param {Glyph | number | undefined} value glyph or codePoint\n * @param {Run} run run\n * @returns {Run} run with glyph\n */\nvar append$1 = function append(value, run) {\n if (!value) return run;\n var font = getFont(run);\n var glyph = isNumber(value) ? fromCodePoint(value, font) : value;\n return appendGlyph(glyph, run);\n};\n\n/**\n * Get string from array of code points\n *\n * @param {number[]} codePoints points\n * @returns {string} string\n */\nvar stringFromCodePoints = function stringFromCodePoints(codePoints) {\n return String.fromCodePoint.apply(String, codePoints || []);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\n/**\n * Append glyph into last run of attributed string\n *\n * @param {Glyph} glyph glyph\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string with new glyph\n */\nvar append = function append(glyph, attributedString) {\n var codePoints = (glyph === null || glyph === void 0 ? void 0 : glyph.codePoints) || [];\n var codePointsString = stringFromCodePoints(codePoints);\n var string = attributedString.string + codePointsString;\n var firstRuns = attributedString.runs.slice(0, -1);\n var lastRun = last(attributedString.runs) || empty$1();\n var runs = firstRuns.concat(append$1(glyph, lastRun));\n return Object.assign({}, attributedString, {\n string: string,\n runs: runs\n });\n};\n\nvar ELLIPSIS_UNICODE = 8230;\nvar ELLIPSIS_STRING = String.fromCharCode(ELLIPSIS_UNICODE);\n\n/**\n * Get ellipsis codepoint. This may be different in standard and embedded fonts\n *\n * @param {Object} font\n * @returns {Object} ellipsis codepoint\n */\nvar getEllipsisCodePoint = function getEllipsisCodePoint(font) {\n if (!font.encode) return ELLIPSIS_UNICODE;\n var _font$encode = font.encode(ELLIPSIS_STRING),\n codePoints = _font$encode[0];\n return parseInt(codePoints[0], 16);\n};\n\n/**\n * Trucante block with ellipsis\n *\n * @param {Object} block paragraph block\n * @returns {Object} sliced paragraph block\n */\nvar truncate = function truncate(block) {\n var _last, _last2, _last2$attributes;\n var runs = ((_last = last(block)) === null || _last === void 0 ? void 0 : _last.runs) || [];\n var font = (_last2 = last(runs)) === null || _last2 === void 0 ? void 0 : (_last2$attributes = _last2.attributes) === null || _last2$attributes === void 0 ? void 0 : _last2$attributes.font;\n if (font) {\n var _Object$assign;\n var index = block.length - 1;\n var codePoint = getEllipsisCodePoint(font);\n var glyph = font.glyphForCodePoint(codePoint);\n var lastBlock = append(glyph, trim(block[index]));\n return Object.assign([], block, (_Object$assign = {}, _Object$assign[index] = lastBlock, _Object$assign));\n }\n return block;\n};\n\n/**\n * @typedef {import('../types.js').Attributes} Attributes\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Omit attribute from run\n *\n * @param {keyof Attributes} value attribute value\n * @param {Run} run run\n * @returns {Run} run without ommited attribute\n */\nvar omit = function omit(value, run) {\n var attributes = Object.assign({}, run.attributes);\n delete attributes[value];\n return Object.assign({}, run, {\n attributes: attributes\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run ascent\n *\n * @param {Run} run run\n * @returns {number} ascent\n */\nvar ascent$1 = function ascent(run) {\n var _run$attributes, _run$attributes$attac, _run$attributes2, _run$attributes2$font;\n var attachmentHeight = ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : (_run$attributes$attac = _run$attributes.attachment) === null || _run$attributes$attac === void 0 ? void 0 : _run$attributes$attac.height) || 0;\n var fontAscent = ((_run$attributes2 = run.attributes) === null || _run$attributes2 === void 0 ? void 0 : (_run$attributes2$font = _run$attributes2.font) === null || _run$attributes2$font === void 0 ? void 0 : _run$attributes2$font.ascent) || 0;\n return Math.max(attachmentHeight, fontAscent * scale(run));\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run descent\n *\n * @param {Run} run run\n * @returns {number} descent\n */\nvar descent = function descent(run) {\n var _run$attributes, _run$attributes$font;\n var fontDescent = ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : (_run$attributes$font = _run$attributes.font) === null || _run$attributes$font === void 0 ? void 0 : _run$attributes$font.descent) || 0;\n return scale(run) * fontDescent;\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run lineGap\n *\n * @param {Object} run run\n * @returns {number} lineGap\n */\nvar lineGap = function lineGap(run) {\n var _run$attributes, _run$attributes$font;\n return (((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : (_run$attributes$font = _run$attributes.font) === null || _run$attributes$font === void 0 ? void 0 : _run$attributes$font.lineGap) || 0) * scale(run);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run height\n *\n * @param {Run} run run\n * @returns {number} height\n */\nvar height$1 = function height(run) {\n var _run$attributes;\n var lineHeight = (_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : _run$attributes.lineHeight;\n return lineHeight || lineGap(run) + ascent$1(run) - descent(run);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Returns attributed string height\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} height\n */\nvar height = function height(attributedString) {\n var reducer = function reducer(acc, run) {\n return Math.max(acc, height$1(run));\n };\n return attributedString.runs.reduce(reducer, 0);\n};\n\n/**\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * Checks if two rects intersect each other\n *\n * @param {Rect} a rect A\n * @param {Rect} b rect B\n * @returns {boolean} whether rects intersect\n */\nvar intersects = function intersects(a, b) {\n var x = Math.max(a.x, b.x);\n var num1 = Math.min(a.x + a.width, b.x + b.width);\n var y = Math.max(a.y, b.y);\n var num2 = Math.min(a.y + a.height, b.y + b.height);\n return num1 >= x && num2 >= y;\n};\n\nvar _excluded = [\"excludeRects\"];\nvar getLineFragment = function getLineFragment(lineRect, excludeRect) {\n if (!intersects(excludeRect, lineRect)) return [lineRect];\n var eStart = excludeRect.x;\n var eEnd = excludeRect.x + excludeRect.width;\n var lStart = lineRect.x;\n var lEnd = lineRect.x + lineRect.width;\n var a = Object.assign({}, lineRect, {\n width: eStart - lStart\n });\n var b = Object.assign({}, lineRect, {\n x: eEnd,\n width: lEnd - eEnd\n });\n return [a, b].filter(function (r) {\n return r.width > 0;\n });\n};\nvar getLineFragments = function getLineFragments(rect, excludeRects) {\n var fragments = [rect];\n var _loop = function _loop() {\n var excludeRect = excludeRects[i];\n fragments = fragments.reduce(function (acc, fragment) {\n var pieces = getLineFragment(fragment, excludeRect);\n return acc.concat(pieces);\n }, []);\n };\n for (var i = 0; i < excludeRects.length; i += 1) {\n _loop();\n }\n return fragments;\n};\nvar generateLineRects = function generateLineRects(container, height) {\n var excludeRects = container.excludeRects,\n rect = _objectWithoutPropertiesLoose(container, _excluded);\n if (!excludeRects) return [rect];\n var lineRects = [];\n var maxY = Math.max.apply(Math, excludeRects.map(function (r) {\n return r.y + r.height;\n }));\n var currentRect = rect;\n while (currentRect.y < maxY) {\n var _partition = partition(currentRect, height),\n lineRect = _partition[0],\n rest = _partition[1];\n var lineRectFragments = getLineFragments(lineRect, excludeRects);\n currentRect = rest;\n lineRects.push.apply(lineRects, lineRectFragments);\n }\n return [].concat(lineRects, [currentRect]);\n};\n\nvar ATTACHMENT_CODE$1 = \"\\uFFFC\"; // 65532\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * Remove attachment attribute if no char present\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\nvar purgeAttachments = function purgeAttachments(attributedString) {\n var shouldPurge = !attributedString.string.includes(ATTACHMENT_CODE$1);\n if (!shouldPurge) return attributedString;\n var runs = attributedString.runs.map(function (run) {\n return omit('attachment', run);\n });\n return Object.assign({}, attributedString, {\n runs: runs\n });\n};\n\n/**\n * Layout paragraphs inside rectangle\n *\n * @param {Object} rects rect\n * @param {Object[]} lines attributed strings\n * @param {number} indent\n * @returns {Object} layout blocks\n */\nvar layoutLines = function layoutLines(rects, lines, indent) {\n var rect = rects.shift();\n var currentY = rect.y;\n return lines.map(function (line, i) {\n var _line$runs, _line$runs$;\n var lineIndent = i === 0 ? indent : 0;\n var style = ((_line$runs = line.runs) === null || _line$runs === void 0 ? void 0 : (_line$runs$ = _line$runs[0]) === null || _line$runs$ === void 0 ? void 0 : _line$runs$.attributes) || {};\n var height$1 = Math.max(height(line), style.lineHeight);\n if (currentY + height$1 > rect.y + rect.height && rects.length > 0) {\n rect = rects.shift();\n currentY = rect.y;\n }\n var newLine = Object.assign({}, line);\n delete newLine.syllables;\n newLine.box = {\n x: rect.x + lineIndent,\n y: currentY,\n width: rect.width - lineIndent,\n height: height$1\n };\n currentY += height$1;\n return purgeAttachments(newLine);\n });\n};\n\n/**\n * Performs line breaking and layout\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n */\nvar layoutParagraph = function layoutParagraph(engines, options) {\n /**\n * @param {Rect} container rect\n * @param {Object} paragraph attributed string\n * @returns {Object} layout block\n */\n return function (container, paragraph) {\n var _paragraph$runs, _paragraph$runs$, _paragraph$runs$$attr;\n var height$1 = height(paragraph);\n var indent = ((_paragraph$runs = paragraph.runs) === null || _paragraph$runs === void 0 ? void 0 : (_paragraph$runs$ = _paragraph$runs[0]) === null || _paragraph$runs$ === void 0 ? void 0 : (_paragraph$runs$$attr = _paragraph$runs$.attributes) === null || _paragraph$runs$$attr === void 0 ? void 0 : _paragraph$runs$$attr.indent) || 0;\n var rects = generateLineRects(container, height$1);\n var availableWidths = rects.map(function (r) {\n return r.width;\n });\n availableWidths[0] -= indent;\n var lines = engines.linebreaker(options)(paragraph, availableWidths);\n return layoutLines(rects, lines, indent);\n };\n};\n\n/**\n * Slice block at given height\n *\n * @param {number} height height\n * @param {Object} block paragraph block\n * @returns {number[]} sliced paragraph block\n */\nvar sliceAtHeight = function sliceAtHeight(height, block) {\n var newBlock = [];\n var counter = 0;\n for (var i = 0; i < block.length; i += 1) {\n var line = block[i];\n counter += line.box.height;\n if (counter < height) {\n newBlock.push(line);\n } else {\n break;\n }\n }\n return newBlock;\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * Layout paragraphs inside container until it does not\n * fit anymore, performing line wrapping in the process.\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n * @param {Rect} container container rect\n */\nvar typesetter = function typesetter(engines, options, container) {\n /**\n * @param {AttributedString} attributedStrings attributed strings (paragraphs)\n * @returns {Object[]} paragraph blocks\n */\n return function (attributedStrings) {\n var blocks = [];\n var paragraphs = [].concat(attributedStrings);\n var layoutBlock = layoutParagraph(engines, options);\n var maxLines = isNil(container.maxLines) ? Infinity : container.maxLines;\n var truncateEllipsis = container.truncateMode === 'ellipsis';\n var linesCount = maxLines;\n var paragraphRect = copy(container);\n var nextParagraph = paragraphs.shift();\n while (linesCount > 0 && nextParagraph) {\n var block = layoutBlock(paragraphRect, nextParagraph);\n var slicedBlock = block.slice(0, linesCount);\n var linesHeight = height$2(slicedBlock);\n var shouldTruncate = truncateEllipsis && block.length !== slicedBlock.length;\n linesCount -= slicedBlock.length;\n if (paragraphRect.height >= linesHeight) {\n blocks.push(shouldTruncate ? truncate(slicedBlock) : slicedBlock);\n paragraphRect = crop(linesHeight, paragraphRect);\n nextParagraph = paragraphs.shift();\n } else {\n blocks.push(truncate(sliceAtHeight(paragraphRect.height, slicedBlock)));\n break;\n }\n }\n return blocks;\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get attributed string start value\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} start\n */\nvar start = function start(attributedString) {\n var runs = attributedString.runs;\n return runs.length === 0 ? 0 : runs[0].start;\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get attributed string end value\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} end\n */\nvar end = function end(attributedString) {\n var runs = attributedString.runs;\n return runs.length === 0 ? 0 : last(runs).end;\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get attributed string length\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} end\n */\nvar length$1 = function length(attributedString) {\n return end(attributedString) - start(attributedString);\n};\n\nvar bidi$2 = bidiFactory();\nvar getBidiLevels$1 = function getBidiLevels(runs) {\n return runs.reduce(function (acc, run) {\n var length = run.end - run.start;\n var levels = repeat(run.attributes.bidiLevel, length);\n return acc.concat(levels);\n }, []);\n};\nvar getReorderedIndices = function getReorderedIndices(string, segments) {\n // Fill an array with indices\n var indices = [];\n for (var i = 0; i < string.length; i += 1) {\n indices[i] = i;\n }\n // Reverse each segment in order\n segments.forEach(function (_ref) {\n var start = _ref[0],\n end = _ref[1];\n var slice = indices.slice(start, end + 1);\n for (var _i = slice.length - 1; _i >= 0; _i -= 1) {\n indices[end - _i] = slice[_i];\n }\n });\n return indices;\n};\nvar getItemAtIndex = function getItemAtIndex(runs, objectName, index) {\n for (var i = 0; i < runs.length; i += 1) {\n var run = runs[i];\n var updatedIndex = run.glyphIndices[index - run.start];\n if (index >= run.start && index < run.end) {\n return run[objectName][updatedIndex];\n }\n }\n throw new Error(\"index \" + index + \" out of range\");\n};\nvar reorderLine = function reorderLine(attributedString) {\n var _attributedString$run;\n var levels = getBidiLevels$1(attributedString.runs);\n var direction = (_attributedString$run = attributedString.runs[0]) === null || _attributedString$run === void 0 ? void 0 : _attributedString$run.attributes.direction;\n var level = direction === 'rtl' ? 1 : 0;\n var end = length$1(attributedString) - 1;\n var paragraphs = [{\n start: 0,\n end: end,\n level: level\n }];\n var embeddingLevels = {\n paragraphs: paragraphs,\n levels: levels\n };\n var segments = bidi$2.getReorderSegments(attributedString.string, embeddingLevels);\n\n // No need for bidi reordering\n if (segments.length === 0) return attributedString;\n var indices = getReorderedIndices(attributedString.string, segments);\n var updatedString = bidi$2.getReorderedString(attributedString.string, embeddingLevels);\n var updatedRuns = attributedString.runs.map(function (run) {\n var selectedIndices = indices.slice(run.start, run.end);\n var updatedGlyphs = [];\n var updatedPositions = [];\n var addedGlyphs = new Set();\n for (var i = 0; i < selectedIndices.length; i += 1) {\n var index = selectedIndices[i];\n var glyph = getItemAtIndex(attributedString.runs, 'glyphs', index);\n if (addedGlyphs.has(glyph.id)) continue;\n updatedGlyphs.push(glyph);\n updatedPositions.push(getItemAtIndex(attributedString.runs, 'positions', index));\n if (glyph.isLigature) {\n addedGlyphs.add(glyph.id);\n }\n }\n return _extends({}, run, {\n glyphs: updatedGlyphs,\n positions: updatedPositions\n });\n });\n return _extends({}, attributedString, {\n runs: updatedRuns,\n string: updatedString\n });\n};\nvar reorderParagraph = function reorderParagraph(lines) {\n return lines.map(reorderLine);\n};\n\n/**\n * Perform bidi reordering\n */\nvar bidiReordering = function bidiReordering() {\n /**\n * @param {Object[]} paragraphs line blocks\n * @returns {Object[]} paragraphs\n */\n return function (paragraphs) {\n return paragraphs.map(reorderParagraph);\n };\n};\n\n/**\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\nvar DUMMY_CODEPOINT = 123;\n\n/**\n * Resolve string indices based on glyphs code points\n *\n * @param {Glyph[]} glyphs\n * @returns {number[]} glyph indices\n */\nvar resolve = function resolve(glyphs) {\n if (glyphs === void 0) {\n glyphs = [];\n }\n return glyphs.reduce(function (acc, glyph) {\n var codePoints = (glyph === null || glyph === void 0 ? void 0 : glyph.codePoints) || [DUMMY_CODEPOINT];\n if (acc.length === 0) return codePoints.map(function () {\n return 0;\n });\n var last = acc[acc.length - 1];\n var next = codePoints.map(function () {\n return last + 1;\n });\n return [].concat(acc, next);\n }, []);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Position} Position\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * @param {Run} run\n * @returns {number}\n */\nvar getCharacterSpacing = function getCharacterSpacing(run) {\n var _run$attributes;\n return ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : _run$attributes.characterSpacing) || 0;\n};\n\n/**\n * Scale run positions\n *\n * @param {Run} run\n * @param {Position[]} positions\n * @returns {Position[]} scaled positions\n */\nvar scalePositions = function scalePositions(run, positions) {\n var runScale = scale(run);\n var characterSpacing = getCharacterSpacing(run);\n return positions.map(function (position, i) {\n var isLast = i === positions.length;\n var xSpacing = isLast ? 0 : characterSpacing;\n return Object.assign({}, position, {\n xAdvance: position.xAdvance * runScale + xSpacing,\n yAdvance: position.yAdvance * runScale,\n xOffset: position.xOffset * runScale,\n yOffset: position.yOffset * runScale\n });\n });\n};\n\n/**\n * Create glyph run\n *\n * @param {string} string string\n */\nvar layoutRun = function layoutRun(string) {\n /**\n * @param {Run} run run\n * @returns {Run} glyph run\n */\n return function (run) {\n var start = run.start,\n end = run.end,\n _run$attributes2 = run.attributes,\n attributes = _run$attributes2 === void 0 ? {} : _run$attributes2;\n var font = attributes.font;\n if (!font) return _extends({}, run, {\n glyphs: [],\n glyphIndices: [],\n positions: []\n });\n var runString = string.slice(start, end);\n\n // passing LTR To force fontkit to not reverse the string\n var glyphRun = font.layout(runString, undefined, undefined, undefined, 'ltr');\n var positions = scalePositions(run, glyphRun.positions);\n var glyphIndices = resolve(glyphRun.glyphs);\n return _extends({}, run, {\n positions: positions,\n glyphIndices: glyphIndices,\n glyphs: glyphRun.glyphs\n });\n };\n};\n\n/**\n * Generate glyphs for single attributed string\n */\nvar generateGlyphs = function generateGlyphs() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string with glyphs\n */\n return function (attributedString) {\n var runs = attributedString.runs.map(layoutRun(attributedString.string));\n return Object.assign({}, attributedString, {\n runs: runs\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Resolves yOffset for run\n *\n * @param {Run} run run\n * @returns {Run} run\n */\nvar resolveRunYOffset = function resolveRunYOffset(run) {\n var _run$attributes, _run$attributes$font, _run$attributes2;\n if (!run.positions) return run;\n var unitsPerEm = ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : (_run$attributes$font = _run$attributes.font) === null || _run$attributes$font === void 0 ? void 0 : _run$attributes$font.unitsPerEm) || 0;\n var yOffset = (((_run$attributes2 = run.attributes) === null || _run$attributes2 === void 0 ? void 0 : _run$attributes2.yOffset) || 0) * unitsPerEm;\n var positions = run.positions.map(function (p) {\n return Object.assign({}, p, {\n yOffset: yOffset\n });\n });\n return Object.assign({}, run, {\n positions: positions\n });\n};\n\n/**\n * Resolves yOffset for multiple paragraphs\n */\nvar resolveYOffset = function resolveYOffset() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var runs = attributedString.runs.map(resolveRunYOffset);\n return Object.assign({}, attributedString, {\n runs: runs\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Sort runs in ascending order\n *\n * @param {Run[]} runs\n * @returns {Run[]} sorted runs\n */\nvar sort = function sort(runs) {\n return runs.sort(function (a, b) {\n return a.start - b.start || a.end - b.end;\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Is run empty (start === end)\n *\n * @param {Run} run run\n * @returns {boolean} is run empty\n */\nvar isEmpty = function isEmpty(run) {\n return run.start === run.end;\n};\n\n/**\n * @typedef {import('../types.js').Point} Point\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Sort points in ascending order\n * @param {Point} a first point\n * @param {Point} b second point\n * @returns {number} sort order\n */\nvar sortPoints = function sortPoints(a, b) {\n return a[1] - b[1] || a[3] - b[3];\n};\n\n/**\n * @param {Run[]} runs\n * @returns {Point[]} points\n */\nvar generatePoints = function generatePoints(runs) {\n var result = runs.reduce(function (acc, run, i) {\n return acc.concat([['start', run.start, run.attributes, i], ['end', run.end, run.attributes, i]]);\n }, []);\n return result.sort(sortPoints);\n};\n\n/**\n * @param {Run[]} runs\n * @returns {Run} merged runs\n */\nvar mergeRuns = function mergeRuns(runs) {\n return runs.reduce(function (acc, run) {\n var attributes = Object.assign({}, acc.attributes, run.attributes);\n return Object.assign({}, run, {\n attributes: attributes\n });\n }, {});\n};\n\n/**\n * @param {Run[]} runs\n * @returns {Run[][]} grouped runs\n */\nvar groupEmptyRuns = function groupEmptyRuns(runs) {\n var groups = runs.reduce(function (acc, run) {\n if (!acc[run.start]) acc[run.start] = [];\n acc[run.start].push(run);\n return acc;\n }, []);\n return Object.values(groups);\n};\n\n/**\n * @param {Run[]} runs\n * @returns {Run[]} flattened runs\n */\nvar flattenEmptyRuns = function flattenEmptyRuns(runs) {\n return groupEmptyRuns(runs).map(mergeRuns);\n};\n\n/**\n * @param {Run[]} runs\n * @returns {Run[]} flattened runs\n */\nvar flattenRegularRuns = function flattenRegularRuns(runs) {\n var res = [];\n var points = generatePoints(runs);\n var start = -1;\n var attrs = {};\n var stack = [];\n for (var i = 0; i < points.length; i += 1) {\n var _points$i = points[i],\n type = _points$i[0],\n offset = _points$i[1],\n attributes = _points$i[2];\n if (start !== -1 && start < offset) {\n res.push({\n start: start,\n end: offset,\n attributes: attrs\n });\n }\n if (type === 'start') {\n stack.push(attributes);\n attrs = Object.assign({}, attrs, attributes);\n } else {\n attrs = {};\n for (var j = 0; j < stack.length; j += 1) {\n if (stack[j] === attributes) {\n // eslint-disable-next-line no-plusplus\n stack.splice(j--, 1);\n } else {\n attrs = Object.assign({}, attrs, stack[j]);\n }\n }\n }\n start = offset;\n }\n return res;\n};\n\n/**\n * Flatten many runs\n *\n * @param {Run[]} runs\n * @returns {Run[]} flattened runs\n */\nvar flatten = function flatten(runs) {\n if (runs === void 0) {\n runs = [];\n }\n var emptyRuns = flattenEmptyRuns(runs.filter(function (run) {\n return isEmpty(run);\n }));\n var regularRuns = flattenRegularRuns(runs.filter(function (run) {\n return !isEmpty(run);\n }));\n return sort(emptyRuns.concat(regularRuns));\n};\n\n/**\n * Returns empty attributed string\n *\n * @returns {Object} empty attributed string\n */\nvar empty = function empty() {\n return {\n string: '',\n runs: []\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n *\n * @param {AttributedString} attributedString\n * @returns {AttributedString} attributed string without font\n */\nvar omitFont = function omitFont(attributedString) {\n var runs = attributedString.runs.map(function (run) {\n return omit('font', run);\n });\n return Object.assign({}, attributedString, {\n runs: runs\n });\n};\n\n/**\n * Performs font substitution and script itemization on attributed string\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n */\nvar preprocessRuns = function preprocessRuns(engines, options) {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} processed attributed string\n */\n return function (attributedString) {\n if (isNil(attributedString)) return empty();\n var string = attributedString.string;\n var fontSubstitution = engines.fontSubstitution,\n scriptItemizer = engines.scriptItemizer,\n bidi = engines.bidi;\n var _omitFont = omitFont(attributedString),\n omittedFontRuns = _omitFont.runs;\n var _scriptItemizer = scriptItemizer(options)(attributedString),\n itemizationRuns = _scriptItemizer.runs;\n var _fontSubstitution = fontSubstitution(options)(attributedString),\n substitutedRuns = _fontSubstitution.runs;\n var _bidi = bidi(options)(attributedString),\n bidiRuns = _bidi.runs;\n var runs = bidiRuns.concat(substitutedRuns).concat(itemizationRuns).concat(omittedFontRuns);\n return {\n string: string,\n runs: flatten(runs)\n };\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Breaks attributed string into paragraphs\n */\nvar splitParagraphs = function splitParagraphs() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString[]} attributed string array\n */\n return function (attributedString) {\n var res = [];\n var start = 0;\n var breakPoint = attributedString.string.indexOf('\\n') + 1;\n while (breakPoint > 0) {\n res.push(slice(start, breakPoint, attributedString));\n start = breakPoint;\n breakPoint = attributedString.string.indexOf('\\n', breakPoint) + 1;\n }\n if (start === 0) {\n res.push(attributedString);\n } else if (start < attributedString.string.length) {\n res.push(slice(start, length$1(attributedString), attributedString));\n }\n return res;\n };\n};\n\n/**\n * @typedef {import('../types.js').Position} Position\n */\n\n/**\n * Return positions advance width\n *\n * @param {Position[]} positions positions\n * @returns {number} advance width\n */\nvar advanceWidth$2 = function advanceWidth(positions) {\n return positions.reduce(function (acc, pos) {\n return acc + (pos.xAdvance || 0);\n }, 0);\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Return run advance width\n *\n * @param {Run} run run\n * @returns {number} advance width\n */\nvar advanceWidth$1 = function advanceWidth(run) {\n return advanceWidth$2(run.positions || []);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Returns attributed string advancewidth\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} advance width\n */\nvar advanceWidth = function advanceWidth(attributedString) {\n var reducer = function reducer(acc, run) {\n return acc + advanceWidth$1(run);\n };\n return attributedString.runs.reduce(reducer, 0);\n};\n\n/**\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\nvar WHITE_SPACES_CODE = 32;\n\n/**\n * Check if glyph is white space\n *\n * @param {Glyph} [glyph] glyph\n * @returns {boolean} whether glyph is white space\n * */\nvar isWhiteSpace = function isWhiteSpace(glyph) {\n var codePoints = (glyph === null || glyph === void 0 ? void 0 : glyph.codePoints) || [];\n return codePoints.includes(WHITE_SPACES_CODE);\n};\n\n/**\n * @typedef {import('../types.js').Position} Position\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get white space leading positions\n *\n * @param {Run} run run\n * @returns {Position[]} white space leading positions\n */\nvar leadingPositions = function leadingPositions(run) {\n var glyphs = run.glyphs || [];\n var positions = run.positions || [];\n var leadingWhitespaces = glyphs.findIndex(function (g) {\n return !isWhiteSpace(g);\n });\n return positions.slice(0, leadingWhitespaces);\n};\n\n/**\n * Get run leading white space offset\n *\n * @param {Run} run run\n * @returns {number} leading white space offset\n */\nvar leadingOffset$1 = function leadingOffset(run) {\n var positions = leadingPositions(run);\n return positions.reduce(function (acc, pos) {\n return acc + (pos.xAdvance || 0);\n }, 0);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get attributed string leading white space offset\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} leading white space offset\n */\nvar leadingOffset = function leadingOffset(attributedString) {\n var runs = attributedString.runs || [];\n return leadingOffset$1(runs[0]);\n};\n\n/**\n * @typedef {import('../types.js').Position} Position\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * @template T\n * @param {T[]} array\n * @returns {T[]} reversed array\n */\nvar reverse = function reverse(array) {\n return [].concat(array).reverse();\n};\n\n/**\n * Get white space trailing positions\n *\n * @param {Run} run run\n * @returns {Position[]} white space trailing positions\n */\nvar trailingPositions = function trailingPositions(run) {\n var glyphs = reverse(run.glyphs || []);\n var positions = reverse(run.positions || []);\n var leadingWhitespaces = glyphs.findIndex(function (g) {\n return !isWhiteSpace(g);\n });\n return positions.slice(0, leadingWhitespaces);\n};\n\n/**\n * Get run trailing white space offset\n *\n * @param {Run} run run\n * @returns {number} trailing white space offset\n */\nvar trailingOffset$1 = function trailingOffset(run) {\n var positions = trailingPositions(run);\n return positions.reduce(function (acc, pos) {\n return acc + (pos.xAdvance || 0);\n }, 0);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get attributed string trailing white space offset\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} trailing white space offset\n */\nvar trailingOffset = function trailingOffset(attributedString) {\n var runs = attributedString.runs || [];\n return trailingOffset$1(last(runs));\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Drop last char of run\n *\n * @param {Run} run run\n * @returns {Run} run without last char\n */\nvar dropLast$1 = function dropLast(run) {\n return slice$1(0, run.end - run.start - 1, run);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Drop last glyph\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string with new glyph\n */\nvar dropLast = function dropLast(attributedString) {\n var string = dropLast$2(attributedString.string);\n var runs = adjust(-1, dropLast$1, attributedString.runs);\n return Object.assign({}, attributedString, {\n string: string,\n runs: runs\n });\n};\n\nvar ALIGNMENT_FACTORS = {\n center: 0.5,\n right: 1\n};\n\n/**\n * Remove new line char at the end of line if present\n *\n * @param {Object} line\n * @returns {Object} line\n */\nvar removeNewLine = function removeNewLine(line) {\n return last(line.string) === '\\n' ? dropLast(line) : line;\n};\nvar getOverflowLeft = function getOverflowLeft(line) {\n return leadingOffset(line) + (line.overflowLeft || 0);\n};\nvar getOverflowRight = function getOverflowRight(line) {\n return trailingOffset(line) + (line.overflowRight || 0);\n};\n\n/**\n * Ignore whitespace at the start and end of a line for alignment\n *\n * @param {Object} line\n * @returns {Object} line\n */\nvar adjustOverflow = function adjustOverflow(line) {\n var overflowLeft = getOverflowLeft(line);\n var overflowRight = getOverflowRight(line);\n var x = line.box.x - overflowLeft;\n var width = line.box.width + overflowLeft + overflowRight;\n var box = Object.assign({}, line.box, {\n x: x,\n width: width\n });\n return Object.assign({}, line, {\n box: box,\n overflowLeft: overflowLeft,\n overflowRight: overflowRight\n });\n};\n\n/**\n * Performs line justification by calling appropiate engine\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n * @param {string} align text align\n */\nvar justifyLine$1 = function justifyLine(engines, options, align) {\n /**\n * @param {Object} line lint\n * @returns {Object} line\n */\n return function (line) {\n var lineWidth = advanceWidth(line);\n var alignFactor = ALIGNMENT_FACTORS[align] || 0;\n var remainingWidth = Math.max(0, line.box.width - lineWidth);\n var shouldJustify = align === 'justify' || lineWidth > line.box.width;\n var x = line.box.x + remainingWidth * alignFactor;\n var box = Object.assign({}, line.box, {\n x: x\n });\n var newLine = Object.assign({}, line, {\n box: box\n });\n return shouldJustify ? engines.justification(options)(newLine) : newLine;\n };\n};\nvar finalizeLine = function finalizeLine(line) {\n var lineAscent = 0;\n var lineDescent = 0;\n var lineHeight = 0;\n var lineXAdvance = 0;\n var runs = line.runs.map(function (run) {\n var height = height$1(run);\n var ascent = ascent$1(run);\n var descent$1 = descent(run);\n var xAdvance = advanceWidth$1(run);\n lineHeight = Math.max(lineHeight, height);\n lineAscent = Math.max(lineAscent, ascent);\n lineDescent = Math.max(lineDescent, descent$1);\n lineXAdvance += xAdvance;\n return Object.assign({}, run, {\n height: height,\n ascent: ascent,\n descent: descent$1,\n xAdvance: xAdvance\n });\n });\n return Object.assign({}, line, {\n runs: runs,\n height: lineHeight,\n ascent: lineAscent,\n descent: lineDescent,\n xAdvance: lineXAdvance\n });\n};\n\n/**\n * Finalize line by performing line justification\n * and text decoration (using appropiate engines)\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n */\nvar finalizeBlock = function finalizeBlock(engines, options) {\n if (engines === void 0) {\n engines = {};\n }\n /**\n * @param {Object} line lint\n * @param {number} i line index\n * @param {Object[]} lines total lines\n * @returns {Object} line\n */\n return function (line, i, lines) {\n var _line$runs, _line$runs$;\n var isLastFragment = i === lines.length - 1;\n var style = ((_line$runs = line.runs) === null || _line$runs === void 0 ? void 0 : (_line$runs$ = _line$runs[0]) === null || _line$runs$ === void 0 ? void 0 : _line$runs$.attributes) || {};\n var align = isLastFragment ? style.alignLastLine : style.align;\n return compose(finalizeLine, engines.textDecoration(options), justifyLine$1(engines, options, align), adjustOverflow, removeNewLine)(line);\n };\n};\n\n/**\n * Finalize line block by performing line justification\n * and text decoration (using appropiate engines)\n *\n * @param {Object} engines engines\n * @param {Object} options layout options\n */\nvar finalizeFragments = function finalizeFragments(engines, options) {\n /**\n * @param {Object[]} blocks line blocks\n * @returns {Object[]} blocks\n */\n return function (blocks) {\n var blockFinalizer = finalizeBlock(engines, options);\n return blocks.map(function (block) {\n return block.map(blockFinalizer);\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\nvar ATTACHMENT_CODE = 0xfffc; // 65532\n\nvar isReplaceGlyph = function isReplaceGlyph(glyph) {\n return glyph.codePoints.includes(ATTACHMENT_CODE);\n};\n\n/**\n * Resolve attachments of run\n *\n * @param {Object} run\n * @returns {Object} run\n */\nvar resolveRunAttachments = function resolveRunAttachments(run) {\n var _run$attributes;\n if (!run.positions) return run;\n var glyphs = run.glyphs || [];\n var attachment = ((_run$attributes = run.attributes) === null || _run$attributes === void 0 ? void 0 : _run$attributes.attachment) || {};\n var positions = run.positions.map(function (position, i) {\n var glyph = glyphs[i];\n if (attachment && attachment.width && isReplaceGlyph(glyph)) {\n return Object.assign({}, position, {\n xAdvance: attachment.width\n });\n }\n return Object.assign({}, position);\n });\n return Object.assign({}, run, {\n positions: positions\n });\n};\n\n/**\n * Resolve attachments for multiple paragraphs\n */\nvar resolveAttachments = function resolveAttachments() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var runs = attributedString.runs.map(resolveRunAttachments);\n return Object.assign({}, attributedString, {\n runs: runs\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Attributes} Attributes\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * @param {Attributes} a attributes\n * @returns {Attributes} attributes with defaults\n */\nvar applyAttributes = function applyAttributes(a) {\n return {\n align: a.align || (a.direction === 'rtl' ? 'right' : 'left'),\n alignLastLine: a.alignLastLine || (a.align === 'justify' ? 'left' : a.align || 'left'),\n attachment: a.attachment || null,\n backgroundColor: a.backgroundColor || null,\n bullet: a.bullet || null,\n characterSpacing: a.characterSpacing || 0,\n color: a.color || 'black',\n direction: a.direction || 'ltr',\n features: a.features || [],\n fill: a.fill !== false,\n font: a.font || null,\n fontSize: a.fontSize || 12,\n hangingPunctuation: a.hangingPunctuation || false,\n hyphenationFactor: a.hyphenationFactor || 0,\n indent: a.indent || 0,\n justificationFactor: a.justificationFactor || 1,\n lineHeight: a.lineHeight || null,\n lineSpacing: a.lineSpacing || 0,\n link: a.link || null,\n marginLeft: a.marginLeft || a.margin || 0,\n marginRight: a.marginRight || a.margin || 0,\n opacity: a.opacity,\n paddingTop: a.paddingTop || a.padding || 0,\n paragraphSpacing: a.paragraphSpacing || 0,\n script: a.script || null,\n shrinkFactor: a.shrinkFactor || 0,\n strike: a.strike || false,\n strikeColor: a.strikeColor || a.color || 'black',\n strikeStyle: a.strikeStyle || 'solid',\n stroke: a.stroke || false,\n underline: a.underline || false,\n underlineColor: a.underlineColor || a.color || 'black',\n underlineStyle: a.underlineStyle || 'solid',\n verticalAlign: a.verticalAlign || null,\n wordSpacing: a.wordSpacing || 0,\n yOffset: a.yOffset || 0\n };\n};\n\n/**\n * Apply default style to run\n *\n * @param {Run} run run\n * @returns {Run} run with styles\n */\nvar applyRunStyles = function applyRunStyles(run) {\n var attributes = applyAttributes(run.attributes);\n return Object.assign({}, run, {\n attributes: attributes\n });\n};\n\n/**\n * Apply default attributes for an attributed string\n */\nvar applyDefaultStyles = function applyDefaultStyles() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var string = attributedString.string || '';\n var runs = (attributedString.runs || []).map(applyRunStyles);\n return {\n string: string,\n runs: runs\n };\n };\n};\n\n/* eslint-disable no-restricted-syntax */\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Apply scaling and yOffset for verticalAlign 'sub' and 'super'.\n */\nvar verticalAlignment = function verticalAlignment() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n attributedString.runs.forEach(function (run) {\n var attributes = run.attributes;\n var verticalAlign = attributes.verticalAlign;\n if (verticalAlign === 'sub') {\n attributes.yOffset = -0.2;\n } else if (verticalAlign === 'super') {\n attributes.yOffset = 0.4;\n }\n });\n return attributedString;\n };\n};\n\nvar bidi$1 = bidiFactory();\nvar getBidiLevels = function getBidiLevels(runs) {\n return runs.reduce(function (acc, run) {\n var length = run.end - run.start;\n var levels = repeat(run.attributes.bidiLevel, length);\n return acc.concat(levels);\n }, []);\n};\n\n/**\n * Perform bidi mirroring\n */\nvar mirrorString = function mirrorString() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var levels = getBidiLevels(attributedString.runs);\n var updatedString = '';\n attributedString.string.split('').forEach(function (char, index) {\n var isRTL = levels[index] % 2 === 1;\n var mirroredChar = isRTL ? bidi$1.getMirroredCharacter(attributedString.string.charAt(index)) : null;\n updatedString += mirroredChar || char;\n });\n return _extends({}, attributedString, {\n string: updatedString,\n levels: levels\n });\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Rect} Rect\n */\n\n/**\n * A LayoutEngine is the main object that performs text layout.\n * It accepts an AttributedString and a Container object\n * to layout text into, and uses several helper objects to perform\n * various layout tasks. These objects can be overridden to customize\n * layout behavior.\n *\n * @param {Object} engines engines\n */\nvar layoutEngine = function layoutEngine(engines) {\n /**\n * @param {AttributedString} attributedString attributed string\n * @param {Rect} container container rect\n * @param {Object} options layout options\n * @returns {Object[]} paragraph blocks\n */\n return function (attributedString, container, options) {\n if (options === void 0) {\n options = {};\n }\n var processParagraph = compose(resolveYOffset(), resolveAttachments(), verticalAlignment(), wrapWords(engines, options), generateGlyphs(), mirrorString(), preprocessRuns(engines, options));\n var processParagraphs = function processParagraphs(paragraphs) {\n return paragraphs.map(processParagraph);\n };\n return compose(finalizeFragments(engines, options), bidiReordering(), typesetter(engines, options, container), processParagraphs, splitParagraphs(), applyDefaultStyles())(attributedString);\n };\n};\n\nvar bidi = bidiFactory();\n\n/**\n * @param {Object} layout options\n * @param {Object} attributed string\n * @return {Object} attributed string\n */\nvar bidiEngine = function bidiEngine() {\n return function (attributedString) {\n var _attributedString$run;\n var string = attributedString.string;\n var direction = (_attributedString$run = attributedString.runs[0]) === null || _attributedString$run === void 0 ? void 0 : _attributedString$run.attributes.direction;\n var _bidi$getEmbeddingLev = bidi.getEmbeddingLevels(string, direction),\n levels = _bidi$getEmbeddingLev.levels;\n var lastLevel = null;\n var lastIndex = 0;\n var index = 0;\n var res = [];\n for (var i = 0; i < levels.length; i += 1) {\n var level = levels[i];\n if (level !== lastLevel) {\n if (lastLevel !== null) {\n res.push({\n start: lastIndex,\n end: index,\n attributes: {\n bidiLevel: lastLevel\n }\n });\n }\n lastIndex = index;\n lastLevel = level;\n }\n index += 1;\n }\n if (lastIndex < string.length) {\n res.push({\n start: lastIndex,\n end: string.length,\n attributes: {\n bidiLevel: lastLevel\n }\n });\n }\n return {\n string: string,\n runs: res\n };\n };\n};\n\n/* eslint-disable no-plusplus */\nvar INFINITY = 10000;\n\n/**\n * @param {Object[]} subnodes\n * @param {number[]} widths\n * @param {number} lineNumber\n * @returns {number}\n */\nvar getNextBreakpoint = function getNextBreakpoint(subnodes, widths, lineNumber) {\n var position = null;\n var minimumBadness = Infinity;\n var sum = {\n width: 0,\n stretch: 0,\n shrink: 0\n };\n var lineLength = widths[Math.min(lineNumber, widths.length - 1)];\n var calculateRatio = function calculateRatio(node) {\n if (sum.width < lineLength) {\n return sum.stretch - node.stretch > 0 ? (lineLength - sum.width) / sum.stretch : INFINITY;\n }\n if (sum.width > lineLength) {\n return sum.shrink - node.shrink > 0 ? (lineLength - sum.width) / sum.shrink : INFINITY;\n }\n return 0;\n };\n for (var i = 0; i < subnodes.length; i += 1) {\n var node = subnodes[i];\n if (node.type === 'box') {\n sum.width += node.width;\n } else if (node.type === 'glue') {\n sum.width += node.width;\n sum.stretch += node.stretch;\n sum.shrink += node.shrink;\n }\n if (sum.width - sum.shrink > lineLength) {\n if (position === null) {\n var j = i === 0 ? i + 1 : i;\n while (j < subnodes.length && (subnodes[j].type === 'glue' || subnodes[j].type === 'penalty')) {\n j++;\n }\n position = j - 1;\n }\n break;\n }\n if (node.type === 'penalty' || node.type === 'glue') {\n var ratio = calculateRatio(node);\n var penalty = node.type === 'penalty' ? node.penalty : 0;\n var badness = 100 * Math.pow(Math.abs(ratio), 3) + penalty;\n if (minimumBadness >= badness) {\n position = i;\n minimumBadness = badness;\n }\n }\n }\n return sum.width - sum.shrink > lineLength ? position : null;\n};\n\n/**\n * @param {Object[]} nodes\n * @param {number[]} widths\n */\nvar applyBestFit = function applyBestFit(nodes, widths) {\n var count = 0;\n var lineNumber = 0;\n var subnodes = nodes;\n var breakpoints = [{\n position: 0\n }];\n while (subnodes.length > 0) {\n var breakpoint = getNextBreakpoint(subnodes, widths, lineNumber);\n if (breakpoint !== null) {\n count += breakpoint;\n breakpoints.push({\n position: count\n });\n subnodes = subnodes.slice(breakpoint + 1, subnodes.length);\n count++;\n lineNumber++;\n } else {\n subnodes = [];\n }\n }\n return breakpoints;\n};\n\n/* eslint-disable no-param-reassign */\n/* eslint-disable max-classes-per-file */\nvar Node = /*#__PURE__*/function () {\n function Node(data) {\n this.prev = null;\n this.next = null;\n this.data = data;\n }\n var _proto = Node.prototype;\n _proto.toString = function toString() {\n return this.data.toString();\n };\n return Node;\n}();\nvar LinkedList = /*#__PURE__*/function () {\n function LinkedList() {\n this.head = null;\n this.tail = null;\n this.listSize = 0;\n this.listLength = 0;\n }\n var _proto2 = LinkedList.prototype;\n _proto2.isLinked = function isLinked(node) {\n return !(node && node.prev === null && node.next === null && this.tail !== node && this.head !== node || this.isEmpty());\n };\n _proto2.size = function size() {\n return this.listSize;\n };\n _proto2.isEmpty = function isEmpty() {\n return this.listSize === 0;\n };\n _proto2.first = function first() {\n return this.head;\n };\n _proto2.last = function last() {\n return this.last;\n };\n _proto2.toString = function toString() {\n return this.toArray().toString();\n };\n _proto2.toArray = function toArray() {\n var node = this.head;\n var result = [];\n while (node !== null) {\n result.push(node);\n node = node.next;\n }\n return result;\n };\n _proto2.forEach = function forEach(fun) {\n var node = this.head;\n while (node !== null) {\n fun(node);\n node = node.next;\n }\n };\n _proto2.contains = function contains(n) {\n var node = this.head;\n if (!this.isLinked(n)) {\n return false;\n }\n while (node !== null) {\n if (node === n) {\n return true;\n }\n node = node.next;\n }\n return false;\n };\n _proto2.at = function at(i) {\n var node = this.head;\n var index = 0;\n if (i >= this.listLength || i < 0) {\n return null;\n }\n while (node !== null) {\n if (i === index) {\n return node;\n }\n node = node.next;\n index += 1;\n }\n return null;\n };\n _proto2.insertAfter = function insertAfter(node, newNode) {\n if (!this.isLinked(node)) {\n return this;\n }\n newNode.prev = node;\n newNode.next = node.next;\n if (node.next === null) {\n this.tail = newNode;\n } else {\n node.next.prev = newNode;\n }\n node.next = newNode;\n this.listSize += 1;\n return this;\n };\n _proto2.insertBefore = function insertBefore(node, newNode) {\n if (!this.isLinked(node)) {\n return this;\n }\n newNode.prev = node.prev;\n newNode.next = node;\n if (node.prev === null) {\n this.head = newNode;\n } else {\n node.prev.next = newNode;\n }\n node.prev = newNode;\n this.listSize += 1;\n return this;\n };\n _proto2.push = function push(node) {\n if (this.head === null) {\n this.unshift(node);\n } else {\n this.insertAfter(this.tail, node);\n }\n return this;\n };\n _proto2.unshift = function unshift(node) {\n if (this.head === null) {\n this.head = node;\n this.tail = node;\n node.prev = null;\n node.next = null;\n this.listSize += 1;\n } else {\n this.insertBefore(this.head, node);\n }\n return this;\n };\n _proto2.remove = function remove(node) {\n if (!this.isLinked(node)) {\n return this;\n }\n if (node.prev === null) {\n this.head = node.next;\n } else {\n node.prev.next = node.next;\n }\n if (node.next === null) {\n this.tail = node.prev;\n } else {\n node.next.prev = node.prev;\n }\n this.listSize -= 1;\n return this;\n };\n _proto2.pop = function pop() {\n var node = this.tail;\n this.tail.prev.next = null;\n this.tail = this.tail.prev;\n this.listSize -= 1;\n node.prev = null;\n node.next = null;\n return node;\n };\n _proto2.shift = function shift() {\n var node = this.head;\n this.head.next.prev = null;\n this.head = this.head.next;\n this.listSize -= 1;\n node.prev = null;\n node.next = null;\n return node;\n };\n return LinkedList;\n}();\nLinkedList.Node = Node;\n\n/* eslint-disable no-restricted-properties */\n\n/**\n * @param {Object[]} nodes\n * @param {number[]} lines\n * @param {Object} settings\n * @preserve Knuth and Plass line breaking algorithm in JavaScript\n *\n * Licensed under the new BSD License.\n * Copyright 2009-2010, Bram Stein\n * All rights reserved.\n */\nvar linebreak = function linebreak(nodes, lines, settings) {\n var options = {\n demerits: {\n line: settings && settings.demerits && settings.demerits.line || 10,\n flagged: settings && settings.demerits && settings.demerits.flagged || 100,\n fitness: settings && settings.demerits && settings.demerits.fitness || 3000\n },\n tolerance: settings && settings.tolerance || 3\n };\n var activeNodes = new LinkedList();\n var sum = {\n width: 0,\n stretch: 0,\n shrink: 0\n };\n var lineLengths = lines;\n var breaks = [];\n var tmp = {\n data: {\n demerits: Infinity\n }\n };\n function breakpoint(position, demerits, ratio, line, fitnessClass, totals, previous) {\n return {\n position: position,\n demerits: demerits,\n ratio: ratio,\n line: line,\n fitnessClass: fitnessClass,\n totals: totals || {\n width: 0,\n stretch: 0,\n shrink: 0\n },\n previous: previous\n };\n }\n function computeCost(start, end, active, currentLine) {\n var width = sum.width - active.totals.width;\n var stretch = 0;\n var shrink = 0;\n // If the current line index is within the list of linelengths, use it, otherwise use\n // the last line length of the list.\n var lineLength = currentLine < lineLengths.length ? lineLengths[currentLine - 1] : lineLengths[lineLengths.length - 1];\n if (nodes[end].type === 'penalty') {\n width += nodes[end].width;\n }\n if (width < lineLength) {\n // Calculate the stretch ratio\n stretch = sum.stretch - active.totals.stretch;\n if (stretch > 0) {\n return (lineLength - width) / stretch;\n }\n return linebreak.infinity;\n }\n if (width > lineLength) {\n // Calculate the shrink ratio\n shrink = sum.shrink - active.totals.shrink;\n if (shrink > 0) {\n return (lineLength - width) / shrink;\n }\n return linebreak.infinity;\n }\n\n // perfect match\n return 0;\n }\n\n // Add width, stretch and shrink values from the current\n // break point up to the next box or forced penalty.\n function computeSum(breakPointIndex) {\n var result = {\n width: sum.width,\n stretch: sum.stretch,\n shrink: sum.shrink\n };\n for (var i = breakPointIndex; i < nodes.length; i += 1) {\n if (nodes[i].type === 'glue') {\n result.width += nodes[i].width;\n result.stretch += nodes[i].stretch;\n result.shrink += nodes[i].shrink;\n } else if (nodes[i].type === 'box' || nodes[i].type === 'penalty' && nodes[i].penalty === -linebreak.infinity && i > breakPointIndex) {\n break;\n }\n }\n return result;\n }\n\n // The main loop of the algorithm\n // eslint-disable-next-line no-shadow\n function mainLoop(node, index, nodes) {\n var active = activeNodes.first();\n var next = null;\n var ratio = 0;\n var demerits = 0;\n /**\n * @type {Object[]}\n */\n var candidates = [];\n var badness;\n var currentLine = 0;\n var tmpSum;\n var currentClass = 0;\n var fitnessClass;\n /**\n * @type {Object}\n */\n var candidate;\n var newNode;\n\n // The inner loop iterates through all the active nodes with line < currentLine and then\n // breaks out to insert the new active node candidates before looking at the next active\n // nodes for the next lines. The result of this is that the active node list is always\n // sorted by line number.\n while (active !== null) {\n candidates = [{\n demerits: Infinity\n }, {\n demerits: Infinity\n }, {\n demerits: Infinity\n }, {\n demerits: Infinity\n }];\n\n // Iterate through the linked list of active nodes to find new potential active nodes\n // and deactivate current active nodes.\n while (active !== null) {\n next = active.next;\n currentLine = active.data.line + 1;\n ratio = computeCost(active.data.position, index, active.data, currentLine);\n\n // Deactive nodes when the distance between the current active node and the\n // current node becomes too large (i.e. it exceeds the stretch limit and the stretch\n // ratio becomes negative) or when the current node is a forced break (i.e. the end\n // of the paragraph when we want to remove all active nodes, but possibly have a final\n // candidate active node---if the paragraph can be set using the given tolerance value.)\n if (ratio < -1 || node.type === 'penalty' && node.penalty === -linebreak.infinity) {\n activeNodes.remove(active);\n }\n\n // If the ratio is within the valid range of -1 <= ratio <= tolerance calculate the\n // total demerits and record a candidate active node.\n if (ratio >= -1 && ratio <= options.tolerance) {\n badness = 100 * Math.pow(Math.abs(ratio), 3);\n\n // Positive penalty\n if (node.type === 'penalty' && node.penalty >= 0) {\n demerits = Math.pow(options.demerits.line + badness, 2) + Math.pow(node.penalty, 2);\n // Negative penalty but not a forced break\n } else if (node.type === 'penalty' && node.penalty !== -linebreak.infinity) {\n demerits = Math.pow(options.demerits.line + badness, 2) - Math.pow(node.penalty, 2);\n // All other cases\n } else {\n demerits = Math.pow(options.demerits.line + badness, 2);\n }\n if (node.type === 'penalty' && nodes[active.data.position].type === 'penalty') {\n demerits += options.demerits.flagged * node.flagged * nodes[active.data.position].flagged;\n }\n\n // Calculate the fitness class for this candidate active node.\n if (ratio < -0.5) {\n currentClass = 0;\n } else if (ratio <= 0.5) {\n currentClass = 1;\n } else if (ratio <= 1) {\n currentClass = 2;\n } else {\n currentClass = 3;\n }\n\n // Add a fitness penalty to the demerits if the fitness classes of two adjacent lines\n // differ too much.\n if (Math.abs(currentClass - active.data.fitnessClass) > 1) {\n demerits += options.demerits.fitness;\n }\n\n // Add the total demerits of the active node to get the total demerits of this candidate node.\n demerits += active.data.demerits;\n\n // Only store the best candidate for each fitness class\n if (demerits < candidates[currentClass].demerits) {\n candidates[currentClass] = {\n active: active,\n demerits: demerits,\n ratio: ratio\n };\n }\n }\n active = next;\n\n // Stop iterating through active nodes to insert new candidate active nodes in the active list\n // before moving on to the active nodes for the next line.\n // TODO: The Knuth and Plass paper suggests a conditional for currentLine < j0. This means paragraphs\n // with identical line lengths will not be sorted by line number. Find out if that is a desirable outcome.\n // For now I left this out, as it only adds minimal overhead to the algorithm and keeping the active node\n // list sorted has a higher priority.\n if (active !== null && active.data.line >= currentLine) {\n break;\n }\n }\n tmpSum = computeSum(index);\n for (fitnessClass = 0; fitnessClass < candidates.length; fitnessClass += 1) {\n candidate = candidates[fitnessClass];\n if (candidate.demerits < Infinity) {\n newNode = new LinkedList.Node(breakpoint(index, candidate.demerits, candidate.ratio, candidate.active.data.line + 1, fitnessClass, tmpSum, candidate.active));\n if (active !== null) {\n activeNodes.insertBefore(active, newNode);\n } else {\n activeNodes.push(newNode);\n }\n }\n }\n }\n }\n\n // Add an active node for the start of the paragraph.\n activeNodes.push(new LinkedList.Node(breakpoint(0, 0, 0, 0, 0, undefined, null)));\n\n // eslint-disable-next-line no-shadow\n nodes.forEach(function (node, index, nodes) {\n if (node.type === 'box') {\n sum.width += node.width;\n } else if (node.type === 'glue') {\n if (index > 0 && nodes[index - 1].type === 'box') {\n mainLoop(node, index, nodes);\n }\n sum.width += node.width;\n sum.stretch += node.stretch;\n sum.shrink += node.shrink;\n } else if (node.type === 'penalty' && node.penalty !== linebreak.infinity) {\n mainLoop(node, index, nodes);\n }\n });\n if (activeNodes.size() !== 0) {\n // Find the best active node (the one with the least total demerits.)\n activeNodes.forEach(function (node) {\n if (node.data.demerits < tmp.data.demerits) {\n tmp = node;\n }\n });\n while (tmp !== null) {\n breaks.push({\n position: tmp.data.position,\n ratio: tmp.data.ratio\n });\n tmp = tmp.data.previous;\n }\n return breaks.reverse();\n }\n return [];\n};\nlinebreak.infinity = 10000;\nlinebreak.glue = function (width, value, stretch, shrink) {\n return {\n type: 'glue',\n value: value,\n width: width,\n stretch: stretch,\n shrink: shrink\n };\n};\nlinebreak.box = function (width, value, hyphenated) {\n if (hyphenated === void 0) {\n hyphenated = false;\n }\n return {\n type: 'box',\n width: width,\n value: value,\n hyphenated: hyphenated\n };\n};\nlinebreak.penalty = function (width, penalty, flagged) {\n return {\n type: 'penalty',\n width: width,\n penalty: penalty,\n flagged: flagged\n };\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Add scalar to run\n *\n * @param {number} n scalar\n * @param {Run} run run\n * @returns {Run} added run\n */\nvar add = function add(n, run) {\n var start = run.start + n;\n var end = run.end + n;\n return Object.assign({}, run, {\n start: start,\n end: end\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Get run length\n *\n * @param {Run} run run\n * @returns {number} length\n */\nvar length = function length(run) {\n return run.end - run.start;\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Concats two runs into one\n *\n * @param {Run} runA first run\n * @param {Run} runB second run\n * @returns {Run} concatenated run\n */\nvar concat = function concat(runA, runB) {\n var end = runA.end + length(runB);\n var glyphs = (runA.glyphs || []).concat(runB.glyphs || []);\n var positions = (runA.positions || []).concat(runB.positions || []);\n var attributes = Object.assign({}, runA.attributes, runB.attributes);\n var runAIndices = runA.glyphIndices || [];\n var runALastIndex = last(runAIndices) || 0;\n var runBIndices = (runB.glyphIndices || []).map(function (i) {\n return i + runALastIndex + 1;\n });\n var glyphIndices = normalize(runAIndices.concat(runBIndices));\n return Object.assign({}, runA, {\n end: end,\n glyphs: glyphs,\n positions: positions,\n attributes: attributes,\n glyphIndices: glyphIndices\n });\n};\n\n/**\n * @typedef {import('../types.js').Glyph} Glyph\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Insert glyph to run in the given index\n *\n * @param {number} index index\n * @param {Glyph} glyph glyph\n * @param {Run} run run\n * @returns {Run} run with glyph\n */\nvar insertGlyph$1 = function insertGlyph(index, glyph, run) {\n if (!glyph) return run;\n\n // Split resolves ligature splitting in case new glyph breaks some\n var leadingRun = slice$1(0, index, run);\n var trailingRun = slice$1(index, Infinity, run);\n return concat(append$1(glyph, leadingRun), trailingRun);\n};\n\n/**\n * Insert either glyph or code point to run in the given index\n *\n * @param {number} index index\n * @param {Glyph | number} value glyph or codePoint\n * @param {Run} run run\n * @returns {Run} run with glyph\n */\nvar insert = function insert(index, value, run) {\n var font = getFont(run);\n var glyph = isNumber(value) ? fromCodePoint(value, font) : value;\n return insertGlyph$1(index, glyph, run);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Get run index at char index\n *\n * @param {number} n char index\n * @param {AttributedString} string attributed string\n * @returns {number} run index\n */\nvar runIndexAt = function runIndexAt(n, string) {\n return runIndexAt$1(n, string.runs);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n * @typedef {import('../types.js').Glyph} Glyph\n */\n\n/**\n * Insert glyph into attributed string\n *\n * @param {number} index index\n * @param {Glyph} glyph glyph\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string with new glyph\n */\nvar insertGlyph = function insertGlyph(index, glyph, attributedString) {\n var runIndex = runIndexAt(index, attributedString);\n\n // Add glyph to the end if run index invalid\n if (runIndex === -1) return append(glyph, attributedString);\n var codePoints = (glyph === null || glyph === void 0 ? void 0 : glyph.codePoints) || [];\n var string = attributedString.string.slice(0, index) + stringFromCodePoints(codePoints) + attributedString.string.slice(index);\n var runs = attributedString.runs.map(function (run, i) {\n if (i === runIndex) return insert(index - run.start, glyph, run);\n if (i > runIndex) return add(codePoints.length, run);\n return run;\n });\n return Object.assign({}, attributedString, {\n string: string,\n runs: runs\n });\n};\n\n/**\n * @typedef {import('../types.js').Run} Run\n */\n\n/**\n * Advance width between two string indices\n *\n * @param {number} start glyph index\n * @param {number} end glyph index\n * @param {Run} run run\n * @returns {number} advanced width run\n */\nvar advanceWidthBetween$1 = function advanceWidthBetween(start, end, run) {\n var runStart = run.start || 0;\n var glyphStartIndex = Math.max(0, glyphIndexAt(start - runStart, run));\n var glyphEndIndex = Math.max(0, glyphIndexAt(end - runStart, run));\n var positions = (run.positions || []).slice(glyphStartIndex, glyphEndIndex);\n return advanceWidth$2(positions);\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Advance width between start and end\n * Does not consider ligature splitting for the moment.\n * Check performance impact on supporting this\n *\n * @param {number} start offset\n * @param {number} end offset\n * @param {AttributedString} attributedString\n * @returns {number} advance width\n */\nvar advanceWidthBetween = function advanceWidthBetween(start, end, attributedString) {\n var runs = filter(start, end, attributedString.runs);\n return runs.reduce(function (acc, run) {\n return acc + advanceWidthBetween$1(start, end, run);\n }, 0);\n};\n\n/**\n * @typedef {import('../../types.js').AttributedString} AttributedString\n * @typedef {import('../../types.js').Attributes} Attributes\n */\n\nvar HYPHEN = 0x002d;\nvar TOLERANCE_STEPS = 5;\nvar TOLERANCE_LIMIT = 50;\nvar opts = {\n width: 3,\n stretch: 6,\n shrink: 9\n};\n\n/**\n * Slice attributed string to many lines\n *\n * @param {AttributedString} string attributed string\n * @param {Object[]} nodes\n * @param {Object[]} breaks\n * @returns {AttributedString[]} attributed strings\n */\nvar breakLines = function breakLines(string, nodes, breaks) {\n var start = 0;\n var end = null;\n var lines = breaks.reduce(function (acc, breakPoint) {\n var node = nodes[breakPoint.position];\n var prevNode = nodes[breakPoint.position - 1];\n\n // Last breakpoint corresponds to K&P mandatory final glue\n if (breakPoint.position === nodes.length - 1) return acc;\n var line;\n if (node.type === 'penalty') {\n end = prevNode.value.end;\n line = slice(start, end, string);\n line = insertGlyph(line.length, HYPHEN, line);\n } else {\n end = node.value.end;\n line = slice(start, end, string);\n }\n start = end;\n return [].concat(acc, [line]);\n }, []);\n\n // Last line\n lines.push(slice(start, string.string.length, string));\n return lines;\n};\n\n/**\n * Return Knuth & Plass nodes based on line and previously calculated syllables\n *\n * @param {AttributedString} attributedString attributed string\n * @param {Object} args attributed string args\n * @param {Object} options layout options\n * @returns {Object[]} attributed strings\n */\nvar getNodes = function getNodes(attributedString, _ref, options) {\n var align = _ref.align;\n var start = 0;\n var hyphenWidth = 5;\n var syllables = attributedString.syllables;\n var hyphenPenalty = options.hyphenationPenalty || (align === 'justify' ? 100 : 600);\n var result = syllables.reduce(function (acc, s, index) {\n var width = advanceWidthBetween(start, start + s.length, attributedString);\n if (s.trim() === '') {\n var stretch = width * opts.width / opts.stretch;\n var shrink = width * opts.width / opts.shrink;\n var value = {\n start: start,\n end: start + s.length\n };\n acc.push(linebreak.glue(width, value, stretch, shrink));\n } else {\n var hyphenated = syllables[index + 1] !== ' ';\n var _value = {\n start: start,\n end: start + s.length\n };\n acc.push(linebreak.box(width, _value, hyphenated));\n if (syllables[index + 1] && hyphenated) {\n acc.push(linebreak.penalty(hyphenWidth, hyphenPenalty, 1));\n }\n }\n start += s.length;\n return acc;\n }, []);\n result.push(linebreak.glue(0, null, linebreak.infinity, 0));\n result.push(linebreak.penalty(0, -linebreak.infinity, 1));\n return result;\n};\n\n/**\n * @param {AttributedString} attributedString attributed string\n * @returns {Attributes} styles\n */\nvar getStyles = function getStyles(attributedString) {\n var _attributedString$run, _attributedString$run2;\n return ((_attributedString$run = attributedString.runs) === null || _attributedString$run === void 0 ? void 0 : (_attributedString$run2 = _attributedString$run[0]) === null || _attributedString$run2 === void 0 ? void 0 : _attributedString$run2.attributes) || {};\n};\n\n/**\n * Performs Knuth & Plass line breaking algorithm\n * Fallbacks to best fit algorithm if latter not successful\n *\n * @param {Object} options layout options\n */\nvar linebreaker = function linebreaker(options) {\n /**\n * @param {AttributedString} attributedString attributed string\n * @param {number[]} availableWidths available widths\n * @returns {AttributedString[]} attributed strings\n */\n return function (attributedString, availableWidths) {\n var tolerance = options.tolerance || 4;\n var style = getStyles(attributedString);\n var nodes = getNodes(attributedString, style, options);\n\n /** @type {Object[]} */\n var breaks = linebreak(nodes, availableWidths, {\n tolerance: tolerance\n });\n\n // Try again with a higher tolerance if the line breaking failed.\n while (breaks.length === 0 && tolerance < TOLERANCE_LIMIT) {\n tolerance += TOLERANCE_STEPS;\n breaks = linebreak(nodes, availableWidths, {\n tolerance: tolerance\n });\n }\n if (breaks.length === 0 || breaks.length === 1 && breaks[0].position === 0) {\n breaks = applyBestFit(nodes, availableWidths);\n }\n return breakLines(attributedString, nodes, breaks.slice(1));\n };\n};\n\nvar WHITESPACE_PRIORITY = 1;\nvar LETTER_PRIORITY = 2;\nvar EXPAND_WHITESPACE_FACTOR = {\n before: 0.5,\n after: 0.5,\n priority: WHITESPACE_PRIORITY,\n unconstrained: false\n};\nvar EXPAND_CHAR_FACTOR = {\n before: 0.14453125,\n // 37/256\n after: 0.14453125,\n priority: LETTER_PRIORITY,\n unconstrained: false\n};\nvar SHRINK_WHITESPACE_FACTOR = {\n before: -0.04296875,\n // -11/256\n after: -0.04296875,\n priority: WHITESPACE_PRIORITY,\n unconstrained: false\n};\nvar SHRINK_CHAR_FACTOR = {\n before: -0.04296875,\n after: -0.04296875,\n priority: LETTER_PRIORITY,\n unconstrained: false\n};\nvar getCharFactor = function getCharFactor(direction, options) {\n var expandCharFactor = options.expandCharFactor || {};\n var shrinkCharFactor = options.shrinkCharFactor || {};\n return direction === 'GROW' ? Object.assign({}, EXPAND_CHAR_FACTOR, expandCharFactor) : Object.assign({}, SHRINK_CHAR_FACTOR, shrinkCharFactor);\n};\nvar getWhitespaceFactor = function getWhitespaceFactor(direction, options) {\n var expandWhitespaceFactor = options.expandWhitespaceFactor || {};\n var shrinkWhitespaceFactor = options.shrinkWhitespaceFactor || {};\n return direction === 'GROW' ? Object.assign({}, EXPAND_WHITESPACE_FACTOR, expandWhitespaceFactor) : Object.assign({}, SHRINK_WHITESPACE_FACTOR, shrinkWhitespaceFactor);\n};\nvar factor = function factor(direction, options) {\n return function (glyphs) {\n var charFactor = getCharFactor(direction, options);\n var whitespaceFactor = getWhitespaceFactor(direction, options);\n var factors = [];\n for (var index = 0; index < glyphs.length; index += 1) {\n var f = void 0;\n var glyph = glyphs[index];\n if (isWhiteSpace(glyph)) {\n f = Object.assign({}, whitespaceFactor);\n if (index === glyphs.length - 1) {\n f.before = 0;\n if (index > 0) {\n factors[index - 1].after = 0;\n }\n }\n } else if (glyph.isMark && index > 0) {\n f = Object.assign({}, factors[index - 1]);\n f.before = 0;\n factors[index - 1].after = 0;\n } else {\n f = Object.assign({}, charFactor);\n }\n factors.push(f);\n }\n return factors;\n };\n};\nvar getFactors = function getFactors(gap, line, options) {\n var direction = gap > 0 ? 'GROW' : 'SHRINK';\n var getFactor = factor(direction, options);\n var factors = line.runs.reduce(function (acc, run) {\n return acc.concat(getFactor(run.glyphs));\n }, []);\n factors[0].before = 0;\n factors[factors.length - 1].after = 0;\n return factors;\n};\n\n/* eslint-disable no-multi-assign */\nvar KASHIDA_PRIORITY = 0;\nvar NULL_PRIORITY = 3;\nvar getDistances = function getDistances(gap, factors) {\n var total = 0;\n var priorities = [];\n var unconstrained = [];\n for (var _priority = KASHIDA_PRIORITY; _priority <= NULL_PRIORITY; _priority += 1) {\n priorities[_priority] = unconstrained[_priority] = 0;\n }\n\n // sum the factors at each priority\n for (var j = 0; j < factors.length; j += 1) {\n var f = factors[j];\n var sum = f.before + f.after;\n total += sum;\n priorities[f.priority] += sum;\n if (f.unconstrained) {\n unconstrained[f.priority] += sum;\n }\n }\n\n // choose the priorities that need to be applied\n var highestPriority = -1;\n var highestPrioritySum = 0;\n var remainingGap = gap;\n var priority;\n for (priority = KASHIDA_PRIORITY; priority <= NULL_PRIORITY; priority += 1) {\n var prioritySum = priorities[priority];\n if (prioritySum !== 0) {\n if (highestPriority === -1) {\n highestPriority = priority;\n highestPrioritySum = prioritySum;\n }\n\n // if this priority covers the remaining gap, we're done\n if (Math.abs(remainingGap) <= Math.abs(prioritySum)) {\n priorities[priority] = remainingGap / prioritySum;\n unconstrained[priority] = 0;\n remainingGap = 0;\n break;\n }\n\n // mark that we need to use 100% of the adjustment from\n // this priority, and subtract the space that it consumes\n priorities[priority] = 1;\n remainingGap -= prioritySum;\n\n // if this priority has unconstrained glyphs, let them consume the remaining space\n if (unconstrained[priority] !== 0) {\n unconstrained[priority] = remainingGap / unconstrained[priority];\n remainingGap = 0;\n break;\n }\n }\n }\n\n // zero out remaining priorities (if any)\n for (var p = priority + 1; p <= NULL_PRIORITY; p += 1) {\n priorities[p] = 0;\n unconstrained[p] = 0;\n }\n\n // if there is still space left over, assign it to the highest priority that we saw.\n // this violates their factors, but it only happens in extreme cases\n if (remainingGap > 0 && highestPriority > -1) {\n priorities[highestPriority] = (highestPrioritySum + (gap - total)) / highestPrioritySum;\n }\n\n // create and return an array of distances to add to each glyph's advance\n var distances = [];\n for (var index = 0; index < factors.length; index += 1) {\n // the distance to add to this glyph is the sum of the space to add\n // after this glyph, and the space to add before the next glyph\n var _f = factors[index];\n var next = factors[index + 1];\n var dist = _f.after * priorities[_f.priority];\n if (next) {\n dist += next.before * priorities[next.priority];\n }\n\n // if this glyph is unconstrained, add the unconstrained distance as well\n if (_f.unconstrained) {\n dist += _f.after * unconstrained[_f.priority];\n if (next) {\n dist += next.before * unconstrained[next.priority];\n }\n }\n distances.push(dist);\n }\n return distances;\n};\n\n/**\n * Adjust run positions by given distances\n *\n * @param {number[]} distances\n * @param {Object} line\n * @returns {Object} line\n */\nvar justifyLine = function justifyLine(distances, line) {\n var index = 0;\n for (var _iterator = _createForOfIteratorHelperLoose(line.runs), _step; !(_step = _iterator()).done;) {\n var run = _step.value;\n for (var _iterator2 = _createForOfIteratorHelperLoose(run.positions), _step2; !(_step2 = _iterator2()).done;) {\n var position = _step2.value;\n position.xAdvance += distances[index++];\n }\n }\n return line;\n};\n\n/**\n * A JustificationEngine is used by a Typesetter to perform line fragment\n * justification. This implementation is based on a description of Apple's\n * justification algorithm from a PDF in the Apple Font Tools package.\n *\n * // TODO: Make it immutable\n *\n * @param {Object} options layout options\n */\nvar justification = function justification(options) {\n /**\n * @param {Object} line\n * @returns {Object} line\n */\n return function (line) {\n var gap = line.box.width - advanceWidth(line);\n if (gap === 0) return; // Exact fit\n\n var factors = getFactors(gap, line, options);\n var distances = getDistances(gap, factors);\n return justifyLine(distances, line);\n };\n};\n\n/**\n * @typedef {import('../types.js').AttributedString} AttributedString\n */\n\n/**\n * Returns attributed string ascent\n *\n * @param {AttributedString} attributedString attributed string\n * @returns {number} ascent\n */\nvar ascent = function ascent(attributedString) {\n var reducer = function reducer(acc, run) {\n return Math.max(acc, ascent$1(run));\n };\n return attributedString.runs.reduce(reducer, 0);\n};\n\n/* eslint-disable no-param-reassign */\n\n\n// The base font size used for calculating underline thickness.\nvar BASE_FONT_SIZE = 12;\n\n/**\n * A TextDecorationEngine is used by a Typesetter to generate\n * DecorationLines for a line fragment, including underlines\n * and strikes.\n */\nvar textDecoration = function textDecoration() {\n return function (lineFragment) {\n var x = lineFragment.overflowLeft || 0;\n var overflowRight = lineFragment.overflowRight || 0;\n var maxX = advanceWidth(lineFragment) - overflowRight;\n lineFragment.decorationLines = [];\n for (var i = 0; i < lineFragment.runs.length; i += 1) {\n var run = lineFragment.runs[i];\n var width = Math.min(maxX - x, advanceWidth$1(run));\n var thickness = Math.max(0.5, Math.floor(run.attributes.fontSize / BASE_FONT_SIZE));\n if (run.attributes.underline) {\n var rect = {\n x: x,\n y: ascent(lineFragment) + thickness * 2,\n width: width,\n height: thickness\n };\n var line = {\n rect: rect,\n opacity: run.attributes.opacity,\n color: run.attributes.underlineColor || 'black',\n style: run.attributes.underlineStyle || 'solid'\n };\n lineFragment.decorationLines.push(line);\n }\n if (run.attributes.strike) {\n var y = ascent(lineFragment) - ascent$1(run) / 3;\n var _rect = {\n x: x,\n y: y,\n width: width,\n height: thickness\n };\n var _line = {\n rect: _rect,\n opacity: run.attributes.opacity,\n color: run.attributes.strikeColor || 'black',\n style: run.attributes.strikeStyle || 'solid'\n };\n lineFragment.decorationLines.push(_line);\n }\n x += width;\n }\n return lineFragment;\n };\n};\n\nvar ignoredScripts = ['Common', 'Inherited', 'Unknown'];\n\n/**\n * @typedef {import('../../types.js').AttributedString} AttributedString\n */\n\n/**\n * Resolves unicode script in runs, grouping equal runs together\n */\nvar scriptItemizer = function scriptItemizer() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var string = attributedString.string;\n var lastScript = 'Unknown';\n var lastIndex = 0;\n var index = 0;\n var res = [];\n if (!string) return empty();\n for (var i = 0; i < string.length; i += 1) {\n var char = string[i];\n var codePoint = char.codePointAt();\n var script = unicode.getScript(codePoint);\n if (script !== lastScript && !ignoredScripts.includes(script)) {\n if (lastScript !== 'Unknown') {\n res.push({\n start: lastIndex,\n end: index,\n attributes: {\n script: lastScript\n }\n });\n }\n lastIndex = index;\n lastScript = script;\n }\n index += char.length;\n }\n if (lastIndex < string.length) {\n res.push({\n start: lastIndex,\n end: string.length,\n attributes: {\n script: lastScript\n }\n });\n }\n return {\n string: string,\n runs: res\n };\n };\n};\n\nvar SOFT_HYPHEN = \"\\xAD\";\nvar hyphenator = hyphen(pattern);\n\n/**\n * @param {string} word\n * @returns {string[]} word parts\n */\nvar splitHyphen = function splitHyphen(word) {\n return word.split(SOFT_HYPHEN);\n};\nvar cache = {};\n\n/**\n * @param {string} word\n * @returns {string[]} word parts\n */\nvar getParts = function getParts(word) {\n var base = word.includes(SOFT_HYPHEN) ? word : hyphenator(word);\n return splitHyphen(base);\n};\nvar wordHyphenation = function wordHyphenation() {\n /**\n * @param {string} word word\n * @returns {string[]} word parts\n */\n return function (word) {\n var cacheKey = \"_\" + word;\n if (isNil(word)) return [];\n if (cache[cacheKey]) return cache[cacheKey];\n cache[cacheKey] = getParts(word);\n return cache[cacheKey];\n };\n};\n\n/**\n * @typedef {import('../../types.js').AttributedString} AttributedString\n * @typedef {import('../../types.js').Run} Run\n */\n\n/**\n * @param {Run} run run\n * @returns {number}\n */\nvar getFontSize = function getFontSize(run) {\n return run.attributes.fontSize || 12;\n};\n\n/**\n * Resolve font runs in an AttributedString, grouping equal\n * runs and performing font substitution where necessary.\n */\nvar fontSubstitution = function fontSubstitution() {\n /**\n * @param {AttributedString} attributedString attributed string\n * @returns {AttributedString} attributed string\n */\n return function (attributedString) {\n var string = attributedString.string,\n runs = attributedString.runs;\n var lastFont = null;\n var lastIndex = 0;\n var index = 0;\n var res = [];\n if (!string) return empty();\n for (var _iterator = _createForOfIteratorHelperLoose(runs), _step; !(_step = _iterator()).done;) {\n var run = _step.value;\n var _fontSize = getFontSize(run);\n var defaultFont = run.attributes.font;\n if (string.length === 0) {\n res.push({\n start: 0,\n end: 0,\n attributes: {\n font: defaultFont\n }\n });\n break;\n }\n for (var _iterator2 = _createForOfIteratorHelperLoose(string.slice(run.start, run.end)), _step2; !(_step2 = _iterator2()).done;) {\n var char = _step2.value;\n var font = defaultFont;\n if (font !== lastFont) {\n if (lastFont) {\n res.push({\n start: lastIndex,\n end: index,\n attributes: {\n font: lastFont,\n scale: lastFont ? _fontSize / lastFont.unitsPerEm : 0\n }\n });\n }\n lastFont = font;\n lastIndex = index;\n }\n index += char.length;\n }\n }\n if (lastIndex < string.length) {\n var fontSize = getFontSize(last(runs));\n res.push({\n start: lastIndex,\n end: string.length,\n attributes: {\n font: lastFont,\n scale: lastFont ? fontSize / lastFont.unitsPerEm : 0\n }\n });\n }\n return {\n string: string,\n runs: res\n };\n };\n};\n\nexport { bidiEngine as bidi, layoutEngine as default, fontSubstitution, justification, linebreaker, scriptItemizer, textDecoration, wordHyphenation };\n","import _regeneratorRuntime from '@babel/runtime/helpers/regeneratorRuntime';\nimport _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';\nimport fetch from 'cross-fetch';\nimport PNG from '@react-pdf/png-js';\nimport _JPEG from 'jay-peg';\n\nvar global$1 = (typeof global !== \"undefined\" ? global :\n typeof self !== \"undefined\" ? self :\n typeof window !== \"undefined\" ? window : {});\n\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\nvar inited = false;\nfunction init () {\n inited = true;\n var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n for (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i];\n revLookup[code.charCodeAt(i)] = i;\n }\n\n revLookup['-'.charCodeAt(0)] = 62;\n revLookup['_'.charCodeAt(0)] = 63;\n}\n\nfunction toByteArray (b64) {\n if (!inited) {\n init();\n }\n var i, j, l, tmp, placeHolders, arr;\n var len = b64.length;\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0;\n\n // base64 is 4/3 + up to two characters of the original data\n arr = new Arr(len * 3 / 4 - placeHolders);\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len;\n\n var L = 0;\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)];\n arr[L++] = (tmp >> 16) & 0xFF;\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4);\n arr[L++] = tmp & 0xFF;\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2);\n arr[L++] = (tmp >> 8) & 0xFF;\n arr[L++] = tmp & 0xFF;\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp;\n var output = [];\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]);\n output.push(tripletToBase64(tmp));\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n if (!inited) {\n init();\n }\n var tmp;\n var len = uint8.length;\n var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n var output = '';\n var parts = [];\n var maxChunkLength = 16383; // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)));\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1];\n output += lookup[tmp >> 2];\n output += lookup[(tmp << 4) & 0x3F];\n output += '==';\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1]);\n output += lookup[tmp >> 10];\n output += lookup[(tmp >> 4) & 0x3F];\n output += lookup[(tmp << 2) & 0x3F];\n output += '=';\n }\n\n parts.push(output);\n\n return parts.join('')\n}\n\nfunction read (buffer, offset, isLE, mLen, nBytes) {\n var e, m;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = -7;\n var i = isLE ? (nBytes - 1) : 0;\n var d = isLE ? -1 : 1;\n var s = buffer[offset + i];\n\n i += d;\n\n e = s & ((1 << (-nBits)) - 1);\n s >>= (-nBits);\n nBits += eLen;\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1);\n e >>= (-nBits);\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen);\n e = e - eBias;\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nfunction write (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0);\n var i = isLE ? 0 : (nBytes - 1);\n var d = isLE ? 1 : -1;\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0;\n\n value = Math.abs(value);\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0;\n e = eMax;\n } else {\n e = Math.floor(Math.log(value) / Math.LN2);\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * Math.pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n e = 0;\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m;\n eLen += mLen;\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128;\n}\n\nvar toString = {}.toString;\n\nvar isArray = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\nvar INSPECT_MAX_BYTES = 50;\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined\n ? global$1.TYPED_ARRAY_SUPPORT\n : true;\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nkMaxLength();\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length);\n }\n that.length = length;\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192; // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype;\n return arr\n};\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n};\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype;\n Buffer.__proto__ = Uint8Array;\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) ;\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size);\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n};\n\nfunction allocUnsafe (that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n};\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n};\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n\n var actual = that.write(string, encoding);\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (internalIsBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len);\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\nBuffer.isBuffer = isBuffer;\nfunction internalIsBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!internalIsBuffer(a) || !internalIsBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length;\n var y = b.length;\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n};\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i;\n if (length === undefined) {\n length = 0;\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n\n var buffer = Buffer.allocUnsafe(length);\n var pos = 0;\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n if (!internalIsBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n return buffer\n};\n\nfunction byteLength (string, encoding) {\n if (internalIsBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string;\n }\n\n var len = string.length;\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n}\nBuffer.byteLength = byteLength;\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false;\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0;\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0;\n start >>>= 0;\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8';\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true;\n\nfunction swap (b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length;\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n return this\n};\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length;\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n return this\n};\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length;\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n return this\n};\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0;\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n};\n\nBuffer.prototype.equals = function equals (b) {\n if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n};\n\nBuffer.prototype.inspect = function inspect () {\n var str = '';\n var max = INSPECT_MAX_BYTES;\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n return ''\n};\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!internalIsBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0;\n }\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n if (thisStart === undefined) {\n thisStart = 0;\n }\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n};\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n byteOffset = +byteOffset; // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1);\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding);\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (internalIsBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i;\n if (dir) {\n var foundIndex = -1;\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n};\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n};\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n};\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n if (length > remaining) {\n length = remaining;\n }\n }\n\n // must be an even number of digits\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed;\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0;\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0;\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8';\n\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n};\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n};\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return fromByteArray(buf)\n } else {\n return fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n\n var i = start;\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1;\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n break\n case 2:\n secondByte = buf[i + 1];\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F);\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F);\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n break\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F);\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n\n res.push(codePoint);\n i += bytesPerSequence;\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000;\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length;\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = '';\n var i = 0;\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n );\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length;\n\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n\n var out = '';\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i]);\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n\n if (end < start) end = start;\n\n var newBuf;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer(sliceLen, undefined);\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n\n return newBuf\n};\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n\n return val\n};\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n\n var val = this[offset + --byteLength];\n var mul = 1;\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n\n return val\n};\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset]\n};\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | (this[offset + 1] << 8)\n};\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return (this[offset] << 8) | this[offset + 1]\n};\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n};\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n};\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n mul *= 0x80;\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n\n return val\n};\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n};\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | (this[offset + 1] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | (this[offset] << 8);\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n};\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n};\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n};\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, true, 23, 4)\n};\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return read(this, offset, false, 23, 4)\n};\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, true, 52, 8)\n};\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return read(this, offset, false, 52, 8)\n};\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!internalIsBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8;\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff;\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24);\n this[offset + 2] = (value >>> 16);\n this[offset + 1] = (value >>> 8);\n this[offset] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;\n }\n\n return offset + byteLength\n};\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = (value & 0xff);\n return offset + 1\n};\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8);\n this[offset + 1] = (value & 0xff);\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2\n};\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff);\n this[offset + 1] = (value >>> 8);\n this[offset + 2] = (value >>> 16);\n this[offset + 3] = (value >>> 24);\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4\n};\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24);\n this[offset + 1] = (value >>> 16);\n this[offset + 2] = (value >>> 8);\n this[offset + 3] = (value & 0xff);\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4\n};\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4);\n }\n write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n};\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n};\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8);\n }\n write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n};\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n};\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start;\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length;\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n\n var len = end - start;\n var i;\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n );\n }\n\n return len\n};\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n if (code < 256) {\n val = code;\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n\n if (!val) val = 0;\n\n var i;\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = internalIsBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString());\n var len = bytes.length;\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n\n return this\n};\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '');\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint;\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n\n leadSurrogate = null;\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n );\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo;\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n\n return byteArray\n}\n\n\nfunction base64ToBytes (str) {\n return toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i];\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n\n// the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nfunction isBuffer(obj) {\n return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj))\n}\n\nfunction isFastBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))\n}\n\nPNG.isValid = function isValid(data) {\n try {\n return !!new PNG(data);\n } catch (e) {\n return false;\n }\n};\n\nvar JPEG = function JPEG(data) {\n this.data = null;\n this.width = null;\n this.height = null;\n this.data = data;\n if (data.readUInt16BE(0) !== 0xffd8) {\n throw new Error('SOI not found in JPEG');\n }\n var markers = _JPEG.decode(this.data);\n for (var i = 0; i < markers.length; i += 1) {\n var marker = markers[i];\n if (marker.name === 'EXIF' && marker.entries.orientation) {\n this.orientation = marker.entries.orientation;\n }\n if (marker.name === 'SOF') {\n this.width || (this.width = marker.width);\n this.height || (this.height = marker.height);\n }\n }\n if (this.orientation > 4) {\n var _ref = [this.height, this.width];\n this.width = _ref[0];\n this.height = _ref[1];\n }\n};\nJPEG.isValid = function (data) {\n return data && Buffer.isBuffer(data) && data.readUInt16BE(0) === 0xffd8;\n};\n\nvar createCache = function createCache(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$limit = _ref.limit,\n limit = _ref$limit === void 0 ? 100 : _ref$limit;\n var cache = {};\n var keys = [];\n return {\n get: function get(key) {\n return cache[key];\n },\n set: function set(key, value) {\n keys.push(key);\n if (keys.length > limit) {\n delete cache[keys.shift()];\n }\n cache[key] = value;\n },\n reset: function reset() {\n cache = {};\n keys = [];\n },\n length: function length() {\n return keys.length;\n }\n };\n};\n\nvar IMAGE_CACHE = createCache({\n limit: 30\n});\nvar fetchRemoteFile = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(uri, options) {\n var response, buffer;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return fetch(uri, options);\n case 2:\n response = _context.sent;\n _context.next = 5;\n return response.buffer ? response.buffer() : response.arrayBuffer();\n case 5:\n buffer = _context.sent;\n return _context.abrupt(\"return\", buffer.constructor.name === 'Buffer' ? buffer : Buffer.from(buffer));\n case 7:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return function fetchRemoteFile(_x, _x2) {\n return _ref.apply(this, arguments);\n };\n}();\nvar isValidFormat = function isValidFormat(format) {\n var lower = format.toLowerCase();\n return lower === 'jpg' || lower === 'jpeg' || lower === 'png';\n};\nvar guessFormat = function guessFormat(buffer) {\n var format;\n if (JPEG.isValid(buffer)) {\n format = 'jpg';\n } else if (PNG.isValid(buffer)) {\n format = 'png';\n }\n return format;\n};\nvar isCompatibleBase64 = function isCompatibleBase64(_ref2) {\n var uri = _ref2.uri;\n return /^data:image\\/[a-zA-Z]*;base64,[^\"]*/g.test(uri);\n};\nfunction getImage(body, extension) {\n switch (extension.toLowerCase()) {\n case 'jpg':\n case 'jpeg':\n return new JPEG(body);\n case 'png':\n return new PNG(body);\n default:\n return null;\n }\n}\nvar resolveBase64Image = function resolveBase64Image(_ref3) {\n var uri = _ref3.uri;\n var match = /^data:image\\/([a-zA-Z]*);base64,([^\"]*)/g.exec(uri);\n var format = match[1];\n var data = match[2];\n if (!isValidFormat(format)) {\n throw new Error(\"Base64 image invalid format: \" + format);\n }\n return new Promise(function (resolve) {\n return resolve(getImage(Buffer.from(data, 'base64'), format));\n });\n};\nvar resolveImageFromData = function resolveImageFromData(src) {\n if (src.data && src.format) {\n return new Promise(function (resolve) {\n return resolve(getImage(src.data, src.format));\n });\n }\n throw new Error(\"Invalid data given for local file: \" + JSON.stringify(src));\n};\nvar resolveBufferImage = function resolveBufferImage(buffer) {\n var format = guessFormat(buffer);\n if (format) {\n return new Promise(function (resolve) {\n return resolve(getImage(buffer, format));\n });\n }\n return Promise.resolve();\n};\nvar resolveBlobImage = /*#__PURE__*/function () {\n var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(blob) {\n var type, arrayBuffer, _buffer, format, buffer;\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n type = blob.type;\n if (!(!type || type === 'application/octet-stream')) {\n _context2.next = 7;\n break;\n }\n _context2.next = 4;\n return blob.arrayBuffer();\n case 4:\n arrayBuffer = _context2.sent;\n _buffer = Buffer.from(arrayBuffer);\n return _context2.abrupt(\"return\", resolveBufferImage(_buffer));\n case 7:\n if (type.startsWith('image/')) {\n _context2.next = 9;\n break;\n }\n throw new Error(\"Invalid blob type: \" + type);\n case 9:\n format = type.replace('image/', '');\n if (isValidFormat(format)) {\n _context2.next = 12;\n break;\n }\n throw new Error(\"Invalid blob type: \" + type);\n case 12:\n _context2.next = 14;\n return blob.arrayBuffer();\n case 14:\n buffer = _context2.sent;\n return _context2.abrupt(\"return\", getImage(Buffer.from(buffer), format));\n case 16:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return function resolveBlobImage(_x3) {\n return _ref4.apply(this, arguments);\n };\n}();\nvar getImageFormat = function getImageFormat(body) {\n var isPng = body[0] === 137 && body[1] === 80 && body[2] === 78 && body[3] === 71 && body[4] === 13 && body[5] === 10 && body[6] === 26 && body[7] === 10;\n var isJpg = body[0] === 255 && body[1] === 216 && body[2] === 255;\n var extension = '';\n if (isPng) {\n extension = 'png';\n } else if (isJpg) {\n extension = 'jpg';\n } else {\n throw new Error('Not valid image extension');\n }\n return extension;\n};\nvar resolveImageFromUrl = /*#__PURE__*/function () {\n var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(src) {\n var uri, body, headers, _src$method, method, credentials, data, extension;\n return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n uri = src.uri, body = src.body, headers = src.headers, _src$method = src.method, method = _src$method === void 0 ? 'GET' : _src$method, credentials = src.credentials;\n {\n _context3.next = 7;\n break;\n }\n case 4:\n _context3.t0 = _context3.sent;\n _context3.next = 10;\n break;\n case 7:\n _context3.next = 9;\n return fetchRemoteFile(uri, {\n body: body,\n headers: headers,\n method: method,\n credentials: credentials\n });\n case 9:\n _context3.t0 = _context3.sent;\n case 10:\n data = _context3.t0;\n extension = getImageFormat(data);\n return _context3.abrupt(\"return\", getImage(data, extension));\n case 13:\n case \"end\":\n return _context3.stop();\n }\n }, _callee3);\n }));\n return function resolveImageFromUrl(_x4) {\n return _ref5.apply(this, arguments);\n };\n}();\nvar resolveImage = function resolveImage(src, _temp) {\n var _ref6 = _temp === void 0 ? {} : _temp,\n _ref6$cache = _ref6.cache,\n cache = _ref6$cache === void 0 ? true : _ref6$cache;\n var image;\n var cacheKey = src.data ? src.data.toString() : src.uri;\n if (typeof Blob !== 'undefined' && src instanceof Blob) {\n image = resolveBlobImage(src);\n } else if (Buffer.isBuffer(src)) {\n image = resolveBufferImage(src);\n } else if (cache && IMAGE_CACHE.get(cacheKey)) {\n return IMAGE_CACHE.get(cacheKey);\n } else if (isCompatibleBase64(src)) {\n image = resolveBase64Image(src);\n } else if (typeof src === 'object' && src.data) {\n image = resolveImageFromData(src);\n } else {\n image = resolveImageFromUrl(src);\n }\n if (!image) {\n throw new Error('Cannot resolve image');\n }\n if (cache) {\n IMAGE_CACHE.set(cacheKey, image);\n }\n return image;\n};\n\nexport { resolveImage as default };\n","import { upperFirst, capitalize, last, pick, compose, evolve, mapValues, matchPercent, isNil, get, castArray, omit, asyncCompose } from '@react-pdf/fns';\nimport * as P from '@react-pdf/primitives';\nimport { TextInstance } from '@react-pdf/primitives';\nimport stylesheet, { transformColor, processTransform, flatten } from '@react-pdf/stylesheet';\nimport layoutEngine, { bidi, linebreaker, justification, textDecoration, scriptItemizer, wordHyphenation } from '@react-pdf/textkit';\nimport { PDFFont } from '@react-pdf/pdfkit';\nimport * as Yoga from 'yoga-layout';\nimport emojiRegex from 'emoji-regex';\nimport resolveImage from '@react-pdf/image';\n\n/**\n * Create attributed string from text fragments\n *\n * @param {Object[]} fragments fragments\n * @returns {Object} attributed string\n */\nconst fromFragments = fragments => {\n let offset = 0;\n let string = '';\n const runs = [];\n fragments.forEach(fragment => {\n string += fragment.string;\n runs.push({\n start: offset,\n end: offset + fragment.string.length,\n attributes: fragment.attributes || {}\n });\n offset += fragment.string.length;\n });\n return {\n string,\n runs\n };\n};\n\n/**\n * Apply transformation to text string\n *\n * @param {string} text\n * @param {string} transformation type\n * @returns {string} transformed text\n */\nconst transformText = (text, transformation) => {\n switch (transformation) {\n case 'uppercase':\n return text.toUpperCase();\n case 'lowercase':\n return text.toLowerCase();\n case 'capitalize':\n return capitalize(text);\n case 'upperfirst':\n return upperFirst(text);\n default:\n return text;\n }\n};\n\n/* eslint-disable class-methods-use-this */\n\nclass StandardFont {\n constructor(src) {\n this.name = src;\n this.src = PDFFont.open(null, src);\n }\n encode(str) {\n return this.src.encode(str);\n }\n layout(str) {\n const [encoded, positions] = this.encode(str);\n return {\n positions,\n stringIndices: positions.map((_, i) => i),\n glyphs: encoded.map((g, i) => {\n const glyph = this.getGlyph(parseInt(g, 16));\n glyph.advanceWidth = positions[i].advanceWidth;\n return glyph;\n })\n };\n }\n glyphForCodePoint(codePoint) {\n const glyph = this.getGlyph(codePoint);\n glyph.advanceWidth = 400;\n return glyph;\n }\n getGlyph(id) {\n return {\n id,\n _font: this.src,\n codePoints: [id],\n isLigature: false,\n name: this.src.font.characterToGlyph(id)\n };\n }\n hasGlyphForCodePoint(codePoint) {\n return this.src.font.characterToGlyph(codePoint) !== '.notdef';\n }\n\n // Based on empirical observation\n get ascent() {\n return 900;\n }\n\n // Based on empirical observation\n get capHeight() {\n switch (this.name) {\n case 'Times-Roman':\n case 'Times-Bold':\n case 'Times-Italic':\n case 'Times-BoldItalic':\n return 650;\n case 'Courier':\n case 'Courier-Bold':\n case 'Courier-Oblique':\n case 'Courier-BoldOblique':\n return 550;\n default:\n return 690;\n }\n }\n\n // Based on empirical observation\n get xHeight() {\n switch (this.name) {\n case 'Times-Roman':\n case 'Times-Bold':\n case 'Times-Italic':\n case 'Times-BoldItalic':\n return 440;\n case 'Courier':\n case 'Courier-Bold':\n case 'Courier-Oblique':\n case 'Courier-BoldOblique':\n return 390;\n default:\n return 490;\n }\n }\n\n // Based on empirical observation\n get descent() {\n switch (this.name) {\n case 'Times-Roman':\n case 'Times-Bold':\n case 'Times-Italic':\n case 'Times-BoldItalic':\n return -220;\n case 'Courier':\n case 'Courier-Bold':\n case 'Courier-Oblique':\n case 'Courier-BoldOblique':\n return -230;\n default:\n return -200;\n }\n }\n get lineGap() {\n return 0;\n }\n get unitsPerEm() {\n return 1000;\n }\n}\n\nconst fontCache = {};\nconst IGNORED_CODE_POINTS = [173];\nconst getFontSize = node => node.attributes.fontSize || 12;\nconst getOrCreateFont = name => {\n if (fontCache[name]) return fontCache[name];\n const font = new StandardFont(name);\n fontCache[name] = font;\n return font;\n};\nconst getFallbackFont = () => getOrCreateFont('Helvetica');\nconst pickFontFromFontStack = (codePoint, fontStack, lastFont) => {\n const fontStackWithFallback = [...fontStack, lastFont, getFallbackFont()];\n for (let i = 0; i < fontStackWithFallback.length; i += 1) {\n const font = fontStackWithFallback[i];\n if (!IGNORED_CODE_POINTS.includes(codePoint) && font && font.hasGlyphForCodePoint && font.hasGlyphForCodePoint(codePoint)) {\n return font;\n }\n }\n return getFallbackFont();\n};\nconst fontSubstitution = () => _ref => {\n let {\n string,\n runs\n } = _ref;\n let lastFont = null;\n let lastFontSize = null;\n let lastIndex = 0;\n let index = 0;\n const res = [];\n for (let i = 0; i < runs.length; i += 1) {\n const run = runs[i];\n const defaultFont = run.attributes.font.map(font => typeof font === 'string' ? getOrCreateFont(font) : font);\n if (string.length === 0) {\n res.push({\n start: 0,\n end: 0,\n attributes: {\n font: defaultFont\n }\n });\n break;\n }\n const chars = string.slice(run.start, run.end);\n for (let j = 0; j < chars.length; j += 1) {\n const char = chars[j];\n const codePoint = char.codePointAt();\n // If the default font does not have a glyph and the fallback font does, we use it\n const font = pickFontFromFontStack(codePoint, defaultFont, lastFont);\n const fontSize = getFontSize(run);\n\n // If anything that would impact res has changed, update it\n if (font !== lastFont || fontSize !== lastFontSize || font.unitsPerEm !== lastFont.unitsPerEm) {\n if (lastFont) {\n res.push({\n start: lastIndex,\n end: index,\n attributes: {\n font: lastFont,\n scale: lastFontSize / lastFont.unitsPerEm\n }\n });\n }\n lastFont = font;\n lastFontSize = fontSize;\n lastIndex = index;\n }\n index += char.length;\n }\n }\n if (lastIndex < string.length) {\n const fontSize = getFontSize(last(runs));\n res.push({\n start: lastIndex,\n end: string.length,\n attributes: {\n font: lastFont,\n scale: fontSize / lastFont.unitsPerEm\n }\n });\n }\n return {\n string,\n runs: res\n };\n};\n\nconst isTextInstance$4 = node => node.type === P.TextInstance;\nconst engines$1 = {\n bidi,\n linebreaker,\n justification,\n textDecoration,\n scriptItemizer,\n wordHyphenation,\n fontSubstitution\n};\nconst engine$1 = layoutEngine(engines$1);\nconst getFragments$1 = (fontStore, instance) => {\n if (!instance) return [{\n string: ''\n }];\n const fragments = [];\n const {\n fill = 'black',\n fontFamily = 'Helvetica',\n fontWeight,\n fontStyle,\n fontSize = 18,\n textDecorationColor,\n textDecorationStyle,\n textTransform,\n opacity\n } = instance.props;\n const _textDecoration = instance.props.textDecoration;\n const fontFamilies = typeof fontFamily === 'string' ? [fontFamily] : [...(fontFamily || [])];\n const font = fontFamilies.map(fontFamilyName => {\n if (typeof fontFamilyName !== 'string') return fontFamilyName;\n const opts = {\n fontFamily: fontFamilyName,\n fontWeight,\n fontStyle\n };\n const obj = fontStore ? fontStore.getFont(opts) : null;\n return obj ? obj.data : fontFamilyName;\n });\n const attributes = {\n font,\n opacity,\n fontSize,\n color: fill,\n underlineStyle: textDecorationStyle,\n underline: _textDecoration === 'underline' || _textDecoration === 'underline line-through' || _textDecoration === 'line-through underline',\n underlineColor: textDecorationColor || fill,\n strike: _textDecoration === 'line-through' || _textDecoration === 'underline line-through' || _textDecoration === 'line-through underline',\n strikeStyle: textDecorationStyle,\n strikeColor: textDecorationColor || fill\n };\n for (let i = 0; i < instance.children.length; i += 1) {\n const child = instance.children[i];\n if (isTextInstance$4(child)) {\n fragments.push({\n string: transformText(child.value, textTransform),\n attributes\n });\n } else if (child) {\n fragments.push(...getFragments$1(child));\n }\n }\n return fragments;\n};\nconst getAttributedString$1 = (fontStore, instance) => fromFragments(getFragments$1(fontStore, instance));\nconst AlmostInfinity = 999999999999;\nconst shrinkWhitespaceFactor = {\n before: -0.5,\n after: -0.5\n};\nconst layoutTspan = fontStore => node => {\n var _node$props, _node$props2;\n const attributedString = getAttributedString$1(fontStore, node);\n const x = ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.x) || 0;\n const y = ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.y) || 0;\n const container = {\n x,\n y,\n width: AlmostInfinity,\n height: AlmostInfinity\n };\n const hyphenationCallback = node.props.hyphenationCallback || (fontStore === null || fontStore === void 0 ? void 0 : fontStore.getHyphenationCallback()) || null;\n const layoutOptions = {\n hyphenationCallback,\n shrinkWhitespaceFactor\n };\n const lines = engine$1(attributedString, container, layoutOptions).flat();\n return Object.assign({}, node, {\n lines\n });\n};\nconst layoutText$1 = (fontStore, node) => {\n if (!node.children) return node;\n const children = node.children.map(layoutTspan(fontStore));\n return Object.assign({}, node, {\n children\n });\n};\n\nconst isDefs = node => node.type === P.Defs;\nconst getDefs = node => {\n const children = node.children || [];\n const defs = children.find(isDefs) || {};\n const values = defs.children || [];\n return values.reduce((acc, value) => {\n var _value$props;\n const id = (_value$props = value.props) === null || _value$props === void 0 ? void 0 : _value$props.id;\n if (id) acc[id] = value;\n return acc;\n }, {});\n};\n\nconst isNotDefs = node => node.type !== P.Defs;\nconst detachDefs = node => {\n if (!node.children) return node;\n const children = node.children.filter(isNotDefs);\n return Object.assign({}, node, {\n children\n });\n};\nconst URL_REGEX = /url\\(['\"]?#([^'\"]+)['\"]?\\)/;\nconst replaceDef = (defs, value) => {\n if (!value) return undefined;\n if (!URL_REGEX.test(value)) return value;\n const match = value.match(URL_REGEX);\n return defs[match[1]];\n};\nconst parseNodeDefs = defs => node => {\n var _node$props, _node$props2;\n const fill = replaceDef(defs, (_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.fill);\n const clipPath = replaceDef(defs, (_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.clipPath);\n const props = Object.assign({}, node.props, {\n fill,\n clipPath\n });\n const children = node.children ? node.children.map(parseNodeDefs(defs)) : undefined;\n return Object.assign({}, node, {\n props,\n children\n });\n};\nconst parseDefs = root => {\n if (!root.children) return root;\n const defs = getDefs(root);\n const children = root.children.map(parseNodeDefs(defs));\n return Object.assign({}, root, {\n children\n });\n};\nconst replaceDefs = node => {\n return detachDefs(parseDefs(node));\n};\n\nconst parseViewbox = value => {\n if (!value) return null;\n const values = value.split(/[,\\s]+/).map(parseFloat);\n if (values.length !== 4) return null;\n return {\n minX: values[0],\n minY: values[1],\n maxX: values[2],\n maxY: values[3]\n };\n};\n\nconst getContainer$1 = node => {\n const viewbox = parseViewbox(node.props.viewBox);\n if (viewbox) {\n return {\n width: viewbox.maxX,\n height: viewbox.maxY\n };\n }\n if (node.props.width && node.props.height) {\n return {\n width: parseFloat(node.props.width),\n height: parseFloat(node.props.height)\n };\n }\n return {\n width: 0,\n height: 0\n };\n};\n\nconst SVG_INHERITED_PROPS = ['x', 'y', 'clipPath', 'clipRule', 'opacity', 'fill', 'fillOpacity', 'fillRule', 'stroke', 'strokeLinecap', 'strokeLinejoin', 'strokeOpacity', 'strokeWidth', 'textAnchor', 'dominantBaseline', 'color', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'letterSpacing', 'opacity', 'textDecoration', 'lineHeight', 'textAlign', 'visibility', 'wordSpacing'];\nconst getInheritProps = node => {\n const props = node.props || {};\n return pick(SVG_INHERITED_PROPS, props);\n};\nconst inheritProps = node => {\n if (!node.children) return node;\n const inheritedProps = getInheritProps(node);\n const children = node.children.map(child => {\n const props = Object.assign({}, inheritedProps, child.props || {});\n const newChild = Object.assign({}, child, {\n props\n });\n return inheritProps(newChild);\n });\n return Object.assign({}, node, {\n children\n });\n};\n\nconst parseAspectRatio = value => {\n const match = value.replace(/[\\s\\r\\t\\n]+/gm, ' ').replace(/^defer\\s/, '').split(' ');\n const align = match[0] || 'xMidYMid';\n const meetOrSlice = match[1] || 'meet';\n return {\n align,\n meetOrSlice\n };\n};\n\nconst STYLE_PROPS = ['width', 'height', 'color', 'stroke', 'strokeWidth', 'opacity', 'fillOpacity', 'strokeOpacity', 'fill', 'fillRule', 'clipPath', 'offset', 'transform', 'strokeLinejoin', 'strokeLinecap', 'strokeDasharray'];\nconst VERTICAL_PROPS = ['y', 'y1', 'y2', 'height', 'cy', 'ry'];\nconst HORIZONTAL_PROPS = ['x', 'x1', 'x2', 'width', 'cx', 'rx'];\nconst isType$3 = type => node => node.type === type;\nconst isSvg$3 = isType$3(P.Svg);\nconst isText$5 = isType$3(P.Text);\nconst isTextInstance$3 = isType$3(P.TextInstance);\nconst transformPercent = container => props => mapValues(props, (value, key) => {\n const match = matchPercent(value);\n if (match && VERTICAL_PROPS.includes(key)) {\n return match.percent * container.height;\n }\n if (match && HORIZONTAL_PROPS.includes(key)) {\n return match.percent * container.width;\n }\n return value;\n});\nconst parsePercent = value => {\n const match = matchPercent(value);\n return match ? match.percent : parseFloat(value);\n};\nconst parseProps = container => node => {\n let props = transformPercent(container)(node.props);\n props = evolve({\n x: parseFloat,\n x1: parseFloat,\n x2: parseFloat,\n y: parseFloat,\n y1: parseFloat,\n y2: parseFloat,\n r: parseFloat,\n rx: parseFloat,\n ry: parseFloat,\n cx: parseFloat,\n cy: parseFloat,\n width: parseFloat,\n height: parseFloat,\n offset: parsePercent,\n fill: transformColor,\n opacity: parsePercent,\n stroke: transformColor,\n stopOpacity: parsePercent,\n stopColor: transformColor,\n transform: processTransform\n }, props);\n return Object.assign({}, node, {\n props\n });\n};\nconst mergeStyles$1 = node => {\n const style = node.style || {};\n const props = Object.assign({}, style, node.props);\n return Object.assign({}, node, {\n props\n });\n};\nconst removeNoneValues = node => {\n const removeNone = value => value === 'none' ? null : value;\n const props = mapValues(node.props, removeNone);\n return Object.assign({}, node, {\n props\n });\n};\nconst pickStyleProps = node => {\n const props = node.props || {};\n const styleProps = pick(STYLE_PROPS, props);\n const style = Object.assign({}, styleProps, node.style || {});\n return Object.assign({}, node, {\n style\n });\n};\nconst parseSvgProps = node => {\n const props = evolve({\n width: parseFloat,\n height: parseFloat,\n viewBox: parseViewbox,\n preserveAspectRatio: parseAspectRatio\n }, node.props);\n return Object.assign({}, node, {\n props\n });\n};\nconst wrapBetweenTspan = node => ({\n type: P.Tspan,\n props: {},\n children: [node]\n});\nconst addMissingTspan = node => {\n if (!isText$5(node)) return node;\n if (!node.children) return node;\n const resolveChild = child => isTextInstance$3(child) ? wrapBetweenTspan(child) : child;\n const children = node.children.map(resolveChild);\n return Object.assign({}, node, {\n children\n });\n};\nconst parseText = fontStore => node => {\n if (isText$5(node)) return layoutText$1(fontStore, node);\n if (!node.children) return node;\n const children = node.children.map(parseText(fontStore));\n return Object.assign({}, node, {\n children\n });\n};\nconst resolveSvgNode = container => compose(parseProps(container), addMissingTspan, removeNoneValues, mergeStyles$1);\nconst resolveChildren = container => node => {\n if (!node.children) return node;\n const resolveChild = compose(resolveChildren(container), resolveSvgNode(container));\n const children = node.children.map(resolveChild);\n return Object.assign({}, node, {\n children\n });\n};\nconst resolveSvgRoot = (node, fontStore) => {\n const container = getContainer$1(node);\n return compose(replaceDefs, parseText(fontStore), parseSvgProps, pickStyleProps, inheritProps, resolveChildren(container))(node);\n};\n\n/**\n * Pre-process SVG nodes so they can be rendered in the next steps\n *\n * @param {Object} node root node\n * @param {Object} fontStore font store\n * @returns {Object} root node\n */\nconst resolveSvg = (node, fontStore) => {\n if (!node.children) return node;\n const resolveChild = child => resolveSvg(child, fontStore);\n const root = isSvg$3(node) ? resolveSvgRoot(node, fontStore) : node;\n const children = root.children.map(resolveChild);\n return Object.assign({}, root, {\n children\n });\n};\n\n/* eslint-disable import/prefer-default-export */\n\nlet instance;\nconst loadYoga = async () => {\n if (!instance) {\n // Yoga WASM binaries must be asynchronously compiled and loaded\n // to prevent Event emitter memory leak warnings, Yoga must be loaded only once\n instance = await Yoga.loadYoga();\n }\n const config = instance.Config.create();\n config.setPointScaleFactor(0);\n const node = {\n create: () => instance.Node.createWithConfig(config)\n };\n return {\n node\n };\n};\n\nconst resolveYoga = async root => {\n const yoga = await loadYoga();\n return Object.assign({}, root, {\n yoga\n });\n};\n\nconst getZIndex = node => node.style.zIndex;\nconst shouldSort = node => node.type !== P.Document && node.type !== P.Svg;\nconst sortZIndex = (a, b) => {\n const za = getZIndex(a);\n const zb = getZIndex(b);\n if (!za && !zb) return 0;\n if (!za) return 1;\n if (!zb) return -1;\n return zb - za;\n};\n\n/**\n * Sort children by zIndex value\n *\n * @param {Object} node\n * @returns {Object} node\n */\nconst resolveZIndex = node => {\n if (!node.children) return node;\n const sortedChildren = shouldSort(node) ? node.children.sort(sortZIndex) : node.children;\n const children = sortedChildren.map(resolveZIndex);\n return Object.assign({}, node, {\n children\n });\n};\n\n/* eslint-disable no-cond-assign */\n\n// Caches emoji images data\nconst emojis = {};\nconst regex = emojiRegex();\nconst reflect = promise => function () {\n return promise(...arguments).then(v => v, e => e);\n};\n\n// Returns a function to be able to mock resolveImage.\nconst makeFetchEmojiImage = () => reflect(resolveImage);\n\n/**\n * When an emoji as no variations, it might still have 2 parts,\n * the canonical emoji and an empty string.\n * ex.\n * (no color) Array.from('❤️') => [\"❤\", \"️\"]\n * (w/ color) Array.from('👍🏿') => [\"👍\", \"🏿\"]\n *\n * The empty string needs to be removed otherwise the generated\n * url will be incorect.\n */\nconst _removeVariationSelectors = x => x !== '️';\nconst getCodePoints = (string, withVariationSelectors) => Array.from(string).filter(withVariationSelectors ? () => true : _removeVariationSelectors).map(char => char.codePointAt(0).toString(16)).join('-');\nconst buildEmojiUrl = (emoji, source) => {\n const {\n url,\n format,\n builder,\n withVariationSelectors\n } = source;\n if (typeof builder === 'function') {\n return builder(getCodePoints(emoji, withVariationSelectors));\n }\n return \"\" + url + getCodePoints(emoji, withVariationSelectors) + \".\" + format;\n};\nconst fetchEmojis = (string, source) => {\n if (!source || !source.url && !source.builder) return [];\n const promises = [];\n Array.from(string.matchAll(regex)).forEach(match => {\n const emoji = match[0];\n if (!emojis[emoji] || emojis[emoji].loading) {\n const emojiUrl = buildEmojiUrl(emoji, source);\n emojis[emoji] = {\n loading: true\n };\n const fetchEmojiImage = makeFetchEmojiImage();\n promises.push(fetchEmojiImage({\n uri: emojiUrl\n }).then(image => {\n emojis[emoji].loading = false;\n emojis[emoji].data = image.data;\n }));\n }\n });\n return promises;\n};\nconst specialCases = ['©️', '®', '™']; // Do not treat these as emojis if emoji not present\n\nconst embedEmojis = fragments => {\n const result = [];\n for (let i = 0; i < fragments.length; i += 1) {\n const fragment = fragments[i];\n let lastIndex = 0;\n Array.from(fragment.string.matchAll(regex)).forEach(match => {\n const {\n index\n } = match;\n const emoji = match[0];\n const isSpecialCase = specialCases.includes(emoji);\n const emojiSize = fragment.attributes.fontSize;\n const chunk = fragment.string.slice(lastIndex, index + match[0].length);\n\n // If emoji image was found, we create a new fragment with the\n // correct attachment and object substitution character;\n if (emojis[emoji] && emojis[emoji].data) {\n result.push({\n string: chunk.replace(match, String.fromCharCode(0xfffc)),\n attributes: {\n ...fragment.attributes,\n attachment: {\n width: emojiSize,\n height: emojiSize,\n yOffset: Math.floor(emojiSize * 0.1),\n image: emojis[emoji].data\n }\n }\n });\n } else if (isSpecialCase) {\n result.push({\n string: chunk,\n attributes: fragment.attributes\n });\n } else {\n // If no emoji data, we just replace the emoji with a nodef char\n result.push({\n string: chunk.replace(match, String.fromCharCode(0)),\n attributes: fragment.attributes\n });\n }\n lastIndex = index + emoji.length;\n });\n if (lastIndex < fragment.string.length) {\n result.push({\n string: fragment.string.slice(lastIndex),\n attributes: fragment.attributes\n });\n }\n }\n return result;\n};\n\n/**\n * Get image source\n *\n * @param {Object} node image node\n * @returns {string | Object} image src\n */\nconst getSource = node => {\n var _node$props, _node$props2, _node$props3;\n return ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.src) || ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.source) || ((_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.href);\n};\n\n/**\n * Resolves `src` to `@react-pdf/image` interface.\n *\n * Also it handles factories and async sources.\n *\n * @param {string | Object | Function} src\n * @returns {Promise} resolved src\n */\nconst resolveSource = async src => {\n const source = typeof src === 'function' ? await src() : await src;\n return typeof source === 'string' ? {\n uri: source\n } : source;\n};\n\n/* eslint-disable no-param-reassign */\n\n\n/**\n * Fetches image and append data to node\n * Ideally this fn should be immutable.\n *\n * @param {Object} node\n */\nconst fetchImage = async node => {\n const src = getSource(node);\n const {\n cache\n } = node.props;\n if (!src) {\n console.warn(false, 'Image should receive either a \"src\" or \"source\" prop');\n return;\n }\n try {\n const source = await resolveSource(src);\n if (!source) {\n throw new Error(\"Image's \\\"src\\\" or \\\"source\\\" prop returned \" + source);\n }\n node.image = await resolveImage(source, {\n cache\n });\n node.image.key = source.data ? source.data.toString() : source.uri;\n } catch (e) {\n node.image = {\n width: 0,\n height: 0,\n key: null\n };\n console.warn(e.message);\n }\n};\n\nconst isImage$2 = node => node.type === P.Image;\n\n/**\n * Get all asset promises that need to be resolved\n *\n * @param {Object} fontStore font store\n * @param {Object} node root node\n * @returns {Promise[]} asset promises\n */\nconst fetchAssets = (fontStore, node) => {\n var _node$children;\n const promises = [];\n const listToExplore = ((_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children.slice(0)) || [];\n const emojiSource = fontStore ? fontStore.getEmojiSource() : null;\n while (listToExplore.length > 0) {\n var _n$style;\n const n = listToExplore.shift();\n if (isImage$2(n)) {\n promises.push(fetchImage(n));\n }\n if (fontStore && (_n$style = n.style) !== null && _n$style !== void 0 && _n$style.fontFamily) {\n promises.push(fontStore.load(n.style));\n }\n if (typeof n === 'string') {\n promises.push(...fetchEmojis(n, emojiSource));\n }\n if (typeof n.value === 'string') {\n promises.push(...fetchEmojis(n.value, emojiSource));\n }\n if (n.children) {\n n.children.forEach(childNode => {\n listToExplore.push(childNode);\n });\n }\n }\n return promises;\n};\n\n/**\n * Fetch image, font and emoji assets in parallel.\n * Layout process will not be resumed until promise resolves.\n *\n * @param {Object} node root node\n * @param {Object} fontStore font store\n * @returns {Promise} root node\n */\nconst resolveAssets = async (node, fontStore) => {\n const promises = fetchAssets(fontStore, node);\n await Promise.all(promises);\n return node;\n};\n\nconst isLink$1 = node => node.type === P.Link;\nconst DEFAULT_LINK_STYLES = {\n color: 'blue',\n textDecoration: 'underline'\n};\n\n/**\n * Computes styles using stylesheet\n *\n * @param {Object} container\n * @param {Object} node document node\n * @returns {Object} computed styles\n */\nconst computeStyle = (container, node) => {\n let baseStyle = node.style;\n if (isLink$1(node)) {\n baseStyle = Array.isArray(node.style) ? [DEFAULT_LINK_STYLES, ...node.style] : [DEFAULT_LINK_STYLES, node.style];\n }\n return stylesheet(container, baseStyle);\n};\n\n/**\n * @typedef {Function} ResolveNodeStyles\n * @param {Object} node document node\n * @returns {Object} node (and subnodes) with resolved styles\n */\n\n/**\n * Resolves node styles\n *\n * @param {Object} container\n * @returns {ResolveNodeStyles} resolve node styles\n */\nconst resolveNodeStyles = container => node => {\n const style = computeStyle(container, node);\n if (!node.children) return Object.assign({}, node, {\n style\n });\n const children = node.children.map(resolveNodeStyles(container));\n return Object.assign({}, node, {\n style,\n children\n });\n};\n\n/**\n * Resolves page styles\n *\n * @param {Object} page document page\n * @returns {Object} document page with resolved styles\n */\nconst resolvePageStyles = page => {\n var _page$box, _page$box2, _page$props;\n const dpi = 72; // Removed: page.props?.dpi || 72;\n const width = ((_page$box = page.box) === null || _page$box === void 0 ? void 0 : _page$box.width) || page.style.width;\n const height = ((_page$box2 = page.box) === null || _page$box2 === void 0 ? void 0 : _page$box2.height) || page.style.height;\n const orientation = ((_page$props = page.props) === null || _page$props === void 0 ? void 0 : _page$props.orientation) || 'portrait';\n const container = {\n width,\n height,\n orientation,\n dpi\n };\n return resolveNodeStyles(container)(page);\n};\n\n/**\n * Resolves document styles\n *\n * @param {Object} root document root\n * @returns {Object} document root with resolved styles\n */\nconst resolveStyles = root => {\n if (!root.children) return root;\n const children = root.children.map(resolvePageStyles);\n return Object.assign({}, root, {\n children\n });\n};\n\nconst getTransformStyle = s => node => {\n var _node$style, _node$style2;\n return isNil((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style[s]) ? '50%' : (_node$style2 = node.style) === null || _node$style2 === void 0 ? void 0 : _node$style2[s];\n};\n\n/**\n * Get node origin\n *\n * @param {Object} node\n * @returns {{ left?: number, top?: number }} node origin\n */\nconst getOrigin = node => {\n if (!node.box) return {};\n const {\n left,\n top,\n width,\n height\n } = node.box;\n const transformOriginX = getTransformStyle('transformOriginX')(node);\n const transformOriginY = getTransformStyle('transformOriginY')(node);\n const percentX = matchPercent(transformOriginX);\n const percentY = matchPercent(transformOriginY);\n const offsetX = percentX ? width * percentX.percent : transformOriginX;\n const offsetY = percentY ? height * percentY.percent : transformOriginY;\n return {\n left: left + offsetX,\n top: top + offsetY\n };\n};\n\n/**\n * Resolve node origin\n *\n * @param {Object} node\n * @returns {Object} node with origin attribute\n */\nconst resolveNodeOrigin = node => {\n const origin = getOrigin(node);\n const newNode = Object.assign({}, node, {\n origin\n });\n if (!node.children) return newNode;\n const children = node.children.map(resolveNodeOrigin);\n return Object.assign({}, newNode, {\n children\n });\n};\n\n/**\n * Resolve document origins\n *\n * @param {Object} root document root\n * @returns {Object} document root\n */\n\nconst resolveOrigin = root => {\n if (!root.children) return root;\n const children = root.children.map(resolveNodeOrigin);\n return Object.assign({}, root, {\n children\n });\n};\n\n/* eslint-disable no-plusplus */\n/* eslint-disable prefer-const */\n/* eslint-disable prefer-destructuring */\n\nconst getBookmarkValue = title => {\n return typeof title === 'string' ? {\n title,\n fit: false,\n expanded: false\n } : title;\n};\nconst resolveBookmarks = node => {\n let refs = 0;\n const children = (node.children || []).slice(0);\n const listToExplore = children.map(value => ({\n value,\n parent: null\n }));\n while (listToExplore.length > 0) {\n var _child$props;\n const element = listToExplore.shift();\n const child = element.value;\n let parent = element.parent;\n if ((_child$props = child.props) !== null && _child$props !== void 0 && _child$props.bookmark) {\n var _parent;\n const bookmark = getBookmarkValue(child.props.bookmark);\n const ref = refs++;\n const newHierarchy = {\n ref,\n parent: (_parent = parent) === null || _parent === void 0 ? void 0 : _parent.ref,\n ...bookmark\n };\n child.props.bookmark = newHierarchy;\n parent = newHierarchy;\n }\n if (child.children) {\n child.children.forEach(childNode => {\n listToExplore.push({\n value: childNode,\n parent\n });\n });\n }\n }\n return node;\n};\n\nconst VALID_ORIENTATIONS = ['portrait', 'landscape'];\n\n/**\n * Get page orientation. Defaults to portrait\n *\n * @param {Object} page object\n * @returns {string} page orientation\n */\nconst getOrientation = page => {\n var _page$props;\n const value = ((_page$props = page.props) === null || _page$props === void 0 ? void 0 : _page$props.orientation) || 'portrait';\n return VALID_ORIENTATIONS.includes(value) ? value : 'portrait';\n};\n\n/**\n * Return true if page is landscape\n *\n * @param {Object} page instance\n * @returns {boolean} is page landscape\n */\nconst isLandscape = page => getOrientation(page) === 'landscape';\n\nconst PAGE_SIZES = {\n '4A0': [4767.87, 6740.79],\n '2A0': [3370.39, 4767.87],\n A0: [2383.94, 3370.39],\n A1: [1683.78, 2383.94],\n A2: [1190.55, 1683.78],\n A3: [841.89, 1190.55],\n A4: [595.28, 841.89],\n A5: [419.53, 595.28],\n A6: [297.64, 419.53],\n A7: [209.76, 297.64],\n A8: [147.4, 209.76],\n A9: [104.88, 147.4],\n A10: [73.7, 104.88],\n B0: [2834.65, 4008.19],\n B1: [2004.09, 2834.65],\n B2: [1417.32, 2004.09],\n B3: [1000.63, 1417.32],\n B4: [708.66, 1000.63],\n B5: [498.9, 708.66],\n B6: [354.33, 498.9],\n B7: [249.45, 354.33],\n B8: [175.75, 249.45],\n B9: [124.72, 175.75],\n B10: [87.87, 124.72],\n C0: [2599.37, 3676.54],\n C1: [1836.85, 2599.37],\n C2: [1298.27, 1836.85],\n C3: [918.43, 1298.27],\n C4: [649.13, 918.43],\n C5: [459.21, 649.13],\n C6: [323.15, 459.21],\n C7: [229.61, 323.15],\n C8: [161.57, 229.61],\n C9: [113.39, 161.57],\n C10: [79.37, 113.39],\n RA0: [2437.8, 3458.27],\n RA1: [1729.13, 2437.8],\n RA2: [1218.9, 1729.13],\n RA3: [864.57, 1218.9],\n RA4: [609.45, 864.57],\n SRA0: [2551.18, 3628.35],\n SRA1: [1814.17, 2551.18],\n SRA2: [1275.59, 1814.17],\n SRA3: [907.09, 1275.59],\n SRA4: [637.8, 907.09],\n EXECUTIVE: [521.86, 756.0],\n FOLIO: [612.0, 936.0],\n LEGAL: [612.0, 1008.0],\n LETTER: [612.0, 792.0],\n TABLOID: [792.0, 1224.0],\n ID1: [153, 243]\n};\n\n/**\n * Transforms array into size object\n *\n * @param {number[]} v array\n * @returns {{ width: number, height: number }} size object with width and height\n */\nconst toSizeObject = v => ({\n width: v[0],\n height: v[1]\n});\n\n/**\n * Flip size object\n *\n * @param {{ width: number, height: number }} v size object\n * @returns {{ width: number, height: number }} flipped size object\n */\nconst flipSizeObject = v => ({\n width: v.height,\n height: v.width\n});\n\n/**\n * Adjust page size to passed DPI\n *\n * @param {{ width: number, height: number }} v size object\n * @param {number} dpi DPI\n * @returns {{ width: number, height: number }} adjusted size object\n */\nconst adjustDpi = (v, dpi) => ({\n width: v.width ? v.width * (72 / dpi) : v.width,\n height: v.height ? v.height * (72 / dpi) : v.height\n});\n\n/**\n * Returns size object from a given string\n *\n * @param {string} v page size string\n * @returns {{ width: number, height: number }} size object with width and height\n */\nconst getStringSize = v => {\n return toSizeObject(PAGE_SIZES[v.toUpperCase()]);\n};\n\n/**\n * Returns size object from a single number\n *\n * @param {number} n page size number\n * @returns {{ width: number, height: number }} size object with width and height\n */\nconst getNumberSize = n => toSizeObject([n]);\n\n/**\n * Return page size in an object { width, height }\n *\n * @param {Object} page instance\n * @returns {{ width: number, height: number }} size object with width and height\n */\nconst getSize = page => {\n var _page$props, _page$props2;\n const value = ((_page$props = page.props) === null || _page$props === void 0 ? void 0 : _page$props.size) || 'A4';\n const dpi = parseFloat(((_page$props2 = page.props) === null || _page$props2 === void 0 ? void 0 : _page$props2.dpi) || 72);\n const type = typeof value;\n\n /**\n * @type {{ width: number, height: number }}\n */\n let size;\n if (type === 'string') {\n size = getStringSize(value);\n } else if (Array.isArray(value)) {\n size = toSizeObject(value);\n size = adjustDpi(size, dpi);\n } else if (type === 'number') {\n size = getNumberSize(value);\n size = adjustDpi(size, dpi);\n } else {\n size = value;\n size = adjustDpi(size, dpi);\n }\n return isLandscape(page) ? flipSizeObject(size) : size;\n};\n\n/**\n * Resolves page size\n *\n * @param {Object} page\n * @returns {Object} page with resolved size in style attribute\n */\nconst resolvePageSize = page => {\n const size = getSize(page);\n const style = flatten(page.style || {});\n return {\n ...page,\n style: {\n ...style,\n ...size\n }\n };\n};\n\n/**\n * Resolves page sizes\n *\n * @param {Object} root document root\n * @returns {Object} document root with resolved page sizes\n */\nconst resolvePageSizes = root => {\n if (!root.children) return root;\n const children = root.children.map(resolvePageSize);\n return Object.assign({}, root, {\n children\n });\n};\n\nconst isFixed = node => {\n var _node$props;\n return ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.fixed) === true;\n};\n\n/**\n * Get line index at given height\n *\n * @param {Object} node\n * @param {number} height\n */\nconst lineIndexAtHeight = (node, height) => {\n let y = 0;\n if (!node.lines) return 0;\n for (let i = 0; i < node.lines.length; i += 1) {\n const line = node.lines[i];\n if (y + line.box.height > height) return i;\n y += line.box.height;\n }\n return node.lines.length;\n};\n\n/**\n * Get height for given text line index\n *\n * @param {Object} node\n * @param {number} index\n */\nconst heightAtLineIndex = (node, index) => {\n let counter = 0;\n if (!node.lines) return counter;\n for (let i = 0; i < index; i += 1) {\n const line = node.lines[i];\n if (!line) break;\n counter += line.box.height;\n }\n return counter;\n};\n\nconst getLineBreak = (node, height) => {\n const top = get(node, ['box', 'top'], 0);\n const widows = get(node, ['props', 'widows'], 2);\n const orphans = get(node, ['props', 'orphans'], 2);\n const linesQuantity = node.lines.length;\n const slicedLine = lineIndexAtHeight(node, height - top);\n if (slicedLine === 0) {\n return 0;\n }\n if (linesQuantity < orphans) {\n return linesQuantity;\n }\n if (slicedLine < orphans || linesQuantity < orphans + widows) {\n return 0;\n }\n if (linesQuantity === orphans + widows) {\n return orphans;\n }\n if (linesQuantity - slicedLine < widows) {\n return linesQuantity - widows;\n }\n return slicedLine;\n};\n\n// Also receives contentArea in case it's needed\nconst splitText = (node, height) => {\n const slicedLineIndex = getLineBreak(node, height);\n const currentHeight = heightAtLineIndex(node, slicedLineIndex);\n const nextHeight = node.box.height - currentHeight;\n const current = Object.assign({}, node, {\n box: {\n ...node.box,\n height: currentHeight,\n borderBottomWidth: 0\n },\n style: {\n ...node.style,\n marginBottom: 0,\n paddingBottom: 0,\n borderBottomWidth: 0,\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0\n },\n lines: node.lines.slice(0, slicedLineIndex)\n });\n const next = Object.assign({}, node, {\n box: {\n ...node.box,\n top: 0,\n height: nextHeight,\n borderTopWidth: 0\n },\n style: {\n ...node.style,\n marginTop: 0,\n paddingTop: 0,\n borderTopWidth: 0,\n borderTopLeftRadius: 0,\n borderTopRightRadius: 0\n },\n lines: node.lines.slice(slicedLineIndex)\n });\n return [current, next];\n};\n\nconst getTop$1 = node => {\n var _node$box;\n return ((_node$box = node.box) === null || _node$box === void 0 ? void 0 : _node$box.top) || 0;\n};\nconst hasFixedHeight = node => {\n var _node$style;\n return !isNil((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.height);\n};\nconst splitNode = (node, height) => {\n if (!node) return [null, null];\n const nodeTop = getTop$1(node);\n const current = Object.assign({}, node, {\n box: {\n ...node.box,\n borderBottomWidth: 0\n },\n style: {\n ...node.style,\n marginBottom: 0,\n paddingBottom: 0,\n borderBottomWidth: 0,\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0\n }\n });\n current.style.height = height - nodeTop;\n const nextHeight = hasFixedHeight(node) ? node.box.height - (height - nodeTop) : null;\n const next = Object.assign({}, node, {\n box: {\n ...node.box,\n top: 0,\n borderTopWidth: 0\n },\n style: {\n ...node.style,\n marginTop: 0,\n paddingTop: 0,\n borderTopWidth: 0,\n borderTopLeftRadius: 0,\n borderTopRightRadius: 0\n }\n });\n if (nextHeight) {\n next.style.height = nextHeight;\n }\n return [current, next];\n};\n\nconst NON_WRAP_TYPES = [P.Svg, P.Note, P.Image, P.Canvas];\nconst getWrap = node => {\n var _node$props;\n if (NON_WRAP_TYPES.includes(node.type)) return false;\n return isNil((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.wrap) ? true : node.props.wrap;\n};\n\nconst getComputedPadding = (node, edge) => {\n const {\n yogaNode\n } = node;\n return yogaNode ? yogaNode.getComputedPadding(edge) : null;\n};\n\n/**\n * Get Yoga computed paddings. Zero otherwise\n *\n * @param {Object} node\n * @returns {{ paddingTop: number, paddingRight: number, paddingBottom: number, paddingLeft: number }} paddings\n */\nconst getPadding = node => {\n const {\n style,\n box\n } = node;\n const paddingTop = getComputedPadding(node, Yoga.Edge.Top) || (box === null || box === void 0 ? void 0 : box.paddingTop) || (style === null || style === void 0 ? void 0 : style.paddingTop) || (style === null || style === void 0 ? void 0 : style.paddingVertical) || (style === null || style === void 0 ? void 0 : style.padding) || 0;\n const paddingRight = getComputedPadding(node, Yoga.Edge.Right) || (box === null || box === void 0 ? void 0 : box.paddingRight) || (style === null || style === void 0 ? void 0 : style.paddingRight) || (style === null || style === void 0 ? void 0 : style.paddingHorizontal) || (style === null || style === void 0 ? void 0 : style.padding) || 0;\n const paddingBottom = getComputedPadding(node, Yoga.Edge.Bottom) || (box === null || box === void 0 ? void 0 : box.paddingBottom) || (style === null || style === void 0 ? void 0 : style.paddingBottom) || (style === null || style === void 0 ? void 0 : style.paddingVertical) || (style === null || style === void 0 ? void 0 : style.padding) || 0;\n const paddingLeft = getComputedPadding(node, Yoga.Edge.Left) || (box === null || box === void 0 ? void 0 : box.paddingLeft) || (style === null || style === void 0 ? void 0 : style.paddingLeft) || (style === null || style === void 0 ? void 0 : style.paddingHorizontal) || (style === null || style === void 0 ? void 0 : style.padding) || 0;\n return {\n paddingTop,\n paddingRight,\n paddingBottom,\n paddingLeft\n };\n};\n\nconst getWrapArea = page => {\n var _page$style;\n const {\n paddingBottom\n } = getPadding(page);\n const height = (_page$style = page.style) === null || _page$style === void 0 ? void 0 : _page$style.height;\n return height - paddingBottom;\n};\n\nconst getContentArea = page => {\n var _page$style;\n const height = (_page$style = page.style) === null || _page$style === void 0 ? void 0 : _page$style.height;\n const {\n paddingTop,\n paddingBottom\n } = getPadding(page);\n return height - paddingBottom - paddingTop;\n};\n\nconst isString = value => typeof value === 'string';\nconst isNumber = value => typeof value === 'number';\nconst isFragment = value => value && value.type === Symbol.for('react.fragment');\n\n/**\n * Transforms a react element instance to internal element format.\n *\n * Can return multiple instances in the case of arrays or fragments.\n *\n * @param {Object} element React element\n * @returns {Object[]} parsed React elements\n */\nconst createInstances = element => {\n if (!element) return [];\n if (isString(element) || isNumber(element)) {\n return [{\n type: TextInstance,\n value: \"\" + element\n }];\n }\n if (isFragment(element)) {\n return createInstances(element.props.children);\n }\n if (Array.isArray(element)) {\n return element.reduce((acc, el) => acc.concat(createInstances(el)), []);\n }\n if (!isString(element.type)) {\n return createInstances(element.type(element.props));\n }\n const {\n type,\n props: {\n style = {},\n children = [],\n ...props\n }\n } = element;\n const nextChildren = castArray(children).reduce((acc, child) => acc.concat(createInstances(child)), []);\n return [{\n type,\n style,\n props,\n box: {},\n children: nextChildren\n }];\n};\n\n/* eslint-disable no-continue */\n\nconst getBreak = node => {\n var _node$props;\n return ((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.break) || false;\n};\nconst getMinPresenceAhead = node => {\n var _node$props2;\n return ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.minPresenceAhead) || 0;\n};\nconst getFurthestEnd = elements => Math.max(...elements.map(node => node.box.top + node.box.height));\nconst getEndOfMinPresenceAhead = child => {\n return child.box.top + child.box.height + child.box.marginBottom + getMinPresenceAhead(child);\n};\nconst getEndOfPresence = (child, futureElements) => {\n const afterMinPresenceAhead = getEndOfMinPresenceAhead(child);\n const endOfFurthestFutureElement = getFurthestEnd(futureElements.filter(node => {\n var _node$props3;\n return !((_node$props3 = node.props) !== null && _node$props3 !== void 0 && _node$props3.fixed);\n }));\n return Math.min(afterMinPresenceAhead, endOfFurthestFutureElement);\n};\nconst shouldBreak = (child, futureElements, height) => {\n var _child$props;\n if ((_child$props = child.props) !== null && _child$props !== void 0 && _child$props.fixed) return false;\n const shouldSplit = height < child.box.top + child.box.height;\n const canWrap = getWrap(child);\n\n // Calculate the y coordinate where the desired presence of the child ends\n const endOfPresence = getEndOfPresence(child, futureElements);\n // If the child is already at the top of the page, breaking won't improve its presence\n // (as long as react-pdf does not support breaking into differently sized containers)\n const breakingImprovesPresence = child.box.top > child.box.marginTop;\n return getBreak(child) || shouldSplit && !canWrap || !shouldSplit && endOfPresence > height && breakingImprovesPresence;\n};\n\nconst IGNORABLE_CODEPOINTS = [8232,\n// LINE_SEPARATOR\n8233 // PARAGRAPH_SEPARATOR\n];\nconst buildSubsetForFont = font => IGNORABLE_CODEPOINTS.reduce((acc, codePoint) => {\n if (font && font.hasGlyphForCodePoint && font.hasGlyphForCodePoint(codePoint)) {\n return acc;\n }\n return [...acc, String.fromCharCode(codePoint)];\n}, []);\nconst ignoreChars = fragments => fragments.map(fragment => {\n const charSubset = buildSubsetForFont(fragment.attributes.font);\n const subsetRegex = new RegExp(charSubset.join('|'));\n return {\n string: fragment.string.replace(subsetRegex, ''),\n attributes: fragment.attributes\n };\n});\n\nconst PREPROCESSORS = [ignoreChars, embedEmojis];\nconst isImage$1 = node => node.type === P.Image;\nconst isTextInstance$2 = node => node.type === P.TextInstance;\n\n/**\n * Get textkit fragments of given node object\n *\n * @param {Object} fontStore font store\n * @param {Object} instance node\n * @param {string} [parentLink] parent link\n * @param {number} [level] fragment level\n * @returns {Object[]} text fragments\n */\nconst getFragments = function (fontStore, instance, parentLink, level) {\n var _instance$props, _instance$props2;\n if (level === void 0) {\n level = 0;\n }\n if (!instance) return [{\n string: ''\n }];\n let fragments = [];\n const {\n color = 'black',\n direction = 'ltr',\n fontFamily = 'Helvetica',\n fontWeight,\n fontStyle,\n fontSize = 18,\n textAlign,\n lineHeight,\n textDecoration,\n textDecorationColor,\n textDecorationStyle,\n textTransform,\n letterSpacing,\n textIndent,\n opacity,\n verticalAlign\n } = instance.style;\n const fontFamilies = typeof fontFamily === 'string' ? [fontFamily] : [...(fontFamily || [])];\n const font = fontFamilies.map(fontFamilyName => {\n if (typeof fontFamilyName !== 'string') return fontFamilyName;\n const opts = {\n fontFamily: fontFamilyName,\n fontWeight,\n fontStyle\n };\n const obj = fontStore ? fontStore.getFont(opts) : null;\n return obj ? obj.data : fontFamilyName;\n });\n\n // Don't pass main background color to textkit. Will be rendered by the render package instead\n const backgroundColor = level === 0 ? null : instance.style.backgroundColor;\n const attributes = {\n font,\n color,\n opacity,\n fontSize,\n direction,\n verticalAlign,\n backgroundColor,\n indent: textIndent,\n characterSpacing: letterSpacing,\n strikeStyle: textDecorationStyle,\n underlineStyle: textDecorationStyle,\n underline: textDecoration === 'underline' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline',\n strike: textDecoration === 'line-through' || textDecoration === 'underline line-through' || textDecoration === 'line-through underline',\n strikeColor: textDecorationColor || color,\n underlineColor: textDecorationColor || color,\n link: parentLink || ((_instance$props = instance.props) === null || _instance$props === void 0 ? void 0 : _instance$props.src) || ((_instance$props2 = instance.props) === null || _instance$props2 === void 0 ? void 0 : _instance$props2.href),\n lineHeight: lineHeight ? lineHeight * fontSize : null,\n align: textAlign || (direction === 'rtl' ? 'right' : 'left')\n };\n for (let i = 0; i < instance.children.length; i += 1) {\n const child = instance.children[i];\n if (isImage$1(child)) {\n fragments.push({\n string: String.fromCharCode(0xfffc),\n attributes: {\n ...attributes,\n attachment: {\n width: child.style.width || fontSize,\n height: child.style.height || fontSize,\n image: child.image.data\n }\n }\n });\n } else if (isTextInstance$2(child)) {\n fragments.push({\n string: transformText(child.value, textTransform),\n attributes\n });\n } else if (child) {\n fragments.push(...getFragments(fontStore, child, attributes.link, level + 1));\n }\n }\n for (let i = 0; i < PREPROCESSORS.length; i += 1) {\n const preprocessor = PREPROCESSORS[i];\n fragments = preprocessor(fragments);\n }\n return fragments;\n};\n\n/**\n * Get textkit attributed string from text node\n *\n * @param {Object} fontStore font store\n * @param {Object} instance node\n * @returns {Object} attributed string\n */\nconst getAttributedString = (fontStore, instance) => {\n const fragments = getFragments(fontStore, instance);\n return fromFragments(fragments);\n};\n\nconst engines = {\n bidi,\n linebreaker,\n justification,\n textDecoration,\n scriptItemizer,\n wordHyphenation,\n fontSubstitution\n};\nconst engine = layoutEngine(engines);\nconst getMaxLines = node => {\n var _node$style;\n return (_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.maxLines;\n};\nconst getTextOverflow = node => {\n var _node$style2;\n return (_node$style2 = node.style) === null || _node$style2 === void 0 ? void 0 : _node$style2.textOverflow;\n};\n\n/**\n * Get layout container for specific text node\n *\n * @param {number} width\n * @param {number} height\n * @param {Object} node\n * @returns {Object} layout container\n */\nconst getContainer = (width, height, node) => {\n const maxLines = getMaxLines(node);\n const textOverflow = getTextOverflow(node);\n return {\n x: 0,\n y: 0,\n width,\n maxLines,\n height: height || Infinity,\n truncateMode: textOverflow\n };\n};\n\n/**\n * Get text layout options for specific text node\n *\n * @param {Object} node instance\n * @returns {Object} layout options\n */\nconst getLayoutOptions = (fontStore, node) => ({\n hyphenationPenalty: node.props.hyphenationPenalty,\n shrinkWhitespaceFactor: {\n before: -0.5,\n after: -0.5\n },\n hyphenationCallback: node.props.hyphenationCallback || (fontStore === null || fontStore === void 0 ? void 0 : fontStore.getHyphenationCallback()) || null\n});\n\n/**\n * Get text lines for given node\n *\n * @param {Object} node node\n * @param {number} width container width\n * @param {number} height container height\n * @param {number} fontStore font store\n * @returns {Object[]} layout lines\n */\nconst layoutText = (node, width, height, fontStore) => {\n const attributedString = getAttributedString(fontStore, node);\n const container = getContainer(width, height, node);\n const options = getLayoutOptions(fontStore, node);\n const lines = engine(attributedString, container, options);\n return lines.reduce((acc, line) => [...acc, ...line], []);\n};\n\nconst isType$2 = type => node => node.type === type;\nconst isSvg$2 = isType$2(P.Svg);\nconst isText$4 = isType$2(P.Text);\nconst shouldIterate = node => !isSvg$2(node) && !isText$4(node);\nconst shouldLayoutText = node => isText$4(node) && !node.lines;\n\n/**\n * Performs text layout on text node if wasn't calculated before.\n * Text layout is usually performed on Yoga's layout process (via setMeasureFunc),\n * but we need to layout those nodes with fixed width and height.\n *\n * @param {Object} node\n * @returns {Object} layout node\n */\nconst resolveTextLayout = (node, fontStore) => {\n if (shouldLayoutText(node)) {\n const width = node.box.width - (node.box.paddingRight + node.box.paddingLeft);\n const height = node.box.height - (node.box.paddingTop + node.box.paddingBottom);\n\n // eslint-disable-next-line no-param-reassign\n node.lines = layoutText(node, width, height, fontStore);\n }\n if (shouldIterate(node)) {\n if (!node.children) return node;\n const mapChild = child => resolveTextLayout(child, fontStore);\n const children = node.children.map(mapChild);\n return Object.assign({}, node, {\n children\n });\n }\n return node;\n};\n\nconst BASE_INHERITABLE_PROPERTIES = ['color', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'letterSpacing', 'opacity', 'textDecoration', 'textTransform', 'lineHeight', 'textAlign', 'visibility', 'wordSpacing'];\nconst TEXT_INHERITABLE_PROPERTIES = [...BASE_INHERITABLE_PROPERTIES, 'backgroundColor'];\nconst isSvg$1 = node => node.type === P.Svg;\nconst isText$3 = node => node.type === P.Text;\n\n// Merge style values\nconst mergeValues = (styleName, value, inheritedValue) => {\n switch (styleName) {\n case 'textDecoration':\n {\n // merge not none and not false textDecoration values to one rule\n return [inheritedValue, value].filter(v => v && v !== 'none').join(' ');\n }\n default:\n return value;\n }\n};\n\n// Merge inherited and node styles\nconst merge = (inheritedStyles, style) => {\n const mergedStyles = {\n ...inheritedStyles\n };\n Object.entries(style).forEach(_ref => {\n let [styleName, value] = _ref;\n mergedStyles[styleName] = mergeValues(styleName, value, inheritedStyles[styleName]);\n });\n return mergedStyles;\n};\n\n/**\n * @typedef {Function} MergeStyles\n * @param {Object} node\n * @returns {Object} node with styles merged\n */\n\n/**\n * Merges styles with node\n *\n * @param {Object} inheritedStyles style object\n * @returns {MergeStyles} merge styles function\n */\nconst mergeStyles = inheritedStyles => node => {\n const style = merge(inheritedStyles, node.style || {});\n return Object.assign({}, node, {\n style\n });\n};\n\n/**\n * Inherit style values from the root to the leafs\n *\n * @param {Object} node document root\n * @returns {Object} document root with inheritance\n *\n */\nconst resolveInheritance = node => {\n if (isSvg$1(node)) return node;\n if (!node.children) return node;\n const inheritableProperties = isText$3(node) ? TEXT_INHERITABLE_PROPERTIES : BASE_INHERITABLE_PROPERTIES;\n const inheritStyles = pick(inheritableProperties, node.style || {});\n const resolveChild = compose(resolveInheritance, mergeStyles(inheritStyles));\n const children = node.children.map(resolveChild);\n return Object.assign({}, node, {\n children\n });\n};\n\nconst getComputedMargin = (node, edge) => {\n const {\n yogaNode\n } = node;\n return yogaNode ? yogaNode.getComputedMargin(edge) : null;\n};\n\n/**\n * Get Yoga computed magins. Zero otherwise\n *\n * @param {Object} node\n * @returns {{ marginTop: number, marginRight: number, marginBottom: number, marginLeft: number }} margins\n */\nconst getMargin = node => {\n const {\n style,\n box\n } = node;\n const marginTop = getComputedMargin(node, Yoga.Edge.Top) || (box === null || box === void 0 ? void 0 : box.marginTop) || (style === null || style === void 0 ? void 0 : style.marginTop) || (style === null || style === void 0 ? void 0 : style.marginVertical) || (style === null || style === void 0 ? void 0 : style.margin) || 0;\n const marginRight = getComputedMargin(node, Yoga.Edge.Right) || (box === null || box === void 0 ? void 0 : box.marginRight) || (style === null || style === void 0 ? void 0 : style.marginRight) || (style === null || style === void 0 ? void 0 : style.marginHorizontal) || (style === null || style === void 0 ? void 0 : style.margin) || 0;\n const marginBottom = getComputedMargin(node, Yoga.Edge.Bottom) || (box === null || box === void 0 ? void 0 : box.marginBottom) || (style === null || style === void 0 ? void 0 : style.marginBottom) || (style === null || style === void 0 ? void 0 : style.marginVertical) || (style === null || style === void 0 ? void 0 : style.margin) || 0;\n const marginLeft = getComputedMargin(node, Yoga.Edge.Left) || (box === null || box === void 0 ? void 0 : box.marginLeft) || (style === null || style === void 0 ? void 0 : style.marginLeft) || (style === null || style === void 0 ? void 0 : style.marginHorizontal) || (style === null || style === void 0 ? void 0 : style.margin) || 0;\n return {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft\n };\n};\n\n/**\n * Get Yoga computed position. Zero otherwise\n *\n * @param {Object} node\n * @returns {{ top: number, right: number, bottom: number, left: number }} position\n */\nconst getPosition = node => {\n const {\n yogaNode\n } = node;\n return {\n top: (yogaNode === null || yogaNode === void 0 ? void 0 : yogaNode.getComputedTop()) || 0,\n right: (yogaNode === null || yogaNode === void 0 ? void 0 : yogaNode.getComputedRight()) || 0,\n bottom: (yogaNode === null || yogaNode === void 0 ? void 0 : yogaNode.getComputedBottom()) || 0,\n left: (yogaNode === null || yogaNode === void 0 ? void 0 : yogaNode.getComputedLeft()) || 0\n };\n};\n\nconst DEFAULT_DIMENSION = {\n width: 0,\n height: 0\n};\n\n/**\n * Get Yoga computed dimensions. Zero otherwise\n *\n * @param {Object} node\n * @returns {{ width: number, height: number }} dimensions\n */\nconst getDimension = node => {\n const {\n yogaNode\n } = node;\n if (!yogaNode) return DEFAULT_DIMENSION;\n return {\n width: yogaNode.getComputedWidth(),\n height: yogaNode.getComputedHeight()\n };\n};\n\nconst getComputedBorder = (yogaNode, edge) => yogaNode ? yogaNode.getComputedBorder(edge) : 0;\n\n/**\n * Get Yoga computed border width. Zero otherwise\n *\n * @param {Object} node\n * @returns {{ borderTopWidth: number, borderRightWidth: number, borderBottomWidth: number, borderLeftWidth: number }} border widths\n */\nconst getBorderWidth = node => {\n const {\n yogaNode\n } = node;\n return {\n borderTopWidth: getComputedBorder(yogaNode, Yoga.Edge.Top),\n borderRightWidth: getComputedBorder(yogaNode, Yoga.Edge.Right),\n borderBottomWidth: getComputedBorder(yogaNode, Yoga.Edge.Bottom),\n borderLeftWidth: getComputedBorder(yogaNode, Yoga.Edge.Left)\n };\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set display attribute to node's Yoga instance\n *\n * @param {string} value display\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setDisplay = value => node => {\n const {\n yogaNode\n } = node;\n if (yogaNode) {\n yogaNode.setDisplay(value === 'none' ? Yoga.Display.None : Yoga.Display.Flex);\n }\n return node;\n};\n\nconst OVERFLOW = {\n hidden: Yoga.Overflow.Hidden,\n scroll: Yoga.Overflow.Scroll\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set overflow attribute to node's Yoga instance\n *\n * @param {string} value overflow value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setOverflow = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n const overflow = OVERFLOW[value] || Yoga.Overflow.Visible;\n yogaNode.setOverflow(overflow);\n }\n return node;\n};\n\nconst FLEX_WRAP = {\n wrap: Yoga.Wrap.Wrap,\n 'wrap-reverse': Yoga.Wrap.WrapReverse\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set flex wrap attribute to node's Yoga instance\n *\n * @param {string} value flex wrap value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setFlexWrap = value => node => {\n const {\n yogaNode\n } = node;\n if (yogaNode) {\n const flexWrap = FLEX_WRAP[value] || Yoga.Wrap.NoWrap;\n yogaNode.setFlexWrap(flexWrap);\n }\n return node;\n};\n\n/* eslint-disable no-unused-expressions */\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * @typedef {Function} YogaValueSetter\n * @param {any} value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\n\n/**\n * Set generic yoga attribute to node's Yoga instance, handing `auto`, edges and percentage cases\n *\n * @param {string} attr property\n * @param {number} [edge] edge\n * @returns {YogaValueSetter} node instance wrapper\n */\nconst setYogaValue = (attr, edge) => value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n const hasEdge = !isNil(edge);\n const fixedMethod = \"set\" + upperFirst(attr);\n const autoMethod = fixedMethod + \"Auto\";\n const percentMethod = fixedMethod + \"Percent\";\n const percent = matchPercent(value);\n if (percent && !yogaNode[percentMethod]) {\n throw new Error(\"You can't pass percentage values to \" + attr + \" property\");\n }\n if (percent) {\n if (hasEdge) {\n var _yogaNode$percentMeth;\n (_yogaNode$percentMeth = yogaNode[percentMethod]) === null || _yogaNode$percentMeth === void 0 ? void 0 : _yogaNode$percentMeth.call(yogaNode, edge, percent.value);\n } else {\n var _yogaNode$percentMeth2;\n (_yogaNode$percentMeth2 = yogaNode[percentMethod]) === null || _yogaNode$percentMeth2 === void 0 ? void 0 : _yogaNode$percentMeth2.call(yogaNode, percent.value);\n }\n } else if (value === 'auto') {\n if (hasEdge) {\n var _yogaNode$autoMethod;\n (_yogaNode$autoMethod = yogaNode[autoMethod]) === null || _yogaNode$autoMethod === void 0 ? void 0 : _yogaNode$autoMethod.call(yogaNode, edge);\n } else {\n var _yogaNode$autoMethod2;\n (_yogaNode$autoMethod2 = yogaNode[autoMethod]) === null || _yogaNode$autoMethod2 === void 0 ? void 0 : _yogaNode$autoMethod2.call(yogaNode);\n }\n } else if (hasEdge) {\n var _yogaNode$fixedMethod;\n (_yogaNode$fixedMethod = yogaNode[fixedMethod]) === null || _yogaNode$fixedMethod === void 0 ? void 0 : _yogaNode$fixedMethod.call(yogaNode, edge, value);\n } else {\n var _yogaNode$fixedMethod2;\n (_yogaNode$fixedMethod2 = yogaNode[fixedMethod]) === null || _yogaNode$fixedMethod2 === void 0 ? void 0 : _yogaNode$fixedMethod2.call(yogaNode, value);\n }\n }\n return node;\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set flex grow attribute to node's Yoga instance\n *\n * @param {number} value flex grow value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setFlexGrow = value => node => {\n return setYogaValue('flexGrow')(value || 0)(node);\n};\n\n/**\n * Set flex basis attribute to node's Yoga instance\n *\n * @param {number} flex basis value\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setFlexBasis = setYogaValue('flexBasis');\n\nconst ALIGN = {\n 'flex-start': Yoga.Align.FlexStart,\n center: Yoga.Align.Center,\n 'flex-end': Yoga.Align.FlexEnd,\n stretch: Yoga.Align.Stretch,\n baseline: Yoga.Align.Baseline,\n 'space-between': Yoga.Align.SpaceBetween,\n 'space-around': Yoga.Align.SpaceAround\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * @typedef {Function} AlignSetter\n * @param {string} value align value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\n\n/**\n * Set generic align attribute to node's Yoga instance\n *\n * @param {string} attr specific align property\n * @returns {AlignSetter} align setter\n */\nconst setAlign = attr => value => node => {\n const {\n yogaNode\n } = node;\n const defaultValue = attr === 'items' ? Yoga.Align.Stretch : Yoga.Align.Auto;\n if (yogaNode) {\n const align = ALIGN[value] || defaultValue;\n yogaNode[\"setAlign\" + upperFirst(attr)](align);\n }\n return node;\n};\n\n/**\n * Set align self attribute to node's Yoga instance\n *\n * @param {string} align value\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setAlignSelf = setAlign('self');\n\n/**\n * Set align items attribute to node's Yoga instance\n *\n * @param {string} align value\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setAlignItems = setAlign('items');\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set flex shrink attribute to node's Yoga instance\n *\n * @param {number} value flex shrink value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setFlexShrink = value => node => {\n return setYogaValue('flexShrink')(value || 1)(node);\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set aspect ratio attribute to node's Yoga instance\n *\n * @param {number} value ratio\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setAspectRatio = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n yogaNode.setAspectRatio(value);\n }\n return node;\n};\n\n/**\n * Set align content attribute to node's Yoga instance\n *\n * @param {string} align value\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setAlignContent = setAlign('content');\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set position type attribute to node's Yoga instance\n *\n * @param {string} value position position type\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setPositionType = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n yogaNode.setPositionType(value === 'absolute' ? Yoga.PositionType.Absolute : Yoga.PositionType.Relative);\n }\n return node;\n};\n\nconst FLEX_DIRECTIONS = {\n row: Yoga.FlexDirection.Row,\n 'row-reverse': Yoga.FlexDirection.RowReverse,\n 'column-reverse': Yoga.FlexDirection.ColumnReverse\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set flex direction attribute to node's Yoga instance\n *\n * @param {string} value flex direction value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setFlexDirection = value => node => {\n const {\n yogaNode\n } = node;\n if (yogaNode) {\n const flexDirection = FLEX_DIRECTIONS[value] || Yoga.FlexDirection.Column;\n yogaNode.setFlexDirection(flexDirection);\n }\n return node;\n};\n\nconst JUSTIFY_CONTENT = {\n center: Yoga.Justify.Center,\n 'flex-end': Yoga.Justify.FlexEnd,\n 'space-between': Yoga.Justify.SpaceBetween,\n 'space-around': Yoga.Justify.SpaceAround,\n 'space-evenly': Yoga.Justify.SpaceEvenly\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set justify content attribute to node's Yoga instance\n *\n * @param {string} value justify content value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setJustifyContent = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n const justifyContent = JUSTIFY_CONTENT[value] || Yoga.Justify.FlexStart;\n yogaNode.setJustifyContent(justifyContent);\n }\n return node;\n};\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set margin top attribute to node's Yoga instance\n *\n * @param {number} margin margin top\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setMarginTop = setYogaValue('margin', Yoga.Edge.Top);\n\n/**\n * Set margin right attribute to node's Yoga instance\n *\n * @param {number} margin margin right\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setMarginRight = setYogaValue('margin', Yoga.Edge.Right);\n\n/**\n * Set margin bottom attribute to node's Yoga instance\n *\n * @param {number} margin margin bottom\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setMarginBottom = setYogaValue('margin', Yoga.Edge.Bottom);\n\n/**\n * Set margin left attribute to node's Yoga instance\n *\n * @param {number} margin margin left\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setMarginLeft = setYogaValue('margin', Yoga.Edge.Left);\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set padding top attribute to node's Yoga instance\n *\n * @param {number} padding padding top\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPaddingTop = setYogaValue('padding', Yoga.Edge.Top);\n\n/**\n * Set padding right attribute to node's Yoga instance\n *\n * @param {number} padding padding right\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPaddingRight = setYogaValue('padding', Yoga.Edge.Right);\n\n/**\n * Set padding bottom attribute to node's Yoga instance\n *\n * @param {number} padding padding bottom\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPaddingBottom = setYogaValue('padding', Yoga.Edge.Bottom);\n\n/**\n * Set padding left attribute to node's Yoga instance\n *\n * @param {number} padding padding left\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPaddingLeft = setYogaValue('padding', Yoga.Edge.Left);\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set border top attribute to node's Yoga instance\n *\n * @param {number} border border top width\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setBorderTop = setYogaValue('border', Yoga.Edge.Top);\n\n/**\n * Set border right attribute to node's Yoga instance\n *\n * @param {number} border border right width\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setBorderRight = setYogaValue('border', Yoga.Edge.Right);\n\n/**\n * Set border bottom attribute to node's Yoga instance\n *\n * @param {number} border border bottom width\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setBorderBottom = setYogaValue('border', Yoga.Edge.Bottom);\n\n/**\n * Set border left attribute to node's Yoga instance\n *\n * @param {number} border border left width\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setBorderLeft = setYogaValue('border', Yoga.Edge.Left);\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Set position top attribute to node's Yoga instance\n *\n * @param {number} position position top\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPositionTop = setYogaValue('position', Yoga.Edge.Top);\n\n/**\n * Set position right attribute to node's Yoga instance\n *\n * @param {number} position position right\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPositionRight = setYogaValue('position', Yoga.Edge.Right);\n\n/**\n * Set position bottom attribute to node's Yoga instance\n *\n * @param {number} position position bottom\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPositionBottom = setYogaValue('position', Yoga.Edge.Bottom);\n\n/**\n * Set position left attribute to node's Yoga instance\n *\n * @param {number} position position left\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\nconst setPositionLeft = setYogaValue('position', Yoga.Edge.Left);\n\n/**\n * Set width to node's Yoga instance\n *\n * @param {number} width\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setWidth = setYogaValue('width');\n\n/**\n * Set min width to node's Yoga instance\n *\n * @param {number} min width\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setMinWidth = setYogaValue('minWidth');\n\n/**\n * Set max width to node's Yoga instance\n *\n * @param {number} max width\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setMaxWidth = setYogaValue('maxWidth');\n\n/**\n * Set height to node's Yoga instance\n *\n * @param {number} height\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setHeight = setYogaValue('height');\n\n/**\n * Set min height to node's Yoga instance\n *\n * @param {number} min height\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setMinHeight = setYogaValue('minHeight');\n\n/**\n * Set max height to node's Yoga instance\n *\n * @param {number} max height\n * @param {Object} node instance\n * @returns {Object} node instance\n */\nconst setMaxHeight = setYogaValue('maxHeight');\n\n/**\n * @typedef {Function} NodeInstanceWrapper\n * @param {Object} node node instance\n * @returns {Object} node instance\n */\n\n/**\n * Check if value is a percentage and throw error if so\n *\n * @param {string} attr property\n * @param {unknown} value\n * @returns {void}\n */\nconst checkPercents = (attr, value) => {\n const percent = matchPercent(value);\n if (percent) {\n throw new Error(\"You can't pass percentage values to \" + attr + \" property\");\n }\n};\n\n/**\n * Set rowGap value to node's Yoga instance\n *\n * @param {number} value gap value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setRowGap = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n checkPercents('rowGap', value);\n yogaNode.setGap(Yoga.Gutter.Row, value);\n }\n return node;\n};\n\n/**\n * Set columnGap value to node's Yoga instance\n *\n * @param {number} value gap value\n * @returns {NodeInstanceWrapper} node instance wrapper\n */\nconst setColumnGap = value => node => {\n const {\n yogaNode\n } = node;\n if (!isNil(value) && yogaNode) {\n checkPercents('columnGap', value);\n yogaNode.setGap(Yoga.Gutter.Column, value);\n }\n return node;\n};\n\nconst getAspectRatio = viewbox => {\n if (!viewbox) return null;\n return (viewbox.maxX - viewbox.minX) / (viewbox.maxY - viewbox.minY);\n};\n\n/**\n * @typedef {Function} MeasureSvg\n * @param {number} width\n * @param {number} widthMode\n * @param {number} height\n * @param {number} heightMode\n * @returns {{ width: number, height: number }} svg width and height\n */\n\n/**\n * Yoga svg measure function\n *\n * @param {Object} page\n * @param {Object} node\n * @returns {MeasureSvg} measure svg\n */\nconst measureCanvas$1 = (page, node) => (width, widthMode, height, heightMode) => {\n const aspectRatio = getAspectRatio(node.props.viewBox) || 1;\n if (widthMode === Yoga.MeasureMode.Exactly || widthMode === Yoga.MeasureMode.AtMost) {\n return {\n width,\n height: width / aspectRatio\n };\n }\n if (heightMode === Yoga.MeasureMode.Exactly) {\n return {\n width: height * aspectRatio\n };\n }\n return {};\n};\n\n/**\n * Get lines width (if any)\n *\n * @param {Object} node\n * @returns {number} lines width\n */\nconst linesWidth = node => {\n if (!node.lines) return 0;\n return Math.max(0, ...node.lines.map(line => line.xAdvance));\n};\n\n/**\n * Get lines height (if any)\n *\n * @param {Object} node\n * @returns {number} lines height\n */\nconst linesHeight = node => {\n if (!node.lines) return -1;\n return node.lines.reduce((acc, line) => acc + line.box.height, 0);\n};\n\n/* eslint-disable no-param-reassign */\n\nconst ALIGNMENT_FACTORS = {\n center: 0.5,\n right: 1\n};\n\n/**\n * @typedef {Function} MeasureText\n * @param {number} width\n * @param {number} widthMode\n * @param {number} height\n * @returns {{ width: number, height: number }} text width and height\n */\n\n/**\n * Yoga text measure function\n *\n * @param {Object} page\n * @param {Object} node\n * @param {Object} fontStore\n * @returns {MeasureText} measure text function\n */\nconst measureText = (page, node, fontStore) => (width, widthMode, height) => {\n if (widthMode === Yoga.MeasureMode.Exactly) {\n if (!node.lines) node.lines = layoutText(node, width, height, fontStore);\n return {\n height: linesHeight(node)\n };\n }\n if (widthMode === Yoga.MeasureMode.AtMost) {\n var _node$style;\n const alignFactor = ALIGNMENT_FACTORS[(_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.textAlign] || 0;\n if (!node.lines) {\n node.lines = layoutText(node, width, height, fontStore);\n node.alignOffset = (width - linesWidth(node)) * alignFactor; // Compensate align in variable width containers\n }\n return {\n height: linesHeight(node),\n width: Math.min(width, linesWidth(node))\n };\n }\n return {};\n};\n\n/**\n * Get image ratio\n *\n * @param {Object} node image node\n * @returns {number} image ratio\n */\nconst getRatio = node => {\n var _node$image;\n return (_node$image = node.image) !== null && _node$image !== void 0 && _node$image.data ? node.image.width / node.image.height : 1;\n};\n\n/**\n * Checks if page has auto height\n *\n * @param {Object} page\n * @returns {boolean} is page height auto\n */\nconst isHeightAuto = page => {\n var _page$box;\n return isNil((_page$box = page.box) === null || _page$box === void 0 ? void 0 : _page$box.height);\n};\n\nconst SAFETY_HEIGHT$1 = 10;\n\n/**\n * @typedef {Function} MeasureImage\n * @param {number} width\n * @param {number} widthMode\n * @param {number} height\n * @param {number} heightMode\n * @returns {{ width: number, height: number }} image width and height\n */\n\n/**\n * Yoga image measure function\n *\n * @param {Object} page page\n * @param {Object} node node\n * @returns {MeasureImage} measure image\n */\nconst measureImage = (page, node) => (width, widthMode, height, heightMode) => {\n const imageRatio = getRatio(node);\n const imageMargin = getMargin(node);\n const pagePadding = getPadding(page);\n const pageArea = isHeightAuto(page) ? Infinity : page.box.height - pagePadding.paddingTop - pagePadding.paddingBottom - imageMargin.marginTop - imageMargin.marginBottom - SAFETY_HEIGHT$1;\n\n // Skip measure if image data not present yet\n if (!node.image) return {\n width: 0,\n height: 0\n };\n if (widthMode === Yoga.MeasureMode.Exactly && heightMode === Yoga.MeasureMode.Undefined) {\n const scaledHeight = width / imageRatio;\n return {\n height: Math.min(pageArea, scaledHeight)\n };\n }\n if (heightMode === Yoga.MeasureMode.Exactly && (widthMode === Yoga.MeasureMode.AtMost || widthMode === Yoga.MeasureMode.Undefined)) {\n return {\n width: Math.min(height * imageRatio, width)\n };\n }\n if (widthMode === Yoga.MeasureMode.Exactly && heightMode === Yoga.MeasureMode.AtMost) {\n const scaledHeight = width / imageRatio;\n return {\n height: Math.min(height, pageArea, scaledHeight)\n };\n }\n if (widthMode === Yoga.MeasureMode.AtMost && heightMode === Yoga.MeasureMode.AtMost) {\n if (imageRatio > 1) {\n return {\n width,\n height: Math.min(width / imageRatio, height)\n };\n }\n return {\n height,\n width: Math.min(height * imageRatio, width)\n };\n }\n return {\n height,\n width\n };\n};\n\n/* eslint-disable no-param-reassign */\n\nconst SAFETY_HEIGHT = 10;\nconst getMax = values => Math.max(-Infinity, ...values);\n\n/**\n * Helper object to predict canvas size\n * TODO: Implement remaining functions (as close as possible);\n */\nconst measureCtx = () => {\n const ctx = {};\n const points = [];\n const nil = () => ctx;\n const addPoint = (x, y) => points.push([x, y]);\n const moveTo = function () {\n addPoint(...arguments);\n return ctx;\n };\n const rect = (x, y, w, h) => {\n addPoint(x, y);\n addPoint(x + w, y);\n addPoint(x, y + h);\n addPoint(x + w, y + h);\n return ctx;\n };\n const ellipse = (x, y, rx, ry) => {\n ry = ry || rx;\n addPoint(x - rx, y - ry);\n addPoint(x + rx, y - ry);\n addPoint(x + rx, y + ry);\n addPoint(x - rx, y + ry);\n return ctx;\n };\n const polygon = function () {\n points.push(...arguments);\n return ctx;\n };\n\n // Change dimensions\n ctx.rect = rect;\n ctx.moveTo = moveTo;\n ctx.lineTo = moveTo;\n ctx.circle = ellipse;\n ctx.polygon = polygon;\n ctx.ellipse = ellipse;\n ctx.roundedRect = rect;\n\n // To be implemented\n ctx.text = nil;\n ctx.path = nil;\n ctx.lineWidth = nil;\n ctx.bezierCurveTo = nil;\n ctx.quadraticCurveTo = nil;\n ctx.scale = nil;\n ctx.rotate = nil;\n ctx.translate = nil;\n\n // These don't change dimensions\n ctx.dash = nil;\n ctx.clip = nil;\n ctx.save = nil;\n ctx.fill = nil;\n ctx.font = nil;\n ctx.stroke = nil;\n ctx.lineCap = nil;\n ctx.opacity = nil;\n ctx.restore = nil;\n ctx.lineJoin = nil;\n ctx.fontSize = nil;\n ctx.fillColor = nil;\n ctx.miterLimit = nil;\n ctx.strokeColor = nil;\n ctx.fillOpacity = nil;\n ctx.strokeOpacity = nil;\n ctx.linearGradient = nil;\n ctx.radialGradient = nil;\n ctx.getWidth = () => getMax(points.map(p => p[0]));\n ctx.getHeight = () => getMax(points.map(p => p[1]));\n return ctx;\n};\n\n/**\n * @typedef {Function} MeasureCanvas\n * @returns {{ width: number, height: number }} canvas width and height\n */\n\n/**\n * Yoga canvas measure function\n *\n * @param {Object} page\n * @param {Object} node\n * @returns {MeasureCanvas} measure canvas\n */\nconst measureCanvas = (page, node) => () => {\n const imageMargin = getMargin(node);\n const pagePadding = getPadding(page);\n const pageArea = isHeightAuto(page) ? Infinity : page.box.height - pagePadding.paddingTop - pagePadding.paddingBottom - imageMargin.marginTop - imageMargin.marginBottom - SAFETY_HEIGHT;\n const ctx = measureCtx();\n node.props.paint(ctx);\n const width = ctx.getWidth();\n const height = Math.min(pageArea, ctx.getHeight());\n return {\n width,\n height\n };\n};\n\nconst isType$1 = type => node => node.type === type;\nconst isSvg = isType$1(P.Svg);\nconst isText$2 = isType$1(P.Text);\nconst isNote = isType$1(P.Note);\nconst isPage = isType$1(P.Page);\nconst isImage = isType$1(P.Image);\nconst isCanvas = isType$1(P.Canvas);\nconst isTextInstance$1 = isType$1(P.TextInstance);\nconst setNodeHeight = node => {\n const value = isPage(node) ? node.box.height : node.style.height;\n return setHeight(value);\n};\n\n/**\n * Set styles valeus into yoga node before layout calculation\n *\n * @param {Object} node\n * @returns {Object} node\n */\nconst setYogaValues = node => {\n compose(setNodeHeight(node), setWidth(node.style.width), setMinWidth(node.style.minWidth), setMaxWidth(node.style.maxWidth), setMinHeight(node.style.minHeight), setMaxHeight(node.style.maxHeight), setMarginTop(node.style.marginTop), setMarginRight(node.style.marginRight), setMarginBottom(node.style.marginBottom), setMarginLeft(node.style.marginLeft), setPaddingTop(node.style.paddingTop), setPaddingRight(node.style.paddingRight), setPaddingBottom(node.style.paddingBottom), setPaddingLeft(node.style.paddingLeft), setPositionType(node.style.position), setPositionTop(node.style.top), setPositionRight(node.style.right), setPositionBottom(node.style.bottom), setPositionLeft(node.style.left), setBorderTop(node.style.borderTopWidth), setBorderRight(node.style.borderRightWidth), setBorderBottom(node.style.borderBottomWidth), setBorderLeft(node.style.borderLeftWidth), setDisplay(node.style.display), setFlexDirection(node.style.flexDirection), setAlignSelf(node.style.alignSelf), setAlignContent(node.style.alignContent), setAlignItems(node.style.alignItems), setJustifyContent(node.style.justifyContent), setFlexWrap(node.style.flexWrap), setOverflow(node.style.overflow), setAspectRatio(node.style.aspectRatio), setFlexBasis(node.style.flexBasis), setFlexGrow(node.style.flexGrow), setFlexShrink(node.style.flexShrink), setRowGap(node.style.rowGap), setColumnGap(node.style.columnGap))(node);\n};\n\n/**\n * @typedef {Function} InsertYogaNodes\n * @param {Object} child child node\n * @returns {Object} node\n */\n\n/**\n * Inserts child into parent' yoga node\n *\n * @param {Object} parent parent\n * @returns {InsertYogaNodes} insert yoga nodes\n */\nconst insertYogaNodes = parent => child => {\n parent.insertChild(child.yogaNode, parent.getChildCount());\n return child;\n};\nconst setMeasureFunc = (node, page, fontStore) => {\n const {\n yogaNode\n } = node;\n if (isText$2(node)) {\n yogaNode.setMeasureFunc(measureText(page, node, fontStore));\n }\n if (isImage(node)) {\n yogaNode.setMeasureFunc(measureImage(page, node));\n }\n if (isCanvas(node)) {\n yogaNode.setMeasureFunc(measureCanvas(page, node));\n }\n if (isSvg(node)) {\n yogaNode.setMeasureFunc(measureCanvas$1(page, node));\n }\n return node;\n};\nconst isLayoutElement = node => !isText$2(node) && !isNote(node) && !isSvg(node);\n\n/**\n * @typedef {Function} CreateYogaNodes\n * @param {Object} node\n * @returns {Object} node with appended yoga node\n */\n\n/**\n * Creates and add yoga node to document tree\n * Handles measure function for text and image nodes\n *\n * @returns {CreateYogaNodes} create yoga nodes\n */\nconst createYogaNodes = (page, fontStore, yoga) => node => {\n const yogaNode = yoga.node.create();\n const result = Object.assign({}, node, {\n yogaNode\n });\n setYogaValues(result);\n if (isLayoutElement(node) && node.children) {\n const resolveChild = compose(insertYogaNodes(yogaNode), createYogaNodes(page, fontStore, yoga));\n result.children = node.children.map(resolveChild);\n }\n setMeasureFunc(result, page, fontStore);\n return result;\n};\n\n/**\n * Performs yoga calculation\n *\n * @param {Object} page page node\n * @returns {Object} page node\n */\nconst calculateLayout = page => {\n page.yogaNode.calculateLayout();\n return page;\n};\n\n/**\n * Saves Yoga layout result into 'box' attribute of node\n *\n * @param {Object} node\n * @returns {Object} node with box data\n */\nconst persistDimensions = node => {\n if (isTextInstance$1(node)) return node;\n const box = Object.assign(getPadding(node), getMargin(node), getBorderWidth(node), getPosition(node), getDimension(node));\n const newNode = Object.assign({}, node, {\n box\n });\n if (!node.children) return newNode;\n const children = node.children.map(persistDimensions);\n return Object.assign({}, newNode, {\n children\n });\n};\n\n/**\n * Removes yoga node from document tree\n *\n * @param {Object} node\n * @returns {Object} node without yoga node\n */\nconst destroyYogaNodes = node => {\n const newNode = Object.assign({}, node);\n delete newNode.yogaNode;\n if (!node.children) return newNode;\n const children = node.children.map(destroyYogaNodes);\n return Object.assign({}, newNode, {\n children\n });\n};\n\n/**\n * Free yoga node from document tree\n *\n * @param {Object} node\n * @returns {Object} node without yoga node\n */\nconst freeYogaNodes = node => {\n if (node.yogaNode) node.yogaNode.freeRecursive();\n return node;\n};\n\n/**\n * Calculates page object layout using Yoga.\n * Takes node values from 'box' and 'style' attributes, and persist them back into 'box'\n * Destroy yoga values at the end.\n *\n * @param {Object} page object\n * @returns {Object} page object with correct 'box' layout attributes\n */\nconst resolvePageDimensions = (page, fontStore, yoga) => {\n if (isNil(page)) return null;\n return compose(destroyYogaNodes, freeYogaNodes, persistDimensions, calculateLayout, createYogaNodes(page, fontStore, yoga))(page);\n};\n\n/**\n * Calculates root object layout using Yoga.\n *\n * @param {Object} node root object\n * @param {Object} fontStore font store\n * @returns {Object} root object with correct 'box' layout attributes\n */\nconst resolveDimensions = (node, fontStore) => {\n if (!node.children) return node;\n const resolveChild = child => resolvePageDimensions(child, fontStore, node.yoga);\n const children = node.children.map(resolveChild);\n return Object.assign({}, node, {\n children\n });\n};\n\n/* eslint-disable no-use-before-define */\n/* eslint-disable no-continue */\n/* eslint-disable prefer-destructuring */\n\nconst isText$1 = node => node.type === P.Text;\n\n// Prevent splitting elements by low decimal numbers\nconst SAFETY_THRESHOLD = 0.001;\nconst assingChildren = (children, node) => Object.assign({}, node, {\n children\n});\nconst getTop = node => {\n var _node$box;\n return ((_node$box = node.box) === null || _node$box === void 0 ? void 0 : _node$box.top) || 0;\n};\nconst allFixed = nodes => nodes.every(isFixed);\nconst isDynamic = node => {\n var _node$props;\n return !isNil((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.render);\n};\nconst relayoutPage = compose(resolveTextLayout, resolvePageDimensions, resolveInheritance, resolvePageStyles);\nconst warnUnavailableSpace = node => {\n console.warn(\"Node of type \" + node.type + \" can't wrap between pages and it's bigger than available page height\");\n};\nconst splitNodes = (height, contentArea, nodes) => {\n const currentChildren = [];\n const nextChildren = [];\n for (let i = 0; i < nodes.length; i += 1) {\n const child = nodes[i];\n const futureNodes = nodes.slice(i + 1);\n const futureFixedNodes = futureNodes.filter(isFixed);\n const nodeTop = getTop(child);\n const nodeHeight = child.box.height;\n const isOutside = height <= nodeTop;\n const shouldBreak$1 = shouldBreak(child, futureNodes, height);\n const shouldSplit = height + SAFETY_THRESHOLD < nodeTop + nodeHeight;\n const canWrap = getWrap(child);\n const fitsInsidePage = nodeHeight <= contentArea;\n if (isFixed(child)) {\n nextChildren.push(child);\n currentChildren.push(child);\n continue;\n }\n if (isOutside) {\n const box = Object.assign({}, child.box, {\n top: child.box.top - height\n });\n const next = Object.assign({}, child, {\n box\n });\n nextChildren.push(next);\n continue;\n }\n if (!fitsInsidePage && !canWrap) {\n currentChildren.push(child);\n nextChildren.push(...futureNodes);\n warnUnavailableSpace(child);\n break;\n }\n if (shouldBreak$1) {\n const box = Object.assign({}, child.box, {\n top: child.box.top - height\n });\n const props = Object.assign({}, child.props, {\n wrap: true,\n break: false\n });\n const next = Object.assign({}, child, {\n box,\n props\n });\n currentChildren.push(...futureFixedNodes);\n nextChildren.push(next, ...futureNodes);\n break;\n }\n if (shouldSplit) {\n const [currentChild, nextChild] = split(child, height, contentArea);\n\n // All children are moved to the next page, it doesn't make sense to show the parent on the current page\n if (child.children.length > 0 && currentChild.children.length === 0) {\n // But if the current page is empty then we can just include the parent on the current page\n if (currentChildren.length === 0) {\n currentChildren.push(child, ...futureFixedNodes);\n nextChildren.push(...futureNodes);\n } else {\n const box = Object.assign({}, child.box, {\n top: child.box.top - height\n });\n const next = Object.assign({}, child, {\n box\n });\n currentChildren.push(...futureFixedNodes);\n nextChildren.push(next, ...futureNodes);\n }\n break;\n }\n if (currentChild) currentChildren.push(currentChild);\n if (nextChild) nextChildren.push(nextChild);\n continue;\n }\n currentChildren.push(child);\n }\n return [currentChildren, nextChildren];\n};\nconst splitChildren = (height, contentArea, node) => {\n const children = node.children || [];\n const availableHeight = height - getTop(node);\n return splitNodes(availableHeight, contentArea, children);\n};\nconst splitView = (node, height, contentArea) => {\n const [currentNode, nextNode] = splitNode(node, height);\n const [currentChilds, nextChildren] = splitChildren(height, contentArea, node);\n return [assingChildren(currentChilds, currentNode), assingChildren(nextChildren, nextNode)];\n};\nconst split = (node, height, contentArea) => isText$1(node) ? splitText(node, height) : splitView(node, height, contentArea);\nconst shouldResolveDynamicNodes = node => {\n const children = node.children || [];\n return isDynamic(node) || children.some(shouldResolveDynamicNodes);\n};\nconst resolveDynamicNodes = (props, node) => {\n const isNodeDynamic = isDynamic(node);\n\n // Call render prop on dynamic nodes and append result to children\n const resolveChildren = function (children) {\n if (children === void 0) {\n children = [];\n }\n if (isNodeDynamic) {\n const res = node.props.render(props);\n return createInstances(res).filter(Boolean).map(n => resolveDynamicNodes(props, n));\n }\n return children.map(c => resolveDynamicNodes(props, c));\n };\n\n // We reset dynamic text box so it can be computed again later on\n const resetHeight = isNodeDynamic && isText$1(node);\n const box = resetHeight ? {\n ...node.box,\n height: 0\n } : node.box;\n const children = resolveChildren(node.children);\n const lines = isNodeDynamic ? null : node.lines;\n return Object.assign({}, node, {\n box,\n lines,\n children\n });\n};\nconst resolveDynamicPage = (props, page, fontStore, yoga) => {\n if (shouldResolveDynamicNodes(page)) {\n const resolvedPage = resolveDynamicNodes(props, page);\n return relayoutPage(resolvedPage, fontStore, yoga);\n }\n return page;\n};\nconst splitPage = (page, pageNumber, fontStore, yoga) => {\n const wrapArea = getWrapArea(page);\n const contentArea = getContentArea(page);\n const dynamicPage = resolveDynamicPage({\n pageNumber\n }, page, fontStore, yoga);\n const height = page.style.height;\n const [currentChilds, nextChilds] = splitNodes(wrapArea, contentArea, dynamicPage.children);\n const relayout = node => relayoutPage(node, fontStore, yoga);\n const currentBox = {\n ...page.box,\n height\n };\n const currentPage = relayout(Object.assign({}, page, {\n box: currentBox,\n children: currentChilds\n }));\n if (nextChilds.length === 0 || allFixed(nextChilds)) return [currentPage, null];\n const nextBox = omit('height', page.box);\n const nextProps = omit('bookmark', page.props);\n const nextPage = relayout(Object.assign({}, page, {\n props: nextProps,\n box: nextBox,\n children: nextChilds\n }));\n return [currentPage, nextPage];\n};\nconst resolvePageIndices = (fontStore, yoga, page, pageNumber, pages) => {\n const totalPages = pages.length;\n const props = {\n totalPages,\n pageNumber: pageNumber + 1,\n subPageNumber: page.subPageNumber + 1,\n subPageTotalPages: page.subPageTotalPages\n };\n return resolveDynamicPage(props, page, fontStore, yoga);\n};\nconst assocSubPageData = subpages => {\n return subpages.map((page, i) => ({\n ...page,\n subPageNumber: i,\n subPageTotalPages: subpages.length\n }));\n};\nconst dissocSubPageData = page => {\n return omit(['subPageNumber', 'subPageTotalPages'], page);\n};\nconst paginate = (page, pageNumber, fontStore, yoga) => {\n var _page$props;\n if (!page) return [];\n if (((_page$props = page.props) === null || _page$props === void 0 ? void 0 : _page$props.wrap) === false) return [page];\n let splittedPage = splitPage(page, pageNumber, fontStore, yoga);\n const pages = [splittedPage[0]];\n let nextPage = splittedPage[1];\n while (nextPage !== null) {\n splittedPage = splitPage(nextPage, pageNumber + pages.length, fontStore, yoga);\n pages.push(splittedPage[0]);\n nextPage = splittedPage[1];\n }\n return pages;\n};\n\n/**\n * Performs pagination. This is the step responsible of breaking the whole document\n * into pages following pagiation rules, such as `fixed`, `break` and dynamic nodes.\n *\n * @param {Object} doc node\n * @param {Object} fontStore font store\n * @returns {Object} layout node\n */\nconst resolvePagination = (doc, fontStore) => {\n let pages = [];\n let pageNumber = 1;\n for (let i = 0; i < doc.children.length; i += 1) {\n const page = doc.children[i];\n let subpages = paginate(page, pageNumber, fontStore, doc.yoga);\n subpages = assocSubPageData(subpages);\n pageNumber += subpages.length;\n pages = pages.concat(subpages);\n }\n pages = pages.map(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return dissocSubPageData(resolvePageIndices(fontStore, doc.yoga, ...args));\n });\n return assingChildren(pages, doc);\n};\n\n/**\n * @typedef {Function} ResolvePageHorizontalPadding\n * @param {string} value padding value\n * @returns {Object} translated padding value\n */\n\n/**\n * Translates page percentage horizontal paddings in fixed ones\n *\n * @param {Object} container page container\n * @returns {ResolvePageHorizontalPadding} resolve page horizontal padding\n */\nconst resolvePageHorizontalPadding = container => value => {\n const match = matchPercent(value);\n return match ? match.percent * container.width : value;\n};\n\n/**\n * @typedef {Function} ResolvePageVerticalPadding\n * @param {string} padding value\n * @returns {Object} translated padding value\n */\n\n/**\n * Translates page percentage vertical paddings in fixed ones\n *\n * @param {Object} container page container\n * @returns {ResolvePageVerticalPadding} resolve page vertical padding\n */\nconst resolvePageVerticalPadding = container => value => {\n const match = matchPercent(value);\n return match ? match.percent * container.height : value;\n};\n\n/**\n * Translates page percentage paddings in fixed ones\n *\n * @param {Object} page\n * @returns {Object} page with fixed paddings\n */\nconst resolvePagePaddings = page => {\n const container = page.style;\n const style = evolve({\n paddingTop: resolvePageVerticalPadding(container),\n paddingLeft: resolvePageHorizontalPadding(container),\n paddingRight: resolvePageHorizontalPadding(container),\n paddingBottom: resolvePageVerticalPadding(container)\n }, page.style);\n return Object.assign({}, page, {\n style\n });\n};\n\n/**\n * Translates all pages percentage paddings in fixed ones\n * This has to be computed from pages calculated size and not by Yoga\n * because at this point we didn't performed pagination yet.\n *\n * @param {Object} root document root\n * @returns {Object} document root with translated page paddings\n */\nconst resolvePagesPaddings = root => {\n if (!root.children) return root;\n const children = root.children.map(resolvePagePaddings);\n return Object.assign({}, root, {\n children\n });\n};\n\n/**\n * @typedef {Function} ResolveRadius\n * @param {string | number} value border radius value\n * @returns {number} resolved radius value\n */\n\n/**\n *\n * @param {{ width: number, height: number }} container width and height\n * @returns {ResolveRadius} resolve radius function\n */\nconst resolveRadius = container => value => {\n if (!value) return undefined;\n const match = matchPercent(value);\n return match ? match.percent * Math.min(container.width, container.height) : value;\n};\n\n/**\n * Transforms percent border radius into fixed values\n *\n * @param {Object} node\n * @returns {Object} node\n */\nconst resolvePercentRadius = node => {\n const style = evolve({\n borderTopLeftRadius: resolveRadius(node.box),\n borderTopRightRadius: resolveRadius(node.box),\n borderBottomRightRadius: resolveRadius(node.box),\n borderBottomLeftRadius: resolveRadius(node.box)\n }, node.style || {});\n const newNode = Object.assign({}, node, {\n style\n });\n if (!node.children) return newNode;\n const children = node.children.map(resolvePercentRadius);\n return Object.assign({}, newNode, {\n children\n });\n};\n\n/**\n * Transform percent height into fixed\n *\n * @param {number} height\n * @returns {number} height\n */\nconst transformHeight = (pageArea, height) => {\n const match = matchPercent(height);\n return match ? match.percent * pageArea : height;\n};\n\n/**\n * Get page area (height minus paddings)\n *\n * @param {Object} page\n * @returns {number} page area\n */\nconst getPageArea = page => {\n var _page$style, _page$style2;\n const pageHeight = page.style.height;\n const pagePaddingTop = ((_page$style = page.style) === null || _page$style === void 0 ? void 0 : _page$style.paddingTop) || 0;\n const pagePaddingBottom = ((_page$style2 = page.style) === null || _page$style2 === void 0 ? void 0 : _page$style2.paddingBottom) || 0;\n return pageHeight - pagePaddingTop - pagePaddingBottom;\n};\n\n/**\n * Transform node percent height to fixed\n *\n * @param {Object} page\n * @param {Object} node\n * @returns {Object} transformed node\n */\nconst resolveNodePercentHeight = (page, node) => {\n var _page$style3, _node$style;\n if (isNil((_page$style3 = page.style) === null || _page$style3 === void 0 ? void 0 : _page$style3.height)) return node;\n if (isNil((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.height)) return node;\n const pageArea = getPageArea(page);\n const height = transformHeight(pageArea, node.style.height);\n const style = Object.assign({}, node.style, {\n height\n });\n return Object.assign({}, node, {\n style\n });\n};\n\n/**\n * Transform page immediate children with percent height to fixed\n *\n * @param {Object} page\n * @returns {Object} transformed page\n */\nconst resolvePagePercentHeight = page => {\n if (!page.children) return page;\n const resolveChild = child => resolveNodePercentHeight(page, child);\n const children = page.children.map(resolveChild);\n return Object.assign({}, page, {\n children\n });\n};\n\n/**\n * Transform all page immediate children with percent height to fixed.\n * This is needed for computing correct dimensions on pre-pagination layout.\n *\n * @param {Object} root document root\n * @returns {Object} transformed document root\n */\nconst resolvePercentHeight = root => {\n if (!root.children) return root;\n const children = root.children.map(resolvePagePercentHeight);\n return Object.assign({}, root, {\n children\n });\n};\n\nconst isType = type => node => node.type === type;\nconst isLink = isType(P.Link);\nconst isText = isType(P.Text);\nconst isTextInstance = isType(P.TextInstance);\n\n/**\n * Checks if node has render prop\n *\n * @param {Object} node\n * @returns {boolean} has render prop?\n */\nconst hasRenderProp = node => {\n var _node$props;\n return !!((_node$props = node.props) !== null && _node$props !== void 0 && _node$props.render);\n};\n\n/**\n * Checks if node is text type (Text or TextInstance)\n *\n * @param {Object} node\n * @returns {boolean} are all children text instances?\n */\nconst isTextType = node => isText(node) || isTextInstance(node);\n\n/**\n * Checks if is tet link that needs to be wrapped in Text\n *\n * @param {Object} node\n * @returns {boolean} are all children text instances?\n */\nconst isTextLink = node => {\n const children = node.children || [];\n\n // Text string inside a Link\n if (children.every(isTextInstance)) return true;\n\n // Text node inside a Link\n if (children.every(isText)) return false;\n return children.every(isTextType);\n};\n\n/**\n * Wraps node children inside Text node\n *\n * @param {Object} node\n * @returns {boolean} node with intermediate Text child\n */\nconst wrapText = node => {\n const textElement = {\n type: P.Text,\n props: {},\n style: {},\n box: {},\n children: node.children\n };\n return Object.assign({}, node, {\n children: [textElement]\n });\n};\nconst transformLink = node => {\n if (!isLink(node)) return node;\n\n // If has render prop substitute the instance by a Text, that will\n // ultimately render the inline Link via the textkit PDF renderer.\n if (hasRenderProp(node)) return Object.assign({}, node, {\n type: P.Text\n });\n\n // If is a text link (either contains Text or TextInstalce), wrap it\n // inside a Text element so styles are applied correctly\n\n if (isTextLink(node)) return wrapText(node);\n return node;\n};\n\n/**\n * Transforms Link layout to correctly render text and dynamic rendered links\n *\n * @param {Object} node\n * @returns {Object} node with link substitution\n */\nconst resolveLinkSubstitution = node => {\n if (!node.children) return node;\n const resolveChild = compose(transformLink, resolveLinkSubstitution);\n const children = node.children.map(resolveChild);\n return Object.assign({}, node, {\n children\n });\n};\n\nconst layout = asyncCompose(resolveZIndex, resolveOrigin, resolveAssets, resolvePagination, resolveTextLayout, resolvePercentRadius, resolveDimensions, resolveSvg, resolveAssets, resolveInheritance, resolvePercentHeight, resolvePagesPaddings, resolveStyles, resolveLinkSubstitution, resolveBookmarks, resolvePageSizes, resolveYoga);\n\nexport { layout as default };\n","export default () => {\n\t// https://mths.be/emoji\n\treturn /[#*0-9]\\uFE0F?\\u20E3|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26AA\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C8\\u26CF\\u26D1\\u26E9\\u26F0-\\u26F5\\u26F7\\u26F8\\u26FA\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B55\\u3030\\u303D\\u3297\\u3299]\\uFE0F?|[\\u261D\\u270C\\u270D](?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?|[\\u270A\\u270B](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u2693\\u26A1\\u26AB\\u26C5\\u26CE\\u26D4\\u26EA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2795-\\u2797\\u27B0\\u27BF\\u2B50]|\\u26D3\\uFE0F?(?:\\u200D\\uD83D\\uDCA5)?|\\u26F9(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\u2764\\uFE0F?(?:\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79))?|\\uD83C(?:[\\uDC04\\uDD70\\uDD71\\uDD7E\\uDD7F\\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uDFEB\\uDFED]|\\uD83D(?:[\\uDC68\\uDC69]\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?)|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?\\uDC68\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D\\uDC68\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC69(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:\\uDC8B\\u200D\\uD83D)?[\\uDC68\\uDC69]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D(?:[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?|\\uDC69\\u200D\\uD83D(?:\\uDC66(?:\\u200D\\uD83D\\uDC66)?|\\uDC67(?:\\u200D\\uD83D[\\uDC66\\uDC67])?))|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFC-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D\\uD83D(?:[\\uDC68\\uDC69]|\\uDC8B\\u200D\\uD83D[\\uDC68\\uDC69])\\uD83C[\\uDFFB-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83D[\\uDC68\\uDC69]\\uD83C[\\uDFFB-\\uDFFE])))?))?|\\uDC6F(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDD75(?:\\uD83C[\\uDFFB-\\uDFFF]|\\uFE0F)?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|\\uDE2E(?:\\u200D\\uD83D\\uDCA8)?|\\uDE35(?:\\u200D\\uD83D\\uDCAB)?|\\uDE36(?:\\u200D\\uD83C\\uDF2B\\uFE0F?)?|\\uDE42(?:\\u200D[\\u2194\\u2195]\\uFE0F?)?|\\uDEB6(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?)|\\uD83E(?:[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5\\uDEC3-\\uDEC5\\uDEF0\\uDEF2-\\uDEF8](?:\\uD83C[\\uDFFB-\\uDFFF])?|[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD\\uDDCF\\uDDD4\\uDDD6-\\uDDDD](?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDDDE\\uDDDF](?:\\u200D[\\u2640\\u2642]\\uFE0F?)?|[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCC\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE7C\\uDE80-\\uDE89\\uDE8F-\\uDEC2\\uDEC6\\uDECE-\\uDEDC\\uDEDF-\\uDEE9]|\\uDD3C(?:\\u200D[\\u2640\\u2642]\\uFE0F?|\\uD83C[\\uDFFB-\\uDFFF])?|\\uDDCE(?:\\uD83C[\\uDFFB-\\uDFFF])?(?:\\u200D(?:[\\u2640\\u2642]\\uFE0F?(?:\\u200D\\u27A1\\uFE0F?)?|\\u27A1\\uFE0F?))?|\\uDDD1(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1|\\uDDD1\\u200D\\uD83E\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?|\\uDDD2(?:\\u200D\\uD83E\\uDDD2)?))|\\uD83C(?:\\uDFFB(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFC-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFC(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFD-\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFD(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFE(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFD\\uDFFF]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?|\\uDFFF(?:\\u200D(?:[\\u2695\\u2696\\u2708]\\uFE0F?|\\u2764\\uFE0F?\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFE]|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E(?:[\\uDDAF\\uDDBC\\uDDBD](?:\\u200D\\u27A1\\uFE0F?)?|[\\uDDB0-\\uDDB3]|\\uDD1D\\u200D\\uD83E\\uDDD1\\uD83C[\\uDFFB-\\uDFFF])))?))?|\\uDEF1(?:\\uD83C(?:\\uDFFB(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFC-\\uDFFF])?|\\uDFFC(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])?|\\uDFFD(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])?|\\uDFFE(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])?|\\uDFFF(?:\\u200D\\uD83E\\uDEF2\\uD83C[\\uDFFB-\\uDFFE])?))?)/g;\n};\n","/** @license React v0.23.0\n * react-reconciler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nmodule.exports = function $$$reconciler($$$hostConfig) {\n'use strict';var aa=require(\"object-assign\"),ba=require(\"react\"),m=require(\"scheduler\");function n(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cCb||(a.current=Bb[Cb],Bb[Cb]=null,Cb--)}function z(a,b){Cb++;Bb[Cb]=a.current;a.current=b}\nvar Db={},A={current:Db},B={current:!1},Eb=Db;function Fb(a,b){var c=a.type.contextTypes;if(!c)return Db;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function C(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Gb(a){y(B,a);y(A,a)}\nfunction Hb(a){y(B,a);y(A,a)}function Ib(a,b,c){if(A.current!==Db)throw Error(n(168));z(A,b,a);z(B,c,a)}function Jb(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(n(108,ta(b)||\"Unknown\",e));return aa({},c,{},d)}function Kb(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||Db;Eb=A.current;z(A,b,a);z(B,B.current,a);return!0}\nfunction Lb(a,b,c){var d=a.stateNode;if(!d)throw Error(n(169));c?(b=Jb(a,b,Eb),d.__reactInternalMemoizedMergedChildContext=b,y(B,a),y(A,a),z(A,b,a)):y(B,a);z(B,c,a)}\nvar Mb=m.unstable_runWithPriority,Nb=m.unstable_scheduleCallback,Ob=m.unstable_cancelCallback,Pb=m.unstable_shouldYield,Qb=m.unstable_requestPaint,Tb=m.unstable_now,Ub=m.unstable_getCurrentPriorityLevel,Vb=m.unstable_ImmediatePriority,Wb=m.unstable_UserBlockingPriority,Xb=m.unstable_NormalPriority,Yb=m.unstable_LowPriority,Zb=m.unstable_IdlePriority,$b={},ac=void 0!==Qb?Qb:function(){},bc=null,cc=null,dc=!1,ec=Tb(),E=1E4>ec?Tb:function(){return Tb()-ec};\nfunction fc(){switch(Ub()){case Vb:return 99;case Wb:return 98;case Xb:return 97;case Yb:return 96;case Zb:return 95;default:throw Error(n(332));}}function gc(a){switch(a){case 99:return Vb;case 98:return Wb;case 97:return Xb;case 96:return Yb;case 95:return Zb;default:throw Error(n(332));}}function hc(a,b){a=gc(a);return Mb(a,b)}function ic(a,b,c){a=gc(a);return Nb(a,b,c)}function jc(a){null===bc?(bc=[a],cc=Nb(Vb,kc)):bc.push(a);return $b}function F(){if(null!==cc){var a=cc;cc=null;Ob(a)}kc()}\nfunction kc(){if(!dc&&null!==bc){dc=!0;var a=0;try{var b=bc;hc(99,function(){for(;a=b&&(Bc=!0),a.firstContext=null)}function Cc(a,b){if(vc!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)vc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===uc){if(null===tc)throw Error(n(308));uc=b;tc.dependencies={expirationTime:0,firstContext:b,responders:null}}else uc=uc.next=b}return Pa?a._currentValue:a._currentValue2}var Dc=!1;\nfunction Ec(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Fc(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}\nfunction Gc(a,b){return{expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Hc(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}\nfunction Ic(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=Ec(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=Ec(a.memoizedState),e=c.updateQueue=Ec(c.memoizedState)):d=a.updateQueue=Fc(e):null===e&&(e=c.updateQueue=Fc(d));null===e||d===e?Hc(d,b):null===d.lastUpdate||null===e.lastUpdate?(Hc(d,b),Hc(e,b)):(Hc(d,b),e.lastUpdate=b)}\nfunction Jc(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=Ec(a.memoizedState):Kc(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function Kc(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=Fc(b));return b}\nfunction Lc(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,\"function\"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-4097|64;case 0:a=c.payload;e=\"function\"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return aa({},d,e);case 2:Dc=!0}return d}\nfunction Nc(a,b,c,d,e){Dc=!1;b=Kc(a,b);for(var f=b.baseState,g=null,l=0,h=b.firstUpdate,k=f;null!==h;){var p=h.expirationTime;pr?(p=t,t=null):p=t.sibling;var v=x(e,t,h[r],l);if(null===v){null===t&&(t=p);break}a&&\nt&&null===v.alternate&&b(e,t);g=f(v,g,r);null===w?k=v:w.sibling=v;w=v;t=p}if(r===h.length)return c(e,t),k;if(null===t){for(;rw?(p=r,r=null):p=r.sibling;var N=x(e,r,v.value,l);if(null===N){null===r&&(r=p);break}a&&r&&null===N.alternate&&b(e,r);g=f(N,g,w);null===t?k=N:t.sibling=N;t=N;r=p}if(v.done)return c(e,r),k;if(null===r){for(;!v.done;w++,v=h.next())v=D(e,v.value,l),null!==v&&(g=f(v,g,w),null===t?k=v:t.sibling=v,t=v);return k}for(r=d(e,r);!v.done;w++,v=h.next())v=K(r,e,w,v.value,l),null!==v&&(a&&null!==\nv.alternate&&r.delete(null===v.key?w:v.key),g=f(v,g,w),null===t?k=v:t.sibling=v,t=v);a&&r.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k=\"object\"===typeof f&&null!==f&&f.type===ea&&null===f.key;k&&(f=f.props.children);var l=\"object\"===typeof f&&null!==f;if(l)switch(f.$$typeof){case ca:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ea:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ea?f.props.children:f.props,h);d.ref=cd(a,k,f);d.return=a;a=d;break a}else{c(a,\nk);break}else b(a,k);k=k.sibling}f.type===ea?(d=jd(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=hd(f.type,f.key,f.props,null,a.mode,h),h.ref=cd(a,d,f),h.return=a,a=h)}return g(a);case da:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=id(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===\ntypeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=gd(f,a.mode,h),d.return=a,a=d),g(a);if(bd(f))return Ha(a,d,f,h);if(ra(f))return O(a,d,f,h);l&&dd(a,f);if(\"undefined\"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(n(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}var kd=ed(!0),ld=ed(!1),md={},H={current:md},nd={current:md},od={current:md};function pd(a){if(a===md)throw Error(n(174));return a}\nfunction qd(a,b){z(od,b,a);z(nd,a,a);z(H,md,a);b=Aa(b);y(H,a);z(H,b,a)}function rd(a){y(H,a);y(nd,a);y(od,a)}function sd(a){var b=pd(od.current),c=pd(H.current);b=Ba(c,a.type,b);c!==b&&(z(nd,a,a),z(H,b,a))}function td(a){nd.current===a&&(y(H,a),y(nd,a))}var I={current:0};\nfunction ud(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||qb(c)||rb(c)))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function vd(a,b){return{responder:a,props:b}}\nvar wd=q.ReactCurrentDispatcher,J=q.ReactCurrentBatchConfig,xd=0,yd=null,L=null,zd=null,Ad=null,M=null,Bd=null,Cd=0,Dd=null,Ed=0,Fd=!1,Gd=null,Hd=0;function P(){throw Error(n(321));}function Id(a,b){if(null===b)return!1;for(var c=0;cCd&&(Cd=p,Pc(Cd))):(Oc(p,h.suspenseConfig),f=h.eagerReducer===a?h.eagerState:a(f,h.action));g=h;h=h.next}while(null!==h&&h!==d);k||(l=g,e=f);oc(f,b.memoizedState)||(Bc=!0);b.memoizedState=f;b.baseUpdate=l;b.baseState=e;c.lastRenderedState=f}return[b.memoizedState,c.dispatch]}\nfunction Sd(a){var b=Od();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={last:null,dispatch:null,lastRenderedReducer:Qd,lastRenderedState:a};a=a.dispatch=Td.bind(null,yd,a);return[b.memoizedState,a]}function Ud(a){return Rd(Qd,a)}function Vd(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};null===Dd?(Dd={lastEffect:null},Dd.lastEffect=a.next=a):(b=Dd.lastEffect,null===b?Dd.lastEffect=a.next=a:(c=b.next,b.next=a,a.next=c,Dd.lastEffect=a));return a}\nfunction Wd(a,b,c,d){var e=Od();Ed|=a;e.memoizedState=Vd(b,c,void 0,void 0===d?null:d)}function Xd(a,b,c,d){var e=Pd();d=void 0===d?null:d;var f=void 0;if(null!==L){var g=L.memoizedState;f=g.destroy;if(null!==d&&Id(d,g.deps)){Vd(0,c,f,d);return}}Ed|=a;e.memoizedState=Vd(b,c,f,d)}function Yd(a,b){return Wd(516,192,a,b)}function Zd(a,b){return Xd(516,192,a,b)}\nfunction $d(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function ae(){}function be(a,b){Od().memoizedState=[a,void 0===b?null:b];return a}function ce(a,b){var c=Pd();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Id(b,d[1]))return d[0];c.memoizedState=[a,b];return a}\nfunction Td(a,b,c){if(!(25>Hd))throw Error(n(301));var d=a.alternate;if(a===yd||null!==d&&d===yd)if(Fd=!0,a={expirationTime:xd,suspenseConfig:null,action:c,eagerReducer:null,eagerState:null,next:null},null===Gd&&(Gd=new Map),c=Gd.get(b),void 0===c)Gd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}else{var e=G(),f=Sc.suspense;e=Vc(e,a,f);f={expirationTime:e,suspenseConfig:f,action:c,eagerReducer:null,eagerState:null,next:null};var g=b.last;if(null===g)f.next=f;else{var l=g.next;null!==l&&(f.next=\nl);g.next=f}b.last=f;if(0===a.expirationTime&&(null===d||0===d.expirationTime)&&(d=b.lastRenderedReducer,null!==d))try{var h=b.lastRenderedState,k=d(h,c);f.eagerReducer=d;f.eagerState=k;if(oc(k,h))return}catch(p){}finally{}Wc(a,e)}}\nvar Md={readContext:Cc,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useResponder:P,useDeferredValue:P,useTransition:P},Kd={readContext:Cc,useCallback:be,useContext:Cc,useEffect:Yd,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Wd(4,36,$d.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Wd(4,36,a,b)},useMemo:function(a,b){var c=Od();b=void 0===b?null:b;a=a();c.memoizedState=\n[a,b];return a},useReducer:function(a,b,c){var d=Od();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={last:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Td.bind(null,yd,a);return[d.memoizedState,a]},useRef:function(a){var b=Od();a={current:a};return b.memoizedState=a},useState:Sd,useDebugValue:ae,useResponder:vd,useDeferredValue:function(a,b){var c=Sd(a),d=c[0],e=c[1];Yd(function(){m.unstable_next(function(){var c=J.suspense;J.suspense=void 0===b?null:b;try{e(a)}finally{J.suspense=\nc}})},[a,b]);return d},useTransition:function(a){var b=Sd(!1),c=b[0],d=b[1];return[be(function(b){d(!0);m.unstable_next(function(){var c=J.suspense;J.suspense=void 0===a?null:a;try{d(!1),b()}finally{J.suspense=c}})},[a,c]),c]}},Ld={readContext:Cc,useCallback:ce,useContext:Cc,useEffect:Zd,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Xd(4,36,$d.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Xd(4,36,a,b)},useMemo:function(a,b){var c=Pd();b=void 0===b?\nnull:b;var d=c.memoizedState;if(null!==d&&null!==b&&Id(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a},useReducer:Rd,useRef:function(){return Pd().memoizedState},useState:Ud,useDebugValue:ae,useResponder:vd,useDeferredValue:function(a,b){var c=Ud(a),d=c[0],e=c[1];Zd(function(){m.unstable_next(function(){var c=J.suspense;J.suspense=void 0===b?null:b;try{e(a)}finally{J.suspense=c}})},[a,b]);return d},useTransition:function(a){var b=Ud(!1),c=b[0],d=b[1];return[ce(function(b){d(!0);m.unstable_next(function(){var c=\nJ.suspense;J.suspense=void 0===a?null:a;try{d(!1),b()}finally{J.suspense=c}})},[a,c]),c]}},de=null,ee=null,fe=!1;function ge(a,b){var c=he(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}\nfunction ie(a,b){switch(a.tag){case 5:return b=ob(b,a.type,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;case 6:return b=pb(b,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function je(a){if(fe){var b=ee;if(b){var c=b;if(!ie(a,b)){b=sb(c);if(!b||!ie(a,b)){a.effectTag=a.effectTag&-1025|2;fe=!1;de=a;return}ge(de,c)}de=a;ee=tb(b)}else a.effectTag=a.effectTag&-1025|2,fe=!1,de=a}}\nfunction ke(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;de=a}function ne(a){if(!Sa||a!==de)return!1;if(!fe)return ke(a),fe=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==b&&!Ja(b,a.memoizedProps))for(b=ee;b;)ge(a,b),b=sb(b);ke(a);if(13===a.tag){if(!Sa)throw Error(n(316));a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(n(317));ee=wb(a)}else ee=de?sb(a.stateNode):null;return!0}function oe(){Sa&&(ee=de=null,fe=!1)}var pe=q.ReactCurrentOwner,Bc=!1;\nfunction Q(a,b,c,d){b.child=null===a?ld(b,null,c,d):kd(b,a.child,c,d)}function qe(a,b,c,d,e){c=c.render;var f=b.ref;Ac(b,e);d=Jd(a,b,c,d,f,e);if(null!==a&&!Bc)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),re(a,b,e);b.effectTag|=1;Q(a,b,d,e);return b.child}\nfunction se(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!te(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ue(a,b,g,d,e,f);a=hd(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(eb)&&Jf.set(a,b)))}}\nfunction Nf(a,b){a.expirationTimea?b:a}\nfunction Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=jc(Of.bind(null,a));else{var b=Rf(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=G();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==$b&&Ob(c)}a.callbackExpirationTime=\nb;a.callbackPriority=d;b=1073741823===b?jc(Of.bind(null,a)):ic(d,Tf.bind(null,a),{timeout:10*(1073741821-b)-E()});a.callbackNode=b}}}\nfunction Tf(a,b){Mf=0;if(b)return b=G(),Uf(a,b),Z(a),null;var c=Rf(a);if(0!==c){b=a.callbackNode;if((T&(S|sf))!==R)throw Error(n(327));Vf();a===U&&c===W||Wf(a,c);if(null!==V){var d=T;T|=S;var e=Xf(a);do try{Yf();break}catch(l){Zf(a,l)}while(1);wc();T=d;pf.current=e;if(X===uf)throw b=zf,Wf(a,c),Pf(a,c),Z(a),b;if(null===V)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=X,U=null,d){case tf:case uf:throw Error(n(345));case vf:Uf(a,2=c){a.lastPingedTime=c;Wf(a,c);break}}f=Rf(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Ma(ag.bind(null,a),e);break}ag(a);break;case xf:Pf(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=$f(e));if(Ef&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Wf(a,c);break}e=Rf(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=\nd;break}1073741823!==Bf?d=10*(1073741821-Bf)-E():1073741823===Af?d=0:(d=10*(1073741821-Af)-5E3,e=E(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*of(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=E()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display.\"+Ab(e))}X!==yf&&(X=vf);f=Ne(f,e);h=d;do{switch(h.tag){case 3:g=f;h.effectTag|=4096;h.expirationTime=b;var r=jf(h,g,b);Jc(h,r);break a;case 1:g=f;var t=h.type,N=h.stateNode;if(0===(h.effectTag&64)&&(\"function\"===typeof t.getDerivedStateFromError||null!==N&&\"function\"===typeof N.componentDidCatch&&\n(null===nf||!nf.has(N)))){h.effectTag|=4096;h.expirationTime=b;var Mc=mf(h,g,b);Jc(h,Mc);break a}}h=h.return}while(null!==h)}V=gg(V)}catch(Rb){b=Rb;continue}break}while(1)}function Xf(){var a=pf.current;pf.current=Md;return null===a?Md:a}function Oc(a,b){aDf&&(Df=a)}function bg(){for(;null!==V;)V=hg(V)}function Yf(){for(;null!==V&&!Pb();)V=hg(V)}\nfunction hg(a){var b=ig(a.alternate,a,W);a.memoizedProps=a.pendingProps;null===b&&(b=gg(a));qf.current=null;return b}\nfunction gg(a){V=a;do{var b=V.alternate;a=V.return;if(0===(V.effectTag&2048)){a:{var c=b;b=V;var d=W,e=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:C(b.type)&&Gb(b);break;case 3:rd(b);Hb(b);e=b.stateNode;e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null);(null===c||null===c.child)&&ne(b)&&Fe(b);He(b);break;case 5:td(b);var f=pd(od.current);d=b.type;if(null!==c&&null!=b.stateNode)Ie(c,b,d,e,f),c.ref!==b.ref&&(b.effectTag|=128);else if(e){c=pd(H.current);\nif(ne(b)){e=b;if(!Sa)throw Error(n(175));c=ub(e.stateNode,e.type,e.memoizedProps,f,c,e);e.updateQueue=c;c=null!==c?!0:!1;c&&Fe(b)}else{var g=Ea(d,e,f,c,b);Ge(g,b,!1,!1);b.stateNode=g;Ga(g,d,e,f,c)&&Fe(b)}null!==b.ref&&(b.effectTag|=128)}else if(null===b.stateNode)throw Error(n(166));break;case 6:if(c&&null!=b.stateNode)Je(c,b,c.memoizedProps,e);else{if(\"string\"!==typeof e&&null===b.stateNode)throw Error(n(166));c=pd(od.current);f=pd(H.current);if(ne(b)){c=b;if(!Sa)throw Error(n(176));(c=vb(c.stateNode,\nc.memoizedProps,c))&&Fe(b)}else b.stateNode=La(e,c,f,b)}break;case 11:break;case 13:y(I,b);e=b.memoizedState;if(0!==(b.effectTag&64)){b.expirationTime=d;break a}e=null!==e;f=!1;null===c?void 0!==b.memoizedProps.fallback&&ne(b):(d=c.memoizedState,f=null!==d,e||null===d||(d=c.child.sibling,null!==d&&(g=b.firstEffect,null!==g?(b.firstEffect=d,d.nextEffect=g):(b.firstEffect=b.lastEffect=d,d.nextEffect=null),d.effectTag=8)));if(e&&!f&&0!==(b.mode&2))if(null===c&&!0!==b.memoizedProps.unstable_avoidThisFallback||\n0!==(I.current&1))X===tf&&(X=wf);else{if(X===tf||X===wf)X=xf;0!==Df&&null!==U&&(Pf(U,W),Qf(U,Df))}Ra&&e&&(b.effectTag|=4);Qa&&(e||f)&&(b.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:rd(b);He(b);break;case 10:yc(b);break;case 9:break;case 14:break;case 17:C(b.type)&&Gb(b);break;case 19:y(I,b);e=b.memoizedState;if(null===e)break;f=0!==(b.effectTag&64);g=e.rendering;if(null===g)if(f)Le(e,!1);else{if(X!==tf||null!==c&&0!==(c.effectTag&64))for(c=b.child;null!==c;){g=ud(c);if(null!==\ng){b.effectTag|=64;Le(e,!1);c=g.updateQueue;null!==c&&(b.updateQueue=c,b.effectTag|=4);null===e.lastEffect&&(b.firstEffect=null);b.lastEffect=e.lastEffect;c=d;for(e=b.child;null!==e;)f=e,d=c,f.effectTag&=2,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null,g=f.alternate,null===g?(f.childExpirationTime=0,f.expirationTime=d,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null):(f.childExpirationTime=g.childExpirationTime,f.expirationTime=g.expirationTime,\nf.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,d=g.dependencies,f.dependencies=null===d?null:{expirationTime:d.expirationTime,firstContext:d.firstContext,responders:d.responders}),e=e.sibling;z(I,I.current&1|2,b);b=b.child;break a}c=c.sibling}}else{if(!f)if(c=ud(g),null!==c){if(b.effectTag|=64,f=!0,c=c.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),Le(e,!0),null===e.tail&&\"hidden\"===e.tailMode){b=b.lastEffect=e.lastEffect;null!==\nb&&(b.nextEffect=null);break}}else E()>e.tailExpiration&&1e&&(e=d),g>e&&(e=g),f=f.sibling;c.childExpirationTime=e}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=V.firstEffect),a.lastEffect=V.lastEffect),1a?b:a}function ag(a){var b=fc();hc(99,jg.bind(null,a,b));return null}\nfunction jg(a,b){Vf();if((T&(S|sf))!==R)throw Error(n(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(n(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=$f(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&\n(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(V=U=null,W=0);1=c)return Be(a,b,c);z(I,I.current&\n1,b);b=re(a,b,c);return null!==b?b.sibling:null}z(I,I.current&1,b);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return Ee(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);z(I,I.current,b);if(!d)return null}return re(a,b,c)}Bc=!1}}else Bc=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Fb(b,A.current);Ac(b,c);e=Jd(null,b,d,a,e,c);b.effectTag|=1;if(\"object\"===\ntypeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;Nd();if(C(d)){var f=!0;Kb(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Uc(b,d,g,a);e.updater=Xc;b.stateNode=e;e._reactInternalFiber=b;ad(b,d,a,c);b=ye(null,b,d,!0,f,c)}else b.tag=0,Q(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;sa(e);if(1!==e._status)throw e._result;\ne=e._result;b.type=e;f=b.tag=og(e);a=rc(e,a);switch(f){case 0:b=ve(null,b,e,a,c);break;case 1:b=xe(null,b,e,a,c);break;case 11:b=qe(null,b,e,a,c);break;case 14:b=se(null,b,e,rc(e.type,a),d,c);break;default:throw Error(n(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:rc(d,e),ve(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:rc(d,e),xe(a,b,d,e,c);case 3:ze(b);d=b.updateQueue;if(null===d)throw Error(n(282));e=b.memoizedState;e=null!==e?e.element:\nnull;Nc(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)oe(),b=re(a,b,c);else{if(e=b.stateNode.hydrate)Sa?(ee=tb(b.stateNode.containerInfo),de=b,e=fe=!0):e=!1;if(e)for(c=ld(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else Q(a,b,d,c),oe();b=b.child}return b;case 5:return sd(b),null===a&&je(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ja(d,e)?g=null:null!==f&&Ja(d,f)&&(b.effectTag|=16),we(a,b),b.mode&4&&1!==c&&Ka(d,e)?(b.expirationTime=\nb.childExpirationTime=1,b=null):(Q(a,b,g,c),b=b.child),b;case 6:return null===a&&je(b),null;case 13:return Be(a,b,c);case 4:return qd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=kd(b,null,d,c):Q(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:rc(d,e),qe(a,b,d,e,c);case 7:return Q(a,b,b.pendingProps,c),b.child;case 8:return Q(a,b,b.pendingProps.children,c),b.child;case 12:return Q(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;\ne=b.pendingProps;g=b.memoizedProps;f=e.value;xc(b,f);if(null!==g){var l=g.value;f=oc(l,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(l,f):1073741823)|0;if(0===f){if(g.children===e.children&&!B.current){b=re(a,b,c);break a}}else for(l=b.child,null!==l&&(l.return=b);null!==l;){var h=l.dependencies;if(null!==h){g=l.child;for(var k=h.firstContext;null!==k;){if(k.context===d&&0!==(k.observedBits&f)){1===l.tag&&(k=Gc(c,null),k.tag=2,Ic(l,k));l.expirationTime=b&&a<=b}function Pf(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;cb||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}\nfunction Qf(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Uf(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction sg(a){var b=a._reactInternalFiber;if(void 0===b){if(\"function\"===typeof a.render)throw Error(n(188));throw Error(n(268,Object.keys(a)));}a=xa(b);return null===a?null:a.stateNode}function tg(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime {\n const oldPropsKeys = Object.keys(a);\n const newPropsKeys = Object.keys(b);\n\n if (oldPropsKeys.length !== newPropsKeys.length) {\n return false;\n }\n\n for (let i = 0; i < oldPropsKeys.length; i += 1) {\n const propName = oldPropsKeys[i];\n\n if (propName === 'render' && !a[propName] !== !b[propName]) {\n return false;\n }\n\n if (propName !== 'children' && a[propName] !== b[propName]) {\n if (\n typeof a[propName] === 'object' &&\n typeof b[propName] === 'object' &&\n propsEqual(a[propName], b[propName])\n ) {\n continue;\n }\n\n return false;\n }\n\n if (\n propName === 'children' &&\n (typeof a[propName] === 'string' || typeof b[propName] === 'string')\n ) {\n return a[propName] === b[propName];\n }\n }\n\n return true;\n};\n\nexport default propsEqual;\n","/* eslint-disable import/no-extraneous-dependencies */\n/* eslint-disable no-unused-vars */\n/* eslint-disable no-param-reassign */\n\nimport ReactFiberReconciler from 'react-reconciler';\nimport * as scheduler from 'scheduler';\n\nimport propsEqual from './utils/propsEqual';\n\nconst emptyObject = {};\n\nconst appendChild = (parentInstance, child) => {\n const isParentText =\n parentInstance.type === 'TEXT' ||\n parentInstance.type === 'LINK' ||\n parentInstance.type === 'TSPAN';\n const isChildTextInstance = child.type === 'TEXT_INSTANCE';\n const isOrphanTextInstance = isChildTextInstance && !isParentText;\n\n // Ignore orphan text instances.\n // Caused by cases such as <>{name && {name}}\n if (isOrphanTextInstance) {\n console.warn(\n `Invalid '${child.value}' string child outside component`,\n );\n return;\n }\n\n parentInstance.children.push(child);\n};\n\nconst createRenderer = ({ onChange = () => {} }) => {\n return ReactFiberReconciler({\n schedulePassiveEffects: scheduler.unstable_scheduleCallback,\n cancelPassiveEffects: scheduler.unstable_cancelCallback,\n\n supportsMutation: true,\n\n isPrimaryRenderer: false,\n\n warnsIfNotActing: false,\n\n appendInitialChild: appendChild,\n\n createInstance(type, { style, children, ...props }) {\n return {\n type,\n box: {},\n style: style || {},\n props: props || {},\n children: [],\n };\n },\n\n createTextInstance(text, rootContainerInstance) {\n return { type: 'TEXT_INSTANCE', value: text };\n },\n\n finalizeInitialChildren(element, type, props) {\n return false;\n },\n\n getPublicInstance(instance) {\n return instance;\n },\n\n prepareForCommit() {\n // Noop\n },\n\n clearContainer() {\n // Noop\n },\n\n prepareUpdate(element, type, oldProps, newProps) {\n return !propsEqual(oldProps, newProps);\n },\n\n resetAfterCommit: onChange,\n\n resetTextContent(element) {\n // Noop\n },\n\n getRootHostContext() {\n return emptyObject;\n },\n\n getChildHostContext() {\n return emptyObject;\n },\n\n shouldSetTextContent(type, props) {\n return false;\n },\n\n now: Date.now,\n\n useSyncScheduling: true,\n\n appendChild,\n\n appendChildToContainer(parentInstance, child) {\n if (parentInstance.type === 'ROOT') {\n parentInstance.document = child;\n } else {\n appendChild(parentInstance, child);\n }\n },\n\n insertBefore(parentInstance, child, beforeChild) {\n const index = parentInstance.children?.indexOf(beforeChild);\n\n if (index === undefined) return;\n\n if (index !== -1 && child)\n parentInstance.children.splice(index, 0, child);\n },\n\n removeChild(parentInstance, child) {\n const index = parentInstance.children?.indexOf(child);\n\n if (index === undefined) return;\n\n if (index !== -1) parentInstance.children.splice(index, 1);\n },\n\n removeChildFromContainer(parentInstance, child) {\n const index = parentInstance.children?.indexOf(child);\n\n if (index === undefined) return;\n\n if (index !== -1) parentInstance.children.splice(index, 1);\n },\n\n commitTextUpdate(textInstance, oldText, newText) {\n textInstance.value = newText;\n },\n\n commitUpdate(instance, updatePayload, type, oldProps, newProps) {\n const { style, ...props } = newProps;\n instance.props = props;\n instance.style = style;\n },\n });\n};\n\nexport default createRenderer;\n","import FontStore from '@react-pdf/font';\nimport renderPDF from '@react-pdf/render';\nimport PDFDocument from '@react-pdf/pdfkit';\nimport layoutDocument from '@react-pdf/layout';\n\nimport createRenderer from './renderer';\nimport packageJson from '../package.json';\n\nconst { version } = packageJson;\n\nconst fontStore = new FontStore();\n\n// We must keep a single renderer instance, otherwise React will complain\nlet renderer;\n\n// The pdf instance acts as an event emitter for DOM usage.\n// We only want to trigger an update when PDF content changes\nconst events = {};\n\nconst pdf = (initialValue) => {\n const onChange = () => {\n const listeners = events.change?.slice() || [];\n for (let i = 0; i < listeners.length; i += 1) listeners[i]();\n };\n\n const container = { type: 'ROOT', document: null };\n renderer = renderer || createRenderer({ onChange });\n const mountNode = renderer.createContainer(container);\n\n const updateContainer = (doc, callback) => {\n renderer.updateContainer(doc, mountNode, null, callback);\n };\n\n if (initialValue) updateContainer(initialValue);\n\n const render = async (compress = true) => {\n const props = container.document.props || {};\n const { pdfVersion, language, pageLayout, pageMode } = props;\n\n const ctx = new PDFDocument({\n compress,\n pdfVersion,\n lang: language,\n displayTitle: true,\n autoFirstPage: false,\n pageLayout,\n pageMode,\n });\n\n const layout = await layoutDocument(container.document, fontStore);\n const fileStream = renderPDF(ctx, layout);\n return { layout, fileStream };\n };\n\n const callOnRender = (params = {}) => {\n if (container.document.props.onRender) {\n container.document.props.onRender(params);\n }\n };\n\n const toBlob = async () => {\n const chunks = [];\n const { layout: _INTERNAL__LAYOUT__DATA_, fileStream: instance } =\n await render();\n\n return new Promise((resolve, reject) => {\n instance.on('data', (chunk) => {\n chunks.push(\n chunk instanceof Uint8Array ? chunk : new Uint8Array(chunk),\n );\n });\n\n instance.on('end', () => {\n try {\n const blob = new Blob(chunks, { type: 'application/pdf' });\n callOnRender({ blob, _INTERNAL__LAYOUT__DATA_ });\n resolve(blob);\n } catch (error) {\n reject(error);\n }\n });\n });\n };\n\n // TODO: rename this method to `toStream` in next major release, because it return stream not a buffer\n const toBuffer = async () => {\n const {\n layout: _INTERNAL__LAYOUT__DATA_,\n fileStream,\n } = await render();\n callOnRender({_INTERNAL__LAYOUT__DATA_});\n\n return fileStream;\n };\n\n /*\n * TODO: remove this method in next major release. it is buggy\n * see\n * - https://github.com/diegomura/react-pdf/issues/2112\n * - https://github.com/diegomura/react-pdf/issues/2095\n */\n const toString = async () => {\n if (process.env.NODE_ENV === 'development') {\n console.warn(\n '`toString` is deprecated and will be removed in next major release',\n );\n }\n\n let result = '';\n const { fileStream: instance } = await render(false); // For some reason, when rendering to string if compress=true the document is blank\n\n return new Promise((resolve, reject) => {\n try {\n instance.on('data', (buffer) => {\n result += buffer;\n });\n\n instance.on('end', () => {\n callOnRender();\n resolve(result);\n });\n } catch (error) {\n reject(error);\n }\n });\n };\n\n const on = (event, listener) => {\n if (!events[event]) events[event] = [];\n events[event].push(listener);\n };\n\n const removeListener = (event, listener) => {\n if (!events[event]) return;\n const idx = events[event].indexOf(listener);\n if (idx > -1) events[event].splice(idx, 1);\n };\n\n return {\n on,\n container,\n toBlob,\n toBuffer,\n toString,\n removeListener,\n updateContainer,\n };\n};\n\nconst Font = fontStore;\n\nconst StyleSheet = {\n create: (s) => s,\n};\n\nexport { version, Font, StyleSheet, pdf, createRenderer };\n","/* eslint-disable no-console */\n\nimport queue from 'queue';\nimport { useState, useRef, useEffect, useCallback } from 'react';\n\nimport { pdf } from '../index';\n\n/**\n * PDF hook\n *\n * @param {Object} [options] hook options\n * @returns {[Object, Function]} pdf state and update function\n */\nexport const usePDF = ({ document } = {}) => {\n const pdfInstance = useRef(null);\n\n const [state, setState] = useState({\n url: null,\n blob: null,\n error: null,\n loading: !!document,\n });\n\n // Setup rendering queue\n useEffect(() => {\n const renderQueue = queue({ autostart: true, concurrency: 1 });\n\n const queueDocumentRender = () => {\n setState((prev) => ({ ...prev, loading: true }));\n\n renderQueue.splice(0, renderQueue.length, () =>\n state.error ? Promise.resolve() : pdfInstance.current.toBlob(),\n );\n };\n\n const onRenderFailed = (error) => {\n console.error(error);\n setState((prev) => ({ ...prev, loading: false, error }));\n };\n\n const onRenderSuccessful = (blob) => {\n setState({\n blob,\n error: null,\n loading: false,\n url: URL.createObjectURL(blob),\n });\n };\n\n pdfInstance.current = pdf();\n pdfInstance.current.on('change', queueDocumentRender);\n if (document) {\n pdfInstance.current.updateContainer(document);\n }\n\n renderQueue.on('error', onRenderFailed);\n renderQueue.on('success', onRenderSuccessful);\n\n return () => {\n renderQueue.end();\n pdfInstance.current.removeListener('change', queueDocumentRender);\n };\n }, []);\n\n // Revoke old unused url instances\n useEffect(() => {\n return () => {\n if (state.url) {\n URL.revokeObjectURL(state.url);\n }\n };\n }, [state.url]);\n\n const update = useCallback((newDoc) => {\n pdfInstance.current.updateContainer(newDoc);\n }, []);\n\n return [state, update];\n};\n\nexport default usePDF;\n","import * as primitives from '@react-pdf/primitives';\n\nimport usePDF from './usePDF';\nimport PDFViewer from './PDFViewer';\nimport BlobProvider from './BlobProvider';\nimport PDFDownloadLink from './PDFDownloadLink';\nimport { pdf, version, Font, StyleSheet } from '../index';\n\nconst throwEnvironmentError = (name) => {\n throw new Error(\n `${name} is a Node specific API. You're either using this method in a browser, or your bundler is not loading react-pdf from the appropriate web build.`,\n );\n};\n\nexport const renderToStream = () => {\n throwEnvironmentError('renderToStream');\n};\n\nexport const renderToBuffer = () => {\n throwEnvironmentError('renderToBuffer');\n};\n\nexport const renderToString = () => {\n throwEnvironmentError('renderToString');\n};\n\nexport const renderToFile = () => {\n throwEnvironmentError('renderToFile');\n};\n\nexport const render = () => {\n throwEnvironmentError('render');\n};\n\nexport * from '../index';\n\nexport * from './usePDF';\n\nexport * from './PDFViewer';\n\nexport * from './BlobProvider';\n\nexport * from './PDFDownloadLink';\n\nexport * from '@react-pdf/primitives';\n\n// TODO: remove this default export in next major release because it breaks tree-shacking\nexport default {\n pdf,\n usePDF,\n Font,\n version,\n StyleSheet,\n PDFViewer,\n BlobProvider,\n PDFDownloadLink,\n renderToStream,\n renderToString,\n renderToFile,\n render,\n ...primitives,\n};\n","import * as React from \"react\";\n\nimport {\n Document,\n Font,\n Image,\n Page,\n StyleSheet,\n Text,\n View,\n} from \"@react-pdf/renderer\";\nimport dayjs from \"dayjs\";\nimport { passportExpirationDateFormat } from \"shared/utils/time\";\n\nFont.register({\n family: \"Mulish\",\n fonts: [\n {\n src: \"/fonts/Mulish-ExtraLight.ttf\",\n fontWeight: 300,\n },\n {\n src: \"/fonts/Mulish-SemiBold.ttf\",\n fontWeight: 600,\n },\n {\n src: \"/fonts/Mulish-Regular.ttf\",\n fontWeight: 400,\n },\n {\n src: \"/fonts/Mulish-ExtraBold.ttf\",\n fontWeight: 800,\n },\n ],\n});\n\nexport interface PassportPDFProps {\n companyName: string;\n passportName?: string;\n date: { from: Date; until: Date };\n score?: number;\n}\n\n// Create styles\nconst styles = StyleSheet.create({\n page: {\n backgroundColor: \"#F8F9FA\",\n fontFamily: \"Mulish\",\n },\n container: {\n height: \"1411px\",\n width: \"2000px\",\n display: \"flex\",\n flexDirection: \"row\",\n },\n leftColumn: {\n flex: 6,\n padding: \"144px\",\n display: \"flex\",\n flexDirection: \"column\",\n textAlign: \"left\",\n },\n rightColumn: {\n flex: 6,\n },\n badge: {\n height: \"500px\",\n objectFit: \"contain\",\n position: \"absolute\",\n right: \"400px\",\n top: \"706px\",\n },\n cyanCloud: {\n height: \"100%\",\n position: \"absolute\",\n right: 0,\n },\n grayCloud: {\n height: \"100%\",\n position: \"absolute\",\n right: 259,\n },\n logo: {\n height: \"144px\",\n objectFit: \"contain\",\n marginBottom: \"59px\",\n marginRight: \"auto\",\n },\n title: {\n fontSize: \"63px\",\n fontWeight: 300,\n fontStyle: \"normal\",\n textAlign: \"left\",\n paddingBottom: \"16px\",\n borderBottom: \"2px\",\n marginBottom: \"60px\",\n color: \"#313131\",\n },\n subtitle: {\n fontSize: \"36px\",\n fontWeight: 600,\n color: \"#313131\",\n marginBottom: \"20px\",\n },\n company: {\n fontSize: \"110px\",\n fontWeight: 800,\n color: \"#69385E\",\n marginBottom: \"22px\",\n },\n score: {\n fontSize: \"110px\",\n fontWeight: 800,\n color: \"#FF5D45\",\n marginBottom: \"30px\",\n },\n validDate: {\n fontSize: \"36px\",\n fontWeight: 600,\n letterSpacing: \"0.25px\",\n color: \"#6C757D\",\n marginBottom: \"9px\",\n },\n signature: {\n height: \"138px\",\n objectFit: \"contain\",\n marginBottom: \"59px\",\n marginRight: \"auto\",\n borderBottom: \"2px\",\n },\n signerName: {\n fontSize: \"36px\",\n fontWeight: 600,\n letterSpacing: \"0.25px\",\n marginBottom: \"24px\",\n },\n signerPosition: {\n fontSize: \"25px\",\n fontWeight: 600,\n letterSpacing: \"0.25px\",\n },\n});\n\n// Create Document Component\nexport default function PassportPDF({\n companyName,\n passportName = \"Pulse Market ESG Passport\",\n date,\n score,\n}: PassportPDFProps) {\n const expirateionDate = dayjs(date.until).format(\n passportExpirationDateFormat\n );\n const issueDate = dayjs(date.from).format(passportExpirationDateFormat);\n return (\n \n \n \n \n \n {passportName}\n Awarded to:\n \n {companyName}\n \n {score && (\n <>\n Score:\n {score}%\n \n )}\n \n on {issueDate} valid until {expirateionDate}\n \n \n Michael O'Shea\n CEO Pulse Market\n \n \n \n \n \n \n \n \n \n );\n}\n","import { pdf } from \"@react-pdf/renderer\";\nimport PassportPDF from \"components/PassportPDF\";\nimport { PassportPDFProps } from \"components/PassportPDF/PassportPDF\";\n\nexport async function downloadCert(props: PassportPDFProps) {\n const blob = await pdf().toBlob();\n const url = URL.createObjectURL(blob);\n\n window.open(url);\n}\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport getField from \"components/form/Field\";\nimport Form from \"components/form/Form\";\nimport Button, { ButtonProps } from \"components/ui/Button\";\n// import Select from \"components/ui/FormSelect/FormSelect\";\nimport { FormikConfig, FormikHelpers, useFormik } from \"formik\";\nimport { emailValidatorFn } from \"shared/validators\";\nimport { style } from \"typestyle\";\n\nimport sharedFormStyles from \"components/CompanyInfo/forms/sharedStyles\";\n\n// import { PassportShareConfig } from \"shared/model\";\n\ntype PassportMetadata = {\n ownerName: string;\n jobTitle: string;\n email: string;\n // shareConfig?: PassportShareConfig;\n};\n\ntype PassportMetadataFields = {\n ownerName?: string;\n jobTitle?: string;\n email?: string;\n // shareConfig?: PassportShareConfig;\n};\n\ntype PassportFormProps = {\n disabled?: boolean;\n data: PassportMetadataFields;\n onSubmit: FormikConfig[\"onSubmit\"];\n /** https://www.figma.com/file/4lzs5MQRCeY8kZ1oqOrsix/Passport?node-id=29%3A49811&t=YbijlvkEbpK4d74h-0 */\n backButton?: ButtonProps;\n /** \"Next\" or \"Save changes\" */\n saveButton: Omit;\n};\n\n// const passportShareConfigOptions = Object.values(PassportShareConfig).map(\n// (config) => ({ id: config, name: config })\n// );\n\nconst Field = getField();\n\n/**\n * Form to be used for filling metadata for a passport.\n */\nexport default function PassportForm({\n data,\n onSubmit,\n disabled,\n backButton,\n saveButton,\n}: PassportFormProps) {\n const formik = useFormik({\n initialValues: data,\n enableReinitialize: true,\n async onSubmit(values, helpers) {\n await onSubmit(\n values as PassportMetadata,\n helpers as FormikHelpers\n );\n },\n validateOnMount: true, // because data is pre-filled\n });\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n (!emailValidatorFn(val) && \"Please provide a valid email\") ||\n undefined\n }\n disabled={disabled}\n required\n />\n \n \n {/* \n \n \n \n */}\n \n {backButton && ,\n \n Next\n ,\n ]}\n />\n \n );\n}\n","import { useCallback, useContext } from \"react\";\n\nimport { CSRDDocumentStatus, RfpResponseDto } from \"@pulsemarket/api-client\";\nimport { RfpStatus } from \"@pulsemarket/constants\";\nimport PassportInvitationSender from \"components/CombinedInvitationSender/PassportInvitationSender\";\nimport GetPassportModal from \"components/Passports/Modals/GetPassportModal\";\nimport WelcomePassportModal from \"components/Passports/Modals/WelcomePassportModal\";\nimport SimpleModalBody, {\n SimpleModalBodyProps,\n} from \"components/ui/Modal/SimpleModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { ModalOptions } from \"contexts/ModalContext/ModalContext\";\nimport dayjs from \"dayjs\";\nimport {\n DynamicRfpResponseStatus,\n PassportDto,\n PassportStatus,\n} from \"shared/model\";\n\n/** Doesn't accept PassportItemDto for flexibility - there's a similar function in the api */\nexport function getPassportStatus({\n response,\n passport,\n}: {\n response?: RfpResponseDto;\n passport?: PassportDto;\n}): PassportStatus {\n if (!response) {\n return PassportStatus.None;\n }\n\n if (response.status === \"Draft\") {\n return PassportStatus.Draft;\n }\n\n if (response.status === \"InReview\") {\n return PassportStatus.InReview;\n }\n\n if (passport && dayjs(passport.expirationDate).isAfter(dayjs())) {\n return PassportStatus.Submitted;\n }\n\n return PassportStatus.Expired;\n}\n\n/**\n * todo use + extend with actions\n * Todo expiring statuses https://dev.azure.com/PulseMarketplace/pulse-marketplace/_workitems/edit/6004\n *\n */\nexport function usePassportStatusConfigurations(): Record<\n PassportStatus,\n {\n dashboardBox?: { text?: React.ReactNode };\n callToActionBox: { title?: string; text?: React.ReactNode; button: string };\n }\n> {\n return {\n None: {\n dashboardBox: {\n text: \"Unlock your Action Guide and Certificate to turbocharge your company's sustainable growth.\",\n },\n callToActionBox: {\n title: \"Start your ESG Passport journey\",\n text: (\n <>\n Unleash your ESG Passport - your fast track to achieving ESG goals.\n
\n Unlock your Action Guide and Certificate to turbocharge your\n company's sustainable growth.\n \n ),\n button: \"Get Passport\",\n },\n },\n Draft: {\n dashboardBox: {\n text: \"You can edit your assessment at any time before submitting it.\",\n },\n callToActionBox: {\n title: \"Your ESG Passport assessment is in Draft\",\n text: \"You can edit your assessment at any time before submitting it.\",\n button: \"Go to assessment\",\n },\n },\n InReview: {\n dashboardBox: {\n text: \"Take your time to review your assessment, and when you're ready and satisfied with your answers, feel free to submit it.\",\n },\n callToActionBox: {\n title: \"Review and submit your ESG Passport assessment\",\n text: \"Take your time to review your assessment, and when you're ready and satisfied with your answers, feel free to submit it.\",\n button: \"Go to assessment\",\n },\n },\n Submitted: {\n dashboardBox: {\n text: \"Congratulations! You unlocked Pulse ESG tools. Now invite your network of contacts to get on board and align with your company's ESG goals.\",\n },\n callToActionBox: {\n title: \"ESG Passport in Analysis\",\n text: \"Our team of experts is reviewing your responses and will be putting together a custom report for you. You'll get an notification as soon as it's complete, so keep an eye out.\",\n button: \"View assessment\",\n },\n },\n Completed: {\n dashboardBox: {\n text: \"Congratulations! You unlocked Pulse ESG tools. Now invite your network of contacts to get on board and align with your company's ESG goals.\",\n },\n callToActionBox: {\n title: \"ESG Passport Completed\",\n text: (\n <>\n Congratulations! You've successfully completed your ESG Passport.\n
\n This is a significant step in your sustainability journey\n \n ),\n button: \"View Action Guide\",\n },\n },\n CloseToExpire: {\n dashboardBox: {\n text: \"Don't let your ESG Passport expire! Renew today for 1 more year - Retake survey and improve score to impress your clients.\",\n },\n callToActionBox: {\n title: \"Here is a reminder your Pulse Passport is about to expire.\",\n text: \"Don't miss out on the opportunity to renew. We'll reward you with an extra 365 days of access - giving loads more time to retake your Passport and show your company’s ESG progress. Let's renew your Passport today!\",\n button: \"Renew Passport\",\n },\n },\n Expired: {\n dashboardBox: {\n text: \"Your company's Pulse ESG Passport has expired. You can retake your ESG Passport anytime to activate it for another full year.\",\n },\n callToActionBox: {\n title: \"Your ESG Passport expired\",\n text: \"Your company's Pulse ESG Passport has expired. Don't forget to retake your ESG Passport to activate it for another full year. By renewing your passport you can update your answers and improve your ESG score to impress your clients.\",\n button: \"Renew Passport\",\n },\n },\n };\n}\n\nexport function useGetPassport() {\n const { openModal, closeModal } = useContext(ModalContext);\n\n return useCallback(\n function getPassport(params?: {\n modalBodyProps?: Pick;\n modalOptions?: ModalOptions;\n }) {\n openModal(\n {\n closeModal();\n }}\n />,\n {\n ...params?.modalOptions,\n }\n );\n },\n [closeModal, openModal]\n );\n}\n\nexport function useRetakePassport() {\n const { openModal, closeModal } = useContext(ModalContext);\n\n return useCallback(\n function getPassport() {\n openModal(\n {\n openModal(, {\n keepHistory: true,\n });\n }}\n title=\"Great news, you can retake your Pulse Market ESG Passport.\"\n text=\"Ready to retake your Pulse Market ESG Passport? Don't worry all your previous answers will be archived, so you can always go back for reference.\"\n />\n );\n },\n [closeModal, openModal]\n );\n}\n\nexport function useRenewPassport() {\n const { openModal, closeModal } = useContext(ModalContext);\n\n return useCallback(\n function getPassport() {\n openModal(\n {\n openModal(, {\n keepHistory: true,\n });\n }}\n title=\"Great news, you can renew your Pulse Market ESG Passport before it expires.\"\n text=\"Ready to renew your ESG Passport? Let's get started! You will be notified when your updated report and passport are available. Don't worry all your previous answers will be archived, so you can always go back for reference.\"\n />\n );\n },\n [closeModal, openModal]\n );\n}\n\nexport function useOpenInviteToPassportModal() {\n const { openModal } = useContext(ModalContext);\n\n return useCallback(\n function getPassport() {\n openModal(\n \n \n ,\n { props: { maxWidth: \"md\" } }\n );\n },\n [openModal]\n );\n}\n\nexport function mapResponseWorkflowStatus(\n status?:\n | RfpStatus\n | DynamicRfpResponseStatus\n | PassportStatus\n | CSRDDocumentStatus\n) {\n return status === PassportStatus.CloseToExpire\n ? PassportStatus.Completed\n : status;\n}\n","import React, { useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { GroupDto } from \"@pulsemarket/api-client\";\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { LeaveGroupModal } from \"components/Group/modals\";\nimport { ButtonProps } from \"components/ui/Button\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useRequestGroupAccess from \"hooks/queries/useRequestGroupAccess\";\nimport useSetGroupInvitationStatus from \"hooks/queries/useSetGroupInvitationStatus\";\nimport { GroupSettingTab } from \"pages/PulseGroup/GroupSettingsPage/GroupSettingsPage\";\nimport {\n GroupInvitationStatus,\n GroupMemberRelationStatus,\n Identifiable,\n} from \"shared/model\";\n\nimport GroupCard from \"../GroupCard\";\n\nfunction JoinableGroupCard({ group }: { group: GroupDto }) {\n const history = useHistory();\n const { mutate: requestAccessToGroup } = useRequestGroupAccess();\n\n const { data: ownCompany } = useOwnCompany();\n const { closeModal, openModal } = useContext(ModalContext);\n\n const groupCardActionButton = (\n group: GroupDto\n ): Record => {\n return {\n [GroupMemberRelationStatus.JoinRequestPending]: {\n id: `${group.id}-group-button1`,\n children: \"Pending Approval\",\n disabled: true,\n variant: \"transparent\",\n color: \"gray\",\n },\n [GroupMemberRelationStatus.PrivateJoinable]: {\n id: `${group.id}-group-join`,\n children: \"Ask to join\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () => {\n requestAccessToGroup({ groupId: group.id });\n },\n },\n [GroupMemberRelationStatus.Owned]: {\n id: `${group.id}-group-button1`,\n children: \"Add member\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () =>\n history.push(ROUTES.GROUP(group.id), {\n initialSettingsPage: GroupSettingTab.Members,\n }),\n },\n [GroupMemberRelationStatus.Invited]: {\n id: `${group.id}-group-button1`,\n children: \"Join\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () => {\n setGroupInvitationStatus({\n groupInvitationId: group.invitationId!,\n status: GroupInvitationStatus.Joined,\n });\n history.push(ROUTES.GROUP(group.id));\n },\n },\n [GroupMemberRelationStatus.PublicJoinable]: {\n id: `${group.id}-group-button1`,\n children: \"Join\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () => {\n requestAccessToGroup({ groupId: group.id });\n history.push(ROUTES.GROUP(group.id));\n },\n },\n [GroupMemberRelationStatus.Removed]: {\n id: `${group.id}-group-join`,\n children: \"Ask to join\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () => {\n requestAccessToGroup({\n groupId: group.id,\n });\n },\n },\n [GroupMemberRelationStatus.Joined]: {\n ...(group.allowMemberInvitations || !group.isPrivate\n ? {\n id: `${group.id}-group-button1`,\n children: \"Add member\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () =>\n history.push(ROUTES.GROUP(group.id), {\n initialSettingsPage: GroupSettingTab.Members,\n }),\n }\n : {\n id: `${group.id}-group-button1_blank`,\n variant: \"transparent\",\n }),\n },\n };\n };\n\n const { mutateAsync: setGroupInvitationStatus } =\n useSetGroupInvitationStatus();\n\n if (!ownCompany) {\n return ;\n }\n\n return (\n {\n history.push(ROUTES.GROUP(group.id));\n },\n },\n ]}\n kebabMenuActions={[\n {\n text: \"Copy link to group\",\n onClick: () => {\n navigator.clipboard.writeText(\n `${window.location.origin}/${ROUTES.GROUP(group.id)}`\n );\n openModal(\n closeModal(),\n children: \"Ok, Thanks\",\n },\n ]}\n >\n The link was copied. Paste to share this group with others.\n ,\n { keepHistory: true }\n );\n },\n },\n ...(group.memberStatus === GroupMemberRelationStatus.Joined &&\n !!group.invitationId\n ? [\n {\n text: \"Leave this group\",\n onClick: () => {\n if (!group.invitationId) {\n return;\n }\n openModal(\n \n );\n },\n },\n ]\n : []),\n ...(group.memberStatus === GroupMemberRelationStatus.Owned\n ? [\n {\n text: \"Settings\",\n onClick: () =>\n history.push(ROUTES.GROUP(group.id), {\n initialSettingsPage: GroupSettingTab.Settings,\n }),\n },\n ]\n : []),\n ]}\n />\n );\n}\n\nexport default JoinableGroupCard;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n memberCount: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n marginBottom: px(10),\n },\n});\n","import React from \"react\";\n\nimport { GroupDto } from \"@pulsemarket/api-client\";\nimport { ButtonProps } from \"components/ui/Button\";\nimport Card from \"components/ui/Card\";\nimport { KebabMenuAction } from \"components/ui/KebabMenu\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { Identifiable } from \"shared/model\";\n\nimport styles from \"./GroupCardStyles\";\nexport type GroupCardProps = {\n group: GroupDto;\n buttons?: (ButtonProps & Identifiable)[];\n kebabMenuActions?: KebabMenuAction[];\n};\n\nconst GroupCard = ({ group, buttons, kebabMenuActions }: GroupCardProps) => {\n return (\n \n
{`${group.membersCount} member${\n group.membersCount === 1 ? \"\" : \"s\"\n }`}
\n \n );\n};\nexport default GroupCard;\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n title: {\n ...typography.TITLE1,\n marginBottom: \"24px\",\n },\n subtitle: {\n ...typography.SUBTITLE2,\n borderBottomColor: neutralColors.GRAY3,\n borderBottomStyle: \"solid\",\n borderBottomWidth: \"1px\",\n paddingBottom: \"15px\",\n marginBottom: \"22px\",\n },\n settingsContainer: {\n width: \"100%\",\n backgroundColor: neutralColors.GRAY0,\n padding: \"19px 21px\",\n borderColor: neutralColors.GRAY0,\n borderStyle: \"solid\",\n borderRadius: \"8px\",\n borderWidth: \"1px\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n multiSelectListHeader: {\n marginBottom: \"11px\",\n },\n dataroomGrid: {\n display: \"grid\",\n gridTemplateColumns: \"1fr 1fr\",\n gridGap: \"24px\",\n },\n dataroomCard: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n padding: \"12px\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n justifyContent: \"space-between\",\n borderColor: neutralColors.GRAY2,\n borderStyle: \"solid\",\n borderWidth: \"1px\",\n height: \"74px\",\n width: \"100%\",\n },\n iconContainer: {\n background: neutralColors.GRAY1,\n borderRadius: \"6px\",\n borderColor: neutralColors.GRAY3,\n borderStyle: \"solid\",\n borderWidth: \"1px\",\n padding: \"10px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n dataroomAvatar: {\n height: \"22px\",\n color: utilityColors.CYAN,\n },\n dataroomName: {\n ...typography.SUBTITLE2,\n marginRight: \"auto\",\n marginLeft: \"13px\",\n },\n link: {\n ...clickable,\n // underline on hover\n $nest: {\n \"&:hover\": {\n textDecoration: \"underline\",\n color: primaryColors.PURPLE2_HOVER,\n },\n },\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport KebabMenu from \"components/ui/KebabMenu\";\nimport MultiSelectList from \"components/ui/MultiSelectList/MultiSelectList\";\nimport SvgIcon from \"components/ui/SvgIcon/SvgIcon\";\nimport useDataRooms from \"hooks/queries/useDataRooms\";\nimport { DataRoomDto } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./GroupDataroomSettings.styles\";\n\ntype GroupDataroomSettingsProps = {\n datarooms: Pick[];\n onSetDatarooms: (datarooms: Pick[]) => void;\n};\n\nconst GroupDataroomSettings = ({\n onSetDatarooms,\n datarooms,\n}: GroupDataroomSettingsProps) => {\n const [newCheckedDatarooms, setNewCheckedDatarooms] = useState(\n []\n );\n\n const { data: ownDatarooms } = useDataRooms();\n return (\n
\n
Advanced Setting
\n\n
\n
Linked Data room
\n dataroom.id)}\n options={(ownDatarooms || []).map((dataroom) => ({\n name: dataroom.name,\n id: dataroom.id,\n disabled: (id) => datarooms.map((droom) => droom.id).includes(id),\n }))}\n asPopover\n showArrow={true}\n multiple={true}\n actions={[\n {\n color: \"orange\",\n label: \"Add\",\n closeOnClick: true,\n disabled: (selectedIds) => !selectedIds.length,\n onClick: (items) => {\n const newDatarooms = (ownDatarooms || []).filter((dataroom) =>\n items.map((i) => i.id).includes(dataroom.id)\n );\n\n onSetDatarooms([...new Set(datarooms.concat(newDatarooms))]);\n },\n },\n {\n variant: \"transparent\",\n color: \"orange\",\n label: \"Select all\",\n disabled: (selectedIds) =>\n selectedIds.length === ownDatarooms?.length,\n onClick: () => {\n setNewCheckedDatarooms(\n (ownDatarooms || []).filter(\n (ownDataroom) =>\n !newCheckedDatarooms\n .map((datarrom) => datarrom.id)\n .includes(ownDataroom.id)\n )\n );\n },\n },\n ]}\n />\n
\n {datarooms.map((dataroom) => (\n {\n const newDatarooms = datarooms.filter(\n (dataroom) => dataroom.id !== dataroomId\n );\n onSetDatarooms(newDatarooms);\n }}\n />\n ))}\n
\n
\n
\n );\n};\n\nexport function DataroomItem({\n dataroom,\n redirectOnClick,\n onRemoveDataroom,\n className,\n}: {\n dataroom: Pick;\n redirectOnClick?: boolean;\n onRemoveDataroom?: (dataroomId: string) => void;\n className?: string;\n}) {\n const history = useHistory();\n return (\n
\n
\n \n
\n {\n if (redirectOnClick) {\n history.push(`/datarooms/${dataroom.id}`);\n }\n }}\n >\n {dataroom.name}\n \n {onRemoveDataroom && (\n {\n onRemoveDataroom(dataroom.id);\n },\n },\n ]}\n />\n )}\n
\n );\n}\n\nexport default GroupDataroomSettings;\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n form: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n width: \"100%\",\n },\n subtitleContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignContent: \"baseline\",\n },\n subtitle: {\n ...typography.SUBTITLE2,\n marginBottom: px(7),\n marginTop: px(0),\n },\n zonesLableContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"baseline\",\n gap: px(10),\n },\n caption: {\n ...typography.CAPTION,\n marginLeft: px(8),\n marginBottom: px(9),\n marginTop: px(0),\n color: neutralColors.GRAY5,\n },\n mainContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n width: \"100%\",\n gap: px(87),\n },\n firstPageHalfSide: {\n display: \"flex\",\n flexDirection: \"column\",\n flex: 5,\n },\n inputsRow: {\n // flex: 1,\n },\n imagesContainer: {\n position: \"relative\",\n height: \"fit-content\",\n marginBottom: px(50),\n },\n headerImage: {\n maxHeight: px(145),\n borderWidth: px(2),\n borderStyle: \"solid\",\n borderColor: primaryColors.WHITE,\n borderRadius: px(8),\n },\n avatarCentered: {\n position: \"relative\",\n zIndex: 2,\n },\n avatarBoxContainer: {\n marginTop: px(-83),\n zIndex: 2,\n textAlign: \"center\",\n },\n inputContainer: {\n display: \"flex\",\n marginBottom: px(12),\n marginLeft: px(12),\n flexDirection: \"column\",\n },\n inputLabel: {\n ...typography.SUBTITLE2,\n marginBottom: \"7px\",\n color: primaryColors.BLACK,\n },\n span: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n marginLeft: \"auto\",\n marginRight: px(0),\n },\n nameLengthExceed: {\n ...typography.CAPTION,\n position: \"absolute\",\n right: \"45px\",\n top: \"180px\",\n color: utilityColors.RED,\n },\n descriptionLengthExceed: {\n ...typography.CAPTION,\n position: \"absolute\",\n right: \"45px\",\n top: \"290px\",\n color: utilityColors.RED,\n },\n firstPageBottomSide: {\n width: \"100%\",\n display: \"flex\",\n flexFlow: \"column\",\n },\n zones: {\n width: \"100%\",\n height: \"47px\",\n borderRadius: \"8px\",\n background: primaryColors.WHITE,\n border: \"1px solid #E9ECEF\",\n },\n});\n","import { ChangeEvent } from \"react\";\n\nimport Avatar from \"components/CompanyDetails/Avatar\";\nimport Background from \"components/CompanyDetails/Background\";\nimport InformationIcon from \"components/ui/InformationIcon\";\nimport Input from \"components/ui/Input\";\nimport TaggedMultiSelect from \"components/ui/TaggedMultiSelect\";\nimport TextArea from \"components/ui/TextArea\";\nimport { Pair } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./GroupDescriptionStyles\";\n\ntype Props = {\n description: string;\n onDescriptionChange: (e: string | ChangeEvent) => void;\n backgroundImage: string;\n onBackgroundChange: (base64: string, file: File) => Promise | void;\n avatar: string;\n onAvatarChange: (base64: string, file: File) => Promise | void;\n name: string;\n onNameChange: (e: string | ChangeEvent) => void;\n zoneOptions: Pair[];\n onZonesChange: (selected: string[]) => void;\n extraAvatarStyles?: string;\n zones: string[];\n};\n\nconst GroupDescription = ({\n description,\n onDescriptionChange,\n backgroundImage,\n onBackgroundChange,\n avatar,\n onAvatarChange,\n name,\n onNameChange,\n zoneOptions,\n onZonesChange,\n extraAvatarStyles,\n zones,\n}: Props) => {\n return (\n
\n {/* */}\n\n
\n
\n
\n
\n

Cover Image and logo

\n

{`(jpg, jpeg, png).`}

\n
\n
\n {\n onBackgroundChange(base64Background, file);\n }}\n backgroundImage={backgroundImage}\n recommendedSizeText=\"338x145px\"\n showHelpText={false}\n />\n \n {\n // formik.setFieldValue(\"avatar\", base64Avatar);\n onAvatarChange(base64Avatar, file);\n }}\n className={styles.avatarCentered}\n avatar={avatar}\n type=\"groups\"\n showHelpText={false}\n recommendedSizeText=\"200x200px\"\n />\n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n\n z)}\n onAdd={(clickedTag) => {\n onZonesChange([...zones, clickedTag]);\n }}\n onDelete={(clickedTag) => {\n onZonesChange(zones.filter((z) => z !== clickedTag));\n }}\n label=\"Zones\"\n />\n
\n {/*
*/}\n \n );\n};\n\nexport default GroupDescription;\n","import { useContext } from \"react\";\n\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useSetGroupInvitationStatus from \"hooks/queries/useSetGroupInvitationStatus\";\nimport { GroupInvitationStatus } from \"shared/model\";\n\nexport function DenyGroupMember({ invitationId }: { invitationId: string }) {\n const { closeModal } = useContext(ModalContext);\n const { mutate: setGroupInvitationStatus } = useSetGroupInvitationStatus();\n\n return (\n {\n try {\n setGroupInvitationStatus({\n groupInvitationId: invitationId,\n status: GroupInvitationStatus.Removed,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to decline this company to join your group?\n \n );\n}\n\nexport function RemoveGroupMemberModal({\n invitationId,\n}: {\n invitationId: string;\n}) {\n const { closeModal } = useContext(ModalContext);\n const { mutate: setGroupInvitationStatus } = useSetGroupInvitationStatus();\n\n return (\n {\n try {\n setGroupInvitationStatus({\n groupInvitationId: invitationId,\n status: GroupInvitationStatus.Removed,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to remove this company?\n \n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n display: \"flex\",\n alignItems: \"center\",\n height: \"48px\",\n },\n avatar: {\n marginRight: \"12px\",\n },\n name: {\n ...typography.SUBTITLE2,\n color: primaryColors.BLACK,\n marginBottom: \"2px\",\n },\n role: {\n ...typography.CAPTION,\n color: neutralColors.GRAY4,\n },\n texts: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport Avatar from \"components/ui/Avatar\";\nimport { DEFAULT_USER_AVATAR } from \"shared/constants/icons\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./UserPreview.styles\";\n\ntype UserPreviewProps = {\n className?: string;\n avatar?: string | null;\n name: string;\n role?: string;\n};\n\nexport default function UserPreview({\n avatar,\n name,\n role,\n className,\n}: UserPreviewProps) {\n return (\n
\n \n
\n {name}\n {role && {role}}\n
\n
\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n companyIcon: {\n width: \"30px\",\n marginRight: \"5px\",\n },\n invitationSender: {\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n padding: \"20px\",\n },\n\n membersContainer: {\n padding: \"20px\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n marginTop: \"24px\",\n },\n memberCardsContainer: {\n display: \"flex\",\n flexWrap: \"wrap\",\n flexDirection: \"row\",\n gap: px(14),\n width: \"100%\",\n },\n recipients: {\n display: \"flex\",\n gap: \"8px\",\n margin: \"16px 0px\",\n },\n});\n\nexport default styles;\n\nexport const groupMemberDataStyles = stylesheet({\n companyContainer: {\n display: \"flex\",\n alignItems: \"center\",\n },\n memberCompanyAvatarContainer: {\n width: px(50),\n height: px(50),\n display: \"flex\",\n borderRadius: px(5),\n alignItems: \"center\",\n justifyItems: \"center\",\n backgroundColor: neutralColors.GRAY1,\n },\n memberCompanyAvatar: {\n margin: \"auto\",\n maxHeight: px(50),\n maxWidth: px(50),\n },\n memberCompanyName: { ...typography.SUBTITLE2, ...forceTextOneLine },\n inviteeInfoContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n marginLeft: px(20),\n },\n inviteeLocation: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n});\n\nexport const groupMemberBoxStyles = stylesheet({\n card: {\n backgroundColor: neutralColors.GRAY0,\n flex: \"40%\",\n maxWidth: \"48%\",\n height: px(85),\n display: \"flex\",\n flexDirection: \"row\",\n padding: `${px(21)} ${px(28)}`,\n border: \"1px solid\",\n borderRadius: px(8),\n borderColor: neutralColors.GRAY2,\n },\n kebabMenu: { marginLeft: \"auto\" },\n usersPreviewPaper: {\n width: \"360px\",\n background: neutralColors.GRAY0,\n borderRadius: \"8px\",\n borderColor: neutralColors.GRAY2,\n },\n usersPreviewContainer: {\n padding: \"4px 24px\",\n overflow: \"auto\",\n maxHeight: px(2 * 4 + 3 * 48 + 2 * 8),\n },\n userPreview: {\n marginBottom: \"8px\",\n $nest: {\n \"&:last-child\": {\n marginBottom: \"0px\",\n },\n },\n },\n});\n\nexport const groupMemberRequestBoxStyles = stylesheet({\n container: {\n display: \"flex\",\n justifyContent: \"space-between\",\n backgroundColor: neutralColors.GRAY0,\n border: \"1px solid\",\n borderColor: neutralColors.GRAY2,\n borderRadius: \"8px\",\n padding: \"21px\",\n },\n buttons: {\n fontSize: \"13px\",\n },\n declineButton: {\n marginRight: \"16px\",\n },\n});\n","import React from \"react\";\n\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { GroupInvitationDto } from \"shared/model\";\nimport { WithRequired } from \"shared/utilityTypes\";\n\nimport { groupMemberDataStyles as styles } from \"./GroupMembers.styles\";\n\ntype GroupMemberDataProps = {\n invitation: WithRequired;\n};\n\nexport default function GroupMemberData({ invitation }: GroupMemberDataProps) {\n return (\n
\n
\n \n
\n
\n \n {invitation.invitedCompany.name}\n \n \n {invitation.invitedCompany.address}\n \n
\n
\n );\n}\n","import React, { useContext, useState } from \"react\";\n\nimport { Popover } from \"@mui/material\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { RemoveGroupMemberModal } from \"components/PulsePage/Groups/GroupMembers/modals\";\nimport KebabMenu from \"components/ui/KebabMenu\";\nimport UserPreview from \"components/ui/UserPreview\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useUserPreviewsBasedOnGroupInvitation } from \"hooks/queries/useGroup\";\nimport { GroupInvitationDto } from \"shared/model\";\nimport { WithRequired } from \"shared/utilityTypes\";\n\nimport GroupMemberData from \"./GroupMemberData\";\nimport { groupMemberBoxStyles as styles } from \"./GroupMembers.styles\";\n\ntype GroupMemberBoxProps = {\n invitation: WithRequired;\n};\n\nexport default function GroupMemberBox({ invitation }: GroupMemberBoxProps) {\n const { openModal } = useContext(ModalContext);\n\n const [anchorElement, setAnchorElement] = useState(null);\n\n const popoverOpen = Boolean(anchorElement);\n\n function handlePopoverOpenerClick(\n event: React.MouseEvent\n ) {\n setAnchorElement(event.currentTarget);\n }\n\n function handlePopoverClose() {\n setAnchorElement(null);\n }\n\n return (\n <>\n
\n \n {\n openModal(\n ,\n {\n keepHistory: true,\n }\n );\n },\n },\n {\n text: \"Users\",\n disableCloseAfterAction: true,\n onClick: (e) => {\n handlePopoverOpenerClick(e);\n },\n },\n ]}\n />\n
\n \n \n \n \n );\n}\n\nfunction UserPreviews({ companyId }: { companyId: string }) {\n const { data: users, isLoading } =\n useUserPreviewsBasedOnGroupInvitation(companyId);\n\n return (\n
\n {isLoading && }\n {(users || []).map((user) => (\n \n ))}\n
\n );\n}\n","import React from \"react\";\n\nimport Button from \"components/ui/Button\";\nimport { GroupInvitationDto } from \"shared/model\";\nimport { WithRequired } from \"shared/utilityTypes\";\n\nimport GroupMemberData from \"./GroupMemberData\";\nimport { groupMemberRequestBoxStyles as styles } from \"./GroupMembers.styles\";\n\ntype GroupMemberRequestBoxProps = {\n invitation: WithRequired;\n onDecline: (companyId: string) => void;\n onAccept: (companyId: string) => void;\n};\n\nexport default function GroupMemberRequestBox({\n invitation,\n onAccept,\n onDecline,\n}: GroupMemberRequestBoxProps) {\n return (\n
\n \n
\n onDecline(invitation.id)}\n >\n Decline\n \n onAccept(invitation.id)}\n >\n Accept\n \n
\n
\n );\n}\n","import React, { useContext, useState } from \"react\";\n\nimport { IconButton, InputAdornment } from \"@mui/material\";\nimport CombinedInvitationSender from \"components/CombinedInvitationSender/CombinedInvitationSender\";\nimport Input from \"components/ui/Input\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useGroupInvitations } from \"hooks/queries/useGroup\";\nimport useInviteToGroup from \"hooks/queries/useInviteToGroup\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { GroupInvitationDto } from \"shared/model\";\nimport { WithRequired } from \"shared/utilityTypes\";\nimport { style } from \"typestyle\";\n\nimport GroupMemberBox from \"./GroupMemberBox\";\nimport GroupMemberRequestBox from \"./GroupMemberRequestBox\";\nimport styles from \"./GroupMembers.styles\";\nimport { DenyGroupMember } from \"./modals\";\n\ntype GroupMembersProps = {\n requestedAccess: WithRequired[];\n onMemberRequestDecline: (companyId: string) => void;\n onMemberRequestAccept: (companyId: string) => void;\n members: WithRequired[];\n ownerCompanyId: string;\n groupId: string;\n title: string;\n};\n\nconst GroupMembers = ({\n requestedAccess,\n onMemberRequestAccept,\n members,\n ownerCompanyId,\n groupId,\n title,\n}: GroupMembersProps) => {\n const { openModal } = useContext(ModalContext);\n const { data: invitations } = useGroupInvitations(groupId);\n\n const { data: ownCompany } = useOwnCompany();\n const { mutateAsync: inviteToGroup } = useInviteToGroup({ groupId });\n\n const [memberFilter, setMemberFilter] = useState(null);\n\n const isGroupOwn = ownerCompanyId === ownCompany?.id;\n const accessRequests = requestedAccess.filter((r) => !!r.invitedCompany);\n\n return (\n <>\n
\n inviteToGroup({ recipients })}\n existingInvitations={invitations}\n />\n\n {isGroupOwn && (\n
\n

Member Requests

\n {accessRequests && (\n <>\n {accessRequests.map((invitation) => {\n return (\n \n openModal(\n \n )\n }\n onAccept={onMemberRequestAccept}\n />\n );\n })}\n \n )}\n\n {!requestedAccess.length && <>No companies}\n
\n )}\n\n {isGroupOwn && (\n
\n {members && (\n
\n setMemberFilter(e.target.value)}\n InputProps={{\n endAdornment: (\n \n {}}>\n \n \n \n ),\n }}\n />\n {members\n .filter((member) => {\n if (!memberFilter) {\n return true;\n }\n return member.invitedCompany.name\n .toLowerCase()\n .includes(memberFilter.toLowerCase());\n })\n .map((invitation) => {\n return (\n \n );\n })}\n
\n )}\n\n {!members.length && <>No members joined yet}\n
\n )}\n
\n \n );\n};\n\nexport default GroupMembers;\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { inviteGroupMembers } from \"shared/client\";\nimport { CombinedInvitationRecipientInput } from \"shared/model\";\n\ntype InviteToGroupHookParams = {\n onSuccess?: () => void;\n groupId: string;\n};\n\ntype InviteToGroupParams = {\n recipients: CombinedInvitationRecipientInput[];\n};\n\nexport default function useInviteToGroup(options: InviteToGroupHookParams) {\n const client = useQueryClient();\n return useMutation(\n ({ recipients }: InviteToGroupParams) =>\n inviteGroupMembers(options.groupId, recipients),\n {\n mutationKey: mutationKeys.inviteToGroup,\n onSettled: () => {\n client.invalidateQueries(queryKeys.groupInvitations(options.groupId));\n },\n onSuccess: options.onSuccess,\n }\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n secondPageInputContainer: {\n display: \"flex\",\n margin: \"12px\",\n flexDirection: \"column\",\n backgroundColor: neutralColors.GRAY2,\n borderRadius: px(8),\n padding: px(24),\n },\n inputLabel: {\n ...typography.SUBTITLE2,\n paddingBottom: px(7),\n color: primaryColors.BLACK,\n borderBottom: px(1),\n marginBottom: px(32 - 7 - 1),\n borderBottomStyle: \"solid\",\n borderBottomColor: neutralColors.GRAY3,\n },\n rowItemsContainer: { display: \"flex\", flexDirection: \"column\", gap: px(25) },\n rowItem: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n ...typography.BODY2,\n flex: 2,\n },\n labelSecondPage: {\n ...typography.BODY2,\n color: primaryColors.BLACK,\n flex: 2,\n },\n span: {\n ...typography.BODY2,\n color: neutralColors.GRAY5,\n flex: 5,\n },\n});\n","import Button from \"components/ui/Button\";\nimport Switch from \"components/ui/Switch\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./GroupSettingsStyle\";\n\ntype GroupSettingsRowProps = {\n className?: string;\n title: string;\n items: {\n /** todo rename to setting? */\n subtitle?: string;\n description: string;\n value: boolean;\n /** todo rename to onToggle? */\n onChange?: (e: boolean) => void;\n onClick?: () => void;\n buttonTitle?: string;\n }[];\n};\n\n/** todo\n * - generalize\n * - rename to SettingsGroup (?) */\nexport function GroupSettingsRow({\n className,\n title,\n items,\n}: GroupSettingsRowProps) {\n return (\n
\n \n
\n {items.map((item, i) => {\n return (\n
\n {item.subtitle && (\n \n )}\n {item.description}\n\n {item.onChange && (\n \n )}\n {item.onClick && (\n \n )}\n
\n );\n })}\n
\n
\n );\n}\n","import { useContext } from \"react\";\n\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport { GroupData } from \"components/PulsePage/Groups/createGroup/CreateGroupModal\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useDeleteGroup from \"hooks/queries/useDeleteGroup\";\n\nimport { GroupSettingsRow } from \"./GroupSettingsRow\";\n\ntype Props = {\n groupId?: string;\n onChange: (value: boolean, fieldName: keyof GroupData) => void;\n values: GroupData;\n onDelete?: () => void;\n};\n\nconst GroupSettings = ({ groupId, onChange, values, onDelete }: Props) => {\n const { openModal } = useContext(ModalContext);\n\n const {\n isVisible,\n isPrivate,\n onlyAdminCanCreateContent,\n postsRequireApproval,\n allowMemberInvitations,\n filesRequireApproval,\n } = values;\n return (\n <>\n {\n onChange(e, \"isPrivate\");\n },\n },\n ]}\n />\n {\n onChange(e, \"isVisible\");\n },\n },\n ]}\n />\n {\n onChange(e, \"allowMemberInvitations\");\n },\n },\n ]}\n />\n {groupId && (\n {\n onChange(e, \"onlyAdminCanCreateContent\");\n },\n },\n {\n subtitle: \"Approved Post\",\n description:\n \"The admin has to approve the Post made by any members\",\n value: postsRequireApproval,\n onChange: (e) => {\n onChange(e, \"postsRequireApproval\");\n },\n },\n {\n subtitle: \"Approved Files\",\n description:\n \"The admin has to approve the files and videos uploaded (without a post) by other members\",\n value: filesRequireApproval,\n onChange: (e) => {\n onChange(e, \"filesRequireApproval\");\n },\n },\n ]}\n />\n )}\n\n {groupId && (\n \n openModal(\n \n ),\n },\n ]}\n />\n )}\n \n );\n};\n\nexport default GroupSettings;\n\nfunction DeleteGroupModal({\n groupId,\n onDeleteGroup = () => {},\n}: {\n groupId: string;\n onDeleteGroup?: () => void;\n}) {\n const { mutateAsync: deleteGroup } = useDeleteGroup();\n const { closeModal } = useContext(ModalContext);\n\n return (\n {\n try {\n await deleteGroup(groupId);\n onDeleteGroup();\n } catch (err) {\n console.error(\"Authentication Erro\");\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to delete this group? Deletion is a permanent and\n irreversible action.\n \n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { deleteGroup } from \"shared/client\";\n\nimport useOwnCompany from \"./useOwnCompany\";\n\ntype DeleteGroupHookParams = {\n onSuccess?: () => void;\n};\n\ntype DeleteGroupInput = string; // id of the group\n\nexport default function useDeleteGroup(options?: DeleteGroupHookParams) {\n const { data: ownCompany } = useOwnCompany();\n const client = useQueryClient();\n\n return useMutation((id: DeleteGroupInput) => deleteGroup(id), {\n mutationKey: mutationKeys.deleteGroup,\n onSuccess: options?.onSuccess,\n onSettled: () => {\n client.invalidateQueries(queryKeys.ownGroups(ownCompany?.id || \"\"));\n },\n });\n}\n","import React from \"react\";\n\nimport { neutralColors } from \"@pulsemarket/constants\";\nimport { textAlignCenterClass } from \"shared/styles/classes\";\n\ntype Props = {\n children: (React.ReactElement | false)[];\n step: number;\n};\n\nconst FlowPopupContent = ({ children, step }: Props) => {\n const nonEmptyChildren = children.filter(Boolean);\n return (\n
\n {children[step]}\n {/* don't list steps if there's only one */}\n {nonEmptyChildren.length > 1 && (\n
\n \n \n {nonEmptyChildren.map((c, i) => (\n \n ))}\n \n
\n )}\n
\n );\n};\n\nexport default FlowPopupContent;\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n CreateGroup: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n },\n svg: {\n height: px(16),\n cursor: \"pointer\",\n justifyContent: \"center\",\n marginRight: px(16),\n color: neutralColors.GRAY5,\n },\n titleContainer: {\n height: \"30px\",\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n marginLeft: \"0px\",\n },\n title: {\n ...typography.HEADLINE5,\n marginBottom: px(0),\n marginTop: px(0),\n color: primaryColors.PURPLE2,\n },\n});\n","import { useState } from \"react\";\nimport { useQuery } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport FlowPopupContent from \"components/FlowPopupContent\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport GroupDescription from \"components/PulsePage/Groups/GroupDescription\";\nimport GroupSettings from \"components/PulsePage/Groups/GroupSettings\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { useFormik } from \"formik\";\nimport useCreateGroup from \"hooks/queries/useCreateGroup\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { getZones, uploadImage } from \"shared/client\";\nimport { DataRoomDto, GroupDetailsDto, NewGroup } from \"shared/model\";\nimport { BlobType } from \"shared/model\";\n\nimport styles from \"./CreateGroupModal.styles\";\n\nexport type GroupData = {\n name: string;\n description: string;\n zones: string[]; // up to 3 zones picked from dropdown\n datarooms: Pick[];\n avatar: string;\n backgroundImage: string; // upload img from pc to cloud, then save id\n isPrivate: boolean;\n isVisible: boolean;\n allowMemberInvitations: boolean;\n onlyAdminCanCreateContent: boolean;\n postsRequireApproval: boolean;\n filesRequireApproval: boolean;\n};\n\nexport interface CreateGroupProps {\n onSuccess: (group: GroupDetailsDto) => void;\n onCancel: () => void;\n}\n\nexport default function CreateGroup({\n onSuccess,\n onCancel = () => {},\n}: CreateGroupProps) {\n const [isLoading, setIsLoading] = useState(false);\n const { mutateAsync: createGroup } = useCreateGroup();\n const { data: userData } = useUserData();\n const [step, setStep] = useState(0);\n const history = useHistory();\n const { data: zones } = useQuery(queryKeys.zones, () => getZones(), {\n placeholderData: [],\n });\n\n const [avatar, setAvatar] = useState();\n const [backgroundImage, setBackgroundImage] = useState();\n\n const formik = useFormik({\n initialValues: {\n name: \"\",\n description: \"\",\n zones: [],\n datarooms: [],\n avatar: \"\",\n backgroundImage: \"\",\n isPrivate: true,\n isVisible: false,\n allowMemberInvitations: false,\n onlyAdminCanCreateContent: true,\n postsRequireApproval: false,\n filesRequireApproval: false,\n },\n onSubmit: async (values) => {\n setIsLoading(true);\n try {\n const newGroup: NewGroup = {\n ...values,\n adminId: userData!.companyId,\n };\n const groupData = await createGroup(newGroup);\n\n if (avatar) {\n await uploadImage({\n file: avatar,\n uploadImageProps: {\n blobType: BlobType.GroupAvatar,\n groupId: groupData.id,\n },\n });\n }\n if (backgroundImage) {\n await uploadImage({\n file: backgroundImage,\n uploadImageProps: {\n groupId: groupData.id,\n blobType: BlobType.GroupBackGroundImage,\n },\n });\n }\n onSuccess(groupData);\n history.push(ROUTES.GROUP(groupData.id));\n } catch (err) {\n console.error(err);\n } finally {\n formik.setSubmitting(false);\n }\n return;\n },\n });\n return (\n // To-Do, styles do not match 100% design\n
\n \n }\n onClose={onCancel}\n buttons={[\n {\n variant: \"normal\",\n color: \"orange\",\n disabled:\n formik.isSubmitting ||\n formik.values.name === \"\" ||\n formik.values.name.length > 100 ||\n formik.values.description.length > 2000 ||\n formik.values.zones.length === 0,\n disableCloseAfterCallback: true,\n onClick: () => setStep(1),\n children: \"Next\",\n },\n ]}\n >\n {isLoading ? (\n \n ) : (\n {\n formik.setFieldValue(\"avatar\", img);\n setAvatar(file);\n }}\n backgroundImage={formik.values.backgroundImage}\n onBackgroundChange={(img, file) => {\n formik.setFieldValue(\"backgroundImage\", img);\n setBackgroundImage(file);\n }}\n name={formik.values.name}\n onNameChange={formik.handleChange(\"name\")}\n description={formik.values.description}\n onDescriptionChange={formik.handleChange(\"description\")}\n zoneOptions={zones || []}\n zones={formik.values.zones}\n onZonesChange={(ids) => formik.setFieldValue(\"zones\", ids)}\n />\n )}\n \n \n setStep(0)}\n />\n \n </div>\n }\n key=\"1\"\n buttons={[\n {\n style: { margin: \"40px auto\" },\n variant: \"normal\",\n color: \"orange\",\n disabled:\n formik.isSubmitting ||\n formik.values.name === \"\" ||\n formik.values.zones.length === 0,\n disableCloseAfterCallback: true,\n onClick: () => formik.handleSubmit(),\n children: \"Create Group\",\n },\n ]}\n >\n <GroupSettings\n values={formik.values}\n onChange={(value, field) => {\n formik.setFieldValue(field, value);\n }}\n />\n </SimpleModalBody>\n </FlowPopupContent>\n </div>\n );\n}\n\nfunction Title() {\n return <p className={styles.title}>Create group</p>;\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { createGroup } from \"shared/client\";\nimport { NewGroup } from \"shared/model\";\n\nexport default function useCreateGroup() {\n const client = useQueryClient();\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation(\n (newGroup: NewGroup) => {\n return createGroup(newGroup);\n },\n {\n mutationKey: mutationKeys.createGroup,\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.ownGroups(ownCompany?.id || \"\"));\n },\n }\n );\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCardMediaUtilityClass(slot) {\n return generateUtilityClass('MuiCardMedia', slot);\n}\nconst cardMediaClasses = generateUtilityClasses('MuiCardMedia', ['root', 'media', 'img']);\nexport default cardMediaClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getCardMediaUtilityClass } from \"./cardMediaClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n isMediaComponent,\n isImageComponent\n } = ownerState;\n const slots = {\n root: ['root', isMediaComponent && 'media', isImageComponent && 'img']\n };\n return composeClasses(slots, getCardMediaUtilityClass, classes);\n};\nconst CardMediaRoot = styled('div', {\n name: 'MuiCardMedia',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n isMediaComponent,\n isImageComponent\n } = ownerState;\n return [styles.root, isMediaComponent && styles.media, isImageComponent && styles.img];\n }\n})({\n display: 'block',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n variants: [{\n props: {\n isMediaComponent: true\n },\n style: {\n width: '100%'\n }\n }, {\n props: {\n isImageComponent: true\n },\n style: {\n objectFit: 'cover'\n }\n }]\n});\nconst MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];\nconst IMAGE_COMPONENTS = ['picture', 'img'];\nconst CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCardMedia'\n });\n const {\n children,\n className,\n component = 'div',\n image,\n src,\n style,\n ...other\n } = props;\n const isMediaComponent = MEDIA_COMPONENTS.includes(component);\n const composedStyle = !isMediaComponent && image ? {\n backgroundImage: `url(\"${image}\")`,\n ...style\n } : style;\n const ownerState = {\n ...props,\n component,\n isMediaComponent,\n isImageComponent: IMAGE_COMPONENTS.includes(component)\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(CardMediaRoot, {\n className: clsx(classes.root, className),\n as: component,\n role: !isMediaComponent && image ? 'img' : undefined,\n ref: ref,\n style: composedStyle,\n ownerState: ownerState,\n src: isMediaComponent ? image || src : undefined,\n ...other,\n children: children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? CardMedia.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: chainPropTypes(PropTypes.node, props => {\n if (!props.children && !props.image && !props.src && !props.component) {\n return new Error('MUI: Either `children`, `image`, `src` or `component` prop must be specified.');\n }\n return null;\n }),\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Image to be displayed as a background image.\n * Either `image` or `src` prop must be specified.\n * Note that caller must specify height otherwise the image will not be visible.\n */\n image: PropTypes.string,\n /**\n * An alias for `image` property.\n * Available only with media components.\n * Media components: `video`, `audio`, `picture`, `iframe`, `img`.\n */\n src: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default CardMedia;","import getVideoId from \"get-video-id\";\n\nexport function checkYoutubeUrl(youtubeUrl: string) {\n return getVideoId(youtubeUrl);\n}\n\nexport function checkHttpProtocol(url: string | undefined) {\n const regex = /^http(s)?:?\\/{2}\\w/g;\n if (!url) {\n return;\n }\n if (url.match(regex)) {\n return url;\n }\n return `https://${url}`;\n}\n\nexport const getLocationParts = (\n ...locationDetails: (string | undefined)[]\n) => {\n const locationArray: string[] = [];\n locationDetails.forEach((element) => {\n if (element) {\n locationArray.push(element);\n }\n });\n return locationArray.join(\", \");\n};\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { extend, media, stylesheet } from \"typestyle\";\n\nconst detailFieldName = {\n ...typography.BODY1,\n color: neutralColors.GRAY5,\n marginRight: \"8px\",\n};\n\nexport default stylesheet({\n companyDetailsContainer: {\n backgroundColor: primaryColors.WHITE,\n width: \"100%\",\n height: \"100%\",\n borderRadius: \"8px\",\n padding: \"25px\",\n },\n companyDetailsContainerFullWidth: {\n backgroundColor: primaryColors.WHITE,\n width: \"100%\",\n height: \"100%\",\n borderRadius: \"8px\",\n padding: \"25px\",\n gridColumn: \"span 2\",\n },\n detailContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n padding: \"9px\",\n },\n detail: {\n ...typography.BODY1,\n },\n detailField: {\n ...detailFieldName,\n },\n responsiveDetailField: {\n ...detailFieldName,\n ...extend(media({ maxWidth: 1240 }, { display: \"none\" })),\n },\n detailIcon: {\n color: neutralColors.GRAY5,\n width: \"21px\",\n height: \"21px\",\n marginRight: \"13px\",\n },\n});\n","import React from \"react\";\n\nimport { getLocationParts } from \"components/PulsePage/helpers\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\nimport styles from \"./CompanyDetailsCardStyles\";\n\ninterface CompanyDetailsCardProps {\n company: CompanyDetailsDto;\n isTargetMarketDisplayed: boolean;\n}\n\nexport default function CompanyDetailsCard({\n company,\n isTargetMarketDisplayed,\n}: CompanyDetailsCardProps) {\n const isResponsiveDetailField = isTargetMarketDisplayed\n ? styles.detailField\n : styles.responsiveDetailField;\n\n return (\n <div\n className={\n isTargetMarketDisplayed\n ? styles.companyDetailsContainerFullWidth\n : styles.companyDetailsContainer\n }\n >\n {(company?.city || company?.state || company?.country) && (\n <div className={styles.detailContainer}>\n <SvgIcon src=\"/icons/location_on.svg\" className={styles.detailIcon} />\n <span className={isResponsiveDetailField}>Location: </span>\n <span className={styles.detail}>\n {getLocationParts(\n company.city,\n company.state,\n company.country?.name\n )}\n </span>\n </div>\n )}\n {company.phoneNumber && (\n <div className={styles.detailContainer}>\n <SvgIcon src=\"/icons/phone_icon.svg\" className={styles.detailIcon} />\n <span className={isResponsiveDetailField}>Phone Number: </span>\n <span className={styles.detail}>{company.phoneNumber}</span>\n </div>\n )}\n {company.employees && (\n <div className={styles.detailContainer}>\n <SvgIcon src=\"/icons/people_alt.svg\" className={styles.detailIcon} />\n <span className={isResponsiveDetailField}>Number of employees: </span>\n <span className={styles.detail}>{company.employees.name}</span>\n </div>\n )}\n {company.website && (\n <div className={styles.detailContainer}>\n <SvgIcon\n src=\"/icons/website_icon.svg\"\n className={styles.detailIcon}\n />\n <span className={isResponsiveDetailField}>Website: </span>\n <span className={styles.detail}>{company.website}</span>\n </div>\n )}\n {company.linkedInUrl && (\n <div className={styles.detailContainer}>\n <SvgIcon\n src=\"/icons/linked_in_icon.svg\"\n className={styles.detailIcon}\n />\n <span className={isResponsiveDetailField}>Linkedin: </span>\n <span className={styles.detail}>{company.linkedInUrl}</span>\n </div>\n )}\n </div>\n );\n}\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n tagContainer: {\n padding: \"20px\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n flex: 1,\n },\n title: {\n ...typography.HEADLINE6,\n paddingTop: \"18px\",\n marginBottom: \"24px\",\n },\n groupIcon: {\n width: \"54.03px\",\n height: \"58.25px\",\n color: utilityColors.CYAN,\n },\n tag: {\n ...typography.BODY2,\n color: utilityColors.ORANGE,\n maxWidth: \"90%\",\n textAlign: \"center\",\n padding: \"6px\",\n },\n addButton: {\n height: \"fit-content\",\n },\n});\n\nexport default styles;\n","import TagsBox from \"./TagsBox\";\n\nexport default TagsBox;\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport Button from \"components/ui/Button\";\nimport { Pair } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TagsBoxStyles\";\n\ntype TagsBoxProps = {\n title: string;\n selectedTags?: Pair[];\n icon: string;\n hideAddButton?: boolean;\n className?: string;\n};\n\nexport default function TagsBox({\n title,\n selectedTags = [],\n icon,\n hideAddButton = false,\n className,\n}: TagsBoxProps): JSX.Element {\n const hasTags = !!selectedTags?.length;\n const history = useHistory();\n\n return (\n <div className={classes(styles.tagContainer, className)}>\n <img src={icon} className={styles.groupIcon} alt=\"tag group\" />\n <h2 className={styles.title}>{title}</h2>\n {hasTags && (\n <span className={styles.tag}>\n {selectedTags.map((tag) => tag.name).join(\", \")}\n </span>\n )}\n {!hideAddButton && !hasTags && (\n <Button\n variant=\"transparent\"\n onClick={() => history.push(`/company/edit/info`)}\n className={styles.addButton}\n >\n Add +\n </Button>\n )}\n </div>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n container: {\n overflowX: \"auto\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport CompanyCard from \"components/CompanyCard\";\nimport { CompanyCardProps } from \"components/CompanyCard/CompanyCard\";\n\nimport styles from \"./CompanyCardsRowStyles\";\n\ntype CompanyCardsRowProps = {\n cards: CompanyCardProps[];\n};\n\nexport default function CompanyCardsRow({ cards }: CompanyCardsRowProps) {\n return (\n <Grid2 className={styles.container} container spacing={2} wrap=\"nowrap\">\n {cards.map((card) => (\n <Grid2 key={card.company.id}>\n <CompanyCard {...card} />\n </Grid2>\n ))}\n </Grid2>\n );\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst style = stylesheet({\n container: {},\n title: {\n color: primaryColors.PURPLE2,\n ...typography.SUBTITLE1,\n ...zeroPaddingMargin,\n marginBottom: \"34px\",\n },\n});\n\nexport default style;\n","import React from \"react\";\n\nimport { CompanyCardProps } from \"components/CompanyCard/CompanyCard\";\nimport CompanyCardsRow from \"components/CompanyCard/CompanyCardsRow\";\n\nimport styles from \"./CompanyListWithTitleStyle\";\n\ntype CompanyListWithTitleProps = {\n cards: CompanyCardProps[];\n title?: string;\n};\n\nexport default function CompanyListWithTitle({\n cards,\n title,\n}: CompanyListWithTitleProps) {\n return (\n <div className={styles.container}>\n {title && <h2 className={styles.title}>{title}</h2>}\n <CompanyCardsRow cards={cards} />\n </div>\n );\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n mainContainer: {\n padding: \"57px\",\n },\n overviewContainer: {\n flex: 1,\n padding: \"36px\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n },\n overviewTitle: {\n ...typography.HEADLINE6,\n marginTop: \"0\",\n },\n paragraph: {\n ...typography.BODY1,\n whiteSpace: \"pre-wrap\",\n wordBreak: \"break-word\",\n },\n videoContainer: {\n width: \"100%\",\n marginTop: \"24px\",\n borderRadius: \"8px\",\n },\n video: {\n width: \"100%\",\n height: \"250px\",\n border: \"none\",\n borderRadius: \"8px\",\n },\n industryTagBox: {\n backgroundColor: primaryColors.WHITE,\n width: \"50%\",\n borderRadius: \"8px\",\n marginRight: \"8px\",\n },\n tagBox: {\n backgroundColor: primaryColors.WHITE,\n width: \"50%\",\n borderRadius: \"8px\",\n },\n tagsContainer: {\n display: \"grid\",\n gridTemplateColumns: \"50% 50%\",\n padding: \"24px 0px\",\n gap: \"20px\",\n },\n basicInfoContainer: {\n position: \"relative\",\n height: \"fit-content\",\n },\n});\n","import React from \"react\";\n\nimport { CardMedia } from \"@mui/material\";\nimport GetStartedBox from \"components/GetStartedBox\";\nimport CompanyDetailsCard from \"components/PulsePage/About/CompanyDetailsCard\";\nimport { checkYoutubeUrl } from \"components/PulsePage/helpers\";\nimport TagsBox from \"components/PulsePage/TagsBox\";\nimport CompanyListWithTitle from \"components/VendorSearch/CompanyListWithTitle\";\nimport useCompanyCards from \"hooks/useCompanyCards\";\nimport { CompanyDetailsDto, CompanyDto } from \"shared/model\";\n\nimport styles from \"./AboutStyles\";\n\ninterface AboutProps {\n company: CompanyDetailsDto;\n isOwner: boolean;\n historyPush: (url: string) => void;\n similarVendors: CompanyDto[];\n}\n\nconst getStarted = {\n title: \"Create your Pulse Page\",\n subtitle: \"Edit your Company info.\",\n caption:\n \"Add your company info, specialities, services, brand content, assets and all products and services you offer to stand out from the crowd. \",\n image: { src: \"/illustrations/illustration_yourpulsecompany.png\" },\n name: \"Get Started\",\n};\n\nconst about = {\n title: \"About\",\n subtitle: \"Show the Buyers who you are\",\n caption:\n \"Add a company description, a video introduction to showcase you company's skills, products and areas of expertise\",\n image: { src: \"/illustrations/illustration_about.png\" },\n name: \"Edit company about\",\n};\n\nexport default function About({\n company,\n isOwner,\n historyPush,\n similarVendors = [],\n}: AboutProps) {\n const listOfSimilarVendors = useCompanyCards(similarVendors);\n const youtubeVideoId = checkYoutubeUrl(company?.youtubeUrl || \"\");\n const targetMarketDisplay = isOwner ? true : !!company.servicing.length;\n const companyDetailsInformation = !!(\n company.phoneNumber ||\n company.address ||\n company.city ||\n company.country ||\n company.employees ||\n company.website ||\n company.linkedInUrl ||\n company.contactName ||\n company.email\n );\n\n return (\n <div className={styles.mainContainer}>\n {!company?.about && !company?.youtubeUrl && isOwner && (\n <GetStartedBox\n type=\"link\"\n action={() => historyPush(`/company/edit/info`)}\n {...getStarted}\n />\n )}\n\n {!company?.about && company?.youtubeUrl && isOwner && (\n <GetStartedBox\n type=\"link\"\n action={() => historyPush(`/company/edit/details`)}\n {...about}\n />\n )}\n\n {company?.about && (\n <div className={styles.overviewContainer}>\n <h2 className={styles.overviewTitle}>Overview</h2>\n <p className={styles.paragraph}>{company?.about}</p>\n </div>\n )}\n\n {company?.youtubeUrl && (\n <div className={styles.videoContainer}>\n <CardMedia\n component=\"iframe\"\n src={`https://www.youtube.com/embed/${youtubeVideoId.id}`}\n title=\"YouTube video player\"\n className={styles.video}\n allowFullScreen\n />\n </div>\n )}\n\n <div className={styles.tagsContainer}>\n {company?.industries && (\n <div>\n <TagsBox\n title=\"Industry\"\n selectedTags={company?.industries}\n icon=\"/icons/industry.svg\"\n hideAddButton={!isOwner}\n />\n </div>\n )}\n\n {(company?.servicing.length || isOwner) && (\n <div>\n <TagsBox\n title=\"Target Markets\"\n selectedTags={company?.servicing}\n icon=\"/img/servicing.png\"\n hideAddButton={!isOwner}\n />\n </div>\n )}\n\n {companyDetailsInformation && (\n <CompanyDetailsCard\n isTargetMarketDisplayed={targetMarketDisplay}\n company={company}\n />\n )}\n </div>\n <div className={styles.basicInfoContainer}>\n {!isOwner && <CompanyListWithTitle cards={listOfSimilarVendors} />}\n </div>\n </div>\n );\n}\n","import React, { useContext } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { GroupDto } from \"@pulsemarket/api-client\";\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { GroupSettingTab } from \"pages/PulseGroup/GroupSettingsPage/GroupSettingsPage\";\nimport { getGroup } from \"shared/client\";\n\nimport GroupCard from \"../GroupCard\";\n\nfunction OwnGroupCard({ group }: { group: GroupDto }) {\n const history = useHistory();\n const client = useQueryClient();\n const { openModal, closeModal } = useContext(ModalContext);\n\n return (\n <GroupCard\n group={group}\n buttons={[\n {\n id: `${group.id}-group-button1`,\n children: \"Add member\",\n variant: \"outlined\",\n color: \"orange\",\n onClick: () =>\n history.push(ROUTES.GROUP(group.id), {\n initialSettingsPage: GroupSettingTab.Members,\n }),\n },\n {\n id: `${group.id}-group-button2`,\n children: \"View group\",\n variant: \"outlined\",\n color: \"purple\",\n onMouseEnter: () =>\n client.prefetchQuery(\n queryKeys.group(group.id),\n () => getGroup(group.id),\n {\n staleTime: 5000,\n }\n ),\n onClick: () => history.push(ROUTES.GROUP(group.id)),\n },\n ]}\n kebabMenuActions={[\n {\n text: \"Copy link to group\",\n onClick: () => {\n navigator.clipboard.writeText(\n `${window.location.origin}/${ROUTES.GROUP(group.id)}`\n );\n openModal(\n <SimpleModalBody\n title=\"Link copied\"\n buttons={[\n {\n variant: \"normal\",\n color: \"orange\",\n onClick: () => closeModal(),\n children: \"Ok, Thanks\",\n },\n ]}\n >\n The link was copied. Paste to share this group with others.\n </SimpleModalBody>\n );\n },\n },\n {\n text: \"Settings\",\n onClick: () =>\n history.push(ROUTES.GROUP(group.id), {\n initialSettingsPage: GroupSettingTab.Settings,\n }),\n },\n ]}\n />\n );\n}\n\nexport default OwnGroupCard;\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n border: `1px dashed ${utilityColors.ORANGE}`,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"275px\",\n flexDirection: \"column\",\n height: \"305px\",\n borderRadius: \"8px\",\n boxShadow: \"0px 2px 10px rgba(0, 0, 0, 0.1)\",\n background: primaryColors.WHITE,\n color: utilityColors.ORANGE,\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n cursor: \"pointer\",\n },\n },\n },\n});\n\nexport default styles;\n","import { classes } from \"typestyle\";\n\nimport styles from \"./BlankCard.styles\";\n\ntype Props = {\n className?: string;\n onClick: () => void;\n text?: string;\n [\"data-cy\"]?: string;\n};\n\nconst BlankCard = ({ className, onClick, text, ...rest }: Props) => {\n return (\n <div\n className={classes(styles.root, className)}\n onClick={() => onClick()}\n {...rest}\n >\n {text}\n </div>\n );\n};\n\nexport default BlankCard;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n mainContainer: {\n padding: \"57px\",\n },\n grid: {\n overflowX: \"auto\",\n },\n createGroup: {\n padding: \"8px\",\n },\n memberCount: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n marginBottom: px(10),\n },\n discoverGroupsButton: {\n marginTop: px(30),\n },\n});\n","import { useContext, useMemo } from \"react\";\nimport useInfiniteScroll from \"react-infinite-scroll-hook\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { Grid2, Grid2Props, GridSize } from \"@mui/material\";\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport GetStartedBox from \"components/GetStartedBox\";\nimport CreateGroup from \"components/PulsePage/Groups/createGroup\";\nimport JoinableGroupCard from \"components/PulsePage/Groups/GroupCard/Cards/JoinableGroupCard\";\nimport OwnGroupCard from \"components/PulsePage/Groups/GroupCard/Cards/OwnGroupCard\";\nimport BlankCard from \"components/ui/BlankCard\";\nimport Button from \"components/ui/Button\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useJoinedGroups from \"hooks/queries/useJoinedGroups\";\nimport useOwnGroups from \"hooks/queries/useOwnGroups\";\n\nimport styles from \"./MyGroupsStyles\";\n\nconst groupBoxGridSizes = {\n xs: 6 as GridSize,\n lg: 4 as GridSize,\n xl: 3 as GridSize,\n};\n\nconst groupBoxContainerProps: Partial<Grid2Props> = {\n container: true,\n spacing: 2,\n direction: \"row\",\n wrap: \"nowrap\",\n alignItems: \"center\",\n className: styles.grid,\n};\n\nconst MyGroups = () => {\n const history = useHistory();\n\n const {\n data: ownGroupPages,\n fetchNextPage: fetchNextOwnGroups,\n hasNextPage: hasMoreOwnGroups,\n isFetchingNextPage: isFetchingOwnGroups,\n isLoading: ownGroupsLoading,\n } = useOwnGroups();\n const {\n data: joinedGroupPages,\n fetchNextPage: fetchNextJoinedGroups,\n hasNextPage: hasMoreJoinedGroups,\n isFetchingNextPage: isFetchingJoinedGroups,\n isLoading: joinedGroupsLoading,\n } = useJoinedGroups();\n\n const { openModal, closeModal } = useContext(ModalContext);\n\n const ownGroups = useMemo(\n () => (ownGroupPages?.pages || []).flatMap((group) => group),\n [ownGroupPages?.pages]\n );\n const joinedGroups = useMemo(\n () => (joinedGroupPages?.pages || []).flatMap((group) => group),\n [joinedGroupPages?.pages]\n );\n\n const [ownGroupsInfiniteRef, { rootRef: ownGroupsRootRef }] =\n useInfiniteScroll({\n loading: isFetchingOwnGroups,\n hasNextPage: !!hasMoreOwnGroups,\n onLoadMore: fetchNextOwnGroups,\n });\n const [joinedGroupsInfiniteRef, { rootRef: joinedGroupsRootRef }] =\n useInfiniteScroll({\n loading: isFetchingJoinedGroups,\n hasNextPage: !!hasMoreJoinedGroups,\n onLoadMore: fetchNextJoinedGroups,\n });\n\n if (!ownGroupPages || !joinedGroupPages) {\n return <Loading />;\n }\n\n return (\n <div className={styles.mainContainer}>\n <h3>My Groups</h3>\n\n {ownGroupsLoading ? (\n <Loading isWindowed />\n ) : !ownGroups.length ? (\n <GetStartedBox\n name=\"Create new group\"\n title=\"Create new group\"\n caption=\"Create a new group and invite people with the same goal to connect and build a community\"\n type=\"button\"\n action={() =>\n openModal(\n <CreateGroup\n onSuccess={(group) => {\n closeModal();\n history.push(ROUTES.GROUP(group.id));\n }}\n onCancel={closeModal}\n />,\n { props: { maxWidth: \"lg\" } }\n )\n }\n lockedButtonProps={{\n color: \"orange\",\n variant: \"normal\",\n name: \"Create new Group\",\n \"data-cy\": \"create-new-group\",\n }}\n image={{ src: \"/illustrations/illustration_create_group.svg\" }}\n />\n ) : (\n <Grid2 {...groupBoxContainerProps} ref={ownGroupsRootRef}>\n <Grid2 {...groupBoxGridSizes} key={\"createGroupGrid\"}>\n <BlankCard\n className={styles.createGroup}\n text={\"+ Create Group\"}\n {...{\n \"data-cy\": \"create-new-group\",\n }}\n onClick={() =>\n openModal(\n <CreateGroup\n onSuccess={(group) => {\n closeModal();\n history.push(ROUTES.GROUP(group.id));\n }}\n onCancel={closeModal}\n />,\n { props: { maxWidth: \"lg\" } }\n )\n }\n />\n </Grid2>\n {ownGroups.map((group) => (\n <Grid2 {...groupBoxGridSizes} key={group.id}>\n <OwnGroupCard group={group} />\n </Grid2>\n ))}\n {hasMoreOwnGroups && (\n <Grid2 {...groupBoxGridSizes} ref={ownGroupsInfiniteRef}>\n <Loading isWindowed />\n </Grid2>\n )}\n </Grid2>\n )}\n <h3>Member of</h3>\n {joinedGroupsLoading || !joinedGroups ? (\n <Loading isWindowed />\n ) : !joinedGroups.length ? (\n <GetStartedBox\n name=\"Discover groups\"\n title=\"Discover groups\"\n caption=\"Find other communities that share and support your goals\"\n type=\"button\"\n action={() => history.push(\"/discovergroups\")}\n lockedButtonProps={{\n color: \"orange\",\n variant: \"normal\",\n }}\n image={{ src: \"/illustrations/illustration_discover_group.svg\" }}\n />\n ) : (\n <>\n <Grid2 {...groupBoxContainerProps} ref={joinedGroupsRootRef}>\n {joinedGroups.map((group) => (\n <Grid2 {...groupBoxGridSizes} key={group.id}>\n <JoinableGroupCard group={group} />\n </Grid2>\n ))}\n {hasMoreJoinedGroups && (\n <Grid2 {...groupBoxGridSizes} ref={joinedGroupsInfiniteRef}>\n <Loading isWindowed />\n </Grid2>\n )}\n </Grid2>\n <Button\n className={styles.discoverGroupsButton}\n variant=\"outlined\"\n onClick={() => history.push(\"/discovergroups\")}\n >\n Discover Groups\n </Button>\n </>\n )}\n </div>\n );\n};\n\nexport default MyGroups;\n","import { useInfiniteQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getOwnGroups } from \"shared/client\";\n\nconst DEFAULT_PAGESIZE = 5;\n\nexport default function useOwnGroups(\n { limit }: { limit: number } = {\n limit: DEFAULT_PAGESIZE,\n }\n) {\n const { data: ownCompany } = useOwnCompany();\n\n return useInfiniteQuery(\n queryKeys.ownGroups(ownCompany!.id),\n ({ pageParam: offset }) => {\n return getOwnGroups({ offset, limit });\n },\n {\n enabled: !!ownCompany?.id,\n getNextPageParam(lastPage, allPages) {\n if (lastPage.length !== limit) {\n return null;\n }\n\n const fetchedCount = allPages.reduce(\n (sum, page) => sum + page.length,\n 0\n );\n\n return fetchedCount;\n },\n }\n );\n}\n","import { useInfiniteQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getGroupsImMeber as getGroupsImMember } from \"shared/client\";\n\nconst DEFAULT_PAGESIZE = 5;\n\nexport default function useJoinedGroups(\n { limit }: { limit: number } = {\n limit: DEFAULT_PAGESIZE,\n }\n) {\n const { data: ownCompany } = useOwnCompany();\n\n return useInfiniteQuery(\n queryKeys.groupsImMember(),\n ({ pageParam: offset }) => getGroupsImMember({ offset, limit }),\n {\n enabled: !!ownCompany?.id,\n getNextPageParam(lastPage, allPages) {\n if (lastPage.length !== limit) {\n return null;\n }\n\n const fetchedCount = allPages.reduce(\n (sum, page) => sum + page.length,\n 0\n );\n\n return fetchedCount;\n },\n }\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n container: {\n width: \"100%\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n display: \"flex\",\n padding: \"44px\",\n margin: \"24px 0\",\n },\n svgContainer: {\n width: \"200px\",\n height: \"200px\",\n padding: \"20px\",\n borderRadius: \"8px\",\n backgroundColor: neutralColors.GRAY1,\n },\n svg: {\n width: \"100%\",\n color: utilityColors.CYAN,\n },\n imageContainer: {\n width: \"200px\",\n height: \"200px\",\n borderRadius: \"8px\",\n },\n image: {\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n },\n detailsContainer: {\n padding: \"0 20px\",\n flex: 1,\n },\n title: {\n ...typography.HEADLINE6,\n margin: \"0\",\n },\n paragraph: {\n ...typography.BODY1,\n marginTop: \"24px\",\n whiteSpace: \"pre-wrap\",\n wordBreak: \"break-word\",\n },\n});\n","import React from \"react\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\n\nimport styles from \"./ProductOrServiceStyles\";\n\ntype ProductsAndServicesProps = {\n image: string;\n title: string;\n description: string;\n};\n\nexport default function ProductsAndServices({\n image,\n title,\n description,\n}: ProductsAndServicesProps) {\n return (\n <div className={styles.container}>\n {image ? (\n <div className={styles.imageContainer}>\n <img src={image} alt=\"product or service\" className={styles.image} />\n </div>\n ) : (\n <div className={styles.svgContainer}>\n <SvgIcon src=\"/icons/product_or_service.svg\" className={styles.svg} />\n </div>\n )}\n <div className={styles.detailsContainer}>\n <h3 className={styles.title}>{title}</h3>\n <p className={styles.paragraph}>{description}</p>\n </div>\n </div>\n );\n}\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n mainContainer: {\n padding: \"57px\",\n },\n addCardContainer: {\n width: \"100%\",\n height: \"260px\",\n border: `2px dashed ${neutralColors.GRAY3}`,\n borderRadius: \"8px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n icon: {\n width: \"13px\",\n color: utilityColors.ORANGE,\n marginRight: \"10px\",\n },\n linkContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n});\n","import React from \"react\";\n\nimport GetStartedBox from \"components/GetStartedBox\";\nimport Link from \"components/ui/Link\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\nimport ProductsOrServices from \"./ProductOrService\";\n\nimport styles from \"./ProductsAndServicesStyles\";\n\ninterface ProductsAndServicesProps {\n company: CompanyDetailsDto;\n isOwner: boolean;\n historyPush: (url: string) => void;\n}\n\nconst getStarted = {\n title: \"Products and Services\",\n subtitle: \"Showcase areas of expertise\",\n caption:\n \"Add and tag your company’s range of products, services and skills in one place, optimised for buyers actively searching for just what you offer. \",\n image: { src: \"/illustrations/illustration_productsandservices.png\" },\n name: \"Add Products and Services\",\n};\n\nexport default function ProductsAndServices({\n company,\n isOwner,\n historyPush,\n}: ProductsAndServicesProps) {\n return (\n <div className={styles.mainContainer}>\n {!company.productsAndServices.length && isOwner && (\n <GetStartedBox\n type=\"link\"\n action={() => historyPush(`/company/edit/productsandservices`)}\n {...getStarted}\n />\n )}\n {!!company?.productsAndServices?.length && (\n <>\n {company?.productsAndServices?.map((element) => (\n <ProductsOrServices\n key={element.id}\n image={element.image}\n title={element.title}\n description={element.description}\n />\n ))}\n {isOwner && (\n <div className={styles.addCardContainer}>\n <div className={styles.linkContainer}>\n <Link url=\"/company/edit/productsandservices\">\n <SvgIcon\n src=\"/icons/add_small_icon.svg\"\n className={styles.icon}\n />\n Add Product or Service\n </Link>\n </div>\n </div>\n )}\n </>\n )}\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n container: {\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: \"white\",\n width: \"100%\",\n height: \"fit-content\",\n borderRadius: \"8px\",\n padding: \"37px 61px\",\n },\n icon: {\n width: \"150px\",\n height: \"150px\",\n },\n details: {\n paddingLeft: \"54px\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n },\n title: {\n ...typography.HEADLINE6,\n color: primaryColors.PURPLE3,\n },\n description: {\n marginTop: 0,\n ...typography.BODY1,\n },\n clarification: {\n marginTop: 0,\n ...typography.BODY1,\n color: neutralColors.GRAY3,\n },\n});\n","import React from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport { downloadCert } from \"components/PassportPDF/useRenderPdfBlob\";\nimport Button from \"components/ui/Button\";\nimport Link from \"components/ui/Link\";\nimport LockedButton from \"components/ui/LockedButton\";\nimport useGetCompany from \"hooks/queries/useGetCompany\";\nimport useIsAdmin from \"hooks/queries/useIsAdmin\";\nimport permissionMessages from \"shared/constants/permissionMessages\";\nimport { PassportDto } from \"shared/model\";\n\nimport styles from \"./PassportCardStyles\";\n\ntype PassportCardProps = {\n title: string;\n description: { owner: string; notOwner: string };\n clarification?: string;\n avatar: string;\n isOwner: boolean;\n passportId: string;\n passport: PassportDto;\n companyId: string;\n};\n\nexport default function PassportCard({\n title,\n description,\n avatar,\n passport,\n isOwner,\n passportId,\n clarification,\n companyId,\n}: PassportCardProps) {\n const { isAdmin, loading, error } = useIsAdmin();\n\n const { data: companyData, isLoading: companyIsLoading } =\n useGetCompany(companyId);\n\n if (!companyData || companyIsLoading) {\n return <Loading />;\n }\n\n const linkToPulsePassport =\n !loading && !error && !isAdmin ? (\n <LockedButton\n variant=\"link\"\n color=\"orange\"\n tooltip={permissionMessages.pulsePassport}\n locked={true}\n >\n Access Pulse Passport\n </LockedButton>\n ) : (\n <Link url=\"/company/edit/pulsepassport\">Access Pulse Passport</Link>\n );\n\n return (\n <div className={styles.container}>\n <img src={avatar} alt=\"pulse passport avatar\" className={styles.icon} />\n <div className={styles.details}>\n <h3 className={styles.title}>{title}</h3>\n <p className={styles.description}>\n {isOwner ? description.owner : description.notOwner}\n </p>\n {!isOwner && <p className={styles.clarification}>{clarification}</p>}\n {isOwner ? (\n linkToPulsePassport\n ) : (\n <Button\n key={passportId}\n variant=\"link\"\n color=\"orange\"\n onClick={async () => {\n downloadCert({\n date: {\n from: new Date(passport.createdAt),\n until: new Date(passport.expirationDate),\n },\n companyName: companyData.name,\n\n // Do not show score for now for visitors\n // score: passport.score,\n //TODO: get score from related rfp response or save the score on the passport itself\n });\n }}\n >\n View Passport\n </Button>\n )}\n </div>\n </div>\n );\n}\n","import { PassportTypeId } from \"shared/model\";\n\ntype PassportAdditions = {\n image: string;\n description: { owner: string; notOwner: string };\n survey: string;\n pdfAvatar: string;\n clarification?: string;\n};\n\nexport const passportDetail: Record<PassportTypeId, PassportAdditions> = {\n esg_health_check_v1: {\n image: \"/icons/ESG_passport.svg\",\n description: {\n owner: `Congratulations! You have unlocked Pulse ESG tools that can help you expand your knowledge and showcase the standards of excellence your company offers.`,\n notOwner: ` ESG Passport unlocks tools including the SIO* approved self-assessment focused on Environment, Social and Corporate Governance plus access knowledge guides, support and Passport icon.`,\n },\n // TO-DO: this link shuold come fro the DB -Bug #3061\n survey: \"https://www.surveymonkey.co.uk/r/PulseMarket_ESGPassport\",\n pdfAvatar: \"/illustrations/ESG.png\",\n clarification: `*SIO: Scottish Investment Operations professional body for the financial services sector in Scotland`,\n },\n financial_service_readiness_v1: {\n image: \"/icons/financial_passport.svg\",\n description: {\n owner: \"Add owner description\",\n notOwner: \"Add not owner description\",\n },\n survey: \"add passport url\",\n pdfAvatar: \"ADD AVATAR\",\n },\n};\n","import React, { useMemo } from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport PassportCard from \"components/PassportCard\";\nimport { passportDetail } from \"shared/constants/passportsDetails\";\nimport { PassportDto } from \"shared/model\";\n\ntype PassportsListProps = {\n passports: PassportDto[];\n isOwner: boolean;\n companyId: string;\n};\n\nexport default function PassportsList({\n passports,\n isOwner,\n companyId,\n}: PassportsListProps) {\n const passportsWithAvatar = useMemo(() => {\n function getDisplayedPassports(allPassports: PassportDto[]) {\n return allPassports.filter((passport) => passport.show);\n }\n\n return getDisplayedPassports(passports).map((passport) => ({\n ...passport,\n image: passportDetail[passport.type.id].image,\n description: passportDetail[passport.type.id].description,\n clarification: passportDetail[passport.type.id].clarification,\n }));\n }, [passports]);\n\n return (\n <Grid2 container direction=\"column\" spacing={2}>\n {passportsWithAvatar.map((passport) => (\n <Grid2 key={passport.type.id}>\n <PassportCard\n key={passport.id}\n passport={passport}\n title={passport.type.name}\n description={passport.description}\n clarification={passport.clarification}\n avatar={passport.image}\n isOwner={isOwner}\n passportId={passport.type.id}\n companyId={companyId}\n />\n </Grid2>\n ))}\n </Grid2>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n mainContainer: {\n padding: \"57px\",\n },\n});\n","import React from \"react\";\n\nimport GetStartedBox from \"components/GetStartedBox\";\nimport PassportsList from \"components/PassportsList\";\nimport useIsAdmin from \"hooks/queries/useIsAdmin\";\nimport permissionMessages from \"shared/constants/permissionMessages\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\nimport styles from \"./PulsePassportStyles\";\n\ninterface PulsePassportProps {\n company: CompanyDetailsDto;\n isOwner: boolean;\n historyPush: (url: string) => void;\n}\n\nconst getPassport = {\n title: \"The Pulse Passport\",\n caption: `Get the Pulse passport to unlock self-assessment tools, knowledge guides and Pulse Passport icon to access your ESG position, \n expand your knowledge and showcase the standards of excellence your company offers.`,\n image: { src: \"/illustrations/illustration_pulsepassport.png\" },\n name: \"Get Passport\",\n};\n\nexport default function PulsePassport({\n company,\n isOwner,\n historyPush,\n}: PulsePassportProps) {\n const { isAdmin, loading, error } = useIsAdmin();\n\n return (\n <div className={styles.mainContainer}>\n {!company.passports?.length && isOwner && (\n <GetStartedBox\n type=\"link\"\n action={() => historyPush(`/company/edit/pulsepassport`)}\n {...getPassport}\n lockedButtonProps={{\n locked: !loading && !error && !isAdmin,\n tooltip: permissionMessages.pulsePassport,\n }}\n />\n )}\n\n {!!company.passports.length && (\n <PassportsList\n passports={company.passports}\n isOwner={isOwner}\n companyId={company.id}\n />\n )}\n </div>\n );\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nconst boxClasses = generateUtilityClasses('MuiBox', ['root']);\nexport default boxClasses;","'use client';\n\nimport { createBox } from '@mui/system';\nimport PropTypes from 'prop-types';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from \"../className/index.js\";\nimport { createTheme } from \"../styles/index.js\";\nimport THEME_ID from \"../styles/identifier.js\";\nimport boxClasses from \"./boxClasses.js\";\nconst defaultTheme = createTheme();\nconst Box = createBox({\n themeId: THEME_ID,\n defaultTheme,\n defaultClassName: boxClasses.root,\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;","'use client';\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport styled from '@mui/styled-engine';\nimport styleFunctionSx, { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createBox(options = {}) {\n const {\n themeId,\n defaultTheme,\n defaultClassName = 'MuiBox-root',\n generateClassName\n } = options;\n const BoxRoot = styled('div', {\n shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'\n })(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n const {\n className,\n component = 'div',\n ...other\n } = extendSxProp(inProps);\n return /*#__PURE__*/_jsx(BoxRoot, {\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: themeId ? theme[themeId] || theme : theme,\n ...other\n });\n });\n return Box;\n}","import { neutralColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n tabPanelZeroIndex: {\n backgroundColor: neutralColors.GRAY0,\n border: `1px solid ${neutralColors.GRAY3}`,\n borderBottomLeftRadius: \"8px\",\n borderBottomRightRadius: \"8px\",\n borderTopRightRadius: \"8px\",\n },\n tabPanel: {\n backgroundColor: neutralColors.GRAY0,\n border: `1px solid ${neutralColors.GRAY3}`,\n borderRadius: \"8px\",\n },\n});\n","import React from \"react\";\n\nimport { Box } from \"@mui/material\";\n\nimport styles from \"./TabPanelStyles\";\n\ninterface TabPanelProps {\n children?: React.ReactNode;\n index: number;\n value: number;\n}\n\nexport default function TabPanel({\n children,\n value,\n index,\n ...rest\n}: TabPanelProps) {\n return (\n <div\n role=\"tabpanel\"\n hidden={value !== index}\n id={`simple-tabpanel-${index}`}\n aria-labelledby={`simple-tab-${index}`}\n {...rest}\n className={index ? styles.tabPanel : styles.tabPanelZeroIndex}\n >\n {value === index && <Box p={3}>{children}</Box>}\n </div>\n );\n}\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n mainRoot: {\n flexGrow: 1,\n },\n tab: {\n height: \"40px\",\n },\n tabRoot: {\n ...typography.BODY2,\n borderTopLeftRadius: \"8px\",\n borderTopRightRadius: \"8px\",\n backgroundColor: neutralColors.GRAY0,\n textTransform: \"none\",\n color: neutralColors.GRAY5,\n padding: \"7 22px\",\n minHeight: \"28px\",\n marginRight: \"8px\",\n borderRight: `1px solid ${neutralColors.GRAY3}`,\n borderTop: `1px solid ${neutralColors.GRAY3}`,\n borderLeft: `1px solid ${neutralColors.GRAY3}`,\n },\n selectedTab: {\n opacity: 1,\n fontWeight: 700,\n color: utilityColors.ORANGE,\n overflowY: \"unset\",\n },\n indicator: {\n display: \"flex\",\n justifyContent: \"center\",\n backgroundColor: \"transparent\",\n position: \"absolute\",\n bottom: 0,\n transition: \"none\",\n $nest: {\n \"& > span\": {\n width: \"99%\",\n backgroundColor: neutralColors.GRAY0,\n height: \"6px\",\n },\n },\n },\n tabsRoot: {\n minHeight: \"20px\",\n overflow: \"unset\",\n },\n scroller: {\n overflow: \"unset !important\",\n },\n});\n","import React, { useEffect } from \"react\";\n\nimport { Tab, Tabs } from \"@mui/material\";\n\nimport TabPanel from \"./TabPanel\";\n\nimport styles from \"./TabsStyles\";\n\ninterface TabsProps {\n tabs: string[];\n children: React.ReactNode[];\n openTab?: number;\n}\n\nexport default function OldTabs({ children, tabs, openTab }: TabsProps) {\n const [value, setValue] = React.useState(openTab ? openTab : 0);\n\n useEffect(() => {\n if (openTab) {\n setValue(openTab);\n }\n }, [openTab]);\n const handleChange = (event: React.ChangeEvent<{}>, newValue: number) => {\n setValue(newValue);\n };\n\n return (\n <>\n <div className={styles.mainRoot}>\n <div>\n <Tabs\n value={value}\n onChange={handleChange}\n aria-label=\"pulse-page-tab\"\n classes={{\n root: styles.tabsRoot,\n indicator: styles.indicator,\n scroller: styles.scroller,\n }}\n >\n {tabs.map((tab, index) => (\n <Tab\n classes={{\n root: styles.tabRoot,\n selected: styles.selectedTab,\n }}\n disableRipple\n label={tab}\n key={index}\n />\n ))}\n </Tabs>\n </div>\n </div>\n {children.map((child: React.ReactNode, index: number) => (\n <TabPanel key={index} value={value} index={index}>\n {child}\n </TabPanel>\n ))}\n </>\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n flexColumn: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n headerContainer: {\n height: \"fit-content\",\n border: `1px solid ${neutralColors.GRAY3}`,\n backgroundColor: neutralColors.GRAY0,\n borderRadius: \"8px\",\n marginBottom: \"32px\",\n },\n backgroundImageContainer: {\n width: \"100%\",\n height: \"227px\",\n },\n backgroundImage: {\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n borderRadius: \"8px\",\n },\n headerImage: {\n width: \"100%\",\n height: \"227px\",\n border: `3px solid ${primaryColors.WHITE}`,\n position: \"relative\",\n backgroundColor: neutralColors.GRAY0,\n overflow: \"hidden\",\n borderRadius: \"8px\",\n },\n cyanCloud: {\n position: \"absolute\",\n color: utilityColors.CYAN,\n top: -100,\n width: \"100%\",\n zIndex: 1,\n },\n grayCloud: {\n position: \"absolute\",\n color: neutralColors.GRAY1,\n top: -180,\n width: \"100%\",\n },\n basicInfoContainer: {\n position: \"relative\",\n height: \"fit-content\",\n },\n avatarContainer: {\n height: \"202px\",\n width: \"202px\",\n position: \"absolute\",\n top: \"-90px\",\n left: \"55px\",\n },\n buttonsContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n width: \"100%\",\n padding: \"35px 39px\",\n justifyContent: \"flex-end\",\n zIndex: 0,\n },\n editButton: {\n width: \"203px\",\n margin: \"0px 8px\",\n padding: \"0px\",\n },\n button: {\n margin: \"0px 8px\",\n },\n nameAndHeadlineContainer: {\n paddingLeft: \"55px\",\n },\n companyName: {\n ...typography.HEADLINE4,\n },\n headline: {\n ...typography.SUBTITLE1,\n width: \"100%\",\n },\n});\n\nexport const avatarStyles = stylesheet({\n avatarBox: {\n height: \"202px\",\n width: \"202px\",\n backgroundColor: neutralColors.GRAY1,\n position: \"relative\",\n border: `3px solid ${primaryColors.WHITE}`,\n borderRadius: \"7px\",\n },\n defaultAvatar: {\n width: \"100%\",\n height: \"100%\",\n padding: \"15%\",\n color: utilityColors.CYAN,\n },\n avatar: {\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n borderRadius: \"6px\",\n },\n});\n\nexport default styles;\n","import { useCallback, useContext, useEffect, useMemo, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport About from \"components/PulsePage/About\";\nimport MyGroups from \"components/PulsePage/Groups/MyGroups\";\nimport { checkHttpProtocol } from \"components/PulsePage/helpers\";\nimport ProductsAndServices from \"components/PulsePage/ProductsAndServices\";\nimport PulsePassport from \"components/PulsePage/PulsePassport\";\nimport Tabs from \"components/PulsePage/Tabs\";\nimport Button from \"components/ui/Button\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport AddToList from \"components/vendorlists/AddToList\";\nimport RemoveFromList from \"components/vendorlists/RemoveFromList\";\nimport { checkIsInOrg } from \"components/vendorlists/utils\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport usePassportFeatureEnabled from \"hooks/usePassportFeatureEnabled\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { CompanyDetailsDto, CompanyDto } from \"shared/model\";\n\nimport styles, { avatarStyles } from \"./PulsePageStyles\";\n\ntype PulsePageProps = {\n isOwner: boolean;\n company: CompanyDetailsDto;\n onEditButtonClick: () => void;\n similarVendors: CompanyDto[];\n};\n\nexport enum TabTitle {\n About = \"About\",\n ProductsAndServices = \"Products and Services\",\n PulsePassport = \"Pulse Passport\",\n Groups = \"Groups\",\n}\n\nfunction displayTabs(company: CompanyDetailsDto) {\n const tabsArr: TabTitle[] = [];\n if (company.productsAndServices.length) {\n tabsArr.push(TabTitle.ProductsAndServices);\n }\n if (company.passports.some((passport) => passport.show)) {\n tabsArr.push(TabTitle.PulsePassport);\n }\n return tabsArr;\n}\n\nexport default function PulsePage({\n company,\n isOwner,\n onEditButtonClick,\n similarVendors = [],\n}: PulsePageProps) {\n const { data: ownCompany } = useOwnCompany();\n const { openModal, closeModal } = useContext(ModalContext);\n const history = useHistory();\n\n const location = useLocation<{ tabTitle: TabTitle } | undefined>();\n const [openTab, setOpenTab] = useState<number | undefined>(undefined);\n\n const companyAvatar = company?.avatar\n ? company.avatar\n : DEFAULT_COMPANY_AVATAR;\n const websiteURL = checkHttpProtocol(company.website);\n const linkedinURL = checkHttpProtocol(company.linkedInUrl);\n\n const { data: groupsEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.groupsEnabled,\n });\n\n const passportEnabled = usePassportFeatureEnabled();\n\n const getTabs = useCallback(() => {\n const res: TabTitle[] = [TabTitle.About];\n if (isOwner) {\n res.push(TabTitle.ProductsAndServices);\n if (groupsEnabled) {\n res.push(TabTitle.Groups);\n }\n if (passportEnabled) {\n res.push(TabTitle.PulsePassport);\n }\n } else {\n res.push(...displayTabs(company));\n }\n return res;\n }, [company, groupsEnabled, isOwner, passportEnabled]);\n\n const tabs: TabTitle[] = getTabs();\n\n useEffect(() => {\n if (location.state?.tabTitle) {\n const index = tabs.findIndex((x) => x === location.state?.tabTitle);\n setOpenTab(index);\n }\n }, [location.state, tabs]);\n\n function tabComponent(tab: TabTitle) {\n switch (tab) {\n case TabTitle.About:\n return (\n <About\n key={\"about_tab\"}\n company={company}\n isOwner={isOwner}\n historyPush={(url) => history.push(url)}\n similarVendors={similarVendors}\n />\n );\n\n case TabTitle.ProductsAndServices:\n return (\n <ProductsAndServices\n key={\"products_services_tab\"}\n company={company}\n isOwner={isOwner}\n historyPush={(url) => history.push(url)}\n />\n );\n\n case TabTitle.PulsePassport:\n return (\n <PulsePassport\n key={\"pulse_passport_tab\"}\n company={company}\n isOwner={isOwner}\n historyPush={(url) => history.push(url)}\n />\n );\n\n /*\n TODO --> uncomment this when RSS feed is implemented\n case \"Activity\":\n return (\n <Activity\n company={company}\n isOwner={isOwner}\n historyPush={(url) => history.push(url)}\n />\n );\n */\n case \"Groups\":\n return <MyGroups key={\"groups_tab\"} />;\n default:\n return null;\n }\n }\n\n const openAddToListModal = useCallback<(company: CompanyDetailsDto) => void>(\n (company: CompanyDetailsDto) => {\n openModal(\n <AddToList\n company={{ id: company.id, name: company.name }}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n const openRemoveFromListModal = useCallback<\n (company: CompanyDetailsDto) => void\n >(\n (company: CompanyDetailsDto) => {\n openModal(\n <RemoveFromList\n company={{ id: company.id, name: company.name }}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n // TODO: This is a costly check - change when better api solution is found\n const RemoveButton = useMemo(() => {\n if (checkIsInOrg(company.id, ownCompany!.companyLists)) {\n return (\n <Button\n variant=\"normal\"\n color=\"red\"\n className={styles.button}\n onClick={() => openRemoveFromListModal(company)}\n >\n Remove\n </Button>\n );\n }\n return null;\n }, [openRemoveFromListModal, ownCompany, company]);\n\n return (\n <div className={styles.flexColumn}>\n <div className={styles.headerContainer}>\n {company?.backgroundImage ? (\n <div className={styles.backgroundImageContainer}>\n <img\n src={company.backgroundImage}\n alt=\"background\"\n className={styles.backgroundImage}\n />\n </div>\n ) : (\n <div className={styles.headerImage}>\n <SvgIcon\n src=\"/img/cyan_cloud_background.svg\"\n className={styles.cyanCloud}\n />\n <SvgIcon\n src=\"/img/gray_cloud_background.svg\"\n className={styles.grayCloud}\n />\n </div>\n )}\n\n <div className={styles.basicInfoContainer}>\n <div className={styles.avatarContainer}>\n {company?.avatar ? (\n <div className={avatarStyles.avatarBox}>\n <img\n src={companyAvatar}\n alt=\"avatar\"\n className={avatarStyles.avatar}\n />\n </div>\n ) : (\n <div className={avatarStyles.avatarBox}>\n <SvgIcon\n src={companyAvatar}\n className={avatarStyles.defaultAvatar}\n />\n </div>\n )}\n </div>\n <div>\n <div className={styles.buttonsContainer}>\n {company.website && (\n <Button\n variant=\"outlined\"\n color=\"orange\"\n onClick={() => window.open(websiteURL)}\n className={styles.button}\n >\n Website\n </Button>\n )}\n {company.linkedInUrl && (\n <Button\n variant=\"outlined\"\n color=\"orange\"\n onClick={() => window.open(linkedinURL)}\n className={styles.button}\n >\n Linkedin\n </Button>\n )}\n {isOwner ? (\n <Button\n variant=\"normal\"\n color=\"orange\"\n onClick={onEditButtonClick}\n className={styles.editButton}\n >\n Edit Company Info\n </Button>\n ) : (\n <>\n <Button\n variant=\"normal\"\n color=\"orange\"\n className={styles.button}\n onClick={() => openAddToListModal(company)}\n >\n Add to List\n </Button>\n {RemoveButton}\n </>\n )}\n </div>\n <div className={styles.nameAndHeadlineContainer}>\n <h1 className={styles.companyName}>{company.name}</h1>\n {/*\n TODO --> uncomment this when headline is implemented\n <p className={styles.headline}>{company.name}</p> */}\n </div>\n </div>\n </div>\n </div>\n\n <Tabs tabs={tabs} openTab={openTab}>\n {tabs.map((tab) => tabComponent(tab))}\n </Tabs>\n </div>\n );\n}\n","import { useEffect, useState } from \"react\";\n\nconst DEFAULT_OPTIONS: MutationObserverInit = {\n characterData: true,\n subtree: true,\n};\n\nexport function useMutationObservable(\n targetEl: HTMLElement | null,\n cb: MutationCallback,\n config: MutationObserverInit = DEFAULT_OPTIONS\n) {\n const [observer, setObserver] = useState<MutationObserver | null>(null);\n\n useEffect(() => {\n const obs = new MutationObserver(cb);\n setObserver(obs);\n }, [cb, setObserver, config]);\n\n useEffect(() => {\n if (!observer || !targetEl) return;\n\n observer.observe(targetEl, config);\n\n return () => {\n if (observer) {\n observer.disconnect();\n }\n };\n }, [observer, targetEl, config]);\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { heights } from \"shared/styles/height\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n container: {\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n alignItems: \"center\",\n background: primaryColors.WHITE,\n border: \"1px solid\" + neutralColors.GRAY3,\n borderRadius: \"8px\",\n padding: \"0px 16px\",\n minHeight: heights.FIELD_HIGH,\n ...typography.BODY1,\n overflow: \"auto\",\n gap: \"8px\",\n },\n containerWithTags: {\n paddingTop: \"8px\",\n paddingBottom: \"8px\",\n },\n placeholder: {\n pointerEvents: \"none\",\n position: \"absolute\",\n color: neutralColors.GRAY4,\n },\n tag: {\n display: \"inline-block\",\n borderRadius: \"4px\",\n padding: \"5px 8px\",\n $nest: {\n \"&.valid\": {\n border: \"1px solid \" + primaryColors.PURPLE2,\n color: primaryColors.PURPLE2,\n },\n \"&.invalid\": {\n border: \"1px solid \" + utilityColors.RED,\n color: utilityColors.RED,\n },\n },\n },\n deleteIcon: {\n display: \"inline-block\",\n marginLeft: \"10px\",\n height: \"11px\",\n cursor: \"pointer\",\n },\n input: {\n display: \"inline-flex\",\n flex: \"1 1 fit-content\",\n alignItems: \"center\",\n outline: \"none\",\n ...typography.BODY1,\n },\n});\n","import React, { useCallback, useRef, useState } from \"react\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { useMutationObservable } from \"hooks/useMutationObserver\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TagInputBoxStyles\";\n\ntype Props = {\n className?: string;\n separators?: string[];\n placeholder?: string;\n tags: string[];\n validatorFn?: (tag: string) => boolean;\n onAdd: (tags: string[]) => void;\n onRemove: (tag: string) => void;\n};\n\nconst TagInputBox = ({\n className,\n separators = [\",\", \";\", \" \"],\n placeholder,\n tags,\n validatorFn,\n onAdd,\n onRemove,\n}: Props) => {\n const inputRef = useRef<HTMLSpanElement>(null);\n const [text, setText] = useState(\"\");\n\n const updateText = useCallback(() => {\n setText(inputRef.current?.innerText.trim() || \"\");\n }, []);\n\n useMutationObservable(inputRef.current, updateText);\n\n return (\n <div\n className={classes(\n styles.container,\n !!tags.length && styles.containerWithTags,\n className\n )}\n >\n {!tags.length && !text && (\n <span className={styles.placeholder}>{placeholder}</span>\n )}\n\n {!!tags.length &&\n tags.map((tag) => (\n <Tag\n key={tag}\n tag={tag}\n onRemove={() => {\n onRemove(tag);\n }}\n isValid={(validatorFn && validatorFn(tag)) ?? true}\n />\n ))}\n\n <span\n ref={inputRef}\n onBlur={(e) => {\n e.preventDefault();\n\n const text = e.currentTarget.innerText.trim();\n\n if (!!text) {\n if (!tags.includes(text)) {\n onAdd(tags.concat([text]));\n }\n }\n\n setText(\"\");\n e.currentTarget.innerText = \"\";\n }}\n contentEditable\n className={styles.input}\n onPaste={(e) => {\n // Do not let the text appear in the input\n e.preventDefault();\n\n const paste = e.clipboardData.getData(\"text\");\n\n const re = new RegExp(`[${separators.join(\"\")}]`);\n\n const matches = paste\n .split(re)\n .map((e) => e.trim())\n .filter((email) => !!email);\n\n onAdd([...new Set(tags.concat(matches))]);\n }}\n onKeyPress={(e) => {\n if (\n separators.includes(e.nativeEvent.key) ||\n e.nativeEvent.key === \"Enter\"\n ) {\n e.preventDefault();\n\n const text = e.currentTarget.innerText.trim();\n\n if (!!text) {\n if (!tags.includes(text)) {\n onAdd(tags.concat([text]));\n }\n }\n\n setText(\"\");\n e.currentTarget.innerText = \"\";\n }\n }}\n />\n </div>\n );\n};\n\ntype TagProps = {\n tag: string;\n onRemove: (tag: string) => void;\n isValid: boolean;\n};\n\nconst Tag = ({ tag, onRemove, isValid }: TagProps) => {\n return (\n <div className={classes(styles.tag, isValid ? \"valid\" : \"invalid\")}>\n {tag}\n\n <SvgIcon\n onClick={() => onRemove(tag)}\n className={styles.deleteIcon}\n src=\"/icons/close_icon.svg\"\n />\n </div>\n );\n};\n\nexport default TagInputBox;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { clickable } from \"shared/styles/classes\";\nimport { stylesheet } from \"typestyle\";\n\nconst originalIconHeightPx = 14;\nconst originalIconWidthPx = 4;\nconst paddingSizePx = 4;\n\nconst styles = stylesheet({\n root: {\n position: \"relative\",\n display: \"inline-block\",\n maxWidth: \"100%\",\n ...clickable,\n },\n kebabMenuContainer: {\n position: \"absolute\",\n top: 0,\n bottom: 0,\n margin: \"auto\",\n height: px(originalIconHeightPx + 2 * paddingSizePx),\n },\n icon: {\n color: neutralColors.GRAY5,\n // a padding is added to make it easier to press\n height: px(originalIconHeightPx + 2 * paddingSizePx),\n width: px(originalIconWidthPx + 2 * paddingSizePx),\n padding: px(paddingSizePx),\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Menu, MenuItem } from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { classes, style } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nimport styles from \"./WithKebabMenuStyles\";\n\nexport type KebabAction = {\n text: string;\n onClick: () => void;\n};\n\n// adds an absolutely positioned kebab menu to component, you can set the location using the position prop\n// you can change the class of the root html element with the className prop\n// todo? add support for different sizes?\nexport default function WithKebabMenu({\n children,\n actions,\n position,\n className,\n svgIcon,\n}: {\n children: React.ReactNode;\n actions: KebabAction[];\n position?: Pick<NestedCSSProperties, \"right\" | \"left\" | \"top\" | \"bottom\">;\n className?: string;\n svgIcon?: string;\n}) {\n const [anchorEl, setAnchorEl] = React.useState<Element | null>(null);\n const popoverOpen = Boolean(anchorEl);\n const handlePopoverOpenerClick = (\n event: React.MouseEvent<Element, MouseEvent>\n ) => {\n setAnchorEl(event.currentTarget);\n };\n\n const handlePopoverClose = () => {\n setAnchorEl(null);\n };\n\n return (\n <div className={classes(styles.root, className)}>\n {children}\n <div className={classes(styles.kebabMenuContainer, style(position))}>\n <SvgIcon\n focusable\n src={svgIcon || \"/icons/more_vert_icon.svg\"}\n onClick={handlePopoverOpenerClick}\n className={styles.icon}\n />\n <Menu\n open={popoverOpen}\n anchorEl={anchorEl}\n onClose={handlePopoverClose}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n >\n {actions.map((action) => {\n return (\n <MenuItem\n key={action.text}\n onClick={() => {\n action.onClick();\n handlePopoverClose();\n }}\n >\n {action.text}\n </MenuItem>\n );\n })}\n </Menu>\n </div>\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nconst menuItemBackground: NestedCSSProperties = {\n $nest: {\n \"&:hover\": {\n background: primaryColors.HOVER,\n },\n },\n};\n\nconst dividerSpacing = 38;\n\nconst menuItemHeight = 48;\n\nconst styles = stylesheet({\n root: {\n marginRight: \"30px\",\n height: \"100%\",\n },\n title: {\n ...zeroPaddingMargin,\n color: primaryColors.PURPLE2,\n ...typography.SUBTITLE2,\n },\n divider: {\n backgroundColor: neutralColors.GRAY3,\n marginTop: `${dividerSpacing}px`,\n marginBottom: `${dividerSpacing}px`,\n width: \"90%\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n },\n menuItem: {\n height: `${menuItemHeight}px`,\n display: \"flex\",\n alignItems: \"center\",\n paddingLeft: \"20px\",\n paddingRight: \"20px\",\n },\n menuItemClickable: {\n ...menuItemBackground,\n ...clickable,\n },\n selectedMenuItem: {\n backgroundColor: primaryColors.HOVER,\n },\n lists: {\n height: `calc(100% - ${2 * dividerSpacing}px - ${1 * menuItemHeight}px)`,\n },\n ownLists: {\n height: `calc(100% - ${menuItemHeight}px)`,\n overflowY: \"auto\",\n },\n});\n\nexport default styles;\n","import { utilityColors } from \"@pulsemarket/constants\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport const menuRightPosition = -8; // px\n\nconst styles = stylesheet({\n container: {\n width: \"100%\",\n },\n companyList: {\n ...typography.BODY2,\n ...forceTextOneLine,\n },\n companyListName: {\n ...forceTextOneLine,\n width: `calc(100% - ${menuRightPosition}px)`,\n },\n warningCompanyName: {\n color: utilityColors.ORANGE,\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\nimport { useContext } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport EditableText from \"components/ui/EditableText\";\nimport { unclosableDialogProps } from \"components/ui/Modal\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport WithKebabMenu from \"components/ui/WithKebabMenu\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport { SUPPLIER_SEARCH_URL_PATH } from \"components/VendorSearch/VendorSearch\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { cleanFiltersWithCompanyListId } from \"hooks/queries/useCompanies\";\nimport useDeleteCompanyList from \"hooks/queries/useDeleteCompanyList\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useRenameCompanyList from \"hooks/queries/useRenameCompanyList\";\nimport { ApiError, getCompanies, getCompanyList } from \"shared/client\";\nimport { CompanyListDto } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport sidebarStyles from \"../SidebarStyles\";\nimport styles, { menuRightPosition } from \"./CompanyListItemStyles\";\n\ntype CompanyListItemProps = {\n list: CompanyListDto;\n};\n\nexport default function CompanyListItem({ list }: CompanyListItemProps) {\n const history = useHistory();\n const location = useLocation();\n const isSupplierSearch = location.pathname === SUPPLIER_SEARCH_URL_PATH;\n\n const queryClient = useQueryClient();\n\n const [editingName, setEditingName] = useState(false);\n\n const { companyListId, filters, setFilters } = useVendorSearchContext();\n\n const { data: ownCompany } = useOwnCompany();\n\n const { mutateAsync: renameCompanyList, isLoading: isDeletionInProgress } =\n useRenameCompanyList();\n const { mutate: deleteCompanyList } = useDeleteCompanyList();\n\n const { openModal, closeModal } = useContext(ModalContext);\n\n return (\n <WithKebabMenu\n className={styles.container}\n actions={[\n {\n text: \"Rename\",\n onClick: () => {\n setEditingName(true);\n },\n },\n {\n text: \"Delete\",\n onClick: () => {\n openModal(\n <ConfirmationModalBody\n action={async () => {\n deleteCompanyList(list.id);\n history.push(\"/vendorsearch/companylist\");\n }}\n title=\"Delete list\"\n buttonText=\"Yes, delete it\"\n onClose={closeModal}\n >\n {isDeletionInProgress ? (\n <Loading />\n ) : (\n <p>\n Are you sure you want to delete this List? It cannot be\n recovered later.\n </p>\n )}\n </ConfirmationModalBody>,\n { props: unclosableDialogProps }\n );\n },\n },\n ]}\n position={{ right: menuRightPosition }}\n >\n <Link\n onMouseEnter={async () => {\n queryClient.prefetchQuery(\n queryKeys.companyList(list.id),\n () => getCompanyList(ownCompany!.id, list.id),\n { staleTime: 5000 }\n );\n const companySearchParams = cleanFiltersWithCompanyListId({\n filters,\n companyListId,\n });\n queryClient.prefetchQuery(\n queryKeys.companies(companySearchParams),\n () => getCompanies(companySearchParams),\n { staleTime: 5000 }\n );\n }}\n to={`/vendorsearch/companylist/${list.id}`}\n onClick={(e) => {\n const directClickTarget = e.target as HTMLElement;\n if (editingName && directClickTarget.tagName === \"INPUT\") {\n e.preventDefault();\n return;\n }\n\n setFilters({ ...filters, companyListId: list.id });\n }}\n onFocus={(e) => {\n const previouslyFocusedElement =\n e.relatedTarget as HTMLElement | null;\n\n if (\n previouslyFocusedElement &&\n previouslyFocusedElement.tagName === \"INPUT\"\n ) {\n // this input element is most likely the <EditableName /> component,\n // we return the focus to it.</span>\n // TODO check if this hack can be avoided\n previouslyFocusedElement.focus();\n }\n }}\n >\n <div\n className={classes(\n styles.companyList,\n !isSupplierSearch &&\n list.id === companyListId &&\n sidebarStyles.selectedMenuItem\n )}\n >\n <span className={styles.companyListName}>\n <EditableText\n isEditing={editingName}\n text={list.name}\n disableOnBlur\n required\n validityText=\"List name can not be empty\"\n onSubmit={async (value) => {\n setEditingName(false);\n try {\n await renameCompanyList({\n listId: list.id,\n newName: value,\n });\n } catch (err) {\n if (err instanceof ApiError) {\n if (err.status === 409) {\n openModal(\n <SimpleModalBody\n onClose={closeModal}\n title=\"Name Already exists\"\n buttons={[\n {\n variant: \"normal\",\n color: \"gray\",\n children: \"Cancel\",\n onClick: closeModal,\n },\n {\n variant: \"normal\",\n color: \"orange\",\n children: \"Ok\",\n onClick: closeModal,\n },\n ]}\n >\n The name\n <span className={styles.warningCompanyName}>\n  {value} \n </span>\n is already taken. Please choose a different name.\n </SimpleModalBody>\n );\n }\n }\n }\n }}\n />\n </span>\n </div>\n </Link>\n </WithKebabMenu>\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useUserData from \"hooks/queries/useUserData\";\nimport { renameCompanyList } from \"shared/client\";\nimport { CompanyDetailsDto, CompanyListDto } from \"shared/model\";\n\ntype RenameParams = { listId: string; newName: string };\n\nexport default function useRenameCompanyList() {\n const client = useQueryClient();\n\n const { data: userData } = useUserData();\n\n return useMutation(\n ({ listId, newName }: RenameParams) => {\n return renameCompanyList(userData!.companyId, listId, newName);\n },\n {\n mutationKey: mutationKeys.renameCompanyList,\n // When mutate is called:\n onMutate: async ({ listId, newName }: RenameParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.ownCompany);\n // Snapshot the previous values\n const previousOrganization = client.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n );\n const previousList = client.getQueryData<CompanyListDto>(\n queryKeys.companyList(listId)\n );\n // Optimistically update to the new value\n if (previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(queryKeys.ownCompany, {\n ...previousOrganization,\n companyLists: previousOrganization.companyLists.map((list) =>\n list.id === listId ? { ...list, name: newName } : list\n ),\n });\n }\n if (previousList) {\n client.setQueryData<CompanyListDto>(queryKeys.companyList(listId), {\n ...previousList,\n name: newName,\n });\n }\n return { previousOrganization, previousList };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany,\n context.previousOrganization\n );\n }\n if (context?.previousList) {\n client.setQueryData<CompanyListDto>(\n queryKeys.companyList(variables.listId),\n context.previousList\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.ownCompany);\n client.invalidateQueries(queryKeys.companyList(variables.listId));\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useUserData from \"hooks/queries/useUserData\";\nimport { deleteCompanyList } from \"shared/client\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\nexport default function useDeleteCompanyList() {\n const client = useQueryClient();\n\n const { data: userData } = useUserData();\n\n return useMutation(\n (listId: string) => deleteCompanyList(userData!.companyId, listId),\n {\n mutationKey: mutationKeys.deleteCompanyList,\n // When mutate is called:\n onMutate: async (listId: string) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.ownCompany);\n // Snapshot the previous value\n const previousOrganization = client.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n );\n // Optimistically update to the new value\n if (previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(queryKeys.ownCompany, {\n ...previousOrganization,\n companyLists: previousOrganization.companyLists.filter(\n (list) => list.id !== listId\n ),\n });\n }\n return { previousOrganization };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany,\n context.previousOrganization\n );\n }\n },\n // Always refetch after error or success:\n onSettled: () => {\n client.invalidateQueries(queryKeys.ownCompany);\n },\n }\n );\n}\n","import React from \"react\";\nimport { Link } from \"react-router-dom\";\n\nimport { Divider } from \"@mui/material\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport CompanyListItem from \"components/VendorSearch/Sidebar/CompanyListItem\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport { SUPPLIER_SEARCH_URL_PATH } from \"components/VendorSearch/VendorSearch\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./SidebarStyles\";\n\nexport enum VendorSearchSideMenuItem {\n Vendors = \"Vendors\",\n CompanyLists = \"CompanyLists\",\n Groups = \"Groups\",\n News = \"News\", //To be implemented later\n}\n\nexport const GROUP_DISCOVER_URL_PATH = \"/discovergroups\";\n\nexport default function VendorSearchSidebar({\n activeTab,\n}: {\n activeTab: VendorSearchSideMenuItem;\n}) {\n const { companyListId, filters, setFilters, hiddenFeatures } =\n useVendorSearchContext();\n const { data: ownCompany, isLoading: loading } = useOwnCompany();\n\n return (\n <div className={styles.root}>\n <div>\n <Link\n to={SUPPLIER_SEARCH_URL_PATH}\n onClick={() => {\n setFilters({ ...filters, companyListId: undefined });\n }}\n >\n <div\n className={classes(\n styles.menuItem,\n activeTab === VendorSearchSideMenuItem.Vendors &&\n styles.selectedMenuItem\n )}\n >\n <h2 className={styles.title}>Supplier Search</h2>\n </div>\n </Link>\n {!hiddenFeatures.includes(\"discover_groups\") && (\n <Link\n to={GROUP_DISCOVER_URL_PATH}\n onClick={() => {\n setFilters({});\n }}\n >\n <div\n className={classes(\n styles.menuItem,\n activeTab === VendorSearchSideMenuItem.Groups &&\n styles.selectedMenuItem\n )}\n >\n <h2 className={styles.title}>Discover Groups</h2>\n </div>\n </Link>\n )}\n </div>\n <Divider className={styles.divider} />\n <div className={styles.lists}>\n {ownCompany!.companyLists.length > 0 ? (\n <div className={classes(styles.menuItem)}>\n <h2 className={styles.title}>My Lists</h2>\n </div>\n ) : (\n <Link\n to=\"/vendorsearch/companylist\"\n onClick={() => setFilters({ ...filters, companyListId: undefined })}\n >\n <div\n className={classes(\n styles.menuItem,\n styles.menuItemClickable,\n activeTab !== VendorSearchSideMenuItem.Groups &&\n !companyListId &&\n styles.selectedMenuItem\n )}\n >\n <h2 className={styles.title}>My Lists</h2>\n </div>\n </Link>\n )}\n {loading ? (\n <Loading />\n ) : (\n <div className={styles.ownLists}>\n {ownCompany!.companyLists.map((list) => {\n return (\n <div\n className={classes(styles.menuItem, styles.menuItemClickable)}\n key={list.id}\n >\n <CompanyListItem list={list} />\n </div>\n );\n })}\n </div>\n )}\n </div>\n </div>\n );\n}\n","import React, { useContext, useState } from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nimport { VendorSearchFeatures } from \"components/VendorSearch/VendorSearch\";\nimport { CompanyFilter } from \"shared/model\";\n\nexport type VendorFilterContextType = {\n companyListId: string | null;\n filters: CompanyFilter;\n setFilters: React.Dispatch<React.SetStateAction<CompanyFilter>>;\n /** Can be used to conditionally disable different menus of the vendor search */\n hiddenFeatures: VendorSearchFeatures[];\n};\n\nexport const VendorSearchContext = React.createContext<VendorFilterContextType>(\n {\n companyListId: null,\n filters: {},\n setFilters: () => {},\n hiddenFeatures: [],\n }\n);\n\nexport function useVendorSearchContext() {\n return useContext(VendorSearchContext);\n}\n\nexport default function VendorFilterProvider({\n children,\n hiddenFeatures = [],\n}: {\n children: React.ReactNode;\n hiddenFeatures?: VendorSearchFeatures[];\n}) {\n const [filters, setFilters] = useState<CompanyFilter>({});\n const params = useParams<{ companyListId?: string }>();\n\n return (\n <VendorSearchContext.Provider\n value={{\n companyListId: params.companyListId || filters.companyListId || null,\n filters,\n setFilters,\n hiddenFeatures,\n }}\n >\n {children}\n </VendorSearchContext.Provider>\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { searchGroups } from \"shared/client\";\nimport { GroupSearchOptions } from \"shared/model\";\n\nconst DEFAULT_PAGESIZE = 20;\n\nexport default function useSearchGroups(\n {\n offset,\n limit,\n query,\n }: { offset: number; limit: number; query: GroupSearchOptions } = {\n offset: 0,\n limit: DEFAULT_PAGESIZE,\n query: {},\n }\n) {\n return useQuery(\n [...queryKeys.groups, { offset, limit, query }],\n () => {\n return searchGroups({ offset, limit, query });\n },\n {\n keepPreviousData: true,\n }\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nconst selectedDisplayStyles: NestedCSSProperties = {\n background: \"#69385E!important\",\n color: \"#FFFFFF!important\",\n};\n\nconst styles = stylesheet({\n displaySelectorButton: {\n background: \"#FFFFFF\",\n color: primaryColors.PURPLE2,\n display: \"inline-flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n border: `1px solid ${neutralColors.GRAY2}`,\n $nest: {\n \"&.left\": {\n borderRadius: \"4px 0px 0px 4px\",\n },\n \"&.right\": {\n borderRadius: \"0px 4px 4px 0px\",\n },\n \"&:hover\": {\n ...selectedDisplayStyles,\n },\n },\n },\n selectedDisplayButton: selectedDisplayStyles,\n});\n\nexport default styles;\n","import Button from \"components/ui/Button\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { classes } from \"typestyle\";\nimport { style } from \"typestyle\";\n\nimport styles from \"./DisplaySelector.styles\";\n\nexport enum DisplayType {\n ROWS = \"ROWS\",\n CARDS = \"CARDS\",\n}\n\ntype DisplaySelectorProps = {\n display?: DisplayType;\n onDisplayChange?: (newDisplay: DisplayType) => void;\n disabled?: boolean;\n};\n\nexport default function DisplaySelector({\n display,\n disabled,\n onDisplayChange: setDisplay = () => {},\n}: DisplaySelectorProps) {\n return (\n <div>\n <Button\n size=\"small\"\n variant=\"normal\"\n color=\"purple\"\n disabled={disabled}\n className={classes(\n styles.displaySelectorButton,\n \"left\",\n display === DisplayType.ROWS && styles.selectedDisplayButton\n )}\n onClick={() => {\n setDisplay(DisplayType.ROWS);\n }}\n startIcon={<SvgIcon src=\"/icons/menu_icon.svg\" />}\n classes={{\n startIcon: style({ margin: 0, width: \"14px\" }),\n root: style({\n minWidth: \"unset\",\n padding: 0,\n width: \"28px\",\n height: \"28px\",\n }),\n }}\n />\n <Button\n size=\"small\"\n variant=\"normal\"\n disabled={disabled}\n className={classes(\n styles.displaySelectorButton,\n \"right\",\n display === DisplayType.CARDS && styles.selectedDisplayButton\n )}\n onClick={() => setDisplay(DisplayType.CARDS)}\n startIcon={<SvgIcon src=\"/icons/cards_icon.svg\" />}\n classes={{\n startIcon: style({ margin: 0, width: \"14px\" }),\n root: style({\n minWidth: \"unset\",\n padding: 0,\n width: \"28px\",\n height: \"28px\",\n }),\n }}\n />\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { important } from \"csx\";\nimport { maxLineNumber } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n marginTop: \"16px\",\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n $nest: {\n \"&&\": {\n paddingRight: \"unset\",\n },\n },\n },\n companyLogo: {\n background: primaryColors.WHITE,\n borderRadius: \"8px\",\n width: \"45px\",\n height: \"45px\",\n marginRight: \"19px\",\n },\n companyName: {\n color: primaryColors.BLACK,\n marginBottom: \"8px\",\n ...typography.SUBTITLE1,\n ...maxLineNumber(1),\n },\n companyLocation: {\n color: neutralColors.GRAY5,\n ...typography.CAPTION,\n ...maxLineNumber(1),\n },\n dividerCellClass: {},\n dividerInnerClass: {\n borderLeft: important(`1px solid ${neutralColors.GRAY3}`),\n height: \"44px\",\n },\n leftSide: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n width: \"50%\",\n },\n leftSideTextContainer: {\n maxWidth: \"80%\",\n },\n rightSide: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n width: \"50%\",\n },\n kebabMenu: {\n marginRight: \"34px\",\n marginLeft: \"30px\",\n },\n column: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n disabled: {\n $nest: {\n \"&\": {\n color: neutralColors.GRAY3,\n },\n },\n },\n disabledReason: {\n ...typography.CAPTION2,\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport KebabMenu, { KebabMenuProps } from \"components/ui/KebabMenu\";\nimport TallRow from \"components/ui/TallRow\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { Pair } from \"shared/model\";\nimport { SelectableComponentProps } from \"shared/utils/componentTypes\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./CompanyInfoRow.styles\";\n\nexport type CompanyInfoRowProps = {\n className?: string;\n rightSide?: React.ReactNode;\n kebabMenu?: Omit<KebabMenuProps, \"className\">;\n avatar?: string;\n name: string;\n country?: Pair;\n city?: string;\n} & SelectableComponentProps<CompanyInfoRowProps>;\n\nexport default function CompanyInfoRow({\n className,\n rightSide,\n kebabMenu,\n avatar,\n name,\n country,\n city,\n onToggleSelect,\n selected,\n disabled,\n disabledReason,\n}: CompanyInfoRowProps) {\n const disabledStyles = disabled && styles.disabled;\n\n return (\n <TallRow\n className={classes(styles.root, disabledStyles, className)}\n selected={selected}\n onToggleSelect={onToggleSelect}\n disabled={disabled}\n >\n <div className={styles.leftSide}>\n <img\n alt=\"\"\n className={styles.companyLogo}\n src={avatar ?? DEFAULT_COMPANY_AVATAR}\n />\n\n <div className={classes(styles.column, styles.leftSideTextContainer)}>\n <span className={classes(styles.companyName, disabledStyles)}>\n {name}\n </span>\n {disabledReason && (\n <span className={styles.disabledReason}>{disabledReason}</span>\n )}\n {country && (\n <span className={classes(styles.companyLocation, disabledStyles)}>\n {city}, {country.name}\n </span>\n )}\n </div>\n </div>\n <div className={styles.dividerCellClass}>\n <div className={styles.dividerInnerClass} />\n </div>\n <div className={styles.rightSide}>\n {rightSide}\n {kebabMenu && <KebabMenu className={styles.kebabMenu} {...kebabMenu} />}\n </div>\n </TallRow>\n );\n}\n","import React, { useCallback, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport Button from \"components/ui/Button\";\nimport AddToList from \"components/vendorlists/AddToList\";\nimport ModalContext from \"contexts/ModalContext\";\nimport CompanyInfoRow from \"pages/MySuppliersPage/CompanyInfoRow\";\nimport { CompanyCardDto, Pair } from \"shared/model\";\nimport { SelectableComponentProps } from \"shared/utils/componentTypes\";\n\ntype CompanyRowProps = {\n company: CompanyCardDto;\n} & SelectableComponentProps<CompanyCardDto>;\n\nexport default function CompanyRow({\n company,\n onToggleSelect,\n selected,\n disabled,\n disabledReason,\n}: CompanyRowProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n const history = useHistory();\n\n const openAddToListModal = useCallback<\n ({ company }: { company: Pair }) => void\n >(\n ({ company }: { company: Pair }) => {\n openModal(\n <AddToList\n company={company}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n return (\n <CompanyInfoRow\n onToggleSelect={onToggleSelect}\n selected={selected}\n name={company.name}\n country={company.country}\n avatar={company.avatar}\n city={company.city}\n disabled={typeof disabled === \"function\" ? disabled(company) : disabled}\n disabledReason={disabledReason}\n rightSide={\n <>\n <Button\n variant=\"normal\"\n color=\"orange\"\n onClick={() => {\n openAddToListModal({\n company: { id: company.id, name: company.name },\n });\n }}\n >\n Add to list\n </Button>\n </>\n }\n kebabMenu={{\n actions: [\n {\n text: \"View Pulse Page\",\n onClick: () => {\n history.push(`/pulsepage/${company.id}`);\n },\n },\n {\n text: \"Add to List\",\n onClick: () => {\n openAddToListModal({ company });\n },\n },\n ],\n }}\n />\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n container: {},\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { GroupDto } from \"@pulsemarket/api-client\";\nimport CompanyCard from \"components/CompanyCard\";\nimport { CompanyCardProps } from \"components/CompanyCard/CompanyCard\";\nimport { DisplayType } from \"components/DisplaySelector\";\nimport JoinableGroupCard from \"components/PulsePage/Groups/GroupCard/Cards/JoinableGroupCard\";\nimport CompanyRow from \"components/VendorSearch/CompanyRow\";\n\nimport styles from \"./CompaniesGridOrList.styles\";\n\n/** todo improve types - would simplyfy the component much too */\ntype CompaniesGridOrListProps = {\n type: \"Company\" | \"Group\";\n cards: CompanyCardProps[] | GroupDto[];\n display: DisplayType;\n};\n\nexport default function CompaniesGridOrList({\n type = \"Company\",\n cards,\n display,\n}: CompaniesGridOrListProps) {\n return (\n <Grid2\n className={styles.container}\n container\n spacing={display === DisplayType.ROWS ? 1 : 2}\n direction={display === DisplayType.ROWS ? \"column\" : undefined}\n >\n {cards.map((card) => {\n const isCards = display === DisplayType.CARDS;\n // ? configure custom breakpoints for cards\n return (\n <Grid2\n size={{\n xs: isCards ? 12 : undefined,\n lg: isCards ? 4 : undefined,\n xl: isCards ? (type === \"Company\" ? 3 : 4) : undefined,\n }}\n key={\n type === \"Company\"\n ? (card as CompanyCardProps).company.id\n : (card as GroupDto).id\n }\n >\n {isCards ? (\n type === \"Company\" ? (\n <CompanyCard {...(card as CompanyCardProps)} />\n ) : (\n <JoinableGroupCard group={card as GroupDto} />\n )\n ) : (\n <CompanyRow {...(card as CompanyCardProps)} />\n )}\n </Grid2>\n );\n })}\n </Grid2>\n );\n}\n","import React, { useContext } from \"react\";\n\nimport GetStartedBox from \"components/GetStartedBox\";\nimport CreateList from \"components/vendorlists/CreateList\";\nimport ModalContext from \"contexts/ModalContext\";\n\nconst getStartedVendorSearch = {\n title: \"Create your List\",\n subtitle: \"Edit your Company info.\",\n caption: `The data-driven meeting place of our platform.\n Create a buzz around your business and get\n shortlisted for all the right opportunities.`,\n image: { src: \"/illustrations/3.0_buyer_seller_search_tool.png\" },\n name: \"Get started\",\n};\n\nexport default function VendorSearchFirstAccessBox() {\n const { openModal, closeModal } = useContext(ModalContext);\n return (\n <GetStartedBox\n {...getStartedVendorSearch}\n type=\"link\"\n action={() => {\n openModal(<CreateList onSuccess={closeModal} onCancel={closeModal} />);\n }}\n />\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n title: {\n color: primaryColors.PURPLE2,\n ...typography.SUBTITLE1,\n ...zeroPaddingMargin,\n marginBottom: \"34px\",\n width: \"100%\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n },\n emptyContent: {\n ...typography.BODY2,\n color: neutralColors.GRAY4,\n textAlign: \"center\",\n ...zeroPaddingMargin,\n },\n});\n\nexport default styles;\n","import React, { useCallback, useContext, useEffect, useState } from \"react\";\nimport { useQuery, useQueryClient } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { CompanyCardProps } from \"components/CompanyCard/CompanyCard\";\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport DisplaySelector, { DisplayType } from \"components/DisplaySelector\";\nimport { unclosableDialogProps } from \"components/ui/Modal\";\nimport { Selectable } from \"components/ui/Table/types\";\nimport AddToList from \"components/vendorlists/AddToList\";\nimport CompaniesGridOrList from \"components/VendorSearch/CompaniesGridOrList\";\nimport VendorSearchFirstAccessBox from \"components/VendorSearch/CompanyListWithTitle/FirstAccessBox\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport { useListContext } from \"contexts/List/ListProvider\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useDeleteCompanyFromList from \"hooks/queries/useDeleteCompanyFromList\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getCompanyList } from \"shared/client\";\nimport { CompanyCardDto, CompanyDto } from \"shared/model\";\n\nimport styles from \"./CompanyListSearchStyles\";\n\ntype CompanyListSearchProps = {\n companies?: (CompanyDto & Selectable)[];\n compactCards?: boolean;\n selectableCards?: boolean;\n companyDisabled?: (company?: CompanyCardDto) => boolean | undefined;\n disabledReason?: string;\n};\n\nexport default function CompanyListSearch({\n companies = [],\n compactCards,\n selectableCards,\n companyDisabled,\n disabledReason,\n}: CompanyListSearchProps) {\n const history = useHistory();\n const { companyListId } = useVendorSearchContext();\n const { data: ownCompany } = useOwnCompany();\n const { openModal, closeModal } = useContext(ModalContext);\n const { onToggleSelect } = useListContext<CompanyDto & Selectable>();\n const [display, setDisplay] = useState<DisplayType>(DisplayType.CARDS);\n\n const client = useQueryClient();\n\n const { data: companyList } = useQuery(\n queryKeys.companyList(companyListId || \"\"),\n () => getCompanyList(ownCompany!.id, companyListId || \"\"),\n { enabled: !!companyListId }\n );\n\n const { mutate: deleteCompanyFromList } = useDeleteCompanyFromList({\n optimisticlyUpdateSearch: true,\n });\n\n useEffect(() => {\n if (\n ownCompany!.companyLists.length &&\n !companyListId &&\n !client.isMutating({ mutationKey: mutationKeys.createCompanyList })\n ) {\n history.push(\n `${window.location.pathname}/${ownCompany!.companyLists[0].id}`\n );\n }\n if (!ownCompany!.companyLists.length && !!companyListId) {\n history.push(\"/vendorsearch/companylist\");\n }\n }, [ownCompany, history, companyListId, client]);\n\n const openAddToListModal = useCallback<(company: CompanyDto) => void>(\n (company: CompanyDto) => {\n openModal(\n <AddToList\n company={{ id: company.id, name: company.name }}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n const openRemoveFromListModal = useCallback<(company: CompanyDto) => void>(\n (company) => {\n openModal(\n <ConfirmationModalBody\n action={async () => {\n if (companyListId) {\n deleteCompanyFromList({\n listId: companyListId,\n companyId: company.id,\n });\n }\n }}\n title={`Remove ${company.name}`}\n buttonText=\"Yes, remove company\"\n onClose={closeModal}\n >\n Are you sure you want to remove {company.name} from your \n {companyList?.name} List?\n </ConfirmationModalBody>,\n { props: unclosableDialogProps }\n );\n },\n [closeModal, openModal, companyListId, companyList, deleteCompanyFromList]\n );\n\n if (!companyListId) {\n return <VendorSearchFirstAccessBox />;\n }\n\n return (\n <>\n <h2 className={styles.title}>\n {companyList?.name}{\" \"}\n <DisplaySelector display={display} onDisplayChange={setDisplay} />\n </h2>\n {!companies.length ? (\n <p className={styles.emptyContent}>\n This List is empty, explore the Supplier Search to find new suppliers.\n </p>\n ) : (\n <CompaniesGridOrList\n type=\"Company\"\n display={display}\n cards={companies.map(\n (company) =>\n ({\n company: company,\n compact: compactCards,\n selected: company.selected,\n onToggleSelect: selectableCards\n ? () => {\n onToggleSelect(company.id);\n }\n : undefined,\n disabled: companyDisabled,\n disabledReason: disabledReason,\n buttons: [\n {\n id: `${company.id}button1`,\n children: \"Add to List\",\n variant: \"normal\",\n color: \"orange\",\n onClick: () => openAddToListModal(company),\n },\n {\n id: `${company.id}button2`,\n children: \"Remove\",\n variant: \"normal\",\n color: \"red\",\n onClick: () => openRemoveFromListModal(company),\n },\n ],\n } as CompanyCardProps)\n )}\n />\n )}\n </>\n );\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n zoneBoxContainer: { display: \"flex\", justifyContent: \"center\" },\n zoneBox: clickable,\n title: {\n color: primaryColors.PURPLE2,\n ...typography.SUBTITLE1,\n ...zeroPaddingMargin,\n marginBottom: \"34px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { GroupDto } from \"@pulsemarket/api-client\";\nimport { DisplayType } from \"components/DisplaySelector\";\nimport CompaniesGridOrList from \"components/VendorSearch/CompaniesGridOrList\";\n\nimport styles from \"./SupplierSearchStyles\";\n\ntype GroupSearchBodyProps = {\n groups?: GroupDto[];\n};\n\nexport default function GroupSearchBody({ groups = [] }: GroupSearchBodyProps) {\n return (\n <>\n <h2 className={styles.title}>All Results ({groups.length}) </h2>\n <CompaniesGridOrList\n type=\"Group\"\n display={DisplayType.CARDS}\n cards={groups}\n />\n </>\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n borderRadius: \"4px\",\n border: `1px solid ${utilityColors.ORANGE}`,\n backgroundColor: primaryColors.WHITE,\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n paddingLeft: \"16px\",\n paddingRight: \"16px\",\n paddingTop: \"10px\",\n paddingBottom: \"10px\",\n },\n part: { height: \"100%\", paddingLeft: \"8px\", paddingRight: \"8px\" },\n titleContainer: {\n height: \"calc(100% + 16px)\",\n },\n titleIconContainer: {\n height: \"100%\",\n },\n middleContainer: {\n height: \"calc(100% + 24px)\",\n },\n selectContainer: {\n $nest: {\n \"& > .MuiGrid-item\": {\n paddingTop: \"6px\",\n paddingBottom: \"6px\",\n },\n },\n },\n divider: {\n height: \"20px\",\n backgroundColor: neutralColors.GRAY3,\n },\n rightContainer: {\n height: \"calc(100% + 16px)\",\n },\n filter: {\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { utilityColors } from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport MultiSelect from \"components/ui/MultiSelect/MultiSelect\";\nimport { MultiSelectProps } from \"components/ui/MultiSelect/MultiSelect\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport {\n useVendorSearchContext,\n VendorFilterContextType,\n} from \"components/VendorSearch/VendorFilterProvider\";\nimport useVendorSearchOptions from \"hooks/queries/useVendorSearchOptions\";\nimport { style } from \"typestyle\";\n\nimport styles from \"./FilterBarStyles\";\n\ntype SelectableVendorFilters = Omit<\n VendorFilterContextType[\"filters\"],\n \"companyName\" | \"companyListId\"\n>;\n\nfunction getMultiSelectFilterProps(\n setFilters: VendorFilterContextType[\"setFilters\"],\n filters: VendorFilterContextType[\"filters\"],\n key: keyof SelectableVendorFilters\n): Pick<MultiSelectProps, \"onChange\" | \"selectedIds\"> {\n return {\n onChange: (selectedValues) => {\n const newFilters = {\n ...filters,\n [key]: selectedValues.length ? selectedValues : undefined,\n };\n setFilters(newFilters);\n },\n selectedIds: filters[key] || [],\n };\n}\n\ntype FilterBarProps = {\n onClear?: () => void;\n};\n\nexport default function FilterBar({ onClear = () => {} }: FilterBarProps) {\n const {\n loading,\n employeeNumbers,\n zones,\n countries,\n industries,\n // sectors,\n // specialities,\n passports,\n } = useVendorSearchOptions();\n const { filters, setFilters } = useVendorSearchContext();\n\n if (loading) {\n return null;\n }\n\n return (\n <Grid2\n container\n className={styles.root}\n justifyContent=\"space-between\"\n alignItems=\"center\"\n wrap=\"nowrap\"\n >\n <Grid2 className={styles.part} size={{ xs: 2 }}>\n <Grid2\n container\n wrap=\"nowrap\"\n alignItems=\"center\"\n spacing={2}\n justifyContent=\"flex-start\"\n className={styles.titleContainer}\n >\n <Grid2 className={styles.titleIconContainer}>\n <SvgIcon\n src=\"/icons/filter_filled_icon.svg\"\n className={style({\n height: \"100%\",\n width: \"28px\",\n color: utilityColors.ORANGE,\n })}\n />\n </Grid2>\n </Grid2>\n </Grid2>\n\n <Grid2 className={styles.part} size={{ xs: 8 }}>\n <Grid2\n container\n wrap=\"wrap\"\n spacing={3}\n // TODO: MUI classes is not available in Grid2 mui v6\n // classes={{\n // \"spacing-xs-3\": styles.selectContainer,\n // }}\n alignItems=\"center\"\n className={styles.middleContainer}\n >\n <Grid2 size={{ xs: 6, lg: 4, xl: 3 }}>\n <MultiSelect\n className={styles.filter}\n label=\"Zones\"\n options={zones}\n {...getMultiSelectFilterProps(setFilters, filters, \"zones\")}\n />\n </Grid2>\n\n <Grid2 size={{ xs: 6, lg: 4, xl: 3 }}>\n <MultiSelect\n label=\"Pulse Passport\"\n options={passports}\n {...getMultiSelectFilterProps(setFilters, filters, \"passports\")}\n />\n </Grid2>\n\n <Grid2 size={{ xs: 6, lg: 4, xl: 3 }}>\n <MultiSelect\n label=\"Location\"\n options={countries}\n {...getMultiSelectFilterProps(setFilters, filters, \"country\")}\n />\n </Grid2>\n\n <Grid2 size={{ xs: 6, lg: 4, xl: 3 }}>\n <MultiSelect\n label=\"Industry\"\n options={industries}\n {...getMultiSelectFilterProps(setFilters, filters, \"industry\")}\n />\n </Grid2>\n\n {/* <Grid2 xs={6} lg={4} xl={3}>\n <MultiSelect\n label=\"Sector\"\n options={sectors}\n {...getMultiSelectFilterProps(setFilters, filters, \"sectors\")}\n />\n </Grid2> */}\n {/* */}\n\n <Grid2 size={{ xs: 6, lg: 4, xl: 3 }}>\n <MultiSelect\n label=\"Employee Number\"\n options={employeeNumbers}\n {...getMultiSelectFilterProps(setFilters, filters, \"employees\")}\n />\n </Grid2>\n {/* */}\n\n {/* <Grid2 xs={6} lg={4} xl={3}>\n <MultiSelect\n label=\"Speciality\"\n options={specialities}\n {...getMultiSelectFilterProps(\n setFilters,\n filters,\n \"specialities\"\n )}\n />\n </Grid2> */}\n </Grid2>\n </Grid2>\n\n <Grid2 className={styles.part} size={{ xs: 2 }}>\n <Grid2\n container\n wrap=\"nowrap\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n spacing={2}\n className={styles.rightContainer}\n >\n {/* <Grid2 >\n <SvgIcon\n src=\"/icons/chevron_left.svg\"\n className={classes(\n style({ height: \"100%\", width: \"25px\" }),\n styles.arrowIcon\n )}\n ></SvgIcon>\n </Grid2>\n <Grid2 >\n <SvgIcon\n src=\"/icons/arrow_right.svg\"\n className={classes(\n style({ height: \"100%\", width: \"25px\" }),\n styles.arrowIcon\n )}\n ></SvgIcon>\n </Grid2> */}\n <Grid2>\n <Button\n className={style({ height: \"100%\" })}\n variant=\"transparent\"\n color=\"orange\"\n onClick={() => {\n setFilters({ companyName: filters.companyName });\n onClear();\n }}\n >\n <SvgIcon\n src=\"/icons/close_icon.svg\"\n className={style({\n width: \"15px\",\n height: \"15px\",\n marginRight: \"4px\",\n })}\n />\n Clear\n </Button>\n </Grid2>\n </Grid2>\n </Grid2>\n </Grid2>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {},\n});\n\nexport default styles;\n","import React, { useContext, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport CreateGroup from \"components/PulsePage/Groups/createGroup\";\nimport Button from \"components/ui/Button\";\nimport Searchbar from \"components/ui/Searchbar\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport CreateList from \"components/vendorlists/CreateList\";\nimport FilterBar from \"components/VendorSearch/Header/FilterBar\";\nimport { VendorSearchSideMenuItem } from \"components/VendorSearch/Sidebar/SideBar\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./HeaderStyles\";\nimport assetRepositoryHeaderStyles from \"components/AssetRepositoryHeader/AssetRepositoryHeaderStyles\";\n\ntype VendorSearchHeaderProps = {\n showCreateButton?: boolean;\n showFilters?: boolean;\n activeTab: VendorSearchSideMenuItem;\n};\n\nexport default function VendorSearchHeader({\n activeTab,\n showCreateButton,\n showFilters,\n}: VendorSearchHeaderProps) {\n const [filterBarExplicitlySetOpen, setFilterBarOpen] = useState(false);\n const { filters, setFilters } = useVendorSearchContext();\n\n const someFiltersAreSet = Object.values(filters).filter(Boolean).length > 0;\n const filterBarOpen = filterBarExplicitlySetOpen || someFiltersAreSet;\n const { openModal, closeModal } = useContext(ModalContext);\n const history = useHistory();\n function openCreateListModal() {\n openModal(\n <CreateList\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n }\n\n return (\n <>\n <Grid2\n container\n className={styles.root}\n justifyContent=\"space-between\"\n alignItems=\"center\"\n >\n <Grid2>\n {showCreateButton &&\n (activeTab === VendorSearchSideMenuItem.Groups ? (\n <Button\n color=\"orange\"\n variant=\"outlined\"\n onClick={() =>\n openModal(\n <CreateGroup\n onSuccess={(group) => {\n closeModal();\n history.push(ROUTES.GROUP(group.id));\n }}\n onCancel={closeModal}\n />,\n { props: { maxWidth: \"lg\" } }\n )\n }\n >\n Create new group\n </Button>\n ) : (\n <Button\n color=\"gray\"\n variant=\"transparent\"\n onClick={openCreateListModal}\n >\n <SvgIcon\n src=\"/icons/add_icon.svg\"\n className={assetRepositoryHeaderStyles.buttonIcon}\n />\n <span>New List</span>\n </Button>\n ))}\n </Grid2>\n <Grid2>\n {showFilters && (\n <Grid2\n container\n spacing={2}\n justifyContent=\"flex-end\"\n alignItems=\"center\"\n >\n <Grid2>\n <Searchbar\n initialValue={filters.companyName}\n placeholder=\"What are you looking for?\"\n onSearch={(value) => {\n setFilters({ ...filters, companyName: value });\n }}\n onClose={() => {\n setFilters({ ...filters, companyName: undefined });\n }}\n />\n </Grid2>\n <Grid2>\n <Button\n color={filterBarExplicitlySetOpen ? \"orange\" : \"gray\"}\n variant=\"transparent\"\n onClick={() => {\n // ? should it close the bar?\n setFilterBarOpen((value) => !value);\n }}\n >\n <SvgIcon\n src=\"/icons/filter_outline_icon.svg\"\n className={classes(\n assetRepositoryHeaderStyles.buttonIcon,\n style({ width: \"18px\", height: \"16px\" })\n )}\n />\n <span>Filters</span>\n </Button>\n </Grid2>\n </Grid2>\n )}\n </Grid2>\n </Grid2>\n {filterBarOpen && <FilterBar onClear={() => setFilterBarOpen(false)} />}\n </>\n );\n}\n","import React from \"react\";\n\nimport { ButtonForModalWithSelectableItems } from \"components/assets/RepositoryModal\";\nimport PageLayoutWithSidebar from \"components/ui/PageLayoutWithSidebar\";\nimport { VendorSearchSideMenuItem } from \"components/VendorSearch/Sidebar/SideBar\";\nimport { CompanyDto } from \"shared/model\";\n\nimport VendorSearchHeader from \"../Header\";\nimport VendorSearchSidebar from \"../Sidebar\";\n\ntype VendorSearchLayoutProps = {\n children: React.ReactNode;\n showHeaderCreateButton?: boolean;\n showHeaderFilters?: boolean;\n actions?: ButtonForModalWithSelectableItems<CompanyDto>[];\n activeTab: VendorSearchSideMenuItem;\n};\n\nexport default function VendorSearchLayout({\n children,\n showHeaderCreateButton,\n showHeaderFilters,\n actions,\n activeTab,\n}: VendorSearchLayoutProps) {\n return (\n <PageLayoutWithSidebar\n actions={actions}\n sidebar={<VendorSearchSidebar activeTab={activeTab} />}\n header={\n <VendorSearchHeader\n activeTab={activeTab}\n showCreateButton={showHeaderCreateButton}\n showFilters={showHeaderFilters}\n />\n }\n >\n {children}\n </PageLayoutWithSidebar>\n );\n}\n","export const zonesDetails = [\n {\n id: \"0\",\n description:\n \"For FinTech companies that are providing financial technology services that improve and automate the delivery and use of financial services. \",\n image: \"/img/Fintech.png\",\n },\n {\n id: \"1\",\n description:\n \"For RegTech companies providing services involved in the management of regulatory processes within the financial services industry through technology for regulatory, monitoring, reporting and compliance. \",\n image: \"/img/Regtech.png\",\n },\n {\n id: \"2\",\n description:\n \"For companies providing software and hardware for automating HR resources within an organization from talent acquisition to payroll and workforce analysis to performance management. \",\n image: \"/img/HRTech.png\",\n },\n {\n id: \"3\",\n description:\n \"For companies who are providing socially responsible consulting and investment services guiding organisations on setting standards for non-financial factors of social, environmental and governance.\",\n image: \"/img/ESG.png\",\n },\n {\n id: \"4\",\n description:\n \"For companies who are providing creative services for promoting business for sales and marketing purposes by utilising online and digital technologies.\",\n image: \"/img/DigitalMarketing.png\",\n },\n {\n id: \"5\",\n description:\n \"For companies who are involved in creating, distributing and administrating insurance business for processing, automating and handling insurance online.\",\n image: \"/img/InsurTech.png\",\n },\n {\n id: \"6\",\n description:\n \"For companies who are involved in providing professional advice, expertise and project management for organisations looking for external support \",\n image: \"/img/Consultancy.png\",\n },\n {\n id: \"7\",\n description:\n \"For companies who are involved in providing technical expertise and management of organizations’ IT systems and support.\",\n image: \"/img/ItServices.png\",\n },\n {\n id: \"8\",\n description: \"\",\n image: \"/img/zones_standard.svg\",\n },\n {\n id: \"9\",\n description:\n \"For companies who are involved in supplying gas, electricity and green energy services for organisations.\",\n image: \"/img/zones_standard.svg\",\n },\n];\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { maxLineNumber } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n background: neutralColors.GRAY0,\n borderRadius: \"8px\",\n width: \"435px\",\n textAlign: \"center\",\n padding: \"24px\",\n $nest: {\n \"&:hover\": {\n background: primaryColors.WHITE,\n filter: \"drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.1))\",\n },\n },\n },\n logoContainer: {\n width: \"97px\",\n height: \"85px\",\n $nest: {\n \"& img\": {\n height: \"100%\",\n width: \"100%\",\n },\n },\n },\n title: {\n color: primaryColors.BLACK,\n ...typography.HEADLINE5,\n ...zeroPaddingMargin,\n },\n description: {\n color: neutralColors.GRAY5,\n ...typography.BODY2,\n height: \"4.75rem\", // 4 lines (76px/16)\n ...maxLineNumber(4),\n ...zeroPaddingMargin,\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./ZoneBoxStyles\";\n\nexport type ZoneBoxProps = {\n onClick?: () => void;\n // logo is expected to be an image element\n logo: React.ReactNode;\n name: string;\n description: string;\n className?: string;\n};\n\nexport default function ZoneBox({\n onClick = () => {},\n logo,\n name,\n description,\n className,\n}: ZoneBoxProps) {\n return (\n <Grid2\n className={classes(styles.root, className)}\n onClick={onClick}\n container\n direction=\"column\"\n alignItems=\"center\"\n spacing={1}\n >\n <Grid2 className={styles.logoContainer}>{logo}</Grid2>\n <Grid2>\n <h2 className={styles.title}>{name}</h2>\n </Grid2>\n <Grid2>\n <p className={styles.description}>{description}</p>\n </Grid2>\n </Grid2>\n );\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n zoneBoxContainer: { display: \"flex\", justifyContent: \"center\" },\n zoneBox: clickable,\n title: {\n color: primaryColors.PURPLE2,\n ...typography.SUBTITLE1,\n ...zeroPaddingMargin,\n marginBottom: \"34px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { Grid2 } from \"@mui/material\";\nimport DisplaySelector, { DisplayType } from \"components/DisplaySelector\";\nimport CompaniesGridOrList from \"components/VendorSearch/CompaniesGridOrList\";\nimport { zonesDetails } from \"components/VendorSearch/SupplierSearch/constants\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport ZoneBox from \"components/VendorSearch/ZoneBox\";\nimport useVendorSearchOptions from \"hooks/queries/useVendorSearchOptions\";\nimport useCompanyCards from \"hooks/useCompanyCards\";\nimport { getCompanies } from \"shared/client\";\nimport { CompanyCardDto, CompanyDto, CompanyFilter } from \"shared/model\";\n\nimport styles from \"./SupplierSearchStyles\";\n\ntype ZoneDetail = {\n description: string;\n image: string;\n};\n\nconst getZonesDetails = (zoneId: string) => {\n const zoneDetail = zonesDetails.find(\n (element) => element.id === zoneId\n ) as ZoneDetail;\n\n return { description: zoneDetail.description, image: zoneDetail.image };\n};\n\ntype SupplierSearchBodyProps = {\n companies?: CompanyDto[];\n compactCards?: boolean;\n selectableCards?: boolean;\n companyDisabled?: (company?: CompanyCardDto) => boolean | undefined;\n disabledReason?: string;\n};\n\nexport default function SupplierSearchBody({\n companies = [],\n compactCards,\n selectableCards,\n companyDisabled,\n disabledReason,\n}: SupplierSearchBodyProps) {\n const companyCardProps = useCompanyCards(companies, {\n compact: compactCards,\n selectable: selectableCards,\n companyDisabled,\n disabledReason,\n });\n const { filters, setFilters } = useVendorSearchContext();\n const { zones } = useVendorSearchOptions();\n const client = useQueryClient();\n const [display, setDisplay] = useState<DisplayType>(DisplayType.CARDS);\n\n const noFiltersSet = Object.values(filters).filter(Boolean).length === 0;\n\n if (noFiltersSet) {\n return (\n <Grid2 container spacing={3} justifyContent=\"flex-start\">\n {zones.map((zone) => (\n <Grid2\n key={zone.name}\n size={{ xs: 12, md: 5, lg: 4 }}\n className={styles.zoneBoxContainer}\n onMouseEnter={() => {\n const params: CompanyFilter = { zones: [zone.id] };\n client.prefetchQuery(queryKeys.companies(params), () =>\n getCompanies(params)\n );\n }}\n >\n <ZoneBox\n {...zone}\n description={getZonesDetails(zone.id).description}\n logo={<img alt=\"zone\" src={getZonesDetails(zone.id).image} />}\n className={styles.zoneBox}\n onClick={() => {\n setFilters({ ...filters, zones: [zone.id] });\n }}\n />\n </Grid2>\n ))}\n </Grid2>\n );\n }\n return (\n <>\n {/* ? move this to a shared component */}\n <h2 className={styles.title}>\n All Results ({companies.length}){\" \"}\n <DisplaySelector display={display} onDisplayChange={setDisplay} />\n </h2>\n <CompaniesGridOrList\n type={\"Company\"}\n cards={companyCardProps}\n display={display}\n />\n </>\n );\n}\n","import React from \"react\";\n\nimport { ButtonForModalWithSelectableItems } from \"components/assets/RepositoryModal\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport ModalHeader from \"components/ui/Modal/Header\";\nimport { Selectable } from \"components/ui/Table/types\";\nimport { VendorSearchSideMenuItem } from \"components/VendorSearch/Sidebar/SideBar\";\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport { useListContext } from \"contexts/List/ListProvider\";\nimport useCompanies from \"hooks/queries/useCompanies\";\nimport useSearchGroups from \"hooks/queries/useSearchGroups\";\nimport { useDeepCompareEffect } from \"hooks/useDeepCompareEffects\";\nimport { CompanyCardDto, CompanyDto } from \"shared/model\";\nimport { style } from \"typestyle\";\n\nimport CompanyListSearchBody from \"./CompanyListSearch\";\nimport GroupSearchBody from \"./GroupSearch/GroupSearchBody\";\nimport VendorSearchLayout from \"./Layout\";\nimport SupplierSearchBody from \"./SupplierSearch\";\n\nexport const SUPPLIER_SEARCH_URL_PATH = \"/vendorsearch/suppliersearch\";\n\nexport type VendorSearchFeatures =\n | \"discover_groups\"\n | \"company_lists\"\n | \"supplier_search\";\n\ntype VendorSearchProps = {\n actions?: ButtonForModalWithSelectableItems<CompanyDto>[];\n activeTab: VendorSearchSideMenuItem;\n compactCards?: boolean;\n selectableCards?: boolean;\n disableListContext?: boolean;\n onClose?: () => void;\n companyDisabled?: (company?: CompanyCardDto) => boolean | undefined;\n companyDisabledReason?: string;\n};\n\nexport default function VendorSearch({\n actions,\n activeTab,\n compactCards,\n selectableCards,\n disableListContext,\n onClose,\n companyDisabled,\n companyDisabledReason,\n}: VendorSearchProps) {\n // The only difference between SupplierSearch and CompanyListSearch\n // is an optional companyListId (but it can be null for the CompanyListSearch too)\n\n const { filters, companyListId } = useVendorSearchContext();\n\n const isSupplierSearch = [\n VendorSearchSideMenuItem.Vendors,\n VendorSearchSideMenuItem.CompanyLists,\n ].includes(activeTab);\n\n const { isLoading, data } = useCompanies({\n filters,\n companyListId,\n disabled: !isSupplierSearch && !companyListId,\n });\n const { isLoading: groupsLoading, data: groupsData } = useSearchGroups();\n\n const { setListData, listData } = useListContext<CompanyDto & Selectable>();\n\n useDeepCompareEffect(() => {\n if (disableListContext || !data) {\n return;\n }\n setListData(data);\n }, [data, setListData, disableListContext]);\n\n return (\n <VendorSearchLayout\n showHeaderCreateButton={\n activeTab !== VendorSearchSideMenuItem.CompanyLists\n }\n showHeaderFilters={isSupplierSearch || !!companyListId}\n actions={actions}\n activeTab={activeTab}\n >\n {onClose && (\n <ModalHeader\n onClose={onClose}\n className={style({\n position: \"absolute\",\n top: \"12px\",\n right: \"12px\",\n })}\n />\n )}\n {isLoading ? (\n <Loading />\n ) : (\n <>\n {!isSupplierSearch ? (\n groupsLoading ? (\n <Loading />\n ) : (\n <GroupSearchBody groups={groupsData} />\n )\n ) : !companyListId ? (\n <SupplierSearchBody\n companies={!disableListContext ? listData : data}\n compactCards={compactCards}\n selectableCards={selectableCards}\n companyDisabled={companyDisabled}\n disabledReason={companyDisabledReason}\n />\n ) : (\n <CompanyListSearchBody\n companies={!disableListContext ? listData : data}\n compactCards={compactCards}\n selectableCards={selectableCards}\n companyDisabled={companyDisabled}\n disabledReason={companyDisabledReason}\n />\n )}\n </>\n )}\n </VendorSearchLayout>\n );\n}\n","import React from \"react\";\n\nimport InformationIcon from \"components/ui/InformationIcon\";\nimport { classes } from \"typestyle\";\n\nimport sharedStyles from \"../sharedStyles\";\nimport styles from \"./AboutStyles\";\n\nexport default function YouTubeInformationIcon() {\n return (\n <InformationIcon\n title={\n <span\n className={classes(sharedStyles.helpIconText, styles.youtubeHelpText)}\n >\n {`1. Go to YouTube.\n 2. Navigate to the video you wish to import.\n 3. Click the ‘share’ link below the video.\n 4. Copy the link and paste it here.`}\n </span>\n }\n iconClassName={classes(sharedStyles.helpIcon, sharedStyles.helpIconSmall)}\n />\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n label: {\n color: primaryColors.BLACK,\n ...typography.BODY2,\n },\n warningText: {\n ...typography.CAPTION,\n color: utilityColors.RED,\n textAlign: \"right\",\n display: \"inline-block\",\n width: \"100%\",\n },\n infoText: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n textAlign: \"right\",\n display: \"inline-block\",\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport {\n AddYouTubeVideoInput,\n UpdateYouTubeVideoInput,\n} from \"@pulsemarket/api-client\";\nimport YouTubeInformationIcon from \"components/CompanyInfo/forms/About/YouTubeInformationIcon\";\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport { FormikErrors, useFormik } from \"formik\";\nimport getVideoId from \"get-video-id\";\nimport { MediaItemDto } from \"shared/model\";\nimport { validateYouTubeUrl } from \"shared/validators\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./UploadOrEditVideo.styles\";\n\ntype UploadOrEditVideoProps = {\n onClose: () => void;\n video?: MediaItemDto;\n onAddVideo: (input: AddYouTubeVideoInput) => void;\n onUpdateVideo: (input: UpdateYouTubeVideoInput & { id: string }) => void;\n};\n\nconst validate = (\n values: AddYouTubeVideoInput\n): FormikErrors<AddYouTubeVideoInput> => {\n const errors: FormikErrors<AddYouTubeVideoInput> = {};\n if (!validateYouTubeUrl(values.reference)) {\n errors.reference = \"Pulse only supports YouTube videos\";\n }\n return errors;\n};\n\nexport default function UploadOrEditVideo({\n onClose,\n video,\n onAddVideo,\n onUpdateVideo,\n}: UploadOrEditVideoProps) {\n const editingItem = !!video;\n\n const formik = useFormik<AddYouTubeVideoInput>({\n initialValues: {\n reference: video ? `https://youtu.be/${video.reference}` : \"\",\n name: video?.name || \"\",\n },\n validate,\n onSubmit: async (data) => {\n if (!editingItem) {\n await onAddVideo({\n name: data.name,\n reference: getVideoId(data.reference).id as string,\n });\n } else {\n await onUpdateVideo({\n name: data.name,\n id: video.id,\n });\n }\n formik.resetForm({ values: data });\n onClose();\n },\n });\n\n return (\n <SimpleModalBody\n onClose={onClose}\n title={\n <>\n {editingItem ? \"Rename Video\" : \"Upload Video\"}\n <YouTubeInformationIcon />\n </>\n }\n >\n <form onSubmit={formik.handleSubmit}>\n <Grid2 container direction=\"column\" spacing={2}>\n <Grid2>\n <div>\n <label className={styles.label}>Video Title:</label>\n </div>\n <Input\n placeholder=\"Choose a title for this video\"\n fullWidth={true}\n value={formik.values.name}\n onChange={formik.handleChange(\"name\")}\n />\n </Grid2>\n <Grid2>\n <div>\n <label className={styles.label}>\n {editingItem ? \"Video URL:\" : \"Add Video:\"}\n </label>\n </div>\n <Input\n placeholder=\"Please add Youtube link\"\n disabled={editingItem}\n fullWidth={true}\n inputProps={{\n type: \"url\",\n }}\n value={formik.values.reference}\n onChange={formik.handleChange(\"reference\")}\n />\n\n <span\n className={classes(\n formik.errors.reference ? styles.warningText : styles.infoText\n )}\n >\n {`Pulse Market supports only Youtube links. \n ${formik.errors.reference ? \"Please try again.\" : \"\"}`}\n </span>\n </Grid2>\n <Grid2 container justifyContent=\"flex-end\">\n <Grid2>\n <Button variant=\"normal\" color=\"orange\" type=\"submit\">\n {editingItem ? \"Save\" : \"Add Link\"}\n </Button>\n </Grid2>\n </Grid2>\n </Grid2>\n </form>\n </SimpleModalBody>\n );\n}\n","export function isMatchingMimeType(\n enabledMimeType: string,\n actualMimeType: string\n) {\n return (\n enabledMimeType === actualMimeType ||\n (enabledMimeType.includes(\"*\") &&\n actualMimeType.startsWith(enabledMimeType.replace(\"*\", \"\")))\n );\n}\n","import React, { useContext } from \"react\";\n\nimport { ListItemType } from \"components/AssetRepository/types\";\nimport RepositoryModal from \"components/assets/RepositoryModal\";\nimport CloneOrUploadModal, {\n CloneOrUploadModalProps,\n} from \"components/CloneOrUploadModal\";\nimport { fileUploaderModalProps } from \"components/FileUploader/FileUploader\";\nimport FileUploadingWindow from \"components/FileUploader/FileUploadingWindow\";\nimport {\n FileUploadingWindowProps,\n PromiseState,\n} from \"components/FileUploader/FileUploadingWindow/FileUploadingWindow\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { isAsset } from \"hooks/queries/useAssetItems\";\nimport { ApiError } from \"shared/client\";\nimport { isMatchingMimeType } from \"util/files\";\n\nconst defaultBlockedExtensions = [\n \"exe\",\n \"bat\",\n \"cmd\",\n \"com\",\n \"job\",\n \"msi\",\n \"paf\",\n \"reg\",\n \"ws\",\n \"wsf\",\n];\n\ntype AttachmentUploaderProps = {\n fileUploaderProps: Partial<FileUploadingWindowProps>;\n onCloneAssets: (assets: string[]) => Promise<void>;\n onUploadAsset: (assets: File[]) => Promise<void>;\n} & Pick<\n CloneOrUploadModalProps,\n \"cloneButtonText\" | \"text\" | \"title\" | \"uploadConfig\"\n>;\n\nexport default function AttachmentUploader({\n fileUploaderProps,\n onCloneAssets,\n onUploadAsset,\n ...cloneOrUploadModalProps\n}: AttachmentUploaderProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n\n const enabledMimes = cloneOrUploadModalProps.uploadConfig?.allowedFileTypes;\n\n return (\n <CloneOrUploadModal\n {...cloneOrUploadModalProps}\n onClose={closeModal}\n onCloneRequest={() => {\n openModal(\n <RepositoryModal\n headerActionsHidden={true}\n open\n disableSelection={(row) => {\n if (row.listItemType === ListItemType.Folder) {\n return true;\n }\n\n if (isAsset(row)) {\n if (typeof enabledMimes === \"string\") {\n return !isMatchingMimeType(enabledMimes, row.mimeType);\n }\n\n if (Array.isArray(enabledMimes)) {\n return enabledMimes.some(\n (enabledMime) =>\n !isMatchingMimeType(enabledMime, row.mimeType)\n );\n }\n }\n }}\n actions={[\n {\n variant: \"normal\",\n color: \"gray\",\n onClick: () => {\n closeModal();\n },\n text: \"Cancel\",\n },\n {\n variant: \"normal\",\n color: \"orange\",\n onClick: async (selectedItems) => {\n const assetIds = selectedItems\n .filter(isAsset)\n .map((asset) => asset.id);\n\n const sharedUploadingWindowProps: Omit<\n FileUploadingWindowProps,\n \"status\"\n > = {\n fileName: fileUploaderProps.fileName || \"Attachment\",\n size: fileUploaderProps.size || 0,\n destination: fileUploaderProps.destination,\n fileCount: assetIds.length,\n };\n closeModal();\n try {\n openModal(\n <FileUploadingWindow\n {...sharedUploadingWindowProps}\n status={PromiseState.Pending}\n />,\n {\n props: fileUploaderModalProps(PromiseState.Pending),\n }\n );\n await onCloneAssets(assetIds);\n closeModal();\n openModal(\n <FileUploadingWindow\n {...sharedUploadingWindowProps}\n onClose={closeModal}\n status={PromiseState.Resolved}\n />,\n {\n props: fileUploaderModalProps(PromiseState.Resolved),\n }\n );\n } catch (err) {\n console.log(err);\n if (err instanceof ApiError) {\n closeModal();\n if (err.status === 409) {\n openModal(\n <FileUploadingWindow\n {...sharedUploadingWindowProps}\n onClose={closeModal}\n status={PromiseState.Rejected}\n errors={[\n \"Conflict: A cloned asset is already attached.\",\n ]}\n />,\n {\n props: fileUploaderModalProps(\n PromiseState.Rejected\n ),\n }\n );\n } else {\n openModal(\n <FileUploadingWindow\n {...sharedUploadingWindowProps}\n onClose={closeModal}\n status={PromiseState.Rejected}\n errors={[err.message]}\n />,\n {\n props: fileUploaderModalProps(\n PromiseState.Rejected\n ),\n }\n );\n }\n }\n }\n },\n text: \"Select\",\n disableIfNoItemsSelected: true,\n },\n ]}\n />\n );\n }}\n uploadConfig={{\n ...cloneOrUploadModalProps.uploadConfig,\n allowMultiple: true,\n destination: fileUploaderProps.destination,\n onFilesAccepted: async (files) => {\n await onUploadAsset(files);\n },\n onFilesRejected: async (rejections) => {\n // todo handle\n console.log(rejections);\n },\n // todo use custom\n blockedFileTypes: [\n ...(cloneOrUploadModalProps.uploadConfig?.blockedFileTypes || []),\n ...defaultBlockedExtensions,\n ],\n }}\n />\n );\n}\n","import React, { Suspense, useState } from \"react\";\n\nimport { Grid2, Modal } from \"@mui/material\";\nimport { AssetRepositoryItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport AssetFilterProvider from \"contexts/AssetFilter/AssetFilterProvider\";\nimport { percent, px } from \"csx\";\nimport { useAssetRepositoryId } from \"hooks/queries/useOwnCompany\";\nimport { FolderItemDto } from \"shared/model\";\nimport { classes, stylesheet } from \"typestyle\";\nimport lazyRetry from \"util/lazyRetry\";\n\nimport { marginLeftClass, width } from \"../../shared/styles/classes\";\n\nconst styles = stylesheet({\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n});\n\nconst AssetRepository = React.lazy(() =>\n lazyRetry(\n () => import(\"../AssetRepository/AssetRepository\"),\n \"AssetRepository\"\n )\n);\n\ntype RepositoryModalProps = {\n open: boolean;\n actions: ButtonForModalWithSelectableItems<FolderItemDto>[];\n initialMenuId?: string;\n headerActionsHidden?: boolean;\n disableSelection?:\n | boolean\n | ((row: AssetRepositoryItem) => boolean | undefined);\n};\n\nexport type ButtonForModalWithSelectableItems<T> = Omit<\n ButtonProps,\n \"onClick\"\n> & {\n text: string;\n className?: string;\n onClick: (selectedFolderItems: T[]) => void;\n disableIfNoItemsSelected?: boolean;\n};\n\nexport default function RepositoryModal({\n open,\n actions,\n initialMenuId,\n headerActionsHidden,\n disableSelection,\n}: RepositoryModalProps) {\n const [folderId, setFolderId] = useState<string | undefined>(undefined);\n useAssetRepositoryId({ onSuccess: setFolderId });\n\n return (\n <Modal open={open} className={styles.modal}>\n <AssetFilterProvider folderId={folderId}>\n <Grid2 container justifyContent=\"center\" alignItems=\"center\">\n <Grid2\n className={classes(width(percent(85)), marginLeftClass(px(85)))}\n >\n <Suspense fallback={null}>\n <AssetRepository\n headerActionsHidden={headerActionsHidden}\n folderId={folderId}\n onNavigateFolderWithoutURLChange={(newFolderId) => {\n setFolderId(newFolderId);\n }}\n actions={actions}\n initialMenuId={initialMenuId}\n disableUrlNavigation\n disableSelection={disableSelection}\n />\n </Suspense>\n </Grid2>\n </Grid2>\n </AssetFilterProvider>\n </Modal>\n );\n}\n","import React from \"react\";\n\nimport Input, { InputProps } from \"components/ui/Input\";\nimport { FieldHookConfig, useField } from \"formik\";\n\ntype FieldProps = {\n label?: string;\n labelClassName?: string;\n children?: React.ReactNode;\n required?: boolean;\n} & FieldHookConfig<any> &\n InputProps;\n\ntype PropertyNamesOnly<T> = {\n [K in keyof T]: T[K] extends Function ? never : K;\n}[keyof T];\n\nfunction withContext<X extends Record<string, any>>() {\n return function <T extends { name: string }>(\n Component: React.ComponentType<T>\n ): React.ComponentType<Omit<T, \"name\"> & { name: PropertyNamesOnly<X> }> {\n return function FieldWrapper(props) {\n // @ts-ignore\n return <Component {...props} />;\n };\n };\n}\n\nfunction Field({\n name,\n validate,\n labelClassName,\n children,\n helperText,\n ...rest\n}: FieldProps) {\n const [field, meta, helpers] = useField({\n name,\n validate:\n validate || rest.required\n ? (v) => {\n if (validate && validate(v)) {\n return validate(v);\n }\n //Converting to sting is needed for number type when value is 0.\n //TODO: check if the same conversion works at select inputs\n if (!v.toString()) {\n return \"This field is required\";\n }\n }\n : undefined,\n });\n\n return (\n <>\n {children ? (\n React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, {\n ...field,\n ...rest,\n ...child.props,\n onChange: (v: any) => {\n // Some of our inputs like FormSelect returns the value instead of the React event\n if (typeof v === \"string\") {\n helpers.setValue(v);\n } else {\n field.onChange(v);\n }\n },\n });\n }\n\n return null;\n })\n ) : (\n <Input\n {...field}\n {...rest}\n helperText={meta.touched && meta.error ? meta.error : helperText}\n error={\n typeof rest.error !== \"undefined\"\n ? rest.error\n : meta.touched && !!meta.error\n }\n />\n )}\n </>\n );\n}\n\nexport default function getField<T extends Record<string, any>>() {\n return withContext<T>()(Field);\n}\n","import React from \"react\";\n\nimport { Form as FormikForm, FormikProvider } from \"formik\";\nimport { useFormikReturnType } from \"shared/utils/formik\";\n\ntype Props = {\n className?: string;\n children: React.ReactNode;\n formik: useFormikReturnType<any>;\n saveOnEnter?: boolean;\n};\n\nfunction Form({ className, children, formik, saveOnEnter = true }: Props) {\n return (\n <FormikProvider value={formik}>\n <FormikForm className={className}>\n {children}\n\n {saveOnEnter && <input type=\"submit\" hidden />}\n </FormikForm>\n </FormikProvider>\n );\n}\n\nexport default Form;\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { AttachmentStatus } from \"components/ui/Attachments/AttachmentRow\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { style, stylesheet } from \"typestyle\";\n\nconst statusColor: Record<AttachmentStatus, string> = {\n default: neutralColors.GRAY3,\n uploaded: utilityColors.GREEN,\n uploading: utilityColors.ORANGE,\n error: utilityColors.RED,\n};\n\nexport const backgroundColor = (status: AttachmentStatus) => {\n return style({ background: statusColor[status] });\n};\n\nexport const borderColor = (status: AttachmentStatus) => {\n return style({ borderColor: statusColor[status] });\n};\n\nexport const iconColor = (status: AttachmentStatus) => {\n return style({\n background: statusColor[status],\n color: primaryColors.WHITE,\n });\n};\n\nconst styles = stylesheet({\n root: {\n background: neutralColors.GRAY1,\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderRadius: \"8px\",\n position: \"relative\",\n $nest: {\n \"&:hover\": {\n background: neutralColors.GRAY0,\n },\n },\n },\n container: {\n height: \"35px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n paddingLeft: \"32px\",\n paddingRight: \"24px\",\n },\n leftBorder: {\n width: \"8px\",\n height: \"100%\",\n position: \"absolute\",\n left: 0,\n top: 0,\n borderBottomLeftRadius: \"8px\",\n borderTopLeftRadius: \"8px\",\n },\n fileInfoContainer: {\n display: \"flex\",\n alignItems: \"center\",\n ...typography.CAPTION,\n maxWidth: \"75%\",\n paddingRight: \"12px\",\n },\n fileIconContainer: {\n height: \"26px\",\n minWidth: \"26px\",\n border: `0.5px solid ${neutralColors.GRAY4}`,\n background: primaryColors.WHITE,\n borderRadius: \"4px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n marginRight: \"8px\",\n flex: 1,\n },\n fileIcon: {\n height: \"18px\",\n },\n name: { ...forceTextOneLine },\n divider: {\n width: \"16px\",\n borderLeft: `1px solid ${neutralColors.GRAY3}`,\n height: \"20px\",\n },\n info: {\n flexBasis: \"25%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n },\n defaultInfo: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n },\n infoIcon: {\n width: \"20px\",\n height: \"20px\",\n },\n infoIconWrapper: {\n borderRadius: \"100%\",\n width: \"20px\",\n height: \"20px\",\n marginRight: \"8px\",\n },\n infoText: {\n ...typography.CAPTION,\n },\n deleteIcon: {\n color: utilityColors.ORANGE,\n height: \"15px\",\n marginLeft: \"16px\",\n cursor: \"pointer\",\n },\n closeIcon: {\n width: \"12px\",\n color: neutralColors.GRAY5,\n cursor: \"pointer\",\n marginLeft: \"16px\",\n },\n errorInfoLeft: {\n display: \"flex\",\n alignItems: \"center\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { classes, style } from \"typestyle\";\n\nimport styles, {\n backgroundColor,\n borderColor,\n iconColor,\n} from \"./AttachmentRow.styles\";\n\nexport type AttachmentStatus = \"default\" | \"uploading\" | \"uploaded\" | \"error\";\n\nexport type AttachmentRowProps = {\n name: string;\n size?: string;\n status: AttachmentStatus;\n onRemove?: () => void;\n onDownload?: () => void;\n className?: string;\n isDeleteIconHidden?: boolean;\n isDownloadIconHidden?: boolean;\n icon: {\n color: string;\n src: string;\n };\n};\n\nfunction UploadingInfo() {\n return (\n <>\n <div className={classes(styles.infoIconWrapper, iconColor(\"uploading\"))}>\n <SvgIcon\n className={classes(styles.infoIcon)}\n src=\"/icons/replace_icon.svg\"\n />\n </div>\n <div className={styles.infoText}>Uploading</div>\n </>\n );\n}\n\nfunction UploadedInfo() {\n return (\n <>\n <div className={classes(styles.infoIconWrapper, iconColor(\"uploaded\"))}>\n <SvgIcon\n className={classes(styles.infoIcon)}\n src=\"/icons/check_icon.svg\"\n />\n </div>\n <div className={styles.infoText}>Uploaded</div>\n </>\n );\n}\n\nfunction ErrorInfo({ onRemove }: { onRemove?: () => void }) {\n return (\n <>\n <div className={styles.errorInfoLeft}>\n <div className={classes(styles.infoIconWrapper, iconColor(\"error\"))}>\n <SvgIcon\n className={classes(\n styles.infoIcon,\n style({ width: \"20px\", height: \"20px\", padding: \"3px\" })\n )}\n src=\"/icons/close_icon.svg\"\n />\n </div>\n <div className={styles.infoText}>Error</div>\n </div>\n <SvgIcon\n onClick={onRemove}\n className={classes(styles.closeIcon)}\n src=\"/icons/close_icon.svg\"\n />\n </>\n );\n}\n\nconst infoComponents = {\n error: ErrorInfo,\n uploaded: UploadedInfo,\n uploading: UploadingInfo,\n};\n\nexport default function AttachmentRow({\n name,\n status,\n size,\n onRemove,\n className,\n isDeleteIconHidden,\n isDownloadIconHidden,\n onDownload,\n icon,\n}: AttachmentRowProps) {\n return (\n <div className={classes(styles.root, borderColor(status), className)}>\n <div className={classes(styles.leftBorder, backgroundColor(status))} />\n <div className={styles.container}>\n <div className={styles.fileInfoContainer}>\n <div className={styles.fileIconContainer}>\n <SvgIcon\n src={icon.src}\n className={classes(styles.fileIcon, style({ color: icon.color }))}\n />\n </div>\n <div className={styles.name}>{name}</div>\n </div>\n <div className={styles.info}>\n <div className={styles.divider} />\n <div>\n {status === \"default\" ? (\n <div className={styles.defaultInfo}>\n <span>{size}</span>\n {!isDownloadIconHidden && (\n <SvgIcon\n onClick={onDownload}\n src=\"/icons/download_icon.svg\"\n className={styles.deleteIcon}\n />\n )}\n {!isDeleteIconHidden && (\n <SvgIcon\n onClick={onRemove}\n src=\"/icons/delete_icon.svg\"\n className={styles.deleteIcon}\n />\n )}\n </div>\n ) : (\n React.createElement(\n infoComponents[status as Exclude<AttachmentStatus, \"default\">],\n { onRemove }\n )\n )}\n </div>\n </div>\n </div>\n </div>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n attachmentRow: {\n marginBottom: \"12px\",\n },\n});\n\nexport default styles;\n","import { useContext } from \"react\";\n\nimport { AssetDto } from \"@pulsemarket/api-client\";\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { filesize } from \"filesize\";\nimport { getIconForFile } from \"shared/constants/icons\";\nimport { classes } from \"typestyle\";\n\nimport AttachmentRow, { AttachmentStatus } from \"./AttachmentRow\";\nimport styles from \"./Attachments.styles\";\n\nexport type AttachmentsProps = {\n className?: string;\n attachments?: (AssetDto & { status?: AttachmentStatus })[];\n onDownload?: (attachment: AssetDto) => void;\n onDelete?: (attachment: AssetDto) => void;\n disableDelete?: boolean | ((attachment: AssetDto) => boolean | undefined);\n disableDownload?: boolean | ((attachment: AssetDto) => boolean | undefined);\n deleteConfirmationText?: string;\n foreceDelete?: boolean;\n};\n\nexport default function Attachments({\n className,\n attachments = [],\n onDownload = () => {},\n onDelete = () => {},\n disableDelete,\n disableDownload,\n deleteConfirmationText,\n foreceDelete,\n}: AttachmentsProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n\n if (!attachments.length) {\n return null;\n }\n\n return (\n <div className={classes(className)}>\n {attachments?.map((attachment) => {\n return (\n <AttachmentRow\n key={attachment.id}\n className={styles.attachmentRow}\n name={attachment.name}\n size={attachment.size ? (filesize(attachment.size) as string) : \"\"}\n onDownload={() => {\n onDownload(attachment);\n }}\n isDeleteIconHidden={\n typeof disableDelete === \"function\"\n ? disableDelete(attachment)\n : disableDelete\n }\n isDownloadIconHidden={\n typeof disableDownload === \"function\"\n ? disableDownload(attachment)\n : disableDownload\n }\n status={attachment.status || \"default\"}\n icon={getIconForFile(attachment)}\n onRemove={() => {\n foreceDelete\n ? onDelete(attachment)\n : openModal(\n <ConfirmationModalBody\n title=\"Delete Attachment\"\n action={() => onDelete(attachment)}\n onClose={closeModal}\n >\n <p>Are you sure you want to delete this Attachment?</p>\n <p>{deleteConfirmationText}</p>\n </ConfirmationModalBody>\n );\n }}\n />\n );\n })}\n </div>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n borderRadius: \"50%\",\n },\n image: {\n width: \"100%\",\n height: \"100%\",\n borderRadius: \"50%\",\n objectFit: \"cover\",\n objectPosition: \"center\",\n },\n square: {\n $nest: {\n \"&&\": {\n borderRadius: \"8px\",\n },\n },\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { px } from \"csx\";\nimport { LiteralUnion } from \"shared/utilityTypes\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./Avatar.styles\";\n\ntype AvatarSize = \"24\" | \"32\" | \"40\" | \"48\" | 24 | 32 | 40 | 48;\n\nexport type AvatarProps = {\n className?: string;\n imageClassName?: string;\n isSquare?: boolean;\n size?: LiteralUnion<AvatarSize, string | number>;\n} & JSX.IntrinsicElements[\"img\"];\n\n/**\n * Based on https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=12921%3A81208&t=O33tFUv6V3bJdgWd-0\n */\nexport default function Avatar({\n className,\n imageClassName,\n size = \"24\",\n isSquare,\n ...props\n}: AvatarProps) {\n return (\n style({ width: px(size as number), height: px(size as number) }),\n (\n <div\n className={classes(\n styles.root,\n style({ width: px(size as number), height: px(size as number) }),\n isSquare && styles.square,\n className\n )}\n >\n <img\n alt=\"\"\n {...props}\n className={classes(\n styles.image,\n isSquare && styles.square,\n imageClassName\n )}\n />\n </div>\n )\n );\n}\n","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"\n}), 'MoreHoriz');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { emphasize } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport MoreHorizIcon from \"../internal/svg-icons/MoreHoriz.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst BreadcrumbCollapsedButton = styled(ButtonBase)(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n marginLeft: `calc(${theme.spacing(1)} * 0.5)`,\n marginRight: `calc(${theme.spacing(1)} * 0.5)`,\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: theme.palette.grey[100],\n color: theme.palette.grey[700]\n } : {\n backgroundColor: theme.palette.grey[700],\n color: theme.palette.grey[100]\n }),\n borderRadius: 2,\n '&:hover, &:focus': {\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: theme.palette.grey[200]\n } : {\n backgroundColor: theme.palette.grey[600]\n })\n },\n '&:active': {\n boxShadow: theme.shadows[0],\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: emphasize(theme.palette.grey[200], 0.12)\n } : {\n backgroundColor: emphasize(theme.palette.grey[600], 0.12)\n })\n }\n})));\nconst BreadcrumbCollapsedIcon = styled(MoreHorizIcon)({\n width: 24,\n height: 16\n});\n\n/**\n * @ignore - internal component.\n */\nfunction BreadcrumbCollapsed(props) {\n const {\n slots = {},\n slotProps = {},\n ...otherProps\n } = props;\n const ownerState = props;\n return /*#__PURE__*/_jsx(\"li\", {\n children: /*#__PURE__*/_jsx(BreadcrumbCollapsedButton, {\n focusRipple: true,\n ...otherProps,\n ownerState: ownerState,\n children: /*#__PURE__*/_jsx(BreadcrumbCollapsedIcon, {\n as: slots.CollapsedIcon,\n ownerState: ownerState,\n ...slotProps.collapsedIcon\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? BreadcrumbCollapsed.propTypes = {\n /**\n * The props used for the CollapsedIcon slot.\n * @default {}\n */\n slotProps: PropTypes.shape({\n collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the BreadcumbCollapsed.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n CollapsedIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.object\n} : void 0;\nexport default BreadcrumbCollapsed;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBreadcrumbsUtilityClass(slot) {\n return generateUtilityClass('MuiBreadcrumbs', slot);\n}\nconst breadcrumbsClasses = generateUtilityClasses('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);\nexport default breadcrumbsClasses;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport BreadcrumbCollapsed from \"./BreadcrumbCollapsed.js\";\nimport breadcrumbsClasses, { getBreadcrumbsUtilityClass } from \"./breadcrumbsClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n li: ['li'],\n ol: ['ol'],\n separator: ['separator']\n };\n return composeClasses(slots, getBreadcrumbsUtilityClass, classes);\n};\nconst BreadcrumbsRoot = styled(Typography, {\n name: 'MuiBreadcrumbs',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n return [{\n [`& .${breadcrumbsClasses.li}`]: styles.li\n }, styles.root];\n }\n})({});\nconst BreadcrumbsOl = styled('ol', {\n name: 'MuiBreadcrumbs',\n slot: 'Ol',\n overridesResolver: (props, styles) => styles.ol\n})({\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n padding: 0,\n margin: 0,\n listStyle: 'none'\n});\nconst BreadcrumbsSeparator = styled('li', {\n name: 'MuiBreadcrumbs',\n slot: 'Separator',\n overridesResolver: (props, styles) => styles.separator\n})({\n display: 'flex',\n userSelect: 'none',\n marginLeft: 8,\n marginRight: 8\n});\nfunction insertSeparators(items, className, separator, ownerState) {\n return items.reduce((acc, current, index) => {\n if (index < items.length - 1) {\n acc = acc.concat(current, /*#__PURE__*/_jsx(BreadcrumbsSeparator, {\n \"aria-hidden\": true,\n className: className,\n ownerState: ownerState,\n children: separator\n }, `separator-${index}`));\n } else {\n acc.push(current);\n }\n return acc;\n }, []);\n}\nconst Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiBreadcrumbs'\n });\n const {\n children,\n className,\n component = 'nav',\n slots = {},\n slotProps = {},\n expandText = 'Show path',\n itemsAfterCollapse = 1,\n itemsBeforeCollapse = 1,\n maxItems = 8,\n separator = '/',\n ...other\n } = props;\n const [expanded, setExpanded] = React.useState(false);\n const ownerState = {\n ...props,\n component,\n expanded,\n expandText,\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems,\n separator\n };\n const classes = useUtilityClasses(ownerState);\n const collapsedIconSlotProps = useSlotProps({\n elementType: slots.CollapsedIcon,\n externalSlotProps: slotProps.collapsedIcon,\n ownerState\n });\n const listRef = React.useRef(null);\n const renderItemsBeforeAndAfter = allItems => {\n const handleClickExpand = () => {\n setExpanded(true);\n\n // The clicked element received the focus but gets removed from the DOM.\n // Let's keep the focus in the component after expanding.\n // Moving it to the <ol> or <nav> does not cause any announcement in NVDA.\n // By moving it to some link/button at least we have some announcement.\n const focusable = listRef.current.querySelector('a[href],button,[tabindex]');\n if (focusable) {\n focusable.focus();\n }\n };\n\n // This defends against someone passing weird input, to ensure that if all\n // items would be shown anyway, we just show all items without the EllipsisItem\n if (itemsBeforeCollapse + itemsAfterCollapse >= allItems.length) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['MUI: You have provided an invalid combination of props to the Breadcrumbs.', `itemsAfterCollapse={${itemsAfterCollapse}} + itemsBeforeCollapse={${itemsBeforeCollapse}} >= maxItems={${maxItems}}`].join('\\n'));\n }\n return allItems;\n }\n return [...allItems.slice(0, itemsBeforeCollapse), /*#__PURE__*/_jsx(BreadcrumbCollapsed, {\n \"aria-label\": expandText,\n slots: {\n CollapsedIcon: slots.CollapsedIcon\n },\n slotProps: {\n collapsedIcon: collapsedIconSlotProps\n },\n onClick: handleClickExpand\n }, \"ellipsis\"), ...allItems.slice(allItems.length - itemsAfterCollapse, allItems.length)];\n };\n const allItems = React.Children.toArray(children).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Breadcrumbs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n }).map((child, index) => /*#__PURE__*/_jsx(\"li\", {\n className: classes.li,\n children: child\n }, `child-${index}`));\n return /*#__PURE__*/_jsx(BreadcrumbsRoot, {\n ref: ref,\n component: component,\n color: \"textSecondary\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ...other,\n children: /*#__PURE__*/_jsx(BreadcrumbsOl, {\n className: classes.ol,\n ref: listRef,\n ownerState: ownerState,\n children: insertSeparators(expanded || maxItems && allItems.length <= maxItems ? allItems : renderItemsBeforeAndAfter(allItems), classes.separator, separator, ownerState)\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Breadcrumbs.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Override the default label for the expand button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Show path'\n */\n expandText: PropTypes.string,\n /**\n * If max items is exceeded, the number of items to show after the ellipsis.\n * @default 1\n */\n itemsAfterCollapse: integerPropType,\n /**\n * If max items is exceeded, the number of items to show before the ellipsis.\n * @default 1\n */\n itemsBeforeCollapse: integerPropType,\n /**\n * Specifies the maximum number of breadcrumbs to display. When there are more\n * than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`\n * will be shown, with an ellipsis in between.\n * @default 8\n */\n maxItems: integerPropType,\n /**\n * Custom separator node.\n * @default '/'\n */\n separator: PropTypes.node,\n /**\n * The props used for each slot inside the Breadcumb.\n * @default {}\n */\n slotProps: PropTypes.shape({\n collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Breadcumb.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n CollapsedIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Breadcrumbs;","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n Breadcrumb: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n rightArrow: { height: \"18px\", width: \"18px\" },\n svgIcon: { height: \"18px\", width: \"18px\" },\n});\n\nexport default styles;\n","import React from \"react\";\nimport { Link, LinkProps } from \"react-router-dom\";\n\nimport { Breadcrumbs } from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { Pair } from \"shared/model\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./BreadcrumbStyles\";\n\ninterface BreadcrumbProps {\n path: LinkProps[\"to\"];\n data: (Pair & { onClick?: () => void })[];\n disableNavigation?: boolean;\n icon?: {\n src: string;\n linkTo: LinkProps[\"to\"];\n onClick?: () => void;\n color?: string;\n };\n}\n\nexport default function PulseBreadcrumb({\n path,\n data,\n disableNavigation,\n icon,\n}: BreadcrumbProps) {\n const links = data.map((item, index) => (\n <Link\n {...(index === data.length - 1 && { style: { fontWeight: 600 } })}\n key={item.id}\n to={typeof path === \"string\" ? `${path}/${item.id}` : path}\n onClick={(e) => {\n if (disableNavigation) {\n e.preventDefault();\n }\n item.onClick?.();\n }}\n >\n {item.name}\n </Link>\n ));\n if (icon) {\n links.unshift(\n <Link\n key={\"svgIcon\"}\n to={icon.linkTo}\n onClick={(e) => {\n if (disableNavigation) {\n e.preventDefault();\n }\n icon.onClick?.();\n }}\n >\n <SvgIcon\n src={icon.src}\n className={classes(style({ color: icon.color }), styles.svgIcon)}\n />\n </Link>\n );\n }\n return (\n <div className={styles.Breadcrumb}>\n <Breadcrumbs\n separator={\n <SvgIcon src=\"/icons/arrow_right.svg\" className={styles.rightArrow} />\n }\n >\n {links}\n </Breadcrumbs>\n </div>\n );\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCircularProgressUtilityClass(slot) {\n return generateUtilityClass('MuiCircularProgress', slot);\n}\nconst circularProgressClasses = generateUtilityClasses('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);\nexport default circularProgressClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { keyframes, css, styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { getCircularProgressUtilityClass } from \"./circularProgressClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst SIZE = 44;\nconst circularRotateKeyframe = keyframes`\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n`;\nconst circularDashKeyframe = keyframes`\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n`;\n\n// This implementation is for supporting both Styled-components v4+ and Pigment CSS.\n// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).\n// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).\nconst rotateAnimation = typeof circularRotateKeyframe !== 'string' ? css`\n animation: ${circularRotateKeyframe} 1.4s linear infinite;\n ` : null;\nconst dashAnimation = typeof circularDashKeyframe !== 'string' ? css`\n animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;\n ` : null;\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n color,\n disableShrink\n } = ownerState;\n const slots = {\n root: ['root', variant, `color${capitalize(color)}`],\n svg: ['svg'],\n circle: ['circle', `circle${capitalize(variant)}`, disableShrink && 'circleDisableShrink']\n };\n return composeClasses(slots, getCircularProgressUtilityClass, classes);\n};\nconst CircularProgressRoot = styled('span', {\n name: 'MuiCircularProgress',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-block',\n variants: [{\n props: {\n variant: 'determinate'\n },\n style: {\n transition: theme.transitions.create('transform')\n }\n }, {\n props: {\n variant: 'indeterminate'\n },\n style: rotateAnimation || {\n animation: `${circularRotateKeyframe} 1.4s linear infinite`\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n }))]\n})));\nconst CircularProgressSVG = styled('svg', {\n name: 'MuiCircularProgress',\n slot: 'Svg',\n overridesResolver: (props, styles) => styles.svg\n})({\n display: 'block' // Keeps the progress centered\n});\nconst CircularProgressCircle = styled('circle', {\n name: 'MuiCircularProgress',\n slot: 'Circle',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.circle, styles[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles.circleDisableShrink];\n }\n})(memoTheme(({\n theme\n}) => ({\n stroke: 'currentColor',\n variants: [{\n props: {\n variant: 'determinate'\n },\n style: {\n transition: theme.transitions.create('stroke-dashoffset')\n }\n }, {\n props: {\n variant: 'indeterminate'\n },\n style: {\n // Some default value that looks fine waiting for the animation to kicks in.\n strokeDasharray: '80px, 200px',\n strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.variant === 'indeterminate' && !ownerState.disableShrink,\n style: dashAnimation || {\n // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.\n animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`\n }\n }]\n})));\n\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\nconst CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCircularProgress'\n });\n const {\n className,\n color = 'primary',\n disableShrink = false,\n size = 40,\n style,\n thickness = 3.6,\n value = 0,\n variant = 'indeterminate',\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n disableShrink,\n size,\n thickness,\n value,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const circleStyle = {};\n const rootStyle = {};\n const rootProps = {};\n if (variant === 'determinate') {\n const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);\n circleStyle.strokeDasharray = circumference.toFixed(3);\n rootProps['aria-valuenow'] = Math.round(value);\n circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;\n rootStyle.transform = 'rotate(-90deg)';\n }\n return /*#__PURE__*/_jsx(CircularProgressRoot, {\n className: clsx(classes.root, className),\n style: {\n width: size,\n height: size,\n ...rootStyle,\n ...style\n },\n ownerState: ownerState,\n ref: ref,\n role: \"progressbar\",\n ...rootProps,\n ...other,\n children: /*#__PURE__*/_jsx(CircularProgressSVG, {\n className: classes.svg,\n ownerState: ownerState,\n viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,\n children: /*#__PURE__*/_jsx(CircularProgressCircle, {\n className: classes.circle,\n style: circleStyle,\n ownerState: ownerState,\n cx: SIZE,\n cy: SIZE,\n r: (SIZE - thickness) / 2,\n fill: \"none\",\n strokeWidth: thickness\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? CircularProgress.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the shrink animation is disabled.\n * This only works if variant is `indeterminate`.\n * @default false\n */\n disableShrink: chainPropTypes(PropTypes.bool, props => {\n if (props.disableShrink && props.variant && props.variant !== 'indeterminate') {\n return new Error('MUI: You have provided the `disableShrink` prop ' + 'with a variant other than `indeterminate`. This will have no effect.');\n }\n return null;\n }),\n /**\n * The size of the component.\n * If using a number, the pixel unit is assumed.\n * If using a string, you need to provide the CSS unit, for example '3rem'.\n * @default 40\n */\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The thickness of the circle.\n * @default 3.6\n */\n thickness: PropTypes.number,\n /**\n * The value of the progress indicator for the determinate variant.\n * Value between 0 and 100.\n * @default 0\n */\n value: PropTypes.number,\n /**\n * The variant to use.\n * Use indeterminate when there is no progress value.\n * @default 'indeterminate'\n */\n variant: PropTypes.oneOf(['determinate', 'indeterminate'])\n} : void 0;\nexport default CircularProgress;","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst getSharedButtonStyles = (\n color: string,\n backgroundColor: string,\n hover: string,\n active: string\n) => ({\n backgroundColor,\n color,\n border: 0,\n $nest: {\n \"&:hover\": {\n backgroundColor: hover,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: active,\n },\n },\n});\n\nconst styles = stylesheet({\n // Sizes are declared inside mui theme\n root: {\n ...typography.BUTTON_MEDIUM,\n },\n small: {\n ...typography.BUTTON_SMALL,\n },\n large: {\n ...typography.BUTTON_LARGE,\n },\n startIcon: {\n marginRight: \"12px\",\n },\n endIcon: {\n marginLeft: \"12px\",\n },\n loadingIcon: {\n height: \"20px!important\",\n width: \"20px!important\",\n },\n});\n\nexport const normalVariantStyles = stylesheet({\n gray: getSharedButtonStyles(\n primaryColors.BLACK,\n neutralColors.GRAY3,\n neutralColors.GRAY3_HOVER,\n neutralColors.GRAY3_ACTIVE\n ),\n green: getSharedButtonStyles(\n primaryColors.WHITE,\n utilityColors.GREEN,\n utilityColors.GREEN,\n utilityColors.GREEN\n ),\n purple: getSharedButtonStyles(\n primaryColors.WHITE,\n primaryColors.PURPLE2,\n primaryColors.PURPLE2_HOVER,\n primaryColors.PURPLE3\n ),\n orange: getSharedButtonStyles(\n primaryColors.WHITE,\n utilityColors.ORANGE,\n utilityColors.ORANGE_HOVER,\n utilityColors.ORANGE_ACTIVE\n ),\n red: getSharedButtonStyles(\n primaryColors.WHITE,\n utilityColors.RED,\n utilityColors.RED_HOVER,\n utilityColors.RED_ACTIVE\n ),\n orangeHover: getSharedButtonStyles(\n utilityColors.ORANGE_HOVER,\n utilityColors.ORANGE_OUTLINED_HOVER,\n utilityColors.ORANGE_LIGHT_HOVER,\n utilityColors.ORANGE_ACTIVE\n ),\n noShadow: {\n boxShadow: \"none\",\n },\n});\n\nexport const transparentVariantStyles = stylesheet({\n root: {\n borderRadius: \"4px\",\n display: \"flex\",\n alignItems: \"center\",\n $nest: {\n \"&:hover\": {\n background: primaryColors.HOVER,\n },\n },\n },\n gray: {\n color: neutralColors.GRAY5,\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n color: primaryColors.BLACK,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: primaryColors.ACTIVE,\n },\n \"&.disabled\": {\n backgroundColor: \"transparent\",\n color: neutralColors.GRAY5,\n fontStyle: \"italic\",\n },\n },\n },\n orange: {\n color: utilityColors.ORANGE,\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n color: utilityColors.ORANGE,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: primaryColors.ACTIVE,\n },\n },\n },\n});\n\nexport const outlinedVariantStyles = stylesheet({\n root: {\n borderRadius: \"4px\",\n display: \"flex\",\n alignItems: \"center\",\n $nest: {\n \"&:hover\": {\n background: primaryColors.HOVER,\n },\n },\n },\n\n orange: {\n color: utilityColors.ORANGE,\n border: `1.5px solid ${utilityColors.ORANGE}`,\n $nest: {\n \"&:hover\": {\n backgroundColor: utilityColors.ORANGE_OUTLINED_HOVER,\n color: utilityColors.ORANGE,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: utilityColors.ORANGE_OUTLINED_ACTIVE,\n },\n },\n },\n purple: {\n color: utilityColors.LILAC,\n border: `1.5px solid ${utilityColors.LILAC}`,\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.PURPLE1,\n color: utilityColors.LILAC,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: primaryColors.PURPLE1,\n },\n },\n },\n green: {\n color: utilityColors.GREEN,\n border: `1.5px solid ${utilityColors.GREEN}`,\n $nest: {\n \"&:hover\": {\n backgroundColor: utilityColors.GREEN_OUTLINE_HOVER,\n color: utilityColors.GREEN,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: utilityColors.GREEN_OUTLINE_FOCUSED,\n },\n },\n },\n red: {\n color: utilityColors.RED,\n border: `1.5px solid ${utilityColors.RED}`,\n $nest: {\n \"&:hover\": {\n backgroundColor: utilityColors.RED_OUTLINE_HOVER,\n color: utilityColors.RED,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: utilityColors.RED_OUTLINE_FOCUSED,\n },\n },\n },\n gray: {\n color: primaryColors.BLACK,\n border: `1.5px solid ${neutralColors.GRAY4}`,\n $nest: {\n \"&:hover\": {\n backgroundColor: neutralColors.GRAY4,\n color: neutralColors.GRAY1,\n boxShadow: \"none\",\n },\n \"&:active\": {\n backgroundColor: neutralColors.GRAY3,\n },\n },\n },\n});\n\nexport const textVariantStyles = stylesheet({\n black: {\n color: primaryColors.BLACK,\n padding: \"0\",\n $nest: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: utilityColors.ORANGE,\n boxShadow: \"none\",\n textDecoration: \"underline\",\n },\n },\n },\n orange: {\n color: utilityColors.ORANGE,\n padding: \"0\",\n $nest: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: utilityColors.ORANGE_HOVER,\n boxShadow: \"none\",\n textDecoration: \"underline\",\n },\n },\n },\n gray: {\n color: neutralColors.GRAY4,\n padding: \"0\",\n $nest: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: neutralColors.GRAY3_HOVER,\n boxShadow: \"none\",\n textDecoration: \"underline\",\n },\n },\n },\n});\n\nexport const linkVariantStyles = stylesheet({\n root: {\n boxShadow: \"none\",\n textDecoration: \"underline\",\n padding: \"0\",\n $nest: {\n \"&.disabled\": {\n color: neutralColors.GRAY4,\n backgroundColor: \"transparent\",\n textDecoration: \"none\",\n },\n },\n },\n\n orange: {\n color: utilityColors.ORANGE,\n $nest: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: utilityColors.ORANGE,\n },\n },\n },\n});\n\nexport const toggledVariantStyles = stylesheet({\n root: {\n boxShadow: \"none\",\n textDecoration: \"underline\",\n padding: \"0\",\n $nest: {\n \"&.disabled\": {\n color: neutralColors.GRAY4,\n backgroundColor: \"transparent\",\n textDecoration: \"none\",\n },\n },\n },\n\n orange: {\n color: utilityColors.ORANGE_HOVER,\n backgroundColor: utilityColors.ORANGE_OUTLINED_HOVER,\n $nest: {\n \"&:hover\": {\n backgroundColor: utilityColors.ORANGE_HOVER,\n color: utilityColors.ORANGE,\n },\n },\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport {\n Button as MuiButton,\n ButtonProps as MuiButtonProps,\n CircularProgress,\n} from \"@mui/material\";\nimport { classes } from \"typestyle\";\n\nimport styles, {\n linkVariantStyles,\n normalVariantStyles,\n outlinedVariantStyles,\n textVariantStyles,\n transparentVariantStyles,\n} from \"./Button.styles\";\n\n// different variants on figma\n// confirm - orange bg - white text\n// confirm - purple bg - white text\n// select - green bg - white text\n// cancel - gray bg - black text\n// delete - red bg - white text\n\nexport type ButtonColors =\n | \"gray\"\n | \"green\"\n | \"purple\"\n | \"orange\"\n | \"red\"\n | \"orangeHover\";\n\nexport type ButtonProps<\n D extends React.ElementType<any> = \"button\",\n P = {}\n> = Omit<MuiButtonProps<D, P>, \"variant\" | \"action\" | \"color\"> & {\n isLoading?: boolean;\n [\"data-cy\"]?: string;\n} & (\n | {\n variant: \"normal\";\n color?: ButtonColors;\n }\n | {\n variant: \"transparent\";\n // todo add support for other colors\n color?: Extract<ButtonColors, \"gray\" | \"orange\">;\n }\n | {\n variant: \"outlined\";\n // todo add support for other colors\n color?: Extract<\n ButtonColors,\n \"orange\" | \"purple\" | \"green\" | \"red\" | \"gray\"\n >;\n }\n | {\n variant: \"link\";\n // todo add support for other colors\n color?: Extract<ButtonColors, \"orange\" | \"gray\">;\n }\n | {\n variant: \"text\";\n // todo add support for other colors\n color?: Extract<ButtonColors, \"orange\" | \"gray\">;\n }\n );\n\nfunction setVariant<D extends React.ElementType<any> = \"button\">(\n variant: ButtonProps<D>[\"variant\"],\n color: ButtonColors\n): { variant: MuiButtonProps[\"variant\"]; styles: string } {\n switch (variant) {\n case \"normal\":\n return { variant: \"contained\", styles: normalVariantStyles[color] };\n case \"transparent\":\n return {\n variant: \"text\",\n styles: transparentVariantStyles[color as \"gray\" | \"orange\"],\n };\n case \"outlined\":\n return {\n variant: \"outlined\",\n styles: outlinedVariantStyles[color as \"orange\" | \"gray\"],\n };\n case \"link\":\n return {\n variant: \"text\",\n styles: linkVariantStyles[color as \"orange\"],\n };\n default:\n return {\n variant: \"text\",\n styles: textVariantStyles[color as \"black\" | \"orange\" | \"gray\"],\n };\n }\n}\n\nconst Button = React.forwardRef<unknown, ButtonProps>(function Button<\n D extends React.ElementType<any> = \"button\"\n>(\n {\n className,\n color = \"orange\",\n variant,\n isLoading,\n classes: buttonClasses,\n ...props\n }: ButtonProps<D>,\n ref: any\n) {\n const variantConfig = setVariant(variant, color);\n\n let loadingProps: Partial<MuiButtonProps> = {};\n\n if (isLoading) {\n loadingProps = {\n endIcon: <CircularProgress classes={{ root: styles.loadingIcon }} />,\n children: \"Loading\",\n disabled: true,\n classes: {\n endIcon: styles.loadingIcon,\n },\n };\n }\n\n return (\n <MuiButton\n {...props}\n className={classes(\n variantConfig.styles,\n variant === \"link\" && linkVariantStyles.root,\n className\n )}\n classes={{\n ...buttonClasses,\n contained: classes(\n normalVariantStyles.noShadow,\n buttonClasses?.contained\n ),\n sizeSmall: classes(styles.small, buttonClasses?.sizeSmall),\n sizeLarge: classes(styles.large, buttonClasses?.sizeLarge),\n startIcon: classes(styles.startIcon, buttonClasses?.startIcon),\n endIcon: classes(\n styles.endIcon,\n isLoading && loadingProps.classes?.endIcon,\n buttonClasses?.endIcon\n ),\n root: classes(styles.root, buttonClasses?.root),\n disabled: \"disabled\",\n }}\n variant={variantConfig.variant}\n ref={ref}\n {...loadingProps}\n />\n );\n});\n\nexport default Button;\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { maxLineNumber } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst contentPadding = \"32px\";\n\nconst styles = stylesheet({\n root: {\n width: \"275px\",\n position: \"relative\",\n background: primaryColors.WHITE,\n border: `1px solid ${neutralColors.GRAY2}`,\n boxShadow: \"0px 2px 10px rgba(0, 0, 0, 0.1)\",\n borderRadius: \"8px\",\n overflow: \"hidden\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n illustration: {\n background: neutralColors.GRAY0,\n borderBottom: `2px solid ${neutralColors.GRAY0}`,\n },\n avatarContainer: {\n width: \"96px\",\n height: \"96px\",\n borderRadius: \"4px\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n marginTop: \"-60px\",\n marginBottom: \"16px\",\n },\n avatar: {\n width: \"100%\",\n height: \"100%\",\n borderRadius: \"4px\",\n border: `solid 1px ${primaryColors.WHITE}`,\n backgroundColor: neutralColors.GRAY1,\n },\n backgroundImage: { height: px(87), width: \"100%\", objectFit: \"cover\" },\n content: {\n flex: 1,\n padding: `0 ${contentPadding} ${contentPadding}`,\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n },\n title: {\n textAlign: \"center\",\n color: primaryColors.BLACK,\n ...typography.SUBTITLE1,\n ...zeroPaddingMargin,\n height: \"2.625rem\", // 2 lines\n ...maxLineNumber(2),\n cursor: \"pointer\",\n $nest: {\n \"&:hover\": {\n textDecoration: \"underline\",\n },\n },\n },\n buttonContainer: {\n justifySelf: \"flex-end\",\n width: \"100%\",\n display: \"flex\",\n gap: \"8px\",\n flexDirection: \"column\",\n },\n checkbox: {\n background: primaryColors.WHITE,\n position: \"absolute\",\n top: \"8px\",\n left: \"8px\",\n borderRadius: \"2px\",\n padding: \"3px\",\n },\n kebab: {\n background: primaryColors.WHITE,\n position: \"absolute\",\n top: \"8px\",\n right: \"8px\",\n borderRadius: \"2px\",\n },\n disabled: {\n $nest: {\n \"&\": {\n color: neutralColors.GRAY3,\n },\n },\n },\n});\n\nexport default styles;\n","import { ReactNode } from \"react\";\n\nimport { Checkbox } from \"@mui/material\";\nimport { Identifiable } from \"components/AssetRepository/types\";\nimport Button, { ButtonProps } from \"components/ui/Button\";\nimport KebabMenu, { KebabMenuAction } from \"components/ui/KebabMenu\";\nimport { SelectableComponentProps } from \"shared/utils/componentTypes\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./Card.styles\";\n\ntype Props<T> = {\n className?: string;\n avatar?: string;\n backgroundImage?: string;\n defaultAvatar: string;\n title: string;\n children: ReactNode;\n buttons?: (ButtonProps & Identifiable)[];\n kebabMenuActions?: KebabMenuAction[];\n} & SelectableComponentProps<T>;\n\nfunction Card<T>({\n avatar,\n backgroundImage,\n defaultAvatar,\n title,\n className,\n children,\n buttons = [],\n onToggleSelect,\n disabled,\n kebabMenuActions,\n selected,\n}: Props<T>) {\n return (\n <div className={classes(styles.root, className)}>\n {onToggleSelect && (\n <Checkbox\n size=\"small\"\n className={styles.checkbox}\n disabled={typeof disabled === \"function\" ? disabled() : disabled}\n checked={Boolean(selected)}\n onChange={() => onToggleSelect()}\n />\n )}\n {kebabMenuActions && (\n <KebabMenu\n className={classes(styles.kebab, className)}\n actions={kebabMenuActions}\n />\n )}\n\n <div>\n {backgroundImage ? (\n <img\n className={styles.backgroundImage}\n src={backgroundImage}\n alt={`${title}_bakcground`}\n />\n ) : (\n <svg\n className={styles.illustration}\n width=\"100%\"\n height=\"80\"\n viewBox=\"0 0 275 80\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M275.015 -0.218746L-1.07149 -0.218734L-1.07153 47.2101C59.5877 90.4514 109 84.5983 166.76 60.848C214.09 77.1489 237.768 78.7452 275.015 60.848L275.015 -0.218746Z\"\n fill=\"#F1F3F5\"\n />\n <path\n d=\"M275.015 -10.541L-0.851562 -10.541L-0.851233 15.5405C59.808 58.7817 109.001 52.9287 166.761 29.1784C214.09 45.4793 237.769 47.0756 275.015 29.1784L275.015 -10.541Z\"\n fill=\"#92D3D7\"\n />\n </svg>\n )}\n <div className={styles.avatarContainer}>\n <img\n className={styles.avatar}\n src={avatar || defaultAvatar}\n alt=\"avatar\"\n />\n </div>\n </div>\n\n <div className={styles.content}>\n <h3 className={classes(styles.title, disabled && styles.disabled)}>\n {title}\n </h3>\n\n {children}\n\n <div className={classes(styles.buttonContainer)}>\n {buttons.map((buttonProps) => (\n <Button\n key={buttonProps.id}\n size=\"small\"\n fullWidth\n {...buttonProps}\n />\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nexport default Card;\n","import { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n input: {},\n});\n","import React from \"react\";\n\nimport Input from \"components/ui/Input/Input\";\nimport { useFormik } from \"formik\";\n\nimport styles from \"./EditableTextCellStyles\";\n\ntype EditableTextProps = {\n text: string;\n isEditing?: boolean;\n className?: string;\n onSubmit: (newValue: string) => void;\n disableOnBlur?: boolean;\n required?: boolean;\n validityText?: string;\n};\n\nexport default function EditableText({\n text,\n isEditing,\n className,\n onSubmit = () => {},\n disableOnBlur = false,\n required,\n validityText,\n}: EditableTextProps) {\n const formik = useFormik({\n initialValues: { text },\n validate: (values) => {\n if (required && !values.text) {\n return { text: \"Required\" };\n }\n return {};\n },\n onSubmit: (values) => {\n onSubmit(values.text);\n },\n });\n\n return (\n <div className={className}>\n {isEditing ? (\n <form\n onSubmit={(e) => {\n e.preventDefault();\n formik.handleSubmit();\n }}\n onBlur={() => {\n if (disableOnBlur) {\n return;\n }\n formik.handleSubmit();\n }}\n >\n <Input\n inputRef={(input: HTMLInputElement) => {\n if (!input || !validityText || formik.isValid) {\n input?.setCustomValidity(\"\");\n return;\n }\n input.setCustomValidity(validityText);\n }}\n helperTextExpectedLines={0}\n size=\"small\"\n autoFocus\n InputProps={{\n classes: { root: styles.input },\n }}\n onClick={(e) => e.stopPropagation()}\n required={required}\n onChange={(e) => formik.setFieldValue(\"text\", e.target.value)}\n value={formik.values.text}\n />\n </form>\n ) : (\n text\n )}\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n root: {\n ...typography.BODY1,\n },\n list: {\n width: \"100%\",\n backgroundColor: neutralColors.GRAY0,\n padding: \"8px\",\n maxHeight: \"250px\",\n overflowY: \"auto\",\n cursor: \"default\",\n },\n listItem: {\n $nest: {\n '&:hover, &[data-focus=\"true\"], &[aria-selected=\"true\"]': {\n backgroundColor: primaryColors.HOVER,\n },\n '&.MuiAutocomplete-option[aria-disabled=\"true\"]': {\n opacity: \"initial\",\n color: neutralColors.GRAY3,\n },\n },\n },\n optionWrapper: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n optionText: {\n maxWidth: \"400px\",\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n },\n disabledReason: {\n ...typography.CAPTION3,\n },\n arrowIcon: {\n width: \"12px\",\n height: \"12px\",\n color: neutralColors.GRAY5,\n },\n inputRoot: {\n backgroundColor: primaryColors.WHITE,\n paddingRight: \"9px!important\",\n // height: \"46px\",\n cursor: \"pointer\",\n },\n input: {\n height: \"100%\",\n padding: \"0!important\",\n paddingLeft: \"6px!important\",\n cursor: \"pointer\",\n },\n disabled: {},\n disabledInput: {\n $nest: {\n \"&&\": {\n backgroundColor: \"unset\",\n },\n },\n },\n informationIconWrapper: {\n marginLeft: \"12px\",\n width: \"18px\",\n height: \"18px\",\n },\n informationIcon: {\n width: \"18px\",\n height: \"18px\",\n },\n iconWrapper: {\n maxHeight: \"100%\",\n maxWidth: \"16px\",\n marginRight: \"8px\",\n },\n selectedOptionIconWrapper: {\n maxWidth: \"16px\",\n marginRight: \"8px\",\n },\n});\n","'use client';\n\n/* eslint-disable no-constant-condition */\nimport * as React from 'react';\nimport { unstable_setRef as setRef, unstable_useEventCallback as useEventCallback, unstable_useControlled as useControlled, unstable_useId as useId, usePreviousProps } from '@mui/utils';\n\n// https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript\nfunction stripDiacritics(string) {\n return string.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n}\nexport function createFilterOptions(config = {}) {\n const {\n ignoreAccents = true,\n ignoreCase = true,\n limit,\n matchFrom = 'any',\n stringify,\n trim = false\n } = config;\n return (options, {\n inputValue,\n getOptionLabel\n }) => {\n let input = trim ? inputValue.trim() : inputValue;\n if (ignoreCase) {\n input = input.toLowerCase();\n }\n if (ignoreAccents) {\n input = stripDiacritics(input);\n }\n const filteredOptions = !input ? options : options.filter(option => {\n let candidate = (stringify || getOptionLabel)(option);\n if (ignoreCase) {\n candidate = candidate.toLowerCase();\n }\n if (ignoreAccents) {\n candidate = stripDiacritics(candidate);\n }\n return matchFrom === 'start' ? candidate.startsWith(input) : candidate.includes(input);\n });\n return typeof limit === 'number' ? filteredOptions.slice(0, limit) : filteredOptions;\n };\n}\nconst defaultFilterOptions = createFilterOptions();\n\n// Number of options to jump in list box when `Page Up` and `Page Down` keys are used.\nconst pageSize = 5;\nconst defaultIsActiveElementInListbox = listboxRef => listboxRef.current !== null && listboxRef.current.parentElement?.contains(document.activeElement);\nconst MULTIPLE_DEFAULT_VALUE = [];\nfunction useAutocomplete(props) {\n const {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n unstable_isActiveElementInListbox = defaultIsActiveElementInListbox,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n unstable_classNamePrefix = 'Mui',\n autoComplete = false,\n autoHighlight = false,\n autoSelect = false,\n blurOnSelect = false,\n clearOnBlur = !props.freeSolo,\n clearOnEscape = false,\n componentName = 'useAutocomplete',\n defaultValue = props.multiple ? MULTIPLE_DEFAULT_VALUE : null,\n disableClearable = false,\n disableCloseOnSelect = false,\n disabled: disabledProp,\n disabledItemsFocusable = false,\n disableListWrap = false,\n filterOptions = defaultFilterOptions,\n filterSelectedOptions = false,\n freeSolo = false,\n getOptionDisabled,\n getOptionKey,\n getOptionLabel: getOptionLabelProp = option => option.label ?? option,\n groupBy,\n handleHomeEndKeys = !props.freeSolo,\n id: idProp,\n includeInputInList = false,\n inputValue: inputValueProp,\n isOptionEqualToValue = (option, value) => option === value,\n multiple = false,\n onChange,\n onClose,\n onHighlightChange,\n onInputChange,\n onOpen,\n open: openProp,\n openOnFocus = false,\n options,\n readOnly = false,\n selectOnFocus = !props.freeSolo,\n value: valueProp\n } = props;\n const id = useId(idProp);\n let getOptionLabel = getOptionLabelProp;\n getOptionLabel = option => {\n const optionLabel = getOptionLabelProp(option);\n if (typeof optionLabel !== 'string') {\n if (process.env.NODE_ENV !== 'production') {\n const erroneousReturn = optionLabel === undefined ? 'undefined' : `${typeof optionLabel} (${optionLabel})`;\n console.error(`MUI: The \\`getOptionLabel\\` method of ${componentName} returned ${erroneousReturn} instead of a string for ${JSON.stringify(option)}.`);\n }\n return String(optionLabel);\n }\n return optionLabel;\n };\n const ignoreFocus = React.useRef(false);\n const firstFocus = React.useRef(true);\n const inputRef = React.useRef(null);\n const listboxRef = React.useRef(null);\n const [anchorEl, setAnchorEl] = React.useState(null);\n const [focusedTag, setFocusedTag] = React.useState(-1);\n const defaultHighlighted = autoHighlight ? 0 : -1;\n const highlightedIndexRef = React.useRef(defaultHighlighted);\n const [value, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: componentName\n });\n const [inputValue, setInputValueState] = useControlled({\n controlled: inputValueProp,\n default: '',\n name: componentName,\n state: 'inputValue'\n });\n const [focused, setFocused] = React.useState(false);\n const resetInputValue = React.useCallback((event, newValue, reason) => {\n // retain current `inputValue` if new option isn't selected and `clearOnBlur` is false\n // When `multiple` is enabled, `newValue` is an array of all selected items including the newly selected item\n const isOptionSelected = multiple ? value.length < newValue.length : newValue !== null;\n if (!isOptionSelected && !clearOnBlur) {\n return;\n }\n let newInputValue;\n if (multiple) {\n newInputValue = '';\n } else if (newValue == null) {\n newInputValue = '';\n } else {\n const optionLabel = getOptionLabel(newValue);\n newInputValue = typeof optionLabel === 'string' ? optionLabel : '';\n }\n if (inputValue === newInputValue) {\n return;\n }\n setInputValueState(newInputValue);\n if (onInputChange) {\n onInputChange(event, newInputValue, reason);\n }\n }, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState, clearOnBlur, value]);\n const [open, setOpenState] = useControlled({\n controlled: openProp,\n default: false,\n name: componentName,\n state: 'open'\n });\n const [inputPristine, setInputPristine] = React.useState(true);\n const inputValueIsSelectedValue = !multiple && value != null && inputValue === getOptionLabel(value);\n const popupOpen = open && !readOnly;\n const filteredOptions = popupOpen ? filterOptions(options.filter(option => {\n if (filterSelectedOptions && (multiple ? value : [value]).some(value2 => value2 !== null && isOptionEqualToValue(option, value2))) {\n return false;\n }\n return true;\n }),\n // we use the empty string to manipulate `filterOptions` to not filter any options\n // i.e. the filter predicate always returns true\n {\n inputValue: inputValueIsSelectedValue && inputPristine ? '' : inputValue,\n getOptionLabel\n }) : [];\n const previousProps = usePreviousProps({\n filteredOptions,\n value,\n inputValue\n });\n React.useEffect(() => {\n const valueChange = value !== previousProps.value;\n if (focused && !valueChange) {\n return;\n }\n\n // Only reset the input's value when freeSolo if the component's value changes.\n if (freeSolo && !valueChange) {\n return;\n }\n resetInputValue(null, value, 'reset');\n }, [value, resetInputValue, focused, previousProps.value, freeSolo]);\n const listboxAvailable = open && filteredOptions.length > 0 && !readOnly;\n const focusTag = useEventCallback(tagToFocus => {\n if (tagToFocus === -1) {\n inputRef.current.focus();\n } else {\n anchorEl.querySelector(`[data-tag-index=\"${tagToFocus}\"]`).focus();\n }\n });\n\n // Ensure the focusedTag is never inconsistent\n React.useEffect(() => {\n if (multiple && focusedTag > value.length - 1) {\n setFocusedTag(-1);\n focusTag(-1);\n }\n }, [value, multiple, focusedTag, focusTag]);\n function validOptionIndex(index, direction) {\n if (!listboxRef.current || index < 0 || index >= filteredOptions.length) {\n return -1;\n }\n let nextFocus = index;\n while (true) {\n const option = listboxRef.current.querySelector(`[data-option-index=\"${nextFocus}\"]`);\n\n // Same logic as MenuList.js\n const nextFocusDisabled = disabledItemsFocusable ? false : !option || option.disabled || option.getAttribute('aria-disabled') === 'true';\n if (option && option.hasAttribute('tabindex') && !nextFocusDisabled) {\n // The next option is available\n return nextFocus;\n }\n\n // The next option is disabled, move to the next element.\n // with looped index\n if (direction === 'next') {\n nextFocus = (nextFocus + 1) % filteredOptions.length;\n } else {\n nextFocus = (nextFocus - 1 + filteredOptions.length) % filteredOptions.length;\n }\n\n // We end up with initial index, that means we don't have available options.\n // All of them are disabled\n if (nextFocus === index) {\n return -1;\n }\n }\n }\n const setHighlightedIndex = useEventCallback(({\n event,\n index,\n reason = 'auto'\n }) => {\n highlightedIndexRef.current = index;\n\n // does the index exist?\n if (index === -1) {\n inputRef.current.removeAttribute('aria-activedescendant');\n } else {\n inputRef.current.setAttribute('aria-activedescendant', `${id}-option-${index}`);\n }\n if (onHighlightChange) {\n onHighlightChange(event, index === -1 ? null : filteredOptions[index], reason);\n }\n if (!listboxRef.current) {\n return;\n }\n const prev = listboxRef.current.querySelector(`[role=\"option\"].${unstable_classNamePrefix}-focused`);\n if (prev) {\n prev.classList.remove(`${unstable_classNamePrefix}-focused`);\n prev.classList.remove(`${unstable_classNamePrefix}-focusVisible`);\n }\n let listboxNode = listboxRef.current;\n if (listboxRef.current.getAttribute('role') !== 'listbox') {\n listboxNode = listboxRef.current.parentElement.querySelector('[role=\"listbox\"]');\n }\n\n // \"No results\"\n if (!listboxNode) {\n return;\n }\n if (index === -1) {\n listboxNode.scrollTop = 0;\n return;\n }\n const option = listboxRef.current.querySelector(`[data-option-index=\"${index}\"]`);\n if (!option) {\n return;\n }\n option.classList.add(`${unstable_classNamePrefix}-focused`);\n if (reason === 'keyboard') {\n option.classList.add(`${unstable_classNamePrefix}-focusVisible`);\n }\n\n // Scroll active descendant into view.\n // Logic copied from https://www.w3.org/WAI/content-assets/wai-aria-practices/patterns/combobox/examples/js/select-only.js\n // In case of mouse clicks and touch (in mobile devices) we avoid scrolling the element and keep both behaviors same.\n // Consider this API instead once it has a better browser support:\n // .scrollIntoView({ scrollMode: 'if-needed', block: 'nearest' });\n if (listboxNode.scrollHeight > listboxNode.clientHeight && reason !== 'mouse' && reason !== 'touch') {\n const element = option;\n const scrollBottom = listboxNode.clientHeight + listboxNode.scrollTop;\n const elementBottom = element.offsetTop + element.offsetHeight;\n if (elementBottom > scrollBottom) {\n listboxNode.scrollTop = elementBottom - listboxNode.clientHeight;\n } else if (element.offsetTop - element.offsetHeight * (groupBy ? 1.3 : 0) < listboxNode.scrollTop) {\n listboxNode.scrollTop = element.offsetTop - element.offsetHeight * (groupBy ? 1.3 : 0);\n }\n }\n });\n const changeHighlightedIndex = useEventCallback(({\n event,\n diff,\n direction = 'next',\n reason = 'auto'\n }) => {\n if (!popupOpen) {\n return;\n }\n const getNextIndex = () => {\n const maxIndex = filteredOptions.length - 1;\n if (diff === 'reset') {\n return defaultHighlighted;\n }\n if (diff === 'start') {\n return 0;\n }\n if (diff === 'end') {\n return maxIndex;\n }\n const newIndex = highlightedIndexRef.current + diff;\n if (newIndex < 0) {\n if (newIndex === -1 && includeInputInList) {\n return -1;\n }\n if (disableListWrap && highlightedIndexRef.current !== -1 || Math.abs(diff) > 1) {\n return 0;\n }\n return maxIndex;\n }\n if (newIndex > maxIndex) {\n if (newIndex === maxIndex + 1 && includeInputInList) {\n return -1;\n }\n if (disableListWrap || Math.abs(diff) > 1) {\n return maxIndex;\n }\n return 0;\n }\n return newIndex;\n };\n const nextIndex = validOptionIndex(getNextIndex(), direction);\n setHighlightedIndex({\n index: nextIndex,\n reason,\n event\n });\n\n // Sync the content of the input with the highlighted option.\n if (autoComplete && diff !== 'reset') {\n if (nextIndex === -1) {\n inputRef.current.value = inputValue;\n } else {\n const option = getOptionLabel(filteredOptions[nextIndex]);\n inputRef.current.value = option;\n\n // The portion of the selected suggestion that has not been typed by the user,\n // a completion string, appears inline after the input cursor in the textbox.\n const index = option.toLowerCase().indexOf(inputValue.toLowerCase());\n if (index === 0 && inputValue.length > 0) {\n inputRef.current.setSelectionRange(inputValue.length, option.length);\n }\n }\n }\n });\n const getPreviousHighlightedOptionIndex = () => {\n const isSameValue = (value1, value2) => {\n const label1 = value1 ? getOptionLabel(value1) : '';\n const label2 = value2 ? getOptionLabel(value2) : '';\n return label1 === label2;\n };\n if (highlightedIndexRef.current !== -1 && previousProps.filteredOptions && previousProps.filteredOptions.length !== filteredOptions.length && previousProps.inputValue === inputValue && (multiple ? value.length === previousProps.value.length && previousProps.value.every((val, i) => getOptionLabel(value[i]) === getOptionLabel(val)) : isSameValue(previousProps.value, value))) {\n const previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];\n if (previousHighlightedOption) {\n return filteredOptions.findIndex(option => {\n return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);\n });\n }\n }\n return -1;\n };\n const syncHighlightedIndex = React.useCallback(() => {\n if (!popupOpen) {\n return;\n }\n\n // Check if the previously highlighted option still exists in the updated filtered options list and if the value and inputValue haven't changed\n // If it exists and the value and the inputValue haven't changed, just update its index, otherwise continue execution\n const previousHighlightedOptionIndex = getPreviousHighlightedOptionIndex();\n if (previousHighlightedOptionIndex !== -1) {\n highlightedIndexRef.current = previousHighlightedOptionIndex;\n return;\n }\n const valueItem = multiple ? value[0] : value;\n\n // The popup is empty, reset\n if (filteredOptions.length === 0 || valueItem == null) {\n changeHighlightedIndex({\n diff: 'reset'\n });\n return;\n }\n if (!listboxRef.current) {\n return;\n }\n\n // Synchronize the value with the highlighted index\n if (valueItem != null) {\n const currentOption = filteredOptions[highlightedIndexRef.current];\n\n // Keep the current highlighted index if possible\n if (multiple && currentOption && value.findIndex(val => isOptionEqualToValue(currentOption, val)) !== -1) {\n return;\n }\n const itemIndex = filteredOptions.findIndex(optionItem => isOptionEqualToValue(optionItem, valueItem));\n if (itemIndex === -1) {\n changeHighlightedIndex({\n diff: 'reset'\n });\n } else {\n setHighlightedIndex({\n index: itemIndex\n });\n }\n return;\n }\n\n // Prevent the highlighted index to leak outside the boundaries.\n if (highlightedIndexRef.current >= filteredOptions.length - 1) {\n setHighlightedIndex({\n index: filteredOptions.length - 1\n });\n return;\n }\n\n // Restore the focus to the previous index.\n setHighlightedIndex({\n index: highlightedIndexRef.current\n });\n // Ignore filteredOptions (and options, isOptionEqualToValue, getOptionLabel) not to break the scroll position\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n // Only sync the highlighted index when the option switch between empty and not\n filteredOptions.length,\n // Don't sync the highlighted index with the value when multiple\n // eslint-disable-next-line react-hooks/exhaustive-deps\n multiple ? false : value, filterSelectedOptions, changeHighlightedIndex, setHighlightedIndex, popupOpen, inputValue, multiple]);\n const handleListboxRef = useEventCallback(node => {\n setRef(listboxRef, node);\n if (!node) {\n return;\n }\n syncHighlightedIndex();\n });\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (!inputRef.current || inputRef.current.nodeName !== 'INPUT') {\n if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {\n console.warn([`A textarea element was provided to ${componentName} where input was expected.`, `This is not a supported scenario but it may work under certain conditions.`, `A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).`, `Make sure to test keyboard navigation and add custom event handlers if necessary.`].join('\\n'));\n } else {\n console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${componentName} expects an input element.`, '', componentName === 'useAutocomplete' ? 'Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.' : 'Make sure you have customized the input component correctly.'].join('\\n'));\n }\n }\n }, [componentName]);\n }\n React.useEffect(() => {\n syncHighlightedIndex();\n }, [syncHighlightedIndex]);\n const handleOpen = event => {\n if (open) {\n return;\n }\n setOpenState(true);\n setInputPristine(true);\n if (onOpen) {\n onOpen(event);\n }\n };\n const handleClose = (event, reason) => {\n if (!open) {\n return;\n }\n setOpenState(false);\n if (onClose) {\n onClose(event, reason);\n }\n };\n const handleValue = (event, newValue, reason, details) => {\n if (multiple) {\n if (value.length === newValue.length && value.every((val, i) => val === newValue[i])) {\n return;\n }\n } else if (value === newValue) {\n return;\n }\n if (onChange) {\n onChange(event, newValue, reason, details);\n }\n setValueState(newValue);\n };\n const isTouch = React.useRef(false);\n const selectNewValue = (event, option, reasonProp = 'selectOption', origin = 'options') => {\n let reason = reasonProp;\n let newValue = option;\n if (multiple) {\n newValue = Array.isArray(value) ? value.slice() : [];\n if (process.env.NODE_ENV !== 'production') {\n const matches = newValue.filter(val => isOptionEqualToValue(option, val));\n if (matches.length > 1) {\n console.error([`MUI: The \\`isOptionEqualToValue\\` method of ${componentName} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${matches.length} matches.`].join('\\n'));\n }\n }\n const itemIndex = newValue.findIndex(valueItem => isOptionEqualToValue(option, valueItem));\n if (itemIndex === -1) {\n newValue.push(option);\n } else if (origin !== 'freeSolo') {\n newValue.splice(itemIndex, 1);\n reason = 'removeOption';\n }\n }\n resetInputValue(event, newValue, reason);\n handleValue(event, newValue, reason, {\n option\n });\n if (!disableCloseOnSelect && (!event || !event.ctrlKey && !event.metaKey)) {\n handleClose(event, reason);\n }\n if (blurOnSelect === true || blurOnSelect === 'touch' && isTouch.current || blurOnSelect === 'mouse' && !isTouch.current) {\n inputRef.current.blur();\n }\n };\n function validTagIndex(index, direction) {\n if (index === -1) {\n return -1;\n }\n let nextFocus = index;\n while (true) {\n // Out of range\n if (direction === 'next' && nextFocus === value.length || direction === 'previous' && nextFocus === -1) {\n return -1;\n }\n const option = anchorEl.querySelector(`[data-tag-index=\"${nextFocus}\"]`);\n\n // Same logic as MenuList.js\n if (!option || !option.hasAttribute('tabindex') || option.disabled || option.getAttribute('aria-disabled') === 'true') {\n nextFocus += direction === 'next' ? 1 : -1;\n } else {\n return nextFocus;\n }\n }\n }\n const handleFocusTag = (event, direction) => {\n if (!multiple) {\n return;\n }\n if (inputValue === '') {\n handleClose(event, 'toggleInput');\n }\n let nextTag = focusedTag;\n if (focusedTag === -1) {\n if (inputValue === '' && direction === 'previous') {\n nextTag = value.length - 1;\n }\n } else {\n nextTag += direction === 'next' ? 1 : -1;\n if (nextTag < 0) {\n nextTag = 0;\n }\n if (nextTag === value.length) {\n nextTag = -1;\n }\n }\n nextTag = validTagIndex(nextTag, direction);\n setFocusedTag(nextTag);\n focusTag(nextTag);\n };\n const handleClear = event => {\n ignoreFocus.current = true;\n setInputValueState('');\n if (onInputChange) {\n onInputChange(event, '', 'clear');\n }\n handleValue(event, multiple ? [] : null, 'clear');\n };\n const handleKeyDown = other => event => {\n if (other.onKeyDown) {\n other.onKeyDown(event);\n }\n if (event.defaultMuiPrevented) {\n return;\n }\n if (focusedTag !== -1 && !['ArrowLeft', 'ArrowRight'].includes(event.key)) {\n setFocusedTag(-1);\n focusTag(-1);\n }\n\n // Wait until IME is settled.\n if (event.which !== 229) {\n switch (event.key) {\n case 'Home':\n if (popupOpen && handleHomeEndKeys) {\n // Prevent scroll of the page\n event.preventDefault();\n changeHighlightedIndex({\n diff: 'start',\n direction: 'next',\n reason: 'keyboard',\n event\n });\n }\n break;\n case 'End':\n if (popupOpen && handleHomeEndKeys) {\n // Prevent scroll of the page\n event.preventDefault();\n changeHighlightedIndex({\n diff: 'end',\n direction: 'previous',\n reason: 'keyboard',\n event\n });\n }\n break;\n case 'PageUp':\n // Prevent scroll of the page\n event.preventDefault();\n changeHighlightedIndex({\n diff: -pageSize,\n direction: 'previous',\n reason: 'keyboard',\n event\n });\n handleOpen(event);\n break;\n case 'PageDown':\n // Prevent scroll of the page\n event.preventDefault();\n changeHighlightedIndex({\n diff: pageSize,\n direction: 'next',\n reason: 'keyboard',\n event\n });\n handleOpen(event);\n break;\n case 'ArrowDown':\n // Prevent cursor move\n event.preventDefault();\n changeHighlightedIndex({\n diff: 1,\n direction: 'next',\n reason: 'keyboard',\n event\n });\n handleOpen(event);\n break;\n case 'ArrowUp':\n // Prevent cursor move\n event.preventDefault();\n changeHighlightedIndex({\n diff: -1,\n direction: 'previous',\n reason: 'keyboard',\n event\n });\n handleOpen(event);\n break;\n case 'ArrowLeft':\n handleFocusTag(event, 'previous');\n break;\n case 'ArrowRight':\n handleFocusTag(event, 'next');\n break;\n case 'Enter':\n if (highlightedIndexRef.current !== -1 && popupOpen) {\n const option = filteredOptions[highlightedIndexRef.current];\n const disabled = getOptionDisabled ? getOptionDisabled(option) : false;\n\n // Avoid early form validation, let the end-users continue filling the form.\n event.preventDefault();\n if (disabled) {\n return;\n }\n selectNewValue(event, option, 'selectOption');\n\n // Move the selection to the end.\n if (autoComplete) {\n inputRef.current.setSelectionRange(inputRef.current.value.length, inputRef.current.value.length);\n }\n } else if (freeSolo && inputValue !== '' && inputValueIsSelectedValue === false) {\n if (multiple) {\n // Allow people to add new values before they submit the form.\n event.preventDefault();\n }\n selectNewValue(event, inputValue, 'createOption', 'freeSolo');\n }\n break;\n case 'Escape':\n if (popupOpen) {\n // Avoid Opera to exit fullscreen mode.\n event.preventDefault();\n // Avoid the Modal to handle the event.\n event.stopPropagation();\n handleClose(event, 'escape');\n } else if (clearOnEscape && (inputValue !== '' || multiple && value.length > 0)) {\n // Avoid Opera to exit fullscreen mode.\n event.preventDefault();\n // Avoid the Modal to handle the event.\n event.stopPropagation();\n handleClear(event);\n }\n break;\n case 'Backspace':\n // Remove the value on the left of the \"cursor\"\n if (multiple && !readOnly && inputValue === '' && value.length > 0) {\n const index = focusedTag === -1 ? value.length - 1 : focusedTag;\n const newValue = value.slice();\n newValue.splice(index, 1);\n handleValue(event, newValue, 'removeOption', {\n option: value[index]\n });\n }\n break;\n case 'Delete':\n // Remove the value on the right of the \"cursor\"\n if (multiple && !readOnly && inputValue === '' && value.length > 0 && focusedTag !== -1) {\n const index = focusedTag;\n const newValue = value.slice();\n newValue.splice(index, 1);\n handleValue(event, newValue, 'removeOption', {\n option: value[index]\n });\n }\n break;\n default:\n }\n }\n };\n const handleFocus = event => {\n setFocused(true);\n if (openOnFocus && !ignoreFocus.current) {\n handleOpen(event);\n }\n };\n const handleBlur = event => {\n // Ignore the event when using the scrollbar with IE11\n if (unstable_isActiveElementInListbox(listboxRef)) {\n inputRef.current.focus();\n return;\n }\n setFocused(false);\n firstFocus.current = true;\n ignoreFocus.current = false;\n if (autoSelect && highlightedIndexRef.current !== -1 && popupOpen) {\n selectNewValue(event, filteredOptions[highlightedIndexRef.current], 'blur');\n } else if (autoSelect && freeSolo && inputValue !== '') {\n selectNewValue(event, inputValue, 'blur', 'freeSolo');\n } else if (clearOnBlur) {\n resetInputValue(event, value, 'blur');\n }\n handleClose(event, 'blur');\n };\n const handleInputChange = event => {\n const newValue = event.target.value;\n if (inputValue !== newValue) {\n setInputValueState(newValue);\n setInputPristine(false);\n if (onInputChange) {\n onInputChange(event, newValue, 'input');\n }\n }\n if (newValue === '') {\n if (!disableClearable && !multiple) {\n handleValue(event, null, 'clear');\n }\n } else {\n handleOpen(event);\n }\n };\n const handleOptionMouseMove = event => {\n const index = Number(event.currentTarget.getAttribute('data-option-index'));\n if (highlightedIndexRef.current !== index) {\n setHighlightedIndex({\n event,\n index,\n reason: 'mouse'\n });\n }\n };\n const handleOptionTouchStart = event => {\n setHighlightedIndex({\n event,\n index: Number(event.currentTarget.getAttribute('data-option-index')),\n reason: 'touch'\n });\n isTouch.current = true;\n };\n const handleOptionClick = event => {\n const index = Number(event.currentTarget.getAttribute('data-option-index'));\n selectNewValue(event, filteredOptions[index], 'selectOption');\n isTouch.current = false;\n };\n const handleTagDelete = index => event => {\n const newValue = value.slice();\n newValue.splice(index, 1);\n handleValue(event, newValue, 'removeOption', {\n option: value[index]\n });\n };\n const handlePopupIndicator = event => {\n if (open) {\n handleClose(event, 'toggleInput');\n } else {\n handleOpen(event);\n }\n };\n\n // Prevent input blur when interacting with the combobox\n const handleMouseDown = event => {\n // Prevent focusing the input if click is anywhere outside the Autocomplete\n if (!event.currentTarget.contains(event.target)) {\n return;\n }\n if (event.target.getAttribute('id') !== id) {\n event.preventDefault();\n }\n };\n\n // Focus the input when interacting with the combobox\n const handleClick = event => {\n // Prevent focusing the input if click is anywhere outside the Autocomplete\n if (!event.currentTarget.contains(event.target)) {\n return;\n }\n inputRef.current.focus();\n if (selectOnFocus && firstFocus.current && inputRef.current.selectionEnd - inputRef.current.selectionStart === 0) {\n inputRef.current.select();\n }\n firstFocus.current = false;\n };\n const handleInputMouseDown = event => {\n if (!disabledProp && (inputValue === '' || !open)) {\n handlePopupIndicator(event);\n }\n };\n let dirty = freeSolo && inputValue.length > 0;\n dirty = dirty || (multiple ? value.length > 0 : value !== null);\n let groupedOptions = filteredOptions;\n if (groupBy) {\n // used to keep track of key and indexes in the result array\n const indexBy = new Map();\n let warn = false;\n groupedOptions = filteredOptions.reduce((acc, option, index) => {\n const group = groupBy(option);\n if (acc.length > 0 && acc[acc.length - 1].group === group) {\n acc[acc.length - 1].options.push(option);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n if (indexBy.get(group) && !warn) {\n console.warn(`MUI: The options provided combined with the \\`groupBy\\` method of ${componentName} returns duplicated headers.`, 'You can solve the issue by sorting the options with the output of `groupBy`.');\n warn = true;\n }\n indexBy.set(group, true);\n }\n acc.push({\n key: index,\n index,\n group,\n options: [option]\n });\n }\n return acc;\n }, []);\n }\n if (disabledProp && focused) {\n handleBlur();\n }\n return {\n getRootProps: (other = {}) => ({\n 'aria-owns': listboxAvailable ? `${id}-listbox` : null,\n ...other,\n onKeyDown: handleKeyDown(other),\n onMouseDown: handleMouseDown,\n onClick: handleClick\n }),\n getInputLabelProps: () => ({\n id: `${id}-label`,\n htmlFor: id\n }),\n getInputProps: () => ({\n id,\n value: inputValue,\n onBlur: handleBlur,\n onFocus: handleFocus,\n onChange: handleInputChange,\n onMouseDown: handleInputMouseDown,\n // if open then this is handled imperatively so don't let react override\n // only have an opinion about this when closed\n 'aria-activedescendant': popupOpen ? '' : null,\n 'aria-autocomplete': autoComplete ? 'both' : 'list',\n 'aria-controls': listboxAvailable ? `${id}-listbox` : undefined,\n 'aria-expanded': listboxAvailable,\n // Disable browser's suggestion that might overlap with the popup.\n // Handle autocomplete but not autofill.\n autoComplete: 'off',\n ref: inputRef,\n autoCapitalize: 'none',\n spellCheck: 'false',\n role: 'combobox',\n disabled: disabledProp\n }),\n getClearProps: () => ({\n tabIndex: -1,\n type: 'button',\n onClick: handleClear\n }),\n getPopupIndicatorProps: () => ({\n tabIndex: -1,\n type: 'button',\n onClick: handlePopupIndicator\n }),\n getTagProps: ({\n index\n }) => ({\n key: index,\n 'data-tag-index': index,\n tabIndex: -1,\n ...(!readOnly && {\n onDelete: handleTagDelete(index)\n })\n }),\n getListboxProps: () => ({\n role: 'listbox',\n id: `${id}-listbox`,\n 'aria-labelledby': `${id}-label`,\n ref: handleListboxRef,\n onMouseDown: event => {\n // Prevent blur\n event.preventDefault();\n }\n }),\n getOptionProps: ({\n index,\n option\n }) => {\n const selected = (multiple ? value : [value]).some(value2 => value2 != null && isOptionEqualToValue(option, value2));\n const disabled = getOptionDisabled ? getOptionDisabled(option) : false;\n return {\n key: getOptionKey?.(option) ?? getOptionLabel(option),\n tabIndex: -1,\n role: 'option',\n id: `${id}-option-${index}`,\n onMouseMove: handleOptionMouseMove,\n onClick: handleOptionClick,\n onTouchStart: handleOptionTouchStart,\n 'data-option-index': index,\n 'aria-disabled': disabled,\n 'aria-selected': selected\n };\n },\n id,\n inputValue,\n value,\n dirty,\n expanded: popupOpen && anchorEl,\n popupOpen,\n focused: focused || focusedTag !== -1,\n anchorEl,\n setAnchorEl,\n focusedTag,\n groupedOptions\n };\n}\nexport default useAutocomplete;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListSubheaderUtilityClass(slot) {\n return generateUtilityClass('MuiListSubheader', slot);\n}\nconst listSubheaderClasses = generateUtilityClasses('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);\nexport default listSubheaderClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport { getListSubheaderUtilityClass } from \"./listSubheaderClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disableGutters,\n inset,\n disableSticky\n } = ownerState;\n const slots = {\n root: ['root', color !== 'default' && `color${capitalize(color)}`, !disableGutters && 'gutters', inset && 'inset', !disableSticky && 'sticky']\n };\n return composeClasses(slots, getListSubheaderUtilityClass, classes);\n};\nconst ListSubheaderRoot = styled('li', {\n name: 'MuiListSubheader',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], !ownerState.disableGutters && styles.gutters, ownerState.inset && styles.inset, !ownerState.disableSticky && styles.sticky];\n }\n})(memoTheme(({\n theme\n}) => ({\n boxSizing: 'border-box',\n lineHeight: '48px',\n listStyle: 'none',\n color: (theme.vars || theme).palette.text.secondary,\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(14),\n variants: [{\n props: {\n color: 'primary'\n },\n style: {\n color: (theme.vars || theme).palette.primary.main\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.inset,\n style: {\n paddingLeft: 72\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableSticky,\n style: {\n position: 'sticky',\n top: 0,\n zIndex: 1,\n backgroundColor: (theme.vars || theme).palette.background.paper\n }\n }]\n})));\nconst ListSubheader = /*#__PURE__*/React.forwardRef(function ListSubheader(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListSubheader'\n });\n const {\n className,\n color = 'default',\n component = 'li',\n disableGutters = false,\n disableSticky = false,\n inset = false,\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n component,\n disableGutters,\n disableSticky,\n inset\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListSubheaderRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState,\n ...other\n });\n});\nif (ListSubheader) {\n ListSubheader.muiSkipListHighlight = true;\n}\nprocess.env.NODE_ENV !== \"production\" ? ListSubheader.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * @default 'default'\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary']),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the List Subheader will not have gutters.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, the List Subheader will not stick to the top during scroll.\n * @default false\n */\n disableSticky: PropTypes.bool,\n /**\n * If `true`, the List Subheader is indented.\n * @default false\n */\n inset: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListSubheader;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getChipUtilityClass(slot) {\n return generateUtilityClass('MuiChip', slot);\n}\nconst chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorDefault', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);\nexport default chipClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport CancelIcon from \"../internal/svg-icons/Cancel.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport unsupportedProp from \"../utils/unsupportedProp.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport chipClasses, { getChipUtilityClass } from \"./chipClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n size,\n color,\n iconColor,\n onDelete,\n clickable,\n variant\n } = ownerState;\n const slots = {\n root: ['root', variant, disabled && 'disabled', `size${capitalize(size)}`, `color${capitalize(color)}`, clickable && 'clickable', clickable && `clickableColor${capitalize(color)}`, onDelete && 'deletable', onDelete && `deletableColor${capitalize(color)}`, `${variant}${capitalize(color)}`],\n label: ['label', `label${capitalize(size)}`],\n avatar: ['avatar', `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],\n icon: ['icon', `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],\n deleteIcon: ['deleteIcon', `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]\n };\n return composeClasses(slots, getChipUtilityClass, classes);\n};\nconst ChipRoot = styled('div', {\n name: 'MuiChip',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n color,\n iconColor,\n clickable,\n onDelete,\n size,\n variant\n } = ownerState;\n return [{\n [`& .${chipClasses.avatar}`]: styles.avatar\n }, {\n [`& .${chipClasses.avatar}`]: styles[`avatar${capitalize(size)}`]\n }, {\n [`& .${chipClasses.avatar}`]: styles[`avatarColor${capitalize(color)}`]\n }, {\n [`& .${chipClasses.icon}`]: styles.icon\n }, {\n [`& .${chipClasses.icon}`]: styles[`icon${capitalize(size)}`]\n }, {\n [`& .${chipClasses.icon}`]: styles[`iconColor${capitalize(iconColor)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles.deleteIcon\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(size)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]\n }, {\n [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]\n }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];\n }\n})(memoTheme(({\n theme\n}) => {\n const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];\n return {\n maxWidth: '100%',\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(13),\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 32,\n color: (theme.vars || theme).palette.text.primary,\n backgroundColor: (theme.vars || theme).palette.action.selected,\n borderRadius: 32 / 2,\n whiteSpace: 'nowrap',\n transition: theme.transitions.create(['background-color', 'box-shadow']),\n // reset cursor explicitly in case ButtonBase is used\n cursor: 'unset',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n textDecoration: 'none',\n border: 0,\n // Remove `button` border\n padding: 0,\n // Remove `button` padding\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n [`&.${chipClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`& .${chipClasses.avatar}`]: {\n marginLeft: 5,\n marginRight: -6,\n width: 24,\n height: 24,\n color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,\n fontSize: theme.typography.pxToRem(12)\n },\n [`& .${chipClasses.avatarColorPrimary}`]: {\n color: (theme.vars || theme).palette.primary.contrastText,\n backgroundColor: (theme.vars || theme).palette.primary.dark\n },\n [`& .${chipClasses.avatarColorSecondary}`]: {\n color: (theme.vars || theme).palette.secondary.contrastText,\n backgroundColor: (theme.vars || theme).palette.secondary.dark\n },\n [`& .${chipClasses.avatarSmall}`]: {\n marginLeft: 4,\n marginRight: -4,\n width: 18,\n height: 18,\n fontSize: theme.typography.pxToRem(10)\n },\n [`& .${chipClasses.icon}`]: {\n marginLeft: 5,\n marginRight: -6\n },\n [`& .${chipClasses.deleteIcon}`]: {\n WebkitTapHighlightColor: 'transparent',\n color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),\n fontSize: 22,\n cursor: 'pointer',\n margin: '0 5px 0 -6px',\n '&:hover': {\n color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)\n }\n },\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n height: 24,\n [`& .${chipClasses.icon}`]: {\n fontSize: 18,\n marginLeft: 4,\n marginRight: -4\n },\n [`& .${chipClasses.deleteIcon}`]: {\n fontSize: 16,\n marginRight: 4,\n marginLeft: -4\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['contrastText'])).map(([color]) => {\n return {\n props: {\n color\n },\n style: {\n backgroundColor: (theme.vars || theme).palette[color].main,\n color: (theme.vars || theme).palette[color].contrastText,\n [`& .${chipClasses.deleteIcon}`]: {\n color: theme.vars ? `rgba(${theme.vars.palette[color].contrastTextChannel} / 0.7)` : alpha(theme.palette[color].contrastText, 0.7),\n '&:hover, &:active': {\n color: (theme.vars || theme).palette[color].contrastText\n }\n }\n }\n };\n }), {\n props: props => props.iconColor === props.color,\n style: {\n [`& .${chipClasses.icon}`]: {\n color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor\n }\n }\n }, {\n props: props => props.iconColor === props.color && props.color !== 'default',\n style: {\n [`& .${chipClasses.icon}`]: {\n color: 'inherit'\n }\n }\n }, {\n props: {\n onDelete: true\n },\n style: {\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['dark'])).map(([color]) => {\n return {\n props: {\n color,\n onDelete: true\n },\n style: {\n [`&.${chipClasses.focusVisible}`]: {\n background: (theme.vars || theme).palette[color].dark\n }\n }\n };\n }), {\n props: {\n clickable: true\n },\n style: {\n userSelect: 'none',\n WebkitTapHighlightColor: 'transparent',\n cursor: 'pointer',\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n },\n '&:active': {\n boxShadow: (theme.vars || theme).shadows[1]\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['dark'])).map(([color]) => ({\n props: {\n color,\n clickable: true\n },\n style: {\n [`&:hover, &.${chipClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette[color].dark\n }\n }\n })), {\n props: {\n variant: 'outlined'\n },\n style: {\n backgroundColor: 'transparent',\n border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,\n [`&.${chipClasses.clickable}:hover`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n [`& .${chipClasses.avatar}`]: {\n marginLeft: 4\n },\n [`& .${chipClasses.avatarSmall}`]: {\n marginLeft: 2\n },\n [`& .${chipClasses.icon}`]: {\n marginLeft: 4\n },\n [`& .${chipClasses.iconSmall}`]: {\n marginLeft: 2\n },\n [`& .${chipClasses.deleteIcon}`]: {\n marginRight: 5\n },\n [`& .${chipClasses.deleteIconSmall}`]: {\n marginRight: 3\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // no need to check for mainChannel as it's calculated from main\n .map(([color]) => ({\n props: {\n variant: 'outlined',\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main,\n border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7)}`,\n [`&.${chipClasses.clickable}:hover`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)\n },\n [`&.${chipClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[color].main, theme.palette.action.focusOpacity)\n },\n [`& .${chipClasses.deleteIcon}`]: {\n color: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7),\n '&:hover, &:active': {\n color: (theme.vars || theme).palette[color].main\n }\n }\n }\n }))]\n };\n}));\nconst ChipLabel = styled('span', {\n name: 'MuiChip',\n slot: 'Label',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n size\n } = ownerState;\n return [styles.label, styles[`label${capitalize(size)}`]];\n }\n})({\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n paddingLeft: 12,\n paddingRight: 12,\n whiteSpace: 'nowrap',\n variants: [{\n props: {\n variant: 'outlined'\n },\n style: {\n paddingLeft: 11,\n paddingRight: 11\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n paddingLeft: 8,\n paddingRight: 8\n }\n }, {\n props: {\n size: 'small',\n variant: 'outlined'\n },\n style: {\n paddingLeft: 7,\n paddingRight: 7\n }\n }]\n});\nfunction isDeleteKeyboardEvent(keyboardEvent) {\n return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';\n}\n\n/**\n * Chips represent complex entities in small blocks, such as a contact.\n */\nconst Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiChip'\n });\n const {\n avatar: avatarProp,\n className,\n clickable: clickableProp,\n color = 'default',\n component: ComponentProp,\n deleteIcon: deleteIconProp,\n disabled = false,\n icon: iconProp,\n label,\n onClick,\n onDelete,\n onKeyDown,\n onKeyUp,\n size = 'medium',\n variant = 'filled',\n tabIndex,\n skipFocusWhenDisabled = false,\n // TODO v6: Rename to `focusableWhenDisabled`.\n ...other\n } = props;\n const chipRef = React.useRef(null);\n const handleRef = useForkRef(chipRef, ref);\n const handleDeleteIconClick = event => {\n // Stop the event from bubbling up to the `Chip`\n event.stopPropagation();\n if (onDelete) {\n onDelete(event);\n }\n };\n const handleKeyDown = event => {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {\n // Will be handled in keyUp, otherwise some browsers\n // might init navigation\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n const handleKeyUp = event => {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target) {\n if (onDelete && isDeleteKeyboardEvent(event)) {\n onDelete(event);\n }\n }\n if (onKeyUp) {\n onKeyUp(event);\n }\n };\n const clickable = clickableProp !== false && onClick ? true : clickableProp;\n const component = clickable || onDelete ? ButtonBase : ComponentProp || 'div';\n const ownerState = {\n ...props,\n component,\n disabled,\n size,\n color,\n iconColor: /*#__PURE__*/React.isValidElement(iconProp) ? iconProp.props.color || color : color,\n onDelete: !!onDelete,\n clickable,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const moreProps = component === ButtonBase ? {\n component: ComponentProp || 'div',\n focusVisibleClassName: classes.focusVisible,\n ...(onDelete && {\n disableRipple: true\n })\n } : {};\n let deleteIcon = null;\n if (onDelete) {\n deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? (/*#__PURE__*/React.cloneElement(deleteIconProp, {\n className: clsx(deleteIconProp.props.className, classes.deleteIcon),\n onClick: handleDeleteIconClick\n })) : /*#__PURE__*/_jsx(CancelIcon, {\n className: clsx(classes.deleteIcon),\n onClick: handleDeleteIconClick\n });\n }\n let avatar = null;\n if (avatarProp && /*#__PURE__*/React.isValidElement(avatarProp)) {\n avatar = /*#__PURE__*/React.cloneElement(avatarProp, {\n className: clsx(classes.avatar, avatarProp.props.className)\n });\n }\n let icon = null;\n if (iconProp && /*#__PURE__*/React.isValidElement(iconProp)) {\n icon = /*#__PURE__*/React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className)\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n if (avatar && icon) {\n console.error('MUI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');\n }\n }\n return /*#__PURE__*/_jsxs(ChipRoot, {\n as: component,\n className: clsx(classes.root, className),\n disabled: clickable && disabled ? true : undefined,\n onClick: onClick,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n ref: handleRef,\n tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,\n ownerState: ownerState,\n ...moreProps,\n ...other,\n children: [avatar || icon, /*#__PURE__*/_jsx(ChipLabel, {\n className: clsx(classes.label),\n ownerState: ownerState,\n children: label\n }), deleteIcon]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Chip.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The Avatar element to display.\n */\n avatar: PropTypes.element,\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the chip will appear clickable, and will raise when pressed,\n * even if the onClick prop is not defined.\n * If `false`, the chip will not appear clickable, even if onClick prop is defined.\n * This can be used, for example,\n * along with the component prop to indicate an anchor Chip is clickable.\n * Note: this controls the UI and does not affect the onClick event.\n */\n clickable: PropTypes.bool,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Override the default delete icon element. Shown only if `onDelete` is set.\n */\n deleteIcon: PropTypes.element,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * Icon element.\n */\n icon: PropTypes.element,\n /**\n * The content of the component.\n */\n label: PropTypes.node,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * Callback fired when the delete icon is clicked.\n * If set, the delete icon will be shown.\n */\n onDelete: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * If `true`, allows the disabled chip to escape focus.\n * If `false`, allows the disabled chip to receive focus.\n * @default false\n */\n skipFocusWhenDisabled: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @ignore\n */\n tabIndex: PropTypes.number,\n /**\n * The variant to use.\n * @default 'filled'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Chip;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAutocompleteUtilityClass(slot) {\n return generateUtilityClass('MuiAutocomplete', slot);\n}\nconst autocompleteClasses = generateUtilityClasses('MuiAutocomplete', ['root', 'expanded', 'fullWidth', 'focused', 'focusVisible', 'tag', 'tagSizeSmall', 'tagSizeMedium', 'hasPopupIcon', 'hasClearIcon', 'inputRoot', 'input', 'inputFocused', 'endAdornment', 'clearIndicator', 'popupIndicator', 'popupIndicatorOpen', 'popper', 'popperDisablePortal', 'paper', 'listbox', 'loading', 'noOptions', 'option', 'groupLabel', 'groupUl']);\nexport default autocompleteClasses;","'use client';\n\nvar _ClearIcon, _ArrowDropDownIcon;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport useAutocomplete, { createFilterOptions } from \"../useAutocomplete/index.js\";\nimport Popper from \"../Popper/index.js\";\nimport ListSubheader from \"../ListSubheader/index.js\";\nimport Paper from \"../Paper/index.js\";\nimport IconButton from \"../IconButton/index.js\";\nimport Chip from \"../Chip/index.js\";\nimport inputClasses from \"../Input/inputClasses.js\";\nimport inputBaseClasses from \"../InputBase/inputBaseClasses.js\";\nimport outlinedInputClasses from \"../OutlinedInput/outlinedInputClasses.js\";\nimport filledInputClasses from \"../FilledInput/filledInputClasses.js\";\nimport ClearIcon from \"../internal/svg-icons/Close.js\";\nimport ArrowDropDownIcon from \"../internal/svg-icons/ArrowDropDown.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport autocompleteClasses, { getAutocompleteUtilityClass } from \"./autocompleteClasses.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePortal,\n expanded,\n focused,\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n popupOpen,\n size\n } = ownerState;\n const slots = {\n root: ['root', expanded && 'expanded', focused && 'focused', fullWidth && 'fullWidth', hasClearIcon && 'hasClearIcon', hasPopupIcon && 'hasPopupIcon'],\n inputRoot: ['inputRoot'],\n input: ['input', inputFocused && 'inputFocused'],\n tag: ['tag', `tagSize${capitalize(size)}`],\n endAdornment: ['endAdornment'],\n clearIndicator: ['clearIndicator'],\n popupIndicator: ['popupIndicator', popupOpen && 'popupIndicatorOpen'],\n popper: ['popper', disablePortal && 'popperDisablePortal'],\n paper: ['paper'],\n listbox: ['listbox'],\n loading: ['loading'],\n noOptions: ['noOptions'],\n option: ['option'],\n groupLabel: ['groupLabel'],\n groupUl: ['groupUl']\n };\n return composeClasses(slots, getAutocompleteUtilityClass, classes);\n};\nconst AutocompleteRoot = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n size\n } = ownerState;\n return [{\n [`& .${autocompleteClasses.tag}`]: styles.tag\n }, {\n [`& .${autocompleteClasses.tag}`]: styles[`tagSize${capitalize(size)}`]\n }, {\n [`& .${autocompleteClasses.inputRoot}`]: styles.inputRoot\n }, {\n [`& .${autocompleteClasses.input}`]: styles.input\n }, {\n [`& .${autocompleteClasses.input}`]: inputFocused && styles.inputFocused\n }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];\n }\n})({\n [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n },\n /* Avoid double tap issue on iOS */\n '@media (pointer: fine)': {\n [`&:hover .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n }\n },\n [`& .${autocompleteClasses.tag}`]: {\n margin: 3,\n maxWidth: 'calc(100% - 6px)'\n },\n [`& .${autocompleteClasses.inputRoot}`]: {\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4\n },\n [`& .${autocompleteClasses.input}`]: {\n width: 0,\n minWidth: 30\n }\n },\n [`& .${inputClasses.root}`]: {\n paddingBottom: 1,\n '& .MuiInput-input': {\n padding: '4px 4px 4px 0px'\n }\n },\n [`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${inputClasses.input}`]: {\n padding: '2px 4px 3px 0'\n }\n },\n [`& .${outlinedInputClasses.root}`]: {\n padding: 9,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${autocompleteClasses.input}`]: {\n padding: '7.5px 4px 7.5px 5px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n // Don't specify paddingRight, as it overrides the default value set when there is only\n // one of the popup or clear icon as the specificity is equal so the latter one wins\n paddingTop: 6,\n paddingBottom: 6,\n paddingLeft: 6,\n [`& .${autocompleteClasses.input}`]: {\n padding: '2.5px 4px 2.5px 8px'\n }\n },\n [`& .${filledInputClasses.root}`]: {\n paddingTop: 19,\n paddingLeft: 8,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${filledInputClasses.input}`]: {\n padding: '7px 4px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n paddingBottom: 1,\n [`& .${filledInputClasses.input}`]: {\n padding: '2.5px 4px'\n }\n },\n [`& .${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 8\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 0,\n paddingBottom: 0,\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 16,\n paddingBottom: 17\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 8,\n paddingBottom: 9\n }\n },\n [`& .${autocompleteClasses.input}`]: {\n flexGrow: 1,\n textOverflow: 'ellipsis',\n opacity: 0\n },\n variants: [{\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n [`& .${autocompleteClasses.tag}`]: {\n margin: 2,\n maxWidth: 'calc(100% - 4px)'\n }\n }\n }, {\n props: {\n inputFocused: true\n },\n style: {\n [`& .${autocompleteClasses.input}`]: {\n opacity: 1\n }\n }\n }, {\n props: {\n multiple: true\n },\n style: {\n [`& .${autocompleteClasses.inputRoot}`]: {\n flexWrap: 'wrap'\n }\n }\n }]\n});\nconst AutocompleteEndAdornment = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'EndAdornment',\n overridesResolver: (props, styles) => styles.endAdornment\n})({\n // We use a position absolute to support wrapping tags.\n position: 'absolute',\n right: 0,\n top: '50%',\n transform: 'translate(0, -50%)'\n});\nconst AutocompleteClearIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'ClearIndicator',\n overridesResolver: (props, styles) => styles.clearIndicator\n})({\n marginRight: -2,\n padding: 4,\n visibility: 'hidden'\n});\nconst AutocompletePopupIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'PopupIndicator',\n overridesResolver: ({\n ownerState\n }, styles) => ({\n ...styles.popupIndicator,\n ...(ownerState.popupOpen && styles.popupIndicatorOpen)\n })\n})({\n padding: 2,\n marginRight: -2,\n variants: [{\n props: {\n popupOpen: true\n },\n style: {\n transform: 'rotate(180deg)'\n }\n }]\n});\nconst AutocompletePopper = styled(Popper, {\n name: 'MuiAutocomplete',\n slot: 'Popper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${autocompleteClasses.option}`]: styles.option\n }, styles.popper, ownerState.disablePortal && styles.popperDisablePortal];\n }\n})(memoTheme(({\n theme\n}) => ({\n zIndex: (theme.vars || theme).zIndex.modal,\n variants: [{\n props: {\n disablePortal: true\n },\n style: {\n position: 'absolute'\n }\n }]\n})));\nconst AutocompletePaper = styled(Paper, {\n name: 'MuiAutocomplete',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n overflow: 'auto'\n})));\nconst AutocompleteLoading = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Loading',\n overridesResolver: (props, styles) => styles.loading\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n})));\nconst AutocompleteNoOptions = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'NoOptions',\n overridesResolver: (props, styles) => styles.noOptions\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n})));\nconst AutocompleteListbox = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Listbox',\n overridesResolver: (props, styles) => styles.listbox\n})(memoTheme(({\n theme\n}) => ({\n listStyle: 'none',\n margin: 0,\n padding: '8px 0',\n maxHeight: '40vh',\n overflow: 'auto',\n position: 'relative',\n [`& .${autocompleteClasses.option}`]: {\n minHeight: 48,\n display: 'flex',\n overflow: 'hidden',\n justifyContent: 'flex-start',\n alignItems: 'center',\n cursor: 'pointer',\n paddingTop: 6,\n boxSizing: 'border-box',\n outline: '0',\n WebkitTapHighlightColor: 'transparent',\n paddingBottom: 6,\n paddingLeft: 16,\n paddingRight: 16,\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n },\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&[aria-disabled=\"true\"]': {\n opacity: (theme.vars || theme).palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n '&[aria-selected=\"true\"]': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: (theme.vars || theme).palette.action.selected\n }\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n }\n }\n})));\nconst AutocompleteGroupLabel = styled(ListSubheader, {\n name: 'MuiAutocomplete',\n slot: 'GroupLabel',\n overridesResolver: (props, styles) => styles.groupLabel\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n top: -8\n})));\nconst AutocompleteGroupUl = styled('ul', {\n name: 'MuiAutocomplete',\n slot: 'GroupUl',\n overridesResolver: (props, styles) => styles.groupUl\n})({\n padding: 0,\n [`& .${autocompleteClasses.option}`]: {\n paddingLeft: 24\n }\n});\nexport { createFilterOptions };\nconst Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAutocomplete'\n });\n\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const {\n autoComplete = false,\n autoHighlight = false,\n autoSelect = false,\n blurOnSelect = false,\n ChipProps: ChipPropsProp,\n className,\n clearIcon = _ClearIcon || (_ClearIcon = /*#__PURE__*/_jsx(ClearIcon, {\n fontSize: \"small\"\n })),\n clearOnBlur = !props.freeSolo,\n clearOnEscape = false,\n clearText = 'Clear',\n closeText = 'Close',\n componentsProps,\n defaultValue = props.multiple ? [] : null,\n disableClearable = false,\n disableCloseOnSelect = false,\n disabled = false,\n disabledItemsFocusable = false,\n disableListWrap = false,\n disablePortal = false,\n filterOptions,\n filterSelectedOptions = false,\n forcePopupIcon = 'auto',\n freeSolo = false,\n fullWidth = false,\n getLimitTagsText = more => `+${more}`,\n getOptionDisabled,\n getOptionKey,\n getOptionLabel: getOptionLabelProp,\n isOptionEqualToValue,\n groupBy,\n handleHomeEndKeys = !props.freeSolo,\n id: idProp,\n includeInputInList = false,\n inputValue: inputValueProp,\n limitTags = -1,\n ListboxComponent: ListboxComponentProp,\n ListboxProps: ListboxPropsProp,\n loading = false,\n loadingText = 'Loading…',\n multiple = false,\n noOptionsText = 'No options',\n onChange,\n onClose,\n onHighlightChange,\n onInputChange,\n onOpen,\n open,\n openOnFocus = false,\n openText = 'Open',\n options,\n PaperComponent: PaperComponentProp,\n PopperComponent: PopperComponentProp,\n popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/_jsx(ArrowDropDownIcon, {})),\n readOnly = false,\n renderGroup: renderGroupProp,\n renderInput,\n renderOption: renderOptionProp,\n renderTags,\n selectOnFocus = !props.freeSolo,\n size = 'medium',\n slots = {},\n slotProps = {},\n value: valueProp,\n ...other\n } = props;\n /* eslint-enable @typescript-eslint/no-unused-vars */\n\n const {\n getRootProps,\n getInputProps,\n getInputLabelProps,\n getPopupIndicatorProps,\n getClearProps,\n getTagProps,\n getListboxProps,\n getOptionProps,\n value,\n dirty,\n expanded,\n id,\n popupOpen,\n focused,\n focusedTag,\n anchorEl,\n setAnchorEl,\n inputValue,\n groupedOptions\n } = useAutocomplete({\n ...props,\n componentName: 'Autocomplete'\n });\n const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;\n const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;\n const {\n onMouseDown: handleInputMouseDown\n } = getInputProps();\n const {\n ref: listboxRef,\n ...otherListboxProps\n } = getListboxProps();\n const defaultGetOptionLabel = option => option.label ?? option;\n const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;\n\n // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.\n const ownerState = {\n ...props,\n disablePortal,\n expanded,\n focused,\n fullWidth,\n getOptionLabel,\n hasClearIcon,\n hasPopupIcon,\n inputFocused: focusedTag === -1,\n popupOpen,\n size\n };\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots: {\n paper: PaperComponentProp,\n popper: PopperComponentProp,\n ...slots\n },\n slotProps: {\n chip: ChipPropsProp,\n listbox: ListboxPropsProp,\n ...componentsProps,\n ...slotProps\n }\n };\n const [ListboxSlot, listboxProps] = useSlot('listbox', {\n elementType: AutocompleteListbox,\n externalForwardedProps,\n ownerState,\n className: classes.listbox,\n additionalProps: otherListboxProps,\n ref: listboxRef\n });\n const [PaperSlot, paperProps] = useSlot('paper', {\n elementType: Paper,\n externalForwardedProps,\n ownerState,\n className: classes.paper\n });\n const [PopperSlot, popperProps] = useSlot('popper', {\n elementType: Popper,\n externalForwardedProps,\n ownerState,\n className: classes.popper,\n additionalProps: {\n disablePortal,\n style: {\n width: anchorEl ? anchorEl.clientWidth : null\n },\n role: 'presentation',\n anchorEl,\n open: popupOpen\n }\n });\n let startAdornment;\n if (multiple && value.length > 0) {\n const getCustomizedTagProps = params => ({\n className: classes.tag,\n disabled,\n ...getTagProps(params)\n });\n if (renderTags) {\n startAdornment = renderTags(value, getCustomizedTagProps, ownerState);\n } else {\n startAdornment = value.map((option, index) => {\n const {\n key,\n ...customTagProps\n } = getCustomizedTagProps({\n index\n });\n return /*#__PURE__*/_jsx(Chip, {\n label: getOptionLabel(option),\n size: size,\n ...customTagProps,\n ...externalForwardedProps.slotProps.chip\n }, key);\n });\n }\n }\n if (limitTags > -1 && Array.isArray(startAdornment)) {\n const more = startAdornment.length - limitTags;\n if (!focused && more > 0) {\n startAdornment = startAdornment.splice(0, limitTags);\n startAdornment.push(/*#__PURE__*/_jsx(\"span\", {\n className: classes.tag,\n children: getLimitTagsText(more)\n }, startAdornment.length));\n }\n }\n const defaultRenderGroup = params => /*#__PURE__*/_jsxs(\"li\", {\n children: [/*#__PURE__*/_jsx(AutocompleteGroupLabel, {\n className: classes.groupLabel,\n ownerState: ownerState,\n component: \"div\",\n children: params.group\n }), /*#__PURE__*/_jsx(AutocompleteGroupUl, {\n className: classes.groupUl,\n ownerState: ownerState,\n children: params.children\n })]\n }, params.key);\n const renderGroup = renderGroupProp || defaultRenderGroup;\n const defaultRenderOption = (props2, option) => {\n // Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642\n const {\n key,\n ...otherProps\n } = props2;\n return /*#__PURE__*/_jsx(\"li\", {\n ...otherProps,\n children: getOptionLabel(option)\n }, key);\n };\n const renderOption = renderOptionProp || defaultRenderOption;\n const renderListOption = (option, index) => {\n const optionProps = getOptionProps({\n option,\n index\n });\n return renderOption({\n ...optionProps,\n className: classes.option\n }, option, {\n selected: optionProps['aria-selected'],\n index,\n inputValue\n }, ownerState);\n };\n const clearIndicatorSlotProps = externalForwardedProps.slotProps.clearIndicator;\n const popupIndicatorSlotProps = externalForwardedProps.slotProps.popupIndicator;\n const renderAutocompletePopperChildren = children => /*#__PURE__*/_jsx(AutocompletePopper, {\n as: PopperSlot,\n ...popperProps,\n children: /*#__PURE__*/_jsx(AutocompletePaper, {\n as: PaperSlot,\n ...paperProps,\n children: children\n })\n });\n let autocompletePopper = null;\n if (groupedOptions.length > 0) {\n autocompletePopper = renderAutocompletePopperChildren(\n /*#__PURE__*/\n // TODO v7: remove `as` prop and move ListboxComponentProp to externalForwardedProps or remove ListboxComponentProp entirely\n // https://github.com/mui/material-ui/pull/43994#issuecomment-2401945800\n _jsx(ListboxSlot, {\n as: ListboxComponentProp,\n ...listboxProps,\n children: groupedOptions.map((option, index) => {\n if (groupBy) {\n return renderGroup({\n key: option.key,\n group: option.group,\n children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))\n });\n }\n return renderListOption(option, index);\n })\n }));\n } else if (loading && groupedOptions.length === 0) {\n autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteLoading, {\n className: classes.loading,\n ownerState: ownerState,\n children: loadingText\n }));\n } else if (groupedOptions.length === 0 && !freeSolo && !loading) {\n autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteNoOptions, {\n className: classes.noOptions,\n ownerState: ownerState,\n role: \"presentation\",\n onMouseDown: event => {\n // Prevent input blur when interacting with the \"no options\" content\n event.preventDefault();\n },\n children: noOptionsText\n }));\n }\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(AutocompleteRoot, {\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ...getRootProps(other),\n children: renderInput({\n id,\n disabled,\n fullWidth: true,\n size: size === 'small' ? 'small' : undefined,\n InputLabelProps: getInputLabelProps(),\n InputProps: {\n ref: setAnchorEl,\n className: classes.inputRoot,\n startAdornment,\n onMouseDown: event => {\n if (event.target === event.currentTarget) {\n handleInputMouseDown(event);\n }\n },\n ...((hasClearIcon || hasPopupIcon) && {\n endAdornment: /*#__PURE__*/_jsxs(AutocompleteEndAdornment, {\n className: classes.endAdornment,\n ownerState: ownerState,\n children: [hasClearIcon ? /*#__PURE__*/_jsx(AutocompleteClearIndicator, {\n ...getClearProps(),\n \"aria-label\": clearText,\n title: clearText,\n ownerState: ownerState,\n ...clearIndicatorSlotProps,\n className: clsx(classes.clearIndicator, clearIndicatorSlotProps?.className),\n children: clearIcon\n }) : null, hasPopupIcon ? /*#__PURE__*/_jsx(AutocompletePopupIndicator, {\n ...getPopupIndicatorProps(),\n disabled: disabled,\n \"aria-label\": popupOpen ? closeText : openText,\n title: popupOpen ? closeText : openText,\n ownerState: ownerState,\n ...popupIndicatorSlotProps,\n className: clsx(classes.popupIndicator, popupIndicatorSlotProps?.className),\n children: popupIcon\n }) : null]\n })\n })\n },\n inputProps: {\n className: classes.input,\n disabled,\n readOnly,\n ...getInputProps()\n }\n })\n }), anchorEl ? autocompletePopper : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Autocomplete.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the portion of the selected suggestion that the user hasn't typed,\n * known as the completion string, appears inline after the input cursor in the textbox.\n * The inline completion string is visually highlighted and has a selected state.\n * @default false\n */\n autoComplete: PropTypes.bool,\n /**\n * If `true`, the first option is automatically highlighted.\n * @default false\n */\n autoHighlight: PropTypes.bool,\n /**\n * If `true`, the selected option becomes the value of the input\n * when the Autocomplete loses focus unless the user chooses\n * a different option or changes the character string in the input.\n *\n * When using the `freeSolo` mode, the typed value will be the input value\n * if the Autocomplete loses focus without highlighting an option.\n * @default false\n */\n autoSelect: PropTypes.bool,\n /**\n * Control if the input should be blurred when an option is selected:\n *\n * - `false` the input is not blurred.\n * - `true` the input is always blurred.\n * - `touch` the input is blurred after a touch event.\n * - `mouse` the input is blurred after a mouse event.\n * @default false\n */\n blurOnSelect: PropTypes.oneOfType([PropTypes.oneOf(['mouse', 'touch']), PropTypes.bool]),\n /**\n * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.\n */\n ChipProps: PropTypes.object,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The icon to display in place of the default clear icon.\n * @default <ClearIcon fontSize=\"small\" />\n */\n clearIcon: PropTypes.node,\n /**\n * If `true`, the input's text is cleared on blur if no value is selected.\n *\n * Set it to `true` if you want to help the user enter a new value.\n * Set it to `false` if you want to help the user resume their search.\n * @default !props.freeSolo\n */\n clearOnBlur: PropTypes.bool,\n /**\n * If `true`, clear all values when the user presses escape and the popup is closed.\n * @default false\n */\n clearOnEscape: PropTypes.bool,\n /**\n * Override the default text for the *clear* icon button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Clear'\n */\n clearText: PropTypes.string,\n /**\n * Override the default text for the *close popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Close'\n */\n closeText: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n componentsProps: PropTypes.shape({\n clearIndicator: PropTypes.object,\n paper: PropTypes.object,\n popper: PropTypes.object,\n popupIndicator: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n * @default props.multiple ? [] : null\n */\n defaultValue: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.defaultValue !== undefined && !Array.isArray(props.defaultValue)) {\n return new Error(['MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.', `However, ${props.defaultValue} was provided.`].join('\\n'));\n }\n return null;\n }),\n /**\n * If `true`, the input can't be cleared.\n * @default false\n */\n disableClearable: PropTypes.bool,\n /**\n * If `true`, the popup won't close when a value is selected.\n * @default false\n */\n disableCloseOnSelect: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the list box in the popup will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * If `true`, the `Popper` content will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * A function that determines the filtered options to be rendered on search.\n *\n * @default createFilterOptions()\n * @param {Value[]} options The options to render.\n * @param {object} state The state of the component.\n * @returns {Value[]}\n */\n filterOptions: PropTypes.func,\n /**\n * If `true`, hide the selected options from the list box.\n * @default false\n */\n filterSelectedOptions: PropTypes.bool,\n /**\n * Force the visibility display of the popup icon.\n * @default 'auto'\n */\n forcePopupIcon: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.bool]),\n /**\n * If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.\n * @default false\n */\n freeSolo: PropTypes.bool,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The label to display when the tags are truncated (`limitTags`).\n *\n * @param {number} more The number of truncated tags.\n * @returns {ReactNode}\n * @default (more) => `+${more}`\n */\n getLimitTagsText: PropTypes.func,\n /**\n * Used to determine the disabled state for a given option.\n *\n * @param {Value} option The option to test.\n * @returns {boolean}\n */\n getOptionDisabled: PropTypes.func,\n /**\n * Used to determine the key for a given option.\n * This can be useful when the labels of options are not unique (since labels are used as keys by default).\n *\n * @param {Value} option The option to get the key for.\n * @returns {string | number}\n */\n getOptionKey: PropTypes.func,\n /**\n * Used to determine the string value for a given option.\n * It's used to fill the input (and the list box options if `renderOption` is not provided).\n *\n * If used in free solo mode, it must accept both the type of the options and a string.\n *\n * @param {Value} option\n * @returns {string}\n * @default (option) => option.label ?? option\n */\n getOptionLabel: PropTypes.func,\n /**\n * If provided, the options will be grouped under the returned string.\n * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.\n *\n * @param {Value} options The options to group.\n * @returns {string}\n */\n groupBy: PropTypes.func,\n /**\n * If `true`, the component handles the \"Home\" and \"End\" keys when the popup is open.\n * It should move focus to the first option and last option, respectively.\n * @default !props.freeSolo\n */\n handleHomeEndKeys: PropTypes.bool,\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide an id it will fall back to a randomly generated one.\n */\n id: PropTypes.string,\n /**\n * If `true`, the highlight can move to the input.\n * @default false\n */\n includeInputInList: PropTypes.bool,\n /**\n * The input value.\n */\n inputValue: PropTypes.string,\n /**\n * Used to determine if the option represents the given value.\n * Uses strict equality by default.\n * ⚠️ Both arguments need to be handled, an option can only match with one value.\n *\n * @param {Value} option The option to test.\n * @param {Value} value The value to test against.\n * @returns {boolean}\n */\n isOptionEqualToValue: PropTypes.func,\n /**\n * The maximum number of tags that will be visible when not focused.\n * Set `-1` to disable the limit.\n * @default -1\n */\n limitTags: integerPropType,\n /**\n * The component used to render the listbox.\n * @default 'ul'\n */\n ListboxComponent: PropTypes.elementType,\n /**\n * Props applied to the Listbox element.\n */\n ListboxProps: PropTypes.object,\n /**\n * If `true`, the component is in a loading state.\n * This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Text to display when in a loading state.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Loading…'\n */\n loadingText: PropTypes.node,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n * @default false\n */\n multiple: PropTypes.bool,\n /**\n * Text to display when there are no options.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'No options'\n */\n noOptionsText: PropTypes.node,\n /**\n * Callback fired when the value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value|Value[]} value The new value of the component.\n * @param {string} reason One of \"createOption\", \"selectOption\", \"removeOption\", \"blur\" or \"clear\".\n * @param {string} [details]\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} reason Can be: `\"toggleInput\"`, `\"escape\"`, `\"selectOption\"`, `\"removeOption\"`, `\"blur\"`.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the highlight option changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value} option The highlighted option.\n * @param {string} reason Can be: `\"keyboard\"`, `\"auto\"`, `\"mouse\"`, `\"touch\"`.\n */\n onHighlightChange: PropTypes.func,\n /**\n * Callback fired when the input value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} value The new value of the text input.\n * @param {string} reason Can be: `\"input\"` (user input), `\"reset\"` (programmatic change), `\"clear\"`, `\"blur\"`, `\"selectOption\"`, `\"removeOption\"`\n */\n onInputChange: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * If `true`, the popup will open on input focus.\n * @default false\n */\n openOnFocus: PropTypes.bool,\n /**\n * Override the default text for the *open popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Open'\n */\n openText: PropTypes.string,\n /**\n * A list of options that will be shown in the Autocomplete.\n */\n options: PropTypes.array.isRequired,\n /**\n * The component used to render the body of the popup.\n * @default Paper\n */\n PaperComponent: PropTypes.elementType,\n /**\n * The component used to position the popup.\n * @default Popper\n */\n PopperComponent: PropTypes.elementType,\n /**\n * The icon to display in place of the default popup icon.\n * @default <ArrowDropDownIcon />\n */\n popupIcon: PropTypes.node,\n /**\n * If `true`, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted.\n * @default false\n */\n readOnly: PropTypes.bool,\n /**\n * Render the group.\n *\n * @param {AutocompleteRenderGroupParams} params The group to render.\n * @returns {ReactNode}\n */\n renderGroup: PropTypes.func,\n /**\n * Render the input.\n *\n * @param {object} params\n * @returns {ReactNode}\n */\n renderInput: PropTypes.func.isRequired,\n /**\n * Render the option, use `getOptionLabel` by default.\n *\n * @param {object} props The props to apply on the li element.\n * @param {Value} option The option to render.\n * @param {object} state The state of each option.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderOption: PropTypes.func,\n /**\n * Render the selected value.\n *\n * @param {Value[]} value The `value` provided to the component.\n * @param {function} getTagProps A tag props getter.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderTags: PropTypes.func,\n /**\n * If `true`, the input's text is selected on focus.\n * It helps the user clear the selected value.\n * @default !props.freeSolo\n */\n selectOnFocus: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes /* @typescript-to-proptypes-ignore */.shape({\n chip: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n clearIndicator: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n listbox: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n popper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n popupIndicator: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n listbox: PropTypes.elementType,\n paper: PropTypes.elementType,\n popper: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the autocomplete.\n *\n * The value must have reference equality with the option in order to be selected.\n * You can customize the equality behavior with the `isOptionEqualToValue` prop.\n */\n value: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.value !== undefined && !Array.isArray(props.value)) {\n return new Error(['MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.', `However, ${props.value} was provided.`].join('\\n'));\n }\n return null;\n })\n} : void 0;\nexport default Autocomplete;","import React, { FocusEventHandler, useMemo, useRef, useState } from \"react\";\n\nimport {\n Autocomplete,\n AutocompleteProps,\n Checkbox,\n IconButton,\n InputAdornment,\n Popper,\n} from \"@mui/material\";\nimport InformationIcon from \"components/ui/InformationIcon\";\nimport Input, { InputProps } from \"components/ui/Input/Input\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { Pair } from \"shared/model\";\nimport { coloredDot } from \"shared/styles/styles\";\nimport { classes, style } from \"typestyle\";\nimport { simulateMouseClick } from \"util/simulateClick\";\n\nimport styles from \"./FormSelect.styles\";\nimport { SelectOption } from \"./types\";\n\nexport type SelectProps = Omit<\n // might have to be tweaked\n AutocompleteProps<any, any, any, any>,\n \"size\" | \"renderInput\" | \"onSelect\" | \"onChange\"\n> & {\n options: SelectOption[];\n onChange?: (value: string) => void;\n onMultipleChange?: (value: string[]) => void;\n required?: boolean;\n /** The value needs to have Pair type because the \"value\"\n prop is used to render the selected value inside the text input\n and we must have reference to the name of that option */\n value?: string | string[];\n readOnlyInput?: boolean;\n className?: string;\n inputClassName?: string;\n placeholder?: string;\n disabled?: boolean;\n onFocus?: FocusEventHandler;\n disabledReason?: string;\n size?: \"small\" | \"medium\" | \"large\";\n label?: string;\n adornmentIconSrc?: string;\n renderedInputProps?: InputProps;\n multiple?: boolean;\n checkboxesHidden?: boolean;\n autoWidthPopper?: boolean;\n};\n\nexport default function Select({\n options,\n value,\n onChange = () => {},\n onMultipleChange = () => {},\n readOnlyInput = false,\n className,\n inputClassName,\n placeholder,\n required = false,\n disabled,\n classes: classesProp,\n renderedInputProps,\n onFocus,\n disabledReason,\n size = \"medium\",\n label,\n adornmentIconSrc,\n multiple,\n checkboxesHidden,\n autoWidthPopper,\n ...props\n}: SelectProps) {\n const inputRef = useRef<HTMLInputElement>(null);\n\n const [innerReadOnly, setInnerReadOnly] = useState<boolean>(false);\n const [validated, setValidated] = useState<boolean>(false);\n\n const handleValueChange = (option: Pair) => {\n onChange(option?.id);\n };\n const handleMultipleValueChange = (options: Pair[]) => {\n onMultipleChange(options.map((option) => option.id));\n };\n\n const selectedOption = useMemo<SelectOption | null>(\n () => (!multiple && options.find((option) => option.id === value)) || null,\n [multiple, options, value]\n );\n const multipleSelectedOptions = useMemo<SelectOption[]>(\n () => multiple && options.filter((option) => value.includes(option.id)),\n [multiple, options, value]\n );\n\n const onFocusElement = (element: HTMLInputElement | HTMLTextAreaElement) => {\n if (validated) {\n setInnerReadOnly(false);\n setValidated(false);\n element.blur();\n return;\n }\n setInnerReadOnly(true);\n };\n\n return (\n <Autocomplete\n renderTags={(selectedOptions: SelectOption[]) => {\n return selectedOptions\n .map((selectedOption) => selectedOption.name)\n .join(\", \");\n }}\n {...props}\n disableCloseOnSelect={multiple}\n onFocus={onFocus}\n openOnFocus\n className={classes(className)}\n options={options}\n multiple={multiple}\n onChange={(_, newValue) => {\n multiple\n ? handleMultipleValueChange(newValue)\n : handleValueChange(newValue);\n }}\n // todo customize renderoptions\n disabled={disabled}\n renderOption={(\n _props,\n { name, color, info, disabled, child, icon },\n _state\n ) => (\n <li {..._props}>\n {multiple && !checkboxesHidden && (\n <Checkbox\n checked={_state.selected}\n tabIndex={-1}\n disabled={disabled}\n />\n )}\n {color && (\n <div\n className={classes(\n style(coloredDot({ size: \"10px\", color, marginRight: \"12px\" }))\n )}\n />\n )}\n <div className={styles.optionWrapper}>\n <span className={styles.iconWrapper}>{icon}</span>\n <span className={styles.optionText}>{child || name}</span>\n {disabledReason && disabled && (\n <span className={styles.disabledReason}>{disabledReason}</span>\n )}\n </div>\n {info && (\n <InformationIcon\n title={info}\n wrapperClassName={styles.informationIconWrapper}\n iconClassName={styles.informationIcon}\n />\n )}\n </li>\n )}\n value={multiple ? multipleSelectedOptions : selectedOption}\n isOptionEqualToValue={(option, value) => option.id === value.id}\n getOptionDisabled={(option) =>\n typeof option.disabled === \"function\"\n ? !!option.disabled(option.id)\n : !!option.disabled\n }\n getOptionLabel={(option) => option.name}\n renderInput={(params) => {\n return (\n <Input\n inputRef={inputRef}\n {...params}\n {...renderedInputProps}\n label={label}\n size={size === \"large\" ? \"medium\" : size}\n className={classes(inputClassName, renderedInputProps?.className)}\n InputProps={{\n ...params.InputProps,\n classes: {\n ...renderedInputProps?.classes,\n disabled: classes(\n styles.disabledInput,\n renderedInputProps?.InputProps?.classes\n ),\n },\n onInvalid: () => {\n if (!readOnlyInput) {\n return;\n }\n setValidated(true);\n },\n onFocus: (e: React.FocusEvent<HTMLInputElement>) => {\n if (!readOnlyInput) {\n return;\n }\n onFocusElement(e.target);\n },\n onBlur: () => {\n if (!readOnlyInput) {\n return;\n }\n setInnerReadOnly(false);\n },\n ...(selectedOption?.color && {\n startAdornment: (\n <InputAdornment\n position=\"start\"\n classes={{\n positionStart: style({ marginRight: \"2px\" }),\n }}\n >\n <div\n className={classes(\n style(\n coloredDot({\n size: \"10px\",\n color: selectedOption.color,\n flex: \"0 0 10px\",\n })\n )\n )}\n />\n </InputAdornment>\n ),\n }),\n ...(selectedOption?.icon && {\n startAdornment: (\n <InputAdornment\n position=\"start\"\n classes={{\n positionStart: style({ marginRight: \"2px\" }),\n }}\n >\n <div className={styles.selectedOptionIconWrapper}>\n {selectedOption.icon}\n </div>\n </InputAdornment>\n ),\n }),\n endAdornment: (\n <InputAdornment position=\"end\" tabIndex={-1}>\n <IconButton\n tabIndex={-1}\n size=\"small\"\n onPointerDown={() => {\n if (!inputRef.current) {\n return;\n }\n simulateMouseClick(inputRef.current);\n }}\n disabled={disabled}\n >\n <SvgIcon\n src={adornmentIconSrc || \"/icons/arrow_down.svg\"}\n className={styles.arrowIcon}\n />\n </IconButton>\n </InputAdornment>\n ),\n readOnly: innerReadOnly,\n }}\n placeholder={\n multiple\n ? !multipleSelectedOptions.length\n ? placeholder\n : undefined\n : placeholder\n }\n required={required}\n disabled={disabled}\n />\n );\n }}\n {...(autoWidthPopper && {\n PopperComponent: (popperProps) => (\n <Popper {...popperProps} style={{ width: \"auto\" }} />\n ),\n })}\n classes={{\n ...classesProp,\n root: classes(styles.root, classesProp?.root),\n option: classes(styles.listItem, classesProp?.option),\n input: classes(styles.input, classesProp?.input),\n listbox: classes(styles.list, classesProp?.listbox),\n inputRoot: classes(styles.inputRoot, classesProp?.inputRoot),\n }}\n disableClearable\n aria-required={required}\n />\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nconst blackStyles: NestedCSSProperties = {\n $nest: {\n \"&\": {\n // not specified in the design\n color: neutralColors.GRAY5,\n },\n \"&:hover\": { color: primaryColors.BLACK },\n },\n};\n\nconst orangeStyles: NestedCSSProperties = {\n $nest: {\n \"&\": {\n color: utilityColors.ORANGE,\n },\n \"&:hover\": { color: utilityColors.ORANGE_HOVER },\n },\n};\n\nconst grayStyles: NestedCSSProperties = {\n $nest: {\n \"&\": {\n color: neutralColors.GRAY4,\n },\n \"&:hover\": {\n // not specified in the design\n color: neutralColors.GRAY5,\n },\n },\n};\n\nconst greenStyles: NestedCSSProperties = {\n $nest: {\n \"&\": {\n color: utilityColors.GREEN,\n },\n // missing hover color - not specified in the design\n },\n};\n\nconst purpleStyles: NestedCSSProperties = {\n $nest: {\n \"&\": {\n color: primaryColors.PURPLE2,\n },\n \"&:hover\": { color: primaryColors.PURPLE2_HOVER },\n },\n};\n\nconst styles = stylesheet({\n button: {\n width: \"28px\",\n height: \"28px\",\n borderRadius: \"3px\",\n padding: \"0\",\n color: primaryColors.BLACK,\n },\n icon: {\n maxWidth: \"18px\",\n },\n black: blackStyles,\n green: greenStyles,\n gray: grayStyles,\n orange: orangeStyles,\n purple: purpleStyles,\n});\n\nexport const smallVariantStyles = stylesheet({\n button: {\n width: \"24px\",\n height: \"24px\",\n $nest: {\n [`& .${styles.icon}`]: {\n maxWidth: \"14px\",\n },\n },\n },\n});\n\nexport const largeVariantStyles = stylesheet({\n button: {\n width: \"30px\",\n height: \"30px\",\n $nest: {\n [`& .${styles.icon}`]: {\n maxWidth: \"20px\",\n },\n },\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport {\n IconButton as MuiIconButton,\n IconButtonProps as MuiIconButtonProps,\n} from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport Tooltip, {\n purpleTooltipProps,\n TooltipProps,\n TooltipWrapper,\n} from \"components/ui/Tooltip\";\nimport { classes } from \"typestyle\";\n\nimport styles, {\n largeVariantStyles,\n smallVariantStyles,\n} from \"./IconButton.styles\";\n\ntype IconButtonColor = \"black\" | \"orange\" | \"purple\" | \"green\" | \"gray\";\n\nexport type IconButtonProps = Omit<MuiIconButtonProps, \"color\" | \"size\"> & {\n tooltip: string;\n src: string;\n iconClassname?: string;\n size?: \"small\" | \"medium\" | \"large\";\n color?: IconButtonColor;\n placement?: TooltipProps[\"placement\"];\n};\n\nconst colorStyles: Record<IconButtonColor, string> = {\n black: styles.black,\n orange: styles.orange,\n gray: styles.gray,\n green: styles.green,\n purple: styles.purple,\n};\n\nexport default function IconButton({\n className,\n src,\n tooltip,\n iconClassname,\n size,\n color,\n placement = \"bottom\",\n ...props\n}: IconButtonProps) {\n const isLarge = size === \"large\";\n const muiSize: MuiIconButtonProps[\"size\"] = isLarge ? undefined : size;\n\n return (\n <Tooltip title={tooltip} {...purpleTooltipProps} placement={placement}>\n {/* Wrapper added so that the Tooltip appears when button is disabled */}\n <TooltipWrapper>\n <MuiIconButton\n {...props}\n size={muiSize}\n classes={{\n ...props.classes,\n sizeSmall: classes(\n smallVariantStyles.button,\n props.classes?.sizeSmall\n ),\n }}\n className={classes(\n styles.button,\n isLarge && largeVariantStyles.button,\n colorStyles[color || \"black\"],\n className\n )}\n >\n <SvgIcon src={src} className={classes(styles.icon, iconClassname)} />\n </MuiIconButton>\n </TooltipWrapper>\n </Tooltip>\n );\n}\n","import { utilityColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n icon: {\n width: \"16px\",\n height: \"16px\",\n },\n informationIcon: {\n color: utilityColors.BLUE,\n },\n warningIcon: {\n color: utilityColors.YELLOW,\n },\n customWidth: {\n maxWidth: \"100 !important\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport type { TooltipProps } from \"components/ui/Tooltip\";\nimport Tooltip, { TooltipWrapper } from \"components/ui/Tooltip\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./InformationIconStyles\";\n\nexport type InformationIconProps = JSX.IntrinsicAttributes &\n Omit<TooltipProps, \"children\"> & {\n iconClassName?: string;\n wrapperClassName?: string;\n isWarning?: boolean;\n };\n\nexport default function InformationIcon({\n iconClassName,\n wrapperClassName,\n isWarning = false,\n ref,\n ...props\n}: InformationIconProps) {\n return (\n <Tooltip {...props}>\n <TooltipWrapper className={wrapperClassName}>\n <SvgIcon\n src={\n isWarning ? \"/icons/alert_icon.svg\" : \"/icons/information_icon.svg\"\n }\n className={classes(\n styles.icon,\n isWarning ? styles.warningIcon : styles.informationIcon,\n iconClassName\n )}\n />\n </TooltipWrapper>\n </Tooltip>\n );\n}\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n input: {\n ...typography.BODY2,\n color: primaryColors.TEXT_ACTIVE,\n $nest: {\n \"&::placeholder\": {\n color: primaryColors.TEXT_HELPER,\n },\n },\n },\n labelRoot: {\n ...typography.BODY2,\n color: primaryColors.TEXT_HELPER,\n },\n labelError: {\n color: primaryColors.ERROR,\n },\n labelFocused: {\n color: utilityColors.LILAC,\n },\n outlinedLabel: {\n transform: \"translate(14px, 12px) scale(1)\",\n zIndex: 1,\n pointerEvents: \"none\",\n backgroundColor: primaryColors.WHITE,\n padding: \"0 4px\",\n },\n labelShrink: {\n $nest: {\n \"&&\": {\n transform: \"translate(14px, -6px) scale(0.85)\",\n },\n },\n },\n helperText: {\n ...typography.CAPTION3,\n color: primaryColors.TEXT_HELPER,\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { OutlinedTextFieldProps, TextField } from \"@mui/material\";\nimport { AppColors } from \"@pulsemarket/constants\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./Input.styles\";\n\ntype StringWithAutocomplete<T> = T | (string & Record<never, never>);\ntype AnyEnumKeysAsStrings<TEnumType> = keyof TEnumType;\n\nexport type InputProps = Omit<OutlinedTextFieldProps, \"variant\" | \"color\"> & {\n color?: StringWithAutocomplete<AnyEnumKeysAsStrings<typeof AppColors>>;\n helperTextExpectedLines?: number;\n};\n\nfunction getForcedColorClasses({\n value,\n color,\n required,\n}: Pick<InputProps, \"value\" | \"color\" | \"required\">) {\n const hasValue = typeof value !== \"undefined\";\n const shouldBeColored = color && (hasValue || (required && !hasValue));\n\n const forcedColorClass =\n shouldBeColored &&\n style({\n $nest: {\n \"&&&\": {\n color: color,\n },\n },\n });\n\n const forcedBorderColorClass =\n shouldBeColored &&\n style({\n $nest: {\n \"&&& .MuiOutlinedInput-notchedOutline\": {\n borderColor: color,\n },\n },\n });\n\n return { forcedColorClass, forcedBorderColorClass };\n}\n\n/** Wrapper around Mui's Textfield \"outline\" variant.\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?type=design&node-id=11569-68456&mode=dev\n */\nexport default function Input({\n value,\n error,\n required,\n color,\n className,\n InputProps,\n helperTextExpectedLines = 1,\n ...props\n}: InputProps) {\n const { forcedBorderColorClass, forcedColorClass } = getForcedColorClasses({\n value,\n color,\n required,\n });\n\n const helperTextPlaceholder = (\n <>\n {Array.apply(null, Array(helperTextExpectedLines)).map((_, line) => (\n <React.Fragment key={line}>\n  \n <br />\n </React.Fragment>\n ))}\n </>\n );\n\n return (\n <TextField\n {...props}\n variant=\"outlined\"\n value={value}\n required={required}\n error={error}\n className={classes(className)}\n helperText={\n typeof props.helperText !== \"undefined\"\n ? props.helperText\n : helperTextPlaceholder\n }\n classes={{\n ...props.classes,\n root: classes(forcedBorderColorClass, InputProps?.classes?.root),\n }}\n slotProps={{\n inputLabel: {\n ...(props.type === \"date\" && {\n shrink: true,\n }),\n classes: {\n shrink: classes(styles.labelShrink),\n outlined: classes(styles.outlinedLabel),\n root: classes(styles.labelRoot, forcedColorClass),\n error: classes(styles.labelError),\n focused: classes(styles.labelFocused),\n },\n },\n }}\n FormHelperTextProps={{\n ...props.FormHelperTextProps,\n classes: {\n ...props.FormHelperTextProps?.classes,\n root: classes(\n styles.helperText,\n props.FormHelperTextProps?.classes?.root\n ),\n },\n }}\n InputProps={{\n ...InputProps,\n // Disable increasing/decreasing numeric field value by scroll\n // https://stackoverflow.com/questions/63224459/disable-scrolling-on-input-type-number-in-react\n onWheel: (e) => (document.activeElement as HTMLInputElement)?.blur(),\n classes: {\n ...InputProps?.classes,\n // disabled: classes(\n // styles.disabledInput,\n // InputProps?.classes?.disabled\n // ),\n input: classes(\n styles.input,\n forcedColorClass,\n InputProps?.classes?.input\n ),\n },\n className: classes(forcedColorClass, InputProps?.className),\n }}\n />\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n imageContainer: {\n position: \"relative\",\n $nest: {\n \"& button\": {\n opacity: 0,\n },\n \"&:hover\": {\n $nest: {\n \"& button\": {\n opacity: 1,\n },\n },\n },\n },\n },\n image: {\n width: \"100%\",\n maxHeight: \"300px\",\n objectFit: \"contain\",\n objectPosition: \"center\",\n marginBottom: \"12px\",\n },\n deleteIconWrapper: {\n position: \"absolute\",\n right: \"12px\",\n bottom: \"12px\",\n },\n deleteIcon: {\n width: \"14px\",\n height: \"18px\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport IconButton from \"components/ui/IconButton\";\nimport { MappedInsertedAsset } from \"shared/model\";\nimport { DeletableComponentProps } from \"shared/utils/componentTypes\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./InsertedImage.styles\";\n\ntype InsertedImageProps = DeletableComponentProps & {\n className?: string;\n image: MappedInsertedAsset;\n};\n\nexport default function InsertedImage({\n image,\n className,\n disableDelete,\n onDelete,\n}: InsertedImageProps) {\n return (\n <div className={classes(styles.imageContainer, className)}>\n <img src={image.url} alt=\"\" className={styles.image} />\n {!disableDelete && (\n <div className={styles.deleteIconWrapper}>\n <IconButton\n tooltip=\"Delete\"\n color=\"orange\"\n src=\"/icons/delete_icon.svg\"\n iconClassname={styles.deleteIcon}\n onClick={onDelete}\n />\n </div>\n )}\n </div>\n );\n}\n","import React, {\n useCallback,\n useImperativeHandle,\n useRef,\n useState,\n} from \"react\";\n\nimport { Button, Menu, MenuItem } from \"@mui/material\";\nimport { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { colorClass } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nexport type KebabMenuAction = {\n text: string;\n disabled?: boolean;\n onClick: (\n e: React.MouseEvent<HTMLElement, MouseEvent>,\n boxId?: string\n ) => void;\n entryIcon?: React.ReactNode;\n disableCloseAfterAction?: boolean;\n};\n\nexport type KebabMenuProps = {\n className?: string;\n actions: KebabMenuAction[];\n icon?: React.ReactNode;\n};\n\nconst KebabMenu = React.forwardRef<HTMLButtonElement, KebabMenuProps>(\n (props, refx) => {\n const ref = useRef<HTMLButtonElement>(null);\n\n useImperativeHandle(refx, () => ref.current!);\n\n const [visible, setVisible] = useState(false);\n\n const closeMenu = useCallback(() => {\n setVisible(false);\n }, []);\n\n return (\n <div\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n <Button\n className={props.className}\n ref={ref}\n size=\"small\"\n style={{ minWidth: 0 }}\n onClick={(e) => {\n e.stopPropagation();\n\n setVisible(true);\n }}\n >\n {props.icon || (\n <SvgIcon\n src=\"/icons/kebab_menu.svg\"\n className={classes(\n style({ height: \"14px\" }),\n colorClass(neutralColors.GRAY5)\n )}\n />\n )}\n </Button>\n\n <Menu\n open={visible}\n anchorEl={ref.current}\n onClose={closeMenu}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n >\n {props.actions.map((action) => {\n return (\n <MenuItem\n className={style({\n ...typography.BODY1,\n color: primaryColors.BLACK,\n })}\n key={action.text}\n disabled={action.disabled}\n onClick={(e) => {\n e.stopPropagation();\n action.onClick(e);\n if (action.disableCloseAfterAction) {\n return;\n }\n closeMenu();\n }}\n >\n {action.entryIcon && (\n <span className={style({ marginRight: \"14px\" })}>\n {action.entryIcon}\n </span>\n )}\n {action.text}\n </MenuItem>\n );\n })}\n </Menu>\n </div>\n );\n }\n);\n\nexport default KebabMenu;\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link, NavLink } from 'react-router-dom';\n\nlet hashFragment = '';\nlet observer = null;\nlet asyncTimerId = null;\nlet scrollFunction = null;\n\nfunction reset() {\n hashFragment = '';\n if (observer !== null) observer.disconnect();\n if (asyncTimerId !== null) {\n window.clearTimeout(asyncTimerId);\n asyncTimerId = null;\n }\n}\n\nfunction isInteractiveElement(element) {\n const formTags = ['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];\n const linkTags = ['A', 'AREA'];\n return (\n (formTags.includes(element.tagName) && !element.hasAttribute('disabled')) ||\n (linkTags.includes(element.tagName) && element.hasAttribute('href'))\n );\n}\n\nfunction getElAndScroll() {\n let element = null;\n if (hashFragment === '#') {\n // use document.body instead of document.documentElement because of a bug in smoothscroll-polyfill in safari\n // see https://github.com/iamdustan/smoothscroll/issues/138\n // while smoothscroll-polyfill is not included, it is the recommended way to implement smoothscroll\n // in browsers that don't natively support el.scrollIntoView({ behavior: 'smooth' })\n element = document.body;\n } else {\n // check for element with matching id before assume '#top' is the top of the document\n // see https://html.spec.whatwg.org/multipage/browsing-the-web.html#target-element\n const id = hashFragment.replace('#', '');\n element = document.getElementById(id);\n if (element === null && hashFragment === '#top') {\n // see above comment for why document.body instead of document.documentElement\n element = document.body;\n }\n }\n\n if (element !== null) {\n scrollFunction(element);\n\n // update focus to where the page is scrolled to\n // unfortunately this doesn't work in safari (desktop and iOS) when blur() is called\n let originalTabIndex = element.getAttribute('tabindex');\n if (originalTabIndex === null && !isInteractiveElement(element)) {\n element.setAttribute('tabindex', -1);\n }\n element.focus({ preventScroll: true });\n if (originalTabIndex === null && !isInteractiveElement(element)) {\n // for some reason calling blur() in safari resets the focus region to where it was previously,\n // if blur() is not called it works in safari, but then are stuck with default focus styles\n // on an element that otherwise might never had focus styles applied, so not an option\n element.blur();\n element.removeAttribute('tabindex');\n }\n\n reset();\n return true;\n }\n return false;\n}\n\nfunction hashLinkScroll(timeout) {\n // Push onto callback queue so it runs after the DOM is updated\n window.setTimeout(() => {\n if (getElAndScroll() === false) {\n if (observer === null) {\n observer = new MutationObserver(getElAndScroll);\n }\n observer.observe(document, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n // if the element doesn't show up in specified timeout or 10 seconds, stop checking\n asyncTimerId = window.setTimeout(() => {\n reset();\n }, timeout || 10000);\n }\n }, 0);\n}\n\nexport function genericHashLink(As) {\n return React.forwardRef((props, ref) => {\n let linkHash = '';\n if (typeof props.to === 'string' && props.to.includes('#')) {\n linkHash = `#${props.to.split('#').slice(1).join('#')}`;\n } else if (\n typeof props.to === 'object' &&\n typeof props.to.hash === 'string'\n ) {\n linkHash = props.to.hash;\n }\n\n const passDownProps = {};\n if (As === NavLink) {\n passDownProps.isActive = (match, location) =>\n match && match.isExact && location.hash === linkHash;\n }\n\n function handleClick(e) {\n reset();\n hashFragment = props.elementId ? `#${props.elementId}` : linkHash;\n if (props.onClick) props.onClick(e);\n if (\n hashFragment !== '' &&\n // ignore non-vanilla click events, same as react-router\n // below logic adapted from react-router: https://github.com/ReactTraining/react-router/blob/fc91700e08df8147bd2bb1be19a299cbb14dbcaa/packages/react-router-dom/modules/Link.js#L43-L48\n !e.defaultPrevented && // onClick prevented default\n e.button === 0 && // ignore everything but left clicks\n (!props.target || props.target === '_self') && // let browser handle \"target=_blank\" etc\n !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) // ignore clicks with modifier keys\n ) {\n scrollFunction =\n props.scroll ||\n ((el) =>\n props.smooth\n ? el.scrollIntoView({ behavior: 'smooth' })\n : el.scrollIntoView());\n hashLinkScroll(props.timeout);\n }\n }\n const { scroll, smooth, timeout, elementId, ...filteredProps } = props;\n return (\n <As {...passDownProps} {...filteredProps} onClick={handleClick} ref={ref}>\n {props.children}\n </As>\n );\n });\n}\n\nexport const HashLink = genericHashLink(Link);\n\nexport const NavHashLink = genericHashLink(NavLink);\n\nif (process.env.NODE_ENV !== 'production') {\n HashLink.displayName = 'HashLink';\n NavHashLink.displayName = 'NavHashLink';\n\n const propTypes = {\n onClick: PropTypes.func,\n children: PropTypes.node,\n scroll: PropTypes.func,\n timeout: PropTypes.number,\n elementId: PropTypes.string,\n to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n };\n\n HashLink.propTypes = propTypes;\n NavHashLink.propTypes = propTypes;\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getLinkUtilityClass(slot) {\n return generateUtilityClass('MuiLink', slot);\n}\nconst linkClasses = generateUtilityClasses('MuiLink', ['root', 'underlineNone', 'underlineHover', 'underlineAlways', 'button', 'focusVisible']);\nexport default linkClasses;","import { getPath } from '@mui/system/style';\nimport { alpha } from '@mui/system/colorManipulator';\nconst getTextDecoration = ({\n theme,\n ownerState\n}) => {\n const transformedColor = ownerState.color;\n const color = getPath(theme, `palette.${transformedColor}`, false) || ownerState.color;\n const channelColor = getPath(theme, `palette.${transformedColor}Channel`);\n if ('vars' in theme && channelColor) {\n return `rgba(${channelColor} / 0.4)`;\n }\n return alpha(color, 0.4);\n};\nexport default getTextDecoration;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { alpha } from '@mui/system/colorManipulator';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport linkClasses, { getLinkUtilityClass } from \"./linkClasses.js\";\nimport getTextDecoration from \"./getTextDecoration.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n component,\n focusVisible,\n underline\n } = ownerState;\n const slots = {\n root: ['root', `underline${capitalize(underline)}`, component === 'button' && 'button', focusVisible && 'focusVisible']\n };\n return composeClasses(slots, getLinkUtilityClass, classes);\n};\nconst LinkRoot = styled(Typography, {\n name: 'MuiLink',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`underline${capitalize(ownerState.underline)}`], ownerState.component === 'button' && styles.button];\n }\n})(memoTheme(({\n theme\n}) => {\n return {\n variants: [{\n props: {\n underline: 'none'\n },\n style: {\n textDecoration: 'none'\n }\n }, {\n props: {\n underline: 'hover'\n },\n style: {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n }\n }, {\n props: {\n underline: 'always'\n },\n style: {\n textDecoration: 'underline',\n '&:hover': {\n textDecorationColor: 'inherit'\n }\n }\n }, {\n props: ({\n underline,\n ownerState\n }) => underline === 'always' && ownerState.color !== 'inherit',\n style: {\n textDecorationColor: 'var(--Link-underlineColor)'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n underline: 'always',\n color\n },\n style: {\n '--Link-underlineColor': theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.4)` : alpha(theme.palette[color].main, 0.4)\n }\n })), {\n props: {\n underline: 'always',\n color: 'textPrimary'\n },\n style: {\n '--Link-underlineColor': theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textSecondary'\n },\n style: {\n '--Link-underlineColor': theme.vars ? `rgba(${theme.vars.palette.text.secondaryChannel} / 0.4)` : alpha(theme.palette.text.secondary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textDisabled'\n },\n style: {\n '--Link-underlineColor': (theme.vars || theme).palette.text.disabled\n }\n }, {\n props: {\n component: 'button'\n },\n style: {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${linkClasses.focusVisible}`]: {\n outline: 'auto'\n }\n }\n }]\n };\n}));\nconst Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiLink'\n });\n const theme = useTheme();\n const {\n className,\n color = 'primary',\n component = 'a',\n onBlur,\n onFocus,\n TypographyClasses,\n underline = 'always',\n variant = 'inherit',\n sx,\n ...other\n } = props;\n const [focusVisible, setFocusVisible] = React.useState(false);\n const handleBlur = event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n };\n const handleFocus = event => {\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n const ownerState = {\n ...props,\n color,\n component,\n focusVisible,\n underline,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(LinkRoot, {\n color: color,\n className: clsx(classes.root, className),\n classes: TypographyClasses,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: ref,\n ownerState: ownerState,\n variant: variant,\n ...other,\n sx: [...(v6Colors[color] === undefined ? [{\n color\n }] : []), ...(Array.isArray(sx) ? sx : [sx])],\n style: {\n ...other.style,\n ...(underline === 'always' && color !== 'inherit' && !v6Colors[color] && {\n '--Link-underlineColor': getTextDecoration({\n theme,\n ownerState\n })\n })\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Link.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the link.\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.\n */\n TypographyClasses: PropTypes.object,\n /**\n * Controls when the link should have an underline.\n * @default 'always'\n */\n underline: PropTypes.oneOf(['always', 'hover', 'none']),\n /**\n * Applies the theme typography styles.\n * @default 'inherit'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string])\n} : void 0;\nexport default Link;","import { neutralColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n link: {\n ...typography.BUTTON_MEDIUM,\n },\n disabled: {\n color: neutralColors.GRAY4,\n pointerEvents: \"none\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\nimport { HashLink as RouterHashLink } from \"react-router-hash-link\";\n\nimport { Link as MuiLink, LinkProps as MuiLinkProps } from \"@mui/material\";\nimport { utilityColors } from \"@pulsemarket/constants\";\nimport { classes, style } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nimport styles from \"./Link.styles\";\n\ntype CustomLinkProps<C extends React.ElementType> = Omit<\n MuiLinkProps<C, { component?: C }>,\n \"to\" | \"color\"\n>;\n\nexport type LinkProps<C extends React.ElementType> = CustomLinkProps<C> & {\n url: string | { pathname: string };\n disabled?: boolean;\n /** Color when active */\n color?: NestedCSSProperties[\"color\"];\n};\n\nexport default function Link({\n children,\n url,\n className,\n underline,\n color = utilityColors.ORANGE,\n ...rest\n}: LinkProps<typeof RouterHashLink>) {\n return (\n <MuiLink\n underline={underline}\n component={RouterHashLink}\n to={url}\n className={classes(\n styles.link,\n rest.disabled && styles.disabled,\n color && !rest.disabled && style({ color }),\n className\n )}\n {...rest}\n >\n {children}\n </MuiLink>\n );\n}\n","import Link from \"./LinkComponent\";\n\nexport type { LinkProps } from \"./LinkComponent\";\n\nexport default Link;\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n lockIcon: {\n width: \"16px\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport Button, { ButtonProps } from \"components/ui/Button/Button\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport Tooltip from \"components/ui/Tooltip\";\n\nimport styles from \"./LockedButtonStyles\";\n\nexport type LockedButtonProps = ButtonProps & {\n locked?: boolean;\n tooltip: string;\n};\n\nconst LockedButtonWrapper = ({\n children,\n locked,\n tooltip,\n}: {\n children: React.ReactElement;\n locked?: boolean;\n tooltip: string;\n}) =>\n locked ? (\n <Tooltip title={tooltip} backdrop>\n <span>{children}</span>\n </Tooltip>\n ) : (\n <>{children}</>\n );\n\nconst LockedButton = React.forwardRef<HTMLButtonElement, LockedButtonProps>(\n (\n { children, locked, disabled, tooltip, ...props }: LockedButtonProps,\n ref\n ) => {\n return (\n <LockedButtonWrapper locked={locked} tooltip={tooltip}>\n <Button\n {...props}\n ref={ref}\n disabled={locked || disabled}\n endIcon={\n locked && (\n <SvgIcon\n className={styles.lockIcon}\n src=\"/icons/lock_closed_icon.svg\"\n />\n )\n }\n >\n {children}\n </Button>\n </LockedButtonWrapper>\n );\n }\n);\n\nexport default LockedButton;\n","import React from \"react\";\n\nimport { DialogActions } from \"@mui/material\";\nimport Button from \"components/ui/Button\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./ModalActionsStyles\";\n\nexport type ModalAction =\n | (ButtonProps & { disableCloseAfterCallback?: boolean })\n | React.ReactElement;\n\ntype ModalActionsProps = {\n actions?: ModalAction[];\n onClose?: () => void;\n className?: string;\n};\n\nexport default function ModalActions({\n actions = [],\n onClose = () => {},\n className,\n}: ModalActionsProps) {\n return (\n <DialogActions\n className={classes(styles.actionsContainer, className)}\n classes={{\n root: styles.actionsContainerRoot,\n }}\n >\n {actions.map((action, i) => {\n if (React.isValidElement(action)) {\n return React.cloneElement(action, { key: i });\n }\n\n const { ...buttonConfig } = action;\n\n return (\n /* @ts-expect-error TS 5 upgrade todo */\n // ModalActions can be React.ReactElement or ButtonProps\n <Button\n key={i}\n {...buttonConfig}\n onClick={(e) => {\n !(\"disableCloseAfterCallback\" in action) && onClose();\n \"onClick\" in action && action.onClick?.(e);\n }}\n />\n );\n })}\n </DialogActions>\n );\n}\n","import { px } from \"csx\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n actionsContainerRoot: {\n $nest: {\n \"&.MuiDialogActions-spacing > :not(:first-child)\": {\n marginLeft: px(16),\n },\n },\n },\n actionsContainer: {\n ...zeroPaddingMargin,\n },\n});\n\nexport default styles;\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n titleContainer: { padding: 0, marginBottom: \"24px\" },\n title: {\n ...zeroPaddingMargin,\n ...typography.HEADLINE6,\n color: \"inherit\",\n display: \"flex\",\n flexDirection: \"row\",\n },\n closeIcon: {\n ...clickable,\n color: neutralColors.GRAY5,\n width: \"14px\",\n height: \"14px\",\n $nest: {\n \"&:hover\": {\n color: utilityColors.RED_HOVER,\n },\n },\n },\n});\n\nexport default styles;\n","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport Typography from \"../Typography/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getDialogTitleUtilityClass } from \"./dialogTitleClasses.js\";\nimport DialogContext from \"../Dialog/DialogContext.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getDialogTitleUtilityClass, classes);\n};\nconst DialogTitleRoot = styled(Typography, {\n name: 'MuiDialogTitle',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n padding: '16px 24px',\n flex: '0 0 auto'\n});\nconst DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDialogTitle'\n });\n const {\n className,\n id: idProp,\n ...other\n } = props;\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n const {\n titleId = idProp\n } = React.useContext(DialogContext);\n return /*#__PURE__*/_jsx(DialogTitleRoot, {\n component: \"h2\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n variant: \"h6\",\n id: idProp ?? titleId,\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogTitle.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default DialogTitle;","import React from \"react\";\n\nimport { DialogTitle, Grid2, IconButton } from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./ModalHeader.styles\";\n\nexport const dialogTitleId = \"dialog-title\";\n\ntype ModalHeaderProps = {\n children?: React.ReactNode;\n onClose?: () => void;\n className?: string;\n hideCloseButton?: boolean;\n};\n\n// todo delete old ModalHeader\n\nexport default function ModalHeader({\n children,\n onClose = () => {},\n className,\n hideCloseButton,\n}: ModalHeaderProps) {\n return (\n <DialogTitle className={classes(styles.titleContainer, className)}>\n <Grid2\n container\n wrap=\"nowrap\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n >\n <Grid2>\n {children && (\n <h6 className={styles.title} id={dialogTitleId}>\n {children}\n </h6>\n )}\n </Grid2>\n {!hideCloseButton && (\n <Grid2>\n <IconButton onClick={onClose} size=\"small\">\n <SvgIcon\n src=\"/icons/close_icon.svg\"\n className={styles.closeIcon}\n />\n </IconButton>\n </Grid2>\n )}\n </Grid2>\n </DialogTitle>\n );\n}\n","import React, { useCallback, useContext, useState } from \"react\";\n\nimport { DialogContent } from \"@mui/material\";\nimport { ModalAction } from \"components/ui/Modal/Actions/ModalActions\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { classes, style } from \"typestyle\";\n\nimport ModalActions from \"../Actions\";\nimport ModalHeader from \"../Header\";\n\nimport styles from \"./SimpleModalBodyStyles\";\n\nexport type ModalTab = { title: string; position: number };\n\nexport type SimpleModalBodyProps = {\n title?: React.ReactNode;\n titleClassName?: string;\n subTitleClassName?: string;\n tabs?: ModalTab[];\n subTitle?: React.ReactNode;\n keepOpen?: boolean;\n header?: boolean;\n onClose?: () => void;\n hideCloseButton?: boolean;\n onTabChanged?: (tabPosition: number) => void;\n buttons?: ModalAction[];\n modalBodyClassName?: string;\n buttonContainerClassName?: string;\n children?: React.ReactNode;\n};\n\n/**\n * This component should only be used inside modals.\n */\nexport default function SimpleModalBody({\n title,\n titleClassName,\n subTitleClassName,\n tabs,\n subTitle,\n keepOpen = false,\n header = true,\n hideCloseButton,\n onTabChanged = (tabPosition) => {},\n onClose,\n children,\n buttons = [],\n modalBodyClassName,\n buttonContainerClassName,\n}: SimpleModalBodyProps) {\n const [activeTitle, setactiveTitle] = useState(\n tabs && tabs?.length > 0\n ? Math.min(...tabs.map((t) => t.position))\n : title\n ? title\n : \"\"\n );\n\n const { closeModal } = useContext(ModalContext);\n\n const _onClose = useCallback(() => {\n if (onClose) {\n onClose();\n } else {\n closeModal();\n }\n }, [closeModal, onClose]);\n\n return (\n <>\n {header && (!tabs || tabs?.length === 0) && (\n <ModalHeader\n className={classes(styles.header, titleClassName)}\n onClose={_onClose}\n hideCloseButton={hideCloseButton}\n >\n {title}\n </ModalHeader>\n )}\n {header && tabs && (\n <ModalHeader\n className={classes(styles.header, titleClassName)}\n onClose={_onClose}\n hideCloseButton={hideCloseButton}\n >\n {tabs\n .sort((acc, curr) => acc.position - curr.position)\n .map((t) => {\n return (\n <label\n key={t.title}\n className={classes(\n styles.multiTitle,\n activeTitle === t.position\n ? styles.activeTitle\n : styles.inactiveTitle\n )}\n onClick={() => {\n setactiveTitle(t.position);\n onTabChanged(t.position);\n }}\n >\n {t.title}\n </label>\n );\n })}\n </ModalHeader>\n )}\n {subTitle && (\n <div className={classes(styles.header, subTitleClassName)}>\n {subTitle}\n </div>\n )}\n <DialogContent\n className={classes(\n styles.contentContainer,\n modalBodyClassName,\n !!buttons.length &&\n style({\n marginBottom: \"16px\",\n })\n )}\n >\n {children}\n </DialogContent>\n <ModalActions\n actions={buttons}\n onClose={() => {\n !keepOpen && _onClose();\n }}\n className={buttonContainerClassName}\n />\n </>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n contentContainer: {\n ...typography.BODY2,\n color: primaryColors.BLACK,\n padding: 0,\n overflowY: \"initial\", //Allways show footer in modal\n },\n header: {\n marginLeft: 10,\n },\n multiTitle: {\n display: \"flex\",\n flexDirection: \"row\",\n marginRight: \"44px\",\n ...typography.HEADLINE6,\n },\n inactiveTitle: {\n color: neutralColors.GRAY4,\n },\n activeTitle: {\n color: primaryColors.BLACK,\n },\n});\n\nexport default styles;\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDialogUtilityClass(slot) {\n return generateUtilityClass('MuiDialog', slot);\n}\nconst dialogClasses = generateUtilityClasses('MuiDialog', ['root', 'scrollPaper', 'scrollBody', 'container', 'paper', 'paperScrollPaper', 'paperScrollBody', 'paperWidthFalse', 'paperWidthXs', 'paperWidthSm', 'paperWidthMd', 'paperWidthLg', 'paperWidthXl', 'paperFullWidth', 'paperFullScreen']);\nexport default dialogClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useId from '@mui/utils/useId';\nimport capitalize from \"../utils/capitalize.js\";\nimport Modal from \"../Modal/index.js\";\nimport Fade from \"../Fade/index.js\";\nimport Paper from \"../Paper/index.js\";\nimport dialogClasses, { getDialogUtilityClass } from \"./dialogClasses.js\";\nimport DialogContext from \"./DialogContext.js\";\nimport Backdrop from \"../Backdrop/index.js\";\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DialogBackdrop = styled(Backdrop, {\n name: 'MuiDialog',\n slot: 'Backdrop',\n overrides: (props, styles) => styles.backdrop\n})({\n // Improve scrollable dialog support.\n zIndex: -1\n});\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n scroll,\n maxWidth,\n fullWidth,\n fullScreen\n } = ownerState;\n const slots = {\n root: ['root'],\n container: ['container', `scroll${capitalize(scroll)}`],\n paper: ['paper', `paperScroll${capitalize(scroll)}`, `paperWidth${capitalize(String(maxWidth))}`, fullWidth && 'paperFullWidth', fullScreen && 'paperFullScreen']\n };\n return composeClasses(slots, getDialogUtilityClass, classes);\n};\nconst DialogRoot = styled(Modal, {\n name: 'MuiDialog',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n '@media print': {\n // Use !important to override the Modal inline-style.\n position: 'absolute !important'\n }\n});\nconst DialogContainer = styled('div', {\n name: 'MuiDialog',\n slot: 'Container',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.container, styles[`scroll${capitalize(ownerState.scroll)}`]];\n }\n})({\n height: '100%',\n '@media print': {\n height: 'auto'\n },\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n variants: [{\n props: {\n scroll: 'paper'\n },\n style: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n }\n }, {\n props: {\n scroll: 'body'\n },\n style: {\n overflowY: 'auto',\n overflowX: 'hidden',\n textAlign: 'center',\n '&::after': {\n content: '\"\"',\n display: 'inline-block',\n verticalAlign: 'middle',\n height: '100%',\n width: '0'\n }\n }\n }]\n});\nconst DialogPaper = styled(Paper, {\n name: 'MuiDialog',\n slot: 'Paper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.paper, styles[`scrollPaper${capitalize(ownerState.scroll)}`], styles[`paperWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles.paperFullWidth, ownerState.fullScreen && styles.paperFullScreen];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 32,\n position: 'relative',\n overflowY: 'auto',\n '@media print': {\n overflowY: 'visible',\n boxShadow: 'none'\n },\n variants: [{\n props: {\n scroll: 'paper'\n },\n style: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'calc(100% - 64px)'\n }\n }, {\n props: {\n scroll: 'body'\n },\n style: {\n display: 'inline-block',\n verticalAlign: 'middle',\n textAlign: 'initial'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.maxWidth,\n style: {\n maxWidth: 'calc(100% - 64px)'\n }\n }, {\n props: {\n maxWidth: 'xs'\n },\n style: {\n maxWidth: theme.breakpoints.unit === 'px' ? Math.max(theme.breakpoints.values.xs, 444) : `max(${theme.breakpoints.values.xs}${theme.breakpoints.unit}, 444px)`,\n [`&.${dialogClasses.paperScrollBody}`]: {\n [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2)]: {\n maxWidth: 'calc(100% - 64px)'\n }\n }\n }\n }, ...Object.keys(theme.breakpoints.values).filter(maxWidth => maxWidth !== 'xs').map(maxWidth => ({\n props: {\n maxWidth\n },\n style: {\n maxWidth: `${theme.breakpoints.values[maxWidth]}${theme.breakpoints.unit}`,\n [`&.${dialogClasses.paperScrollBody}`]: {\n [theme.breakpoints.down(theme.breakpoints.values[maxWidth] + 32 * 2)]: {\n maxWidth: 'calc(100% - 64px)'\n }\n }\n }\n })), {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n width: 'calc(100% - 64px)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullScreen,\n style: {\n margin: 0,\n width: '100%',\n maxWidth: '100%',\n height: '100%',\n maxHeight: 'none',\n borderRadius: 0,\n [`&.${dialogClasses.paperScrollBody}`]: {\n margin: 0,\n maxWidth: '100%'\n }\n }\n }]\n})));\n\n/**\n * Dialogs are overlaid modal paper based components with a backdrop.\n */\nconst Dialog = /*#__PURE__*/React.forwardRef(function Dialog(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDialog'\n });\n const theme = useTheme();\n const defaultTransitionDuration = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n 'aria-describedby': ariaDescribedby,\n 'aria-labelledby': ariaLabelledbyProp,\n 'aria-modal': ariaModal = true,\n BackdropComponent,\n BackdropProps,\n children,\n className,\n disableEscapeKeyDown = false,\n fullScreen = false,\n fullWidth = false,\n maxWidth = 'sm',\n onBackdropClick,\n onClick,\n onClose,\n open,\n PaperComponent = Paper,\n PaperProps = {},\n scroll = 'paper',\n TransitionComponent = Fade,\n transitionDuration = defaultTransitionDuration,\n TransitionProps,\n ...other\n } = props;\n const ownerState = {\n ...props,\n disableEscapeKeyDown,\n fullScreen,\n fullWidth,\n maxWidth,\n scroll\n };\n const classes = useUtilityClasses(ownerState);\n const backdropClick = React.useRef();\n const handleMouseDown = event => {\n // We don't want to close the dialog when clicking the dialog content.\n // Make sure the event starts and ends on the same DOM element.\n backdropClick.current = event.target === event.currentTarget;\n };\n const handleBackdropClick = event => {\n if (onClick) {\n onClick(event);\n }\n\n // Ignore the events not coming from the \"backdrop\".\n if (!backdropClick.current) {\n return;\n }\n backdropClick.current = null;\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n if (onClose) {\n onClose(event, 'backdropClick');\n }\n };\n const ariaLabelledby = useId(ariaLabelledbyProp);\n const dialogContextValue = React.useMemo(() => {\n return {\n titleId: ariaLabelledby\n };\n }, [ariaLabelledby]);\n return /*#__PURE__*/_jsx(DialogRoot, {\n className: clsx(classes.root, className),\n closeAfterTransition: true,\n components: {\n Backdrop: DialogBackdrop\n },\n componentsProps: {\n backdrop: {\n transitionDuration,\n as: BackdropComponent,\n ...BackdropProps\n }\n },\n disableEscapeKeyDown: disableEscapeKeyDown,\n onClose: onClose,\n open: open,\n ref: ref,\n onClick: handleBackdropClick,\n ownerState: ownerState,\n ...other,\n children: /*#__PURE__*/_jsx(TransitionComponent, {\n appear: true,\n in: open,\n timeout: transitionDuration,\n role: \"presentation\",\n ...TransitionProps,\n children: /*#__PURE__*/_jsx(DialogContainer, {\n className: clsx(classes.container),\n onMouseDown: handleMouseDown,\n ownerState: ownerState,\n children: /*#__PURE__*/_jsx(DialogPaper, {\n as: PaperComponent,\n elevation: 24,\n role: \"dialog\",\n \"aria-describedby\": ariaDescribedby,\n \"aria-labelledby\": ariaLabelledby,\n \"aria-modal\": ariaModal,\n ...PaperProps,\n className: clsx(classes.paper, PaperProps.className),\n ownerState: ownerState,\n children: /*#__PURE__*/_jsx(DialogContext.Provider, {\n value: dialogContextValue,\n children: children\n })\n })\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Dialog.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The id(s) of the element(s) that describe the dialog.\n */\n 'aria-describedby': PropTypes.string,\n /**\n * The id(s) of the element(s) that label the dialog.\n */\n 'aria-labelledby': PropTypes.string,\n /**\n * Informs assistive technologies that the element is modal.\n * It's added on the element with role=\"dialog\".\n * @default true\n */\n 'aria-modal': PropTypes.oneOfType([PropTypes.oneOf(['false', 'true']), PropTypes.bool]),\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.\n * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.\n * @default styled(Backdrop, {\n * name: 'MuiModal',\n * slot: 'Backdrop',\n * overridesResolver: (props, styles) => {\n * return styles.backdrop;\n * },\n * })({\n * zIndex: -1,\n * })\n */\n BackdropComponent: PropTypes.elementType,\n /**\n * @ignore\n */\n BackdropProps: PropTypes.object,\n /**\n * Dialog children, usually the included sub-components.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, hitting escape will not fire the `onClose` callback.\n * @default false\n */\n disableEscapeKeyDown: PropTypes.bool,\n /**\n * If `true`, the dialog is full-screen.\n * @default false\n */\n fullScreen: PropTypes.bool,\n /**\n * If `true`, the dialog stretches to `maxWidth`.\n *\n * Notice that the dialog width grow is limited by the default margin.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * Determine the max-width of the dialog.\n * The dialog width grows with the size of the screen.\n * Set to `false` to disable `maxWidth`.\n * @default 'sm'\n */\n maxWidth: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), PropTypes.string]),\n /**\n * Callback fired when the backdrop is clicked.\n * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.\n */\n onBackdropClick: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The component used to render the body of the dialog.\n * @default Paper\n */\n PaperComponent: PropTypes.elementType,\n /**\n * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.\n * @default {}\n */\n PaperProps: PropTypes.object,\n /**\n * Determine the container for scrolling the dialog.\n * @default 'paper'\n */\n scroll: PropTypes.oneOf(['body', 'paper']),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Fade\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default Dialog;","import { neutralColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n containerPaper: {\n backgroundColor: neutralColors.GRAY0,\n padding: \"32px\",\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React, { useContext } from \"react\";\n\nimport { Dialog, DialogProps, ModalProps } from \"@mui/material\";\nimport ModalContext, { ModalHistoryEntry } from \"contexts/ModalContext\";\nimport { classes } from \"typestyle\";\n\nimport { dialogTitleId } from \"./Header\";\nimport styles from \"./Modal.styles\";\n\nexport type CustomizableDialogProps = Omit<ModalProps, \"children\" | \"open\"> &\n Pick<\n DialogProps & { disableBackdropClick?: boolean },\n | \"className\"\n | \"disableBackdropClick\"\n | \"disableEscapeKeyDown\"\n | \"disableEnforceFocus\"\n | \"maxWidth\"\n | \"BackdropProps\"\n | \"PaperProps\"\n > & {\n paperClassName?: string;\n };\n\nexport const unclosableDialogProps: CustomizableDialogProps = {\n disableBackdropClick: true,\n disableEscapeKeyDown: true,\n};\n\n/**\n * You shouldn't directly render this component. To open and manage a modal use the `openModal` function from `ModalContext`.\n *\n * @example\n * const { openModal, closeModal } = useContext(ModalContext);\n * openModal(<div>content</div>, props)\n */\nexport default function PulseModal({\n history,\n}: {\n history: ModalHistoryEntry[];\n}) {\n const { closeModal } = useContext(ModalContext);\n\n return (\n <>\n {history.map(\n (\n {\n content,\n props: {\n paperClassName,\n disableBackdropClick,\n disableEscapeKeyDown,\n ...props\n },\n },\n i\n ) => {\n const isLast = i === history.length - 1;\n\n return (\n <Dialog\n key={i}\n open={isLast}\n onClose={(_, reason) => {\n if (\n (reason === \"backdropClick\" && disableBackdropClick) ||\n (reason === \"escapeKeyDown\" && disableEscapeKeyDown)\n ) {\n return false;\n }\n closeModal();\n }}\n classes={{\n root: props.className,\n paper: classes(styles.containerPaper, paperClassName),\n }}\n aria-labelledby={dialogTitleId}\n {...props}\n >\n {content}\n </Dialog>\n );\n }\n )}\n </>\n );\n}\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n ModalHeader: {\n position: \"relative\",\n marginBottom: px(32),\n },\n title: {\n paddingRight: \"16px\",\n wordWrap: \"break-word\",\n },\n closeButtonContainer: {\n position: \"absolute\",\n top: 0,\n right: 0,\n },\n closeButton: {\n color: neutralColors.GRAY5,\n width: \"14px\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./ModalHeaderStyles\";\n\ninterface ModalHeaderProps {\n title?: string;\n onClose?: () => void;\n}\n\n/**\n * @deprecated use the ModalHeader component that uses MUI instead.\n */\nexport default function ModalHeader({\n title,\n onClose = () => {},\n}: ModalHeaderProps) {\n return (\n <div className={styles.ModalHeader}>\n <div className={styles.title}>\n {title && <span className={style(typography.HEADLINE6)}>{title}</span>}\n </div>\n\n <div\n className={classes(styles.closeButtonContainer, style(clickable))}\n onClick={onClose}\n >\n <SvgIcon src=\"/icons/close_icon.svg\" className={styles.closeButton} />\n </div>\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n dropdown: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n width: px(240),\n height: px(316),\n borderRadius: px(8),\n background: neutralColors.GRAY0,\n },\n search: {\n margin: \"15px 12px\",\n borderRadius: px(3),\n height: px(33),\n background: primaryColors.WHITE,\n },\n icon: {\n margin: px(6),\n width: px(17),\n color: neutralColors.GRAY5,\n },\n buttons: {\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row-reverse\",\n height: px(50),\n background: primaryColors.WHITE,\n paddingLeft: \"8px\",\n paddingRight: \"8px\",\n },\n list: {\n flex: 1,\n overflowY: \"scroll\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport {\n Checkbox,\n Divider,\n Input,\n InputAdornment,\n List,\n ListItem,\n ListItemText,\n} from \"@mui/material\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport Button from \"components/ui/Button\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport { SelectOption } from \"components/ui/FormSelect\";\nimport selectStyles from \"components/ui/FormSelect/FormSelect.styles\";\nimport InformationIcon from \"components/ui/InformationIcon\";\nimport { CheckablePair } from \"components/ui/MultiSelect/MultiSelect\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { coloredDot } from \"shared/styles/styles\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./Body.styles\";\n\nexport type MultiSelectOption = CheckablePair & SelectOption;\n\ntype MultiSelectBodyProps = {\n setSearch: (newValue: string) => void;\n filteredItems: MultiSelectOption[];\n toggleChecked: (item: MultiSelectOption) => void;\n isLoading?: boolean;\n buttons?: ButtonProps[];\n className?: string;\n title?: React.ReactNode;\n disableSearch?: boolean;\n onClose?: () => void;\n};\n\n// forwardRef required so it can be closed by other React components (eg.: <ClickawayListener/>)\nconst Body = React.forwardRef<HTMLDivElement, MultiSelectBodyProps>(\n (\n {\n filteredItems,\n setSearch,\n toggleChecked,\n isLoading,\n buttons,\n className,\n title,\n disableSearch,\n onClose,\n },\n ref\n ) => {\n return (\n <div className={classes(styles.dropdown, className)} ref={ref}>\n {title}\n {!disableSearch && (\n <Input\n disableUnderline\n className={styles.search}\n placeholder={\"Search\"}\n onChange={(event) => setSearch(event.target.value)}\n endAdornment={\n <InputAdornment position=\"end\">\n <SvgIcon src=\"/icons/search_icon.svg\" className={styles.icon} />\n </InputAdornment>\n }\n />\n )}\n {isLoading ? (\n <Loading isWindowed />\n ) : (\n <List className={styles.list}>\n {filteredItems.map((item) => (\n <ListItem key={item.id}>\n <Checkbox\n checked={item.checked}\n onChange={() => toggleChecked(item)}\n />\n {item.color && (\n <div\n className={classes(\n style(\n coloredDot({\n size: \"10px\",\n color: item.color,\n marginRight: \"12px\",\n marginLeft: \"8px\",\n flex: \"0 0 10px\",\n })\n )\n )}\n />\n )}\n <ListItemText\n classes={{ root: style({ flex: \"unset\" }) }}\n primary={item.name}\n />\n {item.info && (\n <InformationIcon\n title={item.info}\n wrapperClassName={selectStyles.informationIconWrapper}\n iconClassName={selectStyles.informationIcon}\n />\n )}\n </ListItem>\n ))}\n </List>\n )}\n <Divider variant=\"middle\" />\n <div\n className={classes(\n styles.buttons,\n ...(buttons?.length && buttons.length > 1\n ? [style({ justifyContent: \"space-evenly\" })]\n : [])\n )}\n >\n {buttons?.map((props, i) => (\n <Button\n key={i}\n {...props}\n onClick={(e) => {\n if (onClose) {\n onClose();\n }\n if (props.onClick) {\n props.onClick(e);\n }\n }}\n />\n ))}\n </div>\n </div>\n );\n }\n);\n\nexport default Body;\n","import React, { useRef } from \"react\";\n\nimport { ClickAwayListener, Popover } from \"@mui/material\";\nimport Button, { ButtonProps } from \"components/ui/Button\";\nimport { SelectOption } from \"components/ui/FormSelect\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport useMultiSelect from \"hooks/useMultiSelect\";\nimport { getExpandableIconSource } from \"shared/constants/icons\";\nimport { Pair } from \"shared/model\";\nimport { classes, style } from \"typestyle\";\n\nimport Body from \"./Body\";\n\nimport styles from \"./MultiSelectStyles\";\n\nexport type MultiSelectProps = {\n label?: string;\n options: SelectOption[];\n selectedIds: string[];\n onChange?: (selectedIds: string[]) => void;\n onClose?: (selectedIds: string[]) => void;\n className?: string;\n isLoading?: boolean;\n disableSearch?: boolean;\n bodyClassName?: string;\n fullWidthList?: boolean;\n iconButton?: React.ReactNode;\n isSelectAllAllowed?: boolean;\n countHidden?: boolean;\n buttonClassName?: string;\n isFullWidhtButton?: boolean;\n};\n\nexport interface CheckablePair extends Pair {\n checked: boolean;\n}\n\nexport default function MultiSelect({\n label,\n options,\n selectedIds,\n onChange = () => {},\n onClose = () => {},\n className,\n isLoading,\n disableSearch,\n bodyClassName,\n fullWidthList,\n iconButton,\n isSelectAllAllowed,\n countHidden,\n buttonClassName,\n isFullWidhtButton = true,\n}: MultiSelectProps) {\n const [popoverAnchorEl, setPopoverAnchorEl] =\n React.useState<HTMLElement | null>(null);\n\n const {\n setSearch,\n filteredItems,\n selectedItemsCount,\n items,\n clearChecked,\n toggleChecked,\n toggleAllChecked,\n } = useMultiSelect({\n onChange,\n options,\n selectedIds,\n });\n\n function openDropDown(e: React.MouseEvent<HTMLInputElement>) {\n setPopoverAnchorEl(e.currentTarget);\n }\n\n function closeDropDown() {\n setSearch(\"\");\n setPopoverAnchorEl(null);\n }\n\n const containerEl = useRef<HTMLDivElement>(null);\n const containerWidth = containerEl?.current?.offsetWidth || 0;\n\n const popoverOpen = Boolean(popoverAnchorEl);\n\n return (\n <div\n onClick={openDropDown}\n className={classes(\n styles.MultiSelect,\n isFullWidhtButton && styles.fullWidth,\n className\n )}\n >\n <Button\n variant=\"transparent\"\n color=\"gray\"\n fullWidth\n className={classes(styles.button, buttonClassName)}\n ref={containerEl}\n >\n {(label || !countHidden) && (\n <div className={styles.text}>\n {label && <div className={styles.name}>{label}</div>}\n {selectedItemsCount > 0 && !countHidden && (\n <span className={styles.filterCount}>{selectedItemsCount}</span>\n )}\n </div>\n )}\n {iconButton || (\n <SvgIcon\n className={styles.arrowDown}\n src={getExpandableIconSource(!!popoverAnchorEl)}\n />\n )}\n </Button>\n {popoverOpen && (\n <Popover\n anchorEl={popoverAnchorEl}\n open={popoverOpen}\n elevation={0}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n onClose={() =>\n onClose(items.filter((item) => item.checked).map((item) => item.id))\n }\n >\n <ClickAwayListener onClickAway={closeDropDown}>\n <Body\n className={classes(\n bodyClassName,\n ...(fullWidthList ? style({ width: containerWidth }) : [])\n )}\n disableSearch={disableSearch}\n setSearch={setSearch}\n filteredItems={filteredItems}\n toggleChecked={toggleChecked}\n isLoading={isLoading}\n buttons={\n isSelectAllAllowed\n ? [\n {\n variant: \"transparent\",\n color: \"orange\",\n onClick: () => {\n if (selectedItemsCount === items.length) {\n clearChecked();\n } else {\n toggleAllChecked();\n }\n },\n children: <span>Select all</span>,\n } as ButtonProps,\n ]\n : [\n {\n variant: \"transparent\",\n className: styles.clearButton,\n onClick: clearChecked,\n children: (\n <>\n <SvgIcon\n className={styles.closeIcon}\n src=\"/icons/close_icon.svg\"\n />\n <span className={styles.clearButton}>Clear</span>\n </>\n ),\n } as ButtonProps,\n ]\n }\n />\n </ClickAwayListener>\n </Popover>\n )}\n </div>\n );\n}\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nconst downIconSize = \"12px\";\n\nconst styles = stylesheet({\n MultiSelect: {\n display: \"inline-block\",\n },\n button: {\n backgroundColor: neutralColors.GRAY0,\n justifyContent: \"space-between\",\n },\n text: {\n whiteSpace: \"nowrap\",\n display: \"flex\",\n width: `calc(100% - ${downIconSize})`,\n },\n name: {\n textAlign: \"start\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n display: \"inline-block\",\n },\n arrowDown: {\n width: downIconSize,\n height: downIconSize,\n flexBasis: downIconSize,\n flexShrink: 0,\n },\n filterCount: {\n marginLeft: px(8),\n color: utilityColors.ORANGE,\n },\n clearButton: {\n color: neutralColors.GRAY5,\n margin: px(4),\n },\n closeIcon: {\n margin: px(8),\n width: px(13),\n color: neutralColors.GRAY5,\n textAlign: \"center\",\n },\n fullWidth: {\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\n\nimport {\n ButtonBase,\n Checkbox,\n Grid2,\n List,\n ListItem,\n ListItemText,\n Popover,\n} from \"@mui/material\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport Avatar, { AvatarProps } from \"components/ui/Avatar\";\nimport Button from \"components/ui/Button\";\nimport { ButtonColors, ButtonProps } from \"components/ui/Button/Button\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { Pair } from \"shared/model\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./MultiSelectListStyles\";\n\ntype WithAvatarProps<T> = T & { avatar?: AvatarProps };\n\nexport type MultiSelectListProps = {\n placeholder: string;\n options: WithAvatarProps<\n Pair & { disabled?: boolean | ((id: string) => boolean | undefined) }\n >[];\n disabledReason?: string;\n selectedIds?: string[];\n actions?: Action[];\n disableUncheck?: boolean;\n className?: string;\n multiple?: boolean;\n isLoading?: boolean;\n asPopover?: boolean;\n emptyContent?: React.ReactNode;\n actionsClassName?: string;\n showArrow?: boolean;\n};\n\ntype Action = Omit<\n ButtonProps,\n \"onClick\" | \"children\" | \"color\" | \"variant\" | \"disabled\"\n> & {\n /** Default \"normal\" */\n variant?: ButtonProps[\"variant\"];\n label: string;\n icon?: string;\n color: ButtonColors;\n onClick: (selectedIds: Pair[]) => void;\n disabled?: (selectedIds: string[]) => boolean | boolean;\n closeOnClick?: boolean;\n};\n\ninterface CheckablePair extends Pair {\n disabled?: boolean | ((id: string) => boolean | undefined);\n checked: boolean;\n}\n\n/**\n * Ref is passed down to the underlying Popover content when \"asPopover\" is used.\n */\nexport default React.forwardRef<HTMLDivElement, MultiSelectListProps>(\n function MultiSelectList(\n {\n placeholder,\n options,\n selectedIds,\n disabledReason,\n actions = [],\n disableUncheck = false,\n className,\n multiple = true,\n isLoading,\n asPopover,\n emptyContent,\n actionsClassName,\n showArrow = false,\n },\n ref\n ) {\n const headerRef = useRef<HTMLDivElement>(null);\n const [isOpen, setIsOpen] = useState(!!asPopover && !!ref);\n const headerWidth = headerRef?.current?.offsetWidth || 0;\n const [selectionItems, setSelectionItems] = useState<\n WithAvatarProps<CheckablePair>[]\n >([]);\n useEffect(() => {\n //initialization or control from parent\n const initIds = selectedIds || [];\n const newSelectionItems = options.map((item) => {\n const included = initIds.includes(item.id);\n return {\n ...item,\n checked: included,\n disabled: item.disabled || (disableUncheck && included),\n };\n });\n setSelectionItems(newSelectionItems);\n }, [options, selectedIds, disableUncheck]);\n\n function toggleChecked(item: CheckablePair) {\n if (\n typeof item.disabled === \"function\"\n ? item.disabled(item.id)\n : item.disabled\n ) {\n return;\n }\n const newSelectionItems = selectionItems.map((selectionItem) => {\n if (item.id === selectionItem.id) {\n return {\n ...selectionItem,\n checked: !selectionItem.checked,\n };\n }\n return selectionItem;\n });\n setSelectionItems(newSelectionItems);\n }\n\n const ListWrapper = useMemo(\n () =>\n ({ children }: { children: React.ReactElement }) =>\n asPopover && headerRef.current ? (\n <Popover\n open={isOpen}\n onClose={() => setIsOpen(false)}\n anchorEl={headerRef?.current}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n >\n <div style={{ width: headerWidth, overflow: \"hidden\" }} ref={ref}>\n {children}\n </div>\n </Popover>\n ) : (\n <>{children}</>\n ),\n [asPopover, headerWidth, ref, isOpen]\n );\n\n return (\n <div className={classes(styles.multiSelectList, className)}>\n <div>\n <div\n className={classes(\n styles.listHeader,\n !isOpen && styles.closedHeader\n )}\n ref={headerRef}\n onClick={() => setIsOpen((open) => !open)}\n >\n <span\n className={classes(\n styles.listHeaderText,\n style(typography.BODY2)\n )}\n >\n {placeholder}\n </span>\n {showArrow && (\n <SvgIcon\n className={styles.closeIcon}\n src={isOpen ? \"/icons/arrow_up.svg\" : \"/icons/arrow_down.svg\"}\n />\n )}\n </div>\n <ListWrapper>\n <>\n <List className={styles.list}>\n {isLoading && <Loading isWindowed={true} />}\n {!isLoading && !selectionItems.length && emptyContent}\n {selectionItems.map((item) => {\n const disabled =\n typeof item.disabled === \"function\"\n ? item.disabled(item.id)\n : item.disabled;\n\n return (\n <ListItem key={item.id}>\n <ButtonBase disabled={disabled}>\n <Checkbox\n disabled={\n disabled ||\n (!multiple &&\n !!selectionItems.find(\n (otherItem) =>\n otherItem.checked && item.id !== otherItem.id\n ))\n }\n checked={item.checked}\n onChange={() => toggleChecked(item)}\n />\n {item.avatar && (\n <Avatar\n {...item.avatar}\n className={classes(\n styles.avatar,\n item.avatar.className\n )}\n />\n )}\n <ListItemText\n classes={{ secondary: styles.disabledReason }}\n primary={item.name}\n secondary={disabled && disabledReason}\n />\n </ButtonBase>\n </ListItem>\n );\n })}\n </List>\n <Grid2\n container\n spacing={2}\n className={classes(styles.actions, actionsClassName)}\n >\n {actions.map((action, index) => (\n <Grid2 key={index}>\n {/* @ts-expect-error TS 5 upgrade todo */}\n <Button\n {...action}\n variant={action?.variant ?? \"normal\"}\n disabled={\n typeof action.disabled === \"function\"\n ? action.disabled(\n (selectionItems || [])\n .filter((item) => item.checked)\n .map((item) => item.id)\n )\n : action.disabled\n }\n className={classes(action.className)}\n onClick={() => {\n action.onClick(\n selectionItems.filter((item) => item.checked)\n );\n action.closeOnClick && setIsOpen(false);\n }}\n >\n {action.icon && (\n <SvgIcon\n className={styles.closeIcon}\n src=\"/icons/close_icon.svg\"\n />\n )}\n <span className={styles.buttonLabel}>{action.label}</span>\n </Button>\n </Grid2>\n ))}\n </Grid2>\n </>\n </ListWrapper>\n </div>\n </div>\n );\n }\n);\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n multiSelectList: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n },\n listWrapper: {\n borderRadius: px(8),\n background: neutralColors.GRAY0,\n boxSizing: \"border-box\",\n },\n listHeader: {\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: primaryColors.WHITE,\n height: \"40px\",\n border: `${px(1)} solid ${neutralColors.GRAY3}`,\n borderRadius: `${px(8)} ${px(8)} ${px(0)} ${px(0)}`,\n boxSizing: \"border-box\",\n color: neutralColors.GRAY5,\n justifyContent: \"space-between\",\n ...clickable,\n },\n closedHeader: {\n borderRadius: \"8px\",\n },\n listHeaderText: {\n margin: `${px(0)} ${px(15)}`,\n color: neutralColors.GRAY4,\n },\n list: {\n border: `${px(1)} solid ${neutralColors.GRAY3}`,\n flex: 1,\n overflow: \"auto\",\n maxHeight: px(126),\n overflowX: \"hidden\",\n },\n actions: {\n flexDirection: \"row-reverse\",\n paddingTop: \"12px\",\n paddingBottom: \"12px\",\n paddingLeft: \"8px\",\n paddingRight: \"8px\",\n },\n buttonLabel: {\n margin: `${px(0)} ${px(8)}`,\n },\n closeIcon: {\n margin: px(8),\n width: px(13),\n color: neutralColors.GRAY5,\n textAlign: \"center\",\n },\n avatar: {\n width: \"27px\",\n height: \"27px\",\n padding: \"2px\",\n marginRight: \"16px\",\n border: `1px solid ${neutralColors.GRAY3}`,\n },\n disabledReason: {\n ...typography.CAPTION3,\n color: neutralColors.GRAY3,\n },\n arrowIcon: {\n margin: px(8),\n width: px(13),\n color: neutralColors.GRAY5,\n textAlign: \"center\",\n marginLeft: \"auto\",\n marginRight: \"0px\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { neutralColors } from \"@pulsemarket/constants\";\nimport Button, { ButtonProps } from \"components/ui/Button\";\nimport SvgIcon, { SvgIconProps } from \"components/ui/SvgIcon\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, stylesheet } from \"typestyle\";\n\ntype NoContentProps = {\n /** todo could also accept ReactElement<ButtonProps> */\n button?: ButtonProps;\n children?: React.ReactNode;\n icon?: SvgIconProps;\n className?: string;\n};\n\nconst styles = stylesheet({\n root: {\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: \"24px\",\n },\n icon: {\n color: neutralColors.GRAY3,\n maxWidth: \"80px\",\n flexBasis: \"80px\",\n },\n text: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n});\n\nexport default function NoContent({\n className,\n children,\n button,\n icon,\n}: NoContentProps) {\n return (\n <div className={classes(styles.root, className)}>\n {icon && (\n <SvgIcon {...icon} className={classes(styles.icon, icon.className)} />\n )}\n <span className={styles.text}>{children}</span>\n {button && <Button {...button} />}\n </div>\n );\n}\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n container: {\n background: neutralColors.GRAY0,\n border: `1px solid ${neutralColors.GRAY3}`,\n borderRadius: \"8px\",\n height: \"100%\",\n padding: \"24px\",\n },\n sideBarContainer: {\n height: \"100%\",\n },\n rightSide: {\n height: \"100%\",\n flexWrap: \"nowrap\",\n },\n mainContentContainer: {\n background: neutralColors.GRAY1,\n border: `1px solid ${neutralColors.GRAY2}`,\n borderRadius: \"8px\",\n flex: \"1 1 auto\", // take up remaining space\n overflowY: \"auto\",\n },\n mainContent: {\n padding: \"32px\",\n height: \"100%\",\n },\n});\n","import React, { useMemo } from \"react\";\n\nimport { Grid2 } from \"@mui/material\";\nimport { ButtonForModalWithSelectableItems } from \"components/assets/RepositoryModal\";\nimport Button from \"components/ui/Button\";\nimport { useListContext } from \"contexts/List/ListProvider\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./PageLayoutWithSidebarAndActions.styles\";\n\ntype PageLayoutWithSidebarAndActionsProps<T> = {\n children?: React.ReactNode;\n sidebar?: React.ReactNode;\n header?: React.ReactNode;\n footer?: React.ReactNode;\n /** Use for views that are openable in a Modal (eg. Asset Repository). Must be wrapped with a ListContext. */\n actions?: ButtonForModalWithSelectableItems<T>[];\n className?: string;\n childClasses?: {\n sideBar?: string;\n mainContent?: string;\n };\n};\n\n/* todo reuse on\n - pulse page\n - rfp\n - company account\n*/\n\nexport default function PageLayoutWithSidebarAndActions<T>({\n children,\n sidebar,\n header,\n footer,\n actions,\n className,\n childClasses,\n}: PageLayoutWithSidebarAndActionsProps<T>) {\n const hasActions = actions && !!actions.length;\n const { listData } = useListContext<T & { selected?: boolean }>();\n\n const selectedItems = useMemo(\n () => listData.filter((item) => item.selected),\n [listData]\n );\n\n return (\n <Grid2\n container\n direction=\"column\"\n className={classes(\n styles.container,\n hasActions &&\n style({\n paddingBottom: \"50px\",\n }),\n className\n )}\n wrap=\"nowrap\"\n >\n <Grid2\n container\n direction=\"row\"\n spacing={2}\n className={style({\n height: !hasActions ? \"100%\" : \"calc(100% - 25px)\",\n })}\n >\n {sidebar && (\n <Grid2\n container\n size={{ xs: 2 }}\n className={classes(styles.sideBarContainer, childClasses?.sideBar)}\n >\n {sidebar}\n </Grid2>\n )}\n <Grid2\n size={{ xs: sidebar ? 10 : 12 }}\n container\n direction=\"column\"\n className={styles.rightSide}\n >\n {header && <Grid2>{header}</Grid2>}\n <Grid2 className={styles.mainContentContainer}>\n <div\n className={classes(styles.mainContent, childClasses?.mainContent)}\n >\n {children}\n </div>\n </Grid2>\n {footer && <Grid2>{footer}</Grid2>}\n </Grid2>\n </Grid2>\n {hasActions ? (\n <Grid2 container justifyContent=\"flex-end\" spacing={2}>\n {actions.map(\n ({ onClick, disabled, disableIfNoItemsSelected, ...action }) => {\n return (\n <Grid2 key={action.text}>\n {/* @ts-expect-error TS 5 upgrade todo */}\n <Button\n onClick={() => {\n onClick(selectedItems);\n }}\n disabled={\n (disableIfNoItemsSelected && !selectedItems.length) ||\n disabled\n }\n {...action}\n >\n {action.text}\n </Button>\n </Grid2>\n );\n }\n )}\n </Grid2>\n ) : null}\n </Grid2>\n );\n}\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n container: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n titleContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n title: {\n ...typography.BODY2,\n },\n label: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n image: { marginRight: \"12px\" },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport Avatar from \"components/ui/Avatar\";\n\nimport styles from \"./RadioLabel.styles\";\n\nexport type RadioLabelProps = {\n title: string;\n image?: string;\n label?: string;\n};\n\nexport default function RadioLabel({\n title,\n label,\n image,\n}: RadioLabelProps): JSX.Element {\n return (\n <div className={styles.container}>\n {image && <Avatar src={image} size=\"24\" className={styles.image} />}\n <div className={styles.titleContainer}>\n <div className={styles.title}>{title}</div>\n {label && <span className={styles.label}>{label}</span>}\n </div>\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: { display: \"flex\", flexDirection: \"column\", gap: \"12px\" },\n choiceWrapper: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"8px\",\n border: `1px solid ${neutralColors.GRAY0}`,\n },\n choiceLabelRoot: {\n marginLeft: \"unset\",\n marginRight: \"unset\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport {\n FormControlLabel,\n Radio,\n RadioGroup,\n RadioGroupProps,\n RadioProps,\n} from \"@mui/material\";\nimport { RadioLabelProps } from \"components/ui/RadioButton/RadioLabel\";\nimport RadioLabel from \"components/ui/RadioButton/RadioLabel\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./PulseRadioGroup.styles\";\n\nexport type RadioChoice = RadioLabelProps & RadioProps;\n\ntype PulseRadioGroupProps = RadioGroupProps & {\n className?: string;\n choices: RadioChoice[];\n classes?: RadioGroupProps[\"classes\"] & {\n choiceWrapper?: string;\n };\n};\n\nconst RadioButtonGroup = ({\n choices,\n value,\n onChange,\n className,\n classes: classesProp,\n ...props\n}: PulseRadioGroupProps) => {\n const { choiceWrapper, ...rootClasses } = classesProp || {};\n return (\n <RadioGroup\n value={value}\n onChange={onChange}\n className={classes(styles.root, className)}\n classes={rootClasses}\n {...props}\n >\n {choices.map((choice) => (\n <FormControlLabel\n disabled={choice.disabled}\n classes={{ root: styles.choiceLabelRoot }}\n className={classes(styles.choiceWrapper, classesProp?.choiceWrapper)}\n key={choice.id}\n value={choice.id}\n control={<Radio />}\n label={<RadioLabel {...choice} />}\n />\n ))}\n </RadioGroup>\n );\n};\n\nexport default RadioButtonGroup;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n iconSmall: {\n height: \"22px\",\n width: \"22px\",\n },\n searchIcon: {\n height: \"16px\",\n width: \"16px\",\n color: neutralColors.GRAY5,\n $nest: {\n \"&.small\": {\n height: \"22px\",\n width: \"22px\",\n },\n },\n },\n search: {\n width: \"235px\",\n marginLeft: \"8px\",\n },\n searchUnderLine: {\n $nest: {\n \"&:before\": {\n borderBottom: `1px solid ${neutralColors.GRAY5}`,\n },\n \"&:after\": {\n borderBottom: `2px solid ${neutralColors.GRAY5}`,\n },\n \"&:hover:before\": {\n borderBottom: `2px solid ${neutralColors.GRAY5}`,\n },\n },\n },\n popoverContainer: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n padding: \"12px\",\n background: neutralColors.GRAY0,\n border: `1px solid ${neutralColors.GRAY3}`,\n borderBottomLeftRadius: \"4px\",\n borderBottomRightRadius: \"4px\",\n borderTop: 0,\n },\n});\n\nexport default styles;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport {\n Grid2,\n IconButton,\n InputAdornment,\n Popover,\n TextField,\n} from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon/SvgIcon\";\nimport { heights } from \"shared/styles/height\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./SearchbarStyles\";\n\ntype SearchbarProps = {\n // todo add className prop(s)\n visible?: boolean;\n onSearch?: (text: string) => void;\n onClose?: () => void;\n initialValue?: string;\n placeholder?: string;\n searchOnChange?: boolean;\n};\n\n// todo make popover optional - currently this is only used on supplier search\nexport default function Searchbar({\n onSearch = () => {},\n onClose = () => {},\n initialValue = \"\",\n placeholder = \"Search by keyword\",\n searchOnChange = false,\n}: SearchbarProps) {\n const [value, setValue] = useState(initialValue);\n const [visible, setVisible] = useState(false);\n\n const [popoverExplicitlyClosed, setPopoverExplicitlyClosed] =\n useState<boolean>(false);\n\n const containerEl = useRef<HTMLDivElement>(null);\n const containerWidth = containerEl?.current?.offsetWidth || 0;\n\n const popoverOpen =\n !popoverExplicitlyClosed && containerEl && initialValue !== value;\n\n useEffect(() => {\n setValue(initialValue);\n }, [initialValue]);\n\n return (\n <Grid2\n container\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n ref={containerEl}\n >\n <IconButton\n onClick={() => {\n if (visible) {\n onSearch(value);\n return;\n }\n setVisible(true);\n }}\n >\n <SvgIcon\n src=\"/icons/search_icon.svg\"\n className={classes(styles.searchIcon, visible && styles.iconSmall)}\n />\n </IconButton>\n {visible && (\n <>\n <form\n onSubmit={(e) => {\n e.preventDefault();\n onSearch(value);\n }}\n >\n <TextField\n variant=\"filled\"\n autoFocus\n placeholder={placeholder}\n className={styles.search}\n value={value}\n onBlur={() => {\n if (!value) {\n setVisible(false);\n onSearch(value);\n }\n }}\n onChange={(e) => {\n setPopoverExplicitlyClosed(false);\n\n if (searchOnChange) {\n onSearch(e.target.value);\n }\n\n setValue((e.target as HTMLInputElement).value);\n }}\n InputProps={{\n classes: {\n root: style(\n { height: heights.FIELD_SMALLEST, paddingLeft: \"8px\" },\n typography.CAPTION\n ),\n underline: styles.searchUnderLine,\n },\n endAdornment: (\n <InputAdornment position=\"end\">\n <IconButton\n size=\"small\"\n className={style({ width: \"19px\", height: \"19px\" })}\n onClick={() => {\n setVisible(false);\n setValue(initialValue); // Reset the searchbar\n onClose();\n }}\n >\n <SvgIcon\n src=\"/icons/close_icon.svg\"\n className={style({ width: \"13px\" })}\n />\n </IconButton>\n </InputAdornment>\n ),\n }}\n />\n </form>\n\n {!searchOnChange && (\n <Popover\n disableAutoFocus\n disableEnforceFocus\n open={popoverOpen}\n onClose={() => setPopoverExplicitlyClosed(true)}\n anchorEl={containerEl.current}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n PaperProps={{\n style: { marginTop: \"-8px\" },\n elevation: 0,\n }}\n >\n <div\n style={{ width: containerWidth }}\n className={styles.popoverContainer}\n >\n Press enter to view all results\n </div>\n </Popover>\n )}\n </>\n )}\n </Grid2>\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n sideMenuRoot: {\n height: \"100%\",\n maxWidth: \"100%\",\n backgroundColor: primaryColors.WHITE,\n flex: 1,\n borderRadius: \"8px\",\n padding: \"8px\",\n },\n titleContainer: {\n alignItems: \"center\",\n paddingBottom: \"10px\",\n marginTop: \"16px\",\n },\n titleIcon: {\n color: utilityColors.CYAN,\n width: \"24px\",\n height: \"24px\",\n border: `1px solid ${neutralColors.GRAY3}`,\n borderRadius: \"6px\",\n marginRight: \"12px\",\n },\n title: {\n ...typography.SUBTITLE2,\n color: primaryColors.PURPLE3,\n maxWidth: \"calc(100% - 40px)\",\n // overflowWrap: \"anywhere\",\n },\n menu: {\n width: \"100%\",\n padding: \"0\",\n },\n menuItem: {\n listStyle: \"none\",\n width: \"100%\",\n padding: \"16px\",\n cursor: \"pointer\",\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n $nest: {\n \"&.locked\": {\n backgroundColor: \"unset\",\n },\n },\n },\n \"&.locked\": {\n color: neutralColors.GRAY5,\n },\n },\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n },\n lockIcon: {\n width: \"16px\",\n height: \"16px\",\n color: neutralColors.GRAY5,\n },\n activeMenuItem: {\n backgroundColor: primaryColors.HOVER,\n },\n menuItemText: {\n ...typography.BODY1,\n },\n leftArrow: {\n height: \"16px\",\n marginRight: \"16px\",\n marginLeft: \"16px\",\n },\n});\n","import React from \"react\";\nimport { Link, useHistory, useLocation, useRouteMatch } from \"react-router-dom\";\n\nimport { Divider, Grid2, IconButton } from \"@mui/material\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport Tooltip from \"components/ui/Tooltip\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./SideMenu.styles\";\n\nexport type MenuItem = {\n id: string;\n text: string;\n historyPush: string;\n locked?: boolean;\n message?: string;\n};\n\ntype SideMenuBaseProps = {\n icon?: string;\n title?: React.ReactNode;\n hideDividerUnderTitle?: boolean;\n /** When supplied a back arrow is shown before the title & the icon */\n backArrowUrl?: string;\n className?: string;\n};\n\ntype SideMenuWithItemsProps = SideMenuBaseProps & {\n menuItems: MenuItem[];\n};\n\ntype SideMenuWithCustomContent = SideMenuBaseProps & {\n children: React.ReactNode;\n};\n\ntype SideMenuProps = SideMenuWithItemsProps | SideMenuWithCustomContent;\n\n/**\n * Has 2 variants. When supplied `menuItems` array, it will be a list of menus. If however `children` are passed, only that custom content is rendered.\n */\nexport default function SideMenu({\n icon,\n title,\n backArrowUrl,\n hideDividerUnderTitle,\n className,\n ...variantProps\n}: SideMenuProps) {\n const history = useHistory();\n const { url } = useRouteMatch();\n const location = useLocation();\n\n const showTitleContainer = title || icon || backArrowUrl;\n\n return (\n <div className={classes(styles.sideMenuRoot, className)}>\n {showTitleContainer && (\n <Grid2 container className={styles.titleContainer}>\n {backArrowUrl && (\n <Grid2 size={{ xs: 3 }}>\n <IconButton size=\"small\" component={Link} to={backArrowUrl}>\n <SvgIcon\n src=\"/icons/arrow_back.svg\"\n className={styles.leftArrow}\n />\n </IconButton>\n </Grid2>\n )}\n {icon && (\n <Grid2>\n <img src={icon} className={styles.titleIcon} alt=\"\" />\n </Grid2>\n )}\n {title && (\n <Grid2 size={{ xs: backArrowUrl || icon ? 9 : 12 }}>\n <div className={styles.title}>{title}</div>\n </Grid2>\n )}\n </Grid2>\n )}\n {!hideDividerUnderTitle && <Divider />}\n {\"menuItems\" in variantProps && (\n <ul className={styles.menu}>\n {variantProps.menuItems\n ?.map((i) => ({ ...i, historyPush: `${url}${i.historyPush}` }))\n .map((item) => (\n <li\n key={item.id}\n className={classes(\n styles.menuItem,\n\n location.pathname.includes(item.historyPush) &&\n styles.activeMenuItem,\n item.locked && \"locked\"\n )}\n onClick={() => {\n if (item.locked) {\n return;\n }\n history.push(item.historyPush);\n }}\n >\n <span className={styles.menuItemText}>{item.text}</span>\n {item.locked && (\n <Tooltip\n title={item.message || \"\"}\n className={style({ zIndex: 200 })}\n >\n <span>\n <SvgIcon\n className={styles.lockIcon}\n src=\"/icons/lock_closed_icon.svg\"\n />\n </span>\n </Tooltip>\n )}\n </li>\n ))}\n </ul>\n )}\n {\"children\" in variantProps && variantProps.children}\n </div>\n );\n}\n","import React, { useEffect, useMemo, useState } from \"react\";\n\nimport { ClickAwayListener } from \"@mui/material\";\nimport Select, { SelectProps } from \"components/ui/FormSelect\";\nimport MultiSelectList, {\n MultiSelectListProps,\n} from \"components/ui/MultiSelectList\";\nimport { Pair } from \"shared/model\";\nimport { style } from \"typestyle\";\n\ntype SubSelectProps = SelectProps & {\n multiSelectListProps: Omit<\n MultiSelectListProps,\n \"options\" | \"placeholder\" | \"actions\" | \"isLoading\" | \"selectedIds\"\n > & {\n getSubOptions: (value: string) => Promise<MultiSelectListProps[\"options\"]>; // This could be a promise :/\n };\n onSelect: (selectedItems: Pair[]) => void;\n submitLabel?: string;\n containerClassName?: string;\n};\n\n/**\n * Notes:\n * - after \"addRFPRecipientsThroughSupplierSearch\" feature flag is removed\n * 1. the ref doesn't have to be forwarded\n * 2. div containers around the select and multiselect components can be deleted.\n */\n\n/**\n * Combination of MultiSelect(List) and Select\n */\nexport default React.forwardRef<HTMLDivElement, SubSelectProps>(\n function SubSelect(\n {\n onSelect,\n multiSelectListProps,\n submitLabel,\n containerClassName,\n ...props\n }: SubSelectProps,\n ref\n ) {\n const [value, setValue] = useState<null | string>(null);\n\n const [selectedSubIds, setSelectedSubIds] = useState<string[]>([]);\n\n const [subSelectOptions, setSubSelectOptions] = useState<\n MultiSelectListProps[\"options\"]\n >([]);\n const [subOptionsLoading, setSubOptionsLoading] = useState<boolean>(false);\n\n useEffect(() => {\n async function getSubOptions(value: string) {\n setSubOptionsLoading(true);\n const subOptions = await multiSelectListProps.getSubOptions(value);\n\n setSubSelectOptions(subOptions);\n setSubOptionsLoading(false);\n }\n\n if (!value) {\n return;\n }\n\n getSubOptions(value);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value, multiSelectListProps.getSubOptions]);\n\n const selectableSubOptions = useMemo(\n () =>\n subSelectOptions.filter((item) =>\n typeof item.disabled === \"function\"\n ? !item.disabled(item.id)\n : !item.disabled\n ),\n [subSelectOptions]\n );\n\n const allSelectableSubItemsSelected =\n selectedSubIds.length === selectableSubOptions.length;\n\n const subSelectLabel = useMemo(() => {\n if (!value) {\n return \"\";\n }\n return props.options.find((option) => option.id === value)?.name ?? \"\";\n }, [props.options, value]);\n\n const actionsConfig: Pick<\n MultiSelectListProps,\n \"actions\" | \"actionsClassName\"\n > = useMemo<Pick<MultiSelectListProps, \"actions\" | \"actionsClassName\">>(\n () =>\n !!selectableSubOptions.length\n ? {\n actionsClassName: style({ justifyContent: \"space-between\" }),\n actions: [\n {\n color: \"orange\",\n label: submitLabel || \"Save\",\n disabled: (selectedIds) => !selectedIds.length,\n onClick: (items) => {\n onSelect(items);\n setValue(null);\n },\n },\n {\n variant: \"transparent\",\n color: \"orange\",\n label: allSelectableSubItemsSelected\n ? \"Deselect All\"\n : \"Select all\",\n onClick: () => {\n if (allSelectableSubItemsSelected) {\n setSelectedSubIds([]);\n } else {\n setSelectedSubIds(\n selectableSubOptions.map((option) => option.id)\n );\n }\n },\n },\n ],\n }\n : {\n actions: [\n {\n color: \"orange\",\n label: \"Okay\",\n onClick: () => {\n setValue(null);\n },\n },\n ],\n },\n [\n selectableSubOptions,\n allSelectableSubItemsSelected,\n onSelect,\n submitLabel,\n ]\n );\n\n if (!value) {\n return (\n <div ref={ref} className={containerClassName}>\n <Select\n {...props}\n onChange={(val) => {\n setValue(val);\n setSelectedSubIds([]);\n }}\n />\n </div>\n );\n }\n\n return (\n <div ref={ref} className={containerClassName}>\n <ClickAwayListener onClickAway={() => setValue(null)}>\n <MultiSelectList\n {...multiSelectListProps}\n placeholder={subSelectLabel}\n options={subSelectOptions}\n isLoading={subOptionsLoading}\n actions={actionsConfig.actions}\n selectedIds={selectedSubIds}\n actionsClassName={actionsConfig.actionsClassName}\n />\n </ClickAwayListener>\n </div>\n );\n }\n);\n","var cache = new Map();\nexport default cache;\n//# sourceMappingURL=cache.js.map","var cloneSvg = function (sourceSvg) {\n return sourceSvg.cloneNode(true);\n};\nexport default cloneSvg;\n//# sourceMappingURL=clone-svg.js.map","var isLocal = function () { return window.location.protocol === 'file:'; };\nexport default isLocal;\n//# sourceMappingURL=is-local.js.map","import { parse as parseContentType } from 'content-type';\nimport isLocal from './is-local';\nvar makeAjaxRequest = function (url, httpRequestWithCredentials, callback) {\n var httpRequest = new XMLHttpRequest();\n httpRequest.onreadystatechange = function () {\n try {\n if (!/\\.svg/i.test(url) && httpRequest.readyState === 2) {\n var contentType = httpRequest.getResponseHeader('Content-Type');\n if (!contentType) {\n throw new Error('Content type not found');\n }\n var type = parseContentType(contentType).type;\n if (!(type === 'image/svg+xml' || type === 'text/plain')) {\n throw new Error(\"Invalid content type: \".concat(type));\n }\n }\n if (httpRequest.readyState === 4) {\n if (httpRequest.status === 404 || httpRequest.responseXML === null) {\n throw new Error(isLocal()\n ? 'Note: SVG injection ajax calls do not work locally without ' +\n 'adjusting security settings in your browser. Or consider ' +\n 'using a local webserver.'\n : 'Unable to load SVG file: ' + url);\n }\n if (httpRequest.status === 200 ||\n (isLocal() && httpRequest.status === 0)) {\n callback(null, httpRequest);\n }\n else {\n throw new Error('There was a problem injecting the SVG: ' +\n httpRequest.status +\n ' ' +\n httpRequest.statusText);\n }\n }\n }\n catch (error) {\n httpRequest.abort();\n if (error instanceof Error) {\n callback(error, httpRequest);\n }\n else {\n throw error;\n }\n }\n };\n httpRequest.open('GET', url);\n httpRequest.withCredentials = httpRequestWithCredentials;\n if (httpRequest.overrideMimeType) {\n httpRequest.overrideMimeType('text/xml');\n }\n httpRequest.send();\n};\nexport default makeAjaxRequest;\n//# sourceMappingURL=make-ajax-request.js.map","import cache from './cache';\nimport cloneSvg from './clone-svg';\nvar requestQueue = {};\nexport var clear = function () {\n requestQueue = {};\n};\nexport var queueRequest = function (url, callback) {\n requestQueue[url] = requestQueue[url] || [];\n requestQueue[url].push(callback);\n};\nexport var processRequestQueue = function (url) {\n var _loop_1 = function (i, len) {\n setTimeout(function () {\n if (Array.isArray(requestQueue[url])) {\n var cacheValue = cache.get(url);\n var callback = requestQueue[url][i];\n if (cacheValue instanceof SVGSVGElement) {\n callback(null, cloneSvg(cacheValue));\n }\n if (cacheValue instanceof Error) {\n callback(cacheValue);\n }\n if (i === requestQueue[url].length - 1) {\n delete requestQueue[url];\n }\n }\n }, 0);\n };\n for (var i = 0, len = requestQueue[url].length; i < len; i++) {\n _loop_1(i, len);\n }\n};\n//# sourceMappingURL=request-queue.js.map","import cache from './cache';\nimport cloneSvg from './clone-svg';\nimport makeAjaxRequest from './make-ajax-request';\nimport { processRequestQueue, queueRequest } from './request-queue';\nvar loadSvgCached = function (url, httpRequestWithCredentials, callback) {\n if (cache.has(url)) {\n var cacheValue = cache.get(url);\n if (cacheValue === undefined) {\n queueRequest(url, callback);\n return;\n }\n if (cacheValue instanceof SVGSVGElement) {\n callback(null, cloneSvg(cacheValue));\n return;\n }\n }\n cache.set(url, undefined);\n queueRequest(url, callback);\n makeAjaxRequest(url, httpRequestWithCredentials, function (error, httpRequest) {\n var _a;\n if (error) {\n cache.set(url, error);\n }\n else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {\n cache.set(url, httpRequest.responseXML.documentElement);\n }\n processRequestQueue(url);\n });\n};\nexport default loadSvgCached;\n//# sourceMappingURL=load-svg-cached.js.map","import makeAjaxRequest from './make-ajax-request';\nvar loadSvgUncached = function (url, httpRequestWithCredentials, callback) {\n makeAjaxRequest(url, httpRequestWithCredentials, function (error, httpRequest) {\n var _a;\n if (error) {\n callback(error);\n }\n else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {\n callback(null, httpRequest.responseXML.documentElement);\n }\n });\n};\nexport default loadSvgUncached;\n//# sourceMappingURL=load-svg-uncached.js.map","var idCounter = 0;\nvar uniqueId = function () { return ++idCounter; };\nexport default uniqueId;\n//# sourceMappingURL=unique-id.js.map","import { __spreadArray } from \"tslib\";\nimport loadSvgCached from './load-svg-cached';\nimport loadSvgUncached from './load-svg-uncached';\nimport uniqueId from './unique-id';\nvar injectedElements = [];\nvar ranScripts = {};\nvar svgNamespace = 'http://www.w3.org/2000/svg';\nvar xlinkNamespace = 'http://www.w3.org/1999/xlink';\nvar injectElement = function (el, evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, callback) {\n var elUrl = el.getAttribute('data-src') || el.getAttribute('src');\n if (!elUrl) {\n callback(new Error('Invalid data-src or src attribute'));\n return;\n }\n if (injectedElements.indexOf(el) !== -1) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n return;\n }\n injectedElements.push(el);\n el.setAttribute('src', '');\n var loadSvg = cacheRequests ? loadSvgCached : loadSvgUncached;\n loadSvg(elUrl, httpRequestWithCredentials, function (error, svg) {\n if (!svg) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(error);\n return;\n }\n var elId = el.getAttribute('id');\n if (elId) {\n svg.setAttribute('id', elId);\n }\n var elTitle = el.getAttribute('title');\n if (elTitle) {\n svg.setAttribute('title', elTitle);\n }\n var elWidth = el.getAttribute('width');\n if (elWidth) {\n svg.setAttribute('width', elWidth);\n }\n var elHeight = el.getAttribute('height');\n if (elHeight) {\n svg.setAttribute('height', elHeight);\n }\n var mergedClasses = Array.from(new Set(__spreadArray(__spreadArray(__spreadArray([], (svg.getAttribute('class') || '').split(' '), true), [\n 'injected-svg'\n ], false), (el.getAttribute('class') || '').split(' '), true)))\n .join(' ')\n .trim();\n svg.setAttribute('class', mergedClasses);\n var elStyle = el.getAttribute('style');\n if (elStyle) {\n svg.setAttribute('style', elStyle);\n }\n svg.setAttribute('data-src', elUrl);\n var elData = [].filter.call(el.attributes, function (at) {\n return /^data-\\w[\\w-]*$/.test(at.name);\n });\n Array.prototype.forEach.call(elData, function (dataAttr) {\n if (dataAttr.name && dataAttr.value) {\n svg.setAttribute(dataAttr.name, dataAttr.value);\n }\n });\n if (renumerateIRIElements) {\n var iriElementsAndProperties_1 = {\n clipPath: ['clip-path'],\n 'color-profile': ['color-profile'],\n cursor: ['cursor'],\n filter: ['filter'],\n linearGradient: ['fill', 'stroke'],\n marker: ['marker', 'marker-start', 'marker-mid', 'marker-end'],\n mask: ['mask'],\n path: [],\n pattern: ['fill', 'stroke'],\n radialGradient: ['fill', 'stroke'],\n };\n var element_1;\n var elements_1;\n var properties_1;\n var currentId_1;\n var newId_1;\n Object.keys(iriElementsAndProperties_1).forEach(function (key) {\n element_1 = key;\n properties_1 = iriElementsAndProperties_1[key];\n elements_1 = svg.querySelectorAll(element_1 + '[id]');\n var _loop_1 = function (a, elementsLen) {\n currentId_1 = elements_1[a].id;\n newId_1 = currentId_1 + '-' + uniqueId();\n var referencingElements;\n Array.prototype.forEach.call(properties_1, function (property) {\n referencingElements = svg.querySelectorAll('[' + property + '*=\"' + currentId_1 + '\"]');\n for (var b = 0, referencingElementLen = referencingElements.length; b < referencingElementLen; b++) {\n var attrValue = referencingElements[b].getAttribute(property);\n if (attrValue &&\n !attrValue.match(new RegExp('url\\\\(\"?#' + currentId_1 + '\"?\\\\)'))) {\n continue;\n }\n referencingElements[b].setAttribute(property, 'url(#' + newId_1 + ')');\n }\n });\n var allLinks = svg.querySelectorAll('[*|href]');\n var links = [];\n for (var c = 0, allLinksLen = allLinks.length; c < allLinksLen; c++) {\n var href = allLinks[c].getAttributeNS(xlinkNamespace, 'href');\n if (href && href.toString() === '#' + elements_1[a].id) {\n links.push(allLinks[c]);\n }\n }\n for (var d = 0, linksLen = links.length; d < linksLen; d++) {\n links[d].setAttributeNS(xlinkNamespace, 'href', '#' + newId_1);\n }\n elements_1[a].id = newId_1;\n };\n for (var a = 0, elementsLen = elements_1.length; a < elementsLen; a++) {\n _loop_1(a, elementsLen);\n }\n });\n }\n svg.removeAttribute('xmlns:a');\n var scripts = svg.querySelectorAll('script');\n var scriptsToEval = [];\n var script;\n var scriptType;\n for (var i = 0, scriptsLen = scripts.length; i < scriptsLen; i++) {\n scriptType = scripts[i].getAttribute('type');\n if (!scriptType ||\n scriptType === 'application/ecmascript' ||\n scriptType === 'application/javascript' ||\n scriptType === 'text/javascript') {\n script = scripts[i].innerText || scripts[i].textContent;\n if (script) {\n scriptsToEval.push(script);\n }\n svg.removeChild(scripts[i]);\n }\n }\n if (scriptsToEval.length > 0 &&\n (evalScripts === 'always' ||\n (evalScripts === 'once' && !ranScripts[elUrl]))) {\n for (var l = 0, scriptsToEvalLen = scriptsToEval.length; l < scriptsToEvalLen; l++) {\n new Function(scriptsToEval[l])(window);\n }\n ranScripts[elUrl] = true;\n }\n var styleTags = svg.querySelectorAll('style');\n Array.prototype.forEach.call(styleTags, function (styleTag) {\n styleTag.textContent += '';\n });\n svg.setAttribute('xmlns', svgNamespace);\n svg.setAttribute('xmlns:xlink', xlinkNamespace);\n beforeEach(svg);\n if (!el.parentNode) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(new Error('Parent node is null'));\n return;\n }\n el.parentNode.replaceChild(svg, el);\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(null, svg);\n });\n};\nexport default injectElement;\n//# sourceMappingURL=inject-element.js.map","import { SVGInjector } from '@tanem/svg-injector';\nimport * as PropTypes from 'prop-types';\nimport * as React from 'react';\nimport ownerWindow from './owner-window';\nimport shallowDiffers from './shallow-differs';\nconst svgNamespace = 'http://www.w3.org/2000/svg';\nconst xlinkNamespace = 'http://www.w3.org/1999/xlink';\nclass ReactSVG extends React.Component {\n static defaultProps = {\n afterInjection: () => undefined,\n beforeInjection: () => undefined,\n desc: '',\n evalScripts: 'never',\n fallback: null,\n httpRequestWithCredentials: false,\n loading: null,\n onError: () => undefined,\n renumerateIRIElements: true,\n title: '',\n useRequestCache: true,\n wrapper: 'div',\n };\n static propTypes = {\n afterInjection: PropTypes.func,\n beforeInjection: PropTypes.func,\n desc: PropTypes.string,\n evalScripts: PropTypes.oneOf(['always', 'once', 'never']),\n fallback: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.object,\n PropTypes.string,\n ]),\n httpRequestWithCredentials: PropTypes.bool,\n loading: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.object,\n PropTypes.string,\n ]),\n onError: PropTypes.func,\n renumerateIRIElements: PropTypes.bool,\n src: PropTypes.string.isRequired,\n title: PropTypes.string,\n useRequestCache: PropTypes.bool,\n wrapper: PropTypes.oneOf(['div', 'span', 'svg']),\n };\n initialState = {\n hasError: false,\n isLoading: true,\n };\n state = this.initialState;\n _isMounted = false;\n reactWrapper;\n nonReactWrapper;\n refCallback = (reactWrapper) => {\n this.reactWrapper = reactWrapper;\n };\n renderSVG() {\n /* istanbul ignore else */\n if (this.reactWrapper instanceof ownerWindow(this.reactWrapper).Node) {\n const { desc, evalScripts, httpRequestWithCredentials, renumerateIRIElements, src, title, useRequestCache, } = this.props;\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n const onError = this.props.onError;\n const beforeInjection = this.props.beforeInjection;\n const afterInjection = this.props.afterInjection;\n const wrapper = this.props.wrapper;\n let nonReactWrapper;\n let nonReactTarget;\n if (wrapper === 'svg') {\n nonReactWrapper = document.createElementNS(svgNamespace, wrapper);\n nonReactWrapper.setAttribute('xmlns', svgNamespace);\n nonReactWrapper.setAttribute('xmlns:xlink', xlinkNamespace);\n nonReactTarget = document.createElementNS(svgNamespace, wrapper);\n }\n else {\n nonReactWrapper = document.createElement(wrapper);\n nonReactTarget = document.createElement(wrapper);\n }\n nonReactWrapper.appendChild(nonReactTarget);\n nonReactTarget.dataset.src = src;\n this.nonReactWrapper = this.reactWrapper.appendChild(nonReactWrapper);\n const handleError = (error) => {\n this.removeSVG();\n if (!this._isMounted) {\n onError(error);\n return;\n }\n this.setState(() => ({\n hasError: true,\n isLoading: false,\n }), () => {\n onError(error);\n });\n };\n const afterEach = (error, svg) => {\n if (error) {\n handleError(error);\n return;\n }\n // TODO (Tane): It'd be better to cleanly unsubscribe from SVGInjector\n // callbacks instead of tracking a property like this.\n if (this._isMounted) {\n this.setState(() => ({\n isLoading: false,\n }), () => {\n try {\n afterInjection(svg);\n }\n catch (afterInjectionError) {\n handleError(afterInjectionError);\n }\n });\n }\n };\n const beforeEach = (svg) => {\n svg.setAttribute('role', 'img');\n if (desc) {\n const originalDesc = svg.querySelector(':scope > desc');\n if (originalDesc) {\n svg.removeChild(originalDesc);\n }\n const newDesc = document.createElement('desc');\n newDesc.innerHTML = desc;\n svg.prepend(newDesc);\n }\n if (title) {\n const originalTitle = svg.querySelector(':scope > title');\n if (originalTitle) {\n svg.removeChild(originalTitle);\n }\n const newTitle = document.createElement('title');\n newTitle.innerHTML = title;\n svg.prepend(newTitle);\n }\n try {\n beforeInjection(svg);\n }\n catch (error) {\n handleError(error);\n }\n };\n SVGInjector(nonReactTarget, {\n afterEach,\n beforeEach,\n cacheRequests: useRequestCache,\n evalScripts,\n httpRequestWithCredentials,\n renumerateIRIElements,\n });\n }\n }\n removeSVG() {\n if (this.nonReactWrapper?.parentNode) {\n this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper);\n this.nonReactWrapper = null;\n }\n }\n componentDidMount() {\n this._isMounted = true;\n this.renderSVG();\n }\n componentDidUpdate(prevProps) {\n if (shallowDiffers({ ...prevProps }, this.props)) {\n this.setState(() => this.initialState, () => {\n this.removeSVG();\n this.renderSVG();\n });\n }\n }\n componentWillUnmount() {\n this._isMounted = false;\n this.removeSVG();\n }\n render() {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const { afterInjection, beforeInjection, desc, evalScripts, fallback: Fallback, httpRequestWithCredentials, loading: Loading, renumerateIRIElements, src, title, useRequestCache, wrapper, ...rest } = this.props;\n /* eslint-enable @typescript-eslint/no-unused-vars */\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const Wrapper = wrapper;\n return (React.createElement(Wrapper, { ...rest, ref: this.refCallback, ...(wrapper === 'svg'\n ? {\n xmlns: svgNamespace,\n xmlnsXlink: xlinkNamespace,\n }\n : {}) },\n this.state.isLoading && Loading && React.createElement(Loading, null),\n this.state.hasError && Fallback && React.createElement(Fallback, null)));\n }\n}\nexport { ReactSVG };\n","// Hat-tip: https://github.com/mui/material-ui/tree/master/packages/mui-utils/src.\nconst ownerWindow = (node) => {\n const doc = node?.ownerDocument || document;\n return doc.defaultView || window;\n};\nexport default ownerWindow;\n","import injectElement from './inject-element';\nvar SVGInjector = function (elements, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.afterAll, afterAll = _c === void 0 ? function () { return undefined; } : _c, _d = _b.afterEach, afterEach = _d === void 0 ? function () { return undefined; } : _d, _e = _b.beforeEach, beforeEach = _e === void 0 ? function () { return undefined; } : _e, _f = _b.cacheRequests, cacheRequests = _f === void 0 ? true : _f, _g = _b.evalScripts, evalScripts = _g === void 0 ? 'never' : _g, _h = _b.httpRequestWithCredentials, httpRequestWithCredentials = _h === void 0 ? false : _h, _j = _b.renumerateIRIElements, renumerateIRIElements = _j === void 0 ? true : _j;\n if (elements && 'length' in elements) {\n var elementsLoaded_1 = 0;\n for (var i = 0, j = elements.length; i < j; i++) {\n injectElement(elements[i], evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, function (error, svg) {\n afterEach(error, svg);\n if (elements &&\n 'length' in elements &&\n elements.length === ++elementsLoaded_1) {\n afterAll(elementsLoaded_1);\n }\n });\n }\n }\n else if (elements) {\n injectElement(elements, evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, function (error, svg) {\n afterEach(error, svg);\n afterAll(1);\n elements = null;\n });\n }\n else {\n afterAll(0);\n }\n};\nexport default SVGInjector;\n//# sourceMappingURL=svg-injector.js.map","// Hat-tip: https://github.com/developit/preact-compat/blob/master/src/index.js#L402.\nconst shallowDiffers = (a, b) => {\n for (const i in a) {\n if (!(i in b)) {\n return true;\n }\n }\n for (const i in b) {\n if (a[i] !== b[i]) {\n return true;\n }\n }\n return false;\n};\nexport default shallowDiffers;\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import { percent } from \"csx\";\nimport { style, stylesheet } from \"typestyle\";\n\nexport const svgIconColor = (color?: string, hoverColor?: string) =>\n style({\n $nest: {\n // with currentColor, the fill inherits the color value set, but there are some use cases where color and backgroundColor props are used\n // so we can't remove it yet\n \"&:hover\": {\n $nest: {\n \"& path\": {\n fill: hoverColor || \"currentColor\",\n },\n },\n },\n \"& path\": {\n fill: color || \"currentColor\",\n },\n },\n });\n\nconst styles = stylesheet({\n wrapper: {\n $nest: {\n // react-svg v14 adds two wrappers to the svg, see:\n // https://github.com/tanem/react-svg#faq and https://github.com/tanem/react-svg/blob/master/CHANGELOG.md#v1400-2021-06-08\n \"& > div\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: \"100%\",\n height: \"100%\",\n },\n },\n },\n baseIcon: {\n display: \"block\",\n objectFit: \"cover\",\n objectPosition: \"center\",\n height: percent(100),\n width: percent(100),\n },\n});\n\nexport default styles;\n","import React from \"react\";\nimport { Props as ReactSVGProps, ReactSVG } from \"react-svg\";\n\nimport { classes } from \"typestyle\";\n\nimport styles, { svgIconColor } from \"./SvgIcon.styles\";\n\nexport type SvgIconProps = Exclude<ReactSVGProps, \"className\"> & {\n iconClassname?: string;\n className?: string;\n color?: string;\n hoverColor?: string;\n};\n\nexport default function SvgIcon({\n wrapper = \"div\",\n iconClassname = \"\",\n className,\n color,\n hoverColor,\n ref,\n beforeInjection,\n afterInjection,\n evalScripts,\n src,\n ...rest\n}: SvgIconProps) {\n return (\n <ReactSVG\n beforeInjection={(svg) => {\n svg.classList.add(styles.baseIcon);\n svg.classList.add(svgIconColor(color, hoverColor));\n svg.removeAttribute(\"height\");\n svg.removeAttribute(\"width\");\n beforeInjection && beforeInjection(svg);\n }}\n afterInjection={(svg) => {\n afterInjection && afterInjection(svg);\n }}\n src={src}\n evalScripts=\"always\"\n wrapper={wrapper}\n className={classes(styles.wrapper, className)}\n {...rest}\n />\n );\n}\n","import React, { useEffect, useRef } from \"react\";\n\nimport { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, stylesheet } from \"typestyle\";\n\nexport type SwitchComponentProps = {\n value?: boolean;\n onChange: (value: boolean) => void;\n disabled?: boolean;\n};\n\nconst ANIM_DURATION = \"100ms\";\n\nconst styles = stylesheet({\n wrapper: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n text: {\n color: neutralColors.GRAY4,\n marginLeft: \"8px\",\n ...typography.BODY2,\n },\n svg: {\n cursor: \"pointer\",\n },\n svgDisabled: {\n cursor: \"default\",\n },\n});\n\nconst activeColor = primaryColors.PURPLE2;\nconst disabledColor = neutralColors.GRAY2;\n\nconst Switch = ({\n value,\n onChange,\n disabled = false,\n}: SwitchComponentProps) => {\n const svgId = useRef(Date.now() + Math.floor(Math.random() * 100));\n const defaultValue = useRef(value);\n\n const background = useRef<SVGAnimationElement>(null);\n const circle = useRef<SVGAnimationElement>(null);\n\n useEffect(() => {\n background.current?.beginElement();\n circle.current?.beginElement();\n }, [value]);\n\n return (\n <div className={styles.wrapper}>\n <svg\n className={classes(styles.svg, disabled && styles.svgDisabled)}\n aria-disabled={disabled}\n onClick={() => {\n if (disabled) {\n return;\n }\n background.current?.beginElement();\n circle.current?.beginElement();\n\n onChange(!value);\n }}\n width=\"42\"\n height=\"25\"\n viewBox=\"0 0 42 25\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n id={svgId.current + \"rect\"}\n width=\"42\"\n height=\"24.5\"\n rx=\"12.25\"\n fill={\n disabled\n ? disabledColor\n : defaultValue.current\n ? activeColor\n : neutralColors.GRAY1\n }\n />\n\n <circle\n id={svgId.current + \"circle\"}\n cx={value ? \"29.75\" : \"11.75\"}\n cy=\"12.25\"\n r=\"8.75\"\n fill=\"white\"\n />\n\n <animate\n ref={background}\n xlinkHref={\"#\" + svgId.current + \"rect\"}\n attributeName=\"fill\"\n from={!value ? activeColor : neutralColors.GRAY1}\n to={\n value\n ? disabled\n ? disabledColor\n : activeColor\n : neutralColors.GRAY1\n }\n dur={ANIM_DURATION}\n fill=\"freeze\"\n begin=\"indefinite\"\n />\n\n <animate\n ref={circle}\n xlinkHref={\"#\" + svgId.current + \"circle\"}\n attributeName=\"cx\"\n from={!value ? \"29.75\" : \"11.75\"}\n to={value ? \"29.75\" : \"11.75\"}\n dur={ANIM_DURATION}\n begin=\"indefinite\"\n />\n </svg>\n\n <div className={styles.text}>{value ? \"On\" : \"Off\"}</div>\n </div>\n );\n};\n\nexport default Switch;\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport const sharedTableHeaderStyles = stylesheet({\n arrowIconSpacing: {\n marginLeft: \"12px\",\n },\n /** TODO reuse occurences with IconButton */\n arrowIconButton: {\n borderRadius: \"3px\",\n padding: \"8px\",\n marginLeft: \"8px\",\n },\n arrowIcon: {\n height: \"100%\",\n width: \"12px\",\n color: neutralColors.GRAY5,\n },\n});\n","import { utilityColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nimport { typography } from \"../../../shared/styles/typography\";\n\nconst styles = stylesheet({\n tag: {\n color: utilityColors.ORANGE,\n ...typography.BODY2,\n border: `1px solid ${utilityColors.ORANGE}`,\n borderRadius: \"4px\",\n padding: \"5px 18px\",\n cursor: \"default\",\n display: \"inline-flex\",\n alignItems: \"center\",\n },\n});\n\nexport default styles;\n","import Tag from \"./TagComponent\";\n\nexport default Tag;\n","import React from \"react\";\n\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TagStyles\";\n\ntype TagProps = React.DetailedHTMLProps<\n React.HTMLAttributes<HTMLSpanElement>,\n HTMLSpanElement\n> & {\n children: React.ReactNode;\n className?: string;\n};\n\nexport default function Tag({\n children,\n className,\n ...props\n}: TagProps): JSX.Element {\n return (\n <span {...props} className={classes(styles.tag, className)}>\n {children}\n </span>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n selectedTagCloseIcon: {\n width: \"13px\",\n height: \"13px\",\n marginLeft: \"11px\",\n ...clickable,\n },\n unSelectedTag: {\n borderColor: primaryColors.PURPLE2,\n color: primaryColors.PURPLE2,\n ...clickable,\n },\n textField: {\n marginBottom: \"24px\",\n },\n input: {\n border: `1px solid ${neutralColors.GRAY2}`,\n borderRadius: \"8px\",\n background: primaryColors.WHITE,\n color: primaryColors.BLACK,\n ...typography.BODY1,\n $nest: {\n \"& ::placeholder\": {\n color: neutralColors.GRAY4,\n },\n },\n },\n\n searchIconButton: {\n width: \"19px\",\n height: \"19px\",\n },\n searchIcon: {\n width: \"16px\",\n },\n popoverContainer: {\n padding: \"12px\",\n background: neutralColors.GRAY0,\n border: `1px solid ${neutralColors.GRAY3}`,\n // later this should only be applied to the bottom borders\n borderRadius: \"8px\",\n maxHeight: \"161px\",\n overflowY: \"scroll\",\n },\n clickableSearchText: {\n color: neutralColors.GRAY5,\n ...clickable,\n },\n grayText: {\n color: neutralColors.GRAY4,\n marginLeft: \"4px\",\n },\n groupName: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\n\nimport {\n Fade,\n Grid2,\n IconButton,\n InputAdornment,\n Popover,\n} from \"@mui/material\";\nimport Input, { InputProps } from \"components/ui/Input/Input\";\nimport SvgIcon from \"components/ui/SvgIcon/SvgIcon\";\nimport Tag from \"components/ui/Tag/index\";\nimport { Pair } from \"shared/model\";\n\nimport styles from \"./TaggedMultiSelectStyles\";\n\ntype SelectionGroup = {\n name: string; // has to be unique between groups\n values: Pair[];\n};\n\ntype TaggedMultiSelectProps = Omit<InputProps, \"value\" | \"multiline\"> & {\n // ? should filtering be managed in the inside? - I think so for now\n placeholder?: string;\n // The component allows for different groups.\n // In the wireframes: inside company info under the \"Industry/Sector you are servicing\" field.\n // https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Wireframe-Original?node-id=3253%3A88599\n // In most of the cases there will be only one though.\n selectionGroups?: SelectionGroup[];\n selectedIds: string[];\n onAdd?: (id: string) => void;\n onDelete?: (id: string) => void;\n};\n\n// Tag components\nfunction SelectedTag({\n children,\n onCloseClick,\n}: {\n children: string;\n onCloseClick: () => void;\n}) {\n return (\n <Tag>\n {children}\n <SvgIcon\n onClick={onCloseClick}\n src=\"/icons/close_icon.svg\"\n className={styles.selectedTagCloseIcon}\n />\n </Tag>\n );\n}\nfunction UnSelectedTag({\n children,\n onClick,\n}: {\n children: string;\n onClick: () => void;\n}) {\n return (\n <Tag className={styles.unSelectedTag} onClick={onClick}>\n {children}\n </Tag>\n );\n}\n\nfunction SearchIcon({ onClick = () => {} }: { onClick: () => void }) {\n return (\n <IconButton\n size=\"small\"\n className={styles.searchIconButton}\n onClick={onClick}\n >\n <SvgIcon\n src=\"/icons/search_icon.svg\"\n className={styles.searchIconButton}\n />\n </IconButton>\n );\n}\n\nexport default function TaggedMultiSelect({\n placeholder,\n selectionGroups = [],\n selectedIds = [], // independent of groups\n onAdd = () => {},\n onDelete = () => {},\n ...props\n}: TaggedMultiSelectProps) {\n const [searchValue, setSearchValue] = useState(\"\");\n\n // Popover configuration\n const [popoverAnchorEl, setPopoverAnchorEl] =\n React.useState<HTMLElement | null>(null);\n\n const handleSettingPopoverAnchor = (\n event: React.MouseEvent<HTMLInputElement>\n ) => {\n setPopoverAnchorEl(event.currentTarget);\n };\n const handleClosePopover = () => {\n setPopoverAnchorEl(null);\n };\n\n const popoverOpen = Boolean(popoverAnchorEl);\n const inputWidth = popoverAnchorEl?.offsetWidth || 0;\n\n // Selection related\n const selectedTags = selectionGroups\n .map((group) =>\n group.values?.filter((element) =>\n selectedIds.some((id) => id === element.id)\n )\n )\n .flat();\n return (\n <div>\n <Input\n {...props}\n fullWidth\n placeholder={placeholder}\n value={searchValue}\n onClick={handleSettingPopoverAnchor}\n onKeyPress={() => {\n // todo add support for enter key press: Add tag, if there is only one element that has a matching name\n // structure needs to be updated first (0.75 hours estimation if done by me).\n }}\n helperTextExpectedLines={0}\n onChange={(e) => setSearchValue(e.target.value)}\n className={styles.textField}\n InputProps={{\n className: styles.input,\n endAdornment: !searchValue ? (\n <InputAdornment position=\"end\">\n <SearchIcon onClick={() => {}} />\n </InputAdornment>\n ) : null,\n }}\n />\n\n <Grid2 wrap=\"wrap\" spacing={2} container>\n {selectedTags.map((tag) => {\n return (\n <Grid2 key={tag.id}>\n <SelectedTag\n onCloseClick={() => {\n onDelete(tag.id);\n }}\n key={tag.id}\n >\n {tag.name}\n </SelectedTag>\n </Grid2>\n );\n })}\n </Grid2>\n\n {/* POPOVER */}\n <Popover\n open={popoverOpen}\n TransitionComponent={Fade}\n TransitionProps={{ timeout: 0 }}\n disableAutoFocus={true}\n disableEnforceFocus={true}\n anchorEl={popoverAnchorEl}\n onClose={handleClosePopover}\n elevation={0}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n >\n <div\n style={{\n width: `${inputWidth}px`,\n }}\n className={styles.popoverContainer}\n >\n <div className={styles.clickableSearchText}>\n <SearchIcon onClick={() => {}} />\n <span>{searchValue}</span>\n <span className={styles.grayText}>\n Press enter to select or select from the list\n </span>\n </div>\n {selectionGroups.map((group) => {\n const shownValues = group.values.filter((value) =>\n value.name?.toLowerCase().includes(searchValue.toLowerCase())\n );\n\n return (\n <div key={group.name}>\n <h3 className={styles.groupName}>{group.name}</h3>\n <Grid2 wrap=\"wrap\" spacing={2} container>\n {shownValues.map((tag) => {\n return (\n <Grid2 key={tag.id}>\n {selectedIds.some((id) => id === tag.id) ? (\n <SelectedTag\n key={tag.id}\n onCloseClick={() => {\n onDelete(tag.id);\n }}\n >\n {tag.name}\n </SelectedTag>\n ) : (\n <UnSelectedTag\n key={tag?.id}\n onClick={() => onAdd(tag.id)}\n >\n {tag.name}\n </UnSelectedTag>\n )}\n </Grid2>\n );\n })}\n </Grid2>\n </div>\n );\n })}\n </div>\n </Popover>\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n background: primaryColors.WHITE,\n border: `1px solid ${neutralColors.GRAY2}`,\n borderRadius: \"8px\",\n paddingTop: \"21px\",\n paddingBottom: \"21px\",\n paddingLeft: \"64px\",\n paddingRight: \"36px\",\n position: \"relative\",\n },\n checkboxPosition: {\n top: 0,\n bottom: 0,\n marginTop: \"auto\",\n marginBottom: \"auto\",\n left: \"12px\",\n height: \"26px\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { Checkbox } from \"@mui/material\";\nimport cardStyles from \"components/ui/Card/Card.styles\";\nimport { SelectableComponentProps } from \"shared/utils/componentTypes\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TallRow.styles\";\n\n/*\n Based on: \n - https://www.figma.com/file/jNcVZ1cGik4UVFYARAAsQr/Version-2.0?node-id=2033%3A107970&viewport=241%2C48%2C0.25\n - https://www.figma.com/file/jNcVZ1cGik4UVFYARAAsQr/Version-2.0?node-id=4499%3A179340&viewport=241%2C48%2C0.25\n - https://www.figma.com/file/jNcVZ1cGik4UVFYARAAsQr/Version-2.0?node-id=2%3A21624&viewport=241%2C48%2C0.66\n\n\n Requirements:\n - Full width\n - white background\n - the content is very dynamic\n - Selectable\n*/\n\ntype TallRowProps<T> = {\n className?: string;\n children?: React.ReactNode;\n} & SelectableComponentProps<T>;\n\nexport default function TallRow<T>({\n className,\n children,\n onToggleSelect,\n selected,\n disabled,\n}: TallRowProps<T>) {\n return (\n <div className={classes(styles.root, className)}>\n {onToggleSelect && (\n <Checkbox\n size=\"small\"\n className={classes(cardStyles.checkbox, styles.checkboxPosition)}\n checked={Boolean(selected)}\n onChange={(e) => onToggleSelect(e.target.checked)}\n disabled={typeof disabled === \"function\" ? disabled() : disabled}\n />\n )}\n {children}\n </div>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n multilineInput: {\n backgroundColor: primaryColors.WHITE,\n },\n maxCharSpan: {\n position: \"absolute\",\n right: \"18px\",\n bottom: \"-30px\",\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n },\n});\n","import TextArea from \"./TextArea\";\n\nexport default TextArea;\n","import React from \"react\";\n\nimport { InputProps } from \"components/ui/Input\";\nimport Input from \"components/ui/Input/Input\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./TextArea.styles\";\n\nexport type TextAreaProps = Omit<InputProps, \"value\" | \"multiline\"> & {\n maxLength?: number;\n minLength?: number;\n value?: string;\n};\n\n/** Wrapper around `<Input />` */\nexport default function TextArea({\n className,\n fullWidth = true,\n maxLength,\n minLength,\n value,\n minRows = 4,\n ...props\n}: TextAreaProps) {\n return (\n <Input\n {...props}\n value={value}\n multiline\n className={classes(className)}\n fullWidth={fullWidth}\n minRows={minRows}\n inputProps={{\n maxLength,\n minLength,\n ...props.inputProps,\n }}\n InputProps={{\n ...props.InputProps,\n classes: {\n ...props.InputProps?.classes,\n multiline: classes(\n styles.multilineInput,\n props.InputProps?.classes?.multiline\n ),\n },\n }}\n helperText={\n props.helperText ||\n ((maxLength || minLength) && (\n <span className={styles.maxCharSpan}>\n {maxLength\n ? value?.length\n ? `${value.length}/${maxLength}`\n : `max ${maxLength} characters`\n : `min ${minLength} characters`}\n </span>\n ))\n }\n />\n );\n}\n","import React from \"react\";\n\nimport {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n width: \"292px\",\n borderRadius: \"4px\",\n overflow: \"hidden\",\n },\n topPart: {\n background: neutralColors.GRAY2,\n textAlign: \"center\",\n paddingTop: \"36px\",\n paddingBottom: \"36px\",\n position: \"relative\",\n },\n progress: {\n position: \"absolute\",\n right: \"16px\",\n top: \"16px\",\n ...typography.CAPTION,\n },\n img: {\n width: \"140px\",\n },\n newTag: {\n position: \"absolute\",\n bottom: \"16px\",\n right: \"16px\",\n background: utilityColors.BLUE,\n color: primaryColors.WHITE,\n ...typography.BUTTON_SMALL,\n padding: \"4px 8px\",\n borderRadius: \"4px\",\n },\n bottomPart: {\n padding: \"16px 32px \",\n },\n title: {\n ...typography.SUBTITLE2,\n marginBottom: \"12px\",\n },\n text: {\n ...typography.BODY2,\n },\n buttonPart: {\n marginTop: \"16px\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n },\n rightButton: {\n marginLeft: \"auto\",\n },\n});\n\nexport interface TipContentProps {\n steps?: {\n total: number;\n current: number;\n };\n imageSrc: string;\n isNew?: boolean;\n title: string;\n text: string;\n action: string;\n onSkip?: () => void;\n onAction?: () => void;\n}\n\nfunction TipContent({\n steps,\n imageSrc,\n isNew,\n title,\n text,\n action,\n onSkip,\n onAction,\n}: TipContentProps) {\n return (\n <div className={styles.root}>\n <div className={styles.topPart}>\n {steps && (\n <div className={styles.progress}>\n {steps.current} of {steps.total}\n </div>\n )}\n\n <img src={imageSrc} className={styles.img} alt=\"Illustration\" />\n\n {isNew && <div className={styles.newTag}>New</div>}\n </div>\n <div className={styles.bottomPart}>\n <div className={styles.title}>{title}</div>\n <div className={styles.text}>{text}</div>\n <div className={styles.buttonPart}>\n {onSkip && (\n <Button variant=\"text\" color=\"gray\" size=\"small\" onClick={onSkip}>\n Skip\n </Button>\n )}\n\n <Button\n className={styles.rightButton}\n variant=\"outlined\"\n color=\"orange\"\n size=\"small\"\n onClick={onAction as React.MouseEventHandler<HTMLButtonElement>}\n >\n {action}\n </Button>\n </div>\n </div>\n </div>\n );\n}\nexport default TipContent;\n","import { RFPType } from \"@pulsemarket/constants\";\nimport { closeTip } from \"store/TipStore\";\n\nimport TipContent, { TipContentProps } from \"./TipContent\";\n\ntype DocumentInvitationTipContentProps = Pick<TipContentProps, \"onAction\"> & {\n rfpType: RFPType;\n};\n\nexport default function DocumentInvitationTipContent({\n rfpType,\n}: DocumentInvitationTipContentProps) {\n return (\n <TipContent\n imageSrc={`/illustrations/${rfpType.toLowerCase()}.png`}\n title=\"Accept this Response\"\n text={`Exciting news! You've been selected to complete a ${rfpType}. Click here to accept. Best of luck.`}\n action=\"Ok, Thanks\"\n onAction={() => closeTip()}\n />\n );\n}\n","import React, { useEffect, useLayoutEffect, useMemo, useState } from \"react\";\nimport { RouterProps } from \"react-router-dom\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { TooltipProps } from \"@mui/material\";\nimport { RFPType, ROUTES } from \"@pulsemarket/constants\";\nimport DocumentInvitationTipContent from \"components/ui/TipProvider/DocumentInvitationTipContent\";\nimport Tooltip from \"components/ui/Tooltip\";\nimport { useStore } from \"store\";\nimport TipStore, { closeTip, setNextTip, TipType } from \"store/TipStore\";\n\nimport TipContent from \"./TipContent\";\n\nexport type TipProviderProps = {\n type: TipType;\n children: React.ReactElement;\n className?: string;\n onAction?: Function;\n autoShow?: boolean;\n placement?: TooltipProps[\"placement\"];\n};\n\nconst TIPS: Record<\n TipType,\n (param: {\n history: RouterProps[\"history\"];\n onAction?: Function;\n }) => React.ReactElement\n> = {\n /**\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=11151%3A53846\n */\n [TipType.SupplierManagementDashboard]: ({ history }) => (\n <TipContent\n imageSrc=\"/illustrations/illustration_my_suppliers_tip.png\"\n title=\"Supplier Profiling\"\n text=\"Upload your supplier list onto our platform and you'll be able to manage your relationship from one place. From sending invitations to tender, adding key contacts, reviewing passports everything you need in one place.\"\n action=\"Get Started!\"\n isNew={true}\n onSkip={() => {\n closeTip();\n setNextTip(TipType.ProcurementDashboard);\n }}\n onAction={() => {\n history.push(ROUTES.MY_SUPPLIERS);\n setNextTip(TipType.SupplierManagementUpload);\n }}\n />\n ),\n /**\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=11247%3A61313\n */\n [TipType.SupplierManagementUpload]: ({ onAction }) => (\n <TipContent\n imageSrc=\"/illustrations/illustration_add_suppliers.png\"\n title=\"Add or import suppliers\"\n text=\"Quickly add your suppliers by uploading a CSV instantly to the platform. You can always add individual suppliers one by one if required.\"\n action=\"Get Started!\"\n isNew={true}\n onSkip={closeTip}\n onAction={() => {\n closeTip();\n if (onAction) {\n onAction();\n // This one will popup after adding a new supplier to the list\n setNextTip(TipType.SupplierManagementView);\n }\n }}\n />\n ),\n /**\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=11353%3A65339\n */\n [TipType.SupplierManagementView]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_view_supplier.png\"\n title=\"View Supplier\"\n text=\"Click here to see your supplier's details, update your supplier's information, and more. Access their Pulse Passport, add contracts, keep up to current on response updates, and submit documents.\"\n action=\"Got it!\"\n isNew={true}\n onAction={() => {\n closeTip();\n setNextTip(TipType.ProcurementDashboard);\n }}\n />\n ),\n /**\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=8212%3A120011\n */\n [TipType.ProcurementDashboard]: ({ history }) => (\n <TipContent\n imageSrc=\"/illustrations/illustration_rfp_ddq_tip.png\"\n title=\"Manage your Procurement Process\"\n text=\"With our RFI, RFP and DDQ workspace you can build and manage your proposals quickly by using our master templates and adding questions that can be stored for future proposals.\"\n action=\"Create New!\"\n onSkip={closeTip}\n onAction={() => {\n history.push(\"/rfp\");\n }}\n />\n ),\n /**\n * https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=11252%3A64978\n */\n [TipType.ProcurementCreateRFP]: () => (\n <TipContent\n imageSrc=\"/illustrations/rfp.png\"\n title=\"Create a new RFP\"\n text=\"Start writing your first Request For Proposal with this easy to build and manage procurement process.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementCreateRFI]: () => (\n <TipContent\n imageSrc=\"/illustrations/rfi.png\"\n title=\"Create a new RFI\"\n text=\"Finding out if your suppliers can or wish to be involved in an RFP is essential and stop you wasting time and effort. With and RFI you can take the first step to understand who can and who is interested in going forward to the deeper RFP process.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementCreateDDQ]: () => (\n <TipContent\n imageSrc=\"/illustrations/ddq.png\"\n title=\"Create a new DDQ\"\n text=\"Set up your first Due Diligence Questionnaire to gather high quality feedback from your suppliers, allowing you to act quickly and responsibly.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementCreateQTP]: () => (\n <TipContent\n imageSrc=\"/illustrations/qtp.png\"\n title=\"Create a new QTP\"\n text=\"Want to purchase a service quickly but still show you have done the due diligence, use the Quick to Procure process and manage your purchasing to the same high standards as an RFP, but with less effort.\"\n action=\"Got it!\"\n onSkip={closeTip}\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementDraftInfo]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_edit_assessment.png\"\n title=\"Edit Info\"\n text=\"When your document is in Draft mode, you may change and delete the Information.\"\n action=\"Next\"\n steps={{\n current: 1,\n total: 3,\n }}\n onSkip={closeTip}\n onAction={() => {\n setNextTip(TipType.ProcurementDraftAddModule);\n }}\n />\n ),\n [TipType.ProcurementDraftAddModule]: () => (\n <TipContent\n imageSrc=\"/icons/modules_icon.svg\"\n title=\"Add Modules\"\n text=\"Modules containing questionnaires and questions can be added to your document.\"\n action=\"Next\"\n steps={{\n current: 2,\n total: 3,\n }}\n onSkip={closeTip}\n onAction={() => {\n setNextTip(TipType.ProcurementDraftSendToReview);\n }}\n />\n ),\n [TipType.ProcurementDraftSendToReview]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_visualization.png\"\n title=\"Send to Review\"\n text=\"You can send your document to review before you send it to suppliers.\"\n action=\"Got it!\"\n steps={{\n current: 3,\n total: 3,\n }}\n onAction={closeTip}\n />\n ),\n\n [TipType.ProcurementAddRecipients]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_add_suppliers.png\"\n title=\"Add recipients\"\n text=\"Add suppliers to receive this document by choosing them from your supplier search list or bulk email.\"\n action=\"Next\"\n steps={{\n current: 1,\n total: 2,\n }}\n onSkip={closeTip}\n onAction={() => {\n setNextTip(TipType.ProcurementSend);\n }}\n />\n ),\n [TipType.ProcurementSend]: () => (\n <TipContent\n imageSrc=\"/icons/send_icon.svg\"\n title=\"Send this document\"\n text=\"When you have completed your document, you can send it to the suppliers from your recipient list.\"\n action=\"Got it!\"\n steps={{\n current: 2,\n total: 2,\n }}\n onAction={closeTip}\n />\n ),\n\n [TipType.ProcurementInvitationTable]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_list_suppliers.png\"\n title=\"List of invitations\"\n text=\"This is the list of providers to whom your document was sent. When they reply, their status changes to responded, and you may check their responses on the Responses tab.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementResponseTable]: () => (\n <TipContent\n imageSrc=\"/icons/proposals_icon.svg\"\n title=\"List of Responses\"\n text=\"You have got a response; click to begin evaluating.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n\n [TipType.ESGGetPassport]: () => (\n <TipContent\n imageSrc=\"/illustrations/ESG_certificate_passport.svg\"\n title=\"ESG Passport\"\n text=\"The easiest way to start your companies ESG journey. Take 15mins to gain your ESG Passport.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.ESGEditSelfAssessment]: () => (\n <TipContent\n imageSrc=\"/illustrations/edit_assessment.svg\"\n title=\"Self-assessment\"\n text=\"The Self-assessment will be always available. You can access and edit it at any time.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n /**\n * https://www.figma.com/file/jNcVZ1cGik4UVFYARAAsQr/Version-2.0?node-id=10633%3A499561\n */\n [TipType.AcceptRFPInvitation]: () => (\n <DocumentInvitationTipContent rfpType={RFPType.RFP} />\n ),\n [TipType.AcceptDDQInvitation]: () => (\n <DocumentInvitationTipContent rfpType={RFPType.DDQ} />\n ),\n [TipType.AcceptRFIInvitation]: () => (\n <DocumentInvitationTipContent rfpType={RFPType.RFI} />\n ),\n [TipType.AcceptQTPInvitation]: () => (\n <DocumentInvitationTipContent rfpType={RFPType.QTP} />\n ),\n [TipType.ProcurementResponseReview]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_visualization.png\"\n title=\"Send to Review\"\n text=\"You can send your document to review before you send it to the buyer.\"\n action=\"Got it!\"\n steps={{\n current: 2,\n total: 2,\n }}\n onAction={closeTip}\n />\n ),\n [TipType.ProcurementResponseSubmit]: () => (\n <TipContent\n imageSrc=\"/icons/send_icon.svg\"\n title=\"Submit response\"\n text=\"When you're finished, click here to submit your response. After that, the buyer will evaluate it and contact you; best of luck.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n [TipType.PassportResponseSubmit]: () => (\n <TipContent\n imageSrc=\"/icons/send_icon_blue.svg\"\n title=\"You're now in the 'In Review' status\"\n text=\"Feel free to submit your assessment when you're satisfied with your responses. Remember, once submitted, changes can't be made.\"\n action=\"Got it!\"\n onAction={closeTip}\n />\n ),\n /**\n * https://www.figma.com/file/cptZCjqKqdPrpUDlUe5BJu/Procurement?node-id=72%3A70770&viewport=1592%2C2044%2C0.25&t=b5GDm2x11yrFdya0-0\n */\n [TipType.SendRfpMessage]: () => (\n <TipContent\n imageSrc=\"/icons/send_icon.svg\"\n title=\"Send Message\"\n text=\"Your message is saved and you can send it later or in bulk if you create more messages by selecting the module or questionnaire.\"\n action=\"Ok, Got it!\"\n onAction={closeTip}\n />\n ),\n /**\n *\n */\n [TipType.ReplyRfpMessages]: () => (\n <TipContent\n imageSrc=\"/illustrations/illustration_message.png\"\n title=\"Reply new messages\"\n text=\"You can reply a message individually by clicking here or in bulk by selecting the module or questionnaire.\"\n action=\"Ok, Got it!\"\n onAction={closeTip}\n />\n ),\n};\n\nconst TipProvider = React.forwardRef<HTMLElement, TipProviderProps>(\n function TipProvider(\n { className, type, children, onAction, autoShow, placement = \"right\" },\n ref\n ) {\n const history = useHistory();\n\n const state = useStore(TipStore);\n\n useEffect(() => {\n if (autoShow) {\n setNextTip(type);\n }\n }, [autoShow, type]);\n\n const selectedType = useMemo(() => {\n let selectedType = type === state.type ? type : null;\n\n if (!selectedType) {\n return false;\n }\n\n if (state.tipsSeen.includes(selectedType)) {\n // Do not show the same tip more then once!\n return false;\n }\n\n return selectedType;\n }, [state.type, state.tipsSeen, type]);\n\n const [content, setContent] = useState<false | React.ReactElement>(false);\n\n useLayoutEffect(() => {\n let timeoutId: any;\n\n if (selectedType) {\n timeoutId = setTimeout(\n () => setContent(TIPS[selectedType]({ history, onAction })),\n 300\n );\n } else {\n setContent(false);\n }\n\n return () => {\n clearTimeout(timeoutId);\n };\n }, [selectedType, history, onAction]);\n\n return (\n <Tooltip\n className={className}\n title={content}\n open={!!content}\n placement={placement}\n noPadding\n maxWidth={300}\n backdrop\n onBackdropClick={() => {\n // Empty function needed to prevent backdrop click\n }}\n >\n {React.cloneElement(children, {\n ref,\n // style: content\n // ? { ...children.props.style, zIndex: 10000 }\n // : children.props.style,\n })}\n </Tooltip>\n );\n }\n);\n\nexport default TipProvider;\n\nexport function MaybeTipProvider(\n props: Omit<TipProviderProps, \"type\"> & { type?: TipType }\n) {\n if (props.type) {\n return <TipProvider {...props} type={props.type} />;\n }\n\n return props.children;\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTooltipUtilityClass(slot) {\n return generateUtilityClass('MuiTooltip', slot);\n}\nconst tooltipClasses = generateUtilityClasses('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);\nexport default tooltipClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport useTimeout, { Timeout } from '@mui/utils/useTimeout';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport appendOwnerState from '@mui/utils/appendOwnerState';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport Grow from \"../Grow/index.js\";\nimport Popper from \"../Popper/index.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useId from \"../utils/useId.js\";\nimport useControlled from \"../utils/useControlled.js\";\nimport tooltipClasses, { getTooltipUtilityClass } from \"./tooltipClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableInteractive,\n arrow,\n touch,\n placement\n } = ownerState;\n const slots = {\n popper: ['popper', !disableInteractive && 'popperInteractive', arrow && 'popperArrow'],\n tooltip: ['tooltip', arrow && 'tooltipArrow', touch && 'touch', `tooltipPlacement${capitalize(placement.split('-')[0])}`],\n arrow: ['arrow']\n };\n return composeClasses(slots, getTooltipUtilityClass, classes);\n};\nconst TooltipPopper = styled(Popper, {\n name: 'MuiTooltip',\n slot: 'Popper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.popper, !ownerState.disableInteractive && styles.popperInteractive, ownerState.arrow && styles.popperArrow, !ownerState.open && styles.popperClose];\n }\n})(memoTheme(({\n theme\n}) => ({\n zIndex: (theme.vars || theme).zIndex.tooltip,\n pointerEvents: 'none',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableInteractive,\n style: {\n pointerEvents: 'auto'\n }\n }, {\n props: ({\n open\n }) => !open,\n style: {\n pointerEvents: 'none'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.arrow,\n style: {\n [`&[data-popper-placement*=\"bottom\"] .${tooltipClasses.arrow}`]: {\n top: 0,\n marginTop: '-0.71em',\n '&::before': {\n transformOrigin: '0 100%'\n }\n },\n [`&[data-popper-placement*=\"top\"] .${tooltipClasses.arrow}`]: {\n bottom: 0,\n marginBottom: '-0.71em',\n '&::before': {\n transformOrigin: '100% 0'\n }\n },\n [`&[data-popper-placement*=\"right\"] .${tooltipClasses.arrow}`]: {\n height: '1em',\n width: '0.71em',\n '&::before': {\n transformOrigin: '100% 100%'\n }\n },\n [`&[data-popper-placement*=\"left\"] .${tooltipClasses.arrow}`]: {\n height: '1em',\n width: '0.71em',\n '&::before': {\n transformOrigin: '0 0'\n }\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.arrow && !ownerState.isRtl,\n style: {\n [`&[data-popper-placement*=\"right\"] .${tooltipClasses.arrow}`]: {\n left: 0,\n marginLeft: '-0.71em'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.arrow && !!ownerState.isRtl,\n style: {\n [`&[data-popper-placement*=\"right\"] .${tooltipClasses.arrow}`]: {\n right: 0,\n marginRight: '-0.71em'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.arrow && !ownerState.isRtl,\n style: {\n [`&[data-popper-placement*=\"left\"] .${tooltipClasses.arrow}`]: {\n right: 0,\n marginRight: '-0.71em'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.arrow && !!ownerState.isRtl,\n style: {\n [`&[data-popper-placement*=\"left\"] .${tooltipClasses.arrow}`]: {\n left: 0,\n marginLeft: '-0.71em'\n }\n }\n }]\n})));\nconst TooltipTooltip = styled('div', {\n name: 'MuiTooltip',\n slot: 'Tooltip',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.tooltip, ownerState.touch && styles.touch, ownerState.arrow && styles.tooltipArrow, styles[`tooltipPlacement${capitalize(ownerState.placement.split('-')[0])}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: theme.vars ? theme.vars.palette.Tooltip.bg : alpha(theme.palette.grey[700], 0.92),\n borderRadius: (theme.vars || theme).shape.borderRadius,\n color: (theme.vars || theme).palette.common.white,\n fontFamily: theme.typography.fontFamily,\n padding: '4px 8px',\n fontSize: theme.typography.pxToRem(11),\n maxWidth: 300,\n margin: 2,\n wordWrap: 'break-word',\n fontWeight: theme.typography.fontWeightMedium,\n [`.${tooltipClasses.popper}[data-popper-placement*=\"left\"] &`]: {\n transformOrigin: 'right center'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"right\"] &`]: {\n transformOrigin: 'left center'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"top\"] &`]: {\n transformOrigin: 'center bottom',\n marginBottom: '14px'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"bottom\"] &`]: {\n transformOrigin: 'center top',\n marginTop: '14px'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.arrow,\n style: {\n position: 'relative',\n margin: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.touch,\n style: {\n padding: '8px 16px',\n fontSize: theme.typography.pxToRem(14),\n lineHeight: `${round(16 / 14)}em`,\n fontWeight: theme.typography.fontWeightRegular\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.isRtl,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"left\"] &`]: {\n marginRight: '14px'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"right\"] &`]: {\n marginLeft: '14px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.isRtl && ownerState.touch,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"left\"] &`]: {\n marginRight: '24px'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"right\"] &`]: {\n marginLeft: '24px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.isRtl,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"left\"] &`]: {\n marginLeft: '14px'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"right\"] &`]: {\n marginRight: '14px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.isRtl && ownerState.touch,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"left\"] &`]: {\n marginLeft: '24px'\n },\n [`.${tooltipClasses.popper}[data-popper-placement*=\"right\"] &`]: {\n marginRight: '24px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.touch,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"top\"] &`]: {\n marginBottom: '24px'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.touch,\n style: {\n [`.${tooltipClasses.popper}[data-popper-placement*=\"bottom\"] &`]: {\n marginTop: '24px'\n }\n }\n }]\n})));\nconst TooltipArrow = styled('span', {\n name: 'MuiTooltip',\n slot: 'Arrow',\n overridesResolver: (props, styles) => styles.arrow\n})(memoTheme(({\n theme\n}) => ({\n overflow: 'hidden',\n position: 'absolute',\n width: '1em',\n height: '0.71em' /* = width / sqrt(2) = (length of the hypotenuse) */,\n boxSizing: 'border-box',\n color: theme.vars ? theme.vars.palette.Tooltip.bg : alpha(theme.palette.grey[700], 0.9),\n '&::before': {\n content: '\"\"',\n margin: 'auto',\n display: 'block',\n width: '100%',\n height: '100%',\n backgroundColor: 'currentColor',\n transform: 'rotate(45deg)'\n }\n})));\nlet hystersisOpen = false;\nconst hystersisTimer = new Timeout();\nlet cursorPosition = {\n x: 0,\n y: 0\n};\nexport function testReset() {\n hystersisOpen = false;\n hystersisTimer.clear();\n}\nfunction composeEventHandler(handler, eventHandler) {\n return (event, ...params) => {\n if (eventHandler) {\n eventHandler(event, ...params);\n }\n handler(event, ...params);\n };\n}\n\n// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.\nconst Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTooltip'\n });\n const {\n arrow = false,\n children: childrenProp,\n classes: classesProp,\n components = {},\n componentsProps = {},\n describeChild = false,\n disableFocusListener = false,\n disableHoverListener = false,\n disableInteractive: disableInteractiveProp = false,\n disableTouchListener = false,\n enterDelay = 100,\n enterNextDelay = 0,\n enterTouchDelay = 700,\n followCursor = false,\n id: idProp,\n leaveDelay = 0,\n leaveTouchDelay = 1500,\n onClose,\n onOpen,\n open: openProp,\n placement = 'bottom',\n PopperComponent: PopperComponentProp,\n PopperProps = {},\n slotProps = {},\n slots = {},\n title,\n TransitionComponent: TransitionComponentProp = Grow,\n TransitionProps,\n ...other\n } = props;\n\n // to prevent runtime errors, developers will need to provide a child as a React element anyway.\n const children = /*#__PURE__*/React.isValidElement(childrenProp) ? childrenProp : /*#__PURE__*/_jsx(\"span\", {\n children: childrenProp\n });\n const theme = useTheme();\n const isRtl = useRtl();\n const [childNode, setChildNode] = React.useState();\n const [arrowRef, setArrowRef] = React.useState(null);\n const ignoreNonTouchEvents = React.useRef(false);\n const disableInteractive = disableInteractiveProp || followCursor;\n const closeTimer = useTimeout();\n const enterTimer = useTimeout();\n const leaveTimer = useTimeout();\n const touchTimer = useTimeout();\n const [openState, setOpenState] = useControlled({\n controlled: openProp,\n default: false,\n name: 'Tooltip',\n state: 'open'\n });\n let open = openState;\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes\n const {\n current: isControlled\n } = React.useRef(openProp !== undefined);\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes\n React.useEffect(() => {\n if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {\n console.error(['MUI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', \"Tooltip needs to listen to the child element's events to display the title.\", '', 'Add a simple wrapper element, such as a `span`.'].join('\\n'));\n }\n }, [title, childNode, isControlled]);\n }\n const id = useId(idProp);\n const prevUserSelect = React.useRef();\n const stopTouchInteraction = useEventCallback(() => {\n if (prevUserSelect.current !== undefined) {\n document.body.style.WebkitUserSelect = prevUserSelect.current;\n prevUserSelect.current = undefined;\n }\n touchTimer.clear();\n });\n React.useEffect(() => stopTouchInteraction, [stopTouchInteraction]);\n const handleOpen = event => {\n hystersisTimer.clear();\n hystersisOpen = true;\n\n // The mouseover event will trigger for every nested element in the tooltip.\n // We can skip rerendering when the tooltip is already open.\n // We are using the mouseover event instead of the mouseenter event to fix a hide/show issue.\n setOpenState(true);\n if (onOpen && !open) {\n onOpen(event);\n }\n };\n const handleClose = useEventCallback(\n /**\n * @param {React.SyntheticEvent | Event} event\n */\n event => {\n hystersisTimer.start(800 + leaveDelay, () => {\n hystersisOpen = false;\n });\n setOpenState(false);\n if (onClose && open) {\n onClose(event);\n }\n closeTimer.start(theme.transitions.duration.shortest, () => {\n ignoreNonTouchEvents.current = false;\n });\n });\n const handleMouseOver = event => {\n if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {\n return;\n }\n\n // Remove the title ahead of time.\n // We don't want to wait for the next render commit.\n // We would risk displaying two tooltips at the same time (native + this one).\n if (childNode) {\n childNode.removeAttribute('title');\n }\n enterTimer.clear();\n leaveTimer.clear();\n if (enterDelay || hystersisOpen && enterNextDelay) {\n enterTimer.start(hystersisOpen ? enterNextDelay : enterDelay, () => {\n handleOpen(event);\n });\n } else {\n handleOpen(event);\n }\n };\n const handleMouseLeave = event => {\n enterTimer.clear();\n leaveTimer.start(leaveDelay, () => {\n handleClose(event);\n });\n };\n const [, setChildIsFocusVisible] = React.useState(false);\n const handleBlur = event => {\n if (!isFocusVisible(event.target)) {\n setChildIsFocusVisible(false);\n handleMouseLeave(event);\n }\n };\n const handleFocus = event => {\n // Workaround for https://github.com/facebook/react/issues/7769\n // The autoFocus of React might trigger the event before the componentDidMount.\n // We need to account for this eventuality.\n if (!childNode) {\n setChildNode(event.currentTarget);\n }\n if (isFocusVisible(event.target)) {\n setChildIsFocusVisible(true);\n handleMouseOver(event);\n }\n };\n const detectTouchStart = event => {\n ignoreNonTouchEvents.current = true;\n const childrenProps = children.props;\n if (childrenProps.onTouchStart) {\n childrenProps.onTouchStart(event);\n }\n };\n const handleTouchStart = event => {\n detectTouchStart(event);\n leaveTimer.clear();\n closeTimer.clear();\n stopTouchInteraction();\n prevUserSelect.current = document.body.style.WebkitUserSelect;\n // Prevent iOS text selection on long-tap.\n document.body.style.WebkitUserSelect = 'none';\n touchTimer.start(enterTouchDelay, () => {\n document.body.style.WebkitUserSelect = prevUserSelect.current;\n handleMouseOver(event);\n });\n };\n const handleTouchEnd = event => {\n if (children.props.onTouchEnd) {\n children.props.onTouchEnd(event);\n }\n stopTouchInteraction();\n leaveTimer.start(leaveTouchDelay, () => {\n handleClose(event);\n });\n };\n React.useEffect(() => {\n if (!open) {\n return undefined;\n }\n\n /**\n * @param {KeyboardEvent} nativeEvent\n */\n function handleKeyDown(nativeEvent) {\n if (nativeEvent.key === 'Escape') {\n handleClose(nativeEvent);\n }\n }\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('keydown', handleKeyDown);\n };\n }, [handleClose, open]);\n const handleRef = useForkRef(getReactElementRef(children), setChildNode, ref);\n\n // There is no point in displaying an empty tooltip.\n // So we exclude all falsy values, except 0, which is valid.\n if (!title && title !== 0) {\n open = false;\n }\n const popperRef = React.useRef();\n const handleMouseMove = event => {\n const childrenProps = children.props;\n if (childrenProps.onMouseMove) {\n childrenProps.onMouseMove(event);\n }\n cursorPosition = {\n x: event.clientX,\n y: event.clientY\n };\n if (popperRef.current) {\n popperRef.current.update();\n }\n };\n const nameOrDescProps = {};\n const titleIsString = typeof title === 'string';\n if (describeChild) {\n nameOrDescProps.title = !open && titleIsString && !disableHoverListener ? title : null;\n nameOrDescProps['aria-describedby'] = open ? id : null;\n } else {\n nameOrDescProps['aria-label'] = titleIsString ? title : null;\n nameOrDescProps['aria-labelledby'] = open && !titleIsString ? id : null;\n }\n const childrenProps = {\n ...nameOrDescProps,\n ...other,\n ...children.props,\n className: clsx(other.className, children.props.className),\n onTouchStart: detectTouchStart,\n ref: handleRef,\n ...(followCursor ? {\n onMouseMove: handleMouseMove\n } : {})\n };\n if (process.env.NODE_ENV !== 'production') {\n childrenProps['data-mui-internal-clone-element'] = true;\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes\n React.useEffect(() => {\n if (childNode && !childNode.getAttribute('data-mui-internal-clone-element')) {\n console.error(['MUI: The `children` component of the Tooltip is not forwarding its props correctly.', 'Please make sure that props are spread on the same element that the ref is applied to.'].join('\\n'));\n }\n }, [childNode]);\n }\n const interactiveWrapperListeners = {};\n if (!disableTouchListener) {\n childrenProps.onTouchStart = handleTouchStart;\n childrenProps.onTouchEnd = handleTouchEnd;\n }\n if (!disableHoverListener) {\n childrenProps.onMouseOver = composeEventHandler(handleMouseOver, childrenProps.onMouseOver);\n childrenProps.onMouseLeave = composeEventHandler(handleMouseLeave, childrenProps.onMouseLeave);\n if (!disableInteractive) {\n interactiveWrapperListeners.onMouseOver = handleMouseOver;\n interactiveWrapperListeners.onMouseLeave = handleMouseLeave;\n }\n }\n if (!disableFocusListener) {\n childrenProps.onFocus = composeEventHandler(handleFocus, childrenProps.onFocus);\n childrenProps.onBlur = composeEventHandler(handleBlur, childrenProps.onBlur);\n if (!disableInteractive) {\n interactiveWrapperListeners.onFocus = handleFocus;\n interactiveWrapperListeners.onBlur = handleBlur;\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n if (children.props.title) {\n console.error(['MUI: You have provided a `title` prop to the child of <Tooltip />.', `Remove this title prop \\`${children.props.title}\\` or the Tooltip component.`].join('\\n'));\n }\n }\n const popperOptions = React.useMemo(() => {\n let tooltipModifiers = [{\n name: 'arrow',\n enabled: Boolean(arrowRef),\n options: {\n element: arrowRef,\n padding: 4\n }\n }];\n if (PopperProps.popperOptions?.modifiers) {\n tooltipModifiers = tooltipModifiers.concat(PopperProps.popperOptions.modifiers);\n }\n return {\n ...PopperProps.popperOptions,\n modifiers: tooltipModifiers\n };\n }, [arrowRef, PopperProps]);\n const ownerState = {\n ...props,\n isRtl,\n arrow,\n disableInteractive,\n placement,\n PopperComponentProp,\n touch: ignoreNonTouchEvents.current\n };\n const classes = useUtilityClasses(ownerState);\n const PopperComponent = slots.popper ?? components.Popper ?? TooltipPopper;\n const TransitionComponent = slots.transition ?? components.Transition ?? TransitionComponentProp ?? Grow;\n const TooltipComponent = slots.tooltip ?? components.Tooltip ?? TooltipTooltip;\n const ArrowComponent = slots.arrow ?? components.Arrow ?? TooltipArrow;\n const popperProps = appendOwnerState(PopperComponent, {\n ...PopperProps,\n ...(slotProps.popper ?? componentsProps.popper),\n className: clsx(classes.popper, PopperProps?.className, (slotProps.popper ?? componentsProps.popper)?.className)\n }, ownerState);\n const transitionProps = appendOwnerState(TransitionComponent, {\n ...TransitionProps,\n ...(slotProps.transition ?? componentsProps.transition)\n }, ownerState);\n const tooltipProps = appendOwnerState(TooltipComponent, {\n ...(slotProps.tooltip ?? componentsProps.tooltip),\n className: clsx(classes.tooltip, (slotProps.tooltip ?? componentsProps.tooltip)?.className)\n }, ownerState);\n const tooltipArrowProps = appendOwnerState(ArrowComponent, {\n ...(slotProps.arrow ?? componentsProps.arrow),\n className: clsx(classes.arrow, (slotProps.arrow ?? componentsProps.arrow)?.className)\n }, ownerState);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/React.cloneElement(children, childrenProps), /*#__PURE__*/_jsx(PopperComponent, {\n as: PopperComponentProp ?? Popper,\n placement: placement,\n anchorEl: followCursor ? {\n getBoundingClientRect: () => ({\n top: cursorPosition.y,\n left: cursorPosition.x,\n right: cursorPosition.x,\n bottom: cursorPosition.y,\n width: 0,\n height: 0\n })\n } : childNode,\n popperRef: popperRef,\n open: childNode ? open : false,\n id: id,\n transition: true,\n ...interactiveWrapperListeners,\n ...popperProps,\n popperOptions: popperOptions,\n children: ({\n TransitionProps: TransitionPropsInner\n }) => /*#__PURE__*/_jsx(TransitionComponent, {\n timeout: theme.transitions.duration.shorter,\n ...TransitionPropsInner,\n ...transitionProps,\n children: /*#__PURE__*/_jsxs(TooltipComponent, {\n ...tooltipProps,\n children: [title, arrow ? /*#__PURE__*/_jsx(ArrowComponent, {\n ...tooltipArrowProps,\n ref: setArrowRef\n }) : null]\n })\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tooltip.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, adds an arrow to the tooltip.\n * @default false\n */\n arrow: PropTypes.bool,\n /**\n * Tooltip reference element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/).\n *\n * @default {}\n */\n components: PropTypes.shape({\n Arrow: PropTypes.elementType,\n Popper: PropTypes.elementType,\n Tooltip: PropTypes.elementType,\n Transition: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/).\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n arrow: PropTypes.object,\n popper: PropTypes.object,\n tooltip: PropTypes.object,\n transition: PropTypes.object\n }),\n /**\n * Set to `true` if the `title` acts as an accessible description.\n * By default the `title` acts as an accessible label for the child.\n * @default false\n */\n describeChild: PropTypes.bool,\n /**\n * Do not respond to focus-visible events.\n * @default false\n */\n disableFocusListener: PropTypes.bool,\n /**\n * Do not respond to hover events.\n * @default false\n */\n disableHoverListener: PropTypes.bool,\n /**\n * Makes a tooltip not interactive, i.e. it will close when the user\n * hovers over the tooltip before the `leaveDelay` is expired.\n * @default false\n */\n disableInteractive: PropTypes.bool,\n /**\n * Do not respond to long press touch events.\n * @default false\n */\n disableTouchListener: PropTypes.bool,\n /**\n * The number of milliseconds to wait before showing the tooltip.\n * This prop won't impact the enter touch delay (`enterTouchDelay`).\n * @default 100\n */\n enterDelay: PropTypes.number,\n /**\n * The number of milliseconds to wait before showing the tooltip when one was already recently opened.\n * @default 0\n */\n enterNextDelay: PropTypes.number,\n /**\n * The number of milliseconds a user must touch the element before showing the tooltip.\n * @default 700\n */\n enterTouchDelay: PropTypes.number,\n /**\n * If `true`, the tooltip follow the cursor over the wrapped element.\n * @default false\n */\n followCursor: PropTypes.bool,\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide this prop. It falls back to a randomly generated id.\n */\n id: PropTypes.string,\n /**\n * The number of milliseconds to wait before hiding the tooltip.\n * This prop won't impact the leave touch delay (`leaveTouchDelay`).\n * @default 0\n */\n leaveDelay: PropTypes.number,\n /**\n * The number of milliseconds after the user stops touching an element before hiding the tooltip.\n * @default 1500\n */\n leaveTouchDelay: PropTypes.number,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the component requests to be open.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * Tooltip placement.\n * @default 'bottom'\n */\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n /**\n * The component used for the popper.\n * @default Popper\n */\n PopperComponent: PropTypes.elementType,\n /**\n * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.\n * @default {}\n */\n PopperProps: PropTypes.object,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n arrow: PropTypes.object,\n popper: PropTypes.object,\n tooltip: PropTypes.object,\n transition: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n arrow: PropTypes.elementType,\n popper: PropTypes.elementType,\n tooltip: PropTypes.elementType,\n transition: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Tooltip title. Zero-length titles string, undefined, null and false are never displayed.\n */\n title: PropTypes.node,\n /**\n * The component used for the transition.\n * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Grow\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default Tooltip;","import React, { useImperativeHandle, useState } from \"react\";\n\nimport {\n Tooltip as MuITooltip,\n TooltipProps as MuiTooltipProps,\n} from \"@mui/material\";\nimport { primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nconst tooltipStyles = ({\n padding,\n color,\n background,\n maxWidth,\n}: {\n padding: number;\n color: string;\n background: string;\n maxWidth: number;\n}) =>\n style({\n ...typography.CAPTION,\n backgroundColor: background,\n color: color,\n padding: padding + \"px\",\n maxWidth: `${maxWidth}px`,\n boxShadow: \"2px 2px 5px rgba(0, 0, 0, 0.15)\",\n borderRadius: \"8px\",\n });\n\nconst arrow = (background: string) =>\n style({\n color: background,\n });\n\nconst popper = style({\n pointerEvents: \"auto\",\n});\n\nexport const backdropStyle = (onBackdropClick: boolean) =>\n style({\n zIndex: 10,\n position: \"fixed\",\n top: 0,\n right: 0,\n left: 0,\n bottom: 0,\n background: \"rgba(0, 0, 0, 0.25)\",\n pointerEvents: onBackdropClick ? \"auto\" : \"none\",\n });\n\nexport interface TooltipRefType {\n hide: Function;\n}\n\n// todo reuse\nexport const purpleTooltipProps: Pick<\n TooltipProps,\n \"background\" | \"color\" | \"hideOnBlur\" | \"className\"\n> = {\n background: primaryColors.PURPLE3,\n color: primaryColors.WHITE,\n hideOnBlur: true,\n className: style({\n $nest: {\n \"&&\": {\n ...typography.BODY2,\n },\n },\n }),\n};\n\nexport type TooltipProps = MuiTooltipProps & {\n hideArrow?: boolean;\n backdrop?: boolean;\n noPadding?: boolean;\n background?: string;\n hideOnBlur?: boolean;\n showOnClick?: boolean;\n maxWidth?: number;\n onBackdropClick?: Function;\n};\n\nexport default React.forwardRef<TooltipRefType, TooltipProps>(function Tooltip(\n {\n backdrop,\n noPadding,\n className,\n hideArrow,\n color = primaryColors.BLACK,\n background = primaryColors.WHITE,\n hideOnBlur = false,\n showOnClick = false,\n maxWidth,\n onBackdropClick,\n ...rest\n },\n ref\n) {\n const [show, setShow] = useState(rest.open ?? false);\n\n useImperativeHandle(ref, () => ({\n hide: () => {\n setShow(false);\n },\n }));\n\n return (\n <>\n {(rest.open || show) && backdrop && (\n <div\n className={backdropStyle(!!onBackdropClick || !!showOnClick)}\n onClick={() => {\n onBackdropClick && onBackdropClick();\n showOnClick && setShow(false);\n }}\n />\n )}\n\n <MuITooltip\n {...rest}\n {...(hideOnBlur && {\n open: show,\n disableHoverListener: true,\n onMouseDown: () => setShow(false),\n onMouseEnter: () => setShow(true),\n onMouseLeave: () => setShow(false),\n })}\n {...(showOnClick && {\n open: show,\n onMouseDown: () => setShow(!show),\n })}\n classes={{\n tooltip: classes(\n tooltipStyles({\n padding: noPadding ? 0 : 8,\n color,\n background,\n maxWidth: maxWidth ?? 250,\n }),\n className\n ),\n arrow: arrow(background),\n popper,\n }}\n arrow={!hideArrow}\n TransitionProps={{ exit: false }}\n />\n </>\n );\n});\n","import React from \"react\";\n\nexport const TooltipWrapper = React.forwardRef(function Wrapper(\n props: any,\n ref\n) {\n // Spread the props to the underlying DOM element.\n return <span {...props} ref={ref} />;\n});\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n filter: \"drop-shadow(0px 16.1502px 32.3005px rgba(35, 23, 5, 0.1))\",\n borderRadius: \"8px\",\n },\n title: {\n display: \"block\",\n marginTop: \"12px\",\n ...typography.BODY2,\n color: neutralColors.GRAY5,\n ...forceTextOneLine,\n },\n frame: {\n borderRadius: \"8px\",\n width: \"100%\",\n },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { MediaItemDto } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./YouTubeVideo.styles\";\n\nexport type YouTubeVideoProps = {\n item: Pick<MediaItemDto, \"id\" | \"name\" | \"reference\"> & { length?: string };\n className?: string;\n iframeClassName?: string;\n} & JSX.IntrinsicElements[\"iframe\"];\n\nexport default function YouTubeVideo({\n item,\n className,\n iframeClassName,\n ...props\n}: YouTubeVideoProps) {\n return (\n <div className={classes(styles.root, className)}>\n <iframe\n {...props}\n className={classes(styles.frame, iframeClassName)}\n title={item.name}\n frameBorder=\"0\"\n src={`https://www.youtube.com/embed/${item.reference}?autoplay=0&origin=${window.origin}`}\n />\n <span className={styles.title}>\n {item.name}\n {item?.length ? ` - ${item.length}` : \"\"}\n </span>\n </div>\n );\n}\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nexport const dividerSpace = px(20);\n\nconst styles = stylesheet({\n CreateList: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n width: px(400),\n },\n contentWrapper: {\n margin: \"32px\",\n },\n companyNameText: {\n color: primaryColors.PURPLE3,\n },\n actions: {\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row-reverse\",\n flexWrap: \"wrap\",\n marginTop: \"25px\",\n },\n createListButton: {\n width: \"100%\",\n backgroundColor: utilityColors.ORANGE,\n padding: \"0px 40px\",\n },\n\n buttonLabel: {\n margin: `${px(0)} ${px(8)}`,\n },\n createButtonLabel: {\n color: primaryColors.WHITE,\n },\n});\n\nexport default styles;\n","import React, { useContext } from \"react\";\n\nimport Button from \"components/ui/Button\";\nimport ModalHeader from \"components/ui/ModalHeader\";\nimport CreateList from \"components/vendorlists/CreateList\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { Pair } from \"shared/model\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./NoListStyles\";\n\nexport interface NoListProps {\n company: Pair;\n onSuccess?: () => void;\n onCancel?: () => void;\n}\n\nexport default function NoList({\n company,\n onSuccess = () => {},\n onCancel = () => {},\n}: NoListProps) {\n const { openModal } = useContext(ModalContext);\n\n function openCreateList() {\n openModal(<CreateList onSuccess={onSuccess} onCancel={onCancel} />);\n }\n\n return (\n <div className={styles.CreateList}>\n <div className={styles.contentWrapper}>\n <ModalHeader\n title={`Add ${company.name} to My Lists`}\n onClose={onCancel}\n />\n <p className={style(typography.BODY2)}>\n You don't have any lists yet to add{\" \"}\n <span className={styles.companyNameText}>{company.name}</span>. Please\n create a new list\n </p>\n\n <div className={styles.actions}>\n <Button\n className={styles.createListButton}\n variant=\"transparent\"\n onClick={openCreateList}\n >\n <span\n className={classes(styles.buttonLabel, styles.createButtonLabel)}\n >\n Create New List\n </span>\n </Button>\n </div>\n </div>\n </div>\n );\n}\n","import { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n AddToList: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n width: px(400),\n },\n});\n\nexport default styles;\n","import React, { useCallback, useContext, useEffect } from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport ModalHeader from \"components/ui/ModalHeader\";\nimport MultiSelectList from \"components/ui/MultiSelectList\";\nimport CreateList from \"components/vendorlists/CreateList\";\nimport NoList from \"components/vendorlists/NoList\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useAddCompanyToList from \"hooks/queries/useAddCompanyToList\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { CompanyDetailsDto, Pair } from \"shared/model\";\nimport hasSameValues from \"shared/utils/hasSameValues\";\n\nimport styles from \"./AddToListStyles\";\n\nexport interface AddToListProps {\n company: Pair;\n onSuccess?: () => void;\n onCancel?: () => void;\n}\n\nexport default function AddToList({\n company,\n onSuccess = () => {},\n onCancel = () => {},\n}: AddToListProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n const { data: ownCompany, isFetching: companyLoading } = useOwnCompany();\n\n const { isLoading: addingInprogress, mutateAsync: addCompanyToList } =\n useAddCompanyToList();\n\n const isLoading = companyLoading || addingInprogress;\n\n useEffect(() => {\n if (ownCompany!.companyLists.length === 0) {\n openModal(\n <NoList\n company={company}\n onSuccess={() => {\n openModal(\n <AddToList\n company={company}\n onSuccess={onSuccess}\n onCancel={onCancel}\n />\n );\n }}\n onCancel={closeModal}\n />\n );\n }\n });\n\n async function addToList(selectedIds: string[]) {\n const oldsIds = getSelectedIds(ownCompany!, company.id);\n const newIds = selectedIds.filter((id) => !oldsIds.includes(id));\n newIds.forEach((listId) =>\n addCompanyToList({ listId, companyId: company.id })\n );\n onSuccess();\n }\n function openCreateList() {\n openModal(\n <CreateList\n onSuccess={() =>\n openModal(\n <AddToList\n company={company}\n onSuccess={onSuccess}\n onCancel={onCancel}\n />\n )\n }\n onCancel={onCancel}\n />\n );\n }\n\n const getSelectedIds = useCallback<\n (company: CompanyDetailsDto, companyIdMatch: string) => string[]\n >(\n (company, companyIdMatch) =>\n company.companyLists\n .filter((item) => item.companyIds.includes(companyIdMatch))\n .map((item) => item.id),\n []\n );\n\n const getOptionsPairs = useCallback<(company: CompanyDetailsDto) => Pair[]>(\n (company) =>\n company.companyLists.map((item) => ({\n name: item.name,\n id: item.id,\n })),\n []\n );\n\n const calculatedSelectedIds = getSelectedIds(ownCompany!, company.id);\n\n return (\n <div className={styles.AddToList}>\n <ModalHeader\n title={`Add ${company.name} to My Lists`}\n onClose={closeModal}\n />\n {isLoading ? (\n <Loading />\n ) : (\n <MultiSelectList\n disableUncheck\n placeholder={\"Select List\"}\n options={getOptionsPairs(ownCompany!)}\n selectedIds={calculatedSelectedIds}\n actions={[\n {\n label: \"Add to List(s)\",\n color: \"orange\",\n disabled: (selectedIds) =>\n hasSameValues(selectedIds, calculatedSelectedIds),\n onClick: (selectedItems: Pair[]) =>\n addToList(selectedItems.map((item) => item.id)),\n },\n {\n label: \"Create List\",\n color: \"purple\",\n onClick: (_selectedItems: Pair[]) => openCreateList(),\n },\n ]}\n />\n )}\n </div>\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { postCompanyListCompany } from \"shared/client\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\nimport useOwnCompany from \"./useOwnCompany\";\n\ntype AddCompanyToListHookParams = {\n onSuccess: () => void;\n};\n\ntype AddToListParams = {\n listId: string;\n companyId: string;\n};\n\nexport default function useAddCompanyToList(\n options?: AddCompanyToListHookParams\n) {\n const client = useQueryClient();\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation(\n ({ listId, companyId }: AddToListParams) =>\n postCompanyListCompany(ownCompany!.id, listId, companyId),\n {\n mutationKey: mutationKeys.addCompanyToList,\n // When mutate is called:\n onMutate: async ({ listId, companyId }: AddToListParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.ownCompany);\n\n // Snapshot the previous value\n const previousOrganization = client.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n );\n\n // Optimistically update to the new value\n if (previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(queryKeys.ownCompany, {\n ...previousOrganization,\n companyLists: previousOrganization.companyLists.map((list) =>\n list.id === listId\n ? { ...list, companyIds: [...list.companyIds, companyId] }\n : list\n ),\n });\n }\n\n return { previousOrganization };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany,\n context.previousOrganization\n );\n }\n },\n // Always refetch after error or success:\n onSettled: () => {\n client.invalidateQueries(queryKeys.ownCompany);\n },\n onSuccess: options?.onSuccess,\n }\n );\n}\n","export default function hasSameValues<T>(arr1: T[], arr2: T[]): boolean {\n const set1 = new Set(arr1);\n const set2 = new Set(arr2);\n return (\n arr1.every((item) => set2.has(item)) && arr2.every((item) => set1.has(item))\n );\n}\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nexport const dividerSpace = px(20);\n\nconst styles = stylesheet({\n CreateList: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n },\n contentWrapper: {},\n input: {\n display: \"flex\",\n alignItems: \"center\",\n height: \"40px\",\n boxSizing: \"border-box\",\n color: neutralColors.GRAY5,\n verticalAlign: \"center\",\n },\n actions: {\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row-reverse\",\n flexWrap: \"wrap\",\n marginTop: \"25px\",\n },\n button: {\n margin: \"5px 0px 5px 24px\",\n },\n createListButton: {\n padding: \"0px 40px\",\n },\n buttonLabel: {\n margin: `${px(0)} ${px(8)}`,\n },\n warningCompanyName: {\n color: utilityColors.ORANGE,\n },\n});\n\nexport default styles;\n","import React, { useContext, useState } from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input/Input\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport ModalHeader from \"components/ui/ModalHeader\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useCreateCompanyList from \"hooks/queries/useCreateCompanyList\";\nimport { ApiError } from \"shared/client\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./CreateListStyles\";\n\nexport interface CreateListProps {\n onSuccess?: () => void;\n onCancel?: () => void;\n}\n\nexport default function CreateList({\n onSuccess = () => {},\n onCancel = () => {},\n}: CreateListProps) {\n const [name, setName] = useState<string>(\"\");\n const { mutateAsync: createCompanyList, isLoading } = useCreateCompanyList({\n onSuccess,\n });\n const { openModal, closeModal } = useContext(ModalContext);\n async function createList() {\n if (!name) {\n // todo this should be a form instead, so we can use the required attribute, that is cleaner\n return;\n }\n try {\n await createCompanyList(name);\n onSuccess();\n } catch (err) {\n if (err instanceof ApiError) {\n if (err.status === 409) {\n openModal(\n <SimpleModalBody\n onClose={closeModal}\n title=\"Name Already exists\"\n buttons={[\n {\n variant: \"normal\",\n color: \"gray\",\n children: \"Cancel\",\n onClick: closeModal,\n },\n {\n variant: \"normal\",\n color: \"orange\",\n children: \"Ok\",\n onClick: () => {\n openModal(\n <CreateList\n onSuccess={closeModal}\n onCancel={closeModal}\n />\n );\n },\n },\n ]}\n >\n The name\n <span className={styles.warningCompanyName}>\n  {name} \n </span>\n is already taken. Please choose a different name.\n </SimpleModalBody>\n );\n }\n }\n }\n }\n\n return (\n <div className={styles.CreateList}>\n <div className={styles.contentWrapper}>\n <ModalHeader title=\"Creating a new List\" onClose={onCancel} />\n {isLoading ? (\n <Loading />\n ) : (\n <>\n <Input\n placeholder=\"Type Name\"\n className={styles.input}\n fullWidth={true}\n value={name}\n onChange={(event) => setName(event.target.value)}\n />\n\n <div className={styles.actions}>\n <Button\n className={classes(styles.button, styles.createListButton)}\n variant=\"normal\"\n color=\"orange\"\n onClick={createList}\n >\n <span className={classes(styles.buttonLabel)}>Create List</span>\n </Button>\n <Button\n className={classes(styles.button)}\n variant=\"normal\"\n color=\"gray\"\n onClick={onCancel}\n >\n <span className={classes(styles.buttonLabel)}>Cancel</span>\n </Button>\n </div>\n </>\n )}\n </div>\n </div>\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { postCompanyList } from \"shared/client\";\nimport { CompanyDetailsDto } from \"shared/model\";\nimport generateAlmostUniqueId from \"shared/utils/generateAlmostUniqueId\";\n\nimport useOwnCompany from \"./useOwnCompany\";\n\ntype CreateCompanyHookParams = {\n onSuccess?: () => void;\n};\n\nexport default function useCreateCompanyList(\n options?: CreateCompanyHookParams\n) {\n const client = useQueryClient();\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation((name: string) => postCompanyList(ownCompany!.id, name), {\n mutationKey: mutationKeys.createCompanyList,\n // When mutate is called:\n onMutate: async (newListName: string) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.ownCompany);\n\n // Snapshot the previous value\n const previousOrganization = client.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n );\n\n // Optimistically update to the new value\n if (previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(queryKeys.ownCompany, {\n ...previousOrganization,\n companyLists: [\n ...previousOrganization.companyLists,\n {\n id: generateAlmostUniqueId(),\n name: newListName,\n companyIds: [],\n },\n ],\n });\n }\n\n return { previousOrganization };\n },\n onSuccess: options?.onSuccess,\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany,\n context.previousOrganization\n );\n }\n },\n // Always refetch after error or success:\n onSettled: () => {\n client.invalidateQueries(queryKeys.ownCompany);\n },\n });\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n RemoveFromList: {\n display: \"flex\",\n overflow: \"hidden\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n width: px(400),\n background: primaryColors.WHITE,\n borderRadius: px(8),\n padding: \"32px\",\n },\n companyNameText: {\n color: primaryColors.PURPLE3,\n },\n});\n\nexport default styles;\n","import React, { useCallback } from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport ModalHeader from \"components/ui/ModalHeader\";\nimport MultiSelectList from \"components/ui/MultiSelectList\";\nimport useDeleteCompanyFromList from \"hooks/queries/useDeleteCompanyFromList\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { Pair } from \"shared/model\";\nimport { typography } from \"shared/styles/typography\";\nimport { style } from \"typestyle\";\n\nimport styles from \"./RemoveFromListStyles\";\n\nexport interface AddToListProps {\n company: Pair;\n onSuccess?: () => void;\n onCancel?: () => void;\n}\n\nexport default function RemoveFromList({\n company,\n onSuccess = () => {},\n onCancel = () => {},\n}: AddToListProps) {\n const { data: ownCompany, isFetching: companyLoading } = useOwnCompany();\n const { isLoading: deletionInProgress, mutate: deleteCompanyFromList } =\n useDeleteCompanyFromList({\n optimisticlyUpdateSearch: false,\n });\n\n const isLoading = companyLoading || deletionInProgress;\n\n async function removeFromList(selectedIds: string[]) {\n selectedIds.map((listId) =>\n deleteCompanyFromList({ listId, companyId: company.id })\n );\n\n onSuccess();\n }\n\n const getOptionsPairs = useCallback<() => Pair[]>(\n () =>\n ownCompany!.companyLists\n .filter((item) => item.companyIds.includes(company.id))\n .map((item) => ({\n name: item.name,\n id: item.id,\n })),\n [company.id, ownCompany]\n );\n\n return (\n <div className={styles.RemoveFromList}>\n <ModalHeader title={`Remove ${company.name}`} onClose={onCancel} />\n {isLoading ? (\n <Loading />\n ) : (\n <>\n <p className={style(typography.BODY2)}>\n Are you sure you want to remove{\" \"}\n <span className={styles.companyNameText}>{company.name}</span> from\n one or more of your Lists?\n </p>\n <MultiSelectList\n disableUncheck\n placeholder={\"Select List\"}\n options={getOptionsPairs()}\n actions={[\n {\n label: \"Yes, Remove Company\",\n color: \"orange\",\n // this component shoudl know of what is selected, until that this hack is applied to make it disabled\n disabled: (selectedIds: string[]) => !selectedIds.length,\n onClick: (selectedItems: Pair[]) =>\n removeFromList(selectedItems.map((item) => item.id)),\n },\n {\n label: \"Cancel\",\n color: \"gray\",\n onClick: () => onCancel(),\n },\n ]}\n />\n </>\n )}\n </div>\n );\n}\n","import { CompanyListDto } from \"shared/model\";\n// TODO: This function is O(mn) time - need to improve the api to reduce this, or smarter algo\nexport const checkIsInOrg = (id: string, companyLists: CompanyListDto[]) => {\n let isInOrg = false;\n companyLists.forEach((list) => {\n list.companyIds.forEach((companyId) => {\n if (companyId === id) {\n isInOrg = true;\n }\n });\n });\n return isInOrg;\n};\n","import React, { useContext, useState } from \"react\";\nimport queryClient from \"reactQuery/client\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useAssetItems from \"hooks/queries/useAssetItems\";\nimport useFolderIdParam from \"hooks/useFolderIdParam\";\nimport usePrevious from \"hooks/usePrevious\";\nimport { AssetSearchOptions, CompanyDetailsDto } from \"shared/model\";\n\nexport type AssetRepositoryFilterContextType = {\n searchOptions: AssetSearchOptions;\n setSearchOptions: React.Dispatch<React.SetStateAction<AssetSearchOptions>>;\n};\n\nexport const AssetContext =\n React.createContext<AssetRepositoryFilterContextType>({\n searchOptions: {\n folderId: queryClient.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n )?.assetRepositoryId,\n name: \"\",\n showHidden: false,\n },\n setSearchOptions: () => {},\n });\n\nexport function useAssetContext() {\n return useContext(AssetContext);\n}\n\nexport default function AssetFilterProvider({\n children,\n companyId,\n folderId,\n}: {\n children: React.ReactNode;\n companyId?: string;\n folderId?: string;\n}) {\n const folderIdFromUrlParam = useFolderIdParam();\n const [searchOptions, setSearchOptions] = useState<AssetSearchOptions>({\n folderId: folderId || folderIdFromUrlParam,\n name: \"\",\n labelIds: undefined,\n showHidden: false,\n });\n\n const previousFolderId = usePrevious(searchOptions.folderId);\n\n useAssetItems(searchOptions, {\n onSuccess: (data) => {\n if (\n previousFolderId === searchOptions.folderId &&\n searchOptions.folderId\n ) {\n return;\n }\n // Upon navigating between folders when there are no matching items in the folder remove the label based filters\n if (searchOptions.labelIds?.length && !data.length) {\n setSearchOptions({ ...searchOptions, labelIds: undefined });\n }\n },\n companyId,\n });\n\n return (\n <AssetContext.Provider\n value={{\n searchOptions,\n setSearchOptions,\n }}\n >\n {children}\n </AssetContext.Provider>\n );\n}\n","import { useEffect, useRef } from \"react\";\n\n// source: https://usehooks.com/usePrevious/\nexport default function usePrevious<T>(value: T) {\n // The ref object is a generic container whose current property is mutable ...\n // ... and can hold any value, similar to an instance property on a class\n const ref = useRef<T>();\n // Store current value in ref\n useEffect(() => {\n ref.current = value;\n }, [value]); // Only re-run if value changes\n // Return previous value (happens before update in useEffect above)\n return ref.current;\n}\n","import { RefObject, useEffect, useLayoutEffect, useRef, useState } from \"react\";\n\n/** source: https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect */\nexport const useIsomorphicLayoutEffect =\n typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n/** source: https://usehooks-ts.com/react-hook/use-event-listener */\nfunction useEventListener<K extends keyof MediaQueryListEventMap>(\n eventName: K,\n handler: (event: MediaQueryListEventMap[K]) => void,\n element: RefObject<MediaQueryList>,\n options?: boolean | AddEventListenerOptions\n): void;\n\n// Window Event based useEventListener interface\nfunction useEventListener<K extends keyof WindowEventMap>(\n eventName: K,\n handler: (event: WindowEventMap[K]) => void,\n element?: undefined,\n options?: boolean | AddEventListenerOptions\n): void;\n\n// Element Event based useEventListener interface\nfunction useEventListener<\n K extends keyof HTMLElementEventMap,\n T extends HTMLElement = HTMLDivElement\n>(\n eventName: K,\n handler: (event: HTMLElementEventMap[K]) => void,\n element: RefObject<T>,\n options?: boolean | AddEventListenerOptions\n): void;\n\n// Document Event based useEventListener interface\nfunction useEventListener<K extends keyof DocumentEventMap>(\n eventName: K,\n handler: (event: DocumentEventMap[K]) => void,\n element: RefObject<Document>,\n options?: boolean | AddEventListenerOptions\n): void;\n\nfunction useEventListener<\n KW extends keyof WindowEventMap,\n KH extends keyof HTMLElementEventMap,\n KM extends keyof MediaQueryListEventMap,\n T extends HTMLElement | MediaQueryList | void = void\n>(\n eventName: KW | KH | KM,\n handler: (\n event:\n | WindowEventMap[KW]\n | HTMLElementEventMap[KH]\n | MediaQueryListEventMap[KM]\n | Event\n ) => void,\n element?: RefObject<T>,\n options?: boolean | AddEventListenerOptions\n) {\n // Create a ref that stores handler\n const savedHandler = useRef(handler);\n\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n\n useEffect(() => {\n // Define the listening target\n const targetElement: T | Window = element?.current ?? window;\n\n if (!(targetElement && targetElement.addEventListener)) return;\n\n // Create event listener that calls handler function stored in ref\n const listener: typeof handler = (event) => savedHandler.current(event);\n\n targetElement.addEventListener(eventName, listener, options);\n\n // Remove event listener on cleanup\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\ninterface WindowSize {\n windowWidth: number;\n windowHeight: number;\n}\n\n/** source: https://usehooks-ts.com/react-hook/use-window-size */\nexport function useWindowSize(): WindowSize {\n const [windowSize, setWindowSize] = useState<WindowSize>({\n windowWidth: 0,\n windowHeight: 0,\n });\n\n const handleSize = () => {\n setWindowSize({\n windowWidth: window.innerWidth,\n windowHeight: window.innerHeight,\n });\n };\n\n useEventListener(\"resize\", handleSize);\n\n // Set size at the first client-side load\n useIsomorphicLayoutEffect(() => {\n handleSize();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return windowSize;\n}\n","import React, { useCallback, useContext, useState } from \"react\";\nimport ReactConfetti, { Props as ConfettiProps } from \"react-confetti\";\n\nimport { utilityColors } from \"@pulsemarket/constants\";\nimport { useWindowSize } from \"hooks/useWindowsSize\";\n\nimport { sideBarWidth } from \"layout/SideMenu/SideMenuStyles\";\n\nexport type ConfettiContextType = {\n showConfetti: (props: ConfettiProps) => void;\n};\n\nexport const ConfettiContext = React.createContext<ConfettiContextType>({\n showConfetti: () => {},\n});\n\nexport function useConfettiContext() {\n return useContext(ConfettiContext);\n}\n\nconst defaultConfettiColors = [\n utilityColors.GREEN,\n utilityColors.GREEN_OUTLINE_HOVER,\n utilityColors.ORANGE,\n utilityColors.CYAN,\n utilityColors.LILAC,\n utilityColors.YELLOW,\n // Added more green color to highilght the ESG colors\n utilityColors.GREEN_OUTLINE_HOVER,\n utilityColors.GREEN,\n utilityColors.GREEN,\n utilityColors.GREEN,\n];\n\nexport default function ConfettiProvider({\n children,\n}: {\n children?: React.ReactNode;\n}) {\n const [props, setProps] = useState<ConfettiProps | null>(null);\n const showConfetti = useCallback(\n (props: ConfettiProps) => {\n setProps(props);\n },\n [setProps]\n );\n\n const { windowHeight, windowWidth } = useWindowSize();\n\n const canvas = {\n height: props?.height || windowHeight * 0.7,\n width: props?.width || windowWidth * 0.5,\n };\n\n return (\n <ConfettiContext.Provider value={{ showConfetti }}>\n {children}\n {props && (\n <ReactConfetti\n //change the gracity property to make the confetti fall faster or slower\n // gravity={0.5}\n //change the wind property to make the confetti blow left or right\n // wind={0.5}\n {...props}\n style={{\n top: `calc(50% - ${canvas.height / 2}px)`,\n left: `calc(50% - ${\n canvas.width / 2\n }px + ${sideBarWidth})` /* 85px is the width of the sidebar */,\n ...props.style,\n }}\n width={canvas.width}\n height={canvas.height}\n confettiSource={\n props.confettiSource || {\n x: (canvas.width * 5) / 12,\n y: (canvas.height * 5) / 12,\n w: (canvas.width * 2) / 12,\n h: (canvas.height * 2) / 12,\n }\n }\n colors={props.colors || defaultConfettiColors}\n recycle={typeof props.recycle === \"undefined\" ? false : props.recycle}\n onConfettiComplete={(...args) => {\n props.onConfettiComplete?.(...args);\n setProps(null);\n }}\n />\n )}\n </ConfettiContext.Provider>\n );\n}\n","import React, { useContext, useEffect } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n\nimport useGetCompany from \"hooks/queries/useGetCompany\";\nimport { useGroup } from \"hooks/queries/useGroup\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport {\n getGroupContentState,\n GROUP_TAB_URLS,\n} from \"pages/PulseGroup/Group/constants\";\nimport { GroupAccessContext, GroupLayout } from \"pages/PulseGroup/Group/types\";\nimport { GroupSettingTab } from \"pages/PulseGroup/GroupSettingsPage/GroupSettingsPage\";\nimport useOpenGroupSettings from \"pages/PulseGroup/GroupSettingsPage/useOpenGroupSettings\";\nimport {\n CompanyDetailsDto,\n GroupDetailsDto,\n GroupInvitationDto,\n} from \"shared/model\";\nimport { WithRequired } from \"shared/utilityTypes\";\n\nexport type GroupContextType = {\n layout: GroupLayout;\n group?: GroupDetailsDto;\n ownerCompany?: CompanyDetailsDto;\n isLoading?: boolean;\n isMember: boolean;\n isOwner: boolean;\n activeInvitation?: WithRequired<GroupInvitationDto, \"invitedCompany\">;\n access?: GroupAccessContext;\n shouldShowContent: boolean;\n};\n\nexport const GroupContext = React.createContext<GroupContextType>({\n layout: \"posts\",\n isMember: false,\n isOwner: false,\n shouldShowContent: false,\n});\n\nexport function useGroupContext() {\n return useContext(GroupContext);\n}\n\nconst locationToLayout: Record<string, GroupLayout> = {\n [GROUP_TAB_URLS.posts]: \"posts\",\n [GROUP_TAB_URLS.files]: \"files\",\n [GROUP_TAB_URLS.allFiles]: \"files\",\n [GROUP_TAB_URLS.videos]: \"files\",\n [GROUP_TAB_URLS.images]: \"files\",\n [GROUP_TAB_URLS.documents]: \"files\",\n};\n\nexport default function GroupProvider({\n children,\n groupId,\n}: {\n children?: React.ReactNode;\n groupId: string;\n}) {\n const location = useLocation();\n const history = useHistory();\n const { data: group, isLoading: groupLoading } = useGroup(groupId);\n const { data: ownerCompany, isLoading: ownerCompanyLoading } = useGetCompany(\n group?.ownerCompanyId\n );\n const { data: user } = useUserData();\n const { data: ownCompany, isLoading: ownCompanyLoading } = useOwnCompany();\n\n const initialSettingsPage = (\n location.state as { initialSettingsPage?: GroupSettingTab }\n )?.initialSettingsPage;\n\n const openGroupSettings = useOpenGroupSettings();\n\n useEffect(() => {\n if (!!initialSettingsPage && !!group) {\n //Clear history.state to prevent reopening settings modal on refresh\n window.history.replaceState({}, document.title);\n\n openGroupSettings({\n groupId: group.id,\n initialPage: initialSettingsPage,\n });\n }\n }, [\n openGroupSettings,\n group,\n history,\n history.location,\n initialSettingsPage,\n ]);\n\n const isLoading = groupLoading || ownerCompanyLoading || ownCompanyLoading;\n\n const activeInvitation = group?.members.find(\n (invitation) =>\n !!ownCompany?.id &&\n ownCompany.id &&\n invitation.invitedCompany?.id === ownCompany.id\n );\n\n const isMember = !!activeInvitation;\n const isOwner = !!ownCompany?.id && ownCompany.id === ownerCompany?.id;\n\n const access = getGroupContentState({\n companyId: ownCompany?.id,\n email: user?.email,\n group: group,\n isMember,\n isOwner,\n });\n\n const shouldShowContent =\n isOwner || isMember || access === GroupAccessContext.PublicJoinable;\n\n return (\n <GroupContext.Provider\n value={{\n layout: locationToLayout[location.hash] || \"posts\",\n group,\n ownerCompany,\n isLoading,\n isMember,\n isOwner,\n activeInvitation,\n access,\n shouldShowContent,\n }}\n >\n {children}\n </GroupContext.Provider>\n );\n}\n","import React, { useCallback, useContext, useState } from \"react\";\n\nimport { Identifiable } from \"components/AssetRepository/types\";\nimport { Selectable } from \"components/ui/Table/types\";\n\nexport type ListContextType<T> = {\n listData: T[];\n setListData: (newArr: T[]) => void;\n onToggleSelect: (id: string) => void;\n onToggleSelectAll: (allElementsSelected: boolean) => void;\n};\n\n// ListContextType needs a T variable. We declare T as any here so we can later overwrite it in the useContext() declaration.\n// The other solution would be a generic function that returns a a context of type ListContextType<T>,\n// but then we would have to declare multiple providers too, one for each list.\nexport const ListContext = React.createContext<ListContextType<any>>({\n listData: [],\n setListData: () => {},\n onToggleSelect: () => {},\n onToggleSelectAll: () => {},\n});\n\nexport function useListContext<T>() {\n return useContext(ListContext) as ListContextType<T>;\n}\n\nexport default function ListProvider<T extends Identifiable & Selectable>({\n children,\n context,\n}: {\n children: React.ReactNode;\n context: React.Context<ListContextType<T>>;\n}) {\n const [listData, setListData] = useState<T[]>([]);\n\n const onToggleSelectAll = useCallback((allElementsSelected: boolean) => {\n if (allElementsSelected) {\n setListData((listData) =>\n listData.map((item) => {\n item.selected = false;\n return item;\n })\n );\n } else {\n setListData((listData) =>\n listData.map((item) => {\n if (!item.selected) {\n item.selected = true;\n }\n return item;\n })\n );\n }\n }, []);\n\n const onToggleSelect = useCallback((id: string) => {\n setListData((listData) =>\n listData.map((item) => {\n if (item.id === id) {\n return { ...item, selected: !item.selected };\n }\n return item;\n })\n );\n }, []);\n\n const setListDataAndKeepSelectedItems = useCallback((newArr: T[]) => {\n setListData((listData) =>\n newArr.map((newItem) => ({\n ...newItem,\n selected:\n listData.find((oldItem) => oldItem.id === newItem.id)?.selected ||\n newItem.selected,\n }))\n );\n }, []);\n\n return (\n <context.Provider\n value={{\n listData,\n setListData: setListDataAndKeepSelectedItems,\n onToggleSelect,\n onToggleSelectAll,\n }}\n >\n {children}\n </context.Provider>\n );\n}\n","import React, { useCallback } from \"react\";\n\nimport Modal from \"components/ui/Modal\";\nimport { CustomizableDialogProps } from \"components/ui/Modal/Modal\";\n\nexport type ModalOptions = {\n props?: CustomizableDialogProps;\n /** If true, keeps previously displayed modals mounted */\n keepHistory?: boolean;\n};\n\nexport interface ModalContextType {\n /** Opens a React component inside a modal window. You can supply props to the underliying `<Dialog />` component with the second parameter.\n *\n * You can render anything inside, but in the general case you can use the already implemented `<SimpleModalBody />` component. We also have a `<ConfirmationModalBody />` defined based on the former component.\n *\n * Successive openModal calls will stack the modals. You can close the last one with the `closeModal` function.\n * If you supply the `history` prop, the last modal be replace the stacked history, this is the default behaviour.\n *\n * @example\n * const { openModal, closeModal } = useContext(ModalContext);\n * openModal(<SimpleModalBody>Content of the modal</SimpleModalBody>, props)\n */\n openModal: (component: React.ReactNode, options?: ModalOptions) => void;\n closeModal: () => void;\n}\n\nexport type ModalHistoryEntry = {\n content: React.ReactNode;\n props: CustomizableDialogProps;\n};\n\n/** This hook should strictly be only used inside the `ModalProvider`, use `ModalContext` to update the state. */\nexport const useModal = () => {\n const [history, setHistory] = React.useState<ModalHistoryEntry[]>([]);\n\n const openModal = useCallback(\n (content: React.ReactNode, options?: ModalOptions) => {\n const elementToAppend = { content, props: { ...options?.props } };\n\n setHistory((modalContentHistory) => {\n if (!options?.keepHistory) {\n return [elementToAppend];\n }\n\n const newHistory = modalContentHistory.slice();\n const lastEl = newHistory.pop();\n\n if (lastEl) {\n return [\n ...newHistory,\n { ...lastEl, props: { ...lastEl?.props, keepMounted: true } },\n elementToAppend,\n ];\n }\n\n return [...newHistory, elementToAppend];\n });\n },\n []\n );\n\n /**\n * Closes the last modal window. If there is a previous modal window in the modalContentHistory, it will be opened again.\n */\n const closeModal = useCallback(() => {\n setHistory((modalContentHistory) => {\n return modalContentHistory.slice(0, -1);\n });\n }, []);\n\n return {\n openModal,\n closeModal,\n history,\n };\n};\n\nconst ModalContext = React.createContext<ModalContextType>({\n openModal: () => {},\n closeModal: () => {},\n});\n\nexport const ModalConsumer = ModalContext.Consumer;\n\nexport function ModalProvider({ children }: { children: React.ReactNode }) {\n const { openModal, closeModal, history } = useModal();\n return (\n <ModalContext.Provider\n value={{\n openModal,\n closeModal,\n }}\n >\n <Modal history={history} />\n {children}\n </ModalContext.Provider>\n );\n}\n\nexport default ModalContext;\n","import { DialogProps } from \"@mui/material\";\nimport { primaryColors } from \"@pulsemarket/constants\";\nimport { CustomizableDialogProps } from \"components/ui/Modal/Modal\";\n\nexport const uncloseableDialogSettings: (size?: DialogProps[\"maxWidth\"]) => {\n props: CustomizableDialogProps;\n} = (size) => ({\n props: {\n disableEscapeKeyDown: true,\n disableBackdropClick: true,\n maxWidth: size,\n PaperProps: {\n style: {\n backgroundColor: primaryColors.WHITE,\n },\n },\n },\n});\n","export const PUBLIC_VIEWER_DATA_ROOM_COMPANYID = \"viewed-data-room-company-id\";\nexport const PUBLIC_VIEWER_DATA_ROOM_ID = \"viewed-data-room-id\";\n","import React, { useContext, useState } from \"react\";\n\nimport usePublicVisitor from \"hooks/usePublicVisitor\";\n\ntype PublicVisitorContextData = {\n // The data room being viewed\n viewedDataRoomId: string | null;\n // The company being viewed\n viewedCompanyId: string | null;\n setDataRoomId: React.Dispatch<string | null>;\n setCompanyId: React.Dispatch<string | null>;\n isLoading?: boolean;\n};\n\nexport const PublicVisitorContext =\n React.createContext<PublicVisitorContextData>({\n viewedDataRoomId: null,\n viewedCompanyId: null,\n setDataRoomId: () => {},\n setCompanyId: () => {},\n });\n\nexport function usePublicVisitorContext() {\n return useContext(PublicVisitorContext);\n}\n\nexport default function PublicVisitorProvider({\n children,\n}: {\n children: React.ReactNode;\n}) {\n const [dataRoomId, setDataRoomId] = useState<string | null>(null);\n const [companyId, setCompanyId] = useState<string | null>(null);\n const {\n dataRoomCompanyId: viewedDataRoomCompanyId,\n dataRoomId: viewedDataRoomId,\n isLoading,\n } = usePublicVisitor({ dataRoomId });\n\n return (\n <PublicVisitorContext.Provider\n value={{\n viewedDataRoomId,\n viewedCompanyId: viewedDataRoomCompanyId || companyId,\n setDataRoomId,\n setCompanyId,\n isLoading,\n }}\n >\n {children}\n </PublicVisitorContext.Provider>\n );\n}\n","import { useEffect, useState } from \"react\";\n\nimport useDataRoom from \"hooks/queries/useDataRoom\";\nimport useIsPublicVisitor from \"hooks/useIsPublicVisitor\";\nimport {\n PUBLIC_VIEWER_DATA_ROOM_COMPANYID,\n PUBLIC_VIEWER_DATA_ROOM_ID,\n} from \"shared/constants/sessionstorage\";\n\nexport default function usePublicVisitor({\n dataRoomId,\n}: {\n dataRoomId?: string | null;\n}) {\n const { isPublicVisitor, isLoading: isPublicVisitorLoading } =\n useIsPublicVisitor();\n\n const [dataRoomCompanyId, setDataRoomCompanyId] = useState<string | null>(\n window.sessionStorage.getItem(PUBLIC_VIEWER_DATA_ROOM_COMPANYID) ?? null\n );\n const [calculatedDataRoomId, setDataRoomId] = useState<string | null>(\n (window.sessionStorage.getItem(PUBLIC_VIEWER_DATA_ROOM_ID) || dataRoomId) ??\n null\n );\n const { data, isLoading } = useDataRoom(dataRoomId);\n\n useEffect(() => {\n if (isPublicVisitorLoading || isLoading || !dataRoomId) {\n return;\n }\n if (isPublicVisitor) {\n window.sessionStorage.setItem(PUBLIC_VIEWER_DATA_ROOM_ID, dataRoomId);\n setDataRoomId(dataRoomId);\n\n if (data) {\n window.sessionStorage.setItem(\n PUBLIC_VIEWER_DATA_ROOM_COMPANYID,\n data.companyId\n );\n setDataRoomCompanyId(data.companyId);\n }\n } else {\n window.sessionStorage.removeItem(PUBLIC_VIEWER_DATA_ROOM_ID);\n window.sessionStorage.removeItem(PUBLIC_VIEWER_DATA_ROOM_COMPANYID);\n setDataRoomCompanyId(null);\n setDataRoomId(null);\n }\n }, [\n setDataRoomCompanyId,\n data,\n isLoading,\n dataRoomId,\n isPublicVisitor,\n isPublicVisitorLoading,\n ]);\n\n return {\n dataRoomId: calculatedDataRoomId,\n dataRoomCompanyId,\n isLoading: isPublicVisitorLoading || isLoading,\n };\n}\n","'use client';\n\nimport * as React from 'react';\nimport { unstable_useEventCallback as useEventCallback, unstable_useTimeout as useTimeout } from '@mui/utils';\nimport extractEventHandlers from '@mui/utils/extractEventHandlers';\n/**\n * The basic building block for creating custom snackbar.\n *\n * Demos:\n *\n * - [Snackbar](https://mui.com/base-ui/react-snackbar/#hook)\n *\n * API:\n *\n * - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar)\n */\nfunction useSnackbar(parameters = {}) {\n const {\n autoHideDuration = null,\n disableWindowBlurListener = false,\n onClose,\n open,\n resumeHideDuration\n } = parameters;\n const timerAutoHide = useTimeout();\n React.useEffect(() => {\n if (!open) {\n return undefined;\n }\n\n /**\n * @param {KeyboardEvent} nativeEvent\n */\n function handleKeyDown(nativeEvent) {\n if (!nativeEvent.defaultPrevented) {\n if (nativeEvent.key === 'Escape') {\n // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar\n onClose?.(nativeEvent, 'escapeKeyDown');\n }\n }\n }\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('keydown', handleKeyDown);\n };\n }, [open, onClose]);\n const handleClose = useEventCallback((event, reason) => {\n onClose?.(event, reason);\n });\n const setAutoHideTimer = useEventCallback(autoHideDurationParam => {\n if (!onClose || autoHideDurationParam == null) {\n return;\n }\n timerAutoHide.start(autoHideDurationParam, () => {\n handleClose(null, 'timeout');\n });\n });\n React.useEffect(() => {\n if (open) {\n setAutoHideTimer(autoHideDuration);\n }\n return timerAutoHide.clear;\n }, [open, autoHideDuration, setAutoHideTimer, timerAutoHide]);\n const handleClickAway = event => {\n onClose?.(event, 'clickaway');\n };\n\n // Pause the timer when the user is interacting with the Snackbar\n // or when the user hide the window.\n const handlePause = timerAutoHide.clear;\n\n // Restart the timer when the user is no longer interacting with the Snackbar\n // or when the window is shown back.\n const handleResume = React.useCallback(() => {\n if (autoHideDuration != null) {\n setAutoHideTimer(resumeHideDuration != null ? resumeHideDuration : autoHideDuration * 0.5);\n }\n }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);\n const createHandleBlur = otherHandlers => event => {\n const onBlurCallback = otherHandlers.onBlur;\n onBlurCallback?.(event);\n handleResume();\n };\n const createHandleFocus = otherHandlers => event => {\n const onFocusCallback = otherHandlers.onFocus;\n onFocusCallback?.(event);\n handlePause();\n };\n const createMouseEnter = otherHandlers => event => {\n const onMouseEnterCallback = otherHandlers.onMouseEnter;\n onMouseEnterCallback?.(event);\n handlePause();\n };\n const createMouseLeave = otherHandlers => event => {\n const onMouseLeaveCallback = otherHandlers.onMouseLeave;\n onMouseLeaveCallback?.(event);\n handleResume();\n };\n React.useEffect(() => {\n // TODO: window global should be refactored here\n if (!disableWindowBlurListener && open) {\n window.addEventListener('focus', handleResume);\n window.addEventListener('blur', handlePause);\n return () => {\n window.removeEventListener('focus', handleResume);\n window.removeEventListener('blur', handlePause);\n };\n }\n return undefined;\n }, [disableWindowBlurListener, open, handleResume, handlePause]);\n const getRootProps = (externalProps = {}) => {\n const externalEventHandlers = {\n ...extractEventHandlers(parameters),\n ...extractEventHandlers(externalProps)\n };\n return {\n // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.\n // See https://github.com/mui/material-ui/issues/29080\n role: 'presentation',\n ...externalProps,\n ...externalEventHandlers,\n onBlur: createHandleBlur(externalEventHandlers),\n onFocus: createHandleFocus(externalEventHandlers),\n onMouseEnter: createMouseEnter(externalEventHandlers),\n onMouseLeave: createMouseLeave(externalEventHandlers)\n };\n };\n return {\n getRootProps,\n onClickAway: handleClickAway\n };\n}\nexport default useSnackbar;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSnackbarContentUtilityClass(slot) {\n return generateUtilityClass('MuiSnackbarContent', slot);\n}\nconst snackbarContentClasses = generateUtilityClasses('MuiSnackbarContent', ['root', 'message', 'action']);\nexport default snackbarContentClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { emphasize } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Paper from \"../Paper/index.js\";\nimport { getSnackbarContentUtilityClass } from \"./snackbarContentClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n action: ['action'],\n message: ['message']\n };\n return composeClasses(slots, getSnackbarContentUtilityClass, classes);\n};\nconst SnackbarContentRoot = styled(Paper, {\n name: 'MuiSnackbarContent',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(memoTheme(({\n theme\n}) => {\n const emphasis = theme.palette.mode === 'light' ? 0.8 : 0.98;\n const backgroundColor = emphasize(theme.palette.background.default, emphasis);\n return {\n ...theme.typography.body2,\n color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText(backgroundColor),\n backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : backgroundColor,\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n padding: '6px 16px',\n borderRadius: (theme.vars || theme).shape.borderRadius,\n flexGrow: 1,\n [theme.breakpoints.up('sm')]: {\n flexGrow: 'initial',\n minWidth: 288\n }\n };\n}));\nconst SnackbarContentMessage = styled('div', {\n name: 'MuiSnackbarContent',\n slot: 'Message',\n overridesResolver: (props, styles) => styles.message\n})({\n padding: '8px 0'\n});\nconst SnackbarContentAction = styled('div', {\n name: 'MuiSnackbarContent',\n slot: 'Action',\n overridesResolver: (props, styles) => styles.action\n})({\n display: 'flex',\n alignItems: 'center',\n marginLeft: 'auto',\n paddingLeft: 16,\n marginRight: -8\n});\nconst SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSnackbarContent'\n });\n const {\n action,\n className,\n message,\n role = 'alert',\n ...other\n } = props;\n const ownerState = props;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SnackbarContentRoot, {\n role: role,\n square: true,\n elevation: 6,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [/*#__PURE__*/_jsx(SnackbarContentMessage, {\n className: classes.message,\n ownerState: ownerState,\n children: message\n }), action ? /*#__PURE__*/_jsx(SnackbarContentAction, {\n className: classes.action,\n ownerState: ownerState,\n children: action\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SnackbarContent.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The message to display.\n */\n message: PropTypes.node,\n /**\n * The ARIA role attribute of the element.\n * @default 'alert'\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default SnackbarContent;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSnackbarUtilityClass(slot) {\n return generateUtilityClass('MuiSnackbar', slot);\n}\nconst snackbarClasses = generateUtilityClasses('MuiSnackbar', ['root', 'anchorOriginTopCenter', 'anchorOriginBottomCenter', 'anchorOriginTopRight', 'anchorOriginBottomRight', 'anchorOriginTopLeft', 'anchorOriginBottomLeft']);\nexport default snackbarClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport useSnackbar from \"./useSnackbar.js\";\nimport ClickAwayListener from \"../ClickAwayListener/index.js\";\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport Grow from \"../Grow/index.js\";\nimport SnackbarContent from \"../SnackbarContent/index.js\";\nimport { getSnackbarUtilityClass } from \"./snackbarClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n anchorOrigin\n } = ownerState;\n const slots = {\n root: ['root', `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`]\n };\n return composeClasses(slots, getSnackbarUtilityClass, classes);\n};\nconst SnackbarRoot = styled('div', {\n name: 'MuiSnackbar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`anchorOrigin${capitalize(ownerState.anchorOrigin.vertical)}${capitalize(ownerState.anchorOrigin.horizontal)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n zIndex: (theme.vars || theme).zIndex.snackbar,\n position: 'fixed',\n display: 'flex',\n left: 8,\n right: 8,\n justifyContent: 'center',\n alignItems: 'center',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'top',\n style: {\n top: 8,\n [theme.breakpoints.up('sm')]: {\n top: 24\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical !== 'top',\n style: {\n bottom: 8,\n [theme.breakpoints.up('sm')]: {\n bottom: 24\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.horizontal === 'left',\n style: {\n justifyContent: 'flex-start',\n [theme.breakpoints.up('sm')]: {\n left: 24,\n right: 'auto'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.horizontal === 'right',\n style: {\n justifyContent: 'flex-end',\n [theme.breakpoints.up('sm')]: {\n right: 24,\n left: 'auto'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.horizontal === 'center',\n style: {\n [theme.breakpoints.up('sm')]: {\n left: '50%',\n right: 'auto',\n transform: 'translateX(-50%)'\n }\n }\n }]\n})));\nconst Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSnackbar'\n });\n const theme = useTheme();\n const defaultTransitionDuration = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n action,\n anchorOrigin: {\n vertical,\n horizontal\n } = {\n vertical: 'bottom',\n horizontal: 'left'\n },\n autoHideDuration = null,\n children,\n className,\n ClickAwayListenerProps,\n ContentProps,\n disableWindowBlurListener = false,\n message,\n onBlur,\n onClose,\n onFocus,\n onMouseEnter,\n onMouseLeave,\n open,\n resumeHideDuration,\n TransitionComponent = Grow,\n transitionDuration = defaultTransitionDuration,\n TransitionProps: {\n onEnter,\n onExited,\n ...TransitionProps\n } = {},\n ...other\n } = props;\n const ownerState = {\n ...props,\n anchorOrigin: {\n vertical,\n horizontal\n },\n autoHideDuration,\n disableWindowBlurListener,\n TransitionComponent,\n transitionDuration\n };\n const classes = useUtilityClasses(ownerState);\n const {\n getRootProps,\n onClickAway\n } = useSnackbar({\n ...ownerState\n });\n const [exited, setExited] = React.useState(true);\n const rootProps = useSlotProps({\n elementType: SnackbarRoot,\n getSlotProps: getRootProps,\n externalForwardedProps: other,\n ownerState,\n additionalProps: {\n ref\n },\n className: [classes.root, className]\n });\n const handleExited = node => {\n setExited(true);\n if (onExited) {\n onExited(node);\n }\n };\n const handleEnter = (node, isAppearing) => {\n setExited(false);\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n // So we only render active snackbars.\n if (!open && exited) {\n return null;\n }\n return /*#__PURE__*/_jsx(ClickAwayListener, {\n onClickAway: onClickAway,\n ...ClickAwayListenerProps,\n children: /*#__PURE__*/_jsx(SnackbarRoot, {\n ...rootProps,\n children: /*#__PURE__*/_jsx(TransitionComponent, {\n appear: true,\n in: open,\n timeout: transitionDuration,\n direction: vertical === 'top' ? 'down' : 'up',\n onEnter: handleEnter,\n onExited: handleExited,\n ...TransitionProps,\n children: children || /*#__PURE__*/_jsx(SnackbarContent, {\n message: message,\n action: action,\n ...ContentProps\n })\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Snackbar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n /**\n * The anchor of the `Snackbar`.\n * On smaller screens, the component grows to occupy all the available width,\n * the horizontal alignment is ignored.\n * @default { vertical: 'bottom', horizontal: 'left' }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['center', 'left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n /**\n * The number of milliseconds to wait before automatically calling the\n * `onClose` function. `onClose` should then set the state of the `open`\n * prop to hide the Snackbar. This behavior is disabled by default with\n * the `null` value.\n * @default null\n */\n autoHideDuration: PropTypes.number,\n /**\n * Replace the `SnackbarContent` component.\n */\n children: PropTypes.element,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Props applied to the `ClickAwayListener` element.\n */\n ClickAwayListenerProps: PropTypes.object,\n /**\n * Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.\n */\n ContentProps: PropTypes.object,\n /**\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\n * @default false\n */\n disableWindowBlurListener: PropTypes.bool,\n /**\n * When displaying multiple consecutive snackbars using a single parent-rendered\n * `<Snackbar/>`, add the `key` prop to ensure independent treatment of each message.\n * For instance, use `<Snackbar key={message} />`. Otherwise, messages might update\n * in place, and features like `autoHideDuration` could be affected.\n */\n key: () => null,\n /**\n * The message to display.\n */\n message: PropTypes.node,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * Typically `onClose` is used to set state in the parent component,\n * which is used to control the `Snackbar` `open` prop.\n * The `reason` parameter can optionally be used to control the response to `onClose`,\n * for example ignoring `clickaway`.\n *\n * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.\n * @param {string} reason Can be: `\"timeout\"` (`autoHideDuration` expired), `\"clickaway\"`, or `\"escapeKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * The number of milliseconds to wait before dismissing after user interaction.\n * If `autoHideDuration` prop isn't specified, it does nothing.\n * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,\n * we default to `autoHideDuration / 2` ms.\n */\n resumeHideDuration: PropTypes.number,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Grow\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n * @default {}\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default Snackbar;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAlertUtilityClass(slot) {\n return generateUtilityClass('MuiAlert', slot);\n}\nconst alertClasses = generateUtilityClasses('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);\nexport default alertClasses;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z\"\n}), 'SuccessOutlined');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z\"\n}), 'ReportProblemOutlined');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'ErrorOutline');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z\"\n}), 'InfoOutlined');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { darken, lighten } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport Paper from \"../Paper/index.js\";\nimport alertClasses, { getAlertUtilityClass } from \"./alertClasses.js\";\nimport IconButton from \"../IconButton/index.js\";\nimport SuccessOutlinedIcon from \"../internal/svg-icons/SuccessOutlined.js\";\nimport ReportProblemOutlinedIcon from \"../internal/svg-icons/ReportProblemOutlined.js\";\nimport ErrorOutlineIcon from \"../internal/svg-icons/ErrorOutline.js\";\nimport InfoOutlinedIcon from \"../internal/svg-icons/InfoOutlined.js\";\nimport CloseIcon from \"../internal/svg-icons/Close.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n variant,\n color,\n severity,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color || severity)}`, `${variant}${capitalize(color || severity)}`, `${variant}`],\n icon: ['icon'],\n message: ['message'],\n action: ['action']\n };\n return composeClasses(slots, getAlertUtilityClass, classes);\n};\nconst AlertRoot = styled(Paper, {\n name: 'MuiAlert',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color || ownerState.severity)}`]];\n }\n})(memoTheme(({\n theme\n}) => {\n const getColor = theme.palette.mode === 'light' ? darken : lighten;\n const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;\n return {\n ...theme.typography.body2,\n backgroundColor: 'transparent',\n display: 'flex',\n padding: '6px 16px',\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['light'])).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'standard'\n },\n style: {\n color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),\n backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),\n [`& .${alertClasses.icon}`]: theme.vars ? {\n color: theme.vars.palette.Alert[`${color}IconColor`]\n } : {\n color: theme.palette[color].main\n }\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['light'])).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'outlined'\n },\n style: {\n color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),\n border: `1px solid ${(theme.vars || theme).palette[color].light}`,\n [`& .${alertClasses.icon}`]: theme.vars ? {\n color: theme.vars.palette.Alert[`${color}IconColor`]\n } : {\n color: theme.palette[color].main\n }\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['dark'])).map(([color]) => ({\n props: {\n colorSeverity: color,\n variant: 'filled'\n },\n style: {\n fontWeight: theme.typography.fontWeightMedium,\n ...(theme.vars ? {\n color: theme.vars.palette.Alert[`${color}FilledColor`],\n backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]\n } : {\n backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,\n color: theme.palette.getContrastText(theme.palette[color].main)\n })\n }\n }))]\n };\n}));\nconst AlertIcon = styled('div', {\n name: 'MuiAlert',\n slot: 'Icon',\n overridesResolver: (props, styles) => styles.icon\n})({\n marginRight: 12,\n padding: '7px 0',\n display: 'flex',\n fontSize: 22,\n opacity: 0.9\n});\nconst AlertMessage = styled('div', {\n name: 'MuiAlert',\n slot: 'Message',\n overridesResolver: (props, styles) => styles.message\n})({\n padding: '8px 0',\n minWidth: 0,\n overflow: 'auto'\n});\nconst AlertAction = styled('div', {\n name: 'MuiAlert',\n slot: 'Action',\n overridesResolver: (props, styles) => styles.action\n})({\n display: 'flex',\n alignItems: 'flex-start',\n padding: '4px 0 0 16px',\n marginLeft: 'auto',\n marginRight: -8\n});\nconst defaultIconMapping = {\n success: /*#__PURE__*/_jsx(SuccessOutlinedIcon, {\n fontSize: \"inherit\"\n }),\n warning: /*#__PURE__*/_jsx(ReportProblemOutlinedIcon, {\n fontSize: \"inherit\"\n }),\n error: /*#__PURE__*/_jsx(ErrorOutlineIcon, {\n fontSize: \"inherit\"\n }),\n info: /*#__PURE__*/_jsx(InfoOutlinedIcon, {\n fontSize: \"inherit\"\n })\n};\nconst Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAlert'\n });\n const {\n action,\n children,\n className,\n closeText = 'Close',\n color,\n components = {},\n componentsProps = {},\n icon,\n iconMapping = defaultIconMapping,\n onClose,\n role = 'alert',\n severity = 'success',\n slotProps = {},\n slots = {},\n variant = 'standard',\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n severity,\n variant,\n colorSeverity: color || severity\n };\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots: {\n closeButton: components.CloseButton,\n closeIcon: components.CloseIcon,\n ...slots\n },\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [CloseButtonSlot, closeButtonProps] = useSlot('closeButton', {\n elementType: IconButton,\n externalForwardedProps,\n ownerState\n });\n const [CloseIconSlot, closeIconProps] = useSlot('closeIcon', {\n elementType: CloseIcon,\n externalForwardedProps,\n ownerState\n });\n return /*#__PURE__*/_jsxs(AlertRoot, {\n role: role,\n elevation: 0,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: [icon !== false ? /*#__PURE__*/_jsx(AlertIcon, {\n ownerState: ownerState,\n className: classes.icon,\n children: icon || iconMapping[severity] || defaultIconMapping[severity]\n }) : null, /*#__PURE__*/_jsx(AlertMessage, {\n ownerState: ownerState,\n className: classes.message,\n children: children\n }), action != null ? /*#__PURE__*/_jsx(AlertAction, {\n ownerState: ownerState,\n className: classes.action,\n children: action\n }) : null, action == null && onClose ? /*#__PURE__*/_jsx(AlertAction, {\n ownerState: ownerState,\n className: classes.action,\n children: /*#__PURE__*/_jsx(CloseButtonSlot, {\n size: \"small\",\n \"aria-label\": closeText,\n title: closeText,\n color: \"inherit\",\n onClick: onClose,\n ...closeButtonProps,\n children: /*#__PURE__*/_jsx(CloseIconSlot, {\n fontSize: \"small\",\n ...closeIconProps\n })\n })\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Alert.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The action to display. It renders after the message, at the end of the alert.\n */\n action: PropTypes.node,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Override the default label for the *close popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Close'\n */\n closeText: PropTypes.string,\n /**\n * The color of the component. Unless provided, the value is taken from the `severity` prop.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n CloseButton: PropTypes.elementType,\n CloseIcon: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n closeButton: PropTypes.object,\n closeIcon: PropTypes.object\n }),\n /**\n * Override the icon displayed before the children.\n * Unless provided, the icon is mapped to the value of the `severity` prop.\n * Set to `false` to remove the `icon`.\n */\n icon: PropTypes.node,\n /**\n * The component maps the `severity` prop to a range of different icons,\n * for instance success to `<SuccessOutlined>`.\n * If you wish to change this mapping, you can provide your own.\n * Alternatively, you can use the `icon` prop to override the icon displayed.\n */\n iconMapping: PropTypes.shape({\n error: PropTypes.node,\n info: PropTypes.node,\n success: PropTypes.node,\n warning: PropTypes.node\n }),\n /**\n * Callback fired when the component requests to be closed.\n * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * The ARIA role attribute of the element.\n * @default 'alert'\n */\n role: PropTypes.string,\n /**\n * The severity of the alert. This defines the color and icon used.\n * @default 'success'\n */\n severity: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n closeButton: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n closeButton: PropTypes.elementType,\n closeIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'standard'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default Alert;","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n root: {\n display: \"flex\",\n alignItems: \"center\",\n padding: \"0.5rem 1rem\",\n borderRadius: \"6px\",\n marginBottom: \"1rem\",\n ...typography.SUBTITLE2,\n color: primaryColors.TEXT_ACTIVE,\n fontWeight: 600,\n },\n svgIcon: {\n width: \"24px\",\n height: \"24px\",\n },\n actionButton: {\n borderRadius: \"8px\",\n },\n closeButton: {\n margin: \"6px\",\n marginLeft: \"20px\",\n cursor: \"pointer\",\n width: \"10px\",\n height: \"10px\",\n color: \"gray\",\n },\n info: {\n backgroundColor: \"#CFE6F4\",\n borderColor: utilityColors.BLUE,\n },\n success: {\n backgroundColor: utilityColors.GREEN_OUTLINE_HOVER,\n borderColor: utilityColors.GREEN,\n },\n error: {\n backgroundColor: utilityColors.RED_OUTLINE_HOVER,\n borderColor: utilityColors.RED,\n },\n warning: {\n backgroundColor: \"#F9ECD2\",\n borderColor: utilityColors.YELLOW,\n },\n});\n","import React from \"react\";\n\nimport { Alert, AlertProps } from \"@mui/material\";\nimport { classes } from \"typestyle\";\n\nimport { WithRequired } from \"../../shared/utilityTypes\";\nimport Button, { ButtonProps } from \"../ui/Button\";\nimport SvgIcon from \"../ui/SvgIcon\";\nimport { styles } from \"./Alert.styles\";\n\nexport type PulseAlertProps = WithRequired<\n Omit<AlertProps, \"action\">,\n \"severity\"\n> & {\n action?: Omit<ButtonProps, \"color\" | \"variant\">;\n};\n\nconst AlertActionButton = ({\n action,\n onClose,\n}: {\n action?: PulseAlertProps[\"action\"];\n onClose: (event: React.SyntheticEvent) => void;\n}) => {\n if (action) {\n const { children, ...buttonProps } = action;\n return (\n <>\n <Button\n variant={\"outlined\"}\n color={\"gray\"}\n className={styles.actionButton}\n {...buttonProps}\n >\n {children}\n </Button>\n <SvgIcon\n className={styles.closeButton}\n src=\"/icons/close_icon.svg\"\n onClick={onClose}\n />\n </>\n );\n }\n return null;\n};\n\nexport default function PulseAlert({\n action,\n severity,\n onClose,\n ...props\n}: PulseAlertProps) {\n const iconMapping = {\n error: <SvgIcon className={styles.svgIcon} src=\"/icons/error_icon.svg\" />,\n info: (\n <SvgIcon className={styles.svgIcon} src=\"/icons/informative_icon.svg\" />\n ),\n success: (\n <SvgIcon className={styles.svgIcon} src=\"/icons/success_icon.svg\" />\n ),\n warning: (\n <SvgIcon className={styles.svgIcon} src=\"/icons/warning_icon.svg\" />\n ),\n };\n\n const handleClose = (event: React.SyntheticEvent) => {\n if (onClose) {\n onClose(event);\n }\n };\n\n return (\n <Alert\n className={classes(styles.root, styles[severity])}\n action={<AlertActionButton action={action} onClose={handleClose} />}\n variant=\"outlined\"\n icon={iconMapping[severity]}\n {...props}\n >\n {props.children}\n </Alert>\n );\n}\n","import React, { createContext, useContext } from \"react\";\n\nimport { AlertColor, Fade, FadeProps, Snackbar } from \"@mui/material\";\nimport PulseAlert, { PulseAlertProps } from \"components/Alert/Alert\";\n\ntype SnackBarContextActions = {\n showSnackBar: ({\n text,\n typeColor,\n action,\n }: {\n text: string;\n typeColor: AlertColor;\n action?: PulseAlertProps[\"action\"];\n }) => void;\n};\nconst SnackBarContext = createContext({} as SnackBarContextActions);\ninterface SnackBarContextProviderProps {\n children: React.ReactNode;\n}\n\nfunction Transition(props: FadeProps) {\n return <Fade {...props} />;\n}\n\nconst SnackBarProvider: React.FC<SnackBarContextProviderProps> = ({\n children,\n}) => {\n const [open, setOpen] = React.useState<boolean>(false);\n const [message, setMessage] = React.useState<string>(\"\");\n const [action, setAction] = React.useState<\n PulseAlertProps[\"action\"] | undefined\n >(undefined);\n const [typeColor, setTypeColor] = React.useState<AlertColor>(\"info\");\n const showSnackBar = ({\n text,\n typeColor,\n action,\n }: {\n text: string;\n typeColor: AlertColor;\n action?: PulseAlertProps[\"action\"];\n }) => {\n setMessage(text);\n setTypeColor(typeColor);\n setAction(action);\n setOpen(true);\n };\n\n const handleClose = () => {\n setOpen(false);\n // setTypeColor(\"info\");\n setAction(undefined);\n };\n\n return (\n <SnackBarContext.Provider value={{ showSnackBar }}>\n <Snackbar\n open={open}\n autoHideDuration={action ? null : 5000}\n anchorOrigin={{ vertical: \"top\", horizontal: \"right\" }}\n onClose={handleClose}\n TransitionComponent={Transition}\n >\n {/* This div is needed because the PulseAlert component cannot be referenced and caused error.\n For more info see https://stackoverflow.com/questions/74862197/typeerror-cannot-read-properties-of-null-reading-scrolltop-material-ui */}\n <div>\n <PulseAlert\n onClose={handleClose}\n severity={typeColor}\n action={action}\n >\n {message}\n </PulseAlert>\n </div>\n </Snackbar>\n {children}\n </SnackBarContext.Provider>\n );\n};\nconst useSnackBar = (): SnackBarContextActions => {\n const context = useContext(SnackBarContext);\n if (!context) {\n throw new Error(\"useSnackBar must be used within an SnackBarProvider\");\n }\n return context;\n};\nexport { SnackBarProvider, useSnackBar };\n","import { createBrowserHistory } from \"history\";\n\nconst history = createBrowserHistory();\n\nexport default history;\n","import {\n useInfiniteQuery,\n UseInfiniteQueryOptions,\n useQuery,\n UseQueryOptions,\n} from \"react-query\";\nimport { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { CommentDto } from \"@pulsemarket/api-client\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport {\n ApiError,\n getCommentsByReferenceId,\n getMessageDetails,\n} from \"shared/client\";\nimport { addComment } from \"shared/client\";\nimport { updateComment } from \"shared/client\";\nimport { deleteComment } from \"shared/client\";\nimport { sendAnswerMessages } from \"shared/client\";\nimport { CommentReferenceType, MessageDetailsDto } from \"shared/model\";\nimport { NewCommentInput } from \"shared/model\";\nimport { UpdateCommentInput } from \"shared/model\";\n\nconst COMMENTS_BATCH_SIZE = 3;\n\ntype UseCommentsOptions<T = CommentDto[]> = Omit<\n UseInfiniteQueryOptions<\n CommentDto[],\n ApiError,\n T,\n CommentDto[],\n ReturnType<typeof queryKeys.comments>\n >,\n \"getNextPageParam\"\n> & {\n referenceId: string;\n referenceType: CommentReferenceType;\n pageSize?: number;\n numberOfComments?: number;\n};\n\nexport function useComments<T = CommentDto[]>({\n referenceId,\n referenceType,\n pageSize = COMMENTS_BATCH_SIZE,\n enabled,\n numberOfComments = 0,\n ...options\n}: UseCommentsOptions<T>) {\n const { data: commentsEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.comments,\n });\n\n return useInfiniteQuery(\n queryKeys.comments(referenceId),\n async ({ pageParam: cursorId }) => {\n const response = await getCommentsByReferenceId(\n referenceId,\n {\n limit: pageSize,\n cursorId: cursorId,\n },\n referenceType\n );\n\n return response;\n },\n {\n enabled:\n typeof enabled === \"boolean\"\n ? enabled\n : true && !!referenceId && commentsEnabled,\n getNextPageParam(lastPage, allPages) {\n const fetchedCount = allPages.reduce(\n (sum, page) => sum + page.length,\n 0\n );\n\n if (numberOfComments > 0 && fetchedCount === numberOfComments) {\n return undefined;\n }\n\n if (lastPage.length === pageSize) {\n return lastPage.slice().reverse()[0].id;\n }\n\n return undefined;\n },\n ...options,\n }\n );\n}\n\nexport function useAddComment({ groupId }: { groupId?: string }) {\n const client = useQueryClient();\n\n return useMutation(\n (newComment: NewCommentInput) => {\n return addComment(newComment);\n },\n {\n mutationKey: mutationKeys.addComment,\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.posts(groupId, { isApproved: false })\n );\n client.invalidateQueries(queryKeys.comments(variables.referenceId));\n },\n }\n );\n}\n\nexport function useUpdateComment({ postId }: { postId?: string }) {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({\n commentId,\n comment,\n }: {\n commentId: string;\n comment: UpdateCommentInput;\n }) => {\n return updateComment(commentId, comment);\n },\n {\n mutationKey: mutationKeys.updateComment,\n onSettled: () => {\n if (postId) {\n queryClient.invalidateQueries(queryKeys.comments(postId));\n }\n },\n }\n );\n}\n\nexport function useDeleteComment({\n postId,\n groupId,\n}: {\n postId: string;\n groupId: string;\n}) {\n const client = useQueryClient();\n\n return useMutation(\n ({ commentId }: { commentId: string }) => deleteComment(commentId),\n {\n mutationKey: mutationKeys.deleteComment,\n onSettled: () => {\n client.invalidateQueries(\n queryKeys.posts(groupId, { isApproved: false })\n );\n client.invalidateQueries(queryKeys.comments(postId));\n },\n }\n );\n}\n\ntype SendAnswerMessagesHookParams = {\n commentIds: string[];\n};\n\nexport default function useSendAnswerMessages() {\n const client = useQueryClient();\n\n return useMutation(\n ({ commentIds }: SendAnswerMessagesHookParams) => {\n return sendAnswerMessages(commentIds);\n },\n {\n mutationKey: mutationKeys.sendAnswerMessages,\n onSettled: () => {\n client.invalidateQueries(queryKeys.comments()[0]);\n },\n }\n );\n}\n\ntype useMessageDetailsQueryOptions<T = MessageDetailsDto> = UseQueryOptions<\n MessageDetailsDto,\n Error,\n T,\n ReturnType<typeof queryKeys.messageDetails>\n> & { messageId?: string };\n\nexport function useMessageDetails<T = MessageDetailsDto>({\n messageId,\n enabled,\n ...options\n}: useMessageDetailsQueryOptions<T>) {\n return useQuery(\n queryKeys.messageDetails(messageId),\n () => {\n return getMessageDetails(messageId!);\n },\n {\n enabled: !!messageId && (typeof enabled === \"boolean\" ? enabled : true),\n ...options,\n }\n );\n}\n","import { useInfiniteQuery, useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { RFPType } from \"@pulsemarket/constants\";\nimport useRFPs from \"hooks/queries/useRFPs\";\nimport {\n getMyRecentPassports,\n getSentPassportInvitations,\n inviteToTakePassport,\n} from \"shared/client\";\nimport {\n CombinedInvitationInput,\n PassportInvitationFilter,\n} from \"shared/model\";\n\n/**\n * - later it should accept a passportType param\n * - todo select the last updated passport document\n * - ESRS: Allow filtering to multiple passport types\n */\nexport function usePassportToRfpId() {\n return useRFPs({\n filters: { type: RFPType.Passport },\n select(passportDocuments) {\n return passportDocuments[passportDocuments.length - 1]?.id;\n },\n });\n}\n\nexport function useOwnPassports({\n offset = 0,\n limit,\n}: {\n offset?: number;\n limit?: number;\n}) {\n return useInfiniteQuery(\n queryKeys.ownPassports,\n ({ pageParam: { limit, offset } = {} }) => {\n return getMyRecentPassports({ offset, limit });\n },\n {\n getNextPageParam(lastPage, allPages) {\n if (lastPage.length !== limit) {\n return undefined;\n }\n\n const calculatedOffset: number = allPages.reduce<number>(\n (sum, page) => sum + page.length,\n offset\n );\n\n return { offset: calculatedOffset, limit };\n },\n }\n );\n}\n\nexport function useSentPassportInvitations({\n offset = 0,\n //TODO: create pagination UI\n limit = 100,\n ...filters\n}: PassportInvitationFilter & {\n offset?: number;\n limit?: number;\n}) {\n return useInfiniteQuery(\n queryKeys.sentPassportInvitations(filters),\n ({ pageParam: calculatedOffset = offset }) => {\n return getSentPassportInvitations({\n ...filters,\n offset: calculatedOffset,\n limit,\n });\n },\n {\n getNextPageParam(lastPage, allPages) {\n if (lastPage.length !== limit) {\n return null;\n }\n\n const fetchedCount = allPages.reduce(\n (sum, page) => sum + page.length,\n 0\n );\n\n return fetchedCount;\n },\n }\n );\n}\n\nexport function useInviteToTakePassport() {\n const { data: passportDocumentId } = usePassportToRfpId();\n const client = useQueryClient();\n\n return useMutation(\n ({ invitations }: { invitations: CombinedInvitationInput[] }) => {\n if (!passportDocumentId) {\n return Promise.reject(\"No passport document id\");\n }\n return inviteToTakePassport(passportDocumentId, invitations);\n },\n {\n mutationKey: mutationKeys.inviteToTakePassport,\n onSettled: () => {\n client.invalidateQueries(queryKeys.sentPassportInvitations()[0]);\n },\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { AssessmentAccessType } from \"@pulsemarket/api-client\";\nimport {\n getFoldersByRegulation as getFolderByRegulation,\n getRegulationQuestionnaires,\n getRegulations,\n getRegulationSurveys,\n} from \"shared/client\";\n\nexport function useGetRegulationQuestionnaires({\n assessmentAccessType,\n regulationId,\n}: {\n assessmentAccessType: AssessmentAccessType;\n regulationId: string;\n}) {\n return useQuery(\n queryKeys.regulationQuestionnaires(assessmentAccessType, regulationId),\n () => getRegulationQuestionnaires(assessmentAccessType, regulationId),\n {\n // https://dev.azure.com/PulseMarketplace/pulse-marketplace/_workitems/edit/7221\n // Refetch on mount to ensure the data is always up to date after changing the response's status\n refetchOnMount: \"always\",\n }\n );\n}\n\nexport function useGetRegulationSurveys({\n regulationId,\n}: {\n regulationId: string;\n}) {\n return useQuery(\n queryKeys.regulationSurveys(regulationId),\n () => getRegulationSurveys(regulationId),\n {\n ...longCachedQueryOptions,\n }\n );\n}\n\nexport function useGetFolderByRegulation(regulationId: string) {\n return useQuery(\n queryKeys.regulationFolders(regulationId),\n () => getFolderByRegulation(regulationId),\n {\n ...longCachedQueryOptions,\n }\n );\n}\n\nexport function useGetRegulations() {\n return useQuery(queryKeys.regulations, getRegulations, {\n ...longCachedQueryOptions,\n });\n}\n","import { useCallback } from \"react\";\nimport { UseQueryOptions } from \"react-query\";\n\nimport { AssetDto, FolderDto } from \"@pulsemarket/api-client\";\nimport {\n AssetRepositoryItem,\n FolderAPIItem,\n ListItem,\n} from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport {\n AssetColor,\n AssetIconSource,\n} from \"components/AssetRepository/constants\";\nimport { ListItemType } from \"components/AssetRepository/types\";\nimport dayjs from \"dayjs\";\nimport useSearchAssets from \"hooks/queries/useSearchAssets\";\nimport { getIconForFile } from \"shared/constants/icons\";\nimport { AssetSearchOptions, FolderItemDto } from \"shared/model\";\nimport { rfpDateFormat, updateDateFomat } from \"shared/utils/time\";\n\n// ! These functions should only be called on elements that the API responded with,\n// ! But not after storing and modifying them in any way, as they should have a listItemType field by then\nexport function isAsset(\n item: FolderAPIItem | AssetRepositoryItem\n): item is AssetDto {\n return !!(item as AssetDto).mimeType;\n}\n\nexport function isFolder(\n item: FolderAPIItem | AssetRepositoryItem\n): item is FolderDto {\n return !(item as AssetDto).mimeType;\n}\n\nexport function isApiItem(\n item: FolderAPIItem | AssetRepositoryItem\n): item is FolderAPIItem {\n return !(item as ListItem).listItemType;\n}\n\nexport function getCreateDateForApiItems(asset: FolderAPIItem): Date {\n if (isAsset(asset)) {\n return asset.createdAt;\n }\n return asset.createdAt;\n}\nexport function getUpdateDateForApiItems(asset: FolderAPIItem): Date {\n if (isAsset(asset)) {\n return asset.updatedAt;\n }\n\n return asset.updatedAt;\n}\n\nconst transformData = (asset: FolderAPIItem): AssetRepositoryItem => {\n const createdDate = getCreateDateForApiItems(asset);\n const updatedDate = getUpdateDateForApiItems(asset);\n const dataIsAsset = isAsset(asset);\n const listItemType = dataIsAsset ? ListItemType.File : ListItemType.Folder;\n\n return {\n ...asset,\n name: dataIsAsset ? asset.name : asset.name,\n createdDate: dayjs(createdDate).format(rfpDateFormat),\n updatedDate: dayjs(updatedDate).format(updateDateFomat),\n listItemType,\n selected: false,\n color: !dataIsAsset ? AssetColor[\"Folder\"] : getIconForFile(asset).color,\n icon: !dataIsAsset ? AssetIconSource[\"Folder\"] : getIconForFile(asset).src,\n };\n};\n\nexport default function useAssetItems(\n searchOptions: AssetSearchOptions,\n options?: Omit<\n UseQueryOptions<\n FolderItemDto[],\n unknown,\n AssetRepositoryItem[],\n readonly [\"assetRepositorySearch\", AssetSearchOptions]\n >,\n \"select\" | \"notifyOnChangeProps\"\n > & {\n companyId?: string;\n }\n) {\n const itemsQuery = useSearchAssets<AssetRepositoryItem[]>(searchOptions, {\n notifyOnChangeProps: \"tracked\",\n // https://tkdodo.eu/blog/react-query-render-optimizations#notifyonchangeprops\n select: useCallback((data) => data.map(transformData), []),\n ...options,\n });\n\n return itemsQuery;\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getAssetLabels } from \"shared/client\";\n\nexport default function useAssetLabels() {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(queryKeys.assetLabels, () => getAssetLabels(ownCompany!.id), {\n enabled: !!ownCompany?.id,\n });\n}\n","import { useMutation, useQuery, useQueryClient } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { ROUTES, TokenType } from \"@pulsemarket/constants\";\nimport { useSnackBar } from \"contexts/Snackbar/SnackbarProvider\";\nimport { LocalStorageKey } from \"hooks/utils\";\nimport {\n forgotPassword,\n getInviterCompany,\n logIn,\n loginWithToken,\n logOut,\n register,\n renewToken,\n resendVerifyEmail,\n resetPassword,\n verifyEmail,\n verifyToken,\n} from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { RegistrationInput } from \"shared/model\";\n\n// todo rename to distribute and move to rfphooks + add onError\nexport function useLogIn() {\n const client = useQueryClient();\n\n return useMutation(\n ({ email, password }: { email: string; password: string }) => {\n return logIn({ params: { email, password } });\n },\n {\n mutationKey: mutationKeys.login,\n onSettled: async (data, _error, _variables) => {\n if (data) {\n localStorage.setItem(ACTING_COMPANY_ID, data.companyId);\n\n await client.invalidateQueries(queryKeys.accessToken);\n await client.invalidateQueries(queryKeys.user);\n await client.invalidateQueries(queryKeys.ownCompany);\n }\n },\n }\n );\n}\n\nexport function useLogInWithToken() {\n const client = useQueryClient();\n\n return useMutation(\n (token: string) => {\n return loginWithToken(token);\n },\n {\n mutationKey: mutationKeys.loginWithToken,\n onSettled: async (data, _error, _variables) => {\n if (data) {\n localStorage.setItem(ACTING_COMPANY_ID, data.companyId);\n\n await client.refetchQueries(queryKeys.user);\n await client.refetchQueries(queryKeys.ownCompany);\n }\n },\n }\n );\n}\n\nexport function useLogOut() {\n const history = useHistory();\n const client = useQueryClient();\n\n return useMutation(\n () => {\n return logOut();\n },\n {\n mutationKey: mutationKeys.logout,\n onSettled: async () => {\n localStorage.removeItem(ACTING_COMPANY_ID);\n\n client.removeQueries();\n history.push(ROUTES.LOGIN);\n },\n }\n );\n}\n\nexport function useGetAuthToken() {\n const client = useQueryClient();\n return useQuery(queryKeys.accessToken, () => renewToken(), {\n retry: false,\n refetchInterval: 1000 * 60 * 15, // 15 minutes\n onSuccess: async (data) => {\n if (data) {\n localStorage.setItem(ACTING_COMPANY_ID, data.companyId);\n await client.invalidateQueries(queryKeys.user);\n await client.invalidateQueries(queryKeys.ownCompany);\n }\n },\n });\n}\n\nexport function useRegister() {\n return useMutation(\n (params: RegistrationInput) => {\n return register(params);\n },\n {\n mutationKey: mutationKeys.register,\n }\n );\n}\n\nexport function useForgotPassword() {\n return useMutation(\n (email: string) => {\n return forgotPassword(email);\n },\n {\n mutationKey: mutationKeys.forgotPassword,\n }\n );\n}\n\nexport function useResetPassword() {\n return useMutation(\n ({ password, token }: { password: string; token: string }) => {\n return resetPassword({ password, token });\n },\n {\n mutationKey: mutationKeys.resetPassword,\n }\n );\n}\n\nexport function useResendVerifyEmail() {\n return useMutation(\n (email: string) => {\n return resendVerifyEmail(email);\n },\n {\n mutationKey: mutationKeys.resendVerifyEmail,\n }\n );\n}\n\nexport function useVerifyToken({\n token,\n type,\n enabled,\n}: {\n token?: string;\n type: TokenType;\n enabled: boolean;\n}) {\n return useQuery(\n queryKeys.verifyToken(token || \"\", type),\n () => verifyToken({ token: token || \"\", type }),\n {\n enabled: !!token && (typeof enabled === \"boolean\" ? enabled : true),\n retry: false,\n }\n );\n}\n\nexport function useVerifyEmail({\n token,\n enabled,\n}: {\n token?: string;\n enabled: boolean;\n}) {\n const history = useHistory();\n const client = useQueryClient();\n return useQuery(\n queryKeys.verifyEmail(token || \"\"),\n () => verifyEmail({ token: token || \"\" }),\n {\n enabled: !!token && (typeof enabled === \"boolean\" ? enabled : true),\n retry: false,\n onSettled(data, error) {\n // Do not touch cache in callback if we need to show the Invite Team Members Page after email verification\n if (data) {\n history.push(\"/\");\n localStorage.setItem(ACTING_COMPANY_ID, data.companyId);\n client.invalidateQueries(queryKeys.user);\n client.invalidateQueries(queryKeys.ownCompany);\n }\n },\n }\n );\n}\n\nexport function useGetInviterCompany() {\n const { showSnackBar } = useSnackBar();\n const companyMemberInvitationToken = localStorage.getItem(\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN\n );\n const inviterCompanyId =\n (!!companyMemberInvitationToken &&\n localStorage.getItem(LocalStorageKey.INVITER_COMPANY_ID)) ||\n \"\";\n\n return useQuery(\n queryKeys.inviterCompany(inviterCompanyId),\n () => getInviterCompany(companyMemberInvitationToken!),\n {\n enabled: !!inviterCompanyId,\n retry: false,\n onError: () => {\n showSnackBar({\n text: \"The invitation link is invalid. Please contact the person who invited you.\",\n typeColor: \"error\",\n });\n localStorage.removeItem(\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN\n );\n localStorage.removeItem(LocalStorageKey.INVITER_COMPANY_ID);\n },\n }\n );\n}\n","import { useMutation, useQuery } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useSwitchCompany from \"hooks/queries/useSwitchCompany\";\nimport { createCompany, getCompanies } from \"shared/client\";\nimport { CompanyFilter } from \"shared/model\";\n\ntype CompaniesHookParams = {\n filters: CompanyFilter;\n companyListId?: string | null;\n disabled?: boolean;\n};\n\ntype CompanyFilterWithCompanyListSet = CompaniesHookParams;\n\nexport function cleanFiltersWithCompanyListId({\n filters,\n companyListId,\n}: CompanyFilterWithCompanyListSet): CompanyFilter {\n const activeFilters = JSON.parse(JSON.stringify(filters));\n const params: CompanyFilter = companyListId\n ? { ...activeFilters, companyListId }\n : activeFilters;\n return params;\n}\n\nexport default function useCompanies({\n filters,\n companyListId,\n disabled,\n}: CompaniesHookParams) {\n const params = cleanFiltersWithCompanyListId({\n filters,\n companyListId,\n });\n\n const anyFilterEnabled = Object.values(params).filter(Boolean).length !== 0;\n\n return useQuery(\n queryKeys.companies({ ...filters, companyListId }),\n () => getCompanies(params),\n {\n enabled: !disabled && anyFilterEnabled,\n }\n );\n}\n\nexport function useCreateCompany() {\n const switchCompany = useSwitchCompany();\n return useMutation(\n (companyName: string) => {\n return createCompany(companyName);\n },\n {\n mutationKey: mutationKeys.createCompany,\n async onSuccess(data, variables, context) {\n await switchCompany({ companyId: data.id });\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { RfpResponseDto } from \"@pulsemarket/api-client\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { createRFPResponse } from \"shared/client\";\nimport { DynamicRfpResponseStatus, NewRfpResponse } from \"shared/model\";\nimport generateAlmostUniqueId from \"shared/utils/generateAlmostUniqueId\";\n\nexport default function useCreateRFPresponse() {\n const client = useQueryClient();\n\n const { data: ownCompany } = useOwnCompany();\n const { data: userData } = useUserData();\n\n return useMutation(\n (rfpResponse: NewRfpResponse) => {\n return createRFPResponse(rfpResponse);\n },\n {\n mutationKey: mutationKeys.createRFPResponse,\n // When mutate is called:\n onMutate: async (rfpResponse: NewRfpResponse) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.rfpResponses(ownCompany!.id));\n // Snapshot the previous values\n const previousSearchResult = client.getQueryData<RfpResponseDto[]>(\n queryKeys.rfpResponses(ownCompany!.id)\n );\n\n // Optimistically update to the new value\n const newRFPRefponse: RfpResponseDto = {\n createdAt: new Date(),\n updatedAt: new Date(),\n companyId: ownCompany!.id,\n rfpId: rfpResponse.rfpId,\n id: generateAlmostUniqueId(),\n userId: userData!.id,\n answerIds: [],\n status: DynamicRfpResponseStatus.Draft,\n ownerName: rfpResponse.ownerName,\n ownerTitle: rfpResponse.ownerTitle,\n ownerEmail: rfpResponse.ownerEmail,\n folderId: generateAlmostUniqueId(),\n companyName: ownCompany!.name,\n rfpInvitationId: \"\", //TODO: Missing RFP invitaiton id. It may need for optimistic update\n };\n\n if (previousSearchResult) {\n client.setQueryData<RfpResponseDto[]>(\n queryKeys.rfpResponses(ownCompany!.id),\n [...previousSearchResult, newRFPRefponse]\n );\n }\n return { previousSearchResult };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousSearchResult) {\n client.setQueryData<RfpResponseDto[]>(\n queryKeys.rfpResponses(ownCompany!.id, \"\"),\n context.previousSearchResult\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.rfpResponse(data?.id));\n client.invalidateQueries(queryKeys.rfpsByInvitation()[0]);\n client.invalidateQueries(queryKeys.rfpResponses(ownCompany!.id)[0]);\n client.invalidateQueries(queryKeys.rfpInvitation()[0]);\n },\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { getDataRoom } from \"shared/client\";\n\nexport default function useDataRoom(dataRoomId?: string | null) {\n return useQuery(\n queryKeys.dataRoom(dataRoomId),\n () => getDataRoom(dataRoomId as string),\n { enabled: !!dataRoomId }\n );\n}\n","import { useQuery, UseQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getDataRooms } from \"shared/client\";\nimport { DataRoomDto, DataRoomFilters } from \"shared/model\";\n\nexport default function useDataRooms<T = DataRoomDto[]>(\n options?: Omit<\n UseQueryOptions<\n DataRoomDto[],\n unknown,\n T,\n readonly [\"dataRooms\", DataRoomFilters | undefined]\n >,\n \"enabled\"\n > & { filters?: DataRoomFilters }\n) {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(\n queryKeys.dataRooms(options?.filters),\n () =>\n getDataRooms(\n ownCompany!.id,\n options?.filters\n ? {\n search: options.filters?.search,\n createdAfter:\n options.filters?.createdAfter?.toISOString() || null,\n createdBefore:\n options.filters?.createdBefore?.toISOString() || null,\n }\n : undefined\n ),\n {\n enabled: !!ownCompany?.id,\n ...options,\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { FolderAPIItem } from \"components/AssetRepository/AssetRepositoryBody/AssetRepositoryBody\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { deleteAsset } from \"shared/client\";\nimport { ContainerType } from \"shared/model\";\n\nexport default function useDeleteAsset() {\n // This hook could be rewritten to use a folder instead of a folderId, so we could reach its parent through the object, not from a context\n const client = useQueryClient();\n const { searchOptions } = useAssetContext();\n\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation(\n (assetId: string) => {\n return deleteAsset(ownCompany!.id, assetId, ContainerType.Assets);\n },\n {\n mutationKey: mutationKeys.deleteAsset,\n // When mutate is called:\n onMutate: async (assetId: string) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n // Snapshot the previous values\n const previousSearchResult = client.getQueryData<FolderAPIItem[]>(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n\n // Optimistically update to the new value\n if (previousSearchResult) {\n client.setQueryData<FolderAPIItem[]>(\n queryKeys.assetRepositorySearch(searchOptions),\n previousSearchResult.filter(\n (item) => item.id !== searchOptions.folderId\n )\n );\n }\n\n return { previousSearchResult };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousSearchResult) {\n client.setQueryData<FolderAPIItem[]>(\n queryKeys.assetRepositorySearch(searchOptions),\n context.previousSearchResult\n );\n }\n },\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(searchOptions)[0]\n );\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { useVendorSearchContext } from \"components/VendorSearch/VendorFilterProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { deleteCompanyListCompany } from \"shared/client\";\nimport { CompanyDetailsDto, CompanyDto } from \"shared/model\";\n\nimport { cleanFiltersWithCompanyListId } from \"./useCompanies\";\n\ntype DeleteParams = {\n listId: string;\n companyId: string;\n};\n\ntype DeleteCompanyFromListHooksOptions = {\n optimisticlyUpdateSearch?: boolean;\n};\n\nexport default function useDeleteCompanyFromList(\n options?: DeleteCompanyFromListHooksOptions\n) {\n const client = useQueryClient();\n\n const { data: ownCompany } = useOwnCompany();\n\n const { filters, companyListId } = useVendorSearchContext();\n\n const params = cleanFiltersWithCompanyListId({\n filters,\n companyListId,\n });\n\n return useMutation(\n ({ listId, companyId }: DeleteParams) =>\n deleteCompanyListCompany(ownCompany!.id, listId, companyId),\n {\n mutationKey: mutationKeys.deleteCompanyFromList,\n // When mutate is called:\n onMutate: async ({ listId, companyId }: DeleteParams) => {\n // Cancel any outgoing refetches (so they don't overwrite our optimistic update)\n await client.cancelQueries(queryKeys.ownCompany);\n // Snapshot the previous value\n const previousOrganization = client.getQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany\n );\n // Optimistically update to the new value\n if (previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(queryKeys.ownCompany, {\n ...previousOrganization,\n companyLists: previousOrganization.companyLists.map((list) =>\n list.id === listId\n ? {\n ...list,\n companyIds: list.companyIds.filter(\n (company) => company !== companyId\n ),\n }\n : list\n ),\n });\n }\n\n const previousSearchList = client.getQueryData<CompanyDto[]>(\n queryKeys.companies(params)\n );\n\n if (options?.optimisticlyUpdateSearch && previousSearchList) {\n client.setQueryData<CompanyDto[]>(\n queryKeys.companies(params),\n previousSearchList.filter((company) => company.id !== companyId)\n );\n }\n\n return { previousOrganization, previousSearchList };\n },\n // If the mutation fails, use the context returned from onMutate to roll back\n onError: (err, variables, context) => {\n if (context?.previousOrganization) {\n client.setQueryData<CompanyDetailsDto>(\n queryKeys.ownCompany,\n context.previousOrganization\n );\n }\n if (options?.optimisticlyUpdateSearch && context?.previousSearchList) {\n client.setQueryData<CompanyDto[]>(\n queryKeys.companies(params),\n context.previousSearchList\n );\n }\n },\n // Always refetch after error or success:\n onSettled: () => {\n client.invalidateQueries(queryKeys.ownCompany);\n if (options?.optimisticlyUpdateSearch) {\n client.invalidateQueries(queryKeys.companies(params));\n }\n },\n }\n );\n}\n","import { useCallback, useEffect, useState } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { useSnackBar } from \"contexts/Snackbar/SnackbarProvider\";\nimport useDeleteAsset from \"hooks/queries/useDeleteAsset\";\nimport { ApiError, getAssetBlobUrls } from \"shared/client\";\n\nexport default function useDownloadAssets() {\n const queryClient = useQueryClient();\n const [isLoading, setIsLoading] = useState(false);\n const { mutateAsync: deleteAsset } = useDeleteAsset();\n\n const { showSnackBar } = useSnackBar();\n\n const downloadAssets = useCallback(\n async ({\n assetIds,\n openInNewTab = false,\n fileNamePrefix,\n }: {\n assetIds: string[];\n openInNewTab?: boolean;\n fileNamePrefix?: string;\n }) => {\n const assetsNotCachedOrStale = assetIds?.filter((assetId) => {\n const queryKeyCachedAt = queryClient.getQueryState(\n queryKeys.blobUrl(assetId)\n )?.dataUpdatedAt;\n\n // Cache is valid for 10 seconds\n const isStale =\n !queryKeyCachedAt ||\n (queryKeyCachedAt &&\n new Date().getTime() - queryKeyCachedAt > 10 * 1000);\n\n return !!isStale && assetId;\n });\n\n // Fetch the blob urls for the assets that are not cached and set them in the cache\n if (!!assetsNotCachedOrStale?.length) {\n setIsLoading(true);\n try {\n const data = await getAssetBlobUrls(\n assetsNotCachedOrStale,\n openInNewTab,\n fileNamePrefix\n );\n if (data) {\n data.forEach((asset) => {\n queryClient.setQueryData(\n queryKeys.blobUrl(asset.assetId),\n asset.blobUrl\n );\n });\n }\n } catch (error) {\n if (error instanceof ApiError) {\n if (error.status === 403) {\n showSnackBar({\n text: \"This file is damaged and can’t be opened.\",\n typeColor: \"error\",\n ...(assetIds.length === 1 && {\n action: {\n children: \"Delete file\",\n onClick: () => {\n deleteAsset(assetIds[0]);\n },\n },\n }),\n });\n // Unauthorized error is thrown when the asset cannot been queried by the user. This can happen when the asset is deleted by the anti malware service\n } else if (error.status === 401) {\n showSnackBar({\n text: \"An error occurred while uploading the file. Please try again\",\n typeColor: \"error\",\n });\n queryClient.invalidateQueries(\"assetRepositorySearch\");\n } else if (error.status === 400) {\n showSnackBar({\n text: \"This file is not ready for download yet. Please try downloading again shortly.\",\n typeColor: \"info\",\n });\n }\n }\n return;\n }\n setIsLoading(false);\n }\n\n // Download each files separately\n assetIds.forEach((asset) => {\n const blobUrl = queryClient.getQueryData(\n queryKeys.blobUrl(asset)\n ) as string;\n window.open(blobUrl);\n });\n },\n [deleteAsset, queryClient, showSnackBar]\n );\n\n return { downloadAssets, isLoading };\n}\n\n/**\n * @deprecated - This is no longer used to fulfil security requirements to minimize the SAS token expiration time\n */\nexport function usePreDownloadAssets({\n assetIds,\n openInNewTab = false,\n}: {\n assetIds: string[];\n openInNewTab?: boolean;\n}) {\n const queryClient = useQueryClient();\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n (async () => {\n const assetsNotCached = (assetIds || []).filter((assetId) => {\n return !queryClient.getQueryData(queryKeys.blobUrl(assetId)) && assetId;\n });\n setIsLoading(true);\n const data = await getAssetBlobUrls(assetsNotCached, openInNewTab);\n if (data) {\n data.forEach((asset) => {\n queryClient.setQueryData(\n queryKeys.blobUrl(asset.assetId),\n asset.blobUrl\n );\n });\n\n setIsLoading(false);\n }\n })();\n }, [assetIds, openInNewTab, queryClient]);\n\n const downloadAssets = useCallback(async () => {\n let assetsNotCached: string[];\n do {\n assetsNotCached = (assetIds || []).filter((assetId) => {\n return !queryClient.getQueryData(queryKeys.blobUrl(assetId)) && assetId;\n });\n await wait(1000);\n } while (assetsNotCached.length > 0);\n\n assetIds.forEach((asset) => {\n const blobUrl = queryClient.getQueryData(queryKeys.blobUrl(asset));\n window.open(blobUrl as string);\n });\n }, [assetIds, queryClient]);\n\n return { downloadAssets, isLoading };\n}\n\nfunction wait(ms: number) {\n return new Promise<void>((resolve) => {\n setTimeout(() => {\n resolve();\n }, ms);\n });\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { getCompany } from \"shared/client\";\n\nexport default function useGetCompany(companyId?: string) {\n return useQuery(queryKeys.company(companyId), () => getCompany(companyId!), {\n enabled: !!companyId,\n });\n}\n","import { useInfiniteQuery, UseInfiniteQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { ApiError, getGroupPosts } from \"shared/client\";\nimport { PostsQueryResult } from \"shared/model\";\n\nconst BATCH_SIZE = 3;\n\ntype GetPostsParams = {\n groupId?: string;\n isApproved?: boolean;\n isDraft?: boolean;\n pageSize?: number;\n};\n\ntype GetPostsHookParams<T> = Omit<\n UseInfiniteQueryOptions<\n PostsQueryResult,\n ApiError,\n T,\n PostsQueryResult,\n ReturnType<typeof queryKeys.posts>\n >,\n \"getNextPageParam\"\n> &\n GetPostsParams;\n\nexport default function useGetPosts<T = PostsQueryResult>({\n groupId,\n isApproved,\n isDraft,\n pageSize = BATCH_SIZE,\n ...options\n}: GetPostsHookParams<T>) {\n return useInfiniteQuery(\n queryKeys.posts(groupId, { isApproved, isDraft }),\n async ({ pageParam }) => {\n const response = await getGroupPosts(groupId!, {\n limit: pageSize,\n cursorId: pageParam,\n isApproved,\n isDraft,\n });\n\n return response;\n },\n {\n getNextPageParam(lastPage) {\n if (lastPage.posts.length === pageSize) {\n return lastPage.posts.slice().reverse()?.[0].id;\n }\n\n return null;\n },\n notifyOnChangeProps: \"tracked\",\n ...options,\n enabled: !!groupId && options.enabled,\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { InvitationsByType } from \"components/CombinedInvitationSender/CombinedInvitationSender\";\nimport {\n getGroup,\n getGroupFiles,\n getGroupInvitations,\n getUserPreviewsBasedOnGroupInvitation,\n} from \"shared/client\";\nimport { GroupFilesFilters } from \"shared/model\";\n\nexport function useGroup(groupId: string) {\n return useQuery(queryKeys.group(groupId), () => getGroup(groupId), {\n notifyOnChangeProps: \"tracked\",\n });\n}\n\nexport function useGroupFiles(groupId?: string, filters?: GroupFilesFilters) {\n return useQuery(\n queryKeys.groupFiles(groupId, filters),\n () => getGroupFiles(groupId!, filters),\n {\n enabled: !!groupId,\n notifyOnChangeProps: \"tracked\",\n }\n );\n}\n\nexport function useUserPreviewsBasedOnGroupInvitation(companyId?: string) {\n return useQuery(\n queryKeys.userPreviews(companyId),\n () => getUserPreviewsBasedOnGroupInvitation(companyId!),\n { enabled: !!companyId }\n );\n}\n\nexport function useGroupInvitations(groupId?: string) {\n return useQuery(\n queryKeys.groupInvitations(groupId),\n () => getGroupInvitations(groupId!),\n {\n enabled: !!groupId,\n select: (data) =>\n data.reduce<InvitationsByType>(\n (invitations, invitation) => {\n if (invitation.invitedEmail) {\n invitations.emails.push(invitation.invitedEmail);\n }\n if (invitation.invitedCompanyId) {\n invitations.companies.push(invitation.invitedCompanyId);\n }\n if (invitation.invitedSupplierId) {\n invitations.suppliers.push(invitation.invitedSupplierId);\n }\n return invitations;\n },\n {\n emails: [],\n companies: [],\n suppliers: [],\n }\n ),\n notifyOnChangeProps: \"tracked\",\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { getUserCompanyRole } from \"shared/client\";\nimport { UserCompanyRole } from \"shared/model\";\n\nexport default function useRole() {\n const { data: userData } = useUserData();\n const { data: companyData } = useOwnCompany();\n\n return useQuery<\n UserCompanyRole,\n Error,\n UserCompanyRole,\n readonly [\"role\", string | undefined, string | undefined]\n >(\n queryKeys.role(companyData?.id, userData?.id),\n () => getUserCompanyRole(companyData!.id, userData!.id),\n {\n enabled: !!userData?.id && !!companyData?.id,\n ...longCachedQueryOptions,\n }\n );\n}\n","// a more general useRoleName would be more useful on the long term?\nimport useRole from \"hooks/queries/useRole\";\nimport useRoles from \"hooks/queries/useRoles\";\n\nexport default function useIsAdmin() {\n const {\n isLoading: roleLoading,\n isIdle: roleIdle,\n data: role,\n error: roleError,\n } = useRole();\n const {\n isLoading: rolesLoading,\n isIdle: rolesIdle,\n data: roles,\n error: rolesError,\n } = useRoles();\n const isAdmin = roles && role && roles[role.roleId].name === \"Admin\";\n\n return {\n isAdmin,\n loading: roleIdle || rolesIdle || roleLoading || rolesLoading,\n error: roleError ?? rolesError,\n };\n}\n\nexport function useIsSurveyParticipant() {\n const {\n isLoading: roleLoading,\n isIdle: roleIdle,\n data: role,\n error: roleError,\n } = useRole();\n const {\n isLoading: rolesLoading,\n isIdle: rolesIdle,\n data: roles,\n error: rolesError,\n } = useRoles();\n const isSurveyParticipant =\n roles && role && roles[role.roleId].name === \"SurveyParticipant\";\n\n return {\n isSurveyParticipant,\n loading: roleIdle || rolesIdle || roleLoading || rolesLoading,\n error: roleError ?? rolesError,\n };\n}\n","import { useMutation, useQuery, useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport {\n createSupplier,\n deleteSupplier,\n getMySupplier,\n getMySuppliers,\n getSupplierAttachments,\n updateSupplier,\n uploadSuppliersCsv,\n} from \"shared/client\";\nimport {\n AttributeFilter,\n NewSupplierInput,\n SupplierFilters,\n UpdateSupplierInput,\n} from \"shared/model\";\n\nexport const DEFAULT_PAGESIZE = 250;\n\nexport default function useGetMySuppliers(\n {\n offset,\n limit,\n filters,\n }: { offset: number; limit: number; filters?: SupplierFilters } = {\n offset: 0,\n limit: DEFAULT_PAGESIZE,\n filters: {},\n }\n) {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(\n [\n ...queryKeys.mySuppliers(ownCompany?.id || \"\"),\n { offset, limit, ...filters },\n ],\n () => {\n const formatedSupplierAttributeFilters: AttributeFilter[] =\n filters?.attributes?.map((attribute) => ({\n attributeTypeId: attribute.attributeTypeId,\n attributeChoiceIds: attribute.choices\n ?.filter((choice) => choice.isSelected)\n .map((choice) => choice.id),\n })) || [];\n\n // need to remove those filters where no choice is selected\n const filteredAttributeFilters = formatedSupplierAttributeFilters.filter(\n (attribute) => attribute.attributeChoiceIds?.length\n );\n\n const formatedFilters = {\n ...filters,\n attributes: filteredAttributeFilters?.length\n ? filteredAttributeFilters\n : undefined,\n };\n return getMySuppliers({ offset, limit, ...formatedFilters });\n },\n {\n enabled: !!ownCompany?.id,\n keepPreviousData: true,\n }\n );\n}\n\nexport function useGetMySupplierDetails(id: string) {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(queryKeys.supplierDetails(id), () => getMySupplier(id), {\n enabled: !!ownCompany?.id,\n });\n}\n\nexport function useGetSupplierAttachments(supplierId: string) {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(\n queryKeys.supplierAttachments(supplierId),\n () => getSupplierAttachments(supplierId),\n {\n enabled: !!ownCompany?.id,\n }\n );\n}\n\nexport function useCreateSupplier() {\n const queryClient = useQueryClient();\n\n return useMutation(\n (data: NewSupplierInput) => {\n return createSupplier(data);\n },\n {\n onSuccess: () => {\n queryClient.invalidateQueries(\"mySuppliers\");\n },\n }\n );\n}\n\ntype UploadSuppliersCsvProps = {\n file: File;\n};\n\nexport function useUploadSuppliersCsv() {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({ file }: UploadSuppliersCsvProps) => {\n return uploadSuppliersCsv({ file });\n },\n {\n onSuccess: () => {\n queryClient.invalidateQueries(\"mySuppliers\");\n },\n }\n );\n}\n\nexport function useUpdateSupplier(id: string) {\n const queryClient = useQueryClient();\n\n return useMutation(\n (data: UpdateSupplierInput) => {\n return updateSupplier(id, data);\n },\n {\n onSuccess: () => {\n queryClient.invalidateQueries(\"mySuppliers\");\n queryClient.invalidateQueries(queryKeys.supplierDetails(id));\n },\n }\n );\n}\n\nexport function useDeleteSupplier() {\n const queryClient = useQueryClient();\n\n return useMutation(\n (id: string) => {\n return deleteSupplier(id);\n },\n {\n onSuccess: () => {\n queryClient.invalidateQueries(\"mySuppliers\");\n },\n }\n );\n}\n","import { useInfiniteQuery, useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { getNotifications } from \"shared/client\";\n\nconst BATCH_SIZE = 10;\n\nexport default function useNotifications(pageSize = BATCH_SIZE) {\n const { data: company } = useOwnCompany();\n\n return useInfiniteQuery(\n queryKeys.notifications(company?.id),\n async ({ pageParam }) => {\n const response = await getNotifications({\n limit: pageSize,\n cursorId: pageParam,\n });\n\n return response;\n },\n {\n enabled: !!company?.id,\n getNextPageParam(lastPage) {\n if (lastPage.notifications.length === pageSize) {\n return lastPage.notifications.slice().reverse()[0].id;\n }\n\n return null;\n },\n }\n );\n}\n\nexport function useRecentNotifications(pageSize = 6) {\n const { data: company } = useOwnCompany();\n\n return useQuery(\n queryKeys.recentNotifications(company?.id),\n () =>\n getNotifications({\n limit: pageSize,\n }),\n {\n enabled: !!company?.id,\n refetchInterval: 1000 * 10,\n }\n );\n}\n","import { useMemo } from \"react\";\nimport { useQuery, UseQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { DashboardType } from \"@pulsemarket/constants\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { ApiError, getCompany } from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { CompanyDetailsDto } from \"shared/model\";\n\ntype BaseCompany = Partial<Pick<CompanyDetailsDto, \"id\">>;\n\nconst getDefaultOwnCompany = (baseParams: BaseCompany): CompanyDetailsDto => ({\n id: baseParams.id || \"\",\n name: \"\",\n employees: {\n name: \"\",\n id: \"\",\n },\n industries: [],\n sectors: [],\n specialities: [],\n servicing: [],\n zones: [],\n productsAndServices: [],\n creationDate: \"\",\n companyLists: [],\n passports: [],\n attributes: [],\n dashboardType: DashboardType.General,\n});\n\ntype UseOwnCompanyQueryOptions<T = CompanyDetailsDto> = Omit<\n UseQueryOptions<CompanyDetailsDto, unknown, T, typeof queryKeys.ownCompany>,\n \"placeholderData\" | \"retry\" | \"enabled\" | \"notifyOnChangeProps\"\n>;\n\nexport default function useOwnCompany<T = CompanyDetailsDto>(\n options?: UseOwnCompanyQueryOptions<T>\n) {\n const { data: userData } = useUserData();\n\n const companyId =\n //Prevent sending bad requests to api/commpanies/ when company is undefined\n (userData?.companyId || localStorage.getItem(ACTING_COMPANY_ID)) ??\n undefined;\n\n return useQuery(\n queryKeys.ownCompany,\n () => {\n return getCompany(companyId!);\n },\n {\n retry: (failureCount, error) => {\n if (error instanceof ApiError) {\n if (error.status === 404) {\n return false;\n }\n }\n if (failureCount > 3) {\n return false;\n }\n return true;\n },\n enabled: !!companyId,\n placeholderData: useMemo(\n () =>\n getDefaultOwnCompany({\n id: companyId,\n }),\n [companyId]\n ),\n notifyOnChangeProps: \"tracked\",\n ...options,\n ...longCachedQueryOptions,\n }\n );\n}\n\nexport function useAssetRepositoryId(\n options?: Omit<UseOwnCompanyQueryOptions<string | undefined>, \"select\">\n) {\n return useOwnCompany({\n select(data) {\n return data.assetRepositoryId;\n },\n ...options,\n });\n}\n","import { useQuery, UseQueryOptions } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { RfpDto } from \"@pulsemarket/api-client\";\nimport { ApiError, getRFP } from \"shared/client\";\n\ntype UseRfpQueryOptions<T = RfpDto> = Omit<\n UseQueryOptions<RfpDto, Error, T, ReturnType<typeof queryKeys.rfp>>,\n \"retry\"\n> & { rfpId?: string };\n\nexport default function useRFP<T = RfpDto>({\n rfpId,\n enabled,\n ...options\n}: UseRfpQueryOptions<T>) {\n const history = useHistory();\n\n return useQuery<RfpDto, Error, T, ReturnType<typeof queryKeys.rfp>>(\n queryKeys.rfp(rfpId),\n () => getRFP(rfpId!),\n {\n enabled: !!rfpId && (typeof enabled === \"boolean\" ? enabled : true),\n // Don't retry on not found errors or unauthorized errors\n retry: (failureCount, error) => {\n if (error instanceof ApiError) {\n if ([404, 401].includes(error.status)) {\n history.replace(\"/\" + history.location.search);\n return false;\n }\n }\n return true;\n },\n staleTime: Infinity,\n refetchOnMount: \"always\",\n notifyOnChangeProps: \"tracked\",\n ...options,\n }\n );\n}\n","import { useQuery, UseQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useRFP from \"hooks/queries/useRFP\";\nimport { ApiError, getRFPresponsesByRfpId } from \"shared/client\";\nimport { ReceivedResponseFilters } from \"shared/model\";\n\ntype UseResponsesQueryOptions<\n T = Awaited<ReturnType<typeof getRFPresponsesByRfpId>>\n> = UseQueryOptions<\n ReturnType<typeof getRFPresponsesByRfpId>,\n ApiError,\n T,\n ReturnType<typeof queryKeys.rfpResponsesByRfpId>\n> & { rfpId?: string; filters?: ReceivedResponseFilters };\n\nexport default function useRFPresponses({\n rfpId,\n filters,\n enabled,\n ...options\n}: UseResponsesQueryOptions) {\n const { data: rfp } = useRFP({ rfpId });\n const { data: ownCompany } = useOwnCompany();\n\n const queryEnabled =\n (typeof enabled === \"undefined\" ? true : enabled) &&\n !!rfpId &&\n rfp?.companyId === ownCompany?.id;\n\n return useQuery(\n queryKeys.rfpResponsesByRfpId(rfpId, filters),\n () => getRFPresponsesByRfpId(rfpId!, filters),\n {\n ...options,\n enabled: queryEnabled,\n notifyOnChangeProps: \"tracked\",\n onError: (error) => {},\n retry: (failureCount, error) => {\n // Don't retry on not found error\n return error.status === 404 ? false : true;\n },\n }\n );\n}\n","import { useQuery, UseQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { RfpDto } from \"@pulsemarket/api-client\";\nimport { ApiError, getRFPs } from \"shared/client\";\nimport { RfpFilters } from \"shared/model\";\n\nexport default function useRFPs<T = RfpDto[]>(\n options?: UseQueryOptions<\n RfpDto[],\n ApiError,\n T,\n ReturnType<typeof queryKeys.rfps>\n > & {\n filters?: RfpFilters;\n }\n) {\n return useQuery(\n queryKeys.rfps(options?.filters),\n () => getRFPs(options?.filters),\n {\n placeholderData: [],\n ...options,\n }\n );\n}\n","import {\n InfiniteData,\n QueryClient,\n useMutation,\n useQueryClient,\n} from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { readNotification } from \"shared/client\";\nimport { NotificationDto, NotificationsResponse } from \"shared/model\";\n\nfunction updateInfiniteCache(\n queryClient: QueryClient,\n notificationId: string,\n isRead: boolean,\n companyId: string\n) {\n const data = queryClient.getQueryData<InfiniteData<NotificationsResponse>>(\n queryKeys.notifications(companyId)\n );\n\n if (!data) {\n return;\n }\n\n queryClient.setQueryData(queryKeys.notifications(companyId), {\n ...data,\n pages: data.pages.map((page) => ({\n ...page,\n notifications: page.notifications.map((n) =>\n n.id === notificationId ? { ...n, isRead } : n\n ),\n unread: page.unread + (isRead ? -1 : 1),\n })),\n });\n}\n\nexport default function useReadNotification() {\n const queryClient = useQueryClient();\n const { data: company } = useOwnCompany();\n\n return useMutation(\n async ({\n notification,\n isRead = true,\n }: {\n notification: NotificationDto;\n isRead?: boolean;\n }) => {\n if (notification.isRead === isRead) {\n return;\n }\n\n return readNotification(notification.id, isRead);\n },\n {\n onSuccess(_, { notification, isRead = true }) {\n if (notification.isRead === isRead) {\n return;\n }\n\n updateInfiniteCache(queryClient, notification.id, isRead, company!.id);\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { ToggleLabelOnAssetsInput } from \"@pulsemarket/api-client\";\nimport { useAssetContext } from \"contexts/AssetFilter/AssetFilterProvider\";\nimport { removeLabelFromAssets } from \"shared/client\";\n\nimport useOwnCompany from \"./useOwnCompany\";\n\ntype RemoveLabelFromAssetsHookParams = {\n onSuccess?: () => void;\n};\n\ntype RemoveLabelInput = ToggleLabelOnAssetsInput & { labelId: string };\n\nexport default function useRemoveLabelFromAssets(\n options?: RemoveLabelFromAssetsHookParams\n) {\n const { data: ownCompany } = useOwnCompany();\n const { searchOptions } = useAssetContext();\n\n const client = useQueryClient();\n\n return useMutation(\n ({ folderIds, assetIds, labelId }: RemoveLabelInput) =>\n removeLabelFromAssets(ownCompany!.id, labelId, { folderIds, assetIds }),\n {\n mutationKey: mutationKeys.removeLabelFromAssets,\n onSuccess: options?.onSuccess,\n onSettled: () => {\n client.invalidateQueries(\n queryKeys.assetRepositorySearch(searchOptions)\n );\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { requestAccess } from \"shared/client\";\nimport { GroupDetailsDto } from \"shared/model\";\n\ntype RequestGroupParams = {\n groupId: string;\n};\n\nexport default function useRequestGroupAccess() {\n const client = useQueryClient();\n return useMutation(\n ({ groupId }: RequestGroupParams) => {\n return requestAccess(groupId);\n },\n {\n mutationKey: mutationKeys.requestAccessToGroup,\n onMutate: async ({ groupId }: RequestGroupParams) => {\n await client.cancelQueries(queryKeys.requestGroup(groupId));\n const previousGroup = client.getQueryData<GroupDetailsDto>(\n queryKeys.requestGroup(groupId)\n );\n if (previousGroup) {\n client.setQueryData<GroupDetailsDto>(\n queryKeys.requestGroup(groupId),\n previousGroup\n );\n }\n return { previousGroup };\n },\n onError: (err, variables, context) => {\n if (context?.previousGroup) {\n client.setQueryData<GroupDetailsDto>(\n queryKeys.requestGroup(variables.groupId),\n context.previousGroup\n );\n }\n },\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.group(variables.groupId));\n client.invalidateQueries(queryKeys.groups);\n client.invalidateQueries(queryKeys.requestGroup(variables.groupId));\n },\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { getRoles } from \"shared/client\";\nimport { Role } from \"shared/model\";\n\nexport default function useRoles() {\n return useQuery<\n Role[],\n Error,\n { [roleId: string]: Role },\n readonly [\"roles\"]\n >(queryKeys.roles, () => getRoles(), {\n ...longCachedQueryOptions,\n select: (data) =>\n data.reduce((roles, role) => ({ ...roles, [role.id]: role }), {}),\n });\n}\n","import { useQuery, UseQueryOptions } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { searchAssets, searchDataRoomAssets } from \"shared/client\";\nimport { AssetSearchOptions, FolderItemDto } from \"shared/model\";\n\nexport default function useSearchAssets<T = FolderItemDto[]>(\n searchOptions: AssetSearchOptions,\n options?: UseQueryOptions<\n FolderItemDto[],\n unknown,\n T,\n readonly [\"assetRepositorySearch\", AssetSearchOptions]\n > & {\n companyId?: string;\n }\n) {\n const { data: ownCompany } = useOwnCompany();\n\n return useQuery(\n queryKeys.assetRepositorySearch(searchOptions),\n () => {\n if (!options?.companyId) {\n return searchAssets(ownCompany!.id, searchOptions);\n } else {\n return searchDataRoomAssets(options.companyId, searchOptions);\n }\n },\n {\n enabled:\n !!options?.companyId || (!options?.companyId && !!ownCompany?.id),\n notifyOnChangeProps: options?.notifyOnChangeProps,\n ...options,\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { setGroupInvitationStatus } from \"shared/client\";\nimport { GroupInvitationStatus } from \"shared/model\";\n\ntype SetGroupInvitationStatusParams = {\n groupInvitationId: string;\n status: GroupInvitationStatus;\n};\n\nexport default function useSetGroupInvitationStatus() {\n const client = useQueryClient();\n\n return useMutation(\n ({ groupInvitationId, status }: SetGroupInvitationStatusParams) => {\n return setGroupInvitationStatus({ groupInvitationId, status });\n },\n {\n mutationKey: mutationKeys.setGroupInvitationStatus,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.group(\"\")[0]);\n if (variables.status === GroupInvitationStatus.Left) {\n client.invalidateQueries(queryKeys.groupsImMember());\n }\n },\n }\n );\n}\n","import { useQueryClient } from \"react-query\";\n\nimport { switchCompany } from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\n\nexport default function useSwitchCompany() {\n const client = useQueryClient();\n\n return async ({ companyId }: { companyId: string }) => {\n localStorage.setItem(ACTING_COMPANY_ID, companyId);\n await switchCompany({ activeCompanyId: companyId });\n client.resetQueries();\n };\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport useRoles from \"hooks/queries/useRoles\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { ApiError, getCompany, getCompanyRolesByUserId } from \"shared/client\";\n\nexport function useUserCompanies() {\n const { data: userData } = useUserData();\n const { data: roles } = useRoles();\n\n return useQuery(\n queryKeys.userRelatedCompanies,\n async () => {\n const userCompanyRoles = await getCompanyRolesByUserId(userData!.id);\n\n const companies = await Promise.all(\n userCompanyRoles.map(async (curr) => {\n const company = await getCompany(curr.companyId);\n return {\n ...company,\n roleId: curr.roleId,\n roleName: roles![curr.roleId].name,\n };\n })\n );\n\n return companies;\n },\n {\n retry: (_, error) => {\n console.log(error);\n if (error instanceof ApiError) {\n if (error.status === 404) {\n return false;\n }\n }\n return true;\n },\n enabled: !!userData?.id && !!roles,\n ...longCachedQueryOptions,\n }\n );\n}\n","import { useMemo } from \"react\";\nimport { useQuery } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { useGetAuthToken } from \"hooks/queries/useAuth\";\nimport { ApiError, getUser } from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { UserDto } from \"shared/model\";\n\ntype BaseUser = Partial<Pick<UserDto, \"companyId\" | \"id\">>;\n\nconst getDefaultUser = (\n baseParams?: BaseUser\n): UserDto & { isPlaceholder?: boolean } => ({\n id: baseParams?.id || \"\",\n companyId: baseParams?.companyId || \"\",\n email: \"\",\n firstName: \"\",\n lastName: \"\",\n jobTitle: \"\",\n payments: {},\n seenWelcomePopup: true,\n emailNewRFP: true,\n emailRFPResponse: true,\n emailGroupInvitation: true,\n emailGroupUpdates: true,\n isPlaceholder: true,\n});\n\nexport default function useUserData() {\n const { data: tokenData } = useGetAuthToken();\n const history = useHistory();\n const localCompanyId = tokenData?.companyId || \"\";\n const localAccountId = tokenData?.userId || \"\";\n const placeholderData = useMemo(\n () =>\n getDefaultUser({\n id: localAccountId,\n companyId: localCompanyId,\n }),\n [localAccountId, localCompanyId]\n );\n\n return useQuery(\n queryKeys.user,\n async () => {\n const user = (await getUser(localAccountId)) as UserDto & {\n isPlaceholder?: boolean;\n };\n return user;\n },\n {\n placeholderData,\n enabled: !!localAccountId,\n ...longCachedQueryOptions,\n notifyOnChangeProps: \"tracked\",\n retry: (retryCount, error) => {\n if (error instanceof ApiError) {\n if (error.status === 404) {\n return false;\n }\n }\n\n if (retryCount > 3) {\n return false;\n }\n\n return true;\n },\n onError: (error) => {\n if (error instanceof ApiError) {\n if (error.status === 404) {\n if (history.location.pathname === \"/\") {\n return;\n }\n return history.replace(\"/\" + history.location.search);\n }\n }\n },\n onSuccess: (user) => {\n if (!!localCompanyId) {\n return;\n }\n localStorage.setItem(ACTING_COMPANY_ID, user.companyId);\n },\n }\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport {\n getCountries,\n getEmployeeNumbers,\n getIndustries,\n getPassportTypes,\n getSectors,\n getSpecialties,\n getZones,\n} from \"shared/client\";\nimport { Pair } from \"shared/model\";\n\nexport default function useVendorSearchOptions() {\n // ! https://github.com/tannerlinsley/react-query/pull/1527 - useQueries isn't strongly typed, we are better off with many queries\n\n const { data: industries, isLoading: industriesLoading } = useQuery({\n queryKey: queryKeys.industries,\n queryFn: () => getIndustries(),\n ...longCachedQueryOptions,\n });\n const { data: sectors, isLoading: sectorsLoading } = useQuery({\n queryKey: queryKeys.sectors,\n queryFn: () => getSectors(),\n ...longCachedQueryOptions,\n });\n const { data: specialities, isLoading: specialitiesLoading } = useQuery({\n queryKey: queryKeys.specialities,\n queryFn: () => getSpecialties(),\n ...longCachedQueryOptions,\n });\n const { data: countries, isLoading: countriesLoading } = useQuery({\n queryKey: queryKeys.countries,\n queryFn: () => getCountries(),\n ...longCachedQueryOptions,\n });\n const { data: zones, isLoading: zonesLoading } = useQuery({\n queryKey: queryKeys.zones,\n queryFn: () => getZones(),\n ...longCachedQueryOptions,\n });\n const { data: employeeNumbers, isLoading: employeesLoading } = useQuery({\n queryKey: queryKeys.employeeNumbers,\n queryFn: () => getEmployeeNumbers(),\n ...longCachedQueryOptions,\n });\n const { data: passports, isLoading: passportsLoading } = useQuery({\n queryKey: queryKeys.passports,\n queryFn: () => getPassportTypes(),\n ...longCachedQueryOptions,\n select: (passports): Pair[] =>\n passports.map((passport) => ({ id: passport.id, name: passport.name })),\n });\n\n const loading =\n industriesLoading ||\n sectorsLoading ||\n specialitiesLoading ||\n countriesLoading ||\n zonesLoading ||\n employeesLoading ||\n passportsLoading;\n //TODO --> remove financial service filter when financial passport is added\n return {\n loading,\n industries: industries || [],\n sectors: sectors || [],\n specialities: specialities || [],\n countries: countries || [],\n zones: zones || [],\n employeeNumbers: employeeNumbers || [],\n passports:\n passports?.filter(\n (passport) => passport.id !== \"financial_service_readiness_v1\"\n ) || [],\n };\n}\n","import { useCallback, useContext, useMemo } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { CompanyCardProps } from \"components/CompanyCard/CompanyCard\";\nimport { ButtonProps } from \"components/ui/Button/Button\";\nimport { Selectable } from \"components/ui/Table/types\";\nimport AddToList from \"components/vendorlists/AddToList\";\nimport RemoveFromList from \"components/vendorlists/RemoveFromList\";\nimport { checkIsInOrg } from \"components/vendorlists/utils\";\nimport { useListContext } from \"contexts/List/ListProvider\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { CompanyCardDto, CompanyDto, Identifiable } from \"shared/model\";\n\ntype CardOptions = {\n compact?: boolean;\n selectable?: boolean;\n disabled?: boolean | ((company: CompanyDto) => boolean);\n companyDisabled?: (company?: CompanyCardDto) => boolean | undefined;\n disabledReason?: string;\n};\n\nexport default function useCompanyCards(\n companies: (CompanyDto & Selectable)[],\n options?: CardOptions\n) {\n const client = useQueryClient();\n const { data: ownCompany } = useOwnCompany();\n const { openModal, closeModal } = useContext(ModalContext);\n const { onToggleSelect } = useListContext<CompanyDto & Selectable>();\n\n const openAddToListModal = useCallback<(company: CompanyCardDto) => void>(\n (company: CompanyCardDto) => {\n openModal(\n <AddToList\n company={{ id: company.id, name: company.name }}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n const openRemoveFromListModal = useCallback<\n (company: CompanyCardDto) => void\n >(\n (company: CompanyCardDto) => {\n openModal(\n <RemoveFromList\n company={{ id: company.id, name: company.name }}\n onSuccess={() => {\n closeModal();\n }}\n onCancel={() => {\n closeModal();\n }}\n />\n );\n },\n [openModal, closeModal]\n );\n\n const cards: CompanyCardProps[] = useMemo<CompanyCardProps[]>(() => {\n return companies.map((company) => {\n const isInCompanyList = checkIsInOrg(\n company.id,\n ownCompany!.companyLists\n );\n const buttons: (ButtonProps & Identifiable)[] = [\n {\n id: `${company.id}button1`,\n children: \"Add to List\",\n variant: \"normal\",\n color: \"orange\",\n onMouseEnter: () => client.prefetchQuery(queryKeys.ownCompany),\n onClick: () => openAddToListModal(company),\n },\n ];\n if (isInCompanyList) {\n buttons.push({\n id: `${company.id}button2`,\n children: \"Remove\",\n variant: \"normal\",\n color: \"red\",\n onMouseEnter: () => client.prefetchQuery(queryKeys.ownCompany),\n onClick: () => openRemoveFromListModal(company),\n });\n }\n\n return {\n company,\n buttons,\n compact: options?.compact,\n onToggleSelect: options?.selectable\n ? () => {\n onToggleSelect(company.id);\n }\n : undefined,\n selected: company.selected,\n disabled: options?.companyDisabled,\n disabledReason: options?.disabledReason,\n };\n });\n }, [\n openAddToListModal,\n openRemoveFromListModal,\n companies,\n ownCompany,\n client,\n options?.compact,\n options?.selectable,\n options?.disabledReason,\n options?.companyDisabled,\n onToggleSelect,\n ]);\n\n return cards;\n}\n","// source: https://github.com/kentcdodds/use-deep-compare-effect/blob/ec3c204ae3a29be7db8e30fc7ca29dd38d1c9441/src/index.ts\n\nimport * as React from \"react\";\n\nimport deepEqual from \"fast-deep-equal\";\n\ntype UseEffectParams = Parameters<typeof React.useEffect>;\ntype EffectCallback = UseEffectParams[0];\ntype DependencyList = UseEffectParams[1];\n// yes, I know it's void, but I like what this communicates about\n// the intent of these functions: It's just like useEffect\ntype UseEffectReturn = ReturnType<typeof React.useEffect>;\n\nfunction checkDeps(deps: DependencyList) {\n if (!deps || !deps.length) {\n throw new Error(\n \"useDeepCompareEffect should not be used with no dependencies. Use React.useEffect instead.\"\n );\n }\n if (deps.every(isPrimitive)) {\n throw new Error(\n \"useDeepCompareEffect should not be used with dependencies that are all primitive values. Use React.useEffect instead.\"\n );\n }\n}\n\nfunction isPrimitive(val: unknown) {\n return val == null || /^[sbn]/.test(typeof val);\n}\n\n/**\n * @param value the value to be memoized (usually a dependency list)\n * @returns a memoized version of the value as long as it remains deeply equal\n */\nexport function useDeepCompareMemoize<T>(value: T) {\n const ref = React.useRef<T>(value);\n const signalRef = React.useRef<number>(0);\n\n if (!deepEqual(value, ref.current)) {\n ref.current = value;\n signalRef.current += 1;\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useMemo(() => ref.current, [signalRef.current]);\n}\n\nfunction useDeepCompareEffect(\n callback: EffectCallback,\n dependencies: DependencyList\n): UseEffectReturn {\n if (process.env.NODE_ENV !== \"production\") {\n checkDeps(dependencies);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useEffect(callback, useDeepCompareMemoize(dependencies));\n}\n\nfunction useDeepCompareLayoutEffect(\n callback: EffectCallback,\n dependencies: DependencyList\n): UseEffectReturn {\n if (process.env.NODE_ENV !== \"production\") {\n checkDeps(dependencies);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useEffect(callback, useDeepCompareMemoize(dependencies));\n}\n\nexport function useDeepCompareEffectNoCheck(\n callback: EffectCallback,\n dependencies: DependencyList\n): UseEffectReturn {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useEffect(callback, useDeepCompareMemoize(dependencies));\n}\n\nexport { useDeepCompareEffect, useDeepCompareLayoutEffect };\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport { ApiError } from \"shared/client\";\n\nimport { getFeatureFlag } from \"../shared/client\";\n\nexport default function useFeatureEnabled({\n featureName,\n}: {\n featureName: FeatureFlagEnum;\n}) {\n const featureEnabled = useQuery(\n queryKeys.features(featureName),\n () => getFeatureFlag(featureName),\n {\n retry: (_, error) => {\n console.log(error);\n if (error instanceof ApiError) {\n if (error.status === 404 || error.status === 503) {\n return false;\n }\n }\n return true;\n },\n ...longCachedQueryOptions,\n enabled: !!featureName,\n placeholderData: false,\n }\n );\n return featureEnabled;\n}\n","import { useParams } from \"react-router-dom\";\n\nimport { useAssetRepositoryId } from \"hooks/queries/useOwnCompany\";\n\nexport default function useFolderIdParam() {\n const { data: assetRepositoryId } = useAssetRepositoryId();\n return useParams<{ folderId: string }>().folderId || assetRepositoryId;\n}\n","import { useGetAuthToken } from \"hooks/queries/useAuth\";\n\nexport default function useIsPublicVisitor() {\n const { data: tokenData, isLoading } = useGetAuthToken();\n\n return {\n isPublicVisitor: !tokenData,\n isLoading: isLoading,\n };\n}\n","import { useCallback, useMemo, useState } from \"react\";\n\nimport { SelectOption } from \"components/ui/FormSelect\";\nimport { MultiSelectOption } from \"components/ui/MultiSelect/Body/Body\";\nimport { CheckablePair } from \"components/ui/MultiSelect/MultiSelect\";\nimport { useDeepCompareEffect } from \"hooks/useDeepCompareEffects\";\n\ntype MultiSelectHookParams = {\n onChange: (selectedIds: string[], changedId?: string) => void;\n options?: SelectOption[];\n selectedIds: string[];\n};\n\nexport default function useMultiSelect({\n onChange,\n options = [],\n selectedIds,\n}: MultiSelectHookParams) {\n const [items, setItems] = useState<CheckablePair[]>([]);\n const [selectedItemsCount, setSelectedItemsCount] = useState<number>(0);\n const [search, setSearch] = useState<string>(\"\");\n\n useDeepCompareEffect(() => {\n //initialization or control from parent\n const newSelectionItems = options.map((item) => {\n return {\n ...item,\n checked: selectedIds.includes(item.id),\n };\n });\n setItems(newSelectionItems);\n setSelectedItemsCount(\n newSelectionItems.filter((item) => item.checked).length\n );\n }, [options, selectedIds]);\n\n const selectionDataChanged = useCallback<\n (newSelectionItems: CheckablePair[], changedId?: string) => void\n >(\n (newSelectionItems, changedId) => {\n setItems(newSelectionItems);\n setSelectedItemsCount(\n newSelectionItems.filter((item) => item.checked).length\n );\n onChange(\n newSelectionItems.filter((item) => item.checked).map((item) => item.id),\n changedId\n );\n },\n [onChange]\n );\n\n function toggleChecked(item: CheckablePair) {\n const newSelectionItems = items.map((selectionItem) => {\n if (item.id === selectionItem.id) {\n return {\n ...selectionItem,\n checked: !selectionItem.checked,\n };\n }\n return selectionItem;\n });\n selectionDataChanged(newSelectionItems, item.id);\n }\n\n function toggleAllChecked() {\n if (selectedItemsCount < items.length) {\n const newSelectionItems = items.map((selectionItem) => {\n return {\n ...selectionItem,\n checked: true,\n };\n });\n selectionDataChanged(newSelectionItems);\n return;\n }\n const newSelectionItems = items.map((selectionItem) => {\n return {\n ...selectionItem,\n checked: !selectionItem.checked,\n };\n });\n selectionDataChanged(newSelectionItems);\n }\n\n function clearChecked() {\n const newSelectionItems = items.map((selectionItem) => {\n return {\n ...selectionItem,\n checked: false,\n };\n });\n selectionDataChanged(newSelectionItems);\n }\n\n const filteredItems = useMemo<MultiSelectOption[]>(() => {\n const filteredSelectionItems = items.filter((item) => {\n if (search === \"\") {\n return true;\n }\n return item.name.search(new RegExp(`${search}`, \"i\")) !== -1;\n });\n return filteredSelectionItems;\n }, [items, search]);\n\n return {\n search,\n setSearch,\n items,\n selectionDataChanged,\n toggleChecked,\n toggleAllChecked,\n clearChecked,\n selectedItemsCount,\n filteredItems,\n };\n}\n","import { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport { usePassportToRfpId } from \"hooks/queries/passportHooks\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\n\nexport default function usePassportFeatureEnabled() {\n const { data: passportEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.passport,\n });\n const { data: passportRfpId } = usePassportToRfpId();\n\n return !!passportEnabled && !!passportRfpId;\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\ntype YouTubeVideosAPIResult = {\n kind: string;\n etag: string;\n items: Array<{\n kind: string;\n etag: string;\n id: string;\n contentDetails: {\n duration: string;\n dimension: string;\n definition: string;\n caption: string;\n licensedContent: boolean;\n contentRating: any;\n projection: string;\n };\n }>;\n pageInfo: {\n totalResults: number;\n resultsPerPage: number;\n };\n};\n\nexport default function useYouTubeData(id: string) {\n return useQuery(\n queryKeys.youTubeVideo(id),\n async () => {\n const response = await fetch(\n `https://www.googleapis.com/youtube/v3/videos?part=contentDetails&id=${id}&key=${process.env.REACT_APP_YOUTUBE_API_KEY}`,\n {\n method: \"GET\",\n }\n );\n\n return (await response.json()) as YouTubeVideosAPIResult;\n },\n {\n select: (data) => {\n return data.items?.[0].contentDetails;\n },\n ...longCachedQueryOptions,\n }\n );\n}\n","import { InvitationType } from \"shared/model\";\n\nexport enum SearchParamEnum {\n INVITER_COMPANY = \"inviterCompany\",\n COMPANY_MEMBER_INVITATION_TOKEN = \"companyMemberInvitationToken\",\n RFP_INVITATION_TOKEN = \"invitationId\",\n GROUP_INVITATION_TOKEN = \"groupMemberInvitationToken\",\n REDIRECT_PAGE_PARAM = \"redirect_to\",\n OPEN_POPUP = \"openPopup\",\n AUTH_TOKEN = \"authToken\",\n}\n\nexport enum LocalStorageKey {\n COMPANY_MEMBER_INVITATION_TOKEN = \"companyMemberInvitationToken\",\n GROUP_INVITATION_TOKEN = \"groupMemberInvitationToken\",\n RFP_INVITATION_TOKEN = \"rfpInvitationToken\",\n INVITER_COMPANY_ID = \"inviterCompanyId\",\n OPEN_POPUP = \"openPopup\",\n REDIRECT = \"redirect_to\",\n}\n\nexport enum TriggeredPopupEnum {\n GetPassport = \"GetPassport\",\n RFXRecipients = \"RFXRecipients\",\n RFXFeedback = \"RFXFeedback\",\n}\n\nexport function getSearchParam(name: SearchParamEnum) {\n const params = new URLSearchParams(window.location.search);\n return params.get(name);\n}\n\nexport function getInvitationFromLocalStorage() {\n const rfpInvitationId = localStorage.getItem(\n LocalStorageKey.RFP_INVITATION_TOKEN\n );\n const groupInvitationId = localStorage.getItem(\n LocalStorageKey.GROUP_INVITATION_TOKEN\n );\n\n const companyMemberInvitationId = localStorage.getItem(\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN\n );\n\n const inviterCompanyId = localStorage.getItem(\n LocalStorageKey.INVITER_COMPANY_ID\n );\n\n if (rfpInvitationId) {\n return {\n invitationId: rfpInvitationId,\n invitationType: InvitationType.rfp,\n };\n } else if (groupInvitationId && inviterCompanyId) {\n return {\n invitationId: groupInvitationId,\n invitationType: InvitationType.group,\n inviterCompanyId,\n };\n } else if (companyMemberInvitationId && inviterCompanyId) {\n return {\n invitationId: companyMemberInvitationId,\n invitationType: InvitationType.companyMember,\n inviterCompanyId,\n };\n\n //TODO AUTH: Handle data room invitation\n }\n}\n\nexport function removeInvitationParamsFromLocalStorage() {\n localStorage.removeItem(LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN);\n localStorage.removeItem(LocalStorageKey.GROUP_INVITATION_TOKEN);\n localStorage.removeItem(LocalStorageKey.RFP_INVITATION_TOKEN);\n localStorage.removeItem(LocalStorageKey.INVITER_COMPANY_ID);\n}\n\nexport function removeSearchParam(name: SearchParamEnum) {\n const params = new URLSearchParams(window.location.search);\n params.delete(name);\n const search = params.toString();\n window.history.replaceState(\n {},\n \"\",\n `${window.location.pathname}${search ? \"?\" + search : \"\"}`\n );\n}\n\nexport function setCookieArray({\n key,\n type,\n value,\n}: {\n key: LocalStorageKey;\n value: TriggeredPopupEnum;\n type: \"add\" | \"remove\";\n}) {\n const cookie = localStorage.getItem(key);\n const cookieArray = cookie ? cookie.split(\",\") : [];\n if (type === \"add\") {\n //add unique valies only\n if (!cookieArray.includes(value)) {\n cookieArray.push(value);\n }\n } else {\n cookieArray.splice(cookieArray.indexOf(value), 1);\n }\n localStorage.setItem(key, cookieArray.join(\",\"));\n}\n\nexport function getCookieArray({\n key,\n value,\n}: {\n key: LocalStorageKey;\n value: TriggeredPopupEnum;\n}) {\n const cookie = localStorage.getItem(key);\n const cookieArray = cookie ? cookie.split(\",\") : [];\n return cookieArray.includes(value);\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { hiddenScrollbarStyles } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { extend, media, stylesheet } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nexport const sideBarWidth = px(85);\n\nconst closeIconContainerClass: NestedCSSProperties = {\n marginLeft: \"16px\",\n width: \"40px\",\n justifyContent: \"center\",\n alignItems: \"center\",\n transform: \"scale(1.2, 1.2)\",\n transitionDelay: \"0.05s\",\n transition: \"0.2s\",\n padding: \"5px\",\n borderRadius: \"10px\",\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.PURPLE2,\n color: primaryColors.WHITE,\n },\n },\n};\n\nconst sideMenuStatusClass: NestedCSSProperties = {\n transition: \"0.2s\",\n};\n\nconst menuWrapperClass: NestedCSSProperties = {\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n};\n\nexport default stylesheet({\n pulseIcon: {\n height: \"45%\",\n },\n itemIconClass: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"20px\",\n },\n itemIconHeaderClass: {\n height: \"100%\",\n width: \"40px\",\n },\n fixedIconSize: {\n width: \"13px\",\n },\n divider: {\n marginBottom: \"8px\",\n marginTop: \"auto\",\n background: neutralColors.GRAY3,\n opacity: 0.15,\n },\n groupContainer: {\n ...hiddenScrollbarStyles,\n maxHeight: \"60%\",\n overflowY: \"auto\",\n },\n itemLabelClass: {\n whiteSpace: \"nowrap\",\n marginLeft: \"15px\",\n marginRight: \"32px\",\n },\n itemHeaderLabelClass: {\n textTransform: \"uppercase\",\n },\n headerClass: {\n height: \"97px!important\",\n width: \"100%\",\n },\n sideMenuClass: {\n backgroundColor: primaryColors.PURPLE3,\n position: \"relative\",\n color: neutralColors.GRAY3,\n height: \"100vh\",\n boxShadow: \"-5px 0 5px -5px rgb(0 0 0 / 25%)\",\n \"-ms-overflow-style\": \"none\",\n scrollbarWidth: \"none\",\n overflow: \"hidden\",\n },\n subMenuItem: {\n backgroundColor: primaryColors.WHITE,\n color: primaryColors.BLACK,\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n },\n },\n },\n subMenuTitleContainer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: \"0 16px\",\n height: \"58px\",\n },\n subMenuTitle: {\n display: \"flex\",\n alignItems: \"center\",\n ...typography.TITLE2,\n },\n menuItemClass: {\n height: \"58px\",\n zIndex: 2,\n cursor: \"pointer\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"start\",\n lineHeight: \"20px\",\n fontSize: \"1rem\",\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.PURPLE2_HOVER,\n color: primaryColors.WHITE,\n borderLeft: \"3px solid #dde2ff\",\n },\n },\n },\n activeMenuItem: {\n backgroundColor: primaryColors.PURPLE2,\n color: primaryColors.WHITE,\n borderLeft: \"3px solid #dde2ff\",\n },\n burgerButtonContainer: {\n height: \"97px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexGrow: 0,\n },\n burgerButton: {\n width: \"48px\",\n cursor: \"pointer\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n padding: \"12px\",\n paddingBottom: \"8px\",\n borderRadius: \"8px\",\n $nest: {\n \"&:hover\": {\n backgroundColor: primaryColors.PURPLE2,\n color: primaryColors.WHITE,\n },\n },\n },\n iconContainerClass: {\n display: \"flex\",\n width: \"23px\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"100%\",\n marginLeft: \"32px\",\n },\n pulseIconContainerClass: {\n display: \"flex\",\n width: \"fit-content\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"97px\",\n marginLeft: \"32px\",\n ...extend(media({ minWidth: 1920 }, { marginLeft: \"28px\" })),\n },\n menuPulseIconClass: {\n height: \"58px\",\n zIndex: 2,\n cursor: \"pointer\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-around\",\n lineHeight: \"20px\",\n ...extend(media({ minWidth: 1920 }, { justifyContent: \"start\" })),\n },\n menuWrapperClassOpen: {\n ...menuWrapperClass,\n },\n menuWrapperClassClose: {\n ...menuWrapperClass,\n },\n sideMenuStatusClassOpen: {\n ...sideMenuStatusClass,\n width: \"auto\",\n maxWidth: \"268px\",\n },\n sideMenuStatusClassClose: {\n ...sideMenuStatusClass,\n width: sideBarWidth,\n },\n closeIconContainerClassOpen: {\n ...closeIconContainerClass,\n display: \"flex\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n },\n closeIconContainerClassClose: {\n ...closeIconContainerClass,\n display: \"none\",\n },\n});\n","import { GroupDetailsDto } from \"shared/model\";\n\nimport { GroupAccessContext } from \"./types\";\n\nexport const GROUP_TAB_URLS = {\n posts: \"#posts\",\n files: \"#files\",\n allFiles: \"#files-all\",\n videos: \"#files-videos\",\n images: \"#files-images\",\n documents: \"#files-documents\",\n};\n\ntype GetGroupContentStateParams = {\n group?: GroupDetailsDto;\n companyId?: string;\n email?: string;\n isOwner?: boolean;\n isMember?: boolean;\n};\n\nexport function getGroupContentState({\n group,\n companyId,\n email,\n isOwner,\n isMember,\n}: GetGroupContentStateParams): GroupAccessContext {\n const isJoinRequestSent =\n !!companyId &&\n group?.requestedAccess\n .map((m) => {\n return m.invitedCompany?.id;\n })\n .includes(companyId);\n\n const invitationForCompany = group?.invitations.find(\n (invitation) => invitation.invitedCompany?.id === companyId\n );\n\n const invitationForUser = group?.invitations.find(\n (invitation) => !!email && invitation.invitedEmail === email\n );\n\n const isInvited = !!invitationForCompany || !!invitationForUser;\n\n if (isOwner) {\n return GroupAccessContext.Own;\n }\n\n if (group?.isPrivate) {\n if (!isMember && !isJoinRequestSent && !isInvited) {\n return GroupAccessContext.PrivateJoinable;\n }\n\n if (isMember) {\n return GroupAccessContext.PrivateJoined;\n }\n\n if (isJoinRequestSent) {\n return GroupAccessContext.PrivateJoinRequestSent;\n }\n\n if (isInvited) {\n return GroupAccessContext.PrivateInvited;\n }\n } else {\n if (isMember) {\n return GroupAccessContext.PublicJoined;\n }\n return GroupAccessContext.PublicJoinable;\n }\n return GroupAccessContext.PublicJoinable;\n}\n","export type GroupLayout = \"posts\" | \"files\";\n\nexport enum GroupAccessContext {\n Own = \"Own\",\n PublicJoinable = \"PublicJoinable\",\n PublicJoined = \"PublicJoined\",\n PrivateJoinable = \"PrivateJoinable\",\n PrivateJoined = \"PrivateJoined\",\n PrivateJoinRequestSent = \"PrivateJoinRequestSent\",\n PrivateInvited = \"PrivateInvited\",\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n card: {\n width: \"100%\",\n backgroundColor: neutralColors.GRAY0,\n padding: \"19px 21px\",\n borderColor: neutralColors.GRAY3,\n borderStyle: \"solid\",\n borderRadius: \"8px\",\n borderWidth: \"1px\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n titleRow: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n marginBottom: px(20),\n gap: px(10),\n width: \"100%\",\n },\n\n title: { ...typography.HEADLINE6, color: primaryColors.BLACK },\n content: {\n display: \"inline-flex\",\n flexDirection: \"column\",\n textAlign: \"center\",\n alignItems: \"center\",\n color: neutralColors.GRAY5,\n margin: `auto ${px(76 - 24)}`,\n },\n fullWidth: { margin: px(0) },\n});\n\nexport default styles;\n","import React from \"react\";\n\nimport { classes } from \"typestyle\";\n\nimport styles from \"./GroupPageCard.styles\";\n\ntype GroupPageCardProps = {\n title?: string;\n classes?: {\n children?: string;\n title?: string;\n };\n className?: string;\n headerButtons?: React.ReactNode[];\n children?: React.ReactNode;\n fullWidthContent?: boolean;\n};\n\nexport default function GroupPageCard({\n title,\n headerButtons,\n className,\n children,\n fullWidthContent = false,\n classes: componentClasses,\n}: GroupPageCardProps) {\n return (\n <div className={classes(styles.card, className)}>\n {(title || headerButtons) && (\n <div className={classes(styles.titleRow, componentClasses?.title)}>\n {title && <div className={styles.title}>{title}</div>}\n {headerButtons &&\n headerButtons.map((button, i) => {\n return <React.Fragment key={i}>{button}</React.Fragment>;\n })}\n </div>\n )}\n {children && (\n <div\n className={classes(\n styles.content,\n fullWidthContent && styles.fullWidth,\n componentClasses?.children\n )}\n >\n {children}\n </div>\n )}\n </div>\n );\n}\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n container: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(26),\n },\n sideColumn: {\n flex: 3,\n gap: px(24),\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"start\",\n },\n centerColumn: {\n flex: 5,\n gap: px(24),\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"start\",\n },\n noPadding: { padding: px(0) },\n fullHeight: { height: \"100%\" },\n backgroundContainer: {\n width: \"100%\",\n borderWidth: px(3),\n borderRadius: px(8),\n borderStyle: \"solid\",\n borderColor: primaryColors.WHITE,\n height: \"179px\",\n },\n avatarContainer: {\n borderRadius: \"4px\",\n zIndex: 2,\n marginTop: px(-83),\n textAlign: \"center\",\n },\n options: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"end\",\n alignItems: \"center\",\n height: px(14),\n width: \"100%\",\n marginRight: px(23),\n marginTop: px(-23),\n },\n svgIcon: {\n height: px(10),\n },\n groupName: {\n ...typography.HEADLINE5,\n color: primaryColors.BLACK,\n marginTop: px(34),\n marginBottom: px(38),\n },\n kebabMenuItemIcon: {\n marginRight: \"15px\",\n },\n ownerCompanyWrapper: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(20),\n alignItems: \"center\",\n width: \"100%\",\n },\n companyAvatar: {\n objectFit: \"cover\",\n },\n ownerCompanyDetails: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n ownerCompanyName: {\n ...typography.HEADLINE6,\n color: primaryColors.BLACK,\n textAlign: \"left\",\n },\n groupCreationDate: {\n ...typography.CAPTION,\n textAlign: \"left\",\n },\n middleContainer: { height: \"100%\" },\n bigIcon: {\n color: neutralColors.GRAY2,\n width: \"77px\",\n height: \"77px\",\n marginBottom: \"20px\",\n },\n buttonWithMargin: { marginTop: px(30) },\n zoneTagContainer: {\n display: \"block\",\n textAlign: \"start\",\n gap: px(8),\n },\n zoneTag: {\n margin: `${px(10)} ${px(10)}`,\n gap: px(13),\n display: \"inline-flex\",\n height: px(30),\n padding: `${px(5)} ${px(15)} `,\n borderRadius: px(4),\n backgroundColor: utilityColors.TAG_SELECTED,\n alignItems: \"center\",\n color: primaryColors.PURPLE3,\n },\n memberCardContentContainer: { width: \"100%\" },\n membersTitleWithPendingRequests: {\n marginLeft: \"auto\",\n width: \"unset\",\n },\n joinRequestsPendingButton: { ...forceTextOneLine },\n\n memberButton: {\n ...forceTextOneLine,\n marginLeft: \"5px\",\n marginRight: \"5px\",\n marginTop: \"20px\",\n marginBottom: \"20px\",\n },\n\n memberCompanyAvatarsContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"space-evenly\",\n },\n memberCompanyAvatarContainer: {\n width: px(50),\n height: px(50),\n display: \"flex\",\n borderRadius: px(5),\n alignItems: \"center\",\n justifyItems: \"center\",\n backgroundColor: neutralColors.GRAY1,\n },\n memberCompanyAvatar: {\n margin: \"auto\",\n maxHeight: px(50),\n maxWidth: px(50),\n },\n filteredCompanyAvatarContainer: {\n height: px(35),\n width: px(35),\n display: \"flex\",\n borderRadius: px(5),\n alignItems: \"center\",\n justifyItems: \"center\",\n backgroundColor: neutralColors.GRAY1,\n },\n filteredCompanyAvatar: {\n maxHeight: px(35),\n maxWidth: px(35),\n margin: \"auto\",\n },\n filteredCompany: {\n backgroundColor: \"white\",\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n width: \"100%\",\n alignItems: \"center\",\n border: `${neutralColors.GRAY2} 1px solid`,\n paddingLeft: px(8),\n paddingRight: px(8),\n borderRadius: px(8),\n marginBottom: px(9),\n },\n memberSearch: {\n width: \"100%\",\n },\n recentlyFilteredText: {\n ...typography.CAPTION,\n color: utilityColors.ORANGE,\n textAlign: \"start\",\n },\n recentlyFilteredItems: {\n display: \"flex\",\n flexDirection: \"column\",\n maxHeight: \"235px\",\n overflowY: \"auto\",\n },\n memberCompanyButtons: {\n justifySelf: \"flex-end\",\n display: \"flex\",\n alignItems: \"center\",\n },\n memberCompanyButton: {\n color: neutralColors.GRAY5,\n width: \"20px\",\n cursor: \"pointer\",\n marginRight: \"16px\",\n },\n filteredCompanyName: {\n ...typography.SUBTITLE2,\n color: primaryColors.BLACK,\n width: \"70%\",\n },\n memberButtons: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"center\",\n },\n linkedDataroomItem: {\n marginBottom: \"13px\",\n },\n});\n\nexport const companyInfoCardStyles = stylesheet({\n notificationIcon: { width: \"15px\" },\n manageIcon: { width: \"14px\" },\n leaveIcon: {\n height: \"18px\",\n $nest: {\n \"& path:first-of-type\": {\n fill: \"unset\",\n stroke: \"currentcolor\",\n },\n },\n },\n});\n","import React from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport NoContent from \"components/ui/NoContent\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport GroupPageCard from \"pages/PulseGroup/GroupPageCard\";\n\ntype ReviewFilesProps = {};\n\nconst ReviewPosts = (_props: ReviewFilesProps) => {\n const { data: ownCompany } = useOwnCompany();\n\n if (!ownCompany) {\n return <Loading />;\n }\n\n return (\n <GroupPageCard>\n <NoContent icon={{ src: \"/icons/folder_icon.svg\" }}>\n You'll soon be able to review files uploaded by others here\n </NoContent>\n </GroupPageCard>\n );\n};\n\nexport default ReviewPosts;\n","import React from \"react\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useGroupContext } from \"contexts/Group/GroupProvider\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport PostsContainer from \"pages/PulseGroup/Post/PostsContainer\";\n\ntype ReviewPostsProps = {};\n\nconst ReviewPosts = (_: ReviewPostsProps) => {\n const { data: ownCompany } = useOwnCompany();\n const { group, isOwner } = useGroupContext();\n\n if (!ownCompany || !group) {\n return <Loading isWindowed />;\n }\n\n return (\n <PostsContainer\n groupId={group?.id}\n isApproved={false}\n isGroupOwner={isOwner}\n postsRequireApproval={group?.postsRequireApproval}\n />\n );\n};\n\nexport default ReviewPosts;\n","import { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport SideMenu from \"components/ui/SideMenu\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\n\nconst GroupSettingsSidebar = ({ isOwner }: { isOwner: boolean }) => {\n const { data: managingFilesEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.manageGroupFilesApproval,\n });\n\n const memberMenuItems = [\n {\n id: \"members\",\n text: \"Members\",\n historyPush: \"members\",\n },\n ];\n const ownerMenuItems = [\n {\n id: \"descriptionn\",\n text: \"Description\",\n historyPush: \"description\",\n },\n {\n id: \"settings\",\n text: \"Settings\",\n historyPush: \"settings\",\n },\n {\n id: \"members\",\n text: \"Members\",\n historyPush: \"members\",\n },\n {\n id: \"posts\",\n text: \"Pending Posts\",\n historyPush: \"posts\",\n },\n ...(managingFilesEnabled\n ? [\n {\n id: \"files\",\n text: \"Pending Files\",\n historyPush: \"files\",\n },\n ]\n : []),\n {\n id: \"datarooms\",\n text: \"Advanced Settings\",\n historyPush: \"datarooms\",\n },\n ];\n return (\n <SideMenu\n title=\"Group Settings\"\n menuItems={isOwner ? ownerMenuItems : memberMenuItems}\n />\n );\n};\nexport default GroupSettingsSidebar;\n","import { px } from \"csx\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n avatarStyle: {\n left: \"318px\",\n },\n popupContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n borderLessContainer: {\n borderColor: \"transparent\",\n },\n buttonContainer: { display: \"flex\", justifyContent: \"end\", gap: px(25) },\n});\n","import { useContext, useState } from \"react\";\nimport { useQuery } from \"react-query\";\nimport { MemoryRouter, Route, Switch, useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\nimport { longCachedQueryOptions } from \"reactQuery/util\";\n\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { GroupData } from \"components/PulsePage/Groups/createGroup/CreateGroupModal\";\nimport GroupDataroomSettings from \"components/PulsePage/Groups/GroupDataroomSettings/GroupDataroomSettings\";\nimport GroupDescription from \"components/PulsePage/Groups/GroupDescription\";\nimport GroupMembers from \"components/PulsePage/Groups/GroupMembers\";\nimport GroupSettings from \"components/PulsePage/Groups/GroupSettings\";\nimport ReviewFiles from \"components/PulsePage/Groups/ReviewFiles\";\nimport ReviewPosts from \"components/PulsePage/Groups/ReviewPosts\";\nimport Button from \"components/ui/Button\";\nimport ModalHeader from \"components/ui/Modal/Header\";\nimport PageLayoutWithSidebar from \"components/ui/PageLayoutWithSidebar\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useFormik } from \"formik\";\nimport { useGroup } from \"hooks/queries/useGroup\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useSetGroupInvitationStatus from \"hooks/queries/useSetGroupInvitationStatus\";\nimport { useUpdateGroup } from \"hooks/queries/useUpdateGroup\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport GroupSettingsSidebar from \"pages/PulseGroup/GroupSettingsPage/sidebar\";\nimport { getZones, uploadImage } from \"shared/client\";\nimport { BlobType, GroupInvitationStatus } from \"shared/model\";\nimport { useFormikReturnType } from \"shared/utils/formik\";\nimport { style } from \"typestyle\";\n\nimport { styles } from \"./GroupSettingsPageStyles\";\n\nexport enum GroupSettingTab {\n Description = \"Description\",\n Settings = \"Settings\",\n Members = \"Members\",\n Posts = \"Posts\",\n Files = \"Files\",\n Datarooms = \"Datarooms\",\n}\n\nexport type GroupSettingsProps = {\n groupId: string;\n initialPage: GroupSettingTab;\n};\n\nconst routes = {\n [GroupSettingTab.Description]: \"/description\",\n [GroupSettingTab.Settings]: \"/settings\",\n [GroupSettingTab.Members]: \"/members\",\n [GroupSettingTab.Posts]: \"/posts\",\n [GroupSettingTab.Files]: \"/files\",\n [GroupSettingTab.Datarooms]: \"/datarooms\",\n};\n\nconst GroupSettingsPage = ({ groupId, initialPage }: GroupSettingsProps) => {\n const { data: group, isLoading: isGroupLoading } = useGroup(groupId);\n const { mutateAsync: updateGroup } = useUpdateGroup();\n const { data: managingFilesEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.manageGroupFilesApproval,\n });\n\n const [avatar, setAvatar] = useState<File>();\n const [backgroundImage, setBackgroundImage] = useState<File>();\n\n const { mutate: setGroupInvitationStatus } = useSetGroupInvitationStatus();\n const { closeModal } = useContext(ModalContext);\n\n const { data: zones } = useQuery(queryKeys.zones, () => getZones(), {\n placeholderData: [],\n ...longCachedQueryOptions,\n });\n\n const formik = useFormik<GroupData>({\n initialValues: {\n name: group?.name || \"\",\n description: group?.description || \"\",\n zones: group?.zones.map((z) => z.id) || [],\n datarooms: group?.datarooms || [],\n avatar: group?.avatar || \"\",\n backgroundImage: group?.backgroundImage || \"\",\n isPrivate: !!group?.isPrivate,\n isVisible: !!group?.isVisible,\n allowMemberInvitations: !!group?.allowMemberInvitations,\n onlyAdminCanCreateContent: !!group?.onlyAdminCanCreateContent,\n postsRequireApproval: !!group?.postsRequireApproval,\n filesRequireApproval: !!group?.filesRequireApproval,\n },\n onSubmit: async (values) => {\n try {\n await updateGroup({\n ...values,\n id: groupId,\n datarooms: values.datarooms?.map((d) => d.id) || [],\n });\n } catch (err) {\n console.error(err);\n }\n return;\n },\n });\n\n const { data: ownCompany } = useOwnCompany();\n\n const history = useHistory();\n\n if (!group || isGroupLoading) {\n return <Loading />;\n }\n\n const joinRequests = group.requestedAccess;\n\n return (\n <div className={styles.popupContainer}>\n <MemoryRouter initialEntries={[routes[initialPage]]}>\n <PageLayoutWithSidebar\n className={styles.borderLessContainer}\n sidebar={\n <GroupSettingsSidebar\n isOwner={group.ownerCompanyId === ownCompany?.id}\n />\n }\n >\n <ModalHeader\n onClose={closeModal}\n className={style({\n position: \"absolute\",\n top: \"20px\",\n right: \"20px\",\n })}\n />\n\n <Switch>\n {/* todo add lazy-loaded routes */}\n <Route path={routes.Description} exact>\n <GroupDescription\n extraAvatarStyles={styles.avatarStyle}\n avatar={formik.values.avatar}\n onAvatarChange={(img, file) => {\n formik.setFieldValue(\"avatar\", img);\n setAvatar(file);\n }}\n backgroundImage={formik.values.backgroundImage}\n onBackgroundChange={(img, file) => {\n formik.setFieldValue(\"backgroundImage\", img);\n setBackgroundImage(file);\n }}\n name={formik.values.name}\n onNameChange={formik.handleChange(\"name\")}\n description={formik.values.description}\n onDescriptionChange={formik.handleChange(\"description\")}\n zoneOptions={zones || []}\n zones={formik.values.zones}\n onZonesChange={(ids) => formik.setFieldValue(\"zones\", ids)}\n />\n </Route>\n <Route path={routes.Settings} exact>\n <GroupSettings\n onDelete={() => history.push(\"/\")}\n groupId={groupId}\n values={formik.values}\n onChange={(value, field) => {\n formik.setFieldValue(field, value);\n }}\n />\n </Route>\n <Route path={routes.Members} exact>\n <GroupMembers\n title=\"Invite Members\"\n groupId={group.id}\n members={group.members}\n ownerCompanyId={group.ownerCompanyId}\n requestedAccess={joinRequests}\n onMemberRequestDecline={async (groupInvitationId: string) =>\n setGroupInvitationStatus({\n groupInvitationId,\n status: GroupInvitationStatus.Declined,\n })\n }\n onMemberRequestAccept={async (groupInvitationId: string) =>\n setGroupInvitationStatus({\n groupInvitationId,\n status: GroupInvitationStatus.Joined,\n })\n }\n />\n </Route>\n <Route path={routes.Posts} exact>\n <ReviewPosts />\n </Route>\n {managingFilesEnabled && (\n <Route path={routes.Files} exact>\n <ReviewFiles />\n </Route>\n )}\n\n <Route path={routes.Datarooms} exact>\n <GroupDataroomSettings\n datarooms={formik.values.datarooms}\n onSetDatarooms={(datarooms) =>\n formik.setFieldValue(\"datarooms\", datarooms)\n }\n />\n </Route>\n </Switch>\n </PageLayoutWithSidebar>\n\n <BottomBar\n formik={formik}\n avatar={avatar}\n backGrounImage={backgroundImage}\n groupId={groupId}\n />\n </MemoryRouter>\n </div>\n );\n};\n\nexport default GroupSettingsPage;\n\nfunction BottomBar({\n groupId,\n formik,\n avatar,\n backGrounImage,\n}: {\n groupId: string;\n formik: useFormikReturnType<GroupData>;\n avatar?: File;\n backGrounImage?: File;\n}) {\n const { closeModal } = useContext(ModalContext);\n\n return (\n <div className={styles.buttonContainer}>\n <Switch>\n <Route path={[routes.Members, routes.Posts, routes.Files]} exact>\n {null}\n </Route>\n <Route>\n <Button\n variant=\"normal\"\n color=\"gray\"\n type=\"button\"\n disabled={!formik.dirty}\n onClick={async (e) => {\n e.preventDefault();\n formik.resetForm();\n closeModal();\n }}\n >\n Cancel\n </Button>\n <Button\n variant=\"normal\"\n color=\"orange\"\n type=\"submit\"\n disabled={!formik.dirty}\n onClick={async (e) => {\n e.preventDefault();\n if (avatar) {\n await uploadImage({\n file: avatar,\n uploadImageProps: {\n blobType: BlobType.GroupAvatar,\n groupId: groupId,\n },\n });\n }\n\n if (backGrounImage) {\n await uploadImage({\n file: backGrounImage,\n uploadImageProps: {\n blobType: BlobType.GroupBackGroundImage,\n groupId: groupId,\n },\n });\n }\n\n await formik.submitForm();\n closeModal();\n }}\n >\n Save\n </Button>\n </Route>\n </Switch>\n </div>\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { updateGroup } from \"shared/client\";\nimport { UpdateGroupInput } from \"shared/model\";\n\nexport function useUpdateGroup() {\n const queryClient = useQueryClient();\n const { data: ownCompany } = useOwnCompany();\n\n return useMutation(\n ({ id, ...data }: UpdateGroupInput & { id: string }) => {\n return updateGroup(id, data);\n },\n {\n onSuccess: (_data, variables) => {\n queryClient.invalidateQueries(queryKeys.group(variables.id));\n queryClient.invalidateQueries(\n queryKeys.ownGroups(ownCompany?.id || \"\")\n );\n },\n }\n );\n}\n","import { useCallback, useContext } from \"react\";\n\nimport GroupProvider from \"contexts/Group/GroupProvider\";\nimport ModalContext from \"contexts/ModalContext\";\nimport GroupSettingsPage, {\n GroupSettingsProps,\n} from \"pages/PulseGroup/GroupSettingsPage/GroupSettingsPage\";\nimport { style } from \"typestyle\";\n\ntype OpenGroupSettingsModalParams = Omit<GroupSettingsProps, \"groupId\"> & {\n groupId?: string;\n};\n\nexport default function useOpenGroupSettings() {\n const { openModal } = useContext(ModalContext);\n\n return useCallback(\n ({ groupId, ...props }: OpenGroupSettingsModalParams) => {\n if (!groupId) {\n return;\n }\n\n openModal(\n <GroupProvider groupId={groupId}>\n <GroupSettingsPage {...props} groupId={groupId} />\n </GroupProvider>,\n {\n props: {\n maxWidth: \"lg\",\n paperClassName: style({ width: \"100%\" }),\n },\n }\n );\n },\n [openModal]\n );\n}\n","import IconButton from \"components/ui/IconButton\";\nimport insertedImageStyles from \"components/ui/InsertedImage/InsertedImage.styles\";\nimport YouTubeVideo, { YouTubeVideoProps } from \"components/ui/YouTubeVideo\";\nimport useYouTubeData from \"hooks/useYouTubeData\";\nimport { DeletableComponentProps } from \"shared/utils/componentTypes\";\nimport { getYouTubeVideoReadableDuration } from \"shared/utils/time\";\nimport { classes, stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n position: \"relative\",\n },\n frame: {\n position: \"relative\",\n zIndex: 0,\n },\n iframe: {\n height: \"242px\",\n },\n deleteIconWrapper: {\n bottom: \"42px\",\n },\n editIconWrapper: {\n bottom: \"42px\",\n right: \"48px\",\n },\n});\n\nexport default function EditableYouTubeVideo({\n onChange,\n disableDelete,\n onDelete,\n disableEdit,\n onEdit,\n ...props\n}: DeletableComponentProps &\n YouTubeVideoProps & { disableEdit?: boolean; onEdit?: () => void }) {\n const { data: youTubeData } = useYouTubeData(props.item.reference);\n\n return (\n <div className={styles.root}>\n <YouTubeVideo\n {...props}\n className={classes(styles.frame, props.className)}\n iframeClassName={styles.iframe}\n item={{\n ...props.item,\n length:\n youTubeData?.duration &&\n getYouTubeVideoReadableDuration(youTubeData.duration),\n }}\n />\n {!disableEdit && (\n <div\n className={classes(\n insertedImageStyles.deleteIconWrapper,\n styles.editIconWrapper\n )}\n >\n <IconButton\n tooltip=\"Edit\"\n color=\"orange\"\n src=\"/icons/edit_icon.svg\"\n iconClassname={insertedImageStyles.deleteIcon}\n onClick={onEdit}\n />\n </div>\n )}\n {!disableDelete && (\n <div\n className={classes(\n insertedImageStyles.deleteIconWrapper,\n styles.deleteIconWrapper\n )}\n >\n <IconButton\n tooltip=\"Delete\"\n color=\"orange\"\n src=\"/icons/delete_icon.svg\"\n iconClassname={insertedImageStyles.deleteIcon}\n onClick={onDelete}\n />\n </div>\n )}\n </div>\n );\n}\n","import { SharedVideoManagerProps } from \"components/VideoManager/types\";\nimport {\n useCreatePostVideo,\n useUpdatePostVideo,\n} from \"hooks/queries/postMediaItemHooks\";\n\nimport UploadOrEditVideo from \"./UploadOrEditVideo\";\n\ntype PostVideoManagerProps = SharedVideoManagerProps & {\n groupId: string;\n postId: string;\n};\n\nexport default function PostVideoManager({\n groupId,\n postId,\n onClose,\n video,\n}: PostVideoManagerProps) {\n const { mutateAsync: addVideo } = useCreatePostVideo({ groupId });\n const { mutateAsync: updateVideo } = useUpdatePostVideo({ groupId });\n return (\n <UploadOrEditVideo\n video={video}\n onClose={onClose}\n onAddVideo={(input) =>\n addVideo({\n name: input.name,\n reference: input.reference,\n postId: postId,\n })\n }\n onUpdateVideo={(input) =>\n updateVideo({ name: input.name, mediaItemId: input.id })\n }\n />\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport {\n AddYouTubeVideoInput,\n UpdateYouTubeVideoInput,\n} from \"@pulsemarket/api-client\";\nimport {\n deletePostVideo,\n updatePostVideo,\n uploadVideoToPost,\n} from \"shared/client\";\n\ntype PostMediaItemHookParams = {\n groupId: string;\n};\n\nexport function useCreatePostVideo({ groupId }: PostMediaItemHookParams) {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({\n postId,\n name,\n reference,\n }: AddYouTubeVideoInput & { postId: string }) => {\n return uploadVideoToPost(postId, { name, reference });\n },\n {\n mutationKey: mutationKeys.createPostVideo,\n onSettled: () => {\n queryClient.invalidateQueries(queryKeys.posts(groupId, {}).slice(0, 2));\n },\n }\n );\n}\n\nexport function useUpdatePostVideo({ groupId }: PostMediaItemHookParams) {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({\n mediaItemId,\n name,\n }: UpdateYouTubeVideoInput & { mediaItemId: string }) => {\n return updatePostVideo(mediaItemId, { name });\n },\n {\n mutationKey: mutationKeys.updatePostVideo,\n onSettled: () => {\n queryClient.invalidateQueries(queryKeys.posts(groupId, {}).slice(0, 2));\n },\n }\n );\n}\n\nexport function useDeletePostVideo({ groupId }: PostMediaItemHookParams) {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({ mediaItemId }: { mediaItemId: string }) => {\n return deletePostVideo(mediaItemId);\n },\n {\n mutationKey: mutationKeys.deletePostVideo,\n onSettled: () => {\n queryClient.invalidateQueries(queryKeys.posts(groupId, {}).slice(0, 2));\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { deletePost } from \"shared/client\";\n\nexport default function useDeletePost() {\n const client = useQueryClient();\n\n return useMutation(\n ({ postId }: { postId: string; groupId: string }) => deletePost(postId),\n {\n mutationKey: mutationKeys.deletePost,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.group(variables.groupId));\n client.invalidateQueries(\n queryKeys.posts(variables.groupId, {}).slice(0, 2)\n );\n },\n }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { updatePost } from \"shared/client\";\nimport { UpdatePostInput } from \"shared/model\";\n\nexport function useUpdatePost() {\n const queryClient = useQueryClient();\n\n return useMutation(\n ({\n groupId,\n postId,\n post,\n }: {\n groupId: string;\n postId: string;\n post: UpdatePostInput;\n }) => {\n return updatePost(postId, post);\n },\n {\n mutationKey: mutationKeys.updatePost,\n onSettled: (data, error, variables) => {\n queryClient.invalidateQueries(queryKeys.group(variables.groupId));\n queryClient.invalidateQueries(\n queryKeys.posts(variables.groupId, {}).slice(0, 2)\n );\n },\n }\n );\n}\n","import React, { useContext } from \"react\";\n\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useDeletePostVideo } from \"hooks/queries/postMediaItemHooks\";\nimport useDeletePost from \"hooks/queries/useDeletePost\";\n\nexport function DeletePost({\n postId,\n groupId,\n}: {\n postId: string;\n groupId: string;\n}) {\n const { closeModal } = useContext(ModalContext);\n const { mutateAsync: deletePost } = useDeletePost();\n\n return (\n <ConfirmationModalBody\n title=\"Delete Post\"\n buttonText=\"Yes, delete\"\n action={async () => {\n try {\n await deletePost({\n groupId,\n postId,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to Delete this post?\n </ConfirmationModalBody>\n );\n}\n\nexport function DeclinePost({\n groupId,\n postId,\n}: {\n groupId: string;\n postId: string;\n}) {\n const { closeModal } = useContext(ModalContext);\n const { mutateAsync: deletePost } = useDeletePost();\n\n return (\n <ConfirmationModalBody\n title=\"Decline\"\n buttonText=\"Yes, Decline\"\n action={async () => {\n try {\n deletePost({\n groupId,\n postId,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to decline this post?\n </ConfirmationModalBody>\n );\n}\n\nexport function DeleteVideo({\n groupId,\n videoId,\n}: {\n groupId: string;\n videoId: string;\n}) {\n const { closeModal } = useContext(ModalContext);\n const { mutateAsync: deleteVideo } = useDeletePostVideo({ groupId });\n\n return (\n <ConfirmationModalBody\n title=\"Delete Video\"\n buttonText=\"Yes, delete\"\n action={async () => {\n try {\n await deleteVideo({\n mediaItemId: videoId,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to Delete this video?\n </ConfirmationModalBody>\n );\n}\n","import { neutralColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nexport const buttonContainerStyles: NestedCSSProperties = {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: px(8),\n justifyContent: \"space-between\",\n};\n\nexport const sharedPostStyles = stylesheet({\n postingDate: {\n ...typography.CAPTION,\n textAlign: \"left\",\n color: neutralColors.GRAY5,\n },\n kebabMenu: { marginLeft: \"auto\" },\n buttonsRow: {\n ...buttonContainerStyles,\n marginTop: px(14),\n },\n});\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { buttonContainerStyles } from \"pages/PulseGroup/Post/shared.styles\";\nimport { zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n commentRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n gap: px(24),\n alignItems: \"center\",\n },\n leftSide: { display: \"flex\", alignItems: \"center\", flex: 1 },\n userProfile: { marginRight: \"8px\" },\n commentInput: { flex: 1 },\n nonEditableComment: {\n display: \"flex\",\n flexDirection: \"column\",\n width: \"100%\",\n },\n commentAuthorRow: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(6),\n alignItems: \"baseline\",\n },\n commentAuthorName: {\n ...typography.SUBTITLE2,\n },\n commentText: {\n ...zeroPaddingMargin,\n ...typography.CAPTION,\n backgroundColor: neutralColors.GRAY1,\n borderRadius: px(8),\n alignItems: \"center\",\n width: \"100%\",\n color: primaryColors.BLACK,\n padding: px(12),\n },\n postCommentButton: {\n marginLeft: \"auto\",\n marginTop: \"auto\",\n marginBottom: \"auto\",\n },\n editButtons: buttonContainerStyles,\n closeIconButton: {\n marginLeft: \"auto\",\n },\n closeIcon: {\n width: \"13px\",\n height: \"13px\",\n },\n checkIcon: {\n width: \"14px\",\n height: \"10px\",\n },\n});\n\nexport default styles;\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { clickable, zeroPaddingMargin } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { keyframes, stylesheet } from \"typestyle\";\n\nexport const likeAnimation = keyframes({\n \"20%\": { color: utilityColors.ORANGE },\n \"70%\": { rotate: \"-15deg\", scale: \"1.3\", filter: \"blur(0.5px)\" },\n});\n\nexport const reactionCountStyles = stylesheet({\n paper: {\n padding: \"12px\",\n overflow: \"auto\",\n maxHeight: \"220px\",\n background: primaryColors.WHITE,\n color: primaryColors.BLACK,\n ...typography.BODY2,\n },\n user: { ...zeroPaddingMargin, margin: \"4px 0px\" },\n});\n\nexport const styles = stylesheet({\n card: {\n width: \"100%\",\n backgroundColor: neutralColors.GRAY0,\n padding: \"19px 21px\",\n borderColor: neutralColors.GRAY3,\n borderStyle: \"solid\",\n borderRadius: \"8px\",\n borderWidth: \"1px\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n editableMainContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(11),\n },\n nonEditableContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: px(11),\n },\n postCompanyName: {\n ...typography.HEADLINE6,\n color: primaryColors.BLACK,\n textAlign: \"left\",\n alignContent: \"center\",\n },\n\n postCardHeader: { display: \"flex\", flexDirection: \"row\", gap: px(11) },\n companyDetailsContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n },\n content: { ...typography.BODY2, padding: px(10) },\n attachmentsContainer: {\n margin: \"8px 0px\",\n },\n reactionsRow: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n paddingRight: px(10),\n paddingLeft: px(10),\n },\n interactionDivider: {\n background: neutralColors.GRAY3,\n },\n likeButton: {\n height: px(18),\n cursor: \"pointer\",\n $nest: {\n \"&:hover\": {\n color: neutralColors.GRAY3_HOVER,\n },\n \"&:focus\": {\n color: utilityColors.ORANGE,\n },\n },\n },\n likeButtonClicked: {\n color: utilityColors.ORANGE,\n animationName: likeAnimation,\n animationDuration: \"0.5s\",\n animationIterationCount: \"1\",\n },\n reactionCount: {\n ...clickable,\n ...typography.CAPTION,\n color: primaryColors.BLACK,\n marginLeft: px(4),\n },\n commentsCount: {\n ...zeroPaddingMargin,\n ...typography.CAPTION,\n marginLeft: \"auto\",\n color: primaryColors.BLACK,\n },\n commentsContainer: { display: \"flex\", flexDirection: \"column\", gap: px(12) },\n avatarContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(30),\n },\n\n contentBox: { display: \"flex\", flexDirection: \"column\", width: \"100%\" },\n companyAvatar: { borderRadius: \"100%\" },\n iconButton: {\n height: px(18),\n },\n approvePostButtonsContainer: {\n marginLeft: \"auto\",\n display: \"flex\",\n flexDirection: \"row\",\n gap: px(16),\n },\n loadCommentsButton: {\n alignSelf: \"baseline\",\n },\n attachmentIconsContainer: {\n display: \"flex\",\n alignItems: \"center\",\n gap: px(8),\n },\n editIconsContainer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n gap: px(8),\n },\n buttonsContainer: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n alignItems: \"center\",\n gap: px(8),\n },\n});\n","import React, { useContext, useMemo, useState } from \"react\";\n\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport AttachmentUploader from \"components/assets/AttachmentUploader\";\nimport Attachments from \"components/ui/Attachments\";\nimport AvatarIcon from \"components/ui/Avatar\";\nimport Button from \"components/ui/Button\";\nimport IconButton from \"components/ui/IconButton\";\nimport InsertedImage from \"components/ui/InsertedImage\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport TextArea from \"components/ui/TextArea\";\nimport PostVideoManager from \"components/VideoManager/PostVideoManager\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useCreatePost, {\n useCloneAssetsToPost,\n useDeletePostAttachment,\n useUploadPostAttachment,\n} from \"hooks/queries/useCreatePost\";\nimport useDeletePost from \"hooks/queries/useDeletePost\";\nimport useDownloadAssets from \"hooks/queries/useDownloadAssets\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { useUpdatePost } from \"hooks/queries/useUpdatePost\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport PostYouTubeVideo from \"pages/PulseGroup/Post/EditableYouTubeVideo\";\nimport { DeleteVideo } from \"pages/PulseGroup/Post/PostCard/modals\";\nimport { DEFAULT_COMPANY_AVATAR, FILE_ICONS } from \"shared/constants/icons\";\nimport { PostWithReferencesDto } from \"shared/model\";\nimport { debounce } from \"shared/utils\";\nimport { classes } from \"typestyle\";\n\nimport commentStyles from \"../Comment/Comment.styles\";\nimport { sharedPostStyles } from \"../shared.styles\";\nimport { styles } from \"./PostCard.styles\";\n\nexport type EditablePostCardProps = {\n groupId: string;\n post?: PostWithReferencesDto;\n onEditFinished: () => void;\n showPostSentToApproval?: boolean;\n};\n\ntype AttachmentType = \"image\" | \"video\" | \"file\";\n\nfunction isAttachmentTypeDisabled(\n attachmentType: AttachmentType,\n post?: PostWithReferencesDto\n): boolean {\n if (!post) return false;\n if (attachmentType !== \"image\" && post.insertedMedia?.length) return true;\n if (attachmentType !== \"video\" && post.mediaItems?.length) return true;\n if (attachmentType !== \"file\" && post.attachments?.length) return true;\n return false;\n}\n\nexport default function EditablePostCard({\n groupId,\n post,\n onEditFinished,\n showPostSentToApproval,\n}: EditablePostCardProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n const { data: ownCompany } = useOwnCompany();\n const { data: attachmentsEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.postAttachments,\n });\n const { data: videosEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.postVideos,\n });\n\n const [postText, setPostText] = useState<string>(post?.text || \"\");\n\n const { mutateAsync: createPost } = useCreatePost();\n const { mutateAsync: updatePost } = useUpdatePost();\n const { mutateAsync: deletePost } = useDeletePost();\n const { mutateAsync: uploadAttachment } = useUploadPostAttachment({\n groupId,\n });\n const { mutateAsync: cloneAttachments } = useCloneAssetsToPost({\n groupId,\n });\n const { mutateAsync: deleteAttachment } = useDeletePostAttachment({\n groupId,\n });\n\n const { downloadAssets } = useDownloadAssets();\n\n const debouncedCreatePost = useMemo(\n () => debounce(500, createPost),\n [createPost]\n );\n const debouncedUpdatePost = useMemo(\n () => debounce(500, updatePost),\n [updatePost]\n );\n\n function handlePostTextChange(\n event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>\n ) {\n if (event.target.value === postText) {\n return;\n }\n\n setPostText(event.target.value);\n if (post) {\n debouncedUpdatePost({\n groupId,\n postId: post.id,\n post: { text: event.target.value },\n });\n } else {\n debouncedCreatePost({\n groupId,\n text: event.target.value,\n isDraft: true,\n });\n }\n }\n\n async function handleSubmitPost() {\n try {\n if (!post) {\n await createPost({ groupId, text: postText, isDraft: false });\n } else {\n await updatePost({\n groupId,\n postId: post.id,\n post: { text: postText, isDraft: false },\n });\n }\n setPostText(\"\");\n if (showPostSentToApproval) {\n openModal(\n <SimpleModalBody\n title=\"Post sent to approval\"\n buttons={[{ variant: \"normal\", color: \"orange\", children: \"Okay\" }]}\n >\n Your post was sent to approval. Once an admin approves it, you'll\n receive a notification and the post will appear in the list below.\n </SimpleModalBody>\n );\n }\n } catch (_e) {}\n }\n\n async function ensurePostCreated() {\n if (!!post) {\n return post;\n }\n\n try {\n return createPost({ groupId: groupId, text: postText, isDraft: true });\n } catch (_e) {}\n }\n\n async function handleDiscardPost(postId: string) {\n await deletePost({ groupId, postId });\n setPostText(\"\");\n }\n\n const hasContent =\n !!postText.length ||\n !!post?.attachments?.length ||\n !!post?.insertedMedia?.length ||\n !!post?.mediaItems?.length;\n\n return (\n <div className={styles.editableMainContainer}>\n <div className={styles.avatarContainer}>\n <AvatarIcon\n src={\n post?.company.avatar || ownCompany?.avatar || DEFAULT_COMPANY_AVATAR\n }\n className={styles.companyAvatar}\n size=\"40\"\n />\n </div>\n <div className={styles.contentBox}>\n <TextArea\n placeholder=\"Start a post in this group\"\n value={postText}\n onChange={(e) => {\n e.stopPropagation();\n handlePostTextChange(e);\n }}\n helperTextExpectedLines={0}\n name=\"newComment\"\n onKeyDown={(e) => {\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n handleSubmitPost();\n }\n }}\n />\n\n <div className={sharedPostStyles.buttonsRow}>\n <div className={styles.attachmentIconsContainer}>\n {videosEnabled && (\n <IconButton\n disabled={isAttachmentTypeDisabled(\"video\", post)}\n tooltip=\"Add video\"\n src={FILE_ICONS.video.src}\n color=\"orange\"\n iconClassname={styles.iconButton}\n onClick={async () => {\n const post = await ensurePostCreated();\n if (!post) {\n return;\n }\n openModal(\n <PostVideoManager\n groupId={groupId}\n postId={post.id}\n onClose={closeModal}\n />\n );\n }}\n />\n )}\n\n {attachmentsEnabled && (\n <>\n <IconButton\n disabled={isAttachmentTypeDisabled(\"image\", post)}\n tooltip=\"Upload image\"\n src={FILE_ICONS.image.src}\n color=\"orange\"\n iconClassname={styles.iconButton}\n onClick={async () => {\n const post = await ensurePostCreated();\n\n if (!post) {\n return;\n }\n\n openModal(\n <AttachmentUploader\n text=\"You can insert image from the asset repository or from your desktop.\"\n title=\"Insert image\"\n cloneButtonText=\"Insert from assets\"\n uploadConfig={{\n allowedFileTypes: \"image/*\",\n allowMultiple: false,\n }}\n fileUploaderProps={{\n destination: \"Post\",\n }}\n onCloneAssets={async (assetIds) => {\n await cloneAttachments({\n assetIds,\n postId: post.id,\n mode: \"insert\",\n });\n }}\n onUploadAsset={async (assets) => {\n await uploadAttachment({\n files: assets,\n mode: \"insert\",\n postId: post.id,\n });\n }}\n />\n );\n }}\n />\n <IconButton\n disabled={isAttachmentTypeDisabled(\"file\", post)}\n tooltip=\"Upload document\"\n src=\"/icons/attach_file_icon.svg\"\n color=\"orange\"\n iconClassname={styles.iconButton}\n onClick={async () => {\n const post = await ensurePostCreated();\n\n if (!post) {\n return;\n }\n\n openModal(\n <AttachmentUploader\n fileUploaderProps={{\n destination: \"Post\",\n }}\n uploadConfig={{\n allowMultiple: false,\n }}\n onCloneAssets={async (assetIds) => {\n await cloneAttachments({\n assetIds,\n postId: post.id,\n mode: \"attachment\",\n });\n }}\n onUploadAsset={async (assets) => {\n await uploadAttachment({\n files: assets,\n mode: \"attachment\",\n postId: post.id,\n });\n }}\n />\n );\n }}\n />\n </>\n )}\n {/* <SvgIcon\n src=\"/icons/events_icon.svg\"\n onClick={() => {\n //TODO: open event create modal\n }}\n className={styles.iconButton}\n /> */}\n </div>\n </div>\n\n {!!post?.insertedMedia?.length && (\n <div className={styles.attachmentsContainer}>\n {post?.insertedMedia?.map((image) => {\n return (\n <InsertedImage\n key={image.id}\n image={image}\n onDelete={() => deleteAttachment({ assetId: image.id })}\n />\n );\n })}\n </div>\n )}\n <Attachments\n className={styles.attachmentsContainer}\n attachments={post?.attachments}\n onDelete={(attachment) => {\n deleteAttachment({ assetId: attachment.id });\n }}\n onDownload={(attachment) => {\n downloadAssets({ assetIds: [attachment.id] });\n }}\n />\n {!!post?.mediaItems.length &&\n post.mediaItems.map((item) => (\n <PostYouTubeVideo\n key={item.id}\n item={item}\n onDelete={() =>\n openModal(<DeleteVideo groupId={groupId} videoId={item.id} />)\n }\n onEdit={() =>\n openModal(\n <PostVideoManager\n onClose={closeModal}\n video={item}\n groupId={groupId}\n postId={post.id}\n />\n )\n }\n />\n ))}\n {!!post && !post.isDraft ? (\n <div className={styles.editIconsContainer}>\n <IconButton\n tooltip=\"Cancel\"\n color=\"black\"\n src=\"/icons/close_icon.svg\"\n disabled={!hasContent}\n iconClassname={commentStyles.closeIcon}\n onClick={() => {\n onEditFinished();\n }}\n />\n <IconButton\n tooltip=\"Done\"\n color=\"black\"\n src=\"/icons/check_icon.svg\"\n iconClassname={commentStyles.checkIcon}\n onClick={() => {\n updatePost({\n groupId: groupId,\n post: { text: postText },\n postId: post.id,\n });\n onEditFinished();\n }}\n />\n </div>\n ) : (\n <div className={classes(styles.buttonsContainer)}>\n {post && post.isDraft && (\n <Button\n variant=\"normal\"\n color=\"gray\"\n onClick={() => handleDiscardPost(post.id)}\n >\n Discard\n </Button>\n )}\n <Button\n variant=\"normal\"\n color=\"orange\"\n disabled={!hasContent}\n onClick={handleSubmitPost}\n >\n Post it!\n </Button>\n </div>\n )}\n </div>\n </div>\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport {\n cloneAssetsToPost,\n createPost,\n deletePostAttachment,\n uploadPostAttachment,\n} from \"shared/client\";\nimport { AttachmentMode, NewPostInput } from \"shared/model\";\n\nexport default function useCreatePost() {\n const client = useQueryClient();\n\n return useMutation(\n ({ groupId, ...post }: NewPostInput & { groupId: string }) => {\n return createPost(groupId, post);\n },\n {\n mutationKey: mutationKeys.createPost,\n // Always refetch after error or success:\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.group(variables.groupId));\n client.invalidateQueries(\n queryKeys.posts(variables.groupId, { isApproved: false }).slice(0, 2)\n );\n },\n }\n );\n}\n\nexport function useUploadPostAttachment({ groupId }: { groupId: string }) {\n const client = useQueryClient();\n\n return useMutation(\n ({\n postId,\n files,\n mode,\n }: {\n mode: AttachmentMode;\n postId: string;\n files: File[];\n }) => {\n return uploadPostAttachment(postId, files, mode);\n },\n {\n mutationKey: mutationKeys.uploadPostAttachment,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.posts(groupId, {})[0]);\n },\n }\n );\n}\n\nexport function useCloneAssetsToPost({ groupId }: { groupId: string }) {\n const client = useQueryClient();\n\n return useMutation(\n ({\n postId,\n assetIds,\n mode,\n }: {\n postId: string;\n assetIds: string[];\n mode: AttachmentMode;\n }) => {\n return cloneAssetsToPost(postId, { assetIds, mode });\n },\n {\n mutationKey: mutationKeys.uploadPostAttachment,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.posts(groupId, {})[0]);\n },\n }\n );\n}\n\nexport function useDeletePostAttachment({ groupId }: { groupId: string }) {\n const client = useQueryClient();\n\n return useMutation(\n ({ assetId }: { assetId: string }) => {\n return deletePostAttachment(assetId);\n },\n {\n mutationKey: mutationKeys.deletePostAttachment,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(queryKeys.posts(groupId, {})[0]);\n },\n }\n );\n}\n","import React, { useContext, useState } from \"react\";\n\nimport { CommentDto } from \"@pulsemarket/api-client\";\nimport ConfirmationModalBody from \"components/ConfirmationModalBody\";\nimport Avatar from \"components/ui/Avatar\";\nimport Button from \"components/ui/Button\";\nimport IconButton from \"components/ui/IconButton\";\nimport KebabMenu from \"components/ui/KebabMenu\";\nimport TextArea from \"components/ui/TextArea\";\nimport ModalContext from \"contexts/ModalContext\";\nimport dayjs from \"dayjs\";\nimport {\n useAddComment,\n useDeleteComment,\n useUpdateComment,\n} from \"hooks/queries/commentHooks\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport { sharedPostStyles } from \"pages/PulseGroup/Post/shared.styles\";\nimport { DEFAULT_USER_AVATAR } from \"shared/constants/icons\";\nimport { humanizedDateInterval } from \"shared/utils/time\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./Comment.styles\";\n\ntype CommentProps = {\n comment?: CommentDto;\n groupId: string;\n postId: string;\n className?: string;\n isGroupOwner?: boolean;\n};\n\nexport default function Comment({\n comment,\n postId,\n groupId,\n className,\n isGroupOwner,\n}: CommentProps) {\n const [commentText, setCommentText] = useState<string>(comment?.text || \"\");\n const [isEditing, setIsEditing] = useState<boolean>(false);\n\n const { mutateAsync: addComment } = useAddComment({ groupId });\n const { mutateAsync: updateComment } = useUpdateComment({ postId });\n const { data: userData } = useUserData();\n const { mutateAsync: deleteComment } = useDeleteComment({\n postId,\n groupId,\n });\n\n const now = dayjs(new Date());\n const commentDate = dayjs(comment?.createdAt);\n const commentDateDifference = humanizedDateInterval(now, commentDate);\n\n const { openModal, closeModal } = useContext(ModalContext);\n\n const userHasEditRights = !!comment && comment.user.id === userData?.id;\n const useHasDeleteRights = userHasEditRights || isGroupOwner;\n\n return (\n <div className={classes(styles.commentRow, className)}>\n <div className={styles.leftSide}>\n <Avatar\n src={\n comment\n ? comment?.user?.profileImage || DEFAULT_USER_AVATAR\n : userData?.profileImage || DEFAULT_USER_AVATAR\n }\n size=\"40\"\n imageClassName={styles.userProfile}\n />\n\n {!comment || isEditing ? (\n <TextArea\n size=\"small\"\n placeholder=\"Write a comment\"\n name={comment?.id || \"new-comment\"}\n value={commentText}\n className={styles.commentInput}\n fullWidth={false}\n helperTextExpectedLines={0}\n onFocus={() => setIsEditing(true)}\n minRows={1}\n onChange={(e) => {\n e.stopPropagation();\n if (!isEditing) {\n setIsEditing(true);\n }\n setCommentText(e.currentTarget.value);\n }}\n onKeyDown={(e) => {\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n if (comment) {\n updateComment({\n comment: { text: commentText },\n commentId: comment.id,\n });\n } else {\n addComment({\n referenceId: postId,\n text: commentText,\n referenceType: \"post\",\n });\n }\n setCommentText(\"\");\n setIsEditing(false);\n }\n }}\n />\n ) : (\n <div className={styles.nonEditableComment}>\n <div className={styles.commentAuthorRow}>\n <div className={styles.commentAuthorName}>\n {comment?.user.firstName} {comment?.user.lastName}\n </div>\n <div className={sharedPostStyles.postingDate}>\n from {comment.company.name} - {commentDateDifference}\n </div>\n {(userHasEditRights || useHasDeleteRights) && !isEditing && (\n <KebabMenu\n className={sharedPostStyles.kebabMenu}\n actions={[\n ...(userHasEditRights\n ? [\n {\n onClick: () => {\n setIsEditing(!isEditing);\n },\n text: \"Edit Comment\",\n },\n ]\n : []),\n ...(useHasDeleteRights\n ? [\n {\n onClick: () => {\n openModal(\n <ConfirmationModalBody\n title=\"Delete Comment\"\n buttonText=\"Yes, delete\"\n action={async () => {\n try {\n await deleteComment({\n commentId: comment.id,\n });\n } catch (err) {\n console.log(err);\n }\n }}\n onClose={closeModal}\n >\n Are you sure you want to delete this comment?\n </ConfirmationModalBody>\n );\n },\n text: \"Delete Comment\",\n },\n ]\n : []),\n ]}\n />\n )}\n </div>\n <p className={styles.commentText}>{comment?.text}</p>\n </div>\n )}\n </div>\n {!!comment\n ? isEditing && (\n <div className={styles.editButtons}>\n <IconButton\n tooltip=\"Cancel\"\n src=\"/icons/close_icon.svg\"\n size=\"small\"\n className={classes(styles.closeIconButton)}\n iconClassname={styles.closeIcon}\n disabled={!commentText.length}\n onClick={() => setIsEditing(false)}\n />\n <IconButton\n tooltip=\"Done\"\n src=\"/icons/check_icon.svg\"\n size=\"small\"\n color=\"orange\"\n iconClassname={styles.checkIcon}\n disabled={!commentText.length || commentText === comment.text}\n onClick={() => {\n updateComment({\n comment: { text: commentText },\n commentId: comment.id,\n });\n setIsEditing(false);\n }}\n />\n </div>\n )\n : isEditing && (\n <Button\n variant=\"normal\"\n color=\"orange\"\n className={styles.postCommentButton}\n disabled={!commentText.length}\n onClick={() => {\n addComment({\n referenceId: postId,\n text: commentText,\n referenceType: \"post\",\n });\n setCommentText(\"\");\n setIsEditing(false);\n }}\n >\n Post\n </Button>\n )}\n </div>\n );\n}\n","import React, { useMemo, useState } from \"react\";\n\nimport { Popover } from \"@mui/material\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { ReactionDetailsDto } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport { reactionCountStyles, styles } from \"./PostCard.styles\";\n\ntype ReactionCountProps = {\n count?: number;\n className?: string;\n isLoading?: boolean;\n reactions?: ReactionDetailsDto[];\n initiateLoading?: () => void;\n};\n\nexport default function ReactionCount({\n count,\n className,\n isLoading,\n reactions = [],\n initiateLoading,\n}: ReactionCountProps) {\n const [anchorElement, setAnchorElement] = useState<Element | null>(null);\n\n const popoverOpen = useMemo(() => Boolean(anchorElement), [anchorElement]);\n\n function openPopover(event: React.MouseEvent<Element, MouseEvent>) {\n initiateLoading?.();\n setAnchorElement(event.currentTarget);\n }\n\n function handlePopoverClose() {\n setAnchorElement(null);\n }\n\n return (\n <>\n <p\n className={classes(styles.reactionCount, className)}\n onClick={openPopover}\n >\n {count}\n </p>\n <Popover\n open={popoverOpen}\n anchorEl={anchorElement}\n onClose={handlePopoverClose}\n classes={{\n paper: reactionCountStyles.paper,\n }}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"left\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"left\",\n }}\n style={{\n overflowX: \"auto\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n }}\n >\n {isLoading && <Loading isWindowed />}\n {reactions.map((reaction, i) => (\n <p key={i} className={reactionCountStyles.user}>\n {reaction.firstName} {reaction.lastName} - {reaction.companyName}\n </p>\n ))}\n </Popover>\n </>\n );\n}\n","import { useContext, useState } from \"react\";\n\nimport { Divider } from \"@mui/material\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport Attachments from \"components/ui/Attachments\";\nimport AvatarIcon from \"components/ui/Avatar\";\nimport Button from \"components/ui/Button\";\nimport InsertedImage from \"components/ui/InsertedImage\";\nimport KebabMenu, { KebabMenuAction } from \"components/ui/KebabMenu\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport ModalContext from \"contexts/ModalContext\";\nimport dayjs from \"dayjs\";\nimport { useComments } from \"hooks/queries/commentHooks\";\nimport { usePostReactionDetails } from \"hooks/queries/reactionHooks\";\nimport useDownloadAssets from \"hooks/queries/useDownloadAssets\";\nimport useLikePost from \"hooks/queries/useLikePost\";\nimport { useUpdatePost } from \"hooks/queries/useUpdatePost\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport Comment from \"pages/PulseGroup/Post/Comment\";\nimport EditableYouTubeVideo from \"pages/PulseGroup/Post/EditableYouTubeVideo\";\nimport ReactionCount from \"pages/PulseGroup/Post/PostCard/ReactionCount\";\nimport { DEFAULT_COMPANY_AVATAR } from \"shared/constants/icons\";\nimport { PostWithReferencesDto } from \"shared/model\";\nimport { humanizedDateInterval } from \"shared/utils/time\";\nimport { classes, style } from \"typestyle\";\n\nimport { sharedPostStyles } from \"../shared.styles\";\nimport * as modals from \"./modals\";\nimport { styles } from \"./PostCard.styles\";\n\ntype PostInteractions = \"like\" | \"comment\" | \"edit\" | \"delete\" | \"approve\";\n\nexport type NonEditablePostCardProps = {\n groupId: string;\n post: PostWithReferencesDto;\n onEdit: () => void;\n allowedInteractions?: { [key in PostInteractions]?: boolean };\n isGroupOwner?: boolean;\n};\n\n/** Post that's not being edited */\nexport default function NonEditablePostCard({\n groupId,\n post,\n onEdit,\n allowedInteractions,\n isGroupOwner,\n}: NonEditablePostCardProps) {\n const { data: commentsEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.comments,\n });\n const [loadReactionDetails, setLoadReactionDetails] =\n useState<boolean>(false);\n\n const { data: reactions, isLoading: loadingReactions } =\n usePostReactionDetails({ postId: post.id, enabled: loadReactionDetails });\n\n const {\n data: pagedComments,\n fetchNextPage,\n hasNextPage: hasMoreComments,\n isFetchingNextPage: nextCommentsLoading,\n } = useComments({\n referenceId: post.id,\n numberOfComments: post.commentsCount,\n referenceType: \"post\",\n initialData: () => {\n if (post.comments) {\n return {\n pages: [post.comments],\n pageParams: post.comments.length ? [undefined] : [],\n };\n }\n },\n });\n\n const [postLiked, setPostLiked] = useState<boolean>(false);\n\n const postingDate = dayjs(post.createdAt);\n\n const now = dayjs(new Date());\n const postingDateInterval = humanizedDateInterval(now, postingDate);\n\n const { mutateAsync: likePost } = useLikePost();\n const { mutateAsync: updatePost, isLoading: updatePending } = useUpdatePost();\n\n const { downloadAssets } = useDownloadAssets();\n\n const { openModal } = useContext(ModalContext);\n\n const comments = (pagedComments?.pages || []).flatMap((c) => c);\n\n const postActions: KebabMenuAction[] = [\n ...(allowedInteractions?.edit\n ? [\n {\n onClick: () => onEdit(),\n text: \"Edit post\",\n },\n ]\n : []),\n ...(allowedInteractions?.delete\n ? [\n {\n onClick: () => {\n openModal(\n <modals.DeletePost groupId={groupId} postId={post.id} />\n );\n },\n text: \"Delete Post\",\n },\n ]\n : []),\n ];\n\n return (\n <div className={styles.nonEditableContainer}>\n <div className={styles.postCardHeader}>\n <div className={styles.avatarContainer}>\n <AvatarIcon\n src={post.company.avatar || DEFAULT_COMPANY_AVATAR}\n className={styles.companyAvatar}\n size=\"40\"\n />\n </div>\n <div className={styles.companyDetailsContainer}>\n <div className={styles.postCompanyName}>{post.company.name}</div>\n <div className={sharedPostStyles.postingDate}>\n {`Posted by: ${post.author.firstName} ${post.author.lastName} - ${postingDateInterval}`}\n </div>\n </div>\n {!!postActions.length && (\n <KebabMenu\n className={sharedPostStyles.kebabMenu}\n actions={postActions}\n />\n )}\n </div>\n\n {updatePending ? (\n <Loading isWindowed />\n ) : (\n <p className={styles.content}>{post.text}</p>\n )}\n\n {!!post.insertedMedia?.length && (\n <div className={styles.attachmentsContainer}>\n {post.insertedMedia.map((image) => {\n return (\n <InsertedImage\n key={image.id}\n image={image}\n onDelete={() => {}}\n disableDelete\n />\n );\n })}\n </div>\n )}\n\n <Attachments\n className={styles.attachmentsContainer}\n attachments={post?.attachments}\n disableDelete\n onDownload={(attachment) => {\n downloadAssets({ assetIds: [attachment.id] });\n }}\n />\n\n {!!post?.mediaItems.length &&\n post.mediaItems.map((item) => (\n <EditableYouTubeVideo\n key={item.id}\n item={item}\n disableDelete\n disableEdit\n />\n ))}\n\n {(allowedInteractions?.comment || allowedInteractions?.like) && (\n <>\n <div className={styles.reactionsRow}>\n {allowedInteractions.like && (\n <>\n <SvgIcon\n color={\n post.isLiked || postLiked\n ? utilityColors.ORANGE\n : neutralColors.GRAY4\n }\n src=\"/icons/like_icon.svg\"\n onClick={() => {\n setPostLiked(!post.isLiked);\n likePost({ groupId: groupId, postId: post.id });\n }}\n className={classes(\n styles.likeButton,\n postLiked && styles.likeButtonClicked\n )}\n />\n {!!post.reactionCount && (\n <ReactionCount\n count={post.reactionCount}\n reactions={reactions}\n isLoading={loadingReactions}\n initiateLoading={() => setLoadReactionDetails(true)}\n />\n )}\n </>\n )}\n {commentsEnabled && post.comments && (\n <p className={styles.commentsCount}>\n {post.commentsCount} comments\n </p>\n )}\n </div>\n <Divider className={styles.interactionDivider} />\n </>\n )}\n\n {commentsEnabled && allowedInteractions?.comment && (\n <div className={styles.commentsContainer}>\n <Comment postId={post.id} groupId={groupId} />\n {comments.map((comment) => {\n return (\n <Comment\n key={comment.id}\n groupId={groupId}\n comment={comment}\n postId={post.id}\n isGroupOwner={isGroupOwner}\n />\n );\n })}\n {hasMoreComments && !nextCommentsLoading && (\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => fetchNextPage()}\n size=\"small\"\n className={styles.loadCommentsButton}\n >\n Load more comments\n </Button>\n )}\n {nextCommentsLoading && (\n <Loading\n isWindowed\n className={style({\n height: \"33px\",\n width: \"33px\",\n })}\n />\n )}\n </div>\n )}\n {allowedInteractions?.approve && (\n <div className={styles.approvePostButtonsContainer}>\n <Button\n type=\"button\"\n variant=\"normal\"\n color=\"red\"\n onClick={() => {\n openModal(\n <modals.DeclinePost groupId={groupId} postId={post.id} />,\n { keepHistory: true }\n );\n }}\n >\n Decline\n </Button>\n <Button\n type=\"button\"\n variant=\"normal\"\n color=\"green\"\n onClick={() => {\n updatePost({\n groupId: groupId,\n post: { isApproved: true },\n postId: post.id,\n });\n }}\n >\n Approve\n </Button>\n </div>\n )}\n </div>\n );\n}\n","import { useQuery } from \"react-query\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { getReactionDetailsForPost } from \"shared/client\";\n\nexport function usePostReactionDetails({\n postId,\n enabled,\n}: {\n postId?: string;\n enabled?: boolean;\n}) {\n return useQuery(\n queryKeys.postReactions(postId),\n () => getReactionDetailsForPost(postId!),\n { enabled: typeof enabled === \"undefined\" ? !!postId : enabled && !!postId }\n );\n}\n","import { useMutation, useQueryClient } from \"react-query\";\nimport mutationKeys from \"reactQuery/mutationKeys\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { likePost } from \"shared/client\";\n\nexport default function useLikePost() {\n const client = useQueryClient();\n\n return useMutation(\n ({ postId, groupId }: { postId: string; groupId: string }) =>\n likePost(postId),\n {\n mutationKey: mutationKeys.likePost,\n onSettled: (data, error, variables) => {\n client.invalidateQueries(\n queryKeys.posts(variables.groupId, {}).slice(0, 2)\n );\n },\n }\n );\n}\n","import React, { useCallback, useState } from \"react\";\n\nimport useUserData from \"hooks/queries/useUserData\";\nimport { PostWithReferencesDto } from \"shared/model\";\n\nimport EditablePostCard from \"./EditablePostCard\";\nimport NonEditablePostCard from \"./NonEditablePostCard\";\nimport { styles } from \"./PostCard.styles\";\n\ntype PostCardProps = {\n post?: PostWithReferencesDto;\n groupId: string;\n postsRequireApproval?: boolean;\n isGroupOwner?: boolean;\n};\n\nfunction PostCard({\n post,\n groupId,\n postsRequireApproval,\n isGroupOwner,\n}: PostCardProps) {\n const [isEditing, setIsEditing] = useState<boolean>(false);\n const { data: user } = useUserData();\n\n const toggleEditingStatus = useCallback(\n function toggleIsEditing() {\n setIsEditing((isEditing) => !isEditing);\n },\n [setIsEditing]\n );\n\n const showPostSentToApproval = postsRequireApproval && !isGroupOwner;\n const isOwnPost = !!user?.id && user.id === post?.author.id;\n\n return (\n <div className={styles.card}>\n {post ? (\n isEditing || post.isDraft ? (\n <EditablePostCard\n post={post}\n groupId={groupId}\n onEditFinished={toggleEditingStatus}\n showPostSentToApproval={showPostSentToApproval}\n />\n ) : (\n <NonEditablePostCard\n groupId={groupId}\n post={post}\n onEdit={toggleEditingStatus}\n allowedInteractions={{\n approve: isGroupOwner && !post.isApproved,\n comment: post.isApproved,\n delete:\n (isGroupOwner || isOwnPost) &&\n (!postsRequireApproval ||\n (postsRequireApproval && post.isApproved)),\n edit:\n (isGroupOwner || isOwnPost) &&\n (!postsRequireApproval ||\n (postsRequireApproval && !post.isApproved) ||\n isGroupOwner),\n like: post.isApproved,\n }}\n isGroupOwner={isGroupOwner}\n />\n )\n ) : (\n <EditablePostCard\n groupId={groupId}\n onEditFinished={toggleEditingStatus}\n showPostSentToApproval={showPostSentToApproval}\n />\n )}\n </div>\n );\n}\n\nexport default PostCard;\n","import React from \"react\";\n\nimport NoContent from \"components/ui/NoContent\";\nimport GroupPageCard from \"pages/PulseGroup/GroupPageCard\";\n\nimport { styles } from \"./GroupCardStyles\";\n\nfunction EmptyPostsCard({ isPendingView }: { isPendingView: boolean }) {\n return (\n <GroupPageCard className={styles.middleContainer}>\n <EmptyContent isPendingView={isPendingView} />\n </GroupPageCard>\n );\n}\n\nexport default EmptyPostsCard;\n\nfunction EmptyContent({ isPendingView }: { isPendingView: boolean }) {\n return (\n <NoContent icon={{ src: \"/icons/group_avatar.svg\" }}>\n {isPendingView\n ? `You don't have any Pending Post!`\n : `This group has no posts yet. Create a post now and be the first\n to publish!`}\n </NoContent>\n );\n}\n","import { px } from \"csx\";\nimport { hiddenScrollbarStyles } from \"shared/styles/styles\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n postsContainer: {\n width: \"100%\",\n gap: px(30),\n display: \"flex\",\n flexDirection: \"column\",\n maxHeight: px(600),\n ...hiddenScrollbarStyles,\n },\n});\n","import React, { useMemo } from \"react\";\nimport useInfiniteScroll from \"react-infinite-scroll-hook\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useGroupContext } from \"contexts/Group/GroupProvider\";\nimport useGetPosts from \"hooks/queries/useGetPosts\";\nimport EmptyPostsCard from \"pages/PulseGroup/GroupPageCards/EmptyPostsCard\";\nimport PostCard from \"pages/PulseGroup/Post/PostCard\";\nimport { PostWithReferencesDto } from \"shared/model\";\n\nimport { styles } from \"./PostsContainerStyles\";\n\ntype PostContainerProps = {\n groupId: string;\n postsRequireApproval?: boolean;\n isApproved: boolean;\n isGroupOwner?: boolean;\n};\n\nfunction PostsContainer({\n groupId,\n isApproved,\n isGroupOwner,\n postsRequireApproval,\n}: PostContainerProps) {\n const { group } = useGroupContext();\n\n const {\n data: pagedPosts,\n fetchNextPage,\n isFetchingNextPage,\n hasNextPage,\n } = useGetPosts({ groupId, isApproved, isDraft: false });\n\n const posts = useMemo<PostWithReferencesDto[]>(\n () => (pagedPosts?.pages || []).flatMap((p) => p.posts),\n [pagedPosts]\n );\n const length = posts.length;\n\n const [infiniteRef] = useInfiniteScroll({\n loading: isFetchingNextPage,\n hasNextPage: !!hasNextPage,\n onLoadMore: fetchNextPage,\n });\n\n if (!group) {\n return null;\n }\n\n return length ? (\n <div className={styles.postsContainer}>\n {posts.map((post) => (\n <PostCard\n key={post.id}\n post={post}\n groupId={groupId}\n isGroupOwner={isGroupOwner}\n postsRequireApproval={postsRequireApproval}\n />\n ))}\n {hasNextPage && (\n <div ref={infiniteRef}>\n <Loading isWindowed />\n </div>\n )}\n </div>\n ) : group.onlyAdminCanCreateContent ? null : (\n <EmptyPostsCard isPendingView={!isApproved} />\n );\n}\n\nexport default PostsContainer;\n","import { useContext, useEffect, useMemo } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport { useLocation } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport {\n QuestionDto,\n RfpDto,\n RfpResponseAnalysisStatus,\n RfpResponseDto,\n RfpResponseDtoStatus,\n RfpResponseEvaluationStatus,\n} from \"@pulsemarket/api-client\";\nimport {\n FeatureFlagEnum,\n QuestionType,\n RfpStatus,\n RFPType,\n} from \"@pulsemarket/constants\";\nimport { utilityColors } from \"@pulsemarket/constants\";\nimport { TabItem } from \"components/ui/layout/TabbedPage/TabbedPage\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody/SimpleModalBody\";\nimport ModalContext from \"contexts/ModalContext/ModalContext\";\nimport useRFPresponses from \"hooks/queries/useRFPResponses\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport { EditorAction } from \"pages/RFPEditorPage/useEditorContext\";\nimport { getMessageDetails } from \"shared/client\";\nimport { DynamicRfpResponseStatus, RfpInvitationStatus } from \"shared/model\";\nimport { style } from \"typestyle\";\n\nexport enum ViewerType {\n Buyer = 0,\n Supplier = 1,\n}\n\nexport enum RFPEditorTab {\n // The empty string will be used in the URL\n general = \"\",\n /** Tab for managing invitations to a RFP */\n invitations = \"invitations\",\n /** Tab for managing evaluation statuses of invitations */\n evaluation = \"evaluation\",\n comparison = \"comparison\",\n analytical_review = \"analytical_review\",\n completed = \"completed\",\n summary = \"summary\",\n}\n\n/**\n * todo Just a local type (?)\n */\nexport type RfpInvitationInfo = {\n id?: string;\n invitedCompanyId?: string;\n invitedCompanyName?: string;\n contactName?: string;\n contactJobTitle?: string;\n contactEmail?: string;\n status: RfpInvitationStatus;\n evaluationStatus?: RfpResponseEvaluationStatus;\n analysisStatus?: RfpResponseAnalysisStatus;\n invitationId?: string;\n responseId?: string;\n};\n\ntype ScrollTarget =\n | \"module\"\n | \"questionnaire\"\n | \"question\"\n | \"answer\"\n | \"module-card\";\n\nfunction defaultOrValue<T>(defaultValue: T, value?: T): T {\n return typeof value !== \"undefined\" ? value : defaultValue;\n}\n\nexport const scrollTo = (\n target: ScrollTarget,\n id: string,\n scrollOptions?: Exclude<\n Parameters<HTMLElement[\"scrollIntoView\"]>[0],\n boolean\n > & {\n forced?: boolean;\n }\n) => {\n const node = document.getElementById(`${target}-${id}`);\n const parent = document.getElementById(`editor-body`);\n\n if (target === \"module\") {\n scrollTo(\"module-card\", id, { ...scrollOptions, forced: true });\n }\n\n if (node && ((parent && !isVisible(node, parent)) || scrollOptions?.forced)) {\n node.scrollIntoView({\n ...scrollOptions,\n behavior: defaultOrValue(\n target === \"module-card\" ? \"instant\" : \"smooth\",\n scrollOptions?.behavior\n ),\n block: defaultOrValue(\"start\", scrollOptions?.block),\n inline: defaultOrValue(\"start\", scrollOptions?.inline),\n });\n }\n};\n\nconst isVisible = function (ele: Element, container: Element) {\n const { bottom, height, top } = ele.getBoundingClientRect();\n const containerRect = container.getBoundingClientRect();\n\n return top <= containerRect.top + 60\n ? containerRect.top - top <= height\n : bottom - containerRect.bottom <= height;\n};\n\nexport const tabsWithTables: RFPEditorTab[] = [\n RFPEditorTab.invitations,\n RFPEditorTab.evaluation,\n RFPEditorTab.analytical_review,\n RFPEditorTab.completed,\n];\n\nexport function useTabs({\n isResponse,\n rfp,\n rfpResponseData,\n rfpType,\n}: {\n isResponse: boolean;\n rfpType: RFPType;\n rfpResponseData?: RfpResponseDto;\n rfp?: RfpDto;\n}) {\n const { data: evaluationFeatureEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.evaluationSettings,\n });\n\n const { data: { responses } = {} } = useRFPresponses({\n rfpId: rfp?.id,\n });\n\n return useMemo<TabItem[]>(() => {\n return [\n {\n id: RFPEditorTab.general,\n text: !isResponse\n ? rfpType === RFPType.Regulation\n ? \"Questionnaire\"\n : rfpType\n : rfpResponseData?.status ?? \"New\",\n },\n {\n id: RFPEditorTab.invitations,\n text: \"Invitations\",\n disabled:\n !rfp?.status ||\n ![\n RfpStatus.Distributed,\n RfpStatus.AnalyticalReview,\n RfpStatus.Completed,\n ].includes(RfpStatus[rfp.status]),\n hidden: isResponse,\n },\n {\n id: RFPEditorTab.evaluation,\n text: \"Evaluation\",\n disabled:\n !rfp?.status ||\n !responses?.length ||\n ![\n RfpStatus.Distributed,\n RfpStatus.AnalyticalReview,\n RfpStatus.Completed,\n ].includes(RfpStatus[rfp.status]),\n hidden: isResponse || !evaluationFeatureEnabled,\n },\n {\n id: RFPEditorTab.comparison,\n text: \"Comparison\",\n disabled:\n !rfp?.status ||\n !responses?.length ||\n ![\n RfpStatus.Distributed,\n RfpStatus.AnalyticalReview,\n RfpStatus.Completed,\n ].includes(RfpStatus[rfp.status]),\n hidden: isResponse,\n },\n {\n id: RFPEditorTab.analytical_review,\n text: \"Analytical Review\",\n disabled:\n !rfp?.status ||\n ![RfpStatus.AnalyticalReview, RfpStatus.Completed].includes(\n RfpStatus[rfp.status]\n ),\n hidden: isResponse,\n },\n {\n id: RFPEditorTab.completed,\n text: \"Completed\",\n disabled: RfpStatus.Completed !== rfp?.status,\n hidden: isResponse,\n },\n {\n id: RFPEditorTab.summary,\n text: \"Summary\",\n disabled:\n !rfp?.status ||\n !responses?.length ||\n ![\n RfpStatus.Distributed,\n RfpStatus.AnalyticalReview,\n RfpStatus.Completed,\n ].includes(RfpStatus[rfp.status]),\n hidden: isResponse,\n },\n ];\n }, [\n isResponse,\n rfpType,\n rfpResponseData?.status,\n rfp?.status,\n evaluationFeatureEnabled,\n responses?.length,\n ]);\n}\n\nexport type PropertyCardTabName =\n | \"Message\"\n | \"Score\"\n | \"Overview\"\n | \"Supporting Info\";\n\nexport function useUrlHashBasedNavigation({\n dispatch,\n}: {\n dispatch: React.Dispatch<EditorAction>;\n}) {\n const location = useLocation();\n const client = useQueryClient();\n\n useEffect(() => {\n async function manageNavigationToMessage(messageId: string) {\n const messageDetails = await client.fetchQuery(\n queryKeys.messageDetails(messageId),\n () => {\n return getMessageDetails(messageId);\n }\n );\n dispatch({ type: \"selectPropertyCardTab\", payload: { tab: \"Message\" } });\n dispatch({\n type: \"selectModuleId\",\n payload: { moduleId: messageDetails.moduleId },\n });\n scrollTo(\"module\", messageDetails.moduleId);\n }\n\n function manageNavigationToQuestion(questionId: string) {\n dispatch({\n type: \"selectQuestionId\",\n payload: { questionId },\n });\n scrollTo(\"question\", questionId, { forced: true, behavior: \"instant\" });\n }\n\n if (location.hash.startsWith(\"#message-\")) {\n const messageId = location.hash.split(\"-\")[1];\n manageNavigationToMessage(messageId);\n }\n\n if (location.hash.startsWith(\"#question-\")) {\n const questionId = location.hash.split(\"-\")[1];\n manageNavigationToQuestion(questionId);\n }\n }, [client, dispatch, location.hash]);\n}\n\nexport function useInformDueDatePassedForResponse({\n isSupplierView,\n isExpired,\n responseStatus,\n}: {\n isSupplierView: boolean;\n isExpired: boolean;\n responseStatus?: RfpResponseDtoStatus;\n}) {\n const { openModal } = useContext(ModalContext);\n useEffect(() => {\n if (\n isSupplierView &&\n isExpired &&\n responseStatus !== DynamicRfpResponseStatus.Submitted\n ) {\n openModal(\n <SimpleModalBody\n title=\"Submission deadline passed\"\n buttons={[\n { children: \"Ok, thanks\", variant: \"normal\", color: \"orange\" },\n ]}\n >\n Unfortunately, the due date for adding your answers has passed and\n submissions are no longer accepted for this period. If you wish to\n request an extension, please contact{\" \"}\n <a\n className={style({ color: utilityColors.ORANGE })}\n href=\"mailto:clientservices@pulsemarket.com\"\n >\n clientservices@pulsemarket.com\n </a>\n </SimpleModalBody>\n );\n }\n }, [isSupplierView, isExpired, responseStatus, openModal]);\n}\n\nexport function isQuestionSingleOrMultiChoice(\n question: Pick<QuestionDto, \"type\">\n) {\n return (\n question.type === QuestionType.SINGLE_CHOICE ||\n question.type === QuestionType.MULTI_CHOICE\n );\n}\n","import { QueryClient, UseQueryResult } from \"react-query\";\n\nconst queryClient = new QueryClient({\n defaultOptions: {\n queries: {\n // globally default to 20 seconds\n staleTime: 1000 * 20,\n },\n },\n});\n\nexport default queryClient;\n\nexport function isQueryDisabledOrLoading(status: UseQueryResult[\"status\"]) {\n return status === \"idle\" || status === \"loading\";\n}\n","const mutationKeys = {\n login: [\"login\"] as const,\n loginWithToken: [\"loginWithToken\"] as const,\n logout: [\"logout\"] as const,\n renewToken: [\"renewToken\"] as const,\n verifyEmail: [\"verifyEmail\"] as const,\n register: [\"register\"] as const,\n resendVerifyEmail: [\"resendVerifyEmail\"] as const,\n forgotPassword: [\"forgotPassword\"] as const,\n resetPassword: [\"resetPassword\"] as const,\n createDataRoom: [\"createDataRoom\"] as const,\n deleteDataRoom: [\"deleteDataRoom\"] as const,\n updateDataRoom: [\"updateDataRoom\"] as const,\n recordDataRoomVisit: [\"recordDataRoomVisit\"] as const,\n createCompanyList: [\"createCompanyList\"] as const,\n addCompanyToList: [\"addCompanyToList\"] as const,\n deleteCompanyFromList: [\"deleteCompanyFromList\"] as const,\n deleteCompanyList: [\"deleteCompanyList\"] as const,\n renameCompanyList: [\"renameCompanyList\"] as const,\n createFolder: [\"createFolder\"] as const,\n renameFolder: [\"renameFolder\"] as const,\n renameAsset: [\"renameAsset\"] as const,\n moveFolder: [\"moveFolder\"] as const,\n moveAsset: [\"moveAsset\"] as const,\n createAssetLabel: [\"createAssetLabel\"] as const,\n updateAssetLabel: [\"updateAssetLabel\"] as const,\n deleteAssetLabel: [\"deleteAssetLabel\"] as const,\n addLabelToAssets: [\"addLabelToAssets\"] as const,\n removeLabelFromAssets: [\"removeLabelFromAssets\"] as const,\n changeAssetType: [\"changeAssetType\"] as const,\n cloneAnswerAttachment: [\"cloneAnswerAttachment\"] as const,\n addVideoToDataRoom: [\"addVideoToDataRoom\"] as const,\n deleteVideo: [\"deleteVideo\"] as const,\n deleteAnswerAttachment: [\"deleteAnswerAttachment\"] as const,\n downloadZip: [\"downloadZip\"] as const,\n downloadFiles: [\"downloadFiles\"] as const,\n deleteFolder: [\"deleteFolder\"] as const,\n deleteAsset: [\"deleteAsset\"] as const,\n uploadAsset: [\"uploadAsset\"] as const,\n uploadDataRoomAsset: [\"uploadDataRoomAsset\"] as const,\n cloneDataRoomAssets: [\"cloneDataRoomAssets\"] as const,\n uploadSupplierAsset: [\"uploadSupplierAsset\"] as const,\n cloneSupplierAssets: [\"cloneSupplierAssets\"] as const,\n uploadSupplierProductAsset: [\"uploadSupplierProductAsset\"] as const,\n cloneSupplierProductAssets: [\"cloneSupplierProductAssets\"] as const,\n uploadContractAttachment: [\"uploadContractAttachment\"] as const,\n uploadTemplateFileToMatrix: [\"uploadTemplateFileToMatrix\"] as const,\n cloneTemplateFileToMatrix: [\"cloneTemplateFileToMatrix\"] as const,\n cloneContractAttachments: [\"cloneContractAttachments\"] as const,\n uploadAnswerAttachment: [\"uploadAnswerAttachment\"] as const,\n updateCompany: [\"updateCompany\"] as const,\n createRFP: [\"createRFP\"] as const,\n updateRFP: [\"updateRFP\"] as const,\n updateWeightsInModules: [\"updateWeightsInModules\"] as const,\n updateRFPEvaluationType: [\"updateRFPEvaluationType\"] as const,\n updateRFPScoringSettings: [\"updateRFPScoringSettings\"] as const,\n createRFPScoreSettingGroup: [\"createRFPScoreSettingGroup\"] as const,\n setRFPScoreSettingGroup: [\"setRFPScoreSettingGroup\"] as const,\n deleteScoreSettingsGroup: [\"deleteScoreSettingsGroup\"] as const,\n sendRFP: [\"sendRFP\"] as const,\n startAnalyticalReview: [\"startAnalyticalReview\"] as const,\n markDocumentToBeEvaluated: [\"markDocumentToBeEvaluated\"] as const,\n selectWinnerResponse: [\"selectWinnerResponse\"] as const,\n togglePassportVisibility: [\"togglePassportVisibility\"] as const,\n deleteRFP: [\"deleteRFP\"] as const,\n saveRFPRecipients: [\"saveRFPRecipients\"] as const,\n createModule: [\"createModule\"] as const,\n editModule: [\"editModule\"] as const,\n deleteModule: [\"deleteModule\"] as const,\n createModuleQuestionnaire: [\"createQuestionnaire\"] as const,\n editModuleQuestionnaire: [\"editQuestionnaire\"] as const,\n deleteModuleQuestionnaire: [\"deleteQuestionnaire\"] as const,\n createQuestionnaireQuestion: [\"createQuestion\"] as const,\n editQuestionnaireQuestion: [\"editQuestion\"] as const,\n deleteQuestionnaireQuestion: [\"deleteQuestion\"] as const,\n createRFPResponse: [\"createRFPResponse\"] as const,\n createQuestionnaireAnswer: [\"createAnswer\"] as const,\n editQuestionnaireAnswer: [\"editAnswer\"] as const,\n deleteQuestionnaireAnswer: [\"deleteAnswer\"] as const,\n updateAnswerScore: [\"updateAnswerScore\"] as const,\n editRfpResponse: [\"editRfpResponse\"] as const,\n inviteCompanyMembers: [\"inviteCompanyMembers\"] as const,\n resendMemberInvitation: [\"resendMemberInvitation\"] as const,\n inviteToDataRoom: [\"inviteToDataRoom\"] as const,\n updateUser: [\"updateUser\"] as const,\n createGroup: [\"createGroup\"] as const,\n updateGroup: [\"updateGroup\"] as const,\n deleteGroup: [\"deleteGroup\"] as const,\n inviteToGroup: [\"inviteToGroup\"] as const,\n requestAccessToGroup: [\"requestAccessToGroup\"] as const,\n setGroupInvitationStatus: [\"setGroupInvitationStatus\"] as const,\n leaveGroup: [\"leaveGroup\"] as const,\n createGroupVideo: [\"createGroupVideo\"] as const,\n updateGroupVideo: [\"updateGroupVideo\"] as const,\n deleteGroupVideo: [\"deleteGroupVideo\"] as const,\n uploadGroupAttachment: [\"uploadPostAttachment\"] as const,\n cloneGroupAttachments: [\"cloneGroupAttachments\"] as const,\n deleteGroupAttachment: [\"deleteGroupAttachment\"] as const,\n createPost: [\"createPost\"] as const,\n updatePost: [\"updatePost\"] as const,\n deletePost: [\"deletePost\"] as const,\n uploadPostAttachment: [\"uploadPostAttachment\"] as const,\n clonePostAttachments: [\"clonePostAttachments\"] as const,\n deletePostAttachment: [\"deletePostAttachment\"] as const,\n createPostVideo: [\"createPostVideo\"] as const,\n updatePostVideo: [\"updatePostVideo\"] as const,\n deletePostVideo: [\"deletePostVideo\"] as const,\n likePost: [\"likePost\"] as const,\n addComment: [\"addComment\"] as const,\n updateComment: [\"updateComment\"] as const,\n deleteComment: [\"deleteComment\"] as const,\n sendAnswerMessages: [\"sendAnswerMessages\"] as const,\n inviteToTakePassport: [\"inviteToTakePassport\"] as const,\n cloneAssetsToFolder: [\"cloneAssetsToFolder\"] as const,\n createCompany: [\"createCompany\"] as const,\n};\n\nexport default mutationKeys;\n","import { AssessmentAccessType } from \"@pulsemarket/api-client\";\nimport { AttributeModelType, RFPType, TokenType } from \"@pulsemarket/constants\";\nimport {\n AssetSearchOptions,\n AttributeSchemaQuery,\n CompanyFilter,\n ContainerType,\n DataRoomFilters,\n GroupFilesFilters,\n PassportInvitationFilter,\n PostFilters,\n QuestionFilter,\n ReceivedResponseFilters,\n RfpFilters,\n RfpInvitationFilters,\n RfpResponseFilters,\n SupplierGroupFilter,\n} from \"shared/model\";\n\nconst queryKeys = {\n user: [\"user\"] as const,\n accessToken: [\"accessToken\"] as const,\n verifyToken: (token: string, type: TokenType) =>\n [\"verifyToken\", token, type] as const,\n verifyEmail: (token: string) => [\"verifyEmail\", token] as const,\n stripeKey: [\"stripeKey\"] as const,\n ownCompany: [\"ownCompany\"] as const,\n inviterCompany: (companyId?: string) =>\n [\"inviterCompany\", companyId] as const,\n company: (companyId?: string) => [\"company\", companyId] as const,\n mySuppliers: (companyId: string) => [\"mySuppliers\", companyId] as const,\n supplierDetails: (supplierId: string) =>\n [\"supplierDetails\", supplierId] as const,\n supplierAttachments: (supplierId: string) =>\n [\"supplierAttachments\", supplierId] as const,\n supplierContracts: (supplierId: string) =>\n [\"supplierContracts\", supplierId] as const,\n supplierProducts: (supplierId: string) =>\n [\"supplierProducts\", supplierId] as const,\n supplierGroups: (filters: SupplierGroupFilter) =>\n [\"supplierGroups\", filters] as const,\n supplierContract: (contractId?: string) =>\n [\"supplierContract\", contractId] as const,\n supplierProduct: (productId?: string) =>\n [\"supplierProduct\", productId] as const,\n companyMemberInvitation: (invitationToken: string) =>\n [\"companyMemberInvitation\", invitationToken] as const,\n industries: [\"industries\"] as const,\n employeeNumbers: [\"employeeNumbers\"] as const,\n zones: [\"zones\"] as const,\n roles: [\"roles\"] as const,\n passports: [\"passports\"] as const,\n ownPassports: [\"ownPassports\"] as const,\n sentPassportInvitations: (filters?: PassportInvitationFilter) =>\n [\"sentPassportInvitations\", filters] as const,\n countries: [\"countries\"] as const,\n specialities: [\"specialities\"] as const,\n sectors: [\"sectors\"] as const,\n standardizedQuestionnaires: (type: RFPType | null) =>\n [\"standardizedQuestionnaires\", type] as const,\n passportPdf: (passportBlobId: string) =>\n [\"passportPdf\", passportBlobId] as const,\n companies: (filters: CompanyFilter) => [\"companies\", filters] as const,\n companyList: (listId: string) => [\"companyList\", listId] as const,\n allFolders: [\"allFolders\"] as const,\n assetLabels: [\"assetLabels\"] as const,\n dataRooms: (filters?: DataRoomFilters) => [\"dataRooms\", filters] as const,\n dataRoom: (dataRoomId?: string | null) => [\"dataRoom\", dataRoomId] as const,\n dataRoomVideos: (dataRoomId?: string | null) =>\n [\"dataRoomVideos\", dataRoomId] as const,\n folderPath: (folderId: string) => [\"folderPath\", folderId] as const,\n companyMembers: (companyId: string) => [\"companyMembers\", companyId] as const,\n dataRoomInvitations: (dataRoomId: string) =>\n [\"dataRoomInvitations\", dataRoomId] as const,\n newAnswers: (responseId?: string) => [\"answers\", responseId],\n answer: (answerId?: string | null) => [\"answer\", answerId],\n answersByRfxId: (rfxId: string) => [\"answersByRfxId\", rfxId] as const,\n answerAttachments: (folderId: string) =>\n [\"answerAttachments\", folderId] as const,\n blobUrl: (assetId: string) => [\"blobUrl\", assetId] as const,\n blobUrls: (assetIds: string[]) => [\"blobUrls\", assetIds] as const,\n assetRepositorySearch: (searchOptions: AssetSearchOptions) =>\n [\"assetRepositorySearch\", searchOptions] as const,\n youTubeVideo: (id: string) => [\"youTubeVideo\", id] as const,\n rfps: (searchTerm?: RfpFilters) => [\"rfps\", searchTerm] as const,\n rfpsByInvitation: (filters?: RfpResponseFilters) =>\n [\"rfpsByInvitation\", filters] as const,\n supplierRfps: (filters?: RfpResponseFilters) =>\n [\"supplierRfps\", filters] as const,\n invitationsByRfp: (rfpId?: string, filters?: RfpInvitationFilters) =>\n [\"invitationsByRfp\", rfpId, filters] as const,\n invitationByRfpId: (rfpId?: string) => [\"invitationByRfpId\", rfpId] as const,\n rfpInvitation: (invitationId?: string) =>\n [\"invitation\", invitationId] as const,\n rfp: (rfpId?: string) => [\"rfp\", rfpId] as const,\n rfpWeights: (rfpId?: string) => [\"rfpWeights\", rfpId] as const,\n rfpScoreSettings: (rfpId: string) => [\"rfpScoreSettings\", rfpId] as const,\n rfpScoreSettingGroups: (rfpId: string) =>\n [\"rfpScoreSettingGroups\", rfpId] as const,\n role: (companyId?: string, userId?: string) =>\n [\"role\", companyId, userId] as const,\n companyRoles: (companyId: string) => [\"companyRoles\", companyId] as const,\n rfpResponse: (rfpResponseId?: string | null) =>\n [\"rfpResponse\", rfpResponseId] as const,\n rfpResponseEvaluationDetails: (rfpResponseId: string) =>\n [\"rfpResponseEvaluationDetails\", rfpResponseId] as const,\n rfpResponses: (companyId: string, searchTerm?: string) =>\n [\"rfpResponses\", companyId, searchTerm] as const,\n rfpResponsesByRfpId: (\n rfpId?: string,\n filters: ReceivedResponseFilters = {}\n ) => [\"rfpResponsesByRfpId\", rfpId, filters] as const,\n rfpModules: (rfpId: string) => [\"rfpModules\", rfpId] as const,\n answers: (companyId: string, questionIds: string[]) =>\n [\"answers\", companyId, questionIds] as const,\n fileItem: (\n companyId?: string,\n blobId?: string,\n containerType?: ContainerType\n ) => [\"fileItem\", companyId, blobId, containerType] as const,\n rfpRecipients: (rfpId: string) => [\"rfpRecipients\", rfpId] as const,\n userRelatedCompanies: [\"userRelatedCompanies\"] as const,\n features: (featureFlagName: string) => [\"features\", featureFlagName] as const,\n ownGroups: (companyId: string) => [\"ownGroups\", companyId] as const,\n groupsImMember: () => [\"groupsImMember\"] as const,\n group: (groupId: string) => [\"group\", groupId] as const,\n groupFiles: (groupId?: string, filters?: GroupFilesFilters) =>\n [\"groupFiles\", groupId, filters] as const,\n groups: [\"groups\"] as const,\n requestGroup: (groupId: string) => [\"requestGroup\", groupId] as const,\n groupInvitations: (groupId?: string) =>\n [\"groupInvitations\", groupId] as const,\n notifications: (companyId?: string) => [\"notifications\", companyId] as const,\n recentNotifications: (companyId?: string) =>\n [\"recentNotifications\", companyId] as const,\n posts: (groupId?: string, filters?: PostFilters) =>\n [\"posts\", groupId, filters] as const,\n comments: (postId?: string) => [\"comments\", postId] as const,\n messageDetails: (messageId?: string) =>\n [\"messageDetails\", messageId] as const,\n userPreviews: (companyId?: string) => [\"userPreviews\", companyId] as const,\n postReactions: (postId?: string) => [\"postReactions\", postId] as const,\n attributeSchema: (\n companyId: string,\n modelType: AttributeModelType,\n filters?: AttributeSchemaQuery\n ) => [\"attributeSchema\", companyId, modelType, filters] as const,\n lookupTableGroups: (companyId: string, modelType: AttributeModelType) =>\n [\"attributeSchema\", companyId, modelType] as const,\n lookupTable: (tableId: string) => [\"lookupTable\", tableId] as const,\n attributeType: (attributeTypeId: string) =>\n [\"attributeType\", attributeTypeId] as const,\n certificate: (assetId: string) => [\"certificate\", assetId] as const,\n matrices: (companyId: string) => [\"matrices\", companyId] as const,\n matrix: (matrixId?: string) => [\"matrix\", matrixId] as const,\n matrixDataByAnswerId: (answerId?: string) =>\n [\"matrixDataByAnswerId\", answerId] as const,\n matrixDataByMatrixId: (matrixId?: string) =>\n [\"matrixDataByMatrixId\", matrixId] as const,\n csrdImpactRows: [\"csrdImpactRows\"] as const,\n regulationQuestionnaires: (\n assessmentAccessType: AssessmentAccessType,\n regulationId: string\n ) =>\n [\"regulationQuestionnaires\", assessmentAccessType, regulationId] as const,\n regulationFolders: (regulationId: string) =>\n [\"regulationFolders\", regulationId] as const,\n questions: (filters: QuestionFilter) => [\"questions\", filters] as const,\n questionLabels: [\"questionLabels\"] as const,\n questionLabel: (labelId?: string) => [\"questionLabel\", labelId] as const,\n dashboardItems: [\"dashboardItems\"] as const,\n rfxDashboardChartData: (companyId: string) =>\n [\"rfxDashboardChartData\", companyId] as const,\n rfxSummary: (rfxId: string) => [\"rfxSummary\", rfxId] as const,\n rfxComparison: (rfxId: string) => [\"rfxComparison\", rfxId] as const,\n regulations: [\"regulations\"] as const,\n regulationSurveys: (regulationId: string) =>\n [\"regulationSurveys\", regulationId] as const,\n};\n\nexport default queryKeys;\n","export const longCachedQueryOptions = {\n cacheTime: Infinity,\n refetchOnWindowFocus: false,\n refetchOnMount: false,\n};\n","export class ApiError extends Error {\n constructor(public status: number, public message: string) {\n super(message);\n this.name = \"ApiError\";\n this.status = status;\n }\n}\n\nfunction mapErrorToMessage(error: string): string {\n return error;\n}\n\nexport class UploadApiError extends ApiError {\n constructor(\n public status: number,\n public message: string,\n public fileName?: string,\n public errors?: (string | { errors: string[]; name: string })[]\n ) {\n super(status, message);\n this.name = \"UploadApiError\";\n this.fileName = fileName;\n }\n\n get errorMessages(): string[] | undefined {\n return this.errors?.map((error) => {\n if (typeof error === \"string\") {\n return mapErrorToMessage(error);\n }\n return `${error.name}: ${error.errors\n .map((fileError) => mapErrorToMessage(fileError))\n .join(\", \")}`;\n });\n }\n}\n","import * as ieee754 from 'ieee754';\nimport { Buffer } from 'node:buffer';\n// Primitive types\nfunction dv(array) {\n return new DataView(array.buffer, array.byteOffset);\n}\n/**\n * 8-bit unsigned integer\n */\nexport const UINT8 = {\n len: 1,\n get(array, offset) {\n return dv(array).getUint8(offset);\n },\n put(array, offset, value) {\n dv(array).setUint8(offset, value);\n return offset + 1;\n }\n};\n/**\n * 16-bit unsigned integer, Little Endian byte order\n */\nexport const UINT16_LE = {\n len: 2,\n get(array, offset) {\n return dv(array).getUint16(offset, true);\n },\n put(array, offset, value) {\n dv(array).setUint16(offset, value, true);\n return offset + 2;\n }\n};\n/**\n * 16-bit unsigned integer, Big Endian byte order\n */\nexport const UINT16_BE = {\n len: 2,\n get(array, offset) {\n return dv(array).getUint16(offset);\n },\n put(array, offset, value) {\n dv(array).setUint16(offset, value);\n return offset + 2;\n }\n};\n/**\n * 24-bit unsigned integer, Little Endian byte order\n */\nexport const UINT24_LE = {\n len: 3,\n get(array, offset) {\n const dataView = dv(array);\n return dataView.getUint8(offset) + (dataView.getUint16(offset + 1, true) << 8);\n },\n put(array, offset, value) {\n const dataView = dv(array);\n dataView.setUint8(offset, value & 0xff);\n dataView.setUint16(offset + 1, value >> 8, true);\n return offset + 3;\n }\n};\n/**\n * 24-bit unsigned integer, Big Endian byte order\n */\nexport const UINT24_BE = {\n len: 3,\n get(array, offset) {\n const dataView = dv(array);\n return (dataView.getUint16(offset) << 8) + dataView.getUint8(offset + 2);\n },\n put(array, offset, value) {\n const dataView = dv(array);\n dataView.setUint16(offset, value >> 8);\n dataView.setUint8(offset + 2, value & 0xff);\n return offset + 3;\n }\n};\n/**\n * 32-bit unsigned integer, Little Endian byte order\n */\nexport const UINT32_LE = {\n len: 4,\n get(array, offset) {\n return dv(array).getUint32(offset, true);\n },\n put(array, offset, value) {\n dv(array).setUint32(offset, value, true);\n return offset + 4;\n }\n};\n/**\n * 32-bit unsigned integer, Big Endian byte order\n */\nexport const UINT32_BE = {\n len: 4,\n get(array, offset) {\n return dv(array).getUint32(offset);\n },\n put(array, offset, value) {\n dv(array).setUint32(offset, value);\n return offset + 4;\n }\n};\n/**\n * 8-bit signed integer\n */\nexport const INT8 = {\n len: 1,\n get(array, offset) {\n return dv(array).getInt8(offset);\n },\n put(array, offset, value) {\n dv(array).setInt8(offset, value);\n return offset + 1;\n }\n};\n/**\n * 16-bit signed integer, Big Endian byte order\n */\nexport const INT16_BE = {\n len: 2,\n get(array, offset) {\n return dv(array).getInt16(offset);\n },\n put(array, offset, value) {\n dv(array).setInt16(offset, value);\n return offset + 2;\n }\n};\n/**\n * 16-bit signed integer, Little Endian byte order\n */\nexport const INT16_LE = {\n len: 2,\n get(array, offset) {\n return dv(array).getInt16(offset, true);\n },\n put(array, offset, value) {\n dv(array).setInt16(offset, value, true);\n return offset + 2;\n }\n};\n/**\n * 24-bit signed integer, Little Endian byte order\n */\nexport const INT24_LE = {\n len: 3,\n get(array, offset) {\n const unsigned = UINT24_LE.get(array, offset);\n return unsigned > 0x7fffff ? unsigned - 0x1000000 : unsigned;\n },\n put(array, offset, value) {\n const dataView = dv(array);\n dataView.setUint8(offset, value & 0xff);\n dataView.setUint16(offset + 1, value >> 8, true);\n return offset + 3;\n }\n};\n/**\n * 24-bit signed integer, Big Endian byte order\n */\nexport const INT24_BE = {\n len: 3,\n get(array, offset) {\n const unsigned = UINT24_BE.get(array, offset);\n return unsigned > 0x7fffff ? unsigned - 0x1000000 : unsigned;\n },\n put(array, offset, value) {\n const dataView = dv(array);\n dataView.setUint16(offset, value >> 8);\n dataView.setUint8(offset + 2, value & 0xff);\n return offset + 3;\n }\n};\n/**\n * 32-bit signed integer, Big Endian byte order\n */\nexport const INT32_BE = {\n len: 4,\n get(array, offset) {\n return dv(array).getInt32(offset);\n },\n put(array, offset, value) {\n dv(array).setInt32(offset, value);\n return offset + 4;\n }\n};\n/**\n * 32-bit signed integer, Big Endian byte order\n */\nexport const INT32_LE = {\n len: 4,\n get(array, offset) {\n return dv(array).getInt32(offset, true);\n },\n put(array, offset, value) {\n dv(array).setInt32(offset, value, true);\n return offset + 4;\n }\n};\n/**\n * 64-bit unsigned integer, Little Endian byte order\n */\nexport const UINT64_LE = {\n len: 8,\n get(array, offset) {\n return dv(array).getBigUint64(offset, true);\n },\n put(array, offset, value) {\n dv(array).setBigUint64(offset, value, true);\n return offset + 8;\n }\n};\n/**\n * 64-bit signed integer, Little Endian byte order\n */\nexport const INT64_LE = {\n len: 8,\n get(array, offset) {\n return dv(array).getBigInt64(offset, true);\n },\n put(array, offset, value) {\n dv(array).setBigInt64(offset, value, true);\n return offset + 8;\n }\n};\n/**\n * 64-bit unsigned integer, Big Endian byte order\n */\nexport const UINT64_BE = {\n len: 8,\n get(array, offset) {\n return dv(array).getBigUint64(offset);\n },\n put(array, offset, value) {\n dv(array).setBigUint64(offset, value);\n return offset + 8;\n }\n};\n/**\n * 64-bit signed integer, Big Endian byte order\n */\nexport const INT64_BE = {\n len: 8,\n get(array, offset) {\n return dv(array).getBigInt64(offset);\n },\n put(array, offset, value) {\n dv(array).setBigInt64(offset, value);\n return offset + 8;\n }\n};\n/**\n * IEEE 754 16-bit (half precision) float, big endian\n */\nexport const Float16_BE = {\n len: 2,\n get(dataView, offset) {\n return ieee754.read(dataView, offset, false, 10, this.len);\n },\n put(dataView, offset, value) {\n ieee754.write(dataView, value, offset, false, 10, this.len);\n return offset + this.len;\n }\n};\n/**\n * IEEE 754 16-bit (half precision) float, little endian\n */\nexport const Float16_LE = {\n len: 2,\n get(array, offset) {\n return ieee754.read(array, offset, true, 10, this.len);\n },\n put(array, offset, value) {\n ieee754.write(array, value, offset, true, 10, this.len);\n return offset + this.len;\n }\n};\n/**\n * IEEE 754 32-bit (single precision) float, big endian\n */\nexport const Float32_BE = {\n len: 4,\n get(array, offset) {\n return dv(array).getFloat32(offset);\n },\n put(array, offset, value) {\n dv(array).setFloat32(offset, value);\n return offset + 4;\n }\n};\n/**\n * IEEE 754 32-bit (single precision) float, little endian\n */\nexport const Float32_LE = {\n len: 4,\n get(array, offset) {\n return dv(array).getFloat32(offset, true);\n },\n put(array, offset, value) {\n dv(array).setFloat32(offset, value, true);\n return offset + 4;\n }\n};\n/**\n * IEEE 754 64-bit (double precision) float, big endian\n */\nexport const Float64_BE = {\n len: 8,\n get(array, offset) {\n return dv(array).getFloat64(offset);\n },\n put(array, offset, value) {\n dv(array).setFloat64(offset, value);\n return offset + 8;\n }\n};\n/**\n * IEEE 754 64-bit (double precision) float, little endian\n */\nexport const Float64_LE = {\n len: 8,\n get(array, offset) {\n return dv(array).getFloat64(offset, true);\n },\n put(array, offset, value) {\n dv(array).setFloat64(offset, value, true);\n return offset + 8;\n }\n};\n/**\n * IEEE 754 80-bit (extended precision) float, big endian\n */\nexport const Float80_BE = {\n len: 10,\n get(array, offset) {\n return ieee754.read(array, offset, false, 63, this.len);\n },\n put(array, offset, value) {\n ieee754.write(array, value, offset, false, 63, this.len);\n return offset + this.len;\n }\n};\n/**\n * IEEE 754 80-bit (extended precision) float, little endian\n */\nexport const Float80_LE = {\n len: 10,\n get(array, offset) {\n return ieee754.read(array, offset, true, 63, this.len);\n },\n put(array, offset, value) {\n ieee754.write(array, value, offset, true, 63, this.len);\n return offset + this.len;\n }\n};\n/**\n * Ignore a given number of bytes\n */\nexport class IgnoreType {\n /**\n * @param len number of bytes to ignore\n */\n constructor(len) {\n this.len = len;\n }\n // ToDo: don't read, but skip data\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n get(array, off) {\n }\n}\nexport class Uint8ArrayType {\n constructor(len) {\n this.len = len;\n }\n get(array, offset) {\n return array.subarray(offset, offset + this.len);\n }\n}\nexport class BufferType {\n constructor(len) {\n this.len = len;\n }\n get(uint8Array, off) {\n return Buffer.from(uint8Array.subarray(off, off + this.len));\n }\n}\n/**\n * Consume a fixed number of bytes from the stream and return a string with a specified encoding.\n */\nexport class StringType {\n constructor(len, encoding) {\n this.len = len;\n this.encoding = encoding;\n }\n get(uint8Array, offset) {\n return Buffer.from(uint8Array).toString(this.encoding, offset, offset + this.len);\n }\n}\n/**\n * ANSI Latin 1 String\n * Using windows-1252 / ISO 8859-1 decoding\n */\nexport class AnsiStringType {\n constructor(len) {\n this.len = len;\n }\n static decode(buffer, offset, until) {\n let str = '';\n for (let i = offset; i < until; ++i) {\n str += AnsiStringType.codePointToString(AnsiStringType.singleByteDecoder(buffer[i]));\n }\n return str;\n }\n static inRange(a, min, max) {\n return min <= a && a <= max;\n }\n static codePointToString(cp) {\n if (cp <= 0xFFFF) {\n return String.fromCharCode(cp);\n }\n else {\n cp -= 0x10000;\n return String.fromCharCode((cp >> 10) + 0xD800, (cp & 0x3FF) + 0xDC00);\n }\n }\n static singleByteDecoder(bite) {\n if (AnsiStringType.inRange(bite, 0x00, 0x7F)) {\n return bite;\n }\n const codePoint = AnsiStringType.windows1252[bite - 0x80];\n if (codePoint === null) {\n throw Error('invaliding encoding');\n }\n return codePoint;\n }\n get(buffer, offset = 0) {\n return AnsiStringType.decode(buffer, offset, offset + this.len);\n }\n}\nAnsiStringType.windows1252 = [8364, 129, 8218, 402, 8222, 8230, 8224, 8225, 710, 8240, 352,\n 8249, 338, 141, 381, 143, 144, 8216, 8217, 8220, 8221, 8226, 8211, 8212, 732,\n 8482, 353, 8250, 339, 157, 382, 376, 160, 161, 162, 163, 164, 165, 166, 167, 168,\n 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184,\n 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200,\n 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216,\n 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232,\n 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247,\n 248, 249, 250, 251, 252, 253, 254, 255];\n","export const defaultMessages = 'End-Of-Stream';\n/**\n * Thrown on read operation of the end of file or stream has been reached\n */\nexport class EndOfStreamError extends Error {\n constructor() {\n super(defaultMessages);\n }\n}\n","import { EndOfStreamError } from 'peek-readable';\nimport { Buffer } from 'node:buffer';\n/**\n * Core tokenizer\n */\nexport class AbstractTokenizer {\n constructor(fileInfo) {\n /**\n * Tokenizer-stream position\n */\n this.position = 0;\n this.numBuffer = new Uint8Array(8);\n this.fileInfo = fileInfo ? fileInfo : {};\n }\n /**\n * Read a token from the tokenizer-stream\n * @param token - The token to read\n * @param position - If provided, the desired position in the tokenizer-stream\n * @returns Promise with token data\n */\n async readToken(token, position = this.position) {\n const uint8Array = Buffer.alloc(token.len);\n const len = await this.readBuffer(uint8Array, { position });\n if (len < token.len)\n throw new EndOfStreamError();\n return token.get(uint8Array, 0);\n }\n /**\n * Peek a token from the tokenizer-stream.\n * @param token - Token to peek from the tokenizer-stream.\n * @param position - Offset where to begin reading within the file. If position is null, data will be read from the current file position.\n * @returns Promise with token data\n */\n async peekToken(token, position = this.position) {\n const uint8Array = Buffer.alloc(token.len);\n const len = await this.peekBuffer(uint8Array, { position });\n if (len < token.len)\n throw new EndOfStreamError();\n return token.get(uint8Array, 0);\n }\n /**\n * Read a numeric token from the stream\n * @param token - Numeric token\n * @returns Promise with number\n */\n async readNumber(token) {\n const len = await this.readBuffer(this.numBuffer, { length: token.len });\n if (len < token.len)\n throw new EndOfStreamError();\n return token.get(this.numBuffer, 0);\n }\n /**\n * Read a numeric token from the stream\n * @param token - Numeric token\n * @returns Promise with number\n */\n async peekNumber(token) {\n const len = await this.peekBuffer(this.numBuffer, { length: token.len });\n if (len < token.len)\n throw new EndOfStreamError();\n return token.get(this.numBuffer, 0);\n }\n /**\n * Ignore number of bytes, advances the pointer in under tokenizer-stream.\n * @param length - Number of bytes to ignore\n * @return resolves the number of bytes ignored, equals length if this available, otherwise the number of bytes available\n */\n async ignore(length) {\n if (this.fileInfo.size !== undefined) {\n const bytesLeft = this.fileInfo.size - this.position;\n if (length > bytesLeft) {\n this.position += bytesLeft;\n return bytesLeft;\n }\n }\n this.position += length;\n return length;\n }\n async close() {\n // empty\n }\n normalizeOptions(uint8Array, options) {\n if (options && options.position !== undefined && options.position < this.position) {\n throw new Error('`options.position` must be equal or greater than `tokenizer.position`');\n }\n if (options) {\n return {\n mayBeLess: options.mayBeLess === true,\n offset: options.offset ? options.offset : 0,\n length: options.length ? options.length : (uint8Array.length - (options.offset ? options.offset : 0)),\n position: options.position ? options.position : this.position\n };\n }\n return {\n mayBeLess: false,\n offset: 0,\n length: uint8Array.length,\n position: this.position\n };\n }\n}\n","export class Deferred {\n constructor() {\n this.resolve = () => null;\n this.reject = () => null;\n this.promise = new Promise((resolve, reject) => {\n this.reject = reject;\n this.resolve = resolve;\n });\n }\n}\n","import { EndOfStreamError } from './EndOfFileStream.js';\nimport { Deferred } from './Deferred.js';\nexport { EndOfStreamError } from './EndOfFileStream.js';\nconst maxStreamReadSize = 1 * 1024 * 1024; // Maximum request length on read-stream operation\nexport class StreamReader {\n constructor(s) {\n this.s = s;\n /**\n * Deferred used for postponed read request (as not data is yet available to read)\n */\n this.deferred = null;\n this.endOfStream = false;\n /**\n * Store peeked data\n * @type {Array}\n */\n this.peekQueue = [];\n if (!s.read || !s.once) {\n throw new Error('Expected an instance of stream.Readable');\n }\n this.s.once('end', () => this.reject(new EndOfStreamError()));\n this.s.once('error', err => this.reject(err));\n this.s.once('close', () => this.reject(new Error('Stream closed')));\n }\n /**\n * Read ahead (peek) from stream. Subsequent read or peeks will return the same data\n * @param uint8Array - Uint8Array (or Buffer) to store data read from stream in\n * @param offset - Offset target\n * @param length - Number of bytes to read\n * @returns Number of bytes peeked\n */\n async peek(uint8Array, offset, length) {\n const bytesRead = await this.read(uint8Array, offset, length);\n this.peekQueue.push(uint8Array.subarray(offset, offset + bytesRead)); // Put read data back to peek buffer\n return bytesRead;\n }\n /**\n * Read chunk from stream\n * @param buffer - Target Uint8Array (or Buffer) to store data read from stream in\n * @param offset - Offset target\n * @param length - Number of bytes to read\n * @returns Number of bytes read\n */\n async read(buffer, offset, length) {\n if (length === 0) {\n return 0;\n }\n if (this.peekQueue.length === 0 && this.endOfStream) {\n throw new EndOfStreamError();\n }\n let remaining = length;\n let bytesRead = 0;\n // consume peeked data first\n while (this.peekQueue.length > 0 && remaining > 0) {\n const peekData = this.peekQueue.pop(); // Front of queue\n if (!peekData)\n throw new Error('peekData should be defined');\n const lenCopy = Math.min(peekData.length, remaining);\n buffer.set(peekData.subarray(0, lenCopy), offset + bytesRead);\n bytesRead += lenCopy;\n remaining -= lenCopy;\n if (lenCopy < peekData.length) {\n // remainder back to queue\n this.peekQueue.push(peekData.subarray(lenCopy));\n }\n }\n // continue reading from stream if required\n while (remaining > 0 && !this.endOfStream) {\n const reqLen = Math.min(remaining, maxStreamReadSize);\n const chunkLen = await this.readFromStream(buffer, offset + bytesRead, reqLen);\n bytesRead += chunkLen;\n if (chunkLen < reqLen)\n break;\n remaining -= chunkLen;\n }\n return bytesRead;\n }\n /**\n * Read chunk from stream\n * @param buffer Target Uint8Array (or Buffer) to store data read from stream in\n * @param offset Offset target\n * @param length Number of bytes to read\n * @returns Number of bytes read\n */\n async readFromStream(buffer, offset, length) {\n const readBuffer = this.s.read(length);\n if (readBuffer) {\n buffer.set(readBuffer, offset);\n return readBuffer.length;\n }\n else {\n const request = {\n buffer,\n offset,\n length,\n deferred: new Deferred()\n };\n this.deferred = request.deferred;\n this.s.once('readable', () => {\n this.readDeferred(request);\n });\n return request.deferred.promise;\n }\n }\n /**\n * Process deferred read request\n * @param request Deferred read request\n */\n readDeferred(request) {\n const readBuffer = this.s.read(request.length);\n if (readBuffer) {\n request.buffer.set(readBuffer, request.offset);\n request.deferred.resolve(readBuffer.length);\n this.deferred = null;\n }\n else {\n this.s.once('readable', () => {\n this.readDeferred(request);\n });\n }\n }\n reject(err) {\n this.endOfStream = true;\n if (this.deferred) {\n this.deferred.reject(err);\n this.deferred = null;\n }\n }\n}\n","import { AbstractTokenizer } from './AbstractTokenizer.js';\nimport { EndOfStreamError, StreamReader } from 'peek-readable';\nconst maxBufferSize = 256000;\nexport class ReadStreamTokenizer extends AbstractTokenizer {\n constructor(stream, fileInfo) {\n super(fileInfo);\n this.streamReader = new StreamReader(stream);\n }\n /**\n * Get file information, an HTTP-client may implement this doing a HEAD request\n * @return Promise with file information\n */\n async getFileInfo() {\n return this.fileInfo;\n }\n /**\n * Read buffer from tokenizer\n * @param uint8Array - Target Uint8Array to fill with data read from the tokenizer-stream\n * @param options - Read behaviour options\n * @returns Promise with number of bytes read\n */\n async readBuffer(uint8Array, options) {\n const normOptions = this.normalizeOptions(uint8Array, options);\n const skipBytes = normOptions.position - this.position;\n if (skipBytes > 0) {\n await this.ignore(skipBytes);\n return this.readBuffer(uint8Array, options);\n }\n else if (skipBytes < 0) {\n throw new Error('`options.position` must be equal or greater than `tokenizer.position`');\n }\n if (normOptions.length === 0) {\n return 0;\n }\n const bytesRead = await this.streamReader.read(uint8Array, normOptions.offset, normOptions.length);\n this.position += bytesRead;\n if ((!options || !options.mayBeLess) && bytesRead < normOptions.length) {\n throw new EndOfStreamError();\n }\n return bytesRead;\n }\n /**\n * Peek (read ahead) buffer from tokenizer\n * @param uint8Array - Uint8Array (or Buffer) to write data to\n * @param options - Read behaviour options\n * @returns Promise with number of bytes peeked\n */\n async peekBuffer(uint8Array, options) {\n const normOptions = this.normalizeOptions(uint8Array, options);\n let bytesRead = 0;\n if (normOptions.position) {\n const skipBytes = normOptions.position - this.position;\n if (skipBytes > 0) {\n const skipBuffer = new Uint8Array(normOptions.length + skipBytes);\n bytesRead = await this.peekBuffer(skipBuffer, { mayBeLess: normOptions.mayBeLess });\n uint8Array.set(skipBuffer.subarray(skipBytes), normOptions.offset);\n return bytesRead - skipBytes;\n }\n else if (skipBytes < 0) {\n throw new Error('Cannot peek from a negative offset in a stream');\n }\n }\n if (normOptions.length > 0) {\n try {\n bytesRead = await this.streamReader.peek(uint8Array, normOptions.offset, normOptions.length);\n }\n catch (err) {\n if (options && options.mayBeLess && err instanceof EndOfStreamError) {\n return 0;\n }\n throw err;\n }\n if ((!normOptions.mayBeLess) && bytesRead < normOptions.length) {\n throw new EndOfStreamError();\n }\n }\n return bytesRead;\n }\n async ignore(length) {\n // debug(`ignore ${this.position}...${this.position + length - 1}`);\n const bufSize = Math.min(maxBufferSize, length);\n const buf = new Uint8Array(bufSize);\n let totBytesRead = 0;\n while (totBytesRead < length) {\n const remaining = length - totBytesRead;\n const bytesRead = await this.readBuffer(buf, { length: Math.min(bufSize, remaining) });\n if (bytesRead < 0) {\n return bytesRead;\n }\n totBytesRead += bytesRead;\n }\n return totBytesRead;\n }\n}\n","import { EndOfStreamError } from 'peek-readable';\nimport { AbstractTokenizer } from './AbstractTokenizer.js';\nexport class BufferTokenizer extends AbstractTokenizer {\n /**\n * Construct BufferTokenizer\n * @param uint8Array - Uint8Array to tokenize\n * @param fileInfo - Pass additional file information to the tokenizer\n */\n constructor(uint8Array, fileInfo) {\n super(fileInfo);\n this.uint8Array = uint8Array;\n this.fileInfo.size = this.fileInfo.size ? this.fileInfo.size : uint8Array.length;\n }\n /**\n * Read buffer from tokenizer\n * @param uint8Array - Uint8Array to tokenize\n * @param options - Read behaviour options\n * @returns {Promise<number>}\n */\n async readBuffer(uint8Array, options) {\n if (options && options.position) {\n if (options.position < this.position) {\n throw new Error('`options.position` must be equal or greater than `tokenizer.position`');\n }\n this.position = options.position;\n }\n const bytesRead = await this.peekBuffer(uint8Array, options);\n this.position += bytesRead;\n return bytesRead;\n }\n /**\n * Peek (read ahead) buffer from tokenizer\n * @param uint8Array\n * @param options - Read behaviour options\n * @returns {Promise<number>}\n */\n async peekBuffer(uint8Array, options) {\n const normOptions = this.normalizeOptions(uint8Array, options);\n const bytes2read = Math.min(this.uint8Array.length - normOptions.position, normOptions.length);\n if ((!normOptions.mayBeLess) && bytes2read < normOptions.length) {\n throw new EndOfStreamError();\n }\n else {\n uint8Array.set(this.uint8Array.subarray(normOptions.position, normOptions.position + bytes2read), normOptions.offset);\n return bytes2read;\n }\n }\n async close() {\n // empty\n }\n}\n","export function stringToBytes(string) {\n\treturn [...string].map(character => character.charCodeAt(0)); // eslint-disable-line unicorn/prefer-code-point\n}\n\n/**\nChecks whether the TAR checksum is valid.\n\n@param {Buffer} buffer - The TAR header `[offset ... offset + 512]`.\n@param {number} offset - TAR header offset.\n@returns {boolean} `true` if the TAR checksum is valid, otherwise `false`.\n*/\nexport function tarHeaderChecksumMatches(buffer, offset = 0) {\n\tconst readSum = Number.parseInt(buffer.toString('utf8', 148, 154).replace(/\\0.*$/, '').trim(), 8); // Read sum in header\n\tif (Number.isNaN(readSum)) {\n\t\treturn false;\n\t}\n\n\tlet sum = 8 * 0x20; // Initialize signed bit sum\n\n\tfor (let index = offset; index < offset + 148; index++) {\n\t\tsum += buffer[index];\n\t}\n\n\tfor (let index = offset + 156; index < offset + 512; index++) {\n\t\tsum += buffer[index];\n\t}\n\n\treturn readSum === sum;\n}\n\n/**\nID3 UINT32 sync-safe tokenizer token.\n28 bits (representing up to 256MB) integer, the msb is 0 to avoid \"false syncsignals\".\n*/\nexport const uint32SyncSafeToken = {\n\tget: (buffer, offset) => (buffer[offset + 3] & 0x7F) | ((buffer[offset + 2]) << 7) | ((buffer[offset + 1]) << 14) | ((buffer[offset]) << 21),\n\tlen: 4,\n};\n","import {Buffer} from 'node:buffer';\nimport * as Token from 'token-types';\nimport * as strtok3 from 'strtok3/core'; // eslint-disable-line n/file-extension-in-import\nimport {\n\tstringToBytes,\n\ttarHeaderChecksumMatches,\n\tuint32SyncSafeToken,\n} from './util.js';\nimport {extensions, mimeTypes} from './supported.js';\n\nconst minimumBytes = 4100; // A fair amount of file-types are detectable within this range.\n\nexport async function fileTypeFromStream(stream) {\n\treturn new FileTypeParser().fromStream(stream);\n}\n\nexport async function fileTypeFromBuffer(input) {\n\treturn new FileTypeParser().fromBuffer(input);\n}\n\nexport async function fileTypeFromBlob(blob) {\n\treturn new FileTypeParser().fromBlob(blob);\n}\n\nfunction _check(buffer, headers, options) {\n\toptions = {\n\t\toffset: 0,\n\t\t...options,\n\t};\n\n\tfor (const [index, header] of headers.entries()) {\n\t\t// If a bitmask is set\n\t\tif (options.mask) {\n\t\t\t// If header doesn't equal `buf` with bits masked off\n\t\t\tif (header !== (options.mask[index] & buffer[index + options.offset])) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else if (header !== buffer[index + options.offset]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn true;\n}\n\nexport async function fileTypeFromTokenizer(tokenizer) {\n\treturn new FileTypeParser().fromTokenizer(tokenizer);\n}\n\nexport class FileTypeParser {\n\tconstructor(options) {\n\t\tthis.detectors = options?.customDetectors;\n\n\t\tthis.fromTokenizer = this.fromTokenizer.bind(this);\n\t\tthis.fromBuffer = this.fromBuffer.bind(this);\n\t\tthis.parse = this.parse.bind(this);\n\t}\n\n\tasync fromTokenizer(tokenizer) {\n\t\tconst initialPosition = tokenizer.position;\n\n\t\tfor (const detector of this.detectors || []) {\n\t\t\tconst fileType = await detector(tokenizer);\n\t\t\tif (fileType) {\n\t\t\t\treturn fileType;\n\t\t\t}\n\n\t\t\tif (initialPosition !== tokenizer.position) {\n\t\t\t\treturn undefined; // Cannot proceed scanning of the tokenizer is at an arbitrary position\n\t\t\t}\n\t\t}\n\n\t\treturn this.parse(tokenizer);\n\t}\n\n\tasync fromBuffer(input) {\n\t\tif (!(input instanceof Uint8Array || input instanceof ArrayBuffer)) {\n\t\t\tthrow new TypeError(`Expected the \\`input\\` argument to be of type \\`Uint8Array\\` or \\`Buffer\\` or \\`ArrayBuffer\\`, got \\`${typeof input}\\``);\n\t\t}\n\n\t\tconst buffer = input instanceof Uint8Array ? input : new Uint8Array(input);\n\n\t\tif (!(buffer?.length > 1)) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn this.fromTokenizer(strtok3.fromBuffer(buffer));\n\t}\n\n\tasync fromBlob(blob) {\n\t\tconst buffer = await blob.arrayBuffer();\n\t\treturn this.fromBuffer(new Uint8Array(buffer));\n\t}\n\n\tasync fromStream(stream) {\n\t\tconst tokenizer = await strtok3.fromStream(stream);\n\t\ttry {\n\t\t\treturn await this.fromTokenizer(tokenizer);\n\t\t} finally {\n\t\t\tawait tokenizer.close();\n\t\t}\n\t}\n\n\tasync toDetectionStream(readableStream, options = {}) {\n\t\tconst {default: stream} = await import('node:stream');\n\t\tconst {sampleSize = minimumBytes} = options;\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\treadableStream.on('error', reject);\n\n\t\t\treadableStream.once('readable', () => {\n\t\t\t\t(async () => {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// Set up output stream\n\t\t\t\t\t\tconst pass = new stream.PassThrough();\n\t\t\t\t\t\tconst outputStream = stream.pipeline ? stream.pipeline(readableStream, pass, () => {}) : readableStream.pipe(pass);\n\n\t\t\t\t\t\t// Read the input stream and detect the filetype\n\t\t\t\t\t\tconst chunk = readableStream.read(sampleSize) ?? readableStream.read() ?? Buffer.alloc(0);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tpass.fileType = await this.fromBuffer(chunk);\n\t\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\t\tif (error instanceof strtok3.EndOfStreamError) {\n\t\t\t\t\t\t\t\tpass.fileType = undefined;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresolve(outputStream);\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\treject(error);\n\t\t\t\t\t}\n\t\t\t\t})();\n\t\t\t});\n\t\t});\n\t}\n\n\tcheck(header, options) {\n\t\treturn _check(this.buffer, header, options);\n\t}\n\n\tcheckString(header, options) {\n\t\treturn this.check(stringToBytes(header), options);\n\t}\n\n\tasync parse(tokenizer) {\n\t\tthis.buffer = Buffer.alloc(minimumBytes);\n\n\t\t// Keep reading until EOF if the file size is unknown.\n\t\tif (tokenizer.fileInfo.size === undefined) {\n\t\t\ttokenizer.fileInfo.size = Number.MAX_SAFE_INTEGER;\n\t\t}\n\n\t\tthis.tokenizer = tokenizer;\n\n\t\tawait tokenizer.peekBuffer(this.buffer, {length: 12, mayBeLess: true});\n\n\t\t// -- 2-byte signatures --\n\n\t\tif (this.check([0x42, 0x4D])) {\n\t\t\treturn {\n\t\t\t\text: 'bmp',\n\t\t\t\tmime: 'image/bmp',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x0B, 0x77])) {\n\t\t\treturn {\n\t\t\t\text: 'ac3',\n\t\t\t\tmime: 'audio/vnd.dolby.dd-raw',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x78, 0x01])) {\n\t\t\treturn {\n\t\t\t\text: 'dmg',\n\t\t\t\tmime: 'application/x-apple-diskimage',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x4D, 0x5A])) {\n\t\t\treturn {\n\t\t\t\text: 'exe',\n\t\t\t\tmime: 'application/x-msdownload',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x25, 0x21])) {\n\t\t\tawait tokenizer.peekBuffer(this.buffer, {length: 24, mayBeLess: true});\n\n\t\t\tif (\n\t\t\t\tthis.checkString('PS-Adobe-', {offset: 2})\n\t\t\t\t&& this.checkString(' EPSF-', {offset: 14})\n\t\t\t) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'eps',\n\t\t\t\t\tmime: 'application/eps',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\text: 'ps',\n\t\t\t\tmime: 'application/postscript',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.check([0x1F, 0xA0])\n\t\t\t|| this.check([0x1F, 0x9D])\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'Z',\n\t\t\t\tmime: 'application/x-compress',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xC7, 0x71])) {\n\t\t\treturn {\n\t\t\t\text: 'cpio',\n\t\t\t\tmime: 'application/x-cpio',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x60, 0xEA])) {\n\t\t\treturn {\n\t\t\t\text: 'arj',\n\t\t\t\tmime: 'application/x-arj',\n\t\t\t};\n\t\t}\n\n\t\t// -- 3-byte signatures --\n\n\t\tif (this.check([0xEF, 0xBB, 0xBF])) { // UTF-8-BOM\n\t\t\t// Strip off UTF-8-BOM\n\t\t\tthis.tokenizer.ignore(3);\n\t\t\treturn this.parse(tokenizer);\n\t\t}\n\n\t\tif (this.check([0x47, 0x49, 0x46])) {\n\t\t\treturn {\n\t\t\t\text: 'gif',\n\t\t\t\tmime: 'image/gif',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x49, 0x49, 0xBC])) {\n\t\t\treturn {\n\t\t\t\text: 'jxr',\n\t\t\t\tmime: 'image/vnd.ms-photo',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x1F, 0x8B, 0x8])) {\n\t\t\treturn {\n\t\t\t\text: 'gz',\n\t\t\t\tmime: 'application/gzip',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x42, 0x5A, 0x68])) {\n\t\t\treturn {\n\t\t\t\text: 'bz2',\n\t\t\t\tmime: 'application/x-bzip2',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('ID3')) {\n\t\t\tawait tokenizer.ignore(6); // Skip ID3 header until the header size\n\t\t\tconst id3HeaderLength = await tokenizer.readToken(uint32SyncSafeToken);\n\t\t\tif (tokenizer.position + id3HeaderLength > tokenizer.fileInfo.size) {\n\t\t\t\t// Guess file type based on ID3 header for backward compatibility\n\t\t\t\treturn {\n\t\t\t\t\text: 'mp3',\n\t\t\t\t\tmime: 'audio/mpeg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tawait tokenizer.ignore(id3HeaderLength);\n\t\t\treturn this.fromTokenizer(tokenizer); // Skip ID3 header, recursion\n\t\t}\n\n\t\t// Musepack, SV7\n\t\tif (this.checkString('MP+')) {\n\t\t\treturn {\n\t\t\t\text: 'mpc',\n\t\t\t\tmime: 'audio/x-musepack',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\t(this.buffer[0] === 0x43 || this.buffer[0] === 0x46)\n\t\t\t&& this.check([0x57, 0x53], {offset: 1})\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'swf',\n\t\t\t\tmime: 'application/x-shockwave-flash',\n\t\t\t};\n\t\t}\n\n\t\t// -- 4-byte signatures --\n\n\t\t// Requires a sample size of 4 bytes\n\t\tif (this.check([0xFF, 0xD8, 0xFF])) {\n\t\t\tif (this.check([0xF7], {offset: 3})) { // JPG7/SOF55, indicating a ISO/IEC 14495 / JPEG-LS file\n\t\t\t\treturn {\n\t\t\t\t\text: 'jls',\n\t\t\t\t\tmime: 'image/jls',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\text: 'jpg',\n\t\t\t\tmime: 'image/jpeg',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x4F, 0x62, 0x6A, 0x01])) {\n\t\t\treturn {\n\t\t\t\text: 'avro',\n\t\t\t\tmime: 'application/avro',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('FLIF')) {\n\t\t\treturn {\n\t\t\t\text: 'flif',\n\t\t\t\tmime: 'image/flif',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('8BPS')) {\n\t\t\treturn {\n\t\t\t\text: 'psd',\n\t\t\t\tmime: 'image/vnd.adobe.photoshop',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('WEBP', {offset: 8})) {\n\t\t\treturn {\n\t\t\t\text: 'webp',\n\t\t\t\tmime: 'image/webp',\n\t\t\t};\n\t\t}\n\n\t\t// Musepack, SV8\n\t\tif (this.checkString('MPCK')) {\n\t\t\treturn {\n\t\t\t\text: 'mpc',\n\t\t\t\tmime: 'audio/x-musepack',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('FORM')) {\n\t\t\treturn {\n\t\t\t\text: 'aif',\n\t\t\t\tmime: 'audio/aiff',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('icns', {offset: 0})) {\n\t\t\treturn {\n\t\t\t\text: 'icns',\n\t\t\t\tmime: 'image/icns',\n\t\t\t};\n\t\t}\n\n\t\t// Zip-based file formats\n\t\t// Need to be before the `zip` check\n\t\tif (this.check([0x50, 0x4B, 0x3, 0x4])) { // Local file header signature\n\t\t\ttry {\n\t\t\t\twhile (tokenizer.position + 30 < tokenizer.fileInfo.size) {\n\t\t\t\t\tawait tokenizer.readBuffer(this.buffer, {length: 30});\n\n\t\t\t\t\t// https://en.wikipedia.org/wiki/Zip_(file_format)#File_headers\n\t\t\t\t\tconst zipHeader = {\n\t\t\t\t\t\tcompressedSize: this.buffer.readUInt32LE(18),\n\t\t\t\t\t\tuncompressedSize: this.buffer.readUInt32LE(22),\n\t\t\t\t\t\tfilenameLength: this.buffer.readUInt16LE(26),\n\t\t\t\t\t\textraFieldLength: this.buffer.readUInt16LE(28),\n\t\t\t\t\t};\n\n\t\t\t\t\tzipHeader.filename = await tokenizer.readToken(new Token.StringType(zipHeader.filenameLength, 'utf-8'));\n\t\t\t\t\tawait tokenizer.ignore(zipHeader.extraFieldLength);\n\n\t\t\t\t\t// Assumes signed `.xpi` from addons.mozilla.org\n\t\t\t\t\tif (zipHeader.filename === 'META-INF/mozilla.rsa') {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'xpi',\n\t\t\t\t\t\t\tmime: 'application/x-xpinstall',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tif (zipHeader.filename.endsWith('.rels') || zipHeader.filename.endsWith('.xml')) {\n\t\t\t\t\t\tconst type = zipHeader.filename.split('/')[0];\n\t\t\t\t\t\tswitch (type) {\n\t\t\t\t\t\t\tcase '_rels':\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 'word':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'docx',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcase 'ppt':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'pptx',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcase 'xl':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'xlsx',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (zipHeader.filename.startsWith('xl/')) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'xlsx',\n\t\t\t\t\t\t\tmime: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tif (zipHeader.filename.startsWith('3D/') && zipHeader.filename.endsWith('.model')) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: '3mf',\n\t\t\t\t\t\t\tmime: 'model/3mf',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\t// The docx, xlsx and pptx file types extend the Office Open XML file format:\n\t\t\t\t\t// https://en.wikipedia.org/wiki/Office_Open_XML_file_formats\n\t\t\t\t\t// We look for:\n\t\t\t\t\t// - one entry named '[Content_Types].xml' or '_rels/.rels',\n\t\t\t\t\t// - one entry indicating specific type of file.\n\t\t\t\t\t// MS Office, OpenOffice and LibreOffice may put the parts in different order, so the check should not rely on it.\n\t\t\t\t\tif (zipHeader.filename === 'mimetype' && zipHeader.compressedSize === zipHeader.uncompressedSize) {\n\t\t\t\t\t\tlet mimeType = await tokenizer.readToken(new Token.StringType(zipHeader.compressedSize, 'utf-8'));\n\t\t\t\t\t\tmimeType = mimeType.trim();\n\n\t\t\t\t\t\tswitch (mimeType) {\n\t\t\t\t\t\t\tcase 'application/epub+zip':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'epub',\n\t\t\t\t\t\t\t\t\tmime: 'application/epub+zip',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcase 'application/vnd.oasis.opendocument.text':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'odt',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.oasis.opendocument.text',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcase 'application/vnd.oasis.opendocument.spreadsheet':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'ods',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.oasis.opendocument.spreadsheet',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tcase 'application/vnd.oasis.opendocument.presentation':\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\text: 'odp',\n\t\t\t\t\t\t\t\t\tmime: 'application/vnd.oasis.opendocument.presentation',\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Try to find next header manually when current one is corrupted\n\t\t\t\t\tif (zipHeader.compressedSize === 0) {\n\t\t\t\t\t\tlet nextHeaderIndex = -1;\n\n\t\t\t\t\t\twhile (nextHeaderIndex < 0 && (tokenizer.position < tokenizer.fileInfo.size)) {\n\t\t\t\t\t\t\tawait tokenizer.peekBuffer(this.buffer, {mayBeLess: true});\n\n\t\t\t\t\t\t\tnextHeaderIndex = this.buffer.indexOf('504B0304', 0, 'hex');\n\t\t\t\t\t\t\t// Move position to the next header if found, skip the whole buffer otherwise\n\t\t\t\t\t\t\tawait tokenizer.ignore(nextHeaderIndex >= 0 ? nextHeaderIndex : this.buffer.length);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tawait tokenizer.ignore(zipHeader.compressedSize);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tif (!(error instanceof strtok3.EndOfStreamError)) {\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\text: 'zip',\n\t\t\t\tmime: 'application/zip',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('OggS')) {\n\t\t\t// This is an OGG container\n\t\t\tawait tokenizer.ignore(28);\n\t\t\tconst type = Buffer.alloc(8);\n\t\t\tawait tokenizer.readBuffer(type);\n\n\t\t\t// Needs to be before `ogg` check\n\t\t\tif (_check(type, [0x4F, 0x70, 0x75, 0x73, 0x48, 0x65, 0x61, 0x64])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'opus',\n\t\t\t\t\tmime: 'audio/opus',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// If ' theora' in header.\n\t\t\tif (_check(type, [0x80, 0x74, 0x68, 0x65, 0x6F, 0x72, 0x61])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'ogv',\n\t\t\t\t\tmime: 'video/ogg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// If '\\x01video' in header.\n\t\t\tif (_check(type, [0x01, 0x76, 0x69, 0x64, 0x65, 0x6F, 0x00])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'ogm',\n\t\t\t\t\tmime: 'video/ogg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// If ' FLAC' in header https://xiph.org/flac/faq.html\n\t\t\tif (_check(type, [0x7F, 0x46, 0x4C, 0x41, 0x43])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'oga',\n\t\t\t\t\tmime: 'audio/ogg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// 'Speex ' in header https://en.wikipedia.org/wiki/Speex\n\t\t\tif (_check(type, [0x53, 0x70, 0x65, 0x65, 0x78, 0x20, 0x20])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'spx',\n\t\t\t\t\tmime: 'audio/ogg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// If '\\x01vorbis' in header\n\t\t\tif (_check(type, [0x01, 0x76, 0x6F, 0x72, 0x62, 0x69, 0x73])) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'ogg',\n\t\t\t\t\tmime: 'audio/ogg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Default OGG container https://www.iana.org/assignments/media-types/application/ogg\n\t\t\treturn {\n\t\t\t\text: 'ogx',\n\t\t\t\tmime: 'application/ogg',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.check([0x50, 0x4B])\n\t\t\t&& (this.buffer[2] === 0x3 || this.buffer[2] === 0x5 || this.buffer[2] === 0x7)\n\t\t\t&& (this.buffer[3] === 0x4 || this.buffer[3] === 0x6 || this.buffer[3] === 0x8)\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'zip',\n\t\t\t\tmime: 'application/zip',\n\t\t\t};\n\t\t}\n\n\t\t//\n\n\t\t// File Type Box (https://en.wikipedia.org/wiki/ISO_base_media_file_format)\n\t\t// It's not required to be first, but it's recommended to be. Almost all ISO base media files start with `ftyp` box.\n\t\t// `ftyp` box must contain a brand major identifier, which must consist of ISO 8859-1 printable characters.\n\t\t// Here we check for 8859-1 printable characters (for simplicity, it's a mask which also catches one non-printable character).\n\t\tif (\n\t\t\tthis.checkString('ftyp', {offset: 4})\n\t\t\t&& (this.buffer[8] & 0x60) !== 0x00 // Brand major, first character ASCII?\n\t\t) {\n\t\t\t// They all can have MIME `video/mp4` except `application/mp4` special-case which is hard to detect.\n\t\t\t// For some cases, we're specific, everything else falls to `video/mp4` with `mp4` extension.\n\t\t\tconst brandMajor = this.buffer.toString('binary', 8, 12).replace('\\0', ' ').trim();\n\t\t\tswitch (brandMajor) {\n\t\t\t\tcase 'avif':\n\t\t\t\tcase 'avis':\n\t\t\t\t\treturn {ext: 'avif', mime: 'image/avif'};\n\t\t\t\tcase 'mif1':\n\t\t\t\t\treturn {ext: 'heic', mime: 'image/heif'};\n\t\t\t\tcase 'msf1':\n\t\t\t\t\treturn {ext: 'heic', mime: 'image/heif-sequence'};\n\t\t\t\tcase 'heic':\n\t\t\t\tcase 'heix':\n\t\t\t\t\treturn {ext: 'heic', mime: 'image/heic'};\n\t\t\t\tcase 'hevc':\n\t\t\t\tcase 'hevx':\n\t\t\t\t\treturn {ext: 'heic', mime: 'image/heic-sequence'};\n\t\t\t\tcase 'qt':\n\t\t\t\t\treturn {ext: 'mov', mime: 'video/quicktime'};\n\t\t\t\tcase 'M4V':\n\t\t\t\tcase 'M4VH':\n\t\t\t\tcase 'M4VP':\n\t\t\t\t\treturn {ext: 'm4v', mime: 'video/x-m4v'};\n\t\t\t\tcase 'M4P':\n\t\t\t\t\treturn {ext: 'm4p', mime: 'video/mp4'};\n\t\t\t\tcase 'M4B':\n\t\t\t\t\treturn {ext: 'm4b', mime: 'audio/mp4'};\n\t\t\t\tcase 'M4A':\n\t\t\t\t\treturn {ext: 'm4a', mime: 'audio/x-m4a'};\n\t\t\t\tcase 'F4V':\n\t\t\t\t\treturn {ext: 'f4v', mime: 'video/mp4'};\n\t\t\t\tcase 'F4P':\n\t\t\t\t\treturn {ext: 'f4p', mime: 'video/mp4'};\n\t\t\t\tcase 'F4A':\n\t\t\t\t\treturn {ext: 'f4a', mime: 'audio/mp4'};\n\t\t\t\tcase 'F4B':\n\t\t\t\t\treturn {ext: 'f4b', mime: 'audio/mp4'};\n\t\t\t\tcase 'crx':\n\t\t\t\t\treturn {ext: 'cr3', mime: 'image/x-canon-cr3'};\n\t\t\t\tdefault:\n\t\t\t\t\tif (brandMajor.startsWith('3g')) {\n\t\t\t\t\t\tif (brandMajor.startsWith('3g2')) {\n\t\t\t\t\t\t\treturn {ext: '3g2', mime: 'video/3gpp2'};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn {ext: '3gp', mime: 'video/3gpp'};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn {ext: 'mp4', mime: 'video/mp4'};\n\t\t\t}\n\t\t}\n\n\t\tif (this.checkString('MThd')) {\n\t\t\treturn {\n\t\t\t\text: 'mid',\n\t\t\t\tmime: 'audio/midi',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.checkString('wOFF')\n\t\t\t&& (\n\t\t\t\tthis.check([0x00, 0x01, 0x00, 0x00], {offset: 4})\n\t\t\t\t|| this.checkString('OTTO', {offset: 4})\n\t\t\t)\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'woff',\n\t\t\t\tmime: 'font/woff',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.checkString('wOF2')\n\t\t\t&& (\n\t\t\t\tthis.check([0x00, 0x01, 0x00, 0x00], {offset: 4})\n\t\t\t\t|| this.checkString('OTTO', {offset: 4})\n\t\t\t)\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'woff2',\n\t\t\t\tmime: 'font/woff2',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xD4, 0xC3, 0xB2, 0xA1]) || this.check([0xA1, 0xB2, 0xC3, 0xD4])) {\n\t\t\treturn {\n\t\t\t\text: 'pcap',\n\t\t\t\tmime: 'application/vnd.tcpdump.pcap',\n\t\t\t};\n\t\t}\n\n\t\t// Sony DSD Stream File (DSF)\n\t\tif (this.checkString('DSD ')) {\n\t\t\treturn {\n\t\t\t\text: 'dsf',\n\t\t\t\tmime: 'audio/x-dsf', // Non-standard\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('LZIP')) {\n\t\t\treturn {\n\t\t\t\text: 'lz',\n\t\t\t\tmime: 'application/x-lzip',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('fLaC')) {\n\t\t\treturn {\n\t\t\t\text: 'flac',\n\t\t\t\tmime: 'audio/x-flac',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x42, 0x50, 0x47, 0xFB])) {\n\t\t\treturn {\n\t\t\t\text: 'bpg',\n\t\t\t\tmime: 'image/bpg',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('wvpk')) {\n\t\t\treturn {\n\t\t\t\text: 'wv',\n\t\t\t\tmime: 'audio/wavpack',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('%PDF')) {\n\t\t\ttry {\n\t\t\t\tawait tokenizer.ignore(1350);\n\t\t\t\tconst maxBufferSize = 10 * 1024 * 1024;\n\t\t\t\tconst buffer = Buffer.alloc(Math.min(maxBufferSize, tokenizer.fileInfo.size));\n\t\t\t\tawait tokenizer.readBuffer(buffer, {mayBeLess: true});\n\n\t\t\t\t// Check if this is an Adobe Illustrator file\n\t\t\t\tif (buffer.includes(Buffer.from('AIPrivateData'))) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'ai',\n\t\t\t\t\t\tmime: 'application/postscript',\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\t// Swallow end of stream error if file is too small for the Adobe AI check\n\t\t\t\tif (!(error instanceof strtok3.EndOfStreamError)) {\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Assume this is just a normal PDF\n\t\t\treturn {\n\t\t\t\text: 'pdf',\n\t\t\t\tmime: 'application/pdf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x00, 0x61, 0x73, 0x6D])) {\n\t\t\treturn {\n\t\t\t\text: 'wasm',\n\t\t\t\tmime: 'application/wasm',\n\t\t\t};\n\t\t}\n\n\t\t// TIFF, little-endian type\n\t\tif (this.check([0x49, 0x49])) {\n\t\t\tconst fileType = await this.readTiffHeader(false);\n\t\t\tif (fileType) {\n\t\t\t\treturn fileType;\n\t\t\t}\n\t\t}\n\n\t\t// TIFF, big-endian type\n\t\tif (this.check([0x4D, 0x4D])) {\n\t\t\tconst fileType = await this.readTiffHeader(true);\n\t\t\tif (fileType) {\n\t\t\t\treturn fileType;\n\t\t\t}\n\t\t}\n\n\t\tif (this.checkString('MAC ')) {\n\t\t\treturn {\n\t\t\t\text: 'ape',\n\t\t\t\tmime: 'audio/ape',\n\t\t\t};\n\t\t}\n\n\t\t// https://github.com/file/file/blob/master/magic/Magdir/matroska\n\t\tif (this.check([0x1A, 0x45, 0xDF, 0xA3])) { // Root element: EBML\n\t\t\tasync function readField() {\n\t\t\t\tconst msb = await tokenizer.peekNumber(Token.UINT8);\n\t\t\t\tlet mask = 0x80;\n\t\t\t\tlet ic = 0; // 0 = A, 1 = B, 2 = C, 3\n\t\t\t\t// = D\n\n\t\t\t\twhile ((msb & mask) === 0 && mask !== 0) {\n\t\t\t\t\t++ic;\n\t\t\t\t\tmask >>= 1;\n\t\t\t\t}\n\n\t\t\t\tconst id = Buffer.alloc(ic + 1);\n\t\t\t\tawait tokenizer.readBuffer(id);\n\t\t\t\treturn id;\n\t\t\t}\n\n\t\t\tasync function readElement() {\n\t\t\t\tconst id = await readField();\n\t\t\t\tconst lengthField = await readField();\n\t\t\t\tlengthField[0] ^= 0x80 >> (lengthField.length - 1);\n\t\t\t\tconst nrLength = Math.min(6, lengthField.length); // JavaScript can max read 6 bytes integer\n\t\t\t\treturn {\n\t\t\t\t\tid: id.readUIntBE(0, id.length),\n\t\t\t\t\tlen: lengthField.readUIntBE(lengthField.length - nrLength, nrLength),\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tasync function readChildren(children) {\n\t\t\t\twhile (children > 0) {\n\t\t\t\t\tconst element = await readElement();\n\t\t\t\t\tif (element.id === 0x42_82) {\n\t\t\t\t\t\tconst rawValue = await tokenizer.readToken(new Token.StringType(element.len, 'utf-8'));\n\t\t\t\t\t\treturn rawValue.replace(/\\00.*$/g, ''); // Return DocType\n\t\t\t\t\t}\n\n\t\t\t\t\tawait tokenizer.ignore(element.len); // ignore payload\n\t\t\t\t\t--children;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst re = await readElement();\n\t\t\tconst docType = await readChildren(re.len);\n\n\t\t\tswitch (docType) {\n\t\t\t\tcase 'webm':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'webm',\n\t\t\t\t\t\tmime: 'video/webm',\n\t\t\t\t\t};\n\n\t\t\t\tcase 'matroska':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'mkv',\n\t\t\t\t\t\tmime: 'video/x-matroska',\n\t\t\t\t\t};\n\n\t\t\t\tdefault:\n\t\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\t// RIFF file format which might be AVI, WAV, QCP, etc\n\t\tif (this.check([0x52, 0x49, 0x46, 0x46])) {\n\t\t\tif (this.check([0x41, 0x56, 0x49], {offset: 8})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'avi',\n\t\t\t\t\tmime: 'video/vnd.avi',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tif (this.check([0x57, 0x41, 0x56, 0x45], {offset: 8})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'wav',\n\t\t\t\t\tmime: 'audio/vnd.wave',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// QLCM, QCP file\n\t\t\tif (this.check([0x51, 0x4C, 0x43, 0x4D], {offset: 8})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'qcp',\n\t\t\t\t\tmime: 'audio/qcelp',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif (this.checkString('SQLi')) {\n\t\t\treturn {\n\t\t\t\text: 'sqlite',\n\t\t\t\tmime: 'application/x-sqlite3',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x4E, 0x45, 0x53, 0x1A])) {\n\t\t\treturn {\n\t\t\t\text: 'nes',\n\t\t\t\tmime: 'application/x-nintendo-nes-rom',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('Cr24')) {\n\t\t\treturn {\n\t\t\t\text: 'crx',\n\t\t\t\tmime: 'application/x-google-chrome-extension',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.checkString('MSCF')\n\t\t\t|| this.checkString('ISc(')\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'cab',\n\t\t\t\tmime: 'application/vnd.ms-cab-compressed',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xED, 0xAB, 0xEE, 0xDB])) {\n\t\t\treturn {\n\t\t\t\text: 'rpm',\n\t\t\t\tmime: 'application/x-rpm',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xC5, 0xD0, 0xD3, 0xC6])) {\n\t\t\treturn {\n\t\t\t\text: 'eps',\n\t\t\t\tmime: 'application/eps',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x28, 0xB5, 0x2F, 0xFD])) {\n\t\t\treturn {\n\t\t\t\text: 'zst',\n\t\t\t\tmime: 'application/zstd',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x7F, 0x45, 0x4C, 0x46])) {\n\t\t\treturn {\n\t\t\t\text: 'elf',\n\t\t\t\tmime: 'application/x-elf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x21, 0x42, 0x44, 0x4E])) {\n\t\t\treturn {\n\t\t\t\text: 'pst',\n\t\t\t\tmime: 'application/vnd.ms-outlook',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('PAR1')) {\n\t\t\treturn {\n\t\t\t\text: 'parquet',\n\t\t\t\tmime: 'application/x-parquet',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xCF, 0xFA, 0xED, 0xFE])) {\n\t\t\treturn {\n\t\t\t\text: 'macho',\n\t\t\t\tmime: 'application/x-mach-binary',\n\t\t\t};\n\t\t}\n\n\t\t// -- 5-byte signatures --\n\n\t\tif (this.check([0x4F, 0x54, 0x54, 0x4F, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'otf',\n\t\t\t\tmime: 'font/otf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('#!AMR')) {\n\t\t\treturn {\n\t\t\t\text: 'amr',\n\t\t\t\tmime: 'audio/amr',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('{\\\\rtf')) {\n\t\t\treturn {\n\t\t\t\text: 'rtf',\n\t\t\t\tmime: 'application/rtf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x46, 0x4C, 0x56, 0x01])) {\n\t\t\treturn {\n\t\t\t\text: 'flv',\n\t\t\t\tmime: 'video/x-flv',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('IMPM')) {\n\t\t\treturn {\n\t\t\t\text: 'it',\n\t\t\t\tmime: 'audio/x-it',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.checkString('-lh0-', {offset: 2})\n\t\t\t|| this.checkString('-lh1-', {offset: 2})\n\t\t\t|| this.checkString('-lh2-', {offset: 2})\n\t\t\t|| this.checkString('-lh3-', {offset: 2})\n\t\t\t|| this.checkString('-lh4-', {offset: 2})\n\t\t\t|| this.checkString('-lh5-', {offset: 2})\n\t\t\t|| this.checkString('-lh6-', {offset: 2})\n\t\t\t|| this.checkString('-lh7-', {offset: 2})\n\t\t\t|| this.checkString('-lzs-', {offset: 2})\n\t\t\t|| this.checkString('-lz4-', {offset: 2})\n\t\t\t|| this.checkString('-lz5-', {offset: 2})\n\t\t\t|| this.checkString('-lhd-', {offset: 2})\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'lzh',\n\t\t\t\tmime: 'application/x-lzh-compressed',\n\t\t\t};\n\t\t}\n\n\t\t// MPEG program stream (PS or MPEG-PS)\n\t\tif (this.check([0x00, 0x00, 0x01, 0xBA])) {\n\t\t\t// MPEG-PS, MPEG-1 Part 1\n\t\t\tif (this.check([0x21], {offset: 4, mask: [0xF1]})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'mpg', // May also be .ps, .mpeg\n\t\t\t\t\tmime: 'video/MP1S',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// MPEG-PS, MPEG-2 Part 1\n\t\t\tif (this.check([0x44], {offset: 4, mask: [0xC4]})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'mpg', // May also be .mpg, .m2p, .vob or .sub\n\t\t\t\t\tmime: 'video/MP2P',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif (this.checkString('ITSF')) {\n\t\t\treturn {\n\t\t\t\text: 'chm',\n\t\t\t\tmime: 'application/vnd.ms-htmlhelp',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xCA, 0xFE, 0xBA, 0xBE])) {\n\t\t\treturn {\n\t\t\t\text: 'class',\n\t\t\t\tmime: 'application/java-vm',\n\t\t\t};\n\t\t}\n\n\t\t// -- 6-byte signatures --\n\n\t\tif (this.check([0xFD, 0x37, 0x7A, 0x58, 0x5A, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'xz',\n\t\t\t\tmime: 'application/x-xz',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('<?xml ')) {\n\t\t\treturn {\n\t\t\t\text: 'xml',\n\t\t\t\tmime: 'application/xml',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x37, 0x7A, 0xBC, 0xAF, 0x27, 0x1C])) {\n\t\t\treturn {\n\t\t\t\text: '7z',\n\t\t\t\tmime: 'application/x-7z-compressed',\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.check([0x52, 0x61, 0x72, 0x21, 0x1A, 0x7])\n\t\t\t&& (this.buffer[6] === 0x0 || this.buffer[6] === 0x1)\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'rar',\n\t\t\t\tmime: 'application/x-rar-compressed',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('solid ')) {\n\t\t\treturn {\n\t\t\t\text: 'stl',\n\t\t\t\tmime: 'model/stl',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('AC')) {\n\t\t\tconst version = this.buffer.toString('binary', 2, 6);\n\t\t\tif (version.match('^d*') && version >= 1000 && version <= 1050) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'dwg',\n\t\t\t\t\tmime: 'image/vnd.dwg',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif (this.checkString('070707')) {\n\t\t\treturn {\n\t\t\t\text: 'cpio',\n\t\t\t\tmime: 'application/x-cpio',\n\t\t\t};\n\t\t}\n\n\t\t// -- 7-byte signatures --\n\n\t\tif (this.checkString('BLENDER')) {\n\t\t\treturn {\n\t\t\t\text: 'blend',\n\t\t\t\tmime: 'application/x-blender',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('!<arch>')) {\n\t\t\tawait tokenizer.ignore(8);\n\t\t\tconst string = await tokenizer.readToken(new Token.StringType(13, 'ascii'));\n\t\t\tif (string === 'debian-binary') {\n\t\t\t\treturn {\n\t\t\t\t\text: 'deb',\n\t\t\t\t\tmime: 'application/x-deb',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\text: 'ar',\n\t\t\t\tmime: 'application/x-unix-archive',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('**ACE', {offset: 7})) {\n\t\t\tawait tokenizer.peekBuffer(this.buffer, {length: 14, mayBeLess: true});\n\t\t\tif (this.checkString('**', {offset: 12})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'ace',\n\t\t\t\t\tmime: 'application/x-ace-compressed',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\t// -- 8-byte signatures --\n\n\t\tif (this.check([0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A])) {\n\t\t\t// APNG format (https://wiki.mozilla.org/APNG_Specification)\n\t\t\t// 1. Find the first IDAT (image data) chunk (49 44 41 54)\n\t\t\t// 2. Check if there is an \"acTL\" chunk before the IDAT one (61 63 54 4C)\n\n\t\t\t// Offset calculated as follows:\n\t\t\t// - 8 bytes: PNG signature\n\t\t\t// - 4 (length) + 4 (chunk type) + 13 (chunk data) + 4 (CRC): IHDR chunk\n\n\t\t\tawait tokenizer.ignore(8); // ignore PNG signature\n\n\t\t\tasync function readChunkHeader() {\n\t\t\t\treturn {\n\t\t\t\t\tlength: await tokenizer.readToken(Token.INT32_BE),\n\t\t\t\t\ttype: await tokenizer.readToken(new Token.StringType(4, 'binary')),\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tdo {\n\t\t\t\tconst chunk = await readChunkHeader();\n\t\t\t\tif (chunk.length < 0) {\n\t\t\t\t\treturn; // Invalid chunk length\n\t\t\t\t}\n\n\t\t\t\tswitch (chunk.type) {\n\t\t\t\t\tcase 'IDAT':\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'png',\n\t\t\t\t\t\t\tmime: 'image/png',\n\t\t\t\t\t\t};\n\t\t\t\t\tcase 'acTL':\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'apng',\n\t\t\t\t\t\t\tmime: 'image/apng',\n\t\t\t\t\t\t};\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tawait tokenizer.ignore(chunk.length + 4); // Ignore chunk-data + CRC\n\t\t\t\t}\n\t\t\t} while (tokenizer.position + 8 < tokenizer.fileInfo.size);\n\n\t\t\treturn {\n\t\t\t\text: 'png',\n\t\t\t\tmime: 'image/png',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x41, 0x52, 0x52, 0x4F, 0x57, 0x31, 0x00, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'arrow',\n\t\t\t\tmime: 'application/x-apache-arrow',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x67, 0x6C, 0x54, 0x46, 0x02, 0x00, 0x00, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'glb',\n\t\t\t\tmime: 'model/gltf-binary',\n\t\t\t};\n\t\t}\n\n\t\t// `mov` format variants\n\t\tif (\n\t\t\tthis.check([0x66, 0x72, 0x65, 0x65], {offset: 4}) // `free`\n\t\t\t|| this.check([0x6D, 0x64, 0x61, 0x74], {offset: 4}) // `mdat` MJPEG\n\t\t\t|| this.check([0x6D, 0x6F, 0x6F, 0x76], {offset: 4}) // `moov`\n\t\t\t|| this.check([0x77, 0x69, 0x64, 0x65], {offset: 4}) // `wide`\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'mov',\n\t\t\t\tmime: 'video/quicktime',\n\t\t\t};\n\t\t}\n\n\t\t// -- 9-byte signatures --\n\n\t\tif (this.check([0x49, 0x49, 0x52, 0x4F, 0x08, 0x00, 0x00, 0x00, 0x18])) {\n\t\t\treturn {\n\t\t\t\text: 'orf',\n\t\t\t\tmime: 'image/x-olympus-orf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('gimp xcf ')) {\n\t\t\treturn {\n\t\t\t\text: 'xcf',\n\t\t\t\tmime: 'image/x-xcf',\n\t\t\t};\n\t\t}\n\n\t\t// -- 12-byte signatures --\n\n\t\tif (this.check([0x49, 0x49, 0x55, 0x00, 0x18, 0x00, 0x00, 0x00, 0x88, 0xE7, 0x74, 0xD8])) {\n\t\t\treturn {\n\t\t\t\text: 'rw2',\n\t\t\t\tmime: 'image/x-panasonic-rw2',\n\t\t\t};\n\t\t}\n\n\t\t// ASF_Header_Object first 80 bytes\n\t\tif (this.check([0x30, 0x26, 0xB2, 0x75, 0x8E, 0x66, 0xCF, 0x11, 0xA6, 0xD9])) {\n\t\t\tasync function readHeader() {\n\t\t\t\tconst guid = Buffer.alloc(16);\n\t\t\t\tawait tokenizer.readBuffer(guid);\n\t\t\t\treturn {\n\t\t\t\t\tid: guid,\n\t\t\t\t\tsize: Number(await tokenizer.readToken(Token.UINT64_LE)),\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tawait tokenizer.ignore(30);\n\t\t\t// Search for header should be in first 1KB of file.\n\t\t\twhile (tokenizer.position + 24 < tokenizer.fileInfo.size) {\n\t\t\t\tconst header = await readHeader();\n\t\t\t\tlet payload = header.size - 24;\n\t\t\t\tif (_check(header.id, [0x91, 0x07, 0xDC, 0xB7, 0xB7, 0xA9, 0xCF, 0x11, 0x8E, 0xE6, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65])) {\n\t\t\t\t\t// Sync on Stream-Properties-Object (B7DC0791-A9B7-11CF-8EE6-00C00C205365)\n\t\t\t\t\tconst typeId = Buffer.alloc(16);\n\t\t\t\t\tpayload -= await tokenizer.readBuffer(typeId);\n\n\t\t\t\t\tif (_check(typeId, [0x40, 0x9E, 0x69, 0xF8, 0x4D, 0x5B, 0xCF, 0x11, 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B])) {\n\t\t\t\t\t\t// Found audio:\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'asf',\n\t\t\t\t\t\t\tmime: 'audio/x-ms-asf',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tif (_check(typeId, [0xC0, 0xEF, 0x19, 0xBC, 0x4D, 0x5B, 0xCF, 0x11, 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B])) {\n\t\t\t\t\t\t// Found video:\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'asf',\n\t\t\t\t\t\t\tmime: 'video/x-ms-asf',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tawait tokenizer.ignore(payload);\n\t\t\t}\n\n\t\t\t// Default to ASF generic extension\n\t\t\treturn {\n\t\t\t\text: 'asf',\n\t\t\t\tmime: 'application/vnd.ms-asf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xAB, 0x4B, 0x54, 0x58, 0x20, 0x31, 0x31, 0xBB, 0x0D, 0x0A, 0x1A, 0x0A])) {\n\t\t\treturn {\n\t\t\t\text: 'ktx',\n\t\t\t\tmime: 'image/ktx',\n\t\t\t};\n\t\t}\n\n\t\tif ((this.check([0x7E, 0x10, 0x04]) || this.check([0x7E, 0x18, 0x04])) && this.check([0x30, 0x4D, 0x49, 0x45], {offset: 4})) {\n\t\t\treturn {\n\t\t\t\text: 'mie',\n\t\t\t\tmime: 'application/x-mie',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x27, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], {offset: 2})) {\n\t\t\treturn {\n\t\t\t\text: 'shp',\n\t\t\t\tmime: 'application/x-esri-shape',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xFF, 0x4F, 0xFF, 0x51])) {\n\t\t\treturn {\n\t\t\t\text: 'j2c',\n\t\t\t\tmime: 'image/j2c',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x00, 0x00, 0x00, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A])) {\n\t\t\t// JPEG-2000 family\n\n\t\t\tawait tokenizer.ignore(20);\n\t\t\tconst type = await tokenizer.readToken(new Token.StringType(4, 'ascii'));\n\t\t\tswitch (type) {\n\t\t\t\tcase 'jp2 ':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'jp2',\n\t\t\t\t\t\tmime: 'image/jp2',\n\t\t\t\t\t};\n\t\t\t\tcase 'jpx ':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'jpx',\n\t\t\t\t\t\tmime: 'image/jpx',\n\t\t\t\t\t};\n\t\t\t\tcase 'jpm ':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'jpm',\n\t\t\t\t\t\tmime: 'image/jpm',\n\t\t\t\t\t};\n\t\t\t\tcase 'mjp2':\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'mj2',\n\t\t\t\t\t\tmime: 'image/mj2',\n\t\t\t\t\t};\n\t\t\t\tdefault:\n\t\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\tthis.check([0xFF, 0x0A])\n\t\t\t|| this.check([0x00, 0x00, 0x00, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'jxl',\n\t\t\t\tmime: 'image/jxl',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xFE, 0xFF])) { // UTF-16-BOM-LE\n\t\t\tif (this.check([0, 60, 0, 63, 0, 120, 0, 109, 0, 108], {offset: 2})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'xml',\n\t\t\t\t\tmime: 'application/xml',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn undefined; // Some unknown text based format\n\t\t}\n\n\t\t// -- Unsafe signatures --\n\n\t\tif (\n\t\t\tthis.check([0x0, 0x0, 0x1, 0xBA])\n\t\t\t|| this.check([0x0, 0x0, 0x1, 0xB3])\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'mpg',\n\t\t\t\tmime: 'video/mpeg',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x00, 0x01, 0x00, 0x00, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'ttf',\n\t\t\t\tmime: 'font/ttf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x00, 0x00, 0x01, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'ico',\n\t\t\t\tmime: 'image/x-icon',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x00, 0x00, 0x02, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'cur',\n\t\t\t\tmime: 'image/x-icon',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1])) {\n\t\t\t// Detected Microsoft Compound File Binary File (MS-CFB) Format.\n\t\t\treturn {\n\t\t\t\text: 'cfb',\n\t\t\t\tmime: 'application/x-cfb',\n\t\t\t};\n\t\t}\n\n\t\t// Increase sample size from 12 to 256.\n\t\tawait tokenizer.peekBuffer(this.buffer, {length: Math.min(256, tokenizer.fileInfo.size), mayBeLess: true});\n\n\t\tif (this.check([0x61, 0x63, 0x73, 0x70], {offset: 36})) {\n\t\t\treturn {\n\t\t\t\text: 'icc',\n\t\t\t\tmime: 'application/vnd.iccprofile',\n\t\t\t};\n\t\t}\n\n\t\t// -- 15-byte signatures --\n\n\t\tif (this.checkString('BEGIN:')) {\n\t\t\tif (this.checkString('VCARD', {offset: 6})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'vcf',\n\t\t\t\t\tmime: 'text/vcard',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tif (this.checkString('VCALENDAR', {offset: 6})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'ics',\n\t\t\t\t\tmime: 'text/calendar',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\t// `raf` is here just to keep all the raw image detectors together.\n\t\tif (this.checkString('FUJIFILMCCD-RAW')) {\n\t\t\treturn {\n\t\t\t\text: 'raf',\n\t\t\t\tmime: 'image/x-fujifilm-raf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('Extended Module:')) {\n\t\t\treturn {\n\t\t\t\text: 'xm',\n\t\t\t\tmime: 'audio/x-xm',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('Creative Voice File')) {\n\t\t\treturn {\n\t\t\t\text: 'voc',\n\t\t\t\tmime: 'audio/x-voc',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x04, 0x00, 0x00, 0x00]) && this.buffer.length >= 16) { // Rough & quick check Pickle/ASAR\n\t\t\tconst jsonSize = this.buffer.readUInt32LE(12);\n\t\t\tif (jsonSize > 12 && this.buffer.length >= jsonSize + 16) {\n\t\t\t\ttry {\n\t\t\t\t\tconst header = this.buffer.slice(16, jsonSize + 16).toString();\n\t\t\t\t\tconst json = JSON.parse(header);\n\t\t\t\t\t// Check if Pickle is ASAR\n\t\t\t\t\tif (json.files) { // Final check, assuring Pickle/ASAR format\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\text: 'asar',\n\t\t\t\t\t\t\tmime: 'application/x-asar',\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t} catch {}\n\t\t\t}\n\t\t}\n\n\t\tif (this.check([0x06, 0x0E, 0x2B, 0x34, 0x02, 0x05, 0x01, 0x01, 0x0D, 0x01, 0x02, 0x01, 0x01, 0x02])) {\n\t\t\treturn {\n\t\t\t\text: 'mxf',\n\t\t\t\tmime: 'application/mxf',\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('SCRM', {offset: 44})) {\n\t\t\treturn {\n\t\t\t\text: 's3m',\n\t\t\t\tmime: 'audio/x-s3m',\n\t\t\t};\n\t\t}\n\n\t\t// Raw MPEG-2 transport stream (188-byte packets)\n\t\tif (this.check([0x47]) && this.check([0x47], {offset: 188})) {\n\t\t\treturn {\n\t\t\t\text: 'mts',\n\t\t\t\tmime: 'video/mp2t',\n\t\t\t};\n\t\t}\n\n\t\t// Blu-ray Disc Audio-Video (BDAV) MPEG-2 transport stream has 4-byte TP_extra_header before each 188-byte packet\n\t\tif (this.check([0x47], {offset: 4}) && this.check([0x47], {offset: 196})) {\n\t\t\treturn {\n\t\t\t\text: 'mts',\n\t\t\t\tmime: 'video/mp2t',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x42, 0x4F, 0x4F, 0x4B, 0x4D, 0x4F, 0x42, 0x49], {offset: 60})) {\n\t\t\treturn {\n\t\t\t\text: 'mobi',\n\t\t\t\tmime: 'application/x-mobipocket-ebook',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x44, 0x49, 0x43, 0x4D], {offset: 128})) {\n\t\t\treturn {\n\t\t\t\text: 'dcm',\n\t\t\t\tmime: 'application/dicom',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x4C, 0x00, 0x00, 0x00, 0x01, 0x14, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46])) {\n\t\t\treturn {\n\t\t\t\text: 'lnk',\n\t\t\t\tmime: 'application/x.ms.shortcut', // Invented by us\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x62, 0x6F, 0x6F, 0x6B, 0x00, 0x00, 0x00, 0x00, 0x6D, 0x61, 0x72, 0x6B, 0x00, 0x00, 0x00, 0x00])) {\n\t\t\treturn {\n\t\t\t\text: 'alias',\n\t\t\t\tmime: 'application/x.apple.alias', // Invented by us\n\t\t\t};\n\t\t}\n\n\t\tif (this.checkString('Kaydara FBX Binary \\u0000')) {\n\t\t\treturn {\n\t\t\t\text: 'fbx',\n\t\t\t\tmime: 'application/x.autodesk.fbx', // Invented by us\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.check([0x4C, 0x50], {offset: 34})\n\t\t\t&& (\n\t\t\t\tthis.check([0x00, 0x00, 0x01], {offset: 8})\n\t\t\t\t|| this.check([0x01, 0x00, 0x02], {offset: 8})\n\t\t\t\t|| this.check([0x02, 0x00, 0x02], {offset: 8})\n\t\t\t)\n\t\t) {\n\t\t\treturn {\n\t\t\t\text: 'eot',\n\t\t\t\tmime: 'application/vnd.ms-fontobject',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0x06, 0x06, 0xED, 0xF5, 0xD8, 0x1D, 0x46, 0xE5, 0xBD, 0x31, 0xEF, 0xE7, 0xFE, 0x74, 0xB7, 0x1D])) {\n\t\t\treturn {\n\t\t\t\text: 'indd',\n\t\t\t\tmime: 'application/x-indesign',\n\t\t\t};\n\t\t}\n\n\t\t// Increase sample size from 256 to 512\n\t\tawait tokenizer.peekBuffer(this.buffer, {length: Math.min(512, tokenizer.fileInfo.size), mayBeLess: true});\n\n\t\t// Requires a buffer size of 512 bytes\n\t\tif (tarHeaderChecksumMatches(this.buffer)) {\n\t\t\treturn {\n\t\t\t\text: 'tar',\n\t\t\t\tmime: 'application/x-tar',\n\t\t\t};\n\t\t}\n\n\t\tif (this.check([0xFF, 0xFE])) { // UTF-16-BOM-BE\n\t\t\tif (this.check([60, 0, 63, 0, 120, 0, 109, 0, 108, 0], {offset: 2})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'xml',\n\t\t\t\t\tmime: 'application/xml',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tif (this.check([0xFF, 0x0E, 0x53, 0x00, 0x6B, 0x00, 0x65, 0x00, 0x74, 0x00, 0x63, 0x00, 0x68, 0x00, 0x55, 0x00, 0x70, 0x00, 0x20, 0x00, 0x4D, 0x00, 0x6F, 0x00, 0x64, 0x00, 0x65, 0x00, 0x6C, 0x00], {offset: 2})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'skp',\n\t\t\t\t\tmime: 'application/vnd.sketchup.skp',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn undefined; // Some text based format\n\t\t}\n\n\t\tif (this.checkString('-----BEGIN PGP MESSAGE-----')) {\n\t\t\treturn {\n\t\t\t\text: 'pgp',\n\t\t\t\tmime: 'application/pgp-encrypted',\n\t\t\t};\n\t\t}\n\n\t\t// Check MPEG 1 or 2 Layer 3 header, or 'layer 0' for ADTS (MPEG sync-word 0xFFE)\n\t\tif (this.buffer.length >= 2 && this.check([0xFF, 0xE0], {offset: 0, mask: [0xFF, 0xE0]})) {\n\t\t\tif (this.check([0x10], {offset: 1, mask: [0x16]})) {\n\t\t\t\t// Check for (ADTS) MPEG-2\n\t\t\t\tif (this.check([0x08], {offset: 1, mask: [0x08]})) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'aac',\n\t\t\t\t\t\tmime: 'audio/aac',\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Must be (ADTS) MPEG-4\n\t\t\t\treturn {\n\t\t\t\t\text: 'aac',\n\t\t\t\t\tmime: 'audio/aac',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// MPEG 1 or 2 Layer 3 header\n\t\t\t// Check for MPEG layer 3\n\t\t\tif (this.check([0x02], {offset: 1, mask: [0x06]})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'mp3',\n\t\t\t\t\tmime: 'audio/mpeg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Check for MPEG layer 2\n\t\t\tif (this.check([0x04], {offset: 1, mask: [0x06]})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'mp2',\n\t\t\t\t\tmime: 'audio/mpeg',\n\t\t\t\t};\n\t\t\t}\n\n\t\t\t// Check for MPEG layer 1\n\t\t\tif (this.check([0x06], {offset: 1, mask: [0x06]})) {\n\t\t\t\treturn {\n\t\t\t\t\text: 'mp1',\n\t\t\t\t\tmime: 'audio/mpeg',\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\n\tasync readTiffTag(bigEndian) {\n\t\tconst tagId = await this.tokenizer.readToken(bigEndian ? Token.UINT16_BE : Token.UINT16_LE);\n\t\tthis.tokenizer.ignore(10);\n\t\tswitch (tagId) {\n\t\t\tcase 50_341:\n\t\t\t\treturn {\n\t\t\t\t\text: 'arw',\n\t\t\t\t\tmime: 'image/x-sony-arw',\n\t\t\t\t};\n\t\t\tcase 50_706:\n\t\t\t\treturn {\n\t\t\t\t\text: 'dng',\n\t\t\t\t\tmime: 'image/x-adobe-dng',\n\t\t\t\t};\n\t\t\tdefault:\n\t\t}\n\t}\n\n\tasync readTiffIFD(bigEndian) {\n\t\tconst numberOfTags = await this.tokenizer.readToken(bigEndian ? Token.UINT16_BE : Token.UINT16_LE);\n\t\tfor (let n = 0; n < numberOfTags; ++n) {\n\t\t\tconst fileType = await this.readTiffTag(bigEndian);\n\t\t\tif (fileType) {\n\t\t\t\treturn fileType;\n\t\t\t}\n\t\t}\n\t}\n\n\tasync readTiffHeader(bigEndian) {\n\t\tconst version = (bigEndian ? Token.UINT16_BE : Token.UINT16_LE).get(this.buffer, 2);\n\t\tconst ifdOffset = (bigEndian ? Token.UINT32_BE : Token.UINT32_LE).get(this.buffer, 4);\n\n\t\tif (version === 42) {\n\t\t\t// TIFF file header\n\t\t\tif (ifdOffset >= 6) {\n\t\t\t\tif (this.checkString('CR', {offset: 8})) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'cr2',\n\t\t\t\t\t\tmime: 'image/x-canon-cr2',\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tif (ifdOffset >= 8 && (this.check([0x1C, 0x00, 0xFE, 0x00], {offset: 8}) || this.check([0x1F, 0x00, 0x0B, 0x00], {offset: 8}))) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\text: 'nef',\n\t\t\t\t\t\tmime: 'image/x-nikon-nef',\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tawait this.tokenizer.ignore(ifdOffset);\n\t\t\tconst fileType = await this.readTiffIFD(bigEndian);\n\t\t\treturn fileType ?? {\n\t\t\t\text: 'tif',\n\t\t\t\tmime: 'image/tiff',\n\t\t\t};\n\t\t}\n\n\t\tif (version === 43) {\t// Big TIFF file header\n\t\t\treturn {\n\t\t\t\text: 'tif',\n\t\t\t\tmime: 'image/tiff',\n\t\t\t};\n\t\t}\n\t}\n}\n\nexport async function fileTypeStream(readableStream, options = {}) {\n\treturn new FileTypeParser().toDetectionStream(readableStream, options);\n}\n\nexport const supportedExtensions = new Set(extensions);\nexport const supportedMimeTypes = new Set(mimeTypes);\n","import { ReadStreamTokenizer } from './ReadStreamTokenizer.js';\nimport { BufferTokenizer } from './BufferTokenizer.js';\nexport { EndOfStreamError } from 'peek-readable';\n/**\n * Construct ReadStreamTokenizer from given Stream.\n * Will set fileSize, if provided given Stream has set the .path property/\n * @param stream - Read from Node.js Stream.Readable\n * @param fileInfo - Pass the file information, like size and MIME-type of the corresponding stream.\n * @returns ReadStreamTokenizer\n */\nexport function fromStream(stream, fileInfo) {\n fileInfo = fileInfo ? fileInfo : {};\n return new ReadStreamTokenizer(stream, fileInfo);\n}\n/**\n * Construct ReadStreamTokenizer from given Buffer.\n * @param uint8Array - Uint8Array to tokenize\n * @param fileInfo - Pass additional file information to the tokenizer\n * @returns BufferTokenizer\n */\nexport function fromBuffer(uint8Array, fileInfo) {\n return new BufferTokenizer(uint8Array, fileInfo);\n}\n","export const extensions = [\n\t'jpg',\n\t'png',\n\t'apng',\n\t'gif',\n\t'webp',\n\t'flif',\n\t'xcf',\n\t'cr2',\n\t'cr3',\n\t'orf',\n\t'arw',\n\t'dng',\n\t'nef',\n\t'rw2',\n\t'raf',\n\t'tif',\n\t'bmp',\n\t'icns',\n\t'jxr',\n\t'psd',\n\t'indd',\n\t'zip',\n\t'tar',\n\t'rar',\n\t'gz',\n\t'bz2',\n\t'7z',\n\t'dmg',\n\t'mp4',\n\t'mid',\n\t'mkv',\n\t'webm',\n\t'mov',\n\t'avi',\n\t'mpg',\n\t'mp2',\n\t'mp3',\n\t'm4a',\n\t'oga',\n\t'ogg',\n\t'ogv',\n\t'opus',\n\t'flac',\n\t'wav',\n\t'spx',\n\t'amr',\n\t'pdf',\n\t'epub',\n\t'elf',\n\t'macho',\n\t'exe',\n\t'swf',\n\t'rtf',\n\t'wasm',\n\t'woff',\n\t'woff2',\n\t'eot',\n\t'ttf',\n\t'otf',\n\t'ico',\n\t'flv',\n\t'ps',\n\t'xz',\n\t'sqlite',\n\t'nes',\n\t'crx',\n\t'xpi',\n\t'cab',\n\t'deb',\n\t'ar',\n\t'rpm',\n\t'Z',\n\t'lz',\n\t'cfb',\n\t'mxf',\n\t'mts',\n\t'blend',\n\t'bpg',\n\t'docx',\n\t'pptx',\n\t'xlsx',\n\t'3gp',\n\t'3g2',\n\t'j2c',\n\t'jp2',\n\t'jpm',\n\t'jpx',\n\t'mj2',\n\t'aif',\n\t'qcp',\n\t'odt',\n\t'ods',\n\t'odp',\n\t'xml',\n\t'mobi',\n\t'heic',\n\t'cur',\n\t'ktx',\n\t'ape',\n\t'wv',\n\t'dcm',\n\t'ics',\n\t'glb',\n\t'pcap',\n\t'dsf',\n\t'lnk',\n\t'alias',\n\t'voc',\n\t'ac3',\n\t'm4v',\n\t'm4p',\n\t'm4b',\n\t'f4v',\n\t'f4p',\n\t'f4b',\n\t'f4a',\n\t'mie',\n\t'asf',\n\t'ogm',\n\t'ogx',\n\t'mpc',\n\t'arrow',\n\t'shp',\n\t'aac',\n\t'mp1',\n\t'it',\n\t's3m',\n\t'xm',\n\t'ai',\n\t'skp',\n\t'avif',\n\t'eps',\n\t'lzh',\n\t'pgp',\n\t'asar',\n\t'stl',\n\t'chm',\n\t'3mf',\n\t'zst',\n\t'jxl',\n\t'vcf',\n\t'jls',\n\t'pst',\n\t'dwg',\n\t'parquet',\n\t'class',\n\t'arj',\n\t'cpio',\n\t'ace',\n\t'avro',\n\t'icc',\n\t'fbx',\n];\n\nexport const mimeTypes = [\n\t'image/jpeg',\n\t'image/png',\n\t'image/gif',\n\t'image/webp',\n\t'image/flif',\n\t'image/x-xcf',\n\t'image/x-canon-cr2',\n\t'image/x-canon-cr3',\n\t'image/tiff',\n\t'image/bmp',\n\t'image/vnd.ms-photo',\n\t'image/vnd.adobe.photoshop',\n\t'application/x-indesign',\n\t'application/epub+zip',\n\t'application/x-xpinstall',\n\t'application/vnd.oasis.opendocument.text',\n\t'application/vnd.oasis.opendocument.spreadsheet',\n\t'application/vnd.oasis.opendocument.presentation',\n\t'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n\t'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n\t'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n\t'application/zip',\n\t'application/x-tar',\n\t'application/x-rar-compressed',\n\t'application/gzip',\n\t'application/x-bzip2',\n\t'application/x-7z-compressed',\n\t'application/x-apple-diskimage',\n\t'application/x-apache-arrow',\n\t'video/mp4',\n\t'audio/midi',\n\t'video/x-matroska',\n\t'video/webm',\n\t'video/quicktime',\n\t'video/vnd.avi',\n\t'audio/vnd.wave',\n\t'audio/qcelp',\n\t'audio/x-ms-asf',\n\t'video/x-ms-asf',\n\t'application/vnd.ms-asf',\n\t'video/mpeg',\n\t'video/3gpp',\n\t'audio/mpeg',\n\t'audio/mp4', // RFC 4337\n\t'audio/opus',\n\t'video/ogg',\n\t'audio/ogg',\n\t'application/ogg',\n\t'audio/x-flac',\n\t'audio/ape',\n\t'audio/wavpack',\n\t'audio/amr',\n\t'application/pdf',\n\t'application/x-elf',\n\t'application/x-mach-binary',\n\t'application/x-msdownload',\n\t'application/x-shockwave-flash',\n\t'application/rtf',\n\t'application/wasm',\n\t'font/woff',\n\t'font/woff2',\n\t'application/vnd.ms-fontobject',\n\t'font/ttf',\n\t'font/otf',\n\t'image/x-icon',\n\t'video/x-flv',\n\t'application/postscript',\n\t'application/eps',\n\t'application/x-xz',\n\t'application/x-sqlite3',\n\t'application/x-nintendo-nes-rom',\n\t'application/x-google-chrome-extension',\n\t'application/vnd.ms-cab-compressed',\n\t'application/x-deb',\n\t'application/x-unix-archive',\n\t'application/x-rpm',\n\t'application/x-compress',\n\t'application/x-lzip',\n\t'application/x-cfb',\n\t'application/x-mie',\n\t'application/mxf',\n\t'video/mp2t',\n\t'application/x-blender',\n\t'image/bpg',\n\t'image/j2c',\n\t'image/jp2',\n\t'image/jpx',\n\t'image/jpm',\n\t'image/mj2',\n\t'audio/aiff',\n\t'application/xml',\n\t'application/x-mobipocket-ebook',\n\t'image/heif',\n\t'image/heif-sequence',\n\t'image/heic',\n\t'image/heic-sequence',\n\t'image/icns',\n\t'image/ktx',\n\t'application/dicom',\n\t'audio/x-musepack',\n\t'text/calendar',\n\t'text/vcard',\n\t'model/gltf-binary',\n\t'application/vnd.tcpdump.pcap',\n\t'audio/x-dsf', // Non-standard\n\t'application/x.ms.shortcut', // Invented by us\n\t'application/x.apple.alias', // Invented by us\n\t'audio/x-voc',\n\t'audio/vnd.dolby.dd-raw',\n\t'audio/x-m4a',\n\t'image/apng',\n\t'image/x-olympus-orf',\n\t'image/x-sony-arw',\n\t'image/x-adobe-dng',\n\t'image/x-nikon-nef',\n\t'image/x-panasonic-rw2',\n\t'image/x-fujifilm-raf',\n\t'video/x-m4v',\n\t'video/3gpp2',\n\t'application/x-esri-shape',\n\t'audio/aac',\n\t'audio/x-it',\n\t'audio/x-s3m',\n\t'audio/x-xm',\n\t'video/MP1S',\n\t'video/MP2P',\n\t'application/vnd.sketchup.skp',\n\t'image/avif',\n\t'application/x-lzh-compressed',\n\t'application/pgp-encrypted',\n\t'application/x-asar',\n\t'model/stl',\n\t'application/vnd.ms-htmlhelp',\n\t'model/3mf',\n\t'image/jxl',\n\t'application/zstd',\n\t'image/jls',\n\t'application/vnd.ms-outlook',\n\t'image/vnd.dwg',\n\t'application/x-parquet',\n\t'application/java-vm',\n\t'application/x-arj',\n\t'application/x-cpio',\n\t'application/x-ace-compressed',\n\t'application/avro',\n\t'application/vnd.iccprofile',\n\t'application/x.autodesk.fbx', // Invented by us\n];\n","import * as Sentry from \"@sentry/react\";\nimport { Hub } from \"@sentry/react\";\nimport type { Transaction } from \"@sentry/types\";\nimport { saveAs } from \"file-saver\";\nimport { fileTypeFromBlob } from \"file-type/core\";\nimport JSZip from \"jszip\";\nimport { ApiError, UploadApiError } from \"shared/client/apiError\";\n\n//TODO: Read corresponding API endpoints from env variables\nfunction formatEndpoint(path: string) {\n const { host } = window.location;\n const protocol = \"https:\";\n if (host.indexOf(\"dev\") > -1) {\n return `${protocol}//api.dev.pulsemarket.com${path}`;\n }\n if (host.indexOf(\"qa\") > -1) {\n return `${protocol}//api.qa.pulsemarket.com${path}`;\n }\n if (host.indexOf(\"preprod\") > -1) {\n return `${protocol}//api.preprod.pulsemarket.com${path}`;\n }\n if (host.indexOf(\"sandbox\") > -1) {\n return `${protocol}//api.sandbox.pulsemarket.com${path}`;\n }\n if (host.indexOf(\"127\") > -1 || host.indexOf(\"localhost\") > -1) {\n return `http://${host}${path}`;\n }\n return `${protocol}//api.live.pulsemarket.com${path}`;\n}\n\nfunction readDataFromResponse(response: Response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (contentType === null) {\n return Promise.resolve(null);\n }\n if (contentType.startsWith(\"text/\")) {\n return response.text();\n }\n\n return response.json();\n}\n\nfunction getNewSentryTransaction(\n ...transactionParams: Parameters<typeof Sentry.startTransaction>\n): { transaction: Transaction | null; hub: Hub } {\n const hub = Sentry.getCurrentHub();\n const existingTransaction = hub.getScope()?.getTransaction();\n\n let newTransaction: Transaction | null = null;\n\n if (!existingTransaction) {\n newTransaction = Sentry.startTransaction(...transactionParams);\n\n hub.configureScope((scope) => {\n scope.setSpan(newTransaction as Transaction);\n });\n }\n\n return { transaction: newTransaction, hub };\n}\n\nfunction stopSentryTransaction({\n hub,\n transaction,\n}: {\n transaction: Transaction;\n hub: Hub;\n}) {\n transaction.finish();\n hub.configureScope((scope) => scope.setSpan(undefined));\n}\n\nexport async function getJSON<T, S = any>(\n path: string,\n name: string,\n params?: S\n): Promise<T> {\n const endpoint = formatEndpoint(path);\n\n const { transaction, hub } = getNewSentryTransaction({\n name,\n op: \"API Call\",\n data: { path, params },\n });\n\n try {\n const url = new URL(endpoint);\n if (params) {\n for (let [key, value] of Object.entries(params)) {\n if (value instanceof Date) {\n value = value.toJSON();\n }\n if (typeof value !== \"undefined\") {\n if (Array.isArray(value)) {\n const isObjectInArray = value.some((v) => typeof v === \"object\");\n if (isObjectInArray) {\n url.searchParams.set(key, JSON.stringify(value));\n } else {\n url.searchParams.set(key, value.join(\",\"));\n }\n } else if (typeof value === \"object\") {\n url.searchParams.set(key, JSON.stringify(value));\n } else {\n url.searchParams.set(key, value as string);\n }\n }\n }\n }\n\n const response = await fetch(url.href, {\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n });\n if (!response.ok) {\n const { message } = await response.json();\n throw new ApiError(response.status, message);\n }\n return (await readDataFromResponse(response)) as T;\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function postJSON<T, R = any>(\n path: string,\n name: string,\n data?: T\n) {\n const { transaction, hub } = getNewSentryTransaction({\n name: `POST ${name}`,\n op: \"API Call\",\n data: { path, data },\n });\n\n try {\n const endpoint = formatEndpoint(path);\n\n const response = await fetch(endpoint, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n body: JSON.stringify(data),\n });\n if (!response.ok) {\n const { message } = await response.json();\n throw new ApiError(response.status, message);\n }\n return (await readDataFromResponse(response)) as R;\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function putJSON<T, R = any>(\n path: string,\n name: string,\n data?: T\n) {\n const { transaction, hub } = getNewSentryTransaction({\n name: `PUT ${name}`,\n op: \"API Call\",\n data: { path, data },\n });\n\n try {\n const endpoint = formatEndpoint(path);\n\n const response = await fetch(endpoint, {\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n body: JSON.stringify(data),\n });\n if (!response.ok) {\n const { message } = await response.json();\n throw new ApiError(response.status, message);\n }\n return (await readDataFromResponse(response)) as R;\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function deleteAPI<R = any>(path: string, name: string) {\n const { transaction, hub } = getNewSentryTransaction({\n name: `DELETE ${name}`,\n op: \"API Call\",\n });\n\n try {\n const endpoint = formatEndpoint(path);\n const response = await fetch(endpoint, {\n method: \"DELETE\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n });\n if (!response.ok) {\n const { message } = await response.json();\n throw new ApiError(response.status, message);\n }\n return (await readDataFromResponse(response)) as R;\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function uploadAPI<T extends { [key: string]: any }, R = any>(\n path: string,\n name: string,\n files: File[] | File,\n body?: T\n) {\n const { transaction, hub } = getNewSentryTransaction({\n name: `POST ${name}`,\n op: \"API Call\",\n data: { body },\n });\n\n try {\n const endpoint = formatEndpoint(path);\n const formData = new FormData();\n\n if (Array.isArray(files)) {\n for (let i = 0; i < files.length; i++) {\n formData.append(files[i].name, files[i]);\n }\n } else {\n formData.append(\"file\", files);\n }\n\n if (body) {\n Object.keys(body).forEach((key) => {\n const jsonField =\n typeof body[key] !== \"object\" ? body[key] : JSON.stringify(body[key]);\n formData.append(key, jsonField);\n });\n }\n const response = await fetch(endpoint, {\n method: \"POST\",\n headers: {},\n credentials: \"include\",\n body: formData,\n });\n\n if (!response.ok) {\n const responseObj = await response.json();\n throw new UploadApiError(\n response.status,\n responseObj.message || response.statusText,\n responseObj.fileName,\n responseObj.errors\n );\n }\n return (await readDataFromResponse(response)) as R;\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function downloadZip(\n path: string,\n name: string,\n data: {\n companyId?: string;\n folderIds: string[];\n assetIds: string[];\n zipFileName: string;\n dataRoomId?: string;\n contractId?: string;\n rfpId?: string;\n postId?: string;\n groupId?: string;\n },\n open?: boolean\n) {\n const { transaction, hub } = getNewSentryTransaction({\n name: `POST ${name}`,\n op: \"API Call\",\n data: { path, data },\n });\n\n try {\n const endpoint = formatEndpoint(path);\n\n const response = await fetch(endpoint, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n body: JSON.stringify(data),\n });\n\n const zippedBlob = await response.blob();\n\n const zip = await JSZip.loadAsync(zippedBlob);\n\n const numberOfFiles = Object.keys(zip.files).length;\n\n if (open && numberOfFiles === 1) {\n const file = Object.values(zip.files)[0];\n\n const zblob = await file.async(\"arraybuffer\");\n\n const blobWithouthMime = new Blob([zblob]);\n\n const type = await fileTypeFromBlob(blobWithouthMime);\n\n if (type) {\n const blob = new Blob([blobWithouthMime], {\n type: type.mime,\n });\n const url = URL.createObjectURL(blob);\n\n const fileLink = document.createElement(\"a\");\n fileLink.href = url;\n fileLink.download = data.zipFileName;\n fileLink.target = \"_blank\";\n fileLink.click();\n fileLink.remove();\n }\n } else {\n const name = data.zipFileName.endsWith(\".zip\")\n ? data.zipFileName\n : data.zipFileName + \".zip\";\n\n saveAs(zippedBlob, name);\n }\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n\nexport async function fileGET<S = any>(\n path: string,\n name: string,\n params?: S\n): Promise<Blob> {\n const endpoint = formatEndpoint(path);\n\n const { transaction, hub } = getNewSentryTransaction({\n name: `GET ${name}`,\n op: \"API Call\",\n data: { path, params },\n });\n\n try {\n const url = new URL(endpoint);\n if (params) {\n for (let [key, value] of Object.entries(params)) {\n if (value instanceof Date) {\n value = value.toJSON();\n }\n if (typeof value !== \"undefined\") {\n if (Array.isArray(value)) {\n const isObjectInArray = value.some((v) => typeof v === \"object\");\n if (isObjectInArray) {\n url.searchParams.set(key, JSON.stringify(value));\n } else {\n url.searchParams.set(key, value.join(\",\"));\n }\n } else if (typeof value === \"object\") {\n url.searchParams.set(key, JSON.stringify(value));\n } else {\n url.searchParams.set(key, value as string);\n }\n }\n }\n }\n\n const response = await fetch(url.href, {\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n credentials: \"include\",\n });\n if (!response.ok) {\n throw new ApiError(response.status, response.statusText);\n }\n return await response.blob();\n } catch (err) {\n throw err;\n } finally {\n if (transaction) {\n stopSentryTransaction({ hub, transaction });\n }\n }\n}\n","/* eslint-disable no-template-curly-in-string */\n\nimport {\n AddYouTubeVideoInput,\n AnswerDto,\n AssessmentAccessType,\n AssetDto,\n AssetLabelDto,\n CertificateDto,\n ChangeQuestionRelevanceInput,\n CloneModulesInput,\n CloneQuestionnairesInput,\n CloneQuestionsInput,\n CommentDto,\n ConnectLabelsToQuestionsInput,\n ConnectSuppliersToGroupsInput,\n CSRDDocumentDto,\n CSRDImpactRowDto,\n DashboardItemDto,\n DeepModuleDto,\n DeepQuestionnaireDto,\n FolderDto,\n GroupDto,\n ImportMatrixInput,\n InsertMatrixColumnInput,\n InsertOrUpdateMatrixCellInput,\n MatrixAccessType,\n MatrixColumnDto,\n MatrixDataDto,\n MatrixDto,\n ModuleDto,\n NewAnswerInput,\n NewAssetLabelInput,\n NewDashboardItemInput,\n NewMatrixInput,\n NewModuleInput,\n NewQuestionInput,\n NewQuestionLabelInput,\n NewQuestionnaireInput,\n NewRfpInput,\n NewSupplierGroupInput,\n QuestionDto,\n QuestionLabelDto,\n QuestionLabelWithQuestionsDto,\n QuestionnaireDto,\n RegulationDto,\n RegulationSurveyDto,\n RfpDto,\n RfpInvitationDto,\n RfpResponseAnalysisStatus,\n RfpResponseDto,\n RfpResponseEvaluationStatus,\n RfxDashboardChartDataDto,\n RfxResponseComparisonRowDataNode,\n RfxSummaryDto,\n ScoreSettingGroupDto,\n SelectWinnerResponseInput,\n SourceAndTargetQuestionnaireDto,\n SupplierGroupDto,\n ToggleLabelOnAssetsInput,\n UnformatedQuestionWithLabelsDto,\n UpdateAssetLabelInput,\n UpdateCertificateInput,\n UpdateCSRDImpactRowInput,\n UpdateEvaluationTypeInput,\n UpdateMatrixColumnInput,\n UpdateMatrixInput,\n UpdateModuleInput,\n UpdateQuestionInput,\n UpdateQuestionLabelInput,\n UpdateQuestionnaireInput,\n UpdateRfpInput,\n UpdateRfpResponseInput,\n UpdateYouTubeVideoInput,\n} from \"@pulsemarket/api-client\";\nimport {\n AssetType,\n AttributeModelType,\n QuestionImportExportDto,\n QuestionParentModelType,\n ReportPageSettings,\n RFPType,\n TokenType,\n} from \"@pulsemarket/constants\";\nimport { LocalProductOrService } from \"components/CompanyInfo/forms/ProductsAndServices/ProductsAndServices\";\n\nimport {\n AssetSearchOptions,\n AttachmentMode,\n AttributeFilter,\n AttributeLookupTableGroupDto,\n AttributeSchemaQuery,\n AttributeTypeDto,\n CloneAssetsInput,\n CloneAttachmentsInput,\n CloneRfxParams,\n CombinedInvitationRecipientInput,\n CombinedInvitationTargetDto,\n CommentReferenceType,\n CompanyDetailsDto,\n CompanyDto,\n CompanyFilter,\n CompanyListDto,\n CompanyUpdateDto,\n ContainerType,\n CreateDataRoomInput,\n CreateDataRoomInvitationInput,\n CreateScoreSettingsInput,\n DataRoomDetailsDto,\n DataRoomDto,\n DataRoomInvitationDto,\n DisonnectSuppliersFromGroupsInput,\n Feedback,\n FolderItemDto,\n FolderListDto,\n FolderTreeFilters,\n GroupDetailsDto,\n GroupFilesDto,\n GroupFilesFilters,\n GroupInvitationStatus,\n GroupSearchOptions,\n IncomingRfpDto,\n LoginInput,\n LookupTableDataDto,\n MatrixRowDto,\n MediaItemDto,\n MessageDetailsDto,\n NewAttributeTypeInput,\n NewCertificateInput,\n NewCommentInput,\n NewFolder,\n NewGroup,\n NewImageInput,\n NewPostInput,\n NewRfpResponse,\n NewSupplierContractInput,\n NewSupplierInput,\n NewSupplierProductInput,\n NewUserCompanyRole,\n NotificationsResponse,\n PaginatedDto,\n Pair,\n PassportInvitationDto,\n PassportInvitationFilter,\n PassportItemDto,\n PassportTypeDto,\n PathDto,\n PostDto,\n PostsQueryResult,\n PostWithReferencesDto,\n ProductOrService,\n QuestionFilter,\n QuestionLabelFilter,\n ReactionDetailsDto,\n ReceivedResponseFilters,\n RegistrationInput,\n RfpFilters,\n RfpInvitationFilters,\n RfpResponseDetailedScores,\n RfpResponseFilters,\n RfpWithWeightsDto,\n Role,\n ScoreAnswerInput,\n ScoreSettingDto,\n StandardizedQuestionnaireDto,\n SupplierContractDto,\n SupplierDto,\n SupplierFilters,\n SupplierGroupFilter,\n SupplierListItemDto,\n SupplierProductDetailsDto,\n SupplierProductDto,\n SupplierProductFilter,\n UpdateAnswerInput,\n UpdateAttributeTypeInput,\n UpdateCommentInput,\n UpdateDataRoomInput,\n UpdateGroupInput,\n UpdatePostInput,\n UpdateScoreSettingsInput,\n UpdateSupplierContractInput,\n UpdateSupplierGroupInput,\n UpdateSupplierInput,\n UpdateSupplierProductInput,\n UpdateWeightsInModulesInput,\n UploadAsset,\n User,\n UserCompanyRole,\n UserDto,\n UserPreviewDto,\n} from \"../model\";\nimport {\n deleteAPI,\n downloadZip,\n fileGET,\n getJSON,\n postJSON,\n putJSON,\n uploadAPI,\n} from \"./manager\";\n\n// RFPs\nexport async function getRFPs(search?: RfpFilters): Promise<RfpDto[]> {\n const endpoint = `/api/rfp/list`;\n return await getJSON<RfpDto[], RfpFilters>(endpoint, \"/api/rfp/list\", search);\n}\n\nexport async function getIncomingRfps(\n filters?: RfpResponseFilters\n): Promise<IncomingRfpDto[]> {\n const endpoint = `/api/rfp/incoming`;\n\n return await getJSON<IncomingRfpDto[], RfpResponseFilters>(\n endpoint,\n \"/api/rfp/incoming\",\n filters\n );\n}\n\nexport async function getInvitationsByRFP(\n rfpId: string,\n filters?: RfpInvitationFilters\n): Promise<RfpInvitationDto[]> {\n const endpoint = `/api/rfp/invitations/rfp/${rfpId}`;\n\n return await getJSON<RfpInvitationDto[], RfpInvitationFilters>(\n endpoint,\n \"/api/rfp/invitations/rfp/${rfpId}\",\n filters\n );\n}\n\nexport async function getRfpInvitation(\n invitationId: string\n): Promise<RfpInvitationDto> {\n const endpoint = `/api/rfp/invitations/invitation/${invitationId}`;\n\n return getJSON<RfpInvitationDto>(\n endpoint,\n \"/api/rfp/invitations/invitation/${invitationId}\"\n );\n}\n\nexport async function getRfpInvitationByRfpId(\n rpfId: string\n): Promise<RfpInvitationDto> {\n const endpoint = `/api/rfp/invitations/received/rfp/${rpfId}`;\n\n return getJSON<RfpInvitationDto>(\n endpoint,\n \"/api/rfp/invitations/received/rfp/${rpfId}\"\n );\n}\n\nexport async function postRFP(\n rfp: NewRfpInput,\n cloneRfxParams?: CloneRfxParams\n): Promise<RfpDto> {\n const endpoint = `/api/rfp`;\n return await postJSON(endpoint, \"/api/rfp\", {\n body: {\n newRfp: rfp,\n cloneRfxParams,\n },\n });\n}\n\nexport async function getRFP(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}\");\n}\n\nexport async function getRfpByInvitationId(\n rfpInvitationId: string\n): Promise<{ id: string; name: string; type: RFPType }> {\n const endpoint = `/api/rfp/invitation/${rfpInvitationId}`;\n return await getJSON(endpoint, \"/api/rfp/invitation/${rfpInvitationId}\");\n}\n\nexport async function getRFPWeights(rfpId: string): Promise<RfpWithWeightsDto> {\n const endpoint = `/api/rfp/${rfpId}/weights`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}/weights\");\n}\n\nexport async function sendRFP(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/send`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/send\");\n}\n\nexport async function reviewRfp(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/review`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/review\");\n}\n\nexport async function editRfp(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/edit`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/edit\");\n}\n\nexport async function startAnalyticalReview(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/analyticalReview`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/analyticalReview\");\n}\n\nexport async function markDocumentToBeEvaluated(\n rfpId: string\n): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/evaluate`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/evaluate\");\n}\n\nexport async function completeQuestionnaire(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/complete`;\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/complete\");\n}\n\nexport async function updateRFP(\n rfpId: string,\n updatedRFP: UpdateRfpInput\n): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}`;\n return await putJSON(endpoint, \"/api/rfp/${rfpId}\", { rfp: updatedRFP });\n}\n\nexport async function deleteRFPAttachment(\n assetId: string\n): Promise<QuestionDto | QuestionnaireDto | ModuleDto> {\n const endpoint = `/api/rfp/attachment/${assetId}`;\n return await deleteAPI(endpoint, \"/api/rfp/attachment/${assetId}\");\n}\n\nexport async function updateWeightsInModules({\n moduleWeights,\n rfpId,\n}: UpdateWeightsInModulesInput & {\n rfpId: string;\n companyId: string;\n}): Promise<ModuleDto[]> {\n const endpoint = `/api/rfp/${rfpId}/weights`;\n return await putJSON(endpoint, \"/api/rfp/${rfpId}/weights\", {\n moduleWeights,\n });\n}\n\nexport async function updateRfpEvaluationType({\n evaluationType,\n rfpId,\n}: UpdateEvaluationTypeInput & {\n rfpId: string;\n}): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}/evaluationType`;\n return await putJSON(endpoint, \"/api/rfp/${rfpId}/evaluationType\", {\n evaluationType,\n });\n}\n\nexport async function getRfpScoreSettingGroups({\n rfpId,\n}: {\n rfpId: string;\n}): Promise<ScoreSettingGroupDto[]> {\n const endpoint = `/api/rfp/${rfpId}/score_setting_groups`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}/score_setting_groups\");\n}\n\nexport async function createRfpScoreSettingGroup({\n newScoreSettingsGroup,\n}: {\n newScoreSettingsGroup: CreateScoreSettingsInput;\n}): Promise<ScoreSettingGroupDto> {\n const endpoint = `/api/score_settings/`;\n return await postJSON(\n endpoint,\n \"/api/score_settings/\",\n newScoreSettingsGroup\n );\n}\n\nexport async function editScoreSettingGroup({\n scoreSettingsGroupId: id,\n scoreSettings,\n isDefault,\n title,\n}: UpdateScoreSettingsInput): Promise<ScoreSettingGroupDto> {\n const endpoint = `/api/score_settings/${id}`;\n return await putJSON(endpoint, \"/api/score_settings/${id}\", {\n title,\n scoreSettings,\n isDefault,\n });\n}\n\nexport async function getRfpScoreSettings({\n rfpId,\n}: {\n rfpId: string;\n}): Promise<ScoreSettingDto[]> {\n const endpoint = `/api/rfp/${rfpId}/score_settings`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}/score_settings\");\n}\n\nexport async function deleteScoreSettingsGroup(\n scoreSettingsGroupId: string\n): Promise<void> {\n const endpoint = `/api/score_settings/${scoreSettingsGroupId}`;\n return await deleteAPI(\n endpoint,\n \"/api/score_settings/${scoreSettingsGroupId}\"\n );\n}\n\nexport async function setScoreGroupOnRfp({\n scoreSettingsGroupId,\n rfpId,\n}: {\n rfpId: string;\n scoreSettingsGroupId: string;\n}): Promise<ScoreSettingGroupDto> {\n const endpoint = `/api/rfp/${rfpId}/score_setting_group/${scoreSettingsGroupId}`;\n return await postJSON(\n endpoint,\n \"/api/rfp/${rfpId}/score_setting_group/${scoreSettingsGroupId}\"\n );\n}\n\nexport async function getRfxDashboardChartData(): Promise<\n RfxDashboardChartDataDto[]\n> {\n const endpoint = `/api/rfp/dashboard/chart`;\n return await getJSON(endpoint, \"/api/rfp/dashboard/chart\");\n}\n\nexport async function getRfxSummary({\n rfxId,\n}: {\n rfxId: string;\n}): Promise<RfxSummaryDto> {\n const endpoint = `/api/rfp/${rfxId}/summary`;\n return await getJSON(endpoint, \"/api/rfp/${rfxId}/summary\");\n}\n\nexport async function getRfxComparison({\n rfxId,\n}: {\n rfxId: string;\n}): Promise<RfxResponseComparisonRowDataNode[]> {\n const endpoint = `/api/rfp/${rfxId}/comparison`;\n return await getJSON(endpoint, \"/api/rfp/${rfxId}/comparison\");\n}\n\nexport async function deleteRFP(rfpId: string): Promise<RfpDto> {\n const endpoint = `/api/rfp/${rfpId}`;\n return await deleteAPI(endpoint, \"/api/rfp/${rfpId}\");\n}\n\n// RFP Modules\n\nexport async function getRFPModules(rfpId: string): Promise<DeepModuleDto[]> {\n const endpoint = `/api/rfp/${rfpId}/modules`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}/modules\");\n}\n\nexport async function addModuleToRFP(\n rfpId: string,\n module: NewModuleInput\n): Promise<ModuleDto> {\n const endpoint = `/api/rfp/${rfpId}/modules`;\n\n return await postJSON(endpoint, \"/api/rfp/${rfpId}/modules\", { module });\n}\n\nexport async function updateModule(\n moduleId: string,\n module: UpdateModuleInput\n): Promise<ModuleDto> {\n const endpoint = `/api/modules/${moduleId}`;\n\n return await putJSON(endpoint, \"/api/modules/${moduleId}\", { module });\n}\n\nexport async function deleteModule(moduleId: string): Promise<void> {\n const endpoint = `/api/modules/${moduleId}`;\n\n return await deleteAPI(endpoint, \"/api/modules/${moduleId}\");\n}\n\nexport async function uploadModuleAttachment(\n moduleId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<ModuleDto> {\n const endpoint = `/api/modules/${moduleId}/upload`;\n\n return await uploadAPI(endpoint, \"/api/modules/${moduleId}/upload\", files, {\n mode,\n });\n}\n\nexport async function cloneAssetsToModule(\n moduleId: string,\n data: {\n assetIds: string[];\n mode: AttachmentMode;\n }\n): Promise<ModuleDto> {\n const endpoint = `/api/modules/${moduleId}/clone`;\n\n return postJSON(endpoint, \"/api/modules/${moduleId}/clone\", data);\n}\n\nexport async function copyModules(\n data: CloneModulesInput\n): Promise<DeepModuleDto[]> {\n const endpoint = `/api/modules/copy`;\n return await postJSON(endpoint, \"/api/modules/copy\", data);\n}\n\n// Questionnaires\n\nexport async function addQuestionnaireToModule(\n moduleId: string,\n questionnaire: NewQuestionnaireInput\n): Promise<DeepQuestionnaireDto> {\n const endpoint = `/api/modules/${moduleId}/questionnaires`;\n return await postJSON(endpoint, \"/api/modules/${moduleId}/questionnaires\", {\n questionnaire,\n });\n}\n\nexport async function updateQuestionnaire(\n questionnaireId: string,\n questionnaire: UpdateQuestionnaireInput\n): Promise<QuestionnaireDto> {\n const endpoint = `/api/questionnaires/${questionnaireId}`;\n\n return await putJSON(endpoint, \"/api/questionnaires/${questionnaireId}\", {\n questionnaire,\n });\n}\n\nexport async function deleteQuestionnaire(questionnaireId: string) {\n const endpoint = `/api/questionnaires/${questionnaireId}`;\n\n return await deleteAPI(endpoint, \"/api/questionnaires/${questionnaireId}\");\n}\n\nexport async function uploadQuestionnaireAttachment(\n questionnaireId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<QuestionnaireDto> {\n const endpoint = `/api/questionnaires/${questionnaireId}/upload`;\n\n return await uploadAPI(\n endpoint,\n \"/api/questionnaires/${questionnaireId}/upload\",\n files,\n { mode }\n );\n}\n\nexport async function cloneAssetsToQuestionnaire(\n questionnaireId: string,\n data: {\n assetIds: string[];\n mode: AttachmentMode;\n }\n): Promise<QuestionnaireDto> {\n const endpoint = `/api/questionnaires/${questionnaireId}/clone`;\n\n return postJSON(\n endpoint,\n \"/api/questionnaires/${questionnaireId}/clone\",\n data\n );\n}\n\nexport async function copyQuestionnaires(\n data: CloneQuestionnairesInput\n): Promise<DeepQuestionnaireDto[]> {\n const endpoint = `/api/questionnaires/copy`;\n return await postJSON(endpoint, \"/api/questionnaires/copy\", data);\n}\n\n// Questions\n\nexport async function getQuestions({\n filters,\n}: {\n filters: QuestionFilter;\n}): Promise<UnformatedQuestionWithLabelsDto[]> {\n const endpoint = `/api/questions`;\n return await getJSON(endpoint, \"/api/questions\", filters);\n}\n\nexport async function addQuestionToQuestionnaire(\n questionnaireId: string,\n question: NewQuestionInput\n): Promise<QuestionDto> {\n const endpoint = `/api/questionnaires/${questionnaireId}/question`;\n\n return await postJSON(\n endpoint,\n \"/api/questionnaires/${questionnaireId}/question\",\n { question }\n );\n}\n\nexport async function addQuestionsToQuestionnaire(\n questionnaireId: string,\n questions: QuestionImportExportDto[]\n): Promise<void> {\n const endpoint = `/api/questionnaires/${questionnaireId}/questions`;\n\n return await postJSON(\n endpoint,\n \"/api/questionnaires/${questionnaireId}/questions\",\n { questions }\n );\n}\n\nexport async function updateQuestion(\n questionId: string,\n question: UpdateQuestionInput\n): Promise<QuestionDto> {\n const endpoint = `/api/questions/${questionId}`;\n\n return await putJSON(endpoint, \"/api/questions/${questionId}\", { question });\n}\n\nexport async function deleteQuestion(questionId: string) {\n const endpoint = `/api/questions/${questionId}`;\n\n return await deleteAPI(endpoint, \"/api/questions/${questionId}\");\n}\n\nexport async function uploadQuestionAttachment(\n questionId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<QuestionDto> {\n const endpoint = `/api/questions/${questionId}/upload`;\n\n return await uploadAPI(\n endpoint,\n \"/api/questions/${questionId}/upload\",\n files,\n { mode }\n );\n}\n\nexport async function cloneAssetsToQuestion(\n questionId: string,\n data: {\n assetIds: string[];\n mode: AttachmentMode;\n }\n): Promise<QuestionDto> {\n const endpoint = `/api/questions/${questionId}/clone`;\n\n return postJSON(endpoint, \"/api/questions/${questionId}/clone\", data);\n}\n\nexport async function copyQuestions(\n data: CloneQuestionsInput\n): Promise<QuestionDto[]> {\n const endpoint = `/api/questions/copy`;\n return await postJSON(endpoint, \"/api/questions/copy\", data);\n}\n\nexport async function moveQuestion({\n sourceQuestionId,\n targetQuestionId,\n}: {\n sourceQuestionId: string;\n targetQuestionId: string;\n}): Promise<SourceAndTargetQuestionnaireDto> {\n const endpoint = `/api/questions/${targetQuestionId}/move`;\n return await postJSON(endpoint, \"/api/questions/${targetQuestionId}/move\", {\n sourceQuestionId,\n });\n}\n\nexport async function changeQuestionsRelevance(\n params: ChangeQuestionRelevanceInput\n): Promise<QuestionDto[]> {\n const endpoint = `/api/questions/set/relevance`;\n return await putJSON(endpoint, \"/api/questions/set/relevance\", {\n body: params,\n });\n}\n\n// RFP Response\nexport async function getRFPresponsesByRfpId(\n rfpId: string,\n filters?: ReceivedResponseFilters\n): Promise<{ responses: RfpResponseDto[]; winnerResponseId?: string }> {\n const endpoint = `/api/rfp/${rfpId}/responses`;\n return await getJSON(endpoint, \"/api/rfp/${rfpId}/responses\", filters);\n}\n\nexport async function selectWinnerResponse(\n rfpId: string,\n body: SelectWinnerResponseInput\n): Promise<string | void> {\n const endpoint = `/api/rfp/${rfpId}/selectWinner`;\n return await putJSON<SelectWinnerResponseInput>(\n endpoint,\n \"/api/rfp/${rfpId}/selectWinner\",\n body\n );\n}\n\nexport async function getRFPresponse(\n rfpResponseId: string\n): Promise<RfpResponseDto> {\n const endpoint = `/api/responses/${rfpResponseId}`;\n return await getJSON(endpoint, \"/api/responses/${rfpResponseId}\");\n}\n\nexport async function getRFPresponseEvaluationDetails(\n rfpResponseId: string\n): Promise<RfpResponseDetailedScores> {\n const endpoint = `/api/responses/${rfpResponseId}/evaluation`;\n return await getJSON(endpoint, \"/api/responses/${rfpResponseId}/evaluation\");\n}\n\nexport async function createRFPResponse(\n rfpResponse: NewRfpResponse\n): Promise<RfpResponseDto> {\n const endpoint = `/api/responses/`;\n return await postJSON<{ rfpResponse: NewRfpResponse }>(\n endpoint,\n \"/api/responses/\",\n {\n rfpResponse,\n }\n );\n}\n\nexport async function editRFPResponse(\n rfpResponse: UpdateRfpResponseInput & { id: string }\n): Promise<RfpResponseDto> {\n const endpoint = `/api/responses/${rfpResponse.id}`;\n return await putJSON(endpoint, \"/api/responses/${rfpResponse.id}\", {\n rfpResponse,\n });\n}\n\nexport async function setResponseEvaluationStatus({\n responseId,\n evaluationStatus,\n}: {\n responseId: string;\n evaluationStatus: RfpResponseEvaluationStatus;\n}): Promise<RfpResponseDto> {\n const endpoint = `/api/responses/${responseId}`;\n\n return await putJSON(endpoint, \"/api/responses/${responseId}\", {\n rfpResponse: { evaluationStatus },\n });\n}\n\nexport async function setResponseAnalysisStatus({\n responseId,\n analysisStatus,\n}: {\n responseId: string;\n analysisStatus: RfpResponseAnalysisStatus;\n}): Promise<RfpResponseDto> {\n const endpoint = `/api/responses/${responseId}`;\n\n return await putJSON(endpoint, \"/api/responses/${responseId}\", {\n rfpResponse: { analysisStatus },\n });\n}\n\n// Answer\n\nexport async function getAnswer(answerId: string): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}`;\n return getJSON(endpoint, \"/api/answers/answerId\");\n}\n\nexport async function getAnswersByRfxId(rfxId: string): Promise<AnswerDto[]> {\n const endpoint = `/api/answers/rfx/${rfxId}/answers`;\n return await getJSON(endpoint, \"/api/answers/rfx/${rfxId}/answers\");\n}\n\n/**\n * @deprecated - This is nowhere used on frontend\n */\nexport async function getRFPModuleQuestionnaireAnswers(\n companyId: string, // The writer of the answer\n questionnaireId: string,\n rfpResponseId: string\n): Promise<AnswerDto[]> {\n const endpoint = `/api/answers/companies/${companyId}/questionnaire/${questionnaireId}/rfpResponse/${rfpResponseId}`;\n return await getJSON(\n endpoint,\n \"/api/answers/companies/${companyId}/questionnaire/${questionnaireId}/rfpResponse/${rfpResponseId}\"\n );\n}\nexport async function getAnswersByRFPResponseId(\n rfpResponseId: string\n): Promise<AnswerDto[]> {\n const endpoint = `/api/responses/${rfpResponseId}/answers`;\n return await getJSON(endpoint, \"/api/responses/${rfpResponseId}/answers\");\n}\n\nexport async function addAnswerToQuestion(\n rfpResponseId: string,\n answer: NewAnswerInput\n): Promise<AnswerDto> {\n const endpoint = `/api/responses/${rfpResponseId}/answers`;\n return await postJSON(endpoint, \"/api/responses/${rfpResponseId}/answers\", {\n answer,\n });\n}\n\nexport async function updateAnswer(\n answerId: string,\n answer: UpdateAnswerInput\n): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}`;\n\n return await putJSON(endpoint, \"/api/answers/${answerId}\", { answer });\n}\n\nexport async function deleteAnswer(answerId: string) {\n const endpoint = `/api/answers/${answerId}`;\n return await deleteAPI(endpoint, \"/api/answers/${answerId}\");\n}\n\nexport async function addScoreToAnswer({\n answerId,\n score,\n}: {\n answerId: string;\n score: number;\n}): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}/score`;\n\n return await postJSON<ScoreAnswerInput>(\n endpoint,\n \"/api/answers/${answerId}/score\",\n { score }\n );\n}\n\nexport async function cloneAssetsToAnswer(\n answerId: string,\n data: {\n rfpResponseId: string;\n assetIds: string[];\n choiceId?: string;\n }\n): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}/attachment/clone`;\n\n return await postJSON(endpoint, \"/api/answers/${answerId}/attachment/clone\", {\n answerAttachment: data,\n });\n}\n\nexport async function uploadAssetToAnswer(\n answerId: string,\n files: File[],\n choiceId?: string\n): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}/attachment/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/answers/${answerId}/attachment/upload\",\n files,\n {\n answerAttachment: {\n choiceId,\n },\n }\n );\n}\n\nexport async function deleteAnswerAttachment(\n answerId: string,\n assetId: string\n): Promise<AnswerDto> {\n const endpoint = `/api/answers/${answerId}/attachment/${assetId}`;\n return await deleteAPI(\n endpoint,\n \"/api/answers/${answerId}/attachment/${assetId}\"\n );\n}\n\n//Auth\n\nexport async function register(\n params: RegistrationInput\n): Promise<{ userId: string; companyId: string }> {\n const endpoint = `/api/auth/register`;\n return await postJSON<RegistrationInput>(\n endpoint,\n \"/api/auth/register\",\n params\n );\n}\n\nexport async function logIn({\n params,\n}: {\n params: LoginInput;\n}): Promise<{ userId: string; companyId: string }> {\n const endpoint = `/api/auth/login`;\n return await postJSON<LoginInput>(endpoint, \"/api/auth/login\", params);\n}\n\nexport async function loginWithToken(token: string): Promise<UserDto> {\n const endpoint = `/api/auth/login_token`;\n return await postJSON(endpoint, \"/api/auth/login_token\", { token });\n}\n\nexport async function forgotPassword(email: string): Promise<{\n email: string;\n}> {\n const endpoint = `/api/auth/forgot_password`;\n return await postJSON(endpoint, \"/api/auth/forgot_password\", { email });\n}\n\nexport async function resetPassword({\n password,\n token,\n}: {\n password: string;\n token: string;\n}): Promise<{\n email: string;\n}> {\n const endpoint = `/api/auth/reset_password`;\n return await postJSON(endpoint, \"/api/auth/reset_password\", {\n password,\n token,\n });\n}\n\nexport async function logOut() {\n const endpoint = `/api/auth/logout`;\n return await postJSON<LoginInput>(endpoint, \"/api/auth/logout\");\n}\n\nexport async function getInviterCompany(\n companyMemberInvitationToken: string\n): Promise<CompanyDto> {\n const endpoint = `/api/auth/invitation/${companyMemberInvitationToken}`;\n return await getJSON(\n endpoint,\n \"/api/auth/invitation/${companyMemberInvitationToken}\"\n );\n}\n\nexport async function renewToken(): Promise<{\n userId: string;\n companyId: string;\n}> {\n const endpoint = `/api/auth/token`;\n return await postJSON(endpoint, \"/api/auth/token\");\n}\n\nexport async function verifyToken({\n token,\n type,\n}: {\n token: string;\n type: TokenType;\n}): Promise<{\n userId: string;\n companyId: string;\n}> {\n const endpoint = `/api/auth/verify_token`;\n return await postJSON(endpoint, \"/api/auth/verify_token\", { token, type });\n}\n\nexport async function verifyEmail({ token }: { token: string }): Promise<{\n userId: string;\n companyId: string;\n}> {\n const endpoint = `/api/auth/verify_email`;\n return await postJSON(endpoint, \"/api/auth/verify_email\", { token });\n}\n\nexport async function resendVerifyEmail(email: string): Promise<{\n email: string;\n}> {\n const endpoint = `/api/auth/send_verification_email`;\n return await postJSON(endpoint, \"/api/auth/send_verification_email\", {\n email,\n });\n}\n\n// User\nexport async function getUser(userId: string): Promise<UserDto> {\n const endpoint = `/api/users/${userId}`;\n return await getJSON(endpoint, \"/api/users/${userId}\");\n}\n\nexport async function inviteCompanyMembers(\n companyId: string,\n invitationEmailList: string[]\n) {\n const endpoint = `/api/companies/${companyId}/invitations`;\n return await postJSON<{ invitationEmailList: string[] }>(\n endpoint,\n \"/api/companies/${companyId}/invitations\",\n {\n invitationEmailList,\n }\n );\n}\n\nexport async function resendMemberInvitation({\n companyId,\n invitationId,\n}: {\n companyId: string;\n invitationId: string;\n}) {\n const endpoint = `/api/companies/${companyId}/invitations/${invitationId}`;\n return await postJSON(\n endpoint,\n \"/api/companies/${companyId}/invitations/${invitationId}\",\n {}\n );\n}\n\nexport async function getCompanyMembers(companyId: string) {\n const endpoint = `/api/users/${companyId}/users`;\n return await getJSON<UserDto[]>(endpoint, \"/api/users/${companyId}/users\");\n}\n\nexport async function getUserCompanies(userId: string): Promise<string[]> {\n const endpoint = `/api/users/${userId}/companies`;\n const response = await getJSON<string[]>(\n endpoint,\n \"/api/users/${userId}/companies\"\n );\n return response;\n}\n\nexport async function updateSelf(user: Partial<User>): Promise<UserDto> {\n const endpoint = `/api/users/update`;\n return await putJSON(endpoint, \"/api/users/update\", { user });\n}\n\nexport async function switchCompany({\n activeCompanyId,\n}: {\n activeCompanyId: string;\n}): Promise<UserDto> {\n const endpoint = `/api/users/company/switch`;\n return await putJSON(endpoint, \"/api/users/company/switch\", {\n body: { activeCompanyId },\n });\n}\n\nexport async function connectToCompany(\n companyMemeberInvitationToken: string,\n companyId: string\n): Promise<boolean> {\n const endpoint = `/api/users/connectCompanyMemberInvitation/${companyMemeberInvitationToken}`;\n return await putJSON(\n endpoint,\n \"/api/users/connectCompanyMemberInvitation/${companyMemeberInvitationToken}\",\n { companyId }\n );\n}\n\nexport async function connectToRFP(\n rfpInvitationToken: string,\n companyId: string\n): Promise<boolean> {\n const endpoint = `/api/users/connectRFPInvitation/${rfpInvitationToken}`;\n return await putJSON(\n endpoint,\n \"/api/users/connectRFPInvitation/${rfpInvitationToken}\",\n { companyId }\n );\n}\n\nexport async function connectToGroup(\n groupInvitationToken: string,\n companyId: string\n): Promise<boolean> {\n const endpoint = `/api/users/connectGroupInvitation/${groupInvitationToken}`;\n return await putJSON(\n endpoint,\n \"/api/users/connectGroupInvitation/${groupInvitationToken}\",\n { companyId }\n );\n}\n\nexport async function getCompany(id: string): Promise<CompanyDetailsDto> {\n const endpoint = `/api/companies/${id}`;\n return await getJSON(endpoint, \"/api/companies/${id}\");\n}\n\nexport async function createCompany(companyName: string): Promise<CompanyDto> {\n const endpoint = `/api/companies/create`;\n return await postJSON(endpoint, \"/api/companies/create\", { companyName });\n}\n\n// Asset Repository\nexport async function getAssetRepositoryAllFolders(\n companyId: string\n): Promise<FolderDto> {\n const endpoint = `/api/companies/${companyId}/folders`;\n return await getJSON(endpoint, \"/api/companies/${companyId}/folders\");\n}\n\nexport async function getAssetRepositoryFolderPath(\n companyId: string,\n folderId: string\n): Promise<PathDto[]> {\n const endpoint = `/api/companies/${companyId}/folders/${folderId}/path`;\n return await getJSON(\n endpoint,\n \"/api/companies/${companyId}/folders/${folderId}/path\"\n );\n}\n\nexport async function searchAssets(\n companyId: string,\n searchOptions: AssetSearchOptions\n): Promise<FolderItemDto[]> {\n const endpoint = `/api/companies/${companyId}/folders/search`;\n return await postJSON<{ searchOptions: AssetSearchOptions }, FolderItemDto[]>(\n endpoint,\n \"/api/companies/${companyId}/folders/search\",\n { searchOptions }\n );\n}\n\nexport async function searchDataRoomAssets(\n companyId: string,\n searchOptions: AssetSearchOptions\n): Promise<FolderItemDto[]> {\n const endpoint = `/api/companies/${companyId}/datarooms/folders`;\n return await postJSON<{ searchOptions: AssetSearchOptions }, FolderItemDto[]>(\n endpoint,\n \"/api/companies/${companyId}/datarooms/folders\",\n { searchOptions }\n );\n}\n\n// Assets\n\nexport async function getAssets(companyId: string): Promise<AssetDto[]> {\n const endpoint = `/api/assets/${companyId}/\"\"`;\n return await getJSON(endpoint, '/api/assets/${companyId}/\"\"');\n}\n\nexport async function getAssetBlobUrls(\n assetIds: string[],\n openInNewTab?: boolean,\n fileNamePrefix?: string\n): Promise<{ assetId: string; blobUrl: string }[]> {\n const endpoint = `/api/companies/assets/download`;\n return await postJSON(endpoint, \"/api/companies/assets/download\", {\n assetIds,\n openInNewTab,\n fileNamePrefix,\n });\n}\n\nexport async function uploadAsset(\n companyId: string,\n folderId: string,\n files: File[]\n): Promise<string> {\n const endpoint = `/api/companies/${companyId}/folders/${folderId}/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/companies/${companyId}/folders/${folderId}/upload\",\n files\n );\n}\n\nexport async function cloneAssetsToFolder({\n assetIds,\n folderId,\n companyId,\n}: {\n assetIds: string[];\n folderId: string;\n companyId: string;\n}): Promise<FolderItemDto> {\n const endpoint = `/api/companies/${companyId}/folders/clone/${folderId}`;\n return await postJSON(\n endpoint,\n \"/api/companies/${companyId}/folders/clone/${folderId}\",\n {\n assetIds,\n }\n );\n}\n\nexport async function putAsset(asset: UploadAsset): Promise<UploadAsset> {\n const endpoint = `/api/companies/${asset.companyId}/folders/\n ${asset.id || \"\"}`;\n return await putJSON(\n endpoint,\n '/api/companies/${asset.companyId}/folders/${asset.id || \"\"}',\n asset\n );\n}\n\nexport async function moveAsset(\n companyId: string,\n assetId: string,\n newFolderId: string\n) {\n const endpoint = `/api/companies/${companyId}/assets/${assetId}/move/${newFolderId}`;\n return await putJSON(\n endpoint,\n \"/api/companies/${companyId}/assets/${assetId}/move/${newFolderId}\",\n { assetId, newFolderId }\n );\n}\n\nexport async function changeAssetType(\n companyId: string,\n assetId: string,\n newType: AssetType\n) {\n const endpoint = `/api/companies/${companyId}/assets/${assetId}/type/${newType}`;\n return await putJSON<FolderDto>(\n endpoint,\n \"/api/companies/${companyId}/assets/${assetId}/type/${newType}\"\n );\n}\n\nexport async function renameAsset(\n companyId: string,\n assetId: string,\n newName: string\n) {\n const endpoint = `/api/companies/${companyId}/assets/${assetId}/rename/${newName}`;\n return await putJSON<FolderDto>(\n endpoint,\n \"/api/companies/${companyId}/assets/${assetId}/rename/${newName}\"\n );\n}\n\nexport async function deleteAsset(\n companyId: string,\n assetId: string,\n containerType: ContainerType\n) {\n const endpoint = `/api/companies/${companyId}/assets/${assetId}/${containerType}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/assets/${assetId}/${containerType}\"\n );\n}\n\n// Folders\nexport async function getAllFolders(\n companyId: string,\n filters?: FolderTreeFilters\n): Promise<FolderListDto> {\n const endpoint = `/api/companies/${companyId}/folders`;\n return await getJSON(\n endpoint,\n \"/api/companies/${companyId}/folders\",\n filters\n );\n}\n\nexport async function postFolder(\n companyId: string,\n parentFolderId: string | \"null\",\n newFolder: NewFolder\n) {\n const endpoint = `/api/companies/${companyId}/folders/${parentFolderId}`;\n return await postJSON<{ newFolder: NewFolder }>(\n endpoint,\n \"/api/companies/${companyId}/folders/${parentFolderId}\",\n { newFolder }\n );\n}\n\nexport async function renameFolder(\n companyId: string,\n folderId: string,\n newName: string\n) {\n const endpoint = `/api/companies/${companyId}/folders/${folderId}/rename/${newName}`;\n return await putJSON<FolderDto>(\n endpoint,\n \"/api/companies/${companyId}/folders/${folderId}/rename/${newName}\"\n );\n}\n\nexport async function deleteFolder(folderId: string) {\n const endpoint = `/api/companies/folders/${folderId}`;\n return await deleteAPI(endpoint, \"/api/companies/folders/${folderId}\");\n}\n\n/** Would be much cleaner if we stored the container details on the asset table */\nexport async function download(\n companyId: string,\n folderIds: string[],\n assetIds: string[],\n zipFileName: string,\n context: {\n dataRoomId?: string;\n contractId?: string;\n rfpId?: string;\n postId?: string;\n groupId?: string;\n },\n open?: boolean\n) {\n const endpoint = `/api/companies/downloadzip`;\n await downloadZip(\n endpoint,\n \"/api/companies/downloadzip\",\n {\n companyId,\n folderIds,\n assetIds,\n zipFileName,\n ...context,\n },\n open\n );\n}\n\n// Asset labels\nexport async function getAssetLabels(\n companyId: string\n): Promise<AssetLabelDto[]> {\n const endpoint = `/api/companies/${companyId}/labels`;\n const questionnaires = await getJSON<AssetLabelDto[]>(\n endpoint,\n \"/api/companies/${companyId}/labels\"\n );\n return questionnaires;\n}\n\nexport async function createAssetLabel(\n companyId: string,\n name: string,\n color: string\n) {\n const endpoint = `/api/companies/${companyId}/labels`;\n return await postJSON<{ label: NewAssetLabelInput }>(\n endpoint,\n \"/api/companies/${companyId}/labels\",\n {\n label: {\n color,\n companyId,\n name,\n },\n }\n );\n}\n\nexport async function updateAssetLabel(\n companyId: string,\n assetLabelId: string,\n input: UpdateAssetLabelInput\n) {\n const endpoint = `/api/companies/${companyId}/labels/${assetLabelId}`;\n return await putJSON<{ label: UpdateAssetLabelInput }>(\n endpoint,\n \"/api/companies/${companyId}/labels/${assetLabelId}\",\n {\n label: input,\n }\n );\n}\n\nexport async function deleteAssetLabel(\n companyId: string,\n assetLabelId: string\n) {\n const endpoint = `/api/companies/${companyId}/labels/${assetLabelId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/labels/${assetLabelId}\"\n );\n}\n\nexport async function assignLabelsToAssets(\n companyId: string,\n assetLabelId: string,\n input: ToggleLabelOnAssetsInput\n) {\n const endpoint = `/api/companies/${companyId}/labels/${assetLabelId}/add`;\n return await putJSON<{ label: ToggleLabelOnAssetsInput }>(\n endpoint,\n \"/api/companies/${companyId}/labels/${assetLabelId}/add\",\n {\n label: input,\n }\n );\n}\n\nexport async function removeLabelFromAssets(\n companyId: string,\n assetLabelId: string,\n input: ToggleLabelOnAssetsInput\n) {\n const endpoint = `/api/companies/${companyId}/labels/${assetLabelId}/remove`;\n return await putJSON<{ label: ToggleLabelOnAssetsInput }>(\n endpoint,\n \"/api/companies/${companyId}/labels/${assetLabelId}/remove\",\n {\n label: input,\n }\n );\n}\n\nexport async function getStandardizedQuestionnaires(\n rfpType?: RFPType\n): Promise<StandardizedQuestionnaireDto[]> {\n const endpoint = `/api/standardized_questionnaires/`;\n\n const questionnaires = await getJSON<StandardizedQuestionnaireDto[]>(\n endpoint,\n \"/api/standardized_questionnaires/\",\n { type: rfpType }\n );\n return questionnaires;\n}\n\nexport async function moveFolder(\n companyId: string,\n folderId: string,\n newParentId: string | null\n) {\n const endpoint = `/api/companies/${companyId}/folders/${folderId}/move/${newParentId}`;\n return await putJSON(\n endpoint,\n \"/api/companies/${companyId}/folders/${folderId}/move/${newParentId}\"\n );\n}\n\nexport async function signInOrSignup() {\n await postJSON(`/`, \"/\", {});\n}\n\nexport async function testApi() {\n return await getJSON(\"/api/health\", \"/api/health\");\n}\nexport async function testAssetsApi() {\n return await getJSON(\"/api/assets\", \"/api/assets\");\n}\n\n//Company\n\nexport async function updateCompanyInfo(\n companyId: string,\n updatedCompany: CompanyUpdateDto\n): Promise<CompanyDto> {\n const endpoint = `/api/companies/${companyId}`;\n return await putJSON(endpoint, \"/api/companies/${companyId}\", {\n company: updatedCompany,\n });\n}\n\nexport async function getCompanies(\n filters: CompanyFilter\n): Promise<CompanyDto[]> {\n const endpoint = `/api/companies`;\n return await getJSON<CompanyDto[], CompanyFilter>(\n endpoint,\n \"/api/companies\",\n filters\n );\n}\n\nexport async function getCompanyListCompanies(\n filters: CompanyFilter,\n companyListFilters: { companyId: string; companyListId: string }\n): Promise<CompanyDto[]> {\n const endpoint = `/api/companies/${companyListFilters.companyId}/lists/${companyListFilters.companyListId}`;\n //return await getJSON<CompanyListDto>(endpoint);\n return await getJSON<CompanyDto[], CompanyFilter>(\n endpoint,\n \"/api/companies/${companyListFilters.companyId}/lists/${companyListFilters.companyListId}\",\n filters\n );\n}\n\n// Data room\nexport async function getDataRoom(\n dataRoomId: string\n): Promise<DataRoomDetailsDto> {\n const endpoint = `/api/companies/datarooms/${dataRoomId}`;\n return await getJSON(endpoint, \"/api/companies/datarooms/${dataRoomId}\");\n}\n\nexport async function getDataRoomVideos(\n dataRoomId: string\n): Promise<MediaItemDto[]> {\n const endpoint = `/api/companies/datarooms/${dataRoomId}/videos`;\n return await getJSON(\n endpoint,\n \"/api/companies/datarooms/${dataRoomId}/videos\"\n );\n}\n\nexport async function addVideoToDataRoom({\n companyId,\n dataRoomId,\n name,\n reference,\n}: AddYouTubeVideoInput & {\n companyId: string;\n dataRoomId: string;\n}): Promise<MediaItemDto> {\n const endpoint = `/api/companies/${companyId}/${dataRoomId}/video`;\n return await postJSON<AddYouTubeVideoInput>(\n endpoint,\n \"/api/companies/${companyId}/${dataRoomId}/video\",\n { name, reference }\n );\n}\n\nexport async function updateDataRoomVideo({\n companyId,\n dataRoomId,\n name,\n videoId,\n}: UpdateYouTubeVideoInput & {\n companyId: string;\n dataRoomId: string;\n videoId: string;\n}): Promise<MediaItemDto> {\n const endpoint = `/api/companies/${companyId}/${dataRoomId}/video/${videoId}`;\n return await putJSON<UpdateYouTubeVideoInput>(\n endpoint,\n \"/api/companies/${companyId}/${dataRoomId}/video/${videoId}\",\n { name }\n );\n}\n\nexport async function deleteVideoFromDataRoom({\n mediaId,\n dataRoomId,\n}: {\n mediaId: string;\n dataRoomId: string;\n}): Promise<MediaItemDto> {\n const endpoint = `/api/companies/datarooms/${dataRoomId}/${mediaId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/datarooms/${dataRoomId}/${mediaId}\"\n );\n}\n\nexport async function getDataRooms(\n companyId: string,\n filters?: {\n createdAfter?: string | null;\n createdBefore?: string | null;\n search?: string | null;\n }\n): Promise<DataRoomDto[]> {\n const endpoint = `/api/companies/${companyId}/datarooms`;\n return await getJSON(\n endpoint,\n \"/api/companies/${companyId}/datarooms`\",\n filters\n );\n}\n\nexport async function createDataRoom(\n companyId: string,\n dataRoom: CreateDataRoomInput\n): Promise<DataRoomDto> {\n const endpoint = `/api/companies/${companyId}/datarooms`;\n return await postJSON<CreateDataRoomInput>(\n endpoint,\n \"/api/companies/${companyId}/datarooms\",\n dataRoom\n );\n}\n\nexport async function deleteDataRoom(\n companyId: string,\n dataRoomId: string\n): Promise<DataRoomDto> {\n const endpoint = `/api/companies/${companyId}/datarooms/${dataRoomId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/datarooms/${dataRoomId}\"\n );\n}\n\nexport async function updateDataRoom(\n companyId: string,\n dataRoomId: string,\n data: UpdateDataRoomInput\n): Promise<DataRoomDto> {\n const endpoint = `/api/companies/${companyId}/datarooms/${dataRoomId}`;\n return await putJSON<UpdateDataRoomInput>(\n endpoint,\n \"/api/companies/${companyId}/datarooms/${dataRoomId}\",\n data\n );\n}\n\nexport async function uploadAssetToDataRoom({\n companyId,\n files,\n folderId,\n}: {\n companyId: string;\n files: File[];\n folderId: string;\n}): Promise<AnswerDto> {\n const endpoint = `/api/companies/${companyId}/datarooms/folders/${folderId}/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/companies/${companyId}/datarooms/folders/${folderId}/upload\",\n files\n );\n}\n\nexport async function cloneAssetsToDataRoom({\n companyId,\n folderId,\n assetIds,\n folderIds,\n}: {\n companyId: string;\n folderId: string;\n} & CloneAssetsInput): Promise<AnswerDto> {\n const endpoint = `/api/companies/${companyId}/datarooms/folders/${folderId}/clone`;\n return await postJSON<CloneAssetsInput>(\n endpoint,\n \"/api/companies/${companyId}/datarooms/folders/${folderId}/clone\",\n {\n assetIds,\n folderIds,\n }\n );\n}\n\nexport async function recordDataRoomVisit(\n dataRoomId: string\n): Promise<DataRoomDto> {\n const endpoint = `/api/companies/dataRoomVisit/${dataRoomId}`;\n return await postJSON(\n endpoint,\n \"/api/companies/dataRoomVisit/${dataRoomId}\",\n {}\n );\n}\n\nexport async function getDataRoomInvitations(\n dataRoomId: string\n): Promise<DataRoomInvitationDto[]> {\n const endpoint = `/api/companies/datarooms/${dataRoomId}/invitations`;\n return await getJSON(\n endpoint,\n \"/api/companies/datarooms/${dataRoomId}/invitations\"\n );\n}\n\nexport async function sendDataRoomInvitations(\n dataRoomId: string,\n data: CreateDataRoomInvitationInput\n): Promise<{ count: number }> {\n const endpoint = `/api/companies/datarooms/${dataRoomId}/invitations`;\n return await putJSON<CreateDataRoomInvitationInput>(\n endpoint,\n \"/api/companies/datarooms/${dataRoomId}/invitations\",\n data\n );\n}\n\n// Data room invitations\n\n// Company list\n\n// Not used anywhere\n// export async function getCompanyLists(\n// companyId: string\n// ): Promise<CompanyListDto[]> {\n// const endpoint = `/api/companies/${companyId}/lists`;\n// return await getJSON(endpoint);\n// }\n\nexport async function getCompanyList(\n companyId: string,\n companyListId: string\n): Promise<CompanyListDto> {\n const endpoint = `/api/companies/${companyId}/lists/${companyListId}`;\n return await getJSON(\n endpoint,\n \"/api/companies/${companyId}/lists/${companyListId}\"\n );\n}\nexport async function renameCompanyList(\n companyId: string,\n companyListId: string,\n newName: string\n): Promise<CompanyListDto> {\n const endpoint = `/api/companies/${companyId}/lists/${companyListId}/rename/${newName}`;\n return await putJSON(\n endpoint,\n \"/api/companies/${companyId}/lists/${companyListId}/rename/${newName}\"\n );\n}\nexport async function deleteCompanyList(\n companyId: string,\n companyListId: string\n) {\n const endpoint = `/api/companies/${companyId}/lists/${companyListId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/lists/${companyListId}\"\n );\n}\n\n// Company list Management\nexport async function postCompanyList(\n companyId: string,\n listName: string\n): Promise<CompanyListDto> {\n const endpoint = `/api/companies/${companyId}/lists`;\n return await postJSON<\n { companyList: { name: string; companyIds: string[] } },\n CompanyListDto\n >(endpoint, \"/api/companies/${companyId}/lists\", {\n companyList: { name: listName, companyIds: [] },\n });\n}\n\nexport async function postCompanyListCompany(\n companyId: string,\n listId: string,\n companyListCompanyId: string\n): Promise<CompanyListDto> {\n const endpoint = `/api/companies/${companyId}/lists/${listId}/${companyListCompanyId}`;\n return await postJSON<{}, CompanyListDto>(\n endpoint,\n \"/api/companies/${companyId}/lists/${listId}/${companyListCompanyId}\",\n {}\n );\n}\n\nexport async function deleteCompanyListCompany(\n companyId: string,\n listId: string,\n companyListCompanyId: string\n): Promise<CompanyListDto> {\n const endpoint = `/api/companies/${companyId}/lists/${listId}/${companyListCompanyId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/lists/${listId}/${companyListCompanyId}\"\n );\n}\n\n// Passports\nexport async function getPassportTypes(): Promise<PassportTypeDto[]> {\n return await getJSON(\"/api/passports/types\", \"/api/passports/types\");\n}\n\nexport async function getMyRecentPassports(params: {\n offset?: number;\n limit?: number;\n}): Promise<PassportItemDto[]> {\n const endpoint = `/api/passports`;\n return await getJSON<PassportItemDto[]>(endpoint, \"/api/passports\", params);\n}\n\nexport async function getSentPassportInvitations(\n params: PassportInvitationFilter & {\n offset?: number;\n limit?: number;\n }\n): Promise<PassportInvitationDto[]> {\n const endpoint = `/api/passports/invitations/sent`;\n return await getJSON<PassportInvitationDto[]>(\n endpoint,\n \"/api/passports/invitations/sent\",\n params\n );\n}\n\nexport async function inviteToTakePassport(\n rfpId: string,\n recipients: CombinedInvitationRecipientInput[]\n): Promise<void> {\n const endpoint = `/api/passports/${rfpId}`;\n await postJSON(endpoint, \"/api/passports/${rfpId}\", { recipients });\n}\n\nexport async function resendPassportInviation(\n rfpInvitationId: string\n): Promise<void> {\n const endpoint = `/api/passports/invitation/${rfpInvitationId}/resend`;\n await postJSON(\n endpoint,\n \"/api/passports/invitation/${rfpInvitationId}/resend\"\n );\n}\n\n// Others\n\nexport async function getCountries(): Promise<Pair[]> {\n return await getJSON(\"/api/countries\", \"/api/countries\");\n}\n\nexport async function getIndustries(): Promise<Pair[]> {\n return await getJSON(\"/api/industries\", \"/api/industries\");\n}\n\nexport async function getSectors(): Promise<Pair[]> {\n return await getJSON(\"/api/sectors\", \"/api/sectors\");\n}\n\nexport async function getSpecialties(): Promise<Pair[]> {\n return await getJSON(\"/api/specialties\", \"/api/specialties\");\n}\nexport async function getZones(): Promise<Pair[]> {\n return await getJSON(\"/api/zones\", \"/api/zones\");\n}\nexport async function getEmployeeNumbers(): Promise<Pair[]> {\n return await getJSON(\"/api/employeesNumber\", \"/api/employeesNumber\");\n}\n\n// Products and Services\n\nexport async function createProductOrService(\n companyId: string,\n productOrService: LocalProductOrService\n): Promise<ProductOrService> {\n const endpoint = `/api/companies/${companyId}/products`;\n return postJSON(endpoint, \"/api/companies/${companyId}/products\", {\n product: productOrService,\n });\n}\n\nexport async function deleteProductOrService(\n companyId: string,\n productOrServiceId: string\n) {\n const endpoint = `/api/companies/${companyId}/products/${productOrServiceId}`;\n return await deleteAPI(\n endpoint,\n \"/api/companies/${companyId}/products/${productOrServiceId}\"\n );\n}\n\nexport async function updateProductsAndServices(\n companyId: string,\n producstAndServices: LocalProductOrService[]\n): Promise<ProductOrService[]> {\n const endpoint = `/api/companies/${companyId}/products/all`;\n return await postJSON(endpoint, \"/api/companies/${companyId}/products/all\", {\n products: producstAndServices,\n });\n}\n\n//Feedback\nexport async function sendFeedBack(feedback: Feedback) {\n const endpoint = \"/api/mailbox\";\n return await postJSON(endpoint, \"/api/mailbox\", { input: feedback });\n}\n\n//Payment\nexport async function stripePayment(\n passportId: string,\n companyId: string,\n successUrl: string,\n cancelUrl: string\n): Promise<{ sessionId: string }> {\n const endpoint = `/api/passports/${companyId}/${passportId}/pay`;\n return await postJSON(\n endpoint,\n \"/api/passports/${companyId}/${passportId}/pay\",\n { successUrl, cancelUrl }\n );\n}\n\nexport async function recordPayment(\n sessionId: string,\n companyId: string\n): Promise<Boolean> {\n const endpoint = `/api/passports/recordPayment/${sessionId}/${companyId}`;\n return await getJSON(\n endpoint,\n \"/api/passports/recordPayment/${sessionId}/${companyId}\"\n );\n}\n\nexport async function togglePassportVisibility(\n passportId: string,\n show: boolean\n): Promise<Boolean> {\n const endpoint = `/api/passports/${passportId}/show`;\n return await postJSON(endpoint, \"/api/passports/${passportId}/show\", {\n show,\n });\n}\n\nexport async function getFileItem(\n companyId: string,\n blobId: string,\n containerType: ContainerType\n): Promise<Blob> {\n const endpoint = `/api/companies/${companyId}/assets/${blobId}/getfile/${containerType}`;\n return await fileGET(\n endpoint,\n \"/api/companies/${companyId}/assets/${blobId}/getfile/${containerType}\"\n );\n}\n\n//ENV STRIPE KEY\nexport async function getStripeKey(): Promise<{ stripeKey: string }> {\n const endpoint = \"/api/passports/stripeKey/publishableKey\";\n return await getJSON(endpoint, \"/api/passports/stripeKey/publishableKey\");\n}\n\n// Role combinations\n\nexport async function getUserRolesByCompanyId(\n companyId: string\n): Promise<UserCompanyRole[]> {\n const endpoint = `/api/roles/companies/${companyId}`;\n return await getJSON(endpoint, \"/api/roles/companies/${companyId}\");\n}\n\nexport async function getCompanyRolesByUserId(\n userId: string\n): Promise<UserCompanyRole[]> {\n const endpoint = `/api/roles/users/${userId}`;\n return await getJSON(endpoint, \"/api/roles/users/${userId}\");\n}\n\nexport async function getUserCompanyRole(\n companyId: string,\n userId: string\n): Promise<UserCompanyRole> {\n const endpoint = `/api/roles/companies/${companyId}/users/${userId}`;\n return await getJSON(\n endpoint,\n \"/api/roles/companies/${companyId}/users/${userId}\"\n );\n}\n\nexport async function createUserCompanyRole(\n userCompanyRole: NewUserCompanyRole\n): Promise<UserCompanyRole> {\n const endpoint = `/api/roles`;\n return await postJSON<{ userCompanyRole: NewUserCompanyRole }>(\n endpoint,\n \"/api/roles\",\n {\n userCompanyRole,\n }\n );\n}\n\nexport async function putUserCompanyRole(\n userCompanyRole: UserCompanyRole\n): Promise<RfpResponseDto> {\n const endpoint = `/api/roles`;\n return await putJSON<{ userCompanyRole: UserCompanyRole }>(\n endpoint,\n \"/api/roles\",\n {\n userCompanyRole,\n }\n );\n}\n\nexport async function deleteUserCompanyRole(companyId: string, userId: string) {\n const endpoint = `/api/roles/companies/${companyId}/users/${userId}`;\n return await deleteAPI(\n endpoint,\n \"/api/roles/companies/${companyId}/users/${userId}\"\n );\n}\n\nexport async function getRoles(): Promise<Role[]> {\n const endpoint = `/api/roles/all`;\n return await getJSON(endpoint, \"/api/roles/all\");\n}\n\nexport async function getFeatureFlag(featureName: string): Promise<boolean> {\n const endpoint = `/api/feature_flags/${featureName}`;\n return await getJSON(endpoint, \"/api/feature_flags/${featureName}\");\n}\n\n// Groups\nexport async function getOwnGroups(params: {\n offset: number;\n limit: number;\n}): Promise<GroupDto[]> {\n const endpoint = `/api/groups/own`;\n return await getJSON<GroupDto[]>(endpoint, \"/api/groups/own\", params);\n}\n\nexport async function searchGroups(params: {\n query: GroupSearchOptions;\n offset: number;\n limit: number;\n}): Promise<GroupDto[]> {\n const endpoint = `/api/groups`;\n return await getJSON<GroupDto[]>(endpoint, \"/api/groups\", params);\n}\n\nexport async function getGroupByInvitationId(\n groupInvitationId: string\n): Promise<GroupDetailsDto> {\n const endpoint = `/api/groups/invitation/${groupInvitationId}`;\n return await getJSON<GroupDetailsDto>(\n endpoint,\n \"/api/groups/invitation/${groupInvitationId}\"\n );\n}\n\nexport async function getGroup(groupId: string): Promise<GroupDetailsDto> {\n const endpoint = `/api/groups/group/${groupId}`;\n return await getJSON<GroupDetailsDto>(\n endpoint,\n \"/api/groups/group/${groupId}\"\n );\n}\n\nexport async function getGroupFiles(\n groupId: string,\n filters?: GroupFilesFilters\n): Promise<GroupFilesDto> {\n const endpoint = `/api/groups/group/${groupId}/files`;\n return await getJSON<GroupFilesDto>(\n endpoint,\n \"/api/groups/group/${groupId}/files\",\n filters\n );\n}\n\nexport async function getGroupInvitations(\n groupId: string\n): Promise<CombinedInvitationTargetDto[]> {\n const endpoint = `/api/groups/group/${groupId}/invitations`;\n return await getJSON<CombinedInvitationTargetDto[]>(\n endpoint,\n \"/api/groups/group/${groupId}/invitations\"\n );\n}\n\nexport async function getUserPreviewsBasedOnGroupInvitation(\n companyId: string\n): Promise<UserPreviewDto[]> {\n const endpoint = `/api/groups/group/members/${companyId}`;\n return await getJSON<UserPreviewDto[]>(\n endpoint,\n \"/api/groups/group/members/${companyId}\"\n );\n}\n\nexport async function createGroup(group: NewGroup): Promise<GroupDetailsDto> {\n const endpoint = `/api/groups/`;\n return await postJSON<{ group: NewGroup }>(endpoint, \"/api/groups/\", {\n group,\n });\n}\n\nexport async function getGroupsImMeber(params: {\n offset: number;\n limit: number;\n}): Promise<GroupDto[]> {\n const endpoint = `/api/groups/member`;\n return await getJSON<GroupDto[]>(endpoint, \"/api/groups/member\", params);\n}\n\nexport async function updateGroup(\n groupId: string,\n updateGroup: UpdateGroupInput\n): Promise<GroupDetailsDto> {\n const endpoint = `/api/groups/${groupId}`;\n return await putJSON<UpdateGroupInput>(\n endpoint,\n \"/api/groups/${groupId}\",\n updateGroup\n );\n}\n\nexport async function deleteGroup(groupId: string): Promise<void> {\n const endpoint = `/api/groups/${groupId}`;\n return await deleteAPI(endpoint, \"/api/groups/${groupId}\");\n}\n\nexport async function inviteGroupMembers(\n groupId: string,\n recipients: CombinedInvitationRecipientInput[]\n): Promise<void> {\n const endpoint = `/api/groups/${groupId}`;\n await postJSON(endpoint, \"/api/groups/${groupId}\", { recipients });\n}\n\nexport async function requestAccess(groupId: string): Promise<GroupDetailsDto> {\n const endpoint = `/api/groups/${groupId}/requestAccess`;\n return await postJSON(endpoint, \"/api/groups/${groupId}/requestAccess\");\n}\n\nexport async function setGroupInvitationStatus({\n groupInvitationId,\n status,\n}: {\n groupInvitationId: string;\n status: GroupInvitationStatus;\n}): Promise<void> {\n const endpoint = `/api/groups/${groupInvitationId}/status/${status}`;\n await postJSON(endpoint, \"/api/groups/${groupInvitationId}/status/${status}\");\n}\n\nexport async function uploadVideoToGroup(\n groupId: string,\n params: AddYouTubeVideoInput\n): Promise<MediaItemDto> {\n const endpoint = `/api/groups/${groupId}/video/upload`;\n return await postJSON(\n endpoint,\n \"/api/groups/${groupId}/video/upload\",\n params\n );\n}\n\nexport async function updateGroupVideo(\n mediaItemId: string,\n params: UpdateYouTubeVideoInput\n): Promise<MediaItemDto> {\n const endpoint = `/api/groups/video/${mediaItemId}`;\n return await putJSON(endpoint, \"/api/groups/video/${mediaItemId}\", params);\n}\n\nexport async function deleteGroupVideo(\n mediaItemId: string\n): Promise<MediaItemDto> {\n const endpoint = `/api/groups/video/${mediaItemId}`;\n return await deleteAPI(endpoint, \"/api/groups/video/${mediaItemId}\");\n}\n\nexport async function uploadGroupAttachment(\n groupId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<GroupFilesDto> {\n const endpoint = `/api/groups/${groupId}/upload`;\n\n return await uploadAPI(endpoint, \"/api/groups/${groupId}/upload\", files, {\n mode,\n });\n}\n\nexport async function cloneAssetsToGroup(\n groupId: string,\n data: {\n assetIds: string[];\n mode: AttachmentMode;\n }\n): Promise<GroupFilesDto> {\n const endpoint = `/api/groups/${groupId}/clone`;\n\n return postJSON(endpoint, \"/api/groups/${groupId}/clone\", data);\n}\n\nexport async function deleteGroupAttachment(\n assetId: string\n): Promise<GroupFilesDto> {\n const endpoint = `/api/groups/attachment/${assetId}`;\n return await deleteAPI(endpoint, \"/api/groups/attachment/${assetId}\");\n}\n\n// Posts\nexport async function getPost(postId: string): Promise<PostDto> {\n const endpoint = `/api/posts/${postId}`;\n return await getJSON<PostDto>(endpoint, \"/api/posts/${postId}\");\n}\n\nexport async function getGroupPosts(\n groupId: string,\n params: {\n limit: number;\n cursorId?: string;\n isApproved?: boolean;\n isDraft?: boolean;\n }\n): Promise<PostsQueryResult> {\n const endpoint = `/api/posts/group/${groupId}`;\n return await getJSON<PostsQueryResult>(\n endpoint,\n \"/api/posts/group/${groupId}\",\n params\n );\n}\n\nexport async function createPost(\n groupId: string,\n post: NewPostInput\n): Promise<PostWithReferencesDto> {\n const endpoint = `/api/posts/${groupId}`;\n return await postJSON(endpoint, \"/api/posts/${groupId}\", post);\n}\n\nexport async function updatePost(\n postId: string,\n post: UpdatePostInput\n): Promise<PostWithReferencesDto> {\n const endpoint = `/api/posts/${postId}`;\n return await putJSON(endpoint, \"/api/posts/${postId}\", post);\n}\n\nexport async function deletePost(postId: string): Promise<void> {\n const endpoint = `/api/posts/${postId}`;\n return await deleteAPI(endpoint, \"/api/posts/${postId}\");\n}\n\nexport async function likePost(postId: string): Promise<void> {\n const endpoint = `/api/posts/like/${postId}`;\n return await postJSON(endpoint, \"/api/posts/like/${postId}\");\n}\n\nexport async function uploadPostAttachment(\n postId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<ModuleDto> {\n const endpoint = `/api/posts/${postId}/upload`;\n\n return await uploadAPI(endpoint, \"/api/posts/${postId}/upload\", files, {\n mode,\n });\n}\n\nexport async function cloneAssetsToPost(\n postId: string,\n data: {\n assetIds: string[];\n mode: AttachmentMode;\n }\n): Promise<ModuleDto> {\n const endpoint = `/api/posts/${postId}/clone`;\n\n return postJSON(endpoint, \"/api/posts/${postId}/clone\", data);\n}\n\nexport async function deletePostAttachment(assetId: string): Promise<PostDto> {\n const endpoint = `/api/posts/attachment/${assetId}`;\n return await deleteAPI(endpoint, \"/api/posts/attachment/${assetId}\");\n}\n\nexport async function uploadVideoToPost(\n postId: string,\n params: AddYouTubeVideoInput\n): Promise<MediaItemDto> {\n const endpoint = `/api/posts/${postId}/video/upload`;\n return await postJSON(endpoint, \"/api/posts/${postId}/video/upload\", params);\n}\n\nexport async function updatePostVideo(\n mediaItemId: string,\n params: UpdateYouTubeVideoInput\n): Promise<MediaItemDto> {\n const endpoint = `/api/posts/video/${mediaItemId}`;\n return await putJSON(endpoint, \"/api/posts/video/${mediaItemId}\", params);\n}\n\nexport async function deletePostVideo(\n mediaItemId: string\n): Promise<MediaItemDto> {\n const endpoint = `/api/posts/video/${mediaItemId}`;\n return await deleteAPI(endpoint, \"/api/posts/video/${mediaItemId}\");\n}\n\n// Comments\nexport async function addComment(\n comment: NewCommentInput\n): Promise<CommentDto> {\n const endpoint = `/api/comments/${comment.referenceType}/${comment.referenceId}`;\n return await postJSON(\n endpoint,\n \"/api/comments/${comment.referenceType}/${comment.referenceId}\",\n { text: comment.text }\n );\n}\n\nexport async function updateComment(\n commentId: string,\n comment: UpdateCommentInput\n): Promise<CommentDto> {\n const endpoint = `/api/comments/${commentId}`;\n return await putJSON(endpoint, \"/api/comments/${commentId}\", comment);\n}\n\nexport async function getCommentsByReferenceId(\n referenceId: string,\n params: {\n limit: number;\n cursorId?: string;\n },\n referenceType: CommentReferenceType\n): Promise<CommentDto[]> {\n const endpoint = `/api/comments/${referenceType}/${referenceId}`;\n return await getJSON(\n endpoint,\n \"/api/comments/${referenceType}/${referenceId}\",\n params\n );\n}\n\nexport async function deleteComment(commentId: string): Promise<void> {\n const endpoint = `/api/comments/${commentId}`;\n return await deleteAPI(endpoint, \"/api/comments/${commentId}\");\n}\n\nexport async function sendAnswerMessages(\n commentIds: string[]\n): Promise<CommentDto[]> {\n const endpoint = `/api/comments/messages/send`;\n return await postJSON(endpoint, \"/api/comments/messages/send\", {\n commentIds,\n });\n}\n\nexport async function getMessageDetails(\n commentId: string\n): Promise<MessageDetailsDto> {\n const endpoint = `/api/comments/details/${commentId}`;\n return await getJSON(endpoint, \"/api/comments/details/${commentId}\");\n}\n\nexport async function uploadCommentAttachment(\n commentId: string,\n files: File[],\n mode: AttachmentMode\n): Promise<CommentDto> {\n const endpoint = `/api/comments/${commentId}/upload`;\n\n return await uploadAPI(endpoint, \"/api/comments/${commentId}/upload\", files, {\n mode,\n });\n}\n\nexport async function cloneAssetsToComment(\n commentId: string,\n data: {\n assetIds: string[];\n }\n): Promise<CommentDto> {\n const endpoint = `/api/comments/${commentId}/clone`;\n\n return postJSON(endpoint, \"/api/comments/${commentId}/clone\", data);\n}\n\nexport async function deleteCommentAttachment(\n assetId: string\n): Promise<CommentDto> {\n const endpoint = `/api/comments/attachment/${assetId}`;\n return await deleteAPI(endpoint, \"/api/comments/attachment/${assetId}\");\n}\n\n// Reactions\nexport async function getReactionDetailsForPost(\n postId: string\n): Promise<ReactionDetailsDto[]> {\n const endpoint = `/api/reactions/post/${postId}`;\n return await getJSON(endpoint, \"/api/reactions/post/${postId}\");\n}\n\n// Supplier list\n\nexport async function createSupplier(\n data: NewSupplierInput\n): Promise<SupplierDto> {\n const endpoint = \"/api/suppliers/\";\n return await postJSON(endpoint, \"/api/suppliers/\", data);\n}\n\nexport async function updateSupplier(\n id: string,\n data: UpdateSupplierInput\n): Promise<SupplierDto> {\n const endpoint = `/api/suppliers/${id}`;\n return await putJSON(endpoint, \"/api/suppliers/${id}\", data);\n}\n\nexport async function getMySuppliers(params: {\n offset: number;\n limit: number;\n filters?: SupplierFilters;\n}): Promise<PaginatedDto<SupplierListItemDto>> {\n const endpoint = `/api/suppliers/`;\n return await getJSON(endpoint, \"/api/suppliers/\", params);\n}\n\nexport async function getMySupplier(id: string): Promise<SupplierDto> {\n const endpoint = `/api/suppliers/${id}`;\n return await getJSON(endpoint, \"/api/suppliers/${id}\");\n}\n\nexport async function getSupplierAttachments(\n supplierId: string\n): Promise<AssetDto[]> {\n const endpoint = `/api/suppliers/${supplierId}/attachments`;\n return await getJSON(endpoint, \"/api/suppliers/${supplierId}/attachments\");\n}\n\nexport async function cloneAttachmentsToSupplier({\n supplierId,\n assetIds,\n}: {\n supplierId: string;\n assetIds: string[];\n}): Promise<AssetDto[]> {\n const endpoint = `/api/suppliers/${supplierId}/clone`;\n return await postJSON<CloneAttachmentsInput>(\n endpoint,\n \"/api/suppliers/${supplierId}/clone\",\n { assetIds }\n );\n}\n\nexport async function uploadAttachmentToSupplier({\n files,\n supplierId,\n}: {\n files: File[];\n supplierId: string;\n}): Promise<AssetDto[]> {\n const endpoint = `/api/suppliers/${supplierId}/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/suppliers/${supplierId}/upload\",\n files\n );\n}\n\nexport async function uploadSuppliersCsv({\n file,\n}: {\n file: File;\n}): Promise<number> {\n const endpoint = `/api/suppliers/createmany/`;\n return (await uploadAPI(\n endpoint,\n \"/api/suppliers/createmany/\",\n file\n )) as number;\n}\n\nexport async function deleteSupplier(id: string): Promise<void> {\n const endpoint = `/api/suppliers/${id}`;\n return await deleteAPI(endpoint, \"/api/suppliers/${id}\");\n}\n\nexport async function getSupplierContracts(\n supplierId: string\n): Promise<SupplierContractDto[]> {\n const endpoint = `/api/suppliers/${supplierId}/contracts/`;\n return await getJSON(endpoint, \"/api/suppliers/${supplierId}/contracts/\");\n}\n\nexport async function getSupplierContract(\n supplierId: string\n): Promise<SupplierContractDto> {\n const endpoint = `/api/suppliers/contract/${supplierId}`;\n return await getJSON(endpoint, \"/api/suppliers/contract/${supplierId}\");\n}\n\nexport async function createSupplierContract(\n data: NewSupplierContractInput\n): Promise<SupplierContractDto> {\n const endpoint = \"/api/suppliers/contract/\";\n return await postJSON(endpoint, \"/api/suppliers/contract/\", data);\n}\n\nexport async function updateSupplierContract(\n contractId: string,\n data: UpdateSupplierContractInput\n): Promise<SupplierContractDto> {\n const endpoint = `/api/suppliers/contract/${contractId}`;\n return await putJSON(endpoint, \"/api/suppliers/contract/${contractId}\", data);\n}\n\nexport async function deleteSupplierContract(\n contractId: string\n): Promise<void> {\n const endpoint = `/api/suppliers/contract/${contractId}`;\n return await deleteAPI(endpoint, \"/api/suppliers/contract/${contractId}\");\n}\n\nexport async function uploadAttachmentToContract({\n files,\n contractId,\n}: {\n files: File[];\n contractId: string;\n}): Promise<AnswerDto> {\n const endpoint = `/api/suppliers/contract/${contractId}/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/suppliers/contract/${contractId}/upload\",\n files\n );\n}\n\nexport async function cloneAttachmentsToContract({\n assetIds,\n contractId,\n}: {\n contractId: string;\n assetIds: string[];\n}): Promise<{}> {\n const endpoint = `/api/suppliers/contract/${contractId}/clone`;\n return await postJSON<CloneAttachmentsInput>(\n endpoint,\n \"/api/suppliers/contract/${contractId}/clone\",\n { assetIds }\n );\n}\n\nexport async function deleteContractAttachment({\n assetId,\n contractId,\n}: {\n assetId: string;\n contractId: string;\n}): Promise<AnswerDto> {\n const endpoint = `/api/suppliers/contract/${contractId}/attachments/${assetId}`;\n return await deleteAPI(\n endpoint,\n \"/api/suppliers/contract/${contractId}/attachments/${assetId}\"\n );\n}\n\n/*\n/// Supplier Products ///\n*/\n\nexport async function getSupplierProduct(\n productId: string\n): Promise<SupplierProductDetailsDto> {\n const endpoint = `/api/products/${productId}`;\n return await getJSON(endpoint, \"/api/products/${productId}\");\n}\n\nexport async function getSupplierProducts(params: {\n offset: number;\n limit: number;\n filters?: Omit<SupplierProductFilter, \"attributes\"> & {\n attributes?: AttributeFilter[];\n };\n}): Promise<PaginatedDto<SupplierProductDto>> {\n const endpoint = `/api/products`;\n return await getJSON(endpoint, \"/api/products\", params);\n}\n\nexport async function createSupplierProduct(\n data: NewSupplierProductInput\n): Promise<SupplierDto> {\n const endpoint = \"/api/products/\";\n return await postJSON(endpoint, \"/api/products/\", data);\n}\n\nexport async function updateSupplierProduct(\n data: UpdateSupplierProductInput\n): Promise<SupplierDto> {\n const endpoint = `/api/products/${data.supplierProductId}`;\n return await putJSON(endpoint, \"/api/products/${id}\", data);\n}\n\nexport async function cloneAttachmentsToSupplierProduct({\n supplierProductId,\n assetIds,\n}: {\n supplierProductId: string;\n assetIds: string[];\n}): Promise<AssetDto[]> {\n const endpoint = `/api/products/${supplierProductId}/clone`;\n return await postJSON<CloneAttachmentsInput>(\n endpoint,\n \"/api/products/${supplierProductId}/clone\",\n { assetIds }\n );\n}\n\nexport async function uploadAttachmentToSupplierProduct({\n files,\n supplierProductId,\n}: {\n files: File[];\n supplierProductId: string;\n}): Promise<AssetDto[]> {\n const endpoint = `/api/products/${supplierProductId}/upload`;\n return await uploadAPI(\n endpoint,\n \"/api/products/${supplierProductId}/upload\",\n files\n );\n}\n\n/*\n/// SupplierGroups ///\n*/\n\nexport async function getSuppliergroups(params: {\n offset: number;\n limit: number;\n filters?: SupplierGroupFilter;\n}): Promise<PaginatedDto<SupplierGroupDto>> {\n const endpoint = `/api/suppliergroup`;\n return await getJSON(endpoint, \"/api/suppliergroup\", params);\n}\nexport async function createSupplierGroup(\n data: NewSupplierGroupInput\n): Promise<SupplierGroupDto> {\n const endpoint = \"/api/suppliergroup/\";\n return await postJSON(endpoint, \"/api/suppliergroup/\", data);\n}\n\nexport async function connectSuppliersToGroups(\n data: ConnectSuppliersToGroupsInput\n): Promise<void> {\n const endpoint = \"/api/suppliergroup/connect_to_groups\";\n return await putJSON(endpoint, \"/api/suppliergroup/connect_to_groups\", data);\n}\n\nexport async function disconnectSuppliersFromGroups(\n data: DisonnectSuppliersFromGroupsInput\n): Promise<void> {\n const endpoint = \"/api/suppliergroup/disconnect_from_groups\";\n return await putJSON(\n endpoint,\n \"/api/suppliergroup/disconnect_from_groups\",\n data\n );\n}\n\nexport async function renameSupplierGroup({\n data,\n supplierGroupId,\n}: {\n data: UpdateSupplierGroupInput;\n supplierGroupId: string;\n}): Promise<SupplierGroupDto> {\n const endpoint = `/api/suppliergroup/rename/${supplierGroupId}`;\n return await putJSON(\n endpoint,\n \"/api/suppliergroup/rename/${supplierGroupId}\",\n data\n );\n}\n\nexport async function deleteSupplierGroup(\n supplierGroupId: string\n): Promise<void> {\n const endpoint = `/api/suppliergroup/${supplierGroupId}`;\n return await deleteAPI(endpoint, \"/api/suppliergroup/${supplierGroupId}\");\n}\n\n/*\n/// Attributes ///\n*/\n\nexport async function getAttributeSchema(\n modelType: AttributeModelType,\n query?: AttributeSchemaQuery\n): Promise<AttributeTypeDto[]> {\n const endpoint = `/api/attributes/type/${modelType}`;\n return await getJSON(endpoint, \"/api/attributes/type/${modelType}\", query);\n}\n\nexport async function getAttributeType(\n attributeTypeId: string\n): Promise<AttributeTypeDto> {\n const endpoint = `/api/attributes/id/${attributeTypeId}`;\n return await getJSON(endpoint, \"/api/attributes/id/${attributeTypeId}\");\n}\n\nexport async function createAttributeType(\n data: NewAttributeTypeInput\n): Promise<AttributeTypeDto> {\n const endpoint = \"/api/attributes/\";\n return await postJSON(endpoint, \"/api/attributes/\", data);\n}\n\nexport async function updateAttributeType({\n attributeTypeId,\n data,\n}: {\n attributeTypeId: string;\n data: UpdateAttributeTypeInput;\n}): Promise<AttributeTypeDto> {\n const endpoint = `/api/attributes/${attributeTypeId}`;\n return await putJSON(endpoint, \"/api/attributes/${attributeTypeId}\", data);\n}\n\nexport async function deleteAttributeType(\n attributeTypeId: string\n): Promise<void> {\n const endpoint = `/api/attributes/${attributeTypeId}`;\n return await deleteAPI(endpoint, \"/api/attributes/${attributeTypeId}\");\n}\n\n//// Lookup Tables ////\n\nexport async function getLookupTableGroups(\n modelType?: AttributeModelType\n): Promise<AttributeLookupTableGroupDto[]> {\n const endpoint = `/api/attributes/lookup_tables/groups/${modelType || \"\"}`;\n return await getJSON(\n endpoint,\n '/api/lookup_tables/groups/${modelType || \"\"}'\n );\n}\n\nexport async function getLookupTable(\n lookupTableId: string\n): Promise<LookupTableDataDto> {\n const endpoint = `/api/attributes/lookup_tables/id/${lookupTableId}`;\n return await getJSON(endpoint, \"/api/lookup_tables/id/${lookupTableId}\");\n}\n\n/*\n/// CERTIFICATES ///\n*/\nexport async function getCertificateByAssetId(\n assetId: string\n): Promise<CertificateDto> {\n const endpoint = `/api/certificates/assetId/${assetId}`;\n return await getJSON(endpoint, \"/api/certificates/id/${assetId}\");\n}\n\nexport async function createCertificate(\n data: NewCertificateInput\n): Promise<CertificateDto> {\n const endpoint = \"/api/certificates/\";\n return await postJSON(endpoint, \"/api/certificates/\", data);\n}\n\nexport async function updateCertificate({\n certificateId,\n data,\n}: {\n certificateId: string;\n data: UpdateCertificateInput;\n}): Promise<CertificateDto> {\n const endpoint = `/api/certificates/${certificateId}`;\n return await putJSON(endpoint, \"/api/certificates/${certificateId}\", data);\n}\n\nexport async function deleteCertificate(certificateId: string): Promise<void> {\n const endpoint = `/api/certificates/${certificateId}`;\n return await deleteAPI(endpoint, \"/api/certificates/${certificateId}\");\n}\n\n/*\n/// NOTIFICATIONS ///\n*/\n\nexport async function getNotifications(params: {\n isRead?: boolean;\n limit?: number;\n cursorId?: string;\n}): Promise<NotificationsResponse> {\n const endpoint = `/api/notifications/`;\n return await getJSON(endpoint, \"/api/notifications/\", params);\n}\n\nexport async function readNotification(\n notificationId: string,\n isRead: boolean\n): Promise<void> {\n const endpoint = `/api/notifications/${notificationId}`;\n return await postJSON(endpoint, \"/api/notifications/${notificationId}\", {\n isRead,\n });\n}\n\nexport async function deleteNotification(\n notificationId: string\n): Promise<void> {\n const endpoint = `/api/notifications/${notificationId}`;\n return await deleteAPI(endpoint, \"/api/notifications/${notificationId}\");\n}\n\nexport async function uploadImage({\n uploadImageProps,\n file,\n}: {\n uploadImageProps: NewImageInput;\n file: File;\n}): Promise<string> {\n const endpoint = `/api/images/`;\n\n return await uploadAPI(endpoint, \"/api/images/\", file, {\n imageDetails: { ...uploadImageProps },\n });\n}\n\n//// REPORTS ////\n\nexport async function getRfpExcelReport({\n rfpId,\n}: {\n rfpId: string;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/rfx_excel/rfx/${rfpId}`;\n return await fileGET(\n endpoint,\n \"/api/reports/report_type/rfx_excel/rfx/${rfpId}\"\n );\n}\n\nexport async function getRfpResponseExcelReport({\n rfpId,\n rfpResponseId,\n}: {\n rfpId: string;\n rfpResponseId?: string;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/rfx_excel/rfx/${rfpId}/response/${\n rfpResponseId || \"\"\n }`;\n return await fileGET(\n endpoint,\n '/api/reports/report_type/rfx_excel/rfx/${rfpId}/response/${rfpResponseId || \"\"}'\n );\n}\n\nexport async function getRfpResponseWordReport({\n rfpId,\n pageSettings,\n}: {\n rfpId: string;\n pageSettings: ReportPageSettings;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/rfx_word/rfx/${rfpId}`;\n return await fileGET(\n endpoint,\n \"/api/reports/report_type/rfx_word/rfx/${rfpId}\",\n pageSettings\n );\n}\n\nexport async function getSupplierExcelReport({\n filters,\n}: {\n filters?: SupplierFilters;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/supplier`;\n return await fileGET(endpoint, \"/api/reports/report_type/supplier\", {\n ...filters,\n });\n}\n\nexport async function getProductsExcelReport({\n filters,\n}: {\n filters?: SupplierProductFilter;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/products`;\n return await fileGET(endpoint, \"/api/reports/report_type/products\", {\n ...filters,\n });\n}\n\nexport async function getQuestionsExcelReport({\n parentModelType,\n parentId,\n}: {\n parentModelType?: QuestionParentModelType;\n parentId?: string;\n}): Promise<Blob> {\n const endpoint =\n parentModelType && parentId\n ? `/api/reports/report_type/questions/${parentModelType}/${parentId}`\n : `/api/reports/report_type/questions`;\n return await fileGET(endpoint, \"/api/reports/report_type/questions\");\n}\n\nexport async function getRfxJsonExport({\n rfxId,\n}: {\n rfxId: string;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/rfx/${rfxId}`;\n return await fileGET(endpoint, \"/api/reports/report_type/rfx/${rfxId}\");\n}\n\nexport async function importRfxJson({\n rfxInput,\n}: {\n rfxInput: JSON;\n}): Promise<RfpDto> {\n const endpoint = `/api/rfp/import/json`;\n return await postJSON(endpoint, \"/api/rfp/import/json\", { body: rfxInput });\n}\n\n//TODO: This is a complete mess. Refactor or remove ASAP\nexport async function getLookupTableWordReport({\n lookupTableId,\n}: {\n lookupTableId: string;\n}): Promise<Blob> {\n const endpoint = `/api/attributes/report/word_report/table/${lookupTableId}`;\n return await fileGET(\n endpoint,\n \"/api/attributes/report/word_report/table/${lookupTableId}\"\n );\n}\n\nexport async function getLookupTableExcelReport({\n lookupTableId,\n}: {\n lookupTableId: string;\n}): Promise<Blob> {\n const endpoint = `/api/attributes/report/excel_report/table/${lookupTableId}`;\n return await fileGET(\n endpoint,\n \"/api/attributes/report/excel_report/table/${lookupTableId}\"\n );\n}\n\n//// MATRIX ////\n\nexport async function getMatrices(params: {\n offset: number;\n limit: number;\n accessType: MatrixAccessType;\n regulationId?: string;\n}): Promise<PaginatedDto<MatrixDto>> {\n const endpoint = `/api/matrices`;\n return await getJSON(endpoint, \"/api/matrices\", params);\n}\n\nexport async function getMatrix(matrixId: string): Promise<MatrixDto> {\n const endpoint = `/api/matrices/${matrixId}`;\n return await getJSON(endpoint, \"/api/matrices/${matrixId}\");\n}\n\nexport async function createMatrix({\n newMatrix,\n}: {\n newMatrix: NewMatrixInput;\n}): Promise<MatrixDto> {\n const endpoint = `/api/matrices/`;\n return await postJSON(endpoint, \"/api/matrices/\", newMatrix);\n}\n\nexport async function updateMatrix({\n matrixId,\n ...matrixData\n}: UpdateMatrixInput): Promise<MatrixDto> {\n const endpoint = `/api/matrices/${matrixId}`;\n return await putJSON(endpoint, \"/api/matrices/${matrixId}\", matrixData);\n}\n\nexport async function deleteMatrix({\n matrixId,\n forceDelete,\n}: {\n matrixId: string;\n forceDelete?: boolean;\n}): Promise<void> {\n const endpoint = `/api/matrices/${matrixId + (forceDelete ? \"/true\" : \"\")}`;\n return await deleteAPI(endpoint, \"/api/matrices/${matrixId}\");\n}\n\nexport async function importMatrixData({\n matrixId,\n data,\n}: {\n matrixId?: string;\n data: ImportMatrixInput;\n}): Promise<MatrixDto> {\n const endpoint = `/api/matrices/import/${matrixId || \"\"}`;\n return await postJSON(\n endpoint,\n '/api/matrices/import/${matrixId || \"\"}',\n data\n );\n}\n\n///// MATRIX COLUMNS /////\nexport async function createMatrixColumn({\n newMatrixColumn,\n}: {\n newMatrixColumn: InsertMatrixColumnInput;\n}): Promise<MatrixColumnDto> {\n const endpoint = `/api/matrices/column`;\n return await postJSON(endpoint, \"/api/matrices/column\", newMatrixColumn);\n}\n\nexport async function updateMatrixColumn({\n id,\n ...data\n}: UpdateMatrixColumnInput): Promise<MatrixColumnDto> {\n const endpoint = `/api/matrices/column/${id}`;\n return await putJSON(\n endpoint,\n \"/api/matrices/column/${matrixColumnId}\",\n data\n );\n}\n\nexport async function deleteMatrixColumns({\n matrixColumnIds,\n forceDelete,\n}: {\n matrixColumnIds: string[];\n forceDelete?: boolean;\n}): Promise<void> {\n const endpoint = `/api/matrices/column/delete`;\n return await postJSON(endpoint, \"/api/matrices/column/delete\", {\n matrixColumnIds,\n forceDelete,\n });\n}\n\n///// MATRIX ROWS /////\nexport async function insertMatrixRowByAnswerId({\n answerId,\n}: {\n answerId: string;\n}): Promise<MatrixRowDto> {\n const endpoint = `/api/matrices/row/answer/${answerId}`;\n return await postJSON(endpoint, \"/api/matrices/row/answer/${answerId}\");\n}\n\nexport async function insertMatrixRowByMatrixId({\n matrixId,\n}: {\n matrixId: string;\n}): Promise<MatrixRowDto> {\n const endpoint = `/api/matrices/row/matrix/${matrixId}`;\n return await postJSON(endpoint, \"/api/matrices/row/matrix/${matrixId}\");\n}\n\nexport async function updateMatrixRow({\n matrixRowId,\n data,\n}: {\n matrixRowId: string;\n data: InsertOrUpdateMatrixCellInput[];\n}): Promise<MatrixRowDto> {\n const endpoint = `/api/matrices/row/${matrixRowId}`;\n return await putJSON(endpoint, \"/api/matrices/row/${matrixRowId}\", data);\n}\n\nexport async function deleteMatrixRows(matrixRowIds: string[]): Promise<void> {\n const endpoint = `/api/matrices/row/delete`;\n return await postJSON(endpoint, \"/api/matrices/row/delete\", {\n matrixRowIds,\n });\n}\n///// MATRIX CELLS /////\n\nexport async function getMatrixCellsByAnswerId(\n answerId: string\n): Promise<MatrixDataDto> {\n const endpoint = `/api/matrices/cells/answer/${answerId}`;\n return await getJSON(endpoint, \"/api/matrices/cells/answer/${answerId}\");\n}\n\nexport async function getMatrixCellsByMatrixId(\n matrixId: string\n): Promise<MatrixDataDto> {\n const endpoint = `/api/matrices/cells/matrix/${matrixId}`;\n return await getJSON(endpoint, \"/api/matrices/cells/matrix/${matrixId}\");\n}\n\nexport async function getMatrixDataExcelReport({\n matrixIds,\n templateAssetId,\n}: {\n matrixIds: string[];\n templateAssetId?: string;\n}): Promise<Blob> {\n const endpoint = `/api/reports/report_type/matrix_data/${\n templateAssetId ? `${templateAssetId}` : \"\"\n }`;\n return await fileGET(\n endpoint,\n \"/api/reports/report_type/matrix_data/matrix/${filters.matrixId}\",\n { matrixIds }\n );\n}\n\n//TODO: optional matrixId param\nexport async function uploadTemplateFileToMatrix({\n file,\n matrixId,\n}: {\n file: File;\n matrixId?: string;\n}): Promise<AssetDto> {\n const endpoint = `/api/matrices/report_template/upload/${matrixId}/`;\n return await uploadAPI(\n endpoint,\n \"/api/matrices/report_template/upload/${matrixId}/\",\n file\n );\n}\n\n//TODO: optional matrixId param\nexport async function cloneTemplateFileToMatrix({\n matrixId,\n assetIds,\n}: {\n matrixId?: string;\n assetIds: string[];\n}): Promise<AssetDto[]> {\n const endpoint = `/api/matrices/report_template/clone/${matrixId}`;\n return await postJSON<CloneAttachmentsInput>(\n endpoint,\n \"/api/matrices/report_template/clone/${matrixId}\",\n { assetIds }\n );\n}\n\nexport async function getCSRDImpactRows(): Promise<CSRDImpactRowDto[]> {\n const endpoint = `/api/csrd/impact_rows`;\n return await getJSON(endpoint, \"/api/csrd/impact_rows\");\n}\n\nexport async function createCSRDImpactRow(): Promise<CSRDImpactRowDto> {\n const endpoint = \"/api/csrd/impact_rows/\";\n return await postJSON(endpoint, \"/api/csrd/impact_rows/\");\n}\n\nexport async function updateCSRDImpactRow({\n rowId,\n data,\n}: {\n rowId: string;\n data: UpdateCSRDImpactRowInput;\n}): Promise<CSRDImpactRowDto> {\n const endpoint = `/api/csrd/impact_rows/${rowId}`;\n return await putJSON(endpoint, \"/api/csrd/impact_rows/${rowId}\", data);\n}\n\nexport async function deleteCSRDImpactRow(rowId: string): Promise<void> {\n const endpoint = `/api/csrd/impact_rows/${rowId}`;\n return await deleteAPI(endpoint, \"/api/csrd/impact_rows/${rowId}\");\n}\n\nexport async function getCSRDMaterialityReport(): Promise<Blob> {\n const endpoint = `/api/reports/report_type/csrd/impacts`;\n return await fileGET(endpoint, \"/api/reports/report_type/csrd/impacts\");\n}\n\n///// QUESTION LABLES /////\n\nexport async function getQuestionLabels(): Promise<QuestionLabelDto[]> {\n const endpoint = `/api/question_labels`;\n return await getJSON(endpoint, \"/api/question_labels\");\n}\n\nexport async function createQuestionLabel({\n data,\n}: {\n data: NewQuestionLabelInput;\n}): Promise<QuestionLabelDto> {\n const endpoint = `/api/question_labels`;\n return await postJSON(endpoint, \"/api/question_labels\", data);\n}\n\nexport async function updateQuestionLabel({\n labelId,\n label,\n}: {\n labelId: string;\n label: UpdateQuestionLabelInput;\n}): Promise<QuestionLabelDto> {\n const endpoint = `/api/question_labels/update/${labelId}`;\n return await putJSON(endpoint, \"/api/question_labels/update/${labelId}\", {\n label,\n });\n}\n\nexport async function deleteQuestionLabel(labelId: string): Promise<void> {\n const endpoint = `/api/question_labels/${labelId}`;\n return await deleteAPI(endpoint, \"/api/question_labels/${labelId}\");\n}\n\nexport async function getQuestionLabelWithRelatedQuestions({\n labelId,\n filters,\n}: {\n labelId: string;\n filters?: QuestionLabelFilter;\n}): Promise<QuestionLabelWithQuestionsDto> {\n const endpoint = `/api/question_labels/${labelId}`;\n return await getJSON(endpoint, \"/api/question_labels/${labelId}\", filters);\n}\n\nexport async function connectQuestionsToLabels(\n data: ConnectLabelsToQuestionsInput\n): Promise<void> {\n const endpoint = \"/api/question_labels/connect_questions\";\n return await putJSON(\n endpoint,\n \"/api/question_labels/connect_questions\",\n data\n );\n}\n\nexport async function disconnectQuestionsFromLabel(\n data: ConnectLabelsToQuestionsInput\n): Promise<void> {\n const endpoint = \"/api/question_labels/disconnect_questions\";\n return await putJSON(\n endpoint,\n \"/api/question_labels//disconnect_questions\",\n data\n );\n}\n\n///// DASHBOARD /////\nexport async function getDashboardItems(): Promise<DashboardItemDto[]> {\n const endpoint = `/api/dashboard`;\n return await getJSON(endpoint, \"/api/dashboard\");\n}\n\nexport async function addDashboardItem({\n data,\n}: {\n data: NewDashboardItemInput;\n}): Promise<DashboardItemDto> {\n const endpoint = `/api/dashboard`;\n return await postJSON(endpoint, \"/api/dashboard\", data);\n}\n\nexport async function deleteDashboardItem(\n dashboardItemId: string\n): Promise<void> {\n const endpoint = `/api/dashboard/${dashboardItemId}`;\n return await deleteAPI(endpoint, \"/api/dashboard/${dashboardItemId}\");\n}\n\n///// Regulations and frameworks /////\n\nexport async function getRegulations(): Promise<RegulationDto[]> {\n const endpoint = `/api/regulations`;\n return await getJSON(endpoint, \"/api/regulations\");\n}\n\nexport async function getFoldersByRegulation(\n regulationId: string\n): Promise<FolderDto[]> {\n const endpoint = `/api/regulations/${regulationId}/folders`;\n return await getJSON(endpoint, \"/api/regulations/${regulationId}/folders\");\n}\n\nexport async function getRegulationQuestionnaires(\n assessmentAccessType: AssessmentAccessType,\n regulationId: string\n): Promise<CSRDDocumentDto[]> {\n const endpoint = `/api/regulations/questionnaires/regulation/${regulationId}/${assessmentAccessType}`;\n return await getJSON(\n endpoint,\n \"/api/regulations/questionnaires/regulation/${regulationId}/${assessmentAccessType}\"\n );\n}\n\nexport async function getRegulationSurveys(\n regulationId: string\n): Promise<RegulationSurveyDto[]> {\n const endpoint = `/api/regulations/surveys/regulation/${regulationId}`;\n return await getJSON(\n endpoint,\n \"/api/regulations/surveys/regulation/${regulationId}/\"\n );\n}\n","import { neutralColors, utilityColors } from \"@pulsemarket/constants\";\nimport mime from \"mime-types\";\n\n// TODO: replace `/icons/arrow_down.svg` and `/icons/arrow_up.svg` in all components\nexport function getExpandableIconSource(isExpanded?: boolean) {\n const arrowIconSrc = !isExpanded\n ? \"/icons/arrow_down.svg\"\n : \"/icons/arrow_up.svg\";\n return arrowIconSrc;\n}\n\ntype IconWithColor = {\n src: string;\n color: string;\n};\n\nexport function getIconForFile({\n extension,\n mimeType,\n}: {\n extension?: string;\n mimeType?: string;\n}): IconWithColor {\n const calculatedExtension =\n extension || (mimeType && mime.extension(mimeType));\n if (calculatedExtension && (FILE_ICONS as any)[calculatedExtension]) {\n return (FILE_ICONS as any)[calculatedExtension];\n }\n\n if (mimeType?.startsWith(\"image\")) {\n return FILE_ICONS.image;\n }\n\n if (mimeType?.startsWith(\"video\")) {\n return FILE_ICONS.video;\n }\n\n if (mimeType?.startsWith(\"audio\")) {\n return FILE_ICONS.audio;\n }\n\n return FILE_ICONS.unknown;\n}\n\nexport const FILE_COLORS = {\n image: utilityColors.LILAC,\n video: utilityColors.LILAC,\n audio: utilityColors.LILAC,\n /** maybe document*/\n ai: utilityColors.ORANGE,\n compressed: utilityColors.YELLOW,\n word: utilityColors.BLUE,\n pdf: utilityColors.RED,\n ppt: utilityColors.RED,\n excel: utilityColors.GREEN,\n unknown: neutralColors.GRAY5,\n};\n\n/**\n * SVG sources for files based on their extension\n **/\nexport const FILE_ICONS = {\n zip: { src: \"/icons/zipfile_icon.svg\", color: FILE_COLORS.compressed },\n xls: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlm: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xla: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlc: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlt: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlw: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlsb: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlsm: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xltm: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlam: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n xlsx: { src: \"/icons/xlsx_icon.svg\", color: FILE_COLORS.excel },\n wma: { src: \"/icons/wma_icon.svg\", color: FILE_COLORS.audio },\n txt: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n text: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n conf: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n def: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n list: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n log: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n in: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n ini: { src: \"/icons/txt_icon.svg\", color: FILE_COLORS.word },\n svg: { src: \"/icons/svg_icon.svg\", color: FILE_COLORS.image },\n svgz: { src: \"/icons/svg_icon.svg\", color: FILE_COLORS.image },\n psd: { src: \"/icons/psd_icon.svg\", color: FILE_COLORS.ppt },\n ppt: { src: \"/icons/ppt_icon.svg\", color: FILE_COLORS.ppt },\n pps: { src: \"/icons/ppt_icon.svg\", color: FILE_COLORS.ppt },\n pot: { src: \"/icons/ppt_icon.svg\", color: FILE_COLORS.ppt },\n pptx: { src: \"/icons/pptx_icon.svg\", color: FILE_COLORS.ppt },\n png: { src: \"/icons/png_icon.svg\", color: FILE_COLORS.image },\n pdf: { src: \"/icons/pdf_icon.svg\", color: FILE_COLORS.pdf },\n mp4: { src: \"/icons/mp4_icon.svg\", color: FILE_COLORS.video },\n mp4v: { src: \"/icons/mp4_icon.svg\", color: FILE_COLORS.video },\n mpg4: { src: \"/icons/mp4_icon.svg\", color: FILE_COLORS.video },\n mp3: { src: \"/icons/mp3_icon.svg\", color: FILE_COLORS.audio },\n mov: { src: \"/icons/mov_icon.svg\", color: FILE_COLORS.video },\n qt: { src: \"/icons/mov_icon.svg\", color: FILE_COLORS.video },\n jp2: { src: \"/icons/jpg_icon.svg\", color: FILE_COLORS.image },\n jpg2: { src: \"/icons/jpg_icon.svg\", color: FILE_COLORS.image },\n jpg: { src: \"/icons/jpg_icon.svg\", color: FILE_COLORS.image },\n jpeg: { src: \"/icons/jpeg_icon.svg\", color: FILE_COLORS.image },\n jpe: { src: \"/icons/jpeg_icon.svg\", color: FILE_COLORS.image },\n html: { src: \"/icons/html_icon.svg\", color: FILE_COLORS.ai },\n htm: { src: \"/icons/html_icon.svg\", color: FILE_COLORS.ai },\n shtml: { src: \"/icons/html_icon.svg\", color: FILE_COLORS.ai },\n gif: { src: \"/icons/gif_icon.svg\", color: FILE_COLORS.image },\n docx: { src: \"/icons/docx_icon.svg\", color: FILE_COLORS.word },\n doc: { src: \"/icons/docx_icon.svg\", color: FILE_COLORS.word },\n dot: { src: \"/icons/docx_icon.svg\", color: FILE_COLORS.word },\n avi: { src: \"/icons/avi_icon.svg\", color: FILE_COLORS.video },\n ai: { src: \"/icons/ai_icon.svg\", color: FILE_COLORS.ai },\n eps: { src: \"/icons/ai_icon.svg\", color: FILE_COLORS.ai },\n ps: { src: \"/icons/ai_icon.svg\", color: FILE_COLORS.ai },\n \"7z\": { src: \"/icons/7z_icon.svg\", color: FILE_COLORS.compressed },\n unknown: { src: \"/icons/file_undefined.svg\", color: FILE_COLORS.unknown },\n image: { src: \"/icons/image_icon.svg\", color: FILE_COLORS.image },\n video: { src: \"/icons/video_icon.svg\", color: FILE_COLORS.video },\n audio: { src: \"/icons/file_undefined_icon.svg\", color: FILE_COLORS.audio },\n};\n\nexport const DEFAULT_USER_AVATAR = \"/icons/user_avatar.svg\";\nexport const DEFAULT_COMPANY_AVATAR = \"/icons/company_avatar.svg\";\n\nexport const ESG_PASSPORT_ICON: IconWithColor = {\n color: utilityColors.GREEN,\n src: \"/icons/ESG_passport.svg\",\n};\n","export const ACTING_COMPANY_ID = \"acting-company-id\";\n","import Link from \"components/ui/Link\";\n\nconst permissionMessages = {\n pulsePassport: \"Only the Admin can access Pulse Passport.\",\n companyName: (\n <>\n Company name can be updated in{\" \"}\n <Link url=\"/company/edit/info\">Company account</Link> by the Admin.\n </>\n ),\n teamMembers: \"Only the Admin can manage team members.\",\n};\n\nexport default permissionMessages;\n","import {\n AnswerAdditionalData,\n AssessmentAccessType,\n AssetDto,\n AssetLabelDto,\n ChoiceDto,\n FolderDto,\n MatrixCellDto,\n MatrixColumnDto,\n RfpDto,\n} from \"@pulsemarket/api-client\";\nimport {\n AttributeModelType,\n AttributeValueType,\n DashboardType,\n Direction,\n EvaluationType,\n NotificationType,\n QuestionType,\n RfpResponseAnalysisStatus,\n RfpResponseEvaluationStatus,\n RfpResponseStatus,\n RFPType,\n} from \"@pulsemarket/constants\";\nimport { ModuleEvaluation } from \"components/rfps/RFPSettings/EvaluationCriteria/EvaluationCriteria\";\nimport { PartialBy, WithRequired } from \"shared/utilityTypes\";\n\n//Utility\nexport interface Identifiable {\n id: string;\n image?: string;\n}\nexport interface Pair {\n name: string;\n id: string;\n}\nexport type PaginationParams = {\n limit: number;\n offset: number;\n};\n\n// Dtos\nexport interface RfpQuestionTemplateDto {\n id: string;\n content: string;\n}\n\nexport enum ContainerType {\n Assets = \"assets\",\n Rfps = \"rfps\",\n images = \"images\",\n DataRoom = \"dataRoom\",\n Passports = \"passports\",\n Reports = \"reports\",\n}\n\nexport enum ContextType {\n Users = \"users\",\n Companies = \"companies\",\n Groups = \"groups\",\n}\n\nexport enum RfpInvitationStatus {\n Pending = \"Pending\",\n Accepted = \"Accepted\",\n Declined = \"Declined\",\n Responded = \"Responded\",\n}\n\nexport enum DynamicRfpInvitationStatus {\n Pending = \"Pending\",\n Declined = \"Declined\",\n Accepted = \"Accepted\",\n Responded = \"Responded\",\n /** After due date and it's Pending */\n NotResponded = \"NotResponded\",\n Expired = \"Expired\",\n}\n\n/** = not passport. Required as a separate enum because of JS loops */\nexport enum StandardRFPType {\n RFI = \"RFI\",\n RFP = \"RFP\",\n DDQ = \"DDQ\",\n QTP = \"QTP\",\n}\n\nexport enum RFPStatus {\n Draft = \"Draft\",\n Distributed = \"Distributed\",\n InReview = \"InReview\",\n AnalyticalReview = \"AnalyticalReview\",\n Completed = \"Completed\",\n}\n\nexport type CloneRfxParams = {\n orignalRfxId: string;\n targetCompanyId: string;\n};\n\nexport type RfpFilters = {\n name?: string;\n statusIds?: string[];\n type?: RFPType;\n sort?: { [key in keyof RfpDto]?: \"asc\" | \"desc\" };\n pagination?: PaginationParams;\n};\n\nexport type RfpInvitationFilters = {\n statusIds?: string[];\n respondedAfter?: Date | null;\n respondedBefore?: Date | null;\n distributedAfter?: Date | null;\n distributedBefore?: Date | null;\n};\n\n/** Filters for quering submitted responses for a specific RFP */\nexport type ReceivedResponseFilters = {\n evaluationStatuses?: RfpResponseEvaluationStatus[];\n analysisStatuses?: RfpResponseAnalysisStatus[];\n distributedAfter?: Date | null;\n distributedBefore?: Date | null;\n respondedAfter?: Date | null;\n respondedBefore?: Date | null;\n reviewedAfter?: Date | null;\n reviewedBefore?: Date | null;\n};\n\n/** Filters for quering responses that a company was invited to answer */\nexport type RfpResponseFilters = {\n statusIds?: string[];\n rfpName?: string;\n type?: RFPType;\n invitedCompanyId?: string;\n invitedSupplierId?: string;\n};\n\nexport type SupplierFilters = {\n ids?: string[];\n name?: string;\n risk?: SupplierRiskCategory[];\n cost?: SupplierCostCategory[];\n status?: string[];\n passport?: string[];\n response?: StandardRFPType[];\n responseStatus?: Exclude<\n DynamicRfpInvitationStatus,\n DynamicRfpInvitationStatus.Expired\n >[];\n products?: string[];\n attributes?: AttributeChoiceFilterInput[];\n groupId?: string;\n};\n\nexport type SupplierProductFilter = {\n ids?: string[];\n name?: string;\n status?: string[];\n supplierId?: string[];\n attributes?: AttributeChoiceFilterInput[];\n};\nexport type SupplierGroupFilter = {\n name?: string;\n};\n\nexport type AttributeFilter = {\n attributeTypeId: string;\n attributeChoiceIds: string[];\n};\n\nexport type AttributeChoiceFilterInput = {\n attributeTypeId: string;\n attributeTypeName: string;\n choices: (AttributeChoiceDto & { isSelected: boolean })[];\n};\n\nexport type AttributeSchemaQuery = {\n withChoicesOnly?: boolean;\n showHidden?: boolean;\n};\n\nexport type IncomingRfpDto = {\n name: string;\n type: RFPType;\n id: string;\n dueDate: string;\n distributedOn?: string;\n responseStatus: DynamicRfpResponseStatus;\n rfpResponseId?: string;\n rfpInvitationId?: string;\n rfpInvitationStatus?: DynamicRfpInvitationStatus;\n responseDate?: string;\n companyName: string;\n distributionDate: string;\n};\n\nexport type RfpWithWeightsDto = {\n id: string;\n modules: ModuleEvaluation[];\n};\n\nexport type UpdateWeightsInModulesInput = {\n moduleWeights: ModuleEvaluation[];\n};\n\nexport type ScoreSettingDto = {\n id: string;\n score: number;\n description: string;\n title: string;\n};\n\nexport type CreateScoreSettingsInput = {\n title: string;\n isDefault: boolean;\n scoreSettings: SetScoreNamesInput[];\n};\n\nexport type UpdateScoreSettingsInput = {\n scoreSettingsGroupId: string;\n title?: string;\n isDefault?: boolean;\n scoreSettings?: SetScoreNamesInput[];\n};\n\nexport type SetScoreNamesInput = Pick<\n ScoreSettingDto,\n \"score\" | \"title\" | \"description\"\n>;\n\nexport enum DynamicRfpResponseStatus {\n /** Applies to unanswered invitations */\n New = \"New\",\n Draft = \"Draft\",\n /** Read from invitation status */\n Declined = \"Declined\",\n Submitted = \"Submitted\",\n InReview = \"InReview\",\n /** After due date and it's not submitted nor declined */\n NotResponded = \"NotResponded\",\n}\n\nexport interface NewRfpResponse {\n rfpId: string;\n /** `Draft` by default */\n status?: RfpResponseStatus;\n ownerName: string;\n ownerTitle: string;\n ownerEmail: string;\n declineNote?: string;\n accept: boolean;\n}\n\nexport interface RfpResponseDetailedScores {\n totalScore: number;\n evaluationType: EvaluationType;\n modules: {\n id: string;\n title: string;\n questionnaires: {\n id: string;\n title: string;\n order: number;\n weight: number;\n score: number;\n questions: {\n id: string;\n order: number;\n score: number;\n weight: number;\n weightedScore: number;\n answerId: string | null;\n type: QuestionType;\n nextQuestionId: string | null;\n isIfQuestion: boolean;\n choices: { id: string; nextQuestionId: string | null }[];\n }[];\n }[];\n }[];\n}\n\ntype AdditionalData =\n | Omit<AnswerAdditionalData, \"choiceId\">\n | AnswerAdditionalData[];\n\nexport type FolderItemDto = FolderDto | AssetDto;\n\nexport type FolderListDto = {\n id: string;\n name: string;\n children: FolderListDto[];\n};\n\nexport type FolderTreeFilters = {\n isHidden?: boolean;\n};\n\nexport interface PathDto {\n name: string;\n folderId: string;\n}\n\nexport type NewFolder = {\n companyId: string;\n userId: string;\n name: string;\n parentFolderId: string;\n labels?: AssetLabelDto[];\n};\n\nexport type UploadAsset = {\n id: string | null;\n companyId: string;\n userId: string;\n parentFolderId: string | null;\n name: string;\n createdAt: string;\n};\n\nexport type AssetSearchOptions = {\n name: string;\n labelIds?: string[];\n folderId?: string;\n showHidden: boolean;\n};\n\nexport interface UpdateQuestionInput {\n content?: string;\n order?: number;\n isVerified?: boolean;\n weight?: number;\n type?: QuestionType;\n options?: string;\n newChoice?: PartialBy<ChoiceDto, \"id\">;\n deletedChoiceId?: ChoiceDto[\"id\"];\n updatedChoice?: Omit<ChoiceDto, \"order\"> & { order?: undefined };\n isMandatory?: boolean;\n isKillerQuestion?: boolean;\n isIfQuestion?: boolean;\n isAttachmentAllowed?: boolean;\n isAutoScored?: boolean;\n autoScoringDirection?: Direction | null;\n isAttachmentMandatory?: boolean;\n isDateAllowed?: boolean;\n isDateMandatory?: boolean;\n isExpirationMandatory?: boolean;\n /** set to null to remove relation */\n nextQuestionId?: string | null;\n note?: string | null;\n}\n\nexport interface StandardizedQuestionDto {\n content: string;\n}\n\nexport interface StandardizedQuestionnaireDto {\n id: string;\n title: string;\n introduction: string;\n questions: StandardizedQuestionDto[];\n}\n\nexport interface UpdateAnswerInput {\n content?: string;\n additionalData?: AdditionalData;\n note?: string;\n}\n\nexport type ScoreAnswerInput = {\n score: number;\n};\n\nexport interface ProductOrService {\n id: string;\n image: string;\n title: string;\n description: string;\n}\n\nexport interface CompanyDto {\n id: string;\n name: string;\n employees: Pair;\n avatar?: string;\n backgroundImage?: string;\n phoneNumber: string;\n address: string;\n city?: string;\n zipCode?: string;\n state?: string;\n country?: Pair;\n linkedInUrl?: string;\n contactName?: string;\n email?: string;\n youtubeUrl?: string;\n website?: string;\n about?: string;\n industries: Pair[];\n sector: Pair[];\n specialities: Pair[];\n servicing: Pair[];\n zones: Pair[];\n companyListIds: string[];\n productsAndServices: ProductOrService[];\n creationDate: string;\n passports: PassportDto[];\n}\n\nexport interface CompanyProfileDto {\n id: string;\n name: string;\n avatar?: string;\n backgroundImage?: string;\n about: string;\n}\n\nexport enum MediaProvider {\n YouTube = \"YouTube\",\n Raw = \"Raw\",\n}\n\nexport type MediaItemDto = {\n id: string;\n name: string;\n reference: string;\n provider: MediaProvider;\n createdAt: Date;\n updatedAt: Date;\n};\n\nexport type DataRoomDto = {\n id: string;\n name: string;\n visitors: number;\n createdAt: string;\n updatedAt: string;\n companyId: string;\n rootFolderId: string;\n ownerId: string | null;\n videoCount: number | null;\n documentCount: number | null;\n};\n\nexport type DataRoomFilters = {\n search?: string | null;\n createdAfter?: Date | null;\n createdBefore?: Date | null;\n};\n\nexport type DataRoomDetailsDto = {\n id: string;\n name: string;\n visitors: number;\n createdAt: string;\n updatedAt: string;\n companyId: string;\n folderId: string;\n owner: Pick<\n UserDto,\n \"firstName\" | \"lastName\" | \"id\" | \"profileImage\" | \"jobTitle\"\n > | null;\n};\n\nexport type DataRoomInvitationDto = {\n id: string;\n email: string;\n invitedUser?: { id: string; profileImage?: string };\n};\n\nexport type CreateDataRoomInvitationInput = {\n emails: string[];\n};\n\nexport type UpdateDataRoomInput = {\n name: string;\n};\n\nexport type CreateDataRoomInput = {\n name: string;\n};\n\nexport type CloneAssetsInput = {\n assetIds: string[];\n folderIds: string[];\n};\n\nexport type CompanyDetailsDto = {\n id: string;\n name: string;\n employees?: Pair;\n avatar?: string;\n backgroundImage?: string;\n phoneNumber?: string;\n address?: string;\n city?: string;\n zipCode?: string;\n state?: string;\n country?: Pair;\n linkedInUrl?: string;\n website?: string;\n about?: string;\n headline?: string;\n rssUrl?: string;\n industries: Pair[];\n sectors: Pair[];\n specialities: Pair[];\n servicing: Pair[];\n zones?: Pair[];\n productsAndServices: ProductOrService[];\n companyLists: CompanyListDto[];\n creationDate: string;\n youtubeUrl?: string;\n passports: PassportDto[];\n email?: string;\n contactName?: string;\n invitations?: CompanyMemberInvitation[];\n assetRepositoryId?: string;\n attributes: AttributeTypeWithValuesDto[];\n dashboardType: DashboardType;\n};\n\nexport type CompanyUpdateDto = {\n id: string;\n name: string;\n employees?: string;\n avatar?: string;\n backgroundImage?: string;\n phoneNumber?: string;\n address?: string;\n city?: string;\n zipCode?: string;\n state?: string;\n country?: string;\n linkedInUrl?: string;\n youtubeUrl?: string;\n website?: string;\n about?: string;\n headline?: string;\n rssUrl?: string;\n industries: string[];\n sectors: string[];\n specialities: string[];\n servicing: string[];\n zones?: string[];\n companyListIds: string[];\n productsAndServicesIds: string[];\n creationDate: string;\n passports: CompanyPassportUpdateDto[];\n email?: string;\n contactName?: string;\n attributes?: SetAttributeInput[];\n};\n\nexport type CompanyFilter = {\n companyName?: string;\n country?: string[];\n industry?: string[];\n sectors?: string[];\n specialities?: string[];\n servicing?: string[];\n zones?: string[];\n employees?: string[];\n passports?: string[];\n fromSubset?: string[];\n companyListId?: string | null;\n};\n\nexport type CompanyListDto = {\n id: string;\n name: string;\n companyIds: string[];\n};\n\nexport type PassportTypeId =\n | \"esg_health_check_v1\"\n | \"financial_service_readiness_v1\";\n\nexport type PassportTypeDto = {\n id: PassportTypeId;\n name: string;\n description: string;\n surveyMonkeyUrl: string;\n color?: string;\n};\n\nexport type CompanyPassportUpdateDto = {\n passportId: string;\n show: boolean;\n};\n\nexport type PassportDto = {\n id: string;\n type: PassportTypeDto;\n show: boolean;\n createdAt: string;\n expirationDate: string;\n score: number;\n};\n\nexport enum PassportShareConfig {\n None = \"None\",\n Public = \"Public\",\n /** Only share with companies who sent an invitation */\n Limited = \"Limited\",\n}\n\nexport enum PassportStatus {\n None = \"None\",\n Draft = \"Draft\",\n InReview = \"InReview\",\n Submitted = \"Submitted\",\n Completed = \"Completed\",\n CloseToExpire = \"CloseToExpire\",\n Expired = \"Expired\",\n}\n\nexport type PassportItemDto = {\n rfpResponseId: string;\n status: PassportStatus;\n passport?: PassportDto;\n};\n\nexport enum PassportInvitationStatus {\n Pending = \"Pending\",\n Completed = \"Completed\",\n}\n\nexport type PassportInvitationDto = {\n rfpId: string;\n rfpInvitationId: string;\n invitedCompanyId?: string;\n invitedSupplierId?: string;\n invitedEmail?: string;\n inviteeName: string;\n status: PassportInvitationStatus;\n rfpResponse?: PassportItemDto;\n};\n\nexport type PassportInvitationFilter = {\n invitedCompanyId?: string;\n invitedSupplierId?: string;\n /** whether to include invitations where the invitee is the queriying company */\n includeSelf?: boolean;\n};\n\nexport type CompanyCardDto = {\n id: string;\n name: string;\n avatar?: string;\n city?: string;\n country?: Pair;\n specialities?: Pair[];\n};\n\nexport type NonIdentifiable<T> = Omit<T, \"id\">;\nexport type OldNewModule = {\n title: string;\n orgId: string;\n assetsId: string[];\n};\n\n/* Users */\n\nexport interface UserDto {\n id: string;\n companyId: string;\n email: string;\n firstName: string;\n lastName: string;\n jobTitle: string;\n payments: Record<string, boolean>;\n seenWelcomePopup: boolean;\n emailNewRFP: boolean;\n emailRFPResponse: boolean;\n emailGroupInvitation: boolean;\n emailGroupUpdates: boolean;\n profileImage?: string;\n linkedInUrl?: string;\n role?: string;\n}\n\nexport interface UserProfileDto {\n id: string;\n email: string;\n companyId: string;\n firstName: string;\n lastName: string;\n jobTitle?: string;\n profileImage?: string;\n}\n\nexport enum InvitationType {\n rfp = \"rfp\",\n group = \"group\",\n companyMember = \"companyMember\",\n}\n\nexport type InvitationInput = {\n type: InvitationType;\n id: string;\n inviterCompany?: string;\n};\n\nexport type RegistrationInput = {\n user: NewUserInput;\n companyName?: string;\n invitation?: InvitationInput;\n};\n\nexport type LoginInput = {\n email: string;\n password: string;\n};\n\nexport interface User {\n id: string;\n companyIds: string[];\n email: string;\n firstName: string;\n lastName: string;\n jobTitle: string;\n seenWelcomePopup: boolean;\n emailNewRFP: boolean;\n emailRFPResponse: boolean;\n emailGroupInvitation: boolean;\n emailGroupUpdates: boolean;\n}\n\nexport interface NewUserInput {\n email: string;\n firstName: string;\n lastName: string;\n password: string;\n}\n\nexport interface OldUserInput {\n id: string;\n email: string;\n firstName: string;\n lastName: string;\n jobTitle: string;\n}\n\nexport interface NewCompany {\n name: string;\n zones?: string[];\n}\n\nexport interface CompanyMemberInvitation {\n invitationId: string;\n email: string;\n expirationDate: string;\n isActive: boolean;\n id: string;\n}\n\n/* Feedback */\n\nexport type FeedbackType = \"Feedback\" | \"Suggestion\" | \"Issue\";\n\nexport type Feedback = {\n type: FeedbackType;\n email?: string;\n description: string;\n};\n\nexport interface UserCompanyRole {\n id: string;\n userId: string;\n companyId: string;\n roleId: string;\n}\n\nexport interface NewUserCompanyRole {\n userId: string;\n companyId: string;\n roleId: string;\n}\n\nexport interface Role {\n id: string;\n name: string;\n description: string;\n}\n\nexport interface NewGroup {\n adminId: string;\n name: string;\n description: string;\n zones: string[];\n isPrivate: boolean;\n isVisible: boolean;\n allowMemberInvitations: boolean;\n}\n\nexport interface GroupDetailsDto {\n id: string;\n createdAt: string;\n ownerCompanyId: string;\n name: string;\n description: string;\n zones: Pair[];\n avatar: string;\n avatarBase64?: string;\n backgroundImage: string;\n backgroundImageBase64?: string;\n isPrivate: boolean;\n isVisible: boolean;\n allowMemberInvitations: boolean;\n onlyAdminCanCreateContent: boolean;\n postsRequireApproval: boolean;\n filesRequireApproval: boolean;\n invitations: GroupInvitationDto[];\n members: WithRequired<GroupInvitationDto, \"invitedCompany\">[];\n requestedAccess: WithRequired<GroupInvitationDto, \"invitedCompany\">[];\n datarooms?: Pick<DataRoomDto, \"id\" | \"name\">[];\n}\n\nexport class GroupFilesDto {\n mediaItems?: (MediaItemDto & {\n status: GroupResourceApprovalStatus;\n userId: string;\n })[];\n attachments?: (AssetDto & {\n status: GroupResourceApprovalStatus;\n userId: string;\n })[];\n insertedMedia?: (MappedInsertedAsset & {\n status: GroupResourceApprovalStatus;\n userId: string;\n })[];\n}\n\nexport type UserPreviewDto = {\n firstName: string;\n lastName: string;\n jobTitle?: string;\n profileImage?: string | null;\n};\n\nexport interface PostWithReferencesDto {\n id: string;\n text: string;\n createdAt: Date;\n updatedAt?: Date;\n isDraft: boolean;\n isApproved: boolean;\n isEdited: boolean;\n author: UserProfileDto;\n company: CompanyProfileDto;\n reactionCount: number;\n isLiked: boolean;\n comments?: CommentDto[];\n commentsCount?: number;\n attachments?: AssetDto[];\n insertedMedia?: MappedInsertedAsset[];\n mediaItems: MediaItemDto[];\n}\n\nexport type PostsQueryResult = {\n total: number;\n posts: PostWithReferencesDto[];\n};\n\nexport type PostDto = {\n id: string;\n text: string;\n createdAt: Date;\n updatedAt?: Date;\n isDraft: boolean;\n groupId: string;\n};\n\nexport type PostFilters = {\n isDraft?: boolean;\n isApproved?: boolean;\n};\n\nexport type GroupFilesFilters = {\n isApproved?: boolean;\n};\n\nexport type ReactionDetailsDto = {\n firstName: string;\n lastName: string;\n companyName: string;\n};\n\nexport interface NewPostInput {\n text: string;\n isDraft: boolean;\n}\n\nexport interface UpdatePostInput {\n text?: string;\n isDraft?: boolean;\n isApproved?: boolean;\n}\n\nexport interface CommentDto {\n id: string;\n text: string;\n createdAt: Date;\n updatedAt?: Date;\n isEdited: boolean;\n attachments: AssetDto[];\n user: UserProfileDto;\n company: CompanyProfileDto;\n status: CommentStatus;\n answerId?: string;\n}\n\nexport interface NewCommentInput {\n referenceId?: string;\n text?: string;\n referenceType: CommentReferenceType;\n}\n\nexport type CommentReferenceType = \"post\" | \"answer\";\n\n/** RFP Messages - used for notifications */\nexport type MessageDetailsDto = {\n id: string;\n anwerId: string;\n moduleId: string;\n rfpId: string;\n rfpResponseId: string;\n rfpName: string;\n rfpType: RFPType;\n};\n\nexport class UpdateCommentInput {\n text?: string;\n postId?: string;\n}\n\nexport enum GroupMemberRelationStatus {\n Owned = \"Owned\",\n Joined = \"Joined\",\n JoinRequestPending = \"JoinRequestPending\",\n PublicJoinable = \"PublicJoinable\",\n Invited = \"Invited\",\n PrivateJoinable = \"PrivateJoinable\",\n Removed = \"Removed\",\n}\n\nexport interface GroupInvitationDto {\n id: string;\n createdAt: Date;\n joinDate?: Date;\n isJoinRequest: boolean;\n status: GroupInvitationStatus;\n updatedAt?: Date;\n invitedCompany?: CompanyDto;\n invitedSupplier?: SupplierDto;\n invitedEmail?: string;\n}\n\nexport type CombinedInvitationTargetDto = {\n invitedEmail?: string | null;\n invitedSupplierId?: string | null;\n invitedCompanyId?: string | null;\n};\n\nexport type CombinedInvitationRecipientInput = {\n type: CombinedInvitationRecipientType;\n invitee: string;\n name?: string;\n};\n\nexport enum GroupInvitationStatus {\n Joined = \"Joined\",\n Approved = \"Approved\",\n Declined = \"Declined\",\n Denied = \"Denied\",\n Pending = \"Pending\",\n Removed = \"Removed\",\n WaitingForApproval = \"WaitingForApproval\",\n Left = \"Left\",\n}\n\nexport enum CombinedInvitationRecipientType {\n Email = \"Email\",\n Company = \"Company\",\n Supplier = \"Supplier\",\n}\n\nexport type CombinedInvitationInput = {\n type: CombinedInvitationRecipientType;\n invitee: string;\n};\n\nexport enum GroupResourceApprovalStatus {\n Pending = \"Pending\",\n Approved = \"Approved\",\n Declined = \"Declined\",\n}\n\nexport enum CommentStatus {\n Pending = \"Pending\",\n Sent = \"Sent\",\n}\n\nexport class UpdateGroupInput {\n name?: string;\n description?: string;\n zones?: string[];\n datarooms?: string[];\n isPrivate?: boolean;\n isHidden?: boolean;\n allowMemberInvitations?: boolean;\n onlyAdminCanCreateContent?: boolean;\n postsRequireApproval?: boolean;\n}\n\nexport type GroupSearchOptions = {\n name?: string;\n zones?: string[];\n};\n\nexport type BlobStorageType = {\n containerType: ContainerType;\n contextType: ContextType;\n};\nexport interface PaginatedDto<TData> {\n total: number;\n limit: number;\n offset: number;\n results: TData[];\n}\n\nexport interface SupplierListItemDto {\n id: string;\n name: string;\n isActive: boolean;\n lastActivityDate?: string;\n avatar?: string;\n companyId?: string;\n passport?: PassportDto;\n contractsCount: number;\n responsesCount: number;\n productsCount: number;\n riskCategory: SupplierRiskCategory;\n cost: SupplierCostCategory;\n attributes: AttributeTypeWithValuesDto[];\n}\n\nexport interface SupplierDto {\n id: string;\n avatar?: string;\n name: string;\n contactEmail: string;\n contactName?: string;\n contactPhone?: string;\n website?: string;\n isActive: boolean;\n mappedCompanyId?: string;\n contractsCount: number;\n productsCount: number;\n folderId: string;\n cost: SupplierCostCategory;\n riskCategory: SupplierRiskCategory;\n overview?: string;\n attributes: AttributeTypeWithValuesDto[];\n}\n\nexport interface NewSupplierInput {\n name: string;\n contactEmail: string;\n contactName?: string;\n contactPhone?: string;\n website?: string;\n isActive?: boolean;\n attributes?: SetAttributeInput[];\n}\n\nexport interface UpdateSupplierInput {\n name?: string;\n contactEmail?: string;\n contactName?: string;\n contactPhone?: string;\n website?: string;\n isActive?: boolean;\n riskCategory?: SupplierRiskCategory;\n cost?: SupplierCostCategory;\n overview?: string;\n attributes?: SetAttributeInput[];\n}\n\nexport enum SupplierContractRiskCategory {\n Low = \"Low\",\n Medium = \"Medium\",\n High = \"High\",\n}\n\nexport enum SupplierCostCategory {\n Low = \"Low\",\n Medium = \"Medium\",\n High = \"High\",\n}\n\nexport enum SupplierRiskCategory {\n Low = \"Low\",\n Medium = \"Medium\",\n High = \"High\",\n}\n\nexport type SupplierContractDto = {\n id: string;\n name: string;\n startDate?: string;\n endDate?: string;\n budget: number;\n department?: string;\n riskCategory: SupplierContractRiskCategory;\n supplierRecordId: string;\n isActive: boolean;\n attachments?: AssetDto[];\n};\n\nexport interface NewSupplierContractInput {\n supplierRecordId: string;\n name: string;\n startDate?: string;\n endDate?: string;\n budget: number;\n department?: string;\n riskCategory: string;\n}\n\nexport interface UpdateSupplierContractInput {\n name?: string;\n startDate?: string;\n endDate?: string;\n budget?: number;\n department?: string;\n riskCategory?: string;\n}\n\nexport type NewAttributeTypeInput = {\n name: string;\n description?: string;\n isHidden?: boolean;\n isRequired?: boolean;\n isSystemAttribute?: boolean;\n modelType: AttributeModelType;\n valueType: AttributeValueType;\n choices?: string[];\n};\n\nexport type UpdateAttributeTypeInput = {\n name?: string;\n description?: string;\n isHidden?: boolean;\n isRequired?: boolean;\n valueType?: AttributeValueType;\n choices?: UpdateAttributeChoiceInput[];\n};\n\nexport type UpdateAttributeChoiceInput = {\n id: string;\n value: string;\n};\n\nexport type AttributeTypeDto = {\n id: string;\n name: string;\n desription?: string;\n isHidden: boolean;\n isRequired?: boolean;\n isSystemAttribute?: boolean;\n modelType: AttributeModelType;\n valueType: AttributeValueType;\n choices?: AttributeChoiceDto[];\n};\n\nexport type AttributeValueOrChoice = {\n textValue?: string;\n numericValue?: number;\n dateValue?: Date;\n choices?: AttributeChoiceDto[];\n};\n\nexport type AttributeDto = AttributeValueOrChoice & {\n attributeTypeId: string;\n};\n\nexport type AttributeChoiceDto = {\n id: string;\n value: string;\n};\n\nexport type AttributeTypeWithValuesDto = AttributeTypeDto & {\n relatedAttribute?: AttributeDto;\n};\n\nexport type AttributeLookupTableGroupDto = {\n id: string;\n name: string;\n tables: AttributeLookupTableDto[];\n};\n\nexport type AttributeLookupTableDto = {\n id: string;\n name: string;\n description?: string;\n isGlobal: boolean;\n};\n\nexport type AttributeLookupTableValueDto = {\n attributeTypeId: string;\n value: AttributeDto;\n};\n\nexport type AttributeLookupTableKeyDto = {\n attributeTypeId: string;\n choice: AttributeChoiceDto;\n};\n\nexport type AttributeLookupTableRowDto = {\n id: string;\n keys: AttributeLookupTableKeyDto[];\n values: AttributeLookupTableValueDto[];\n};\n\nexport enum AttributeLookupDataType {\n key = \"key\",\n value = \"value\",\n}\n\nexport type AttributeLookupTableColumnDto = {\n attributeTypeId: string;\n name: string;\n choices: AttributeChoiceDto[];\n type: AttributeLookupDataType;\n};\n\nexport type LookupTableDataDto = {\n columns: AttributeLookupTableColumnDto[];\n rows: AttributeLookupTableRowDto[];\n table: AttributeLookupTableDto;\n};\n\nexport type SupplierProductDto = {\n id: string;\n name: string;\n supplierId: string;\n description?: string;\n isActive: boolean;\n isArchived: boolean;\n createdAt: Date;\n updatedAt: Date;\n supplier?: SupplierListItemDto;\n folderId: string;\n};\n\nexport type DisonnectSuppliersFromGroupsInput = {\n supplierIds: string[];\n supplierGroupIds: string[];\n};\n\nexport type UpdateSupplierGroupInput = {\n name: string;\n};\n\nexport type SupplierProductDetailsDto = Omit<\n SupplierProductDto,\n \"createdAt\" | \"updatedAt\"\n> & {\n attributes: AttributeTypeWithValuesDto[];\n};\n\nexport interface NewSupplierProductInput {\n supplierId: string;\n name: string;\n description?: string;\n isActive?: boolean;\n attributes?: SetAttributeInput[];\n}\n\nexport interface UpdateSupplierProductInput {\n supplierProductId: string;\n name?: string;\n description?: string;\n isActive?: boolean;\n isArchived?: boolean;\n attributes?: SetAttributeInput[];\n}\n\nexport type SetAttributeInput = {\n attributeTypeId: string;\n textValue?: string;\n numericValue?: number;\n dateValue?: Date;\n choices?: string[];\n};\n\nexport type CloneAttachmentsInput = {\n assetIds: string[];\n};\n\nexport type NewCertificateInput = {\n name: string;\n fromDate: Date;\n toDate: Date;\n applicant?: string;\n number?: string;\n note?: string;\n auditor?: string;\n scope?: string;\n assetId: string;\n};\n\nexport interface PulsePage {\n id: string;\n name: string;\n memberCount: number;\n avatar?: string;\n}\n\nexport interface NotificationDto {\n id: string;\n createdAt: Date;\n isRead: boolean;\n type: NotificationType;\n relatedId: string;\n sentByCompany: CompanyDto;\n}\n\nexport enum BlobType {\n UserProfile = \"UserProfile\",\n CompanyAvatar = \"CompanyAvatar\",\n CompanyBackGroundImage = \"CompanyBackGroundImage\",\n GroupAvatar = \"GroupAvatar\",\n GroupBackGroundImage = \"GroupBackGroundImage\",\n ProductsAndServices = \"ProductsAndServices\",\n}\n\nexport interface NewImageInput {\n blobType: BlobType;\n userId?: string;\n companyId?: string;\n productId?: string;\n groupId?: string;\n}\n\nexport interface NotificationsResponse {\n total: number;\n unread: number;\n notifications: NotificationDto[];\n}\n\nexport type AttachmentMode = \"attachment\" | \"insert\";\nexport type RfpAttachmentTarget = \"module\" | \"questionnaire\" | \"question\";\nexport type MappedInsertedAsset = { id: string; url: string };\n\nexport enum MatrixColumnType {\n number = \"number\",\n text = \"text\",\n}\n\nexport type UpdateMatrixColumnInput = {\n matrixColumnId: string;\n field?: string;\n type?: MatrixColumnType;\n order?: number;\n};\n\nexport type MatrixRowDto = {\n id: string;\n cells: MatrixCellDto[];\n company?: CompanyDto;\n rfp?: RfpDto;\n};\n\nexport type MatrixDataDto = {\n rows: MatrixRowDto[];\n columns: MatrixColumnDto[];\n};\n\n// These types are duplicated with backend and were added after the API client generation was merged.\n// Please re-merge with API-client generation branch and remove the below types and update the related imports to use @pulsemarket/api-client\n\nexport type QuestionFilter = {\n labelIds?: string[];\n rfxType?: RFPType;\n assessmentAccessType: AssessmentAccessType;\n regulationId: string;\n};\n\nexport type QuestionLabelFilter = {\n rfxType?: RFPType;\n regulationId: string;\n};\n","import { percent, px } from \"csx\";\nimport { forceTextOneLine } from \"shared/styles/styles\";\nimport { style } from \"typestyle\";\nimport { NestedCSSProperties } from \"typestyle/lib/types\";\n\nimport { fontWeight } from \"./typography\";\n\nexport const colorClass = (color: NestedCSSProperties[\"color\"]) =>\n style({\n color,\n });\nexport const hoverColorClass = (color: NestedCSSProperties[\"color\"]) =>\n style({\n $nest: { \"&::hover\": { color } },\n });\nexport const backgroundColorClass = (\n backgroundColor: NestedCSSProperties[\"backgroundColor\"]\n) =>\n style({\n backgroundColor,\n });\n\nexport const circleClass = style({\n borderRadius: percent(100),\n});\n\nexport const semiBold = style({\n fontWeight: fontWeight.SEMI_BOLD,\n});\n\nexport const width = (width: NestedCSSProperties[\"width\"]) =>\n style({\n width,\n });\nexport const height = (height: NestedCSSProperties[\"height\"]) =>\n style({\n height,\n });\nexport const fullWidthClass = style({\n width: percent(100),\n});\n\nexport const fullHeightClass = style({\n height: percent(100),\n});\n\nexport const zeroPaddingMargin = {\n padding: 0,\n margin: 0,\n};\n\n// TODO replace all occurences of this class, add the \"zeroPaddingMargin\" style object instead\nexport const zeroPaddingMarginClass = style({\n padding: 0,\n margin: 0,\n});\nexport const preWrap = style({\n whiteSpace: \"pre-wrap\",\n});\n\nexport const noOverFlow = style({\n overflow: \"hidden\",\n});\nexport const noTextOverflowClass = style(forceTextOneLine);\nexport const leftBorderClass = (borderRadius: number, width: number) =>\n style({\n position: \"absolute\",\n left: 0,\n top: 0,\n height: percent(100),\n width: px(width),\n borderTopLeftRadius: px(borderRadius),\n borderBottomLeftRadius: px(borderRadius),\n });\n\nexport const relative = style({\n position: \"relative\",\n});\nexport const absolute = style({\n position: \"absolute\",\n});\n\nexport const block = style({\n display: \"block\",\n});\nexport const hidden = style({\n visibility: \"hidden\",\n});\n\nexport const marginTopClass = (size: NestedCSSProperties[\"marginTop\"]) =>\n style({\n marginTop: size,\n });\nexport const marginBottomClass = (size: NestedCSSProperties[\"marginBottom\"]) =>\n style({\n marginBottom: size,\n });\nexport const marginRightClass = (size: NestedCSSProperties[\"marginRight\"]) =>\n style({\n marginRight: size,\n });\nexport const marginLeftClass = (size: NestedCSSProperties[\"marginLeft\"]) =>\n style({\n marginLeft: size,\n });\n\nexport const autoMarginLeft = style({\n marginLeft: \"auto\",\n});\nexport const autoMarginRight = style({\n marginRight: \"auto\",\n});\n\nexport const paddingLeft = (size: NestedCSSProperties[\"paddingLeft\"]) =>\n style({\n paddingLeft: size,\n });\nexport const paddingRight = (size: NestedCSSProperties[\"paddingRight\"]) =>\n style({\n paddingRight: size,\n });\nexport const paddingTop = (size: NestedCSSProperties[\"paddingTop\"]) =>\n style({\n paddingTop: size,\n });\nexport const paddingBottom = (size: NestedCSSProperties[\"paddingBottom\"]) =>\n style({\n paddingBottom: size,\n });\n\nexport const noSelectStyles: NestedCSSProperties = {\n userSelect: \"none\",\n pointerEvents: \"none\",\n};\n\nexport const clickable = {\n cursor: \"pointer\",\n};\n\n// TODO replace all occurences of this class, add the \"clickable\" style object instead\nexport const clickableClass = style({\n ...clickable,\n});\n\nexport const textAlignCenterClass = style({\n textAlign: \"center\",\n});\n","export const heights = {\n TAG: \"30px\",\n FIELD_HIGH: \"47px\",\n FIELD: \"40px\",\n FIELD_SMALLEST: \"33px\",\n BUTTON_SMALL: \"33px\",\n BUTTON_MEDIUM: \"40px\",\n BUTTON_HIGH: \"47px\",\n};\n","// ? shouldn't use rem where possible\n// 8 by 8 px\n\nconst baseSpacing = 8;\n\n// todo we should use px function given by typestyle\n// todo use these variables everywhere, maybe make reusalbe classes in classes.ts\n\nexport const spacing = {\n DIVIDER: `${6 * baseSpacing}px`,\n BUTTON: `${4 * baseSpacing}px`,\n TEXTLEFT: `${3 * baseSpacing}px`, // ? used in fields\n ICON: `${2 * baseSpacing}px`,\n LABEL: `${1 * baseSpacing}px`,\n POPUP_MARGIN: `${6 * baseSpacing}px`,\n POPUP_DROPDOWN: `${3 * baseSpacing}px`,\n LABEL_MARGIN: `${1 * baseSpacing}px`,\n};\n","import { NestedCSSProperties } from \"typestyle/lib/types\";\n\nexport const pointerCursor: NestedCSSProperties = {\n cursor: \"pointer\",\n};\n\nexport const forceTextOneLine: NestedCSSProperties = {\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n};\n\nexport const hiddenScrollbarStyles: NestedCSSProperties = {\n \"-ms-overflow-style\": \"none\" /* for Internet Explorer, Edge */,\n \"-ms-scroll-rails\": \"none\",\n \"-ms-scrollbar-base-color\": \"transparent\",\n scrollbarWidth: \"none\" /* for Firefox */,\n scrollbarColor: \"transparent transparent\",\n $nest: {\n \"&::-webkit-scrollbar\": {\n display: \"none\" /* for Chrome, Safari, and Opera */,\n backgroundColor: \"transparent\",\n scrollbarColor: \"transparent\",\n width: \"0px\",\n },\n },\n};\n\n// ? TODO if the business decides this support is not enough we can use overflow: hidden with max-height set\n// https://caniuse.com/css-line-clamp !\nexport const maxLineNumber = (lineNumber: number): NestedCSSProperties => ({\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n lineClamp: lineNumber,\n \"-webkit-line-clamp\": lineNumber,\n display: \"-webkit-box\",\n //@ts-ignore\n \"-webkit-box-orient\": \"vertical\",\n});\n\nexport const hoverShadow: NestedCSSProperties = {\n boxShadow: \"0px 4px 10px rgba(0, 0, 0, 0.05)\",\n};\n\ntype ColoredDotOptions = Omit<\n NestedCSSProperties,\n \"width\" | \"height\" | \"borderRadius\" | \"backgroundColor\" | \"color\"\n> & {\n color: NestedCSSProperties[\"backgroundColor\"];\n size: NestedCSSProperties[\"height\"];\n};\n\nexport const coloredDot = ({\n color,\n size,\n ...rest\n}: ColoredDotOptions): NestedCSSProperties => ({\n ...rest,\n width: size,\n height: size,\n borderRadius: \"100%\",\n backgroundColor: color,\n});\n\nexport function applyMultipleSelectors(\n css: NestedCSSProperties\n): NestedCSSProperties {\n return { $nest: { \"&&\": css } };\n}\n\n/** ol, ul, menu reset */\nexport const listReset: NestedCSSProperties = {\n listStyle: \"none\",\n margin: 0,\n padding: 0,\n};\n","export const fontWeight = {\n /** 700 */\n BOLD: 700,\n /** 600 */\n SEMI_BOLD: 600,\n /** 400 */\n REGULAR: 400,\n /** 300 */\n LIGHT: 300,\n};\n\nexport const typography = {\n HEADLINE1: {\n fontSize: \"6.3125rem\",\n fontWeight: fontWeight.LIGHT,\n letterSpacing: \"-1.5px\",\n lineHeight: \"1.255\",\n },\n HEADLINE2: {\n fontSize: \"3.9375rem\",\n fontWeight: fontWeight.LIGHT,\n letterSpacing: \"-0.5px\",\n lineHeight: \"1.255\",\n },\n HEADLINE3: {\n fontSize: \"3.125rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"-0.5px\",\n lineHeight: \"1.255\",\n },\n HEADLINE4: {\n fontSize: \"2.25rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"-0.5px\",\n lineHeight: \"1.255\",\n },\n HEADLINE5: {\n fontSize: \"1.5625rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"-0.5px\",\n lineHeight: \"1.255\",\n },\n HEADLINE6: {\n fontSize: \"1.3125rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"0.15px\",\n lineHeight: \"1.255\",\n },\n BODY1: {\n fontSize: \"1.0625rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"0.5px\",\n lineHeight: \"1.255\",\n },\n BODY2: {\n fontSize: \"0.9375rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"0.5px\",\n lineHeight: \"1.255\",\n },\n CAPTION: {\n fontSize: \"0.8125rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"0.4px\",\n lineHeight: \"1.255\",\n },\n CAPTION2: {\n fontSize: \"0.6875rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"0.4px\",\n lineHeight: \"1.255\",\n },\n CAPTION3: {\n fontSize: \"0.6875rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"0.4px\",\n lineHeight: \"1.255\",\n },\n CAPTION_SEMIBOLD: {\n fontSize: \"0.8125rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"0.4px\",\n lineHeight: \"1.255\",\n },\n TITLE1: {\n fontSize: \"1.0625rem\",\n fontWeight: fontWeight.BOLD,\n letterSpacing: \"0.1px\",\n lineHeight: \"1.255\",\n },\n TITLE2: {\n fontSize: \"0.9375rem\",\n fontWeight: fontWeight.BOLD,\n letterSpacing: \"0.1px\",\n lineHeight: \"1.255\",\n },\n SUBTITLE1: {\n fontSize: \"1.0625rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"0.1px\",\n lineHeight: \"1.255\",\n },\n SUBTITLE2: {\n fontSize: \"0.9375rem\",\n fontWeight: fontWeight.SEMI_BOLD,\n letterSpacing: \"0.1px\",\n lineHeight: \"1.255\",\n },\n BUTTON_MEDIUM: {\n fontSize: \"0.9375rem\",\n fontWeight: fontWeight.BOLD,\n lineHeight: \"1.255\",\n letterSpacing: \"0.2px\",\n },\n BUTTON_SMALL: {\n fontWeight: fontWeight.BOLD,\n fontSize: \"0.8125rem\",\n letterSpacing: \"0.2px\",\n lineHeight: \"1.255\",\n },\n BUTTON_LARGE: {\n fontSize: \"1.0625rem\",\n fontWeight: fontWeight.BOLD,\n letterSpacing: \"0.5px\",\n lineHeight: \"1.255\",\n },\n // example: https://www.figma.com/file/acH57GN2MTV9IYEgNbXzrw/Pulse-Library?node-id=9925%3A20080\n SMALL_TEXT: {\n fontSize: \"0.5rem\",\n fontWeight: fontWeight.REGULAR,\n letterSpacing: \"0.4px\",\n lineHeight: \"1.255\",\n },\n};\n","export const URL = {\n PULSEPASSPORT: \"https://pulsemarket.com/passport/\",\n PRIVACY_POLICY: \"https://pulsemarket.com/terms-and-privacy/\",\n TERMS_OF_USE: \"https://pulsemarket.com/terms-and-privacy/\",\n ESG_PASSPORT_ACTION_GUIDE:\n \"https://pulsemarket.com/wp-content/uploads/2023/06/ESG-Passport-Report-1.pdf\",\n};\n","export function isError(obj: any): obj is Error {\n return obj instanceof Error;\n}\n\nexport function searchFilter(\n arrayToFilter: Array<{}>,\n searchValue: string,\n propertyToCompare: string\n) {\n const filteredArray = arrayToFilter.reduce((acc: any, obj: any) => {\n if (obj[propertyToCompare].includes(searchValue)) {\n acc.push(obj);\n }\n return acc;\n }, []);\n return filteredArray;\n}\n\nexport function debounce<T extends (...args: any[]) => any>(\n ms: number,\n callback: T\n): (...args: Parameters<T>) => Promise<ReturnType<T>> {\n let timer: NodeJS.Timeout | undefined;\n\n return (...args: Parameters<T>) => {\n if (timer) {\n clearTimeout(timer);\n }\n return new Promise<ReturnType<T>>((resolve) => {\n timer = setTimeout(() => {\n const returnValue = callback(...args) as ReturnType<T>;\n resolve(returnValue);\n }, ms);\n });\n };\n}\n","export function askForAuthenticationPreservingRoute() {\n return window.location.replace(\n `/${\n !!window.location.pathname.length\n ? \"?redirect_to=\" + window.location.pathname\n : \"\"\n }`\n );\n}\n","export default async function transformFileToBase64(\n file: File\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve(reader.result as string); // it is readed as DataURL\n reader.onerror = (error) => reject(error);\n });\n}\n","export default function generateAlmostUniqueId() {\n return new Date().valueOf().toString();\n}\n","import dayjs, { Dayjs } from \"dayjs\";\nimport durationPlugin from \"dayjs/plugin/duration\";\nimport relativeTime from \"dayjs/plugin/relativeTime\";\ndayjs.extend(durationPlugin);\ndayjs.extend(relativeTime);\n\nexport const createDateFormat = \"DD-MM-YYYY\";\nexport const updateDateFomat = \"DD/MM/YY [at] h:mm a\";\nexport const rfpDateFormat = \"DD/MM/YYYY\";\nexport const dataRoomDateFormat = \"DD/MM/YYYY\";\nexport const contractDateFormat = \"DD/MM/YYYY\";\nexport const passportExpirationDateFormat = \"DD/MM/YYYY\";\nexport const rfpDueDateFormat = \"YYYY-MM-DD\";\nexport const excelReportDateFormat = \"YYMMDD_hhmmss\";\n\n/**\n *\n * @param ISO8601Duration duration of the YouTube video, returned from YouTube Data API v3.\n * @returns Transformed length. Examples: 03:12:01, 02:12\n */\nexport function getYouTubeVideoReadableDuration(\n ISO8601Duration: string\n): string {\n const duration = dayjs.duration(ISO8601Duration);\n if (duration.hours()) {\n return duration.format(\"HH:mm:ss\");\n }\n return duration.format(\"mm:ss\");\n}\n\nconst now = new Date();\nexport const thisMonth = dayjs(now).startOf(\"month\").toDate();\nexport const last3Months = dayjs(now)\n .subtract(3, \"month\")\n .startOf(\"month\")\n .toDate();\nexport const last6Months = dayjs(now)\n .subtract(6, \"month\")\n .startOf(\"month\")\n .toDate();\n\nexport const humanizedDateInterval = (from: Dayjs, to: Dayjs) =>\n dayjs.duration(to.diff(from)).humanize(true);\n","import getVideoId from \"get-video-id\";\n\nexport const emailValidatorFn = (str: string) =>\n // eslint-disable-next-line no-useless-escape\n /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test(\n str\n );\n\nexport const nameValidatorFn = (str: string) =>\n /^[A-Za-zŽžÀ-ÿ0-9 -]*$/.test(str);\n\nexport function formikErrorIfEmpty(value: string | undefined) {\n return !value ? \"\" : undefined;\n}\n\nexport function validateYouTubeUrl(youtubeUrl?: string): boolean {\n if (youtubeUrl === undefined || youtubeUrl === \"\") {\n return true;\n }\n return getVideoId(youtubeUrl).service === \"youtube\";\n}\n\nexport function validatePasswordStrength(password: string) {\n // Check for minimum 8 characters\n if (password.length < 8)\n return \"Password must be at least 8 characters long.\";\n\n // Check for at least 2 numbers\n const numMatches = password.match(/\\d/g);\n if (numMatches === null || numMatches.length < 2)\n return \"Password must contain at least 2 numbers.\";\n\n // Check for at least 2 letters\n const letterMatches = password.match(/[a-zA-Z]/g);\n if (letterMatches === null || letterMatches.length < 2)\n return \"Password must contain at least 2 letters.\";\n}\n","import { createPersistedStore } from \"./index\";\n\nexport enum TipType {\n SupplierManagementDashboard = \"SupplierManagementDashboard\",\n SupplierManagementUpload = \"SupplierManagementUpload\",\n SupplierManagementView = \"SupplierManagementView\",\n\n ProcurementDashboard = \"ProcurementDashboard\",\n ProcurementCreateRFP = \"ProcurementCreateRFP\",\n ProcurementCreateRFI = \"ProcurementCreateRFI\",\n ProcurementCreateDDQ = \"ProcurementCreateDDQ\",\n ProcurementCreateQTP = \"ProcurementCreateQTP\",\n\n ProcurementDraftInfo = \"ProcurementDraftInfo\",\n ProcurementDraftAddModule = \"ProcurementDraftAddModule\",\n ProcurementDraftSendToReview = \"ProcurementDraftSendToReview\",\n\n ProcurementAddRecipients = \"ProcurementAddRecipients\",\n ProcurementSend = \"ProcurementSend\",\n\n ProcurementInvitationTable = \"ProcurementInvitationTable\",\n ProcurementResponseTable = \"ProcurementResponseTable\",\n\n ESGGetPassport = \"ESGGetPassport\",\n ESGEditSelfAssessment = \"ESGEditSelfAssessment\",\n\n AcceptRFPInvitation = \"AcceptRFPInvitation\",\n AcceptDDQInvitation = \"AcceptDDQInvitation\",\n AcceptRFIInvitation = \"AcceptRFIInvitation\",\n AcceptQTPInvitation = \"AcceptQTPInvitation\",\n\n ProcurementResponseReview = \"ProcurementResponseReview\",\n ProcurementResponseSubmit = \"ProcurementResponseSubmit\",\n\n SendRfpMessage = \"SendRfpMessage\",\n /** Shown for the supplier only after they receive a message on an answer */\n ReplyRfpMessages = \"ReplyRfpMessages\",\n PassportResponseSubmit = \"PassportResponseSubmit\",\n}\n\ninterface TipStoreState {\n type: TipType | null;\n tipsSeen: TipType[];\n}\n\nconst initialState: TipStoreState = {\n type: null,\n tipsSeen: [],\n};\n\nconst TipStore = createPersistedStore(initialState, \"TipStore\");\n\nexport default TipStore;\n\nexport function setNextTip(type: TipType) {\n TipStore.set(\n (s) => ({\n type: type,\n tipsSeen: s.type\n ? [...s.tipsSeen.filter((t) => t !== s.type), s.type]\n : s.tipsSeen,\n }),\n \"setNextTip\"\n );\n}\n\nexport function closeTip() {\n TipStore.set(\n (s) => ({\n type: null,\n tipsSeen: s.type\n ? [...s.tipsSeen.filter((t) => t !== s.type), s.type]\n : s.tipsSeen,\n }),\n \"closeTip\"\n );\n}\n\n// @ts-ignore\nwindow.setNextTip = setNextTip;\n","import { useEffect, useState } from \"react\";\n\nimport fastDeepEqual from \"fast-deep-equal\";\n\ntype SetterFunction<T> = (state: T) => Partial<T>;\ntype ListenerFunction = () => void;\n\nconst STORE: Record<string, any> = {};\n\nlet devTools: any;\n\nif (typeof window !== \"undefined\" && process.env.NODE_ENV !== \"production\") {\n if ((window as any).__REDUX_DEVTOOLS_EXTENSION__) {\n devTools = (window as any).__REDUX_DEVTOOLS_EXTENSION__.connect();\n setTimeout(() => devTools.init(STORE), 200);\n }\n}\n\nexport default class Store<T> {\n name;\n _listeners: Array<ListenerFunction> = [];\n initialState: T;\n\n constructor(initialState: T, name: string) {\n this.initialState = initialState;\n this.name = name;\n\n STORE[this.name] = initialState;\n\n if (\n typeof window !== \"undefined\" &&\n process.env.NODE_ENV !== \"production\"\n ) {\n if (devTools) {\n devTools.subscribe((message: any) => {\n switch (message.payload && message.payload.type) {\n case \"JUMP_TO_STATE\":\n case \"JUMP_TO_ACTION\":\n STORE[this.name] = JSON.parse(message.state)[this.name];\n this._listeners.forEach((fn) => fn());\n }\n });\n }\n }\n }\n\n get(): T {\n return STORE[this.name];\n }\n\n set(state: SetterFunction<T>, info?: string) {\n STORE[this.name] = {\n ...STORE[this.name],\n ...state(STORE[this.name]),\n };\n\n if (\n typeof window !== \"undefined\" &&\n process.env.NODE_ENV !== \"production\"\n ) {\n if (devTools) {\n devTools.send(this.name ? this.name + \" - \" + info : info, STORE);\n }\n }\n\n this._listeners.forEach((fn) => fn());\n }\n\n replace(state: SetterFunction<T>, info?: string) {\n STORE[this.name] = state(STORE[this.name]);\n\n if (\n typeof window !== \"undefined\" &&\n process.env.NODE_ENV !== \"production\"\n ) {\n if (devTools) {\n devTools.send(this.name ? this.name + \" - \" + info : info, STORE);\n }\n }\n\n this._listeners.forEach((fn) => fn());\n }\n\n reset() {\n STORE[this.name] = this.initialState;\n\n this._listeners.forEach((fn) => fn());\n }\n\n subscribe(fn: ListenerFunction) {\n this._listeners.push(fn);\n }\n\n unsubscribe(fn: ListenerFunction) {\n this._listeners = this._listeners.filter((f) => f !== fn);\n }\n}\n\nexport function getGlobalState() {\n return STORE;\n}\n\nexport function useStore<T>(store: Store<T>) {\n const [state, setState] = useState(store.get());\n\n useEffect(() => {\n const updateState = () => {\n const newState = store.get();\n\n if (!fastDeepEqual(state, newState)) {\n setState(newState);\n }\n };\n\n store.subscribe(updateState);\n\n return () => store.unsubscribe(updateState);\n }, [store, state]);\n\n return state;\n}\n\n// export function useSelector<T, X = T>(\n// store: Store<T>,\n// selector: (storeState: T) => X = (x) => x as unknown as X\n// ) {\n// const [state, setState] = useState(selector(store.get()));\n\n// const updateState = useCallback(() => {\n// console.log(\"Running updater\");\n\n// const newState = selector(store.get());\n\n// console.log(\"Recieved new state\", newState);\n\n// if (!fastDeepEqual(state, newState)) {\n// console.log(\"Setting new state\", store.name);\n\n// setState(newState);\n// }\n// }, [setState, state, store, selector]);\n\n// useEffect(() => {\n// console.log(\"Registering updater\");\n// store.subscribe(updateState);\n\n// return () => store.unsubscribe(updateState);\n// }, [store, updateState]);\n\n// return state;\n// }\n\nexport function createPersistedStore<T>(defaultState: T, name: string) {\n const item = localStorage.getItem(name);\n const persistedState = item ? JSON.parse(item) : {};\n\n const state = {\n ...defaultState,\n ...persistedState,\n };\n\n const store = new Store<T>(state, name);\n\n store.subscribe(() => {\n localStorage.setItem(store.name, JSON.stringify(store.get()));\n });\n\n return store;\n}\n","import { ComponentType, lazy } from \"react\";\n\n/**\n * Tries to import a component, if it fails it will refresh the page.\n * - More context: https://dev.azure.com/PulseMarketplace/pulse-marketplace/_workitems/edit/5817\n *\n * @example\n * const MyComponent = lazy(() => lazyRetry(() => import(\"./MyComponent\"), \"MyComponent\"));\n */\nexport default function lazyRetry<T extends ComponentType<any>>(\n componentImport: Parameters<typeof lazy<T>>[0],\n chunkIdentifier: string\n): Promise<{ default: T }> {\n const sessionStorageKey = `retry-lazy-refreshed-${chunkIdentifier}`;\n\n return new Promise((resolve, reject) => {\n // check if the window has already been refreshed due to this chunk\n const hasRefreshed = JSON.parse(\n window.sessionStorage.getItem(sessionStorageKey) || \"false\"\n );\n\n // try to import the component\n componentImport()\n .then((component) => {\n // success so reset the refresh state\n window.sessionStorage.setItem(sessionStorageKey, \"false\");\n resolve(component);\n })\n .catch((error) => {\n // todo filter for chunkloaderror?\n if (!hasRefreshed) {\n // not been refreshed yet\n window.sessionStorage.setItem(sessionStorageKey, \"true\");\n // refresh the page\n return window.location.reload();\n }\n\n // Default error behaviour as already tried refresh\n reject(error);\n });\n });\n}\n","const mouseClickEvents = [\"mousedown\", \"click\", \"mouseup\"];\n\nexport function simulateMouseClick(element: HTMLElement) {\n mouseClickEvents.forEach((mouseEventType) =>\n element.dispatchEvent(\n new MouseEvent(mouseEventType, {\n view: window,\n bubbles: true,\n cancelable: true,\n buttons: 1,\n })\n )\n );\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function\n /*: EmotionCache */\ncreateCache(options\n/*: Options */\n) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node\n /*: HTMLStyleElement */\n ) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n /* : Node */\n\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node\n /*: HTMLStyleElement */\n ) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n /*: (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ) => string | void */\n\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function\n /*: void */\n insert(selector\n /*: string */\n , serialized\n /*: SerializedStyles */\n , sheet\n /*: StyleSheet */\n , shouldCache\n /*: boolean */\n ) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache\n /*: EmotionCache */\n = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\n/* import { type EmotionCache } from '@emotion/utils' */\nvar EmotionCacheContext\n/*: React.Context<EmotionCache | null> */\n= /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache()\n/*: EmotionCache | null*/\n{\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache\n/* <Props, Ref: React.Ref<*>> */\n(func\n/*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */\n)\n/*: React.AbstractComponent<Props> */\n{\n return /*#__PURE__*/forwardRef(function (props\n /*: Props */\n , ref\n /*: Ref */\n ) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme\n/*: Object */\n, theme\n/*: Object | (Object => Object) */\n) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\n/*\ntype ThemeProviderProps = {\n theme: Object | (Object => Object),\n children: React.Node\n}\n*/\n\nvar ThemeProvider = function ThemeProvider(props\n/*: ThemeProviderProps */\n) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme\n/* <Config: {}> */\n(Component\n/*: React.AbstractComponent<Config> */\n)\n/*: React.AbstractComponent<$Diff<Config, { theme: Object }>> */\n{\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n };\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n\n var newProps\n /*: any */\n = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(\n/* <any, any> */\nfunction (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (!isDevelopment )) {\n newProps[key] = props[key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-5486c51c.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-5486c51c.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx\n/*: typeof React.createElement */\n= function jsx\n/*: typeof React.createElement */\n(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global\n/*: React.AbstractComponent<\nGlobalProps\n> */\n= /* #__PURE__ */withEmotionCache(function (props\n/*: GlobalProps */\n, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node\n /*: HTMLStyleElement | null*/\n = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\n/* import type { Interpolation, SerializedStyles } from '@emotion/utils' */\n\nfunction css()\n/*: SerializedStyles */\n{\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\n/*\ntype Keyframes = {|\n name: string,\n styles: string,\n anim: 1,\n toString: () => string\n|} & string\n*/\n\nvar keyframes = function\n /*: Keyframes */\nkeyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\n/*\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean }\n | Array<ClassNameArg>\n | null\n | void\n*/\n\nvar classnames = function\n /*: string */\nclassnames(args\n/*: Array<ClassNameArg> */\n) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered\n/*: Object */\n, css\n/*: (...args: Array<any>) => string */\n, className\n/*: string */\n) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n/*\ntype Props = {\n children: ({\n css: (...args: any) => string,\n cx: (...args: Array<ClassNameArg>) => string,\n theme: Object\n }) => React.Node\n} */\n\n\nvar ClassNames\n/*: React.AbstractComponent<Props>*/\n= /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n var componentSelector = interpolation;\n\n if (componentSelector.__emotion_styles !== undefined) {\n\n return componentSelector;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n var keyframes = interpolation;\n\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n };\n return keyframes.name;\n }\n\n var serializedStyles = interpolation;\n\n if (serializedStyles.styles !== undefined) {\n var next = serializedStyles.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = serializedStyles.styles + \";\";\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n }\n\n break;\n }\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n var asString = interpolation;\n\n if (registered == null) {\n return asString;\n }\n\n var cached = registered[asString];\n return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var key in obj) {\n var value = obj[key];\n\n if (typeof value !== 'object') {\n var asString = value;\n\n if (registered != null && registered[asString] !== undefined) {\n string += key + \"{\" + registered[asString] + \"}\";\n } else if (isProcessableValue(asString)) {\n string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n\n string += key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g;\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n var asTemplateStringsArr = strings;\n\n styles += asTemplateStringsArr[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n var templateStringsArr = strings;\n\n styles += templateStringsArr[i];\n }\n }\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n}\n\nexport { serializeStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","var isDevelopment = false;\n\n/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n return document.styleSheets[i];\n }\n } // this function should always return with a value\n // TS can't understand it though so we make it stop complaining here\n\n\n return undefined;\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n this.tags.forEach(function (tag) {\n var _tag$parentNode;\n\n return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","var isBrowser = true;\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else if (className) {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBackdropUtilityClass(slot) {\n return generateUtilityClass('MuiBackdrop', slot);\n}\nconst backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);\nexport default backdropClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport Fade from \"../Fade/index.js\";\nimport { getBackdropUtilityClass } from \"./backdropClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst removeOwnerState = props => {\n const {\n ownerState,\n ...rest\n } = props;\n return rest;\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n invisible\n } = ownerState;\n const slots = {\n root: ['root', invisible && 'invisible']\n };\n return composeClasses(slots, getBackdropUtilityClass, classes);\n};\nconst BackdropRoot = styled('div', {\n name: 'MuiBackdrop',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.invisible && styles.invisible];\n }\n})({\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent',\n variants: [{\n props: {\n invisible: true\n },\n style: {\n backgroundColor: 'transparent'\n }\n }]\n});\nconst Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiBackdrop'\n });\n const {\n children,\n className,\n component = 'div',\n invisible = false,\n open,\n components = {},\n componentsProps = {},\n slotProps = {},\n slots = {},\n TransitionComponent: TransitionComponentProp,\n transitionDuration,\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n invisible\n };\n const classes = useUtilityClasses(ownerState);\n const backwardCompatibleSlots = {\n transition: TransitionComponentProp,\n root: components.Root,\n ...slots\n };\n const backwardCompatibleSlotProps = {\n ...componentsProps,\n ...slotProps\n };\n const externalForwardedProps = {\n slots: backwardCompatibleSlots,\n slotProps: backwardCompatibleSlotProps\n };\n const [RootSlot, rootProps] = useSlot('root', {\n elementType: BackdropRoot,\n externalForwardedProps,\n className: clsx(classes.root, className),\n ownerState\n });\n const [TransitionSlot, transitionProps] = useSlot('transition', {\n elementType: Fade,\n externalForwardedProps,\n ownerState\n });\n const transitionPropsRemoved = removeOwnerState(transitionProps);\n return /*#__PURE__*/_jsx(TransitionSlot, {\n in: open,\n timeout: transitionDuration,\n ...other,\n ...transitionPropsRemoved,\n children: /*#__PURE__*/_jsx(RootSlot, {\n \"aria-hidden\": true,\n ...rootProps,\n classes: classes,\n ref: ref,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n * @default false\n */\n invisible: PropTypes.bool,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType,\n transition: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The component used for the transition.\n * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Fade\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Backdrop;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonUtilityClass(slot) {\n return generateUtilityClass('MuiButton', slot);\n}\nconst buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);\nexport default buttonClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport resolveProps from '@mui/utils/resolveProps';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport buttonClasses, { getButtonUtilityClass } from \"./buttonClasses.js\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext.js\";\nimport ButtonGroupButtonContext from \"../ButtonGroup/ButtonGroupButtonContext.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n disableElevation,\n fullWidth,\n size,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, `color${capitalize(color)}`, disableElevation && 'disableElevation', fullWidth && 'fullWidth'],\n label: ['label'],\n startIcon: ['icon', 'startIcon', `iconSize${capitalize(size)}`],\n endIcon: ['icon', 'endIcon', `iconSize${capitalize(size)}`]\n };\n const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);\n return {\n ...classes,\n // forward the focused, disabled, etc. classes to the ButtonBase\n ...composedClasses\n };\n};\nconst commonIconStyles = [{\n props: {\n size: 'small'\n },\n style: {\n '& > *:nth-of-type(1)': {\n fontSize: 18\n }\n }\n}, {\n props: {\n size: 'medium'\n },\n style: {\n '& > *:nth-of-type(1)': {\n fontSize: 20\n }\n }\n}, {\n props: {\n size: 'large'\n },\n style: {\n '& > *:nth-of-type(1)': {\n fontSize: 22\n }\n }\n}];\nconst ButtonRoot = styled(ButtonBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];\n }\n})(memoTheme(({\n theme\n}) => {\n const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];\n const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];\n return {\n ...theme.typography.button,\n minWidth: 64,\n padding: '6px 16px',\n border: 0,\n borderRadius: (theme.vars || theme).shape.borderRadius,\n transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {\n duration: theme.transitions.duration.short\n }),\n '&:hover': {\n textDecoration: 'none'\n },\n [`&.${buttonClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n },\n variants: [{\n props: {\n variant: 'contained'\n },\n style: {\n color: `var(--variant-containedColor)`,\n backgroundColor: `var(--variant-containedBg)`,\n boxShadow: (theme.vars || theme).shadows[2],\n '&:hover': {\n boxShadow: (theme.vars || theme).shadows[4],\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n boxShadow: (theme.vars || theme).shadows[2]\n }\n },\n '&:active': {\n boxShadow: (theme.vars || theme).shadows[8]\n },\n [`&.${buttonClasses.focusVisible}`]: {\n boxShadow: (theme.vars || theme).shadows[6]\n },\n [`&.${buttonClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled,\n boxShadow: (theme.vars || theme).shadows[0],\n backgroundColor: (theme.vars || theme).palette.action.disabledBackground\n }\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n padding: '5px 15px',\n border: '1px solid currentColor',\n borderColor: `var(--variant-outlinedBorder, currentColor)`,\n backgroundColor: `var(--variant-outlinedBg)`,\n color: `var(--variant-outlinedColor)`,\n [`&.${buttonClasses.disabled}`]: {\n border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`\n }\n }\n }, {\n props: {\n variant: 'text'\n },\n style: {\n padding: '6px 8px',\n color: `var(--variant-textColor)`,\n backgroundColor: `var(--variant-textBg)`\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n '--variant-textColor': (theme.vars || theme).palette[color].main,\n '--variant-outlinedColor': (theme.vars || theme).palette[color].main,\n '--variant-outlinedBorder': theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.5)` : alpha(theme.palette[color].main, 0.5),\n '--variant-containedColor': (theme.vars || theme).palette[color].contrastText,\n '--variant-containedBg': (theme.vars || theme).palette[color].main,\n '@media (hover: hover)': {\n '&:hover': {\n '--variant-containedBg': (theme.vars || theme).palette[color].dark,\n '--variant-textBg': theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity),\n '--variant-outlinedBorder': (theme.vars || theme).palette[color].main,\n '--variant-outlinedBg': theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)\n }\n }\n }\n })), {\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit',\n borderColor: 'currentColor',\n '--variant-containedBg': theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,\n '@media (hover: hover)': {\n '&:hover': {\n '--variant-containedBg': theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,\n '--variant-textBg': theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),\n '--variant-outlinedBg': theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity)\n }\n }\n }\n }, {\n props: {\n size: 'small',\n variant: 'text'\n },\n style: {\n padding: '4px 5px',\n fontSize: theme.typography.pxToRem(13)\n }\n }, {\n props: {\n size: 'large',\n variant: 'text'\n },\n style: {\n padding: '8px 11px',\n fontSize: theme.typography.pxToRem(15)\n }\n }, {\n props: {\n size: 'small',\n variant: 'outlined'\n },\n style: {\n padding: '3px 9px',\n fontSize: theme.typography.pxToRem(13)\n }\n }, {\n props: {\n size: 'large',\n variant: 'outlined'\n },\n style: {\n padding: '7px 21px',\n fontSize: theme.typography.pxToRem(15)\n }\n }, {\n props: {\n size: 'small',\n variant: 'contained'\n },\n style: {\n padding: '4px 10px',\n fontSize: theme.typography.pxToRem(13)\n }\n }, {\n props: {\n size: 'large',\n variant: 'contained'\n },\n style: {\n padding: '8px 22px',\n fontSize: theme.typography.pxToRem(15)\n }\n }, {\n props: {\n disableElevation: true\n },\n style: {\n boxShadow: 'none',\n '&:hover': {\n boxShadow: 'none'\n },\n [`&.${buttonClasses.focusVisible}`]: {\n boxShadow: 'none'\n },\n '&:active': {\n boxShadow: 'none'\n },\n [`&.${buttonClasses.disabled}`]: {\n boxShadow: 'none'\n }\n }\n }, {\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }]\n };\n}));\nconst ButtonStartIcon = styled('span', {\n name: 'MuiButton',\n slot: 'StartIcon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.startIcon, styles[`iconSize${capitalize(ownerState.size)}`]];\n }\n})({\n display: 'inherit',\n marginRight: 8,\n marginLeft: -4,\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n marginLeft: -2\n }\n }, ...commonIconStyles]\n});\nconst ButtonEndIcon = styled('span', {\n name: 'MuiButton',\n slot: 'EndIcon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.endIcon, styles[`iconSize${capitalize(ownerState.size)}`]];\n }\n})({\n display: 'inherit',\n marginRight: -4,\n marginLeft: 8,\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n marginRight: -2\n }\n }, ...commonIconStyles]\n});\nconst Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {\n // props priority: `inProps` > `contextProps` > `themeDefaultProps`\n const contextProps = React.useContext(ButtonGroupContext);\n const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext);\n const resolvedProps = resolveProps(contextProps, inProps);\n const props = useDefaultProps({\n props: resolvedProps,\n name: 'MuiButton'\n });\n const {\n children,\n color = 'primary',\n component = 'button',\n className,\n disabled = false,\n disableElevation = false,\n disableFocusRipple = false,\n endIcon: endIconProp,\n focusVisibleClassName,\n fullWidth = false,\n size = 'medium',\n startIcon: startIconProp,\n type,\n variant = 'text',\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n component,\n disabled,\n disableElevation,\n disableFocusRipple,\n fullWidth,\n size,\n type,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const startIcon = startIconProp && /*#__PURE__*/_jsx(ButtonStartIcon, {\n className: classes.startIcon,\n ownerState: ownerState,\n children: startIconProp\n });\n const endIcon = endIconProp && /*#__PURE__*/_jsx(ButtonEndIcon, {\n className: classes.endIcon,\n ownerState: ownerState,\n children: endIconProp\n });\n const positionClassName = buttonGroupButtonContextPositionClassName || '';\n return /*#__PURE__*/_jsxs(ButtonRoot, {\n ownerState: ownerState,\n className: clsx(contextProps.className, classes.root, className, positionClassName),\n component: component,\n disabled: disabled,\n focusRipple: !disableFocusRipple,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n ref: ref,\n type: type,\n ...other,\n classes: classes,\n children: [startIcon, children, endIcon]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Button.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, no elevation is used.\n * @default false\n */\n disableElevation: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * Element placed after the children.\n */\n endIcon: PropTypes.node,\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * If `true`, the button will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The URL to link to when the button is clicked.\n * If defined, an `a` element will be used as the root node.\n */\n href: PropTypes.string,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * Element placed before the children.\n */\n startIcon: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @ignore\n */\n type: PropTypes.oneOfType([PropTypes.oneOf(['button', 'reset', 'submit']), PropTypes.string]),\n /**\n * The variant to use.\n * @default 'text'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default Button;","'use client';\n\nimport * as React from 'react';\nimport useLazyRef from '@mui/utils/useLazyRef';\n/**\n * Lazy initialization container for the Ripple instance. This improves\n * performance by delaying mounting the ripple until it's needed.\n */\nexport class LazyRipple {\n /** React ref to the ripple instance */\n\n /** If the ripple component should be mounted */\n\n /** Promise that resolves when the ripple component is mounted */\n\n /** If the ripple component has been mounted */\n\n /** React state hook setter */\n\n static create() {\n return new LazyRipple();\n }\n static use() {\n /* eslint-disable */\n const ripple = useLazyRef(LazyRipple.create).current;\n const [shouldMount, setShouldMount] = React.useState(false);\n ripple.shouldMount = shouldMount;\n ripple.setShouldMount = setShouldMount;\n React.useEffect(ripple.mountEffect, [shouldMount]);\n /* eslint-enable */\n\n return ripple;\n }\n constructor() {\n this.ref = {\n current: null\n };\n this.mounted = null;\n this.didMount = false;\n this.shouldMount = false;\n this.setShouldMount = null;\n }\n mount() {\n if (!this.mounted) {\n this.mounted = createControlledPromise();\n this.shouldMount = true;\n this.setShouldMount(this.shouldMount);\n }\n return this.mounted;\n }\n mountEffect = () => {\n if (this.shouldMount && !this.didMount) {\n if (this.ref.current !== null) {\n this.didMount = true;\n this.mounted.resolve();\n }\n }\n };\n\n /* Ripple API */\n\n start(...args) {\n this.mount().then(() => this.ref.current?.start(...args));\n }\n stop(...args) {\n this.mount().then(() => this.ref.current?.stop(...args));\n }\n pulsate(...args) {\n this.mount().then(() => this.ref.current?.pulsate(...args));\n }\n}\nexport default function useLazyRipple() {\n return LazyRipple.use();\n}\nfunction createControlledPromise() {\n let resolve;\n let reject;\n const p = new Promise((resolveFn, rejectFn) => {\n resolve = resolveFn;\n reject = rejectFn;\n });\n p.resolve = resolve;\n p.reject = reject;\n return p;\n}","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `<TransitionGroup>` renders a `<div>` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `<div>` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `<Transition>` components, that are toggled `in` and out as they\n * leave. the `<TransitionGroup>` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `<Transition>` as\n * with our `<Fade>` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes /* remove-proptypes */ = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTouchRippleUtilityClass(slot) {\n return generateUtilityClass('MuiTouchRipple', slot);\n}\nconst touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);\nexport default touchRippleClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport useTimeout from '@mui/utils/useTimeout';\nimport { keyframes, styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Ripple from \"./Ripple.js\";\nimport touchRippleClasses from \"./touchRippleClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`;\nconst exitKeyframe = keyframes`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`;\nconst pulsateKeyframe = keyframes`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`;\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n});\n\n// This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})`\n opacity: 0;\n position: absolute;\n\n &.${touchRippleClasses.rippleVisible} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${enterKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n &.${touchRippleClasses.ripplePulsate} {\n animation-duration: ${({\n theme\n}) => theme.transitions.duration.shorter}ms;\n }\n\n & .${touchRippleClasses.child} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${touchRippleClasses.childLeaving} {\n opacity: 0;\n animation-name: ${exitKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n & .${touchRippleClasses.childPulsate} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${pulsateKeyframe};\n animation-duration: 2500ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`;\n\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n const {\n center: centerProp = false,\n classes = {},\n className,\n ...other\n } = props;\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]);\n\n // Used to filter out mouse emulated events on mobile.\n const ignoringMouseDown = React.useRef(false);\n // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n const startTimer = useTimeout();\n\n // This is the hook called once the previous timeout is ready.\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb = () => {}) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n } = options;\n if (event?.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n if (event?.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n };\n\n // Get the size of the ripple\n let rippleX;\n let rippleY;\n let rippleSize;\n if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches && event.touches.length > 0 ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);\n\n // For some reason the animation is broken on Mobile Chrome if the size is even.\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n }\n\n // Touche devices\n if (event?.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n };\n // Delay the execution of the ripple effect.\n // We have to make a tradeoff with this delay value.\n startTimer.start(DELAY_RIPPLE, () => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n });\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit, startTimer]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n startTimer.clear();\n\n // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n if (event?.type === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.start(0, () => {\n stop(event, cb);\n });\n return;\n }\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, [startTimer]);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, {\n className: clsx(touchRippleClasses.root, classes.root, className),\n ref: container,\n ...other,\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes /* remove-proptypes */ = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonBaseUtilityClass(slot) {\n return generateUtilityClass('MuiButtonBase', slot);\n}\nconst buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);\nexport default buttonBaseClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport useLazyRipple from \"../useLazyRipple/index.js\";\nimport TouchRipple from \"./TouchRipple.js\";\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from \"./buttonBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n return composedClasses;\n};\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native <a /> element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n focusVisibleClassName,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type,\n ...other\n } = props;\n const buttonRef = React.useRef(null);\n const ripple = useLazyRipple();\n const handleRippleRef = useForkRef(ripple.ref, touchRippleRef);\n const [focusVisible, setFocusVisible] = React.useState(false);\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const enableTouchRipple = ripple.shouldMount && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple) {\n ripple.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, ripple]);\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n const ignore = skipRippleAction;\n if (!ignore) {\n ripple[rippleAction](event);\n }\n return true;\n });\n }\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n if (onFocus) {\n onFocus(event);\n }\n });\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !event.repeat && focusVisible && event.key === ' ') {\n ripple.stop(event, () => {\n ripple.start(event);\n });\n }\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed\n // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0\n if (focusRipple && event.key === ' ' && focusVisible && !event.defaultPrevented) {\n ripple.stop(event, () => {\n ripple.pulsate(event);\n });\n }\n if (onKeyUp) {\n onKeyUp(event);\n }\n\n // Keyboard accessibility for non interactive elements\n if (onClick && event.target === event.currentTarget && isNonNativeButton() && event.key === ' ' && !event.defaultPrevented) {\n onClick(event);\n }\n });\n let ComponentProp = component;\n if (ComponentProp === 'button' && (other.href || other.to)) {\n ComponentProp = LinkComponent;\n }\n const buttonProps = {};\n if (ComponentProp === 'button') {\n buttonProps.type = type === undefined ? 'button' : type;\n buttonProps.disabled = disabled;\n } else {\n if (!other.href && !other.to) {\n buttonProps.role = 'button';\n }\n if (disabled) {\n buttonProps['aria-disabled'] = disabled;\n }\n }\n const handleRef = useForkRef(ref, buttonRef);\n const ownerState = {\n ...props,\n centerRipple,\n component,\n disabled,\n disableRipple,\n disableTouchRipple,\n focusRipple,\n tabIndex,\n focusVisible\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(ButtonBaseRoot, {\n as: ComponentProp,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n onBlur: handleBlur,\n onClick: onClick,\n onContextMenu: handleContextMenu,\n onFocus: handleFocus,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n onMouseDown: handleMouseDown,\n onMouseLeave: handleMouseLeave,\n onMouseUp: handleMouseUp,\n onDragLeave: handleDragLeave,\n onTouchEnd: handleTouchEnd,\n onTouchMove: handleTouchMove,\n onTouchStart: handleTouchStart,\n ref: handleRef,\n tabIndex: disabled ? -1 : tabIndex,\n type: type,\n ...buttonProps,\n ...other,\n children: [children, enableTouchRipple ? /*#__PURE__*/_jsx(TouchRipple, {\n ref: handleRippleRef,\n center: centerRipple,\n ...TouchRippleProps\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ButtonBase.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A ref for imperative actions.\n * It currently only supports `focusVisible()` action.\n */\n action: refType,\n /**\n * If `true`, the ripples are centered.\n * They won't start at the cursor interaction position.\n * @default false\n */\n centerRipple: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If `true`, the touch ripple effect is disabled.\n * @default false\n */\n disableTouchRipple: PropTypes.bool,\n /**\n * If `true`, the base button will have a keyboard focus ripple.\n * @default false\n */\n focusRipple: PropTypes.bool,\n /**\n * This prop can help identify which element has keyboard focus.\n * The class name will be applied when the element gains the focus through keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * @ignore\n */\n href: PropTypes /* @typescript-to-proptypes-ignore */.any,\n /**\n * The component used to render a link when the `href` prop is provided.\n * @default 'a'\n */\n LinkComponent: PropTypes.elementType,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onContextMenu: PropTypes.func,\n /**\n * @ignore\n */\n onDragLeave: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the component is focused with a keyboard.\n * We trigger a `onFocus` callback too.\n */\n onFocusVisible: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n /**\n * @ignore\n */\n onMouseUp: PropTypes.func,\n /**\n * @ignore\n */\n onTouchEnd: PropTypes.func,\n /**\n * @ignore\n */\n onTouchMove: PropTypes.func,\n /**\n * @ignore\n */\n onTouchStart: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @default 0\n */\n tabIndex: PropTypes.number,\n /**\n * Props applied to the `TouchRipple` element.\n */\n TouchRippleProps: PropTypes.object,\n /**\n * A ref that points to the `TouchRipple` element.\n */\n touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({\n current: PropTypes.shape({\n pulsate: PropTypes.func.isRequired,\n start: PropTypes.func.isRequired,\n stop: PropTypes.func.isRequired\n })\n })]),\n /**\n * @ignore\n */\n type: PropTypes.oneOfType([PropTypes.oneOf(['button', 'reset', 'submit']), PropTypes.string])\n} : void 0;\nexport default ButtonBase;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst ButtonGroupButtonContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';\n}\nexport default ButtonGroupButtonContext;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst ButtonGroupContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n ButtonGroupContext.displayName = 'ButtonGroupContext';\n}\nexport default ButtonGroupContext;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCheckboxUtilityClass(slot) {\n return generateUtilityClass('MuiCheckbox', slot);\n}\nconst checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);\nexport default checkboxClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport SwitchBase from \"../internal/SwitchBase.js\";\nimport CheckBoxOutlineBlankIcon from \"../internal/svg-icons/CheckBoxOutlineBlank.js\";\nimport CheckBoxIcon from \"../internal/svg-icons/CheckBox.js\";\nimport IndeterminateCheckBoxIcon from \"../internal/svg-icons/IndeterminateCheckBox.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport checkboxClasses, { getCheckboxUtilityClass } from \"./checkboxClasses.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n indeterminate,\n color,\n size\n } = ownerState;\n const slots = {\n root: ['root', indeterminate && 'indeterminate', `color${capitalize(color)}`, `size${capitalize(size)}`]\n };\n const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);\n return {\n ...classes,\n // forward the disabled and checked classes to the SwitchBase\n ...composedClasses\n };\n};\nconst CheckboxRoot = styled(SwitchBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiCheckbox',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${capitalize(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n variants: [{\n props: {\n color: 'default',\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)\n }\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]: {\n color: (theme.vars || theme).palette[color].main\n },\n [`&.${checkboxClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n }\n }\n })), {\n // Should be last to override other colors\n props: {\n disableRipple: false\n },\n style: {\n // Reset on touch devices, it doesn't add specificity\n '&:hover': {\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }]\n})));\nconst defaultCheckedIcon = /*#__PURE__*/_jsx(CheckBoxIcon, {});\nconst defaultIcon = /*#__PURE__*/_jsx(CheckBoxOutlineBlankIcon, {});\nconst defaultIndeterminateIcon = /*#__PURE__*/_jsx(IndeterminateCheckBoxIcon, {});\nconst Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCheckbox'\n });\n const {\n checkedIcon = defaultCheckedIcon,\n color = 'primary',\n icon: iconProp = defaultIcon,\n indeterminate = false,\n indeterminateIcon: indeterminateIconProp = defaultIndeterminateIcon,\n inputProps,\n size = 'medium',\n disableRipple = false,\n className,\n ...other\n } = props;\n const icon = indeterminate ? indeterminateIconProp : iconProp;\n const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;\n const ownerState = {\n ...props,\n disableRipple,\n color,\n indeterminate,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(CheckboxRoot, {\n type: \"checkbox\",\n inputProps: {\n 'data-indeterminate': indeterminate,\n ...inputProps\n },\n icon: /*#__PURE__*/React.cloneElement(icon, {\n fontSize: icon.props.fontSize ?? size\n }),\n checkedIcon: /*#__PURE__*/React.cloneElement(indeterminateIcon, {\n fontSize: indeterminateIcon.props.fontSize ?? size\n }),\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className),\n disableRipple: disableRipple,\n ...other,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Checkbox.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n * @default <CheckBoxIcon />\n */\n checkedIcon: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default checked state. Use when the component is not controlled.\n */\n defaultChecked: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display when the component is unchecked.\n * @default <CheckBoxOutlineBlankIcon />\n */\n icon: PropTypes.node,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * If `true`, the component appears indeterminate.\n * This does not set the native input element to indeterminate due\n * to inconsistent behavior across browsers.\n * However, we set a `data-indeterminate` attribute on the `input`.\n * @default false\n */\n indeterminate: PropTypes.bool,\n /**\n * The icon to display when the component is indeterminate.\n * @default <IndeterminateCheckBoxIcon />\n */\n indeterminateIcon: PropTypes.node,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * `small` is equivalent to the dense checkbox styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default Checkbox;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { elementAcceptingRef, exactProp, unstable_ownerDocument as ownerDocument, unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback } from '@mui/utils';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\n\n// TODO: return `EventHandlerName extends `on${infer EventName}` ? Lowercase<EventName> : never` once generatePropTypes runs with TS 4.1\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mapEventPropToEvent(eventProp) {\n return eventProp.substring(2).toLowerCase();\n}\nfunction clickedRootScrollbar(event, doc) {\n return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;\n}\n/**\n * Listen for click events that occur somewhere in the document, outside of the element itself.\n * For instance, if you need to hide a menu when people click anywhere else on your page.\n *\n * Demos:\n *\n * - [Click-Away Listener](https://mui.com/material-ui/react-click-away-listener/)\n * - [Menu](https://mui.com/material-ui/react-menu/)\n *\n * API:\n *\n * - [ClickAwayListener API](https://mui.com/material-ui/api/click-away-listener/)\n */\nfunction ClickAwayListener(props) {\n const {\n children,\n disableReactTree = false,\n mouseEvent = 'onClick',\n onClickAway,\n touchEvent = 'onTouchEnd'\n } = props;\n const movedRef = React.useRef(false);\n const nodeRef = React.useRef(null);\n const activatedRef = React.useRef(false);\n const syntheticEventRef = React.useRef(false);\n React.useEffect(() => {\n // Ensure that this component is not \"activated\" synchronously.\n // https://github.com/facebook/react/issues/20074\n setTimeout(() => {\n activatedRef.current = true;\n }, 0);\n return () => {\n activatedRef.current = false;\n };\n }, []);\n const handleRef = useForkRef(getReactElementRef(children), nodeRef);\n\n // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviors like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n const handleClickAway = useEventCallback(event => {\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false;\n const doc = ownerDocument(nodeRef.current);\n\n // 1. IE11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {\n return;\n }\n\n // Do not act if user performed touchmove\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n let insideDOM;\n\n // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n if (event.composedPath) {\n insideDOM = event.composedPath().includes(nodeRef.current);\n } else {\n insideDOM = !doc.documentElement.contains(\n // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target) || nodeRef.current.contains(\n // @ts-expect-error returns `false` as intended when not dispatched from a Node\n event.target);\n }\n if (!insideDOM && (disableReactTree || !insideReactTree)) {\n onClickAway(event);\n }\n });\n\n // Keep track of mouse/touch events that bubbled up through the portal.\n const createHandleSynthetic = handlerName => event => {\n syntheticEventRef.current = true;\n const childrenPropsHandler = children.props[handlerName];\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n const childrenProps = {\n ref: handleRef\n };\n if (touchEvent !== false) {\n childrenProps[touchEvent] = createHandleSynthetic(touchEvent);\n }\n React.useEffect(() => {\n if (touchEvent !== false) {\n const mappedTouchEvent = mapEventPropToEvent(touchEvent);\n const doc = ownerDocument(nodeRef.current);\n const handleTouchMove = () => {\n movedRef.current = true;\n };\n doc.addEventListener(mappedTouchEvent, handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return () => {\n doc.removeEventListener(mappedTouchEvent, handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n return undefined;\n }, [handleClickAway, touchEvent]);\n if (mouseEvent !== false) {\n childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);\n }\n React.useEffect(() => {\n if (mouseEvent !== false) {\n const mappedMouseEvent = mapEventPropToEvent(mouseEvent);\n const doc = ownerDocument(nodeRef.current);\n doc.addEventListener(mappedMouseEvent, handleClickAway);\n return () => {\n doc.removeEventListener(mappedMouseEvent, handleClickAway);\n };\n }\n return undefined;\n }, [handleClickAway, mouseEvent]);\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: /*#__PURE__*/React.cloneElement(children, childrenProps)\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ClickAwayListener.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The wrapped element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * If `true`, the React tree is ignored and only the DOM tree is considered.\n * This prop changes how portaled elements are handled.\n * @default false\n */\n disableReactTree: PropTypes.bool,\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n * @default 'onClick'\n */\n mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]),\n /**\n * Callback fired when a \"click away\" event is detected.\n */\n onClickAway: PropTypes.func.isRequired,\n /**\n * The touch event to listen to. You can disable the listener by providing `false`.\n * @default 'onTouchEnd'\n */\n touchEvent: PropTypes.oneOf(['onTouchEnd', 'onTouchStart', false])\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);\n}\nexport { ClickAwayListener };","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport SystemDefaultPropsProvider, { useDefaultProps as useSystemDefaultProps } from '@mui/system/DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction DefaultPropsProvider(props) {\n return /*#__PURE__*/_jsx(SystemDefaultPropsProvider, {\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object.isRequired\n} : void 0;\nexport default DefaultPropsProvider;\nexport function useDefaultProps(params) {\n return useSystemDefaultProps(params);\n}","import * as React from 'react';\nconst DialogContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n DialogContext.displayName = 'DialogContext';\n}\nexport default DialogContext;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDialogActionsUtilityClass(slot) {\n return generateUtilityClass('MuiDialogActions', slot);\n}\nconst dialogActionsClasses = generateUtilityClasses('MuiDialogActions', ['root', 'spacing']);\nexport default dialogActionsClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getDialogActionsUtilityClass } from \"./dialogActionsClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableSpacing\n } = ownerState;\n const slots = {\n root: ['root', !disableSpacing && 'spacing']\n };\n return composeClasses(slots, getDialogActionsUtilityClass, classes);\n};\nconst DialogActionsRoot = styled('div', {\n name: 'MuiDialogActions',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disableSpacing && styles.spacing];\n }\n})({\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end',\n flex: '0 0 auto',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableSpacing,\n style: {\n '& > :not(style) ~ :not(style)': {\n marginLeft: 8\n }\n }\n }]\n});\nconst DialogActions = /*#__PURE__*/React.forwardRef(function DialogActions(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDialogActions'\n });\n const {\n className,\n disableSpacing = false,\n ...other\n } = props;\n const ownerState = {\n ...props,\n disableSpacing\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(DialogActionsRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogActions.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the actions do not have additional margin.\n * @default false\n */\n disableSpacing: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default DialogActions;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDialogContentUtilityClass(slot) {\n return generateUtilityClass('MuiDialogContent', slot);\n}\nconst dialogContentClasses = generateUtilityClasses('MuiDialogContent', ['root', 'dividers']);\nexport default dialogContentClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getDialogContentUtilityClass } from \"./dialogContentClasses.js\";\nimport dialogTitleClasses from \"../DialogTitle/dialogTitleClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n dividers\n } = ownerState;\n const slots = {\n root: ['root', dividers && 'dividers']\n };\n return composeClasses(slots, getDialogContentUtilityClass, classes);\n};\nconst DialogContentRoot = styled('div', {\n name: 'MuiDialogContent',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dividers && styles.dividers];\n }\n})(memoTheme(({\n theme\n}) => ({\n flex: '1 1 auto',\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch',\n overflowY: 'auto',\n padding: '20px 24px',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.dividers,\n style: {\n padding: '16px 24px',\n borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.dividers,\n style: {\n [`.${dialogTitleClasses.root} + &`]: {\n paddingTop: 0\n }\n }\n }]\n})));\nconst DialogContent = /*#__PURE__*/React.forwardRef(function DialogContent(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDialogContent'\n });\n const {\n className,\n dividers = false,\n ...other\n } = props;\n const ownerState = {\n ...props,\n dividers\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(DialogContentRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogContent.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Display the top and bottom dividers.\n * @default false\n */\n dividers: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default DialogContent;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDialogTitleUtilityClass(slot) {\n return generateUtilityClass('MuiDialogTitle', slot);\n}\nconst dialogTitleClasses = generateUtilityClasses('MuiDialogTitle', ['root']);\nexport default dialogTitleClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getDividerUtilityClass } from \"./dividerClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n absolute,\n children,\n classes,\n flexItem,\n light,\n orientation,\n textAlign,\n variant\n } = ownerState;\n const slots = {\n root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],\n wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']\n };\n return composeClasses(slots, getDividerUtilityClass, classes);\n};\nconst DividerRoot = styled('div', {\n name: 'MuiDivider',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 0,\n // Reset browser default style.\n flexShrink: 0,\n borderWidth: 0,\n borderStyle: 'solid',\n borderColor: (theme.vars || theme).palette.divider,\n borderBottomWidth: 'thin',\n variants: [{\n props: {\n absolute: true\n },\n style: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%'\n }\n }, {\n props: {\n light: true\n },\n style: {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.dividerChannel} / 0.08)` : alpha(theme.palette.divider, 0.08)\n }\n }, {\n props: {\n variant: 'inset'\n },\n style: {\n marginLeft: 72\n }\n }, {\n props: {\n variant: 'middle',\n orientation: 'horizontal'\n },\n style: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n }\n }, {\n props: {\n variant: 'middle',\n orientation: 'vertical'\n },\n style: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n }\n }, {\n props: {\n orientation: 'vertical'\n },\n style: {\n height: '100%',\n borderBottomWidth: 0,\n borderRightWidth: 'thin'\n }\n }, {\n props: {\n flexItem: true\n },\n style: {\n alignSelf: 'stretch',\n height: 'auto'\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.children,\n style: {\n display: 'flex',\n whiteSpace: 'nowrap',\n textAlign: 'center',\n border: 0,\n borderTopStyle: 'solid',\n borderLeftStyle: 'solid',\n '&::before, &::after': {\n content: '\"\"',\n alignSelf: 'center'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.children && ownerState.orientation !== 'vertical',\n style: {\n '&::before, &::after': {\n width: '100%',\n borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,\n borderTopStyle: 'inherit'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.orientation === 'vertical' && ownerState.children,\n style: {\n flexDirection: 'column',\n '&::before, &::after': {\n height: '100%',\n borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,\n borderLeftStyle: 'inherit'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical',\n style: {\n '&::before': {\n width: '90%'\n },\n '&::after': {\n width: '10%'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical',\n style: {\n '&::before': {\n width: '10%'\n },\n '&::after': {\n width: '90%'\n }\n }\n }]\n})));\nconst DividerWrapper = styled('span', {\n name: 'MuiDivider',\n slot: 'Wrapper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-block',\n paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,\n paddingRight: `calc(${theme.spacing(1)} * 1.2)`,\n variants: [{\n props: {\n orientation: 'vertical'\n },\n style: {\n paddingTop: `calc(${theme.spacing(1)} * 1.2)`,\n paddingBottom: `calc(${theme.spacing(1)} * 1.2)`\n }\n }]\n})));\nconst Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDivider'\n });\n const {\n absolute = false,\n children,\n className,\n orientation = 'horizontal',\n component = children || orientation === 'vertical' ? 'div' : 'hr',\n flexItem = false,\n light = false,\n role = component !== 'hr' ? 'separator' : undefined,\n textAlign = 'center',\n variant = 'fullWidth',\n ...other\n } = props;\n const ownerState = {\n ...props,\n absolute,\n component,\n flexItem,\n light,\n orientation,\n role,\n textAlign,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(DividerRoot, {\n as: component,\n className: clsx(classes.root, className),\n role: role,\n ref: ref,\n ownerState: ownerState,\n \"aria-orientation\": role === 'separator' && (component !== 'hr' || orientation === 'vertical') ? orientation : undefined,\n ...other,\n children: children ? /*#__PURE__*/_jsx(DividerWrapper, {\n className: classes.wrapper,\n ownerState: ownerState,\n children: children\n }) : null\n });\n});\n\n/**\n * The following flag is used to ensure that this component isn't tabbable i.e.\n * does not get highlight/focus inside of MUI List.\n */\nif (Divider) {\n Divider.muiSkipListHighlight = true;\n}\nprocess.env.NODE_ENV !== \"production\" ? Divider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Absolutely position the element.\n * @default false\n */\n absolute: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, a vertical divider will have the correct height when used in flex container.\n * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)\n * @default false\n */\n flexItem: PropTypes.bool,\n /**\n * If `true`, the divider will have a lighter color.\n * @default false\n * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n light: PropTypes.bool,\n /**\n * The component orientation.\n * @default 'horizontal'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * @ignore\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The text alignment.\n * @default 'center'\n */\n textAlign: PropTypes.oneOf(['center', 'left', 'right']),\n /**\n * The variant to use.\n * @default 'fullWidth'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])\n} : void 0;\nexport default Divider;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDividerUtilityClass(slot) {\n return generateUtilityClass('MuiDivider', slot);\n}\nconst dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);\nexport default dividerClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { reflow, getTransitionProps } from \"../transitions/utils.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst styles = {\n entering: {\n opacity: 1\n },\n entered: {\n opacity: 1\n }\n};\n\n/**\n * The Fade transition is used by the [Modal](/material-ui/react-modal/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {\n const theme = useTheme();\n const defaultTimeout = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n addEndListener,\n appear = true,\n children,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = defaultTimeout,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const enableStrictModeCompat = true;\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const handleEntering = normalizedTransitionCallback(onEntering);\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n reflow(node); // So the animation always start from the start.\n\n const transitionProps = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const transitionProps = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleAddEndListener = next => {\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n appear: appear,\n in: inProp,\n nodeRef: enableStrictModeCompat ? nodeRef : undefined,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n timeout: timeout,\n ...other,\n children: (state, childProps) => {\n return /*#__PURE__*/React.cloneElement(children, {\n style: {\n opacity: 0,\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[state],\n ...style,\n ...children.props.style\n },\n ref: handleRef,\n ...childProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Fade.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * Perform the enter transition when it first mounts if `in` is also `true`.\n * Set this to `false` to disable this behavior.\n * @default true\n */\n appear: PropTypes.bool,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Fade;","'use client';\n\nimport * as React from 'react';\nimport deepmerge from '@mui/utils/deepmerge';\nimport refType from '@mui/utils/refType';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport InputBase from \"../InputBase/index.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport filledInputClasses, { getFilledInputUtilityClass } from \"./filledInputClasses.js\";\nimport { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from \"../InputBase/InputBase.js\";\nimport { capitalize } from \"../utils/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableUnderline,\n startAdornment,\n endAdornment,\n size,\n hiddenLabel,\n multiline\n } = ownerState;\n const slots = {\n root: ['root', !disableUnderline && 'underline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', size === 'small' && `size${capitalize(size)}`, hiddenLabel && 'hiddenLabel', multiline && 'multiline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);\n return {\n ...classes,\n // forward classes to the InputBase\n ...composedClasses\n };\n};\nconst FilledInputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiFilledInput',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [...inputBaseRootOverridesResolver(props, styles), !ownerState.disableUnderline && styles.underline];\n }\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n const bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';\n const hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';\n const disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';\n return {\n position: 'relative',\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,\n borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,\n borderTopRightRadius: (theme.vars || theme).shape.borderRadius,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n '&:hover': {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.hoverBg : hoverBackground,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor\n }\n },\n [`&.${filledInputClasses.focused}`]: {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor\n },\n [`&.${filledInputClasses.disabled}`]: {\n backgroundColor: theme.vars ? theme.vars.palette.FilledInput.disabledBg : disabledBackground\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableUnderline,\n style: {\n '&::after': {\n left: 0,\n bottom: 0,\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&.${filledInputClasses.focused}:after`]: {\n // translateX(0) is a workaround for Safari transform scale bug\n // See https://github.com/mui/material-ui/issues/31766\n transform: 'scaleX(1) translateX(0)'\n },\n [`&.${filledInputClasses.error}`]: {\n '&::before, &::after': {\n borderBottomColor: (theme.vars || theme).palette.error.main\n }\n },\n '&::before': {\n borderBottom: `1px solid ${theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})` : bottomLineColor}`,\n left: 0,\n bottom: 0,\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&:hover:not(.${filledInputClasses.disabled}, .${filledInputClasses.error}):before`]: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`\n },\n [`&.${filledInputClasses.disabled}:before`]: {\n borderBottomStyle: 'dotted'\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n disableUnderline: false,\n color\n },\n style: {\n '&::after': {\n borderBottom: `2px solid ${(theme.vars || theme).palette[color]?.main}`\n }\n }\n })), {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 12\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n paddingRight: 12\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '25px 12px 8px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n paddingTop: 21,\n paddingBottom: 4\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline && ownerState.hiddenLabel,\n style: {\n paddingTop: 16,\n paddingBottom: 17\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline && ownerState.hiddenLabel && ownerState.size === 'small',\n style: {\n paddingTop: 8,\n paddingBottom: 9\n }\n }]\n };\n}));\nconst FilledInputInput = styled(InputBaseInput, {\n name: 'MuiFilledInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n paddingTop: 25,\n paddingRight: 12,\n paddingBottom: 8,\n paddingLeft: 12,\n ...(!theme.vars && {\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',\n caretColor: theme.palette.mode === 'light' ? null : '#fff',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n }\n }),\n ...(theme.vars && {\n '&:-webkit-autofill': {\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n },\n [theme.getColorSchemeSelector('dark')]: {\n '&:-webkit-autofill': {\n WebkitBoxShadow: '0 0 0 100px #266798 inset',\n WebkitTextFillColor: '#fff',\n caretColor: '#fff'\n }\n }\n }),\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n paddingTop: 21,\n paddingBottom: 4\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hiddenLabel,\n style: {\n paddingTop: 16,\n paddingBottom: 17\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n paddingRight: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hiddenLabel && ownerState.size === 'small',\n style: {\n paddingTop: 8,\n paddingBottom: 9\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n paddingTop: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n paddingRight: 0\n }\n }]\n})));\nconst FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFilledInput'\n });\n const {\n disableUnderline = false,\n components = {},\n componentsProps: componentsPropsProp,\n fullWidth = false,\n hiddenLabel,\n // declare here to prevent spreading to DOM\n inputComponent = 'input',\n multiline = false,\n slotProps,\n slots = {},\n type = 'text',\n ...other\n } = props;\n const ownerState = {\n ...props,\n disableUnderline,\n fullWidth,\n inputComponent,\n multiline,\n type\n };\n const classes = useUtilityClasses(props);\n const filledInputComponentsProps = {\n root: {\n ownerState\n },\n input: {\n ownerState\n }\n };\n const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;\n const RootSlot = slots.root ?? components.Root ?? FilledInputRoot;\n const InputSlot = slots.input ?? components.Input ?? FilledInputInput;\n return /*#__PURE__*/_jsx(InputBase, {\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n componentsProps: componentsProps,\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type,\n ...other,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FilledInput.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the input will not have an underline.\n * @default false\n */\n disableUnderline: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nif (FilledInput) {\n FilledInput.muiName = 'Input';\n}\nexport default FilledInput;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport { inputBaseClasses } from \"../InputBase/index.js\";\nexport function getFilledInputUtilityClass(slot) {\n return generateUtilityClass('MuiFilledInput', slot);\n}\nconst filledInputClasses = {\n ...inputBaseClasses,\n ...generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input', 'adornedStart', 'adornedEnd', 'sizeSmall', 'multiline', 'hiddenLabel'])\n};\nexport default filledInputClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormControlUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControl', slot);\n}\nconst formControlClasses = generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);\nexport default formControlClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { isFilled, isAdornedStart } from \"../InputBase/utils.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport isMuiElement from \"../utils/isMuiElement.js\";\nimport FormControlContext from \"./FormControlContext.js\";\nimport { getFormControlUtilityClasses } from \"./formControlClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n margin,\n fullWidth\n } = ownerState;\n const slots = {\n root: ['root', margin !== 'none' && `margin${capitalize(margin)}`, fullWidth && 'fullWidth']\n };\n return composeClasses(slots, getFormControlUtilityClasses, classes);\n};\nconst FormControlRoot = styled('div', {\n name: 'MuiFormControl',\n slot: 'Root',\n overridesResolver: ({\n ownerState\n }, styles) => {\n return {\n ...styles.root,\n ...styles[`margin${capitalize(ownerState.margin)}`],\n ...(ownerState.fullWidth && styles.fullWidth)\n };\n }\n})({\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top',\n // Fix alignment issue on Safari.\n variants: [{\n props: {\n margin: 'normal'\n },\n style: {\n marginTop: 16,\n marginBottom: 8\n }\n }, {\n props: {\n margin: 'dense'\n },\n style: {\n marginTop: 8,\n marginBottom: 4\n }\n }, {\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }]\n});\n\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/material-ui/react-text-field/#components).\n *\n * ```jsx\n * <FormControl>\n * <InputLabel htmlFor=\"my-input\">Email address</InputLabel>\n * <Input id=\"my-input\" aria-describedby=\"my-helper-text\" />\n * <FormHelperText id=\"my-helper-text\">We'll never share your email.</FormHelperText>\n * </FormControl>\n * ```\n *\n * ⚠️ Only one `InputBase` can be used within a FormControl because it creates visual inconsistencies.\n * For instance, only one input can be focused at the same time, the state shouldn't be shared.\n */\nconst FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormControl'\n });\n const {\n children,\n className,\n color = 'primary',\n component = 'div',\n disabled = false,\n error = false,\n focused: visuallyFocused,\n fullWidth = false,\n hiddenLabel = false,\n margin = 'none',\n required = false,\n size = 'medium',\n variant = 'outlined',\n ...other\n } = props;\n const ownerState = {\n ...props,\n color,\n component,\n disabled,\n error,\n fullWidth,\n hiddenLabel,\n margin,\n required,\n size,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const [adornedStart, setAdornedStart] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialAdornedStart = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n const input = isMuiElement(child, ['Select']) ? child.props.input : child;\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n return initialAdornedStart;\n });\n const [filled, setFilled] = React.useState(() => {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n let initialFilled = false;\n if (children) {\n React.Children.forEach(children, child => {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n if (isFilled(child.props, true) || isFilled(child.props.inputProps, true)) {\n initialFilled = true;\n }\n });\n }\n return initialFilled;\n });\n const [focusedState, setFocused] = React.useState(false);\n if (disabled && focusedState) {\n setFocused(false);\n }\n const focused = visuallyFocused !== undefined && !disabled ? visuallyFocused : focusedState;\n let registerEffect;\n const registeredInput = React.useRef(false);\n if (process.env.NODE_ENV !== 'production') {\n registerEffect = () => {\n if (registeredInput.current) {\n console.error(['MUI: There are multiple `InputBase` components inside a FormControl.', 'This creates visual inconsistencies, only use one `InputBase`.'].join('\\n'));\n }\n registeredInput.current = true;\n return () => {\n registeredInput.current = false;\n };\n };\n }\n const childContext = React.useMemo(() => {\n return {\n adornedStart,\n setAdornedStart,\n color,\n disabled,\n error,\n filled,\n focused,\n fullWidth,\n hiddenLabel,\n size,\n onBlur: () => {\n setFocused(false);\n },\n onEmpty: () => {\n setFilled(false);\n },\n onFilled: () => {\n setFilled(true);\n },\n onFocus: () => {\n setFocused(true);\n },\n registerEffect,\n required,\n variant\n };\n }, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, required, size, variant]);\n return /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(FormControlRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * If `true`, the component is displayed in focused state.\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the component will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * If `true`, the label is hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n * @default false\n */\n hiddenLabel: PropTypes.bool,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * If `true`, the label will indicate that the `input` is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default FormControl;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst FormControlContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n FormControlContext.displayName = 'FormControlContext';\n}\nexport default FormControlContext;","export default function formControlState({\n props,\n states,\n muiFormControl\n}) {\n return states.reduce((acc, state) => {\n acc[state] = props[state];\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n return acc;\n }, {});\n}","'use client';\n\nimport * as React from 'react';\nimport FormControlContext from \"./FormControlContext.js\";\nexport default function useFormControl() {\n return React.useContext(FormControlContext);\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormControlLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControlLabel', slot);\n}\nconst formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);\nexport default formControlLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useFormControl } from \"../FormControl/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport formControlLabelClasses, { getFormControlLabelUtilityClasses } from \"./formControlLabelClasses.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n labelPlacement,\n error,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', `labelPlacement${capitalize(labelPlacement)}`, error && 'error', required && 'required'],\n label: ['label', disabled && 'disabled'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormControlLabelUtilityClasses, classes);\n};\nexport const FormControlLabelRoot = styled('label', {\n name: 'MuiFormControlLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formControlLabelClasses.label}`]: styles.label\n }, styles.root, styles[`labelPlacement${capitalize(ownerState.labelPlacement)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n [`&.${formControlLabelClasses.disabled}`]: {\n cursor: 'default'\n },\n [`& .${formControlLabelClasses.label}`]: {\n [`&.${formControlLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n },\n variants: [{\n props: {\n labelPlacement: 'start'\n },\n style: {\n flexDirection: 'row-reverse',\n marginRight: -11\n }\n }, {\n props: {\n labelPlacement: 'top'\n },\n style: {\n flexDirection: 'column-reverse'\n }\n }, {\n props: {\n labelPlacement: 'bottom'\n },\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n labelPlacement\n }) => labelPlacement === 'start' || labelPlacement === 'top' || labelPlacement === 'bottom',\n style: {\n marginLeft: 16 // used for row presentation of radio/checkbox\n }\n }]\n})));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormControlLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(memoTheme(({\n theme\n}) => ({\n [`&.${formControlLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n})));\n\n/**\n * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\nconst FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormControlLabel'\n });\n const {\n checked,\n className,\n componentsProps = {},\n control,\n disabled: disabledProp,\n disableTypography,\n inputRef,\n label: labelProp,\n labelPlacement = 'end',\n name,\n onChange,\n required: requiredProp,\n slots = {},\n slotProps = {},\n value,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const disabled = disabledProp ?? control.props.disabled ?? muiFormControl?.disabled;\n const required = requiredProp ?? control.props.required;\n const controlProps = {\n disabled,\n required\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = {\n ...props,\n disabled,\n labelPlacement,\n required,\n error: fcs.error\n };\n const classes = useUtilityClasses(ownerState);\n const externalForwardedProps = {\n slots,\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [TypographySlot, typographySlotProps] = useSlot('typography', {\n elementType: Typography,\n externalForwardedProps,\n ownerState\n });\n let label = labelProp;\n if (label != null && label.type !== Typography && !disableTypography) {\n label = /*#__PURE__*/_jsx(TypographySlot, {\n component: \"span\",\n ...typographySlotProps,\n className: clsx(classes.label, typographySlotProps?.className),\n children: label\n });\n }\n return /*#__PURE__*/_jsxs(FormControlLabelRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [/*#__PURE__*/React.cloneElement(control, controlProps), required ? /*#__PURE__*/_jsxs(\"div\", {\n children: [label, /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n }) : label]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n componentsProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n /**\n * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n /**\n * If `true`, the control is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is rendered as it is passed without an additional typography node.\n */\n disableTypography: PropTypes.bool,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * A text or an element to be used in an enclosing label element.\n */\n label: PropTypes.node,\n /**\n * The position of the label.\n * @default 'end'\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * @ignore\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n typography: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n typography: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default FormControlLabel;","import createStyled from \"../createStyled/index.js\";\nconst styled = createStyled();\nexport default styled;","export const filterBreakpointKeys = (breakpointsKeys, responsiveKeys) => breakpointsKeys.filter(key => responsiveKeys.includes(key));\nexport const traverseBreakpoints = (breakpoints, responsive, iterator) => {\n const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n if (Array.isArray(responsive)) {\n responsive.forEach((breakpointValue, index) => {\n iterator((responsiveStyles, style) => {\n if (index <= breakpoints.keys.length - 1) {\n if (index === 0) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(breakpoints.keys[index])] = style;\n }\n }\n }, breakpointValue);\n });\n } else if (responsive && typeof responsive === 'object') {\n // prevent null\n // responsive could be a very big object, pick the smallest responsive values\n\n const keys = Object.keys(responsive).length > breakpoints.keys.length ? breakpoints.keys : filterBreakpointKeys(breakpoints.keys, Object.keys(responsive));\n keys.forEach(key => {\n if (breakpoints.keys.includes(key)) {\n // @ts-ignore already checked that responsive is an object\n const breakpointValue = responsive[key];\n if (breakpointValue !== undefined) {\n iterator((responsiveStyles, style) => {\n if (smallestBreakpoint === key) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(key)] = style;\n }\n }, breakpointValue);\n }\n }\n });\n } else if (typeof responsive === 'number' || typeof responsive === 'string') {\n iterator((responsiveStyles, style) => {\n Object.assign(responsiveStyles, style);\n }, responsive);\n }\n};","import { traverseBreakpoints } from \"./traverseBreakpoints.js\";\nfunction getSelfSpacingVar(axis) {\n return `--Grid-${axis}Spacing`;\n}\nfunction getParentSpacingVar(axis) {\n return `--Grid-parent-${axis}Spacing`;\n}\nconst selfColumnsVar = '--Grid-columns';\nconst parentColumnsVar = '--Grid-parent-columns';\nexport const generateGridSizeStyles = ({\n theme,\n ownerState\n}) => {\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.size, (appendStyle, value) => {\n let style = {};\n if (value === 'grow') {\n style = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n }\n if (value === 'auto') {\n style = {\n flexBasis: 'auto',\n flexGrow: 0,\n flexShrink: 0,\n maxWidth: 'none',\n width: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n flexGrow: 0,\n flexBasis: 'auto',\n width: `calc(100% * ${value} / var(${parentColumnsVar}) - (var(${parentColumnsVar}) - ${value}) * (var(${getParentSpacingVar('column')}) / var(${parentColumnsVar})))`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridOffsetStyles = ({\n theme,\n ownerState\n}) => {\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.offset, (appendStyle, value) => {\n let style = {};\n if (value === 'auto') {\n style = {\n marginLeft: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(${parentColumnsVar}) + var(${getParentSpacingVar('column')}) * ${value} / var(${parentColumnsVar}))`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridColumnsStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {\n [selfColumnsVar]: 12\n };\n traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n const columns = value ?? 12;\n appendStyle(styles, {\n [selfColumnsVar]: columns,\n '> *': {\n [parentColumnsVar]: columns\n }\n });\n });\n return styles;\n};\nexport const generateGridRowSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n const spacing = typeof value === 'string' ? value : theme.spacing?.(value);\n appendStyle(styles, {\n [getSelfSpacingVar('row')]: spacing,\n '> *': {\n [getParentSpacingVar('row')]: spacing\n }\n });\n });\n return styles;\n};\nexport const generateGridColumnSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n const spacing = typeof value === 'string' ? value : theme.spacing?.(value);\n appendStyle(styles, {\n [getSelfSpacingVar('column')]: spacing,\n '> *': {\n [getParentSpacingVar('column')]: spacing\n }\n });\n });\n return styles;\n};\nexport const generateGridDirectionStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n appendStyle(styles, {\n flexDirection: value\n });\n });\n return styles;\n};\nexport const generateGridStyles = ({\n ownerState\n}) => {\n return {\n minWidth: 0,\n boxSizing: 'border-box',\n ...(ownerState.container && {\n display: 'flex',\n flexWrap: 'wrap',\n ...(ownerState.wrap && ownerState.wrap !== 'wrap' && {\n flexWrap: ownerState.wrap\n }),\n gap: `var(${getSelfSpacingVar('row')}) var(${getSelfSpacingVar('column')})`\n })\n };\n};\nexport const generateSizeClassNames = size => {\n const classNames = [];\n Object.entries(size).forEach(([key, value]) => {\n if (value !== false && value !== undefined) {\n classNames.push(`grid-${key}-${String(value)}`);\n }\n });\n return classNames;\n};\nexport const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {\n function isValidSpacing(val) {\n if (val === undefined) {\n return false;\n }\n return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n }\n if (isValidSpacing(spacing)) {\n return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n }\n if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n const classNames = [];\n Object.entries(spacing).forEach(([key, value]) => {\n if (isValidSpacing(value)) {\n classNames.push(`spacing-${key}-${String(value)}`);\n }\n });\n return classNames;\n }\n return [];\n};\nexport const generateDirectionClasses = direction => {\n if (direction === undefined) {\n return [];\n }\n if (typeof direction === 'object') {\n return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);\n }\n return [`direction-xs-${String(direction)}`];\n};","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport isMuiElement from '@mui/utils/isMuiElement';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { generateGridStyles, generateGridSizeStyles, generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridDirectionStyles, generateGridOffsetStyles, generateSizeClassNames, generateSpacingClassNames, generateDirectionClasses } from \"./gridGenerator.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiGrid',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiGrid',\n defaultTheme\n });\n}\nexport default function createGrid(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiGrid'\n } = options;\n const useUtilityClasses = (ownerState, theme) => {\n const {\n container,\n direction,\n spacing,\n wrap,\n size\n } = ownerState;\n const slots = {\n root: ['root', container && 'container', wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...(container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : [])]\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {\n const parsedProp = {};\n if (propValue === null) {\n return parsedProp;\n }\n if (Array.isArray(propValue)) {\n propValue.forEach((value, index) => {\n if (value !== null && shouldUseValue(value) && breakpoints.keys[index]) {\n parsedProp[breakpoints.keys[index]] = value;\n }\n });\n } else if (typeof propValue === 'object') {\n Object.keys(propValue).forEach(key => {\n const value = propValue[key];\n if (value !== null && value !== undefined && shouldUseValue(value)) {\n parsedProp[key] = value;\n }\n });\n } else {\n parsedProp[breakpoints.keys[0]] = propValue;\n }\n return parsedProp;\n }\n const GridRoot = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);\n const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const theme = useTheme();\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n className,\n children,\n columns: columnsProp = 12,\n container = false,\n component = 'div',\n direction = 'row',\n wrap = 'wrap',\n size: sizeProp = {},\n offset: offsetProp = {},\n spacing: spacingProp = 0,\n rowSpacing: rowSpacingProp = spacingProp,\n columnSpacing: columnSpacingProp = spacingProp,\n unstable_level: level = 0,\n ...other\n } = props;\n const size = parseResponsiveProp(sizeProp, theme.breakpoints, val => val !== false);\n const offset = parseResponsiveProp(offsetProp, theme.breakpoints);\n const columns = inProps.columns ?? (level ? undefined : columnsProp);\n const spacing = inProps.spacing ?? (level ? undefined : spacingProp);\n const rowSpacing = inProps.rowSpacing ?? inProps.spacing ?? (level ? undefined : rowSpacingProp);\n const columnSpacing = inProps.columnSpacing ?? inProps.spacing ?? (level ? undefined : columnSpacingProp);\n const ownerState = {\n ...props,\n level,\n columns,\n container,\n direction,\n wrap,\n spacing,\n rowSpacing,\n columnSpacing,\n size,\n offset\n };\n const classes = useUtilityClasses(ownerState, theme);\n return /*#__PURE__*/_jsx(GridRoot, {\n ref: ref,\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ...other,\n children: React.Children.map(children, child => {\n if (/*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid']) && container && child.props.container) {\n return /*#__PURE__*/React.cloneElement(child, {\n unstable_level: child.props?.unstable_level ?? level + 1\n });\n }\n return child;\n })\n });\n });\n process.env.NODE_ENV !== \"production\" ? Grid.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n className: PropTypes.string,\n columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n component: PropTypes.elementType,\n container: PropTypes.bool,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n } : void 0;\n\n // @ts-ignore internal logic for nested grid\n Grid.muiName = 'Grid';\n return Grid;\n}","'use client';\n\nimport PropTypes from 'prop-types';\nimport { createGrid as createGrid2 } from '@mui/system/Grid';\nimport requirePropFactory from \"../utils/requirePropFactory.js\";\nimport { styled, useThemeProps } from \"../styles/index.js\";\n/**\n *\n * Demos:\n *\n * - [Grid version 2](https://mui.com/material-ui/react-grid2/)\n *\n * API:\n *\n * - [Grid2 API](https://mui.com/material-ui/api/grid-2/)\n */\nconst Grid2 = createGrid2({\n createStyledComponent: styled('div', {\n name: 'MuiGrid2',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n }),\n componentName: 'MuiGrid2',\n useThemeProps: inProps => useThemeProps({\n props: inProps,\n name: 'MuiGrid2'\n })\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid2.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The number of columns.\n * @default 12\n */\n columns: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n /**\n * Defines the horizontal space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n columnSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n * @default false\n */\n container: PropTypes.bool,\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n * @default 'row'\n */\n direction: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n /**\n * Defines the offset value for the type `item` components.\n */\n offset: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the vertical space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n rowSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * Defines the size of the the type `item` components.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the space between the type `item` components.\n * It can only be used on a type `container` component.\n * @default 0\n */\n spacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * @ignore\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @internal\n * The level of the grid starts from `0` and increases when the grid nests\n * inside another grid. Nesting is defined as a container Grid being a direct\n * child of a container Grid.\n *\n * ```js\n * <Grid container> // level 0\n * <Grid container> // level 1\n * <Grid container> // level 2\n * ```\n *\n * Only consecutive grid is considered nesting. A grid container will start at\n * `0` if there are non-Grid container element above it.\n *\n * ```js\n * <Grid container> // level 0\n * <div>\n * <Grid container> // level 0\n * ```\n *\n * ```js\n * <Grid container> // level 0\n * <Grid>\n * <Grid container> // level 0\n * ```\n */\n unstable_level: PropTypes.number,\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n * @default 'wrap'\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n const Component = Grid2;\n const requireProp = requirePropFactory('Grid2', Component);\n // eslint-disable-next-line no-useless-concat\n Component['propTypes' + ''] = {\n // eslint-disable-next-line react/forbid-foreign-prop-types\n ...Component.propTypes,\n direction: requireProp('container'),\n spacing: requireProp('container'),\n wrap: requireProp('container')\n };\n}\nexport default Grid2;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport useTimeout from '@mui/utils/useTimeout';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport { Transition } from 'react-transition-group';\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { getTransitionProps, reflow } from \"../transitions/utils.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getScale(value) {\n return `scale(${value}, ${value ** 2})`;\n}\nconst styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n\n/*\n TODO v6: remove\n Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.\n */\nconst isWebKit154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\\/)15(.|_)4/i.test(navigator.userAgent);\n\n/**\n * The Grow transition is used by the [Tooltip](/material-ui/react-tooltip/) and\n * [Popover](/material-ui/react-popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {\n const {\n addEndListener,\n appear = true,\n children,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = 'auto',\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const timer = useTimeout();\n const autoTimeout = React.useRef();\n const theme = useTheme();\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const handleEntering = normalizedTransitionCallback(onEntering);\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n reflow(node); // So the animation always start from the start.\n\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay,\n easing: transitionTimingFunction\n })].join(',');\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay: isWebKit154 ? delay : delay || duration * 0.333,\n easing: transitionTimingFunction\n })].join(',');\n node.style.opacity = 0;\n node.style.transform = getScale(0.75);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleAddEndListener = next => {\n if (timeout === 'auto') {\n timer.start(autoTimeout.current || 0, next);\n }\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n appear: appear,\n in: inProp,\n nodeRef: nodeRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n timeout: timeout === 'auto' ? null : timeout,\n ...other,\n children: (state, childProps) => {\n return /*#__PURE__*/React.cloneElement(children, {\n style: {\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[state],\n ...style,\n ...children.props.style\n },\n ref: handleRef,\n ...childProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * Perform the enter transition when it first mounts if `in` is also `true`.\n * Set this to `false` to disable this behavior.\n * @default true\n */\n appear: PropTypes.bool,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nif (Grow) {\n Grow.muiSupportAuto = true;\n}\nexport default Grow;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getIconButtonUtilityClass(slot) {\n return generateUtilityClass('MuiIconButton', slot);\n}\nconst iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);\nexport default iconButtonClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport iconButtonClasses, { getIconButtonUtilityClass } from \"./iconButtonClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n color,\n edge,\n size\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', color !== 'default' && `color${capitalize(color)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`]\n };\n return composeClasses(slots, getIconButtonUtilityClass, classes);\n};\nconst IconButtonRoot = styled(ButtonBase, {\n name: 'MuiIconButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.edge && styles[`edge${capitalize(ownerState.edge)}`], styles[`size${capitalize(ownerState.size)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 8,\n borderRadius: '50%',\n color: (theme.vars || theme).palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: props => !props.disableRipple,\n style: {\n '--IconButton-hoverBg': theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),\n '&:hover': {\n backgroundColor: 'var(--IconButton-hoverBg)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: {\n edge: 'start'\n },\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: {\n edge: 'end'\n },\n style: {\n marginRight: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }]\n})), memoTheme(({\n theme\n}) => ({\n variants: [{\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n '--IconButton-hoverBg': theme.vars ? `rgba(${(theme.vars || theme).palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color].main, theme.palette.action.hoverOpacity)\n }\n })), {\n props: {\n size: 'small'\n },\n style: {\n padding: 5,\n fontSize: theme.typography.pxToRem(18)\n }\n }, {\n props: {\n size: 'large'\n },\n style: {\n padding: 12,\n fontSize: theme.typography.pxToRem(28)\n }\n }],\n [`&.${iconButtonClasses.disabled}`]: {\n backgroundColor: 'transparent',\n color: (theme.vars || theme).palette.action.disabled\n }\n})));\n\n/**\n * Refer to the [Icons](/material-ui/icons/) section of the documentation\n * regarding the available icon options.\n */\nconst IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiIconButton'\n });\n const {\n edge = false,\n children,\n className,\n color = 'default',\n disabled = false,\n disableFocusRipple = false,\n size = 'medium',\n ...other\n } = props;\n const ownerState = {\n ...props,\n edge,\n color,\n disabled,\n disableFocusRipple,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(IconButtonRoot, {\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The icon to display.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);\n if (found) {\n return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\\n'));\n }\n return null;\n }),\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default IconButton;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport deepmerge from '@mui/utils/deepmerge';\nimport refType from '@mui/utils/refType';\nimport InputBase from \"../InputBase/index.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport inputClasses, { getInputUtilityClass } from \"./inputClasses.js\";\nimport { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from \"../InputBase/InputBase.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableUnderline\n } = ownerState;\n const slots = {\n root: ['root', !disableUnderline && 'underline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getInputUtilityClass, classes);\n return {\n ...classes,\n // forward classes to the InputBase\n ...composedClasses\n };\n};\nconst InputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInput',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [...inputBaseRootOverridesResolver(props, styles), !ownerState.disableUnderline && styles.underline];\n }\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n let bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n if (theme.vars) {\n bottomLineColor = `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})`;\n }\n return {\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.formControl,\n style: {\n 'label + &': {\n marginTop: 16\n }\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableUnderline,\n style: {\n '&::after': {\n left: 0,\n bottom: 0,\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&.${inputClasses.focused}:after`]: {\n // translateX(0) is a workaround for Safari transform scale bug\n // See https://github.com/mui/material-ui/issues/31766\n transform: 'scaleX(1) translateX(0)'\n },\n [`&.${inputClasses.error}`]: {\n '&::before, &::after': {\n borderBottomColor: (theme.vars || theme).palette.error.main\n }\n },\n '&::before': {\n borderBottom: `1px solid ${bottomLineColor}`,\n left: 0,\n bottom: 0,\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n },\n [`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]: {\n borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: `1px solid ${bottomLineColor}`\n }\n },\n [`&.${inputClasses.disabled}:before`]: {\n borderBottomStyle: 'dotted'\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disableUnderline: false\n },\n style: {\n '&::after': {\n borderBottom: `2px solid ${(theme.vars || theme).palette[color].main}`\n }\n }\n }))]\n };\n}));\nconst InputInput = styled(InputBaseInput, {\n name: 'MuiInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})({});\nconst Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInput'\n });\n const {\n disableUnderline = false,\n components = {},\n componentsProps: componentsPropsProp,\n fullWidth = false,\n inputComponent = 'input',\n multiline = false,\n slotProps,\n slots = {},\n type = 'text',\n ...other\n } = props;\n const classes = useUtilityClasses(props);\n const ownerState = {\n disableUnderline\n };\n const inputComponentsProps = {\n root: {\n ownerState\n }\n };\n const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;\n const RootSlot = slots.root ?? components.Root ?? InputRoot;\n const InputSlot = slots.input ?? components.Input ?? InputInput;\n return /*#__PURE__*/_jsx(InputBase, {\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n slotProps: componentsProps,\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type,\n ...other,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the `input` will not have an underline.\n * @default false\n */\n disableUnderline: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nif (Input) {\n Input.muiName = 'Input';\n}\nexport default Input;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport { inputBaseClasses } from \"../InputBase/index.js\";\nexport function getInputUtilityClass(slot) {\n return generateUtilityClass('MuiInput', slot);\n}\nconst inputClasses = {\n ...inputBaseClasses,\n ...generateUtilityClasses('MuiInput', ['root', 'underline', 'input'])\n};\nexport default inputClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getInputAdornmentUtilityClass(slot) {\n return generateUtilityClass('MuiInputAdornment', slot);\n}\nconst inputAdornmentClasses = generateUtilityClasses('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);\nexport default inputAdornmentClasses;","'use client';\n\nvar _span;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport Typography from \"../Typography/index.js\";\nimport FormControlContext from \"../FormControl/FormControlContext.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport inputAdornmentClasses, { getInputAdornmentUtilityClass } from \"./inputAdornmentClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePointerEvents,\n hiddenLabel,\n position,\n size,\n variant\n } = ownerState;\n const slots = {\n root: ['root', disablePointerEvents && 'disablePointerEvents', position && `position${capitalize(position)}`, variant, hiddenLabel && 'hiddenLabel', size && `size${capitalize(size)}`]\n };\n return composeClasses(slots, getInputAdornmentUtilityClass, classes);\n};\nconst InputAdornmentRoot = styled('div', {\n name: 'MuiInputAdornment',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n maxHeight: '2em',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n color: (theme.vars || theme).palette.action.active,\n variants: [{\n props: {\n variant: 'filled'\n },\n style: {\n [`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {\n marginTop: 16\n }\n }\n }, {\n props: {\n position: 'start'\n },\n style: {\n marginRight: 8\n }\n }, {\n props: {\n position: 'end'\n },\n style: {\n marginLeft: 8\n }\n }, {\n props: {\n disablePointerEvents: true\n },\n style: {\n pointerEvents: 'none'\n }\n }]\n})));\nconst InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInputAdornment'\n });\n const {\n children,\n className,\n component = 'div',\n disablePointerEvents = false,\n disableTypography = false,\n position,\n variant: variantProp,\n ...other\n } = props;\n const muiFormControl = useFormControl() || {};\n let variant = variantProp;\n if (variantProp && muiFormControl.variant) {\n if (process.env.NODE_ENV !== 'production') {\n if (variantProp === muiFormControl.variant) {\n console.error('MUI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');\n }\n }\n }\n if (muiFormControl && !variant) {\n variant = muiFormControl.variant;\n }\n const ownerState = {\n ...props,\n hiddenLabel: muiFormControl.hiddenLabel,\n size: muiFormControl.size,\n disablePointerEvents,\n position,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(InputAdornmentRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/_jsx(Typography, {\n color: \"textSecondary\",\n children: children\n }) : /*#__PURE__*/_jsxs(React.Fragment, {\n children: [position === 'start' ? (/* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n }))) : null, children]\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputAdornment.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component, normally an `IconButton` or string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Disable pointer events on the root.\n * This allows for the content of the adornment to focus the `input` on click.\n * @default false\n */\n disablePointerEvents: PropTypes.bool,\n /**\n * If children is a string then disable wrapping in a Typography component.\n * @default false\n */\n disableTypography: PropTypes.bool,\n /**\n * The position this adornment should appear relative to the `Input`.\n */\n position: PropTypes.oneOf(['end', 'start']).isRequired,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * Note: If you are using the `TextField` component or the `FormControl` component\n * you do not have to set this manually.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default InputAdornment;","'use client';\n\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nvar _InputGlobalStyles;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport TextareaAutosize from \"../TextareaAutosize/index.js\";\nimport isHostComponent from \"../utils/isHostComponent.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport FormControlContext from \"../FormControl/FormControlContext.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport { styled, globalCss } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport { isFilled } from \"./utils.js\";\nimport inputBaseClasses, { getInputBaseUtilityClass } from \"./inputBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const rootOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.formControl && styles.formControl, ownerState.startAdornment && styles.adornedStart, ownerState.endAdornment && styles.adornedEnd, ownerState.error && styles.error, ownerState.size === 'small' && styles.sizeSmall, ownerState.multiline && styles.multiline, ownerState.color && styles[`color${capitalize(ownerState.color)}`], ownerState.fullWidth && styles.fullWidth, ownerState.hiddenLabel && styles.hiddenLabel];\n};\nexport const inputOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disabled,\n error,\n endAdornment,\n focused,\n formControl,\n fullWidth,\n hiddenLabel,\n multiline,\n readOnly,\n size,\n startAdornment,\n type\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', fullWidth && 'fullWidth', focused && 'focused', formControl && 'formControl', size && size !== 'medium' && `size${capitalize(size)}`, multiline && 'multiline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', hiddenLabel && 'hiddenLabel', readOnly && 'readOnly'],\n input: ['input', disabled && 'disabled', type === 'search' && 'inputTypeSearch', multiline && 'inputMultiline', size === 'small' && 'inputSizeSmall', hiddenLabel && 'inputHiddenLabel', startAdornment && 'inputAdornedStart', endAdornment && 'inputAdornedEnd', readOnly && 'readOnly']\n };\n return composeClasses(slots, getInputBaseUtilityClass, classes);\n};\nexport const InputBaseRoot = styled('div', {\n name: 'MuiInputBase',\n slot: 'Root',\n overridesResolver: rootOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: '1.4375em',\n // 23px\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n [`&.${inputBaseClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled,\n cursor: 'default'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '4px 0 5px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n width: '100%'\n }\n }]\n})));\nexport const InputBaseInput = styled('input', {\n name: 'MuiInputBase',\n slot: 'Input',\n overridesResolver: inputOverridesResolver\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n const placeholder = {\n color: 'currentColor',\n ...(theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n }),\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n const placeholderHidden = {\n opacity: '0 !important'\n };\n const placeholderVisible = theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n };\n return {\n font: 'inherit',\n letterSpacing: 'inherit',\n color: 'currentColor',\n padding: '4px 0 5px',\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.4375em',\n // Reset 23pxthe native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n WebkitAppearance: 'none'\n },\n // Show and hide the placeholder logic\n [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n },\n [`&.${inputBaseClasses.disabled}`]: {\n opacity: 1,\n // Reset iOS opacity\n WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableInjectingGlobalStyles,\n style: {\n animationName: 'mui-auto-fill-cancel',\n animationDuration: '10ms',\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n height: 'auto',\n resize: 'none',\n padding: 0,\n paddingTop: 0\n }\n }, {\n props: {\n type: 'search'\n },\n style: {\n MozAppearance: 'textfield' // Improve type search style.\n }\n }]\n };\n}));\nconst InputGlobalStyles = globalCss({\n '@keyframes mui-auto-fill': {\n from: {\n display: 'block'\n }\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {\n display: 'block'\n }\n }\n});\n\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\nconst InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInputBase'\n });\n const {\n 'aria-describedby': ariaDescribedby,\n autoComplete,\n autoFocus,\n className,\n color,\n components = {},\n componentsProps = {},\n defaultValue,\n disabled,\n disableInjectingGlobalStyles,\n endAdornment,\n error,\n fullWidth = false,\n id,\n inputComponent = 'input',\n inputProps: inputPropsProp = {},\n inputRef: inputRefProp,\n margin,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n onKeyDown,\n onKeyUp,\n placeholder,\n readOnly,\n renderSuffix,\n rows,\n size,\n slotProps = {},\n slots = {},\n startAdornment,\n type = 'text',\n value: valueProp,\n ...other\n } = props;\n const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef();\n const handleInputRefWarning = React.useCallback(instance => {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n const handleInputRef = useForkRef(inputRef, inputRefProp, inputPropsProp.ref, handleInputRefWarning);\n const [focused, setFocused] = React.useState(false);\n const muiFormControl = useFormControl();\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n return undefined;\n }, [muiFormControl]);\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'size', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused;\n\n // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n React.useEffect(() => {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n const onFilled = muiFormControl && muiFormControl.onFilled;\n const onEmpty = muiFormControl && muiFormControl.onEmpty;\n const checkDirty = React.useCallback(obj => {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(() => {\n if (isControlled) {\n checkDirty({\n value\n });\n }\n }, [value, checkDirty, isControlled]);\n const handleFocus = event => {\n if (onFocus) {\n onFocus(event);\n }\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n const handleChange = (event, ...args) => {\n if (!isControlled) {\n const element = event.target || inputRef.current;\n if (element == null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://mui.com/r/input-component-ref-interface for more info.' : _formatMuiErrorMessage(1));\n }\n checkDirty({\n value: element.value\n });\n }\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange(event, ...args);\n }\n\n // Perform in the willUpdate\n if (onChange) {\n onChange(event, ...args);\n }\n };\n\n // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n React.useEffect(() => {\n checkDirty(inputRef.current);\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const handleClick = event => {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n if (onClick) {\n onClick(event);\n }\n };\n let InputComponent = inputComponent;\n let inputProps = inputPropsProp;\n if (multiline && InputComponent === 'input') {\n if (rows) {\n if (process.env.NODE_ENV !== 'production') {\n if (minRows || maxRows) {\n console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');\n }\n }\n inputProps = {\n type: undefined,\n minRows: rows,\n maxRows: rows,\n ...inputProps\n };\n } else {\n inputProps = {\n type: undefined,\n maxRows,\n minRows,\n ...inputProps\n };\n }\n InputComponent = TextareaAutosize;\n }\n const handleAutoFill = event => {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n React.useEffect(() => {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n endAdornment,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n startAdornment,\n type\n };\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root || components.Root || InputBaseRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const Input = slots.input || components.Input || InputBaseInput;\n inputProps = {\n ...inputProps,\n ...(slotProps.input ?? componentsProps.input)\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [!disableInjectingGlobalStyles && typeof InputGlobalStyles === 'function' && (// For Emotion/Styled-components, InputGlobalStyles will be a function\n // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.\n _InputGlobalStyles || (_InputGlobalStyles = /*#__PURE__*/_jsx(InputGlobalStyles, {}))), /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n ref: ref,\n onClick: handleClick,\n ...other,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),\n children: [startAdornment, /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(Input, {\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n type: type,\n ...inputProps,\n ...(!isHostComponent(Input) && {\n as: InputComponent,\n ownerState: {\n ...ownerState,\n ...inputProps.ownerState\n }\n }),\n ref: handleInputRef,\n className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n })\n }), endAdornment, renderSuffix ? renderSuffix({\n ...fcs,\n startAdornment\n }) : null]\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.\n * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.\n * @default false\n */\n disableInjectingGlobalStyles: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: elementTypeAcceptingRef,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the `input` is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the `input` doesn't satisfy its constraints.\n */\n onInvalid: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default InputBase;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getInputBaseUtilityClass(slot) {\n return generateUtilityClass('MuiInputBase', slot);\n}\nconst inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);\nexport default inputBaseClasses;","// Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\nexport function hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n}\n\n// Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\nexport function isFilled(obj, SSR = false) {\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n}\n\n// Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\nexport function isAdornedStart(obj) {\n return obj.startAdornment;\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListUtilityClass(slot) {\n return generateUtilityClass('MuiList', slot);\n}\nconst listClasses = generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);\nexport default listClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"./ListContext.js\";\nimport { getListUtilityClass } from \"./listClasses.js\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePadding,\n dense,\n subheader\n } = ownerState;\n const slots = {\n root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']\n };\n return composeClasses(slots, getListUtilityClass, classes);\n};\nconst ListRoot = styled('ul', {\n name: 'MuiList',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];\n }\n})({\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.subheader,\n style: {\n paddingTop: 0\n }\n }]\n});\nconst List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiList'\n });\n const {\n children,\n className,\n component = 'ul',\n dense = false,\n disablePadding = false,\n subheader,\n ...other\n } = props;\n const context = React.useMemo(() => ({\n dense\n }), [dense]);\n const ownerState = {\n ...props,\n component,\n dense,\n disablePadding\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: context,\n children: /*#__PURE__*/_jsxs(ListRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState,\n ...other,\n children: [subheader, children]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? List.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, vertical padding is removed from the list.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default List;","'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst ListContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\nexport default ListContext;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemUtilityClass(slot) {\n return generateUtilityClass('MuiListItem', slot);\n}\nconst listItemClasses = generateUtilityClasses('MuiListItem', ['root', 'container', 'dense', 'alignItemsFlexStart', 'divider', 'gutters', 'padding', 'secondaryAction']);\nexport default listItemClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemButtonUtilityClass(slot) {\n return generateUtilityClass('MuiListItemButton', slot);\n}\nconst listItemButtonClasses = generateUtilityClasses('MuiListItemButton', ['root', 'focusVisible', 'dense', 'alignItemsFlexStart', 'disabled', 'divider', 'gutters', 'selected']);\nexport default listItemButtonClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemSecondaryActionClassesUtilityClass(slot) {\n return generateUtilityClass('MuiListItemSecondaryAction', slot);\n}\nconst listItemSecondaryActionClasses = generateUtilityClasses('MuiListItemSecondaryAction', ['root', 'disableGutters']);\nexport default listItemSecondaryActionClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport { getListItemSecondaryActionClassesUtilityClass } from \"./listItemSecondaryActionClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disableGutters,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disableGutters && 'disableGutters']\n };\n return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);\n};\nconst ListItemSecondaryActionRoot = styled('div', {\n name: 'MuiListItemSecondaryAction',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.disableGutters && styles.disableGutters];\n }\n})({\n position: 'absolute',\n right: 16,\n top: '50%',\n transform: 'translateY(-50%)',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.disableGutters,\n style: {\n right: 0\n }\n }]\n});\n\n/**\n * Must be used as the last child of ListItem to function properly.\n *\n * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\nconst ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItemSecondaryAction'\n });\n const {\n className,\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const ownerState = {\n ...props,\n disableGutters: context.disableGutters\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListItemSecondaryActionRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemSecondaryAction.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component, normally an `IconButton` or selection control.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nListItemSecondaryAction.muiName = 'ListItemSecondaryAction';\nexport default ListItemSecondaryAction;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport isHostComponent from \"../utils/isHostComponent.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport isMuiElement from \"../utils/isMuiElement.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport { getListItemUtilityClass } from \"./listItemClasses.js\";\nimport { listItemButtonClasses } from \"../ListItemButton/index.js\";\nimport ListItemSecondaryAction from \"../ListItemSecondaryAction/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];\n};\nconst useUtilityClasses = ownerState => {\n const {\n alignItems,\n classes,\n dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', !disableGutters && 'gutters', !disablePadding && 'padding', divider && 'divider', alignItems === 'flex-start' && 'alignItemsFlexStart', hasSecondaryAction && 'secondaryAction'],\n container: ['container']\n };\n return composeClasses(slots, getListItemUtilityClass, classes);\n};\nexport const ListItemRoot = styled('div', {\n name: 'MuiListItem',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && ownerState.dense,\n style: {\n paddingTop: 4,\n paddingBottom: 4\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !!ownerState.secondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.secondaryAction,\n style: {\n [`& > .${listItemButtonClasses.root}`]: {\n paddingRight: 48\n }\n }\n }, {\n props: {\n alignItems: 'flex-start'\n },\n style: {\n alignItems: 'flex-start'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.divider,\n style: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.button,\n style: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hasSecondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }]\n})));\nconst ListItemContainer = styled('li', {\n name: 'MuiListItem',\n slot: 'Container',\n overridesResolver: (props, styles) => styles.container\n})({\n position: 'relative'\n});\n\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\nconst ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItem'\n });\n const {\n alignItems = 'center',\n children: childrenProp,\n className,\n component: componentProp,\n components = {},\n componentsProps = {},\n ContainerComponent = 'li',\n ContainerProps: {\n className: ContainerClassName,\n ...ContainerProps\n } = {},\n dense = false,\n disableGutters = false,\n disablePadding = false,\n divider = false,\n secondaryAction,\n slotProps = {},\n slots = {},\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n alignItems,\n disableGutters\n }), [alignItems, context.dense, dense, disableGutters]);\n const listItemRef = React.useRef(null);\n const children = React.Children.toArray(childrenProp);\n\n // v4 implementation, deprecated in v6, will be removed in v7\n const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n const ownerState = {\n ...props,\n alignItems,\n dense: childContext.dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n };\n const classes = useUtilityClasses(ownerState);\n const handleRef = useForkRef(listItemRef, ref);\n const Root = slots.root || components.Root || ListItemRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const componentProps = {\n className: clsx(classes.root, rootProps.className, className),\n ...other\n };\n let Component = componentProp || 'li';\n\n // v4 implementation, deprecated in v6, will be removed in v7\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component;\n\n // Avoid nesting of li > li.\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(ListItemContainer, {\n as: ContainerComponent,\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef,\n ownerState: ownerState,\n ...ContainerProps,\n children: [/*#__PURE__*/_jsx(Root, {\n ...rootProps,\n ...(!isHostComponent(Root) && {\n as: Component,\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: children\n }), children.pop()]\n })\n });\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n as: Component,\n ref: handleRef,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: [children, secondaryAction && /*#__PURE__*/_jsx(ListItemSecondaryAction, {\n children: secondaryAction\n })]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Defines the `align-items` style property.\n * @default 'center'\n */\n alignItems: PropTypes.oneOf(['center', 'flex-start']),\n /**\n * The content of the component if a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const children = React.Children.toArray(props.children);\n\n // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n let secondaryActionIndex = -1;\n for (let i = children.length - 1; i >= 0; i -= 1) {\n const child = children[i];\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n }\n\n // is ListItemSecondaryAction the last child of ListItem\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n return null;\n }),\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n * @default 'li'\n * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerComponent: elementTypeAcceptingRef,\n /**\n * Props applied to the container component if used.\n * @default {}\n * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerProps: PropTypes.object,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent List component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, all padding is removed.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * The element to display at the end of ListItem.\n */\n secondaryAction: PropTypes.node,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListItem;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport Typography, { typographyClasses } from \"../Typography/index.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport listItemTextClasses, { getListItemTextUtilityClass } from \"./listItemTextClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n inset,\n primary,\n secondary,\n dense\n } = ownerState;\n const slots = {\n root: ['root', inset && 'inset', dense && 'dense', primary && secondary && 'multiline'],\n primary: ['primary'],\n secondary: ['secondary']\n };\n return composeClasses(slots, getListItemTextUtilityClass, classes);\n};\nconst ListItemTextRoot = styled('div', {\n name: 'MuiListItemText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${listItemTextClasses.primary}`]: styles.primary\n }, {\n [`& .${listItemTextClasses.secondary}`]: styles.secondary\n }, styles.root, ownerState.inset && styles.inset, ownerState.primary && ownerState.secondary && styles.multiline, ownerState.dense && styles.dense];\n }\n})({\n flex: '1 1 auto',\n minWidth: 0,\n marginTop: 4,\n marginBottom: 4,\n [`.${typographyClasses.root}:where(& .${listItemTextClasses.primary})`]: {\n display: 'block'\n },\n [`.${typographyClasses.root}:where(& .${listItemTextClasses.secondary})`]: {\n display: 'block'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.primary && ownerState.secondary,\n style: {\n marginTop: 6,\n marginBottom: 6\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.inset,\n style: {\n paddingLeft: 56\n }\n }]\n});\nconst ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItemText'\n });\n const {\n children,\n className,\n disableTypography = false,\n inset = false,\n primary: primaryProp,\n primaryTypographyProps,\n secondary: secondaryProp,\n secondaryTypographyProps,\n ...other\n } = props;\n const {\n dense\n } = React.useContext(ListContext);\n let primary = primaryProp != null ? primaryProp : children;\n let secondary = secondaryProp;\n const ownerState = {\n ...props,\n disableTypography,\n inset,\n primary: !!primary,\n secondary: !!secondary,\n dense\n };\n const classes = useUtilityClasses(ownerState);\n if (primary != null && primary.type !== Typography && !disableTypography) {\n primary = /*#__PURE__*/_jsx(Typography, {\n variant: dense ? 'body2' : 'body1',\n className: classes.primary,\n component: primaryTypographyProps?.variant ? undefined : 'span',\n ...primaryTypographyProps,\n children: primary\n });\n }\n if (secondary != null && secondary.type !== Typography && !disableTypography) {\n secondary = /*#__PURE__*/_jsx(Typography, {\n variant: \"body2\",\n className: classes.secondary,\n color: \"textSecondary\",\n ...secondaryTypographyProps,\n children: secondary\n });\n }\n return /*#__PURE__*/_jsxs(ListItemTextRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [primary, secondary]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemText.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Alias for the `primary` prop.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the children won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `children` (or `primary`) text, and optional `secondary` text\n * with the Typography component.\n * @default false\n */\n disableTypography: PropTypes.bool,\n /**\n * If `true`, the children are indented.\n * This should be used if there is no left avatar or left icon.\n * @default false\n */\n inset: PropTypes.bool,\n /**\n * The main content element.\n */\n primary: PropTypes.node,\n /**\n * These props will be forwarded to the primary typography component\n * (as long as disableTypography is not `true`).\n */\n primaryTypographyProps: PropTypes.object,\n /**\n * The secondary content element.\n */\n secondary: PropTypes.node,\n /**\n * These props will be forwarded to the secondary typography component\n * (as long as disableTypography is not `true`).\n */\n secondaryTypographyProps: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default ListItemText;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemTextUtilityClass(slot) {\n return generateUtilityClass('MuiListItemText', slot);\n}\nconst listItemTextClasses = generateUtilityClasses('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);\nexport default listItemTextClasses;","import getScrollbarSize from '@mui/utils/getScrollbarSize';\nexport default getScrollbarSize;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport List from \"../List/index.js\";\nimport getScrollbarSize from \"../utils/getScrollbarSize.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport { ownerWindow } from \"../utils/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n return disableListWrap ? null : list.firstChild;\n}\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n return disableListWrap ? null : list.lastChild;\n}\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n let text = nextFocus.innerText;\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n text = text.trim().toLowerCase();\n if (text.length === 0) {\n return false;\n }\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n return text.startsWith(textCriteria.keys.join(''));\n}\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n let wrappedOnce = false;\n let nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return false;\n }\n wrappedOnce = true;\n }\n\n // Same logic as useAutocomplete.js\n const nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return true;\n }\n }\n return false;\n}\n\n/**\n * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.\n * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\nconst MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n autoFocus = false,\n autoFocusItem = false,\n children,\n className,\n disabledItemsFocusable = false,\n disableListWrap = false,\n onKeyDown,\n variant = 'selectedMenu',\n ...other\n } = props;\n const listRef = React.useRef(null);\n const textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(() => {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, () => ({\n adjustStyleForScrollbar: (containerElement, {\n direction\n }) => {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n const noExplicitWidth = !listRef.current.style.width;\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n const scrollbarSize = `${getScrollbarSize(ownerWindow(containerElement))}px`;\n listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = `calc(100% + ${scrollbarSize})`;\n }\n return listRef.current;\n }\n }), []);\n const handleKeyDown = event => {\n const list = listRef.current;\n const key = event.key;\n const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey;\n if (isModifierKeyPressed) {\n if (onKeyDown) {\n onKeyDown(event);\n }\n return;\n }\n\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n const currentFocus = ownerDocument(list).activeElement;\n if (key === 'ArrowDown') {\n // Prevent scroll of the page\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key.length === 1) {\n const criteria = textCriteriaRef.current;\n const lowerKey = key.toLowerCase();\n const currTime = performance.now();\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n const keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n const handleRef = useForkRef(listRef, ref);\n\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n let activeItemIndex = -1;\n // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n React.Children.forEach(children, (child, index) => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n if (activeItemIndex === index) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n if (activeItemIndex === index && (child.props.disabled || child.props.muiSkipListHighlight || child.type.muiSkipListHighlight)) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n });\n const items = React.Children.map(children, (child, index) => {\n if (index === activeItemIndex) {\n const newChildProps = {};\n if (autoFocusItem) {\n newChildProps.autoFocus = true;\n }\n if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n newChildProps.tabIndex = 0;\n }\n return /*#__PURE__*/React.cloneElement(child, newChildProps);\n }\n return child;\n });\n return /*#__PURE__*/_jsx(List, {\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1,\n ...other,\n children: items\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, will focus the `[role=\"menu\"]` container and move into tab order.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n * @default false\n */\n autoFocusItem: PropTypes.bool,\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the menu items will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getMenuUtilityClass(slot) {\n return generateUtilityClass('MuiMenu', slot);\n}\nconst menuClasses = generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);\nexport default menuClasses;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport MenuList from \"../MenuList/index.js\";\nimport Popover, { PopoverPaper } from \"../Popover/index.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getMenuUtilityClass } from \"./menuClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nconst LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper'],\n list: ['list']\n };\n return composeClasses(slots, getMenuUtilityClass, classes);\n};\nconst MenuRoot = styled(Popover, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenu',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\nexport const MenuPaper = styled(PopoverPaper, {\n name: 'MuiMenu',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})({\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tappable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch'\n});\nconst MenuMenuList = styled(MenuList, {\n name: 'MuiMenu',\n slot: 'List',\n overridesResolver: (props, styles) => styles.list\n})({\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiMenu'\n });\n const {\n autoFocus = true,\n children,\n className,\n disableAutoFocusItem = false,\n MenuListProps = {},\n onClose,\n open,\n PaperProps = {},\n PopoverClasses,\n transitionDuration = 'auto',\n TransitionProps: {\n onEntering,\n ...TransitionProps\n } = {},\n variant = 'selectedMenu',\n slots = {},\n slotProps = {},\n ...other\n } = props;\n const isRtl = useRtl();\n const ownerState = {\n ...props,\n autoFocus,\n disableAutoFocusItem,\n MenuListProps,\n onEntering,\n PaperProps,\n transitionDuration,\n TransitionProps,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n const autoFocusItem = autoFocus && !disableAutoFocusItem && open;\n const menuListActionsRef = React.useRef(null);\n const handleEntering = (element, isAppearing) => {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, {\n direction: isRtl ? 'rtl' : 'ltr'\n });\n }\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n };\n const handleListKeyDown = event => {\n if (event.key === 'Tab') {\n event.preventDefault();\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n let activeItemIndex = -1;\n // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n React.Children.map(children, (child, index) => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n const PaperSlot = slots.paper ?? MenuPaper;\n const paperExternalSlotProps = slotProps.paper ?? PaperProps;\n const rootSlotProps = useSlotProps({\n elementType: slots.root,\n externalSlotProps: slotProps.root,\n ownerState,\n className: [classes.root, className]\n });\n const paperSlotProps = useSlotProps({\n elementType: PaperSlot,\n externalSlotProps: paperExternalSlotProps,\n ownerState,\n className: classes.paper\n });\n return /*#__PURE__*/_jsx(MenuRoot, {\n onClose: onClose,\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: isRtl ? 'right' : 'left'\n },\n transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,\n slots: {\n paper: PaperSlot,\n root: slots.root\n },\n slotProps: {\n root: rootSlotProps,\n paper: paperSlotProps\n },\n open: open,\n ref: ref,\n transitionDuration: transitionDuration,\n TransitionProps: {\n onEntering: handleEntering,\n ...TransitionProps\n },\n ownerState: ownerState,\n ...other,\n classes: PopoverClasses,\n children: /*#__PURE__*/_jsx(MenuMenuList, {\n onKeyDown: handleListKeyDown,\n actions: menuListActionsRef,\n autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),\n autoFocusItem: autoFocusItem,\n variant: variant,\n ...MenuListProps,\n className: clsx(classes.list, MenuListProps.className),\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the position of the menu.\n */\n anchorEl: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true` (Default) will focus the `[role=\"menu\"]` if no focusable child is found. Disabled\n * children are not focusable. If you set this prop to `false` focus will be placed\n * on the parent modal container. This has severe accessibility implications\n * and should only be considered if you manage focus otherwise.\n * @default true\n */\n autoFocus: PropTypes.bool,\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * When opening the menu will not focus the active item but the `[role=\"menu\"]`\n * unless `autoFocus` is also set to `false`. Not using the default means not\n * following WAI-ARIA authoring practices. Please be considerate about possible\n * accessibility implications.\n * @default false\n */\n disableAutoFocusItem: PropTypes.bool,\n /**\n * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.\n * @default {}\n */\n MenuListProps: PropTypes.object,\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * @ignore\n */\n PaperProps: PropTypes.object,\n /**\n * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n paper: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The length of the transition in `ms`, or 'auto'\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n * @default {}\n */\n TransitionProps: PropTypes.object,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default Menu;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemIconUtilityClass(slot) {\n return generateUtilityClass('MuiListItemIcon', slot);\n}\nconst listItemIconClasses = generateUtilityClasses('MuiListItemIcon', ['root', 'alignItemsFlexStart']);\nexport default listItemIconClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getMenuItemUtilityClass(slot) {\n return generateUtilityClass('MuiMenuItem', slot);\n}\nconst menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);\nexport default menuItemClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { dividerClasses } from \"../Divider/index.js\";\nimport { listItemIconClasses } from \"../ListItemIcon/index.js\";\nimport { listItemTextClasses } from \"../ListItemText/index.js\";\nimport menuItemClasses, { getMenuItemUtilityClass } from \"./menuItemClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];\n};\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n dense,\n divider,\n disableGutters,\n selected,\n classes\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']\n };\n const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);\n return {\n ...classes,\n ...composedClasses\n };\n};\nconst MenuItemRoot = styled(ButtonBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiMenuItem',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n whiteSpace: 'nowrap',\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n [`&.${menuItemClasses.selected}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n },\n [`&.${menuItemClasses.selected}:hover`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n }\n },\n [`&.${menuItemClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n [`&.${menuItemClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity\n },\n [`& + .${dividerClasses.root}`]: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n },\n [`& + .${dividerClasses.inset}`]: {\n marginLeft: 52\n },\n [`& .${listItemTextClasses.root}`]: {\n marginTop: 0,\n marginBottom: 0\n },\n [`& .${listItemTextClasses.inset}`]: {\n paddingLeft: 36\n },\n [`& .${listItemIconClasses.root}`]: {\n minWidth: 36\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.divider,\n style: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.dense,\n style: {\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.dense,\n style: {\n minHeight: 32,\n // https://m2.material.io/components/menus#specs > Dense\n paddingTop: 4,\n paddingBottom: 4,\n ...theme.typography.body2,\n [`& .${listItemIconClasses.root} svg`]: {\n fontSize: '1.25rem'\n }\n }\n }]\n})));\nconst MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiMenuItem'\n });\n const {\n autoFocus = false,\n component = 'li',\n dense = false,\n divider = false,\n disableGutters = false,\n focusVisibleClassName,\n role = 'menuitem',\n tabIndex: tabIndexProp,\n className,\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n disableGutters\n }), [context.dense, dense, disableGutters]);\n const menuItemRef = React.useRef(null);\n useEnhancedEffect(() => {\n if (autoFocus) {\n if (menuItemRef.current) {\n menuItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n const ownerState = {\n ...props,\n dense: childContext.dense,\n divider,\n disableGutters\n };\n const classes = useUtilityClasses(props);\n const handleRef = useForkRef(menuItemRef, ref);\n let tabIndex;\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsx(MenuItemRoot, {\n ref: handleRef,\n role: role,\n tabIndex: tabIndex,\n component: component,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n classes: classes\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the list item is focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent Menu component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the menu item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * This prop can help identify which element has keyboard focus.\n * The class name will be applied when the element gains the focus through keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n /**\n * @ignore\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * If `true`, the component is selected.\n * @default false\n */\n selected: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @default 0\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default MenuItem;","'use client';\n\n/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp, elementAcceptingRef, unstable_useForkRef as useForkRef, unstable_ownerDocument as ownerDocument, unstable_getReactElementRef as getReactElementRef } from '@mui/utils';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n// Inspired by https://github.com/focus-trap/tabbable\nconst candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'].join(',');\nfunction getTabIndex(node) {\n const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);\n if (!Number.isNaN(tabindexAttr)) {\n return tabindexAttr;\n }\n\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // https://issues.chromium.org/issues/41283952\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n if (node.contentEditable === 'true' || (node.nodeName === 'AUDIO' || node.nodeName === 'VIDEO' || node.nodeName === 'DETAILS') && node.getAttribute('tabindex') === null) {\n return 0;\n }\n return node.tabIndex;\n}\nfunction isNonTabbableRadio(node) {\n if (node.tagName !== 'INPUT' || node.type !== 'radio') {\n return false;\n }\n if (!node.name) {\n return false;\n }\n const getRadio = selector => node.ownerDocument.querySelector(`input[type=\"radio\"]${selector}`);\n let roving = getRadio(`[name=\"${node.name}\"]:checked`);\n if (!roving) {\n roving = getRadio(`[name=\"${node.name}\"]`);\n }\n return roving !== node;\n}\nfunction isNodeMatchingSelectorFocusable(node) {\n if (node.disabled || node.tagName === 'INPUT' && node.type === 'hidden' || isNonTabbableRadio(node)) {\n return false;\n }\n return true;\n}\nfunction defaultGetTabbable(root) {\n const regularTabNodes = [];\n const orderedTabNodes = [];\n Array.from(root.querySelectorAll(candidatesSelector)).forEach((node, i) => {\n const nodeTabIndex = getTabIndex(node);\n if (nodeTabIndex === -1 || !isNodeMatchingSelectorFocusable(node)) {\n return;\n }\n if (nodeTabIndex === 0) {\n regularTabNodes.push(node);\n } else {\n orderedTabNodes.push({\n documentOrder: i,\n tabIndex: nodeTabIndex,\n node: node\n });\n }\n });\n return orderedTabNodes.sort((a, b) => a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex).map(a => a.node).concat(regularTabNodes);\n}\nfunction defaultIsEnabled() {\n return true;\n}\n\n/**\n * @ignore - internal component.\n */\nfunction FocusTrap(props) {\n const {\n children,\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableRestoreFocus = false,\n getTabbable = defaultGetTabbable,\n isEnabled = defaultIsEnabled,\n open\n } = props;\n const ignoreNextEnforceFocus = React.useRef(false);\n const sentinelStart = React.useRef(null);\n const sentinelEnd = React.useRef(null);\n const nodeToRestore = React.useRef(null);\n const reactFocusEventTarget = React.useRef(null);\n // This variable is useful when disableAutoFocus is true.\n // It waits for the active element to move into the component to activate.\n const activated = React.useRef(false);\n const rootRef = React.useRef(null);\n const handleRef = useForkRef(getReactElementRef(children), rootRef);\n const lastKeydown = React.useRef(null);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n activated.current = !disableAutoFocus;\n }, [disableAutoFocus, open]);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n const doc = ownerDocument(rootRef.current);\n if (!rootRef.current.contains(doc.activeElement)) {\n if (!rootRef.current.hasAttribute('tabIndex')) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['MUI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to \"-1\".'].join('\\n'));\n }\n rootRef.current.setAttribute('tabIndex', '-1');\n }\n if (activated.current) {\n rootRef.current.focus();\n }\n }\n return () => {\n // restoreLastFocus()\n if (!disableRestoreFocus) {\n // In IE11 it is possible for document.activeElement to be null resulting\n // in nodeToRestore.current being null.\n // Not all elements in IE11 have a focus method.\n // Once IE11 support is dropped the focus() call can be unconditional.\n if (nodeToRestore.current && nodeToRestore.current.focus) {\n ignoreNextEnforceFocus.current = true;\n nodeToRestore.current.focus();\n }\n nodeToRestore.current = null;\n }\n };\n // Missing `disableRestoreFocus` which is fine.\n // We don't support changing that prop on an open FocusTrap\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n const doc = ownerDocument(rootRef.current);\n const loopFocus = nativeEvent => {\n lastKeydown.current = nativeEvent;\n if (disableEnforceFocus || !isEnabled() || nativeEvent.key !== 'Tab') {\n return;\n }\n\n // Make sure the next tab starts from the right place.\n // doc.activeElement refers to the origin.\n if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {\n // We need to ignore the next contain as\n // it will try to move the focus back to the rootRef element.\n ignoreNextEnforceFocus.current = true;\n if (sentinelEnd.current) {\n sentinelEnd.current.focus();\n }\n }\n };\n const contain = () => {\n const rootElement = rootRef.current;\n\n // Cleanup functions are executed lazily in React 17.\n // Contain can be called between the component being unmounted and its cleanup function being run.\n if (rootElement === null) {\n return;\n }\n if (!doc.hasFocus() || !isEnabled() || ignoreNextEnforceFocus.current) {\n ignoreNextEnforceFocus.current = false;\n return;\n }\n\n // The focus is already inside\n if (rootElement.contains(doc.activeElement)) {\n return;\n }\n\n // The disableEnforceFocus is set and the focus is outside of the focus trap (and sentinel nodes)\n if (disableEnforceFocus && doc.activeElement !== sentinelStart.current && doc.activeElement !== sentinelEnd.current) {\n return;\n }\n\n // if the focus event is not coming from inside the children's react tree, reset the refs\n if (doc.activeElement !== reactFocusEventTarget.current) {\n reactFocusEventTarget.current = null;\n } else if (reactFocusEventTarget.current !== null) {\n return;\n }\n if (!activated.current) {\n return;\n }\n let tabbable = [];\n if (doc.activeElement === sentinelStart.current || doc.activeElement === sentinelEnd.current) {\n tabbable = getTabbable(rootRef.current);\n }\n\n // one of the sentinel nodes was focused, so move the focus\n // to the first/last tabbable element inside the focus trap\n if (tabbable.length > 0) {\n const isShiftTab = Boolean(lastKeydown.current?.shiftKey && lastKeydown.current?.key === 'Tab');\n const focusNext = tabbable[0];\n const focusPrevious = tabbable[tabbable.length - 1];\n if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {\n if (isShiftTab) {\n focusPrevious.focus();\n } else {\n focusNext.focus();\n }\n }\n // no tabbable elements in the trap focus or the focus was outside of the focus trap\n } else {\n rootElement.focus();\n }\n };\n doc.addEventListener('focusin', contain);\n doc.addEventListener('keydown', loopFocus, true);\n\n // With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area.\n // for example https://bugzilla.mozilla.org/show_bug.cgi?id=559561.\n // Instead, we can look if the active element was restored on the BODY element.\n //\n // The whatwg spec defines how the browser should behave but does not explicitly mention any events:\n // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.\n const interval = setInterval(() => {\n if (doc.activeElement && doc.activeElement.tagName === 'BODY') {\n contain();\n }\n }, 50);\n return () => {\n clearInterval(interval);\n doc.removeEventListener('focusin', contain);\n doc.removeEventListener('keydown', loopFocus, true);\n };\n }, [disableAutoFocus, disableEnforceFocus, disableRestoreFocus, isEnabled, open, getTabbable]);\n const onFocus = event => {\n if (nodeToRestore.current === null) {\n nodeToRestore.current = event.relatedTarget;\n }\n activated.current = true;\n reactFocusEventTarget.current = event.target;\n const childrenPropsHandler = children.props.onFocus;\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n const handleFocusSentinel = event => {\n if (nodeToRestore.current === null) {\n nodeToRestore.current = event.relatedTarget;\n }\n activated.current = true;\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"div\", {\n tabIndex: open ? 0 : -1,\n onFocus: handleFocusSentinel,\n ref: sentinelStart,\n \"data-testid\": \"sentinelStart\"\n }), /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef,\n onFocus\n }), /*#__PURE__*/_jsx(\"div\", {\n tabIndex: open ? 0 : -1,\n onFocus: handleFocusSentinel,\n ref: sentinelEnd,\n \"data-testid\": \"sentinelEnd\"\n })]\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? FocusTrap.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A single child content element.\n */\n children: elementAcceptingRef,\n /**\n * If `true`, the focus trap will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the focus trap less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableAutoFocus: PropTypes.bool,\n /**\n * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.\n *\n * Generally this should never be set to `true` as it makes the focus trap less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableEnforceFocus: PropTypes.bool,\n /**\n * If `true`, the focus trap will not restore focus to previously focused element once\n * focus trap is hidden or unmounted.\n * @default false\n */\n disableRestoreFocus: PropTypes.bool,\n /**\n * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.\n * For instance, you can provide the \"tabbable\" npm dependency.\n * @param {HTMLElement} root\n */\n getTabbable: PropTypes.func,\n /**\n * This prop extends the `open` prop.\n * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.\n * This prop should be memoized.\n * It can be used to support multiple focus trap mounted at the same time.\n * @default function defaultIsEnabled(): boolean {\n * return true;\n * }\n */\n isEnabled: PropTypes.func,\n /**\n * If `true`, focus is locked.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n FocusTrap['propTypes' + ''] = exactProp(FocusTrap.propTypes);\n}\nexport default FocusTrap;","import { unstable_ownerWindow as ownerWindow, unstable_ownerDocument as ownerDocument, unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils';\n// Is a vertical scrollbar displayed?\nfunction isOverflowing(container) {\n const doc = ownerDocument(container);\n if (doc.body === container) {\n return ownerWindow(container).innerWidth > doc.documentElement.clientWidth;\n }\n return container.scrollHeight > container.clientHeight;\n}\nexport function ariaHidden(element, hide) {\n if (hide) {\n element.setAttribute('aria-hidden', 'true');\n } else {\n element.removeAttribute('aria-hidden');\n }\n}\nfunction getPaddingRight(element) {\n return parseInt(ownerWindow(element).getComputedStyle(element).paddingRight, 10) || 0;\n}\nfunction isAriaHiddenForbiddenOnElement(element) {\n // The forbidden HTML tags are the ones from ARIA specification that\n // can be children of body and can't have aria-hidden attribute.\n // cf. https://www.w3.org/TR/html-aria/#docconformance\n const forbiddenTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE', 'LINK', 'MAP', 'META', 'NOSCRIPT', 'PICTURE', 'COL', 'COLGROUP', 'PARAM', 'SLOT', 'SOURCE', 'TRACK'];\n const isForbiddenTagName = forbiddenTagNames.includes(element.tagName);\n const isInputHidden = element.tagName === 'INPUT' && element.getAttribute('type') === 'hidden';\n return isForbiddenTagName || isInputHidden;\n}\nfunction ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude, hide) {\n const blacklist = [mountElement, currentElement, ...elementsToExclude];\n [].forEach.call(container.children, element => {\n const isNotExcludedElement = !blacklist.includes(element);\n const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element);\n if (isNotExcludedElement && isNotForbiddenElement) {\n ariaHidden(element, hide);\n }\n });\n}\nfunction findIndexOf(items, callback) {\n let idx = -1;\n items.some((item, index) => {\n if (callback(item)) {\n idx = index;\n return true;\n }\n return false;\n });\n return idx;\n}\nfunction handleContainer(containerInfo, props) {\n const restoreStyle = [];\n const container = containerInfo.container;\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n const scrollbarSize = getScrollbarSize(ownerWindow(container));\n restoreStyle.push({\n value: container.style.paddingRight,\n property: 'padding-right',\n el: container\n });\n // Use computed style, here to get the real padding to add our scrollbar width.\n container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`;\n\n // .mui-fixed is a global helper.\n const fixedElements = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedElements, element => {\n restoreStyle.push({\n value: element.style.paddingRight,\n property: 'padding-right',\n el: element\n });\n element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;\n });\n }\n let scrollContainer;\n if (container.parentNode instanceof DocumentFragment) {\n scrollContainer = ownerDocument(container).body;\n } else {\n // Support html overflow-y: auto for scroll stability between pages\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n const parent = container.parentElement;\n const containerWindow = ownerWindow(container);\n scrollContainer = parent?.nodeName === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;\n }\n\n // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n property: 'overflow',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowX,\n property: 'overflow-x',\n el: scrollContainer\n }, {\n value: scrollContainer.style.overflowY,\n property: 'overflow-y',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n const restore = () => {\n restoreStyle.forEach(({\n value,\n el,\n property\n }) => {\n if (value) {\n el.style.setProperty(property, value);\n } else {\n el.style.removeProperty(property);\n }\n });\n };\n return restore;\n}\nfunction getHiddenSiblings(container) {\n const hiddenSiblings = [];\n [].forEach.call(container.children, element => {\n if (element.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(element);\n }\n });\n return hiddenSiblings;\n}\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\nexport class ModalManager {\n constructor() {\n this.modals = [];\n this.containers = [];\n }\n add(modal, container) {\n let modalIndex = this.modals.indexOf(modal);\n if (modalIndex !== -1) {\n return modalIndex;\n }\n modalIndex = this.modals.length;\n this.modals.push(modal);\n\n // If the modal we are adding is already in the DOM.\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n const hiddenSiblings = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);\n const containerIndex = findIndexOf(this.containers, item => item.container === container);\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n this.containers.push({\n modals: [modal],\n container,\n restore: null,\n hiddenSiblings\n });\n return modalIndex;\n }\n mount(modal, props) {\n const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));\n const containerInfo = this.containers[containerIndex];\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n remove(modal, ariaHiddenState = true) {\n const modalIndex = this.modals.indexOf(modal);\n if (modalIndex === -1) {\n return modalIndex;\n }\n const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));\n const containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1);\n\n // If that was the last modal in a container, clean up the container.\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, ariaHiddenState);\n }\n ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n const nextTop = containerInfo.modals[containerInfo.modals.length - 1];\n // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n return modalIndex;\n }\n isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n}","'use client';\n\nimport * as React from 'react';\nimport { unstable_ownerDocument as ownerDocument, unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback, unstable_createChainedFunction as createChainedFunction } from '@mui/utils';\nimport extractEventHandlers from '@mui/utils/extractEventHandlers';\nimport { ModalManager, ariaHidden } from \"./ModalManager.js\";\nfunction getContainer(container) {\n return typeof container === 'function' ? container() : container;\n}\nfunction getHasTransition(children) {\n return children ? children.props.hasOwnProperty('in') : false;\n}\n\n// A modal manager used to track and manage the state of open Modals.\n// Modals don't open on the server so this won't conflict with concurrent requests.\nconst manager = new ModalManager();\n/**\n *\n * Demos:\n *\n * - [Modal](https://mui.com/base-ui/react-modal/#hook)\n *\n * API:\n *\n * - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal)\n */\nfunction useModal(parameters) {\n const {\n container,\n disableEscapeKeyDown = false,\n disableScrollLock = false,\n closeAfterTransition = false,\n onTransitionEnter,\n onTransitionExited,\n children,\n onClose,\n open,\n rootRef\n } = parameters;\n\n // @ts-ignore internal logic\n const modal = React.useRef({});\n const mountNodeRef = React.useRef(null);\n const modalRef = React.useRef(null);\n const handleRef = useForkRef(modalRef, rootRef);\n const [exited, setExited] = React.useState(!open);\n const hasTransition = getHasTransition(children);\n let ariaHiddenProp = true;\n if (parameters['aria-hidden'] === 'false' || parameters['aria-hidden'] === false) {\n ariaHiddenProp = false;\n }\n const getDoc = () => ownerDocument(mountNodeRef.current);\n const getModal = () => {\n modal.current.modalRef = modalRef.current;\n modal.current.mount = mountNodeRef.current;\n return modal.current;\n };\n const handleMounted = () => {\n manager.mount(getModal(), {\n disableScrollLock\n });\n\n // Fix a bug on Chrome where the scroll isn't initially 0.\n if (modalRef.current) {\n modalRef.current.scrollTop = 0;\n }\n };\n const handleOpen = useEventCallback(() => {\n const resolvedContainer = getContainer(container) || getDoc().body;\n manager.add(getModal(), resolvedContainer);\n\n // The element was already mounted.\n if (modalRef.current) {\n handleMounted();\n }\n });\n const isTopModal = () => manager.isTopModal(getModal());\n const handlePortalRef = useEventCallback(node => {\n mountNodeRef.current = node;\n if (!node) {\n return;\n }\n if (open && isTopModal()) {\n handleMounted();\n } else if (modalRef.current) {\n ariaHidden(modalRef.current, ariaHiddenProp);\n }\n });\n const handleClose = React.useCallback(() => {\n manager.remove(getModal(), ariaHiddenProp);\n }, [ariaHiddenProp]);\n React.useEffect(() => {\n return () => {\n handleClose();\n };\n }, [handleClose]);\n React.useEffect(() => {\n if (open) {\n handleOpen();\n } else if (!hasTransition || !closeAfterTransition) {\n handleClose();\n }\n }, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);\n const createHandleKeyDown = otherHandlers => event => {\n otherHandlers.onKeyDown?.(event);\n\n // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviors like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n if (event.key !== 'Escape' || event.which === 229 ||\n // Wait until IME is settled.\n !isTopModal()) {\n return;\n }\n if (!disableEscapeKeyDown) {\n // Swallow the event, in case someone is listening for the escape key on the body.\n event.stopPropagation();\n if (onClose) {\n onClose(event, 'escapeKeyDown');\n }\n }\n };\n const createHandleBackdropClick = otherHandlers => event => {\n otherHandlers.onClick?.(event);\n if (event.target !== event.currentTarget) {\n return;\n }\n if (onClose) {\n onClose(event, 'backdropClick');\n }\n };\n const getRootProps = (otherHandlers = {}) => {\n const propsEventHandlers = extractEventHandlers(parameters);\n\n // The custom event handlers shouldn't be spread on the root element\n delete propsEventHandlers.onTransitionEnter;\n delete propsEventHandlers.onTransitionExited;\n const externalEventHandlers = {\n ...propsEventHandlers,\n ...otherHandlers\n };\n return {\n /*\n * Marking an element with the role presentation indicates to assistive technology\n * that this element should be ignored; it exists to support the web application and\n * is not meant for humans to interact with directly.\n * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md\n */\n role: 'presentation',\n ...externalEventHandlers,\n onKeyDown: createHandleKeyDown(externalEventHandlers),\n ref: handleRef\n };\n };\n const getBackdropProps = (otherHandlers = {}) => {\n const externalEventHandlers = otherHandlers;\n return {\n 'aria-hidden': true,\n ...externalEventHandlers,\n onClick: createHandleBackdropClick(externalEventHandlers),\n open\n };\n };\n const getTransitionProps = () => {\n const handleEnter = () => {\n setExited(false);\n if (onTransitionEnter) {\n onTransitionEnter();\n }\n };\n const handleExited = () => {\n setExited(true);\n if (onTransitionExited) {\n onTransitionExited();\n }\n if (closeAfterTransition) {\n handleClose();\n }\n };\n return {\n onEnter: createChainedFunction(handleEnter, children?.props.onEnter),\n onExited: createChainedFunction(handleExited, children?.props.onExited)\n };\n };\n return {\n getRootProps,\n getBackdropProps,\n getTransitionProps,\n rootRef: handleRef,\n portalRef: handlePortalRef,\n isTopModal,\n exited,\n hasTransition\n };\n}\nexport default useModal;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getModalUtilityClass(slot) {\n return generateUtilityClass('MuiModal', slot);\n}\nconst modalClasses = generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);\nexport default modalClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport FocusTrap from \"../Unstable_TrapFocus/index.js\";\nimport Portal from \"../Portal/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Backdrop from \"../Backdrop/index.js\";\nimport useModal from \"./useModal.js\";\nimport { getModalUtilityClass } from \"./modalClasses.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { useForkRef } from \"../utils/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n open,\n exited,\n classes\n } = ownerState;\n const slots = {\n root: ['root', !open && exited && 'hidden'],\n backdrop: ['backdrop']\n };\n return composeClasses(slots, getModalUtilityClass, classes);\n};\nconst ModalRoot = styled('div', {\n name: 'MuiModal',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.open && ownerState.exited && styles.hidden];\n }\n})(memoTheme(({\n theme\n}) => ({\n position: 'fixed',\n zIndex: (theme.vars || theme).zIndex.modal,\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.open && ownerState.exited,\n style: {\n visibility: 'hidden'\n }\n }]\n})));\nconst ModalBackdrop = styled(Backdrop, {\n name: 'MuiModal',\n slot: 'Backdrop',\n overridesResolver: (props, styles) => {\n return styles.backdrop;\n }\n})({\n zIndex: -1\n});\n\n/**\n * Modal is a lower-level construct that is leveraged by the following components:\n *\n * - [Dialog](/material-ui/api/dialog/)\n * - [Drawer](/material-ui/api/drawer/)\n * - [Menu](/material-ui/api/menu/)\n * - [Popover](/material-ui/api/popover/)\n *\n * If you are creating a modal dialog, you probably want to use the [Dialog](/material-ui/api/dialog/) component\n * rather than directly using Modal.\n *\n * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).\n */\nconst Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {\n const props = useDefaultProps({\n name: 'MuiModal',\n props: inProps\n });\n const {\n BackdropComponent = ModalBackdrop,\n BackdropProps,\n classes: classesProp,\n className,\n closeAfterTransition = false,\n children,\n container,\n component,\n components = {},\n componentsProps = {},\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableEscapeKeyDown = false,\n disablePortal = false,\n disableRestoreFocus = false,\n disableScrollLock = false,\n hideBackdrop = false,\n keepMounted = false,\n onBackdropClick,\n onClose,\n onTransitionEnter,\n onTransitionExited,\n open,\n slotProps = {},\n slots = {},\n // eslint-disable-next-line react/prop-types\n theme,\n ...other\n } = props;\n const propsWithDefaults = {\n ...props,\n closeAfterTransition,\n disableAutoFocus,\n disableEnforceFocus,\n disableEscapeKeyDown,\n disablePortal,\n disableRestoreFocus,\n disableScrollLock,\n hideBackdrop,\n keepMounted\n };\n const {\n getRootProps,\n getBackdropProps,\n getTransitionProps,\n portalRef,\n isTopModal,\n exited,\n hasTransition\n } = useModal({\n ...propsWithDefaults,\n rootRef: ref\n });\n const ownerState = {\n ...propsWithDefaults,\n exited\n };\n const classes = useUtilityClasses(ownerState);\n const childProps = {};\n if (children.props.tabIndex === undefined) {\n childProps.tabIndex = '-1';\n }\n\n // It's a Transition like component\n if (hasTransition) {\n const {\n onEnter,\n onExited\n } = getTransitionProps();\n childProps.onEnter = onEnter;\n childProps.onExited = onExited;\n }\n const externalForwardedProps = {\n ...other,\n slots: {\n root: components.Root,\n backdrop: components.Backdrop,\n ...slots\n },\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [RootSlot, rootProps] = useSlot('root', {\n elementType: ModalRoot,\n externalForwardedProps,\n getSlotProps: getRootProps,\n additionalProps: {\n ref,\n as: component\n },\n ownerState,\n className: clsx(className, classes?.root, !ownerState.open && ownerState.exited && classes?.hidden)\n });\n const [BackdropSlot, backdropProps] = useSlot('backdrop', {\n elementType: BackdropComponent,\n externalForwardedProps,\n additionalProps: BackdropProps,\n getSlotProps: otherHandlers => {\n return getBackdropProps({\n ...otherHandlers,\n onClick: event => {\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n if (otherHandlers?.onClick) {\n otherHandlers.onClick(event);\n }\n }\n });\n },\n className: clsx(BackdropProps?.className, classes?.backdrop),\n ownerState\n });\n const backdropRef = useForkRef(BackdropProps?.ref, backdropProps.ref);\n if (!keepMounted && !open && (!hasTransition || exited)) {\n return null;\n }\n return /*#__PURE__*/_jsx(Portal, {\n ref: portalRef,\n container: container,\n disablePortal: disablePortal,\n children: /*#__PURE__*/_jsxs(RootSlot, {\n ...rootProps,\n children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/_jsx(BackdropSlot, {\n ...backdropProps,\n ref: backdropRef\n }) : null, /*#__PURE__*/_jsx(FocusTrap, {\n disableEnforceFocus: disableEnforceFocus,\n disableAutoFocus: disableAutoFocus,\n disableRestoreFocus: disableRestoreFocus,\n isEnabled: isTopModal,\n open: open,\n children: /*#__PURE__*/React.cloneElement(children, childProps)\n })]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Modal.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.\n * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.\n * @default styled(Backdrop, {\n * name: 'MuiModal',\n * slot: 'Backdrop',\n * overridesResolver: (props, styles) => {\n * return styles.backdrop;\n * },\n * })({\n * zIndex: -1,\n * })\n */\n BackdropComponent: PropTypes.elementType,\n /**\n * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.\n * @deprecated Use `slotProps.backdrop` instead.\n */\n BackdropProps: PropTypes.object,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * When set to true the Modal waits until a nested Transition is completed before closing.\n * @default false\n */\n closeAfterTransition: PropTypes.bool,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Backdrop: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableAutoFocus: PropTypes.bool,\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableEnforceFocus: PropTypes.bool,\n /**\n * If `true`, hitting escape will not fire the `onClose` callback.\n * @default false\n */\n disableEscapeKeyDown: PropTypes.bool,\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden or unmounted.\n * @default false\n */\n disableRestoreFocus: PropTypes.bool,\n /**\n * Disable the scroll lock behavior.\n * @default false\n */\n disableScrollLock: PropTypes.bool,\n /**\n * If `true`, the backdrop is not rendered.\n * @default false\n */\n hideBackdrop: PropTypes.bool,\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Modal.\n * @default false\n */\n keepMounted: PropTypes.bool,\n /**\n * Callback fired when the backdrop is clicked.\n * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.\n */\n onBackdropClick: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n /**\n * A function called when a transition enters.\n */\n onTransitionEnter: PropTypes.func,\n /**\n * A function called when a transition has exited.\n */\n onTransitionExited: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The props used for each slot inside the Modal.\n * @default {}\n */\n slotProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Modal.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n backdrop: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Modal;","'use client';\n\nvar _span;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst NotchedOutlineRoot = styled('fieldset', {\n shouldForwardProp: rootShouldForwardProp\n})({\n textAlign: 'left',\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden',\n minWidth: '0%'\n});\nconst NotchedOutlineLegend = styled('legend', {\n shouldForwardProp: rootShouldForwardProp\n})(memoTheme(({\n theme\n}) => ({\n float: 'unset',\n // Fix conflict with bootstrap\n width: 'auto',\n // Fix conflict with bootstrap\n overflow: 'hidden',\n // Fix Horizontal scroll when label too long\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.withLabel,\n style: {\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n transition: theme.transitions.create('width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.withLabel,\n style: {\n display: 'block',\n // Fix conflict with normalize.css and sanitize.css\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n transition: theme.transitions.create('max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n whiteSpace: 'nowrap',\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block',\n opacity: 0,\n visibility: 'visible'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.withLabel && ownerState.notched,\n style: {\n maxWidth: '100%',\n transition: theme.transitions.create('max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n }\n }]\n})));\n\n/**\n * @ignore - internal component.\n */\nexport default function NotchedOutline(props) {\n const {\n children,\n classes,\n className,\n label,\n notched,\n ...other\n } = props;\n const withLabel = label != null && label !== '';\n const ownerState = {\n ...props,\n notched,\n withLabel\n };\n return /*#__PURE__*/_jsx(NotchedOutlineRoot, {\n \"aria-hidden\": true,\n className: className,\n ownerState: ownerState,\n ...other,\n children: /*#__PURE__*/_jsx(NotchedOutlineLegend, {\n ownerState: ownerState,\n children: withLabel ? /*#__PURE__*/_jsx(\"span\", {\n children: label\n }) : // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n }))\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes /* remove-proptypes */ = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The label.\n */\n label: PropTypes.node,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport NotchedOutline from \"./NotchedOutline.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport outlinedInputClasses, { getOutlinedInputUtilityClass } from \"./outlinedInputClasses.js\";\nimport InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from \"../InputBase/InputBase.js\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n notchedOutline: ['notchedOutline'],\n input: ['input']\n };\n const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);\n return {\n ...classes,\n // forward classes to the InputBase\n ...composedClasses\n };\n};\nconst OutlinedInputRoot = styled(InputBaseRoot, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiOutlinedInput',\n slot: 'Root',\n overridesResolver: inputBaseRootOverridesResolver\n})(memoTheme(({\n theme\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n position: 'relative',\n borderRadius: (theme.vars || theme).shape.borderRadius,\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n [`&:hover .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor\n }\n },\n [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {\n borderWidth: 2\n },\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette[color].main\n }\n }\n })), {\n props: {},\n // to overide the above style\n style: {\n [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.error.main\n },\n [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {\n borderColor: (theme.vars || theme).palette.action.disabled\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 14\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n paddingRight: 14\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '16.5px 14px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n padding: '8.5px 14px'\n }\n }]\n };\n}));\nconst NotchedOutlineRoot = styled(NotchedOutline, {\n name: 'MuiOutlinedInput',\n slot: 'NotchedOutline',\n overridesResolver: (props, styles) => styles.notchedOutline\n})(memoTheme(({\n theme\n}) => {\n const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor\n };\n}));\nconst OutlinedInputInput = styled(InputBaseInput, {\n name: 'MuiOutlinedInput',\n slot: 'Input',\n overridesResolver: inputBaseInputOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n padding: '16.5px 14px',\n ...(!theme.vars && {\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',\n caretColor: theme.palette.mode === 'light' ? null : '#fff',\n borderRadius: 'inherit'\n }\n }),\n ...(theme.vars && {\n '&:-webkit-autofill': {\n borderRadius: 'inherit'\n },\n [theme.getColorSchemeSelector('dark')]: {\n '&:-webkit-autofill': {\n WebkitBoxShadow: '0 0 0 100px #266798 inset',\n WebkitTextFillColor: '#fff',\n caretColor: '#fff'\n }\n }\n }),\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n padding: '8.5px 14px'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.startAdornment,\n style: {\n paddingLeft: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.endAdornment,\n style: {\n paddingRight: 0\n }\n }]\n})));\nconst OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {\n var _React$Fragment;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiOutlinedInput'\n });\n const {\n components = {},\n fullWidth = false,\n inputComponent = 'input',\n label,\n multiline = false,\n notched,\n slots = {},\n type = 'text',\n ...other\n } = props;\n const classes = useUtilityClasses(props);\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'disabled', 'error', 'focused', 'hiddenLabel', 'size', 'required']\n });\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n type\n };\n const RootSlot = slots.root ?? components.Root ?? OutlinedInputRoot;\n const InputSlot = slots.input ?? components.Input ?? OutlinedInputInput;\n return /*#__PURE__*/_jsx(InputBase, {\n slots: {\n root: RootSlot,\n input: InputSlot\n },\n renderSuffix: state => /*#__PURE__*/_jsx(NotchedOutlineRoot, {\n ownerState: ownerState,\n className: classes.notchedOutline,\n label: label != null && label !== '' && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [label, \"\\u2009\", '*']\n })) : label,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type,\n ...other,\n classes: {\n ...classes,\n notchedOutline: null\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label of the `input`. It is only used for layout. The actual labelling\n * is handled by `InputLabel`.\n */\n label: PropTypes.node,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nif (OutlinedInput) {\n OutlinedInput.muiName = 'Input';\n}\nexport default OutlinedInput;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport { inputBaseClasses } from \"../InputBase/index.js\";\nexport function getOutlinedInputUtilityClass(slot) {\n return generateUtilityClass('MuiOutlinedInput', slot);\n}\nconst outlinedInputClasses = {\n ...inputBaseClasses,\n ...generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input'])\n};\nexport default outlinedInputClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPaperUtilityClass(slot) {\n return generateUtilityClass('MuiPaper', slot);\n}\nconst paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);\nexport default paperClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport getOverlayAlpha from \"../styles/getOverlayAlpha.js\";\nimport { getPaperUtilityClass } from \"./paperClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n square,\n elevation,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]\n };\n return composeClasses(slots, getPaperUtilityClass, classes);\n};\nconst PaperRoot = styled('div', {\n name: 'MuiPaper',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n color: (theme.vars || theme).palette.text.primary,\n transition: theme.transitions.create('box-shadow'),\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.square,\n style: {\n borderRadius: theme.shape.borderRadius\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n border: `1px solid ${(theme.vars || theme).palette.divider}`\n }\n }, {\n props: {\n variant: 'elevation'\n },\n style: {\n boxShadow: 'var(--Paper-shadow)',\n backgroundImage: 'var(--Paper-overlay)'\n }\n }]\n})));\nconst Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPaper'\n });\n const theme = useTheme();\n const {\n className,\n component = 'div',\n elevation = 1,\n square = false,\n variant = 'elevation',\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n elevation,\n square,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (theme.shadows[elevation] === undefined) {\n console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \\`theme.shadows[${elevation}]\\` is defined.`].join('\\n'));\n }\n }\n return /*#__PURE__*/_jsx(PaperRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n style: {\n ...(variant === 'elevation' && {\n '--Paper-shadow': (theme.vars || theme).shadows[elevation],\n ...(theme.vars && {\n '--Paper-overlay': theme.vars.overlays?.[elevation]\n }),\n ...(!theme.vars && theme.palette.mode === 'dark' && {\n '--Paper-overlay': `linear-gradient(${alpha('#fff', getOverlayAlpha(elevation))}, ${alpha('#fff', getOverlayAlpha(elevation))})`\n })\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n * @default 1\n */\n elevation: chainPropTypes(integerPropType, props => {\n const {\n elevation,\n variant\n } = props;\n if (elevation > 0 && variant === 'outlined') {\n return new Error(`MUI: Combining \\`elevation={${elevation}}\\` with \\`variant=\"${variant}\"\\` has no effect. Either use \\`elevation={0}\\` or use a different \\`variant\\`.`);\n }\n return null;\n }),\n /**\n * If `true`, rounded corners are disabled.\n * @default false\n */\n square: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'elevation'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Paper;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPopoverUtilityClass(slot) {\n return generateUtilityClass('MuiPopover', slot);\n}\nconst popoverClasses = generateUtilityClasses('MuiPopover', ['root', 'paper']);\nexport default popoverClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport refType from '@mui/utils/refType';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport isHostComponent from \"../utils/isHostComponent.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport debounce from \"../utils/debounce.js\";\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport ownerWindow from \"../utils/ownerWindow.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport Grow from \"../Grow/index.js\";\nimport Modal from \"../Modal/index.js\";\nimport PaperBase from \"../Paper/index.js\";\nimport { getPopoverUtilityClass } from \"./popoverClasses.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function getOffsetTop(rect, vertical) {\n let offset = 0;\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n let offset = 0;\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n return offset;\n}\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(n => typeof n === 'number' ? `${n}px` : n).join(' ');\n}\nfunction resolveAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n paper: ['paper']\n };\n return composeClasses(slots, getPopoverUtilityClass, classes);\n};\nexport const PopoverRoot = styled(Modal, {\n name: 'MuiPopover',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\nexport const PopoverPaper = styled(PaperBase, {\n name: 'MuiPopover',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})({\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n});\nconst Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPopover'\n });\n const {\n action,\n anchorEl,\n anchorOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n anchorPosition,\n anchorReference = 'anchorEl',\n children,\n className,\n container: containerProp,\n elevation = 8,\n marginThreshold = 16,\n open,\n PaperProps: PaperPropsProp = {},\n slots = {},\n slotProps = {},\n transformOrigin = {\n vertical: 'top',\n horizontal: 'left'\n },\n TransitionComponent = Grow,\n transitionDuration: transitionDurationProp = 'auto',\n TransitionProps: {\n onEntering,\n ...TransitionProps\n } = {},\n disableScrollLock = false,\n ...other\n } = props;\n const externalPaperSlotProps = slotProps?.paper ?? PaperPropsProp;\n const paperRef = React.useRef();\n const ownerState = {\n ...props,\n anchorOrigin,\n anchorReference,\n elevation,\n marginThreshold,\n externalPaperSlotProps,\n transformOrigin,\n TransitionComponent,\n transitionDuration: transitionDurationProp,\n TransitionProps\n };\n const classes = useUtilityClasses(ownerState);\n\n // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n const getAnchorOffset = React.useCallback(() => {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('MUI: You need to provide a `anchorPosition` prop when using ' + '<Popover anchorReference=\"anchorPosition\" />.');\n }\n }\n return anchorPosition;\n }\n const resolvedAnchorEl = resolveAnchorEl(anchorEl);\n\n // If an anchor element wasn't provided, just use the parent body element of this Popover\n const anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n const anchorRect = anchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production') {\n const box = anchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorOrigin.vertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]);\n\n // Returns the base transform origin using the element\n const getTransformOrigin = React.useCallback(elemRect => {\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical),\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n const getPositioningStyle = React.useCallback(element => {\n const elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n\n // Get the transform origin point on the element itself\n const elemTransformOrigin = getTransformOrigin(elemRect);\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }\n\n // Get the offset of the anchoring element\n const anchorOffset = getAnchorOffset();\n\n // Calculate element positioning\n let top = anchorOffset.top - elemTransformOrigin.vertical;\n let left = anchorOffset.left - elemTransformOrigin.horizontal;\n const bottom = top + elemRect.height;\n const right = left + elemRect.width;\n\n // Use the parent window of the anchorEl if provided\n const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));\n\n // Window thresholds taking required margin into account\n const heightThreshold = containerWindow.innerHeight - marginThreshold;\n const widthThreshold = containerWindow.innerWidth - marginThreshold;\n\n // Check if the vertical axis needs shifting\n if (marginThreshold !== null && top < marginThreshold) {\n const diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (marginThreshold !== null && bottom > heightThreshold) {\n const diff = bottom - heightThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['MUI: The popover component is too tall.', `Some part of it can not be seen on the screen (${elemRect.height - heightThreshold}px).`, 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n }\n\n // Check if the horizontal axis needs shifting\n if (marginThreshold !== null && left < marginThreshold) {\n const diff = left - marginThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n } else if (right > widthThreshold) {\n const diff = right - widthThreshold;\n left -= diff;\n elemTransformOrigin.horizontal += diff;\n }\n return {\n top: `${Math.round(top)}px`,\n left: `${Math.round(left)}px`,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getTransformOrigin, marginThreshold]);\n const [isPositioned, setIsPositioned] = React.useState(open);\n const setPositioningStyles = React.useCallback(() => {\n const element = paperRef.current;\n if (!element) {\n return;\n }\n const positioning = getPositioningStyle(element);\n if (positioning.top !== null) {\n element.style.setProperty('top', positioning.top);\n }\n if (positioning.left !== null) {\n element.style.left = positioning.left;\n }\n element.style.transformOrigin = positioning.transformOrigin;\n setIsPositioned(true);\n }, [getPositioningStyle]);\n React.useEffect(() => {\n if (disableScrollLock) {\n window.addEventListener('scroll', setPositioningStyles);\n }\n return () => window.removeEventListener('scroll', setPositioningStyles);\n }, [anchorEl, disableScrollLock, setPositioningStyles]);\n const handleEntering = (element, isAppearing) => {\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n setPositioningStyles();\n };\n const handleExited = () => {\n setIsPositioned(false);\n };\n React.useEffect(() => {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, () => open ? {\n updatePosition: () => {\n setPositioningStyles();\n }\n } : null, [open, setPositioningStyles]);\n React.useEffect(() => {\n if (!open) {\n return undefined;\n }\n const handleResize = debounce(() => {\n setPositioningStyles();\n });\n const containerWindow = ownerWindow(anchorEl);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [anchorEl, open, setPositioningStyles]);\n let transitionDuration = transitionDurationProp;\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);\n const externalForwardedProps = {\n slots,\n slotProps: {\n ...slotProps,\n paper: externalPaperSlotProps\n }\n };\n const [PaperSlot, paperProps] = useSlot('paper', {\n elementType: PopoverPaper,\n externalForwardedProps,\n additionalProps: {\n elevation,\n className: clsx(classes.paper, externalPaperSlotProps?.className),\n style: isPositioned ? externalPaperSlotProps.style : {\n ...externalPaperSlotProps.style,\n opacity: 0\n }\n },\n ownerState\n });\n const [RootSlot, {\n slotProps: rootSlotPropsProp,\n ...rootProps\n }] = useSlot('root', {\n elementType: PopoverRoot,\n externalForwardedProps,\n additionalProps: {\n slotProps: {\n backdrop: {\n invisible: true\n }\n },\n container,\n open\n },\n ownerState,\n className: clsx(classes.root, className)\n });\n const handlePaperRef = useForkRef(paperRef, paperProps.ref);\n return /*#__PURE__*/_jsx(RootSlot, {\n ...rootProps,\n ...(!isHostComponent(RootSlot) && {\n slotProps: rootSlotPropsProp,\n disableScrollLock\n }),\n ...other,\n ref: ref,\n children: /*#__PURE__*/_jsx(TransitionComponent, {\n appear: true,\n in: open,\n onEntering: handleEntering,\n onExited: handleExited,\n timeout: transitionDuration,\n ...TransitionProps,\n children: /*#__PURE__*/_jsx(PaperSlot, {\n ...paperProps,\n ref: handlePaperRef,\n children: children\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n /**\n * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),\n * or a function that returns either.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), props => {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n const box = resolvedAnchorEl.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', `It should be an Element or PopoverVirtualElement instance but it's \\`${resolvedAnchorEl}\\` instead.`].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * This is the position that may be used to set the position of the popover.\n * The coordinates are relative to the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n /**\n * This determines which anchor prop to refer to when setting\n * the position of the popover.\n * @default 'anchorEl'\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n * @deprecated Use `slotProps.root.slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.\n * Use the `slotProps.root.slots.backdrop` prop to make your application ready for the next version of Material UI.\n * @default styled(Backdrop, {\n * name: 'MuiModal',\n * slot: 'Backdrop',\n * overridesResolver: (props, styles) => {\n * return styles.backdrop;\n * },\n * })({\n * zIndex: -1,\n * })\n */\n BackdropComponent: PropTypes.elementType,\n /**\n * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.\n * @deprecated Use `slotProps.root.slotProps.backdrop` instead.\n */\n BackdropProps: PropTypes.object,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * An HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * Disable the scroll lock behavior.\n * @default false\n */\n disableScrollLock: PropTypes.bool,\n /**\n * The elevation of the popover.\n * @default 8\n */\n elevation: integerPropType,\n /**\n * Specifies how close to the edge of the window the popover can appear.\n * If null, the popover will not be constrained by the window.\n * @default 16\n */\n marginThreshold: PropTypes.number,\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n */\n onClose: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.\n *\n * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.\n * @deprecated Use `slotProps.paper` instead.\n *\n * @default {}\n */\n PaperProps: PropTypes /* @typescript-to-proptypes-ignore */.shape({\n component: elementTypeAcceptingRef\n }),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n paper: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n * @default {\n * vertical: 'top',\n * horizontal: 'left',\n * }\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n /**\n * The component used for the transition.\n * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n * @default Grow\n */\n TransitionComponent: PropTypes.elementType,\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n /**\n * Props applied to the transition element.\n * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.\n * @default {}\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default Popover;","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref) {\n var name = _ref.name,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? {} : _ref$options,\n effect = _ref.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPopperUtilityClass(slot) {\n return generateUtilityClass('MuiPopper', slot);\n}\nconst popperClasses = generateUtilityClasses('MuiPopper', ['root']);\nexport default popperClasses;","'use client';\n\nimport * as React from 'react';\nimport { chainPropTypes, HTMLElementType, refType, unstable_ownerDocument as ownerDocument, unstable_useEnhancedEffect as useEnhancedEffect, unstable_useForkRef as useForkRef } from '@mui/utils';\nimport { createPopper } from '@popperjs/core';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport Portal from \"../Portal/index.js\";\nimport { getPopperUtilityClass } from \"./popperClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction flipPlacement(placement, direction) {\n if (direction === 'ltr') {\n return placement;\n }\n switch (placement) {\n case 'bottom-end':\n return 'bottom-start';\n case 'bottom-start':\n return 'bottom-end';\n case 'top-end':\n return 'top-start';\n case 'top-start':\n return 'top-end';\n default:\n return placement;\n }\n}\nfunction resolveAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\nfunction isHTMLElement(element) {\n return element.nodeType !== undefined;\n}\nfunction isVirtualElement(element) {\n return !isHTMLElement(element);\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getPopperUtilityClass, classes);\n};\nconst defaultPopperOptions = {};\nconst PopperTooltip = /*#__PURE__*/React.forwardRef(function PopperTooltip(props, forwardedRef) {\n const {\n anchorEl,\n children,\n direction,\n disablePortal,\n modifiers,\n open,\n placement: initialPlacement,\n popperOptions,\n popperRef: popperRefProp,\n slotProps = {},\n slots = {},\n TransitionProps,\n // @ts-ignore internal logic\n ownerState: ownerStateProp,\n // prevent from spreading to DOM, it can come from the parent component e.g. Select.\n ...other\n } = props;\n const tooltipRef = React.useRef(null);\n const ownRef = useForkRef(tooltipRef, forwardedRef);\n const popperRef = React.useRef(null);\n const handlePopperRef = useForkRef(popperRef, popperRefProp);\n const handlePopperRefRef = React.useRef(handlePopperRef);\n useEnhancedEffect(() => {\n handlePopperRefRef.current = handlePopperRef;\n }, [handlePopperRef]);\n React.useImperativeHandle(popperRefProp, () => popperRef.current, []);\n const rtlPlacement = flipPlacement(initialPlacement, direction);\n /**\n * placement initialized from prop but can change during lifetime if modifiers.flip.\n * modifiers.flip is essentially a flip for controlled/uncontrolled behavior\n */\n const [placement, setPlacement] = React.useState(rtlPlacement);\n const [resolvedAnchorElement, setResolvedAnchorElement] = React.useState(resolveAnchorEl(anchorEl));\n React.useEffect(() => {\n if (popperRef.current) {\n popperRef.current.forceUpdate();\n }\n });\n React.useEffect(() => {\n if (anchorEl) {\n setResolvedAnchorElement(resolveAnchorEl(anchorEl));\n }\n }, [anchorEl]);\n useEnhancedEffect(() => {\n if (!resolvedAnchorElement || !open) {\n return undefined;\n }\n const handlePopperUpdate = data => {\n setPlacement(data.placement);\n };\n if (process.env.NODE_ENV !== 'production') {\n if (resolvedAnchorElement && isHTMLElement(resolvedAnchorElement) && resolvedAnchorElement.nodeType === 1) {\n const box = resolvedAnchorElement.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n }\n let popperModifiers = [{\n name: 'preventOverflow',\n options: {\n altBoundary: disablePortal\n }\n }, {\n name: 'flip',\n options: {\n altBoundary: disablePortal\n }\n }, {\n name: 'onUpdate',\n enabled: true,\n phase: 'afterWrite',\n fn: ({\n state\n }) => {\n handlePopperUpdate(state);\n }\n }];\n if (modifiers != null) {\n popperModifiers = popperModifiers.concat(modifiers);\n }\n if (popperOptions && popperOptions.modifiers != null) {\n popperModifiers = popperModifiers.concat(popperOptions.modifiers);\n }\n const popper = createPopper(resolvedAnchorElement, tooltipRef.current, {\n placement: rtlPlacement,\n ...popperOptions,\n modifiers: popperModifiers\n });\n handlePopperRefRef.current(popper);\n return () => {\n popper.destroy();\n handlePopperRefRef.current(null);\n };\n }, [resolvedAnchorElement, disablePortal, modifiers, open, popperOptions, rtlPlacement]);\n const childProps = {\n placement: placement\n };\n if (TransitionProps !== null) {\n childProps.TransitionProps = TransitionProps;\n }\n const classes = useUtilityClasses(props);\n const Root = slots.root ?? 'div';\n const rootProps = useSlotProps({\n elementType: Root,\n externalSlotProps: slotProps.root,\n externalForwardedProps: other,\n additionalProps: {\n role: 'tooltip',\n ref: ownRef\n },\n ownerState: props,\n className: classes.root\n });\n return /*#__PURE__*/_jsx(Root, {\n ...rootProps,\n children: typeof children === 'function' ? children(childProps) : children\n });\n});\n\n/**\n * @ignore - internal component.\n */\nconst Popper = /*#__PURE__*/React.forwardRef(function Popper(props, forwardedRef) {\n const {\n anchorEl,\n children,\n container: containerProp,\n direction = 'ltr',\n disablePortal = false,\n keepMounted = false,\n modifiers,\n open,\n placement = 'bottom',\n popperOptions = defaultPopperOptions,\n popperRef,\n style,\n transition = false,\n slotProps = {},\n slots = {},\n ...other\n } = props;\n const [exited, setExited] = React.useState(true);\n const handleEnter = () => {\n setExited(false);\n };\n const handleExited = () => {\n setExited(true);\n };\n if (!keepMounted && !open && (!transition || exited)) {\n return null;\n }\n\n // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n let container;\n if (containerProp) {\n container = containerProp;\n } else if (anchorEl) {\n const resolvedAnchorEl = resolveAnchorEl(anchorEl);\n container = resolvedAnchorEl && isHTMLElement(resolvedAnchorEl) ? ownerDocument(resolvedAnchorEl).body : ownerDocument(null).body;\n }\n const display = !open && keepMounted && (!transition || exited) ? 'none' : undefined;\n const transitionProps = transition ? {\n in: open,\n onEnter: handleEnter,\n onExited: handleExited\n } : undefined;\n return /*#__PURE__*/_jsx(Portal, {\n disablePortal: disablePortal,\n container: container,\n children: /*#__PURE__*/_jsx(PopperTooltip, {\n anchorEl: anchorEl,\n direction: direction,\n disablePortal: disablePortal,\n modifiers: modifiers,\n ref: forwardedRef,\n open: transition ? !exited : open,\n placement: placement,\n popperOptions: popperOptions,\n popperRef: popperRef,\n slotProps: slotProps,\n slots: slots,\n ...other,\n style: {\n // Prevents scroll issue, waiting for Popper.js to add this style once initiated.\n position: 'fixed',\n // Fix Popper.js display issue\n top: 0,\n left: 0,\n display,\n ...style\n },\n TransitionProps: transitionProps,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Popper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),\n * or a function that returns either.\n * It's used to set the position of the popper.\n * The return value will passed as the reference object of the Popper instance.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]), props => {\n if (props.open) {\n const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);\n if (resolvedAnchorEl && isHTMLElement(resolvedAnchorEl) && resolvedAnchorEl.nodeType === 1) {\n const box = resolvedAnchorEl.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else if (!resolvedAnchorEl || typeof resolvedAnchorEl.getBoundingClientRect !== 'function' || isVirtualElement(resolvedAnchorEl) && resolvedAnchorEl.contextElement != null && resolvedAnchorEl.contextElement.nodeType !== 1) {\n return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'It should be an HTML element instance or a virtualElement ', '(https://popper.js.org/docs/v2/virtual-elements/).'].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * Popper render function or node.\n */\n children: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.node, PropTypes.func]),\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * Direction of the text.\n * @default 'ltr'\n */\n direction: PropTypes.oneOf(['ltr', 'rtl']),\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Popper.\n * @default false\n */\n keepMounted: PropTypes.bool,\n /**\n * Popper.js is based on a \"plugin-like\" architecture,\n * most of its features are fully encapsulated \"modifiers\".\n *\n * A modifier is a function that is called each time Popper.js needs to\n * compute the position of the popper.\n * For this reason, modifiers should be very performant to avoid bottlenecks.\n * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).\n */\n modifiers: PropTypes.arrayOf(PropTypes.shape({\n data: PropTypes.object,\n effect: PropTypes.func,\n enabled: PropTypes.bool,\n fn: PropTypes.func,\n name: PropTypes.any,\n options: PropTypes.object,\n phase: PropTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),\n requires: PropTypes.arrayOf(PropTypes.string),\n requiresIfExists: PropTypes.arrayOf(PropTypes.string)\n })),\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Popper placement.\n * @default 'bottom'\n */\n placement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n /**\n * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.\n * @default {}\n */\n popperOptions: PropTypes.shape({\n modifiers: PropTypes.array,\n onFirstUpdate: PropTypes.func,\n placement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n strategy: PropTypes.oneOf(['absolute', 'fixed'])\n }),\n /**\n * A ref that points to the used popper instance.\n */\n popperRef: refType,\n /**\n * The props used for each slot inside the Popper.\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Popper.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n }),\n /**\n * Help supporting a react-transition-group/Transition component.\n * @default false\n */\n transition: PropTypes.bool\n} : void 0;\nexport default Popper;","'use client';\n\nimport { useRtl } from '@mui/system/RtlProvider';\nimport refType from '@mui/utils/refType';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport BasePopper from \"./BasePopper.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PopperRoot = styled(BasePopper, {\n name: 'MuiPopper',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\n\n/**\n *\n * Demos:\n *\n * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)\n * - [Menu](https://mui.com/material-ui/react-menu/)\n * - [Popper](https://mui.com/material-ui/react-popper/)\n *\n * API:\n *\n * - [Popper API](https://mui.com/material-ui/api/popper/)\n */\nconst Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {\n const isRtl = useRtl();\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPopper'\n });\n const {\n anchorEl,\n component,\n components,\n componentsProps,\n container,\n disablePortal,\n keepMounted,\n modifiers,\n open,\n placement,\n popperOptions,\n popperRef,\n transition,\n slots,\n slotProps,\n ...other\n } = props;\n const RootComponent = slots?.root ?? components?.Root;\n const otherProps = {\n anchorEl,\n container,\n disablePortal,\n keepMounted,\n modifiers,\n open,\n placement,\n popperOptions,\n popperRef,\n transition,\n ...other\n };\n return /*#__PURE__*/_jsx(PopperRoot, {\n as: component,\n direction: isRtl ? 'rtl' : 'ltr',\n slots: {\n root: RootComponent\n },\n slotProps: slotProps ?? componentsProps,\n ...otherProps,\n ref: ref\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Popper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),\n * or a function that returns either.\n * It's used to set the position of the popper.\n * The return value will passed as the reference object of the Popper instance.\n */\n anchorEl: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),\n /**\n * Popper render function or node.\n */\n children: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.node, PropTypes.func]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside the Popper.\n * Either a string to use a HTML element or a component.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The props used for each slot inside the Popper.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Popper.\n * @default false\n */\n keepMounted: PropTypes.bool,\n /**\n * Popper.js is based on a \"plugin-like\" architecture,\n * most of its features are fully encapsulated \"modifiers\".\n *\n * A modifier is a function that is called each time Popper.js needs to\n * compute the position of the popper.\n * For this reason, modifiers should be very performant to avoid bottlenecks.\n * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).\n */\n modifiers: PropTypes.arrayOf(PropTypes.shape({\n data: PropTypes.object,\n effect: PropTypes.func,\n enabled: PropTypes.bool,\n fn: PropTypes.func,\n name: PropTypes.any,\n options: PropTypes.object,\n phase: PropTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),\n requires: PropTypes.arrayOf(PropTypes.string),\n requiresIfExists: PropTypes.arrayOf(PropTypes.string)\n })),\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Popper placement.\n * @default 'bottom'\n */\n placement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n /**\n * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.\n * @default {}\n */\n popperOptions: PropTypes.shape({\n modifiers: PropTypes.array,\n onFirstUpdate: PropTypes.func,\n placement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n strategy: PropTypes.oneOf(['absolute', 'fixed'])\n }),\n /**\n * A ref that points to the used popper instance.\n */\n popperRef: refType,\n /**\n * The props used for each slot inside the Popper.\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Popper.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Help supporting a react-transition-group/Transition component.\n * @default false\n */\n transition: PropTypes.bool\n} : void 0;\nexport default Popper;","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType, unstable_useEnhancedEffect as useEnhancedEffect, unstable_useForkRef as useForkRef, unstable_setRef as setRef, unstable_getReactElementRef as getReactElementRef } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getContainer(container) {\n return typeof container === 'function' ? container() : container;\n}\n\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n *\n * Demos:\n *\n * - [Portal](https://mui.com/material-ui/react-portal/)\n *\n * API:\n *\n * - [Portal API](https://mui.com/material-ui/api/portal/)\n */\nconst Portal = /*#__PURE__*/React.forwardRef(function Portal(props, forwardedRef) {\n const {\n children,\n container,\n disablePortal = false\n } = props;\n const [mountNode, setMountNode] = React.useState(null);\n const handleRef = useForkRef(/*#__PURE__*/React.isValidElement(children) ? getReactElementRef(children) : null, forwardedRef);\n useEnhancedEffect(() => {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(() => {\n if (mountNode && !disablePortal) {\n setRef(forwardedRef, mountNode);\n return () => {\n setRef(forwardedRef, null);\n };\n }\n return undefined;\n }, [forwardedRef, mountNode, disablePortal]);\n if (disablePortal) {\n if (/*#__PURE__*/React.isValidElement(children)) {\n const newProps = {\n ref: handleRef\n };\n return /*#__PURE__*/React.cloneElement(children, newProps);\n }\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: children\n });\n }\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\nexport default Portal;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'RadioButtonUnchecked');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z\"\n}), 'RadioButtonChecked');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport RadioButtonUncheckedIcon from \"../internal/svg-icons/RadioButtonUnchecked.js\";\nimport RadioButtonCheckedIcon from \"../internal/svg-icons/RadioButtonChecked.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst RadioButtonIconRoot = styled('span', {\n shouldForwardProp: rootShouldForwardProp\n})({\n position: 'relative',\n display: 'flex'\n});\nconst RadioButtonIconBackground = styled(RadioButtonUncheckedIcon)({\n // Scale applied to prevent dot misalignment in Safari\n transform: 'scale(1)'\n});\nconst RadioButtonIconDot = styled(RadioButtonCheckedIcon)(memoTheme(({\n theme\n}) => ({\n left: 0,\n position: 'absolute',\n transform: 'scale(0)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeIn,\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: {\n checked: true\n },\n style: {\n transform: 'scale(1)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeOut,\n duration: theme.transitions.duration.shortest\n })\n }\n }]\n})));\n\n/**\n * @ignore - internal component.\n */\nfunction RadioButtonIcon(props) {\n const {\n checked = false,\n classes = {},\n fontSize\n } = props;\n const ownerState = {\n ...props,\n checked\n };\n return /*#__PURE__*/_jsxs(RadioButtonIconRoot, {\n className: classes.root,\n ownerState: ownerState,\n children: [/*#__PURE__*/_jsx(RadioButtonIconBackground, {\n fontSize: fontSize,\n className: classes.background,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(RadioButtonIconDot, {\n fontSize: fontSize,\n className: classes.dot,\n ownerState: ownerState\n })]\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? RadioButtonIcon.propTypes /* remove-proptypes */ = {\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The size of the component.\n * `small` is equivalent to the dense radio styling.\n */\n fontSize: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default RadioButtonIcon;","import createChainedFunction from '@mui/utils/createChainedFunction';\nexport default createChainedFunction;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getRadioUtilityClass(slot) {\n return generateUtilityClass('MuiRadio', slot);\n}\nconst radioClasses = generateUtilityClasses('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);\nexport default radioClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport SwitchBase from \"../internal/SwitchBase.js\";\nimport RadioButtonIcon from \"./RadioButtonIcon.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createChainedFunction from \"../utils/createChainedFunction.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport useRadioGroup from \"../RadioGroup/useRadioGroup.js\";\nimport radioClasses, { getRadioUtilityClass } from \"./radioClasses.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n size\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, size !== 'medium' && `size${capitalize(size)}`]\n };\n return {\n ...classes,\n ...composeClasses(slots, getRadioUtilityClass, classes)\n };\n};\nconst RadioRoot = styled(SwitchBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiRadio',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n [`&.${radioClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n },\n variants: [{\n props: {\n color: 'default',\n disabled: false,\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disabled: false,\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)\n }\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disabled: false\n },\n style: {\n [`&.${radioClasses.checked}`]: {\n color: (theme.vars || theme).palette[color].main\n }\n }\n })), {\n // Should be last to override other colors\n props: {\n disableRipple: false\n },\n style: {\n // Reset on touch devices, it doesn't add specificity\n '&:hover': {\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }]\n})));\nfunction areEqualValues(a, b) {\n if (typeof b === 'object' && b !== null) {\n return a === b;\n }\n\n // The value could be a number, the DOM will stringify it anyway.\n return String(a) === String(b);\n}\nconst defaultCheckedIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {\n checked: true\n});\nconst defaultIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {});\nconst Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiRadio'\n });\n const {\n checked: checkedProp,\n checkedIcon = defaultCheckedIcon,\n color = 'primary',\n icon = defaultIcon,\n name: nameProp,\n onChange: onChangeProp,\n size = 'medium',\n className,\n disabled: disabledProp,\n disableRipple = false,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n let disabled = disabledProp;\n if (muiFormControl) {\n if (typeof disabled === 'undefined') {\n disabled = muiFormControl.disabled;\n }\n }\n disabled ??= false;\n const ownerState = {\n ...props,\n disabled,\n disableRipple,\n color,\n size\n };\n const classes = useUtilityClasses(ownerState);\n const radioGroup = useRadioGroup();\n let checked = checkedProp;\n const onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);\n let name = nameProp;\n if (radioGroup) {\n if (typeof checked === 'undefined') {\n checked = areEqualValues(radioGroup.value, props.value);\n }\n if (typeof name === 'undefined') {\n name = radioGroup.name;\n }\n }\n return /*#__PURE__*/_jsx(RadioRoot, {\n type: \"radio\",\n icon: /*#__PURE__*/React.cloneElement(icon, {\n fontSize: defaultIcon.props.fontSize ?? size\n }),\n checkedIcon: /*#__PURE__*/React.cloneElement(checkedIcon, {\n fontSize: defaultCheckedIcon.props.fontSize ?? size\n }),\n disabled: disabled,\n ownerState: ownerState,\n classes: classes,\n name: name,\n checked: checked,\n onChange: onChange,\n ref: ref,\n className: clsx(classes.root, className),\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Radio.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n * @default <RadioButtonIcon checked />\n */\n checkedIcon: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display when the component is unchecked.\n * @default <RadioButtonIcon />\n */\n icon: PropTypes.node,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * `small` is equivalent to the dense radio styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default Radio;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormGroupUtilityClass(slot) {\n return generateUtilityClass('MuiFormGroup', slot);\n}\nconst formGroupClasses = generateUtilityClasses('MuiFormGroup', ['root', 'row', 'error']);\nexport default formGroupClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getFormGroupUtilityClass } from \"./formGroupClasses.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n row,\n error\n } = ownerState;\n const slots = {\n root: ['root', row && 'row', error && 'error']\n };\n return composeClasses(slots, getFormGroupUtilityClass, classes);\n};\nconst FormGroupRoot = styled('div', {\n name: 'MuiFormGroup',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.row && styles.row];\n }\n})({\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n variants: [{\n props: {\n row: true\n },\n style: {\n flexDirection: 'row'\n }\n }]\n});\n\n/**\n * `FormGroup` wraps controls such as `Checkbox` and `Switch`.\n * It provides compact row layout.\n * For the `Radio`, you should be using the `RadioGroup` component instead of this one.\n */\nconst FormGroup = /*#__PURE__*/React.forwardRef(function FormGroup(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormGroup'\n });\n const {\n className,\n row = false,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n const ownerState = {\n ...props,\n row,\n error: fcs.error\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormGroupRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n ...other\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Display group of elements in a compact row.\n * @default false\n */\n row: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default FormGroup;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getRadioGroupUtilityClass(slot) {\n return generateUtilityClass('MuiRadioGroup', slot);\n}\nconst radioGroupClasses = generateUtilityClasses('MuiRadioGroup', ['root', 'row', 'error']);\nexport default radioGroupClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport FormGroup from \"../FormGroup/index.js\";\nimport { getRadioGroupUtilityClass } from \"./radioGroupClasses.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useControlled from \"../utils/useControlled.js\";\nimport RadioGroupContext from \"./RadioGroupContext.js\";\nimport useId from \"../utils/useId.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = props => {\n const {\n classes,\n row,\n error\n } = props;\n const slots = {\n root: ['root', row && 'row', error && 'error']\n };\n return composeClasses(slots, getRadioGroupUtilityClass, classes);\n};\nconst RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n children,\n className,\n defaultValue,\n name: nameProp,\n onChange,\n value: valueProp,\n ...other\n } = props;\n const rootRef = React.useRef(null);\n const classes = useUtilityClasses(props);\n const [value, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'RadioGroup'\n });\n React.useImperativeHandle(actions, () => ({\n focus: () => {\n let input = rootRef.current.querySelector('input:not(:disabled):checked');\n if (!input) {\n input = rootRef.current.querySelector('input:not(:disabled)');\n }\n if (input) {\n input.focus();\n }\n }\n }), []);\n const handleRef = useForkRef(ref, rootRef);\n const name = useId(nameProp);\n const contextValue = React.useMemo(() => ({\n name,\n onChange(event) {\n setValueState(event.target.value);\n if (onChange) {\n onChange(event, event.target.value);\n }\n },\n value\n }), [name, onChange, setValueState, value]);\n return /*#__PURE__*/_jsx(RadioGroupContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(FormGroup, {\n role: \"radiogroup\",\n ref: handleRef,\n className: clsx(classes.root, className),\n ...other,\n children: children\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? RadioGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * The name used to reference the value of the control.\n * If you don't provide this prop, it falls back to a randomly generated name.\n */\n name: PropTypes.string,\n /**\n * Callback fired when a radio button is selected.\n *\n * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.\n * @param {string} value The value of the selected radio button.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * Value of the selected radio button. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default RadioGroup;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\nconst RadioGroupContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== 'production') {\n RadioGroupContext.displayName = 'RadioGroupContext';\n}\nexport default RadioGroupContext;","'use client';\n\nimport * as React from 'react';\nimport RadioGroupContext from \"./RadioGroupContext.js\";\nexport default function useRadioGroup() {\n return React.useContext(RadioGroupContext);\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getNativeSelectUtilityClasses(slot) {\n return generateUtilityClass('MuiNativeSelect', slot);\n}\nconst nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);\nexport default nativeSelectClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport nativeSelectClasses, { getNativeSelectUtilityClasses } from \"./nativeSelectClasses.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n disabled,\n multiple,\n open,\n error\n } = ownerState;\n const slots = {\n select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],\n icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']\n };\n return composeClasses(slots, getNativeSelectUtilityClasses, classes);\n};\nexport const StyledSelectSelect = styled('select')(({\n theme\n}) => ({\n // Reset\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n // Reset\n borderRadius: 0,\n cursor: 'pointer',\n '&:focus': {\n // Reset Chrome style\n borderRadius: 0\n },\n [`&.${nativeSelectClasses.disabled}`]: {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: (theme.vars || theme).palette.background.paper\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.variant !== 'filled' && ownerState.variant !== 'outlined',\n style: {\n // Bump specificity to allow extending custom inputs\n '&&&': {\n paddingRight: 24,\n minWidth: 16 // So it doesn't collapse.\n }\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n '&&&': {\n paddingRight: 32\n }\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius,\n '&:focus': {\n borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style\n },\n '&&&': {\n paddingRight: 32\n }\n }\n }]\n}));\nconst NativeSelectSelect = styled(StyledSelectSelect, {\n name: 'MuiNativeSelect',\n slot: 'Select',\n shouldForwardProp: rootShouldForwardProp,\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, {\n [`&.${nativeSelectClasses.multiple}`]: styles.multiple\n }];\n }\n})({});\nexport const StyledSelectIcon = styled('svg')(({\n theme\n}) => ({\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n // Center vertically, height is 1em\n top: 'calc(50% - .5em)',\n // Don't block pointer events on the select under the icon.\n pointerEvents: 'none',\n color: (theme.vars || theme).palette.action.active,\n [`&.${nativeSelectClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.open,\n style: {\n transform: 'rotate(180deg)'\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n right: 7\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n right: 7\n }\n }]\n}));\nconst NativeSelectIcon = styled(StyledSelectIcon, {\n name: 'MuiNativeSelect',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.variant && styles[`icon${capitalize(ownerState.variant)}`], ownerState.open && styles.iconOpen];\n }\n})({});\n\n/**\n * @ignore - internal component.\n */\nconst NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInput(props, ref) {\n const {\n className,\n disabled,\n error,\n IconComponent,\n inputRef,\n variant = 'standard',\n ...other\n } = props;\n const ownerState = {\n ...props,\n disabled,\n variant,\n error\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(NativeSelectSelect, {\n ownerState: ownerState,\n className: clsx(classes.select, className),\n disabled: disabled,\n ref: inputRef || ref,\n ...other\n }), props.multiple ? null : /*#__PURE__*/_jsx(NativeSelectIcon, {\n as: IconComponent,\n ownerState: ownerState,\n className: classes.icon\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `<option>` elements.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the select is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the `select input` will indicate an error.\n */\n error: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n /**\n * Use that prop to pass a ref to the native select element.\n * @deprecated\n */\n inputRef: refType,\n /**\n * @ignore\n */\n multiple: PropTypes.bool,\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * The input value.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default NativeSelectInput;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSelectUtilityClasses(slot) {\n return generateUtilityClass('MuiSelect', slot);\n}\nconst selectClasses = generateUtilityClasses('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);\nexport default selectClasses;","'use client';\n\nimport _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nvar _span;\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useId from '@mui/utils/useId';\nimport refType from '@mui/utils/refType';\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport Menu from \"../Menu/Menu.js\";\nimport { StyledSelectSelect, StyledSelectIcon } from \"../NativeSelect/NativeSelectInput.js\";\nimport { isFilled } from \"../InputBase/utils.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport slotShouldForwardProp from \"../styles/slotShouldForwardProp.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useControlled from \"../utils/useControlled.js\";\nimport selectClasses, { getSelectUtilityClasses } from \"./selectClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SelectSelect = styled(StyledSelectSelect, {\n name: 'MuiSelect',\n slot: 'Select',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [\n // Win specificity over the input base\n {\n [`&.${selectClasses.select}`]: styles.select\n }, {\n [`&.${selectClasses.select}`]: styles[ownerState.variant]\n }, {\n [`&.${selectClasses.error}`]: styles.error\n }, {\n [`&.${selectClasses.multiple}`]: styles.multiple\n }];\n }\n})({\n // Win specificity over the input base\n [`&.${selectClasses.select}`]: {\n height: 'auto',\n // Resets for multiple select with chips\n minHeight: '1.4375em',\n // Required for select\\text-field height consistency\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n }\n});\nconst SelectIcon = styled(StyledSelectIcon, {\n name: 'MuiSelect',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.variant && styles[`icon${capitalize(ownerState.variant)}`], ownerState.open && styles.iconOpen];\n }\n})({});\nconst SelectNativeInput = styled('input', {\n shouldForwardProp: prop => slotShouldForwardProp(prop) && prop !== 'classes',\n name: 'MuiSelect',\n slot: 'NativeInput',\n overridesResolver: (props, styles) => styles.nativeInput\n})({\n bottom: 0,\n left: 0,\n position: 'absolute',\n opacity: 0,\n pointerEvents: 'none',\n width: '100%',\n boxSizing: 'border-box'\n});\nfunction areEqualValues(a, b) {\n if (typeof b === 'object' && b !== null) {\n return a === b;\n }\n\n // The value could be a number, the DOM will stringify it anyway.\n return String(a) === String(b);\n}\nfunction isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n disabled,\n multiple,\n open,\n error\n } = ownerState;\n const slots = {\n select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],\n icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],\n nativeInput: ['nativeInput']\n };\n return composeClasses(slots, getSelectUtilityClasses, classes);\n};\n\n/**\n * @ignore - internal component.\n */\nconst SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n const {\n 'aria-describedby': ariaDescribedby,\n 'aria-label': ariaLabel,\n autoFocus,\n autoWidth,\n children,\n className,\n defaultOpen,\n defaultValue,\n disabled,\n displayEmpty,\n error = false,\n IconComponent,\n inputRef: inputRefProp,\n labelId,\n MenuProps = {},\n multiple,\n name,\n onBlur,\n onChange,\n onClose,\n onFocus,\n onOpen,\n open: openProp,\n readOnly,\n renderValue,\n SelectDisplayProps = {},\n tabIndex: tabIndexProp,\n // catching `type` from Input which makes no sense for SelectInput\n type,\n value: valueProp,\n variant = 'standard',\n ...other\n } = props;\n const [value, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n });\n const [openState, setOpenState] = useControlled({\n controlled: openProp,\n default: defaultOpen,\n name: 'Select'\n });\n const inputRef = React.useRef(null);\n const displayRef = React.useRef(null);\n const [displayNode, setDisplayNode] = React.useState(null);\n const {\n current: isOpenControlled\n } = React.useRef(openProp != null);\n const [menuMinWidthState, setMenuMinWidthState] = React.useState();\n const handleRef = useForkRef(ref, inputRefProp);\n const handleDisplayRef = React.useCallback(node => {\n displayRef.current = node;\n if (node) {\n setDisplayNode(node);\n }\n }, []);\n const anchorElement = displayNode?.parentNode;\n React.useImperativeHandle(handleRef, () => ({\n focus: () => {\n displayRef.current.focus();\n },\n node: inputRef.current,\n value\n }), [value]);\n\n // Resize menu on `defaultOpen` automatic toggle.\n React.useEffect(() => {\n if (defaultOpen && openState && displayNode && !isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);\n displayRef.current.focus();\n }\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [displayNode, autoWidth]);\n // `isOpenControlled` is ignored because the component should never switch between controlled and uncontrolled modes.\n // `defaultOpen` and `openState` are ignored to avoid unnecessary callbacks.\n React.useEffect(() => {\n if (autoFocus) {\n displayRef.current.focus();\n }\n }, [autoFocus]);\n React.useEffect(() => {\n if (!labelId) {\n return undefined;\n }\n const label = ownerDocument(displayRef.current).getElementById(labelId);\n if (label) {\n const handler = () => {\n if (getSelection().isCollapsed) {\n displayRef.current.focus();\n }\n };\n label.addEventListener('click', handler);\n return () => {\n label.removeEventListener('click', handler);\n };\n }\n return undefined;\n }, [labelId]);\n const update = (open, event) => {\n if (open) {\n if (onOpen) {\n onOpen(event);\n }\n } else if (onClose) {\n onClose(event);\n }\n if (!isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);\n setOpenState(open);\n }\n };\n const handleMouseDown = event => {\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n }\n // Hijack the default focus behavior.\n event.preventDefault();\n displayRef.current.focus();\n update(true, event);\n };\n const handleClose = event => {\n update(false, event);\n };\n const childrenArray = React.Children.toArray(children);\n\n // Support autofill.\n const handleChange = event => {\n const child = childrenArray.find(childItem => childItem.props.value === event.target.value);\n if (child === undefined) {\n return;\n }\n setValueState(child.props.value);\n if (onChange) {\n onChange(event, child);\n }\n };\n const handleItemClick = child => event => {\n let newValue;\n\n // We use the tabindex attribute to signal the available options.\n if (!event.currentTarget.hasAttribute('tabindex')) {\n return;\n }\n if (multiple) {\n newValue = Array.isArray(value) ? value.slice() : [];\n const itemIndex = value.indexOf(child.props.value);\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n if (value !== newValue) {\n setValueState(newValue);\n if (onChange) {\n // Redefine target to allow name and value to be read.\n // This allows seamless integration with the most popular form libraries.\n // https://github.com/mui/material-ui/issues/13485#issuecomment-676048492\n // Clone the event to not override `target` of the original event.\n const nativeEvent = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n Object.defineProperty(clonedEvent, 'target', {\n writable: true,\n value: {\n value: newValue,\n name\n }\n });\n onChange(clonedEvent, child);\n }\n }\n if (!multiple) {\n update(false, event);\n }\n };\n const handleKeyDown = event => {\n if (!readOnly) {\n const validKeys = [' ', 'ArrowUp', 'ArrowDown',\n // The native select doesn't respond to enter on macOS, but it's recommended by\n // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/\n 'Enter'];\n if (validKeys.includes(event.key)) {\n event.preventDefault();\n update(true, event);\n }\n }\n };\n const open = displayNode !== null && openState;\n const handleBlur = event => {\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n // Preact support, target is read only property on a native event.\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value,\n name\n }\n });\n onBlur(event);\n }\n };\n delete other['aria-invalid'];\n let display;\n let displaySingle;\n const displayMultiple = [];\n let computeDisplay = false;\n let foundMatch = false;\n\n // No need to display any value if the field is empty.\n if (isFilled({\n value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n const items = childrenArray.map(child => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n let selected;\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: The `value` prop must be an array ' + 'when using the `Select` component with `multiple`.' : _formatMuiErrorMessage(2));\n }\n selected = value.some(v => areEqualValues(v, child.props.value));\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n if (selected) {\n foundMatch = true;\n }\n return /*#__PURE__*/React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : 'false',\n onClick: handleItemClick(child),\n onKeyUp: event => {\n if (event.key === ' ') {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native <option> and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n role: 'option',\n selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n });\n });\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (!foundMatch && !multiple && value !== '') {\n const values = childrenArray.map(child => child.props.value);\n console.warn([`MUI: You have provided an out-of-range value \\`${value}\\` for the select ${name ? `(name=\"${name}\") ` : ''}component.`, \"Consider providing a value that matches one of the available options or ''.\", `The available values are ${values.filter(x => x != null).map(x => `\\`${x}\\``).join(', ') || '\"\"'}.`].join('\\n'));\n }\n }, [foundMatch, childrenArray, multiple, name, value]);\n }\n if (computeDisplay) {\n if (multiple) {\n if (displayMultiple.length === 0) {\n display = null;\n } else {\n display = displayMultiple.reduce((output, child, index) => {\n output.push(child);\n if (index < displayMultiple.length - 1) {\n output.push(', ');\n }\n return output;\n }, []);\n }\n } else {\n display = displaySingle;\n }\n }\n\n // Avoid performing a layout computation in the render method.\n let menuMinWidth = menuMinWidthState;\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = anchorElement.clientWidth;\n }\n let tabIndex;\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n const buttonId = SelectDisplayProps.id || (name ? `mui-component-select-${name}` : undefined);\n const ownerState = {\n ...props,\n variant,\n value,\n open,\n error\n };\n const classes = useUtilityClasses(ownerState);\n const paperProps = {\n ...MenuProps.PaperProps,\n ...MenuProps.slotProps?.paper\n };\n const listboxId = useId();\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(SelectSelect, {\n as: \"div\",\n ref: handleDisplayRef,\n tabIndex: tabIndex,\n role: \"combobox\",\n \"aria-controls\": listboxId,\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : 'false',\n \"aria-haspopup\": \"listbox\",\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n \"aria-describedby\": ariaDescribedby,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus,\n ...SelectDisplayProps,\n ownerState: ownerState,\n className: clsx(SelectDisplayProps.className, classes.select, className)\n // The id is required for proper a11y\n ,\n id: buttonId,\n children: isEmpty(display) ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n })) : display\n }), /*#__PURE__*/_jsx(SelectNativeInput, {\n \"aria-invalid\": error,\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n \"aria-hidden\": true,\n onChange: handleChange,\n tabIndex: -1,\n disabled: disabled,\n className: classes.nativeInput,\n autoFocus: autoFocus,\n ...other,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(SelectIcon, {\n as: IconComponent,\n className: classes.icon,\n ownerState: ownerState\n }), /*#__PURE__*/_jsx(Menu, {\n id: `menu-${name || ''}`,\n anchorEl: anchorElement,\n open: open,\n onClose: handleClose,\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: 'center'\n },\n transformOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n ...MenuProps,\n MenuListProps: {\n 'aria-labelledby': labelId,\n role: 'listbox',\n 'aria-multiselectable': multiple ? 'true' : undefined,\n disableListWrap: true,\n id: listboxId,\n ...MenuProps.MenuListProps\n },\n slotProps: {\n ...MenuProps.slotProps,\n paper: {\n ...paperProps,\n style: {\n minWidth: menuMinWidth,\n ...(paperProps != null ? paperProps.style : null)\n }\n }\n },\n children: items\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n /**\n * The option elements to populate the select with.\n * Can be some `<MenuItem>` elements.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is toggled on mount. Use when the component open state is not controlled.\n * You can only use it when the `native` prop is `false` (default).\n */\n defaultOpen: PropTypes.bool,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the select is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n /**\n * If `true`, the `select input` will indicate an error.\n */\n error: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n /**\n * Props applied to the [`Menu`](/material-ui/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n type: PropTypes.any,\n /**\n * The input value.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport SelectInput from \"./SelectInput.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport ArrowDropDownIcon from \"../internal/svg-icons/ArrowDropDown.js\";\nimport Input from \"../Input/index.js\";\nimport NativeSelectInput from \"../NativeSelect/NativeSelectInput.js\";\nimport FilledInput from \"../FilledInput/index.js\";\nimport OutlinedInput from \"../OutlinedInput/index.js\";\nimport useThemeProps from \"../styles/useThemeProps.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n return classes;\n};\nconst styledRootConfig = {\n name: 'MuiSelect',\n overridesResolver: (props, styles) => styles.root,\n shouldForwardProp: prop => rootShouldForwardProp(prop) && prop !== 'variant',\n slot: 'Root'\n};\nconst StyledInput = styled(Input, styledRootConfig)('');\nconst StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)('');\nconst StyledFilledInput = styled(FilledInput, styledRootConfig)('');\nconst Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {\n const props = useThemeProps({\n name: 'MuiSelect',\n props: inProps\n });\n const {\n autoWidth = false,\n children,\n classes: classesProp = {},\n className,\n defaultOpen = false,\n displayEmpty = false,\n IconComponent = ArrowDropDownIcon,\n id,\n input,\n inputProps,\n label,\n labelId,\n MenuProps,\n multiple = false,\n native = false,\n onClose,\n onOpen,\n open,\n renderValue,\n SelectDisplayProps,\n variant: variantProp = 'outlined',\n ...other\n } = props;\n const inputComponent = native ? NativeSelectInput : SelectInput;\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['variant', 'error']\n });\n const variant = fcs.variant || variantProp;\n const ownerState = {\n ...props,\n variant,\n classes: classesProp\n };\n const classes = useUtilityClasses(ownerState);\n const {\n root,\n ...restOfClasses\n } = classes;\n const InputComponent = input || {\n standard: /*#__PURE__*/_jsx(StyledInput, {\n ownerState: ownerState\n }),\n outlined: /*#__PURE__*/_jsx(StyledOutlinedInput, {\n label: label,\n ownerState: ownerState\n }),\n filled: /*#__PURE__*/_jsx(StyledFilledInput, {\n ownerState: ownerState\n })\n }[variant];\n const inputComponentRef = useForkRef(ref, getReactElementRef(InputComponent));\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: /*#__PURE__*/React.cloneElement(InputComponent, {\n // Most of the logic is implemented in `SelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent,\n inputProps: {\n children,\n error: fcs.error,\n IconComponent,\n variant,\n type: undefined,\n // We render a select. We can ignore the type provided by the `Input`.\n multiple,\n ...(native ? {\n id\n } : {\n autoWidth,\n defaultOpen,\n displayEmpty,\n labelId,\n MenuProps,\n onClose,\n onOpen,\n open,\n renderValue,\n SelectDisplayProps: {\n id,\n ...SelectDisplayProps\n }\n }),\n ...inputProps,\n classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses,\n ...(input ? input.props.inputProps : {})\n },\n ...((multiple && native || displayEmpty) && variant === 'outlined' ? {\n notched: true\n } : {}),\n ref: inputComponentRef,\n className: clsx(InputComponent.props.className, className, classes.root),\n // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.\n ...(!input && {\n variant\n }),\n ...other\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Select.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n * @default false\n */\n autoWidth: PropTypes.bool,\n /**\n * The option elements to populate the select with.\n * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\n *\n * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n * @default {}\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is initially open. Use when the component open state is not controlled (i.e. the `open` prop is not defined).\n * You can only use it when the `native` prop is `false` (default).\n * @default false\n */\n defaultOpen: PropTypes.bool,\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, a value is displayed even if no items are selected.\n *\n * In order to display a meaningful value, a function can be passed to the `renderValue` prop which\n * returns the value to be displayed when no items are selected.\n *\n * ⚠️ When using this prop, make sure the label doesn't overlap with the empty displayed value.\n * The label should either be hidden or forced to a shrunk state.\n * @default false\n */\n displayEmpty: PropTypes.bool,\n /**\n * The icon that displays the arrow.\n * @default ArrowDropDownIcon\n */\n IconComponent: PropTypes.elementType,\n /**\n * The `id` of the wrapper element or the `select` element when `native`.\n */\n id: PropTypes.string,\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * When `native` is `true`, the attributes are applied on the `select` element.\n */\n inputProps: PropTypes.object,\n /**\n * See [OutlinedInput#label](https://mui.com/material-ui/api/outlined-input/#props)\n */\n label: PropTypes.node,\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n /**\n * Props applied to the [`Menu`](https://mui.com/material-ui/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n * @default false\n */\n multiple: PropTypes.bool,\n /**\n * If `true`, the component uses a native `select` element.\n * @default false\n */\n native: PropTypes.bool,\n /**\n * Callback fired when a menu item is selected.\n *\n * @param {SelectChangeEvent<Value>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.\n * @param {object} [child] The react element that was selected when `native` is `false` (default).\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the component requests to be closed.\n * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the component requests to be opened.\n * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n * You can only use it when the `native` prop is `false` (default).\n */\n open: PropTypes.bool,\n /**\n * Render the selected value.\n * You can only use it when the `native` prop is `false` (default).\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The `input` value. Providing an empty string will select no options.\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n *\n * If the value is an object it must have reference equality with the option in order to be selected.\n * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.\n */\n value: PropTypes.oneOfType([PropTypes.oneOf(['']), PropTypes.any]),\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nSelect.muiName = 'Select';\nexport default Select;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabUtilityClass(slot) {\n return generateUtilityClass('MuiTab', slot);\n}\nconst tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper', 'icon']);\nexport default tabClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport unsupportedProp from \"../utils/unsupportedProp.js\";\nimport tabClasses, { getTabUtilityClass } from \"./tabClasses.js\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n textColor,\n fullWidth,\n wrapped,\n icon,\n label,\n selected,\n disabled\n } = ownerState;\n const slots = {\n root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],\n icon: ['iconWrapper', 'icon']\n };\n return composeClasses(slots, getTabUtilityClass, classes);\n};\nconst TabRoot = styled(ButtonBase, {\n name: 'MuiTab',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {\n [`& .${tabClasses.iconWrapper}`]: styles.iconWrapper\n }, {\n [`& .${tabClasses.icon}`]: styles.icon\n }];\n }\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.button,\n maxWidth: 360,\n minWidth: 90,\n position: 'relative',\n minHeight: 48,\n flexShrink: 0,\n padding: '12px 16px',\n overflow: 'hidden',\n whiteSpace: 'normal',\n textAlign: 'center',\n lineHeight: 1.25,\n variants: [{\n props: ({\n ownerState\n }) => ownerState.label && (ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom'),\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.label && ownerState.iconPosition !== 'top' && ownerState.iconPosition !== 'bottom',\n style: {\n flexDirection: 'row'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.icon && ownerState.label,\n style: {\n minHeight: 72,\n paddingTop: 9,\n paddingBottom: 9\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'top',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginBottom: 6\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'bottom',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginTop: 6\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'start',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginRight: theme.spacing(1)\n }\n }\n }, {\n props: ({\n ownerState,\n iconPosition\n }) => ownerState.icon && ownerState.label && iconPosition === 'end',\n style: {\n [`& > .${tabClasses.icon}`]: {\n marginLeft: theme.spacing(1)\n }\n }\n }, {\n props: {\n textColor: 'inherit'\n },\n style: {\n color: 'inherit',\n opacity: 0.6,\n // same opacity as theme.palette.text.secondary\n [`&.${tabClasses.selected}`]: {\n opacity: 1\n },\n [`&.${tabClasses.disabled}`]: {\n opacity: (theme.vars || theme).palette.action.disabledOpacity\n }\n }\n }, {\n props: {\n textColor: 'primary'\n },\n style: {\n color: (theme.vars || theme).palette.text.secondary,\n [`&.${tabClasses.selected}`]: {\n color: (theme.vars || theme).palette.primary.main\n },\n [`&.${tabClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n }\n }, {\n props: {\n textColor: 'secondary'\n },\n style: {\n color: (theme.vars || theme).palette.text.secondary,\n [`&.${tabClasses.selected}`]: {\n color: (theme.vars || theme).palette.secondary.main\n },\n [`&.${tabClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: 'none'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.wrapped,\n style: {\n fontSize: theme.typography.pxToRem(12)\n }\n }]\n})));\nconst Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTab'\n });\n const {\n className,\n disabled = false,\n disableFocusRipple = false,\n // eslint-disable-next-line react/prop-types\n fullWidth,\n icon: iconProp,\n iconPosition = 'top',\n // eslint-disable-next-line react/prop-types\n indicator,\n label,\n onChange,\n onClick,\n onFocus,\n // eslint-disable-next-line react/prop-types\n selected,\n // eslint-disable-next-line react/prop-types\n selectionFollowsFocus,\n // eslint-disable-next-line react/prop-types\n textColor = 'inherit',\n value,\n wrapped = false,\n ...other\n } = props;\n const ownerState = {\n ...props,\n disabled,\n disableFocusRipple,\n selected,\n icon: !!iconProp,\n iconPosition,\n label: !!label,\n fullWidth,\n textColor,\n wrapped\n };\n const classes = useUtilityClasses(ownerState);\n const icon = iconProp && label && /*#__PURE__*/React.isValidElement(iconProp) ? /*#__PURE__*/React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className)\n }) : iconProp;\n const handleClick = event => {\n if (!selected && onChange) {\n onChange(event, value);\n }\n if (onClick) {\n onClick(event);\n }\n };\n const handleFocus = event => {\n if (selectionFollowsFocus && !selected && onChange) {\n onChange(event, value);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n return /*#__PURE__*/_jsxs(TabRoot, {\n focusRipple: !disableFocusRipple,\n className: clsx(classes.root, className),\n ref: ref,\n role: \"tab\",\n \"aria-selected\": selected,\n disabled: disabled,\n onClick: handleClick,\n onFocus: handleFocus,\n ownerState: ownerState,\n tabIndex: selected ? 0 : -1,\n ...other,\n children: [iconPosition === 'top' || iconPosition === 'start' ? /*#__PURE__*/_jsxs(React.Fragment, {\n children: [icon, label]\n }) : /*#__PURE__*/_jsxs(React.Fragment, {\n children: [label, icon]\n }), indicator]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display.\n */\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n /**\n * The position of the icon relative to the label.\n * @default 'top'\n */\n iconPosition: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n /**\n * The label element.\n */\n label: PropTypes.node,\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * You can provide your own value. Otherwise, we fallback to the child position index.\n */\n value: PropTypes.any,\n /**\n * Tab labels appear in a single row.\n * They can use a second line if needed.\n * @default false\n */\n wrapped: PropTypes.bool\n} : void 0;\nexport default Tab;","function easeInOutSin(time) {\n return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;\n}\nexport default function animate(property, element, to, options = {}, cb = () => {}) {\n const {\n ease = easeInOutSin,\n duration = 300 // standard\n } = options;\n let start = null;\n const from = element[property];\n let cancelled = false;\n const cancel = () => {\n cancelled = true;\n };\n const step = timestamp => {\n if (cancelled) {\n cb(new Error('Animation cancelled'));\n return;\n }\n if (start === null) {\n start = timestamp;\n }\n const time = Math.min(1, (timestamp - start) / duration);\n element[property] = ease(time) * (to - from) + from;\n if (time >= 1) {\n requestAnimationFrame(() => {\n cb(null);\n });\n return;\n }\n requestAnimationFrame(step);\n };\n if (from === to) {\n cb(new Error('Element already at target position'));\n return cancel;\n }\n requestAnimationFrame(step);\n return cancel;\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from \"../utils/debounce.js\";\nimport { ownerWindow, unstable_useEnhancedEffect as useEnhancedEffect } from \"../utils/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst styles = {\n width: 99,\n height: 99,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll'\n};\n\n/**\n * @ignore - internal component.\n * The component originates from https://github.com/STORIS/react-scrollbar-size.\n * It has been moved into the core in order to minimize the bundle size.\n */\nexport default function ScrollbarSize(props) {\n const {\n onChange,\n ...other\n } = props;\n const scrollbarHeight = React.useRef();\n const nodeRef = React.useRef(null);\n const setMeasurements = () => {\n scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;\n };\n useEnhancedEffect(() => {\n const handleResize = debounce(() => {\n const prevHeight = scrollbarHeight.current;\n setMeasurements();\n if (prevHeight !== scrollbarHeight.current) {\n onChange(scrollbarHeight.current);\n }\n });\n const containerWindow = ownerWindow(nodeRef.current);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [onChange]);\n React.useEffect(() => {\n setMeasurements();\n onChange(scrollbarHeight.current);\n }, [onChange]);\n return /*#__PURE__*/_jsx(\"div\", {\n style: styles,\n ref: nodeRef,\n ...other\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ScrollbarSize.propTypes = {\n onChange: PropTypes.func.isRequired\n} : void 0;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"\n}), 'KeyboardArrowLeft');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"\n}), 'KeyboardArrowRight');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabScrollButtonUtilityClass(slot) {\n return generateUtilityClass('MuiTabScrollButton', slot);\n}\nconst tabScrollButtonClasses = generateUtilityClasses('MuiTabScrollButton', ['root', 'vertical', 'horizontal', 'disabled']);\nexport default tabScrollButtonClasses;","'use client';\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport KeyboardArrowLeft from \"../internal/svg-icons/KeyboardArrowLeft.js\";\nimport KeyboardArrowRight from \"../internal/svg-icons/KeyboardArrowRight.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport tabScrollButtonClasses, { getTabScrollButtonUtilityClass } from \"./tabScrollButtonClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n orientation,\n disabled\n } = ownerState;\n const slots = {\n root: ['root', orientation, disabled && 'disabled']\n };\n return composeClasses(slots, getTabScrollButtonUtilityClass, classes);\n};\nconst TabScrollButtonRoot = styled(ButtonBase, {\n name: 'MuiTabScrollButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.orientation && styles[ownerState.orientation]];\n }\n})({\n width: 40,\n flexShrink: 0,\n opacity: 0.8,\n [`&.${tabScrollButtonClasses.disabled}`]: {\n opacity: 0\n },\n variants: [{\n props: {\n orientation: 'vertical'\n },\n style: {\n width: '100%',\n height: 40,\n '& svg': {\n transform: 'var(--TabScrollButton-svgRotate)'\n }\n }\n }]\n});\nconst TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTabScrollButton'\n });\n const {\n className,\n slots = {},\n slotProps = {},\n direction,\n orientation,\n disabled,\n ...other\n } = props;\n const isRtl = useRtl();\n const ownerState = {\n isRtl,\n ...props\n };\n const classes = useUtilityClasses(ownerState);\n const StartButtonIcon = slots.StartScrollButtonIcon ?? KeyboardArrowLeft;\n const EndButtonIcon = slots.EndScrollButtonIcon ?? KeyboardArrowRight;\n const startButtonIconProps = useSlotProps({\n elementType: StartButtonIcon,\n externalSlotProps: slotProps.startScrollButtonIcon,\n additionalProps: {\n fontSize: 'small'\n },\n ownerState\n });\n const endButtonIconProps = useSlotProps({\n elementType: EndButtonIcon,\n externalSlotProps: slotProps.endScrollButtonIcon,\n additionalProps: {\n fontSize: 'small'\n },\n ownerState\n });\n return /*#__PURE__*/_jsx(TabScrollButtonRoot, {\n component: \"div\",\n className: clsx(classes.root, className),\n ref: ref,\n role: null,\n ownerState: ownerState,\n tabIndex: null,\n ...other,\n style: {\n ...other.style,\n ...(orientation === 'vertical' && {\n '--TabScrollButton-svgRotate': `rotate(${isRtl ? -90 : 90}deg)`\n })\n },\n children: direction === 'left' ? /*#__PURE__*/_jsx(StartButtonIcon, {\n ...startButtonIconProps\n }) : /*#__PURE__*/_jsx(EndButtonIcon, {\n ...endButtonIconProps\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TabScrollButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The direction the button should indicate.\n */\n direction: PropTypes.oneOf(['left', 'right']).isRequired,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * The component orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n * @default {}\n */\n slotProps: PropTypes.shape({\n endScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n startScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n EndScrollButtonIcon: PropTypes.elementType,\n StartScrollButtonIcon: PropTypes.elementType\n }),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TabScrollButton;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabsUtilityClass(slot) {\n return generateUtilityClass('MuiTabs', slot);\n}\nconst tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);\nexport default tabsClasses;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport debounce from \"../utils/debounce.js\";\nimport animate from \"../internal/animate.js\";\nimport ScrollbarSize from \"./ScrollbarSize.js\";\nimport TabScrollButton from \"../TabScrollButton/index.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport tabsClasses, { getTabsUtilityClass } from \"./tabsClasses.js\";\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport ownerWindow from \"../utils/ownerWindow.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst nextItem = (list, item) => {\n if (list === item) {\n return list.firstChild;\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n return list.firstChild;\n};\nconst previousItem = (list, item) => {\n if (list === item) {\n return list.lastChild;\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n return list.lastChild;\n};\nconst moveFocus = (list, currentFocus, traversalFunction) => {\n let wrappedOnce = false;\n let nextFocus = traversalFunction(list, currentFocus);\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return;\n }\n wrappedOnce = true;\n }\n\n // Same logic as useAutocomplete.js\n const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus);\n } else {\n nextFocus.focus();\n return;\n }\n }\n};\nconst useUtilityClasses = ownerState => {\n const {\n vertical,\n fixed,\n hideScrollbar,\n scrollableX,\n scrollableY,\n centered,\n scrollButtonsHideMobile,\n classes\n } = ownerState;\n const slots = {\n root: ['root', vertical && 'vertical'],\n scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],\n flexContainer: ['flexContainer', vertical && 'flexContainerVertical', centered && 'centered'],\n indicator: ['indicator'],\n scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],\n scrollableX: [scrollableX && 'scrollableX'],\n hideScrollbar: [hideScrollbar && 'hideScrollbar']\n };\n return composeClasses(slots, getTabsUtilityClass, classes);\n};\nconst TabsRoot = styled('div', {\n name: 'MuiTabs',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${tabsClasses.scrollButtons}`]: styles.scrollButtons\n }, {\n [`& .${tabsClasses.scrollButtons}`]: ownerState.scrollButtonsHideMobile && styles.scrollButtonsHideMobile\n }, styles.root, ownerState.vertical && styles.vertical];\n }\n})(memoTheme(({\n theme\n}) => ({\n overflow: 'hidden',\n minHeight: 48,\n // Add iOS momentum scrolling for iOS < 13.0\n WebkitOverflowScrolling: 'touch',\n display: 'flex',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollButtonsHideMobile,\n style: {\n [`& .${tabsClasses.scrollButtons}`]: {\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n }\n }\n }]\n})));\nconst TabsScroller = styled('div', {\n name: 'MuiTabs',\n slot: 'Scroller',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.scroller, ownerState.fixed && styles.fixed, ownerState.hideScrollbar && styles.hideScrollbar, ownerState.scrollableX && styles.scrollableX, ownerState.scrollableY && styles.scrollableY];\n }\n})({\n position: 'relative',\n display: 'inline-block',\n flex: '1 1 auto',\n whiteSpace: 'nowrap',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.fixed,\n style: {\n overflowX: 'hidden',\n width: '100%'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hideScrollbar,\n style: {\n // Hide dimensionless scrollbar on macOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollableX,\n style: {\n overflowX: 'auto',\n overflowY: 'hidden'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.scrollableY,\n style: {\n overflowY: 'auto',\n overflowX: 'hidden'\n }\n }]\n});\nconst FlexContainer = styled('div', {\n name: 'MuiTabs',\n slot: 'FlexContainer',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.flexContainer, ownerState.vertical && styles.flexContainerVertical, ownerState.centered && styles.centered];\n }\n})({\n display: 'flex',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n flexDirection: 'column'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.centered,\n style: {\n justifyContent: 'center'\n }\n }]\n});\nconst TabsIndicator = styled('span', {\n name: 'MuiTabs',\n slot: 'Indicator',\n overridesResolver: (props, styles) => styles.indicator\n})(memoTheme(({\n theme\n}) => ({\n position: 'absolute',\n height: 2,\n bottom: 0,\n width: '100%',\n transition: theme.transitions.create(),\n variants: [{\n props: {\n indicatorColor: 'primary'\n },\n style: {\n backgroundColor: (theme.vars || theme).palette.primary.main\n }\n }, {\n props: {\n indicatorColor: 'secondary'\n },\n style: {\n backgroundColor: (theme.vars || theme).palette.secondary.main\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.vertical,\n style: {\n height: '100%',\n width: 2,\n right: 0\n }\n }]\n})));\nconst TabsScrollbarSize = styled(ScrollbarSize)({\n overflowX: 'auto',\n overflowY: 'hidden',\n // Hide dimensionless scrollbar on macOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n }\n});\nconst defaultIndicatorStyle = {};\nlet warnedOnceTabPresent = false;\nconst Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTabs'\n });\n const theme = useTheme();\n const isRtl = useRtl();\n const {\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n action,\n centered = false,\n children: childrenProp,\n className,\n component = 'div',\n allowScrollButtonsMobile = false,\n indicatorColor = 'primary',\n onChange,\n orientation = 'horizontal',\n ScrollButtonComponent = TabScrollButton,\n scrollButtons = 'auto',\n selectionFollowsFocus,\n slots = {},\n slotProps = {},\n TabIndicatorProps = {},\n TabScrollButtonProps = {},\n textColor = 'primary',\n value,\n variant = 'standard',\n visibleScrollbar = false,\n ...other\n } = props;\n const scrollable = variant === 'scrollable';\n const vertical = orientation === 'vertical';\n const scrollStart = vertical ? 'scrollTop' : 'scrollLeft';\n const start = vertical ? 'top' : 'left';\n const end = vertical ? 'bottom' : 'right';\n const clientSize = vertical ? 'clientHeight' : 'clientWidth';\n const size = vertical ? 'height' : 'width';\n const ownerState = {\n ...props,\n component,\n allowScrollButtonsMobile,\n indicatorColor,\n orientation,\n vertical,\n scrollButtons,\n textColor,\n variant,\n visibleScrollbar,\n fixed: !scrollable,\n hideScrollbar: scrollable && !visibleScrollbar,\n scrollableX: scrollable && !vertical,\n scrollableY: scrollable && vertical,\n centered: centered && !scrollable,\n scrollButtonsHideMobile: !allowScrollButtonsMobile\n };\n const classes = useUtilityClasses(ownerState);\n const startScrollButtonIconProps = useSlotProps({\n elementType: slots.StartScrollButtonIcon,\n externalSlotProps: slotProps.startScrollButtonIcon,\n ownerState\n });\n const endScrollButtonIconProps = useSlotProps({\n elementType: slots.EndScrollButtonIcon,\n externalSlotProps: slotProps.endScrollButtonIcon,\n ownerState\n });\n if (process.env.NODE_ENV !== 'production') {\n if (centered && scrollable) {\n console.error('MUI: You can not use the `centered={true}` and `variant=\"scrollable\"` properties ' + 'at the same time on a `Tabs` component.');\n }\n }\n const [mounted, setMounted] = React.useState(false);\n const [indicatorStyle, setIndicatorStyle] = React.useState(defaultIndicatorStyle);\n const [displayStartScroll, setDisplayStartScroll] = React.useState(false);\n const [displayEndScroll, setDisplayEndScroll] = React.useState(false);\n const [updateScrollObserver, setUpdateScrollObserver] = React.useState(false);\n const [scrollerStyle, setScrollerStyle] = React.useState({\n overflow: 'hidden',\n scrollbarWidth: 0\n });\n const valueToIndex = new Map();\n const tabsRef = React.useRef(null);\n const tabListRef = React.useRef(null);\n const getTabsMeta = () => {\n const tabsNode = tabsRef.current;\n let tabsMeta;\n if (tabsNode) {\n const rect = tabsNode.getBoundingClientRect();\n // create a new object with ClientRect class props + scrollLeft\n tabsMeta = {\n clientWidth: tabsNode.clientWidth,\n scrollLeft: tabsNode.scrollLeft,\n scrollTop: tabsNode.scrollTop,\n scrollWidth: tabsNode.scrollWidth,\n top: rect.top,\n bottom: rect.bottom,\n left: rect.left,\n right: rect.right\n };\n }\n let tabMeta;\n if (tabsNode && value !== false) {\n const children = tabListRef.current.children;\n if (children.length > 0) {\n const tab = children[valueToIndex.get(value)];\n if (process.env.NODE_ENV !== 'production') {\n if (!tab) {\n console.error([`MUI: The \\`value\\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with \"${value}\".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\\n'));\n }\n }\n tabMeta = tab ? tab.getBoundingClientRect() : null;\n if (process.env.NODE_ENV !== 'production') {\n if (process.env.NODE_ENV !== 'test' && !warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0 &&\n // if the whole Tabs component is hidden, don't warn\n tabsMeta.clientWidth !== 0) {\n tabsMeta = null;\n console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \\`value\\` (\"${value}\") is not part of the document layout.`, \"Make sure the tab item is present in the document or that it's not `display: none`.\"].join('\\n'));\n warnedOnceTabPresent = true;\n }\n }\n }\n }\n return {\n tabsMeta,\n tabMeta\n };\n };\n const updateIndicatorState = useEventCallback(() => {\n const {\n tabsMeta,\n tabMeta\n } = getTabsMeta();\n let startValue = 0;\n let startIndicator;\n if (vertical) {\n startIndicator = 'top';\n if (tabMeta && tabsMeta) {\n startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;\n }\n } else {\n startIndicator = isRtl ? 'right' : 'left';\n if (tabMeta && tabsMeta) {\n startValue = (isRtl ? -1 : 1) * (tabMeta[startIndicator] - tabsMeta[startIndicator] + tabsMeta.scrollLeft);\n }\n }\n const newIndicatorStyle = {\n [startIndicator]: startValue,\n // May be wrong until the font is loaded.\n [size]: tabMeta ? tabMeta[size] : 0\n };\n if (typeof indicatorStyle[startIndicator] !== 'number' || typeof indicatorStyle[size] !== 'number') {\n setIndicatorStyle(newIndicatorStyle);\n } else {\n const dStart = Math.abs(indicatorStyle[startIndicator] - newIndicatorStyle[startIndicator]);\n const dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);\n if (dStart >= 1 || dSize >= 1) {\n setIndicatorStyle(newIndicatorStyle);\n }\n }\n });\n const scroll = (scrollValue, {\n animation = true\n } = {}) => {\n if (animation) {\n animate(scrollStart, tabsRef.current, scrollValue, {\n duration: theme.transitions.duration.standard\n });\n } else {\n tabsRef.current[scrollStart] = scrollValue;\n }\n };\n const moveTabsScroll = delta => {\n let scrollValue = tabsRef.current[scrollStart];\n if (vertical) {\n scrollValue += delta;\n } else {\n scrollValue += delta * (isRtl ? -1 : 1);\n }\n scroll(scrollValue);\n };\n const getScrollSize = () => {\n const containerSize = tabsRef.current[clientSize];\n let totalSize = 0;\n const children = Array.from(tabListRef.current.children);\n for (let i = 0; i < children.length; i += 1) {\n const tab = children[i];\n if (totalSize + tab[clientSize] > containerSize) {\n // If the first item is longer than the container size, then only scroll\n // by the container size.\n if (i === 0) {\n totalSize = containerSize;\n }\n break;\n }\n totalSize += tab[clientSize];\n }\n return totalSize;\n };\n const handleStartScrollClick = () => {\n moveTabsScroll(-1 * getScrollSize());\n };\n const handleEndScrollClick = () => {\n moveTabsScroll(getScrollSize());\n };\n\n // TODO Remove <ScrollbarSize /> as browser support for hiding the scrollbar\n // with CSS improves.\n const handleScrollbarSizeChange = React.useCallback(scrollbarWidth => {\n setScrollerStyle({\n overflow: null,\n scrollbarWidth\n });\n }, []);\n const getConditionalElements = () => {\n const conditionalElements = {};\n conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/_jsx(TabsScrollbarSize, {\n onChange: handleScrollbarSizeChange,\n className: clsx(classes.scrollableX, classes.hideScrollbar)\n }) : null;\n const scrollButtonsActive = displayStartScroll || displayEndScroll;\n const showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === true);\n conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/_jsx(ScrollButtonComponent, {\n slots: {\n StartScrollButtonIcon: slots.StartScrollButtonIcon\n },\n slotProps: {\n startScrollButtonIcon: startScrollButtonIconProps\n },\n orientation: orientation,\n direction: isRtl ? 'right' : 'left',\n onClick: handleStartScrollClick,\n disabled: !displayStartScroll,\n ...TabScrollButtonProps,\n className: clsx(classes.scrollButtons, TabScrollButtonProps.className)\n }) : null;\n conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/_jsx(ScrollButtonComponent, {\n slots: {\n EndScrollButtonIcon: slots.EndScrollButtonIcon\n },\n slotProps: {\n endScrollButtonIcon: endScrollButtonIconProps\n },\n orientation: orientation,\n direction: isRtl ? 'left' : 'right',\n onClick: handleEndScrollClick,\n disabled: !displayEndScroll,\n ...TabScrollButtonProps,\n className: clsx(classes.scrollButtons, TabScrollButtonProps.className)\n }) : null;\n return conditionalElements;\n };\n const scrollSelectedIntoView = useEventCallback(animation => {\n const {\n tabsMeta,\n tabMeta\n } = getTabsMeta();\n if (!tabMeta || !tabsMeta) {\n return;\n }\n if (tabMeta[start] < tabsMeta[start]) {\n // left side of button is out of view\n const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);\n scroll(nextScrollStart, {\n animation\n });\n } else if (tabMeta[end] > tabsMeta[end]) {\n // right side of button is out of view\n const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);\n scroll(nextScrollStart, {\n animation\n });\n }\n });\n const updateScrollButtonState = useEventCallback(() => {\n if (scrollable && scrollButtons !== false) {\n setUpdateScrollObserver(!updateScrollObserver);\n }\n });\n React.useEffect(() => {\n const handleResize = debounce(() => {\n // If the Tabs component is replaced by Suspense with a fallback, the last\n // ResizeObserver's handler that runs because of the change in the layout is trying to\n // access a dom node that is no longer there (as the fallback component is being shown instead).\n // See https://github.com/mui/material-ui/issues/33276\n // TODO: Add tests that will ensure the component is not failing when\n // replaced by Suspense with a fallback, once React is updated to version 18\n if (tabsRef.current) {\n updateIndicatorState();\n }\n });\n let resizeObserver;\n\n /**\n * @type {MutationCallback}\n */\n const handleMutation = records => {\n records.forEach(record => {\n record.removedNodes.forEach(item => {\n resizeObserver?.unobserve(item);\n });\n record.addedNodes.forEach(item => {\n resizeObserver?.observe(item);\n });\n });\n handleResize();\n updateScrollButtonState();\n };\n const win = ownerWindow(tabsRef.current);\n win.addEventListener('resize', handleResize);\n let mutationObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(handleResize);\n Array.from(tabListRef.current.children).forEach(child => {\n resizeObserver.observe(child);\n });\n }\n if (typeof MutationObserver !== 'undefined') {\n mutationObserver = new MutationObserver(handleMutation);\n mutationObserver.observe(tabListRef.current, {\n childList: true\n });\n }\n return () => {\n handleResize.clear();\n win.removeEventListener('resize', handleResize);\n mutationObserver?.disconnect();\n resizeObserver?.disconnect();\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n\n /**\n * Toggle visibility of start and end scroll buttons\n * Using IntersectionObserver on first and last Tabs.\n */\n React.useEffect(() => {\n const tabListChildren = Array.from(tabListRef.current.children);\n const length = tabListChildren.length;\n if (typeof IntersectionObserver !== 'undefined' && length > 0 && scrollable && scrollButtons !== false) {\n const firstTab = tabListChildren[0];\n const lastTab = tabListChildren[length - 1];\n const observerOptions = {\n root: tabsRef.current,\n threshold: 0.99\n };\n const handleScrollButtonStart = entries => {\n setDisplayStartScroll(!entries[0].isIntersecting);\n };\n const firstObserver = new IntersectionObserver(handleScrollButtonStart, observerOptions);\n firstObserver.observe(firstTab);\n const handleScrollButtonEnd = entries => {\n setDisplayEndScroll(!entries[0].isIntersecting);\n };\n const lastObserver = new IntersectionObserver(handleScrollButtonEnd, observerOptions);\n lastObserver.observe(lastTab);\n return () => {\n firstObserver.disconnect();\n lastObserver.disconnect();\n };\n }\n return undefined;\n }, [scrollable, scrollButtons, updateScrollObserver, childrenProp?.length]);\n React.useEffect(() => {\n setMounted(true);\n }, []);\n React.useEffect(() => {\n updateIndicatorState();\n });\n React.useEffect(() => {\n // Don't animate on the first render.\n scrollSelectedIntoView(defaultIndicatorStyle !== indicatorStyle);\n }, [scrollSelectedIntoView, indicatorStyle]);\n React.useImperativeHandle(action, () => ({\n updateIndicator: updateIndicatorState,\n updateScrollButtons: updateScrollButtonState\n }), [updateIndicatorState, updateScrollButtonState]);\n const indicator = /*#__PURE__*/_jsx(TabsIndicator, {\n ...TabIndicatorProps,\n className: clsx(classes.indicator, TabIndicatorProps.className),\n ownerState: ownerState,\n style: {\n ...indicatorStyle,\n ...TabIndicatorProps.style\n }\n });\n let childIndex = 0;\n const children = React.Children.map(childrenProp, child => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Tabs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n const childValue = child.props.value === undefined ? childIndex : child.props.value;\n valueToIndex.set(childValue, childIndex);\n const selected = childValue === value;\n childIndex += 1;\n return /*#__PURE__*/React.cloneElement(child, {\n fullWidth: variant === 'fullWidth',\n indicator: selected && !mounted && indicator,\n selected,\n selectionFollowsFocus,\n onChange,\n textColor,\n value: childValue,\n ...(childIndex === 1 && value === false && !child.props.tabIndex ? {\n tabIndex: 0\n } : {})\n });\n });\n const handleKeyDown = event => {\n const list = tabListRef.current;\n const currentFocus = ownerDocument(list).activeElement;\n // Keyboard navigation assumes that [role=\"tab\"] are siblings\n // though we might warn in the future about nested, interactive elements\n // as a a11y violation\n const role = currentFocus.getAttribute('role');\n if (role !== 'tab') {\n return;\n }\n let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';\n let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';\n if (orientation === 'horizontal' && isRtl) {\n // swap previousItemKey with nextItemKey\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n switch (event.key) {\n case previousItemKey:\n event.preventDefault();\n moveFocus(list, currentFocus, previousItem);\n break;\n case nextItemKey:\n event.preventDefault();\n moveFocus(list, currentFocus, nextItem);\n break;\n case 'Home':\n event.preventDefault();\n moveFocus(list, null, nextItem);\n break;\n case 'End':\n event.preventDefault();\n moveFocus(list, null, previousItem);\n break;\n default:\n break;\n }\n };\n const conditionalElements = getConditionalElements();\n return /*#__PURE__*/_jsxs(TabsRoot, {\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref,\n as: component,\n ...other,\n children: [conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/_jsxs(TabsScroller, {\n className: classes.scroller,\n ownerState: ownerState,\n style: {\n overflow: scrollerStyle.overflow,\n [vertical ? `margin${isRtl ? 'Left' : 'Right'}` : 'marginBottom']: visibleScrollbar ? undefined : -scrollerStyle.scrollbarWidth\n },\n ref: tabsRef,\n children: [/*#__PURE__*/_jsx(FlexContainer, {\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-orientation\": orientation === 'vertical' ? 'vertical' : null,\n className: classes.flexContainer,\n ownerState: ownerState,\n onKeyDown: handleKeyDown,\n ref: tabListRef,\n role: \"tablist\",\n children: children\n }), mounted && indicator]\n }), conditionalElements.scrollButtonEnd]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tabs.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Callback fired when the component mounts.\n * This is useful when you want to trigger an action programmatically.\n * It supports two actions: `updateIndicator()` and `updateScrollButtons()`\n *\n * @param {object} actions This object contains all possible actions\n * that can be triggered programmatically.\n */\n action: refType,\n /**\n * If `true`, the scroll buttons aren't forced hidden on mobile.\n * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.\n * @default false\n */\n allowScrollButtonsMobile: PropTypes.bool,\n /**\n * The label for the Tabs as a string.\n */\n 'aria-label': PropTypes.string,\n /**\n * An id or list of ids separated by a space that label the Tabs.\n */\n 'aria-labelledby': PropTypes.string,\n /**\n * If `true`, the tabs are centered.\n * This prop is intended for large views.\n * @default false\n */\n centered: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Determines the color of the indicator.\n * @default 'primary'\n */\n indicatorColor: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),\n /**\n * Callback fired when the value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.\n * @param {any} value We default to the index of the child (number)\n */\n onChange: PropTypes.func,\n /**\n * The component orientation (layout flow direction).\n * @default 'horizontal'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * The component used to render the scroll buttons.\n * @default TabScrollButton\n */\n ScrollButtonComponent: PropTypes.elementType,\n /**\n * Determine behavior of scroll buttons when tabs are set to scroll:\n *\n * - `auto` will only present them when not all the items are visible.\n * - `true` will always present them.\n * - `false` will never present them.\n *\n * By default the scroll buttons are hidden on mobile.\n * This behavior can be disabled with `allowScrollButtonsMobile`.\n * @default 'auto'\n */\n scrollButtons: PropTypes /* @typescript-to-proptypes-ignore */.oneOf(['auto', false, true]),\n /**\n * If `true` the selected tab changes on focus. Otherwise it only\n * changes on activation.\n */\n selectionFollowsFocus: PropTypes.bool,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n * @default {}\n */\n slotProps: PropTypes.shape({\n endScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n startScrollButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n EndScrollButtonIcon: PropTypes.elementType,\n StartScrollButtonIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Props applied to the tab indicator element.\n * @default {}\n */\n TabIndicatorProps: PropTypes.object,\n /**\n * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.\n * @default {}\n */\n TabScrollButtonProps: PropTypes.object,\n /**\n * Determines the color of the `Tab`.\n * @default 'primary'\n */\n textColor: PropTypes.oneOf(['inherit', 'primary', 'secondary']),\n /**\n * The value of the currently selected `Tab`.\n * If you don't want any selected `Tab`, you can set this prop to `false`.\n */\n value: PropTypes.any,\n /**\n * Determines additional display behavior of the tabs:\n *\n * - `scrollable` will invoke scrolling properties and allow for horizontally\n * scrolling (or swiping) of the tab bar.\n * - `fullWidth` will make the tabs grow to use all the available space,\n * which should be used for small views, like on mobile.\n * - `standard` will render the default state.\n * @default 'standard'\n */\n variant: PropTypes.oneOf(['fullWidth', 'scrollable', 'standard']),\n /**\n * If `true`, the scrollbar is visible. It can be useful when displaying\n * a long vertical list of tabs.\n * @default false\n */\n visibleScrollbar: PropTypes.bool\n} : void 0;\nexport default Tabs;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormLabel', slot);\n}\nconst formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);\nexport default formLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport formLabelClasses, { getFormLabelUtilityClasses } from \"./formLabelClasses.js\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n focused,\n disabled,\n error,\n filled,\n required\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', filled && 'filled', focused && 'focused', required && 'required'],\n asterisk: ['asterisk', error && 'error']\n };\n return composeClasses(slots, getFormLabelUtilityClasses, classes);\n};\nexport const FormLabelRoot = styled('label', {\n name: 'MuiFormLabel',\n slot: 'Root',\n overridesResolver: ({\n ownerState\n }, styles) => {\n return {\n ...styles.root,\n ...(ownerState.color === 'secondary' && styles.colorSecondary),\n ...(ownerState.filled && styles.filled)\n };\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n ...theme.typography.body1,\n lineHeight: '1.4375em',\n padding: 0,\n position: 'relative',\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${formLabelClasses.focused}`]: {\n color: (theme.vars || theme).palette[color].main\n }\n }\n })), {\n props: {},\n style: {\n [`&.${formLabelClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n }\n }]\n})));\nconst AsteriskComponent = styled('span', {\n name: 'MuiFormLabel',\n slot: 'Asterisk',\n overridesResolver: (props, styles) => styles.asterisk\n})(memoTheme(({\n theme\n}) => ({\n [`&.${formLabelClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n }\n})));\nconst FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormLabel'\n });\n const {\n children,\n className,\n color,\n component = 'label',\n disabled,\n error,\n filled,\n focused,\n required,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n component,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(FormLabelRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n children: [children, fcs.required && /*#__PURE__*/_jsxs(AsteriskComponent, {\n ownerState: ownerState,\n \"aria-hidden\": true,\n className: classes.asterisk,\n children: [\"\\u2009\", '*']\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n /**\n * If `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default FormLabel;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getInputLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiInputLabel', slot);\n}\nconst inputLabelClasses = generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);\nexport default inputLabelClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '@mui/utils/composeClasses';\nimport clsx from 'clsx';\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport FormLabel, { formLabelClasses } from \"../FormLabel/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getInputLabelUtilityClasses } from \"./inputLabelClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n formControl,\n size,\n shrink,\n disableAnimation,\n variant,\n required\n } = ownerState;\n const slots = {\n root: ['root', formControl && 'formControl', !disableAnimation && 'animated', shrink && 'shrink', size && size !== 'normal' && `size${capitalize(size)}`, variant],\n asterisk: [required && 'asterisk']\n };\n const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);\n return {\n ...classes,\n // forward the focused, disabled, etc. classes to the FormLabel\n ...composedClasses\n };\n};\nconst InputLabelRoot = styled(FormLabel, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiInputLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formLabelClasses.asterisk}`]: styles.asterisk\n }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'block',\n transformOrigin: 'top left',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n variants: [{\n props: ({\n ownerState\n }) => ownerState.formControl,\n style: {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 20px) scale(1)'\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n // Compensation for the `Input.inputSizeSmall` style.\n transform: 'translate(0, 17px) scale(1)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.shrink,\n style: {\n transform: 'translate(0, -1.5px) scale(0.75)',\n transformOrigin: 'top left',\n maxWidth: '133%'\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disableAnimation,\n style: {\n transition: theme.transitions.create(['color', 'transform', 'max-width'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n }\n }, {\n props: {\n variant: 'filled'\n },\n style: {\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n }\n }, {\n props: {\n variant: 'filled',\n size: 'small'\n },\n style: {\n transform: 'translate(12px, 13px) scale(1)'\n }\n }, {\n props: ({\n variant,\n ownerState\n }) => variant === 'filled' && ownerState.shrink,\n style: {\n userSelect: 'none',\n pointerEvents: 'auto',\n transform: 'translate(12px, 7px) scale(0.75)',\n maxWidth: 'calc(133% - 24px)'\n }\n }, {\n props: ({\n variant,\n ownerState,\n size\n }) => variant === 'filled' && ownerState.shrink && size === 'small',\n style: {\n transform: 'translate(12px, 4px) scale(0.75)'\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 16px) scale(1)',\n maxWidth: 'calc(100% - 24px)'\n }\n }, {\n props: {\n variant: 'outlined',\n size: 'small'\n },\n style: {\n transform: 'translate(14px, 9px) scale(1)'\n }\n }, {\n props: ({\n variant,\n ownerState\n }) => variant === 'outlined' && ownerState.shrink,\n style: {\n userSelect: 'none',\n pointerEvents: 'auto',\n // Theoretically, we should have (8+5)*2/0.75 = 34px\n // but it feels a better when it bleeds a bit on the left, so 32px.\n maxWidth: 'calc(133% - 32px)',\n transform: 'translate(14px, -9px) scale(0.75)'\n }\n }]\n})));\nconst InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {\n const props = useDefaultProps({\n name: 'MuiInputLabel',\n props: inProps\n });\n const {\n disableAnimation = false,\n margin,\n shrink: shrinkProp,\n variant,\n className,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n let shrink = shrinkProp;\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['size', 'variant', 'required', 'focused']\n });\n const ownerState = {\n ...props,\n disableAnimation,\n formControl: muiFormControl,\n shrink,\n size: fcs.size,\n variant: fcs.variant,\n required: fcs.required,\n focused: fcs.focused\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(InputLabelRoot, {\n \"data-shrink\": shrink,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the transition animation is disabled.\n * @default false\n */\n disableAnimation: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` of this label is focused.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * if `true`, the label will indicate that the `input` is required.\n */\n required: PropTypes.bool,\n /**\n * If `true`, the label is shrunk.\n */\n shrink: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'normal'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['normal', 'small']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default InputLabel;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getFormHelperTextUtilityClasses(slot) {\n return generateUtilityClass('MuiFormHelperText', slot);\n}\nconst formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);\nexport default formHelperTextClasses;","'use client';\n\nvar _span;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport formControlState from \"../FormControl/formControlState.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport formHelperTextClasses, { getFormHelperTextUtilityClasses } from \"./formHelperTextClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n contained,\n size,\n disabled,\n error,\n filled,\n focused,\n required\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', error && 'error', size && `size${capitalize(size)}`, contained && 'contained', focused && 'focused', filled && 'filled', required && 'required']\n };\n return composeClasses(slots, getFormHelperTextUtilityClasses, classes);\n};\nconst FormHelperTextRoot = styled('p', {\n name: 'MuiFormHelperText',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.size && styles[`size${capitalize(ownerState.size)}`], ownerState.contained && styles.contained, ownerState.filled && styles.filled];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n ...theme.typography.caption,\n textAlign: 'left',\n marginTop: 3,\n marginRight: 0,\n marginBottom: 0,\n marginLeft: 0,\n [`&.${formHelperTextClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled\n },\n [`&.${formHelperTextClasses.error}`]: {\n color: (theme.vars || theme).palette.error.main\n },\n variants: [{\n props: {\n size: 'small'\n },\n style: {\n marginTop: 4\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.contained,\n style: {\n marginLeft: 14,\n marginRight: 14\n }\n }]\n})));\nconst FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiFormHelperText'\n });\n const {\n children,\n className,\n component = 'p',\n disabled,\n error,\n filled,\n focused,\n margin,\n required,\n variant,\n ...other\n } = props;\n const muiFormControl = useFormControl();\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n const ownerState = {\n ...props,\n component,\n contained: fcs.variant === 'filled' || fcs.variant === 'outlined',\n variant: fcs.variant,\n size: fcs.size,\n disabled: fcs.disabled,\n error: fcs.error,\n filled: fcs.filled,\n focused: fcs.focused,\n required: fcs.required\n };\n\n // This issue explains why this is required: https://github.com/mui/material-ui/issues/42184\n delete ownerState.ownerState;\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormHelperTextRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue\n _span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n })) : children\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])\n} : void 0;\nexport default FormHelperText;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTextFieldUtilityClass(slot) {\n return generateUtilityClass('MuiTextField', slot);\n}\nconst textFieldClasses = generateUtilityClasses('MuiTextField', ['root']);\nexport default textFieldClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useId from '@mui/utils/useId';\nimport refType from '@mui/utils/refType';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Input from \"../Input/index.js\";\nimport FilledInput from \"../FilledInput/index.js\";\nimport OutlinedInput from \"../OutlinedInput/index.js\";\nimport InputLabel from \"../InputLabel/index.js\";\nimport FormControl from \"../FormControl/index.js\";\nimport FormHelperText from \"../FormHelperText/index.js\";\nimport Select from \"../Select/index.js\";\nimport { getTextFieldUtilityClass } from \"./textFieldClasses.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTextFieldUtilityClass, classes);\n};\nconst TextFieldRoot = styled(FormControl, {\n name: 'MuiTextField',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({});\n\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/material-ui/api/form-control/)\n * - [InputLabel](/material-ui/api/input-label/)\n * - [FilledInput](/material-ui/api/filled-input/)\n * - [OutlinedInput](/material-ui/api/outlined-input/)\n * - [Input](/material-ui/api/input/)\n * - [FormHelperText](/material-ui/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const inputProps = {\n * step: 300,\n * };\n *\n * return <TextField id=\"time\" type=\"time\" inputProps={inputProps} />;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the upper case props for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\nconst TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTextField'\n });\n const {\n autoComplete,\n autoFocus = false,\n children,\n className,\n color = 'primary',\n defaultValue,\n disabled = false,\n error = false,\n FormHelperTextProps: FormHelperTextPropsProp,\n fullWidth = false,\n helperText,\n id: idOverride,\n InputLabelProps: InputLabelPropsProp,\n inputProps: inputPropsProp,\n InputProps: InputPropsProp,\n inputRef,\n label,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onFocus,\n placeholder,\n required = false,\n rows,\n select = false,\n SelectProps: SelectPropsProp,\n slots = {},\n slotProps = {},\n type,\n value,\n variant = 'outlined',\n ...other\n } = props;\n const ownerState = {\n ...props,\n autoFocus,\n color,\n disabled,\n error,\n fullWidth,\n multiline,\n required,\n select,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n const id = useId(idOverride);\n const helperTextId = helperText && id ? `${id}-helper-text` : undefined;\n const inputLabelId = label && id ? `${id}-label` : undefined;\n const InputComponent = variantComponent[variant];\n const externalForwardedProps = {\n slots,\n slotProps: {\n input: InputPropsProp,\n inputLabel: InputLabelPropsProp,\n htmlInput: inputPropsProp,\n formHelperText: FormHelperTextPropsProp,\n select: SelectPropsProp,\n ...slotProps\n }\n };\n const inputAdditionalProps = {};\n const inputLabelSlotProps = externalForwardedProps.slotProps.inputLabel;\n if (variant === 'outlined') {\n if (inputLabelSlotProps && typeof inputLabelSlotProps.shrink !== 'undefined') {\n inputAdditionalProps.notched = inputLabelSlotProps.shrink;\n }\n inputAdditionalProps.label = label;\n }\n if (select) {\n // unset defaults from textbox inputs\n if (!SelectPropsProp || !SelectPropsProp.native) {\n inputAdditionalProps.id = undefined;\n }\n inputAdditionalProps['aria-describedby'] = undefined;\n }\n const [InputSlot, inputProps] = useSlot('input', {\n elementType: InputComponent,\n externalForwardedProps,\n additionalProps: inputAdditionalProps,\n ownerState\n });\n const [InputLabelSlot, inputLabelProps] = useSlot('inputLabel', {\n elementType: InputLabel,\n externalForwardedProps,\n ownerState\n });\n const [HtmlInputSlot, htmlInputProps] = useSlot('htmlInput', {\n elementType: 'input',\n externalForwardedProps,\n ownerState\n });\n const [FormHelperTextSlot, formHelperTextProps] = useSlot('formHelperText', {\n elementType: FormHelperText,\n externalForwardedProps,\n ownerState\n });\n const [SelectSlot, selectProps] = useSlot('select', {\n elementType: Select,\n externalForwardedProps,\n ownerState\n });\n const InputElement = /*#__PURE__*/_jsx(InputSlot, {\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n maxRows: maxRows,\n minRows: minRows,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n placeholder: placeholder,\n inputProps: htmlInputProps,\n slots: {\n input: slots.htmlInput ? HtmlInputSlot : undefined\n },\n ...inputProps\n });\n return /*#__PURE__*/_jsxs(TextFieldRoot, {\n className: clsx(classes.root, className),\n disabled: disabled,\n error: error,\n fullWidth: fullWidth,\n ref: ref,\n required: required,\n color: color,\n variant: variant,\n ownerState: ownerState,\n ...other,\n children: [label != null && label !== '' && /*#__PURE__*/_jsx(InputLabelSlot, {\n htmlFor: id,\n id: inputLabelId,\n ...inputLabelProps,\n children: label\n }), select ? /*#__PURE__*/_jsx(SelectSlot, {\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement,\n ...selectProps,\n children: children\n }) : InputElement, helperText && /*#__PURE__*/_jsx(FormHelperTextSlot, {\n id: helperTextId,\n ...formHelperTextProps,\n children: helperText\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the label is displayed in an error state.\n * @default false\n */\n error: PropTypes.bool,\n /**\n * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.\n * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n FormHelperTextProps: PropTypes.object,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n /**\n * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.\n * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.\n * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n InputLabelProps: PropTypes.object,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n inputProps: PropTypes.object,\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),\n * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)\n * component depending on the `variant` prop value.\n * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n InputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * The label content.\n */\n label: PropTypes.node,\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n * @default 'none'\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a `textarea` element is rendered instead of an input.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * If `true`, the label is displayed as required and the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n * @default false\n */\n select: PropTypes.bool,\n /**\n * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.\n * @deprecated Use `slotProps.select` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n SelectProps: PropTypes.object,\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes /* @typescript-to-proptypes-ignore */.shape({\n formHelperText: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n htmlInput: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n inputLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n select: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n formHelperText: PropTypes.elementType,\n htmlInput: PropTypes.elementType,\n input: PropTypes.elementType,\n inputLabel: PropTypes.elementType,\n select: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n /**\n * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default TextField;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflowing;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value,\n ...other\n } = props;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, inputRef);\n const heightRef = React.useRef(null);\n const shadowRef = React.useRef(null);\n const calculateTextareaStyles = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0,\n overflowing: false\n };\n }\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = inputShallow.scrollHeight;\n\n // Measure height of a textarea with a single row\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflowing = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflowing\n };\n }, [maxRows, minRows, props.placeholder]);\n const syncHeight = React.useCallback(() => {\n const textareaStyles = calculateTextareaStyles();\n if (isEmpty(textareaStyles)) {\n return;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n const input = inputRef.current;\n if (heightRef.current !== outerHeightStyle) {\n heightRef.current = outerHeightStyle;\n input.style.height = `${outerHeightStyle}px`;\n }\n input.style.overflow = textareaStyles.overflowing ? 'hidden' : '';\n }, [calculateTextareaStyles]);\n useEnhancedEffect(() => {\n const handleResize = () => {\n syncHeight();\n };\n // Workaround a \"ResizeObserver loop completed with undelivered notifications\" error\n // in test.\n // Note that we might need to use this logic in production per https://github.com/WICG/resize-observer/issues/38\n // Also see https://github.com/mui/mui-x/issues/8733\n let rAF;\n const rAFHandleResize = () => {\n cancelAnimationFrame(rAF);\n rAF = requestAnimationFrame(() => {\n handleResize();\n });\n };\n const debounceHandleResize = debounce(handleResize);\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n containerWindow.addEventListener('resize', debounceHandleResize);\n let resizeObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(process.env.NODE_ENV === 'test' ? rAFHandleResize : handleResize);\n resizeObserver.observe(input);\n }\n return () => {\n debounceHandleResize.clear();\n cancelAnimationFrame(rAF);\n containerWindow.removeEventListener('resize', debounceHandleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [calculateTextareaStyles, syncHeight]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n const handleChange = event => {\n if (!isControlled) {\n syncHeight();\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", {\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: style,\n ...other\n }), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: {\n ...styles.shadow,\n ...style,\n paddingTop: 0,\n paddingBottom: 0\n }\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled, internal_createExtendSxProp } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { getTypographyUtilityClass } from \"./typographyClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst extendSxProp = internal_createExtendSxProp();\nconst useUtilityClasses = ownerState => {\n const {\n align,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']\n };\n return composeClasses(slots, getTypographyUtilityClass, classes);\n};\nexport const TypographyRoot = styled('span', {\n name: 'MuiTypography',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 0,\n variants: [{\n props: {\n variant: 'inherit'\n },\n style: {\n // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.\n font: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n }, ...Object.entries(theme.typography).filter(([variant, value]) => variant !== 'inherit' && value && typeof value === 'object').map(([variant, value]) => ({\n props: {\n variant\n },\n style: value\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette?.text || {}).filter(([, value]) => typeof value === 'string').map(([color]) => ({\n props: {\n color: `text${capitalize(color)}`\n },\n style: {\n color: (theme.vars || theme).palette.text[color]\n }\n })), {\n props: ({\n ownerState\n }) => ownerState.align !== 'inherit',\n style: {\n textAlign: 'var(--Typography-textAlign)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.noWrap,\n style: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.gutterBottom,\n style: {\n marginBottom: '0.35em'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.paragraph,\n style: {\n marginBottom: 16\n }\n }]\n})));\nconst defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p',\n inherit: 'p'\n};\nconst Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {\n const {\n color,\n ...themeProps\n } = useDefaultProps({\n props: inProps,\n name: 'MuiTypography'\n });\n const isSxColor = !v6Colors[color];\n // TODO: Remove `extendSxProp` in v7\n const props = extendSxProp({\n ...themeProps,\n ...(isSxColor && {\n color\n })\n });\n const {\n align = 'inherit',\n className,\n component,\n gutterBottom = false,\n noWrap = false,\n paragraph = false,\n variant = 'body1',\n variantMapping = defaultVariantMapping,\n ...other\n } = props;\n const ownerState = {\n ...props,\n align,\n color,\n className,\n component,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n variantMapping\n };\n const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TypographyRoot, {\n as: Component,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n style: {\n ...(align !== 'inherit' && {\n '--Typography-textAlign': align\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Set the text-align on the component.\n * @default 'inherit'\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the text will have a bottom margin.\n * @default false\n */\n gutterBottom: PropTypes.bool,\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n * @default false\n */\n noWrap: PropTypes.bool,\n /**\n * If `true`, the element will be a paragraph element.\n * @default false\n * @deprecated Use the `component` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n paragraph: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Applies the theme typography styles.\n * @default 'body1'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string]),\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to `<h6>`.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n * @default {\n * h1: 'h1',\n * h2: 'h2',\n * h3: 'h3',\n * h4: 'h4',\n * h5: 'h5',\n * h6: 'h6',\n * subtitle1: 'h6',\n * subtitle2: 'h6',\n * body1: 'p',\n * body2: 'p',\n * inherit: 'p',\n * }\n */\n variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object\n} : void 0;\nexport default Typography;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTypographyUtilityClass(slot) {\n return generateUtilityClass('MuiTypography', slot);\n}\nconst typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);\nexport default typographyClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSwitchBaseUtilityClass(slot) {\n return generateUtilityClass('PrivateSwitchBase', slot);\n}\nconst switchBaseClasses = generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);\nexport default switchBaseClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport useControlled from \"../utils/useControlled.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { getSwitchBaseUtilityClass } from \"./switchBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n checked,\n disabled,\n edge\n } = ownerState;\n const slots = {\n root: ['root', checked && 'checked', disabled && 'disabled', edge && `edge${capitalize(edge)}`],\n input: ['input']\n };\n return composeClasses(slots, getSwitchBaseUtilityClass, classes);\n};\nconst SwitchBaseRoot = styled(ButtonBase)({\n padding: 9,\n borderRadius: '50%',\n variants: [{\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: ({\n edge,\n ownerState\n }) => edge === 'start' && ownerState.size !== 'small',\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }, {\n props: ({\n edge,\n ownerState\n }) => edge === 'end' && ownerState.size !== 'small',\n style: {\n marginRight: -12\n }\n }]\n});\nconst SwitchBaseInput = styled('input', {\n shouldForwardProp: rootShouldForwardProp\n})({\n cursor: 'inherit',\n position: 'absolute',\n opacity: 0,\n width: '100%',\n height: '100%',\n top: 0,\n left: 0,\n margin: 0,\n padding: 0,\n zIndex: 1\n});\n\n/**\n * @ignore - internal component.\n */\nconst SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref) {\n const {\n autoFocus,\n checked: checkedProp,\n checkedIcon,\n className,\n defaultChecked,\n disabled: disabledProp,\n disableFocusRipple = false,\n edge = false,\n icon,\n id,\n inputProps,\n inputRef,\n name,\n onBlur,\n onChange,\n onFocus,\n readOnly,\n required = false,\n tabIndex,\n type,\n value,\n ...other\n } = props;\n const [checked, setCheckedState] = useControlled({\n controlled: checkedProp,\n default: Boolean(defaultChecked),\n name: 'SwitchBase',\n state: 'checked'\n });\n const muiFormControl = useFormControl();\n const handleFocus = event => {\n if (onFocus) {\n onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n }\n };\n const handleInputChange = event => {\n // Workaround for https://github.com/facebook/react/issues/9023\n if (event.nativeEvent.defaultPrevented) {\n return;\n }\n const newChecked = event.target.checked;\n setCheckedState(newChecked);\n if (onChange) {\n // TODO v6: remove the second argument.\n onChange(event, newChecked);\n }\n };\n let disabled = disabledProp;\n if (muiFormControl) {\n if (typeof disabled === 'undefined') {\n disabled = muiFormControl.disabled;\n }\n }\n const hasLabelFor = type === 'checkbox' || type === 'radio';\n const ownerState = {\n ...props,\n checked,\n disabled,\n disableFocusRipple,\n edge\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SwitchBaseRoot, {\n component: \"span\",\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n tabIndex: null,\n role: undefined,\n onFocus: handleFocus,\n onBlur: handleBlur,\n ownerState: ownerState,\n ref: ref,\n ...other,\n children: [/*#__PURE__*/_jsx(SwitchBaseInput, {\n autoFocus: autoFocus,\n checked: checkedProp,\n defaultChecked: defaultChecked,\n className: classes.input,\n disabled: disabled,\n id: hasLabelFor ? id : undefined,\n name: name,\n onChange: handleInputChange,\n readOnly: readOnly,\n ref: inputRef,\n required: required,\n ownerState: ownerState,\n tabIndex: tabIndex,\n type: type,\n ...(type === 'checkbox' && value === undefined ? {} : {\n value\n }),\n ...inputProps\n }), checked ? checkedIcon : icon]\n });\n});\n\n// NB: If changed, please update Checkbox, Switch and Radio\n// so that the API documentation is updated.\nprocess.env.NODE_ENV !== \"production\" ? SwitchBase.propTypes = {\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node.isRequired,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node.isRequired,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /*\n * @ignore\n */\n name: PropTypes.string,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * If `true`, the `input` element is required.\n */\n required: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.object,\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The input component prop `type`.\n */\n type: PropTypes.string.isRequired,\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default SwitchBase;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n *\n * Alias to `Clear`.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');","const common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","const grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#f5f5f5',\n A200: '#eeeeee',\n A400: '#bdbdbd',\n A700: '#616161'\n};\nexport default grey;","const purple = {\n 50: '#f3e5f5',\n 100: '#e1bee7',\n 200: '#ce93d8',\n 300: '#ba68c8',\n 400: '#ab47bc',\n 500: '#9c27b0',\n 600: '#8e24aa',\n 700: '#7b1fa2',\n 800: '#6a1b9a',\n 900: '#4a148c',\n A100: '#ea80fc',\n A200: '#e040fb',\n A400: '#d500f9',\n A700: '#aa00ff'\n};\nexport default purple;","const red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","const orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;","const blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;","const lightBlue = {\n 50: '#e1f5fe',\n 100: '#b3e5fc',\n 200: '#81d4fa',\n 300: '#4fc3f7',\n 400: '#29b6f6',\n 500: '#03a9f4',\n 600: '#039be5',\n 700: '#0288d1',\n 800: '#0277bd',\n 900: '#01579b',\n A100: '#80d8ff',\n A200: '#40c4ff',\n A400: '#00b0ff',\n A700: '#0091ea'\n};\nexport default lightBlue;","const green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nexport default green;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from \"../colors/common.js\";\nimport grey from \"../colors/grey.js\";\nimport purple from \"../colors/purple.js\";\nimport red from \"../colors/red.js\";\nimport orange from \"../colors/orange.js\";\nimport blue from \"../colors/blue.js\";\nimport lightBlue from \"../colors/lightBlue.js\";\nimport green from \"../colors/green.js\";\nfunction getLight() {\n return {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n };\n}\nexport const light = getLight();\nfunction getDark() {\n return {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n };\n}\nexport const dark = getDark();\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2,\n ...other\n } = palette;\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = {\n ...color\n };\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\\n` + `The color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\\n` + `\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\\n` + '\\n' + 'Did you intend to use one of the following approaches?\\n' + '\\n' + 'import { green } from \"@mui/material/colors\";\\n' + '\\n' + 'const theme1 = createTheme({ palette: {\\n' + ' primary: green,\\n' + '} });\\n' + '\\n' + 'const theme2 = createTheme({ palette: {\\n' + ' primary: { main: green[500] },\\n' + '} });' : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n let modeHydrated;\n if (mode === 'light') {\n modeHydrated = getLight();\n } else if (mode === 'dark') {\n modeHydrated = getDark();\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!modeHydrated) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge({\n // A collection of common colors.\n common: {\n ...common\n },\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset,\n // The light and dark mode object.\n ...modeHydrated\n }, other);\n return paletteOutput;\n}","/**\n * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable\n * and they does not need to remember the prefix (defined once).\n */\nexport default function createGetCssVar(prefix = '') {\n function appendVar(...vars) {\n if (!vars.length) {\n return '';\n }\n const value = vars[0];\n if (typeof value === 'string' && !value.match(/(#|\\(|\\)|(-?(\\d*\\.)?\\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\\d*\\.)?\\d+)$|(\\d+ \\d+ \\d+)/)) {\n return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;\n }\n return `, ${value}`;\n }\n\n // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.\n const getCssVar = (field, ...fallbacks) => {\n return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;\n };\n return getCssVar;\n}","export default function prepareTypographyVars(typography) {\n const vars = {};\n const entries = Object.entries(typography);\n entries.forEach(entry => {\n const [key, value] = entry;\n if (typeof value === 'object') {\n vars[key] = `${value.fontStyle ? `${value.fontStyle} ` : ''}${value.fontVariant ? `${value.fontVariant} ` : ''}${value.fontWeight ? `${value.fontWeight} ` : ''}${value.fontStretch ? `${value.fontStretch} ` : ''}${value.fontSize || ''}${value.lineHeight ? `/${value.lineHeight} ` : ''}${value.fontFamily || ''}`;\n }\n });\n return vars;\n}","/**\n * This function create an object from keys, value and then assign to target\n *\n * @param {Object} obj : the target object to be assigned\n * @param {string[]} keys\n * @param {string | number} value\n *\n * @example\n * const source = {}\n * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }\n *\n * @example\n * const source = { palette: { primary: 'var(--palette-primary)' } }\n * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }\n */\nexport const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {\n let temp = obj;\n keys.forEach((k, index) => {\n if (index === keys.length - 1) {\n if (Array.isArray(temp)) {\n temp[Number(k)] = value;\n } else if (temp && typeof temp === 'object') {\n temp[k] = value;\n }\n } else if (temp && typeof temp === 'object') {\n if (!temp[k]) {\n temp[k] = arrayKeys.includes(k) ? [] : {};\n }\n temp = temp[k];\n }\n });\n};\n\n/**\n *\n * @param {Object} obj : source object\n * @param {Function} callback : a function that will be called when\n * - the deepest key in source object is reached\n * - the value of the deepest key is NOT `undefined` | `null`\n *\n * @example\n * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)\n * // ['palette', 'primary', 'main'] '#000000'\n */\nexport const walkObjectDeep = (obj, callback, shouldSkipPaths) => {\n function recurse(object, parentKeys = [], arrayKeys = []) {\n Object.entries(object).forEach(([key, value]) => {\n if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {\n if (value !== undefined && value !== null) {\n if (typeof value === 'object' && Object.keys(value).length > 0) {\n recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);\n } else {\n callback([...parentKeys, key], value, arrayKeys);\n }\n }\n }\n });\n }\n recurse(obj);\n};\nconst getCssValue = (keys, value) => {\n if (typeof value === 'number') {\n if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {\n // CSS property that are unitless\n return value;\n }\n const lastKey = keys[keys.length - 1];\n if (lastKey.toLowerCase().includes('opacity')) {\n // opacity values are unitless\n return value;\n }\n return `${value}px`;\n }\n return value;\n};\n\n/**\n * a function that parse theme and return { css, vars }\n *\n * @param {Object} theme\n * @param {{\n * prefix?: string,\n * shouldSkipGeneratingVar?: (objectPathKeys: Array<string>, value: string | number) => boolean\n * }} options.\n * `prefix`: The prefix of the generated CSS variables. This function does not change the value.\n *\n * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).\n *\n * @example\n * const { css, vars } = parser({\n * fontSize: 12,\n * lineHeight: 1.2,\n * palette: { primary: { 500: 'var(--color)' } }\n * }, { prefix: 'foo' })\n *\n * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }\n * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }\n */\nexport default function cssVarsParser(theme, options) {\n const {\n prefix,\n shouldSkipGeneratingVar\n } = options || {};\n const css = {};\n const vars = {};\n const varsWithDefaults = {};\n walkObjectDeep(theme, (keys, value, arrayKeys) => {\n if (typeof value === 'string' || typeof value === 'number') {\n if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {\n // only create css & var if `shouldSkipGeneratingVar` return false\n const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;\n const resolvedValue = getCssValue(keys, value);\n Object.assign(css, {\n [cssVar]: resolvedValue\n });\n assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);\n assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);\n }\n }\n }, keys => keys[0] === 'vars' // skip 'vars/*' paths\n );\n return {\n css,\n vars,\n varsWithDefaults\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nimport cssVarsParser from \"./cssVarsParser.js\";\nfunction prepareCssVars(theme, parserConfig = {}) {\n const {\n getSelector = defaultGetSelector,\n disableCssColorScheme,\n colorSchemeSelector: selector\n } = parserConfig;\n // @ts-ignore - ignore components do not exist\n const {\n colorSchemes = {},\n components,\n defaultColorScheme = 'light',\n ...otherTheme\n } = theme;\n const {\n vars: rootVars,\n css: rootCss,\n varsWithDefaults: rootVarsWithDefaults\n } = cssVarsParser(otherTheme, parserConfig);\n let themeVars = rootVarsWithDefaults;\n const colorSchemesMap = {};\n const {\n [defaultColorScheme]: defaultScheme,\n ...otherColorSchemes\n } = colorSchemes;\n Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {\n const {\n vars,\n css,\n varsWithDefaults\n } = cssVarsParser(scheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[key] = {\n css,\n vars\n };\n });\n if (defaultScheme) {\n // default color scheme vars should be merged last to set as default\n const {\n css,\n vars,\n varsWithDefaults\n } = cssVarsParser(defaultScheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[defaultColorScheme] = {\n css,\n vars\n };\n }\n function defaultGetSelector(colorScheme, cssObject) {\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-joy-color-scheme' -> '[data-joy-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (colorScheme) {\n if (rule === 'media') {\n if (theme.defaultColorScheme === colorScheme) {\n return ':root';\n }\n const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;\n return {\n [`@media (prefers-color-scheme: ${mode})`]: {\n ':root': cssObject\n }\n };\n }\n if (rule) {\n if (theme.defaultColorScheme === colorScheme) {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n }\n const generateThemeVars = () => {\n let vars = {\n ...rootVars\n };\n Object.entries(colorSchemesMap).forEach(([, {\n vars: schemeVars\n }]) => {\n vars = deepmerge(vars, schemeVars);\n });\n return vars;\n };\n const generateStyleSheets = () => {\n const stylesheets = [];\n const colorScheme = theme.defaultColorScheme || 'light';\n function insertStyleSheet(key, css) {\n if (Object.keys(css).length) {\n stylesheets.push(typeof key === 'string' ? {\n [key]: {\n ...css\n }\n } : key);\n }\n }\n insertStyleSheet(getSelector(undefined, {\n ...rootCss\n }), rootCss);\n const {\n [colorScheme]: defaultSchemeVal,\n ...other\n } = colorSchemesMap;\n if (defaultSchemeVal) {\n // default color scheme has to come before other color schemes\n const {\n css\n } = defaultSchemeVal;\n const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(colorScheme, {\n ...finalCss\n }), finalCss);\n }\n Object.entries(other).forEach(([key, {\n css\n }]) => {\n const cssColorSheme = colorSchemes[key]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(key, {\n ...finalCss\n }), finalCss);\n });\n return stylesheets;\n };\n return {\n vars: themeVars,\n generateThemeVars,\n generateStyleSheets\n };\n}\nexport default prepareCssVars;","const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = {\n ...easing,\n ...inputTransitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...inputTransitions.duration\n };\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return {\n getAutoHeightDuration,\n create,\n ...inputTransitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","/* eslint-disable import/prefer-default-export */\nimport { isPlainObject } from '@mui/utils/deepmerge';\nfunction isSerializable(val) {\n return isPlainObject(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);\n}\n\n/**\n * `baseTheme` usually comes from `createTheme` or `extendTheme`.\n *\n * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS\n * For example, in a Next.js project:\n *\n * ```js\n * // next.config.js\n * const { extendTheme } = require('@mui/material/styles');\n *\n * const theme = extendTheme();\n * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.\n * theme.toRuntimeSource = stringifyTheme;\n *\n * module.exports = withPigment({\n * theme,\n * });\n * ```\n */\nexport function stringifyTheme(baseTheme = {}) {\n const serializableTheme = {\n ...baseTheme\n };\n function serializeTheme(object) {\n const array = Object.entries(object);\n // eslint-disable-next-line no-plusplus\n for (let index = 0; index < array.length; index++) {\n const [key, value] = array[index];\n if (!isSerializable(value) || key.startsWith('unstable_')) {\n delete object[key];\n } else if (isPlainObject(value)) {\n object[key] = {\n ...value\n };\n serializeTheme(object[key]);\n }\n }\n }\n serializeTheme(serializableTheme);\n return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(serializableTheme, null, 2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`;\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.js\";\nimport createPalette from \"./createPalette.js\";\nimport createTypography from \"./createTypography.js\";\nimport shadows from \"./shadows.js\";\nimport createTransitions from \"./createTransitions.js\";\nimport zIndex from \"./zIndex.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n ...other\n } = options;\n if (options.vars) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: `vars` is a private field used for CSS variables support.\\n' + 'Please use another name.' : _formatMuiErrorMessage(20));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n muiTheme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createThemeNoVars(...args);\n}\nexport default createThemeNoVars;","export default function createMixins(breakpoints, mixins) {\n return {\n toolbar: {\n minHeight: 56,\n [breakpoints.up('xs')]: {\n '@media (orientation: landscape)': {\n minHeight: 48\n }\n },\n [breakpoints.up('sm')]: {\n minHeight: 64\n }\n },\n ...mixins\n };\n}","import createPalette from \"./createPalette.js\";\nimport getOverlayAlpha from \"./getOverlayAlpha.js\";\nconst defaultDarkOverlays = [...Array(25)].map((_, index) => {\n if (index === 0) {\n return 'none';\n }\n const overlay = getOverlayAlpha(index);\n return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;\n});\nexport function getOpacity(mode) {\n return {\n inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,\n inputUnderline: mode === 'dark' ? 0.7 : 0.42,\n switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,\n switchTrack: mode === 'dark' ? 0.3 : 0.38\n };\n}\nexport function getOverlays(mode) {\n return mode === 'dark' ? defaultDarkOverlays : [];\n}\nexport default function createColorScheme(options) {\n const {\n palette: paletteInput = {\n mode: 'light'\n },\n // need to cast to avoid module augmentation test\n opacity,\n overlays,\n ...rest\n } = options;\n const palette = createPalette(paletteInput);\n return {\n palette,\n opacity: {\n ...getOpacity(palette.mode),\n ...opacity\n },\n overlays: overlays || getOverlays(palette.mode),\n ...rest\n };\n}","export default function shouldSkipGeneratingVar(keys) {\n return !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||\n // ends with sxConfig\n keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);\n}","/**\n * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme=\"dark\"`\n */\nconst excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];\nexport default excludeVariablesFromRoot;","import excludeVariablesFromRoot from \"./excludeVariablesFromRoot.js\";\nexport default theme => (colorScheme, css) => {\n const root = theme.rootSelector || ':root';\n const selector = theme.colorSchemeSelector;\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (theme.defaultColorScheme === colorScheme) {\n if (colorScheme === 'dark') {\n const excludedVariables = {};\n excludeVariablesFromRoot(theme.cssVarPrefix).forEach(cssVar => {\n excludedVariables[cssVar] = css[cssVar];\n delete css[cssVar];\n });\n if (rule === 'media') {\n return {\n [root]: css,\n [`@media (prefers-color-scheme: dark)`]: {\n [root]: excludedVariables\n }\n };\n }\n if (rule) {\n return {\n [rule.replace('%s', colorScheme)]: excludedVariables,\n [`${root}, ${rule.replace('%s', colorScheme)}`]: css\n };\n }\n return {\n [root]: {\n ...css,\n ...excludedVariables\n }\n };\n }\n if (rule && rule !== 'media') {\n return `${root}, ${rule.replace('%s', String(colorScheme))}`;\n }\n } else if (colorScheme) {\n if (rule === 'media') {\n return {\n [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {\n [root]: css\n }\n };\n }\n if (rule) {\n return rule.replace('%s', String(colorScheme));\n }\n }\n return root;\n};","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';\nimport { createUnarySpacing } from '@mui/system/spacing';\nimport { prepareCssVars, prepareTypographyVars, createGetColorSchemeSelector } from '@mui/system/cssVars';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nimport createColorScheme, { getOpacity, getOverlays } from \"./createColorScheme.js\";\nimport defaultShouldSkipGeneratingVar from \"./shouldSkipGeneratingVar.js\";\nimport defaultGetSelector from \"./createGetSelector.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction assignNode(obj, keys) {\n keys.forEach(k => {\n if (!obj[k]) {\n obj[k] = {};\n }\n });\n}\nfunction setColor(obj, key, defaultValue) {\n if (!obj[key] && defaultValue) {\n obj[key] = defaultValue;\n }\n}\nfunction toRgb(color) {\n if (!color || !color.startsWith('hsl')) {\n return color;\n }\n return hslToRgb(color);\n}\nfunction setColorChannel(obj, key) {\n if (!(`${key}Channel` in obj)) {\n // custom channel token is not provided, generate one.\n // if channel token can't be generated, show a warning.\n obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \\`palette.${key}Channel\\` because \\`palette.${key}\\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\\n' + `To suppress this warning, you need to explicitly provide the \\`palette.${key}Channel\\` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token.`);\n }\n}\nfunction getSpacingVal(spacingInput) {\n if (typeof spacingInput === 'number') {\n return `${spacingInput}px`;\n }\n if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {\n return spacingInput;\n }\n return '8px';\n}\nconst silent = fn => {\n try {\n return fn();\n } catch (error) {\n // ignore error\n }\n return undefined;\n};\nexport const createGetCssVar = (cssVarPrefix = 'mui') => systemCreateGetCssVar(cssVarPrefix);\nfunction attachColorScheme(colorSchemes, scheme, restTheme, colorScheme) {\n if (!scheme) {\n return undefined;\n }\n scheme = scheme === true ? {} : scheme;\n const mode = colorScheme === 'dark' ? 'dark' : 'light';\n if (!restTheme) {\n colorSchemes[colorScheme] = createColorScheme({\n ...scheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n return undefined;\n }\n const {\n palette,\n ...muiTheme\n } = createThemeNoVars({\n ...restTheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n colorSchemes[colorScheme] = {\n ...scheme,\n palette,\n opacity: {\n ...getOpacity(mode),\n ...scheme?.opacity\n },\n overlays: scheme?.overlays || getOverlays(mode)\n };\n return muiTheme;\n}\n\n/**\n * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.\n * This is better suited for apps that only need a single color scheme.\n *\n * To enable built-in `light` and `dark` color schemes, either:\n * 1. provide a `colorSchemeSelector` to define how the color schemes will change.\n * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.\n */\nexport default function createThemeWithVars(options = {}, ...args) {\n const {\n colorSchemes: colorSchemesInput = {\n light: true\n },\n defaultColorScheme: defaultColorSchemeInput,\n disableCssColorScheme = false,\n cssVarPrefix = 'mui',\n shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,\n colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,\n rootSelector = ':root',\n ...input\n } = options;\n const firstColorScheme = Object.keys(colorSchemesInput)[0];\n const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);\n const getCssVar = createGetCssVar(cssVarPrefix);\n const {\n [defaultColorScheme]: defaultSchemeInput,\n light: builtInLight,\n dark: builtInDark,\n ...customColorSchemes\n } = colorSchemesInput;\n const colorSchemes = {\n ...customColorSchemes\n };\n let defaultScheme = defaultSchemeInput;\n\n // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.\n if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {\n defaultScheme = true;\n }\n if (!defaultScheme) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The \\`colorSchemes.${defaultColorScheme}\\` option is either missing or invalid.` : _formatMuiErrorMessage(21, defaultColorScheme));\n }\n\n // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.\n const muiTheme = attachColorScheme(colorSchemes, defaultScheme, input, defaultColorScheme);\n if (builtInLight && !colorSchemes.light) {\n attachColorScheme(colorSchemes, builtInLight, undefined, 'light');\n }\n if (builtInDark && !colorSchemes.dark) {\n attachColorScheme(colorSchemes, builtInDark, undefined, 'dark');\n }\n let theme = {\n defaultColorScheme,\n ...muiTheme,\n cssVarPrefix,\n colorSchemeSelector: selector,\n rootSelector,\n getCssVar,\n colorSchemes,\n font: {\n ...prepareTypographyVars(muiTheme.typography),\n ...muiTheme.font\n },\n spacing: getSpacingVal(input.spacing)\n };\n Object.keys(theme.colorSchemes).forEach(key => {\n const palette = theme.colorSchemes[key].palette;\n const setCssVarColor = cssVar => {\n const tokens = cssVar.split('-');\n const color = tokens[1];\n const colorToken = tokens[2];\n return getCssVar(cssVar, palette[color][colorToken]);\n };\n\n // attach black & white channels to common node\n if (palette.mode === 'light') {\n setColor(palette.common, 'background', '#fff');\n setColor(palette.common, 'onBackground', '#000');\n }\n if (palette.mode === 'dark') {\n setColor(palette.common, 'background', '#000');\n setColor(palette.common, 'onBackground', '#fff');\n }\n\n // assign component variables\n assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);\n if (palette.mode === 'light') {\n setColor(palette.Alert, 'errorColor', safeDarken(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeDarken(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeDarken(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeDarken(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));\n setColor(palette.Alert, 'errorStandardBg', safeLighten(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeLighten(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeLighten(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeLighten(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));\n setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeLighten(palette.primary.main, 0.62));\n setColor(palette.LinearProgress, 'secondaryBg', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.LinearProgress, 'errorBg', safeLighten(palette.error.main, 0.62));\n setColor(palette.LinearProgress, 'infoBg', safeLighten(palette.info.main, 0.62));\n setColor(palette.LinearProgress, 'successBg', safeLighten(palette.success.main, 0.62));\n setColor(palette.LinearProgress, 'warningBg', safeLighten(palette.warning.main, 0.62));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);\n setColor(palette.Slider, 'primaryTrack', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Slider, 'secondaryTrack', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Slider, 'errorTrack', safeLighten(palette.error.main, 0.62));\n setColor(palette.Slider, 'infoTrack', safeLighten(palette.info.main, 0.62));\n setColor(palette.Slider, 'successTrack', safeLighten(palette.success.main, 0.62));\n setColor(palette.Slider, 'warningTrack', safeLighten(palette.warning.main, 0.62));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.8);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));\n setColor(palette.Switch, 'primaryDisabledColor', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Switch, 'secondaryDisabledColor', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Switch, 'errorDisabledColor', safeLighten(palette.error.main, 0.62));\n setColor(palette.Switch, 'infoDisabledColor', safeLighten(palette.info.main, 0.62));\n setColor(palette.Switch, 'successDisabledColor', safeLighten(palette.success.main, 0.62));\n setColor(palette.Switch, 'warningDisabledColor', safeLighten(palette.warning.main, 0.62));\n setColor(palette.TableCell, 'border', safeLighten(safeAlpha(palette.divider, 1), 0.88));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n if (palette.mode === 'dark') {\n setColor(palette.Alert, 'errorColor', safeLighten(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeLighten(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeLighten(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeLighten(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));\n setColor(palette.Alert, 'errorStandardBg', safeDarken(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeDarken(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeDarken(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeDarken(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));\n setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode\n setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));\n setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeDarken(palette.primary.main, 0.5));\n setColor(palette.LinearProgress, 'secondaryBg', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.LinearProgress, 'errorBg', safeDarken(palette.error.main, 0.5));\n setColor(palette.LinearProgress, 'infoBg', safeDarken(palette.info.main, 0.5));\n setColor(palette.LinearProgress, 'successBg', safeDarken(palette.success.main, 0.5));\n setColor(palette.LinearProgress, 'warningBg', safeDarken(palette.warning.main, 0.5));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);\n setColor(palette.Slider, 'primaryTrack', safeDarken(palette.primary.main, 0.5));\n setColor(palette.Slider, 'secondaryTrack', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.Slider, 'errorTrack', safeDarken(palette.error.main, 0.5));\n setColor(palette.Slider, 'infoTrack', safeDarken(palette.info.main, 0.5));\n setColor(palette.Slider, 'successTrack', safeDarken(palette.success.main, 0.5));\n setColor(palette.Slider, 'warningTrack', safeDarken(palette.warning.main, 0.5));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.98);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'primaryDisabledColor', safeDarken(palette.primary.main, 0.55));\n setColor(palette.Switch, 'secondaryDisabledColor', safeDarken(palette.secondary.main, 0.55));\n setColor(palette.Switch, 'errorDisabledColor', safeDarken(palette.error.main, 0.55));\n setColor(palette.Switch, 'infoDisabledColor', safeDarken(palette.info.main, 0.55));\n setColor(palette.Switch, 'successDisabledColor', safeDarken(palette.success.main, 0.55));\n setColor(palette.Switch, 'warningDisabledColor', safeDarken(palette.warning.main, 0.55));\n setColor(palette.TableCell, 'border', safeDarken(safeAlpha(palette.divider, 1), 0.68));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n\n // MUI X - DataGrid needs this token.\n setColorChannel(palette.background, 'default');\n\n // added for consistency with the `background.default` token\n setColorChannel(palette.background, 'paper');\n setColorChannel(palette.common, 'background');\n setColorChannel(palette.common, 'onBackground');\n setColorChannel(palette, 'divider');\n Object.keys(palette).forEach(color => {\n const colors = palette[color];\n\n // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.\n\n if (colors && typeof colors === 'object') {\n // Silent the error for custom palettes.\n if (colors.main) {\n setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));\n }\n if (colors.light) {\n setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));\n }\n if (colors.dark) {\n setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));\n }\n if (colors.contrastText) {\n setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));\n }\n if (color === 'text') {\n // Text colors: text.primary, text.secondary\n setColorChannel(palette[color], 'primary');\n setColorChannel(palette[color], 'secondary');\n }\n if (color === 'action') {\n // Action colors: action.active, action.selected\n if (colors.active) {\n setColorChannel(palette[color], 'active');\n }\n if (colors.selected) {\n setColorChannel(palette[color], 'selected');\n }\n }\n }\n });\n });\n theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);\n const parserConfig = {\n prefix: cssVarPrefix,\n disableCssColorScheme,\n shouldSkipGeneratingVar,\n getSelector: defaultGetSelector(theme)\n };\n const {\n vars,\n generateThemeVars,\n generateStyleSheets\n } = prepareCssVars(theme, parserConfig);\n theme.vars = vars;\n Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {\n theme[key] = value;\n });\n theme.generateThemeVars = generateThemeVars;\n theme.generateStyleSheets = generateStyleSheets;\n theme.generateSpacing = function generateSpacing() {\n return createSpacing(input.spacing, createUnarySpacing(this));\n };\n theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);\n theme.spacing = theme.generateSpacing();\n theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;\n theme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...input?.unstable_sxConfig\n };\n theme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n theme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return theme;\n}","import createPalette from \"./createPalette.js\";\nimport createThemeWithVars from \"./createThemeWithVars.js\";\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nexport { createMuiTheme } from \"./createThemeNoVars.js\";\n// eslint-disable-next-line consistent-return\nfunction attachColorScheme(theme, scheme, colorScheme) {\n if (!theme.colorSchemes) {\n return undefined;\n }\n if (colorScheme) {\n theme.colorSchemes[scheme] = {\n ...(colorScheme !== true && colorScheme),\n palette: createPalette({\n ...(colorScheme === true ? {} : colorScheme.palette),\n mode: scheme\n }) // cast type to skip module augmentation test\n };\n }\n}\n\n/**\n * Generate a theme base on the options received.\n * @param options Takes an incomplete theme object and adds the missing parts.\n * @param args Deep merge the arguments with the about to be returned theme.\n * @returns A complete, ready-to-use theme object.\n */\nexport default function createTheme(options = {},\n// cast type to skip module augmentation test\n...args) {\n const {\n palette,\n cssVariables = false,\n colorSchemes: initialColorSchemes = !palette ? {\n light: true\n } : undefined,\n defaultColorScheme: initialDefaultColorScheme = palette?.mode,\n ...rest\n } = options;\n const defaultColorSchemeInput = initialDefaultColorScheme || 'light';\n const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];\n const colorSchemesInput = {\n ...initialColorSchemes,\n ...(palette ? {\n [defaultColorSchemeInput]: {\n ...(typeof defaultScheme !== 'boolean' && defaultScheme),\n palette\n }\n } : undefined)\n };\n if (cssVariables === false) {\n if (!('colorSchemes' in options)) {\n // Behaves exactly as v5\n return createThemeNoVars(options, ...args);\n }\n let paletteOptions = palette;\n if (!('palette' in options)) {\n if (colorSchemesInput[defaultColorSchemeInput]) {\n if (colorSchemesInput[defaultColorSchemeInput] !== true) {\n paletteOptions = colorSchemesInput[defaultColorSchemeInput].palette;\n } else if (defaultColorSchemeInput === 'dark') {\n // @ts-ignore to prevent the module augmentation test from failing\n paletteOptions = {\n mode: 'dark'\n };\n }\n }\n }\n const theme = createThemeNoVars({\n ...options,\n palette: paletteOptions\n }, ...args);\n theme.defaultColorScheme = defaultColorSchemeInput;\n theme.colorSchemes = colorSchemesInput;\n if (theme.palette.mode === 'light') {\n theme.colorSchemes.light = {\n ...(colorSchemesInput.light !== true && colorSchemesInput.light),\n palette: theme.palette\n };\n attachColorScheme(theme, 'dark', colorSchemesInput.dark);\n }\n if (theme.palette.mode === 'dark') {\n theme.colorSchemes.dark = {\n ...(colorSchemesInput.dark !== true && colorSchemesInput.dark),\n palette: theme.palette\n };\n attachColorScheme(theme, 'light', colorSchemesInput.light);\n }\n return theme;\n }\n if (!palette && !('light' in colorSchemesInput) && defaultColorSchemeInput === 'light') {\n colorSchemesInput.light = true;\n }\n return createThemeWithVars({\n ...rest,\n colorSchemes: colorSchemesInput,\n defaultColorScheme: defaultColorSchemeInput,\n ...(typeof cssVariables !== 'boolean' && cssVariables)\n }, ...args);\n}","/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2,\n ...other\n } = typeof typography === 'function' ? typography(palette) : typography;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight,\n // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing\n // across font-families can cause issues with the kerning.\n ...(fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}),\n ...casing,\n ...allVariants\n });\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold,\n ...variants\n }, other, {\n clone: false // No need to clone deep\n });\n}","'use client';\n\nimport createTheme from \"./createTheme.js\";\nconst defaultTheme = createTheme();\nexport default defaultTheme;","// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61\nexport default function getOverlayAlpha(elevation) {\n let alphaValue;\n if (elevation < 1) {\n alphaValue = 5.11916 * elevation ** 2;\n } else {\n alphaValue = 4.5 * Math.log(elevation + 1) + 2;\n }\n return Math.round(alphaValue * 10) / 1000;\n}","export default '$$material';","import slotShouldForwardProp from \"./slotShouldForwardProp.js\";\nconst rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'classes';\nexport default rootShouldForwardProp;","// copied from @mui/system/createStyled\nfunction slotShouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nexport default slotShouldForwardProp;","'use client';\n\nimport createStyled from '@mui/system/createStyled';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nimport rootShouldForwardProp from \"./rootShouldForwardProp.js\";\nexport { default as slotShouldForwardProp } from \"./slotShouldForwardProp.js\";\nexport { default as rootShouldForwardProp } from \"./rootShouldForwardProp.js\";\nconst styled = createStyled({\n themeId: THEME_ID,\n defaultTheme,\n rootShouldForwardProp\n});\nexport default styled;","'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}","'use client';\n\nimport systemUseThemeProps from '@mui/system/useThemeProps';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useThemeProps({\n props,\n name\n}) {\n return systemUseThemeProps({\n props,\n name,\n defaultTheme,\n themeId: THEME_ID\n });\n}","export const reflow = node => node.scrollTop;\nexport function getTransitionProps(props, options) {\n const {\n timeout,\n easing,\n style = {}\n } = props;\n return {\n duration: style.transitionDuration ?? (typeof timeout === 'number' ? timeout : timeout[options.mode] || 0),\n easing: style.transitionTimingFunction ?? (typeof easing === 'object' ? easing[options.mode] : easing),\n delay: style.transitionDelay\n };\n}","import capitalize from '@mui/utils/capitalize';\nexport default capitalize;","/**\n * Type guard to check if the object has a \"main\" property of type string.\n *\n * @param obj - the object to check\n * @returns boolean\n */\nfunction hasCorrectMainProperty(obj) {\n return typeof obj.main === 'string';\n}\n/**\n * Checks if the object conforms to the SimplePaletteColorOptions type.\n * The minimum requirement is that the object has a \"main\" property of type string, this is always checked.\n * Optionally, you can pass additional properties to check.\n *\n * @param obj - The object to check\n * @param additionalPropertiesToCheck - Array containing \"light\", \"dark\", and/or \"contrastText\"\n * @returns boolean\n */\nfunction checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {\n if (!hasCorrectMainProperty(obj)) {\n return false;\n }\n for (const value of additionalPropertiesToCheck) {\n if (!obj.hasOwnProperty(value) || typeof obj[value] !== 'string') {\n return false;\n }\n }\n return true;\n}\n\n/**\n * Creates a filter function used to filter simple palette color options.\n * The minimum requirement is that the object has a \"main\" property of type string, this is always checked.\n * Optionally, you can pass additional properties to check.\n *\n * @param additionalPropertiesToCheck - Array containing \"light\", \"dark\", and/or \"contrastText\"\n * @returns ([, value]: [any, PaletteColorOptions]) => boolean\n */\nexport default function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {\n return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSvgIconUtilityClass(slot) {\n return generateUtilityClass('MuiSvgIcon', slot);\n}\nconst svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);\nexport default svgIconClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getSvgIconUtilityClass } from \"./svgIconClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n flexShrink: 0,\n transition: theme.transitions?.create?.('fill', {\n duration: (theme.vars ?? theme).transitions?.duration?.shorter\n }),\n variants: [{\n props: props => !props.hasSvgAsChild,\n style: {\n // the <svg> will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: 'currentColor'\n }\n }, {\n props: {\n fontSize: 'inherit'\n },\n style: {\n fontSize: 'inherit'\n }\n }, {\n props: {\n fontSize: 'small'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'\n }\n }, {\n props: {\n fontSize: 'medium'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'\n }\n }, {\n props: {\n fontSize: 'large'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'\n }\n },\n // TODO v5 deprecate color prop, v6 remove for sx\n ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars ?? theme).palette?.[color]?.main\n }\n })), {\n props: {\n color: 'action'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.active\n }\n }, {\n props: {\n color: 'disabled'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.disabled\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: undefined\n }\n }]\n})));\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24',\n ...other\n } = props;\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = {\n ...props,\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n };\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, {\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref,\n ...more,\n ...other,\n ...(hasSvgAsChild && children.props),\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nif (SvgIcon) {\n SvgIcon.muiName = 'SvgIcon';\n}\nexport default SvgIcon;","'use client';\n\nimport * as React from 'react';\nimport SvgIcon from \"../SvgIcon/index.js\";\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, {\n \"data-testid\": `${displayName}Icon`,\n ref: ref,\n ...props,\n children: path\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));\n}","import debounce from '@mui/utils/debounce';\nexport default debounce;","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isMuiElement from '@mui/utils/isMuiElement';\nexport default isMuiElement;","import preprocessStyles from \"./preprocessStyles.js\";\n\n/* eslint-disable @typescript-eslint/naming-convention */\n\n// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to\n// allocate more objects.\nconst arg = {\n theme: undefined\n};\n\n/**\n * Memoize style function on theme.\n * Intended to be used in styled() calls that only need access to the theme.\n */\nexport default function unstable_memoTheme(styleFn) {\n let lastValue;\n let lastTheme;\n return function styleMemoized(props) {\n let value = lastValue;\n if (value === undefined || props.theme !== lastTheme) {\n arg.theme = props.theme;\n value = preprocessStyles(styleFn(arg));\n lastValue = value;\n lastTheme = props.theme;\n }\n return value;\n };\n}","import { unstable_memoTheme } from '@mui/system';\nconst memoTheme = unstable_memoTheme;\nexport default memoTheme;","import ownerDocument from '@mui/utils/ownerDocument';\nexport default ownerDocument;","import ownerWindow from '@mui/utils/ownerWindow';\nexport default ownerWindow;","'use client';\n\nimport useControlled from '@mui/utils/useControlled';\nexport default useControlled;","'use client';\n\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nexport default useEnhancedEffect;","'use client';\n\nimport useEventCallback from '@mui/utils/useEventCallback';\nexport default useEventCallback;","'use client';\n\nimport useForkRef from '@mui/utils/useForkRef';\nexport default useForkRef;","'use client';\n\nimport useId from '@mui/utils/useId';\nexport default useId;","'use client';\n\nimport useForkRef from '@mui/utils/useForkRef';\nimport appendOwnerState from '@mui/utils/appendOwnerState';\nimport resolveComponentProps from '@mui/utils/resolveComponentProps';\nimport mergeSlotProps from '@mui/utils/mergeSlotProps';\n/**\n * An internal function to create a Material UI slot.\n *\n * This is an advanced version of Base UI `useSlotProps` because Material UI allows leaf component to be customized via `component` prop\n * while Base UI does not need to support leaf component customization.\n *\n * @param {string} name: name of the slot\n * @param {object} parameters\n * @returns {[Slot, slotProps]} The slot's React component and the slot's props\n *\n * Note: the returned slot's props\n * - will never contain `component` prop.\n * - might contain `as` prop.\n */\nexport default function useSlot(\n/**\n * The slot's name. All Material UI components should have `root` slot.\n *\n * If the name is `root`, the logic behaves differently from other slots,\n * e.g. the `externalForwardedProps` are spread to `root` slot but not other slots.\n */\nname, parameters) {\n const {\n className,\n elementType: initialElementType,\n ownerState,\n externalForwardedProps,\n getSlotOwnerState,\n internalForwardedProps,\n ...useSlotPropsParams\n } = parameters;\n const {\n component: rootComponent,\n slots = {\n [name]: undefined\n },\n slotProps = {\n [name]: undefined\n },\n ...other\n } = externalForwardedProps;\n const elementType = slots[name] || initialElementType;\n\n // `slotProps[name]` can be a callback that receives the component's ownerState.\n // `resolvedComponentsProps` is always a plain object.\n const resolvedComponentsProps = resolveComponentProps(slotProps[name], ownerState);\n const {\n props: {\n component: slotComponent,\n ...mergedProps\n },\n internalRef\n } = mergeSlotProps({\n className,\n ...useSlotPropsParams,\n externalForwardedProps: name === 'root' ? other : undefined,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.ref);\n const slotOwnerState = getSlotOwnerState ? getSlotOwnerState(mergedProps) : {};\n const finalOwnerState = {\n ...ownerState,\n ...slotOwnerState\n };\n const LeafComponent = name === 'root' ? slotComponent || rootComponent : slotComponent;\n const props = appendOwnerState(elementType, {\n ...(name === 'root' && !rootComponent && !slots[name] && internalForwardedProps),\n ...(name !== 'root' && !slots[name] && internalForwardedProps),\n ...mergedProps,\n ...(LeafComponent && {\n as: LeafComponent\n }),\n ref\n }, finalOwnerState);\n Object.keys(slotOwnerState).forEach(propName => {\n delete props[propName];\n });\n return [elementType, props];\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as MuiGlobalStyles } from '@mui/styled-engine';\nimport useTheme from \"../useTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles({\n styles,\n themeId,\n defaultTheme = {}\n}) {\n const upperTheme = useTheme(defaultTheme);\n const globalStyles = typeof styles === 'function' ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles;\n return /*#__PURE__*/_jsx(MuiGlobalStyles, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n defaultTheme: PropTypes.object,\n /**\n * @ignore\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]),\n /**\n * @ignore\n */\n themeId: PropTypes.string\n} : void 0;\nexport default GlobalStyles;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as SystemGlobalStyles } from '@mui/system';\nimport defaultTheme from \"../styles/defaultTheme.js\";\nimport THEME_ID from \"../styles/identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles(props) {\n return /*#__PURE__*/_jsx(SystemGlobalStyles, {\n ...props,\n defaultTheme: defaultTheme,\n themeId: THEME_ID\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The styles you want to apply globally.\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool])\n} : void 0;\nexport default GlobalStyles;","import * as React from 'react';\nimport { extendSxProp } from '@mui/system/styleFunctionSx';\nimport useTheme from \"../styles/useTheme.js\";\nimport GlobalStyles from \"../GlobalStyles/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport { css, keyframes } from '@mui/system';\nexport { default as styled } from \"../styles/styled.js\";\nexport function globalCss(styles) {\n return function GlobalStylesWrapper(props) {\n return (\n /*#__PURE__*/\n // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.\n _jsx(GlobalStyles, {\n styles: typeof styles === 'function' ? theme => styles({\n theme,\n ...props\n }) : styles\n })\n );\n };\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function internal_createExtendSxProp() {\n return extendSxProp;\n}\nexport { useTheme };","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Global } from '@emotion/react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0;\n}\nexport default function GlobalStyles(props) {\n const {\n styles,\n defaultTheme = {}\n } = props;\n const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;\n return /*#__PURE__*/_jsx(Global, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes = {\n defaultTheme: PropTypes.object,\n styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])\n} : void 0;","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport isPropValid from '@emotion/is-prop-valid';\nimport { withEmotionCache, ThemeContext } from '@emotion/react';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\n/* import type {\n ElementType,\n StatelessFunctionalComponent,\n AbstractComponent\n} from 'react' */\n/*\nexport type Interpolations = Array<any>\n\nexport type StyledElementType<Props> =\n | string\n | AbstractComponent<{ ...Props, className: string }, mixed>\n\nexport type StyledOptions = {\n label?: string,\n shouldForwardProp?: string => boolean,\n target?: string\n}\n\nexport type StyledComponent<Props> = StatelessFunctionalComponent<Props> & {\n defaultProps: any,\n toString: () => string,\n withComponent: (\n nextTag: StyledElementType<Props>,\n nextOptions?: StyledOptions\n ) => StyledComponent<Props>\n}\n\nexport type PrivateStyledComponent<Props> = StyledComponent<Props> & {\n __emotion_real: StyledComponent<Props>,\n __emotion_base: any,\n __emotion_styles: any,\n __emotion_forwardProp: any\n}\n*/\n\nvar testOmitPropsOnStringTag = isPropValid;\n\nvar testOmitPropsOnComponent = function testOmitPropsOnComponent(key\n/*: string */\n) {\n return key !== 'theme';\n};\n\nvar getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag\n/*: ElementType */\n) {\n return typeof tag === 'string' && // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;\n};\nvar composeShouldForwardProps = function composeShouldForwardProps(tag\n/*: PrivateStyledComponent<any> */\n, options\n/*: StyledOptions | void */\n, isReal\n/*: boolean */\n) {\n var shouldForwardProp;\n\n if (options) {\n var optionsShouldForwardProp = options.shouldForwardProp;\n shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName\n /*: string */\n ) {\n return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);\n } : optionsShouldForwardProp;\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp;\n }\n\n return shouldForwardProp;\n};\n/*\nexport type CreateStyledComponent = <Props>(\n ...args: Interpolations\n) => StyledComponent<Props>\n\nexport type CreateStyled = {\n <Props>(\n tag: StyledElementType<Props>,\n options?: StyledOptions\n ): (...args: Interpolations) => StyledComponent<Props>,\n [key: string]: CreateStyledComponent,\n bind: () => CreateStyled\n}\n*/\n\nvar isDevelopment = false;\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar createStyled\n/*: CreateStyled */\n= function createStyled\n/*: CreateStyled */\n(tag\n/*: any */\n, options\n/* ?: StyledOptions */\n) {\n\n var isReal = tag.__emotion_real === tag;\n var baseTag = isReal && tag.__emotion_base || tag;\n var identifierName;\n var targetClassName;\n\n if (options !== undefined) {\n identifierName = options.label;\n targetClassName = options.target;\n }\n\n var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);\n var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);\n var shouldUseAs = !defaultShouldForwardProp('as');\n /* return function<Props>(): PrivateStyledComponent<Props> { */\n\n return function () {\n var args = arguments;\n var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];\n\n if (identifierName !== undefined) {\n styles.push(\"label:\" + identifierName + \";\");\n }\n\n if (args[0] == null || args[0].raw === undefined) {\n styles.push.apply(styles, args);\n } else {\n\n styles.push(args[0][0]);\n var len = args.length;\n var i = 1;\n\n for (; i < len; i++) {\n\n styles.push(args[i], args[0][i]);\n }\n }\n\n var Styled\n /*: PrivateStyledComponent<Props> */\n = withEmotionCache(function (props, cache, ref) {\n var FinalTag = shouldUseAs && props.as || baseTag;\n var className = '';\n var classInterpolations = [];\n var mergedProps = props;\n\n if (props.theme == null) {\n mergedProps = {};\n\n for (var key in props) {\n mergedProps[key] = props[key];\n }\n\n mergedProps.theme = React.useContext(ThemeContext);\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, classInterpolations, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);\n className += cache.key + \"-\" + serialized.name;\n\n if (targetClassName !== undefined) {\n className += \" \" + targetClassName;\n }\n\n var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;\n var newProps = {};\n\n for (var _key in props) {\n if (shouldUseAs && _key === 'as') continue;\n\n if (finalShouldForwardProp(_key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof FinalTag === 'string'\n }), /*#__PURE__*/React.createElement(FinalTag, newProps));\n });\n Styled.displayName = identifierName !== undefined ? identifierName : \"Styled(\" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + \")\";\n Styled.defaultProps = tag.defaultProps;\n Styled.__emotion_real = Styled;\n Styled.__emotion_base = baseTag;\n Styled.__emotion_styles = styles;\n Styled.__emotion_forwardProp = shouldForwardProp;\n Object.defineProperty(Styled, 'toString', {\n value: function value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR';\n }\n\n return \".\" + targetClassName;\n }\n });\n\n Styled.withComponent = function (nextTag\n /*: StyledElementType<Props> */\n , nextOptions\n /* ?: StyledOptions */\n ) {\n return createStyled(nextTag, _extends({}, options, nextOptions, {\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n })).apply(void 0, styles);\n };\n\n return Styled;\n };\n};\n\nexport { createStyled as default };\n","import createStyled from '../base/dist/emotion-styled-base.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport 'react';\nimport '@emotion/is-prop-valid';\nimport '@emotion/react';\nimport '@emotion/utils';\nimport '@emotion/serialize';\nimport '@emotion/use-insertion-effect-with-fallbacks';\n\nvar tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];\n\nvar newStyled = createStyled.bind();\ntags.forEach(function (tagName) {\n newStyled[tagName] = newStyled(tagName);\n});\n\nexport { newStyled as default };\n","/**\n * @mui/styled-engine v6.1.5\n *\n * @license MIT\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable no-underscore-dangle */\nimport emStyled from '@emotion/styled';\nimport { serializeStyles as emSerializeStyles } from '@emotion/serialize';\nexport default function styled(tag, options) {\n const stylesFactory = emStyled(tag, options);\n if (process.env.NODE_ENV !== 'production') {\n return (...styles) => {\n const component = typeof tag === 'string' ? `\"${tag}\"` : 'component';\n if (styles.length === 0) {\n console.error([`MUI: Seems like you called \\`styled(${component})()\\` without a \\`style\\` argument.`, 'You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`.'].join('\\n'));\n } else if (styles.some(style => style === undefined)) {\n console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);\n }\n return stylesFactory(...styles);\n };\n }\n return stylesFactory;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function internal_mutateStyles(tag, processor) {\n // Emotion attaches all the styles as `__emotion_styles`.\n // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186\n if (Array.isArray(tag.__emotion_styles)) {\n tag.__emotion_styles = processor(tag.__emotion_styles);\n }\n}\n\n// Emotion only accepts an array, but we want to avoid allocations\nconst wrapper = [];\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function internal_serializeStyles(styles) {\n wrapper[0] = styles;\n return emSerializeStyles(wrapper);\n}\nexport { ThemeContext, keyframes, css } from '@emotion/react';\nexport { default as StyledEngineProvider } from \"./StyledEngineProvider/index.js\";\nexport { default as GlobalStyles } from \"./GlobalStyles/index.js\";","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport resolveProps from '@mui/utils/resolveProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PropsContext = /*#__PURE__*/React.createContext(undefined);\nfunction DefaultPropsProvider({\n value,\n children\n}) {\n return /*#__PURE__*/_jsx(PropsContext.Provider, {\n value: value,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object\n} : void 0;\nfunction getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name]) {\n return props;\n }\n const config = theme.components[name];\n if (config.defaultProps) {\n // compatible with v5 signature\n return resolveProps(config.defaultProps, props);\n }\n if (!config.styleOverrides && !config.variants) {\n // v6 signature, no property 'defaultProps'\n return resolveProps(config, props);\n }\n return props;\n}\nexport function useDefaultProps({\n props,\n name\n}) {\n const ctx = React.useContext(PropsContext);\n return getThemeProps({\n props,\n name,\n theme: {\n components: ctx\n }\n });\n}\nexport default DefaultPropsProvider;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider({\n value,\n ...props\n}) {\n return /*#__PURE__*/_jsx(RtlContext.Provider, {\n value: value ?? true,\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value ?? false;\n};\nexport default RtlProvider;","import PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from \"../merge/index.js\";\nimport { isCqShorthand, getContainerQuery } from \"../cssContainerQueries/index.js\";\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nconst defaultContainerQueries = {\n containerQueries: containerName => ({\n up: key => {\n let result = typeof key === 'number' ? key : values[key] || key;\n if (typeof result === 'number') {\n result = `${result}px`;\n }\n return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;\n }\n })\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {\n const containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);\n if (containerKey) {\n acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n }\n }\n // key is breakpoint\n else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction({\n theme,\n ...props[key]\n });\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? {\n ...styleFunction.propTypes,\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n } : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : _formatMuiErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : _formatMuiErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","import styledEngineStyled, { internal_mutateStyles as mutateStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nimport preprocessStyles from \"../preprocessStyles.js\";\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-labels */\n/* eslint-disable no-lone-blocks */\n\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction attachTheme(props, themeId, defaultTheme) {\n props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;\n}\nfunction processStyle(props, style) {\n /*\n * Style types:\n * - null/undefined\n * - string\n * - CSS style object: { [cssKey]: [cssValue], variants }\n * - Processed style object: { style, variants, isProcessed: true }\n * - Array of any of the above\n */\n\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n let rootStyle;\n if (resolvedStyle.isProcessed) {\n rootStyle = resolvedStyle.style;\n } else {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n rootStyle = otherStyles;\n }\n return processStyleVariants(props, resolvedStyle.variants, [rootStyle]);\n }\n if (resolvedStyle?.isProcessed) {\n return resolvedStyle.style;\n }\n return resolvedStyle;\n}\nfunction processStyleVariants(props, variants, results = []) {\n let mergedState; // We might not need it, initialized lazily\n\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n results.push(variant.style(mergedState));\n } else {\n results.push(variant.style);\n }\n }\n return results;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n function styleAttachTheme(props) {\n attachTheme(props, themeId, defaultTheme);\n }\n const styled = (tag, inputOptions = {}) => {\n // If `tag` is already a styled component, filter out the `sx` style function\n // to prevent unnecessary styles generated by the composite components.\n mutateStyles(tag, styles => styles.filter(style => style !== styleFunctionSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label: generateStyledLabel(componentName, componentSlot),\n ...options\n });\n const transformStyle = style => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof style === 'function' && style.__emotion_real !== style) {\n return function styleFunctionProcessor(props) {\n return processStyle(props, style);\n };\n }\n if (isPlainObject(style)) {\n const serialized = preprocessStyles(style);\n if (!serialized.variants) {\n return serialized.style;\n }\n return function styleObjectProcessor(props) {\n return processStyle(props, serialized);\n };\n }\n return style;\n };\n const muiStyledResolver = (...expressionsInput) => {\n const expressionsHead = [];\n const expressionsBody = expressionsInput.map(transformStyle);\n const expressionsTail = [];\n\n // Preprocess `props` to set the scoped theme value.\n // This must run before any other expression.\n expressionsHead.push(styleAttachTheme);\n if (componentName && overridesResolver) {\n expressionsTail.push(function styleThemeOverrides(props) {\n const theme = props.theme;\n const styleOverrides = theme.components?.[componentName]?.styleOverrides;\n if (!styleOverrides) {\n return null;\n }\n const resolvedStyleOverrides = {};\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey]);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsTail.push(function styleThemeVariants(props) {\n const theme = props.theme;\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyleVariants(props, themeVariants);\n });\n }\n if (!skipSx) {\n expressionsTail.push(styleFunctionSx);\n }\n\n // This function can be called as a tagged template, so the first argument would contain\n // CSS `string[]` values.\n if (Array.isArray(expressionsBody[0])) {\n const inputStrings = expressionsBody.shift();\n\n // We need to add placeholders in the tagged template for the custom functions we have\n // possibly added (attachTheme, overrides, variants, and sx).\n const placeholdersHead = new Array(expressionsHead.length).fill('');\n const placeholdersTail = new Array(expressionsTail.length).fill('');\n let outputStrings;\n // prettier-ignore\n {\n outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];\n outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];\n }\n\n // The only case where we put something before `attachTheme`\n expressionsHead.unshift(outputStrings);\n }\n const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];\n const Component = defaultStyledResolver(...expressions);\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = generateDisplayName(componentName, componentSlot, tag);\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction generateDisplayName(componentName, componentSlot, tag) {\n if (componentName) {\n return `${componentName}${capitalize(componentSlot || '')}`;\n }\n return `Styled(${getDisplayName(tag)})`;\n}\nfunction generateStyledLabel(componentName, componentSlot) {\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n return label;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}","import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}","// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return {\n ...acc,\n [obj.key]: obj.val\n };\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5,\n ...other\n } = breakpoints;\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return {\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit,\n ...other\n };\n}","const shape = {\n borderRadius: 4\n};\nexport default shape;","/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/customization/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * <Box sx={theme => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars) {\n if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== 'function') {\n return {};\n }\n // If CssVarsProvider is used as a provider, returns '*:where({selector}) &'\n let selector = theme.getColorSchemeSelector(key);\n if (selector === '&') {\n return styles;\n }\n if (selector.includes('data-') || selector.includes('.')) {\n // '*' is required as a workaround for Emotion issue (https://github.com/emotion-js/emotion/issues/2836)\n selector = `*:where(${selector.replace(/\\s*&$/, '')}) &`;\n }\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}","import deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from \"../createBreakpoints/createBreakpoints.js\";\nimport cssContainerQueries from \"../cssContainerQueries/index.js\";\nimport shape from \"./shape.js\";\nimport createSpacing from \"./createSpacing.js\";\nimport styleFunctionSx from \"../styleFunctionSx/styleFunctionSx.js\";\nimport defaultSxConfig from \"../styleFunctionSx/defaultSxConfig.js\";\nimport applyStyles from \"./applyStyles.js\";\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {},\n ...other\n } = options;\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: {\n mode: 'light',\n ...paletteInput\n },\n spacing,\n shape: {\n ...shape,\n ...shapeInput\n }\n }, other);\n muiTheme = cssContainerQueries(muiTheme);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nexport default createTheme;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@<breakpoint | number>\\` or \\`@<breakpoint | number>/<container>\\`.\\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.' : _formatMuiErrorMessage(18, `(${shorthand})`));\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;","import { internal_serializeStyles } from '@mui/styled-engine';\nexport default function preprocessStyles(input) {\n const {\n variants,\n ...style\n } = input;\n const result = {\n variants,\n style: internal_serializeStyles(style),\n isProcessed: true\n };\n\n // Not supported on styled-components\n if (result.style === style) {\n return result;\n }\n if (variants) {\n variants.forEach(variant => {\n if (typeof variant.style !== 'function') {\n variant.style = internal_serializeStyles(variant.style);\n }\n });\n }\n return result;\n}","import responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport { getPath } from \"../style/index.js\";\nimport merge from \"../merge/index.js\";\nimport memoize from \"../memoize/index.js\";\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n const themeSpacing = getPath(theme, themeKey, true) ?? defaultValue;\n if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof val !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);\n }\n }\n if (typeof themeSpacing === 'string') {\n return `calc(${val} * ${themeSpacing})`;\n }\n return themeSpacing * val;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n const abs = Math.abs(val);\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n const transformed = themeSpacing[abs];\n if (val >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n return transformer(propValue);\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (!keys.includes(prop)) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}","import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;","import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;","import responsivePropType from \"../responsivePropType/index.js\";\nimport style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { handleBreakpoints, values as breakpointsValues } from \"../breakpoints/index.js\";\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n const breakpoint = props.theme?.breakpoints?.values?.[propValue] || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (props.theme?.breakpoints?.unit !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import { padding, margin } from \"../spacing/index.js\";\nimport { borderRadius, borderTransform } from \"../borders/index.js\";\nimport { gap, rowGap, columnGap } from \"../cssGrid/index.js\";\nimport { paletteTransform } from \"../palette/index.js\";\nimport { maxWidth, sizingTransform } from \"../sizing/index.js\";\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n font: {\n themeKey: 'font'\n },\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;","import { isPlainObject } from '@mui/utils/deepmerge';\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nconst splitProps = props => {\n const result = {\n systemProps: {},\n otherProps: {}\n };\n const config = props?.theme?.unstable_sxConfig ?? defaultSxConfig;\n Object.keys(props).forEach(prop => {\n if (config[prop]) {\n result.systemProps[prop] = props[prop];\n } else {\n result.otherProps[prop] = props[prop];\n }\n });\n return result;\n};\nexport default function extendSxProp(props) {\n const {\n sx: inSx,\n ...other\n } = props;\n const {\n systemProps,\n otherProps\n } = splitProps(other);\n let finalSx;\n if (Array.isArray(inSx)) {\n finalSx = [systemProps, ...inSx];\n } else if (typeof inSx === 'function') {\n finalSx = (...args) => {\n const result = inSx(...args);\n if (!isPlainObject(result)) {\n return systemProps;\n }\n return {\n ...systemProps,\n ...result\n };\n };\n } else {\n finalSx = {\n ...systemProps,\n ...inSx\n };\n }\n return {\n ...otherProps,\n sx: finalSx\n };\n}","import capitalize from '@mui/utils/capitalize';\nimport merge from \"../merge/index.js\";\nimport { getPath, getStyleValue as getValue } from \"../style/index.js\";\nimport { handleBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints } from \"../breakpoints/index.js\";\nimport { sortContainerQueries } from \"../cssContainerQueries/index.js\";\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nfunction objectsHaveSameKeys(...objects) {\n const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);\n const union = new Set(allKeys);\n return objects.every(object => union.size === Object.keys(object).length);\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function getThemeValue(prop, val, theme, config) {\n const props = {\n [prop]: val,\n theme\n };\n const options = config[prop];\n if (!options) {\n return {\n [prop]: val\n };\n }\n const {\n cssProperty = prop,\n themeKey,\n transform,\n style\n } = options;\n if (val == null) {\n return null;\n }\n\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && val === 'inherit') {\n return {\n [prop]: val\n };\n }\n const themeMapping = getPath(theme, themeKey) || {};\n if (style) {\n return style(props);\n }\n const styleFromPropValue = propValueFinal => {\n let value = getValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, val, styleFromPropValue);\n }\n function styleFunctionSx(props) {\n const {\n sx,\n theme = {}\n } = props || {};\n if (!sx) {\n return null; // Emotion & styled-components will neglect null\n }\n const config = theme.unstable_sxConfig ?? defaultSxConfig;\n\n /*\n * Receive `sxInput` as object or callback\n * and then recursively check keys & values to create media query object styles.\n * (the result will be used in `styled`)\n */\n function traverse(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);\n const breakpointsKeys = Object.keys(emptyBreakpoints);\n let css = emptyBreakpoints;\n Object.keys(sxObject).forEach(styleKey => {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value !== null && value !== undefined) {\n if (typeof value === 'object') {\n if (config[styleKey]) {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n } else {\n const breakpointsValues = handleBreakpoints({\n theme\n }, value, x => ({\n [styleKey]: x\n }));\n if (objectsHaveSameKeys(breakpointsValues, value)) {\n css[styleKey] = styleFunctionSx({\n sx: value,\n theme\n });\n } else {\n css = merge(css, breakpointsValues);\n }\n }\n } else {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n }\n }\n });\n return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));\n }\n return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);\n }\n return styleFunctionSx;\n}\nconst styleFunctionSx = unstable_createStyleFunctionSx();\nstyleFunctionSx.filterProps = ['sx'];\nexport default styleFunctionSx;","'use client';\n\nimport createTheme from \"../createTheme/index.js\";\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nexport const systemDefaultTheme = createTheme();\nfunction useTheme(defaultTheme = systemDefaultTheme) {\n return useThemeWithoutDefault(defaultTheme);\n}\nexport default useTheme;","'use client';\n\nimport getThemeProps from \"./getThemeProps.js\";\nimport useTheme from \"../useTheme/index.js\";\nexport default function useThemeProps({\n props,\n name,\n defaultTheme,\n themeId\n}) {\n let theme = useTheme(defaultTheme);\n if (themeId) {\n theme = theme[themeId] || theme;\n }\n return getThemeProps({\n theme,\n name,\n props\n });\n}","import resolveProps from '@mui/utils/resolveProps';\nexport default function getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {\n return props;\n }\n return resolveProps(theme.components[name].defaultProps, props);\n}","'use client';\n\nimport * as React from 'react';\nimport { ThemeContext } from '@mui/styled-engine';\nfunction isObjectEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n const contextTheme = React.useContext(ThemeContext);\n return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","const defaultGenerator = componentName => componentName;\nconst createClassNameGenerator = () => {\n let generate = defaultGenerator;\n return {\n configure(generator) {\n generate = generator;\n },\n generate(componentName) {\n return generate(componentName);\n },\n reset() {\n generate = defaultGenerator;\n }\n };\n};\nconst ClassNameGenerator = createClassNameGenerator();\nexport default ClassNameGenerator;","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isHostComponent from \"../isHostComponent/index.js\";\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return {\n ...otherProps,\n ownerState: {\n ...otherProps.ownerState,\n ...ownerState\n }\n };\n}\nexport default appendOwnerState;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: `capitalize(string)` expects a string argument.' : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}\nexport default clamp;","/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? {\n ...target\n } : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n if (isPlainObject(source[key]) &&\n // Avoid prototype pollution\n Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * WARNING: Don't import this directly. It's imported by the code generated by\n * `@mui/interal-babel-plugin-minify-errors`. Make sure to always use string literals in `Error`\n * constructors to ensure the plugin works as expected. Supported patterns include:\n * throw new Error('My message');\n * throw new Error(`My message: ${foo}`);\n * throw new Error(`My message: ${foo}` + 'another string');\n * ...\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code, ...args) {\n const url = new URL(`https://mui.com/production-error/?code=${code}`);\n args.forEach(arg => url.searchParams.append('args[]', arg));\n return `Minified MUI error #${code}; visit ${url} for the full message.`;\n}","import ClassNameGenerator from \"../ClassNameGenerator/index.js\";\nexport const globalStateClasses = {\n active: 'active',\n checked: 'checked',\n completed: 'completed',\n disabled: 'disabled',\n error: 'error',\n expanded: 'expanded',\n focused: 'focused',\n focusVisible: 'focusVisible',\n open: 'open',\n readOnly: 'readOnly',\n required: 'required',\n selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {\n const globalStateClass = globalStateClasses[slot];\n return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}\nexport function isGlobalState(slot) {\n return globalStateClasses[slot] !== undefined;\n}","import generateUtilityClass from \"../generateUtilityClass/index.js\";\nexport default function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {\n const result = {};\n slots.forEach(slot => {\n result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);\n });\n return result;\n}","import * as React from 'react';\n\n/**\n * Returns the ref of a React element handling differences between React 19 and older versions.\n * It will throw runtime error if the element is not a valid React element.\n *\n * @param element React.ReactElement\n * @returns React.Ref<any> | null\n */\nexport default function getReactElementRef(element) {\n // 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions\n if (parseInt(React.version, 10) >= 19) {\n return element?.props?.ref || null;\n }\n // @ts-expect-error element.ref is not included in the ReactElement type\n // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189\n return element?.ref || null;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18\nexport default function getScrollbarSize(win = window) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n const documentWidth = win.document.documentElement.clientWidth;\n return win.innerWidth - documentWidth;\n}","/**\n * Returns a boolean indicating if the event's target has :focus-visible\n */\nexport default function isFocusVisible(element) {\n try {\n return element.matches(':focus-visible');\n } catch (error) {\n // Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped\n // Tests that rely on `:focus-visible` will still have to be skipped in jsdom\n if (process.env.NODE_ENV !== 'production' && !/jsdom/.test(window.navigator.userAgent)) {\n console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\\n'));\n }\n }\n return false;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(\n // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;\n}","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import clsx from 'clsx';\nimport extractEventHandlers from \"../extractEventHandlers/index.js\";\nimport omitEventHandlers from \"../omitEventHandlers/index.js\";\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...additionalProps,\n ...externalForwardedProps,\n ...externalSlotProps\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers({\n ...externalForwardedProps,\n ...externalSlotProps\n });\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...internalSlotProps?.style,\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...internalSlotProps,\n ...additionalProps,\n ...otherPropsWithoutEventHandlers,\n ...componentsPropsWithoutEventHandlers\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from \"../ownerDocument/index.js\";\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","/**\n * Add keys, values of `defaultProps` that does not exist in `props`\n * @param defaultProps\n * @param props\n * @returns resolved props\n */\nexport default function resolveProps(defaultProps, props) {\n const output = {\n ...props\n };\n for (const key in defaultProps) {\n if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {\n const propName = key;\n if (propName === 'components' || propName === 'slots') {\n output[propName] = {\n ...defaultProps[propName],\n ...output[propName]\n };\n } else if (propName === 'componentsProps' || propName === 'slotProps') {\n const defaultSlotProps = defaultProps[propName];\n const slotProps = props[propName];\n if (!slotProps) {\n output[propName] = defaultSlotProps || {};\n } else if (!defaultSlotProps) {\n output[propName] = slotProps;\n } else {\n output[propName] = {\n ...slotProps\n };\n for (const slotKey in defaultSlotProps) {\n if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {\n const slotPropName = slotKey;\n output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);\n }\n }\n }\n } else if (output[propName] === undefined) {\n output[propName] = defaultProps[propName];\n }\n }\n }\n return output;\n}","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n // Object.is() is not equivalent to the === operator.\n // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.\n if (!isControlled && !Object.is(defaultValue, defaultProp)) {\n console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from \"../useEnhancedEffect/index.js\";\n\n/**\n * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892\n * See RFC in https://github.com/reactjs/rfcs/pull/220\n */\n\nfunction useEventCallback(fn) {\n const ref = React.useRef(fn);\n useEnhancedEffect(() => {\n ref.current = fn;\n });\n return React.useRef((...args) =>\n // @ts-expect-error hide `this`\n (0, ref.current)(...args)).current;\n}\nexport default useEventCallback;","'use client';\n\nimport * as React from 'react';\nimport setRef from \"../setRef/index.js\";\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","'use client';\n\nimport * as React from 'react';\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseId = safeReact.useId;\n\n/**\n *\n * @example <div id={useId()} />\n * @param idOverride\n * @returns {string}\n */\nexport default function useId(idOverride) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? reactId;\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride);\n}","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n * const ref = useLazyRef(sortColumns, columns)\n */\nexport default function useLazyRef(init, initArg) {\n const ref = React.useRef(UNINITIALIZED);\n if (ref.current === UNINITIALIZED) {\n ref.current = init(initArg);\n }\n return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst usePreviousProps = value => {\n const ref = React.useRef({});\n React.useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePreviousProps;","'use client';\n\nimport useForkRef from \"../useForkRef/index.js\";\nimport appendOwnerState from \"../appendOwnerState/index.js\";\nimport mergeSlotProps from \"../mergeSlotProps/index.js\";\nimport resolveComponentProps from \"../resolveComponentProps/index.js\";\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport default function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport useLazyRef from \"../useLazyRef/useLazyRef.js\";\nimport useOnMount from \"../useOnMount/useOnMount.js\";\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = null;\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = null;\n fn();\n }, delay);\n }\n clear = () => {\n if (this.currentId !== null) {\n clearTimeout(this.currentId);\n this.currentId = null;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\nexport default function useTimeout() {\n const timeout = useLazyRef(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","import {\n Breadcrumb,\n CaptureContext,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Primitive,\n Severity,\n SeverityLevel,\n TransactionContext,\n User,\n} from '@sentry/types';\n\nimport { getCurrentHub, Hub } from './hub';\nimport { Scope } from './scope';\n\n// Note: All functions in this file are typed with a return value of `ReturnType<Hub[HUB_FUNCTION]>`,\n// where HUB_FUNCTION is some method on the Hub class.\n//\n// This is done to make sure the top level SDK methods stay in sync with the hub methods.\n// Although every method here has an explicit return type, some of them (that map to void returns) do not\n// contain `return` keywords. This is done to save on bundle size, as `return` is not minifiable.\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @param captureContext Additional scope data to apply to exception event.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception: any, captureContext?: CaptureContext): ReturnType<Hub['captureException']> {\n return getCurrentHub().captureException(exception, { captureContext });\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n captureContext?: CaptureContext | Severity | SeverityLevel,\n): ReturnType<Hub['captureMessage']> {\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n return getCurrentHub().captureMessage(message, level, context);\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event: Event, hint?: EventHint): ReturnType<Hub['captureEvent']> {\n return getCurrentHub().captureEvent(event, hint);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback: (scope: Scope) => void): ReturnType<Hub['configureScope']> {\n getCurrentHub().configureScope(callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb: Breadcrumb): ReturnType<Hub['addBreadcrumb']> {\n getCurrentHub().addBreadcrumb(breadcrumb);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name: string, context: { [key: string]: any } | null): ReturnType<Hub['setContext']> {\n getCurrentHub().setContext(name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras: Extras): ReturnType<Hub['setExtras']> {\n getCurrentHub().setExtras(extras);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key: string, extra: Extra): ReturnType<Hub['setExtra']> {\n getCurrentHub().setExtra(key, extra);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags: { [key: string]: Primitive }): ReturnType<Hub['setTags']> {\n getCurrentHub().setTags(tags);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key: string, value: Primitive): ReturnType<Hub['setTag']> {\n getCurrentHub().setTag(key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user: User | null): ReturnType<Hub['setUser']> {\n getCurrentHub().setUser(user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback: (scope: Scope) => void): ReturnType<Hub['withScope']> {\n getCurrentHub().withScope(callback);\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * NOTE: This function should only be used for *manual* instrumentation. Auto-instrumentation should call\n * `startTransaction` directly on the hub.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(\n context: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): ReturnType<Hub['startTransaction']> {\n return getCurrentHub().startTransaction({ ...context }, customSamplingContext);\n}\n","/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n Session,\n SessionContext,\n Severity,\n SeverityLevel,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport {\n consoleSandbox,\n dateTimestampInSeconds,\n getGlobalSingleton,\n GLOBAL_OBJ,\n isNodeEnv,\n logger,\n uuid4,\n} from '@sentry/utils';\n\nimport { Scope } from './scope';\nimport { closeSession, makeSession, updateSession } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope?: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n domain?: { [key: string]: any };\n } & {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[] = [{}];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient<C extends Client>(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope | undefined {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint): string {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error('Sentry syntheticException');\n this._withClient((client, scope) => {\n client.captureException(\n exception,\n {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n scope,\n );\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n level?: Severity | SeverityLevel,\n hint?: EventHint,\n ): string {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error(message);\n this._withClient((client, scope) => {\n client.captureMessage(\n message,\n level,\n {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n scope,\n );\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n\n this._withClient((client, scope) => {\n client.captureEvent(event, { ...hint, event_id: eventId }, scope);\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!scope || !client) return;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n const scope = this.getScope();\n if (scope) scope.setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n const scope = this.getScope();\n if (scope) scope.setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n const scope = this.getScope();\n if (scope) scope.setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n const scope = this.getScope();\n if (scope) scope.setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n const scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n const scope = this.getScope();\n if (scope) scope.setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (scope && client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n __DEBUG_BUILD__ && logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer && layer.scope;\n const session = scope && scope.getSession();\n if (session) {\n closeSession(session);\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n ...(scope && { user: scope.getUser() }),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n if (scope) {\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n\n return session;\n }\n\n /**\n * Returns if default PII should be sent to Sentry and propagated in ourgoing requests\n * when Tracing is used.\n */\n public shouldSendDefaultPii(): boolean {\n const client = this.getClient();\n const options = client && client.getOptions();\n return Boolean(options && options.sendDefaultPii);\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n if (!scope) return;\n\n const session = scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n private _withClient(callback: (client: Client, scope: Scope | undefined) => void): void {\n const { scope, client } = this.getStackTop();\n if (client) {\n callback(client, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod<T>(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n __DEBUG_BUILD__ && logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return GLOBAL_OBJ;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry: Carrier): Hub {\n try {\n const sentry = getMainCarrier().__SENTRY__;\n const activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n const registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n return getGlobalSingleton<Hub>('hub', () => new Hub(), carrier);\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n const __SENTRY__ = (carrier.__SENTRY__ = carrier.__SENTRY__ || {});\n __SENTRY__.hub = hub;\n return true;\n}\n","/* eslint-disable max-lines */\nimport {\n Attachment,\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Session,\n Severity,\n SeverityLevel,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport {\n arrayify,\n dateTimestampInSeconds,\n getGlobalSingleton,\n isPlainObject,\n isThenable,\n logger,\n SyncPromise,\n} from '@sentry/utils';\n\nimport { updateSession } from './session';\n\n/**\n * Default value for maximum number of breadcrumbs added to an event.\n */\nconst DEFAULT_MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void>;\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[];\n\n /** User */\n protected _user: User;\n\n /** Tags */\n protected _tags: { [key: string]: Primitive };\n\n /** Extra */\n protected _extra: Extras;\n\n /** Contexts */\n protected _contexts: Contexts;\n\n /** Attachments */\n protected _attachments: Attachment[];\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata: { [key: string]: unknown };\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n // eslint-disable-next-line deprecation/deprecation\n protected _level?: Severity | SeverityLevel;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n\n public constructor() {\n this._notifyingListeners = false;\n this._scopeListeners = [];\n this._eventProcessors = [];\n this._breadcrumbs = [];\n this._attachments = [];\n this._user = {};\n this._tags = {};\n this._extra = {};\n this._contexts = {};\n this._sdkProcessingMetadata = {};\n }\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n newScope._attachments = [...scope._attachments];\n newScope._sdkProcessingMetadata = { ...scope._sdkProcessingMetadata };\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n updateSession(this._session, { user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(\n // eslint-disable-next-line deprecation/deprecation\n level: Severity | SeverityLevel,\n ): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as <T>(scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n this._attachments = [];\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getLastBreadcrumb(): Breadcrumb | undefined {\n return this._breadcrumbs[this._breadcrumbs.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addAttachment(attachment: Attachment): this {\n this._attachments.push(attachment);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getAttachments(): Attachment[] {\n return this._attachments;\n }\n\n /**\n * @inheritDoc\n */\n public clearAttachments(): this {\n this._attachments = [];\n return this;\n }\n\n /**\n * Applies data from the scope to the event and runs all event processors on it.\n *\n * @param event Event\n * @param hint Object containing additional information about the original exception, for use by the event processors.\n * @hidden\n */\n public applyToEvent(event: Event, hint: EventHint = {}): PromiseLike<Event | null> {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, ...this._sdkProcessingMetadata };\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint: EventHint,\n index: number = 0,\n ): PromiseLike<Event | null> {\n return new SyncPromise<Event | null>((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n\n __DEBUG_BUILD__ &&\n processor.id &&\n result === null &&\n logger.log(`Event processor \"${processor.id}\" dropped event`);\n\n if (isThenable(result)) {\n void result\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n return getGlobalSingleton<EventProcessor[]>('globalEventProcessors', () => []);\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n","import { SerializedSession, Session, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * Creates a new `Session` object by setting certain default parameters. If optional @param context\n * is passed, the passed properties are applied to the session object.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns a new `Session` object\n */\nexport function makeSession(context?: Omit<SessionContext, 'started' | 'status'>): Session {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n\n const session: Session = {\n sid: uuid4(),\n init: true,\n timestamp: startingTime,\n started: startingTime,\n duration: 0,\n status: 'ok',\n errors: 0,\n ignoreDuration: false,\n toJSON: () => sessionToJSON(session),\n };\n\n if (context) {\n updateSession(session, context);\n }\n\n return session;\n}\n\n/**\n * Updates a session object with the properties passed in the context.\n *\n * Note that this function mutates the passed object and returns void.\n * (Had to do this instead of returning a new and updated session because closing and sending a session\n * makes an update to the session after it was passed to the sending logic.\n * @see BaseClient.captureSession )\n *\n * @param session the `Session` to update\n * @param context the `SessionContext` holding the properties that should be updated in @param session\n */\n// eslint-disable-next-line complexity\nexport function updateSession(session: Session, context: SessionContext = {}): void {\n if (context.user) {\n if (!session.ipAddress && context.user.ip_address) {\n session.ipAddress = context.user.ip_address;\n }\n\n if (!session.did && !context.did) {\n session.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n session.timestamp = context.timestamp || timestampInSeconds();\n\n if (context.ignoreDuration) {\n session.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n session.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n session.init = context.init;\n }\n if (!session.did && context.did) {\n session.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n session.started = context.started;\n }\n if (session.ignoreDuration) {\n session.duration = undefined;\n } else if (typeof context.duration === 'number') {\n session.duration = context.duration;\n } else {\n const duration = session.timestamp - session.started;\n session.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n session.release = context.release;\n }\n if (context.environment) {\n session.environment = context.environment;\n }\n if (!session.ipAddress && context.ipAddress) {\n session.ipAddress = context.ipAddress;\n }\n if (!session.userAgent && context.userAgent) {\n session.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n session.errors = context.errors;\n }\n if (context.status) {\n session.status = context.status;\n }\n}\n\n/**\n * Closes a session by setting its status and updating the session object with it.\n * Internally calls `updateSession` to update the passed session object.\n *\n * Note that this function mutates the passed session (@see updateSession for explanation).\n *\n * @param session the `Session` object to be closed\n * @param status the `SessionStatus` with which the session was closed. If you don't pass a status,\n * this function will keep the previously set status, unless it was `'ok'` in which case\n * it is changed to `'exited'`.\n */\nexport function closeSession(session: Session, status?: Exclude<SessionStatus, 'ok'>): void {\n let context = {};\n if (status) {\n context = { status };\n } else if (session.status === 'ok') {\n context = { status: 'exited' };\n }\n\n updateSession(session, context);\n}\n\n/**\n * Serializes a passed session object to a JSON object with a slightly different structure.\n * This is necessary because the Sentry backend requires a slightly different schema of a session\n * than the one the JS SDKs use internally.\n *\n * @param session the session to be converted\n *\n * @returns a JSON object of the passed session\n */\nfunction sessionToJSON(session: Session): SerializedSession {\n return dropUndefinedKeys({\n sid: `${session.sid}`,\n init: session.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(session.started * 1000).toISOString(),\n timestamp: new Date(session.timestamp * 1000).toISOString(),\n status: session.status,\n errors: session.errors,\n did: typeof session.did === 'number' || typeof session.did === 'string' ? `${session.did}` : undefined,\n duration: session.duration,\n attrs: {\n release: session.release,\n environment: session.environment,\n ip_address: session.ipAddress,\n user_agent: session.userAgent,\n },\n });\n}\n","export const DEFAULT_ENVIRONMENT = 'production';\n","/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n// Overloads so we can call resolvedSyncPromise without arguments and generic argument\nexport function resolvedSyncPromise(): PromiseLike<void>;\nexport function resolvedSyncPromise<T>(value: T | PromiseLike<T>): PromiseLike<T>;\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise<T>(value?: T | PromiseLike<T>): PromiseLike<T> {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise<T = never>(reason?: any): PromiseLike<T> {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise<T> implements PromiseLike<T> {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike<T> | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then<TResult1 = T, TResult2 = never>(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,\n ): PromiseLike<TResult1 | TResult2> {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch<TResult = never>(\n onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null,\n ): PromiseLike<T | TResult> {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally<TResult>(onfinally?: (() => void) | null): PromiseLike<TResult> {\n return new SyncPromise<TResult>((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike<T> | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike<T> | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike<T>).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n","import type { SerializedSession, Session, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * Creates a new `Session` object by setting certain default parameters. If optional @param context\n * is passed, the passed properties are applied to the session object.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns a new `Session` object\n */\nexport function makeSession(context?: Omit<SessionContext, 'started' | 'status'>): Session {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n\n const session: Session = {\n sid: uuid4(),\n init: true,\n timestamp: startingTime,\n started: startingTime,\n duration: 0,\n status: 'ok',\n errors: 0,\n ignoreDuration: false,\n toJSON: () => sessionToJSON(session),\n };\n\n if (context) {\n updateSession(session, context);\n }\n\n return session;\n}\n\n/**\n * Updates a session object with the properties passed in the context.\n *\n * Note that this function mutates the passed object and returns void.\n * (Had to do this instead of returning a new and updated session because closing and sending a session\n * makes an update to the session after it was passed to the sending logic.\n * @see BaseClient.captureSession )\n *\n * @param session the `Session` to update\n * @param context the `SessionContext` holding the properties that should be updated in @param session\n */\n// eslint-disable-next-line complexity\nexport function updateSession(session: Session, context: SessionContext = {}): void {\n if (context.user) {\n if (!session.ipAddress && context.user.ip_address) {\n session.ipAddress = context.user.ip_address;\n }\n\n if (!session.did && !context.did) {\n session.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n session.timestamp = context.timestamp || timestampInSeconds();\n\n if (context.ignoreDuration) {\n session.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n session.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n session.init = context.init;\n }\n if (!session.did && context.did) {\n session.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n session.started = context.started;\n }\n if (session.ignoreDuration) {\n session.duration = undefined;\n } else if (typeof context.duration === 'number') {\n session.duration = context.duration;\n } else {\n const duration = session.timestamp - session.started;\n session.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n session.release = context.release;\n }\n if (context.environment) {\n session.environment = context.environment;\n }\n if (!session.ipAddress && context.ipAddress) {\n session.ipAddress = context.ipAddress;\n }\n if (!session.userAgent && context.userAgent) {\n session.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n session.errors = context.errors;\n }\n if (context.status) {\n session.status = context.status;\n }\n}\n\n/**\n * Closes a session by setting its status and updating the session object with it.\n * Internally calls `updateSession` to update the passed session object.\n *\n * Note that this function mutates the passed session (@see updateSession for explanation).\n *\n * @param session the `Session` object to be closed\n * @param status the `SessionStatus` with which the session was closed. If you don't pass a status,\n * this function will keep the previously set status, unless it was `'ok'` in which case\n * it is changed to `'exited'`.\n */\nexport function closeSession(session: Session, status?: Exclude<SessionStatus, 'ok'>): void {\n let context = {};\n if (status) {\n context = { status };\n } else if (session.status === 'ok') {\n context = { status: 'exited' };\n }\n\n updateSession(session, context);\n}\n\n/**\n * Serializes a passed session object to a JSON object with a slightly different structure.\n * This is necessary because the Sentry backend requires a slightly different schema of a session\n * than the one the JS SDKs use internally.\n *\n * @param session the session to be converted\n *\n * @returns a JSON object of the passed session\n */\nfunction sessionToJSON(session: Session): SerializedSession {\n return dropUndefinedKeys({\n sid: `${session.sid}`,\n init: session.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(session.started * 1000).toISOString(),\n timestamp: new Date(session.timestamp * 1000).toISOString(),\n status: session.status,\n errors: session.errors,\n did: typeof session.did === 'number' || typeof session.did === 'string' ? `${session.did}` : undefined,\n duration: session.duration,\n attrs: {\n release: session.release,\n environment: session.environment,\n ip_address: session.ipAddress,\n user_agent: session.userAgent,\n },\n });\n}\n","/* eslint-disable max-lines */\nimport type {\n Attachment,\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Session,\n Severity,\n SeverityLevel,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport {\n arrayify,\n dateTimestampInSeconds,\n getGlobalSingleton,\n isPlainObject,\n isThenable,\n logger,\n SyncPromise,\n} from '@sentry/utils';\n\nimport { updateSession } from './session';\n\n/**\n * Default value for maximum number of breadcrumbs added to an event.\n */\nconst DEFAULT_MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void>;\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[];\n\n /** User */\n protected _user: User;\n\n /** Tags */\n protected _tags: { [key: string]: Primitive };\n\n /** Extra */\n protected _extra: Extras;\n\n /** Contexts */\n protected _contexts: Contexts;\n\n /** Attachments */\n protected _attachments: Attachment[];\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata: { [key: string]: unknown };\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n // eslint-disable-next-line deprecation/deprecation\n protected _level?: Severity | SeverityLevel;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n\n public constructor() {\n this._notifyingListeners = false;\n this._scopeListeners = [];\n this._eventProcessors = [];\n this._breadcrumbs = [];\n this._attachments = [];\n this._user = {};\n this._tags = {};\n this._extra = {};\n this._contexts = {};\n this._sdkProcessingMetadata = {};\n }\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n newScope._attachments = [...scope._attachments];\n newScope._sdkProcessingMetadata = { ...scope._sdkProcessingMetadata };\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n updateSession(this._session, { user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(\n // eslint-disable-next-line deprecation/deprecation\n level: Severity | SeverityLevel,\n ): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as <T>(scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n this._attachments = [];\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getLastBreadcrumb(): Breadcrumb | undefined {\n return this._breadcrumbs[this._breadcrumbs.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addAttachment(attachment: Attachment): this {\n this._attachments.push(attachment);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getAttachments(): Attachment[] {\n return this._attachments;\n }\n\n /**\n * @inheritDoc\n */\n public clearAttachments(): this {\n this._attachments = [];\n return this;\n }\n\n /**\n * Applies data from the scope to the event and runs all event processors on it.\n *\n * @param event Event\n * @param hint Object containing additional information about the original exception, for use by the event processors.\n * @hidden\n */\n public applyToEvent(event: Event, hint: EventHint = {}): PromiseLike<Event | null> {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transaction = this._span.transaction;\n if (transaction) {\n event.sdkProcessingMetadata = {\n dynamicSamplingContext: transaction.getDynamicSamplingContext(),\n ...event.sdkProcessingMetadata,\n };\n const transactionName = transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, ...this._sdkProcessingMetadata };\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint: EventHint,\n index: number = 0,\n ): PromiseLike<Event | null> {\n return new SyncPromise<Event | null>((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n\n __DEBUG_BUILD__ &&\n processor.id &&\n result === null &&\n logger.log(`Event processor \"${processor.id}\" dropped event`);\n\n if (isThenable(result)) {\n void result\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n return getGlobalSingleton<EventProcessor[]>('globalEventProcessors', () => []);\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n","/* eslint-disable max-lines */\nimport type {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n Session,\n SessionContext,\n Severity,\n SeverityLevel,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalSingleton, GLOBAL_OBJ, logger, uuid4 } from '@sentry/utils';\n\nimport { DEFAULT_ENVIRONMENT } from './constants';\nimport { Scope } from './scope';\nimport { closeSession, makeSession, updateSession } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\nexport interface RunWithAsyncContextOptions {\n /** Whether to reuse an existing async context if one exists. Defaults to false. */\n reuseExisting?: boolean;\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * Strategy used to track async context.\n */\nexport interface AsyncContextStrategy {\n /**\n * Gets the current async context. Returns undefined if there is no current async context.\n */\n getCurrentHub: () => Hub | undefined;\n /**\n * Runs the supplied callback in its own async context.\n */\n runWithAsyncContext<T>(callback: () => T, options: RunWithAsyncContextOptions): T;\n}\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n acs?: AsyncContextStrategy;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this._stack = [{ scope }];\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient<C extends Client>(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n public captureException(exception: unknown, hint?: EventHint): string {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error('Sentry syntheticException');\n this._withClient((client, scope) => {\n client.captureException(\n exception,\n {\n originalException: exception,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n scope,\n );\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n level?: Severity | SeverityLevel,\n hint?: EventHint,\n ): string {\n const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());\n const syntheticException = new Error(message);\n this._withClient((client, scope) => {\n client.captureMessage(\n message,\n level,\n {\n originalException: message,\n syntheticException,\n ...hint,\n event_id: eventId,\n },\n scope,\n );\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = hint && hint.event_id ? hint.event_id : uuid4();\n if (!event.type) {\n this._lastEventId = eventId;\n }\n\n this._withClient((client, scope) => {\n client.captureEvent(event, { ...hint, event_id: eventId }, scope);\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!client) return;\n\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n if (client.emit) {\n client.emit('beforeAddBreadcrumb', finalBreadcrumb, hint);\n }\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n this.getScope().setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n this.getScope().setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n this.getScope().setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n this.getScope().setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n this.getScope().setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n this.getScope().setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n __DEBUG_BUILD__ && logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n const result = this._callExtensionMethod<Transaction>('startTransaction', context, customSamplingContext);\n\n if (__DEBUG_BUILD__ && !result) {\n // eslint-disable-next-line no-console\n console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n`);\n }\n\n return result;\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer.scope;\n const session = scope.getSession();\n if (session) {\n closeSession(session);\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n scope.setSession();\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment = DEFAULT_ENVIRONMENT } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const { userAgent } = GLOBAL_OBJ.navigator || {};\n\n const session = makeSession({\n release,\n environment,\n user: scope.getUser(),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, { status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n\n return session;\n }\n\n /**\n * Returns if default PII should be sent to Sentry and propagated in ourgoing requests\n * when Tracing is used.\n */\n public shouldSendDefaultPii(): boolean {\n const client = this.getClient();\n const options = client && client.getOptions();\n return Boolean(options && options.sendDefaultPii);\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n\n const session = scope.getSession();\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n private _withClient(callback: (client: Client, scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (client) {\n callback(client, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod<T>(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n __DEBUG_BUILD__ && logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return GLOBAL_OBJ;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n const hub = registry.__SENTRY__.acs.getCurrentHub();\n\n if (hub) {\n return hub;\n }\n }\n\n // Return hub that lives on a global object\n return getGlobalHub(registry);\n}\n\nfunction getGlobalHub(registry: Carrier = getMainCarrier()): Hub {\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * If the carrier does not contain a hub, a new hub is created with the global hub client and scope.\n */\nexport function ensureHubOnCarrier(carrier: Carrier, parent: Hub = getGlobalHub()): void {\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(carrier) || getHubFromCarrier(carrier).isOlderThan(API_VERSION)) {\n const globalHubTopStack = parent.getStackTop();\n setHubOnCarrier(carrier, new Hub(globalHubTopStack.client, Scope.clone(globalHubTopStack.scope)));\n }\n}\n\n/**\n * @private Private API with no semver guarantees!\n *\n * Sets the global async context strategy\n */\nexport function setAsyncContextStrategy(strategy: AsyncContextStrategy | undefined): void {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n registry.__SENTRY__ = registry.__SENTRY__ || {};\n registry.__SENTRY__.acs = strategy;\n}\n\n/**\n * Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.\n *\n * @param callback The callback to run in its own async context\n * @param options Options to pass to the async context strategy\n * @returns The result of the callback\n */\nexport function runWithAsyncContext<T>(callback: () => T, options: RunWithAsyncContextOptions = {}): T {\n const registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n return registry.__SENTRY__.acs.runWithAsyncContext(callback, options);\n }\n\n // if there was no strategy, fallback to just calling the callback\n return callback();\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n return getGlobalSingleton<Hub>('hub', () => new Hub(), carrier);\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n const __SENTRY__ = (carrier.__SENTRY__ = carrier.__SENTRY__ || {});\n __SENTRY__.hub = hub;\n return true;\n}\n","import { addInstrumentationHandler, logger } from '@sentry/utils';\n\nimport type { SpanStatusType } from './span';\nimport { getActiveTransaction } from './utils';\n\nlet errorsInstrumented = false;\n\n/**\n * Configures global error listeners\n */\nexport function registerErrorInstrumentation(): void {\n if (errorsInstrumented) {\n return;\n }\n\n errorsInstrumented = true;\n addInstrumentationHandler('error', errorCallback);\n addInstrumentationHandler('unhandledrejection', errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback(): void {\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status: SpanStatusType = 'internal_error';\n __DEBUG_BUILD__ && logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n\n// The function name will be lost when bundling but we need to be able to identify this listener later to maintain the\n// node.js default exit behaviour\nerrorCallback.tag = 'sentry_tracingErrorCallback';\n","import type { ClientOptions, CustomSamplingContext, Options, SamplingContext, TransactionContext } from '@sentry/types';\nimport { isNaN, logger } from '@sentry/utils';\n\nimport type { Hub } from '../hub';\nimport { getMainCarrier } from '../hub';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled';\nimport { registerErrorInstrumentation } from './errors';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders(this: Hub): { [key: string]: string } {\n const scope = this.getScope();\n const span = scope.getSpan();\n\n return span\n ? {\n 'sentry-trace': span.toTraceparent(),\n }\n : {};\n}\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample<T extends Transaction>(\n transaction: T,\n options: Pick<Options, 'tracesSampleRate' | 'tracesSampler' | 'enableTracing'>,\n samplingContext: SamplingContext,\n): T {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n sampleRate: Number(transaction.sampled),\n });\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` nor `enableTracing` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n sampleRate: Number(sampleRate),\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n sampleRate: Number(sampleRate),\n });\n } else {\n // When `enableTracing === true`, we use a sample rate of 100%\n sampleRate = 1;\n transaction.setMetadata({\n sampleRate,\n });\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n __DEBUG_BUILD__ && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n __DEBUG_BUILD__ &&\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < (sampleRate as number | boolean);\n\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n __DEBUG_BUILD__ &&\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n __DEBUG_BUILD__ && logger.log(`[Tracing] starting ${transaction.op} transaction - ${transaction.name}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate: unknown): boolean {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n __DEBUG_BUILD__ &&\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n this: Hub,\n transactionContext: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n const client = this.getClient();\n const options: Partial<ClientOptions> = (client && client.getOptions()) || {};\n\n const configInstrumenter = options.instrumenter || 'sentry';\n const transactionInstrumenter = transactionContext.instrumenter || 'sentry';\n\n if (configInstrumenter !== transactionInstrumenter) {\n __DEBUG_BUILD__ &&\n logger.error(\n `A transaction was started with instrumenter=\\`${transactionInstrumenter}\\`, but the SDK is configured with the \\`${configInstrumenter}\\` instrumenter.\nThe transaction will not be sampled. Please use the ${configInstrumenter} instrumentation to start transactions.`,\n );\n\n transactionContext.sampled = false;\n }\n\n let transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(\n hub: Hub,\n transactionContext: TransactionContext,\n idleTimeout: number,\n finalTimeout: number,\n onScope?: boolean,\n customSamplingContext?: CustomSamplingContext,\n heartbeatInterval?: number,\n): IdleTransaction {\n const client = hub.getClient();\n const options: Partial<ClientOptions> = (client && client.getOptions()) || {};\n\n let transaction = new IdleTransaction(transactionContext, hub, idleTimeout, finalTimeout, heartbeatInterval, onScope);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n if (client && client.emit) {\n client.emit('startTransaction', transaction);\n }\n return transaction;\n}\n\n/**\n * Adds tracing extensions to the global hub.\n */\nexport function addTracingExtensions(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n\n registerErrorInstrumentation();\n}\n","/* eslint-disable max-lines */\nimport type { TransactionContext } from '@sentry/types';\nimport { logger, timestampInSeconds } from '@sentry/utils';\n\nimport type { Hub } from '../hub';\nimport type { Span } from './span';\nimport { SpanRecorder } from './span';\nimport { Transaction } from './transaction';\n\nexport const TRACING_DEFAULTS = {\n idleTimeout: 1000,\n finalTimeout: 30000,\n heartbeatInterval: 5000,\n};\n\nconst FINISH_REASON_TAG = 'finishReason';\n\nconst IDLE_TRANSACTION_FINISH_REASONS = [\n 'heartbeatFailed',\n 'idleTimeout',\n 'documentHidden',\n 'finalTimeout',\n 'externalFinish',\n 'cancelled',\n];\n\n/**\n * @inheritDoc\n */\nexport class IdleTransactionSpanRecorder extends SpanRecorder {\n public constructor(\n private readonly _pushActivity: (id: string) => void,\n private readonly _popActivity: (id: string) => void,\n public transactionSpanId: string,\n maxlen?: number,\n ) {\n super(maxlen);\n }\n\n /**\n * @inheritDoc\n */\n public add(span: Span): void {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = (endTimestamp?: number) => {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampInSeconds();\n this._popActivity(span.spanId);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n\n super.add(span);\n }\n}\n\nexport type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void;\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nexport class IdleTransaction extends Transaction {\n // Activities store a list of active spans\n public activities: Record<string, boolean> = {};\n\n // Track state of activities in previous heartbeat\n private _prevHeartbeatString: string | undefined;\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n private _heartbeatCounter: number = 0;\n\n // We should not use heartbeat if we finished a transaction\n private _finished: boolean = false;\n\n // Idle timeout was canceled and we should finish the transaction with the last span end.\n private _idleTimeoutCanceledPermanently: boolean = false;\n\n private readonly _beforeFinishCallbacks: BeforeFinishCallback[] = [];\n\n /**\n * Timer that tracks Transaction idleTimeout\n */\n private _idleTimeoutID: ReturnType<typeof setTimeout> | undefined;\n\n private _finishReason: (typeof IDLE_TRANSACTION_FINISH_REASONS)[number] = IDLE_TRANSACTION_FINISH_REASONS[4];\n\n public constructor(\n transactionContext: TransactionContext,\n private readonly _idleHub: Hub,\n /**\n * The time to wait in ms until the idle transaction will be finished. This timer is started each time\n * there are no active spans on this transaction.\n */\n private readonly _idleTimeout: number = TRACING_DEFAULTS.idleTimeout,\n /**\n * The final value in ms that a transaction cannot exceed\n */\n private readonly _finalTimeout: number = TRACING_DEFAULTS.finalTimeout,\n private readonly _heartbeatInterval: number = TRACING_DEFAULTS.heartbeatInterval,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n private readonly _onScope: boolean = false,\n ) {\n super(transactionContext, _idleHub);\n\n if (_onScope) {\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n __DEBUG_BUILD__ && logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`);\n _idleHub.configureScope(scope => scope.setSpan(this));\n }\n\n this._restartIdleTimeout();\n setTimeout(() => {\n if (!this._finished) {\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[3];\n this.finish();\n }\n }, this._finalTimeout);\n }\n\n /** {@inheritDoc} */\n public finish(endTimestamp: number = timestampInSeconds()): string | undefined {\n this._finished = true;\n this.activities = {};\n\n if (this.op === 'ui.action.click') {\n this.setTag(FINISH_REASON_TAG, this._finishReason);\n }\n\n if (this.spanRecorder) {\n __DEBUG_BUILD__ &&\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestamp);\n }\n\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span: Span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === this.spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n __DEBUG_BUILD__ &&\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n __DEBUG_BUILD__ &&\n logger.log(\n '[Tracing] discarding Span since it happened after Transaction was finished',\n JSON.stringify(span, undefined, 2),\n );\n }\n return keepSpan;\n });\n\n __DEBUG_BUILD__ && logger.log('[Tracing] flushing IdleTransaction');\n } else {\n __DEBUG_BUILD__ && logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n const scope = this._idleHub.getScope();\n if (scope.getTransaction() === this) {\n scope.setSpan(undefined);\n }\n }\n\n return super.finish(endTimestamp);\n }\n\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n public registerBeforeFinishCallback(callback: BeforeFinishCallback): void {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public initSpanRecorder(maxlen?: number): void {\n if (!this.spanRecorder) {\n const pushActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n __DEBUG_BUILD__ && logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Cancels the existing idle timeout, if there is one.\n * @param restartOnChildSpanChange Default is `true`.\n * If set to false the transaction will end\n * with the last child span.\n */\n public cancelIdleTimeout(\n endTimestamp?: Parameters<IdleTransaction['finish']>[0],\n {\n restartOnChildSpanChange,\n }: {\n restartOnChildSpanChange?: boolean;\n } = {\n restartOnChildSpanChange: true,\n },\n ): void {\n this._idleTimeoutCanceledPermanently = restartOnChildSpanChange === false;\n if (this._idleTimeoutID) {\n clearTimeout(this._idleTimeoutID);\n this._idleTimeoutID = undefined;\n\n if (Object.keys(this.activities).length === 0 && this._idleTimeoutCanceledPermanently) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.finish(endTimestamp);\n }\n }\n }\n\n /**\n * Temporary method used to externally set the transaction's `finishReason`\n *\n * ** WARNING**\n * This is for the purpose of experimentation only and will be removed in the near future, do not use!\n *\n * @internal\n *\n */\n public setFinishReason(reason: string): void {\n this._finishReason = reason;\n }\n\n /**\n * Restarts idle timeout, if there is no running idle timeout it will start one.\n */\n private _restartIdleTimeout(endTimestamp?: Parameters<IdleTransaction['finish']>[0]): void {\n this.cancelIdleTimeout();\n this._idleTimeoutID = setTimeout(() => {\n if (!this._finished && Object.keys(this.activities).length === 0) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[1];\n this.finish(endTimestamp);\n }\n }, this._idleTimeout);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n private _pushActivity(spanId: string): void {\n this.cancelIdleTimeout(undefined, { restartOnChildSpanChange: !this._idleTimeoutCanceledPermanently });\n __DEBUG_BUILD__ && logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n __DEBUG_BUILD__ && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n private _popActivity(spanId: string): void {\n if (this.activities[spanId]) {\n __DEBUG_BUILD__ && logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n __DEBUG_BUILD__ && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const endTimestamp = timestampInSeconds();\n if (this._idleTimeoutCanceledPermanently) {\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[5];\n this.finish(endTimestamp);\n } else {\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampInSeconds is in seconds, timeout is in ms\n this._restartIdleTimeout(endTimestamp + this._idleTimeout / 1000);\n }\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n private _beat(): void {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter++;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n __DEBUG_BUILD__ && logger.log('[Tracing] Transaction finished because of no change for 3 heart beats');\n this.setStatus('deadline_exceeded');\n this._finishReason = IDLE_TRANSACTION_FINISH_REASONS[0];\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n private _pingHeartbeat(): void {\n __DEBUG_BUILD__ && logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, this._heartbeatInterval);\n }\n}\n","/* eslint-disable max-lines */\nimport type {\n Instrumenter,\n Primitive,\n Span as SpanInterface,\n SpanContext,\n TraceContext,\n Transaction,\n} from '@sentry/types';\nimport { dropUndefinedKeys, logger, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nexport class SpanRecorder {\n public spans: Span[] = [];\n\n private readonly _maxlen: number;\n\n public constructor(maxlen: number = 1000) {\n this._maxlen = maxlen;\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n public add(span: Span): void {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nexport class Span implements SpanInterface {\n /**\n * @inheritDoc\n */\n public traceId: string = uuid4();\n\n /**\n * @inheritDoc\n */\n public spanId: string = uuid4().substring(16);\n\n /**\n * @inheritDoc\n */\n public parentSpanId?: string;\n\n /**\n * Internal keeper of the status\n */\n public status?: SpanStatusType | string;\n\n /**\n * @inheritDoc\n */\n public sampled?: boolean;\n\n /**\n * Timestamp in seconds when the span was created.\n */\n public startTimestamp: number = timestampInSeconds();\n\n /**\n * Timestamp in seconds when the span ended.\n */\n public endTimestamp?: number;\n\n /**\n * @inheritDoc\n */\n public op?: string;\n\n /**\n * @inheritDoc\n */\n public description?: string;\n\n /**\n * @inheritDoc\n */\n public tags: { [key: string]: Primitive } = {};\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public data: { [key: string]: any } = {};\n\n /**\n * List of spans that were finalized\n */\n public spanRecorder?: SpanRecorder;\n\n /**\n * @inheritDoc\n */\n public transaction?: Transaction;\n\n /**\n * The instrumenter that created this span.\n */\n public instrumenter: Instrumenter = 'sentry';\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(spanContext?: SpanContext) {\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n if (spanContext.instrumenter) {\n this.instrumenter = spanContext.instrumenter;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startChild(\n spanContext?: Pick<SpanContext, Exclude<keyof SpanContext, 'sampled' | 'traceId' | 'parentSpanId'>>,\n ): Span {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId,\n });\n\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n\n childSpan.transaction = this.transaction;\n\n if (__DEBUG_BUILD__ && childSpan.transaction) {\n const opStr = (spanContext && spanContext.op) || '< unknown op >';\n const nameStr = childSpan.transaction.name || '< unknown name >';\n const idStr = childSpan.transaction.spanId;\n\n const logMessage = `[Tracing] Starting '${opStr}' span on transaction '${nameStr}' (${idStr}).`;\n childSpan.transaction.metadata.spanMetadata[childSpan.spanId] = { logMessage };\n logger.log(logMessage);\n }\n\n return childSpan;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public setData(key: string, value: any): this {\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setStatus(value: SpanStatusType): this {\n this.status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setHttpStatus(httpStatus: number): this {\n this.setTag('http.status_code', String(httpStatus));\n const spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public isSuccess(): boolean {\n return this.status === 'ok';\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): void {\n if (\n __DEBUG_BUILD__ &&\n // Don't call this for transactions\n this.transaction &&\n this.transaction.spanId !== this.spanId\n ) {\n const { logMessage } = this.transaction.metadata.spanMetadata[this.spanId];\n if (logMessage) {\n logger.log((logMessage as string).replace('Starting', 'Finishing'));\n }\n }\n\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampInSeconds();\n }\n\n /**\n * @inheritDoc\n */\n public toTraceparent(): string {\n let sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return `${this.traceId}-${this.spanId}${sampledString}`;\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): SpanContext {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(spanContext: SpanContext): this {\n this.data = spanContext.data || {};\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = spanContext.spanId || this.spanId;\n this.startTimestamp = spanContext.startTimestamp || this.startTimestamp;\n this.status = spanContext.status;\n this.tags = spanContext.tags || {};\n this.traceId = spanContext.traceId || this.traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getTraceContext(): TraceContext {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public toJSON(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId,\n });\n }\n}\n\nexport type SpanStatusType =\n /** The operation completed successfully. */\n | 'ok'\n /** Deadline expired before operation could complete. */\n | 'deadline_exceeded'\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n | 'unauthenticated'\n /** 403 Forbidden */\n | 'permission_denied'\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n | 'not_found'\n /** 429 Too Many Requests */\n | 'resource_exhausted'\n /** Client specified an invalid argument. 4xx. */\n | 'invalid_argument'\n /** 501 Not Implemented */\n | 'unimplemented'\n /** 503 Service Unavailable */\n | 'unavailable'\n /** Other/generic 5xx. */\n | 'internal_error'\n /** Unknown. Any non-standard HTTP status code. */\n | 'unknown_error'\n /** The operation was cancelled (typically by the user). */\n | 'cancelled'\n /** Already exists (409) */\n | 'already_exists'\n /** Operation was rejected because the system is not in a state required for the operation's */\n | 'failed_precondition'\n /** The operation was aborted, typically due to a concurrency issue. */\n | 'aborted'\n /** Operation was attempted past the valid range. */\n | 'out_of_range'\n /** Unrecoverable data loss or corruption */\n | 'data_loss';\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus: number): SpanStatusType {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n","import type {\n Context,\n Contexts,\n DynamicSamplingContext,\n Event,\n Measurements,\n MeasurementUnit,\n Transaction as TransactionInterface,\n TransactionContext,\n TransactionMetadata,\n} from '@sentry/types';\nimport { dropUndefinedKeys, logger } from '@sentry/utils';\n\nimport { DEFAULT_ENVIRONMENT } from '../constants';\nimport type { Hub } from '../hub';\nimport { getCurrentHub } from '../hub';\nimport { Span as SpanClass, SpanRecorder } from './span';\n\n/** JSDoc */\nexport class Transaction extends SpanClass implements TransactionInterface {\n public metadata: TransactionMetadata;\n\n /**\n * The reference to the current hub.\n */\n public _hub: Hub;\n\n private _name: string;\n\n private _measurements: Measurements = {};\n\n private _contexts: Contexts = {};\n\n private _trimEnd?: boolean;\n\n private _frozenDynamicSamplingContext: Readonly<Partial<DynamicSamplingContext>> | undefined = undefined;\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(transactionContext: TransactionContext, hub?: Hub) {\n super(transactionContext);\n\n this._hub = hub || getCurrentHub();\n\n this._name = transactionContext.name || '';\n\n this.metadata = {\n source: 'custom',\n ...transactionContext.metadata,\n spanMetadata: {},\n };\n\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n this.transaction = this;\n\n // If Dynamic Sampling Context is provided during the creation of the transaction, we freeze it as it usually means\n // there is incoming Dynamic Sampling Context. (Either through an incoming request, a baggage meta-tag, or other means)\n const incomingDynamicSamplingContext = this.metadata.dynamicSamplingContext;\n if (incomingDynamicSamplingContext) {\n // We shallow copy this in case anything writes to the original reference of the passed in `dynamicSamplingContext`\n this._frozenDynamicSamplingContext = { ...incomingDynamicSamplingContext };\n }\n }\n\n /** Getter for `name` property */\n public get name(): string {\n return this._name;\n }\n\n /** Setter for `name` property, which also sets `source` as custom */\n public set name(newName: string) {\n this.setName(newName);\n }\n\n /**\n * JSDoc\n */\n public setName(name: string, source: TransactionMetadata['source'] = 'custom'): void {\n this._name = name;\n this.metadata.source = source;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n public initSpanRecorder(maxlen: number = 1000): void {\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): void {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n }\n\n /**\n * @inheritDoc\n */\n public setMeasurement(name: string, value: number, unit: MeasurementUnit = ''): void {\n this._measurements[name] = { value, unit };\n }\n\n /**\n * @inheritDoc\n */\n public setMetadata(newMetadata: Partial<TransactionMetadata>): void {\n this.metadata = { ...this.metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): string | undefined {\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n\n if (!this.name) {\n __DEBUG_BUILD__ && logger.warn('Transaction has no name, falling back to `<unlabeled transaction>`.');\n this.name = '<unlabeled transaction>';\n }\n\n // just sets the end timestamp\n super.finish(endTimestamp);\n\n const client = this._hub.getClient();\n if (client && client.emit) {\n client.emit('finishTransaction', this);\n }\n\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n __DEBUG_BUILD__ && logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n if (client) {\n client.recordDroppedEvent('sample_rate', 'transaction');\n }\n\n return undefined;\n }\n\n const finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(s => s !== this && s.endTimestamp) : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce((prev: SpanClass, current: SpanClass) => {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n\n const metadata = this.metadata;\n\n const transaction: Event = {\n contexts: {\n ...this._contexts,\n // We don't want to override trace context\n trace: this.getTraceContext(),\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: {\n ...metadata,\n dynamicSamplingContext: this.getDynamicSamplingContext(),\n },\n ...(metadata.source && {\n transaction_info: {\n source: metadata.source,\n },\n }),\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n __DEBUG_BUILD__ &&\n logger.log(\n '[Measurements] Adding measurements to transaction',\n JSON.stringify(this._measurements, undefined, 2),\n );\n transaction.measurements = this._measurements;\n }\n\n __DEBUG_BUILD__ && logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);\n\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): TransactionContext {\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this.name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(transactionContext: TransactionContext): this {\n super.updateWithContext(transactionContext);\n\n this.name = transactionContext.name || '';\n\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n\n /**\n * @inheritdoc\n *\n * @experimental\n */\n public getDynamicSamplingContext(): Readonly<Partial<DynamicSamplingContext>> {\n if (this._frozenDynamicSamplingContext) {\n return this._frozenDynamicSamplingContext;\n }\n\n const hub: Hub = this._hub || getCurrentHub();\n const client = hub && hub.getClient();\n\n if (!client) return {};\n\n const { environment, release } = client.getOptions() || {};\n const { publicKey: public_key } = client.getDsn() || {};\n\n const maybeSampleRate = this.metadata.sampleRate;\n const sample_rate = maybeSampleRate !== undefined ? maybeSampleRate.toString() : undefined;\n\n const { segment: user_segment } = hub.getScope().getUser() || {};\n\n const source = this.metadata.source;\n\n // We don't want to have a transaction name in the DSC if the source is \"url\" because URLs might contain PII\n const transaction = source && source !== 'url' ? this.name : undefined;\n\n const dsc = dropUndefinedKeys({\n environment: environment || DEFAULT_ENVIRONMENT,\n release,\n transaction,\n user_segment,\n public_key,\n trace_id: this.traceId,\n sample_rate,\n });\n\n // Uncomment if we want to make DSC immutable\n // this._frozenDynamicSamplingContext = dsc;\n\n client.emit && client.emit('createDsc', dsc);\n\n return dsc;\n }\n\n /**\n * Override the current hub with a new one.\n * Used if you want another hub to finish the transaction.\n *\n * @internal\n */\n public setHub(hub: Hub): void {\n this._hub = hub;\n }\n}\n","import type { Transaction } from '@sentry/types';\n\nimport type { Hub } from '../hub';\nimport { getCurrentHub } from '../hub';\n\n/**\n * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used\n * to be declared in this file. It was later moved into `@sentry/utils` as part of a\n * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`\n * is the only tracing function used by `@sentry/node`).\n *\n * These exports are kept here for backwards compatability's sake.\n *\n * TODO(v7): Reorganize these exports\n *\n * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.\n */\nexport { TRACEPARENT_REGEXP, extractTraceparentData } from '@sentry/utils';\n\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction<T extends Transaction>(maybeHub?: Hub): T | undefined {\n const hub = maybeHub || getCurrentHub();\n const scope = hub.getScope();\n return scope.getTransaction() as T | undefined;\n}\n\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\n","import type { Options } from '@sentry/types';\n\nimport { getCurrentHub } from '../hub';\n\n// Treeshakable guard to remove all code related to tracing\ndeclare const __SENTRY_TRACING__: boolean | undefined;\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(\n maybeOptions?: Pick<Options, 'tracesSampleRate' | 'tracesSampler' | 'enableTracing'> | undefined,\n): boolean {\n if (typeof __SENTRY_TRACING__ === 'boolean' && !__SENTRY_TRACING__) {\n return false;\n }\n\n const client = getCurrentHub().getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options);\n}\n","import { isString } from './is';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\nconst DEFAULT_MAX_STRING_LENGTH = 80;\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(\n elem: unknown,\n options: string[] | { keyAttrs?: string[]; maxStringLength?: number } = {},\n): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n const maxStringLength = (!Array.isArray(options) && options.maxStringLength) || DEFAULT_MAX_STRING_LENGTH;\n\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds maxStringLength\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n try {\n return WINDOW.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n\n/**\n * Gets a DOM element by using document.querySelector.\n *\n * This wrapper will first check for the existance of the function before\n * actually calling it so that we don't have to take care of this check,\n * every time we want to access the DOM.\n *\n * Reason: DOM/querySelector is not available in all environments.\n *\n * We have to cast to any because utils can be consumed by a variety of environments,\n * and we don't want to break TS users. If you know what element will be selected by\n * `document.querySelector`, specify it as part of the generic call. For example,\n * `const element = getDomElement<Element>('selector');`\n *\n * @param selector the selector string passed on to document.querySelector\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function getDomElement<E = any>(selector: string): E | null {\n if (WINDOW.document && WINDOW.document.querySelector) {\n return WINDOW.document.querySelector(selector) as unknown as E;\n }\n return null;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport { PolymorphicEvent, Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): wat is Error {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n/**\n * Checks whether given value is an instance of the given built-in class.\n *\n * @param wat The value to be checked\n * @param className\n * @returns A boolean representing the result.\n */\nfunction isBuiltin(wat: unknown, className: string): boolean {\n return objectToString.call(wat) === `[object ${className}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): wat is string {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record<string, unknown> {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): wat is PolymorphicEvent {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike<any> {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isNaN(wat: unknown): boolean {\n return typeof wat === 'number' && wat !== wat;\n}\n\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n","import { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalSingleton, GLOBAL_OBJ } from './worldwide';\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\nexport const CONSOLE_LEVELS = ['debug', 'info', 'warn', 'error', 'log', 'assert', 'trace'] as const;\nexport type ConsoleLevel = typeof CONSOLE_LEVELS[number];\n\ntype LoggerMethod = (...args: unknown[]) => void;\ntype LoggerConsoleMethods = Record<typeof CONSOLE_LEVELS[number], LoggerMethod>;\n\n/** JSDoc */\ninterface Logger extends LoggerConsoleMethods {\n disable(): void;\n enable(): void;\n}\n\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox<T>(callback: () => T): T {\n if (!('console' in GLOBAL_OBJ)) {\n return callback();\n }\n\n const originalConsole = GLOBAL_OBJ.console as Console & Record<string, unknown>;\n const wrappedLevels: Partial<LoggerConsoleMethods> = {};\n\n // Restore all wrapped console methods\n CONSOLE_LEVELS.forEach(level => {\n // TODO(v7): Remove this check as it's only needed for Node 6\n const originalWrappedFunc =\n originalConsole[level] && (originalConsole[level] as WrappedFunction).__sentry_original__;\n if (level in originalConsole && originalWrappedFunc) {\n wrappedLevels[level] = originalConsole[level] as LoggerConsoleMethods[typeof level];\n originalConsole[level] = originalWrappedFunc as Console[typeof level];\n }\n });\n\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level as typeof CONSOLE_LEVELS[number]];\n });\n }\n}\n\nfunction makeLogger(): Logger {\n let enabled = false;\n const logger: Partial<Logger> = {\n enable: () => {\n enabled = true;\n },\n disable: () => {\n enabled = false;\n },\n };\n\n if (__DEBUG_BUILD__) {\n CONSOLE_LEVELS.forEach(name => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = (...args: any[]) => {\n if (enabled) {\n consoleSandbox(() => {\n GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(name => {\n logger[name] = () => undefined;\n });\n }\n\n return logger as Logger;\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nlet logger: Logger;\nif (__DEBUG_BUILD__) {\n logger = getGlobalSingleton('logger', makeLogger);\n} else {\n logger = makeLogger();\n}\n\nexport { logger };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\nimport { GLOBAL_OBJ } from './worldwide';\n\ninterface CryptoInternal {\n getRandomValues(array: Uint8Array): Uint8Array;\n randomUUID?(): string;\n}\n\n/** An interface for common properties on global */\ninterface CryptoGlobal {\n msCrypto?: CryptoInternal;\n crypto?: CryptoInternal;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const gbl = GLOBAL_OBJ as typeof GLOBAL_OBJ & CryptoGlobal;\n const crypto = gbl.crypto || gbl.msCrypto;\n\n if (crypto && crypto.randomUUID) {\n return crypto.randomUUID().replace(/-/g, '');\n }\n\n const getRandomByte =\n crypto && crypto.getRandomValues ? () => crypto.getRandomValues(new Uint8Array(1))[0] : () => Math.random() * 16;\n\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n // Concatenating the following numbers as strings results in '10000000100040008000100000000000'\n return (([1e7] as unknown as string) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, c =>\n // eslint-disable-next-line no-bitwise\n ((c as unknown as number) ^ ((getRandomByte() & 15) >> ((c as unknown as number) / 4))).toString(16),\n );\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '<unknown>';\n }\n return eventId || '<unknown>';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial<Mechanism>): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n // When there is no line number in the frame, attaching context is nonsensical and will even break grouping\n if (frame.lineno === undefined) {\n return;\n }\n\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, frame.lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n\n/**\n * Checks whether the given input is already an array, and if it isn't, wraps it in one.\n *\n * @param maybeArray Input to turn into an array, if necessary\n * @returns The input, if already an array, or an array with the input as the only element, if not\n */\nexport function arrayify<T = unknown>(maybeArray: T | T[]): T[] {\n return Array.isArray(maybeArray) ? maybeArray : [maybeArray];\n}\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\nimport { isBrowserBundle } from './env';\n\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\nexport function isNodeEnv(): boolean {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return (\n !isBrowserBundle() &&\n Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'\n );\n}\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\nexport function dynamicRequire(mod: any, request: string): any {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\nexport function loadModule<T>(moduleName: string): T | undefined {\n let mod: T | undefined;\n\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {\n // no-empty\n }\n\n try {\n const { cwd } = dynamicRequire(module, 'process');\n mod = dynamicRequire(module, `${cwd()}/node_modules/${moduleName}`) as T;\n } catch (e) {\n // no-empty\n }\n\n return mod;\n}\n","/*\n * This module exists for optimizations in the build process through rollup and terser. We define some global\n * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these\n * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will\n * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to\n * `logger` and preventing node-related code from appearing in browser bundles.\n *\n * Attention:\n * This file should not be used to define constants/flags that are intended to be used for tree-shaking conducted by\n * users. These fags should live in their respective packages, as we identified user tooling (specifically webpack)\n * having issues tree-shaking these constants across package boundaries.\n * An example for this is the __SENTRY_DEBUG__ constant. It is declared in each package individually because we want\n * users to be able to shake away expressions that it guards.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive } from './is';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, <other\n * args>)` or `origMethod.apply(this, [<other args>])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any `Error` or `Event` into a plain object with all of their enumerable properties, and some of their\n * non-enumerable properties attached.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor\n * an Error.\n */\nexport function convertToPlainObject<V extends unknown>(\n value: V,\n):\n | {\n [ownProps: string]: unknown;\n type: string;\n target: string;\n currentTarget: string;\n detail?: unknown;\n }\n | {\n [ownProps: string]: unknown;\n message: string;\n name: string;\n stack?: string;\n }\n | V {\n if (isError(value)) {\n return {\n message: value.message,\n name: value.name,\n stack: value.stack,\n ...getOwnProperties(value),\n };\n } else if (isEvent(value)) {\n const newObj: {\n [ownProps: string]: unknown;\n type: string;\n target: string;\n currentTarget: string;\n detail?: unknown;\n } = {\n type: value.type,\n target: serializeEventTarget(value.target),\n currentTarget: serializeEventTarget(value.currentTarget),\n ...getOwnProperties(value),\n };\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = value.detail;\n }\n\n return newObj;\n } else {\n return value;\n }\n}\n\n/** Creates a string representation of the target of an `Event` object */\nfunction serializeEventTarget(target: unknown): string {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n\n/** Filters out all but an object's own properties */\nfunction getOwnProperties(obj: unknown): { [key: string]: unknown } {\n if (typeof obj === 'object' && obj !== null) {\n const extractedProps: { [key: string]: unknown } = {};\n for (const property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = (obj as Record<string, unknown>)[property];\n }\n }\n return extractedProps;\n } else {\n return {};\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\nexport function extractExceptionKeysForMessage(exception: Record<string, unknown>, maxLength: number = 40): string {\n const keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return a new object having removed all fields whose value was `undefined`.\n * Works recursively on objects and arrays.\n *\n * Attention: This function keeps circular references in the returned object.\n */\nexport function dropUndefinedKeys<T>(inputValue: T): T {\n // This map keeps track of what already visited nodes map to.\n // Our Set - based memoBuilder doesn't work here because we want to the output object to have the same circular\n // references as the input object.\n const memoizationMap = new Map<unknown, unknown>();\n\n // This function just proxies `_dropUndefinedKeys` to keep the `memoBuilder` out of this function's API\n return _dropUndefinedKeys(inputValue, memoizationMap);\n}\n\nfunction _dropUndefinedKeys<T>(inputValue: T, memoizationMap: Map<unknown, unknown>): T {\n if (isPlainObject(inputValue)) {\n // If this node has already been visited due to a circular reference, return the object it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal as T;\n }\n\n const returnValue: { [key: string]: any } = {};\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n for (const key of Object.keys(inputValue)) {\n if (typeof inputValue[key] !== 'undefined') {\n returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);\n }\n }\n\n return returnValue as T;\n }\n\n if (Array.isArray(inputValue)) {\n // If this node has already been visited due to a circular reference, return the array it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal as T;\n }\n\n const returnValue: unknown[] = [];\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n inputValue.forEach((item: unknown) => {\n returnValue.push(_dropUndefinedKeys(item, memoizationMap));\n });\n\n return returnValue as unknown as T;\n }\n\n return inputValue;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n","import { isRegExp, isString } from './is';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.substr(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the given value matches a regex or string\n *\n * @param value The string to test\n * @param pattern Either a regex or a string against which `value` will be matched\n * @param requireExactStringMatch If true, `value` must match `pattern` exactly. If false, `value` will match\n * `pattern` if it contains `pattern`. Only applies to string-type patterns.\n */\nexport function isMatchingPattern(\n value: string,\n pattern: RegExp | string,\n requireExactStringMatch: boolean = false,\n): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n if (isString(pattern)) {\n return requireExactStringMatch ? value === pattern : value.includes(pattern);\n }\n\n return false;\n}\n\n/**\n * Test the given string against an array of strings and regexes. By default, string matching is done on a\n * substring-inclusion basis rather than a strict equality basis\n *\n * @param testString The string to test\n * @param patterns The patterns against which to test the string\n * @param requireExactStringMatch If true, `testString` must match one of the given string patterns exactly in order to\n * count. If false, `testString` will match a string pattern if it contains that pattern.\n * @returns\n */\nexport function stringMatchesSomePattern(\n testString: string,\n patterns: Array<string | RegExp> = [],\n requireExactStringMatch: boolean = false,\n): boolean {\n return patterns.some(pattern => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\n\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString: string): string {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}\n","/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n// Overloads so we can call resolvedSyncPromise without arguments and generic argument\nexport function resolvedSyncPromise(): PromiseLike<void>;\nexport function resolvedSyncPromise<T>(value: T | PromiseLike<T>): PromiseLike<T>;\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise<T>(value?: T | PromiseLike<T>): PromiseLike<T> {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise<T = never>(reason?: any): PromiseLike<T> {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise<T> implements PromiseLike<T> {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike<T> | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then<TResult1 = T, TResult2 = never>(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,\n ): PromiseLike<TResult1 | TResult2> {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch<TResult = never>(\n onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null,\n ): PromiseLike<T | TResult> {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally<TResult>(onfinally?: (() => void) | null): PromiseLike<TResult> {\n return new SyncPromise<TResult>((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike<T> | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike<T> | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike<T>).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n","import { dynamicRequire, isNodeEnv } from './node';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = WINDOW;\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n// Re-exported with an old name for backwards-compatibility.\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = WINDOW;\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n *\n * Note: This file was originally called `global.ts`, but was changed to unblock users which might be doing\n * string replaces with bundlers like Vite for `global` (would break imports that rely on importing from utils/src/global).\n *\n * Why worldwide?\n *\n * Why not?\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Integration } from '@sentry/types';\n\n/** Internal global with common properties and Sentry extensions */\nexport interface InternalGlobal {\n navigator?: { userAgent?: string };\n console: Console;\n Sentry?: {\n Integrations?: Integration[];\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n extensions?: {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n// The code below for 'isGlobalObj' and 'GLOBAL_OBJ' was copied from core-js before modification\n// https://github.com/zloirock/core-js/blob/1b944df55282cdc99c90db5f49eb0b6eda2cc0a3/packages/core-js/internals/global.js\n// core-js has the following licence:\n//\n// Copyright (c) 2014-2022 Denis Pushkarev\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n/** Returns 'obj' if it's the global object, otherwise returns undefined */\nfunction isGlobalObj(obj: { Math?: Math }): any | undefined {\n return obj && obj.Math == Math ? obj : undefined;\n}\n\n/** Get's the global object for the current JavaScript runtime */\nexport const GLOBAL_OBJ: InternalGlobal =\n (typeof globalThis == 'object' && isGlobalObj(globalThis)) ||\n // eslint-disable-next-line no-restricted-globals\n (typeof window == 'object' && isGlobalObj(window)) ||\n (typeof self == 'object' && isGlobalObj(self)) ||\n (typeof global == 'object' && isGlobalObj(global)) ||\n (function (this: any) {\n return this;\n })() ||\n {};\n\n/**\n * @deprecated Use GLOBAL_OBJ instead or WINDOW from @sentry/browser. This will be removed in v8\n */\nexport function getGlobalObject<T>(): T & InternalGlobal {\n return GLOBAL_OBJ as T & InternalGlobal;\n}\n\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value\n * @returns the singleton\n */\nexport function getGlobalSingleton<T>(name: keyof InternalGlobal['__SENTRY__'], creator: () => T, obj?: unknown): T {\n const gbl = (obj || GLOBAL_OBJ) as InternalGlobal;\n const __SENTRY__ = (gbl.__SENTRY__ = gbl.__SENTRY__ || {});\n const singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}\n","import type { StackFrame, StackLineParser, StackParser } from '@sentry/types';\n\nimport type { GetModuleFn } from './node-stack-trace';\nimport { node } from './node-stack-trace';\n\nconst STACKTRACE_FRAME_LIMIT = 50;\n// Used to sanitize webpack (error: *) wrapped stack errors\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\nexport function createStackParser(...parsers: StackLineParser[]): StackParser {\n const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map(p => p[1]);\n\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n const lines = stack.split('\\n');\n\n for (let i = skipFirst; i < lines.length; i++) {\n const line = lines[i];\n // Ignore lines over 1kb as they are unlikely to be stack frames.\n // Many of the regular expressions use backtracking which results in run time that increases exponentially with\n // input size. Huge strings can result in hangs/Denial of Service:\n // https://github.com/getsentry/sentry-javascript/issues/2286\n if (line.length > 1024) {\n continue;\n }\n\n // https://github.com/getsentry/sentry-javascript/issues/5459\n // Remove webpack (error: *) wrappers\n const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, '$1') : line;\n\n // https://github.com/getsentry/sentry-javascript/issues/7813\n // Skip Error: lines\n if (cleanedLine.match(/\\S*Error: /)) {\n continue;\n }\n\n for (const parser of sortedParsers) {\n const frame = parser(cleanedLine);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n\n if (frames.length >= STACKTRACE_FRAME_LIMIT) {\n break;\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * Gets a stack parser implementation from Options.stackParser\n * @see Options\n *\n * If options contains an array of line parsers, it is converted into a parser\n */\nexport function stackParserFromStackParserOptions(stackParser: StackParser | StackLineParser[]): StackParser {\n if (Array.isArray(stackParser)) {\n return createStackParser(...stackParser);\n }\n return stackParser;\n}\n\n/**\n * Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.\n * Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the\n * function that caused the crash is the last frame in the array.\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: ReadonlyArray<StackFrame>): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n const localStack = stack.slice(0, STACKTRACE_FRAME_LIMIT);\n\n const lastFrameFunction = localStack[localStack.length - 1].function;\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (lastFrameFunction && /sentryWrapped/.test(lastFrameFunction)) {\n localStack.pop();\n }\n\n // Reversing in the middle of the procedure allows us to just pop the values off the stack\n localStack.reverse();\n\n const firstFrameFunction = localStack[localStack.length - 1].function;\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (firstFrameFunction && /captureMessage|captureException/.test(firstFrameFunction)) {\n localStack.pop();\n }\n\n return localStack.map(frame => ({\n ...frame,\n filename: frame.filename || localStack[localStack.length - 1].filename,\n function: frame.function || '?',\n }));\n}\n\nconst defaultFunctionName = '<anonymous>';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n\n/**\n * Node.js stack line parser\n *\n * This is in @sentry/utils so it can be used from the Electron SDK in the browser for when `nodeIntegration == true`.\n * This allows it to be used without referencing or importing any node specific code which causes bundlers to complain\n */\nexport function nodeStackLineParser(getModule?: GetModuleFn): StackLineParser {\n return [90, node(getModule)];\n}\n","import { logger } from './logger';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\nexport { supportsHistory } from './vendor/supportsHistory';\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in WINDOW)) {\n return false;\n }\n\n try {\n new Headers();\n new Request('http://www.example.com');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(WINDOW.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = WINDOW.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === 'function') {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n __DEBUG_BUILD__ &&\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in WINDOW;\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n","// Based on https://github.com/angular/angular.js/pull/13945/files\n// The MIT License\n\n// Copyright (c) 2010-2016 Google, Inc. http://angularjs.org\n\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\nimport { getGlobalObject } from '../worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (WINDOW as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in WINDOW && !!WINDOW.history.pushState && !!WINDOW.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport type {\n HandlerDataFetch,\n HandlerDataXhr,\n SentryWrappedXMLHttpRequest,\n SentryXhrData,\n WrappedFunction,\n} from '@sentry/types';\n\nimport { isString } from './is';\nimport { CONSOLE_LEVELS, logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\nexport const SENTRY_XHR_DATA_KEY = '__sentry_xhr_v2__';\n\nexport type InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\nexport type InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n __DEBUG_BUILD__ && logger.warn('unknown instrumentation type:', type);\n return;\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n __DEBUG_BUILD__ &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in WINDOW)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level: string): void {\n if (!(level in WINDOW.console)) {\n return;\n }\n\n fill(WINDOW.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(WINDOW.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(WINDOW, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const { method, url } = parseFetchArgs(args);\n\n const handlerData: HandlerDataFetch = {\n args,\n fetchData: {\n method,\n url,\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(WINDOW, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\nfunction hasProp<T extends string>(obj: unknown, prop: T): obj is Record<string, string> {\n return !!obj && typeof obj === 'object' && !!(obj as Record<string, string>)[prop];\n}\n\ntype FetchResource = string | { toString(): string } | { url: string };\n\nfunction getUrlFromResource(resource: FetchResource): string {\n if (typeof resource === 'string') {\n return resource;\n }\n\n if (!resource) {\n return '';\n }\n\n if (hasProp(resource, 'url')) {\n return resource.url;\n }\n\n if (resource.toString) {\n return resource.toString();\n }\n\n return '';\n}\n\n/**\n * Parses the fetch arguments to find the used Http method and the url of the request\n */\nexport function parseFetchArgs(fetchArgs: unknown[]): { method: string; url: string } {\n if (fetchArgs.length === 0) {\n return { method: 'GET', url: '' };\n }\n\n if (fetchArgs.length === 2) {\n const [url, options] = fetchArgs as [FetchResource, object];\n\n return {\n url: getUrlFromResource(url),\n method: hasProp(options, 'method') ? String(options.method).toUpperCase() : 'GET',\n };\n }\n\n const arg = fetchArgs[0];\n return {\n url: getUrlFromResource(arg as FetchResource),\n method: hasProp(arg, 'method') ? String(arg.method).toUpperCase() : 'GET',\n };\n}\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in WINDOW)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: XMLHttpRequest & SentryWrappedXMLHttpRequest, ...args: any[]): void {\n const url = args[1];\n const xhrInfo: SentryXhrData = (this[SENTRY_XHR_DATA_KEY] = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n request_headers: {},\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n this.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler: () => void = () => {\n // For whatever reason, this is not the same instance here as from the outer method\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (!xhrInfo) {\n return;\n }\n\n if (this.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = this.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args: args as [string, string],\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr: this,\n } as HandlerDataXhr);\n }\n };\n\n if ('onreadystatechange' in this && typeof this.onreadystatechange === 'function') {\n fill(this, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (this: SentryWrappedXMLHttpRequest, ...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(this, readyStateArgs);\n };\n });\n } else {\n this.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n // Intercepting `setRequestHeader` to access the request headers of XHR instance.\n // This will only work for user/library defined headers, not for the default/browser-assigned headers.\n // Request cookies are also unavailable for XHR, as `Cookie` header can't be defined by `setRequestHeader`.\n fill(this, 'setRequestHeader', function (original: WrappedFunction): Function {\n return function (this: SentryWrappedXMLHttpRequest, ...setRequestHeaderArgs: unknown[]): void {\n const [header, value] = setRequestHeaderArgs as [string, string];\n\n const xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (xhrInfo) {\n xhrInfo.request_headers[header.toLowerCase()] = value;\n }\n\n return original.apply(this, setRequestHeaderArgs);\n };\n });\n\n return originalOpen.apply(this, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: XMLHttpRequest & SentryWrappedXMLHttpRequest, ...args: any[]): void {\n const sentryXhrData = this[SENTRY_XHR_DATA_KEY];\n if (sentryXhrData && args[0] !== undefined) {\n sentryXhrData.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = WINDOW.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in WINDOW)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (WINDOW as any)[target] && (WINDOW as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: (typeof WINDOW)['onerror'] | null = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = WINDOW.onerror;\n\n WINDOW.onerror = function (msg: unknown, url: unknown, line: unknown, column: unknown, error: unknown): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler && !_oldOnErrorHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n\n WINDOW.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\n\nlet _oldOnUnhandledRejectionHandler: (typeof WINDOW)['onunhandledrejection'] | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = WINDOW.onunhandledrejection;\n\n WINDOW.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler && !_oldOnUnhandledRejectionHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n\n WINDOW.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport type { PolymorphicEvent, Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): wat is Error {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n/**\n * Checks whether given value is an instance of the given built-in class.\n *\n * @param wat The value to be checked\n * @param className\n * @returns A boolean representing the result.\n */\nfunction isBuiltin(wat: unknown, className: string): boolean {\n return objectToString.call(wat) === `[object ${className}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): wat is string {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record<string, unknown> {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): wat is PolymorphicEvent {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike<any> {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isNaN(wat: unknown): boolean {\n return typeof wat === 'number' && wat !== wat;\n}\n\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n","import type { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalSingleton, GLOBAL_OBJ } from './worldwide';\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\nexport const CONSOLE_LEVELS = ['debug', 'info', 'warn', 'error', 'log', 'assert', 'trace'] as const;\nexport type ConsoleLevel = (typeof CONSOLE_LEVELS)[number];\n\ntype LoggerMethod = (...args: unknown[]) => void;\ntype LoggerConsoleMethods = Record<(typeof CONSOLE_LEVELS)[number], LoggerMethod>;\n\n/** JSDoc */\ninterface Logger extends LoggerConsoleMethods {\n disable(): void;\n enable(): void;\n}\n\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox<T>(callback: () => T): T {\n if (!('console' in GLOBAL_OBJ)) {\n return callback();\n }\n\n const originalConsole = GLOBAL_OBJ.console as Console & Record<string, unknown>;\n const wrappedLevels: Partial<LoggerConsoleMethods> = {};\n\n // Restore all wrapped console methods\n CONSOLE_LEVELS.forEach(level => {\n // TODO(v7): Remove this check as it's only needed for Node 6\n const originalWrappedFunc =\n originalConsole[level] && (originalConsole[level] as WrappedFunction).__sentry_original__;\n if (level in originalConsole && originalWrappedFunc) {\n wrappedLevels[level] = originalConsole[level] as LoggerConsoleMethods[typeof level];\n originalConsole[level] = originalWrappedFunc as Console[typeof level];\n }\n });\n\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level as (typeof CONSOLE_LEVELS)[number]];\n });\n }\n}\n\nfunction makeLogger(): Logger {\n let enabled = false;\n const logger: Partial<Logger> = {\n enable: () => {\n enabled = true;\n },\n disable: () => {\n enabled = false;\n },\n };\n\n if (__DEBUG_BUILD__) {\n CONSOLE_LEVELS.forEach(name => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = (...args: any[]) => {\n if (enabled) {\n consoleSandbox(() => {\n GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(name => {\n logger[name] = () => undefined;\n });\n }\n\n return logger as Logger;\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nlet logger: Logger;\nif (__DEBUG_BUILD__) {\n logger = getGlobalSingleton('logger', makeLogger);\n} else {\n logger = makeLogger();\n}\n\nexport { logger };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\nimport { GLOBAL_OBJ } from './worldwide';\n\ninterface CryptoInternal {\n getRandomValues(array: Uint8Array): Uint8Array;\n randomUUID?(): string;\n}\n\n/** An interface for common properties on global */\ninterface CryptoGlobal {\n msCrypto?: CryptoInternal;\n crypto?: CryptoInternal;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const gbl = GLOBAL_OBJ as typeof GLOBAL_OBJ & CryptoGlobal;\n const crypto = gbl.crypto || gbl.msCrypto;\n\n if (crypto && crypto.randomUUID) {\n return crypto.randomUUID().replace(/-/g, '');\n }\n\n const getRandomByte =\n crypto && crypto.getRandomValues ? () => crypto.getRandomValues(new Uint8Array(1))[0] : () => Math.random() * 16;\n\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n // Concatenating the following numbers as strings results in '10000000100040008000100000000000'\n return (([1e7] as unknown as string) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, c =>\n // eslint-disable-next-line no-bitwise\n ((c as unknown as number) ^ ((getRandomByte() & 15) >> ((c as unknown as number) / 4))).toString(16),\n );\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '<unknown>';\n }\n return eventId || '<unknown>';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial<Mechanism>): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n // When there is no line number in the frame, attaching context is nonsensical and will even break grouping\n if (frame.lineno === undefined) {\n return;\n }\n\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, frame.lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n\n/**\n * Checks whether the given input is already an array, and if it isn't, wraps it in one.\n *\n * @param maybeArray Input to turn into an array, if necessary\n * @returns The input, if already an array, or an array with the input as the only element, if not\n */\nexport function arrayify<T = unknown>(maybeArray: T | T[]): T[] {\n return Array.isArray(maybeArray) ? maybeArray : [maybeArray];\n}\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\nimport { isBrowserBundle } from './env';\n\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\nexport function isNodeEnv(): boolean {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return (\n !isBrowserBundle() &&\n Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'\n );\n}\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\nexport function dynamicRequire(mod: any, request: string): any {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\nexport function loadModule<T>(moduleName: string): T | undefined {\n let mod: T | undefined;\n\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {\n // no-empty\n }\n\n try {\n const { cwd } = dynamicRequire(module, 'process');\n mod = dynamicRequire(module, `${cwd()}/node_modules/${moduleName}`) as T;\n } catch (e) {\n // no-empty\n }\n\n return mod;\n}\n","/*\n * This module exists for optimizations in the build process through rollup and terser. We define some global\n * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these\n * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will\n * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to\n * `logger` and preventing node-related code from appearing in browser bundles.\n *\n * Attention:\n * This file should not be used to define constants/flags that are intended to be used for tree-shaking conducted by\n * users. These flags should live in their respective packages, as we identified user tooling (specifically webpack)\n * having issues tree-shaking these constants across package boundaries.\n * An example for this is the __SENTRY_DEBUG__ constant. It is declared in each package individually because we want\n * users to be able to shake away expressions that it guards.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\n\nexport type SdkSource = 'npm' | 'cdn' | 'loader';\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Get source of SDK.\n */\nexport function getSDKSource(): SdkSource {\n // @ts-ignore __SENTRY_SDK_SOURCE__ is injected by rollup during build process\n return __SENTRY_SDK_SOURCE__;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive } from './is';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, <other\n * args>)` or `origMethod.apply(this, [<other args>])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any `Error` or `Event` into a plain object with all of their enumerable properties, and some of their\n * non-enumerable properties attached.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor\n * an Error.\n */\nexport function convertToPlainObject<V>(value: V):\n | {\n [ownProps: string]: unknown;\n type: string;\n target: string;\n currentTarget: string;\n detail?: unknown;\n }\n | {\n [ownProps: string]: unknown;\n message: string;\n name: string;\n stack?: string;\n }\n | V {\n if (isError(value)) {\n return {\n message: value.message,\n name: value.name,\n stack: value.stack,\n ...getOwnProperties(value),\n };\n } else if (isEvent(value)) {\n const newObj: {\n [ownProps: string]: unknown;\n type: string;\n target: string;\n currentTarget: string;\n detail?: unknown;\n } = {\n type: value.type,\n target: serializeEventTarget(value.target),\n currentTarget: serializeEventTarget(value.currentTarget),\n ...getOwnProperties(value),\n };\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = value.detail;\n }\n\n return newObj;\n } else {\n return value;\n }\n}\n\n/** Creates a string representation of the target of an `Event` object */\nfunction serializeEventTarget(target: unknown): string {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n\n/** Filters out all but an object's own properties */\nfunction getOwnProperties(obj: unknown): { [key: string]: unknown } {\n if (typeof obj === 'object' && obj !== null) {\n const extractedProps: { [key: string]: unknown } = {};\n for (const property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = (obj as Record<string, unknown>)[property];\n }\n }\n return extractedProps;\n } else {\n return {};\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\nexport function extractExceptionKeysForMessage(exception: Record<string, unknown>, maxLength: number = 40): string {\n const keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return a new object having removed all fields whose value was `undefined`.\n * Works recursively on objects and arrays.\n *\n * Attention: This function keeps circular references in the returned object.\n */\nexport function dropUndefinedKeys<T>(inputValue: T): T {\n // This map keeps track of what already visited nodes map to.\n // Our Set - based memoBuilder doesn't work here because we want to the output object to have the same circular\n // references as the input object.\n const memoizationMap = new Map<unknown, unknown>();\n\n // This function just proxies `_dropUndefinedKeys` to keep the `memoBuilder` out of this function's API\n return _dropUndefinedKeys(inputValue, memoizationMap);\n}\n\nfunction _dropUndefinedKeys<T>(inputValue: T, memoizationMap: Map<unknown, unknown>): T {\n if (isPlainObject(inputValue)) {\n // If this node has already been visited due to a circular reference, return the object it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal as T;\n }\n\n const returnValue: { [key: string]: any } = {};\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n for (const key of Object.keys(inputValue)) {\n if (typeof inputValue[key] !== 'undefined') {\n returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);\n }\n }\n\n return returnValue as T;\n }\n\n if (Array.isArray(inputValue)) {\n // If this node has already been visited due to a circular reference, return the array it was mapped to in the new object\n const memoVal = memoizationMap.get(inputValue);\n if (memoVal !== undefined) {\n return memoVal as T;\n }\n\n const returnValue: unknown[] = [];\n // Store the mapping of this value in case we visit it again, in case of circular data\n memoizationMap.set(inputValue, returnValue);\n\n inputValue.forEach((item: unknown) => {\n returnValue.push(_dropUndefinedKeys(item, memoizationMap));\n });\n\n return returnValue as unknown as T;\n }\n\n return inputValue;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n","import { dynamicRequire, isNodeEnv } from './node';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = WINDOW;\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n/**\n * Re-exported with an old name for backwards-compatibility.\n * TODO (v8): Remove this\n *\n * @deprecated Use `timestampInSeconds` instead.\n */\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = WINDOW;\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n *\n * Note: This file was originally called `global.ts`, but was changed to unblock users which might be doing\n * string replaces with bundlers like Vite for `global` (would break imports that rely on importing from utils/src/global).\n *\n * Why worldwide?\n *\n * Why not?\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport type { Integration } from '@sentry/types';\n\nimport type { SdkSource } from './env';\n\n/** Internal global with common properties and Sentry extensions */\nexport interface InternalGlobal {\n navigator?: { userAgent?: string };\n console: Console;\n Sentry?: {\n Integrations?: Integration[];\n };\n onerror?: {\n (msg: unknown, url: unknown, line: unknown, column: unknown, error: unknown): boolean;\n __SENTRY_INSTRUMENTED__?: true;\n __SENTRY_LOADER__?: true;\n };\n onunhandledrejection?: {\n (event: unknown): boolean;\n __SENTRY_INSTRUMENTED__?: true;\n __SENTRY_LOADER__?: true;\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n SENTRY_SDK_SOURCE?: SdkSource;\n /**\n * Debug IDs are indirectly injected by Sentry CLI or bundler plugins to directly reference a particular source map\n * for resolving of a source file. The injected code will place an entry into the record for each loaded bundle/JS\n * file.\n */\n _sentryDebugIds?: Record<string, string>;\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n extensions?: {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n// The code below for 'isGlobalObj' and 'GLOBAL_OBJ' was copied from core-js before modification\n// https://github.com/zloirock/core-js/blob/1b944df55282cdc99c90db5f49eb0b6eda2cc0a3/packages/core-js/internals/global.js\n// core-js has the following licence:\n//\n// Copyright (c) 2014-2022 Denis Pushkarev\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n/** Returns 'obj' if it's the global object, otherwise returns undefined */\nfunction isGlobalObj(obj: { Math?: Math }): any | undefined {\n return obj && obj.Math == Math ? obj : undefined;\n}\n\n/** Get's the global object for the current JavaScript runtime */\nexport const GLOBAL_OBJ: InternalGlobal =\n (typeof globalThis == 'object' && isGlobalObj(globalThis)) ||\n // eslint-disable-next-line no-restricted-globals\n (typeof window == 'object' && isGlobalObj(window)) ||\n (typeof self == 'object' && isGlobalObj(self)) ||\n (typeof global == 'object' && isGlobalObj(global)) ||\n (function (this: any) {\n return this;\n })() ||\n {};\n\n/**\n * @deprecated Use GLOBAL_OBJ instead or WINDOW from @sentry/browser. This will be removed in v8\n */\nexport function getGlobalObject<T>(): T & InternalGlobal {\n return GLOBAL_OBJ as T & InternalGlobal;\n}\n\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value\n * @returns the singleton\n */\nexport function getGlobalSingleton<T>(name: keyof InternalGlobal['__SENTRY__'], creator: () => T, obj?: unknown): T {\n const gbl = (obj || GLOBAL_OBJ) as InternalGlobal;\n const __SENTRY__ = (gbl.__SENTRY__ = gbl.__SENTRY__ || {});\n const singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}\n","import { addTracingExtensions, getMainCarrier } from '@sentry/core';\nimport type { Integration, IntegrationClass } from '@sentry/types';\nimport { dynamicRequire, isNodeEnv, loadModule } from '@sentry/utils';\n\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n\n const packageToIntegrationMapping: Record<string, () => Integration> = {\n mongodb() {\n const integration = dynamicRequire(module, './node/integrations/mongo') as {\n Mongo: IntegrationClass<Integration>;\n };\n return new integration.Mongo();\n },\n mongoose() {\n const integration = dynamicRequire(module, './node/integrations/mongo') as {\n Mongo: IntegrationClass<Integration>;\n };\n return new integration.Mongo();\n },\n mysql() {\n const integration = dynamicRequire(module, './node/integrations/mysql') as {\n Mysql: IntegrationClass<Integration>;\n };\n return new integration.Mysql();\n },\n pg() {\n const integration = dynamicRequire(module, './node/integrations/postgres') as {\n Postgres: IntegrationClass<Integration>;\n };\n return new integration.Postgres();\n },\n };\n\n const mappedPackages = Object.keys(packageToIntegrationMapping)\n .filter(moduleName => !!loadModule(moduleName))\n .map(pkg => {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n })\n .filter(p => p) as Integration[];\n\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = [...(carrier.__SENTRY__.integrations || []), ...mappedPackages];\n }\n}\n\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods(): void {\n addTracingExtensions();\n\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n}\n","\nmodule.exports = absolutize\n\n/**\n * redefine `path` with absolute coordinates\n *\n * @param {Array} path\n * @return {Array}\n */\n\nfunction absolutize(path){\n\tvar startX = 0\n\tvar startY = 0\n\tvar x = 0\n\tvar y = 0\n\n\treturn path.map(function(seg){\n\t\tseg = seg.slice()\n\t\tvar type = seg[0]\n\t\tvar command = type.toUpperCase()\n\n\t\t// is relative\n\t\tif (type != command) {\n\t\t\tseg[0] = command\n\t\t\tswitch (type) {\n\t\t\t\tcase 'a':\n\t\t\t\t\tseg[6] += x\n\t\t\t\t\tseg[7] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'v':\n\t\t\t\t\tseg[1] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'h':\n\t\t\t\t\tseg[1] += x\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tfor (var i = 1; i < seg.length;) {\n\t\t\t\t\t\tseg[i++] += x\n\t\t\t\t\t\tseg[i++] += y\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// update cursor state\n\t\tswitch (command) {\n\t\t\tcase 'Z':\n\t\t\t\tx = startX\n\t\t\t\ty = startY\n\t\t\t\tbreak\n\t\t\tcase 'H':\n\t\t\t\tx = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'V':\n\t\t\t\ty = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'M':\n\t\t\t\tx = startX = seg[1]\n\t\t\t\ty = startY = seg[2]\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tx = seg[seg.length - 2]\n\t\t\t\ty = seg[seg.length - 1]\n\t\t}\n\n\t\treturn seg\n\t})\n}\n","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (file, acceptedFiles) {\n if (file && acceptedFiles) {\n var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(',');\n var fileName = file.name || '';\n var mimeType = (file.type || '').toLowerCase();\n var baseMimeType = mimeType.replace(/\\/.*$/, '');\n return acceptedFilesArray.some(function (type) {\n var validType = type.trim().toLowerCase();\n\n if (validType.charAt(0) === '.') {\n return fileName.toLowerCase().endsWith(validType);\n } else if (validType.endsWith('/*')) {\n // This is something like a image/* mime type\n return baseMimeType === validType.replace(/\\/.*$/, '');\n }\n\n return mimeType === validType;\n });\n }\n\n return true;\n};","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Bit reading helpers\n*/\n\nvar BROTLI_READ_SIZE = 4096;\nvar BROTLI_IBUF_SIZE = (2 * BROTLI_READ_SIZE + 32);\nvar BROTLI_IBUF_MASK = (2 * BROTLI_READ_SIZE - 1);\n\nvar kBitMask = new Uint32Array([\n 0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767,\n 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215\n]);\n\n/* Input byte buffer, consist of a ringbuffer and a \"slack\" region where */\n/* bytes from the start of the ringbuffer are copied. */\nfunction BrotliBitReader(input) {\n this.buf_ = new Uint8Array(BROTLI_IBUF_SIZE);\n this.input_ = input; /* input callback */\n \n this.reset();\n}\n\nBrotliBitReader.READ_SIZE = BROTLI_READ_SIZE;\nBrotliBitReader.IBUF_MASK = BROTLI_IBUF_MASK;\n\nBrotliBitReader.prototype.reset = function() {\n this.buf_ptr_ = 0; /* next input will write here */\n this.val_ = 0; /* pre-fetched bits */\n this.pos_ = 0; /* byte position in stream */\n this.bit_pos_ = 0; /* current bit-reading position in val_ */\n this.bit_end_pos_ = 0; /* bit-reading end position from LSB of val_ */\n this.eos_ = 0; /* input stream is finished */\n \n this.readMoreInput();\n for (var i = 0; i < 4; i++) {\n this.val_ |= this.buf_[this.pos_] << (8 * i);\n ++this.pos_;\n }\n \n return this.bit_end_pos_ > 0;\n};\n\n/* Fills up the input ringbuffer by calling the input callback.\n\n Does nothing if there are at least 32 bytes present after current position.\n\n Returns 0 if either:\n - the input callback returned an error, or\n - there is no more input and the position is past the end of the stream.\n\n After encountering the end of the input stream, 32 additional zero bytes are\n copied to the ringbuffer, therefore it is safe to call this function after\n every 32 bytes of input is read.\n*/\nBrotliBitReader.prototype.readMoreInput = function() {\n if (this.bit_end_pos_ > 256) {\n return;\n } else if (this.eos_) {\n if (this.bit_pos_ > this.bit_end_pos_)\n throw new Error('Unexpected end of input ' + this.bit_pos_ + ' ' + this.bit_end_pos_);\n } else {\n var dst = this.buf_ptr_;\n var bytes_read = this.input_.read(this.buf_, dst, BROTLI_READ_SIZE);\n if (bytes_read < 0) {\n throw new Error('Unexpected end of input');\n }\n \n if (bytes_read < BROTLI_READ_SIZE) {\n this.eos_ = 1;\n /* Store 32 bytes of zero after the stream end. */\n for (var p = 0; p < 32; p++)\n this.buf_[dst + bytes_read + p] = 0;\n }\n \n if (dst === 0) {\n /* Copy the head of the ringbuffer to the slack region. */\n for (var p = 0; p < 32; p++)\n this.buf_[(BROTLI_READ_SIZE << 1) + p] = this.buf_[p];\n\n this.buf_ptr_ = BROTLI_READ_SIZE;\n } else {\n this.buf_ptr_ = 0;\n }\n \n this.bit_end_pos_ += bytes_read << 3;\n }\n};\n\n/* Guarantees that there are at least 24 bits in the buffer. */\nBrotliBitReader.prototype.fillBitWindow = function() { \n while (this.bit_pos_ >= 8) {\n this.val_ >>>= 8;\n this.val_ |= this.buf_[this.pos_ & BROTLI_IBUF_MASK] << 24;\n ++this.pos_;\n this.bit_pos_ = this.bit_pos_ - 8 >>> 0;\n this.bit_end_pos_ = this.bit_end_pos_ - 8 >>> 0;\n }\n};\n\n/* Reads the specified number of bits from Read Buffer. */\nBrotliBitReader.prototype.readBits = function(n_bits) {\n if (32 - this.bit_pos_ < n_bits) {\n this.fillBitWindow();\n }\n \n var val = ((this.val_ >>> this.bit_pos_) & kBitMask[n_bits]);\n this.bit_pos_ += n_bits;\n return val;\n};\n\nmodule.exports = BrotliBitReader;\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Lookup table to map the previous two bytes to a context id.\n\n There are four different context modeling modes defined here:\n CONTEXT_LSB6: context id is the least significant 6 bits of the last byte,\n CONTEXT_MSB6: context id is the most significant 6 bits of the last byte,\n CONTEXT_UTF8: second-order context model tuned for UTF8-encoded text,\n CONTEXT_SIGNED: second-order context model tuned for signed integers.\n\n The context id for the UTF8 context model is calculated as follows. If p1\n and p2 are the previous two bytes, we calcualte the context as\n\n context = kContextLookup[p1] | kContextLookup[p2 + 256].\n\n If the previous two bytes are ASCII characters (i.e. < 128), this will be\n equivalent to\n\n context = 4 * context1(p1) + context2(p2),\n\n where context1 is based on the previous byte in the following way:\n\n 0 : non-ASCII control\n 1 : \\t, \\n, \\r\n 2 : space\n 3 : other punctuation\n 4 : \" '\n 5 : %\n 6 : ( < [ {\n 7 : ) > ] }\n 8 : , ; :\n 9 : .\n 10 : =\n 11 : number\n 12 : upper-case vowel\n 13 : upper-case consonant\n 14 : lower-case vowel\n 15 : lower-case consonant\n\n and context2 is based on the second last byte:\n\n 0 : control, space\n 1 : punctuation\n 2 : upper-case letter, number\n 3 : lower-case letter\n\n If the last byte is ASCII, and the second last byte is not (in a valid UTF8\n stream it will be a continuation byte, value between 128 and 191), the\n context is the same as if the second last byte was an ASCII control or space.\n\n If the last byte is a UTF8 lead byte (value >= 192), then the next byte will\n be a continuation byte and the context id is 2 or 3 depending on the LSB of\n the last byte and to a lesser extent on the second last byte if it is ASCII.\n\n If the last byte is a UTF8 continuation byte, the second last byte can be:\n - continuation byte: the next byte is probably ASCII or lead byte (assuming\n 4-byte UTF8 characters are rare) and the context id is 0 or 1.\n - lead byte (192 - 207): next byte is ASCII or lead byte, context is 0 or 1\n - lead byte (208 - 255): next byte is continuation byte, context is 2 or 3\n\n The possible value combinations of the previous two bytes, the range of\n context ids and the type of the next byte is summarized in the table below:\n\n |--------\\-----------------------------------------------------------------|\n | \\ Last byte |\n | Second \\---------------------------------------------------------------|\n | last byte \\ ASCII | cont. byte | lead byte |\n | \\ (0-127) | (128-191) | (192-) |\n |=============|===================|=====================|==================|\n | ASCII | next: ASCII/lead | not valid | next: cont. |\n | (0-127) | context: 4 - 63 | | context: 2 - 3 |\n |-------------|-------------------|---------------------|------------------|\n | cont. byte | next: ASCII/lead | next: ASCII/lead | next: cont. |\n | (128-191) | context: 4 - 63 | context: 0 - 1 | context: 2 - 3 |\n |-------------|-------------------|---------------------|------------------|\n | lead byte | not valid | next: ASCII/lead | not valid |\n | (192-207) | | context: 0 - 1 | |\n |-------------|-------------------|---------------------|------------------|\n | lead byte | not valid | next: cont. | not valid |\n | (208-) | | context: 2 - 3 | |\n |-------------|-------------------|---------------------|------------------|\n\n The context id for the signed context mode is calculated as:\n\n context = (kContextLookup[512 + p1] << 3) | kContextLookup[512 + p2].\n\n For any context modeling modes, the context ids can be calculated by |-ing\n together two lookups from one table using context model dependent offsets:\n\n context = kContextLookup[offset1 + p1] | kContextLookup[offset2 + p2].\n\n where offset1 and offset2 are dependent on the context mode.\n*/\n\nvar CONTEXT_LSB6 = 0;\nvar CONTEXT_MSB6 = 1;\nvar CONTEXT_UTF8 = 2;\nvar CONTEXT_SIGNED = 3;\n\n/* Common context lookup table for all context modes. */\nexports.lookup = new Uint8Array([\n /* CONTEXT_UTF8, last byte. */\n /* ASCII range. */\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 4, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 8, 12, 16, 12, 12, 20, 12, 16, 24, 28, 12, 12, 32, 12, 36, 12,\n 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 32, 32, 24, 40, 28, 12,\n 12, 48, 52, 52, 52, 48, 52, 52, 52, 48, 52, 52, 52, 52, 52, 48,\n 52, 52, 52, 52, 52, 48, 52, 52, 52, 52, 52, 24, 12, 28, 12, 12,\n 12, 56, 60, 60, 60, 56, 60, 60, 60, 56, 60, 60, 60, 60, 60, 56,\n 60, 60, 60, 60, 60, 56, 60, 60, 60, 60, 60, 24, 12, 28, 12, 0,\n /* UTF8 continuation byte range. */\n 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,\n 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,\n 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,\n 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,\n /* UTF8 lead byte range. */\n 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3,\n 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3,\n 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3,\n 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3,\n /* CONTEXT_UTF8 second last byte. */\n /* ASCII range. */\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1,\n 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,\n 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1,\n 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,\n 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 0,\n /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4, 4, 4, 4, 4, 4, 4, 4, 4, 4,\n 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,\n 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,\n 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,\n 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7,\n /* CONTEXT_SIGNED, last byte, same as the above values shifted by 3 bits. */\n 0, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,\n 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,\n 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,\n 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,\n 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,\n 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,\n 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,\n 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,\n 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,\n 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,\n 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,\n 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,\n 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,\n 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,\n 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,\n 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 56,\n /* CONTEXT_LSB6, last byte. */\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,\n 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,\n 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,\n 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,\n 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,\n /* CONTEXT_MSB6, last byte. */\n 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,\n 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7,\n 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11,\n 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15,\n 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19,\n 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23,\n 24, 24, 24, 24, 25, 25, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27,\n 28, 28, 28, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 31, 31, 31,\n 32, 32, 32, 32, 33, 33, 33, 33, 34, 34, 34, 34, 35, 35, 35, 35,\n 36, 36, 36, 36, 37, 37, 37, 37, 38, 38, 38, 38, 39, 39, 39, 39,\n 40, 40, 40, 40, 41, 41, 41, 41, 42, 42, 42, 42, 43, 43, 43, 43,\n 44, 44, 44, 44, 45, 45, 45, 45, 46, 46, 46, 46, 47, 47, 47, 47,\n 48, 48, 48, 48, 49, 49, 49, 49, 50, 50, 50, 50, 51, 51, 51, 51,\n 52, 52, 52, 52, 53, 53, 53, 53, 54, 54, 54, 54, 55, 55, 55, 55,\n 56, 56, 56, 56, 57, 57, 57, 57, 58, 58, 58, 58, 59, 59, 59, 59,\n 60, 60, 60, 60, 61, 61, 61, 61, 62, 62, 62, 62, 63, 63, 63, 63,\n /* CONTEXT_{M,L}SB6, second last byte, */\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n]);\n\nexports.lookupOffsets = new Uint16Array([\n /* CONTEXT_LSB6 */\n 1024, 1536,\n /* CONTEXT_MSB6 */\n 1280, 1536,\n /* CONTEXT_UTF8 */\n 0, 256,\n /* CONTEXT_SIGNED */\n 768, 512,\n]);\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nvar BrotliInput = require('./streams').BrotliInput;\nvar BrotliOutput = require('./streams').BrotliOutput;\nvar BrotliBitReader = require('./bit_reader');\nvar BrotliDictionary = require('./dictionary');\nvar HuffmanCode = require('./huffman').HuffmanCode;\nvar BrotliBuildHuffmanTable = require('./huffman').BrotliBuildHuffmanTable;\nvar Context = require('./context');\nvar Prefix = require('./prefix');\nvar Transform = require('./transform');\n\nvar kDefaultCodeLength = 8;\nvar kCodeLengthRepeatCode = 16;\nvar kNumLiteralCodes = 256;\nvar kNumInsertAndCopyCodes = 704;\nvar kNumBlockLengthCodes = 26;\nvar kLiteralContextBits = 6;\nvar kDistanceContextBits = 2;\n\nvar HUFFMAN_TABLE_BITS = 8;\nvar HUFFMAN_TABLE_MASK = 0xff;\n/* Maximum possible Huffman table size for an alphabet size of 704, max code\n * length 15 and root table bits 8. */\nvar HUFFMAN_MAX_TABLE_SIZE = 1080;\n\nvar CODE_LENGTH_CODES = 18;\nvar kCodeLengthCodeOrder = new Uint8Array([\n 1, 2, 3, 4, 0, 5, 17, 6, 16, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n]);\n\nvar NUM_DISTANCE_SHORT_CODES = 16;\nvar kDistanceShortCodeIndexOffset = new Uint8Array([\n 3, 2, 1, 0, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2\n]);\n\nvar kDistanceShortCodeValueOffset = new Int8Array([\n 0, 0, 0, 0, -1, 1, -2, 2, -3, 3, -1, 1, -2, 2, -3, 3\n]);\n\nvar kMaxHuffmanTableSize = new Uint16Array([\n 256, 402, 436, 468, 500, 534, 566, 598, 630, 662, 694, 726, 758, 790, 822,\n 854, 886, 920, 952, 984, 1016, 1048, 1080\n]);\n\nfunction DecodeWindowBits(br) {\n var n;\n if (br.readBits(1) === 0) {\n return 16;\n }\n \n n = br.readBits(3);\n if (n > 0) {\n return 17 + n;\n }\n \n n = br.readBits(3);\n if (n > 0) {\n return 8 + n;\n }\n \n return 17;\n}\n\n/* Decodes a number in the range [0..255], by reading 1 - 11 bits. */\nfunction DecodeVarLenUint8(br) {\n if (br.readBits(1)) {\n var nbits = br.readBits(3);\n if (nbits === 0) {\n return 1;\n } else {\n return br.readBits(nbits) + (1 << nbits);\n }\n }\n return 0;\n}\n\nfunction MetaBlockLength() {\n this.meta_block_length = 0;\n this.input_end = 0;\n this.is_uncompressed = 0;\n this.is_metadata = false;\n}\n\nfunction DecodeMetaBlockLength(br) {\n var out = new MetaBlockLength; \n var size_nibbles;\n var size_bytes;\n var i;\n \n out.input_end = br.readBits(1);\n if (out.input_end && br.readBits(1)) {\n return out;\n }\n \n size_nibbles = br.readBits(2) + 4;\n if (size_nibbles === 7) {\n out.is_metadata = true;\n \n if (br.readBits(1) !== 0)\n throw new Error('Invalid reserved bit');\n \n size_bytes = br.readBits(2);\n if (size_bytes === 0)\n return out;\n \n for (i = 0; i < size_bytes; i++) {\n var next_byte = br.readBits(8);\n if (i + 1 === size_bytes && size_bytes > 1 && next_byte === 0)\n throw new Error('Invalid size byte');\n \n out.meta_block_length |= next_byte << (i * 8);\n }\n } else {\n for (i = 0; i < size_nibbles; ++i) {\n var next_nibble = br.readBits(4);\n if (i + 1 === size_nibbles && size_nibbles > 4 && next_nibble === 0)\n throw new Error('Invalid size nibble');\n \n out.meta_block_length |= next_nibble << (i * 4);\n }\n }\n \n ++out.meta_block_length;\n \n if (!out.input_end && !out.is_metadata) {\n out.is_uncompressed = br.readBits(1);\n }\n \n return out;\n}\n\n/* Decodes the next Huffman code from bit-stream. */\nfunction ReadSymbol(table, index, br) {\n var start_index = index;\n \n var nbits;\n br.fillBitWindow();\n index += (br.val_ >>> br.bit_pos_) & HUFFMAN_TABLE_MASK;\n nbits = table[index].bits - HUFFMAN_TABLE_BITS;\n if (nbits > 0) {\n br.bit_pos_ += HUFFMAN_TABLE_BITS;\n index += table[index].value;\n index += (br.val_ >>> br.bit_pos_) & ((1 << nbits) - 1);\n }\n br.bit_pos_ += table[index].bits;\n return table[index].value;\n}\n\nfunction ReadHuffmanCodeLengths(code_length_code_lengths, num_symbols, code_lengths, br) {\n var symbol = 0;\n var prev_code_len = kDefaultCodeLength;\n var repeat = 0;\n var repeat_code_len = 0;\n var space = 32768;\n \n var table = [];\n for (var i = 0; i < 32; i++)\n table.push(new HuffmanCode(0, 0));\n \n BrotliBuildHuffmanTable(table, 0, 5, code_length_code_lengths, CODE_LENGTH_CODES);\n\n while (symbol < num_symbols && space > 0) {\n var p = 0;\n var code_len;\n \n br.readMoreInput();\n br.fillBitWindow();\n p += (br.val_ >>> br.bit_pos_) & 31;\n br.bit_pos_ += table[p].bits;\n code_len = table[p].value & 0xff;\n if (code_len < kCodeLengthRepeatCode) {\n repeat = 0;\n code_lengths[symbol++] = code_len;\n if (code_len !== 0) {\n prev_code_len = code_len;\n space -= 32768 >> code_len;\n }\n } else {\n var extra_bits = code_len - 14;\n var old_repeat;\n var repeat_delta;\n var new_len = 0;\n if (code_len === kCodeLengthRepeatCode) {\n new_len = prev_code_len;\n }\n if (repeat_code_len !== new_len) {\n repeat = 0;\n repeat_code_len = new_len;\n }\n old_repeat = repeat;\n if (repeat > 0) {\n repeat -= 2;\n repeat <<= extra_bits;\n }\n repeat += br.readBits(extra_bits) + 3;\n repeat_delta = repeat - old_repeat;\n if (symbol + repeat_delta > num_symbols) {\n throw new Error('[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols');\n }\n \n for (var x = 0; x < repeat_delta; x++)\n code_lengths[symbol + x] = repeat_code_len;\n \n symbol += repeat_delta;\n \n if (repeat_code_len !== 0) {\n space -= repeat_delta << (15 - repeat_code_len);\n }\n }\n }\n if (space !== 0) {\n throw new Error(\"[ReadHuffmanCodeLengths] space = \" + space);\n }\n \n for (; symbol < num_symbols; symbol++)\n code_lengths[symbol] = 0;\n}\n\nfunction ReadHuffmanCode(alphabet_size, tables, table, br) {\n var table_size = 0;\n var simple_code_or_skip;\n var code_lengths = new Uint8Array(alphabet_size);\n \n br.readMoreInput();\n \n /* simple_code_or_skip is used as follows:\n 1 for simple code;\n 0 for no skipping, 2 skips 2 code lengths, 3 skips 3 code lengths */\n simple_code_or_skip = br.readBits(2);\n if (simple_code_or_skip === 1) {\n /* Read symbols, codes & code lengths directly. */\n var i;\n var max_bits_counter = alphabet_size - 1;\n var max_bits = 0;\n var symbols = new Int32Array(4);\n var num_symbols = br.readBits(2) + 1;\n while (max_bits_counter) {\n max_bits_counter >>= 1;\n ++max_bits;\n }\n\n for (i = 0; i < num_symbols; ++i) {\n symbols[i] = br.readBits(max_bits) % alphabet_size;\n code_lengths[symbols[i]] = 2;\n }\n code_lengths[symbols[0]] = 1;\n switch (num_symbols) {\n case 1:\n break;\n case 3:\n if ((symbols[0] === symbols[1]) ||\n (symbols[0] === symbols[2]) ||\n (symbols[1] === symbols[2])) {\n throw new Error('[ReadHuffmanCode] invalid symbols');\n }\n break;\n case 2:\n if (symbols[0] === symbols[1]) {\n throw new Error('[ReadHuffmanCode] invalid symbols');\n }\n \n code_lengths[symbols[1]] = 1;\n break;\n case 4:\n if ((symbols[0] === symbols[1]) ||\n (symbols[0] === symbols[2]) ||\n (symbols[0] === symbols[3]) ||\n (symbols[1] === symbols[2]) ||\n (symbols[1] === symbols[3]) ||\n (symbols[2] === symbols[3])) {\n throw new Error('[ReadHuffmanCode] invalid symbols');\n }\n \n if (br.readBits(1)) {\n code_lengths[symbols[2]] = 3;\n code_lengths[symbols[3]] = 3;\n } else {\n code_lengths[symbols[0]] = 2;\n }\n break;\n }\n } else { /* Decode Huffman-coded code lengths. */\n var i;\n var code_length_code_lengths = new Uint8Array(CODE_LENGTH_CODES);\n var space = 32;\n var num_codes = 0;\n /* Static Huffman code for the code length code lengths */\n var huff = [\n new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(3, 2), \n new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(4, 1),\n new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(3, 2), \n new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(4, 5)\n ];\n for (i = simple_code_or_skip; i < CODE_LENGTH_CODES && space > 0; ++i) {\n var code_len_idx = kCodeLengthCodeOrder[i];\n var p = 0;\n var v;\n br.fillBitWindow();\n p += (br.val_ >>> br.bit_pos_) & 15;\n br.bit_pos_ += huff[p].bits;\n v = huff[p].value;\n code_length_code_lengths[code_len_idx] = v;\n if (v !== 0) {\n space -= (32 >> v);\n ++num_codes;\n }\n }\n \n if (!(num_codes === 1 || space === 0))\n throw new Error('[ReadHuffmanCode] invalid num_codes or space');\n \n ReadHuffmanCodeLengths(code_length_code_lengths, alphabet_size, code_lengths, br);\n }\n \n table_size = BrotliBuildHuffmanTable(tables, table, HUFFMAN_TABLE_BITS, code_lengths, alphabet_size);\n \n if (table_size === 0) {\n throw new Error(\"[ReadHuffmanCode] BuildHuffmanTable failed: \");\n }\n \n return table_size;\n}\n\nfunction ReadBlockLength(table, index, br) {\n var code;\n var nbits;\n code = ReadSymbol(table, index, br);\n nbits = Prefix.kBlockLengthPrefixCode[code].nbits;\n return Prefix.kBlockLengthPrefixCode[code].offset + br.readBits(nbits);\n}\n\nfunction TranslateShortCodes(code, ringbuffer, index) {\n var val;\n if (code < NUM_DISTANCE_SHORT_CODES) {\n index += kDistanceShortCodeIndexOffset[code];\n index &= 3;\n val = ringbuffer[index] + kDistanceShortCodeValueOffset[code];\n } else {\n val = code - NUM_DISTANCE_SHORT_CODES + 1;\n }\n return val;\n}\n\nfunction MoveToFront(v, index) {\n var value = v[index];\n var i = index;\n for (; i; --i) v[i] = v[i - 1];\n v[0] = value;\n}\n\nfunction InverseMoveToFrontTransform(v, v_len) {\n var mtf = new Uint8Array(256);\n var i;\n for (i = 0; i < 256; ++i) {\n mtf[i] = i;\n }\n for (i = 0; i < v_len; ++i) {\n var index = v[i];\n v[i] = mtf[index];\n if (index) MoveToFront(mtf, index);\n }\n}\n\n/* Contains a collection of huffman trees with the same alphabet size. */\nfunction HuffmanTreeGroup(alphabet_size, num_htrees) {\n this.alphabet_size = alphabet_size;\n this.num_htrees = num_htrees;\n this.codes = new Array(num_htrees + num_htrees * kMaxHuffmanTableSize[(alphabet_size + 31) >>> 5]); \n this.htrees = new Uint32Array(num_htrees);\n}\n\nHuffmanTreeGroup.prototype.decode = function(br) {\n var i;\n var table_size;\n var next = 0;\n for (i = 0; i < this.num_htrees; ++i) {\n this.htrees[i] = next;\n table_size = ReadHuffmanCode(this.alphabet_size, this.codes, next, br);\n next += table_size;\n }\n};\n\nfunction DecodeContextMap(context_map_size, br) {\n var out = { num_htrees: null, context_map: null };\n var use_rle_for_zeros;\n var max_run_length_prefix = 0;\n var table;\n var i;\n \n br.readMoreInput();\n var num_htrees = out.num_htrees = DecodeVarLenUint8(br) + 1;\n\n var context_map = out.context_map = new Uint8Array(context_map_size);\n if (num_htrees <= 1) {\n return out;\n }\n\n use_rle_for_zeros = br.readBits(1);\n if (use_rle_for_zeros) {\n max_run_length_prefix = br.readBits(4) + 1;\n }\n \n table = [];\n for (i = 0; i < HUFFMAN_MAX_TABLE_SIZE; i++) {\n table[i] = new HuffmanCode(0, 0);\n }\n \n ReadHuffmanCode(num_htrees + max_run_length_prefix, table, 0, br);\n \n for (i = 0; i < context_map_size;) {\n var code;\n\n br.readMoreInput();\n code = ReadSymbol(table, 0, br);\n if (code === 0) {\n context_map[i] = 0;\n ++i;\n } else if (code <= max_run_length_prefix) {\n var reps = 1 + (1 << code) + br.readBits(code);\n while (--reps) {\n if (i >= context_map_size) {\n throw new Error(\"[DecodeContextMap] i >= context_map_size\");\n }\n context_map[i] = 0;\n ++i;\n }\n } else {\n context_map[i] = code - max_run_length_prefix;\n ++i;\n }\n }\n if (br.readBits(1)) {\n InverseMoveToFrontTransform(context_map, context_map_size);\n }\n \n return out;\n}\n\nfunction DecodeBlockType(max_block_type, trees, tree_type, block_types, ringbuffers, indexes, br) {\n var ringbuffer = tree_type * 2;\n var index = tree_type;\n var type_code = ReadSymbol(trees, tree_type * HUFFMAN_MAX_TABLE_SIZE, br);\n var block_type;\n if (type_code === 0) {\n block_type = ringbuffers[ringbuffer + (indexes[index] & 1)];\n } else if (type_code === 1) {\n block_type = ringbuffers[ringbuffer + ((indexes[index] - 1) & 1)] + 1;\n } else {\n block_type = type_code - 2;\n }\n if (block_type >= max_block_type) {\n block_type -= max_block_type;\n }\n block_types[tree_type] = block_type;\n ringbuffers[ringbuffer + (indexes[index] & 1)] = block_type;\n ++indexes[index];\n}\n\nfunction CopyUncompressedBlockToOutput(output, len, pos, ringbuffer, ringbuffer_mask, br) {\n var rb_size = ringbuffer_mask + 1;\n var rb_pos = pos & ringbuffer_mask;\n var br_pos = br.pos_ & BrotliBitReader.IBUF_MASK;\n var nbytes;\n\n /* For short lengths copy byte-by-byte */\n if (len < 8 || br.bit_pos_ + (len << 3) < br.bit_end_pos_) {\n while (len-- > 0) {\n br.readMoreInput();\n ringbuffer[rb_pos++] = br.readBits(8);\n if (rb_pos === rb_size) {\n output.write(ringbuffer, rb_size);\n rb_pos = 0;\n }\n }\n return;\n }\n\n if (br.bit_end_pos_ < 32) {\n throw new Error('[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32');\n }\n\n /* Copy remaining 0-4 bytes from br.val_ to ringbuffer. */\n while (br.bit_pos_ < 32) {\n ringbuffer[rb_pos] = (br.val_ >>> br.bit_pos_);\n br.bit_pos_ += 8;\n ++rb_pos;\n --len;\n }\n\n /* Copy remaining bytes from br.buf_ to ringbuffer. */\n nbytes = (br.bit_end_pos_ - br.bit_pos_) >> 3;\n if (br_pos + nbytes > BrotliBitReader.IBUF_MASK) {\n var tail = BrotliBitReader.IBUF_MASK + 1 - br_pos;\n for (var x = 0; x < tail; x++)\n ringbuffer[rb_pos + x] = br.buf_[br_pos + x];\n \n nbytes -= tail;\n rb_pos += tail;\n len -= tail;\n br_pos = 0;\n }\n\n for (var x = 0; x < nbytes; x++)\n ringbuffer[rb_pos + x] = br.buf_[br_pos + x];\n \n rb_pos += nbytes;\n len -= nbytes;\n\n /* If we wrote past the logical end of the ringbuffer, copy the tail of the\n ringbuffer to its beginning and flush the ringbuffer to the output. */\n if (rb_pos >= rb_size) {\n output.write(ringbuffer, rb_size);\n rb_pos -= rb_size; \n for (var x = 0; x < rb_pos; x++)\n ringbuffer[x] = ringbuffer[rb_size + x];\n }\n\n /* If we have more to copy than the remaining size of the ringbuffer, then we\n first fill the ringbuffer from the input and then flush the ringbuffer to\n the output */\n while (rb_pos + len >= rb_size) {\n nbytes = rb_size - rb_pos;\n if (br.input_.read(ringbuffer, rb_pos, nbytes) < nbytes) {\n throw new Error('[CopyUncompressedBlockToOutput] not enough bytes');\n }\n output.write(ringbuffer, rb_size);\n len -= nbytes;\n rb_pos = 0;\n }\n\n /* Copy straight from the input onto the ringbuffer. The ringbuffer will be\n flushed to the output at a later time. */\n if (br.input_.read(ringbuffer, rb_pos, len) < len) {\n throw new Error('[CopyUncompressedBlockToOutput] not enough bytes');\n }\n\n /* Restore the state of the bit reader. */\n br.reset();\n}\n\n/* Advances the bit reader position to the next byte boundary and verifies\n that any skipped bits are set to zero. */\nfunction JumpToByteBoundary(br) {\n var new_bit_pos = (br.bit_pos_ + 7) & ~7;\n var pad_bits = br.readBits(new_bit_pos - br.bit_pos_);\n return pad_bits == 0;\n}\n\nfunction BrotliDecompressedSize(buffer) {\n var input = new BrotliInput(buffer);\n var br = new BrotliBitReader(input);\n DecodeWindowBits(br);\n var out = DecodeMetaBlockLength(br);\n return out.meta_block_length;\n}\n\nexports.BrotliDecompressedSize = BrotliDecompressedSize;\n\nfunction BrotliDecompressBuffer(buffer, output_size) {\n var input = new BrotliInput(buffer);\n \n if (output_size == null) {\n output_size = BrotliDecompressedSize(buffer);\n }\n \n var output_buffer = new Uint8Array(output_size);\n var output = new BrotliOutput(output_buffer);\n \n BrotliDecompress(input, output);\n \n if (output.pos < output.buffer.length) {\n output.buffer = output.buffer.subarray(0, output.pos);\n }\n \n return output.buffer;\n}\n\nexports.BrotliDecompressBuffer = BrotliDecompressBuffer;\n\nfunction BrotliDecompress(input, output) {\n var i;\n var pos = 0;\n var input_end = 0;\n var window_bits = 0;\n var max_backward_distance;\n var max_distance = 0;\n var ringbuffer_size;\n var ringbuffer_mask;\n var ringbuffer;\n var ringbuffer_end;\n /* This ring buffer holds a few past copy distances that will be used by */\n /* some special distance codes. */\n var dist_rb = [ 16, 15, 11, 4 ];\n var dist_rb_idx = 0;\n /* The previous 2 bytes used for context. */\n var prev_byte1 = 0;\n var prev_byte2 = 0;\n var hgroup = [new HuffmanTreeGroup(0, 0), new HuffmanTreeGroup(0, 0), new HuffmanTreeGroup(0, 0)];\n var block_type_trees;\n var block_len_trees;\n var br;\n\n /* We need the slack region for the following reasons:\n - always doing two 8-byte copies for fast backward copying\n - transforms\n - flushing the input ringbuffer when decoding uncompressed blocks */\n var kRingBufferWriteAheadSlack = 128 + BrotliBitReader.READ_SIZE;\n\n br = new BrotliBitReader(input);\n\n /* Decode window size. */\n window_bits = DecodeWindowBits(br);\n max_backward_distance = (1 << window_bits) - 16;\n\n ringbuffer_size = 1 << window_bits;\n ringbuffer_mask = ringbuffer_size - 1;\n ringbuffer = new Uint8Array(ringbuffer_size + kRingBufferWriteAheadSlack + BrotliDictionary.maxDictionaryWordLength);\n ringbuffer_end = ringbuffer_size;\n\n block_type_trees = [];\n block_len_trees = [];\n for (var x = 0; x < 3 * HUFFMAN_MAX_TABLE_SIZE; x++) {\n block_type_trees[x] = new HuffmanCode(0, 0);\n block_len_trees[x] = new HuffmanCode(0, 0);\n }\n\n while (!input_end) {\n var meta_block_remaining_len = 0;\n var is_uncompressed;\n var block_length = [ 1 << 28, 1 << 28, 1 << 28 ];\n var block_type = [ 0 ];\n var num_block_types = [ 1, 1, 1 ];\n var block_type_rb = [ 0, 1, 0, 1, 0, 1 ];\n var block_type_rb_index = [ 0 ];\n var distance_postfix_bits;\n var num_direct_distance_codes;\n var distance_postfix_mask;\n var num_distance_codes;\n var context_map = null;\n var context_modes = null;\n var num_literal_htrees;\n var dist_context_map = null;\n var num_dist_htrees;\n var context_offset = 0;\n var context_map_slice = null;\n var literal_htree_index = 0;\n var dist_context_offset = 0;\n var dist_context_map_slice = null;\n var dist_htree_index = 0;\n var context_lookup_offset1 = 0;\n var context_lookup_offset2 = 0;\n var context_mode;\n var htree_command;\n\n for (i = 0; i < 3; ++i) {\n hgroup[i].codes = null;\n hgroup[i].htrees = null;\n }\n\n br.readMoreInput();\n \n var _out = DecodeMetaBlockLength(br);\n meta_block_remaining_len = _out.meta_block_length;\n if (pos + meta_block_remaining_len > output.buffer.length) {\n /* We need to grow the output buffer to fit the additional data. */\n var tmp = new Uint8Array( pos + meta_block_remaining_len );\n tmp.set( output.buffer );\n output.buffer = tmp;\n } \n input_end = _out.input_end;\n is_uncompressed = _out.is_uncompressed;\n \n if (_out.is_metadata) {\n JumpToByteBoundary(br);\n \n for (; meta_block_remaining_len > 0; --meta_block_remaining_len) {\n br.readMoreInput();\n /* Read one byte and ignore it. */\n br.readBits(8);\n }\n \n continue;\n }\n \n if (meta_block_remaining_len === 0) {\n continue;\n }\n \n if (is_uncompressed) {\n br.bit_pos_ = (br.bit_pos_ + 7) & ~7;\n CopyUncompressedBlockToOutput(output, meta_block_remaining_len, pos,\n ringbuffer, ringbuffer_mask, br);\n pos += meta_block_remaining_len;\n continue;\n }\n \n for (i = 0; i < 3; ++i) {\n num_block_types[i] = DecodeVarLenUint8(br) + 1;\n if (num_block_types[i] >= 2) {\n ReadHuffmanCode(num_block_types[i] + 2, block_type_trees, i * HUFFMAN_MAX_TABLE_SIZE, br);\n ReadHuffmanCode(kNumBlockLengthCodes, block_len_trees, i * HUFFMAN_MAX_TABLE_SIZE, br);\n block_length[i] = ReadBlockLength(block_len_trees, i * HUFFMAN_MAX_TABLE_SIZE, br);\n block_type_rb_index[i] = 1;\n }\n }\n \n br.readMoreInput();\n \n distance_postfix_bits = br.readBits(2);\n num_direct_distance_codes = NUM_DISTANCE_SHORT_CODES + (br.readBits(4) << distance_postfix_bits);\n distance_postfix_mask = (1 << distance_postfix_bits) - 1;\n num_distance_codes = (num_direct_distance_codes + (48 << distance_postfix_bits));\n context_modes = new Uint8Array(num_block_types[0]);\n\n for (i = 0; i < num_block_types[0]; ++i) {\n br.readMoreInput();\n context_modes[i] = (br.readBits(2) << 1);\n }\n \n var _o1 = DecodeContextMap(num_block_types[0] << kLiteralContextBits, br);\n num_literal_htrees = _o1.num_htrees;\n context_map = _o1.context_map;\n \n var _o2 = DecodeContextMap(num_block_types[2] << kDistanceContextBits, br);\n num_dist_htrees = _o2.num_htrees;\n dist_context_map = _o2.context_map;\n \n hgroup[0] = new HuffmanTreeGroup(kNumLiteralCodes, num_literal_htrees);\n hgroup[1] = new HuffmanTreeGroup(kNumInsertAndCopyCodes, num_block_types[1]);\n hgroup[2] = new HuffmanTreeGroup(num_distance_codes, num_dist_htrees);\n\n for (i = 0; i < 3; ++i) {\n hgroup[i].decode(br);\n }\n\n context_map_slice = 0;\n dist_context_map_slice = 0;\n context_mode = context_modes[block_type[0]];\n context_lookup_offset1 = Context.lookupOffsets[context_mode];\n context_lookup_offset2 = Context.lookupOffsets[context_mode + 1];\n htree_command = hgroup[1].htrees[0];\n\n while (meta_block_remaining_len > 0) {\n var cmd_code;\n var range_idx;\n var insert_code;\n var copy_code;\n var insert_length;\n var copy_length;\n var distance_code;\n var distance;\n var context;\n var j;\n var copy_dst;\n\n br.readMoreInput();\n \n if (block_length[1] === 0) {\n DecodeBlockType(num_block_types[1],\n block_type_trees, 1, block_type, block_type_rb,\n block_type_rb_index, br);\n block_length[1] = ReadBlockLength(block_len_trees, HUFFMAN_MAX_TABLE_SIZE, br);\n htree_command = hgroup[1].htrees[block_type[1]];\n }\n --block_length[1];\n cmd_code = ReadSymbol(hgroup[1].codes, htree_command, br);\n range_idx = cmd_code >> 6;\n if (range_idx >= 2) {\n range_idx -= 2;\n distance_code = -1;\n } else {\n distance_code = 0;\n }\n insert_code = Prefix.kInsertRangeLut[range_idx] + ((cmd_code >> 3) & 7);\n copy_code = Prefix.kCopyRangeLut[range_idx] + (cmd_code & 7);\n insert_length = Prefix.kInsertLengthPrefixCode[insert_code].offset +\n br.readBits(Prefix.kInsertLengthPrefixCode[insert_code].nbits);\n copy_length = Prefix.kCopyLengthPrefixCode[copy_code].offset +\n br.readBits(Prefix.kCopyLengthPrefixCode[copy_code].nbits);\n prev_byte1 = ringbuffer[pos-1 & ringbuffer_mask];\n prev_byte2 = ringbuffer[pos-2 & ringbuffer_mask];\n for (j = 0; j < insert_length; ++j) {\n br.readMoreInput();\n\n if (block_length[0] === 0) {\n DecodeBlockType(num_block_types[0],\n block_type_trees, 0, block_type, block_type_rb,\n block_type_rb_index, br);\n block_length[0] = ReadBlockLength(block_len_trees, 0, br);\n context_offset = block_type[0] << kLiteralContextBits;\n context_map_slice = context_offset;\n context_mode = context_modes[block_type[0]];\n context_lookup_offset1 = Context.lookupOffsets[context_mode];\n context_lookup_offset2 = Context.lookupOffsets[context_mode + 1];\n }\n context = (Context.lookup[context_lookup_offset1 + prev_byte1] |\n Context.lookup[context_lookup_offset2 + prev_byte2]);\n literal_htree_index = context_map[context_map_slice + context];\n --block_length[0];\n prev_byte2 = prev_byte1;\n prev_byte1 = ReadSymbol(hgroup[0].codes, hgroup[0].htrees[literal_htree_index], br);\n ringbuffer[pos & ringbuffer_mask] = prev_byte1;\n if ((pos & ringbuffer_mask) === ringbuffer_mask) {\n output.write(ringbuffer, ringbuffer_size);\n }\n ++pos;\n }\n meta_block_remaining_len -= insert_length;\n if (meta_block_remaining_len <= 0) break;\n\n if (distance_code < 0) {\n var context;\n \n br.readMoreInput();\n if (block_length[2] === 0) {\n DecodeBlockType(num_block_types[2],\n block_type_trees, 2, block_type, block_type_rb,\n block_type_rb_index, br);\n block_length[2] = ReadBlockLength(block_len_trees, 2 * HUFFMAN_MAX_TABLE_SIZE, br);\n dist_context_offset = block_type[2] << kDistanceContextBits;\n dist_context_map_slice = dist_context_offset;\n }\n --block_length[2];\n context = (copy_length > 4 ? 3 : copy_length - 2) & 0xff;\n dist_htree_index = dist_context_map[dist_context_map_slice + context];\n distance_code = ReadSymbol(hgroup[2].codes, hgroup[2].htrees[dist_htree_index], br);\n if (distance_code >= num_direct_distance_codes) {\n var nbits;\n var postfix;\n var offset;\n distance_code -= num_direct_distance_codes;\n postfix = distance_code & distance_postfix_mask;\n distance_code >>= distance_postfix_bits;\n nbits = (distance_code >> 1) + 1;\n offset = ((2 + (distance_code & 1)) << nbits) - 4;\n distance_code = num_direct_distance_codes +\n ((offset + br.readBits(nbits)) <<\n distance_postfix_bits) + postfix;\n }\n }\n\n /* Convert the distance code to the actual distance by possibly looking */\n /* up past distnaces from the ringbuffer. */\n distance = TranslateShortCodes(distance_code, dist_rb, dist_rb_idx);\n if (distance < 0) {\n throw new Error('[BrotliDecompress] invalid distance');\n }\n\n if (pos < max_backward_distance &&\n max_distance !== max_backward_distance) {\n max_distance = pos;\n } else {\n max_distance = max_backward_distance;\n }\n\n copy_dst = pos & ringbuffer_mask;\n\n if (distance > max_distance) {\n if (copy_length >= BrotliDictionary.minDictionaryWordLength &&\n copy_length <= BrotliDictionary.maxDictionaryWordLength) {\n var offset = BrotliDictionary.offsetsByLength[copy_length];\n var word_id = distance - max_distance - 1;\n var shift = BrotliDictionary.sizeBitsByLength[copy_length];\n var mask = (1 << shift) - 1;\n var word_idx = word_id & mask;\n var transform_idx = word_id >> shift;\n offset += word_idx * copy_length;\n if (transform_idx < Transform.kNumTransforms) {\n var len = Transform.transformDictionaryWord(ringbuffer, copy_dst, offset, copy_length, transform_idx);\n copy_dst += len;\n pos += len;\n meta_block_remaining_len -= len;\n if (copy_dst >= ringbuffer_end) {\n output.write(ringbuffer, ringbuffer_size);\n \n for (var _x = 0; _x < (copy_dst - ringbuffer_end); _x++)\n ringbuffer[_x] = ringbuffer[ringbuffer_end + _x];\n }\n } else {\n throw new Error(\"Invalid backward reference. pos: \" + pos + \" distance: \" + distance +\n \" len: \" + copy_length + \" bytes left: \" + meta_block_remaining_len);\n }\n } else {\n throw new Error(\"Invalid backward reference. pos: \" + pos + \" distance: \" + distance +\n \" len: \" + copy_length + \" bytes left: \" + meta_block_remaining_len);\n }\n } else {\n if (distance_code > 0) {\n dist_rb[dist_rb_idx & 3] = distance;\n ++dist_rb_idx;\n }\n\n if (copy_length > meta_block_remaining_len) {\n throw new Error(\"Invalid backward reference. pos: \" + pos + \" distance: \" + distance +\n \" len: \" + copy_length + \" bytes left: \" + meta_block_remaining_len);\n }\n\n for (j = 0; j < copy_length; ++j) {\n ringbuffer[pos & ringbuffer_mask] = ringbuffer[(pos - distance) & ringbuffer_mask];\n if ((pos & ringbuffer_mask) === ringbuffer_mask) {\n output.write(ringbuffer, ringbuffer_size);\n }\n ++pos;\n --meta_block_remaining_len;\n }\n }\n\n /* When we get here, we must have inserted at least one literal and */\n /* made a copy of at least length two, therefore accessing the last 2 */\n /* bytes is valid. */\n prev_byte1 = ringbuffer[(pos - 1) & ringbuffer_mask];\n prev_byte2 = ringbuffer[(pos - 2) & ringbuffer_mask];\n }\n\n /* Protect pos from overflow, wrap it around at every GB of input data */\n pos &= 0x3fffffff;\n }\n\n output.write(ringbuffer, pos & ringbuffer_mask);\n}\n\nexports.BrotliDecompress = BrotliDecompress;\n\nBrotliDictionary.init();\n","var base64 = require('base64-js');\n\n/**\n * The normal dictionary-data.js is quite large, which makes it \n * unsuitable for browser usage. In order to make it smaller, \n * we read dictionary.bin, which is a compressed version of\n * the dictionary, and on initial load, Brotli decompresses \n * it's own dictionary. 😜\n */\nexports.init = function() {\n var BrotliDecompressBuffer = require('./decode').BrotliDecompressBuffer;\n var compressed = base64.toByteArray(require('./dictionary.bin.js'));\n return BrotliDecompressBuffer(compressed);\n};\n","module.exports=\"W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4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lp/XK8wMjVMslOq9FdSw5FtUs/CptXH9PW+wbWHgrV17R5jTVOtGtKFu3nb80T+E0tv9QkzW3J2dbaw/8ddAKZ0pxIaEqLjlPrji3VgJ3GvdFvlqD8075woxh4fVt0JZE0KVFsAvqhe0dqN9b35jtSpnYMXkU+vZq+IAHad3IHc2s/LYrnD1anfG46IFiMIr9oNbZDWvwthqYNqOigaKd/XlLU4XHfk/PXIjPsLy/9/kAtQ+/wKH+hI/IROWj5FPvTZAT9f7j4ZXQyG4M0TujMAFXYkKvEHv1xhySekgXGGqNxWeWKlf8dDAlLuB1cb/qOD+rk7cmwt+1yKpk9cudqBanTi6zTbXRtV8qylNtjyOVKy1HTz0GW9rjt6sSjAZcT5R+KdtyYb0zyqG9pSLuCw5WBwAn7fjBjKLLoxLXMI+52L9cLwIR2B6OllJZLHJ8vDxmWdtF+QJnmt1rsHPIWY20lftk8fYePkAIg6Hgn532QoIpegMxiWgAOfe5/U44APR8Ac0NeZrVh3gEhs12W+tVSiWiUQekf/YBECUy5fdYbA08dd7VzPAP9aiVcIB9k6tY7WdJ1wNV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg=\";\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Collection of static dictionary words.\n*/\n\nvar data = require('./dictionary-data');\nexports.init = function() {\n exports.dictionary = data.init();\n};\n\nexports.offsetsByLength = new Uint32Array([\n 0, 0, 0, 0, 0, 4096, 9216, 21504, 35840, 44032,\n 53248, 63488, 74752, 87040, 93696, 100864, 104704, 106752, 108928, 113536,\n 115968, 118528, 119872, 121280, 122016,\n]);\n\nexports.sizeBitsByLength = new Uint8Array([\n 0, 0, 0, 0, 10, 10, 11, 11, 10, 10,\n 10, 10, 10, 9, 9, 8, 7, 7, 8, 7,\n 7, 6, 6, 5, 5,\n]);\n\nexports.minDictionaryWordLength = 4;\nexports.maxDictionaryWordLength = 24;\n","function HuffmanCode(bits, value) {\n this.bits = bits; /* number of bits used for this symbol */\n this.value = value; /* symbol value or table offset */\n}\n\nexports.HuffmanCode = HuffmanCode;\n\nvar MAX_LENGTH = 15;\n\n/* Returns reverse(reverse(key, len) + 1, len), where reverse(key, len) is the\n bit-wise reversal of the len least significant bits of key. */\nfunction GetNextKey(key, len) {\n var step = 1 << (len - 1);\n while (key & step) {\n step >>= 1;\n }\n return (key & (step - 1)) + step;\n}\n\n/* Stores code in table[0], table[step], table[2*step], ..., table[end] */\n/* Assumes that end is an integer multiple of step */\nfunction ReplicateValue(table, i, step, end, code) {\n do {\n end -= step;\n table[i + end] = new HuffmanCode(code.bits, code.value);\n } while (end > 0);\n}\n\n/* Returns the table width of the next 2nd level table. count is the histogram\n of bit lengths for the remaining symbols, len is the code length of the next\n processed symbol */\nfunction NextTableBitSize(count, len, root_bits) {\n var left = 1 << (len - root_bits);\n while (len < MAX_LENGTH) {\n left -= count[len];\n if (left <= 0) break;\n ++len;\n left <<= 1;\n }\n return len - root_bits;\n}\n\nexports.BrotliBuildHuffmanTable = function(root_table, table, root_bits, code_lengths, code_lengths_size) {\n var start_table = table;\n var code; /* current table entry */\n var len; /* current code length */\n var symbol; /* symbol index in original or sorted table */\n var key; /* reversed prefix code */\n var step; /* step size to replicate values in current table */\n var low; /* low bits for current root entry */\n var mask; /* mask for low bits */\n var table_bits; /* key length of current table */\n var table_size; /* size of current table */\n var total_size; /* sum of root table size and 2nd level table sizes */\n var sorted; /* symbols sorted by code length */\n var count = new Int32Array(MAX_LENGTH + 1); /* number of codes of each length */\n var offset = new Int32Array(MAX_LENGTH + 1); /* offsets in sorted table for each length */\n\n sorted = new Int32Array(code_lengths_size);\n\n /* build histogram of code lengths */\n for (symbol = 0; symbol < code_lengths_size; symbol++) {\n count[code_lengths[symbol]]++;\n }\n\n /* generate offsets into sorted symbol table by code length */\n offset[1] = 0;\n for (len = 1; len < MAX_LENGTH; len++) {\n offset[len + 1] = offset[len] + count[len];\n }\n\n /* sort symbols by length, by symbol order within each length */\n for (symbol = 0; symbol < code_lengths_size; symbol++) {\n if (code_lengths[symbol] !== 0) {\n sorted[offset[code_lengths[symbol]]++] = symbol;\n }\n }\n \n table_bits = root_bits;\n table_size = 1 << table_bits;\n total_size = table_size;\n\n /* special case code with only one value */\n if (offset[MAX_LENGTH] === 1) {\n for (key = 0; key < total_size; ++key) {\n root_table[table + key] = new HuffmanCode(0, sorted[0] & 0xffff);\n }\n \n return total_size;\n }\n\n /* fill in root table */\n key = 0;\n symbol = 0;\n for (len = 1, step = 2; len <= root_bits; ++len, step <<= 1) {\n for (; count[len] > 0; --count[len]) {\n code = new HuffmanCode(len & 0xff, sorted[symbol++] & 0xffff);\n ReplicateValue(root_table, table + key, step, table_size, code);\n key = GetNextKey(key, len);\n }\n }\n\n /* fill in 2nd level tables and add pointers to root table */\n mask = total_size - 1;\n low = -1;\n for (len = root_bits + 1, step = 2; len <= MAX_LENGTH; ++len, step <<= 1) {\n for (; count[len] > 0; --count[len]) {\n if ((key & mask) !== low) {\n table += table_size;\n table_bits = NextTableBitSize(count, len, root_bits);\n table_size = 1 << table_bits;\n total_size += table_size;\n low = key & mask;\n root_table[start_table + low] = new HuffmanCode((table_bits + root_bits) & 0xff, ((table - start_table) - low) & 0xffff);\n }\n code = new HuffmanCode((len - root_bits) & 0xff, sorted[symbol++] & 0xffff);\n ReplicateValue(root_table, table + (key >> root_bits), step, table_size, code);\n key = GetNextKey(key, len);\n }\n }\n \n return total_size;\n}\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Lookup tables to map prefix codes to value ranges. This is used during\n decoding of the block lengths, literal insertion lengths and copy lengths.\n*/\n\n/* Represents the range of values belonging to a prefix code: */\n/* [offset, offset + 2^nbits) */\nfunction PrefixCodeRange(offset, nbits) {\n this.offset = offset;\n this.nbits = nbits;\n}\n\nexports.kBlockLengthPrefixCode = [\n new PrefixCodeRange(1, 2), new PrefixCodeRange(5, 2), new PrefixCodeRange(9, 2), new PrefixCodeRange(13, 2),\n new PrefixCodeRange(17, 3), new PrefixCodeRange(25, 3), new PrefixCodeRange(33, 3), new PrefixCodeRange(41, 3),\n new PrefixCodeRange(49, 4), new PrefixCodeRange(65, 4), new PrefixCodeRange(81, 4), new PrefixCodeRange(97, 4),\n new PrefixCodeRange(113, 5), new PrefixCodeRange(145, 5), new PrefixCodeRange(177, 5), new PrefixCodeRange(209, 5),\n new PrefixCodeRange(241, 6), new PrefixCodeRange(305, 6), new PrefixCodeRange(369, 7), new PrefixCodeRange(497, 8),\n new PrefixCodeRange(753, 9), new PrefixCodeRange(1265, 10), new PrefixCodeRange(2289, 11), new PrefixCodeRange(4337, 12),\n new PrefixCodeRange(8433, 13), new PrefixCodeRange(16625, 24)\n];\n\nexports.kInsertLengthPrefixCode = [\n new PrefixCodeRange(0, 0), new PrefixCodeRange(1, 0), new PrefixCodeRange(2, 0), new PrefixCodeRange(3, 0),\n new PrefixCodeRange(4, 0), new PrefixCodeRange(5, 0), new PrefixCodeRange(6, 1), new PrefixCodeRange(8, 1),\n new PrefixCodeRange(10, 2), new PrefixCodeRange(14, 2), new PrefixCodeRange(18, 3), new PrefixCodeRange(26, 3),\n new PrefixCodeRange(34, 4), new PrefixCodeRange(50, 4), new PrefixCodeRange(66, 5), new PrefixCodeRange(98, 5),\n new PrefixCodeRange(130, 6), new PrefixCodeRange(194, 7), new PrefixCodeRange(322, 8), new PrefixCodeRange(578, 9),\n new PrefixCodeRange(1090, 10), new PrefixCodeRange(2114, 12), new PrefixCodeRange(6210, 14), new PrefixCodeRange(22594, 24),\n];\n\nexports.kCopyLengthPrefixCode = [\n new PrefixCodeRange(2, 0), new PrefixCodeRange(3, 0), new PrefixCodeRange(4, 0), new PrefixCodeRange(5, 0),\n new PrefixCodeRange(6, 0), new PrefixCodeRange(7, 0), new PrefixCodeRange(8, 0), new PrefixCodeRange(9, 0),\n new PrefixCodeRange(10, 1), new PrefixCodeRange(12, 1), new PrefixCodeRange(14, 2), new PrefixCodeRange(18, 2),\n new PrefixCodeRange(22, 3), new PrefixCodeRange(30, 3), new PrefixCodeRange(38, 4), new PrefixCodeRange(54, 4),\n new PrefixCodeRange(70, 5), new PrefixCodeRange(102, 5), new PrefixCodeRange(134, 6), new PrefixCodeRange(198, 7),\n new PrefixCodeRange(326, 8), new PrefixCodeRange(582, 9), new PrefixCodeRange(1094, 10), new PrefixCodeRange(2118, 24),\n];\n\nexports.kInsertRangeLut = [\n 0, 0, 8, 8, 0, 16, 8, 16, 16,\n];\n\nexports.kCopyRangeLut = [\n 0, 8, 0, 8, 16, 0, 16, 8, 16,\n];\n","function BrotliInput(buffer) {\n this.buffer = buffer;\n this.pos = 0;\n}\n\nBrotliInput.prototype.read = function(buf, i, count) {\n if (this.pos + count > this.buffer.length) {\n count = this.buffer.length - this.pos;\n }\n \n for (var p = 0; p < count; p++)\n buf[i + p] = this.buffer[this.pos + p];\n \n this.pos += count;\n return count;\n}\n\nexports.BrotliInput = BrotliInput;\n\nfunction BrotliOutput(buf) {\n this.buffer = buf;\n this.pos = 0;\n}\n\nBrotliOutput.prototype.write = function(buf, count) {\n if (this.pos + count > this.buffer.length)\n throw new Error('Output buffer is not large enough');\n \n this.buffer.set(buf.subarray(0, count), this.pos);\n this.pos += count;\n return count;\n};\n\nexports.BrotliOutput = BrotliOutput;\n","/* Copyright 2013 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Transformations on dictionary words.\n*/\n\nvar BrotliDictionary = require('./dictionary');\n\nvar kIdentity = 0;\nvar kOmitLast1 = 1;\nvar kOmitLast2 = 2;\nvar kOmitLast3 = 3;\nvar kOmitLast4 = 4;\nvar kOmitLast5 = 5;\nvar kOmitLast6 = 6;\nvar kOmitLast7 = 7;\nvar kOmitLast8 = 8;\nvar kOmitLast9 = 9;\nvar kUppercaseFirst = 10;\nvar kUppercaseAll = 11;\nvar kOmitFirst1 = 12;\nvar kOmitFirst2 = 13;\nvar kOmitFirst3 = 14;\nvar kOmitFirst4 = 15;\nvar kOmitFirst5 = 16;\nvar kOmitFirst6 = 17;\nvar kOmitFirst7 = 18;\nvar kOmitFirst8 = 19;\nvar kOmitFirst9 = 20;\n\nfunction Transform(prefix, transform, suffix) {\n this.prefix = new Uint8Array(prefix.length);\n this.transform = transform;\n this.suffix = new Uint8Array(suffix.length);\n \n for (var i = 0; i < prefix.length; i++)\n this.prefix[i] = prefix.charCodeAt(i);\n \n for (var i = 0; i < suffix.length; i++)\n this.suffix[i] = suffix.charCodeAt(i);\n}\n\nvar kTransforms = [\n new Transform( \"\", kIdentity, \"\" ),\n new Transform( \"\", kIdentity, \" \" ),\n new Transform( \" \", kIdentity, \" \" ),\n new Transform( \"\", kOmitFirst1, \"\" ),\n new Transform( \"\", kUppercaseFirst, \" \" ),\n new Transform( \"\", kIdentity, \" the \" ),\n new Transform( \" \", kIdentity, \"\" ),\n new Transform( \"s \", kIdentity, \" \" ),\n new Transform( \"\", kIdentity, \" of \" ),\n new Transform( \"\", kUppercaseFirst, \"\" ),\n new Transform( \"\", kIdentity, \" and \" ),\n new Transform( \"\", kOmitFirst2, \"\" ),\n new Transform( \"\", kOmitLast1, \"\" ),\n new Transform( \", \", kIdentity, \" \" ),\n new Transform( \"\", kIdentity, \", \" ),\n new Transform( \" \", kUppercaseFirst, \" \" ),\n new Transform( \"\", kIdentity, \" in \" ),\n new Transform( \"\", kIdentity, \" to \" ),\n new Transform( \"e \", kIdentity, \" \" ),\n new Transform( \"\", kIdentity, \"\\\"\" ),\n new Transform( \"\", kIdentity, \".\" ),\n new Transform( \"\", kIdentity, \"\\\">\" ),\n new Transform( \"\", kIdentity, \"\\n\" ),\n new Transform( \"\", kOmitLast3, \"\" ),\n new Transform( \"\", kIdentity, \"]\" ),\n new Transform( \"\", kIdentity, \" for \" ),\n new Transform( \"\", kOmitFirst3, \"\" ),\n new Transform( \"\", kOmitLast2, \"\" ),\n new Transform( \"\", kIdentity, \" a \" ),\n new Transform( \"\", kIdentity, \" that \" ),\n new Transform( \" \", kUppercaseFirst, \"\" ),\n new Transform( \"\", kIdentity, \". \" ),\n new Transform( \".\", kIdentity, \"\" ),\n new Transform( \" \", kIdentity, \", \" ),\n new Transform( \"\", kOmitFirst4, \"\" ),\n new Transform( \"\", kIdentity, \" with \" ),\n new Transform( \"\", kIdentity, \"'\" ),\n new Transform( \"\", kIdentity, \" from \" ),\n new Transform( \"\", kIdentity, \" by \" ),\n new Transform( \"\", kOmitFirst5, \"\" ),\n new Transform( \"\", kOmitFirst6, \"\" ),\n new Transform( \" the \", kIdentity, \"\" ),\n new Transform( \"\", kOmitLast4, \"\" ),\n new Transform( \"\", kIdentity, \". The \" ),\n new Transform( \"\", kUppercaseAll, \"\" ),\n new Transform( \"\", kIdentity, \" on \" ),\n new Transform( \"\", kIdentity, \" as \" ),\n new Transform( \"\", kIdentity, \" is \" ),\n new Transform( \"\", kOmitLast7, \"\" ),\n new Transform( \"\", kOmitLast1, \"ing \" ),\n new Transform( \"\", kIdentity, \"\\n\\t\" ),\n new Transform( \"\", kIdentity, \":\" ),\n new Transform( \" \", kIdentity, \". \" ),\n new Transform( \"\", kIdentity, \"ed \" ),\n new Transform( \"\", kOmitFirst9, \"\" ),\n new Transform( \"\", kOmitFirst7, \"\" ),\n new Transform( \"\", kOmitLast6, \"\" ),\n new Transform( \"\", kIdentity, \"(\" ),\n new Transform( \"\", kUppercaseFirst, \", \" ),\n new Transform( \"\", kOmitLast8, \"\" ),\n new Transform( \"\", kIdentity, \" at \" ),\n new Transform( \"\", kIdentity, \"ly \" ),\n new Transform( \" the \", kIdentity, \" of \" ),\n new Transform( \"\", kOmitLast5, \"\" ),\n new Transform( \"\", kOmitLast9, \"\" ),\n new Transform( \" \", kUppercaseFirst, \", \" ),\n new Transform( \"\", kUppercaseFirst, \"\\\"\" ),\n new Transform( \".\", kIdentity, \"(\" ),\n new Transform( \"\", kUppercaseAll, \" \" ),\n new Transform( \"\", kUppercaseFirst, \"\\\">\" ),\n new Transform( \"\", kIdentity, \"=\\\"\" ),\n new Transform( \" \", kIdentity, \".\" ),\n new Transform( \".com/\", kIdentity, \"\" ),\n new Transform( \" the \", kIdentity, \" of the \" ),\n new Transform( \"\", kUppercaseFirst, \"'\" ),\n new Transform( \"\", kIdentity, \". This \" ),\n new Transform( \"\", kIdentity, \",\" ),\n new Transform( \".\", kIdentity, \" \" ),\n new Transform( \"\", kUppercaseFirst, \"(\" ),\n new Transform( \"\", kUppercaseFirst, \".\" ),\n new Transform( \"\", kIdentity, \" not \" ),\n new Transform( \" \", kIdentity, \"=\\\"\" ),\n new Transform( \"\", kIdentity, \"er \" ),\n new Transform( \" \", kUppercaseAll, \" \" ),\n new Transform( \"\", kIdentity, \"al \" ),\n new Transform( \" \", kUppercaseAll, \"\" ),\n new Transform( \"\", kIdentity, \"='\" ),\n new Transform( \"\", kUppercaseAll, \"\\\"\" ),\n new Transform( \"\", kUppercaseFirst, \". \" ),\n new Transform( \" \", kIdentity, \"(\" ),\n new Transform( \"\", kIdentity, \"ful \" ),\n new Transform( \" \", kUppercaseFirst, \". \" ),\n new Transform( \"\", kIdentity, \"ive \" ),\n new Transform( \"\", kIdentity, \"less \" ),\n new Transform( \"\", kUppercaseAll, \"'\" ),\n new Transform( \"\", kIdentity, \"est \" ),\n new Transform( \" \", kUppercaseFirst, \".\" ),\n new Transform( \"\", kUppercaseAll, \"\\\">\" ),\n new Transform( \" \", kIdentity, \"='\" ),\n new Transform( \"\", kUppercaseFirst, \",\" ),\n new Transform( \"\", kIdentity, \"ize \" ),\n new Transform( \"\", kUppercaseAll, \".\" ),\n new Transform( \"\\xc2\\xa0\", kIdentity, \"\" ),\n new Transform( \" \", kIdentity, \",\" ),\n new Transform( \"\", kUppercaseFirst, \"=\\\"\" ),\n new Transform( \"\", kUppercaseAll, \"=\\\"\" ),\n new Transform( \"\", kIdentity, \"ous \" ),\n new Transform( \"\", kUppercaseAll, \", \" ),\n new Transform( \"\", kUppercaseFirst, \"='\" ),\n new Transform( \" \", kUppercaseFirst, \",\" ),\n new Transform( \" \", kUppercaseAll, \"=\\\"\" ),\n new Transform( \" \", kUppercaseAll, \", \" ),\n new Transform( \"\", kUppercaseAll, \",\" ),\n new Transform( \"\", kUppercaseAll, \"(\" ),\n new Transform( \"\", kUppercaseAll, \". \" ),\n new Transform( \" \", kUppercaseAll, \".\" ),\n new Transform( \"\", kUppercaseAll, \"='\" ),\n new Transform( \" \", kUppercaseAll, \". \" ),\n new Transform( \" \", kUppercaseFirst, \"=\\\"\" ),\n new Transform( \" \", kUppercaseAll, \"='\" ),\n new Transform( \" \", kUppercaseFirst, \"='\" )\n];\n\nexports.kTransforms = kTransforms;\nexports.kNumTransforms = kTransforms.length;\n\nfunction ToUpperCase(p, i) {\n if (p[i] < 0xc0) {\n if (p[i] >= 97 && p[i] <= 122) {\n p[i] ^= 32;\n }\n return 1;\n }\n \n /* An overly simplified uppercasing model for utf-8. */\n if (p[i] < 0xe0) {\n p[i + 1] ^= 32;\n return 2;\n }\n \n /* An arbitrary transform for three byte characters. */\n p[i + 2] ^= 5;\n return 3;\n}\n\nexports.transformDictionaryWord = function(dst, idx, word, len, transform) {\n var prefix = kTransforms[transform].prefix;\n var suffix = kTransforms[transform].suffix;\n var t = kTransforms[transform].transform;\n var skip = t < kOmitFirst1 ? 0 : t - (kOmitFirst1 - 1);\n var i = 0;\n var start_idx = idx;\n var uppercase;\n \n if (skip > len) {\n skip = len;\n }\n \n var prefix_pos = 0;\n while (prefix_pos < prefix.length) {\n dst[idx++] = prefix[prefix_pos++];\n }\n \n word += skip;\n len -= skip;\n \n if (t <= kOmitLast9) {\n len -= t;\n }\n \n for (i = 0; i < len; i++) {\n dst[idx++] = BrotliDictionary.dictionary[word + i];\n }\n \n uppercase = idx - len;\n \n if (t === kUppercaseFirst) {\n ToUpperCase(dst, uppercase);\n } else if (t === kUppercaseAll) {\n while (len > 0) {\n var step = ToUpperCase(dst, uppercase);\n uppercase += step;\n len -= step;\n }\n }\n \n var suffix_pos = 0;\n while (suffix_pos < suffix.length) {\n dst[idx++] = suffix[suffix_pos++];\n }\n \n return idx - start_idx;\n}\n","module.exports = require('./dec/decode').BrotliDecompressBuffer;\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nconst base64 = require('base64-js')\nconst ieee754 = require('ieee754')\nconst customInspectSymbol =\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Print warning and recommend using `buffer` v4.x which has an Object\n * implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n typeof console.error === 'function') {\n console.error(\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n )\n}\n\nfunction typedArraySupport () {\n // Can typed array instances can be augmented?\n try {\n const arr = new Uint8Array(1)\n const proto = { foo: function () { return 42 } }\n Object.setPrototypeOf(proto, Uint8Array.prototype)\n Object.setPrototypeOf(arr, proto)\n return arr.foo() === 42\n } catch (e) {\n return false\n }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.buffer\n }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n enumerable: true,\n get: function () {\n if (!Buffer.isBuffer(this)) return undefined\n return this.byteOffset\n }\n})\n\nfunction createBuffer (length) {\n if (length > K_MAX_LENGTH) {\n throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n }\n // Return an augmented `Uint8Array` instance\n const buf = new Uint8Array(length)\n Object.setPrototypeOf(buf, Buffer.prototype)\n return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new TypeError(\n 'The \"string\" argument must be of type string. Received type number'\n )\n }\n return allocUnsafe(arg)\n }\n return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n if (ArrayBuffer.isView(value)) {\n return fromArrayView(value)\n }\n\n if (value == null) {\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n }\n\n if (isInstance(value, ArrayBuffer) ||\n (value && isInstance(value.buffer, ArrayBuffer))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof SharedArrayBuffer !== 'undefined' &&\n (isInstance(value, SharedArrayBuffer) ||\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'number') {\n throw new TypeError(\n 'The \"value\" argument must not be of type number. Received type number'\n )\n }\n\n const valueOf = value.valueOf && value.valueOf()\n if (valueOf != null && valueOf !== value) {\n return Buffer.from(valueOf, encodingOrOffset, length)\n }\n\n const b = fromObject(value)\n if (b) return b\n\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n typeof value[Symbol.toPrimitive] === 'function') {\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\n }\n\n throw new TypeError(\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n 'or Array-like Object. Received type ' + (typeof value)\n )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be of type number')\n } else if (size < 0) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n}\n\nfunction alloc (size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpreted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(size).fill(fill, encoding)\n : createBuffer(size).fill(fill)\n }\n return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n assertSize(size)\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n\n const length = byteLength(string, encoding) | 0\n let buf = createBuffer(length)\n\n const actual = buf.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n buf = buf.slice(0, actual)\n }\n\n return buf\n}\n\nfunction fromArrayLike (array) {\n const length = array.length < 0 ? 0 : checked(array.length) | 0\n const buf = createBuffer(length)\n for (let i = 0; i < length; i += 1) {\n buf[i] = array[i] & 255\n }\n return buf\n}\n\nfunction fromArrayView (arrayView) {\n if (isInstance(arrayView, Uint8Array)) {\n const copy = new Uint8Array(arrayView)\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n }\n return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\"offset\" is outside of buffer bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\"length\" is outside of buffer bounds')\n }\n\n let buf\n if (byteOffset === undefined && length === undefined) {\n buf = new Uint8Array(array)\n } else if (length === undefined) {\n buf = new Uint8Array(array, byteOffset)\n } else {\n buf = new Uint8Array(array, byteOffset, length)\n }\n\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(buf, Buffer.prototype)\n\n return buf\n}\n\nfunction fromObject (obj) {\n if (Buffer.isBuffer(obj)) {\n const len = checked(obj.length) | 0\n const buf = createBuffer(len)\n\n if (buf.length === 0) {\n return buf\n }\n\n obj.copy(buf, 0, 0, len)\n return buf\n }\n\n if (obj.length !== undefined) {\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n return createBuffer(0)\n }\n return fromArrayLike(obj)\n }\n\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n return fromArrayLike(obj.data)\n }\n}\n\nfunction checked (length) {\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= K_MAX_LENGTH) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return b != null && b._isBuffer === true &&\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError(\n 'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n )\n }\n\n if (a === b) return 0\n\n let x = a.length\n let y = b.length\n\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!Array.isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n let i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n const buffer = Buffer.allocUnsafe(length)\n let pos = 0\n for (i = 0; i < list.length; ++i) {\n let buf = list[i]\n if (isInstance(buf, Uint8Array)) {\n if (pos + buf.length > buffer.length) {\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n buf.copy(buffer, pos)\n } else {\n Uint8Array.prototype.set.call(\n buffer,\n buf,\n pos\n )\n }\n } else if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n } else {\n buf.copy(buffer, pos)\n }\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n throw new TypeError(\n 'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n 'Received type ' + typeof string\n )\n }\n\n const len = string.length\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\n if (!mustMatch && len === 0) return 0\n\n // Use a for loop to avoid recursion\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) {\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n }\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n let loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n const i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n const len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (let i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n const len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (let i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n const len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (let i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n const length = this.length\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n let str = ''\n const max = exports.INSPECT_MAX_BYTES\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n if (this.length > max) str += ' ... '\n return '<Buffer ' + str + '>'\n}\nif (customInspectSymbol) {\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (isInstance(target, Uint8Array)) {\n target = Buffer.from(target, target.offset, target.byteLength)\n }\n if (!Buffer.isBuffer(target)) {\n throw new TypeError(\n 'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n 'Received type ' + (typeof target)\n )\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n let x = thisEnd - thisStart\n let y = end - start\n const len = Math.min(x, y)\n\n const thisCopy = this.slice(thisStart, thisEnd)\n const targetCopy = target.slice(start, end)\n\n for (let i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (numberIsNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n let indexSize = 1\n let arrLength = arr.length\n let valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n let i\n if (dir) {\n let foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n let found = true\n for (let j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n const remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n const strLen = string.length\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n let i\n for (i = 0; i < length; ++i) {\n const parsed = parseInt(string.substr(i * 2, 2), 16)\n if (numberIsNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset >>> 0\n if (isFinite(length)) {\n length = length >>> 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n const remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n let loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n case 'latin1':\n case 'binary':\n return asciiWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n const res = []\n\n let i = start\n while (i < end) {\n const firstByte = buf[i]\n let codePoint = null\n let bytesPerSequence = (firstByte > 0xEF)\n ? 4\n : (firstByte > 0xDF)\n ? 3\n : (firstByte > 0xBF)\n ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n let secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nconst MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n const len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n let res = ''\n let i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n let ret = ''\n end = Math.min(buf.length, end)\n\n for (let i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n const len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n let out = ''\n for (let i = start; i < end; ++i) {\n out += hexSliceLookupTable[buf[i]]\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n const bytes = buf.slice(start, end)\n let res = ''\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n for (let i = 0; i < bytes.length - 1; i += 2) {\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n const len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n const newBuf = this.subarray(start, end)\n // Return an augmented `Uint8Array` instance\n Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n let val = this[offset + --byteLength]\n let mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const lo = first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24\n\n const hi = this[++offset] +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n last * 2 ** 24\n\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\n})\n\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const hi = first * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n const lo = this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last\n\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\n})\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let val = this[offset]\n let mul = 1\n let i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n let i = byteLength\n let mul = 1\n let val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 2, this.length)\n const val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = this[offset + 4] +\n this[offset + 5] * 2 ** 8 +\n this[offset + 6] * 2 ** 16 +\n (last << 24) // Overflow\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(first +\n this[++offset] * 2 ** 8 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 24)\n})\n\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\n offset = offset >>> 0\n validateNumber(offset, 'offset')\n const first = this[offset]\n const last = this[offset + 7]\n if (first === undefined || last === undefined) {\n boundsError(offset, this.length - 8)\n }\n\n const val = (first << 24) + // Overflow\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n this[++offset]\n\n return (BigInt(val) << BigInt(32)) +\n BigInt(this[++offset] * 2 ** 24 +\n this[++offset] * 2 ** 16 +\n this[++offset] * 2 ** 8 +\n last)\n})\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n offset = offset >>> 0\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let mul = 1\n let i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n byteLength = byteLength >>> 0\n if (!noAssert) {\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n let i = byteLength - 1\n let mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n lo = lo >> 8\n buf[offset++] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n hi = hi >> 8\n buf[offset++] = hi\n return offset\n}\n\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\n checkIntBI(value, min, max, buf, offset, 7)\n\n let lo = Number(value & BigInt(0xffffffff))\n buf[offset + 7] = lo\n lo = lo >> 8\n buf[offset + 6] = lo\n lo = lo >> 8\n buf[offset + 5] = lo\n lo = lo >> 8\n buf[offset + 4] = lo\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n buf[offset + 3] = hi\n hi = hi >> 8\n buf[offset + 2] = hi\n hi = hi >> 8\n buf[offset + 1] = hi\n hi = hi >> 8\n buf[offset] = hi\n return offset + 8\n}\n\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = 0\n let mul = 1\n let sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n const limit = Math.pow(2, (8 * byteLength) - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n let i = byteLength - 1\n let mul = 1\n let sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n return offset + 4\n}\n\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n value = +value\n offset = offset >>> 0\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n const len = end - start\n\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n // Use built-in when available, missing from IE11\n this.copyWithin(targetStart, start, end)\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, end),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n if (val.length === 1) {\n const code = val.charCodeAt(0)\n if ((encoding === 'utf8' && code < 128) ||\n encoding === 'latin1') {\n // Fast path: If `val` fits into a single byte, use that numeric value.\n val = code\n }\n }\n } else if (typeof val === 'number') {\n val = val & 255\n } else if (typeof val === 'boolean') {\n val = Number(val)\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n let i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n const bytes = Buffer.isBuffer(val)\n ? val\n : Buffer.from(val, encoding)\n const len = bytes.length\n if (len === 0) {\n throw new TypeError('The value \"' + val +\n '\" is invalid for argument \"value\"')\n }\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// CUSTOM ERRORS\n// =============\n\n// Simplified versions from Node, changed for Buffer-only usage\nconst errors = {}\nfunction E (sym, getMessage, Base) {\n errors[sym] = class NodeError extends Base {\n constructor () {\n super()\n\n Object.defineProperty(this, 'message', {\n value: getMessage.apply(this, arguments),\n writable: true,\n configurable: true\n })\n\n // Add the error code to the name to include it in the stack trace.\n this.name = `${this.name} [${sym}]`\n // Access the stack to generate the error message including the error code\n // from the name.\n this.stack // eslint-disable-line no-unused-expressions\n // Reset the name to the actual name.\n delete this.name\n }\n\n get code () {\n return sym\n }\n\n set code (value) {\n Object.defineProperty(this, 'code', {\n configurable: true,\n enumerable: true,\n value,\n writable: true\n })\n }\n\n toString () {\n return `${this.name} [${sym}]: ${this.message}`\n }\n }\n}\n\nE('ERR_BUFFER_OUT_OF_BOUNDS',\n function (name) {\n if (name) {\n return `${name} is outside of buffer bounds`\n }\n\n return 'Attempt to access memory outside buffer bounds'\n }, RangeError)\nE('ERR_INVALID_ARG_TYPE',\n function (name, actual) {\n return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`\n }, TypeError)\nE('ERR_OUT_OF_RANGE',\n function (str, range, input) {\n let msg = `The value of \"${str}\" is out of range.`\n let received = input\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n received = addNumericalSeparator(String(input))\n } else if (typeof input === 'bigint') {\n received = String(input)\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n received = addNumericalSeparator(received)\n }\n received += 'n'\n }\n msg += ` It must be ${range}. Received ${received}`\n return msg\n }, RangeError)\n\nfunction addNumericalSeparator (val) {\n let res = ''\n let i = val.length\n const start = val[0] === '-' ? 1 : 0\n for (; i >= start + 4; i -= 3) {\n res = `_${val.slice(i - 3, i)}${res}`\n }\n return `${val.slice(0, i)}${res}`\n}\n\n// CHECK FUNCTIONS\n// ===============\n\nfunction checkBounds (buf, offset, byteLength) {\n validateNumber(offset, 'offset')\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\n boundsError(offset, buf.length - (byteLength + 1))\n }\n}\n\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\n if (value > max || value < min) {\n const n = typeof min === 'bigint' ? 'n' : ''\n let range\n if (byteLength > 3) {\n if (min === 0 || min === BigInt(0)) {\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\n } else {\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\n `${(byteLength + 1) * 8 - 1}${n}`\n }\n } else {\n range = `>= ${min}${n} and <= ${max}${n}`\n }\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\n }\n checkBounds(buf, offset, byteLength)\n}\n\nfunction validateNumber (value, name) {\n if (typeof value !== 'number') {\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\n }\n}\n\nfunction boundsError (value, length, type) {\n if (Math.floor(value) !== value) {\n validateNumber(value, type)\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\n }\n\n if (length < 0) {\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\n }\n\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\n `>= ${type ? 1 : 0} and <= ${length}`,\n value)\n}\n\n// HELPER FUNCTIONS\n// ================\n\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node takes equal signs as end of the Base64 encoding\n str = str.split('=')[0]\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = str.trim().replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n let codePoint\n const length = string.length\n let leadSurrogate = null\n const bytes = []\n\n for (let i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n let c, hi, lo\n const byteArray = []\n for (let i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n let i\n for (i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n return obj instanceof type ||\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\n obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n // For IE11 support\n return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nconst hexSliceLookupTable = (function () {\n const alphabet = '0123456789abcdef'\n const table = new Array(256)\n for (let i = 0; i < 16; ++i) {\n const i16 = i * 16\n for (let j = 0; j < 16; ++j) {\n table[i16 + j] = alphabet[i] + alphabet[j]\n }\n }\n return table\n})()\n\n// Return not function with Error if BigInt not supported\nfunction defineBigIntMethod (fn) {\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\n}\n\nfunction BufferBigIntNotDefined () {\n throw new Error('BigInt not supported')\n}\n","var clone = (function() {\n'use strict';\n\nfunction _instanceof(obj, type) {\n return type != null && obj instanceof type;\n}\n\nvar nativeMap;\ntry {\n nativeMap = Map;\n} catch(_) {\n // maybe a reference error because no `Map`. Give it a dummy value that no\n // value will ever be an instanceof.\n nativeMap = function() {};\n}\n\nvar nativeSet;\ntry {\n nativeSet = Set;\n} catch(_) {\n nativeSet = function() {};\n}\n\nvar nativePromise;\ntry {\n nativePromise = Promise;\n} catch(_) {\n nativePromise = function() {};\n}\n\n/**\n * Clones (copies) an Object using deep copying.\n *\n * This function supports circular references by default, but if you are certain\n * there are no circular references in your object, you can save some CPU time\n * by calling clone(obj, false).\n *\n * Caution: if `circular` is false and `parent` contains circular references,\n * your program may enter an infinite loop and crash.\n *\n * @param `parent` - the object to be cloned\n * @param `circular` - set to true if the object to be cloned may contain\n * circular references. (optional - true by default)\n * @param `depth` - set to a number if the object is only to be cloned to\n * a particular depth. (optional - defaults to Infinity)\n * @param `prototype` - sets the prototype to be used when cloning an object.\n * (optional - defaults to parent prototype).\n * @param `includeNonEnumerable` - set to true if the non-enumerable properties\n * should be cloned as well. Non-enumerable properties on the prototype\n * chain will be ignored. (optional - false by default)\n*/\nfunction clone(parent, circular, depth, prototype, includeNonEnumerable) {\n if (typeof circular === 'object') {\n depth = circular.depth;\n prototype = circular.prototype;\n includeNonEnumerable = circular.includeNonEnumerable;\n circular = circular.circular;\n }\n // maintain two arrays for circular references, where corresponding parents\n // and children have the same index\n var allParents = [];\n var allChildren = [];\n\n var useBuffer = typeof Buffer != 'undefined';\n\n if (typeof circular == 'undefined')\n circular = true;\n\n if (typeof depth == 'undefined')\n depth = Infinity;\n\n // recurse this function so we don't reset allParents and allChildren\n function _clone(parent, depth) {\n // cloning null always returns null\n if (parent === null)\n return null;\n\n if (depth === 0)\n return parent;\n\n var child;\n var proto;\n if (typeof parent != 'object') {\n return parent;\n }\n\n if (_instanceof(parent, nativeMap)) {\n child = new nativeMap();\n } else if (_instanceof(parent, nativeSet)) {\n child = new nativeSet();\n } else if (_instanceof(parent, nativePromise)) {\n child = new nativePromise(function (resolve, reject) {\n parent.then(function(value) {\n resolve(_clone(value, depth - 1));\n }, function(err) {\n reject(_clone(err, depth - 1));\n });\n });\n } else if (clone.__isArray(parent)) {\n child = [];\n } else if (clone.__isRegExp(parent)) {\n child = new RegExp(parent.source, __getRegExpFlags(parent));\n if (parent.lastIndex) child.lastIndex = parent.lastIndex;\n } else if (clone.__isDate(parent)) {\n child = new Date(parent.getTime());\n } else if (useBuffer && Buffer.isBuffer(parent)) {\n if (Buffer.allocUnsafe) {\n // Node.js >= 4.5.0\n child = Buffer.allocUnsafe(parent.length);\n } else {\n // Older Node.js versions\n child = new Buffer(parent.length);\n }\n parent.copy(child);\n return child;\n } else if (_instanceof(parent, Error)) {\n child = Object.create(parent);\n } else {\n if (typeof prototype == 'undefined') {\n proto = Object.getPrototypeOf(parent);\n child = Object.create(proto);\n }\n else {\n child = Object.create(prototype);\n proto = prototype;\n }\n }\n\n if (circular) {\n var index = allParents.indexOf(parent);\n\n if (index != -1) {\n return allChildren[index];\n }\n allParents.push(parent);\n allChildren.push(child);\n }\n\n if (_instanceof(parent, nativeMap)) {\n parent.forEach(function(value, key) {\n var keyChild = _clone(key, depth - 1);\n var valueChild = _clone(value, depth - 1);\n child.set(keyChild, valueChild);\n });\n }\n if (_instanceof(parent, nativeSet)) {\n parent.forEach(function(value) {\n var entryChild = _clone(value, depth - 1);\n child.add(entryChild);\n });\n }\n\n for (var i in parent) {\n var attrs;\n if (proto) {\n attrs = Object.getOwnPropertyDescriptor(proto, i);\n }\n\n if (attrs && attrs.set == null) {\n continue;\n }\n child[i] = _clone(parent[i], depth - 1);\n }\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(parent);\n for (var i = 0; i < symbols.length; i++) {\n // Don't need to worry about cloning a symbol because it is a primitive,\n // like a number or string.\n var symbol = symbols[i];\n var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);\n if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {\n continue;\n }\n child[symbol] = _clone(parent[symbol], depth - 1);\n if (!descriptor.enumerable) {\n Object.defineProperty(child, symbol, {\n enumerable: false\n });\n }\n }\n }\n\n if (includeNonEnumerable) {\n var allPropertyNames = Object.getOwnPropertyNames(parent);\n for (var i = 0; i < allPropertyNames.length; i++) {\n var propertyName = allPropertyNames[i];\n var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);\n if (descriptor && descriptor.enumerable) {\n continue;\n }\n child[propertyName] = _clone(parent[propertyName], depth - 1);\n Object.defineProperty(child, propertyName, {\n enumerable: false\n });\n }\n }\n\n return child;\n }\n\n return _clone(parent, depth);\n}\n\n/**\n * Simple flat clone using prototype, accepts only objects, usefull for property\n * override on FLAT configuration object (no nested props).\n *\n * USE WITH CAUTION! This may not behave as you wish if you do not know how this\n * works.\n */\nclone.clonePrototype = function clonePrototype(parent) {\n if (parent === null)\n return null;\n\n var c = function () {};\n c.prototype = parent;\n return new c();\n};\n\n// private utility functions\n\nfunction __objToStr(o) {\n return Object.prototype.toString.call(o);\n}\nclone.__objToStr = __objToStr;\n\nfunction __isDate(o) {\n return typeof o === 'object' && __objToStr(o) === '[object Date]';\n}\nclone.__isDate = __isDate;\n\nfunction __isArray(o) {\n return typeof o === 'object' && __objToStr(o) === '[object Array]';\n}\nclone.__isArray = __isArray;\n\nfunction __isRegExp(o) {\n return typeof o === 'object' && __objToStr(o) === '[object RegExp]';\n}\nclone.__isRegExp = __isRegExp;\n\nfunction __getRegExpFlags(re) {\n var flags = '';\n if (re.global) flags += 'g';\n if (re.ignoreCase) flags += 'i';\n if (re.multiline) flags += 'm';\n return flags;\n}\nclone.__getRegExpFlags = __getRegExpFlags;\n\nreturn clone;\n})();\n\nif (typeof module === 'object' && module.exports) {\n module.exports = clone;\n}\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","/* MIT license */\nvar colorNames = require('color-name');\nvar swizzle = require('simple-swizzle');\nvar hasOwnProperty = Object.hasOwnProperty;\n\nvar reverseNames = Object.create(null);\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (hasOwnProperty.call(colorNames, name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {},\n\tget: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-f0-9]{3,4})$/i;\n\tvar hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar keyword = /^(\\w+)$/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\tvar hexAlpha;\n\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\tif (!hasOwnProperty.call(colorNames, match[1])) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t} else {\n\t\treturn null;\n\t}\n\n\tfor (i = 0; i < 3; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*(?:[,|\\/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn (\n\t\t'#' +\n\t\thexDouble(rgba[0]) +\n\t\thexDouble(rgba[1]) +\n\t\thexDouble(rgba[2]) +\n\t\t(rgba[3] < 1\n\t\t\t? (hexDouble(Math.round(rgba[3] * 255)))\n\t\t\t: '')\n\t);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = Math.round(num).toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n","/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * RegExp to match *( \";\" parameter ) in RFC 7231 sec 3.1.1.1\n *\n * parameter = token \"=\" ( token / quoted-string )\n * token = 1*tchar\n * tchar = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" / \"*\"\n * / \"+\" / \"-\" / \".\" / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * / DIGIT / ALPHA\n * ; any VCHAR, except delimiters\n * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE\n * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text\n * obs-text = %x80-FF\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n */\nvar PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g // eslint-disable-line no-control-regex\nvar TEXT_REGEXP = /^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/ // eslint-disable-line no-control-regex\nvar TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * RegExp to match quoted-pair in RFC 7230 sec 3.2.6\n *\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n * obs-text = %x80-FF\n */\nvar QESC_REGEXP = /\\\\([\\u000b\\u0020-\\u00ff])/g // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6\n */\nvar QUOTE_REGEXP = /([\\\\\"])/g\n\n/**\n * RegExp to match type in RFC 7231 sec 3.1.1.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nvar TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * Module exports.\n * @public\n */\n\nexports.format = format\nexports.parse = parse\n\n/**\n * Format object to media type.\n *\n * @param {object} obj\n * @return {string}\n * @public\n */\n\nfunction format (obj) {\n if (!obj || typeof obj !== 'object') {\n throw new TypeError('argument obj is required')\n }\n\n var parameters = obj.parameters\n var type = obj.type\n\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid type')\n }\n\n var string = type\n\n // append parameters\n if (parameters && typeof parameters === 'object') {\n var param\n var params = Object.keys(parameters).sort()\n\n for (var i = 0; i < params.length; i++) {\n param = params[i]\n\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError('invalid parameter name')\n }\n\n string += '; ' + param + '=' + qstring(parameters[param])\n }\n }\n\n return string\n}\n\n/**\n * Parse media type to object.\n *\n * @param {string|object} string\n * @return {Object}\n * @public\n */\n\nfunction parse (string) {\n if (!string) {\n throw new TypeError('argument string is required')\n }\n\n // support req/res-like objects as argument\n var header = typeof string === 'object'\n ? getcontenttype(string)\n : string\n\n if (typeof header !== 'string') {\n throw new TypeError('argument string is required to be a string')\n }\n\n var index = header.indexOf(';')\n var type = index !== -1\n ? header.slice(0, index).trim()\n : header.trim()\n\n if (!TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid media type')\n }\n\n var obj = new ContentType(type.toLowerCase())\n\n // parse parameters\n if (index !== -1) {\n var key\n var match\n var value\n\n PARAM_REGEXP.lastIndex = index\n\n while ((match = PARAM_REGEXP.exec(header))) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format')\n }\n\n index += match[0].length\n key = match[1].toLowerCase()\n value = match[2]\n\n if (value.charCodeAt(0) === 0x22 /* \" */) {\n // remove quotes\n value = value.slice(1, -1)\n\n // remove escapes\n if (value.indexOf('\\\\') !== -1) {\n value = value.replace(QESC_REGEXP, '$1')\n }\n }\n\n obj.parameters[key] = value\n }\n\n if (index !== header.length) {\n throw new TypeError('invalid parameter format')\n }\n }\n\n return obj\n}\n\n/**\n * Get content-type from req/res objects.\n *\n * @param {object}\n * @return {Object}\n * @private\n */\n\nfunction getcontenttype (obj) {\n var header\n\n if (typeof obj.getHeader === 'function') {\n // res-like\n header = obj.getHeader('content-type')\n } else if (typeof obj.headers === 'object') {\n // req-like\n header = obj.headers && obj.headers['content-type']\n }\n\n if (typeof header !== 'string') {\n throw new TypeError('content-type header is missing from object')\n }\n\n return header\n}\n\n/**\n * Quote a string if necessary.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction qstring (val) {\n var str = String(val)\n\n // no need to quote tokens\n if (TOKEN_REGEXP.test(str)) {\n return str\n }\n\n if (str.length > 0 && !TEXT_REGEXP.test(str)) {\n throw new TypeError('invalid parameter value')\n }\n\n return '\"' + str.replace(QUOTE_REGEXP, '\\\\$1') + '\"'\n}\n\n/**\n * Class to represent a content type.\n * @private\n */\nfunction ContentType (type) {\n this.parameters = Object.create(null)\n this.type = type\n}\n","var global = typeof self !== 'undefined' ? self : this;\nvar __self__ = (function () {\nfunction F() {\nthis.fetch = false;\nthis.DOMException = global.DOMException\n}\nF.prototype = global;\nreturn new F();\n})();\n(function(self) {\n\nvar irrelevant = (function (exports) {\n\n var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = 'statusText' in options ? options.statusText : 'OK';\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = self.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n resolve(new Response(body, options));\n };\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.onabort = function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n };\n\n xhr.open(request.method, request.url, true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob';\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!self.fetch) {\n self.fetch = fetch;\n self.Headers = Headers;\n self.Request = Request;\n self.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n\n})({});\n})(__self__);\n__self__.fetch.ponyfill = true;\n// Remove \"polyfill\" property added by whatwg-fetch\ndelete __self__.fetch.polyfill;\n// Choose between native implementation (global) or custom implementation (__self__)\n// var ctx = global.fetch ? global : __self__;\nvar ctx = __self__; // this line disable service worker support temporarily\nexports = ctx.fetch // To enable: import fetch from 'cross-fetch'\nexports.default = ctx.fetch // For TypeScript consumers without esModuleInterop.\nexports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'\nexports.Headers = ctx.Headers\nexports.Request = ctx.Request\nexports.Response = ctx.Response\nmodule.exports = exports\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t crypto = global.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && typeof require === 'function') {\n\t try {\n\t crypto = require('crypto');\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));","export var filter = function (args, condition) {\n return Array.prototype.filter.call(args, condition);\n};\nexport var map = function (args, mapper) {\n return Array.prototype.map.call(args, mapper);\n};\n","var functionExpression = /[\\s]*([a-z-]+)[\\s]*\\([\\s]*([^\\)]+)[\\s]*\\)[\\s]*/i;\nvar floatExpression = /^(\\-?\\d+\\.?\\d{0,5})/;\nexport var formatUnit = function (unit) { return function (val) { return (val + unit); }; };\nexport var toFloat = parseFloat;\nexport function ensurePercent(value) {\n return typeof value === 'number'\n ? value\n : toFloat(value) * .01;\n}\nexport function formatPercent(value) {\n return (formatFloat(value * 100)) + '%';\n}\n/**\n * Returns a number formatted to a max number of 5 decimal places\n */\nexport function formatFloat(n) {\n return floatExpression.exec(n.toString())[1];\n}\nexport function ensureLength(value) {\n if (value === null || value === undefined) {\n return undefined;\n }\n // convert to number\n var number = +value;\n // validate conversion worked (NaN will not equal NaN)\n if (number === number) {\n return value + 'px';\n }\n return value;\n}\nexport function parseCSSFunction(stringValue) {\n var matches = functionExpression.exec(stringValue);\n if (!matches || !matches.length) {\n return undefined;\n }\n return [matches[1]].concat(matches[2].split(','));\n}\nexport function cssFunction(functionName, params) {\n var parts = Array.prototype.join.call(params, ', ');\n return functionName + \"(\" + parts + \")\";\n}\nexport function createFunction(name) {\n return (function () {\n return cssFunction(name, arguments);\n });\n}\n","import { formatUnit } from './utils/formatting';\n/**\n * Returns the number with a suffix of %\n */\nexport var percent = formatUnit('%');\n/**\n * Returns the number with a suffix of deg\n */\nexport var deg = formatUnit('deg');\n/**\n * Returns the number with a suffix of em\n */\nexport var em = formatUnit('em');\n/**\n * Returns the number with a suffix of ex\n */\nexport var ex = formatUnit('ex');\n/**\n * Returns the number with a suffix of px\n */\nexport var px = formatUnit('px');\n/**\n * Returns the number with a suffix of rad\n */\nexport var rad = formatUnit('rad');\n/**\n * Returns the number with a suffix of rem\n */\nexport var rem = formatUnit('rem');\n/**\n * Returns the number with a suffix of vh\n */\nexport var viewHeight = formatUnit('vh');\n/**\n * Returns the number with a suffix of vw\n */\nexport var viewWidth = formatUnit('vw');\n/**\n * Returns the number with a suffix of turn\n */\nexport var turn = formatUnit('turn');\n","import { filter } from './utils/arrays';\nimport { px } from \"./units\";\nvar delimited = function (delimiter) {\n return function () {\n return filter(arguments, function (s) { return s || s === 0; })\n .map(function (s) { return typeof s === 'number' ? px(s) : s.toString(); })\n .join(delimiter);\n };\n};\nexport var params = delimited(' ');\nexport var list = delimited(',');\n","import { ensureLength } from './utils/formatting';\nimport { params } from './lists';\n/**\n * Returns the value with '' around it. Any 's will be escaped \\' in the output\n */\nexport function border(p) {\n return params(p.color, p.style, ensureLength(p.width));\n}\nexport var borderColor = params;\nexport var borderStyle = params;\nexport var borderWidth = params;\n","var _a;\nimport { ensurePercent, formatPercent, parseCSSFunction, cssFunction, formatFloat, toFloat } from './utils/formatting';\nimport { roundFloat, round } from './utils/math';\nvar RGB = 'rgb', HSL = 'hsl';\nvar converters = (_a = {},\n _a[RGB + HSL] = RGBtoHSL,\n _a[HSL + RGB] = HSLtoRGB,\n _a);\n/**\n * Describe the ceiling for each color channel for each format\n */\nvar maxChannelValues = {\n r: 255,\n g: 255,\n b: 255,\n h: 360,\n s: 1,\n l: 1,\n a: 1\n};\n/**\n * Creates a color from a hex color code or named color.\n * e.g. color('red') or color('#FF0000') or color('#F00'))\n */\nexport function color(value) {\n return parseHexCode(value) || parseColorFunction(value) || rgb(255, 0, 0);\n}\n/**\n * Creates a color from hue, saturation, and lightness. Alpha is automatically set to 100%\n * @param hue The hue of the color. This should be a number between 0-360.\n * @param saturation The saturation of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n * @param lightness The lightness of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n * @param alpha The alpha of the color. This should be a number between 0-1 or a percentage string between 0%-100%. If not specified, this defaults to 1.\n */\nexport function hsl(hue, saturation, lightness, alpha) {\n return new ColorHelper(HSL, modDegrees(hue), ensurePercent(saturation), ensurePercent(lightness), (alpha === undefined ? 1 : ensurePercent(alpha)), alpha !== undefined /* hasAlpha*/);\n}\n/**\n * Creates a color from hue, saturation, lightness, and alpha\n * @param hue The hue of the color. This should be a number between 0-360.\n * @param saturation The saturation of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n * @param lightness The lightness of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n * @param alpha The alpha of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n */\nexport function hsla(hue, saturation, lightness, alpha) {\n return new ColorHelper(HSL, modDegrees(hue), ensurePercent(saturation), ensurePercent(lightness), ensurePercent(alpha), true);\n}\n/**\n * Creates a color form the red, blue, and green color space. Alpha is automatically set to 100%\n * @param red The red channel of the color. This should be a number between 0-255.\n * @param blue The blue channel of the color. This should be a number between 0-255.\n * @param green The green channel of the color. This should be a number between 0-255.\n * @param alpha The alpha of the color. This should be a number between 0-1 or a percentage string between 0%-100%. If not specified, this defaults to 1.\n */\nexport function rgb(red, blue, green, alpha) {\n return new ColorHelper(RGB, red, blue, green, (alpha === undefined ? 1 : ensurePercent(alpha)), alpha !== undefined /* hasAlpha*/);\n}\n/**\n * Creates a color form the red, blue, green, and alpha in the color space\n * @param red The red channel of the color. This should be a number between 0-255.\n * @param blue The blue channel of the color. This should be a number between 0-255.\n * @param green The green channel of the color. This should be a number between 0-255.\n * @param alpha The alpha of the color. This should be a number between 0-1 or a percentage string between 0%-100%.\n */\nexport function rgba(red, blue, green, alpha) {\n return new ColorHelper(RGB, red, blue, green, ensurePercent(alpha), true);\n}\nfunction convertHelper(toFormat, helper, forceAlpha) {\n var fromFormat = helper.f, r = helper.r, g = helper.g, b = helper.b, a = helper.a;\n var newAlpha = forceAlpha === undefined ? helper.o : forceAlpha;\n if (fromFormat !== toFormat) {\n return converters[fromFormat + toFormat](r, g, b, a, newAlpha);\n }\n return forceAlpha === undefined ? helper : new ColorHelper(fromFormat, r, g, b, a, newAlpha);\n}\n/**\n * A CSS Color. Includes utilities for converting between color types\n */\nvar ColorHelper = /** @class */ (function () {\n function ColorHelper(format, r, g, b, a, hasAlpha) {\n var self = this;\n self.f = format;\n self.o = hasAlpha;\n var isHSL = format === HSL;\n self.r = clampColor(isHSL ? 'h' : 'r', r);\n self.g = clampColor(isHSL ? 's' : 'g', g);\n self.b = clampColor(isHSL ? 'l' : 'b', b);\n self.a = clampColor('a', a);\n }\n /**\n * Converts the stored color into string form (which is used by Free Style)\n */\n ColorHelper.prototype.toString = function () {\n var _a = this, hasAlpha = _a.o, format = _a.f, r = _a.r, g = _a.g, b = _a.b, a = _a.a;\n var fnName;\n var params;\n // find function name and resolve first three channels\n if (format === RGB) {\n fnName = hasAlpha ? 'rgba' : RGB;\n params = [round(r), round(g), round(b)];\n }\n else if (format === HSL) {\n fnName = hasAlpha ? 'hsla' : HSL;\n params = [round(r), formatPercent(roundFloat(g, 100)), formatPercent(roundFloat(b, 100))];\n }\n else {\n throw new Error('Invalid color format');\n }\n // add alpha channel if needed\n if (hasAlpha) {\n params.push(formatFloat(roundFloat(a, 100000)));\n }\n // return as a string\n return cssFunction(fnName, params);\n };\n /**\n * Converts to hex rgb(255, 255, 255) to #FFFFFF\n */\n ColorHelper.prototype.toHexString = function () {\n var color = convertHelper(RGB, this);\n return '#' + (toHex(color.r) + toHex(color.g) + toHex(color.b)).toUpperCase();\n };\n /**\n * Converts to the Hue, Saturation, Lightness color space\n */\n ColorHelper.prototype.toHSL = function () {\n return convertHelper(HSL, this, false);\n };\n /**\n * Converts to the Hue, Saturation, Lightness color space and adds an alpha channel\n */\n ColorHelper.prototype.toHSLA = function () {\n return convertHelper(HSL, this, true);\n };\n /**\n * Converts to the Red, Green, Blue color space\n */\n ColorHelper.prototype.toRGB = function () {\n return convertHelper(RGB, this, false);\n };\n /**\n * Converts to the Red, Green, Blue color space and adds an alpha channel\n */\n ColorHelper.prototype.toRGBA = function () {\n return convertHelper(RGB, this, true);\n };\n ColorHelper.prototype.red = function () {\n var _ = this;\n return (_.f === RGB ? _ : _.toRGB()).r;\n };\n ColorHelper.prototype.green = function () {\n var _ = this;\n return (_.f === RGB ? _ : _.toRGB()).g;\n };\n ColorHelper.prototype.blue = function () {\n var _ = this;\n return (_.f === RGB ? _ : _.toRGB()).b;\n };\n ColorHelper.prototype.hue = function () {\n var _ = this;\n return (_.f === HSL ? _ : _.toHSL()).r;\n };\n ColorHelper.prototype.saturation = function () {\n var _ = this;\n return (_.f === HSL ? _ : _.toHSL()).g;\n };\n ColorHelper.prototype.lightness = function () {\n var _ = this;\n return (_.f === HSL ? _ : _.toHSL()).b;\n };\n ColorHelper.prototype.alpha = function () {\n return this.a;\n };\n ColorHelper.prototype.opacity = function () {\n return this.a;\n };\n ColorHelper.prototype.invert = function () {\n var _ = this;\n var color2 = convertHelper(RGB, _);\n return convertHelper(_.f, new ColorHelper(RGB, 255 - color2.r, 255 - color2.g, 255 - color2.b, _.a, _.o));\n };\n ColorHelper.prototype.lighten = function (percent, relative) {\n var _ = this;\n var color2 = convertHelper(HSL, _);\n var max = maxChannelValues.l;\n var l = color2.b + (relative ? max - color2.b : max) * ensurePercent(percent);\n return convertHelper(_.f, new ColorHelper(HSL, color2.r, color2.g, l, _.a, _.o));\n };\n ColorHelper.prototype.darken = function (percent, relative) {\n var _ = this;\n var color2 = convertHelper(HSL, _);\n var l = color2.b - (relative ? color2.b : maxChannelValues.l) * ensurePercent(percent);\n return convertHelper(_.f, new ColorHelper(HSL, color2.r, color2.g, l, _.a, _.o));\n };\n ColorHelper.prototype.saturate = function (percent, relative) {\n var _ = this;\n var color2 = convertHelper(HSL, _);\n var max = maxChannelValues.s;\n var s = color2.g + (relative ? max - color2.g : max) * ensurePercent(percent);\n return convertHelper(_.f, new ColorHelper(HSL, color2.r, s, color2.b, _.a, _.o));\n };\n ColorHelper.prototype.desaturate = function (percent, relative) {\n var _ = this;\n var color2 = convertHelper(HSL, _);\n var max = maxChannelValues.s;\n var s = color2.g - (relative ? color2.g : max) * ensurePercent(percent);\n return convertHelper(_.f, new ColorHelper(HSL, color2.r, s, color2.b, _.a, _.o));\n };\n ColorHelper.prototype.grayscale = function () {\n return this.desaturate(1);\n };\n ColorHelper.prototype.fade = function (percent) {\n var _ = this;\n var a = clampColor('a', ensurePercent(percent));\n return convertHelper(_.f, new ColorHelper(_.f, _.r, _.g, _.b, a, true));\n };\n ColorHelper.prototype.fadeOut = function (percent, relative) {\n var _ = this;\n var max = 1;\n var a = clampColor('a', _.a - (relative ? _.a : max) * ensurePercent(percent));\n return convertHelper(_.f, new ColorHelper(_.f, _.r, _.g, _.b, a, true));\n };\n ColorHelper.prototype.fadeIn = function (percent, relative) {\n var _ = this;\n var max = 1;\n var a = clampColor('a', _.a + (relative ? _.a : max) * ensurePercent(percent));\n return convertHelper(_.f, new ColorHelper(_.f, _.r, _.g, _.b, a, true));\n };\n ColorHelper.prototype.mix = function (mixin, weight) {\n var _ = this;\n var color2 = ensureColor(mixin);\n var g = convertHelper(RGB, _);\n var b = convertHelper(RGB, color2);\n var p = weight === undefined ? 0.5 : weight;\n var w = 2 * p - 1;\n var a = Math.abs(g.a - b.a);\n var w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n var w2 = 1 - w1;\n var helper = new ColorHelper(RGB, round(g.r * w1 + b.r * w2), round(g.g * w1 + b.g * w2), round(g.b * w1 + b.b * w2), g.a * p + b.a * (1 - p), _.o || color2.o);\n return convertHelper(this.f, helper);\n };\n ColorHelper.prototype.tint = function (weight) {\n return rgb(255, 255, 255).mix(this, weight);\n };\n ColorHelper.prototype.shade = function (weight) {\n return rgb(0, 0, 0).mix(this, weight);\n };\n ColorHelper.prototype.spin = function (degrees) {\n var _ = this;\n var color2 = convertHelper(HSL, _);\n return convertHelper(_.f, new ColorHelper(HSL, modDegrees(color2.r + degrees), color2.g, color2.b, _.a, _.o));\n };\n return ColorHelper;\n}());\nexport { ColorHelper };\nfunction toHex(n) {\n var i = round(n);\n return (i < 16 ? '0' : '') + i.toString(16);\n}\nfunction modDegrees(n) {\n // note: maybe there is a way to simplify this\n return ((n < 0 ? 360 : 0) + n % 360) % 360;\n}\nfunction RGBtoHSL(r, g, b, a, hasAlpha) {\n var newR = r / 255;\n var newG = g / 255;\n var newB = b / 255;\n var min = Math.min(newR, newG, newB);\n var max = Math.max(newR, newG, newB);\n var l = (min + max) / 2;\n var delta = max - min;\n var h;\n if (max === min) {\n h = 0;\n }\n else if (newR === max) {\n h = (newG - newB) / delta;\n }\n else if (newG === max) {\n h = 2 + (newB - newR) / delta;\n }\n else if (newB === max) {\n h = 4 + (newR - newG) / delta;\n }\n else {\n h = 0;\n }\n h = Math.min(h * 60, 360);\n if (h < 0) {\n h += 360;\n }\n var s;\n if (max === min) {\n s = 0;\n }\n else if (l <= 0.5) {\n s = delta / (max + min);\n }\n else {\n s = delta / (2 - max - min);\n }\n return new ColorHelper(HSL, h, s, l, a, hasAlpha);\n}\nfunction HSLtoRGB(r, g, b, a, hasAlpha) {\n var newH = r / 360;\n var newS = g;\n var newL = b;\n if (newS === 0) {\n var val = newL * 255;\n return new ColorHelper(RGB, val, val, val, a, hasAlpha);\n }\n var t2 = newL < 0.5 ? newL * (1 + newS) : newL + newS - newL * newS;\n var t1 = 2 * newL - t2;\n var newR = 0, newG = 0, newB = 0;\n for (var i = 0; i < 3; i++) {\n var t3 = newH + 1 / 3 * -(i - 1);\n if (t3 < 0) {\n t3++;\n }\n if (t3 > 1) {\n t3--;\n }\n var val = void 0;\n if (6 * t3 < 1) {\n val = t1 + (t2 - t1) * 6 * t3;\n }\n else if (2 * t3 < 1) {\n val = t2;\n }\n else if (3 * t3 < 2) {\n val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n }\n else {\n val = t1;\n }\n val *= 255;\n // manually set variables instead of using an array\n if (i === 0) {\n newR = val;\n }\n else if (i === 1) {\n newG = val;\n }\n else {\n newB = val;\n }\n }\n return new ColorHelper(RGB, newR, newG, newB, a, hasAlpha);\n}\nfunction clampColor(channel, value) {\n var min = 0;\n var max = maxChannelValues[channel];\n return value < min ? min : value > max ? max : value;\n}\nfunction ensureColor(c) {\n return c instanceof ColorHelper ? c : color(c);\n}\nfunction parseHexCode(stringValue) {\n var match = stringValue.match(/#(([a-f0-9]{6})|([a-f0-9]{3}))$/i);\n if (!match) {\n return undefined;\n }\n var hex = match[1];\n var hexColor = parseInt(hex.length === 3 ? hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2] : hex, 16);\n var r = (hexColor >> 16) & 0xff;\n var b = (hexColor >> 8) & 0xff;\n var g = hexColor & 0xff;\n return new ColorHelper(RGB, r, b, g, 1, false);\n}\nfunction parseColorFunction(colorString) {\n var cssParts = parseCSSFunction(colorString);\n if (!cssParts || !(cssParts.length === 4 || cssParts.length === 5)) {\n return undefined;\n }\n var fn = cssParts[0];\n var isRGBA = fn === 'rgba';\n var isHSLA = fn === 'hsla';\n var isRGB = fn === RGB;\n var isHSL = fn === HSL;\n var hasAlpha = isHSLA || isRGBA;\n var type;\n if (isRGB || isRGBA) {\n type = RGB;\n }\n else if (isHSL || isHSLA) {\n type = HSL;\n }\n else {\n throw new Error('unsupported color string');\n }\n var r = toFloat(cssParts[1]);\n var g = isRGB || isRGBA ? toFloat(cssParts[2]) : ensurePercent(cssParts[2]);\n var b = isRGB || isRGBA ? toFloat(cssParts[3]) : ensurePercent(cssParts[3]);\n var a = hasAlpha ? toFloat(cssParts[4]) : 1;\n return new ColorHelper(type, r, g, b, a, hasAlpha);\n}\n","var math = Math;\nexport var round = math.round;\n/**\n * Rounds a decimal by multiplying it by a factor, rounding it, and then dividing it by that same factor\n * @param n number to round\n * @param factor to use 100 = scale of 2, 100000 = scale of 5\n */\nexport function roundFloat(n, factor) {\n return round(n * factor) / factor;\n}\n","/**\n * Returns the value with '' around it. Any 's will be escaped \\' in the output\n */\nexport function calc(exp) {\n return \"calc(\" + exp + \")\";\n}\n/**\n * Returns the value with '' around it. Any 's will be escaped \\' in the output\n */\nexport function quote(val) {\n var val2 = (val || val === 0 ? val.toString() : '').replace(/\\'/g, \"\\\\'\");\n return \"'\" + val2 + \"'\";\n}\n/**\n * Returns the value with !important on the end. If the value provided is a CSSHelper, it will\n * be converted to a string by necessity, but will look like it is the original type to TypeScript.\n */\nexport function important(val) {\n if (!val && val !== 0) {\n return '';\n }\n return val.toString() + \" !important\";\n}\n/**\n * Returns the string in a url()\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/url\n */\nexport function url(val) {\n return \"url(\" + (val || '') + \")\";\n}\n/**\n * Returns the value as a string or an empty string if null or undefined.\n * @param value\n * @param fallbackValue\n */\nexport function coalesce(value) {\n return !value && value !== 0 ? '' : value.toString();\n}\n","import { createFunction } from './utils/formatting';\n/**\n * The CSS transform property lets you modify the coordinate space of the CSS visual formatting model. Using it, elements can be translated, rotated, scaled, and skewed.\n * Returns the transforms as a delimited string by space or returns 'none' if no arguments are provided\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/transform\n */\nexport function transform() {\n var transforms = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n transforms[_i] = arguments[_i];\n }\n return transforms.length ? transforms.join(' ') : 'none';\n}\nexport var matrix = createFunction('matrix');\nexport var matrix3d = createFunction('matrix3d');\nexport var perspective = createFunction('perspective');\nexport var rotate = createFunction('rotate');\nexport var rotate3d = createFunction('rotate3d');\nexport var rotateX = createFunction('rotateX');\nexport var rotateY = createFunction('rotateY');\nexport var rotateZ = createFunction('rotateZ');\nexport var scale = createFunction('scale');\nexport var scale3d = createFunction('scale3d');\nexport var scaleX = createFunction('scaleX');\nexport var scaleY = createFunction('scaleY');\nexport var scaleZ = createFunction('scaleZ');\nexport var skew = createFunction('skew');\nexport var skewX = createFunction('skewX');\nexport var skewY = createFunction('skewY');\nexport var translate = createFunction('translate');\nexport var translate3d = createFunction('translate3d');\nexport var translateX = createFunction('translateX');\nexport var translateY = createFunction('translateY');\nexport var translateZ = createFunction('translateZ');\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=\"$isDayjsObject\",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=f+\"Date\",n[d]=f+\"Date\",n[c]=f+\"Month\",n[h]=f+\"FullYear\",n[u]=f+\"Hours\",n[s]=f+\"Minutes\",n[i]=f+\"Seconds\",n[r]=f+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,\"0\")},$=f||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case\"YY\":return String(e.$y).slice(-2);case\"YYYY\":return b.s(e.$y,4,\"0\");case\"M\":return a+1;case\"MM\":return b.s(a+1,2,\"0\");case\"MMM\":return h(n.monthsShort,a,c,3);case\"MMMM\":return h(c,a);case\"D\":return e.$D;case\"DD\":return b.s(e.$D,2,\"0\");case\"d\":return String(e.$W);case\"dd\":return h(n.weekdaysMin,e.$W,o,2);case\"ddd\":return h(n.weekdaysShort,e.$W,o,3);case\"dddd\":return o[e.$W];case\"H\":return String(s);case\"HH\":return b.s(s,2,\"0\");case\"h\":return d(1);case\"hh\":return d(2);case\"a\":return $(s,u,!0);case\"A\":return $(s,u,!1);case\"m\":return String(u);case\"mm\":return b.s(u,2,\"0\");case\"s\":return String(e.$s);case\"ss\":return b.s(e.$s,2,\"0\");case\"SSS\":return b.s(e.$ms,3,\"0\");case\"Z\":return i}return null}(t)||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",c],[\"$y\",h],[\"$D\",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));","!function(t,s){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=s():\"function\"==typeof define&&define.amd?define(s):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs_plugin_duration=s()}(this,(function(){\"use strict\";var t,s,n=1e3,i=6e4,e=36e5,r=864e5,o=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,d=2628e6,a=/^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:u,months:d,days:r,hours:e,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof g},f=function(t,s,n){return new g(t,n,s.$l)},m=function(t){return s.p(t)+\"s\"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},y=function(t){return Math.abs(t)},v=function(t,s){return t?l(t)?{negative:!0,format:\"\"+y(t)+s}:{negative:!1,format:\"\"+t+s}:{negative:!1,format:\"\"}},g=function(){function l(t,s,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*h[m(s)],this);if(\"number\"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if(\"object\"==typeof t)return Object.keys(t).forEach((function(s){i.$d[m(s)]=t[s]})),this.calMilliseconds(),this;if(\"string\"==typeof t){var e=t.match(a);if(e){var r=e.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var y=l.prototype;return y.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(s,n){return s+(t.$d[n]||0)*h[n]}),0)},y.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/u),t%=u,this.$d.months=$(t/d),t%=d,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/e),t%=e,this.$d.minutes=$(t/i),t%=i,this.$d.seconds=$(t/n),t%=n,this.$d.milliseconds=t},y.toISOString=function(){var t=v(this.$d.years,\"Y\"),s=v(this.$d.months,\"M\"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=v(n,\"D\"),e=v(this.$d.hours,\"H\"),r=v(this.$d.minutes,\"M\"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var u=v(o,\"S\"),d=t.negative||s.negative||i.negative||e.negative||r.negative||u.negative,a=e.format||r.format||u.format?\"T\":\"\",h=(d?\"-\":\"\")+\"P\"+t.format+s.format+i.format+a+e.format+r.format+u.format;return\"P\"===h||\"-P\"===h?\"P0D\":h},y.toJSON=function(){return this.toISOString()},y.format=function(t){var n=t||\"YYYY-MM-DDTHH:mm:ss\",i={Y:this.$d.years,YY:s.s(this.$d.years,2,\"0\"),YYYY:s.s(this.$d.years,4,\"0\"),M:this.$d.months,MM:s.s(this.$d.months,2,\"0\"),D:this.$d.days,DD:s.s(this.$d.days,2,\"0\"),H:this.$d.hours,HH:s.s(this.$d.hours,2,\"0\"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,\"0\"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,\"0\"),SSS:s.s(this.$d.milliseconds,3,\"0\")};return n.replace(o,(function(t,s){return s||String(i[t])}))},y.as=function(t){return this.$ms/h[m(t)]},y.get=function(t){var s=this.$ms,n=m(t);return\"milliseconds\"===n?s%=1e3:s=\"weeks\"===n?$(s/h[n]):this.$d[n],s||0},y.add=function(t,s,n){var i;return i=s?t*h[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+i*(n?-1:1),this)},y.subtract=function(t,s){return this.add(t,s,!0)},y.locale=function(t){var s=this.clone();return s.$l=t,s},y.clone=function(){return f(this.$ms,this)},y.humanize=function(s){return t().add(this.$ms,\"ms\").locale(this.$l).fromNow(!s)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get(\"milliseconds\")},y.asMilliseconds=function(){return this.as(\"milliseconds\")},y.seconds=function(){return this.get(\"seconds\")},y.asSeconds=function(){return this.as(\"seconds\")},y.minutes=function(){return this.get(\"minutes\")},y.asMinutes=function(){return this.as(\"minutes\")},y.hours=function(){return this.get(\"hours\")},y.asHours=function(){return this.as(\"hours\")},y.days=function(){return this.get(\"days\")},y.asDays=function(){return this.as(\"days\")},y.weeks=function(){return this.get(\"weeks\")},y.asWeeks=function(){return this.as(\"weeks\")},y.months=function(){return this.get(\"months\")},y.asMonths=function(){return this.as(\"months\")},y.years=function(){return this.get(\"years\")},y.asYears=function(){return this.as(\"years\")},l}(),p=function(t,s,n){return t.add(s.years()*n,\"y\").add(s.months()*n,\"M\").add(s.days()*n,\"d\").add(s.hours()*n,\"h\").add(s.minutes()*n,\"m\").add(s.seconds()*n,\"s\").add(s.milliseconds()*n,\"ms\")};return function(n,i,e){t=e,s=e().$utils(),e.duration=function(t,s){var n=e.locale();return f(t,{$l:n},s)},e.isDuration=c;var r=i.prototype.add,o=i.prototype.subtract;i.prototype.add=function(t,s){return c(t)?p(this,t,1):r.bind(this)(t,s)},i.prototype.subtract=function(t,s){return c(t)?p(this,t,-1):o.bind(this)(t,s)}}}));","!function(r,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(r=\"undefined\"!=typeof globalThis?globalThis:r||self).dayjs_plugin_relativeTime=e()}(this,(function(){\"use strict\";return function(r,e,t){r=r||{};var n=e.prototype,o={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:\"s\",r:44,d:\"second\"},{l:\"m\",r:89},{l:\"mm\",r:44,d:\"minute\"},{l:\"h\",r:89},{l:\"hh\",r:21,d:\"hour\"},{l:\"d\",r:35},{l:\"dd\",r:25,d:\"day\"},{l:\"M\",r:45},{l:\"MM\",r:10,d:\"month\"},{l:\"y\",r:17},{l:\"yy\",d:\"year\"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(\"\"+p)),a=\"string\"==typeof v?v.replace(\"%d\",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return\"function\"==typeof M?M(a):M.replace(\"%s\",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}}));","const INITIAL_STATE = 1;\nconst FAIL_STATE = 0;\n\n/**\n * A StateMachine represents a deterministic finite automaton.\n * It can perform matches over a sequence of values, similar to a regular expression.\n */\nexport default class StateMachine {\n constructor(dfa) {\n this.stateTable = dfa.stateTable;\n this.accepting = dfa.accepting;\n this.tags = dfa.tags;\n }\n\n /**\n * Returns an iterable object that yields pattern matches over the input sequence.\n * Matches are of the form [startIndex, endIndex, tags].\n */\n match(str) {\n let self = this;\n return {\n *[Symbol.iterator]() {\n let state = INITIAL_STATE;\n let startRun = null;\n let lastAccepting = null;\n let lastState = null;\n\n for (let p = 0; p < str.length; p++) {\n let c = str[p];\n\n lastState = state;\n state = self.stateTable[state][c];\n\n if (state === FAIL_STATE) {\n // yield the last match if any\n if (startRun != null && lastAccepting != null && lastAccepting >= startRun) {\n yield [startRun, lastAccepting, self.tags[lastState]];\n }\n\n // reset the state as if we started over from the initial state\n state = self.stateTable[INITIAL_STATE][c];\n startRun = null;\n }\n\n // start a run if not in the failure state\n if (state !== FAIL_STATE && startRun == null) {\n startRun = p;\n }\n\n // if accepting, mark the potential match end\n if (self.accepting[state]) {\n lastAccepting = p;\n }\n\n // reset the state to the initial state if we get into the failure state\n if (state === FAIL_STATE) {\n state = INITIAL_STATE;\n }\n }\n\n // yield the last match if any\n if (startRun != null && lastAccepting != null && lastAccepting >= startRun) {\n yield [startRun, lastAccepting, self.tags[state]];\n }\n }\n };\n }\n\n /**\n * For each match over the input sequence, action functions matching\n * the tag definitions in the input pattern are called with the startIndex,\n * endIndex, and sub-match sequence.\n */\n apply(str, actions) {\n for (let [start, end, tags] of this.match(str)) {\n for (let tag of tags) {\n if (typeof actions[tag] === 'function') {\n actions[tag](start, end, str.slice(start, end + 1));\n }\n }\n }\n }\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n","/*\n* FileSaver.js\n* A saveAs() FileSaver implementation.\n*\n* By Eli Grey, http://eligrey.com\n*\n* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n* source : http://purl.eligrey.com/github/FileSaver.js\n*/\n\n// The one and only way of getting global scope in all environments\n// https://stackoverflow.com/q/3277182/1008999\nvar _global = typeof window === 'object' && window.window === window\n ? window : typeof self === 'object' && self.self === self\n ? self : typeof global === 'object' && global.global === global\n ? global\n : this\n\nfunction bom (blob, opts) {\n if (typeof opts === 'undefined') opts = { autoBom: false }\n else if (typeof opts !== 'object') {\n console.warn('Deprecated: Expected third argument to be a object')\n opts = { autoBom: !opts }\n }\n\n // prepend BOM for UTF-8 XML and text/* types (including HTML)\n // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n return new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type })\n }\n return blob\n}\n\nfunction download (url, name, opts) {\n var xhr = new XMLHttpRequest()\n xhr.open('GET', url)\n xhr.responseType = 'blob'\n xhr.onload = function () {\n saveAs(xhr.response, name, opts)\n }\n xhr.onerror = function () {\n console.error('could not download file')\n }\n xhr.send()\n}\n\nfunction corsEnabled (url) {\n var xhr = new XMLHttpRequest()\n // use sync to avoid popup blocker\n xhr.open('HEAD', url, false)\n try {\n xhr.send()\n } catch (e) {}\n return xhr.status >= 200 && xhr.status <= 299\n}\n\n// `a.click()` doesn't work for all browsers (#465)\nfunction click (node) {\n try {\n node.dispatchEvent(new MouseEvent('click'))\n } catch (e) {\n var evt = document.createEvent('MouseEvents')\n evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80,\n 20, false, false, false, false, 0, null)\n node.dispatchEvent(evt)\n }\n}\n\n// Detect WebView inside a native macOS app by ruling out all browsers\n// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\nvar isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent)\n\nvar saveAs = _global.saveAs || (\n // probably in some web worker\n (typeof window !== 'object' || window !== _global)\n ? function saveAs () { /* noop */ }\n\n // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n : ('download' in HTMLAnchorElement.prototype && !isMacOSWebView)\n ? function saveAs (blob, name, opts) {\n var URL = _global.URL || _global.webkitURL\n var a = document.createElement('a')\n name = name || blob.name || 'download'\n\n a.download = name\n a.rel = 'noopener' // tabnabbing\n\n // TODO: detect chrome extensions & packaged apps\n // a.target = '_blank'\n\n if (typeof blob === 'string') {\n // Support regular links\n a.href = blob\n if (a.origin !== location.origin) {\n corsEnabled(a.href)\n ? download(blob, name, opts)\n : click(a, a.target = '_blank')\n } else {\n click(a)\n }\n } else {\n // Support blobs\n a.href = URL.createObjectURL(blob)\n setTimeout(function () { URL.revokeObjectURL(a.href) }, 4E4) // 40s\n setTimeout(function () { click(a) }, 0)\n }\n }\n\n // Use msSaveOrOpenBlob as a second approach\n : 'msSaveOrOpenBlob' in navigator\n ? function saveAs (blob, name, opts) {\n name = name || blob.name || 'download'\n\n if (typeof blob === 'string') {\n if (corsEnabled(blob)) {\n download(blob, name, opts)\n } else {\n var a = document.createElement('a')\n a.href = blob\n a.target = '_blank'\n setTimeout(function () { click(a) })\n }\n } else {\n navigator.msSaveOrOpenBlob(bom(blob, opts), name)\n }\n }\n\n // Fallback to using FileReader and a popup\n : function saveAs (blob, name, opts, popup) {\n // Open a popup immediately do go around popup blocker\n // Mostly only available on user interaction and the fileReader is async so...\n popup = popup || open('', '_blank')\n if (popup) {\n popup.document.title =\n popup.document.body.innerText = 'downloading...'\n }\n\n if (typeof blob === 'string') return download(blob, name, opts)\n\n var force = blob.type === 'application/octet-stream'\n var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari\n var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent)\n\n if ((isChromeIOS || (force && isSafari) || isMacOSWebView) && typeof FileReader !== 'undefined') {\n // Safari doesn't allow downloading of blob URLs\n var reader = new FileReader()\n reader.onloadend = function () {\n var url = reader.result\n url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;')\n if (popup) popup.location.href = url\n else location = url\n popup = null // reverse-tabnabbing #460\n }\n reader.readAsDataURL(blob)\n } else {\n var URL = _global.URL || _global.webkitURL\n var url = URL.createObjectURL(blob)\n if (popup) popup.location = url\n else location.href = url\n popup = null // reverse-tabnabbing #460\n setTimeout(function () { URL.revokeObjectURL(url) }, 4E4) // 40s\n }\n }\n)\n\n_global.saveAs = saveAs.saveAs = saveAs\n\nif (typeof module !== 'undefined') {\n module.exports = saveAs;\n}\n","var isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tObject.keys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tObject.keys(source).forEach(function(key) {\n\t\tif (!options.isMergeableObject(source[key]) || !target[key]) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = deepmerge(target[key], source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nexport default deepmerge_1;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport getPrototype from './_getPrototype.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nexport default isPlainObject;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nexport default clone;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","import MapCache from './_MapCache.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nexport default memoize;\n","import memoizeCapped from './_memoizeCapped.js';\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nexport default stringToPath;\n","import memoize from './memoize.js';\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nexport default memoizeCapped;\n","import isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default toKey;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import arrayMap from './_arrayMap.js';\nimport copyArray from './_copyArray.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\nimport stringToPath from './_stringToPath.js';\nimport toKey from './_toKey.js';\nimport toString from './toString.js';\n\n/**\n * Converts `value` to a property path array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {*} value The value to convert.\n * @returns {Array} Returns the new property path array.\n * @example\n *\n * _.toPath('a.b.c');\n * // => ['a', 'b', 'c']\n *\n * _.toPath('a[0].b.c');\n * // => ['a', '0', 'b', 'c']\n */\nfunction toPath(value) {\n if (isArray(value)) {\n return arrayMap(value, toKey);\n }\n return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));\n}\n\nexport default toPath;\n","var isProduction = process.env.NODE_ENV === 'production';\nfunction warning(condition, message) {\n if (!isProduction) {\n if (condition) {\n return;\n }\n\n var text = \"Warning: \" + message;\n\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n\n try {\n throw Error(text);\n } catch (x) {}\n }\n}\n\nexport default warning;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nexport default cloneDeep;\n","import clone from 'lodash/clone';\nimport toPath from 'lodash/toPath';\nimport * as React from 'react';\n\n// Assertions\n\n/** @private is the value an empty array? */\nexport const isEmptyArray = (value?: any) =>\n Array.isArray(value) && value.length === 0;\n\n/** @private is the given object a Function? */\nexport const isFunction = (obj: any): obj is Function =>\n typeof obj === 'function';\n\n/** @private is the given object an Object? */\nexport const isObject = (obj: any): obj is Object =>\n obj !== null && typeof obj === 'object';\n\n/** @private is the given object an integer? */\nexport const isInteger = (obj: any): boolean =>\n String(Math.floor(Number(obj))) === obj;\n\n/** @private is the given object a string? */\nexport const isString = (obj: any): obj is string =>\n Object.prototype.toString.call(obj) === '[object String]';\n\n/** @private is the given object a NaN? */\n// eslint-disable-next-line no-self-compare\nexport const isNaN = (obj: any): boolean => obj !== obj;\n\n/** @private Does a React component have exactly 0 children? */\nexport const isEmptyChildren = (children: any): boolean =>\n React.Children.count(children) === 0;\n\n/** @private is the given object/value a promise? */\nexport const isPromise = (value: any): value is PromiseLike<any> =>\n isObject(value) && isFunction(value.then);\n\n/** @private is the given object/value a type of synthetic event? */\nexport const isInputEvent = (value: any): value is React.SyntheticEvent<any> =>\n value && isObject(value) && isObject(value.target);\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document or document body is not\n * yet defined.\n *\n * @param {?Document} doc Defaults to current document.\n * @return {Element | null}\n * @see https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/core/dom/getActiveElement.js\n */\nexport function getActiveElement(doc?: Document): Element | null {\n doc = doc || (typeof document !== 'undefined' ? document : undefined);\n if (typeof doc === 'undefined') {\n return null;\n }\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n}\n\n/**\n * Deeply get a value from an object via its path.\n */\nexport function getIn(\n obj: any,\n key: string | string[],\n def?: any,\n p: number = 0\n) {\n const path = toPath(key);\n while (obj && p < path.length) {\n obj = obj[path[p++]];\n }\n return obj === undefined ? def : obj;\n}\n\n/**\n * Deeply set a value from in object via it's path. If the value at `path`\n * has changed, return a shallow copy of obj with `value` set at `path`.\n * If `value` has not changed, return the original `obj`.\n *\n * Existing objects / arrays along `path` are also shallow copied. Sibling\n * objects along path retain the same internal js reference. Since new\n * objects / arrays are only created along `path`, we can test if anything\n * changed in a nested structure by comparing the object's reference in\n * the old and new object, similar to how russian doll cache invalidation\n * works.\n *\n * In earlier versions of this function, which used cloneDeep, there were\n * issues whereby settings a nested value would mutate the parent\n * instead of creating a new object. `clone` avoids that bug making a\n * shallow copy of the objects along the update path\n * so no object is mutated in place.\n *\n * Before changing this function, please read through the following\n * discussions.\n *\n * @see https://github.com/developit/linkstate\n * @see https://github.com/jaredpalmer/formik/pull/123\n */\nexport function setIn(obj: any, path: string, value: any): any {\n let res: any = clone(obj); // this keeps inheritance when obj is a class\n let resVal: any = res;\n let i = 0;\n let pathArray = toPath(path);\n\n for (; i < pathArray.length - 1; i++) {\n const currentPath: string = pathArray[i];\n let currentObj: any = getIn(obj, pathArray.slice(0, i + 1));\n\n if (currentObj && (isObject(currentObj) || Array.isArray(currentObj))) {\n resVal = resVal[currentPath] = clone(currentObj);\n } else {\n const nextPath: string = pathArray[i + 1];\n resVal = resVal[currentPath] =\n isInteger(nextPath) && Number(nextPath) >= 0 ? [] : {};\n }\n }\n\n // Return original object if new value is the same as current\n if ((i === 0 ? obj : resVal)[pathArray[i]] === value) {\n return obj;\n }\n\n if (value === undefined) {\n delete resVal[pathArray[i]];\n } else {\n resVal[pathArray[i]] = value;\n }\n\n // If the path array has a single element, the loop did not run.\n // Deleting on `resVal` had no effect in this scenario, so we delete on the result instead.\n if (i === 0 && value === undefined) {\n delete res[pathArray[i]];\n }\n\n return res;\n}\n\n/**\n * Recursively a set the same value for all keys and arrays nested object, cloning\n * @param object\n * @param value\n * @param visited\n * @param response\n */\nexport function setNestedObjectValues<T>(\n object: any,\n value: any,\n visited: any = new WeakMap(),\n response: any = {}\n): T {\n for (let k of Object.keys(object)) {\n const val = object[k];\n if (isObject(val)) {\n if (!visited.get(val)) {\n visited.set(val, true);\n // In order to keep array values consistent for both dot path and\n // bracket syntax, we need to check if this is an array so that\n // this will output { friends: [true] } and not { friends: { \"0\": true } }\n response[k] = Array.isArray(val) ? [] : {};\n setNestedObjectValues(val, value, visited, response[k]);\n }\n } else {\n response[k] = value;\n }\n }\n\n return response;\n}\n","import * as React from 'react';\nimport { FormikContextType } from './types';\nimport invariant from 'tiny-warning';\n\nexport const FormikContext = React.createContext<FormikContextType<any>>(\n undefined as any\n);\nFormikContext.displayName = 'FormikContext';\n\nexport const FormikProvider = FormikContext.Provider;\nexport const FormikConsumer = FormikContext.Consumer;\n\nexport function useFormikContext<Values>() {\n const formik = React.useContext<FormikContextType<Values>>(FormikContext);\n\n invariant(\n !!formik,\n `Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component.`\n );\n\n return formik;\n}\n","import * as React from 'react';\nimport isEqual from 'react-fast-compare';\nimport deepmerge from 'deepmerge';\nimport isPlainObject from 'lodash/isPlainObject';\nimport {\n FormikConfig,\n FormikErrors,\n FormikState,\n FormikTouched,\n FormikValues,\n FormikProps,\n FieldMetaProps,\n FieldHelperProps,\n FieldInputProps,\n FormikHelpers,\n FormikHandlers,\n} from './types';\nimport {\n isFunction,\n isString,\n setIn,\n isEmptyChildren,\n isPromise,\n setNestedObjectValues,\n getActiveElement,\n getIn,\n isObject,\n} from './utils';\nimport { FormikProvider } from './FormikContext';\nimport invariant from 'tiny-warning';\n\ntype FormikMessage<Values> =\n | { type: 'SUBMIT_ATTEMPT' }\n | { type: 'SUBMIT_FAILURE' }\n | { type: 'SUBMIT_SUCCESS' }\n | { type: 'SET_ISVALIDATING'; payload: boolean }\n | { type: 'SET_ISSUBMITTING'; payload: boolean }\n | { type: 'SET_VALUES'; payload: Values }\n | { type: 'SET_FIELD_VALUE'; payload: { field: string; value?: any } }\n | { type: 'SET_FIELD_TOUCHED'; payload: { field: string; value?: boolean } }\n | { type: 'SET_FIELD_ERROR'; payload: { field: string; value?: string } }\n | { type: 'SET_TOUCHED'; payload: FormikTouched<Values> }\n | { type: 'SET_ERRORS'; payload: FormikErrors<Values> }\n | { type: 'SET_STATUS'; payload: any }\n | {\n type: 'SET_FORMIK_STATE';\n payload: (s: FormikState<Values>) => FormikState<Values>;\n }\n | {\n type: 'RESET_FORM';\n payload: FormikState<Values>;\n };\n\n// State reducer\nfunction formikReducer<Values>(\n state: FormikState<Values>,\n msg: FormikMessage<Values>\n) {\n switch (msg.type) {\n case 'SET_VALUES':\n return { ...state, values: msg.payload };\n case 'SET_TOUCHED':\n return { ...state, touched: msg.payload };\n case 'SET_ERRORS':\n if (isEqual(state.errors, msg.payload)) {\n return state;\n }\n\n return { ...state, errors: msg.payload };\n case 'SET_STATUS':\n return { ...state, status: msg.payload };\n case 'SET_ISSUBMITTING':\n return { ...state, isSubmitting: msg.payload };\n case 'SET_ISVALIDATING':\n return { ...state, isValidating: msg.payload };\n case 'SET_FIELD_VALUE':\n return {\n ...state,\n values: setIn(state.values, msg.payload.field, msg.payload.value),\n };\n case 'SET_FIELD_TOUCHED':\n return {\n ...state,\n touched: setIn(state.touched, msg.payload.field, msg.payload.value),\n };\n case 'SET_FIELD_ERROR':\n return {\n ...state,\n errors: setIn(state.errors, msg.payload.field, msg.payload.value),\n };\n case 'RESET_FORM':\n return { ...state, ...msg.payload };\n case 'SET_FORMIK_STATE':\n return msg.payload(state);\n case 'SUBMIT_ATTEMPT':\n return {\n ...state,\n touched: setNestedObjectValues<FormikTouched<Values>>(\n state.values,\n true\n ),\n isSubmitting: true,\n submitCount: state.submitCount + 1,\n };\n case 'SUBMIT_FAILURE':\n return {\n ...state,\n isSubmitting: false,\n };\n case 'SUBMIT_SUCCESS':\n return {\n ...state,\n isSubmitting: false,\n };\n default:\n return state;\n }\n}\n\n// Initial empty states // objects\nconst emptyErrors: FormikErrors<unknown> = {};\nconst emptyTouched: FormikTouched<unknown> = {};\n\n// This is an object that contains a map of all registered fields\n// and their validate functions\ninterface FieldRegistry {\n [field: string]: {\n validate: (value: any) => string | Promise<string> | undefined;\n };\n}\n\nexport function useFormik<Values extends FormikValues = FormikValues>({\n validateOnChange = true,\n validateOnBlur = true,\n validateOnMount = false,\n isInitialValid,\n enableReinitialize = false,\n onSubmit,\n ...rest\n}: FormikConfig<Values>) {\n const props = {\n validateOnChange,\n validateOnBlur,\n validateOnMount,\n onSubmit,\n ...rest,\n };\n const initialValues = React.useRef(props.initialValues);\n const initialErrors = React.useRef(props.initialErrors || emptyErrors);\n const initialTouched = React.useRef(props.initialTouched || emptyTouched);\n const initialStatus = React.useRef(props.initialStatus);\n const isMounted = React.useRef<boolean>(false);\n const fieldRegistry = React.useRef<FieldRegistry>({});\n if (__DEV__) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n invariant(\n typeof isInitialValid === 'undefined',\n 'isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead.'\n );\n // eslint-disable-next-line\n }, []);\n }\n\n React.useEffect(() => {\n isMounted.current = true;\n\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n const [state, dispatch] = React.useReducer<\n React.Reducer<FormikState<Values>, FormikMessage<Values>>\n >(formikReducer, {\n values: props.initialValues,\n errors: props.initialErrors || emptyErrors,\n touched: props.initialTouched || emptyTouched,\n status: props.initialStatus,\n isSubmitting: false,\n isValidating: false,\n submitCount: 0,\n });\n\n const runValidateHandler = React.useCallback(\n (values: Values, field?: string): Promise<FormikErrors<Values>> => {\n return new Promise((resolve, reject) => {\n const maybePromisedErrors = (props.validate as any)(values, field);\n if (maybePromisedErrors == null) {\n // use loose null check here on purpose\n resolve(emptyErrors);\n } else if (isPromise(maybePromisedErrors)) {\n (maybePromisedErrors as Promise<any>).then(\n errors => {\n resolve(errors || emptyErrors);\n },\n actualException => {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\n `Warning: An unhandled error was caught during validation in <Formik validate />`,\n actualException\n );\n }\n\n reject(actualException);\n }\n );\n } else {\n resolve(maybePromisedErrors);\n }\n });\n },\n [props.validate]\n );\n\n /**\n * Run validation against a Yup schema and optionally run a function if successful\n */\n const runValidationSchema = React.useCallback(\n (values: Values, field?: string): Promise<FormikErrors<Values>> => {\n const validationSchema = props.validationSchema;\n const schema = isFunction(validationSchema)\n ? validationSchema(field)\n : validationSchema;\n const promise =\n field && schema.validateAt\n ? schema.validateAt(field, values)\n : validateYupSchema(values, schema);\n return new Promise((resolve, reject) => {\n promise.then(\n () => {\n resolve(emptyErrors);\n },\n (err: any) => {\n // Yup will throw a validation error if validation fails. We catch those and\n // resolve them into Formik errors. We can sniff if something is a Yup error\n // by checking error.name.\n // @see https://github.com/jquense/yup#validationerrorerrors-string--arraystring-value-any-path-string\n if (err.name === 'ValidationError') {\n resolve(yupToFormErrors(err));\n } else {\n // We throw any other errors\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\n `Warning: An unhandled error was caught during validation in <Formik validationSchema />`,\n err\n );\n }\n\n reject(err);\n }\n }\n );\n });\n },\n [props.validationSchema]\n );\n\n const runSingleFieldLevelValidation = React.useCallback(\n (field: string, value: void | string): Promise<string> => {\n return new Promise(resolve =>\n resolve(fieldRegistry.current[field].validate(value) as string)\n );\n },\n []\n );\n\n const runFieldLevelValidations = React.useCallback(\n (values: Values): Promise<FormikErrors<Values>> => {\n const fieldKeysWithValidation: string[] = Object.keys(\n fieldRegistry.current\n ).filter(f => isFunction(fieldRegistry.current[f].validate));\n\n // Construct an array with all of the field validation functions\n const fieldValidations: Promise<string>[] =\n fieldKeysWithValidation.length > 0\n ? fieldKeysWithValidation.map(f =>\n runSingleFieldLevelValidation(f, getIn(values, f))\n )\n : [Promise.resolve('DO_NOT_DELETE_YOU_WILL_BE_FIRED')]; // use special case ;)\n\n return Promise.all(fieldValidations).then((fieldErrorsList: string[]) =>\n fieldErrorsList.reduce((prev, curr, index) => {\n if (curr === 'DO_NOT_DELETE_YOU_WILL_BE_FIRED') {\n return prev;\n }\n if (curr) {\n prev = setIn(prev, fieldKeysWithValidation[index], curr);\n }\n return prev;\n }, {})\n );\n },\n [runSingleFieldLevelValidation]\n );\n\n // Run all validations and return the result\n const runAllValidations = React.useCallback(\n (values: Values) => {\n return Promise.all([\n runFieldLevelValidations(values),\n props.validationSchema ? runValidationSchema(values) : {},\n props.validate ? runValidateHandler(values) : {},\n ]).then(([fieldErrors, schemaErrors, validateErrors]) => {\n const combinedErrors = deepmerge.all<FormikErrors<Values>>(\n [fieldErrors, schemaErrors, validateErrors],\n { arrayMerge }\n );\n return combinedErrors;\n });\n },\n [\n props.validate,\n props.validationSchema,\n runFieldLevelValidations,\n runValidateHandler,\n runValidationSchema,\n ]\n );\n\n // Run all validations methods and update state accordingly\n const validateFormWithHighPriority = useEventCallback(\n (values: Values = state.values) => {\n dispatch({ type: 'SET_ISVALIDATING', payload: true });\n return runAllValidations(values).then(combinedErrors => {\n if (!!isMounted.current) {\n dispatch({ type: 'SET_ISVALIDATING', payload: false });\n dispatch({ type: 'SET_ERRORS', payload: combinedErrors });\n }\n return combinedErrors;\n });\n }\n );\n\n React.useEffect(() => {\n if (\n validateOnMount &&\n isMounted.current === true &&\n isEqual(initialValues.current, props.initialValues)\n ) {\n validateFormWithHighPriority(initialValues.current);\n }\n }, [validateOnMount, validateFormWithHighPriority]);\n\n const resetForm = React.useCallback(\n (nextState?: Partial<FormikState<Values>>) => {\n const values =\n nextState && nextState.values\n ? nextState.values\n : initialValues.current;\n const errors =\n nextState && nextState.errors\n ? nextState.errors\n : initialErrors.current\n ? initialErrors.current\n : props.initialErrors || {};\n const touched =\n nextState && nextState.touched\n ? nextState.touched\n : initialTouched.current\n ? initialTouched.current\n : props.initialTouched || {};\n const status =\n nextState && nextState.status\n ? nextState.status\n : initialStatus.current\n ? initialStatus.current\n : props.initialStatus;\n initialValues.current = values;\n initialErrors.current = errors;\n initialTouched.current = touched;\n initialStatus.current = status;\n\n const dispatchFn = () => {\n dispatch({\n type: 'RESET_FORM',\n payload: {\n isSubmitting: !!nextState && !!nextState.isSubmitting,\n errors,\n touched,\n status,\n values,\n isValidating: !!nextState && !!nextState.isValidating,\n submitCount:\n !!nextState &&\n !!nextState.submitCount &&\n typeof nextState.submitCount === 'number'\n ? nextState.submitCount\n : 0,\n },\n });\n };\n\n if (props.onReset) {\n const maybePromisedOnReset = (props.onReset as any)(\n state.values,\n imperativeMethods\n );\n\n if (isPromise(maybePromisedOnReset)) {\n (maybePromisedOnReset as Promise<any>).then(dispatchFn);\n } else {\n dispatchFn();\n }\n } else {\n dispatchFn();\n }\n },\n [props.initialErrors, props.initialStatus, props.initialTouched]\n );\n\n React.useEffect(() => {\n if (\n isMounted.current === true &&\n !isEqual(initialValues.current, props.initialValues)\n ) {\n if (enableReinitialize) {\n initialValues.current = props.initialValues;\n resetForm();\n }\n\n if (validateOnMount) {\n validateFormWithHighPriority(initialValues.current);\n }\n }\n }, [\n enableReinitialize,\n props.initialValues,\n resetForm,\n validateOnMount,\n validateFormWithHighPriority,\n ]);\n\n React.useEffect(() => {\n if (\n enableReinitialize &&\n isMounted.current === true &&\n !isEqual(initialErrors.current, props.initialErrors)\n ) {\n initialErrors.current = props.initialErrors || emptyErrors;\n dispatch({\n type: 'SET_ERRORS',\n payload: props.initialErrors || emptyErrors,\n });\n }\n }, [enableReinitialize, props.initialErrors]);\n\n React.useEffect(() => {\n if (\n enableReinitialize &&\n isMounted.current === true &&\n !isEqual(initialTouched.current, props.initialTouched)\n ) {\n initialTouched.current = props.initialTouched || emptyTouched;\n dispatch({\n type: 'SET_TOUCHED',\n payload: props.initialTouched || emptyTouched,\n });\n }\n }, [enableReinitialize, props.initialTouched]);\n\n React.useEffect(() => {\n if (\n enableReinitialize &&\n isMounted.current === true &&\n !isEqual(initialStatus.current, props.initialStatus)\n ) {\n initialStatus.current = props.initialStatus;\n dispatch({\n type: 'SET_STATUS',\n payload: props.initialStatus,\n });\n }\n }, [enableReinitialize, props.initialStatus, props.initialTouched]);\n\n const validateField = useEventCallback((name: string) => {\n // This will efficiently validate a single field by avoiding state\n // changes if the validation function is synchronous. It's different from\n // what is called when using validateForm.\n\n if (\n fieldRegistry.current[name] &&\n isFunction(fieldRegistry.current[name].validate)\n ) {\n const value = getIn(state.values, name);\n const maybePromise = fieldRegistry.current[name].validate(value);\n if (isPromise(maybePromise)) {\n // Only flip isValidating if the function is async.\n dispatch({ type: 'SET_ISVALIDATING', payload: true });\n return maybePromise\n .then((x: any) => x)\n .then((error: string) => {\n dispatch({\n type: 'SET_FIELD_ERROR',\n payload: { field: name, value: error },\n });\n dispatch({ type: 'SET_ISVALIDATING', payload: false });\n });\n } else {\n dispatch({\n type: 'SET_FIELD_ERROR',\n payload: {\n field: name,\n value: maybePromise as string | undefined,\n },\n });\n return Promise.resolve(maybePromise as string | undefined);\n }\n } else if (props.validationSchema) {\n dispatch({ type: 'SET_ISVALIDATING', payload: true });\n return runValidationSchema(state.values, name)\n .then((x: any) => x)\n .then((error: any) => {\n dispatch({\n type: 'SET_FIELD_ERROR',\n payload: { field: name, value: error[name] },\n });\n dispatch({ type: 'SET_ISVALIDATING', payload: false });\n });\n }\n\n return Promise.resolve();\n });\n\n const registerField = React.useCallback((name: string, { validate }: any) => {\n fieldRegistry.current[name] = {\n validate,\n };\n }, []);\n\n const unregisterField = React.useCallback((name: string) => {\n delete fieldRegistry.current[name];\n }, []);\n\n const setTouched = useEventCallback(\n (touched: FormikTouched<Values>, shouldValidate?: boolean) => {\n dispatch({ type: 'SET_TOUCHED', payload: touched });\n const willValidate =\n shouldValidate === undefined ? validateOnBlur : shouldValidate;\n return willValidate\n ? validateFormWithHighPriority(state.values)\n : Promise.resolve();\n }\n );\n\n const setErrors = React.useCallback((errors: FormikErrors<Values>) => {\n dispatch({ type: 'SET_ERRORS', payload: errors });\n }, []);\n\n const setValues = useEventCallback(\n (values: React.SetStateAction<Values>, shouldValidate?: boolean) => {\n const resolvedValues = isFunction(values) ? values(state.values) : values;\n\n dispatch({ type: 'SET_VALUES', payload: resolvedValues });\n const willValidate =\n shouldValidate === undefined ? validateOnChange : shouldValidate;\n return willValidate\n ? validateFormWithHighPriority(resolvedValues)\n : Promise.resolve();\n }\n );\n\n const setFieldError = React.useCallback(\n (field: string, value: string | undefined) => {\n dispatch({\n type: 'SET_FIELD_ERROR',\n payload: { field, value },\n });\n },\n []\n );\n\n const setFieldValue = useEventCallback(\n (field: string, value: any, shouldValidate?: boolean) => {\n dispatch({\n type: 'SET_FIELD_VALUE',\n payload: {\n field,\n value,\n },\n });\n const willValidate =\n shouldValidate === undefined ? validateOnChange : shouldValidate;\n return willValidate\n ? validateFormWithHighPriority(setIn(state.values, field, value))\n : Promise.resolve();\n }\n );\n\n const executeChange = React.useCallback(\n (eventOrTextValue: string | React.ChangeEvent<any>, maybePath?: string) => {\n // By default, assume that the first argument is a string. This allows us to use\n // handleChange with React Native and React Native Web's onChangeText prop which\n // provides just the value of the input.\n let field = maybePath;\n let val = eventOrTextValue;\n let parsed;\n // If the first argument is not a string though, it has to be a synthetic React Event (or a fake one),\n // so we handle like we would a normal HTML change event.\n if (!isString(eventOrTextValue)) {\n // If we can, persist the event\n // @see https://reactjs.org/docs/events.html#event-pooling\n if ((eventOrTextValue as any).persist) {\n (eventOrTextValue as React.ChangeEvent<any>).persist();\n }\n const target = eventOrTextValue.target\n ? (eventOrTextValue as React.ChangeEvent<any>).target\n : (eventOrTextValue as React.ChangeEvent<any>).currentTarget;\n\n const {\n type,\n name,\n id,\n value,\n checked,\n outerHTML,\n options,\n multiple,\n } = target;\n\n field = maybePath ? maybePath : name ? name : id;\n if (!field && __DEV__) {\n warnAboutMissingIdentifier({\n htmlContent: outerHTML,\n documentationAnchorLink: 'handlechange-e-reactchangeeventany--void',\n handlerName: 'handleChange',\n });\n }\n val = /number|range/.test(type)\n ? ((parsed = parseFloat(value)), isNaN(parsed) ? '' : parsed)\n : /checkbox/.test(type) // checkboxes\n ? getValueForCheckbox(getIn(state.values, field!), checked, value)\n : options && multiple // <select multiple>\n ? getSelectedValues(options)\n : value;\n }\n\n if (field) {\n // Set form fields by name\n setFieldValue(field, val);\n }\n },\n [setFieldValue, state.values]\n );\n\n const handleChange = useEventCallback<FormikHandlers['handleChange']>(\n (\n eventOrPath: string | React.ChangeEvent<any>\n ): void | ((eventOrTextValue: string | React.ChangeEvent<any>) => void) => {\n if (isString(eventOrPath)) {\n return event => executeChange(event, eventOrPath);\n } else {\n executeChange(eventOrPath);\n }\n }\n );\n\n const setFieldTouched = useEventCallback(\n (field: string, touched: boolean = true, shouldValidate?: boolean) => {\n dispatch({\n type: 'SET_FIELD_TOUCHED',\n payload: {\n field,\n value: touched,\n },\n });\n const willValidate =\n shouldValidate === undefined ? validateOnBlur : shouldValidate;\n return willValidate\n ? validateFormWithHighPriority(state.values)\n : Promise.resolve();\n }\n );\n\n const executeBlur = React.useCallback(\n (e: any, path?: string) => {\n if (e.persist) {\n e.persist();\n }\n const { name, id, outerHTML } = e.target;\n const field = path ? path : name ? name : id;\n\n if (!field && __DEV__) {\n warnAboutMissingIdentifier({\n htmlContent: outerHTML,\n documentationAnchorLink: 'handleblur-e-any--void',\n handlerName: 'handleBlur',\n });\n }\n\n setFieldTouched(field, true);\n },\n [setFieldTouched]\n );\n\n const handleBlur = useEventCallback<FormikHandlers['handleBlur']>(\n (eventOrString: any): void | ((e: any) => void) => {\n if (isString(eventOrString)) {\n return event => executeBlur(event, eventOrString);\n } else {\n executeBlur(eventOrString);\n }\n }\n );\n\n const setFormikState = React.useCallback(\n (\n stateOrCb:\n | FormikState<Values>\n | ((state: FormikState<Values>) => FormikState<Values>)\n ): void => {\n if (isFunction(stateOrCb)) {\n dispatch({ type: 'SET_FORMIK_STATE', payload: stateOrCb });\n } else {\n dispatch({ type: 'SET_FORMIK_STATE', payload: () => stateOrCb });\n }\n },\n []\n );\n\n const setStatus = React.useCallback((status: any) => {\n dispatch({ type: 'SET_STATUS', payload: status });\n }, []);\n\n const setSubmitting = React.useCallback((isSubmitting: boolean) => {\n dispatch({ type: 'SET_ISSUBMITTING', payload: isSubmitting });\n }, []);\n\n const submitForm = useEventCallback(() => {\n dispatch({ type: 'SUBMIT_ATTEMPT' });\n return validateFormWithHighPriority().then(\n (combinedErrors: FormikErrors<Values>) => {\n // In case an error was thrown and passed to the resolved Promise,\n // `combinedErrors` can be an instance of an Error. We need to check\n // that and abort the submit.\n // If we don't do that, calling `Object.keys(new Error())` yields an\n // empty array, which causes the validation to pass and the form\n // to be submitted.\n\n const isInstanceOfError = combinedErrors instanceof Error;\n const isActuallyValid =\n !isInstanceOfError && Object.keys(combinedErrors).length === 0;\n if (isActuallyValid) {\n // Proceed with submit...\n //\n // To respect sync submit fns, we can't simply wrap executeSubmit in a promise and\n // _always_ dispatch SUBMIT_SUCCESS because isSubmitting would then always be false.\n // This would be fine in simple cases, but make it impossible to disable submit\n // buttons where people use callbacks or promises as side effects (which is basically\n // all of v1 Formik code). Instead, recall that we are inside of a promise chain already,\n // so we can try/catch executeSubmit(), if it returns undefined, then just bail.\n // If there are errors, throw em. Otherwise, wrap executeSubmit in a promise and handle\n // cleanup of isSubmitting on behalf of the consumer.\n let promiseOrUndefined;\n try {\n promiseOrUndefined = executeSubmit();\n // Bail if it's sync, consumer is responsible for cleaning up\n // via setSubmitting(false)\n if (promiseOrUndefined === undefined) {\n return;\n }\n } catch (error) {\n throw error;\n }\n\n return Promise.resolve(promiseOrUndefined)\n .then(result => {\n if (!!isMounted.current) {\n dispatch({ type: 'SUBMIT_SUCCESS' });\n }\n return result;\n })\n .catch(_errors => {\n if (!!isMounted.current) {\n dispatch({ type: 'SUBMIT_FAILURE' });\n // This is a legit error rejected by the onSubmit fn\n // so we don't want to break the promise chain\n throw _errors;\n }\n });\n } else if (!!isMounted.current) {\n // ^^^ Make sure Formik is still mounted before updating state\n dispatch({ type: 'SUBMIT_FAILURE' });\n // throw combinedErrors;\n if (isInstanceOfError) {\n throw combinedErrors;\n }\n }\n return;\n }\n );\n });\n\n const handleSubmit = useEventCallback(\n (e?: React.FormEvent<HTMLFormElement>) => {\n if (e && e.preventDefault && isFunction(e.preventDefault)) {\n e.preventDefault();\n }\n\n if (e && e.stopPropagation && isFunction(e.stopPropagation)) {\n e.stopPropagation();\n }\n\n // Warn if form submission is triggered by a <button> without a\n // specified `type` attribute during development. This mitigates\n // a common gotcha in forms with both reset and submit buttons,\n // where the dev forgets to add type=\"button\" to the reset button.\n if (__DEV__ && typeof document !== 'undefined') {\n // Safely get the active element (works with IE)\n const activeElement = getActiveElement();\n if (\n activeElement !== null &&\n activeElement instanceof HTMLButtonElement\n ) {\n invariant(\n activeElement.attributes &&\n activeElement.attributes.getNamedItem('type'),\n 'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type=\"submit\"`. If this is not a submit button, please add `type=\"button\"`.'\n );\n }\n }\n\n submitForm().catch(reason => {\n console.warn(\n `Warning: An unhandled error was caught from submitForm()`,\n reason\n );\n });\n }\n );\n\n const imperativeMethods: FormikHelpers<Values> = {\n resetForm,\n validateForm: validateFormWithHighPriority,\n validateField,\n setErrors,\n setFieldError,\n setFieldTouched,\n setFieldValue,\n setStatus,\n setSubmitting,\n setTouched,\n setValues,\n setFormikState,\n submitForm,\n };\n\n const executeSubmit = useEventCallback(() => {\n return onSubmit(state.values, imperativeMethods);\n });\n\n const handleReset = useEventCallback(e => {\n if (e && e.preventDefault && isFunction(e.preventDefault)) {\n e.preventDefault();\n }\n\n if (e && e.stopPropagation && isFunction(e.stopPropagation)) {\n e.stopPropagation();\n }\n\n resetForm();\n });\n\n const getFieldMeta = React.useCallback(\n (name: string): FieldMetaProps<any> => {\n return {\n value: getIn(state.values, name),\n error: getIn(state.errors, name),\n touched: !!getIn(state.touched, name),\n initialValue: getIn(initialValues.current, name),\n initialTouched: !!getIn(initialTouched.current, name),\n initialError: getIn(initialErrors.current, name),\n };\n },\n [state.errors, state.touched, state.values]\n );\n\n const getFieldHelpers = React.useCallback(\n (name: string): FieldHelperProps<any> => {\n return {\n setValue: (value: any, shouldValidate?: boolean) =>\n setFieldValue(name, value, shouldValidate),\n setTouched: (value: boolean, shouldValidate?: boolean) =>\n setFieldTouched(name, value, shouldValidate),\n setError: (value: any) => setFieldError(name, value),\n };\n },\n [setFieldValue, setFieldTouched, setFieldError]\n );\n\n const getFieldProps = React.useCallback(\n (nameOrOptions): FieldInputProps<any> => {\n const isAnObject = isObject(nameOrOptions);\n const name = isAnObject ? nameOrOptions.name : nameOrOptions;\n const valueState = getIn(state.values, name);\n\n const field: FieldInputProps<any> = {\n name,\n value: valueState,\n onChange: handleChange,\n onBlur: handleBlur,\n };\n if (isAnObject) {\n const {\n type,\n value: valueProp, // value is special for checkboxes\n as: is,\n multiple,\n } = nameOrOptions;\n\n if (type === 'checkbox') {\n if (valueProp === undefined) {\n field.checked = !!valueState;\n } else {\n field.checked = !!(\n Array.isArray(valueState) && ~valueState.indexOf(valueProp)\n );\n field.value = valueProp;\n }\n } else if (type === 'radio') {\n field.checked = valueState === valueProp;\n field.value = valueProp;\n } else if (is === 'select' && multiple) {\n field.value = field.value || [];\n field.multiple = true;\n }\n }\n return field;\n },\n [handleBlur, handleChange, state.values]\n );\n\n const dirty = React.useMemo(\n () => !isEqual(initialValues.current, state.values),\n [initialValues.current, state.values]\n );\n\n const isValid = React.useMemo(\n () =>\n typeof isInitialValid !== 'undefined'\n ? dirty\n ? state.errors && Object.keys(state.errors).length === 0\n : isInitialValid !== false && isFunction(isInitialValid)\n ? (isInitialValid as (props: FormikConfig<Values>) => boolean)(props)\n : (isInitialValid as boolean)\n : state.errors && Object.keys(state.errors).length === 0,\n [isInitialValid, dirty, state.errors, props]\n );\n\n const ctx = {\n ...state,\n initialValues: initialValues.current,\n initialErrors: initialErrors.current,\n initialTouched: initialTouched.current,\n initialStatus: initialStatus.current,\n handleBlur,\n handleChange,\n handleReset,\n handleSubmit,\n resetForm,\n setErrors,\n setFormikState,\n setFieldTouched,\n setFieldValue,\n setFieldError,\n setStatus,\n setSubmitting,\n setTouched,\n setValues,\n submitForm,\n validateForm: validateFormWithHighPriority,\n validateField,\n isValid,\n dirty,\n unregisterField,\n registerField,\n getFieldProps,\n getFieldMeta,\n getFieldHelpers,\n validateOnBlur,\n validateOnChange,\n validateOnMount,\n };\n\n return ctx;\n}\n\nexport function Formik<\n Values extends FormikValues = FormikValues,\n ExtraProps = {}\n>(props: FormikConfig<Values> & ExtraProps) {\n const formikbag = useFormik<Values>(props);\n const { component, children, render, innerRef } = props;\n\n // This allows folks to pass a ref to <Formik />\n React.useImperativeHandle(innerRef, () => formikbag);\n\n if (__DEV__) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n invariant(\n !props.render,\n `<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>`\n );\n // eslint-disable-next-line\n }, []);\n }\n return (\n <FormikProvider value={formikbag}>\n {component\n ? React.createElement(component as any, formikbag)\n : render\n ? render(formikbag)\n : children // children come last, always called\n ? isFunction(children)\n ? (children as (bag: FormikProps<Values>) => React.ReactNode)(\n formikbag as FormikProps<Values>\n )\n : !isEmptyChildren(children)\n ? React.Children.only(children)\n : null\n : null}\n </FormikProvider>\n );\n}\n\nfunction warnAboutMissingIdentifier({\n htmlContent,\n documentationAnchorLink,\n handlerName,\n}: {\n htmlContent: string;\n documentationAnchorLink: string;\n handlerName: string;\n}) {\n console.warn(\n `Warning: Formik called \\`${handlerName}\\`, but you forgot to pass an \\`id\\` or \\`name\\` attribute to your input:\n ${htmlContent}\n Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#${documentationAnchorLink}\n `\n );\n}\n\n/**\n * Transform Yup ValidationError to a more usable object\n */\nexport function yupToFormErrors<Values>(yupError: any): FormikErrors<Values> {\n let errors: FormikErrors<Values> = {};\n if (yupError.inner) {\n if (yupError.inner.length === 0) {\n return setIn(errors, yupError.path, yupError.message);\n }\n for (let err of yupError.inner) {\n if (!getIn(errors, err.path)) {\n errors = setIn(errors, err.path, err.message);\n }\n }\n }\n return errors;\n}\n\n/**\n * Validate a yup schema.\n */\nexport function validateYupSchema<T extends FormikValues>(\n values: T,\n schema: any,\n sync: boolean = false,\n context: any = {}\n): Promise<Partial<T>> {\n const validateData: FormikValues = prepareDataForValidation(values);\n return schema[sync ? 'validateSync' : 'validate'](validateData, {\n abortEarly: false,\n context: context,\n });\n}\n\n/**\n * Recursively prepare values.\n */\nexport function prepareDataForValidation<T extends FormikValues>(\n values: T\n): FormikValues {\n let data: FormikValues = Array.isArray(values) ? [] : {};\n for (let k in values) {\n if (Object.prototype.hasOwnProperty.call(values, k)) {\n const key = String(k);\n if (Array.isArray(values[key]) === true) {\n data[key] = values[key].map((value: any) => {\n if (Array.isArray(value) === true || isPlainObject(value)) {\n return prepareDataForValidation(value);\n } else {\n return value !== '' ? value : undefined;\n }\n });\n } else if (isPlainObject(values[key])) {\n data[key] = prepareDataForValidation(values[key]);\n } else {\n data[key] = values[key] !== '' ? values[key] : undefined;\n }\n }\n }\n return data;\n}\n\n/**\n * deepmerge array merging algorithm\n * https://github.com/KyleAMathews/deepmerge#combine-array\n */\nfunction arrayMerge(target: any[], source: any[], options: any): any[] {\n const destination = target.slice();\n\n source.forEach(function merge(e: any, i: number) {\n if (typeof destination[i] === 'undefined') {\n const cloneRequested = options.clone !== false;\n const shouldClone = cloneRequested && options.isMergeableObject(e);\n destination[i] = shouldClone\n ? deepmerge(Array.isArray(e) ? [] : {}, e, options)\n : e;\n } else if (options.isMergeableObject(e)) {\n destination[i] = deepmerge(target[i], e, options);\n } else if (target.indexOf(e) === -1) {\n destination.push(e);\n }\n });\n return destination;\n}\n\n/** Return multi select values based on an array of options */\nfunction getSelectedValues(options: any[]) {\n return Array.from(options)\n .filter(el => el.selected)\n .map(el => el.value);\n}\n\n/** Return the next value for a checkbox */\nfunction getValueForCheckbox(\n currentValue: string | any[],\n checked: boolean,\n valueProp: any\n) {\n // If the current value was a boolean, return a boolean\n if (typeof currentValue === 'boolean') {\n return Boolean(checked);\n }\n\n // If the currentValue was not a boolean we want to return an array\n let currentArrayOfValues = [];\n let isValueInArray = false;\n let index = -1;\n\n if (!Array.isArray(currentValue)) {\n // eslint-disable-next-line eqeqeq\n if (!valueProp || valueProp == 'true' || valueProp == 'false') {\n return Boolean(checked);\n }\n } else {\n // If the current value is already an array, use it\n currentArrayOfValues = currentValue;\n index = currentValue.indexOf(valueProp);\n isValueInArray = index >= 0;\n }\n\n // If the checkbox was checked and the value is not already present in the aray we want to add the new value to the array of values\n if (checked && valueProp && !isValueInArray) {\n return currentArrayOfValues.concat(valueProp);\n }\n\n // If the checkbox was unchecked and the value is not in the array, simply return the already existing array of values\n if (!isValueInArray) {\n return currentArrayOfValues;\n }\n\n // If the checkbox was unchecked and the value is in the array, remove the value and return the array\n return currentArrayOfValues\n .slice(0, index)\n .concat(currentArrayOfValues.slice(index + 1));\n}\n\n// React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser.\n// @see https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\nconst useIsomorphicLayoutEffect =\n typeof window !== 'undefined' &&\n typeof window.document !== 'undefined' &&\n typeof window.document.createElement !== 'undefined'\n ? React.useLayoutEffect\n : React.useEffect;\n\nfunction useEventCallback<T extends (...args: any[]) => any>(fn: T): T {\n const ref: any = React.useRef(fn);\n\n // we copy a ref to the callback scoped to the current state/props on each render\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n });\n\n return React.useCallback(\n (...args: any[]) => ref.current.apply(void 0, args),\n []\n ) as T;\n}\n","import * as React from 'react';\nimport {\n FormikProps,\n GenericFieldHTMLAttributes,\n FieldMetaProps,\n FieldHelperProps,\n FieldInputProps,\n FieldValidator,\n} from './types';\nimport { useFormikContext } from './FormikContext';\nimport { isFunction, isEmptyChildren, isObject } from './utils';\nimport invariant from 'tiny-warning';\n\nexport interface FieldProps<V = any, FormValues = any> {\n field: FieldInputProps<V>;\n form: FormikProps<FormValues>; // if ppl want to restrict this for a given form, let them.\n meta: FieldMetaProps<V>;\n}\n\nexport interface FieldConfig<V = any> {\n /**\n * Field component to render. Can either be a string like 'select' or a component.\n */\n component?:\n | string\n | React.ComponentType<FieldProps<V>>\n | React.ComponentType\n | React.ForwardRefExoticComponent<any>;\n\n /**\n * Component to render. Can either be a string e.g. 'select', 'input', or 'textarea', or a component.\n */\n as?:\n | React.ComponentType<FieldProps<V>['field']>\n | string\n | React.ComponentType\n | React.ForwardRefExoticComponent<any>;\n\n /**\n * Render prop (works like React router's <Route render={props =>} />)\n * @deprecated\n */\n render?: (props: FieldProps<V>) => React.ReactNode;\n\n /**\n * Children render function <Field name>{props => ...}</Field>)\n */\n children?: ((props: FieldProps<V>) => React.ReactNode) | React.ReactNode;\n\n /**\n * Validate a single field value independently\n */\n validate?: FieldValidator;\n\n /**\n * Field name\n */\n name: string;\n\n /** HTML input type */\n type?: string;\n\n /** Field value */\n value?: any;\n\n /** Inner ref */\n innerRef?: (instance: any) => void;\n}\n\nexport type FieldAttributes<T> = GenericFieldHTMLAttributes &\n FieldConfig<T> &\n T & { name: string };\n\nexport type FieldHookConfig<T> = GenericFieldHTMLAttributes & FieldConfig<T>;\n\nexport function useField<Val = any>(\n propsOrFieldName: string | FieldHookConfig<Val>\n): [FieldInputProps<Val>, FieldMetaProps<Val>, FieldHelperProps<Val>] {\n const formik = useFormikContext();\n const {\n getFieldProps,\n getFieldMeta,\n getFieldHelpers,\n registerField,\n unregisterField,\n } = formik;\n\n const isAnObject = isObject(propsOrFieldName);\n\n // Normalize propsOrFieldName to FieldHookConfig<Val>\n const props: FieldHookConfig<Val> = isAnObject\n ? (propsOrFieldName as FieldHookConfig<Val>)\n : { name: propsOrFieldName as string };\n\n const { name: fieldName, validate: validateFn } = props;\n\n React.useEffect(() => {\n if (fieldName) {\n registerField(fieldName, {\n validate: validateFn,\n });\n }\n return () => {\n if (fieldName) {\n unregisterField(fieldName);\n }\n };\n }, [registerField, unregisterField, fieldName, validateFn]);\n\n if (__DEV__) {\n invariant(\n formik,\n 'useField() / <Field /> must be used underneath a <Formik> component or withFormik() higher order component'\n );\n }\n\n invariant(\n fieldName,\n 'Invalid field name. Either pass `useField` a string or an object containing a `name` key.'\n );\n\n return [\n getFieldProps(props),\n getFieldMeta(fieldName),\n getFieldHelpers(fieldName),\n ];\n}\n\nexport function Field({\n validate,\n name,\n render,\n children,\n as: is, // `as` is reserved in typescript lol\n component,\n ...props\n}: FieldAttributes<any>) {\n const {\n validate: _validate,\n validationSchema: _validationSchema,\n\n ...formik\n } = useFormikContext();\n\n if (__DEV__) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n invariant(\n !render,\n `<Field render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Field name=\"${name}\" render={({field, form}) => ...} /> with <Field name=\"${name}\">{({field, form, meta}) => ...}</Field>`\n );\n\n invariant(\n !(is && children && isFunction(children)),\n 'You should not use <Field as> and <Field children> as a function in the same <Field> component; <Field as> will be ignored.'\n );\n\n invariant(\n !(component && children && isFunction(children)),\n 'You should not use <Field component> and <Field children> as a function in the same <Field> component; <Field component> will be ignored.'\n );\n\n invariant(\n !(render && children && !isEmptyChildren(children)),\n 'You should not use <Field render> and <Field children> in the same <Field> component; <Field children> will be ignored'\n );\n // eslint-disable-next-line\n }, []);\n }\n\n // Register field and field-level validation with parent <Formik>\n const { registerField, unregisterField } = formik;\n React.useEffect(() => {\n registerField(name, {\n validate: validate,\n });\n return () => {\n unregisterField(name);\n };\n }, [registerField, unregisterField, name, validate]);\n const field = formik.getFieldProps({ name, ...props });\n const meta = formik.getFieldMeta(name);\n const legacyBag = { field, form: formik };\n\n if (render) {\n return render({ ...legacyBag, meta });\n }\n\n if (isFunction(children)) {\n return children({ ...legacyBag, meta });\n }\n\n if (component) {\n // This behavior is backwards compat with earlier Formik 0.9 to 1.x\n if (typeof component === 'string') {\n const { innerRef, ...rest } = props;\n return React.createElement(\n component,\n { ref: innerRef, ...field, ...rest },\n children\n );\n }\n // We don't pass `meta` for backwards compat\n return React.createElement(\n component,\n { field, form: formik, ...props },\n children\n );\n }\n\n // default to input here so we can check for both `as` and `children` above\n const asElement = is || 'input';\n\n if (typeof asElement === 'string') {\n const { innerRef, ...rest } = props;\n return React.createElement(\n asElement,\n { ref: innerRef, ...field, ...rest },\n children\n );\n }\n\n return React.createElement(asElement, { ...field, ...props }, children);\n}\n","import * as React from 'react';\nimport { useFormikContext } from './FormikContext';\n\nexport type FormikFormProps = Pick<\n React.FormHTMLAttributes<HTMLFormElement>,\n Exclude<\n keyof React.FormHTMLAttributes<HTMLFormElement>,\n 'onReset' | 'onSubmit'\n >\n>;\n\ntype FormProps = React.ComponentPropsWithoutRef<'form'>;\n\n// @todo tests\nexport const Form = React.forwardRef<HTMLFormElement, FormProps>(\n (props: FormikFormProps, ref) => {\n // iOS needs an \"action\" attribute for nice input: https://stackoverflow.com/a/39485162/406725\n // We default the action to \"#\" in case the preventDefault fails (just updates the URL hash)\n const { action, ...rest } = props;\n const _action = action ?? '#';\n const { handleReset, handleSubmit } = useFormikContext();\n return (\n <form\n onSubmit={handleSubmit}\n ref={ref}\n onReset={handleReset}\n action={_action}\n {...rest}\n />\n );\n }\n);\n\nForm.displayName = 'Form';\n","import * as React from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\n\nimport { FormikContextType } from './types';\nimport { FormikConsumer } from './FormikContext';\nimport invariant from 'tiny-warning';\n\n/**\n * Connect any component to Formik context, and inject as a prop called `formik`;\n * @param Comp React Component\n */\nexport function connect<OuterProps, Values = {}>(\n Comp: React.ComponentType<OuterProps & { formik: FormikContextType<Values> }>\n) {\n const C: React.FC<OuterProps> = (props: OuterProps) => (\n <FormikConsumer>\n {formik => {\n invariant(\n !!formik,\n `Formik context is undefined, please verify you are rendering <Form>, <Field>, <FastField>, <FieldArray>, or your custom context-using component as a child of a <Formik> component. Component name: ${Comp.name}`\n );\n return <Comp {...props} formik={formik} />;\n }}\n </FormikConsumer>\n );\n const componentDisplayName =\n Comp.displayName ||\n Comp.name ||\n (Comp.constructor && Comp.constructor.name) ||\n 'Component';\n\n // Assign Comp to C.WrappedComponent so we can access the inner component in tests\n // For example, <Field.WrappedComponent /> gets us <FieldInner/>\n (C as React.FC<OuterProps> & {\n WrappedComponent: React.ReactNode;\n }).WrappedComponent = Comp;\n\n C.displayName = `FormikConnect(${componentDisplayName})`;\n\n return hoistNonReactStatics(\n C,\n Comp as React.ComponentClass<\n OuterProps & { formik: FormikContextType<Values> }\n > // cast type to ComponentClass (even if SFC)\n ) as React.ComponentType<OuterProps>;\n}\n","import * as React from 'react';\nimport cloneDeep from 'lodash/cloneDeep';\nimport { connect } from './connect';\nimport {\n FormikContextType,\n FormikState,\n SharedRenderProps,\n FormikProps,\n} from './types';\nimport {\n getIn,\n isEmptyChildren,\n isFunction,\n setIn,\n isEmptyArray,\n} from './utils';\nimport isEqual from 'react-fast-compare';\n\nexport type FieldArrayRenderProps = ArrayHelpers & {\n form: FormikProps<any>;\n name: string;\n};\n\nexport type FieldArrayConfig = {\n /** Really the path to the array field to be updated */\n name: string;\n /** Should field array validate the form AFTER array updates/changes? */\n validateOnChange?: boolean;\n} & SharedRenderProps<FieldArrayRenderProps>;\nexport interface ArrayHelpers {\n /** Imperatively add a value to the end of an array */\n push: (obj: any) => void;\n /** Curried fn to add a value to the end of an array */\n handlePush: (obj: any) => () => void;\n /** Imperatively swap two values in an array */\n swap: (indexA: number, indexB: number) => void;\n /** Curried fn to swap two values in an array */\n handleSwap: (indexA: number, indexB: number) => () => void;\n /** Imperatively move an element in an array to another index */\n move: (from: number, to: number) => void;\n /** Imperatively move an element in an array to another index */\n handleMove: (from: number, to: number) => () => void;\n /** Imperatively insert an element at a given index into the array */\n insert: (index: number, value: any) => void;\n /** Curried fn to insert an element at a given index into the array */\n handleInsert: (index: number, value: any) => () => void;\n /** Imperatively replace a value at an index of an array */\n replace: (index: number, value: any) => void;\n /** Curried fn to replace an element at a given index into the array */\n handleReplace: (index: number, value: any) => () => void;\n /** Imperatively add an element to the beginning of an array and return its length */\n unshift: (value: any) => number;\n /** Curried fn to add an element to the beginning of an array */\n handleUnshift: (value: any) => () => void;\n /** Curried fn to remove an element at an index of an array */\n handleRemove: (index: number) => () => void;\n /** Curried fn to remove a value from the end of the array */\n handlePop: () => () => void;\n /** Imperatively remove and element at an index of an array */\n remove<T>(index: number): T | undefined;\n /** Imperatively remove and return value from the end of the array */\n pop<T>(): T | undefined;\n}\n\n/**\n * Some array helpers!\n */\nexport const move = (array: any[], from: number, to: number) => {\n const copy = copyArrayLike(array);\n const value = copy[from];\n copy.splice(from, 1);\n copy.splice(to, 0, value);\n return copy;\n};\n\nexport const swap = (\n arrayLike: ArrayLike<any>,\n indexA: number,\n indexB: number\n) => {\n const copy = copyArrayLike(arrayLike);\n const a = copy[indexA];\n copy[indexA] = copy[indexB];\n copy[indexB] = a;\n return copy;\n};\n\nexport const insert = (\n arrayLike: ArrayLike<any>,\n index: number,\n value: any\n) => {\n const copy = copyArrayLike(arrayLike);\n copy.splice(index, 0, value);\n return copy;\n};\n\nexport const replace = (\n arrayLike: ArrayLike<any>,\n index: number,\n value: any\n) => {\n const copy = copyArrayLike(arrayLike);\n copy[index] = value;\n return copy;\n};\n\nconst copyArrayLike = (arrayLike: ArrayLike<any>) => {\n if (!arrayLike) {\n return [];\n } else if (Array.isArray(arrayLike)) {\n return [...arrayLike];\n } else {\n const maxIndex = Object.keys(arrayLike)\n .map(key => parseInt(key))\n .reduce((max, el) => (el > max ? el : max), 0);\n return Array.from({ ...arrayLike, length: maxIndex + 1 });\n }\n};\n\nclass FieldArrayInner<Values = {}> extends React.Component<\n FieldArrayConfig & { formik: FormikContextType<Values> },\n {}\n> {\n static defaultProps = {\n validateOnChange: true,\n };\n\n constructor(props: FieldArrayConfig & { formik: FormikContextType<Values> }) {\n super(props);\n // We need TypeScript generics on these, so we'll bind them in the constructor\n // @todo Fix TS 3.2.1\n this.remove = this.remove.bind(this) as any;\n this.pop = this.pop.bind(this) as any;\n }\n\n componentDidUpdate(\n prevProps: FieldArrayConfig & { formik: FormikContextType<Values> }\n ) {\n if (\n this.props.validateOnChange &&\n this.props.formik.validateOnChange &&\n !isEqual(\n getIn(prevProps.formik.values, prevProps.name),\n getIn(this.props.formik.values, this.props.name)\n )\n ) {\n this.props.formik.validateForm(this.props.formik.values);\n }\n }\n\n updateArrayField = (\n fn: Function,\n alterTouched: boolean | Function,\n alterErrors: boolean | Function\n ) => {\n const {\n name,\n\n formik: { setFormikState },\n } = this.props;\n setFormikState((prevState: FormikState<any>) => {\n let updateErrors = typeof alterErrors === 'function' ? alterErrors : fn;\n let updateTouched =\n typeof alterTouched === 'function' ? alterTouched : fn;\n\n // values fn should be executed before updateErrors and updateTouched,\n // otherwise it causes an error with unshift.\n let values = setIn(\n prevState.values,\n name,\n fn(getIn(prevState.values, name))\n );\n\n let fieldError = alterErrors\n ? updateErrors(getIn(prevState.errors, name))\n : undefined;\n let fieldTouched = alterTouched\n ? updateTouched(getIn(prevState.touched, name))\n : undefined;\n\n if (isEmptyArray(fieldError)) {\n fieldError = undefined;\n }\n if (isEmptyArray(fieldTouched)) {\n fieldTouched = undefined;\n }\n\n return {\n ...prevState,\n values,\n errors: alterErrors\n ? setIn(prevState.errors, name, fieldError)\n : prevState.errors,\n touched: alterTouched\n ? setIn(prevState.touched, name, fieldTouched)\n : prevState.touched,\n };\n });\n };\n\n push = (value: any) =>\n this.updateArrayField(\n (arrayLike: ArrayLike<any>) => [\n ...copyArrayLike(arrayLike),\n cloneDeep(value),\n ],\n false,\n false\n );\n\n handlePush = (value: any) => () => this.push(value);\n\n swap = (indexA: number, indexB: number) =>\n this.updateArrayField(\n (array: any[]) => swap(array, indexA, indexB),\n true,\n true\n );\n\n handleSwap = (indexA: number, indexB: number) => () =>\n this.swap(indexA, indexB);\n\n move = (from: number, to: number) =>\n this.updateArrayField((array: any[]) => move(array, from, to), true, true);\n\n handleMove = (from: number, to: number) => () => this.move(from, to);\n\n insert = (index: number, value: any) =>\n this.updateArrayField(\n (array: any[]) => insert(array, index, value),\n (array: any[]) => insert(array, index, null),\n (array: any[]) => insert(array, index, null)\n );\n\n handleInsert = (index: number, value: any) => () => this.insert(index, value);\n\n replace = (index: number, value: any) =>\n this.updateArrayField(\n (array: any[]) => replace(array, index, value),\n false,\n false\n );\n\n handleReplace = (index: number, value: any) => () =>\n this.replace(index, value);\n\n unshift = (value: any) => {\n let length = -1;\n this.updateArrayField(\n (array: any[]) => {\n const arr = array ? [value, ...array] : [value];\n if (length < 0) {\n length = arr.length;\n }\n return arr;\n },\n (array: any[]) => {\n const arr = array ? [null, ...array] : [null];\n if (length < 0) {\n length = arr.length;\n }\n return arr;\n },\n (array: any[]) => {\n const arr = array ? [null, ...array] : [null];\n if (length < 0) {\n length = arr.length;\n }\n return arr;\n }\n );\n return length;\n };\n\n handleUnshift = (value: any) => () => this.unshift(value);\n\n remove<T>(index: number): T {\n // We need to make sure we also remove relevant pieces of `touched` and `errors`\n let result: any;\n this.updateArrayField(\n // so this gets call 3 times\n (array?: any[]) => {\n const copy = array ? copyArrayLike(array) : [];\n if (!result) {\n result = copy[index];\n }\n if (isFunction(copy.splice)) {\n copy.splice(index, 1);\n }\n return copy;\n },\n true,\n true\n );\n\n return result as T;\n }\n\n handleRemove = (index: number) => () => this.remove<any>(index);\n\n pop<T>(): T {\n // Remove relevant pieces of `touched` and `errors` too!\n let result: any;\n this.updateArrayField(\n // so this gets call 3 times\n (array: any[]) => {\n const tmp = array;\n if (!result) {\n result = tmp && tmp.pop && tmp.pop();\n }\n return tmp;\n },\n true,\n true\n );\n\n return result as T;\n }\n\n handlePop = () => () => this.pop<any>();\n\n render() {\n const arrayHelpers: ArrayHelpers = {\n push: this.push,\n pop: this.pop,\n swap: this.swap,\n move: this.move,\n insert: this.insert,\n replace: this.replace,\n unshift: this.unshift,\n remove: this.remove,\n handlePush: this.handlePush,\n handlePop: this.handlePop,\n handleSwap: this.handleSwap,\n handleMove: this.handleMove,\n handleInsert: this.handleInsert,\n handleReplace: this.handleReplace,\n handleUnshift: this.handleUnshift,\n handleRemove: this.handleRemove,\n };\n\n const {\n component,\n render,\n children,\n name,\n formik: {\n validate: _validate,\n validationSchema: _validationSchema,\n ...restOfFormik\n },\n } = this.props;\n\n const props: FieldArrayRenderProps = {\n ...arrayHelpers,\n form: restOfFormik,\n name,\n };\n\n return component\n ? React.createElement(component as any, props)\n : render\n ? (render as any)(props)\n : children // children come last, always called\n ? typeof children === 'function'\n ? (children as any)(props)\n : !isEmptyChildren(children)\n ? React.Children.only(children)\n : null\n : null;\n }\n}\n\nexport const FieldArray = connect<FieldArrayConfig, any>(FieldArrayInner);\n","/**\n * Strip away any remaining parameters following `?` or `/` or '&' for YouTube shortcode strings.\n *\n * @note this function is not meant to work with url strings containing a protocol like https://\n * @param {String} shortcodeString - the parameter string\n * @returns {String}\n */\nfunction stripParameters(shortcodeString) {\n\t// Split parameters or split folder separator\n\tif (shortcodeString.includes('?')) {\n\t\tshortcodeString = shortcodeString.split('?')[0];\n\t}\n\n\tif (shortcodeString.includes('/')) {\n\t\tshortcodeString = shortcodeString.split('/')[0];\n\t}\n\n\tif (shortcodeString.includes('&')) {\n\t\tshortcodeString = shortcodeString.split('&')[0];\n\t}\n\n\treturn shortcodeString;\n}\n\n/**\n * Get the Youtube Video id.\n * @param {string} youtubeStr - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function youtube(youtubeString) {\n\tlet string_ = youtubeString;\n\n\t// Remove time hash at the end of the string\n\tstring_ = string_.replace(/#t=.*$/, '');\n\n\t// Strip the leading protocol\n\tstring_ = string_.replace(/^https?:\\/\\//, '');\n\n\t// Shortcode\n\tconst shortcode = /youtube:\\/\\/|youtu\\.be\\/|y2u\\.be\\//g;\n\n\tif (shortcode.test(string_)) {\n\t\tconst shortcodeid = string_.split(shortcode)[1];\n\t\treturn stripParameters(shortcodeid);\n\t}\n\n\t// Shorts\n\tconst shortsUrl = /\\/shorts\\//g;\n\tif (shortsUrl.test(string_)) {\n\t\treturn stripParameters(string_.split(shortsUrl)[1]);\n\t}\n\n\t// V= or vi=\n\tconst parameterv = /v=|vi=/g;\n\n\tif (parameterv.test(string_)) {\n\t\tconst array = string_.split(parameterv);\n\t\treturn stripParameters(array[1].split('&')[0]);\n\t}\n\n\t// /v/ or /vi/ or /watch/\n\tconst inlinev = /\\/v\\/|\\/vi\\/|\\/watch\\//g;\n\n\tif (inlinev.test(string_)) {\n\t\tconst inlineid = string_.split(inlinev)[1];\n\t\treturn stripParameters(inlineid);\n\t}\n\n\t// Format an_webp\n\tconst parameterwebp = /\\/an_webp\\//g;\n\n\tif (parameterwebp.test(string_)) {\n\t\tconst webp = string_.split(parameterwebp)[1];\n\t\treturn stripParameters(webp);\n\t}\n\n\t// /e/\n\tconst eformat = /\\/e\\//g;\n\n\tif (eformat.test(string_)) {\n\t\tconst estring = string_.split(eformat)[1];\n\t\treturn stripParameters(estring);\n\t}\n\n\t// Embed\n\tconst embedreg = /\\/embed\\//g;\n\n\tif (embedreg.test(string_)) {\n\t\tconst embedid = string_.split(embedreg)[1];\n\t\treturn stripParameters(embedid);\n\t}\n\n\t// ignore /user/username pattern\n\tconst usernamereg = /\\/user\\/([a-zA-Z\\d]*)$/g;\n\n\tif (usernamereg.test(string_)) {\n\t\treturn undefined;\n\t}\n\n\t// User\n\tconst userreg = /\\/user\\/(?!.*videos)/g;\n\n\tif (userreg.test(string_)) {\n\t\tconst elements = string_.split('/');\n\t\treturn stripParameters(elements.pop());\n\t}\n\n\t// Attribution_link\n\tconst attrreg = /\\/attribution_link\\?.*v%3D([^%&]*)(%26|&|$)/;\n\n\tif (attrreg.test(string_)) {\n\t\treturn stripParameters(string_.match(attrreg)[1]);\n\t}\n\n\treturn undefined;\n}\n","/**\n * Get the vimeo id.\n *\n * @param {String} vimeoString the url from which you want to extract the id\n * @returns {String|undefined}\n */\nexport default function vimeo(vimeoString) {\n\tlet string_ = vimeoString;\n\n\tif (string_.includes('#')) {\n\t\t[string_] = string_.split('#');\n\t}\n\n\tif (string_.includes('?') && !string_.includes('clip_id=')) {\n\t\t[string_] = string_.split('?');\n\t}\n\n\tlet id;\n\tlet array;\n\n\tconst event = /https?:\\/\\/vimeo\\.com\\/event\\/(\\d+)$/;\n\n\tconst eventMatches = event.exec(string_);\n\n\tif (eventMatches && eventMatches[1]) {\n\t\treturn eventMatches[1];\n\t}\n\n\tconst primary = /https?:\\/\\/vimeo\\.com\\/(\\d+)/;\n\n\tconst matches = primary.exec(string_);\n\tif (matches && matches[1]) {\n\t\treturn matches[1];\n\t}\n\n\tconst vimeoPipe = [\n\t\t'https?://player.vimeo.com/video/[0-9]+$',\n\t\t'https?://vimeo.com/channels',\n\t\t'groups',\n\t\t'album',\n\t].join('|');\n\n\tconst vimeoRegex = new RegExp(vimeoPipe, 'gim');\n\n\tif (vimeoRegex.test(string_)) {\n\t\tarray = string_.split('/');\n\t\tif (array && array.length > 0) {\n\t\t\tid = array.pop();\n\t\t}\n\t} else if (/clip_id=/gim.test(string_)) {\n\t\tarray = string_.split('clip_id=');\n\t\tif (array && array.length > 0) {\n\t\t\t[id] = array[1].split('&');\n\t\t}\n\t}\n\n\treturn id;\n}\n","/**\n * Get the vine id.\n * @param {string} string_ - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function vine(string_) {\n\tconst regex = /https:\\/\\/vine\\.co\\/v\\/([a-zA-Z\\d]*)\\/?/;\n\tconst matches = regex.exec(string_);\n\n\tif (matches && matches.length > 1) {\n\t\treturn matches[1];\n\t}\n\n\treturn undefined;\n}\n","/**\n * Get the VideoPress id.\n * @param {string} urlString - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function videopress(urlString) {\n\tlet idRegex;\n\n\tif (urlString.includes('embed')) {\n\t\tidRegex = /embed\\/(\\w{8})/;\n\t\treturn urlString.match(idRegex)[1];\n\t}\n\n\tidRegex = /\\/v\\/(\\w{8})/;\n\n\tconst matches = urlString.match(idRegex);\n\n\tif (matches && matches.length > 0) {\n\t\treturn matches[1];\n\t}\n\n\treturn undefined;\n}\n","/**\n * Get the Microsoft Stream id.\n * @param {string} urlString - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function microsoftStream(urlString) {\n\tconst regex = (urlString.includes('embed'))\n\t\t? /https:\\/\\/web\\.microsoftstream\\.com\\/embed\\/video\\/([a-zA-Z\\d-]*)\\/?/\n\t\t: /https:\\/\\/web\\.microsoftstream\\.com\\/video\\/([a-zA-Z\\d-]*)\\/?/;\n\tconst matches = regex.exec(urlString);\n\n\tif (matches && matches.length > 1) {\n\t\treturn matches[1];\n\t}\n\n\treturn undefined;\n}\n","/**\n * Get the tiktok id.\n * @param {string} urlString - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function tiktok(urlString) {\n\t// Parse basic url and embeds\n\tconst basicReg = /tiktok\\.com(.*)\\/video\\/(\\d+)/gm;\n\tconst basicParsed = basicReg.exec(urlString);\n\tif (basicParsed && basicParsed.length > 2) {\n\t\treturn basicParsed[2];\n\t}\n\n\treturn undefined;\n}\n","/**\n * Get the dailymotion id.\n * @param {string} urlString - the url from which you want to extract the id\n * @returns {string|undefined}\n */\nexport default function dailymotion(urlString) {\n\t// Parse basic url and embeds\n\tconst basicReg = /dailymotion\\.com(.*)(video)\\/([a-zA-Z\\d]+)/gm;\n\tconst basicParsed = basicReg.exec(urlString);\n\tif (basicParsed) {\n\t\treturn basicParsed[3];\n\t}\n\n\t// Parse shortlink\n\tconst shortRegex = /dai\\.ly\\/([a-zA-Z\\d]+)/gm;\n\tconst shortParsed = shortRegex.exec(urlString);\n\tif (shortParsed && shortParsed.length > 1) {\n\t\treturn shortParsed[1];\n\t}\n\n\t// Dynamic link\n\tconst dynamicRegex = /dailymotion\\.com(.*)video=([a-zA-Z\\d]+)/gm;\n\tconst dynamicParsed = dynamicRegex.exec(urlString);\n\tif (dynamicParsed && dynamicParsed.length > 2) {\n\t\treturn dynamicParsed[2];\n\t}\n\n\treturn undefined;\n}\n","import youtube from './youtube.js';\nimport vimeo from './vimeo.js';\nimport vine from './vine.js';\nimport videopress from './videopress.js';\nimport microsoftStream from './microsoftstream.js';\nimport tiktok from './tiktok.js';\nimport dailymotion from './dailymotion.js';\nimport getSrc from './utils/get-src.js';\n\n/**\n * Get the id and service from a video url.\n * @param {String} urlString - the url from which you want to extract the id\n * @returns {Object}\n */\nfunction getVideoId(urlString) {\n\tif (typeof urlString !== 'string') {\n\t\tthrow new TypeError('get-video-id expects a string');\n\t}\n\n\tlet string_ = urlString;\n\n\tif (/<iframe/gi.test(string_)) {\n\t\tstring_ = getSrc(string_) || '';\n\t}\n\n\t// Remove surrounding whitespaces or linefeeds\n\tstring_ = string_.trim();\n\n\t// Remove the '-nocookie' flag from youtube urls\n\tstring_ = string_.replace('-nocookie', '');\n\n\t// Remove any leading `www.`\n\tstring_ = string_.replace('/www.', '/');\n\n\tlet metadata = {\n\t\tid: null,\n\t\tservice: null,\n\t};\n\n\t// Try to handle google redirection uri\n\tif (/\\/\\/google/.test(string_)) {\n\t\t// Find the redirection uri\n\t\tconst matches = string_.match(/url=([^&]+)&/);\n\n\t\t// Decode the found uri and replace current url string - continue with final link\n\t\tif (matches) {\n\t\t\t// JavaScript can get encoded URI\n\t\t\tstring_ = decodeURIComponent(matches[1]);\n\t\t}\n\t}\n\n\tif (/youtube|youtu\\.be|y2u\\.be|i.ytimg\\./.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: youtube(string_),\n\t\t\tservice: 'youtube',\n\t\t};\n\t} else if (/vimeo/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: vimeo(string_),\n\t\t\tservice: 'vimeo',\n\t\t};\n\t} else if (/vine/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: vine(string_),\n\t\t\tservice: 'vine',\n\t\t};\n\t} else if (/videopress/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: videopress(string_),\n\t\t\tservice: 'videopress',\n\t\t};\n\t} else if (/microsoftstream/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: microsoftStream(string_),\n\t\t\tservice: 'microsoftstream',\n\t\t};\n\t} else if (/tiktok\\.com/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: tiktok(string_),\n\t\t\tservice: 'tiktok',\n\t\t};\n\t} else if (/(dailymotion\\.com|dai\\.ly)/.test(string_)) {\n\t\tmetadata = {\n\t\t\tid: dailymotion(string_),\n\t\t\tservice: 'dailymotion',\n\t\t};\n\t}\n\n\treturn metadata;\n}\n\nexport default getVideoId;\n","\n/**\n * Get the value assigned to a \"src\" attribute in a string, or undefined.\n * @param {String} input\n * @returns {String|undefined}\n */\nexport default function getSrc(input) {\n\tif (typeof input !== 'string') {\n\t\tthrow new TypeError('getSrc expected a string');\n\t}\n\n\tconst srcRegEx = /src=\"(.*?)\"/gm;\n\tconst matches = srcRegEx.exec(input);\n\n\tif (matches && matches.length >= 2) {\n\t\treturn matches[1];\n\t}\n\n\treturn undefined;\n}\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true;\n\n // Otherwise, if either of them == null they are not equal.\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return (\n Array.isArray(b) &&\n a.length === b.length &&\n a.every(function(item, index) {\n return valueEqual(item, b[index]);\n })\n );\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n\n return Object.keys(Object.assign({}, a, b)).every(function(key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","// In our case, there's only one dependency\n\nvar toRgb = require('hsl-to-rgb-for-reals')\n\n// Typically all dependencies should be declared at the top of the file.\n\n// Now let's define an API for our module, we're taking hue, saturation and luminosity values and outputting a CSS compatible hex string.\n// Hue is in degrees, between 0 and 359. Since degrees a cyclical in nature, we'll support numbers greater than 359 or less than 0 by \"spinning\" them around until they fall within the 0 to 359 range.\n// Saturation and luminosity are both percentages, we'll represent these percentages with whole numbers between 0 and 100. For these numbers we'll need to enforce a maximum and a minimum, anything below 0 will become 0, anything above 100 will become 100.\n// Let's write some utility functions to handle this logic:\n\nfunction max (val, n) {\n return (val > n) ? n : val\n}\n\nfunction min (val, n) {\n return (val < n) ? n : val\n}\n\nfunction cycle (val) {\n // for safety:\n val = max(val, 1e7)\n val = min(val, -1e7)\n // cycle value:\n while (val < 0) { val += 360 }\n while (val > 359) { val -= 360 }\n return val\n}\n\n// Now for the main piece, the `hsl` function:\n\nfunction hsl (hue, saturation, luminosity) {\n // resolve degrees to 0 - 359 range\n hue = cycle(hue)\n\n // enforce constraints\n saturation = min(max(saturation, 100), 0)\n luminosity = min(max(luminosity, 100), 0)\n\n // convert to 0 to 1 range used by hsl-to-rgb-for-reals\n saturation /= 100\n luminosity /= 100\n\n // let hsl-to-rgb-for-reals do the hard work\n var rgb = toRgb(hue, saturation, luminosity)\n\n // convert each value in the returned RGB array\n // to a 2 character hex value, join the array into\n // a string, prefixed with a hash\n return '#' + rgb\n .map(function (n) {\n return (256 + n).toString(16).substr(-2)\n })\n .join('')\n}\n\n// In order to make our code into a bona fide module we have to export it:\n\nmodule.exports = hsl\n","// expected hue range: [0, 360)\n// expected saturation range: [0, 1]\n// expected lightness range: [0, 1]\nvar hslToRgb = function(hue, saturation, lightness){\n // based on algorithm from http://en.wikipedia.org/wiki/HSL_and_HSV#Converting_to_RGB\n if( hue == undefined ){\n return [0, 0, 0];\n }\n\n var chroma = (1 - Math.abs((2 * lightness) - 1)) * saturation;\n var huePrime = hue / 60;\n var secondComponent = chroma * (1 - Math.abs((huePrime % 2) - 1));\n\n huePrime = Math.floor(huePrime);\n var red;\n var green;\n var blue;\n\n if( huePrime === 0 ){\n red = chroma;\n green = secondComponent;\n blue = 0;\n }else if( huePrime === 1 ){\n red = secondComponent;\n green = chroma;\n blue = 0;\n }else if( huePrime === 2 ){\n red = 0;\n green = chroma;\n blue = secondComponent;\n }else if( huePrime === 3 ){\n red = 0;\n green = secondComponent;\n blue = chroma;\n }else if( huePrime === 4 ){\n red = secondComponent;\n green = 0;\n blue = chroma;\n }else if( huePrime === 5 ){\n red = chroma;\n green = 0;\n blue = secondComponent;\n }\n\n var lightnessAdjustment = lightness - (chroma / 2);\n red += lightnessAdjustment;\n green += lightnessAdjustment;\n blue += lightnessAdjustment;\n\n return [\n Math.abs(Math.round(red * 255)),\n Math.abs(Math.round(green * 255)),\n Math.abs(Math.round(blue * 255))\n ];\n\n};\n\nmodule.exports = hslToRgb;\n","/** Text hyphenation in Javascript.\n * Copyright (C) 2024 Yevhen Tiurin (yevhentiurin@gmail.com)\n * https://github.com/ytiurin/hyphen\n *\n * Released under the ISC license\n * https://github.com/ytiurin/hyphen/blob/master/LICENSE\n */\n(function (root, factory) {\n if (typeof define === \"function\" && define.amd) {\n // AMD. Register as an anonymous module.\n define([], factory);\n } else if (typeof module === \"object\" && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.createHyphenator = factory();\n }\n})(this, function () {\n function createTextReader(setup) {\n var char1 = \"\";\n var char2 = \"\";\n var i = 0;\n var verifier = setup();\n return function (text) {\n while (i < text.length) {\n char1 = text.charAt(i++);\n char2 = text.charAt(i);\n var verified = verifier(char1, char2);\n if (verified !== void 0) {\n return verified;\n }\n }\n };\n }\n\n var isNotLetter = RegExp.prototype.test.bind(\n /\\s|(?![\\'])[\\!-\\@\\[-\\`\\{-\\~\\u2013-\\u203C]/\n );\n function createHTMLVerifier() {\n var skip = false;\n return function (accumulate, chars) {\n if (skip) {\n if (chars[0] === \">\") {\n accumulate();\n skip = false;\n }\n } else if (\n chars[0] === \"<\" &&\n (!isNotLetter(chars[1]) || chars[1] === \"/\")\n ) {\n skip = true;\n }\n return skip;\n };\n }\n function createHyphenCharVerifier(hyphenChar) {\n var skip = false;\n return function (accumulate, chars) {\n if (skip) {\n if (!isNotLetter(chars[0]) && isNotLetter(chars[1])) {\n accumulate();\n skip = false;\n }\n } else if (!isNotLetter(chars[0]) && chars[1] === hyphenChar) {\n skip = true;\n }\n return skip;\n };\n }\n function createHyphenationVerifier(verifiers, minWordLength) {\n return function () {\n var accum0 = \"\";\n var accum = \"\";\n function accumulate() {\n accum0 += accum;\n accum = \"\";\n }\n function resolveWith(value) {\n accum0 = \"\";\n accum = \"\";\n return value;\n }\n return function (char1, char2) {\n accum += char1;\n var skip = verifiers.reduce(function (skip2, verify) {\n return skip2 || verify(accumulate, [char1, char2]);\n }, false);\n if (!skip) {\n if (isNotLetter(char1) && !isNotLetter(char2)) {\n accumulate();\n }\n if (!isNotLetter(char1) && isNotLetter(char2)) {\n if (accum.length >= minWordLength) {\n return resolveWith([accum0, accum]);\n } else {\n accumulate();\n }\n }\n }\n if (char2 === \"\") {\n if (accum.length < minWordLength || skip) {\n accumulate();\n }\n return resolveWith([accum0, accum]);\n }\n };\n };\n }\n\n function createCharIterator(str) {\n var i = 0;\n function nextChar() {\n return str[i++];\n }\n return nextChar;\n }\n function createStringSlicer(str) {\n var i = 0,\n slice = str;\n function next() {\n slice = str.slice(i++);\n if (slice.length < 3) {\n return;\n }\n return slice;\n }\n function isFirstCharacter() {\n return i === 2;\n }\n return [next, isFirstCharacter];\n }\n function hyphenateWord(text, levelsTable, patternTrie, debug, hyphenChar) {\n var levels = new Array(text.length + 1),\n loweredText = (\".\" + text.toLocaleLowerCase() + \".\").split(\"\"),\n wordSlice,\n letter,\n triePtr,\n trieNode,\n patternLevelsIndex,\n patternLevels,\n patternEntityIndex = -1,\n slicer,\n nextSlice,\n isFirstCharacter,\n nextLetter;\n for (var i = levels.length; i--; ) levels[i] = 0;\n slicer = createStringSlicer(loweredText);\n nextSlice = slicer[0];\n isFirstCharacter = slicer[1];\n while ((wordSlice = nextSlice())) {\n patternEntityIndex++;\n if (isFirstCharacter()) {\n patternEntityIndex--;\n }\n triePtr = patternTrie;\n nextLetter = createCharIterator(wordSlice);\n while ((letter = nextLetter())) {\n if ((trieNode = triePtr[letter]) === void 0) {\n break;\n }\n triePtr = {};\n patternLevelsIndex = -1;\n switch (Object.prototype.toString.call(trieNode)) {\n case \"[object Array]\":\n triePtr = trieNode[0];\n patternLevelsIndex = trieNode[1];\n break;\n case \"[object Object]\":\n triePtr = trieNode;\n break;\n case \"[object Number]\":\n patternLevelsIndex = trieNode;\n break;\n }\n if (patternLevelsIndex < 0) {\n continue;\n }\n if (!levelsTable[patternLevelsIndex].splice) {\n levelsTable[patternLevelsIndex] = levelsTable[\n patternLevelsIndex\n ].slice(\"\");\n }\n patternLevels = levelsTable[patternLevelsIndex];\n for (var k = 0; k < patternLevels.length; k++)\n levels[patternEntityIndex + k] = Math.max(\n patternLevels[k],\n levels[patternEntityIndex + k]\n );\n }\n }\n levels[0] = levels[1] = levels[levels.length - 1] = levels[\n levels.length - 2\n ] = 0;\n var hyphenatedText = \"\";\n for (var i = 0; i < levels.length; i++) {\n hyphenatedText +=\n (levels[i] % 2 === 1 ? hyphenChar : \"\") + text.charAt(i);\n }\n return hyphenatedText;\n }\n\n function start(\n text,\n levelsTable,\n patterns,\n cache,\n debug,\n hyphenChar,\n skipHTML,\n minWordLength,\n isAsync\n ) {\n function done() {\n resolveNewText(newText);\n }\n var newText = \"\",\n fragments,\n readText = createTextReader(\n createHyphenationVerifier(\n (skipHTML ? [createHTMLVerifier()] : []).concat(\n createHyphenCharVerifier(hyphenChar)\n ),\n minWordLength\n )\n ),\n resolveNewText = function () {};\n function nextTick() {\n var loopStart = /* @__PURE__ */ new Date();\n while (\n (!isAsync || /* @__PURE__ */ new Date() - loopStart < 10) &&\n (fragments = readText(text))\n ) {\n if (fragments[1]) {\n var cacheKey = fragments[1].length ? \"~\" + fragments[1] : \"\";\n if (cache[cacheKey] === void 0) {\n cache[cacheKey] = hyphenateWord(\n fragments[1],\n levelsTable,\n patterns,\n debug,\n hyphenChar\n );\n }\n fragments[1] = cache[cacheKey];\n }\n newText += fragments[0] + fragments[1];\n }\n if (!fragments) {\n done();\n } else {\n setTimeout(nextTick);\n }\n }\n if (isAsync) {\n setTimeout(nextTick);\n return new Promise(function (resolve) {\n resolveNewText = resolve;\n });\n } else {\n nextTick();\n return newText;\n }\n }\n\n var SETTING_DEFAULT_ASYNC = false;\n var SETTING_DEFAULT_DEBUG = false;\n var SETTING_DEFAULT_EXCEPTIONS = [];\n var SETTING_DEFAULT_HTML = true;\n var SETTING_DEFAULT_HYPH_CHAR = \"\\xAD\";\n var SETTING_DEFAULT_MIN_WORD_LENGTH = 5;\n var SETTING_NAME_ASYNC = \"async\";\n var SETTING_NAME_DEBUG = \"debug\";\n var SETTING_NAME_EXCEPTIONS = \"exceptions\";\n var SETTING_NAME_HTML = \"html\";\n var SETTING_NAME_HYPH_CHAR = \"hyphenChar\";\n var SETTING_NAME_MIN_WORD_LENGTH = \"minWordLength\";\n var _global =\n typeof global === \"object\"\n ? global\n : typeof window === \"object\"\n ? window\n : typeof self === \"object\"\n ? self\n : false\n ? void 0\n : {};\n function extend(target, source) {\n target = target || {};\n for (var key in source) {\n target[key] = source[key];\n }\n return target;\n }\n function validateArray(value) {\n return value instanceof Array;\n }\n function keyOrDefault(object, key, defaultValue, test) {\n if (key in object && (test ? test(object[key]) : true)) {\n return object[key];\n }\n return defaultValue;\n }\n function exceptionsFromDefinition(excetionsList, hyphenChar) {\n return excetionsList.reduce(function (exceptions, exception) {\n exceptions[\"~\" + exception.replace(/\\-/g, \"\")] = exception.replace(\n /\\-/g,\n hyphenChar\n );\n return exceptions;\n }, {});\n }\n function createHyphenator(patternsDefinition, options) {\n options = options || {};\n var asyncMode = keyOrDefault(\n options,\n SETTING_NAME_ASYNC,\n SETTING_DEFAULT_ASYNC\n ),\n caches = {},\n debug = keyOrDefault(options, SETTING_NAME_DEBUG, SETTING_DEFAULT_DEBUG),\n exceptions = {},\n hyphenChar = keyOrDefault(\n options,\n SETTING_NAME_HYPH_CHAR,\n SETTING_DEFAULT_HYPH_CHAR\n ),\n levelsTable = patternsDefinition[0].split(\",\"),\n patterns = JSON.parse(patternsDefinition[1]),\n minWordLength =\n keyOrDefault(\n options,\n SETTING_NAME_MIN_WORD_LENGTH,\n SETTING_DEFAULT_MIN_WORD_LENGTH\n ) >> 0,\n skipHTML = keyOrDefault(options, SETTING_NAME_HTML, SETTING_DEFAULT_HTML),\n userExceptions = keyOrDefault(\n options,\n SETTING_NAME_EXCEPTIONS,\n SETTING_DEFAULT_EXCEPTIONS,\n validateArray\n );\n var cacheKey = hyphenChar + minWordLength;\n exceptions[cacheKey] = {};\n if (patternsDefinition[2]) {\n exceptions[cacheKey] = exceptionsFromDefinition(\n patternsDefinition[2],\n hyphenChar\n );\n }\n if (userExceptions && userExceptions.length) {\n exceptions[cacheKey] = extend(\n exceptions[cacheKey],\n exceptionsFromDefinition(userExceptions, hyphenChar)\n );\n }\n caches[cacheKey] = extend({}, exceptions[cacheKey]);\n if (asyncMode && !(\"Promise\" in _global)) {\n throw new Error(\n \"Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode\"\n );\n }\n return function (text, options2) {\n options2 = options2 || {};\n var localDebug = keyOrDefault(options2, SETTING_NAME_DEBUG, debug),\n localHyphenChar = keyOrDefault(\n options2,\n SETTING_NAME_HYPH_CHAR,\n hyphenChar\n ),\n localMinWordLength =\n keyOrDefault(options2, SETTING_NAME_MIN_WORD_LENGTH, minWordLength) >>\n 0,\n localUserExceptions = keyOrDefault(\n options2,\n SETTING_NAME_EXCEPTIONS,\n SETTING_DEFAULT_EXCEPTIONS,\n validateArray\n ),\n cacheKey2 = localHyphenChar + localMinWordLength;\n if (!exceptions[cacheKey2] && patternsDefinition[2]) {\n exceptions[cacheKey2] = exceptionsFromDefinition(\n patternsDefinition[2],\n localHyphenChar\n );\n caches[cacheKey2] = extend(caches[cacheKey2], exceptions[cacheKey2]);\n }\n if (localUserExceptions && localUserExceptions.length) {\n exceptions[cacheKey2] = extend(\n exceptions[cacheKey2],\n exceptionsFromDefinition(localUserExceptions, localHyphenChar)\n );\n caches[cacheKey2] = extend(caches[cacheKey2], exceptions[cacheKey2]);\n }\n return start(\n text,\n levelsTable,\n patterns,\n caches[cacheKey2],\n localDebug,\n localHyphenChar,\n skipHTML,\n localMinWordLength,\n asyncMode\n );\n };\n }\n\n return createHyphenator;\n});\n","(function (root, factory) {\n if (typeof define === \"function\" && define.amd) {\n // AMD. Register as an anonymous module.\n define([], factory);\n } else if (typeof module === \"object\" && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.hyphenationPatternsEnUs = factory();\n }\n})(this, function () {\n return [\n \"0004,004,001,003,005,0005,00005,000005,0002,002,0000005,0003,00003,00505,00034,0001,00055,00004,4,05,0055,04,42,03,02,2,404,3,044,01,0505,55,5,045,041,0033,000004,22,00504,5504,0042,1,21,41,402,405,4004,43,23,000054,303,3005,022,5004,000003,252,45,25,2004,000505,054,403,401,3002,0025,144,432,00054,34,12,234,0022,014,0304,012,143,503,0403,101,052,414,212,011,043,00002,0041,0024,05005,03003,00102,0404,04303,01004,0034,025,0044,00404,00025,0103,042,0205,412,104,54,344,433,5005,253,055,0402,3004,0043,204,505,454,0000004,00303,04004,552,201,4005,0255,52,444,14,44,02004,033,05004,00045,00013,0021,0405,00044,0054,50055,000303,00001,304,0204,11,301,232,122,00305,504,000043,0104,00052,000045,50004,0023,00033,00032,00202,5003,202,0401,0000505,214,102,032,000161,004101,00501,00301,0036,0052,00023,006101,006,00401,000521,0014,0063,00012,000501,000006,000604,000601,005001,005005,0010305,00006,003012,003005,0003011,0061,013,000021,000022,000105,00211,00062,00051,000112,006013,000011,0200306,1021,0050001,003003,2102,305,000015,01030005,000035,001011,00021,16330001,0234,030006,5020001,000001,00016,0031,021,21431,002305,0350014,0000012,000063,00101,106,105,00435,00063,0300061,00041,100306,003602,023,0503,0010011,10003,1005,30011,00031,0001001,0000061,0030003,30305,001201,0301,5000101,500101,00015,000401,000065,000016,0000402,0500002,000205,030201,500301,00014,5001,000002,00030011,01034,0300006,030213,00400304,050001,05003,000311,0634,00061,0006,00000604,00050013,00213,0030001,100003,000033,30002,00003632,0003004,050003,0000021,006303,0000006,00005005,30451,03001,00231,00056,00011,6,001001,00500001,03005,503005,0000010001,1002,003001,001065,300001,32011,32,0000003,0213001,0500053,021005,10001,0000011,0001041,0020016,100032,50011,0606,5002,3001,03002,0015001,0102,00003001,000000033,0000001,300101,300015,0101003,00000101,0100501,0101,0010033,00000362,000014,0005001,031\",\n '{\".\":{\"a\":{\"c\":{\"h\":0},\"d\":{\"d\":{\"e\":{\"r\":1}}},\"f\":{\"t\":2},\"l\":{\"t\":3},\"m\":{\"a\":{\"t\":4}},\"n\":{\"c\":4,\"g\":0,\"i\":{\"m\":5},\"t\":[{\"e\":3,\"i\":{\"s\":6}},0]},\"r\":{\"s\":4,\"t\":{\"i\":{\"e\":1},\"y\":1}},\"s\":{\"c\":3,\"p\":2,\"s\":2,\"t\":{\"e\":{\"r\":7}}},\"t\":{\"o\":{\"m\":6}},\"u\":{\"d\":2},\"v\":{\"i\":1},\"w\":{\"n\":0}},\"b\":{\"a\":{\"g\":1,\"n\":{\"a\":4},\"s\":{\"e\":0}},\"e\":{\"r\":[{\"a\":4},0],\"s\":{\"m\":3,\"t\":{\"o\":4}}},\"r\":{\"i\":8},\"u\":{\"t\":{\"t\":{\"i\":0}}}},\"c\":{\"a\":{\"m\":{\"p\":{\"e\":0}},\"n\":{\"c\":5},\"p\":{\"a\":{\"b\":6}},\"r\":{\"o\":{\"l\":5}},\"t\":1},\"e\":{\"l\":{\"a\":1}},\"h\":[{\"i\":{\"l\":{\"l\":{\"i\":7}}}},1],\"i\":[{\"t\":{\"r\":5}},9],\"o\":{\"e\":3,\"r\":[{\"n\":{\"e\":{\"r\":5}}},1],\"n\":{\"g\":{\"r\":5}}}},\"d\":{\"e\":{\"m\":{\"o\":{\"i\":1}},\"o\":3,\"r\":{\"a\":3,\"i\":[{\"v\":{\"a\":4}},3]},\"s\":{\"c\":0}},\"i\":{\"c\":{\"t\":{\"i\":{\"o\":10}}}},\"o\":{\"t\":1},\"u\":{\"c\":1,\"m\":{\"b\":6}},\"r\":{\"i\":{\"v\":67}}},\"e\":{\"a\":{\"r\":{\"t\":{\"h\":7}},\"s\":{\"i\":11}},\"b\":1,\"e\":{\"r\":0},\"g\":9,\"l\":{\"d\":4,\"e\":{\"m\":3}},\"n\":{\"a\":{\"m\":12},\"g\":3,\"s\":3},\"q\":{\"u\":{\"i\":{\"t\":13}}},\"r\":{\"r\":{\"i\":1}},\"s\":3,\"u\":[{\"l\":{\"e\":{\"r\":1}}},3],\"y\":{\"e\":5},\"t\":{\"h\":{\"y\":{\"l\":162}}},\"v\":[{\"e\":{\"r\":{\"s\":{\"i\":{\"b\":158}}}}},9]},\"f\":{\"e\":{\"s\":11},\"o\":{\"r\":{\"m\":{\"e\":{\"r\":5}}}}},\"g\":{\"a\":[{\"s\":{\"o\":{\"m\":163}}},9],\"e\":[{\"n\":{\"t\":14},\"o\":{\"g\":4,\"m\":{\"e\":1},\"t\":164}},9],\"i\":{\"a\":4,\"b\":1},\"o\":{\"r\":1}},\"h\":{\"a\":{\"n\":{\"d\":{\"i\":6},\"k\":5}},\"e\":[{\"r\":{\"o\":{\"i\":6,\"e\":3}},\"s\":11,\"t\":11,\"m\":{\"o\":165},\"p\":{\"a\":166}},9],\"i\":{\"b\":3,\"e\":{\"r\":3}},\"o\":{\"n\":{\"e\":{\"y\":5},\"o\":11},\"v\":5}},\"i\":{\"d\":{\"l\":1,\"o\":{\"l\":12}},\"m\":{\"m\":3,\"p\":{\"i\":{\"n\":4}}},\"n\":[{\"c\":{\"i\":3},\"e\":8,\"k\":9,\"s\":3,\"u\":{\"t\":167}},2],\"r\":{\"r\":4},\"s\":{\"i\":1}},\"j\":{\"u\":{\"r\":3}},\"l\":{\"a\":{\"c\":{\"y\":1},\"m\":1,\"t\":{\"e\":{\"r\":5},\"h\":6}},\"e\":[{\"g\":{\"e\":5},\"n\":0,\"p\":5,\"v\":15,\"i\":{\"c\":{\"e\":{\"s\":170}}}},9],\"i\":{\"g\":[{\"a\":5},1],\"n\":9,\"o\":3,\"t\":1}},\"m\":{\"a\":{\"g\":{\"a\":16},\"l\":{\"o\":5},\"n\":{\"a\":5},\"r\":{\"t\":{\"i\":5}}},\"e\":[{\"r\":{\"c\":11},\"t\":{\"e\":{\"r\":4},\"a\":{\"l\":{\"a\":0}}},\"g\":{\"a\":{\"l\":171}}},9],\"i\":{\"s\":[{\"t\":{\"i\":6},\"e\":{\"r\":{\"s\":173}}},15],\"m\":{\"i\":{\"c\":172}}},\"o\":{\"n\":{\"e\":11},\"r\":{\"o\":3}},\"u\":{\"t\":{\"a\":[{\"b\":6},4]}}},\"n\":{\"i\":{\"c\":1},\"e\":{\"o\":{\"f\":174}},\"o\":{\"e\":{\"t\":{\"h\":15}},\"n\":{\"e\":{\"m\":175}}}},\"o\":{\"d\":[{\"d\":5},9],\"f\":{\"t\":{\"e\":4}},\"r\":{\"a\":{\"t\":{\"o\":4}},\"c\":3,\"d\":2,\"t\":3},\"s\":[{\"t\":{\"l\":1}},3],\"t\":{\"h\":11},\"u\":{\"t\":11}},\"p\":{\"e\":{\"d\":{\"a\":{\"l\":5}},\"t\":{\"e\":4,\"i\":{\"t\":4}}},\"i\":{\"e\":1,\"o\":{\"n\":5},\"t\":9},\"r\":{\"e\":{\"m\":11,\"a\":{\"m\":15}}},\"o\":{\"l\":{\"y\":{\"s\":137}},\"s\":{\"t\":{\"a\":{\"m\":137}}}}},\"r\":{\"a\":{\"c\":1,\"n\":{\"t\":0},\"t\":{\"i\":{\"o\":{\"n\":{\"a\":7}}}},\"v\":{\"e\":{\"n\":{\"o\":176}}}},\"e\":{\"e\":[{\"c\":173},8],\"m\":{\"i\":{\"t\":4}},\"s\":[{\"t\":{\"a\":{\"t\":4}}},8]},\"i\":{\"g\":1,\"t\":{\"u\":5}},\"o\":{\"q\":1,\"s\":{\"t\":5},\"w\":{\"d\":5}},\"u\":{\"d\":1}},\"s\":{\"c\":{\"i\":{\"e\":11}},\"e\":{\"l\":{\"f\":6,\"l\":6},\"n\":9,\"r\":{\"i\":{\"e\":4}},\"m\":{\"i\":[{\"c\":0,\"d\":177,\"p\":36,\"r\":36,\"s\":178,\"v\":36},6]}},\"h\":9,\"i\":[{\"n\":{\"g\":17}},9],\"t\":[{\"a\":{\"b\":{\"l\":5}}},1],\"y\":9,\"p\":{\"h\":{\"i\":{\"n\":179}},\"i\":{\"n\":{\"o\":137}}}},\"t\":{\"a\":[{\"p\":{\"e\":{\"s\":{\"t\":{\"r\":180}}}}},1],\"e\":[{\"n\":{\"a\":{\"n\":5}},\"l\":{\"e\":{\"g\":{\"r\":3}}}},1],\"h\":9,\"i\":[{\"l\":0,\"m\":{\"o\":16},\"n\":{\"g\":17,\"k\":5}},9],\"o\":{\"n\":{\"a\":0},\"p\":[{\"i\":5,\"o\":{\"g\":170}},1],\"u\":{\"s\":5},\"q\":9},\"r\":{\"i\":{\"b\":{\"u\":{\"t\":6}}}}},\"u\":{\"n\":{\"a\":[{\"t\":{\"t\":144}},2],\"c\":{\"e\":3},\"d\":{\"e\":{\"r\":7}},\"e\":[{\"r\":{\"r\":181}},2],\"k\":4,\"o\":4,\"u\":3},\"p\":3,\"r\":{\"e\":11},\"s\":{\"a\":4}},\"v\":{\"e\":{\"n\":{\"d\":{\"e\":0}},\"r\":{\"a\":4}},\"i\":{\"c\":{\"a\":{\"r\":151}}}},\"w\":{\"i\":{\"l\":{\"i\":5}},\"e\":{\"b\":{\"l\":131}}},\"y\":{\"e\":1},\"k\":{\"i\":{\"l\":{\"n\":{\"i\":168}}},\"o\":{\"r\":{\"t\":{\"e\":169}}}}},\"a\":{\"b\":{\".\":18,\"a\":{\"l\":19,\"n\":19},\"e\":[{\"r\":{\"d\":4}},8],\"i\":{\"a\":5,\"t\":{\"a\":{\"b\":13}}},\"l\":{\"a\":{\"t\":4}},\"o\":{\"l\":{\"i\":{\"z\":20,\"c\":19}}},\"r\":[{\"o\":{\"g\":4}},18],\"u\":{\"l\":3}},\"c\":{\"a\":{\"r\":[{\"d\":4,\"o\":4},21],\"b\":{\"l\":24}},\"e\":{\"o\":{\"u\":19},\"r\":2},\"h\":{\"e\":{\"t\":19}},\"i\":[{\"e\":23,\"n\":2,\"o\":23},22],\"r\":{\"o\":{\"b\":4}},\"t\":{\"i\":{\"f\":5}},\"u\":{\"l\":3,\"m\":1}},\"d\":[{\"d\":{\"i\":{\"n\":1}},\"e\":{\"r\":{\".\":4}},\"i\":[{\"a\":23,\"c\":{\"a\":3},\"e\":{\"r\":0},\"o\":23,\"t\":23,\"u\":19},25],\"l\":{\"e\":1},\"o\":{\"w\":3},\"r\":{\"a\":{\"n\":4}},\"s\":{\"u\":1},\"u\":[{\"c\":23,\"m\":4},18]},24],\"e\":{\"r\":[{\"i\":{\"e\":17}},1]},\"f\":[{\"f\":[{\"i\":{\"s\":{\"h\":170}}},0]},24],\"g\":{\"a\":{\"b\":21,\"n\":0},\"e\":{\"l\":{\"l\":4},\"o\":0,\"u\":18},\"i\":2,\"l\":26,\"n\":2,\"o\":[{\"g\":27,\"n\":{\"i\":3}},24],\"u\":{\"e\":{\"r\":19},\"l\":4},\"y\":21},\"h\":{\"a\":23,\"e\":23,\"l\":1,\"o\":23},\"i\":[{\"a\":19,\"c\":{\".\":23},\"l\":{\"y\":4},\"n\":[{\"i\":{\"n\":5},\"o\":5},28],\"t\":{\"e\":{\"n\":5}}},9],\"j\":29,\"k\":{\"e\":{\"n\":2}},\"l\":{\"a\":{\"b\":4,\"d\":3,\"r\":21},\"d\":{\"i\":18},\"e\":[{\"n\":{\"d\":3,\"t\":{\"i\":21}},\"o\":30},25],\"i\":[{\"a\":{\".\":1},\"e\":0},2],\"l\":{\"e\":{\"v\":4},\"i\":{\"c\":18}},\"m\":18,\"o\":{\"g\":{\".\":19}},\"y\":{\".\":21,\"s\":[{\"t\":31},18],\"t\":32,\"z\":27}},\"m\":{\"a\":[{\"b\":4,\"g\":3,\"r\":{\"a\":5},\"s\":{\"c\":4},\"t\":{\"i\":{\"s\":21},\"o\":33}},18],\"e\":{\"r\":{\"a\":4},\"n\":{\"t\":{\"a\":{\"b\":182}}}},\"i\":{\"c\":3,\"f\":4,\"l\":{\"y\":4},\"n\":[{\"o\":0},2]},\"o\":[{\"n\":19,\"r\":{\"i\":6}},24],\"p\":{\"e\":{\"n\":5}}},\"n\":[{\"a\":{\"g\":{\"e\":3},\"l\":{\"y\":[{\"s\":183},27]},\"r\":[{\"c\":3,\"i\":17},23],\"t\":{\"i\":23}},\"d\":[{\"e\":{\"s\":17},\"i\":{\"s\":3},\"l\":2,\"o\":{\"w\":1}},18],\"e\":{\"e\":19,\"n\":23,\"s\":{\"t\":{\".\":4}},\"u\":23},\"g\":[{\"i\":{\"e\":5},\"l\":2},25],\"i\":{\"c\":34,\"e\":{\"s\":23},\"f\":35,\"m\":{\"e\":1,\"i\":19},\"n\":{\"e\":19},\"o\":3,\"p\":23,\"s\":{\"h\":3},\"t\":3,\"u\":23},\"k\":{\"l\":{\"i\":1}},\"n\":{\"i\":{\"z\":32}},\"o\":[{\"t\":[{\"h\":7},4],\"a\":{\"c\":148}},0],\"s\":{\"a\":9,\"c\":{\"o\":1},\"n\":1,\"p\":[{\"o\":11},9],\"t\":1,\"u\":{\"r\":1},\"g\":{\"r\":5},\"v\":11},\"t\":{\"a\":{\"l\":36},\"i\":{\"e\":1,\"d\":137,\"n\":184,\"r\":{\"e\":137}},\"o\":18,\"r\":9,\"w\":1},\"u\":{\"a\":3,\"l\":3,\"r\":19}},24],\"o\":18,\"p\":{\"a\":{\"r\":17,\"t\":4},\"e\":{\"r\":{\"o\":4},\"a\":{\"b\":{\"l\":{\"e\":132}}}},\"h\":{\"e\":{\"r\":23},\"i\":18},\"i\":{\"l\":{\"l\":{\"a\":[{\"r\":4},21]}},\"n\":3,\"t\":{\"a\":3,\"u\":23}},\"l\":24,\"o\":{\"c\":6,\"l\":{\"a\":4},\"r\":{\"i\":6},\"s\":{\"t\":12}},\"s\":{\"e\":{\"s\":5}},\"u\":23},\"q\":{\"u\":{\"e\":6}},\"r\":[{\"a\":{\"c\":{\"t\":3},\"d\":{\"e\":19,\"i\":{\"s\":4}},\"l\":3,\"m\":{\"e\":{\"t\":{\"e\":19}}},\"n\":{\"g\":17},\"p\":11,\"t\":[{\"i\":{\"o\":19,\"v\":4}},1],\"u\":19,\"v\":38,\"w\":17},\"b\":{\"a\":{\"l\":36}},\"c\":{\"h\":{\"a\":{\"n\":1},\"e\":{\"t\":185}}},\"d\":{\"i\":{\"n\":{\"e\":4}},\"r\":1},\"e\":{\"a\":{\"s\":4},\"e\":23,\"n\":{\"t\":3},\"s\":{\"s\":19}},\"f\":{\"i\":1,\"l\":1},\"i\":[{\"a\":{\"l\":4,\"n\":3},\"e\":{\"t\":23},\"m\":1,\"n\":{\"a\":{\"t\":4}},\"o\":3,\"z\":9},2],\"m\":{\"i\":9},\"o\":{\"d\":20,\"n\":{\"i\":19},\"o\":23},\"p\":9,\"q\":3,\"r\":{\"e\":17,\"a\":{\"n\":{\"g\":{\"e\":9}}}},\"s\":{\"a\":1,\"h\":9}},37],\"s\":{\".\":18,\"a\":{\"b\":1,\"n\":{\"t\":3}},\"h\":{\"i\":17},\"i\":{\"a\":{\".\":19},\"b\":23,\"c\":23,\"t\":39},\"k\":{\"i\":11},\"l\":1,\"o\":{\"c\":21},\"p\":{\"h\":4},\"s\":{\"h\":1},\"t\":{\"e\":{\"n\":3},\"r\":2},\"u\":{\"r\":{\"a\":6}},\"y\":{\"m\":{\"p\":{\"t\":{\"o\":{\"t\":4}}}}}},\"t\":{\"a\":[{\"b\":{\"l\":3},\"c\":4,\"l\":{\"o\":3},\"p\":4},24],\"e\":{\"c\":[{\"h\":4},5],\"g\":{\"o\":3},\"n\":{\".\":3},\"r\":{\"a\":3,\"n\":[{\"a\":19},6]},\"s\":{\"t\":3},\"v\":4},\"h\":[{\"e\":{\"m\":5,\"n\":19,\"r\":{\"o\":{\"s\":186}}},\"o\":[{\"m\":5},1]},18],\"i\":{\".\":18,\"a\":19,\"b\":20,\"c\":2,\"f\":3,\"o\":{\"n\":{\"a\":{\"r\":7}}},\"t\":{\"u\":3}},\"o\":{\"g\":21,\"m\":[{\"i\":{\"z\":4}},24],\"p\":21,\"s\":21},\"r\":[{\"o\":{\"p\":4}},29],\"s\":{\"k\":1},\"t\":{\"a\":{\"g\":1},\"e\":[{\"s\":{\".\":170}},4],\"h\":1},\"u\":[{\"a\":4,\"e\":4,\"l\":3,\"r\":{\"a\":3}},24],\"y\":24},\"u\":{\"b\":1,\"g\":{\"h\":[{\"t\":{\"l\":17}},12],\"u\":3},\"l\":[{\"i\":{\"f\":13}},40],\"n\":{\"d\":5},\"r\":3,\"s\":{\"i\":{\"b\":4}},\"t\":{\"e\":{\"n\":5},\"h\":2}},\"v\":{\"a\":[{\"g\":3,\"n\":19},24],\"e\":{\"n\":{\"o\":0},\"r\":{\"a\":3,\"n\":4,\"y\":4}},\"i\":[{\"e\":{\"r\":0},\"g\":3,\"o\":{\"u\":3}},2],\"o\":{\"c\":4,\"r\":29}},\"w\":{\"a\":{\"y\":27},\"i\":3,\"l\":{\"y\":1},\"s\":0},\"x\":{\"i\":{\"c\":1,\"d\":1}},\"y\":{\"a\":{\"l\":4},\"e\":0,\"s\":0},\"z\":{\"i\":{\"e\":{\"r\":0}},\"z\":{\"i\":5}}},\"b\":{\"a\":{\".\":32,\"d\":{\"g\":{\"e\":{\"r\":5}}},\"g\":{\"e\":1},\"l\":{\"a\":15},\"n\":{\"d\":{\"a\":{\"g\":5}},\"e\":0,\"i\":11},\"r\":{\"b\":{\"i\":7},\"i\":{\"a\":17},\"o\":{\"n\":{\"i\":{\"e\":187}}}},\"s\":{\"s\":{\"i\":0}},\"t\":[{\"h\":{\"y\":2}},41],\"z\":1,\"c\":{\"k\":{\"e\":{\"r\":{\".\":84}}}}},\"b\":[{\"e\":[{\"r\":23},24],\"i\":{\"n\":{\"a\":0},\"t\":0}},42],\"d\":43,\"e\":{\".\":18,\"a\":{\"k\":17,\"t\":12},\"d\":[{\"a\":3,\"e\":3,\"i\":3},44],\"g\":{\"i\":3,\"u\":4},\"l\":[{\"i\":2,\"o\":3},41],\"m\":45,\"n\":{\"i\":{\"g\":4},\"u\":4},\"s\":[{\"p\":3,\"t\":{\"r\":4}},46],\"t\":[{\"i\":{\"z\":5},\"r\":4,\"w\":3},27],\"w\":3,\"y\":{\"o\":4},\"v\":{\"i\":{\"e\":9}}},\"f\":25,\"h\":47,\"i\":{\"b\":9,\"d\":[{\"i\":{\"f\":167}},1],\"e\":[{\"n\":4,\"r\":1},27],\"f\":48,\"l\":[{\"i\":{\"z\":3},\"l\":{\"a\":{\"b\":8}}},41],\"n\":{\"a\":{\"r\":49},\"d\":0,\"e\":{\"t\":4}},\"o\":{\"g\":{\"r\":3},\"u\":4,\"m\":5,\"r\":{\"b\":2,\"h\":15}},\"t\":[{\"i\":{\"o\":50,\"v\":{\"e\":188}},\"r\":3,\"u\":{\"a\":51},\"z\":19},9]},\"j\":29,\"k\":1,\"l\":[{\"a\":{\"t\":{\"h\":7},\"n\":{\"d\":189}},\"e\":{\".\":21,\"n\":17,\"s\":{\"p\":32}},\"i\":{\"s\":23,\"n\":{\"d\":189}},\"o\":[{\"n\":{\"d\":190}},21],\"u\":{\"n\":{\"t\":17}}},52],\"m\":43,\"n\":[{\"e\":{\"g\":5}},47],\"o\":{\"d\":[{\"i\":11},27],\"e\":1,\"l\":{\"i\":{\"c\":11}},\"m\":{\"b\":{\"i\":0}},\"n\":{\"a\":[{\"t\":5},0]},\"o\":27,\"r\":{\".\":32,\"a\":43,\"d\":5,\"e\":32,\"i\":32,\"n\":{\"o\":191}},\"s\":53,\"t\":{\"a\":19,\"h\":6,\"o\":1,\"u\":{\"l\":192}},\"u\":{\"n\":{\"d\":54}}},\"p\":18,\"r\":{\"i\":{\"t\":18},\"o\":{\"t\":{\"h\":54}},\"u\":{\"s\":{\"q\":17}}},\"s\":[{\"o\":{\"r\":17}},55],\"t\":[{\"l\":1,\"o\":21,\"r\":23},25],\"u\":{\"f\":{\"f\":{\"e\":{\"r\":0}}},\"g\":{\"a\":1},\"l\":{\"i\":3},\"m\":{\"i\":17},\"n\":[{\"t\":{\"i\":17}},1],\"r\":{\"e\":3},\"s\":{\"i\":{\"e\":[{\"r\":193,\"s\":193},5]},\"s\":{\"e\":17,\"i\":{\"n\":{\"g\":17}}},\"t\":32},\"t\":{\"a\":18,\"i\":{\"o\":27},\"o\":19,\"e\":{\"d\":{\".\":8}},\"t\":{\"e\":{\"d\":0}}}},\"v\":29,\"w\":56,\"y\":{\".\":32,\"s\":0}},\"c\":{\"a\":[{\"b\":{\"i\":{\"n\":11},\"l\":2},\"c\":{\"h\":17},\"d\":{\"e\":{\"n\":4,\"m\":194}},\"g\":46,\"h\":57,\"l\":{\"a\":{\"t\":3},\"l\":{\"a\":0,\"i\":{\"n\":6}},\"o\":18},\"n\":{\"d\":5,\"e\":0,\"i\":{\"c\":0,\"s\":5,\"z\":11},\"t\":{\"y\":0},\"y\":17},\"p\":{\"e\":{\"r\":4}},\"r\":{\"o\":{\"m\":5}},\"s\":{\"t\":{\"e\":{\"r\":6},\"i\":{\"g\":5}},\"y\":18},\"t\":{\"h\":1,\"i\":{\"v\":18},\"a\":{\"s\":195}},\"v\":{\"a\":{\"l\":5}}},41],\"c\":[{\"h\":{\"a\":6},\"i\":{\"a\":0},\"o\":{\"m\":{\"p\":{\"a\":10}},\"n\":17,\"u\":{\"t\":12}}},23],\"e\":{\".\":25,\"d\":{\".\":18,\"e\":{\"n\":18}},\"i\":27,\"l\":{\".\":32,\"l\":27},\"n\":[{\"c\":27,\"e\":58,\"i\":18,\"t\":27},41],\"p\":27,\"r\":{\"a\":{\"m\":4}},\"s\":{\"a\":18,\"s\":{\"i\":[{\"b\":59},27]},\"t\":5},\"t\":[{\"a\":60},0],\"w\":0},\"h\":[{\".\":18,\"a\":{\"b\":61,\"n\":{\"i\":{\"c\":32,\"s\":20}}},\"e\":[{\"a\":{\"p\":54},\"d\":18,\"l\":{\"o\":5},\"m\":{\"i\":27},\"n\":{\"e\":4},\"r\":{\".\":3,\"s\":3}},8],\"i\":{\"n\":[{\"e\":{\".\":32,\"s\":{\"s\":4}},\"i\":32},62],\"o\":32,\"t\":27,\"z\":8,\"e\":{\"v\":{\"o\":6}}},\"o\":63,\"t\":{\"i\":1},\"s\":{\".\":18,\"h\":{\"u\":11}}},25],\"i\":[{\"a\":[{\"b\":64,\"r\":5},27],\"c\":4,\"e\":{\"r\":18},\"f\":{\"i\":{\"c\":{\".\":32}}},\"i\":18,\"l\":{\"a\":1,\"i\":27},\"m\":25,\"n\":[{\"a\":[{\"t\":27},21],\"e\":{\"m\":11},\"g\":[{\".\":19},29],\"o\":32,\"q\":8},25],\"o\":{\"n\":17},\"p\":{\"e\":18,\"h\":3,\"i\":{\"c\":18}},\"s\":{\"t\":{\"a\":18,\"i\":18}},\"t\":[{\"i\":{\"z\":11}},42],\"z\":32,\"g\":{\"a\":{\"r\":152}}},41],\"k\":[{\"i\":3},2],\"l\":[{\"a\":{\"r\":[{\"a\":{\"t\":{\"i\":{\"o\":19}}},\"e\":32},18]},\"e\":{\"m\":0,\"a\":{\"r\":0}},\"i\":{\"c\":18,\"m\":17},\"y\":0},65],\"n\":19,\"o\":[{\"a\":{\"g\":4},\"e\":8,\"g\":[{\"r\":1},25],\"i\":[{\"n\":{\"c\":3}},0],\"l\":{\"i\":5,\"o\":[{\"r\":11},32]},\"m\":{\"e\":{\"r\":5}},\"n\":{\"a\":0,\"e\":21,\"g\":11,\"t\":5},\"p\":{\"a\":3,\"i\":{\"c\":11},\"l\":1,\"h\":{\"o\":{\"n\":196}}},\"r\":{\"b\":18,\"o\":{\"n\":12}},\"s\":{\"e\":0},\"v\":[{\"e\":17},15],\"w\":{\"a\":5},\"z\":{\"e\":5,\"i\":4},\"u\":{\"s\":{\"t\":{\"i\":84}}}},41],\"q\":29,\"r\":{\"a\":{\"s\":{\"t\":6},\"t\":{\".\":32,\"i\":{\"c\":32}}},\"e\":{\"a\":{\"t\":11},\"d\":32,\"t\":{\"a\":47},\"v\":0},\"i\":[{\"f\":5,\"n\":21,\"s\":17,\"t\":{\"i\":[{\"e\":11},32]}},8],\"o\":{\"p\":{\"l\":0,\"o\":6},\"s\":{\"e\":17},\"c\":{\"o\":{\"d\":197}},\"e\":{\"c\":{\"o\":148}}},\"u\":{\"d\":0}},\"s\":66,\"t\":[{\"a\":{\"b\":0,\"n\":{\"g\":4,\"t\":19}},\"e\":[{\"r\":23},24],\"i\":{\"c\":{\"u\":21},\"m\":{\"i\":12}},\"u\":{\"r\":0},\"w\":21,\"r\":{\"o\":{\"m\":{\"e\":{\"c\":198}}}}},42],\"u\":{\"d\":5,\"f\":21,\"i\":[{\"t\":{\"y\":4}},21],\"l\":{\"i\":32,\"t\":{\"i\":{\"s\":0},\"u\":27}},\"m\":{\"a\":9,\"e\":23,\"i\":1},\"n\":27,\"p\":{\"i\":3,\"y\":4},\"r\":{\"a\":{\"b\":67,\"n\":{\"c\":{\"e\":199}}},\"i\":{\"a\":4}},\"s\":[{\"s\":{\"i\":17}},41],\"t\":[{\"i\":{\"e\":1,\"v\":56},\"r\":18},68]},\"y\":41,\"z\":{\"e\":0}},\"d\":{\"a\":[{\".\":32,\"b\":70,\"c\":{\"h\":17},\"f\":18,\"g\":25,\"m\":71,\"n\":{\"g\":11},\"r\":{\"d\":6,\"k\":6,\"y\":18},\"t\":[{\"i\":{\"v\":18},\"o\":18,\"a\":{\"b\":137}},27],\"v\":[{\"e\":5},53],\"y\":32,\"l\":{\"o\":{\"n\":{\"e\":48}}}},69],\"b\":29,\"c\":19,\"d\":[{\"a\":{\"b\":20},\"i\":{\"b\":94}},72],\"e\":{\".\":25,\"a\":{\"f\":6,\"l\":{\"s\":{\".\":1}}},\"b\":{\"i\":{\"t\":5},\"o\":{\"n\":1}},\"c\":{\"a\":{\"n\":36},\"i\":{\"l\":1},\"o\":{\"m\":4},\"l\":{\"a\":{\"r\":200},\"i\":{\"n\":{\"a\":64}}}},\"d\":42,\"e\":{\".\":18},\"i\":{\"f\":4},\"l\":{\"i\":{\"e\":17,\"q\":16},\"o\":4},\"m\":[{\".\":32,\"i\":{\"c\":[{\".\":5},27],\"l\":4},\"o\":{\"n\":{\"s\":1},\"r\":7,\"s\":9}},21],\"n\":[{\"a\":{\"r\":1},\"o\":3,\"t\":{\"i\":{\"f\":7}},\"u\":3},41],\"p\":[{\"a\":3,\"i\":17,\"u\":9},2],\"q\":23,\"r\":{\"h\":21,\"m\":32,\"n\":{\"i\":{\"z\":6}},\"s\":5},\"s\":[{\".\":24,\"c\":2,\"o\":64,\"t\":{\"i\":11,\"r\":3},\"u\":1,\"i\":{\"c\":11}},8],\"t\":[{\"o\":9,\"i\":{\"c\":9}},2],\"v\":[{\"i\":{\"l\":11}},2],\"y\":18,\"f\":{\"i\":{\"n\":{\"i\":{\"t\":{\"i\":201}}}}}},\"f\":43,\"g\":{\"a\":21,\"e\":{\"t\":73},\"i\":2,\"y\":24},\"h\":74,\"i\":{\".\":32,\"a\":[{\"b\":5},75],\"c\":{\"a\":{\"m\":1,\"i\":{\"d\":15}},\"e\":21,\"t\":27},\"d\":27,\"e\":{\"n\":76},\"f\":[{\"f\":{\"r\":{\"a\":5}}},29],\"g\":{\"e\":3},\"l\":{\"a\":{\"t\":{\"o\":1}}},\"n\":[{\"a\":41,\"e\":{\".\":27},\"i\":[{\"z\":4},32]},29],\"o\":[{\"g\":5},41],\"p\":{\"l\":1},\"r\":[{\"e\":[{\"n\":9,\"r\":9},2],\"t\":{\"i\":6}},8],\"s\":[{\"i\":32,\"t\":77},15],\"t\":{\"i\":24},\"v\":78,\"m\":{\"e\":{\"t\":{\"h\":{\"y\":141}}}}},\"j\":29,\"k\":79,\"l\":{\"a\":56,\"e\":{\".\":27,\"d\":27,\"s\":{\".\":27,\"s\":18},\"a\":{\"d\":42}},\"o\":48,\"u\":56,\"y\":25,\"i\":{\"e\":202}},\"m\":29,\"n\":80,\"o\":[{\".\":27,\"d\":{\"e\":4},\"e\":32,\"f\":57,\"g\":21,\"l\":{\"a\":1,\"i\":17,\"o\":{\"r\":4}},\"m\":{\"i\":{\"z\":5}},\"n\":{\"a\":{\"t\":3},\"i\":17},\"o\":{\"d\":11},\"p\":{\"p\":0},\"r\":21,\"s\":27,\"u\":{\"t\":56},\"v\":1,\"x\":27,\"w\":{\"o\":{\"r\":{\"d\":203}}}},41],\"p\":29,\"r\":[{\"a\":{\"g\":{\"o\":{\"n\":6}},\"i\":18},\"e\":[{\"a\":{\"r\":6},\"n\":[{\"a\":{\"l\":204}},32]},0],\"i\":{\"b\":0,\"l\":17,\"f\":{\"t\":{\"a\":189}},\"p\":{\"l\":{\"e\":{\"g\":205}}}},\"o\":{\"p\":0,\"w\":18,\"m\":{\"e\":{\"d\":206}}},\"u\":{\"p\":{\"l\":{\"i\":32}}},\"y\":18},41],\"s\":[{\"p\":1,\"w\":21,\"y\":21},81],\"t\":{\"h\":24,\"a\":{\"b\":23}},\"u\":[{\"a\":[{\"l\":{\".\":9}},82],\"c\":[{\"a\":29,\"e\":{\"r\":5},\"t\":{\".\":18,\"s\":18}},9],\"e\":{\"l\":4},\"g\":1,\"l\":{\"e\":23},\"m\":{\"b\":{\"e\":0}},\"n\":1,\"p\":[{\"e\":1},18],\"o\":{\"p\":{\"o\":{\"l\":207}}}},41],\"v\":29,\"w\":29,\"y\":[{\"n\":32,\"s\":{\"e\":1,\"p\":5}},24]},\"e\":{\"a\":{\"b\":72,\"c\":{\"t\":23},\"d\":[{\"i\":{\"e\":5}},15],\"g\":{\"e\":[{\"r\":4},1]},\"l\":[{\"e\":{\"r\":5},\"o\":{\"u\":11}},1],\"m\":{\"e\":{\"r\":11}},\"n\":{\"d\":19,\"i\":{\"e\":{\"s\":111}}},\"r\":{\"a\":11,\"c\":0,\"e\":{\"s\":5},\"i\":{\"c\":0,\"l\":0},\"k\":5,\"t\":[{\"e\":12},8]},\"s\":{\"p\":4,\"s\":23,\"t\":12},\"t\":[{\"e\":{\"n\":5},\"h\":{\"i\":12},\"i\":{\"f\":19},\"u\":83},9],\"v\":[{\"e\":{\"n\":11},\"i\":5,\"o\":5},9]},\"b\":[{\"e\":{\"l\":{\".\":21,\"s\":21},\"n\":21},\"i\":{\"t\":21},\"r\":23},42],\"c\":{\"a\":{\"d\":21,\"n\":{\"c\":6}},\"c\":{\"a\":6},\"e\":[{\"s\":{\"s\":{\"a\":4}}},29],\"i\":[{\"b\":21,\"f\":{\"i\":{\"c\":{\"a\":{\"t\":4}},\"e\":4},\"y\":4},\"m\":3,\"t\":[{\"e\":19},0]},9],\"l\":{\"a\":{\"m\":21},\"u\":{\"s\":21}},\"o\":{\"l\":24,\"m\":{\"m\":21,\"p\":{\"e\":21}},\"n\":{\"c\":21},\"r\":[{\"a\":3,\"o\":5},24]},\"r\":[{\"e\":{\"m\":21}},29],\"t\":{\"a\":{\"n\":1},\"e\":1},\"u\":[{\"l\":[{\"a\":3},21]},29],\"h\":{\"a\":{\"s\":23}}},\"d\":{\"a\":37,\"d\":61,\"e\":{\"r\":34,\"s\":0},\"i\":[{\"a\":23,\"b\":3,\"c\":{\"a\":3},\"m\":3,\"t\":2,\"z\":5},18],\"o\":[{\"l\":21,\"n\":84},18],\"r\":{\"i\":21},\"u\":{\"l\":[{\"o\":4,\"i\":{\"n\":{\"g\":2}}},21]},\"g\":{\"l\":15}},\"e\":{\"c\":9,\"d\":{\"i\":11},\"f\":9,\"l\":{\"i\":11,\"y\":1},\"m\":9,\"n\":{\"a\":1},\"p\":85,\"s\":[{\"t\":17},86],\"t\":{\"y\":1},\"x\":19},\"f\":[{\"e\":{\"r\":{\"e\":83}},\"f\":41,\"i\":{\"c\":[{\"i\":32},21],\"l\":17,\"n\":{\"e\":23,\"i\":{\"t\":{\"e\":20}}},\"t\":27},\"o\":{\"r\":{\"e\":{\"s\":6}}},\"u\":{\"s\":{\"e\":{\".\":21}}}},29],\"g\":{\"a\":{\"l\":18},\"e\":{\"r\":17},\"i\":{\"b\":4,\"c\":1,\"n\":{\"g\":4},\"t\":87},\"n\":4,\"o\":{\".\":21,\"s\":21},\"u\":{\"l\":2,\"r\":19},\"y\":32},\"h\":[{\"e\":{\"r\":17}},72],\"i\":[{\"c\":19,\"d\":4,\"g\":[{\"l\":4},8],\"m\":{\"b\":23},\"n\":{\"f\":23,\"g\":29,\"s\":{\"t\":19}},\"r\":{\"d\":0},\"t\":{\"e\":11,\"h\":3,\"y\":19}},9],\"j\":[{\"u\":{\"d\":[{\"i\":4},21]}},29],\"k\":{\"i\":{\"n\":0},\"l\":{\"a\":1}},\"l\":{\"a\":[{\".\":21,\"c\":21,\"n\":{\"d\":17},\"t\":{\"i\":{\"v\":4}},\"w\":21,\"x\":{\"a\":36}},29],\"e\":{\"a\":23,\"b\":{\"r\":{\"a\":4}},\"c\":32,\"d\":21,\"g\":{\"a\":3},\"n\":19,\"r\":34,\"s\":29},\"f\":9,\"i\":[{\"b\":{\"e\":23},\"c\":{\".\":33,\"a\":3},\"e\":{\"r\":23},\"g\":{\"i\":{\"b\":4}},\"m\":19,\"n\":{\"g\":83},\"o\":23,\"s\":[{\"h\":4},24],\"v\":88,\"t\":{\"i\":{\"s\":208}}},9],\"l\":{\"a\":[{\"b\":1},18],\"o\":17},\"o\":{\"c\":19,\"g\":4,\"p\":{\".\":3},\"a\":29},\"s\":{\"h\":9},\"t\":{\"a\":1},\"u\":{\"d\":19,\"g\":4}},\"m\":{\"a\":{\"c\":21,\"g\":21,\"n\":[{\"a\":4},19]},\"b\":4,\"e\":[{\"l\":24,\"t\":21},29],\"i\":{\"c\":{\"a\":3},\"e\":0,\"g\":{\"r\":{\"a\":4}},\"n\":[{\"e\":4,\"i\":35},89],\"s\":[{\"h\":4,\"s\":19},21],\"z\":3},\"n\":{\"i\":{\"z\":32}},\"o\":{\"g\":0,\"n\":{\"i\":{\"o\":7}}},\"p\":{\"i\":3},\"u\":{\"l\":[{\"a\":4},21],\"n\":11},\"y\":23},\"n\":{\"a\":{\"m\":{\"o\":4},\"n\":{\"t\":21}},\"c\":{\"h\":{\"e\":{\"r\":17}}},\"d\":{\"i\":{\"c\":3,\"x\":2}},\"e\":{\"a\":19,\"e\":19,\"m\":3,\"r\":{\"o\":4},\"s\":{\"i\":4,\"t\":4},\"t\":{\"r\":3},\"w\":23},\"i\":{\"c\":{\"s\":4},\"e\":19,\"l\":19,\"o\":23,\"s\":{\"h\":3},\"t\":3,\"u\":19,\"z\":32},\"n\":18,\"o\":[{\"g\":0,\"s\":21,\"v\":3},18],\"s\":{\"w\":1},\"t\":{\"a\":{\"g\":{\"e\":5}},\"h\":{\"e\":{\"s\":18}}},\"u\":{\"a\":3,\"f\":4},\"y\":{\".\":23},\"z\":61},\"o\":{\"f\":19,\"g\":[{\"r\":{\"a\":{\"p\":3}}},9],\"i\":90,\"l\":23,\"p\":{\"a\":{\"r\":11}},\"r\":[{\"e\":3,\"o\":{\"l\":4}},29],\"s\":0,\"t\":[{\"o\":1},21],\"u\":{\"t\":19},\"w\":19},\"p\":{\"a\":[{\"i\":23,\"n\":{\"c\":4}},24],\"e\":{\"l\":19,\"n\":{\"t\":23},\"t\":{\"i\":{\"t\":{\"i\":{\"o\":4}}}}},\"h\":{\"e\":17},\"l\":{\"i\":21},\"o\":29,\"r\":{\"e\":{\"c\":[{\"a\":4},21],\"d\":21,\"h\":3},\"o\":[{\"b\":21},23]},\"s\":{\"h\":1},\"t\":{\"i\":{\"b\":13}},\"u\":{\"t\":[{\"a\":4},21]},\"i\":{\"n\":{\"e\":{\"p\":{\"h\":209}}}}},\"q\":[{\"u\":{\"i\":{\"l\":12,\"s\":91}}},29],\"r\":{\"a\":[{\"b\":0,\"n\":{\"d\":18},\"r\":3,\"t\":{\"i\":{\".\":18}}},2],\"b\":[{\"l\":1},25],\"c\":{\"h\":[{\"e\":1},3]},\"e\":{\".\":25,\"a\":{\"l\":23},\"c\":{\"o\":5},\"i\":{\"n\":11},\"l\":{\".\":4},\"m\":{\"o\":3},\"n\":{\"a\":4,\"c\":{\"e\":4},\"e\":18,\"t\":3},\"q\":0,\"s\":{\"s\":4,\"t\":3},\"t\":17},\"h\":2,\"i\":[{\"a\":[{\"n\":{\".\":210}},92],\"c\":{\"k\":32},\"e\":{\"n\":23,\"r\":0},\"n\":{\"e\":3},\"o\":29,\"t\":18,\"u\":1,\"v\":[{\"a\":21},0]},2],\"m\":93,\"n\":{\"i\":{\"s\":1,\"t\":18,\"z\":32},\"o\":3},\"o\":[{\"b\":4,\"c\":19,\"r\":0,\"u\":2},25],\"s\":[{\"e\":{\"t\":3}},2],\"t\":{\"e\":{\"r\":11},\"l\":18,\"w\":3},\"u\":[{\"t\":0},18],\"w\":{\"a\":{\"u\":32}}},\"s\":{\"a\":[{\"g\":{\"e\":{\".\":21,\"s\":21}}},72],\"c\":[{\"a\":[{\"n\":4},24],\"r\":23,\"u\":4},9],\"e\":[{\"c\":[{\"r\":4},24],\"n\":{\"c\":4},\"r\":{\"t\":{\".\":21,\"s\":21},\"v\":{\"a\":21}}},74],\"h\":[{\"a\":23,\"e\":{\"n\":5}},18],\"i\":[{\"c\":24,\"d\":[{\"e\":{\"n\":4}},24],\"g\":{\"n\":{\"a\":4}},\"m\":94,\"n\":95,\"s\":{\"t\":{\"e\":17}},\"u\":0},29],\"k\":{\"i\":{\"n\":19}},\"m\":{\"i\":1},\"o\":{\"l\":[{\"u\":3},24],\"n\":[{\"a\":4},24]},\"p\":[{\"e\":{\"r\":3},\"i\":{\"r\":{\"a\":4}},\"r\":{\"e\":1},\"a\":{\"c\":{\"i\":211}}},29],\"s\":[{\"i\":{\"b\":96}},25],\"t\":{\"a\":{\"n\":36},\"i\":{\"g\":3,\"m\":4},\"o\":[{\"n\":23},44],\"r\":[{\"o\":19,\"u\":{\"c\":10}},25]},\"u\":{\"r\":[{\"r\":4},24]},\"w\":1},\"t\":{\"a\":{\"b\":0},\"e\":{\"n\":{\"d\":17},\"o\":23},\"h\":{\"o\":{\"d\":54},\"y\":{\"l\":{\"e\":{\"n\":{\"e\":162}}}}},\"i\":{\"c\":2,\"d\":{\"e\":19},\"n\":[{\"o\":0},17],\"r\":19,\"t\":{\"i\":{\"o\":19,\"v\":4}}},\"n\":18,\"o\":{\"n\":{\"a\":4}},\"r\":{\"a\":23,\"e\":23,\"i\":{\"c\":3,\"f\":4},\"o\":{\"g\":3,\"s\":4}},\"u\":{\"a\":3},\"y\":{\"m\":4},\"z\":4},\"u\":[{\"n\":19,\"p\":23,\"r\":{\"o\":3},\"s\":0,\"t\":{\"e\":17,\"i\":{\"l\":6},\"r\":4},\"c\":{\"l\":{\"i\":{\"d\":212}}}},18],\"v\":{\"a\":{\"p\":97,\"s\":[{\"t\":4},24]},\"e\":{\"a\":19,\"l\":{\"l\":3,\"o\":12},\"n\":{\"g\":19,\"i\":17},\"r\":[{\"b\":19},2]},\"i\":[{\"d\":3,\"l\":0,\"n\":21,\"v\":0},29],\"o\":{\"c\":19},\"u\":19},\"w\":{\"a\":[{\"g\":21},29],\"e\":{\"e\":19},\"h\":23,\"i\":{\"l\":6,\"n\":{\"g\":3},\"t\":23}},\"x\":{\"p\":41},\"y\":{\"c\":32,\"e\":{\".\":32},\"s\":0}},\"f\":{\"a\":[{\"b\":{\"l\":3,\"r\":11},\"c\":{\"e\":1},\"g\":18,\"i\":{\"n\":17},\"l\":{\"l\":{\"e\":6}},\"m\":{\"a\":26,\"i\":{\"s\":5}},\"r\":[{\"t\":{\"h\":5}},32],\"t\":{\"a\":3,\"h\":{\"e\":3},\"o\":18},\"u\":{\"l\":{\"t\":7}}},41],\"b\":56,\"d\":18,\"e\":{\".\":18,\"a\":{\"s\":17,\"t\":{\"h\":54}},\"b\":[{\"r\":{\"u\":{\"a\":15}}},1],\"c\":{\"a\":18,\"t\":32},\"d\":25,\"l\":{\"i\":3},\"m\":{\"o\":1},\"n\":{\"d\":[{\"e\":6},8]},\"r\":[{\"r\":32,\"m\":{\"i\":{\"o\":213}}},15],\"v\":0},\"f\":[{\"e\":{\"s\":21},\"i\":{\"e\":21,\"n\":{\".\":19},\"s\":94},\"l\":{\"y\":21},\"y\":24},43],\"h\":18,\"i\":[{\"a\":3,\"c\":{\".\":48,\"a\":{\"l\":47,\"n\":23,\"t\":{\"e\":18}},\"e\":{\"n\":23,\"r\":3},\"i\":[{\"a\":32,\"e\":32},0],\"s\":18,\"u\":3,\"h\":27},\"d\":{\"e\":{\"l\":4}},\"g\":{\"h\":{\"t\":7}},\"l\":{\"i\":5,\"l\":{\"i\":{\"n\":6}},\"y\":18},\"n\":[{\"a\":32,\"d\":97,\"e\":9,\"g\":98,\"n\":0},25],\"s\":{\"t\":{\"i\":0}},\"t\":{\"t\":{\"e\":{\"d\":{\".\":5}}}}},41],\"l\":[{\"e\":{\"s\":{\"s\":19}},\"i\":{\"n\":17},\"o\":{\"r\":{\"e\":11},\"w\":{\"e\":{\"r\":{\".\":84}}}},\"y\":100,\"a\":{\"g\":{\"e\":{\"l\":214}}},\"u\":{\"o\":{\"r\":27}}},99],\"m\":18,\"n\":18,\"o\":[{\"n\":[{\"d\":{\"e\":0},\"t\":0},32],\"r\":[{\"a\":{\"t\":4,\"y\":5},\"e\":{\"t\":6},\"i\":0,\"t\":{\"a\":6}},9],\"s\":5},41],\"p\":56,\"r\":{\"a\":{\"t\":0},\"e\":{\"a\":19,\"s\":{\"c\":6}},\"i\":[{\"l\":17},8],\"o\":{\"l\":6}},\"s\":48,\"t\":[{\"o\":21,\"y\":24},25],\"u\":[{\"e\":{\"l\":4},\"g\":18,\"m\":{\"i\":{\"n\":1}},\"n\":{\"e\":4},\"r\":{\"i\":3},\"s\":{\"i\":17,\"s\":0},\"t\":{\"a\":18}},27],\"y\":41},\"g\":{\"a\":[{\"f\":0,\"l\":{\".\":32,\"i\":27,\"o\":3},\"m\":[{\"e\":{\"t\":4},\"o\":19},25],\"n\":{\"i\":{\"s\":5,\"z\":[{\"a\":6},3]},\"o\":18},\"r\":{\"n\":67},\"s\":{\"s\":17},\"t\":{\"h\":12,\"i\":{\"v\":18}},\"z\":18},41],\"b\":23,\"d\":1,\"e\":{\".\":25,\"d\":25,\"e\":{\"z\":17},\"l\":{\"i\":{\"n\":0,\"s\":4,\"z\":4},\"y\":18},\"n\":[{\"a\":{\"t\":1},\"i\":{\"z\":4},\"o\":18,\"y\":18,\"c\":{\"y\":{\".\":8}}},41],\"o\":[{\"m\":3,\"d\":215},41],\"r\":{\"y\":21},\"s\":{\"i\":32},\"t\":{\"h\":6,\"o\":18,\"y\":1,\"i\":{\"c\":{\".\":8}}},\"v\":1},\"g\":[{\"e\":[{\"r\":23},24],\"l\":{\"u\":6},\"o\":0},101],\"h\":{\"i\":{\"n\":3},\"o\":{\"u\":{\"t\":4}},\"t\":{\"o\":1,\"w\":{\"e\":15}}},\"i\":{\".\":32,\"a\":[{\"r\":5},102],\"c\":[{\"i\":{\"a\":32},\"o\":21},29],\"e\":{\"n\":6,\"s\":{\".\":32}},\"l\":0,\"m\":{\"e\":{\"n\":23}},\"n\":{\".\":68,\"g\":{\"e\":5},\"s\":103},\"o\":32,\"r\":[{\"l\":0},27],\"s\":{\"l\":23},\"u\":1,\"v\":32,\"z\":27},\"l\":[{\"a\":[{\"d\":{\"i\":6},\"s\":32},0],\"e\":[{\"a\":{\"d\":29}},41],\"i\":{\"b\":0,\"g\":23,\"s\":{\"h\":43}},\"o\":[{\"r\":11,\"b\":{\"i\":{\"n\":106}}},27]},9],\"m\":[{\"y\":21},29],\"n\":{\"a\":[{\".\":21,\"c\":69},1],\"e\":{\"t\":{\"t\":17,\"i\":{\"s\":{\"m\":137}}}},\"i\":[{\"n\":24,\"o\":21},29],\"o\":[{\"n\":21,\"m\":{\"o\":5},\"r\":{\".\":216,\"e\":{\"s\":{\"p\":24}}}},29]},\"o\":[{\".\":27,\"b\":5,\"e\":32,\"g\":104,\"i\":{\"s\":3},\"n\":[{\"a\":105,\"d\":{\"o\":7},\"i\":[{\"z\":{\"a\":217}},3]},8],\"o\":32,\"r\":{\"i\":{\"z\":4},\"o\":{\"u\":5}},\"s\":{\".\":32},\"v\":15},41],\"p\":23,\"r\":[{\"a\":{\"d\":{\"a\":18},\"i\":21,\"n\":84,\"p\":{\"h\":{\".\":32,\"e\":{\"r\":[{\".\":7},19]},\"i\":{\"c\":32},\"y\":18}},\"y\":18},\"e\":{\"n\":0,\"s\":{\"s\":{\".\":18}}},\"i\":{\"t\":18,\"e\":{\"v\":213}},\"o\":21,\"u\":{\"f\":17}},41],\"s\":[{\"t\":{\"e\":19}},9],\"t\":{\"h\":11},\"u\":{\"a\":[{\"r\":{\"d\":27}},1],\"e\":25,\"i\":{\"t\":106},\"n\":27,\"s\":27,\"t\":[{\"a\":{\"n\":29}},26]},\"w\":23,\"y\":[{\"n\":107,\"r\":{\"a\":4}},41]},\"h\":{\"a\":{\"b\":{\"l\":73},\"c\":{\"h\":17},\"e\":{\"m\":0,\"t\":0},\"g\":{\"u\":19},\"l\":{\"a\":[{\"m\":12},3]},\"m\":1,\"n\":{\"c\":{\"i\":0,\"y\":0},\"d\":{\".\":32},\"g\":[{\"e\":{\"r\":6},\"o\":6},0],\"i\":{\"z\":108},\"k\":0,\"t\":{\"e\":0}},\"p\":{\"l\":11,\"t\":5,\"a\":{\"r\":{\"r\":218}}},\"r\":{\"a\":{\"n\":3,\"s\":4},\"d\":[{\"e\":12},8],\"l\":{\"e\":0},\"p\":{\"e\":{\"n\":6}},\"t\":{\"e\":{\"r\":5}}},\"s\":{\"s\":5},\"u\":{\"n\":17},\"z\":[{\"a\":11},32],\"i\":{\"r\":{\"s\":137}},\"t\":{\"c\":{\"h\":213}}},\"b\":29,\"e\":{\"a\":{\"d\":41,\"r\":27},\"c\":{\"a\":{\"n\":1,\"t\":19}},\"d\":[{\"o\":13},21],\"l\":{\"i\":93,\"l\":{\"i\":{\"s\":0},\"y\":0},\"o\":19},\"m\":{\"p\":0},\"n\":[{\"a\":[{\"t\":5},17]},9],\"o\":{\"r\":5},\"p\":5,\"r\":{\"a\":[{\"p\":12},21],\"b\":{\"a\":0},\"e\":{\"a\":6},\"n\":23,\"o\":{\"u\":19},\"y\":23},\"s\":[{\"p\":64},29],\"t\":[{\"e\":{\"d\":0}},1],\"u\":0,\"x\":{\"a\":168}},\"f\":29,\"h\":29,\"i\":{\"a\":{\"n\":4},\"c\":{\"o\":1},\"g\":{\"h\":6},\"l\":109,\"m\":{\"e\":{\"r\":36}},\"n\":{\"a\":21},\"o\":{\"n\":{\"e\":17}},\"p\":[{\"e\":{\"l\":{\"a\":219}}},1],\"r\":{\"l\":0,\"o\":3,\"p\":0,\"r\":0},\"s\":{\"e\":{\"l\":11},\"s\":0},\"t\":{\"h\":{\"e\":{\"r\":6}},\"e\":{\"s\":{\"i\":{\"d\":12}}}},\"v\":9},\"k\":18,\"l\":[{\"a\":{\"n\":17},\"o\":[{\"r\":{\"i\":11}},24]},80],\"m\":[{\"e\":{\"t\":17}},43],\"n\":[{\"a\":{\"u\":{\"z\":12}}},42],\"o\":{\"d\":{\"i\":{\"z\":19},\"s\":19},\"g\":[{\"e\":17},1],\"l\":{\"a\":{\"r\":5},\"e\":110},\"m\":{\"a\":1,\"e\":12},\"n\":{\"a\":0,\"y\":4},\"o\":{\"d\":27,\"n\":17},\"r\":{\"a\":{\"t\":5},\"i\":{\"s\":4,\"c\":{\".\":187}},\"t\":{\"e\":12},\"u\":4},\"s\":{\"e\":[{\"n\":4},0],\"p\":15},\"u\":{\"s\":[{\"e\":54},41]},\"v\":{\"e\":{\"l\":5}}},\"p\":56,\"r\":[{\"e\":{\"e\":6},\"o\":{\"n\":{\"i\":{\"z\":5}},\"p\":{\"o\":11}}},26],\"s\":[{\"h\":21},101],\"t\":{\"a\":{\"r\":21},\"e\":{\"n\":2,\"s\":4,\"o\":{\"u\":216}},\"y\":21},\"u\":{\"g\":1,\"m\":{\"i\":{\"n\":1}},\"n\":{\"k\":{\"e\":5},\"t\":0},\"s\":{\"t\":14},\"t\":1},\"w\":[{\"a\":{\"r\":{\"t\":21}}},29],\"y\":{\"p\":{\"e\":3,\"h\":3,\"o\":{\"t\":{\"h\":{\"a\":137}}}},\"s\":9}},\"i\":{\"a\":[{\"l\":24,\"m\":[{\"e\":{\"t\":{\"e\":5}}},0],\"n\":[{\"c\":18,\"i\":11,\"t\":46},24],\"p\":{\"e\":4},\"s\":{\"s\":17},\"t\":{\"i\":{\"v\":21},\"r\":{\"i\":{\"c\":1}},\"u\":21}},42],\"b\":{\"e\":[{\"r\":{\"a\":3,\"t\":4}},0],\"i\":{\"a\":4,\"n\":3,\"t\":{\".\":4,\"e\":4}},\"l\":[{\"i\":3},29],\"o\":19,\"r\":[{\"i\":94},29],\"u\":{\"n\":19}},\"c\":{\"a\":{\"m\":18,\"p\":32,\"r\":[{\".\":21,\"a\":21},18],\"s\":6,\"y\":21},\"c\":{\"u\":17},\"e\":{\"o\":18},\"h\":18,\"i\":[{\"d\":19,\"n\":{\"a\":4},\"p\":[{\"a\":3},24]},25],\"l\":{\"y\":21},\"o\":{\"c\":94},\"r\":[{\"a\":32,\"y\":21},43],\"t\":{\"e\":1,\"u\":[{\"a\":111},84]},\"u\":{\"l\":{\"a\":3},\"m\":1,\"o\":4,\"r\":23}},\"d\":[{\"a\":{\"i\":21,\"n\":{\"c\":4}},\"d\":4,\"e\":{\"a\":{\"l\":11},\"s\":0},\"i\":[{\"a\":{\"n\":4,\"r\":0},\"e\":19,\"o\":[{\"u\":5,\"s\":1},3],\"t\":2,\"u\":4},24],\"l\":{\"e\":23},\"o\":{\"m\":21,\"w\":3},\"r\":21,\"u\":[{\"o\":4},24]},25],\"e\":[{\"d\":{\"e\":0},\"g\":{\"a\":113},\"l\":{\"d\":12},\"n\":{\"a\":67,\"e\":0,\"n\":19,\"t\":{\"i\":23}},\"r\":{\".\":29},\"s\":{\"c\":23,\"t\":29},\"t\":23},112],\"f\":{\".\":18,\"e\":{\"r\":{\"o\":4}},\"f\":{\"e\":{\"n\":5},\"r\":1},\"i\":{\"c\":{\".\":18},\"e\":23},\"l\":23,\"t\":18,\"a\":{\"c\":{\"e\":{\"t\":137}}}},\"g\":[{\"a\":{\"b\":5},\"e\":{\"r\":{\"a\":3}},\"h\":{\"t\":{\"i\":12}},\"i\":[{\"b\":23,\"l\":3,\"n\":3,\"t\":3},18],\"l\":28,\"o\":[{\"r\":3,\"t\":4},24],\"r\":{\"e\":19},\"u\":{\"i\":5,\"r\":2},\"n\":{\"i\":{\"t\":[{\"e\":{\"r\":213}},0]}}},25],\"h\":23,\"i\":114,\"j\":[{\"k\":21},23],\"k\":18,\"l\":{\"a\":[{\"b\":93,\"d\":{\"e\":21},\"m\":94,\"r\":{\"a\":5}},29],\"e\":{\"g\":23,\"r\":2,\"v\":17},\"f\":4,\"i\":[{\"a\":3,\"b\":9,\"o\":3,\"s\":{\"t\":1},\"t\":25,\"z\":9},2],\"l\":{\"a\":{\"b\":5}},\"n\":18,\"o\":{\"q\":3},\"t\":{\"y\":1},\"u\":{\"r\":4},\"v\":3},\"m\":{\"a\":{\"g\":[{\"e\":3},21],\"r\":{\"y\":5}},\"e\":{\"n\":{\"t\":{\"a\":{\"r\":10}}},\"t\":18},\"i\":[{\"d\":{\"a\":4},\"l\":{\"e\":5},\"n\":{\"i\":19},\"t\":18},2],\"n\":{\"i\":1},\"o\":{\"n\":23},\"u\":[{\"l\":{\"a\":3}},24],\"p\":{\"e\":{\"d\":{\"a\":201}}}},\"n\":{\".\":25,\"a\":{\"u\":83,\"v\":18},\"c\":{\"e\":{\"l\":36,\"r\":3}},\"d\":[{\"l\":{\"i\":{\"n\":{\"g\":4}}}},18],\"e\":[{\"e\":23,\"r\":{\"a\":{\"r\":17}},\"s\":{\"s\":19}},25],\"g\":{\"a\":18,\"e\":[{\"n\":4},18],\"i\":18,\"l\":{\"i\":{\"n\":{\"g\":4}}},\"o\":18,\"u\":18},\"i\":[{\".\":19,\"a\":21,\"o\":3,\"s\":2,\"t\":{\"e\":{\".\":19,\"l\":{\"y\":{\".\":19}}},\"i\":{\"o\":32},\"y\":3}},25],\"k\":18,\"l\":18,\"n\":25,\"o\":[{\"c\":90,\"s\":0,\"t\":21},42],\"s\":[{\"e\":3,\"u\":{\"r\":{\"a\":7}}},25],\"t\":{\".\":25,\"h\":112},\"u\":[{\"s\":19},2],\"y\":18,\"f\":{\"r\":{\"a\":{\"s\":220}}}},\"o\":[{\".\":18,\"g\":{\"e\":17,\"r\":9},\"l\":29,\"m\":1,\"n\":{\"a\":{\"t\":11},\"e\":{\"r\":{\"y\":0}},\"i\":11},\"p\":{\"h\":4},\"r\":{\"i\":11},\"s\":21,\"t\":{\"h\":4,\"i\":19,\"o\":1},\"u\":{\"r\":21}},25],\"p\":[{\"e\":0,\"h\":{\"r\":{\"a\":{\"s\":115}}},\"i\":[{\"c\":1},3],\"r\":{\"e\":96},\"u\":{\"l\":3}},25],\"q\":{\"u\":{\"a\":23,\"e\":{\"f\":4},\"i\":{\"d\":3,\"t\":116}}},\"r\":[{\"a\":[{\"b\":0,\"c\":21},29],\"d\":{\"e\":5},\"e\":{\"d\":{\"e\":0},\"f\":21,\"l\":117,\"s\":21},\"g\":{\"i\":4},\"i\":[{\"d\":{\"e\":5},\"s\":1,\"t\":{\"u\":11},\"z\":118},2],\"m\":{\"i\":{\"n\":1}},\"o\":{\"g\":0,\"n\":{\".\":32}},\"u\":{\"l\":4},\"r\":{\"e\":{\"v\":{\"o\":{\"c\":221}}}}},18],\"s\":{\".\":25,\"a\":{\"g\":4,\"r\":3,\"s\":6},\"c\":[{\"h\":3},119],\"e\":[{\"r\":3},18],\"f\":27,\"h\":{\"a\":{\"n\":4},\"o\":{\"n\":3,\"p\":5}},\"i\":{\"b\":3,\"d\":0,\"s\":19,\"t\":{\"i\":{\"v\":4}}},\"k\":26,\"l\":{\"a\":{\"n\":36}},\"m\":{\"s\":18},\"o\":[{\"m\":{\"e\":{\"r\":5}}},24],\"p\":[{\"i\":9,\"y\":1},2],\"s\":[{\"a\":{\"l\":1},\"e\":{\"n\":36,\"s\":1}},62],\"t\":{\"a\":{\".\":1},\"e\":2,\"i\":2,\"l\":{\"y\":0},\"r\":{\"a\":{\"l\":18}}},\"u\":[{\"s\":4},24]},\"t\":{\"a\":{\".\":18,\"b\":{\"i\":0},\"g\":21,\"m\":120,\"n\":23,\"t\":23},\"e\":[{\"r\":{\"a\":3,\"i\":19},\"s\":[{\"i\":{\"m\":{\"a\":29}}},1]},25],\"h\":[{\"i\":{\"l\":148}},25],\"i\":[{\"a\":18,\"c\":[{\"a\":3,\"k\":31},22],\"g\":3,\"l\":{\"l\":4},\"m\":24,\"o\":25,\"s\":[{\"m\":21},18],\"n\":{\"e\":{\"r\":{\"a\":{\"r\":158}}}}},29],\"o\":{\"m\":121,\"n\":18},\"r\":{\"a\":{\"m\":21},\"y\":4},\"t\":18,\"u\":{\"a\":{\"t\":3},\"d\":19,\"l\":3},\"z\":{\".\":18}},\"u\":29,\"v\":[{\"e\":{\"l\":{\"l\":3},\"n\":{\".\":3},\"r\":{\".\":83,\"s\":{\".\":21}}},\"i\":{\"l\":{\".\":4},\"o\":4,\"t\":2},\"o\":{\"r\":{\"e\":19,\"o\":35},\"t\":83}},25],\"w\":56,\"x\":{\"o\":1},\"y\":18,\"z\":{\"a\":{\"r\":18},\"i\":0,\"o\":{\"n\":{\"t\":32}}}},\"j\":{\"a\":[{\"c\":{\"q\":0},\"p\":[{\"a\":{\"n\":{\"e\":{\"s\":220}}}},1],\"n\":{\"u\":{\"a\":12}}},32],\"e\":[{\"r\":{\"s\":5,\"e\":{\"m\":222}},\"s\":{\"t\":{\"i\":{\"e\":18},\"y\":18}},\"w\":11},41],\"o\":{\"p\":1},\"u\":{\"d\":{\"g\":32}}},\"k\":{\"a\":{\".\":27,\"b\":23,\"g\":19,\"i\":{\"s\":17},\"l\":0},\"b\":29,\"e\":{\"d\":24,\"e\":41,\"g\":1,\"l\":{\"i\":[{\"n\":{\"g\":223}},4]},\"n\":{\"d\":73},\"r\":29,\"s\":[{\"t\":{\".\":23}},0],\"t\":{\"y\":1}},\"f\":23,\"h\":1,\"i\":[{\".\":32,\"c\":122,\"l\":{\"l\":21,\"o\":6},\"m\":21,\"n\":{\".\":21,\"d\":{\"e\":0},\"e\":{\"s\":{\"s\":19},\"t\":{\"i\":{\"c\":224}}},\"g\":0},\"p\":1,\"s\":[{\"h\":19},0]},29],\"k\":1,\"l\":[{\"e\":{\"y\":18},\"y\":18},29],\"m\":29,\"n\":{\"e\":{\"s\":19},\"o\":69},\"o\":{\"r\":4,\"s\":{\"h\":17},\"u\":23,\"v\":{\"i\":{\"a\":{\"n\":41}}}},\"r\":{\"o\":{\"n\":5}},\"s\":[{\"c\":21,\"l\":1,\"y\":21,\"h\":{\"a\":23}},101],\"t\":19,\"w\":29},\"l\":{\"a\":{\"b\":{\"i\":{\"c\":11},\"o\":21},\"c\":{\"i\":[{\"e\":225},17]},\"d\":{\"e\":21,\"y\":3},\"g\":{\"n\":0},\"m\":{\"o\":11},\"n\":{\"d\":[{\"l\":0},27],\"e\":{\"t\":5},\"t\":{\"e\":0}},\"r\":{\"g\":0,\"i\":11,\"c\":{\"e\":{\"n\":176}}},\"s\":{\"e\":0},\"t\":{\"a\":{\"n\":4},\"e\":{\"l\":{\"i\":18}},\"i\":{\"v\":18}},\"v\":[{\"a\":95},18],\"i\":{\"n\":{\"e\":{\"s\":{\"s\":226}}}}},\"b\":[{\"i\":{\"n\":17}},42],\"c\":[{\"e\":0,\"i\":23,\"h\":{\"a\":{\"i\":23},\"i\":{\"l\":{\"d\":227}}}},101],\"d\":[{\"e\":[{\"r\":{\"e\":1,\"i\":1}},24],\"i\":[{\"s\":4},0],\"r\":[{\"i\":21},23]},25],\"e\":{\"a\":[{\"d\":{\"e\":{\"r\":{\".\":183}}},\"s\":{\"a\":228}},9],\"b\":{\"i\":1},\"f\":{\"t\":6},\"g\":{\".\":32,\"g\":32,\"e\":{\"n\":{\"d\":{\"r\":{\"e\":230}}}}},\"m\":{\"a\":{\"t\":[{\"i\":{\"c\":5}},1]}},\"n\":{\".\":18,\"c\":27,\"e\":{\".\":32},\"t\":41,\"o\":{\"i\":{\"d\":78}}},\"p\":{\"h\":3,\"r\":1},\"r\":{\"a\":{\"b\":6},\"e\":0,\"g\":27,\"i\":68,\"o\":21},\"s\":[{\"c\":{\"o\":4},\"q\":32,\"s\":[{\".\":32},27]},8],\"v\":{\"a\":23,\"e\":{\"r\":{\".\":0,\"a\":0,\"s\":0}}},\"y\":[{\"e\":18},27],\"c\":{\"t\":{\"a\":{\"b\":229}}}},\"f\":[{\"r\":19},25],\"g\":[{\"a\":[{\"r\":12},19],\"e\":{\"s\":21},\"o\":11},80],\"h\":48,\"i\":{\"a\":{\"g\":1,\"m\":9,\"r\":{\"i\":{\"z\":6}},\"s\":1,\"t\":{\"o\":1}},\"b\":{\"i\":4},\"c\":{\"i\":{\"o\":32},\"o\":{\"r\":1},\"s\":18,\"t\":{\".\":18},\"u\":21,\"y\":23},\"d\":{\"a\":23,\"e\":{\"r\":5},\"i\":27},\"f\":{\"e\":{\"r\":11},\"f\":21,\"l\":1},\"g\":{\"a\":{\"t\":{\"e\":32}},\"h\":27,\"r\":{\"a\":1}},\"k\":27,\"l\":123,\"m\":{\"b\":{\"l\":0},\"i\":11,\"o\":1,\"p\":90},\"n\":{\"a\":21,\"e\":[{\"a\":11},124],\"i\":11,\"k\":{\"e\":{\"r\":6}}},\"o\":{\"g\":4},\"q\":125,\"s\":{\"p\":0},\"t\":[{\".\":24,\"i\":{\"c\":{\"a\":32,\"s\":108}},\"h\":{\"o\":{\"g\":204}}},29],\"v\":{\"e\":{\"r\":11}},\"z\":29},\"j\":18,\"k\":{\"a\":[{\"l\":23,\"t\":0},11]},\"l\":[{\"a\":{\"w\":21},\"e\":[{\"a\":19,\"c\":23,\"g\":23,\"l\":23,\"n\":73,\"t\":73},24],\"i\":[{\"n\":[{\"a\":19},126],\"s\":{\"h\":231}},9],\"o\":[{\"q\":{\"u\":{\"i\":10}},\"u\":{\"t\":4},\"w\":19},1],\"f\":{\"l\":2}},29],\"m\":[{\"e\":{\"t\":19},\"i\":{\"n\":{\"g\":3}},\"o\":{\"d\":21,\"n\":[{\"e\":{\"l\":{\"l\":232}}},17]}},25],\"n\":81,\"o\":{\".\":27,\"b\":{\"a\":{\"l\":5},\"o\":{\"t\":{\"o\":233}}},\"c\":{\"i\":1},\"f\":18,\"g\":{\"i\":{\"c\":27},\"o\":19,\"u\":27,\"e\":{\"s\":{\".\":9}}},\"m\":{\"e\":{\"r\":11}},\"n\":{\"g\":32,\"i\":[{\"z\":127},0]},\"o\":{\"d\":6},\"p\":{\"e\":{\".\":32},\"i\":11,\"m\":23},\"r\":{\"a\":[{\"t\":{\"o\":1}},17],\"i\":{\"e\":4},\"o\":{\"u\":5}},\"s\":{\".\":32,\"e\":{\"t\":5},\"o\":{\"p\":{\"h\":{\"i\":{\"z\":32},\"y\":32}}},\"t\":0},\"t\":{\"a\":1},\"u\":{\"n\":{\"d\":6},\"t\":25},\"v\":18,\"a\":{\"d\":{\"e\":{\"d\":{\".\":17},\"r\":{\".\":183}}}}},\"p\":[{\"a\":{\"b\":5},\"h\":{\"a\":23,\"i\":19},\"i\":{\"n\":{\"g\":4},\"t\":23},\"l\":21,\"r\":19},25],\"r\":43,\"s\":[{\"c\":21,\"e\":24,\"i\":{\"e\":21}},81],\"t\":[{\"a\":{\"g\":4,\"n\":{\"e\":7}},\"e\":[{\"n\":17,\"r\":{\"a\":36},\"a\":23},29],\"h\":{\"i\":[{\"l\":{\"y\":148}},11]},\"i\":{\"e\":{\"s\":{\".\":19}},\"s\":17},\"r\":29,\"u\":[{\"r\":{\"a\":12}},8]},18],\"u\":{\"a\":4,\"b\":{\"r\":3},\"c\":{\"h\":17,\"i\":3},\"e\":{\"n\":3,\"p\":15},\"f\":0,\"i\":{\"d\":4},\"m\":{\"a\":1,\"i\":32,\"n\":{\".\":19,\"i\":{\"a\":32}},\"b\":{\"i\":{\"a\":{\".\":235}}}},\"o\":[{\"r\":11},3],\"p\":18,\"s\":{\"s\":17,\"t\":{\"e\":11}},\"t\":41,\"n\":{\"k\":{\"e\":{\"r\":234}}}},\"v\":{\"e\":{\"n\":19,\"t\":128}},\"w\":42,\"y\":[{\"a\":18,\"b\":18,\"m\":{\"e\":4},\"n\":{\"o\":3},\"s\":[{\"e\":19,\"t\":{\"y\":{\"r\":4}}},58],\"g\":{\"a\":{\"m\":{\"i\":236}}}},41]},\"m\":{\"a\":[{\"b\":25,\"c\":{\"a\":9,\"h\":{\"i\":{\"n\":{\"e\":4}}},\"l\":1},\"g\":{\"i\":{\"n\":5},\"n\":32},\"h\":25,\"i\":{\"d\":6},\"l\":{\"d\":18,\"i\":{\"g\":3,\"n\":4},\"l\":{\"i\":0},\"t\":{\"y\":0},\"a\":{\"p\":222}},\"n\":{\"i\":{\"a\":32,\"s\":5,\"z\":11},\".\":24,\"u\":{\"s\":{\"c\":237}}},\"p\":[{\"h\":{\"r\":{\"o\":244}}},18],\"r\":{\"i\":{\"n\":{\"e\":{\".\":4}},\"z\":4},\"l\":{\"y\":0},\"v\":11,\"g\":{\"i\":{\"n\":238}}},\"s\":{\"c\":{\"e\":4},\"e\":0,\"t\":15},\"t\":{\"e\":32,\"h\":12,\"i\":{\"s\":3,\"z\":{\"a\":18}}}},41],\"b\":[{\"a\":{\"t\":129},\"i\":{\"l\":19,\"n\":{\"g\":83},\"v\":0}},43],\"c\":56,\"e\":{\".\":18,\"d\":[{\".\":18,\"i\":{\"a\":32,\"e\":3,\"c\":[{\"i\":{\"n\":152}},84],\"o\":{\"c\":239}},\"y\":108},25],\"g\":[{\"r\":{\"a\":{\"n\":240}}},9],\"l\":{\"o\":{\"n\":5},\"t\":0},\"m\":[{\"o\":130},9],\"n\":[{\"a\":[{\"c\":5},0],\"d\":{\"e\":0},\"e\":18,\"i\":0,\"s\":[{\"u\":7},17],\"t\":[{\"e\":0},27],\".\":24},41],\"o\":{\"n\":4},\"r\":{\"s\":{\"a\":19}},\"s\":[{\"t\":{\"i\":27}},25],\"t\":{\"a\":[{\"l\":11},1],\"e\":2,\"h\":{\"i\":4},\"r\":[{\"i\":{\"c\":32,\"e\":4},\"y\":3},21]},\"v\":1},\"f\":43,\"h\":25,\"i\":{\".\":32,\"a\":3,\"d\":{\"a\":[{\"b\":241},0],\"g\":0},\"g\":0,\"l\":{\"i\":{\"a\":27,\"e\":108,\"t\":{\"a\":27}},\"l\":[{\"a\":{\"g\":208},\"i\":{\"l\":{\"i\":59}}},21]},\"n\":{\"a\":0,\"d\":27,\"e\":{\"e\":19},\"g\":{\"l\":[{\"i\":5,\"y\":19},21]},\"t\":0,\"u\":[{\"t\":{\"e\":{\"r\":242,\"s\":{\"t\":242}}}},21],\"i\":{\"s\":{\".\":174}}},\"o\":{\"t\":17},\"s\":[{\"e\":{\"r\":{\".\":0}},\"l\":5,\"t\":{\"i\":0,\"r\":{\"y\":19}}},24],\"t\":{\"h\":18},\"z\":24},\"k\":18,\"l\":43,\"m\":[{\"a\":{\"r\":{\"y\":5},\"b\":243}},29],\"n\":[{\"a\":1,\"i\":{\"n\":21},\"o\":1},43],\"o\":[{\"c\":{\"r\":[{\"a\":{\"t\":[{\"i\":{\"z\":32}},245]}},18]},\"d\":131,\"g\":{\"o\":1},\"i\":{\"s\":[{\"e\":5},84]},\"k\":18,\"l\":{\"e\":{\"s\":{\"t\":4},\"c\":246}},\"m\":{\"e\":3},\"n\":{\"e\":{\"t\":5,\"y\":{\"l\":247}},\"g\":{\"e\":5},\"i\":{\"a\":12,\"s\":{\"m\":0,\"t\":0},\"z\":3},\"o\":{\"l\":36,\"c\":{\"h\":12},\"e\":{\"n\":171},\"s\":249},\"y\":{\".\":3}},\"r\":[{\"a\":{\".\":18},\"o\":{\"n\":{\"i\":{\"s\":248}}}},9],\"s\":[{\"e\":{\"y\":4},\"p\":3},8],\"t\":{\"h\":[{\"e\":{\"t\":250}},12]},\"u\":{\"f\":19,\"s\":[{\"i\":{\"n\":98}},27]},\"v\":9,\"e\":{\"l\":{\"a\":{\"s\":167}}}},41],\"p\":[{\"a\":{\"r\":{\"a\":[{\"b\":5},7],\"i\":6}},\"e\":{\"t\":23},\"h\":{\"a\":{\"s\":36}},\"i\":[{\"a\":0,\"e\":{\"s\":4},\"n\":34,\"r\":19,\"s\":4},24],\"o\":{\"r\":{\"i\":11},\"s\":{\"i\":{\"t\":{\"e\":6}}},\"u\":{\"s\":21},\"v\":6},\"t\":{\"r\":1},\"y\":24},43],\"r\":47,\"s\":[{\"h\":[{\"a\":{\"c\":{\"k\":251}}},21],\"i\":19},101],\"t\":18,\"u\":[{\"l\":{\"a\":{\"r\":49},\"t\":[{\"i\":[{\"u\":252},54]},32]},\"m\":27,\"n\":8,\"p\":18,\"u\":1,\"d\":{\"r\":{\"o\":9}}},41],\"w\":18},\"n\":{\"a\":[{\"b\":[{\"u\":21},81],\"c\":{\".\":18,\"a\":1,\"t\":19},\"g\":{\"e\":{\"r\":{\".\":5}}},\"k\":0,\"l\":{\"i\":[{\"a\":4},1],\"t\":18},\"m\":{\"i\":{\"t\":4}},\"n\":[{\"c\":{\"i\":36},\"i\":{\"t\":0},\"k\":17},24],\"r\":{\"c\":[{\"h\":{\"s\":{\".\":73}}},11],\"e\":18,\"i\":11,\"l\":0,\"m\":19},\"s\":[{\"c\":0,\"t\":{\"i\":5}},21],\"t\":[{\"a\":{\"l\":3},\"o\":{\"m\":{\"i\":{\"z\":6}}}},24],\"u\":[{\"s\":{\"e\":11},\"t\":27},24],\"v\":{\"e\":0}},41],\"b\":80,\"c\":{\"a\":{\"r\":6},\"e\":{\"s\":{\".\":21}},\"h\":{\"a\":23,\"e\":{\"o\":19,\"s\":{\"t\":253}},\"i\":{\"l\":19,\"s\":23}},\"i\":{\"n\":2,\"t\":1},\"o\":{\"u\":{\"r\":{\"a\":7}}},\"r\":29,\"u\":29},\"d\":{\"a\":{\"i\":21,\"n\":19},\"e\":[{\"s\":{\"t\":{\".\":4}}},29],\"i\":{\"b\":0,\"f\":79,\"t\":29,\"z\":23,\"e\":{\"c\":{\"k\":29}}},\"u\":{\"c\":19,\"r\":0},\"w\":{\"e\":9},\"t\":{\"h\":{\"r\":3}}},\"e\":{\".\":25,\"a\":{\"r\":23},\"b\":[{\"u\":11,\"a\":{\"c\":{\"k\":3}}},9],\"c\":[{\"k\":32},9],\"d\":25,\"g\":{\"a\":{\"t\":[{\"i\":{\"v\":5}},1]},\"e\":32},\"l\":{\"a\":1,\"i\":{\"z\":5}},\"m\":{\"i\":4,\"o\":1},\"n\":[{\"e\":18},41],\"o\":27,\"p\":{\"o\":1},\"q\":9,\"r\":[{\"a\":{\"b\":6,\"r\":21},\"e\":24,\"i\":132,\"r\":0},29],\"s\":[{\".\":25,\"p\":18,\"t\":25,\"w\":18,\"k\":{\"i\":119}},41],\"t\":{\"i\":{\"c\":27}},\"v\":[{\"e\":19},1],\"w\":1},\"f\":[{\"i\":{\"n\":{\"i\":{\"t\":{\"e\":{\"s\":226}}}}}},23],\"g\":{\"a\":{\"b\":21},\"e\":{\"l\":23,\"n\":{\"e\":[{\"s\":5},133]},\"r\":{\"e\":19,\"i\":23}},\"h\":{\"a\":4,\"o\":2},\"i\":{\"b\":23,\"n\":2,\"t\":19},\"l\":{\"a\":21},\"o\":{\"v\":17},\"s\":{\"h\":4,\"p\":{\"r\":2}},\"u\":[{\"m\":21},29],\"y\":24},\"h\":[{\"a\":[{\"b\":12},0],\"e\":0},80],\"i\":{\"a\":[{\"n\":[{\".\":114},3],\"p\":1},68],\"b\":{\"a\":3,\"l\":1},\"d\":[{\"i\":4},1],\"e\":{\"r\":1},\"f\":{\"i\":[{\"c\":{\"a\":{\"t\":4}}},9]},\"g\":{\"r\":19},\"k\":0,\"m\":[{\"i\":{\"z\":3}},29],\"n\":[{\"e\":{\".\":32},\"g\":0},29],\"o\":1,\"s\":{\".\":32,\"t\":{\"a\":0}},\"t\":[{\"h\":21,\"i\":{\"o\":27},\"o\":{\"r\":23},\"r\":3},24]},\"j\":29,\"k\":[{\"e\":{\"r\":{\"o\":19},\"t\":23},\"i\":{\"n\":3},\"l\":29,\"r\":{\"u\":{\"p\":3}}},44],\"l\":[{\"e\":{\"s\":{\"s\":19}}},43],\"m\":[{\"e\":[{\"t\":17},0]},19],\"n\":[{\"e\":0,\"i\":{\"a\":{\"l\":11},\"v\":0}},101],\"o\":{\"b\":{\"l\":[{\"e\":3},0]},\"c\":{\"l\":19,\"e\":{\"r\":{\"o\":{\"s\":254}}}},\"d\":66,\"e\":27,\"g\":[{\"e\":17},18],\"i\":{\"s\":{\"i\":6}},\"l\":{\"i\":134,\"o\":{\"g\":{\"i\":{\"s\":32}}}},\"m\":{\"i\":{\"c\":27,\"z\":108,\"s\":{\"t\":82}},\"o\":1,\"y\":3,\"a\":{\"l\":214},\"e\":{\"n\":{\"o\":194}}},\"n\":[{\"a\":{\"g\":0},\"i\":[{\"z\":19,\"s\":{\"o\":255}},5],\"e\":{\"q\":15}},1],\"p\":[{\"o\":{\"l\":{\"i\":135,\"y\":{\".\":256}}}},18],\"r\":{\"a\":{\"b\":5,\"r\":{\"y\":1}}},\"s\":{\"c\":18,\"e\":0,\"t\":5},\"t\":{\"a\":4},\"u\":[{\"n\":27},41],\"v\":{\"e\":{\"l\":136,\"m\":{\"b\":2}}},\"w\":{\"l\":12}},\"p\":[{\"i\":0,\"r\":{\"e\":{\"c\":17}}},72],\"q\":29,\"r\":[{\"u\":0},29],\"s\":[{\"a\":{\"b\":4,\"t\":{\"i\":36}},\"c\":[{\"e\":{\"i\":{\"v\":4}}},1],\"e\":[{\"s\":83},24],\"i\":{\"d\":137,\"g\":17},\"l\":24,\"m\":[{\"o\":{\"o\":1}},3],\"o\":{\"c\":21},\"p\":{\"e\":1,\"i\":19},\"t\":{\"a\":{\"b\":{\"l\":6}}}},81],\"t\":[{\"a\":{\"b\":0},\"e\":{\"r\":{\"s\":12}},\"i\":[{\"b\":19,\"e\":{\"r\":0},\"f\":8,\"n\":{\"e\":23,\"g\":83},\"p\":0},9],\"r\":{\"o\":{\"l\":{\"l\":{\"i\":7}}},\"e\":{\"p\":137}},\"s\":1,\"u\":{\"m\":{\"e\":11}}},29],\"u\":{\"a\":2,\"d\":1,\"e\":{\"n\":4},\"f\":{\"f\":{\"e\":0}},\"i\":{\"n\":23,\"t\":50},\"m\":[{\"e\":2,\"i\":19},21],\"n\":138,\"o\":23,\"t\":{\"r\":3}},\"v\":74,\"w\":72,\"y\":{\"m\":0,\"p\":0},\"z\":[{\"a\":23},18]},\"o\":{\"a\":[{\"d\":11,\"l\":{\"e\":{\"s\":108}},\"r\":{\"d\":12},\"s\":{\"e\":0,\"t\":{\"e\":6}},\"t\":{\"i\":5}},18],\"b\":{\"a\":{\"b\":35,\"r\":19},\"e\":{\"l\":0},\"i\":[{\"n\":[{\"g\":4},24]},29],\"r\":23,\"u\":{\"l\":3},\"l\":{\"i\":{\"g\":189}}},\"c\":{\"e\":29,\"h\":[{\"e\":{\"t\":23},\"a\":{\"s\":23}},0],\"i\":{\"f\":12,\"l\":21},\"l\":{\"a\":{\"m\":21}},\"o\":{\"d\":21},\"r\":{\"a\":{\"c\":3,\"t\":{\"i\":{\"z\":4}}},\"e\":12,\"i\":{\"t\":32}},\"t\":{\"o\":{\"r\":{\"a\":7}}},\"u\":{\"l\":{\"a\":3},\"r\":{\"e\":19}}},\"d\":{\"d\":{\"e\":{\"d\":4}},\"i\":{\"c\":3,\"o\":11,\"t\":{\"i\":{\"c\":137}}},\"o\":[{\"r\":12},139],\"u\":{\"c\":{\"t\":{\".\":4,\"s\":4}}},\"e\":{\"l\":{\"l\":{\"i\":12}}}},\"e\":{\"l\":21,\"n\":{\"g\":19},\"r\":[{\"s\":{\"t\":257}},23],\"t\":{\"a\":1},\"v\":23},\"f\":{\"i\":[{\"t\":{\"e\":4,\"t\":17}},24]},\"g\":{\"a\":{\"r\":121,\"t\":{\"i\":{\"v\":4},\"o\":21}},\"e\":[{\"n\":{\"e\":19},\"o\":19,\"r\":21},29],\"i\":{\"e\":23,\"s\":140,\"t\":3},\"l\":[{\"y\":79},21],\"n\":{\"i\":{\"z\":27}},\"r\":{\"o\":21},\"u\":{\"i\":5},\"y\":[{\"n\":25},41]},\"h\":[{\"a\":{\"b\":6}},74],\"i\":[{\"c\":{\"e\":{\"s\":11}},\"d\":{\"e\":{\"r\":3}},\"f\":{\"f\":17},\"g\":0,\"l\":{\"e\":{\"t\":4}},\"n\":{\"g\":23,\"t\":{\"e\":{\"r\":6}}},\"s\":{\"m\":19,\"o\":{\"n\":4},\"t\":{\"e\":{\"n\":6}}},\"t\":{\"e\":{\"r\":3}}},9],\"j\":19,\"k\":[{\"e\":{\"n\":23,\"s\":{\"t\":15}},\"i\":{\"e\":4}},25],\"l\":{\"a\":[{\"n\":21,\"s\":{\"s\":36}},29],\"d\":[{\"e\":15},9],\"e\":{\"r\":3,\"s\":{\"c\":23,\"t\":{\"e\":{\"r\":88}}},\"t\":23},\"f\":{\"i\":1},\"i\":[{\"a\":23,\"c\":{\"e\":23},\"d\":{\".\":4},\"f\":73,\"l\":19,\"n\":{\"g\":3},\"o\":19,\"s\":{\".\":19,\"h\":3},\"t\":{\"e\":19,\"i\":{\"o\":19}},\"v\":19,\"g\":{\"o\":{\"p\":{\"o\":258}}}},9],\"l\":{\"i\":{\"e\":17}},\"o\":{\"g\":{\"i\":{\"z\":4}},\"r\":0,\"n\":{\"o\":{\"m\":259}}},\"p\":{\"l\":4},\"t\":9,\"u\":{\"b\":3,\"m\":{\"e\":3},\"n\":3,\"s\":19},\"v\":9,\"y\":24},\"m\":{\"a\":{\"h\":4,\"l\":5,\"t\":{\"i\":{\"z\":4}}},\"b\":{\"e\":9,\"l\":1},\"e\":[{\"n\":{\"a\":3},\"r\":{\"s\":{\"e\":4}},\"t\":[{\"r\":{\"y\":4}},21],\"c\":{\"h\":{\"a\":260}}},24],\"i\":{\"a\":23,\"c\":{\".\":3,\"a\":3},\"d\":19,\"n\":[{\"i\":19},2]},\"m\":{\"e\":{\"n\":{\"d\":32}}},\"o\":{\"g\":{\"e\":0},\"n\":21},\"p\":{\"i\":3,\"r\":{\"o\":7}}},\"n\":[{\"a\":[{\"c\":1,\"n\":23},2],\"c\":[{\"i\":{\"l\":27}},2],\"d\":[{\"o\":4},25],\"e\":{\"n\":23,\"s\":{\"t\":4}},\"g\":{\"u\":1},\"i\":{\"c\":2,\"o\":23,\"s\":2,\"u\":19},\"k\":{\"e\":{\"y\":3}},\"o\":{\"d\":{\"i\":1},\"m\":{\"y\":3,\"i\":{\"c\":137}},\"r\":{\"m\":{\"a\":23}},\"t\":{\"o\":{\"n\":261}},\"u\":23},\"s\":[{\"p\":{\"i\":[{\"r\":{\"a\":10}},36]},\"u\":17},3],\"t\":{\"e\":{\"n\":36},\"i\":[{\"f\":7},93]},\"u\":{\"m\":4},\"v\":{\"a\":6}},24],\"o\":[{\"d\":{\"e\":5,\"i\":5},\"k\":1,\"p\":{\"i\":11},\"r\":{\"d\":23},\"s\":{\"t\":6}},9],\"p\":{\"a\":24,\"e\":{\"d\":5,\"r\":[{\"a\":[{\"g\":18},27]},2]},\"h\":[{\"a\":{\"n\":19},\"e\":{\"r\":19}},25],\"i\":{\"n\":{\"g\":3},\"t\":23,\"s\":{\"m\":{\".\":2}}},\"o\":{\"n\":19,\"s\":{\"i\":21}},\"r\":29,\"u\":2,\"y\":5},\"q\":29,\"r\":{\"a\":[{\".\":19,\"g\":83,\"l\":{\"i\":{\"z\":4}},\"n\":{\"g\":{\"e\":4}}},29],\"e\":{\"a\":[{\"l\":19},5],\"i\":3,\"s\":{\"h\":5,\"t\":{\".\":4}},\"w\":17},\"g\":{\"u\":1},\"i\":{\"a\":56,\"c\":{\"a\":3},\"l\":19,\"n\":2,\"o\":29,\"t\":{\"y\":3},\"u\":23},\"m\":{\"i\":9},\"n\":{\"e\":8},\"o\":{\"f\":19,\"u\":{\"g\":3}},\"p\":{\"e\":4},\"r\":{\"h\":27},\"s\":{\"e\":[{\"n\":5},1],\"t\":17},\"t\":{\"h\":{\"i\":3,\"y\":3,\"o\":{\"n\":{\"i\":{\"t\":262}}},\"r\":{\"i\":137}},\"y\":1,\"i\":{\"v\":{\"e\":{\"l\":{\"y\":4}}}}},\"u\":{\"m\":19},\"y\":29},\"s\":{\"a\":{\"l\":3},\"c\":[{\"e\":1,\"o\":{\"p\":[{\"i\":18},23]},\"r\":19},9],\"i\":{\"e\":95,\"t\":{\"i\":{\"v\":4},\"o\":3,\"y\":3},\"u\":0},\"l\":1,\"o\":24,\"p\":{\"a\":1,\"o\":1,\"h\":{\"e\":{\"r\":83}}},\"t\":{\"a\":[{\"t\":{\"i\":19}},9],\"i\":{\"l\":4,\"t\":4}}},\"t\":{\"a\":{\"n\":21},\"e\":{\"l\":{\"e\":{\"g\":36}},\"r\":{\".\":3,\"s\":4},\"s\":[{\"t\":{\"e\":{\"r\":263},\"o\":{\"r\":264}}},21]},\"h\":[{\"e\":{\"s\":{\"i\":5},\"o\":{\"s\":265}},\"i\":14},18],\"i\":{\"c\":{\".\":3,\"a\":4,\"e\":23},\"f\":23,\"s\":23},\"o\":{\"s\":5}},\"u\":[{\"b\":{\"l\":3,\"a\":{\"d\":{\"o\":116}}},\"c\":{\"h\":{\"i\":6}},\"e\":{\"t\":4},\"l\":1,\"n\":{\"c\":{\"e\":{\"r\":6}},\"d\":8},\"v\":4},9],\"v\":{\"e\":{\"n\":1,\"r\":{\"n\":{\"e\":17},\"s\":12,\"t\":1}},\"i\":{\"s\":23,\"t\":{\"i\":36},\"a\":{\"n\":{\".\":266}}},\"o\":{\"l\":60}},\"w\":{\"d\":{\"e\":{\"r\":3}},\"e\":{\"l\":3,\"s\":{\"t\":4}},\"i\":2,\"n\":{\"i\":5},\"o\":21},\"y\":{\"a\":2},\"x\":{\"i\":{\"d\":{\"i\":{\"c\":267}}}}},\"p\":{\"a\":[{\"c\":{\"a\":1,\"e\":1,\"t\":0},\"d\":21,\"g\":{\"a\":{\"n\":32,\"t\":23}},\"i\":[{\"n\":17},21],\"l\":[{\"m\":{\"a\":{\"t\":268}}},21],\"n\":{\"a\":0,\"e\":{\"l\":11},\"t\":{\"y\":0},\"y\":3},\"p\":[{\"u\":1},2],\"r\":{\"a\":{\"b\":{\"l\":6},\"g\":{\"e\":5,\"r\":{\"a\":269}},\"l\":{\"e\":228},\"m\":[{\"e\":12},36]},\"d\":{\"i\":5},\"e\":[{\"l\":5},27],\"i\":[{\"s\":0},28]},\"t\":{\"e\":[{\"r\":4},9],\"h\":{\"i\":{\"c\":32},\"y\":4},\"r\":{\"i\":{\"c\":1}}},\"v\":0,\"y\":27},41],\"b\":43,\"d\":1,\"e\":{\".\":18,\"a\":[{\"r\":{\"l\":17}},138],\"c\":9,\"d\":[{\"e\":27,\"i\":[{\"a\":36,\"c\":0},27]},37],\"e\":[{\"d\":0,\"v\":208},21],\"k\":0,\"l\":{\"a\":1,\"i\":{\"e\":17}},\"n\":{\"a\":{\"n\":1},\"c\":21,\"t\":{\"h\":0}},\"o\":{\"n\":4},\"r\":{\"a\":{\".\":21,\"b\":{\"l\":6},\"g\":21},\"i\":[{\"s\":{\"t\":6}},21],\"m\":{\"a\":{\"l\":0},\"e\":7},\"n\":21,\"o\":11,\"t\":{\"i\":11},\"u\":4,\"v\":15},\"t\":[{\"e\":{\"n\":4},\"i\":{\"z\":4}},9]},\"f\":18,\"g\":18,\"h\":{\".\":18,\"a\":{\"r\":{\"i\":6}},\"e\":{\"n\":{\"o\":11},\"r\":1,\"s\":{\".\":1}},\"i\":{\"c\":2,\"e\":32,\"n\":{\"g\":4},\"s\":{\"t\":{\"i\":32}},\"z\":27,\"l\":{\"a\":{\"n\":{\"t\":168},\"t\":{\"e\":{\"l\":270}}}}},\"l\":9,\"o\":{\"b\":27,\"n\":{\"e\":27,\"i\":32},\"r\":0},\"s\":18,\"t\":3,\"u\":32,\"y\":41},\"i\":{\"a\":[{\"n\":17},3],\"c\":{\"i\":{\"e\":1},\"y\":1,\"a\":{\"d\":271}},\"d\":[{\"a\":19,\"e\":3,\"i\":32},21],\"e\":{\"c\":27,\"n\":3},\"g\":{\"r\":{\"a\":{\"p\":1}}},\"l\":{\"o\":3},\"n\":[{\".\":21,\"d\":17,\"o\":21},9],\"o\":[{\"n\":17},141],\"t\":{\"h\":[{\"a\":4},23],\"u\":9}},\"k\":142,\"l\":[{\"a\":{\"n\":27,\"s\":{\"t\":6}},\"i\":{\"a\":11,\"e\":{\"r\":5},\"g\":18,\"n\":[{\"a\":{\"r\":5}},0],\"c\":{\"a\":{\"b\":208}}},\"o\":{\"i\":17},\"u\":{\"m\":[{\"b\":17},0]}},143],\"m\":43,\"n\":48,\"o\":{\"c\":1,\"d\":{\".\":32},\"e\":{\"m\":4,\"t\":144},\"g\":145,\"i\":{\"n\":[{\"t\":32,\"c\":{\"a\":12}},84]},\"l\":{\"y\":{\"t\":6,\"e\":137,\"p\":{\"h\":{\"o\":{\"n\":{\"o\":272}}}}},\"e\":{\".\":41}},\"n\":{\"i\":1},\"p\":1,\"r\":[{\"y\":1},124],\"s\":[{\"s\":15},41],\"t\":[{\"a\":1},21],\"u\":{\"n\":32}},\"p\":[{\"a\":{\"r\":{\"a\":5}},\"e\":[{\"d\":21,\"l\":19,\"n\":23,\"r\":23,\"t\":23},24],\"o\":{\"s\":{\"i\":{\"t\":{\"e\":5}}}}},43],\"r\":[{\"a\":{\"y\":{\"e\":17}},\"e\":{\"c\":{\"i\":32,\"o\":5},\"e\":{\"m\":11},\"f\":{\"a\":{\"c\":6}},\"l\":{\"a\":0},\"r\":11,\"s\":{\"e\":23,\"s\":27,\"p\":{\"l\":{\"i\":84}}},\"t\":{\"e\":{\"n\":5}},\"v\":11,\"m\":{\"a\":{\"c\":273}},\"n\":{\"e\":{\"u\":15}}},\"i\":{\"e\":53,\"n\":{\"t\":146},\"s\":[{\"o\":12},0]},\"o\":{\"c\":{\"a\":23,\"e\":{\"s\":{\"s\":8}},\"i\":{\"t\":{\"y\":{\".\":274}}}},\"f\":{\"i\":{\"t\":6}},\"l\":11,\"s\":{\"e\":12},\"t\":15,\"g\":{\"e\":208}}},9],\"s\":[{\"e\":[{\"u\":{\"d\":[{\"o\":{\"d\":276,\"f\":276}},275]}},24],\"h\":1,\"i\":{\"b\":21}},81],\"t\":[{\"a\":{\"b\":134},\"e\":24,\"h\":24,\"i\":{\"m\":11},\"u\":{\"r\":0},\"w\":21,\"o\":{\"m\":{\"a\":{\"t\":277}}},\"r\":{\"o\":{\"l\":278}}},42],\"u\":{\"b\":[{\"e\":{\"s\":{\"c\":181}}},11],\"e\":0,\"f\":0,\"l\":{\"c\":11},\"m\":1,\"n\":9,\"r\":{\"r\":0},\"s\":32,\"t\":[{\"e\":[{\"r\":11},32],\"r\":3,\"t\":{\"e\":{\"d\":0},\"i\":{\"n\":0}}},9]},\"w\":23},\"q\":{\"u\":[{\"a\":{\"v\":5,\"i\":{\"n\":{\"t\":{\"e\":279}}},\"s\":{\"i\":[{\"r\":281,\"s\":281},280]}},\"e\":{\".\":25,\"r\":27,\"t\":27},\"i\":{\"n\":{\"t\":{\"e\":{\"s\":{\"s\":282}}}},\"v\":{\"a\":{\"r\":14}}}},9]},\"r\":{\"a\":{\"b\":[{\"i\":3,\"o\":{\"l\":{\"i\":{\"c\":29},\"o\":{\"i\":236}}}},25],\"c\":{\"h\":{\"e\":17,\"u\":3},\"l\":19},\"f\":{\"f\":{\"i\":5},\"t\":0},\"i\":24,\"l\":{\"o\":1},\"m\":{\"e\":{\"t\":[{\"r\":{\"i\":{\"z\":283}}},11],\"n\":24},\"i\":24,\"o\":{\"u\":3}},\"n\":{\"e\":{\"o\":6},\"g\":{\"e\":0},\"i\":21,\"o\":4,\"h\":{\"a\":{\"s\":167}}},\"p\":{\"e\":{\"r\":11},\"h\":{\"y\":27}},\"r\":{\"c\":5,\"e\":[{\"f\":5},17],\"i\":{\"l\":18}},\"s\":24,\"t\":{\"i\":{\"o\":{\"n\":115}}},\"u\":{\"t\":0},\"v\":{\"a\":{\"i\":4},\"e\":{\"l\":11}},\"z\":{\"i\":{\"e\":4}},\"d\":{\"i\":{\"g\":127,\"o\":{\"g\":249}}},\"o\":{\"r\":2}},\"b\":[{\"a\":{\"b\":21,\"g\":21},\"i\":[{\"f\":0,\"n\":[{\"e\":19,\"g\":{\".\":4,\"e\":284}},24]},8],\"o\":1},29],\"c\":[{\"e\":[{\"n\":17},24],\"h\":{\"a\":23,\"e\":{\"r\":0}},\"i\":{\"b\":90,\"t\":1},\"u\":{\"m\":12}},29],\"d\":{\"a\":{\"l\":21},\"i\":[{\"a\":0,\"e\":{\"r\":0},\"n\":[{\"g\":3},17]},9]},\"e\":{\".\":25,\"a\":{\"l\":2,\"n\":3,\"r\":{\"r\":4},\"v\":32,\"w\":1},\"b\":{\"r\":{\"a\":{\"t\":19}}},\"c\":{\"o\":{\"l\":{\"l\":5},\"m\":{\"p\":{\"e\":5}}},\"r\":{\"e\":1},\"i\":{\"p\":{\"r\":285}},\"t\":{\"a\":{\"n\":{\"g\":286}}}},\"d\":[{\"e\":2,\"i\":{\"s\":3,\"t\":5}},37],\"f\":{\"a\":{\"c\":1},\"e\":[{\"r\":{\".\":4}},9],\"i\":3,\"y\":1},\"g\":{\"i\":{\"s\":11}},\"i\":{\"t\":4},\"l\":{\"i\":2,\"u\":4},\"n\":{\"t\":{\"a\":90,\"e\":0}},\"o\":2,\"p\":{\"i\":{\"n\":4},\"o\":{\"s\":{\"i\":1}},\"u\":2},\"r\":[{\"i\":21,\"o\":17,\"u\":4},147],\"s\":{\".\":21,\"p\":{\"i\":1},\"s\":{\"i\":{\"b\":6}},\"t\":[{\"a\":{\"l\":4},\"r\":3},8]},\"t\":{\"e\":{\"r\":1},\"i\":{\"z\":96},\"r\":{\"i\":[{\"b\":{\"u\":85}},3]}},\"u\":[{\"t\":{\"i\":4}},8],\"v\":[{\"a\":{\"l\":1},\"e\":{\"l\":11,\"r\":{\".\":30,\"s\":4,\"t\":4}},\"i\":{\"l\":4},\"o\":{\"l\":{\"u\":5}}},8],\"w\":{\"h\":1}},\"f\":[{\"u\":0,\"y\":21},29],\"g\":[{\"e\":{\"r\":3,\"t\":23},\"i\":{\"c\":23,\"n\":[{\"g\":3},0],\"s\":19,\"t\":19},\"l\":29,\"o\":{\"n\":0},\"u\":23},9],\"h\":[{\".\":18,\"a\":{\"l\":18}},1],\"i\":{\"a\":[{\"b\":0,\"g\":1,\"l\":{\".\":23}},3],\"b\":[{\"a\":11},21],\"c\":{\"a\":{\"s\":5},\"e\":21,\"i\":[{\"d\":32,\"e\":1},18],\"o\":21},\"d\":{\"e\":{\"r\":5}},\"e\":{\"n\":{\"c\":3,\"t\":3},\"r\":2,\"t\":4},\"g\":{\"a\":{\"n\":5},\"i\":32},\"l\":{\"i\":{\"z\":11}},\"m\":{\"a\":{\"n\":32},\"i\":5,\"o\":27,\"p\":{\"e\":0}},\"n\":{\"a\":[{\".\":32},24],\"d\":0,\"e\":0,\"g\":0},\"o\":2,\"p\":{\"h\":[{\"e\":6},32],\"l\":[{\"i\":{\"c\":5}},9]},\"q\":21,\"s\":[{\".\":21,\"c\":0,\"h\":23,\"p\":0},24],\"t\":{\"a\":{\"b\":116},\"e\":{\"d\":{\".\":19},\"r\":{\".\":5,\"s\":5}},\"i\":{\"c\":11},\"u\":[{\"r\":5},9]},\"v\":{\"e\":{\"l\":5,\"t\":11},\"i\":11,\"o\":{\"l\":287}}},\"j\":23,\"k\":{\"e\":{\"t\":23},\"l\":{\"e\":1,\"i\":{\"n\":1}},\".\":288,\"h\":{\"o\":2},\"r\":{\"a\":{\"u\":29}},\"s\":{\".\":288}},\"l\":[{\"e\":[{\"d\":24,\"q\":{\"u\":30}},0],\"i\":{\"g\":21,\"s\":[{\"h\":4},21]},\"o\":73},29],\"m\":[{\"a\":{\"c\":5},\"e\":[{\"n\":23,\"r\":{\"s\":4}},24],\"i\":{\"n\":{\"g\":[{\".\":21},3]},\"o\":21,\"t\":23},\"y\":21},29],\"n\":{\"a\":{\"r\":21},\"e\":{\"l\":23,\"r\":21,\"t\":19,\"y\":23},\"i\":{\"c\":19,\"s\":92,\"t\":23,\"v\":23},\"o\":[{\"u\":21},0],\"u\":23},\"o\":{\"b\":{\"l\":11,\"o\":{\"t\":289}},\"c\":[{\"r\":3},24],\"e\":[{\"l\":{\"a\":{\"s\":167}},\"p\":{\"i\":{\"d\":{\"e\":290}}}},1],\"f\":{\"e\":2,\"i\":{\"l\":4}},\"k\":[{\"e\":{\"r\":4}},8],\"l\":{\"e\":{\".\":32}},\"m\":{\"e\":{\"t\":{\"e\":5},\"s\":{\"h\":3}},\"i\":0,\"p\":0},\"n\":{\"a\":{\"l\":0},\"e\":0,\"i\":{\"s\":134},\"t\":{\"a\":0}},\"o\":{\"m\":41,\"t\":32},\"p\":{\"e\":{\"l\":3},\"i\":{\"c\":11}},\"r\":{\"i\":11,\"o\":4},\"s\":{\"p\":{\"e\":{\"r\":5}},\"s\":0},\"t\":{\"h\":{\"e\":1},\"y\":1,\"r\":{\"o\":{\"n\":2}}},\"v\":{\"a\":1,\"e\":{\"l\":5}},\"x\":5},\"p\":[{\"e\":{\"a\":21,\"n\":{\"t\":19},\"r\":{\".\":4},\"t\":23},\"h\":95,\"i\":{\"n\":{\"g\":3}},\"o\":23,\"a\":{\"u\":{\"l\":{\"i\":291}}}},29],\"r\":[{\"e\":{\"c\":0,\"f\":0,\"o\":21,\"s\":{\"t\":0}},\"i\":{\"o\":0,\"v\":0},\"o\":{\"n\":17,\"s\":17},\"y\":{\"s\":17}},72],\"s\":[{\"a\":[{\"t\":{\"i\":5}},29],\"c\":1,\"e\":[{\"c\":[{\"r\":0},23],\"r\":{\".\":4,\"a\":{\"d\":{\"i\":238}}},\"s\":3,\"v\":148},24],\"h\":[{\"a\":19},29],\"i\":[{\"b\":90},29],\"o\":{\"n\":12},\"p\":29,\"w\":19},44],\"t\":{\"a\":{\"c\":{\"h\":36},\"g\":21},\"e\":{\"b\":23,\"n\":{\"d\":17},\"o\":5},\"i\":[{\"b\":4,\"d\":0,\"e\":{\"r\":21},\"g\":23,\"l\":{\"i\":12,\"l\":17,\"y\":21},\"s\":{\"t\":21},\"v\":21},29],\"r\":{\"i\":23,\"o\":{\"p\":{\"h\":115}},\"e\":{\"u\":29}},\"s\":{\"h\":1},\"h\":{\"o\":{\"u\":29}}},\"u\":{\"a\":3,\"e\":{\"l\":93,\"n\":3},\"g\":{\"l\":1},\"i\":{\"n\":3},\"m\":{\"p\":{\"l\":11}},\"n\":[{\"k\":6,\"t\":{\"y\":0}},9],\"s\":{\"c\":19},\"t\":{\"i\":{\"n\":6}}},\"v\":{\"e\":[{\"l\":{\"i\":17},\"n\":23,\"r\":{\".\":4},\"s\":{\"t\":19},\"y\":23,\"i\":{\"l\":29}},1],\"i\":{\"c\":23,\"v\":0},\"o\":23},\"w\":29,\"y\":{\"c\":1,\"n\":{\"g\":{\"e\":32}},\"t\":3},\"z\":{\"s\":{\"c\":2}}},\"s\":{\"a\":[{\"b\":42,\"c\":{\"k\":32,\"r\":{\"i\":11},\"t\":23},\"i\":32,\"l\":{\"a\":{\"r\":36},\"m\":0,\"o\":4,\"t\":0,\"e\":{\"s\":{\"c\":54,\"w\":7}}},\"n\":{\"c\":27,\"d\":{\"e\":0}},\"p\":[{\"a\":{\"r\":{\"i\":{\"l\":292}}}},29],\"t\":{\"a\":4,\"i\":{\"o\":76},\"u\":11},\"u\":0,\"v\":{\"o\":{\"r\":4}},\"w\":32},9],\"b\":56,\"c\":{\"a\":{\"n\":{\"t\":149},\"p\":[{\"e\":{\"r\":267}},0],\"v\":6,\"t\":{\"o\":{\"l\":208}}},\"e\":{\"d\":21,\"i\":18,\"s\":21},\"h\":[{\"o\":21,\"i\":{\"t\":{\"z\":21}},\"r\":{\"o\":{\"d\":{\"i\":{\"n\":{\"g\":293}}}}}},8],\"i\":{\"e\":68,\"n\":{\"d\":150},\"u\":{\"t\":{\"t\":294}}},\"l\":{\"e\":6,\"i\":21},\"o\":{\"f\":17,\"p\":{\"y\":18},\"u\":{\"r\":{\"a\":7}}},\"u\":29,\"r\":{\"a\":{\"p\":{\"e\":{\"r\":{\".\":36}}}}},\"y\":{\"t\":{\"h\":247}}},\"d\":56,\"e\":{\".\":18,\"a\":[{\"s\":17,\"w\":5},1],\"c\":{\"o\":151,\"t\":27},\"d\":[{\"e\":95,\"l\":19},125],\"g\":[{\"r\":11},9],\"i\":32,\"l\":{\"e\":2,\"f\":32,\"v\":32},\"m\":{\"e\":[{\"s\":{\"t\":295}},18],\"o\":{\"l\":1},\"a\":{\"p\":{\"h\":287}},\"i\":{\"t\":{\"i\":{\"c\":296}}}},\"n\":{\"a\":{\"t\":5},\"c\":18,\"d\":0,\"e\":{\"d\":19},\"g\":5,\"i\":{\"n\":19},\"t\":{\"d\":18,\"l\":18}},\"p\":{\"a\":152,\"t\":{\"e\":{\"m\":{\"b\":11}}}},\"r\":{\".\":43,\"l\":21,\"o\":0,\"v\":{\"o\":18}},\"s\":[{\"h\":4,\"t\":5},72],\"u\":{\"m\":113},\"v\":[{\"e\":{\"n\":11}},32],\"w\":{\"i\":0},\"x\":32},\"f\":47,\"g\":48,\"h\":[{\".\":25,\"e\":{\"r\":2,\"v\":32},\"i\":{\"n\":2,\"o\":3,\"p\":27,\"v\":6},\"o\":[{\"l\":{\"d\":4},\"n\":12,\"r\":[{\"t\":7},17],\"e\":{\"s\":{\"t\":137}}},0],\"w\":18},24],\"i\":{\"b\":2,\"c\":{\"c\":19},\"d\":{\"e\":{\".\":27,\"s\":[{\"t\":6,\"w\":6},32],\"d\":{\".\":8}},\"i\":[{\"z\":4},32]},\"g\":{\"n\":{\"a\":18}},\"l\":{\"e\":0,\"y\":18},\"n\":[{\"a\":24,\"e\":{\".\":32},\"g\":23},42],\"o\":[{\"n\":[{\"a\":6},32]},41],\"r\":[{\"a\":5,\"e\":{\"s\":{\"i\":{\"d\":4}}}},9],\"s\":41,\"t\":{\"i\":{\"o\":27}},\"u\":32,\"v\":41,\"z\":32},\"k\":[{\"e\":[{\"t\":23},18],\"i\":{\"n\":{\"e\":4,\"g\":4}},\"y\":{\"s\":{\"c\":15}}},9],\"l\":[{\"a\":{\"t\":23},\"e\":24,\"i\":{\"t\":{\"h\":7}},\"o\":{\"v\":{\"a\":{\"k\":{\"i\":{\"a\":297}}}}}},74],\"m\":[{\"a\":[{\"l\":{\"l\":54},\"n\":12},23],\"e\":{\"l\":17,\"n\":19},\"i\":{\"t\":{\"h\":32}},\"o\":{\"l\":{\"d\":49}}},42],\"n\":72,\"o\":[{\"c\":{\"e\":1},\"f\":{\"t\":12},\"l\":{\"a\":{\"b\":1},\"d\":153,\"i\":{\"c\":3},\"v\":32,\"u\":{\"t\":{\"e\":9}}},\"m\":27,\"n\":{\".\":68,\"a\":17,\"g\":0},\"p\":[{\"h\":{\"i\":{\"c\":32,\"z\":19},\"y\":19}},21],\"r\":{\"c\":5,\"d\":5},\"v\":[{\"i\":4},18],\"g\":{\"a\":{\"m\":{\"y\":298}}}},41],\"p\":{\"a\":[{\"i\":32,\"n\":0,\"c\":{\"e\":299,\"i\":{\"n\":69}}},25],\"e\":{\"n\":{\"d\":17},\"o\":57,\"r\":25,\"c\":{\"i\":{\"o\":11}}},\"h\":{\"e\":[{\"r\":[{\"o\":213},27]},24],\"o\":6},\"i\":{\"l\":17,\"n\":{\"g\":4},\"o\":18,\"c\":{\"i\":{\"l\":208}}},\"l\":{\"y\":21},\"o\":{\"n\":21,\"r\":[{\"t\":{\"s\":{\"c\":300,\"w\":300}}},17],\"t\":18,\"k\":{\"e\":{\"s\":{\"w\":10}}}}},\"q\":{\"u\":{\"a\":{\"l\":{\"l\":36}},\"i\":{\"t\":{\"o\":88}}}},\"r\":29,\"s\":[{\"a\":[{\"s\":12,\"c\":{\"h\":{\"u\":301}}},29],\"c\":94,\"e\":{\"l\":23,\"n\":{\"g\":19},\"s\":{\".\":21},\"t\":19},\"i\":[{\"e\":[{\"r\":0},21],\"l\":{\"y\":4},\"a\":{\"n\":{\".\":210}},\"g\":{\"n\":{\"a\":{\"b\":302}}}},29],\"l\":[{\"i\":1},21],\"n\":21,\"p\":{\"e\":{\"n\":{\"d\":115}}},\"t\":9,\"u\":{\"r\":{\"a\":6}},\"w\":4,\"h\":{\"a\":{\"t\":3}}},25],\"t\":{\".\":25,\"a\":{\"g\":24,\"l\":24,\"m\":{\"i\":17,\"p\":69},\"n\":{\"d\":32,\"t\":{\"s\":{\"h\":{\"i\":303}}}},\"p\":90,\"t\":{\".\":32,\"i\":15},\"r\":{\"t\":{\"l\":{\"i\":12}}}},\"e\":{\"d\":21,\"r\":{\"n\":{\"i\":7},\"o\":19},\"w\":[{\"a\":6},8]},\"h\":{\"e\":23},\"i\":[{\".\":21,\"a\":19,\"c\":[{\"k\":32},29],\"e\":21,\"f\":23,\"n\":{\"g\":3},\"r\":32},9],\"l\":{\"e\":29},\"o\":{\"c\":{\"k\":32},\"m\":{\"a\":12},\"n\":{\"e\":32},\"p\":21,\"r\":{\"e\":27,\"a\":{\"b\":304}}},\"r\":[{\"a\":{\"d\":21,\"t\":{\"u\":32,\"a\":{\"g\":305}},\"y\":21},\"i\":{\"d\":21,\"b\":{\"u\":{\"t\":7}}},\"y\":18},1],\"w\":61,\"y\":[{\"l\":{\"i\":{\"s\":137}}},24],\"b\":4,\"s\":{\"c\":{\"r\":4}},\"u\":{\"p\":{\"i\":{\"d\":306}}}},\"u\":[{\"a\":{\"l\":2},\"b\":111,\"g\":151,\"i\":{\"s\":4,\"t\":12},\"l\":21,\"m\":[{\"i\":11},9],\"n\":9,\"r\":9,\"p\":{\"e\":{\"r\":{\"e\":307}}}},41],\"v\":18,\"w\":[{\"o\":18,\"i\":{\"m\":{\"m\":177}}},9],\"y\":[{\"c\":18,\"l\":27,\"n\":{\"o\":5,\"c\":41},\"r\":{\"i\":{\"n\":4}},\"t\":{\"h\":{\"i\":308}}},21]},\"t\":{\"a\":[{\".\":27,\"b\":[{\"l\":{\"e\":{\"s\":4}},\"o\":{\"l\":{\"i\":{\"z\":32,\"s\":{\"m\":309}}}}},25],\"c\":{\"i\":18},\"d\":{\"o\":4},\"f\":46,\"i\":{\"l\":{\"o\":5}},\"l\":[{\"a\":4,\"e\":{\"n\":5},\"i\":11,\"k\":[{\"a\":204},18],\"l\":{\"i\":{\"s\":0}},\"o\":{\"g\":4}},9],\"m\":{\"o\":4,\"i\":{\"n\":82}},\"n\":{\"d\":{\"e\":0},\"t\":{\"a\":54}},\"p\":{\"e\":{\"r\":4},\"l\":4,\"a\":{\"t\":{\"h\":310}}},\"r\":{\"a\":0,\"c\":18,\"e\":18,\"i\":{\"z\":3},\"r\":{\"h\":311}},\"s\":{\"e\":0,\"y\":4},\"t\":{\"i\":{\"c\":18},\"u\":{\"r\":1}},\"u\":{\"n\":17},\"v\":0,\"w\":25,\"x\":{\"i\":{\"s\":0}},\"g\":{\"o\":{\"n\":{\".\":3}}}},41],\"b\":42,\"c\":[{\"h\":[{\"e\":{\"t\":5},\"c\":15,\"i\":{\"e\":{\"r\":237}}},21],\"r\":29},18],\"d\":43,\"e\":{\".\":18,\"a\":{\"d\":{\"i\":17},\"t\":18,\"c\":{\"h\":{\"e\":{\"r\":{\".\":36}}}}},\"c\":{\"e\":17,\"t\":32},\"d\":[{\"i\":4},42],\"e\":41,\"g\":[{\"e\":{\"r\":4},\"i\":4},0],\"l\":{\".\":27,\"i\":17,\"s\":32,\"e\":{\"g\":84,\"r\":{\"o\":249}}},\"m\":{\"a\":[{\"t\":11},154]},\"n\":{\"a\":{\"n\":27},\"c\":27,\"d\":27,\"e\":{\"s\":18},\"t\":[{\"a\":{\"g\":0}},41]},\"o\":41,\"p\":[{\"e\":4},1],\"r\":{\"c\":11,\"d\":155,\"i\":[{\"e\":{\"s\":5},\"s\":11,\"z\":{\"a\":6},\"c\":{\".\":8}},41],\"n\":{\"i\":{\"t\":32}},\"v\":5,\"g\":{\"e\":{\"i\":312}}},\"s\":{\".\":18,\"s\":[{\".\":23,\"e\":{\"s\":313}},18]},\"t\":{\"h\":{\"e\":6}},\"u\":27,\"x\":27,\"y\":18},\"f\":42,\"g\":43,\"h\":{\".\":25,\"a\":{\"n\":17,\"l\":{\"a\":{\"m\":228}}},\"e\":[{\"a\":[{\"s\":3,\"t\":5},18],\"i\":{\"s\":11},\"t\":27},9],\"i\":{\"c\":{\".\":4,\"a\":4},\"l\":18,\"n\":{\"k\":32}},\"l\":18,\"o\":{\"d\":{\"e\":4,\"i\":{\"c\":32},\"o\":{\"n\":11}},\"o\":18,\"r\":{\"i\":{\"t\":6,\"z\":5}},\"g\":{\"e\":{\"n\":{\"i\":314}}},\"k\":{\"e\":{\"r\":175}}},\"s\":25,\"y\":{\"l\":{\"a\":{\"n\":228}},\"s\":{\"c\":11}}},\"i\":{\"a\":[{\"b\":1,\"t\":{\"o\":1},\"n\":{\".\":70}},41],\"b\":156,\"c\":{\"k\":18,\"o\":21,\"u\":157},\"d\":{\"i\":32},\"e\":{\"n\":27},\"f\":[{\"y\":4},8],\"g\":[{\"u\":32},25],\"l\":{\"l\":{\"i\":{\"n\":6}}},\"m\":[{\"p\":18,\"u\":{\"l\":5}},41],\"n\":[{\"a\":24,\"e\":{\".\":27},\"i\":27,\"o\":{\"m\":285}},42],\"o\":[{\"c\":4,\"n\":{\"e\":{\"e\":6}}},41],\"q\":32,\"s\":{\"a\":3,\"e\":27,\"m\":0,\"o\":4,\"p\":0,\"t\":{\"i\":{\"c\":{\"a\":32}}}},\"t\":{\"l\":3},\"u\":1,\"v\":[{\"a\":0},41],\"z\":[{\"a\":3,\"e\":{\"n\":3}},41]},\"l\":[{\"a\":[{\"n\":17},19],\"e\":{\".\":27,\"d\":27,\"s\":{\".\":27},\"t\":{\".\":19}},\"o\":19,\"i\":{\"e\":{\"r\":315}}},25],\"m\":[{\"e\":0},43],\"n\":81,\"o\":[{\"b\":3,\"c\":{\"r\":{\"a\":{\"t\":4}}},\"d\":{\"o\":18},\"f\":25,\"g\":{\"r\":9},\"i\":{\"c\":4},\"m\":{\"a\":9,\"b\":0,\"y\":3},\"n\":{\"a\":{\"l\":{\"i\":0},\"t\":3},\"o\":18,\"y\":18},\"r\":{\"a\":9,\"i\":{\"e\":3,\"z\":5}},\"s\":8,\"u\":{\"r\":32,\"t\":18},\"w\":{\"a\":{\"r\":3}},\"l\":{\"o\":{\"g\":{\"y\":84}}},\"t\":{\"i\":{\"c\":11}}},41],\"p\":43,\"r\":{\"a\":[{\"b\":11,\"c\":{\"h\":5,\"i\":[{\"t\":17},36],\"t\":{\"e\":17}},\"s\":17,\"v\":{\"e\":{\"n\":5,\"s\":158,\"r\":{\"s\":[{\"a\":{\"b\":317}},15]}}},\"i\":{\"t\":{\"o\":{\"r\":316}}}},41],\"e\":{\"f\":5,\"m\":[{\"i\":6},0],\"a\":{\"c\":{\"h\":{\"e\":318}}}},\"i\":{\"a\":[{\"l\":{\".\":1}},32],\"c\":{\"e\":{\"s\":5},\"i\":{\"a\":32},\"s\":18},\"m\":25,\"v\":0},\"o\":{\"m\":{\"i\":5},\"n\":{\"i\":6,\"y\":18},\"p\":{\"h\":{\"e\":5},\"i\":{\"s\":175},\"o\":{\"l\":{\"e\":{\"s\":320},\"i\":{\"s\":320,\"t\":321}}}},\"s\":{\"p\":11},\"v\":11,\"l\":{\"e\":{\"u\":{\"m\":319}}},\"f\":{\"i\":{\"c\":{\".\":17},\"t\":11}}},\"u\":{\"i\":5,\"s\":17}},\"s\":[{\"c\":[{\"h\":{\"i\":{\"e\":12}}},21],\"h\":0,\"w\":21},101],\"t\":[{\"e\":{\"s\":21},\"o\":19,\"u\":0,\"r\":{\"i\":{\"b\":{\"u\":{\"t\":322}}}}},66],\"u\":[{\"a\":[{\"r\":3},2],\"b\":{\"i\":1},\"d\":8,\"e\":18,\"f\":46,\"i\":76,\"m\":27,\"n\":{\"i\":{\"s\":1}},\"p\":{\".\":48},\"r\":{\"e\":27,\"i\":[{\"s\":11},32],\"o\":5,\"y\":4,\"n\":{\"a\":{\"r\":12}}},\"s\":27},41],\"v\":18,\"w\":[{\"a\":43,\"i\":{\"s\":17},\"o\":18,\"h\":29},1],\"y\":[{\"a\":18,\"l\":25,\"p\":{\"e\":12,\"h\":4,\"a\":{\"l\":64}}},41],\"z\":[{\"e\":1},18]},\"u\":{\"a\":{\"b\":18,\"c\":0,\"n\":{\"a\":4,\"i\":0},\"r\":{\"a\":{\"n\":{\"t\":5}},\"d\":8,\"i\":11,\"t\":11},\"t\":29,\"v\":0,\"d\":{\"r\":{\"a\":{\"t\":{\"i\":3,\"u\":15}}}}},\"b\":{\"e\":[{\"l\":21,\"r\":[{\"o\":21},23]},1],\"i\":[{\"n\":{\"g\":33}},72],\"l\":{\"e\":{\".\":23}}},\"c\":{\"a\":23,\"i\":{\"b\":0,\"t\":1},\"l\":{\"e\":12},\"r\":23,\"u\":23,\"y\":21},\"d\":{\"d\":4,\"e\":{\"r\":3,\"s\":{\"t\":4},\"v\":17},\"i\":{\"c\":29,\"e\":{\"d\":3,\"s\":3},\"s\":4,\"t\":19},\"o\":{\"n\":[{\"y\":232},21]},\"s\":{\"i\":1},\"u\":21},\"e\":{\"n\":{\"e\":21,\"s\":17,\"t\":{\"e\":0}},\"r\":{\"i\":{\"l\":0}},\"a\":{\"m\":15}},\"f\":{\"a\":27,\"l\":23},\"g\":{\"h\":{\"e\":{\"n\":11}},\"i\":{\"n\":4}},\"i\":[{\"l\":{\"i\":{\"z\":5}},\"n\":[{\"g\":29},1],\"r\":{\"m\":0},\"t\":{\"a\":17},\"v\":[{\"e\":{\"r\":{\".\":0}}},11]},156],\"j\":19,\"k\":18,\"l\":{\"a\":[{\"b\":5,\"t\":{\"i\":19}},29],\"c\":{\"h\":[{\"e\":32},17]},\"d\":{\"e\":{\"r\":3}},\"e\":[{\"n\":29},1],\"g\":{\"i\":1},\"i\":[{\"a\":19,\"n\":{\"g\":3},\"s\":{\"h\":4}},9],\"l\":{\"a\":{\"r\":1},\"i\":{\"b\":96,\"s\":1}},\"m\":61,\"o\":72,\"s\":[{\"e\":{\"s\":5}},18],\"t\":{\"i\":2,\"r\":{\"a\":54},\"u\":18},\"u\":[{\"l\":4},23],\"v\":4},\"m\":{\"a\":{\"b\":4},\"b\":{\"i\":1,\"l\":{\"y\":1}},\"i\":[{\"n\":{\"g\":83}},29],\"o\":{\"r\":{\"o\":6}},\"p\":9},\"n\":{\"a\":{\"t\":17},\"e\":[{\"r\":1},24],\"i\":[{\"m\":1,\"n\":24,\"s\":{\"h\":4},\"v\":11},29],\"s\":[{\"w\":1},93],\"t\":{\"a\":{\"b\":11},\"e\":{\"r\":{\".\":1},\"s\":1}},\"u\":0,\"y\":4,\"z\":4},\"o\":{\"r\":{\"s\":21},\"s\":19,\"u\":29},\"p\":{\"e\":[{\"r\":{\"s\":6}},29],\"i\":{\"a\":19,\"n\":{\"g\":3}},\"l\":23,\"p\":[{\"o\":{\"r\":{\"t\":10}}},3],\"t\":{\"i\":{\"b\":5},\"u\":17}},\"r\":{\"a\":[{\".\":18,\"g\":21,\"s\":21,\"l\":{\".\":216}},29],\"b\":{\"e\":1},\"c\":0,\"d\":2,\"e\":{\"a\":{\"t\":5}},\"f\":{\"e\":{\"r\":1},\"r\":1},\"i\":{\"f\":[{\"i\":{\"c\":0}},23],\"n\":2,\"o\":23,\"t\":29,\"z\":3,\"a\":{\"l\":{\".\":0}}},\"l\":[{\"i\":{\"n\":{\"g\":{\".\":5}}}},9],\"n\":{\"o\":1},\"o\":{\"s\":17},\"p\":{\"e\":1,\"i\":1},\"s\":{\"e\":{\"r\":5}},\"t\":{\"e\":{\"s\":4},\"h\":{\"e\":3},\"i\":[{\"e\":1},17]},\"u\":23},\"s\":[{\"a\":{\"d\":19,\"n\":19,\"p\":1},\"c\":[{\"i\":3},8],\"e\":{\"a\":5,\"r\":{\".\":9}},\"i\":{\"a\":19,\"c\":23},\"l\":{\"i\":{\"n\":1}},\"p\":2,\"s\":{\"l\":4},\"t\":{\"e\":{\"r\":{\"e\":4}},\"r\":2},\"u\":[{\"r\":17},24]},25],\"t\":{\"a\":{\"b\":0,\"t\":23},\"e\":{\".\":18,\"l\":18,\"n\":[{\"i\":17},18]},\"i\":[{\"l\":{\"i\":{\"z\":5}},\"n\":{\"e\":23,\"g\":3},\"o\":{\"n\":{\"a\":7}},\"s\":21,\"z\":31},101],\"l\":34,\"o\":{\"f\":4,\"g\":5,\"m\":{\"a\":{\"t\":{\"i\":{\"c\":5}}}},\"n\":19,\"u\":21},\"s\":0},\"u\":[{\"m\":1},23],\"v\":74,\"x\":{\"u\":11},\"z\":{\"e\":1}},\"v\":{\"a\":[{\".\":32,\"b\":159,\"c\":{\"i\":{\"l\":5},\"u\":11},\"g\":[{\"e\":1,\"u\":{\"e\":{\"r\":170}}},0],\"l\":{\"i\":{\"e\":4},\"o\":5,\"u\":15},\"m\":{\"o\":4},\"n\":{\"i\":{\"z\":4}},\"p\":{\"i\":4},\"r\":{\"i\":{\"e\":{\"d\":5}}},\"t\":[{\"i\":{\"v\":29}},27],\"u\":{\"d\":{\"e\":{\"v\":54}}}},41],\"e\":{\".\":18,\"d\":18,\"g\":11,\"l\":{\".\":23,\"l\":{\"i\":11},\"o\":1,\"y\":21},\"n\":{\"o\":{\"m\":11},\"u\":{\"e\":19}},\"r\":{\"d\":21,\"e\":{\".\":32,\"l\":[{\"y\":{\".\":41}},21],\"n\":[{\"c\":5},23],\"s\":21,\"i\":{\"g\":324}},\"i\":{\"e\":11},\"m\":{\"i\":{\"n\":36}},\"s\":{\"e\":27},\"t\":{\"h\":11}},\"s\":[{\".\":18,\"t\":{\"e\":0,\"i\":{\"t\":{\"e\":15}}}},99],\"t\":{\"e\":[{\"r\":11},1],\"y\":1}},\"i\":{\"a\":{\"l\":{\"i\":4},\"n\":32},\"d\":{\"e\":{\".\":32,\"d\":32,\"n\":47,\"s\":32},\"i\":32},\"f\":23,\"g\":{\"n\":4},\"k\":0,\"l\":[{\"i\":{\"t\":32,\"z\":127}},25],\"n\":[{\"a\":26,\"c\":24,\"d\":5,\"g\":18},29],\"o\":{\"l\":11,\"r\":73,\"u\":2},\"p\":1,\"r\":{\"o\":4},\"s\":{\"i\":{\"t\":11},\"o\":3,\"u\":3},\"t\":{\"i\":18,\"r\":11,\"y\":18},\"v\":[{\"i\":{\"p\":{\"a\":{\"r\":325}}}},27]},\"o\":{\".\":32,\"i\":[{\"r\":{\"d\":{\"u\":323}},\"c\":{\"e\":{\"p\":213}}},0],\"k\":27,\"l\":{\"a\":1,\"e\":19,\"t\":32,\"v\":27},\"m\":{\"i\":5},\"r\":{\"a\":{\"b\":5},\"i\":17,\"y\":1},\"t\":{\"a\":1,\"e\":{\"e\":18}}},\"v\":26,\"y\":21},\"w\":{\"a\":{\"b\":{\"l\":19},\"c\":25,\"g\":{\"e\":{\"r\":4},\"o\":5},\"i\":{\"t\":6},\"l\":{\".\":19},\"m\":0,\"r\":{\"t\":0},\"s\":{\"t\":[{\"e\":{\"w\":{\"a\":326}}},0]},\"t\":{\"e\":2},\"v\":{\"e\":{\"r\":4,\"g\":327}}},\"b\":29,\"e\":{\"a\":{\"r\":{\"i\":{\"e\":5}},\"t\":{\"h\":54}},\"d\":{\"n\":0},\"e\":{\"t\":12,\"v\":5,\"k\":{\"n\":137}},\"l\":{\"l\":0},\"r\":29,\"s\":{\"t\":12},\"v\":23},\"h\":{\"i\":0},\"i\":[{\"l\":[{\"l\":{\"i\":{\"n\":6}}},8],\"n\":{\"d\":{\"e\":0},\"g\":0},\"r\":0,\"s\":{\"e\":27},\"t\":{\"h\":12},\"z\":5,\"d\":{\"e\":{\"s\":{\"p\":6}}}},9],\"k\":21,\"l\":{\"e\":{\"s\":1},\"i\":{\"n\":3}},\"n\":{\"o\":21},\"o\":[{\"m\":15,\"v\":{\"e\":{\"n\":4}},\"k\":{\"e\":{\"n\":85}}},160],\"p\":19,\"r\":{\"a\":[{\"p\":{\"a\":{\"r\":{\"o\":12}}}},0],\"i\":[{\"t\":{\"a\":36,\"e\":{\"r\":{\".\":183}}}},0]},\"s\":{\"h\":23,\"l\":1,\"p\":{\"e\":1},\"t\":60},\"t\":18,\"y\":1,\"c\":23},\"x\":{\"a\":[{\"c\":{\"e\":5},\"g\":{\"o\":21},\"m\":11,\"p\":21,\"s\":5},29],\"c\":161,\"e\":[{\"c\":{\"u\":{\"t\":{\"o\":1}}},\"d\":24,\"r\":{\"i\":0,\"o\":4}},29],\"h\":[{\"i\":[{\"l\":6},8],\"u\":0},29],\"i\":[{\"a\":4,\"c\":4,\"d\":{\"i\":4},\"m\":{\"e\":21,\"i\":{\"z\":4}}},23],\"o\":[{\"b\":21},23],\"p\":[{\"a\":{\"n\":{\"d\":17}},\"e\":{\"c\":{\"t\":{\"o\":10}},\"d\":11}},23],\"t\":[{\"i\":23},74],\"u\":[{\"a\":3},29],\"x\":1,\"q\":[{\"u\":{\"i\":{\"s\":54}}},29]},\"y\":{\"a\":{\"c\":19,\"r\":110,\"t\":19},\"b\":29,\"c\":[{\"e\":[{\"r\":4},24],\"h\":[{\"e\":[{\"d\":264},0]},23],\"o\":{\"m\":17,\"t\":17}},29],\"d\":29,\"e\":{\"e\":19,\"r\":[{\"f\":21},29],\"s\":[{\"t\":{\"e\":{\"r\":{\"y\":328}}}},0],\"t\":1},\"g\":{\"i\":19},\"h\":47,\"i\":29,\"l\":{\"a\":23,\"l\":{\"a\":{\"b\":{\"l\":6}}},\"o\":23,\"u\":19},\"m\":{\"b\":{\"o\":{\"l\":7}},\"e\":[{\"t\":{\"r\":{\"y\":20}}},0],\"p\":{\"a\":12}},\"n\":{\"c\":{\"h\":{\"r\":3}},\"d\":4,\"g\":4,\"i\":{\"c\":4},\"x\":32},\"o\":[{\"d\":4,\"g\":33,\"m\":0,\"n\":{\"e\":{\"t\":4},\"s\":21},\"s\":21},72],\"p\":{\"e\":{\"d\":21,\"r\":6},\"i\":3,\"o\":[{\"c\":21},23],\"t\":{\"a\":9},\"u\":19},\"r\":{\"a\":{\"m\":5},\"i\":{\"a\":4},\"o\":23,\"r\":1},\"s\":{\"c\":1,\"e\":161,\"i\":{\"c\":{\"a\":3},\"o\":3,\"s\":27},\"o\":21,\"s\":0,\"t\":[{\"a\":3,\"r\":{\"o\":29}},2],\"u\":{\"r\":17}},\"t\":{\"h\":{\"i\":{\"n\":23}},\"i\":{\"c\":3}},\"w\":29},\"z\":{\"a\":[{\"b\":79,\"r\":8},2],\"b\":18,\"e\":[{\"n\":1,\"p\":1,\"r\":[{\"o\":3},29],\"t\":0},25],\"i\":[{\"l\":21,\"s\":21,\"a\":{\"n\":{\".\":23}}},42],\"l\":32,\"m\":18,\"o\":[{\"m\":1,\"o\":{\"l\":4},\"p\":{\"h\":{\"r\":329}}},41],\"t\":{\"e\":0},\"z\":[{\"y\":21,\"w\":231},101]}}',\n [\n \"as-so-ciate\",\n \"as-so-ciates\",\n \"dec-li-na-tion\",\n \"oblig-a-tory\",\n \"phil-an-thropic\",\n \"present\",\n \"presents\",\n \"project\",\n \"projects\",\n \"reci-procity\",\n \"re-cog-ni-zance\",\n \"ref-or-ma-tion\",\n \"ret-ri-bu-tion\",\n \"ta-ble\"\n ]\n ];\n});\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","module.exports = function isArrayish(obj) {\n\tif (!obj || typeof obj === 'string') {\n\t\treturn false;\n\t}\n\n\treturn obj instanceof Array || Array.isArray(obj) ||\n\t\t(obj.length >= 0 && (obj.splice instanceof Function ||\n\t\t\t(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));\n};\n","\n/**\n * Expose `isUrl`.\n */\n\nmodule.exports = isUrl;\n\n/**\n * RegExps.\n * A URL must match #1 and then at least one of #2/#3.\n * Use two levels of REs to avoid REDOS.\n */\n\nvar protocolAndDomainRE = /^(?:\\w+:)?\\/\\/(\\S+)$/;\n\nvar localhostDomainRE = /^localhost[\\:?\\d]*(?:[^\\:?\\d]\\S*)?$/\nvar nonLocalhostDomainRE = /^[^\\s\\.]+\\.\\S{2,}$/;\n\n/**\n * Loosely validate a URL `string`.\n *\n * @param {String} string\n * @return {Boolean}\n */\n\nfunction isUrl(string){\n if (typeof string !== 'string') {\n return false;\n }\n\n var match = string.match(protocolAndDomainRE);\n if (!match) {\n return false;\n }\n\n var everythingAfterProtocol = match[1];\n if (!everythingAfterProtocol) {\n return false;\n }\n\n if (localhostDomainRE.test(everythingAfterProtocol) ||\n nonLocalhostDomainRE.test(everythingAfterProtocol)) {\n return true;\n }\n\n return false;\n}\n","module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n","/*!\n\nJSZip v3.10.1 - A JavaScript class for generating and reading zip files\n<http://stuartk.com/jszip>\n\n(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>\nDual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.\n\nJSZip uses the library pako released under the MIT license :\nhttps://github.com/nodeca/pako/blob/main/LICENSE\n*/\n\n!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=e()}}(function(){return function s(a,o,h){function u(r,e){if(!o[r]){if(!a[r]){var t=\"function\"==typeof require&&require;if(!e&&t)return t(r,!0);if(l)return l(r,!0);var n=new Error(\"Cannot find module '\"+r+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var i=o[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return u(t||e)},i,i.exports,s,a,o,h)}return o[r].exports}for(var l=\"function\"==typeof require&&require,e=0;e<h.length;e++)u(h[e]);return u}({1:[function(e,t,r){\"use strict\";var d=e(\"./utils\"),c=e(\"./support\"),p=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";r.encode=function(e){for(var t,r,n,i,s,a,o,h=[],u=0,l=e.length,f=l,c=\"string\"!==d.getTypeOf(e);u<e.length;)f=l-u,n=c?(t=e[u++],r=u<l?e[u++]:0,u<l?e[u++]:0):(t=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,u<l?e.charCodeAt(u++):0),i=t>>2,s=(3&t)<<4|r>>4,a=1<f?(15&r)<<2|n>>6:64,o=2<f?63&n:64,h.push(p.charAt(i)+p.charAt(s)+p.charAt(a)+p.charAt(o));return h.join(\"\")},r.decode=function(e){var t,r,n,i,s,a,o=0,h=0,u=\"data:\";if(e.substr(0,u.length)===u)throw new Error(\"Invalid base64 input, it looks like a data url.\");var l,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,\"\")).length/4;if(e.charAt(e.length-1)===p.charAt(64)&&f--,e.charAt(e.length-2)===p.charAt(64)&&f--,f%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");for(l=c.uint8array?new Uint8Array(0|f):new Array(0|f);o<e.length;)t=p.indexOf(e.charAt(o++))<<2|(i=p.indexOf(e.charAt(o++)))>>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),l[h++]=t,64!==s&&(l[h++]=r),64!==a&&(l[h++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(e,t,r){\"use strict\";var n=e(\"./external\"),i=e(\"./stream/DataWorker\"),s=e(\"./stream/Crc32Probe\"),a=e(\"./stream/DataLengthProbe\");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a(\"data_length\")),t=this;return e.on(\"end\",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a(\"uncompressedSize\")).pipe(t.compressWorker(r)).pipe(new a(\"compressedSize\")).withStreamInfo(\"compression\",t)},t.exports=o},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(e,t,r){\"use strict\";var n=e(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=e(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(e,t,r){\"use strict\";var n=e(\"./utils\");var o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?\"string\"!==n.getTypeOf(e)?function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a<s;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a<s;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{\"./utils\":32}],5:[function(e,t,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){\"use strict\";var n=null;n=\"undefined\"!=typeof Promise?Promise:e(\"lie\"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,i=e(\"pako\"),s=e(\"./utils\"),a=e(\"./stream/GenericWorker\"),o=n?\"uint8array\":\"array\";function h(e,t){a.call(this,\"FlateWorker/\"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic=\"\\b\\0\",s.inherits(h,a),h.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(e){return new h(\"Deflate\",e)},r.uncompressWorker=function(){return new h(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(e,t,r){\"use strict\";function A(e,t){var r,n=\"\";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function n(e,t,r,n,i,s){var a,o,h=e.file,u=e.compression,l=s!==O.utf8encode,f=I.transformTo(\"string\",s(h.name)),c=I.transformTo(\"string\",O.utf8encode(h.name)),d=h.comment,p=I.transformTo(\"string\",s(d)),m=I.transformTo(\"string\",O.utf8encode(d)),_=c.length!==h.name.length,g=m.length!==d.length,b=\"\",v=\"\",y=\"\",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),l||!_&&!g||(S|=2048);var z=0,C=0;w&&(z|=16),\"UNIX\"===i?(C=798,z|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(h.unixPermissions,w)):(C=20,z|=function(e){return 63&(e||0)}(h.dosPermissions)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(v=A(1,1)+A(B(f),4)+c,b+=\"up\"+A(v.length,2)+v),g&&(y=A(1,1)+A(B(p),4)+m,b+=\"uc\"+A(y.length,2)+y);var E=\"\";return E+=\"\\n\\0\",E+=A(S,2),E+=u.magic,E+=A(a,2),E+=A(o,2),E+=A(x.crc32,4),E+=A(x.compressedSize,4),E+=A(x.uncompressedSize,4),E+=A(f.length,2),E+=A(b.length,2),{fileRecord:R.LOCAL_FILE_HEADER+E+f+b,dirRecord:R.CENTRAL_FILE_HEADER+A(C,2)+E+A(p.length,2)+\"\\0\\0\\0\\0\"+A(z,4)+A(n,4)+f+b+p}}var I=e(\"../utils\"),i=e(\"../stream/GenericWorker\"),O=e(\"../utf8\"),B=e(\"../crc32\"),R=e(\"../signature\");function s(e,t,r,n){i.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}I.inherits(s,i),s.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},s.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=n(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},s.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return R.DATA_DESCRIPTOR+A(e.crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},s.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var s=I.transformTo(\"string\",i(n));return R.CENTRAL_DIRECTORY_END+\"\\0\\0\\0\\0\"+A(e,2)+A(e,2)+A(t,4)+A(r,4)+A(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},s.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},s.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(\"data\",function(e){t.processChunk(e)}),e.on(\"end\",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(\"error\",function(e){t.error(e)}),this},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},s.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},s.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=s},{\"../crc32\":4,\"../signature\":23,\"../stream/GenericWorker\":28,\"../utf8\":31,\"../utils\":32}],9:[function(e,t,r){\"use strict\";var u=e(\"../compressions\"),n=e(\"./ZipFileWorker\");r.generateWorker=function(e,a,t){var o=new n(a.streamFiles,t,a.platform,a.encodeFileName),h=0;try{e.forEach(function(e,t){h++;var r=function(e,t){var r=e||t,n=u[r];if(!n)throw new Error(r+\" is not a valid compression method !\");return n}(t.options.compression,a.compression),n=t.options.compressionOptions||a.compressionOptions||{},i=t.dir,s=t.date;t._compressWorker(r,n).withStreamInfo(\"file\",{name:e,dir:i,date:s,comment:t.comment||\"\",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(o)}),o.entriesCount=h}catch(e){o.error(e)}return o}},{\"../compressions\":3,\"./ZipFileWorker\":8}],10:[function(e,t,r){\"use strict\";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error(\"The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.\");this.files=Object.create(null),this.comment=null,this.root=\"\",this.clone=function(){var e=new n;for(var t in this)\"function\"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e(\"./object\")).loadAsync=e(\"./load\"),n.support=e(\"./support\"),n.defaults=e(\"./defaults\"),n.version=\"3.10.1\",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e(\"./external\"),t.exports=n},{\"./defaults\":5,\"./external\":6,\"./load\":11,\"./object\":15,\"./support\":30}],11:[function(e,t,r){\"use strict\";var u=e(\"./utils\"),i=e(\"./external\"),n=e(\"./utf8\"),s=e(\"./zipEntries\"),a=e(\"./stream/Crc32Probe\"),l=e(\"./nodejsUtils\");function f(n){return new i.Promise(function(e,t){var r=n.decompressed.getContentWorker().pipe(new a);r.on(\"error\",function(e){t(e)}).on(\"end\",function(){r.streamInfo.crc32!==n.decompressed.crc32?t(new Error(\"Corrupted zip : CRC32 mismatch\")):e()}).resume()})}t.exports=function(e,o){var h=this;return o=u.extend(o||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error(\"JSZip can't accept a stream when loading a zip file.\")):u.prepareContent(\"the loaded zip file\",e,!0,o.optimizedBinaryString,o.base64).then(function(e){var t=new s(o);return t.load(e),t}).then(function(e){var t=[i.Promise.resolve(e)],r=e.files;if(o.checkCRC32)for(var n=0;n<r.length;n++)t.push(f(r[n]));return i.Promise.all(t)}).then(function(e){for(var t=e.shift(),r=t.files,n=0;n<r.length;n++){var i=r[n],s=i.fileNameStr,a=u.resolve(i.fileNameStr);h.file(a,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileCommentStr.length?i.fileCommentStr:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:o.createFolders}),i.dir||(h.file(a).unsafeOriginalName=s)}return t.zipComment.length&&(h.comment=t.zipComment),h})}},{\"./external\":6,\"./nodejsUtils\":14,\"./stream/Crc32Probe\":25,\"./utf8\":31,\"./utils\":32,\"./zipEntries\":33}],12:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"../stream/GenericWorker\");function s(e,t){i.call(this,\"Nodejs stream input adapter for \"+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(s,i),s.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on(\"data\",function(e){t.push({data:e,meta:{percent:0}})}).on(\"error\",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(\"end\",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},s.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=s},{\"../stream/GenericWorker\":28,\"../utils\":32}],13:[function(e,t,r){\"use strict\";var i=e(\"readable-stream\").Readable;function n(e,t,r){i.call(this,t),this._helper=e;var n=this;e.on(\"data\",function(e,t){n.push(e)||n._helper.pause(),r&&r(t)}).on(\"error\",function(e){n.emit(\"error\",e)}).on(\"end\",function(){n.push(null)})}e(\"../utils\").inherits(n,i),n.prototype._read=function(){this._helper.resume()},t.exports=n},{\"../utils\":32,\"readable-stream\":16}],14:[function(e,t,r){\"use strict\";t.exports={isNode:\"undefined\"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(\"number\"==typeof e)throw new Error('The \"data\" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&\"function\"==typeof e.on&&\"function\"==typeof e.pause&&\"function\"==typeof e.resume}}},{}],15:[function(e,t,r){\"use strict\";function s(e,t,r){var n,i=u.getTypeOf(t),s=u.extend(r||{},f);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),\"string\"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=g(e)),s.createFolders&&(n=_(e))&&b.call(this,n,!0);var a=\"string\"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!a),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t=\"\",s.compression=\"STORE\",i=\"string\");var o=null;o=t instanceof c||t instanceof l?t:p.isNode&&p.isStream(t)?new m(e,t):u.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var h=new d(e,o,s);this.files[e]=h}var i=e(\"./utf8\"),u=e(\"./utils\"),l=e(\"./stream/GenericWorker\"),a=e(\"./stream/StreamHelper\"),f=e(\"./defaults\"),c=e(\"./compressedObject\"),d=e(\"./zipObject\"),o=e(\"./generate\"),p=e(\"./nodejsUtils\"),m=e(\"./nodejs/NodejsStreamInputAdapter\"),_=function(e){\"/\"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(\"/\");return 0<t?e.substring(0,t):\"\"},g=function(e){return\"/\"!==e.slice(-1)&&(e+=\"/\"),e},b=function(e,t){return t=void 0!==t?t:f.createFolders,e=g(e),this.files[e]||s.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function h(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)}var n={load:function(){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(r){var n=[];return this.forEach(function(e,t){r(e,t)&&n.push(t)}),n},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,s.call(this,e,t,r),this;if(h(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(r){if(!r)return this;if(h(r))return this.filter(function(e,t){return t.dir&&r.test(e)});var e=this.root+r,t=b.call(this,e),n=this.clone();return n.root=t.name,n},remove:function(r){r=this.root+r;var e=this.files[r];if(e||(\"/\"!==r.slice(-1)&&(r+=\"/\"),e=this.files[r]),e&&!e.dir)delete this.files[r];else for(var t=this.filter(function(e,t){return t.name.slice(0,r.length)===r}),n=0;n<t.length;n++)delete this.files[t[n].name];return this},generate:function(){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},generateInternalStream:function(e){var t,r={};try{if((r=u.extend(e||{},{streamFiles:!1,compression:\"STORE\",compressionOptions:null,type:\"\",platform:\"DOS\",comment:null,mimeType:\"application/zip\",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),\"binarystring\"===r.type&&(r.type=\"string\"),!r.type)throw new Error(\"No output type specified.\");u.checkSupport(r.type),\"darwin\"!==r.platform&&\"freebsd\"!==r.platform&&\"linux\"!==r.platform&&\"sunos\"!==r.platform||(r.platform=\"UNIX\"),\"win32\"===r.platform&&(r.platform=\"DOS\");var n=r.comment||this.comment||\"\";t=o.generateWorker(this,r,n)}catch(e){(t=new l(\"error\")).error(e)}return new a(t,r.type||\"string\",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type=\"nodebuffer\"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=n},{\"./compressedObject\":2,\"./defaults\":5,\"./generate\":9,\"./nodejs/NodejsStreamInputAdapter\":12,\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./stream/StreamHelper\":29,\"./utf8\":31,\"./utils\":32,\"./zipObject\":35}],16:[function(e,t,r){\"use strict\";t.exports=e(\"stream\")},{stream:void 0}],17:[function(e,t,r){\"use strict\";var n=e(\"./DataReader\");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e(\"../utils\").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===t&&this.data[s+1]===r&&this.data[s+2]===n&&this.data[s+3]===i)return s-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),s=this.readData(4);return t===s[0]&&r===s[1]&&n===s[2]&&i===s[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./DataReader\":18}],18:[function(e,t,r){\"use strict\";var n=e(\"../utils\");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error(\"End of data reached (data length = \"+this.length+\", asked index = \"+e+\"). Corrupted zip ?\")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo(\"string\",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{\"../utils\":32}],19:[function(e,t,r){\"use strict\";var n=e(\"./Uint8ArrayReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(e,t,r){\"use strict\";var n=e(\"./DataReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./DataReader\":18}],21:[function(e,t,r){\"use strict\";var n=e(\"./ArrayReader\");function i(e){n.call(this,e)}e(\"../utils\").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"../support\"),s=e(\"./ArrayReader\"),a=e(\"./StringReader\"),o=e(\"./NodeBufferReader\"),h=e(\"./Uint8ArrayReader\");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),\"string\"!==t||i.uint8array?\"nodebuffer\"===t?new o(e):i.uint8array?new h(n.transformTo(\"uint8array\",e)):new s(n.transformTo(\"array\",e)):new a(e)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(e,t,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(e,t,r){\"use strict\";var n=e(\"./GenericWorker\"),i=e(\"../utils\");function s(e){n.call(this,\"ConvertWorker to \"+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(e,t,r){\"use strict\";var n=e(\"./GenericWorker\"),i=e(\"../crc32\");function s(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}e(\"../utils\").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"./GenericWorker\");function s(e){i.call(this,\"DataLengthProbe for \"+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(e,t,r){\"use strict\";var n=e(\"../utils\"),i=e(\"./GenericWorker\");function s(e){i.call(this,\"DataWorker\");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":e=this.data.substring(this.index,t);break;case\"uint8array\":e=this.data.subarray(this.index,t);break;case\"array\":case\"nodebuffer\":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(e,t,r){\"use strict\";function n(e){this.name=e||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit(\"data\",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(\"error\",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(\"error\",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error(\"The stream '\"+this+\"' has already been used.\");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(\"data\",function(e){t.processChunk(e)}),e.on(\"end\",function(){t.end()}),e.on(\"error\",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error(\"The stream '\"+this+\"' has already been used.\");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=\"Worker \"+this.name;return this.previous?this.previous+\" -> \"+e:e}},t.exports=n},{}],29:[function(e,t,r){\"use strict\";var h=e(\"../utils\"),i=e(\"./ConvertWorker\"),s=e(\"./GenericWorker\"),u=e(\"../base64\"),n=e(\"../support\"),a=e(\"../external\"),o=null;if(n.nodestream)try{o=e(\"../nodejs/NodejsStreamOutputAdapter\")}catch(e){}function l(e,o){return new a.Promise(function(t,r){var n=[],i=e._internalType,s=e._outputType,a=e._mimeType;e.on(\"data\",function(e,t){n.push(e),o&&o(t)}).on(\"error\",function(e){n=[],r(e)}).on(\"end\",function(){try{var e=function(e,t,r){switch(e){case\"blob\":return h.newBlob(h.transformTo(\"arraybuffer\",t),r);case\"base64\":return u.encode(t);default:return h.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,s=0;for(r=0;r<t.length;r++)s+=t[r].length;switch(e){case\"string\":return t.join(\"\");case\"array\":return Array.prototype.concat.apply([],t);case\"uint8array\":for(i=new Uint8Array(s),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case\"nodebuffer\":return Buffer.concat(t);default:throw new Error(\"concat : unsupported type '\"+e+\"'\")}}(i,n),a);t(e)}catch(e){r(e)}n=[]}).resume()})}function f(e,t,r){var n=t;switch(t){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=t,this._mimeType=r,h.checkSupport(n),this._worker=e.pipe(new i(n)),e.lock()}catch(e){this._worker=new s(\"error\"),this._worker.error(e)}}f.prototype={accumulate:function(e){return l(this,e)},on:function(e,t){var r=this;return\"data\"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){h.delay(t,arguments,r)}),this},resume:function(){return h.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(h.checkSupport(\"nodestream\"),\"nodebuffer\"!==this._outputType)throw new Error(this._outputType+\" is not supported by this method\");return new o(this,{objectMode:\"nodebuffer\"!==this._outputType},e)}},t.exports=f},{\"../base64\":1,\"../external\":6,\"../nodejs/NodejsStreamOutputAdapter\":13,\"../support\":30,\"../utils\":32,\"./ConvertWorker\":24,\"./GenericWorker\":28}],30:[function(e,t,r){\"use strict\";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=\"undefined\"!=typeof ArrayBuffer&&\"undefined\"!=typeof Uint8Array,r.nodebuffer=\"undefined\"!=typeof Buffer,r.uint8array=\"undefined\"!=typeof Uint8Array,\"undefined\"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:\"application/zip\"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob(\"application/zip\").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e(\"readable-stream\").Readable}catch(e){r.nodestream=!1}},{\"readable-stream\":16}],31:[function(e,t,s){\"use strict\";for(var o=e(\"./utils\"),h=e(\"./support\"),r=e(\"./nodejsUtils\"),n=e(\"./stream/GenericWorker\"),u=new Array(256),i=0;i<256;i++)u[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;u[254]=u[254]=1;function a(){n.call(this,\"utf-8 decode\"),this.leftOver=null}function l(){n.call(this,\"utf-8 encode\")}s.utf8encode=function(e){return h.nodebuffer?r.newBufferFrom(e,\"utf-8\"):function(e){var t,r,n,i,s,a=e.length,o=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),o+=r<128?1:r<2048?2:r<65536?3:4;for(t=h.uint8array?new Uint8Array(o):new Array(o),i=s=0;s<o;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t}(e)},s.utf8decode=function(e){return h.nodebuffer?o.transformTo(\"nodebuffer\",e).toString(\"utf-8\"):function(e){var t,r,n,i,s=e.length,a=new Array(2*s);for(t=r=0;t<s;)if((n=e[t++])<128)a[r++]=n;else if(4<(i=u[n]))a[r++]=65533,t+=i-1;else{for(n&=2===i?31:3===i?15:7;1<i&&t<s;)n=n<<6|63&e[t++],i--;1<i?a[r++]=65533:n<65536?a[r++]=n:(n-=65536,a[r++]=55296|n>>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(e=o.transformTo(h.uint8array?\"uint8array\":\"array\",e))},o.inherits(a,n),a.prototype.processChunk=function(e){var t=o.transformTo(h.uint8array?\"uint8array\":\"array\",e.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}(t),i=t;n!==t.length&&(h.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:s.utf8decode(i),meta:e.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,n),l.prototype.processChunk=function(e){this.push({data:s.utf8encode(e.data),meta:e.meta})},s.Utf8EncodeWorker=l},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(e,t,a){\"use strict\";var o=e(\"./support\"),h=e(\"./base64\"),r=e(\"./nodejsUtils\"),u=e(\"./external\");function n(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e(\"setimmediate\"),a.newBlob=function(t,r){a.checkSupport(\"blob\");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error(\"Bug : can't construct the Blob.\")}}};var i={stringifyByChunk:function(e,t,r){var n=[],i=0,s=e.length;if(s<=r)return String.fromCharCode.apply(null,e);for(;i<s;)\"array\"===t||\"nodebuffer\"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,s)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,s)))),i+=r;return n.join(\"\")},stringifyByChar:function(e){for(var t=\"\",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&1===String.fromCharCode.apply(null,r.allocBuffer(1)).length}catch(e){return!1}}()}};function s(e){var t=65536,r=a.getTypeOf(e),n=!0;if(\"uint8array\"===r?n=i.applyCanBeUsed.uint8array:\"nodebuffer\"===r&&(n=i.applyCanBeUsed.nodebuffer),n)for(;1<t;)try{return i.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return i.stringifyByChar(e)}function f(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}a.applyFromCharCode=s;var c={};c.string={string:n,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return c.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,r.allocBuffer(e.length))}},c.array={string:s,array:n,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(e)}},c.arraybuffer={string:function(e){return s(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:n,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(new Uint8Array(e))}},c.uint8array={string:s,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:n,nodebuffer:function(e){return r.newBufferFrom(e)}},c.nodebuffer={string:s,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return c.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:n},a.transformTo=function(e,t){if(t=t||\"\",!e)return t;a.checkSupport(e);var r=a.getTypeOf(t);return c[r][e](t)},a.resolve=function(e){for(var t=e.split(\"/\"),r=[],n=0;n<t.length;n++){var i=t[n];\".\"===i||\"\"===i&&0!==n&&n!==t.length-1||(\"..\"===i?r.pop():r.push(i))}return r.join(\"/\")},a.getTypeOf=function(e){return\"string\"==typeof e?\"string\":\"[object Array]\"===Object.prototype.toString.call(e)?\"array\":o.nodebuffer&&r.isBuffer(e)?\"nodebuffer\":o.uint8array&&e instanceof Uint8Array?\"uint8array\":o.arraybuffer&&e instanceof ArrayBuffer?\"arraybuffer\":void 0},a.checkSupport=function(e){if(!o[e.toLowerCase()])throw new Error(e+\" is not supported by this platform\")},a.MAX_VALUE_16BITS=65535,a.MAX_VALUE_32BITS=-1,a.pretty=function(e){var t,r,n=\"\";for(r=0;r<(e||\"\").length;r++)n+=\"\\\\x\"+((t=e.charCodeAt(r))<16?\"0\":\"\")+t.toString(16).toUpperCase();return n},a.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},a.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},a.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},a.prepareContent=function(r,e,n,i,s){return u.Promise.resolve(e).then(function(n){return o.blob&&(n instanceof Blob||-1!==[\"[object File]\",\"[object Blob]\"].indexOf(Object.prototype.toString.call(n)))&&\"undefined\"!=typeof FileReader?new u.Promise(function(t,r){var e=new FileReader;e.onload=function(e){t(e.target.result)},e.onerror=function(e){r(e.target.error)},e.readAsArrayBuffer(n)}):n}).then(function(e){var t=a.getTypeOf(e);return t?(\"arraybuffer\"===t?e=a.transformTo(\"uint8array\",e):\"string\"===t&&(s?e=h.decode(e):n&&!0!==i&&(e=function(e){return l(e,o.uint8array?new Uint8Array(e.length):new Array(e.length))}(e))),e):u.Promise.reject(new Error(\"Can't read the data of '\"+r+\"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?\"))})}},{\"./base64\":1,\"./external\":6,\"./nodejsUtils\":14,\"./support\":30,setimmediate:54}],33:[function(e,t,r){\"use strict\";var n=e(\"./reader/readerFor\"),i=e(\"./utils\"),s=e(\"./signature\"),a=e(\"./zipEntry\"),o=e(\"./support\");function h(e){this.files=[],this.loadOptions=e}h.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error(\"Corrupted zip or bug: unexpected signature (\"+i.pretty(t)+\", expected \"+i.pretty(e)+\")\")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=o.uint8array?\"uint8array\":\"array\",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error(\"Multi-volumes zip are not supported\")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error(\"Corrupted zip or bug: expected \"+this.centralDirRecords+\" records in central dir, got \"+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error(\"Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html\"):new Error(\"Corrupted zip: can't find end of central directory\");this.reader.setIndex(e);var t=e;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error(\"Corrupted zip: can't find the ZIP64 end of central directory locator\");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error(\"Corrupted zip: can't find the ZIP64 end of central directory\");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error(\"Corrupted zip: missing \"+Math.abs(n)+\" bytes.\")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=h},{\"./reader/readerFor\":22,\"./signature\":23,\"./support\":30,\"./utils\":32,\"./zipEntry\":34}],34:[function(e,t,r){\"use strict\";var n=e(\"./reader/readerFor\"),s=e(\"./utils\"),i=e(\"./compressedObject\"),a=e(\"./crc32\"),o=e(\"./utf8\"),h=e(\"./compressions\"),u=e(\"./support\");function l(e,t){this.options=e,this.loadOptions=t}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error(\"Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)\");if(null===(t=function(e){for(var t in h)if(Object.prototype.hasOwnProperty.call(h,t)&&h[t].magic===e)return h[t];return null}(this.compressionMethod)))throw new Error(\"Corrupted zip : compression \"+s.pretty(this.compressionMethod)+\" unknown (inner file : \"+s.transformTo(\"string\",this.fileName)+\")\");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error(\"Encrypted zip are not supported\");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?\"uint8array\":\"array\";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=s.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=s.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)?null:a(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)?null:a(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},t.exports=l},{\"./compressedObject\":2,\"./compressions\":3,\"./crc32\":4,\"./reader/readerFor\":22,\"./support\":30,\"./utf8\":31,\"./utils\":32}],35:[function(e,t,r){\"use strict\";function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var s=e(\"./stream/StreamHelper\"),i=e(\"./stream/DataWorker\"),a=e(\"./utf8\"),o=e(\"./compressedObject\"),h=e(\"./stream/GenericWorker\");n.prototype={internalStream:function(e){var t=null,r=\"string\";try{if(!e)throw new Error(\"No output type specified.\");var n=\"string\"===(r=e.toLowerCase())||\"text\"===r;\"binarystring\"!==r&&\"text\"!==r||(r=\"string\"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new a.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new h(\"error\")).error(e)}return new s(t,r,\"\")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||\"nodebuffer\").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),o.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof h?this._data:new i(this._data)}};for(var u=[\"asText\",\"asBinary\",\"asNodeBuffer\",\"asUint8Array\",\"asArrayBuffer\"],l=function(){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},f=0;f<u.length;f++)n.prototype[u[f]]=l;t.exports=n},{\"./compressedObject\":2,\"./stream/DataWorker\":27,\"./stream/GenericWorker\":28,\"./stream/StreamHelper\":29,\"./utf8\":31}],36:[function(e,l,t){(function(t){\"use strict\";var r,n,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var i=0,s=new e(u),a=t.document.createTextNode(\"\");s.observe(a,{characterData:!0}),r=function(){a.data=i=++i%2}}else if(t.setImmediate||void 0===t.MessageChannel)r=\"document\"in t&&\"onreadystatechange\"in t.document.createElement(\"script\")?function(){var e=t.document.createElement(\"script\");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var o=new t.MessageChannel;o.port1.onmessage=u,r=function(){o.port2.postMessage(0)}}var h=[];function u(){var e,t;n=!0;for(var r=h.length;r;){for(t=h,h=[],e=-1;++e<r;)t[e]();r=h.length}n=!1}l.exports=function(e){1!==h.push(e)||n||r()}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],37:[function(e,t,r){\"use strict\";var i=e(\"immediate\");function u(){}var l={},s=[\"REJECTED\"],a=[\"FULFILLED\"],n=[\"PENDING\"];function o(e){if(\"function\"!=typeof e)throw new TypeError(\"resolver must be a function\");this.state=n,this.queue=[],this.outcome=void 0,e!==u&&d(this,e)}function h(e,t,r){this.promise=e,\"function\"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),\"function\"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function f(t,r,n){i(function(){var e;try{e=r(n)}catch(e){return l.reject(t,e)}e===t?l.reject(t,new TypeError(\"Cannot resolve promise with itself\")):l.resolve(t,e)})}function c(e){var t=e&&e.then;if(e&&(\"object\"==typeof e||\"function\"==typeof e)&&\"function\"==typeof t)return function(){t.apply(e,arguments)}}function d(t,e){var r=!1;function n(e){r||(r=!0,l.reject(t,e))}function i(e){r||(r=!0,l.resolve(t,e))}var s=p(function(){e(i,n)});\"error\"===s.status&&n(s.value)}function p(e,t){var r={};try{r.value=e(t),r.status=\"success\"}catch(e){r.status=\"error\",r.value=e}return r}(t.exports=o).prototype.finally=function(t){if(\"function\"!=typeof t)return this;var r=this.constructor;return this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})})},o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){if(\"function\"!=typeof e&&this.state===a||\"function\"!=typeof t&&this.state===s)return this;var r=new this.constructor(u);this.state!==n?f(r,this.state===a?e:t,this.outcome):this.queue.push(new h(r,e,t));return r},h.prototype.callFulfilled=function(e){l.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){l.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},l.resolve=function(e,t){var r=p(c,t);if(\"error\"===r.status)return l.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},l.reject=function(e,t){e.state=s,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},o.resolve=function(e){if(e instanceof this)return e;return l.resolve(new this(u),e)},o.reject=function(e){var t=new this(u);return l.reject(t,e)},o.all=function(e){var r=this;if(\"[object Array]\"!==Object.prototype.toString.call(e))return this.reject(new TypeError(\"must be an array\"));var n=e.length,i=!1;if(!n)return this.resolve([]);var s=new Array(n),a=0,t=-1,o=new this(u);for(;++t<n;)h(e[t],t);return o;function h(e,t){r.resolve(e).then(function(e){s[t]=e,++a!==n||i||(i=!0,l.resolve(o,s))},function(e){i||(i=!0,l.reject(o,e))})}},o.race=function(e){var t=this;if(\"[object Array]\"!==Object.prototype.toString.call(e))return this.reject(new TypeError(\"must be an array\"));var r=e.length,n=!1;if(!r)return this.resolve([]);var i=-1,s=new this(u);for(;++i<r;)a=e[i],t.resolve(a).then(function(e){n||(n=!0,l.resolve(s,e))},function(e){n||(n=!0,l.reject(s,e))});var a;return s}},{immediate:36}],38:[function(e,t,r){\"use strict\";var n={};(0,e(\"./lib/utils/common\").assign)(n,e(\"./lib/deflate\"),e(\"./lib/inflate\"),e(\"./lib/zlib/constants\")),t.exports=n},{\"./lib/deflate\":39,\"./lib/inflate\":40,\"./lib/utils/common\":41,\"./lib/zlib/constants\":44}],39:[function(e,t,r){\"use strict\";var a=e(\"./zlib/deflate\"),o=e(\"./utils/common\"),h=e(\"./utils/strings\"),i=e(\"./zlib/messages\"),s=e(\"./zlib/zstream\"),u=Object.prototype.toString,l=0,f=-1,c=0,d=8;function p(e){if(!(this instanceof p))return new p(e);this.options=o.assign({level:f,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:\"\"},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=\"\",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=a.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==l)throw new Error(i[r]);if(t.header&&a.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n=\"string\"==typeof t.dictionary?h.string2buf(t.dictionary):\"[object ArrayBuffer]\"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=a.deflateSetDictionary(this.strm,n))!==l)throw new Error(i[r]);this._dict_set=!0}}function n(e,t){var r=new p(t);if(r.push(e,!0),r.err)throw r.msg||i[r.err];return r.result}p.prototype.push=function(e,t){var r,n,i=this.strm,s=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,\"string\"==typeof e?i.input=h.string2buf(e):\"[object ArrayBuffer]\"===u.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new o.Buf8(s),i.next_out=0,i.avail_out=s),1!==(r=a.deflate(i,n))&&r!==l)return this.onEnd(r),!(this.ended=!0);0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||(\"string\"===this.options.to?this.onData(h.buf2binstring(o.shrinkBuf(i.output,i.next_out))):this.onData(o.shrinkBuf(i.output,i.next_out)))}while((0<i.avail_in||0===i.avail_out)&&1!==r);return 4===n?(r=a.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===l):2!==n||(this.onEnd(l),!(i.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===l&&(\"string\"===this.options.to?this.result=this.chunks.join(\"\"):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=p,r.deflate=n,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,n(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,n(e,t)}},{\"./utils/common\":41,\"./utils/strings\":42,\"./zlib/deflate\":46,\"./zlib/messages\":51,\"./zlib/zstream\":53}],40:[function(e,t,r){\"use strict\";var c=e(\"./zlib/inflate\"),d=e(\"./utils/common\"),p=e(\"./utils/strings\"),m=e(\"./zlib/constants\"),n=e(\"./zlib/messages\"),i=e(\"./zlib/zstream\"),s=e(\"./zlib/gzheader\"),_=Object.prototype.toString;function a(e){if(!(this instanceof a))return new a(e);this.options=d.assign({chunkSize:16384,windowBits:0,to:\"\"},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg=\"\",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var r=c.inflateInit2(this.strm,t.windowBits);if(r!==m.Z_OK)throw new Error(n[r]);this.header=new s,c.inflateGetHeader(this.strm,this.header)}function o(e,t){var r=new a(t);if(r.push(e,!0),r.err)throw r.msg||n[r.err];return r.result}a.prototype.push=function(e,t){var r,n,i,s,a,o,h=this.strm,u=this.options.chunkSize,l=this.options.dictionary,f=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?m.Z_FINISH:m.Z_NO_FLUSH,\"string\"==typeof e?h.input=p.binstring2buf(e):\"[object ArrayBuffer]\"===_.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new d.Buf8(u),h.next_out=0,h.avail_out=u),(r=c.inflate(h,m.Z_NO_FLUSH))===m.Z_NEED_DICT&&l&&(o=\"string\"==typeof l?p.string2buf(l):\"[object ArrayBuffer]\"===_.call(l)?new Uint8Array(l):l,r=c.inflateSetDictionary(this.strm,o)),r===m.Z_BUF_ERROR&&!0===f&&(r=m.Z_OK,f=!1),r!==m.Z_STREAM_END&&r!==m.Z_OK)return this.onEnd(r),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&r!==m.Z_STREAM_END&&(0!==h.avail_in||n!==m.Z_FINISH&&n!==m.Z_SYNC_FLUSH)||(\"string\"===this.options.to?(i=p.utf8border(h.output,h.next_out),s=h.next_out-i,a=p.buf2string(h.output,i),h.next_out=s,h.avail_out=u-s,s&&d.arraySet(h.output,h.output,i,s,0),this.onData(a)):this.onData(d.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(f=!0)}while((0<h.avail_in||0===h.avail_out)&&r!==m.Z_STREAM_END);return r===m.Z_STREAM_END&&(n=m.Z_FINISH),n===m.Z_FINISH?(r=c.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===m.Z_OK):n!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),!(h.avail_out=0))},a.prototype.onData=function(e){this.chunks.push(e)},a.prototype.onEnd=function(e){e===m.Z_OK&&(\"string\"===this.options.to?this.result=this.chunks.join(\"\"):this.result=d.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=a,r.inflate=o,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,o(e,t)},r.ungzip=o},{\"./utils/common\":41,\"./utils/strings\":42,\"./zlib/constants\":44,\"./zlib/gzheader\":47,\"./zlib/inflate\":49,\"./zlib/messages\":51,\"./zlib/zstream\":53}],41:[function(e,t,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(\"object\"!=typeof r)throw new TypeError(r+\"must be non-object\");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var s=0;s<n;s++)e[i+s]=t[r+s]},flattenChunks:function(e){var t,r,n,i,s,a;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)s=e[t],a.set(s,i),i+=s.length;return a}},s={arraySet:function(e,t,r,n,i){for(var s=0;s<n;s++)e[i+s]=t[r+s]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(n)},{}],42:[function(e,t,r){\"use strict\";var h=e(\"./common\"),i=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var u=new h.Buf8(256),n=0;n<256;n++)u[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;function l(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&i))return String.fromCharCode.apply(null,h.shrinkBuf(e,t));for(var r=\"\",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}u[254]=u[254]=1,r.string2buf=function(e){var t,r,n,i,s,a=e.length,o=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),o+=r<128?1:r<2048?2:r<65536?3:4;for(t=new h.Buf8(o),i=s=0;s<o;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new h.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,s,a=t||e.length,o=new Array(2*a);for(r=n=0;r<a;)if((i=e[r++])<128)o[n++]=i;else if(4<(s=u[i]))o[n++]=65533,r+=s-1;else{for(i&=2===s?31:3===s?15:7;1<s&&r<a;)i=i<<6|63&e[r++],s--;1<s?o[n++]=65533:i<65536?o[n++]=i:(i-=65536,o[n++]=55296|i>>10&1023,o[n++]=56320|1023&i)}return l(o,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}},{\"./common\":41}],43:[function(e,t,r){\"use strict\";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;s=s+(i=i+t[n++]|0)|0,--a;);i%=65521,s%=65521}return i|s<<16|0}},{}],44:[function(e,t,r){\"use strict\";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){\"use strict\";var o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a<s;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){\"use strict\";var h,c=e(\"../utils/common\"),u=e(\"./trees\"),d=e(\"./adler32\"),p=e(\"./crc32\"),n=e(\"./messages\"),l=0,f=4,m=0,_=-2,g=-1,b=4,i=2,v=8,y=9,s=286,a=30,o=19,w=2*s+1,k=15,x=3,S=258,z=S+x+1,C=42,E=113,A=1,I=2,O=3,B=4;function R(e,t){return e.msg=n[t],t}function T(e){return(e<<1)-(4<e?9:0)}function D(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(c.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function N(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function U(e,t){e.pending_buf[e.pending++]=t}function P(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function L(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,h=e.strstart>e.w_size-z?e.strstart-(e.w_size-z):0,u=e.window,l=e.w_mask,f=e.prev,c=e.strstart+S,d=u[s+a-1],p=u[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===d&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&s<c);if(n=S-(c-s),s=c-S,a<n){if(e.match_start=t,o<=(a=n))break;d=u[s+a-1],p=u[s+a]}}}while((t=f[t&l])>h&&0!=--i);return a<=e.lookahead?a:e.lookahead}function j(e){var t,r,n,i,s,a,o,h,u,l,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-z)){for(c.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);i+=f}if(0===e.strm.avail_in)break;if(a=e.strm,o=e.window,h=e.strstart+e.lookahead,u=i,l=void 0,l=a.avail_in,u<l&&(l=u),r=0===l?0:(a.avail_in-=l,c.arraySet(o,a.input,a.next_in,l,h),1===a.state.wrap?a.adler=d(a.adler,o,l,h):2===a.state.wrap&&(a.adler=p(a.adler,o,l,h)),a.next_in+=l,a.total_in+=l,l),e.lookahead+=r,e.lookahead+e.insert>=x)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+x-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<x)););}while(e.lookahead<z&&0!==e.strm.avail_in)}function Z(e,t){for(var r,n;;){if(e.lookahead<z){if(j(e),e.lookahead<z&&t===l)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-z&&(e.match_length=L(e,r)),e.match_length>=x)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=e.strstart<x-1?e.strstart:x-1,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}function W(e,t){for(var r,n,i;;){if(e.lookahead<z){if(j(e),e.lookahead<z&&t===l)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=x-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-z&&(e.match_length=L(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===x&&4096<e.strstart-e.match_start)&&(e.match_length=x-1)),e.prev_length>=x&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-x,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=x-1,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return A}else if(e.match_available){if((n=u._tr_tally(e,0,e.window[e.strstart-1]))&&N(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return A}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=u._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<x-1?e.strstart:x-1,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}function M(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function H(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=v,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new c.Buf16(2*w),this.dyn_dtree=new c.Buf16(2*(2*a+1)),this.bl_tree=new c.Buf16(2*(2*o+1)),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new c.Buf16(k+1),this.heap=new c.Buf16(2*s+1),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new c.Buf16(2*s+1),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=i,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?C:E,e.adler=2===t.wrap?0:1,t.last_flush=l,u._tr_init(t),m):R(e,_)}function K(e){var t=G(e);return t===m&&function(e){e.window_size=2*e.w_size,D(e.head),e.max_lazy_match=h[e.level].max_lazy,e.good_match=h[e.level].good_length,e.nice_match=h[e.level].nice_length,e.max_chain_length=h[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=x-1,e.match_available=0,e.ins_h=0}(e.state),t}function Y(e,t,r,n,i,s){if(!e)return _;var a=1;if(t===g&&(t=6),n<0?(a=0,n=-n):15<n&&(a=2,n-=16),i<1||y<i||r!==v||n<8||15<n||t<0||9<t||s<0||b<s)return R(e,_);8===n&&(n=9);var o=new H;return(e.state=o).strm=e,o.wrap=a,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+x-1)/x),o.window=new c.Buf8(2*o.w_size),o.head=new c.Buf16(o.hash_size),o.prev=new c.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new c.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=t,o.strategy=s,o.method=r,K(e)}h=[new M(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(j(e),0===e.lookahead&&t===l)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,N(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-z&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),A)}),new M(4,4,8,4,Z),new M(4,5,16,8,Z),new M(4,6,32,32,Z),new M(4,4,16,16,W),new M(8,16,32,32,W),new M(8,16,128,128,W),new M(8,32,128,256,W),new M(32,128,258,1024,W),new M(32,258,258,4096,W)],r.deflateInit=function(e,t){return Y(e,t,v,15,8,0)},r.deflateInit2=Y,r.deflateReset=K,r.deflateResetKeep=G,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?_:(e.state.gzhead=t,m):_},r.deflate=function(e,t){var r,n,i,s;if(!e||!e.state||5<t||t<0)return e?R(e,_):_;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&t!==f)return R(e,0===e.avail_out?-5:_);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===C)if(2===n.wrap)e.adler=0,U(n,31),U(n,139),U(n,8),n.gzhead?(U(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),U(n,255&n.gzhead.time),U(n,n.gzhead.time>>8&255),U(n,n.gzhead.time>>16&255),U(n,n.gzhead.time>>24&255),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(U(n,255&n.gzhead.extra.length),U(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=p(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(U(n,0),U(n,0),U(n,0),U(n,0),U(n,0),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,3),n.status=E);else{var a=v+(n.w_bits-8<<4)<<8;a|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=E,P(n,a),0!==n.strstart&&(P(n,e.adler>>>16),P(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending!==n.pending_buf_size));)U(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,U(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,U(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&F(e),n.pending+2<=n.pending_buf_size&&(U(n,255&e.adler),U(n,e.adler>>8&255),e.adler=0,n.status=E)):n.status=E),0!==n.pending){if(F(e),0===e.avail_out)return n.last_flush=-1,m}else if(0===e.avail_in&&T(t)<=T(r)&&t!==f)return R(e,-5);if(666===n.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==l&&666!==n.status){var o=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(j(e),0===e.lookahead)){if(t===l)return A;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):3===n.strategy?function(e,t){for(var r,n,i,s,a=e.window;;){if(e.lookahead<=S){if(j(e),e.lookahead<=S&&t===l)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&0<e.strstart&&(n=a[i=e.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){s=e.strstart+S;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<s);e.match_length=S-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(r=u._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):h[n.level].func(n,t);if(o!==O&&o!==B||(n.status=666),o===A||o===O)return 0===e.avail_out&&(n.last_flush=-1),m;if(o===I&&(1===t?u._tr_align(n):5!==t&&(u._tr_stored_block(n,0,0,!1),3===t&&(D(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),F(e),0===e.avail_out))return n.last_flush=-1,m}return t!==f?m:n.wrap<=0?1:(2===n.wrap?(U(n,255&e.adler),U(n,e.adler>>8&255),U(n,e.adler>>16&255),U(n,e.adler>>24&255),U(n,255&e.total_in),U(n,e.total_in>>8&255),U(n,e.total_in>>16&255),U(n,e.total_in>>24&255)):(P(n,e.adler>>>16),P(n,65535&e.adler)),F(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?m:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==C&&69!==t&&73!==t&&91!==t&&103!==t&&t!==E&&666!==t?R(e,_):(e.state=null,t===E?R(e,-3):m):_},r.deflateSetDictionary=function(e,t){var r,n,i,s,a,o,h,u,l=t.length;if(!e||!e.state)return _;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==C||r.lookahead)return _;for(1===s&&(e.adler=d(e.adler,t,l,0)),r.wrap=0,l>=r.w_size&&(0===s&&(D(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new c.Buf8(r.w_size),c.arraySet(u,t,l-r.w_size,r.w_size,0),t=u,l=r.w_size),a=e.avail_in,o=e.next_in,h=e.input,e.avail_in=l,e.next_in=0,e.input=t,j(r);r.lookahead>=x;){for(n=r.strstart,i=r.lookahead-(x-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+x-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--i;);r.strstart=n,r.lookahead=x-1,j(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=x-1,r.match_available=0,e.next_in=o,e.input=h,e.avail_in=a,r.wrap=s,m},r.deflateInfo=\"pako deflate (from Nodeca project)\"},{\"../utils/common\":41,\"./adler32\":43,\"./crc32\":45,\"./messages\":51,\"./trees\":52}],47:[function(e,t,r){\"use strict\";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=\"\",this.comment=\"\",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){\"use strict\";t.exports=function(e,t){var r,n,i,s,a,o,h,u,l,f,c,d,p,m,_,g,b,v,y,w,k,x,S,z,C;r=e.state,n=e.next_in,z=e.input,i=n+(e.avail_in-5),s=e.next_out,C=e.output,a=s-(t-e.avail_out),o=s+(e.avail_out-257),h=r.dmax,u=r.wsize,l=r.whave,f=r.wnext,c=r.window,d=r.hold,p=r.bits,m=r.lencode,_=r.distcode,g=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{p<15&&(d+=z[n++]<<p,p+=8,d+=z[n++]<<p,p+=8),v=m[d&g];t:for(;;){if(d>>>=y=v>>>24,p-=y,0===(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(d&(1<<y)-1)];continue t}if(32&y){r.mode=12;break e}e.msg=\"invalid literal/length code\",r.mode=30;break e}w=65535&v,(y&=15)&&(p<y&&(d+=z[n++]<<p,p+=8),w+=d&(1<<y)-1,d>>>=y,p-=y),p<15&&(d+=z[n++]<<p,p+=8,d+=z[n++]<<p,p+=8),v=_[d&b];r:for(;;){if(d>>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(d&(1<<y)-1)];continue r}e.msg=\"invalid distance code\",r.mode=30;break e}if(k=65535&v,p<(y&=15)&&(d+=z[n++]<<p,(p+=8)<y&&(d+=z[n++]<<p,p+=8)),h<(k+=d&(1<<y)-1)){e.msg=\"invalid distance too far back\",r.mode=30;break e}if(d>>>=y,p-=y,(y=s-a)<k){if(l<(y=k-y)&&r.sane){e.msg=\"invalid distance too far back\",r.mode=30;break e}if(S=c,(x=0)===f){if(x+=u-y,y<w){for(w-=y;C[s++]=c[x++],--y;);x=s-k,S=C}}else if(f<y){if(x+=u+f-y,(y-=f)<w){for(w-=y;C[s++]=c[x++],--y;);if(x=0,f<w){for(w-=y=f;C[s++]=c[x++],--y;);x=s-k,S=C}}}else if(x+=f-y,y<w){for(w-=y;C[s++]=c[x++],--y;);x=s-k,S=C}for(;2<w;)C[s++]=S[x++],C[s++]=S[x++],C[s++]=S[x++],w-=3;w&&(C[s++]=S[x++],1<w&&(C[s++]=S[x++]))}else{for(x=s-k;C[s++]=C[x++],C[s++]=C[x++],C[s++]=C[x++],2<(w-=3););w&&(C[s++]=C[x++],1<w&&(C[s++]=C[x++]))}break}}break}}while(n<i&&s<o);n-=w=p>>3,d&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=s<o?o-s+257:257-(s-o),r.hold=d,r.bits=p}},{}],49:[function(e,t,r){\"use strict\";var I=e(\"../utils/common\"),O=e(\"./adler32\"),B=e(\"./crc32\"),R=e(\"./inffast\"),T=e(\"./inftrees\"),D=1,F=2,N=0,U=-2,P=1,n=852,i=592;function L(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=\"\",t.wrap&&(e.adler=1&t.wrap),t.mode=P,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new I.Buf32(n),t.distcode=t.distdyn=new I.Buf32(i),t.sane=1,t.back=-1,N):U}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,a(e)):U}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?U:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,o(e))):U}function u(e,t){var r,n;return e?(n=new s,(e.state=n).window=null,(r=h(e,t))!==N&&(e.state=null),r):U}var l,f,c=!0;function j(e){if(c){var t;for(l=new I.Buf32(512),f=new I.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(T(D,e.lens,0,288,l,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;T(F,e.lens,0,32,f,0,e.work,{bits:5}),c=!1}e.lencode=l,e.lenbits=9,e.distcode=f,e.distbits=5}function Z(e,t,r,n){var i,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new I.Buf8(s.wsize)),n>=s.wsize?(I.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(n<(i=s.wsize-s.wnext)&&(i=n),I.arraySet(s.window,t,r-n,i,s.wnext),(n-=i)?(I.arraySet(s.window,t,r-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=i))),0}r.inflateReset=o,r.inflateReset2=h,r.inflateResetKeep=a,r.inflateInit=function(e){return u(e,15)},r.inflateInit2=u,r.inflate=function(e,t){var r,n,i,s,a,o,h,u,l,f,c,d,p,m,_,g,b,v,y,w,k,x,S,z,C=0,E=new I.Buf8(4),A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return U;12===(r=e.state).mode&&(r.mode=13),a=e.next_out,i=e.output,h=e.avail_out,s=e.next_in,n=e.input,o=e.avail_in,u=r.hold,l=r.bits,f=o,c=h,x=N;e:for(;;)switch(r.mode){case P:if(0===r.wrap){r.mode=13;break}for(;l<16;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(2&r.wrap&&35615===u){E[r.check=0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&u)){e.msg=\"unknown compression method\",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){e.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<<k,e.adler=r.check=1,r.mode=512&u?10:12,l=u=0;break;case 2:for(;l<16;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(r.flags=u,8!=(255&r.flags)){e.msg=\"unknown compression method\",r.mode=30;break}if(57344&r.flags){e.msg=\"unknown header flags set\",r.mode=30;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.head&&(r.head.time=u),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(d=r.length)&&(d=o),d&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,n,s,d,k)),512&r.flags&&(r.check=B(r.check,n,d,s)),o-=d,s+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break e;for(d=0;k=n[s+d++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&d<o;);if(512&r.flags&&(r.check=B(r.check,n,d,s)),o-=d,s+=d,k)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===o)break e;for(d=0;k=n[s+d++],r.head&&k&&r.length<65536&&(r.head.comment+=String.fromCharCode(k)),k&&d<o;);if(512&r.flags&&(r.check=B(r.check,n,d,s)),o-=d,s+=d,k)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;l<16;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(u!==(65535&r.check)){e.msg=\"header crc mismatch\",r.mode=30;break}l=u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}e.adler=r.check=L(u),l=u=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){u>>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}switch(r.last=1&u,l-=1,3&(u>>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==t)break;u>>>=2,l-=2;break e;case 2:r.mode=17;break;case 3:e.msg=\"invalid block type\",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if((65535&u)!=(u>>>16^65535)){e.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(o<d&&(d=o),h<d&&(d=h),0===d)break e;I.arraySet(i,n,s,d,a),o-=d,s+=d,h-=d,a+=d,r.length-=d;break}r.mode=12;break;case 17:for(;l<14;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(r.nlen=257+(31&u),u>>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286<r.nlen||30<r.ndist){e.msg=\"too many length or distance symbols\",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;l<3;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.lens[A[r.have++]]=7&u,u>>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;g=(C=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(b<16)u>>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l<z;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(u>>>=_,l-=_,0===r.have){e.msg=\"invalid bit length repeat\",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l<z;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}l-=_,k=0,d=3+(7&(u>>>=_)),u>>>=3,l-=3}else{for(z=_+7;l<z;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}l-=_,k=0,d=11+(127&(u>>>=_)),u>>>=7,l-=7}if(r.have+d>r.nlen+r.ndist){e.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){e.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){e.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=o&&258<=h){e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,R(e,c),a=e.next_out,i=e.output,h=e.avail_out,s=e.next_in,n=e.input,o=e.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(g&&0==(240&g)){for(v=_,y=g,w=b;g=(C=r.lencode[w+((u&(1<<v+y)-1)>>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}u>>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l<z;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<<r.distbits)-1])>>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(0==(240&g)){for(v=_,y=g,w=b;g=(C=r.distcode[w+((u&(1<<v+y)-1)>>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}u>>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){e.msg=\"invalid distance code\",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l<z;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===h)break e;if(d=c-h,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg=\"invalid distance too far back\",r.mode=30;break}p=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=a-r.offset,d=r.length;for(h<d&&(d=h),h-=d,r.length-=d;i[a++]=m[p++],--d;);0===r.length&&(r.mode=21);break;case 26:if(0===h)break e;i[a++]=r.length,h--,r.mode=21;break;case 27:if(r.wrap){for(;l<32;){if(0===o)break e;o--,u|=n[s++]<<l,l+=8}if(c-=h,e.total_out+=c,r.total+=c,c&&(e.adler=r.check=r.flags?B(r.check,i,c,a-c):O(r.check,i,c,a-c)),c=h,(r.flags?u:L(u))!==r.check){e.msg=\"incorrect data check\",r.mode=30;break}l=u=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;l<32;){if(0===o)break e;o--,u+=n[s++]<<l,l+=8}if(u!==(4294967295&r.total)){e.msg=\"incorrect length check\",r.mode=30;break}l=u=0}r.mode=29;case 29:x=1;break e;case 30:x=-3;break e;case 31:return-4;case 32:default:return U}return e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,(r.wsize||c!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&Z(e,e.output,e.next_out,c-e.avail_out)?(r.mode=31,-4):(f-=e.avail_in,c-=e.avail_out,e.total_in+=f,e.total_out+=c,r.total+=c,r.wrap&&c&&(e.adler=r.check=r.flags?B(r.check,i,c,e.next_out-c):O(r.check,i,c,e.next_out-c)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==f&&0===c||4===t)&&x===N&&(x=-5),x)},r.inflateEnd=function(e){if(!e||!e.state)return U;var t=e.state;return t.window&&(t.window=null),e.state=null,N},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?U:((r.head=t).done=!1,N):U},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?U:11===r.mode&&O(1,t,n,0)!==r.check?-3:Z(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,N):U},r.inflateInfo=\"pako inflate (from Nodeca project)\"},{\"../utils/common\":41,\"./adler32\":43,\"./crc32\":45,\"./inffast\":48,\"./inftrees\":50}],50:[function(e,t,r){\"use strict\";var D=e(\"../utils/common\"),F=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],N=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],U=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],P=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,n,i,s,a,o){var h,u,l,f,c,d,p,m,_,g=o.bits,b=0,v=0,y=0,w=0,k=0,x=0,S=0,z=0,C=0,E=0,A=null,I=0,O=new D.Buf16(16),B=new D.Buf16(16),R=null,T=0;for(b=0;b<=15;b++)O[b]=0;for(v=0;v<n;v++)O[t[r+v]]++;for(k=g,w=15;1<=w&&0===O[w];w--);if(w<k&&(k=w),0===w)return i[s++]=20971520,i[s++]=20971520,o.bits=1,0;for(y=1;y<w&&0===O[y];y++);for(k<y&&(k=y),b=z=1;b<=15;b++)if(z<<=1,(z-=O[b])<0)return-1;if(0<z&&(0===e||1!==w))return-1;for(B[1]=0,b=1;b<15;b++)B[b+1]=B[b]+O[b];for(v=0;v<n;v++)0!==t[r+v]&&(a[B[t[r+v]]++]=v);if(d=0===e?(A=R=a,19):1===e?(A=F,I-=257,R=N,T-=257,256):(A=U,R=P,-1),b=y,c=s,S=v=E=0,l=-1,f=(C=1<<(x=k))-1,1===e&&852<C||2===e&&592<C)return 1;for(;;){for(p=b-S,_=a[v]<d?(m=0,a[v]):a[v]>d?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<<b-S,y=u=1<<x;i[c+(E>>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<<b-1;E&h;)h>>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=t[r+a[v]]}if(k<b&&(E&f)!==l){for(0===S&&(S=k),c+=y,z=1<<(x=b-S);x+S<w&&!((z-=O[x+S])<=0);)x++,z<<=1;if(C+=1<<x,1===e&&852<C||2===e&&592<C)return 1;i[l=E&f]=k<<24|x<<16|c-s|0}}return 0!==E&&(i[c+E]=b-S<<24|64<<16|0),o.bits=k,0}},{\"../utils/common\":41}],51:[function(e,t,r){\"use strict\";t.exports={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"}},{}],52:[function(e,t,r){\"use strict\";var i=e(\"../utils/common\"),o=0,h=1;function n(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,a=29,u=256,l=u+1+a,f=30,c=19,_=2*l+1,g=15,d=16,p=7,m=256,b=16,v=17,y=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],z=new Array(2*(l+2));n(z);var C=new Array(2*f);n(C);var E=new Array(512);n(E);var A=new Array(256);n(A);var I=new Array(a);n(I);var O,B,R,T=new Array(f);function D(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?E[e]:E[256+(e>>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function P(e,t,r){e.bi_valid>d-r?(e.bi_buf|=t<<e.bi_valid&65535,U(e,e.bi_buf),e.bi_buf=t>>d-e.bi_valid,e.bi_valid+=r-d):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function L(e,t,r){P(e,r[2*t],r[2*t+1])}function j(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function Z(e,t,r){var n,i,s=new Array(g+1),a=0;for(n=1;n<=g;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=j(s[o]++,o))}}function W(e){var t;for(t=0;t<l;t++)e.dyn_ltree[2*t]=0;for(t=0;t<f;t++)e.dyn_dtree[2*t]=0;for(t=0;t<c;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*m]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function M(e){8<e.bi_valid?U(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function H(e,t,r,n){var i=2*t,s=2*r;return e[i]<e[s]||e[i]===e[s]&&n[t]<=n[r]}function G(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&H(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!H(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function K(e,t,r){var n,i,s,a,o=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*o]<<8|e.pending_buf[e.d_buf+2*o+1],i=e.pending_buf[e.l_buf+o],o++,0===n?L(e,i,t):(L(e,(s=A[i])+u+1,t),0!==(a=w[s])&&P(e,i-=I[s],a),L(e,s=N(--n),r),0!==(a=k[s])&&P(e,n-=T[s],a)),o<e.last_lit;);L(e,m,t)}function Y(e,t){var r,n,i,s=t.dyn_tree,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,h=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=_,r=0;r<h;r++)0!==s[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):s[2*r+1]=0;for(;e.heap_len<2;)s[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,o&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)G(e,s,r);for(i=h;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,G(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,h=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,c=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=g;s++)e.bl_count[s]=0;for(h[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<_;r++)p<(s=h[2*h[2*(n=e.heap[r])+1]+1]+1)&&(s=p,m++),h[2*n+1]=s,u<n||(e.bl_count[s]++,a=0,d<=n&&(a=c[n-d]),o=h[2*n],e.opt_len+=o*(s+a),f&&(e.static_len+=o*(l[2*n+1]+a)));if(0!==m){do{for(s=p-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[p]--,m-=2}while(0<m);for(s=p;0!==s;s--)for(n=e.bl_count[s];0!==n;)u<(i=e.heap[--r])||(h[2*i+1]!==s&&(e.opt_len+=(s-h[2*i+1])*h[2*i],h[2*i+1]=s),n--)}}(e,t),Z(s,u,e.bl_count)}function X(e,t,r){var n,i,s=-1,a=t[1],o=0,h=7,u=4;for(0===a&&(h=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++o<h&&i===a||(o<u?e.bl_tree[2*i]+=o:0!==i?(i!==s&&e.bl_tree[2*i]++,e.bl_tree[2*b]++):o<=10?e.bl_tree[2*v]++:e.bl_tree[2*y]++,s=i,u=(o=0)===a?(h=138,3):i===a?(h=6,3):(h=7,4))}function V(e,t,r){var n,i,s=-1,a=t[1],o=0,h=7,u=4;for(0===a&&(h=138,u=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++o<h&&i===a)){if(o<u)for(;L(e,i,e.bl_tree),0!=--o;);else 0!==i?(i!==s&&(L(e,i,e.bl_tree),o--),L(e,b,e.bl_tree),P(e,o-3,2)):o<=10?(L(e,v,e.bl_tree),P(e,o-3,3)):(L(e,y,e.bl_tree),P(e,o-11,7));s=i,u=(o=0)===a?(h=138,3):i===a?(h=6,3):(h=7,4)}}n(T);var q=!1;function J(e,t,r,n){P(e,(s<<1)+(n?1:0),3),function(e,t,r,n){M(e),n&&(U(e,r),U(e,~r)),i.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r._tr_init=function(e){q||(function(){var e,t,r,n,i,s=new Array(g+1);for(n=r=0;n<a-1;n++)for(I[n]=r,e=0;e<1<<w[n];e++)A[r++]=n;for(A[r-1]=n,n=i=0;n<16;n++)for(T[n]=i,e=0;e<1<<k[n];e++)E[i++]=n;for(i>>=7;n<f;n++)for(T[n]=i<<7,e=0;e<1<<k[n]-7;e++)E[256+i++]=n;for(t=0;t<=g;t++)s[t]=0;for(e=0;e<=143;)z[2*e+1]=8,e++,s[8]++;for(;e<=255;)z[2*e+1]=9,e++,s[9]++;for(;e<=279;)z[2*e+1]=7,e++,s[7]++;for(;e<=287;)z[2*e+1]=8,e++,s[8]++;for(Z(z,l+1,s),e=0;e<f;e++)C[2*e+1]=5,C[2*e]=j(e,5);O=new D(z,w,u+1,l,g),B=new D(C,k,0,f,g),R=new D(new Array(0),x,0,c,p)}(),q=!0),e.l_desc=new F(e.dyn_ltree,O),e.d_desc=new F(e.dyn_dtree,B),e.bl_desc=new F(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,W(e)},r._tr_stored_block=J,r._tr_flush_block=function(e,t,r,n){var i,s,a=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return h;for(t=32;t<u;t++)if(0!==e.dyn_ltree[2*t])return h;return o}(e)),Y(e,e.l_desc),Y(e,e.d_desc),a=function(e){var t;for(X(e,e.dyn_ltree,e.l_desc.max_code),X(e,e.dyn_dtree,e.d_desc.max_code),Y(e,e.bl_desc),t=c-1;3<=t&&0===e.bl_tree[2*S[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?J(e,t,r,n):4===e.strategy||s===i?(P(e,2+(n?1:0),3),K(e,z,C)):(P(e,4+(n?1:0),3),function(e,t,r,n){var i;for(P(e,t-257,5),P(e,r-1,5),P(e,n-4,4),i=0;i<n;i++)P(e,e.bl_tree[2*S[i]+1],3);V(e,e.dyn_ltree,t-1),V(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),K(e,e.dyn_ltree,e.dyn_dtree)),W(e),n&&M(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(A[r]+u+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){P(e,2,3),L(e,m,z),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{\"../utils/common\":41}],53:[function(e,t,r){\"use strict\";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(r,n){\"use strict\";if(!r.setImmediate){var i,s,t,a,o=1,h={},u=!1,l=r.document,e=Object.getPrototypeOf&&Object.getPrototypeOf(r);e=e&&e.setTimeout?e:r,i=\"[object process]\"==={}.toString.call(r.process)?function(e){process.nextTick(function(){c(e)})}:function(){if(r.postMessage&&!r.importScripts){var e=!0,t=r.onmessage;return r.onmessage=function(){e=!1},r.postMessage(\"\",\"*\"),r.onmessage=t,e}}()?(a=\"setImmediate$\"+Math.random()+\"$\",r.addEventListener?r.addEventListener(\"message\",d,!1):r.attachEvent(\"onmessage\",d),function(e){r.postMessage(a+e,\"*\")}):r.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){c(e.data)},function(e){t.port2.postMessage(e)}):l&&\"onreadystatechange\"in l.createElement(\"script\")?(s=l.documentElement,function(e){var t=l.createElement(\"script\");t.onreadystatechange=function(){c(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):function(e){setTimeout(c,0,e)},e.setImmediate=function(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};return h[o]=n,i(o),o++},e.clearImmediate=f}function f(e){delete h[e]}function c(e){if(u)setTimeout(c,0,e);else{var t=h[e];if(t){u=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{f(e),u=!1}}}}function d(e){e.source===r&&\"string\"==typeof e.data&&0===e.data.indexOf(a)&&c(+e.data.slice(a.length))}}(\"undefined\"==typeof self?void 0===e?this:e:self)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[10])(10)});","var Parser = require('./parser');\n\nmodule.exports = function(queries, options) {\n var result = {};\n\n Object.keys(queries).forEach(function(query) {\n if (Parser.parse(query).match(options)) {\n Object.assign(result, queries[query]);\n }\n });\n\n return result;\n};\n","function And(left, right) {\n this.left = left;\n this.right = right;\n\n this.match = function(options) {\n return left.match(options) && right.match(options);\n };\n}\n\nfunction Or(left, right) {\n this.left = left;\n this.right = right;\n\n this.match = function(options) {\n return left.match(options) || right.match(options);\n };\n}\n\nmodule.exports = function Operator(type, left, right) {\n switch (type) {\n case 'and':\n return new And(left, right);\n case ',':\n return new Or(left, right);\n default:\n throw new Error(value);\n }\n};\n","var Query = require('./queries');\nvar Operator = require('./operators');\n\nvar NUMBERS = /[0-9]/;\nvar LETTERS = /[a-z|\\-]/i;\nvar WHITESPACE = /\\s/;\nvar COLON = /:/;\nvar COMMA = /,/;\nvar AND = /and$/;\nvar AT = /@/;\n\nfunction tokenizer(input) {\n var current = 0;\n var tokens = [];\n\n while (current < input.length) {\n var char = input[current];\n\n if (AT.test(char)) {\n char = input[++current];\n while (LETTERS.test(char) && char !== undefined) {\n char = input[++current];\n }\n }\n\n if (WHITESPACE.test(char) || char === ')' || char === '(') {\n current++;\n continue;\n }\n\n if (COLON.test(char) || COMMA.test(char)) {\n current++;\n tokens.push({ type: 'operator', value: char });\n continue;\n }\n\n if (NUMBERS.test(char)) {\n var value = '';\n while (NUMBERS.test(char)) {\n value += char;\n char = input[++current];\n }\n\n tokens.push({ type: 'number', value: value });\n continue;\n }\n\n if (LETTERS.test(char)) {\n var value = '';\n while (LETTERS.test(char) && char !== undefined) {\n value += char;\n char = input[++current];\n }\n if (AND.test(value)) {\n tokens.push({ type: 'operator', value: value });\n } else {\n tokens.push({ type: 'literal', value: value });\n }\n\n continue;\n }\n\n throw new TypeError(\n 'Tokenizer: I dont know what this character is: ' + char\n );\n }\n\n return tokens;\n}\n\nfunction parser(tokens) {\n var output = [];\n var stack = [];\n\n while (tokens.length > 0) {\n var token = tokens.shift();\n\n if (token.type === 'number' || token.type === 'literal') {\n output.push(token);\n continue;\n }\n\n if (token.type === 'operator') {\n if (COLON.test(token.value)) {\n token = { type: 'query', key: output.pop(), value: tokens.shift() };\n output.push(token);\n continue;\n }\n\n while (stack.length > 0) {\n output.unshift(stack.pop());\n }\n stack.push(token);\n }\n }\n\n while (stack.length > 0) {\n output.unshift(stack.pop());\n }\n\n function walk() {\n var head = output.shift();\n\n if (head.type === 'number') {\n return parseInt(head.value);\n }\n\n if (head.type === 'literal') {\n return head.value;\n }\n\n if (head.type === 'operator') {\n var l = walk();\n var r = walk();\n\n return Operator(head.value, l, r);\n }\n\n if (head.type === 'query') {\n var l = head.key.value;\n var r = head.value.value;\n\n return Query(l, r);\n }\n }\n\n return walk();\n}\n\nmodule.exports = {\n parse: function(query) {\n var tokens = tokenizer(query);\n var ast = parser(tokens);\n return ast;\n }\n};\n","function MaxHeight(value) {\n this.value = value;\n\n this.match = function(options) {\n return this.value >= options.height;\n };\n}\n\nfunction MinHeight(value) {\n this.value = value;\n\n this.match = function(options) {\n return this.value < options.height;\n };\n}\n\nfunction MaxWidth(value) {\n this.value = value;\n\n this.match = function(options) {\n return this.value >= options.width;\n };\n}\n\nfunction MinWidth(value) {\n this.value = value;\n\n this.match = function(options) {\n return this.value < options.width;\n };\n}\n\nfunction Orientation(value) {\n this.value = value;\n\n this.match = function(options) {\n return this.value === options.orientation;\n };\n}\n\nmodule.exports = function Query(type, value) {\n switch (type) {\n case 'max-height':\n return new MaxHeight(value);\n case 'min-height':\n return new MinHeight(value);\n case 'max-width':\n return new MaxWidth(value);\n case 'min-width':\n return new MinWidth(value);\n case 'orientation':\n return new Orientation(value);\n default:\n throw new Error(value);\n }\n};\n","/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module exports.\n */\n\nmodule.exports = require('./db.json')\n","/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = require('mime-db')\nvar extname = require('path').extname\n\n/**\n * Module variables.\n * @private\n */\n\nvar EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/\nvar TEXT_TYPE_REGEXP = /^text\\//i\n\n/**\n * Module exports.\n * @public\n */\n\nexports.charset = charset\nexports.charsets = { lookup: charset }\nexports.contentType = contentType\nexports.extension = extension\nexports.extensions = Object.create(null)\nexports.lookup = lookup\nexports.types = Object.create(null)\n\n// Populate the extensions/types maps\npopulateMaps(exports.extensions, exports.types)\n\n/**\n * Get the default charset for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction charset (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n var mime = match && db[match[1].toLowerCase()]\n\n if (mime && mime.charset) {\n return mime.charset\n }\n\n // default text/* to utf-8\n if (match && TEXT_TYPE_REGEXP.test(match[1])) {\n return 'UTF-8'\n }\n\n return false\n}\n\n/**\n * Create a full Content-Type header given a MIME type or extension.\n *\n * @param {string} str\n * @return {boolean|string}\n */\n\nfunction contentType (str) {\n // TODO: should this even be in this module?\n if (!str || typeof str !== 'string') {\n return false\n }\n\n var mime = str.indexOf('/') === -1\n ? exports.lookup(str)\n : str\n\n if (!mime) {\n return false\n }\n\n // TODO: use content-type or other module\n if (mime.indexOf('charset') === -1) {\n var charset = exports.charset(mime)\n if (charset) mime += '; charset=' + charset.toLowerCase()\n }\n\n return mime\n}\n\n/**\n * Get the default extension for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction extension (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n\n // get extensions\n var exts = match && exports.extensions[match[1].toLowerCase()]\n\n if (!exts || !exts.length) {\n return false\n }\n\n return exts[0]\n}\n\n/**\n * Lookup the MIME type for a file path/extension.\n *\n * @param {string} path\n * @return {boolean|string}\n */\n\nfunction lookup (path) {\n if (!path || typeof path !== 'string') {\n return false\n }\n\n // get the extension (\"ext\" or \".ext\" or full path)\n var extension = extname('x.' + path)\n .toLowerCase()\n .substr(1)\n\n if (!extension) {\n return false\n }\n\n return exports.types[extension] || false\n}\n\n/**\n * Populate the extensions and types maps.\n * @private\n */\n\nfunction populateMaps (extensions, types) {\n // source preference (least -> most)\n var preference = ['nginx', 'apache', undefined, 'iana']\n\n Object.keys(db).forEach(function forEachMimeType (type) {\n var mime = db[type]\n var exts = mime.extensions\n\n if (!exts || !exts.length) {\n return\n }\n\n // mime -> extensions\n extensions[type] = exts\n\n // extension -> mime\n for (var i = 0; i < exts.length; i++) {\n var extension = exts[i]\n\n if (types[extension]) {\n var from = preference.indexOf(db[types[extension]].source)\n var to = preference.indexOf(mime.source)\n\n if (types[extension] !== 'application/octet-stream' &&\n (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {\n // skip the remapping\n continue\n }\n }\n\n // set the extension -> mime\n types[extension] = type\n }\n })\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","'use strict';\n\n\nvar TYPED_OK = (typeof Uint8Array !== 'undefined') &&\n (typeof Uint16Array !== 'undefined') &&\n (typeof Int32Array !== 'undefined');\n\nfunction _has(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexports.assign = function (obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n while (sources.length) {\n var source = sources.shift();\n if (!source) { continue; }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be non-object');\n }\n\n for (var p in source) {\n if (_has(source, p)) {\n obj[p] = source[p];\n }\n }\n }\n\n return obj;\n};\n\n\n// reduce buffer size, avoiding mem copy\nexports.shrinkBuf = function (buf, size) {\n if (buf.length === size) { return buf; }\n if (buf.subarray) { return buf.subarray(0, size); }\n buf.length = size;\n return buf;\n};\n\n\nvar fnTyped = {\n arraySet: function (dest, src, src_offs, len, dest_offs) {\n if (src.subarray && dest.subarray) {\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\n return;\n }\n // Fallback to ordinary array\n for (var i = 0; i < len; i++) {\n dest[dest_offs + i] = src[src_offs + i];\n }\n },\n // Join array of chunks to single array.\n flattenChunks: function (chunks) {\n var i, l, len, pos, chunk, result;\n\n // calculate data length\n len = 0;\n for (i = 0, l = chunks.length; i < l; i++) {\n len += chunks[i].length;\n }\n\n // join chunks\n result = new Uint8Array(len);\n pos = 0;\n for (i = 0, l = chunks.length; i < l; i++) {\n chunk = chunks[i];\n result.set(chunk, pos);\n pos += chunk.length;\n }\n\n return result;\n }\n};\n\nvar fnUntyped = {\n arraySet: function (dest, src, src_offs, len, dest_offs) {\n for (var i = 0; i < len; i++) {\n dest[dest_offs + i] = src[src_offs + i];\n }\n },\n // Join array of chunks to single array.\n flattenChunks: function (chunks) {\n return [].concat.apply([], chunks);\n }\n};\n\n\n// Enable/Disable typed arrays use, for testing\n//\nexports.setTyped = function (on) {\n if (on) {\n exports.Buf8 = Uint8Array;\n exports.Buf16 = Uint16Array;\n exports.Buf32 = Int32Array;\n exports.assign(exports, fnTyped);\n } else {\n exports.Buf8 = Array;\n exports.Buf16 = Array;\n exports.Buf32 = Array;\n exports.assign(exports, fnUntyped);\n }\n};\n\nexports.setTyped(TYPED_OK);\n","'use strict';\n\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\n// It isn't worth it to make additional optimizations as in original.\n// Small size is preferable.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction adler32(adler, buf, len, pos) {\n var s1 = (adler & 0xffff) |0,\n s2 = ((adler >>> 16) & 0xffff) |0,\n n = 0;\n\n while (len !== 0) {\n // Set limit ~ twice less than 5552, to keep\n // s2 in 31-bits, because we force signed ints.\n // in other case %= will fail.\n n = len > 2000 ? 2000 : len;\n len -= n;\n\n do {\n s1 = (s1 + buf[pos++]) |0;\n s2 = (s2 + s1) |0;\n } while (--n);\n\n s1 %= 65521;\n s2 %= 65521;\n }\n\n return (s1 | (s2 << 16)) |0;\n}\n\n\nmodule.exports = adler32;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nmodule.exports = {\n\n /* Allowed flush values; see deflate() and inflate() below for details */\n Z_NO_FLUSH: 0,\n Z_PARTIAL_FLUSH: 1,\n Z_SYNC_FLUSH: 2,\n Z_FULL_FLUSH: 3,\n Z_FINISH: 4,\n Z_BLOCK: 5,\n Z_TREES: 6,\n\n /* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\n Z_OK: 0,\n Z_STREAM_END: 1,\n Z_NEED_DICT: 2,\n Z_ERRNO: -1,\n Z_STREAM_ERROR: -2,\n Z_DATA_ERROR: -3,\n //Z_MEM_ERROR: -4,\n Z_BUF_ERROR: -5,\n //Z_VERSION_ERROR: -6,\n\n /* compression levels */\n Z_NO_COMPRESSION: 0,\n Z_BEST_SPEED: 1,\n Z_BEST_COMPRESSION: 9,\n Z_DEFAULT_COMPRESSION: -1,\n\n\n Z_FILTERED: 1,\n Z_HUFFMAN_ONLY: 2,\n Z_RLE: 3,\n Z_FIXED: 4,\n Z_DEFAULT_STRATEGY: 0,\n\n /* Possible values of the data_type field (though see inflate()) */\n Z_BINARY: 0,\n Z_TEXT: 1,\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\n Z_UNKNOWN: 2,\n\n /* The deflate compression method */\n Z_DEFLATED: 8\n //Z_NULL: null // Use -1 or null inline, depending on var type\n};\n","'use strict';\n\n// Note: we can't get significant speed boost here.\n// So write code to minimize size - no pregenerated tables\n// and array tools dependencies.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// Use ordinary array, since untyped makes no boost here\nfunction makeTable() {\n var c, table = [];\n\n for (var n = 0; n < 256; n++) {\n c = n;\n for (var k = 0; k < 8; k++) {\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\n }\n table[n] = c;\n }\n\n return table;\n}\n\n// Create table on load. Just 255 signed longs. Not a problem.\nvar crcTable = makeTable();\n\n\nfunction crc32(crc, buf, len, pos) {\n var t = crcTable,\n end = pos + len;\n\n crc ^= -1;\n\n for (var i = pos; i < end; i++) {\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\n }\n\n return (crc ^ (-1)); // >>> 0;\n}\n\n\nmodule.exports = crc32;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils = require('../utils/common');\nvar trees = require('./trees');\nvar adler32 = require('./adler32');\nvar crc32 = require('./crc32');\nvar msg = require('./messages');\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n\n/* Allowed flush values; see deflate() and inflate() below for details */\nvar Z_NO_FLUSH = 0;\nvar Z_PARTIAL_FLUSH = 1;\n//var Z_SYNC_FLUSH = 2;\nvar Z_FULL_FLUSH = 3;\nvar Z_FINISH = 4;\nvar Z_BLOCK = 5;\n//var Z_TREES = 6;\n\n\n/* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\nvar Z_OK = 0;\nvar Z_STREAM_END = 1;\n//var Z_NEED_DICT = 2;\n//var Z_ERRNO = -1;\nvar Z_STREAM_ERROR = -2;\nvar Z_DATA_ERROR = -3;\n//var Z_MEM_ERROR = -4;\nvar Z_BUF_ERROR = -5;\n//var Z_VERSION_ERROR = -6;\n\n\n/* compression levels */\n//var Z_NO_COMPRESSION = 0;\n//var Z_BEST_SPEED = 1;\n//var Z_BEST_COMPRESSION = 9;\nvar Z_DEFAULT_COMPRESSION = -1;\n\n\nvar Z_FILTERED = 1;\nvar Z_HUFFMAN_ONLY = 2;\nvar Z_RLE = 3;\nvar Z_FIXED = 4;\nvar Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\n//var Z_BINARY = 0;\n//var Z_TEXT = 1;\n//var Z_ASCII = 1; // = Z_TEXT\nvar Z_UNKNOWN = 2;\n\n\n/* The deflate compression method */\nvar Z_DEFLATED = 8;\n\n/*============================================================================*/\n\n\nvar MAX_MEM_LEVEL = 9;\n/* Maximum value for memLevel in deflateInit2 */\nvar MAX_WBITS = 15;\n/* 32K LZ77 window */\nvar DEF_MEM_LEVEL = 8;\n\n\nvar LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\nvar LITERALS = 256;\n/* number of literal bytes 0..255 */\nvar L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\nvar D_CODES = 30;\n/* number of distance codes */\nvar BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\nvar HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\nvar MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nvar MIN_MATCH = 3;\nvar MAX_MATCH = 258;\nvar MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);\n\nvar PRESET_DICT = 0x20;\n\nvar INIT_STATE = 42;\nvar EXTRA_STATE = 69;\nvar NAME_STATE = 73;\nvar COMMENT_STATE = 91;\nvar HCRC_STATE = 103;\nvar BUSY_STATE = 113;\nvar FINISH_STATE = 666;\n\nvar BS_NEED_MORE = 1; /* block not completed, need more input or more output */\nvar BS_BLOCK_DONE = 2; /* block flush performed */\nvar BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\nvar BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\n\nvar OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\n\nfunction err(strm, errorCode) {\n strm.msg = msg[errorCode];\n return errorCode;\n}\n\nfunction rank(f) {\n return ((f) << 1) - ((f) > 4 ? 9 : 0);\n}\n\nfunction zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }\n\n\n/* =========================================================================\n * Flush as much pending output as possible. All deflate() output goes\n * through this function so some applications may wish to modify it\n * to avoid allocating a large strm->output buffer and copying into it.\n * (See also read_buf()).\n */\nfunction flush_pending(strm) {\n var s = strm.state;\n\n //_tr_flush_bits(s);\n var len = s.pending;\n if (len > strm.avail_out) {\n len = strm.avail_out;\n }\n if (len === 0) { return; }\n\n utils.arraySet(strm.output, s.pending_buf, s.pending_out, len, strm.next_out);\n strm.next_out += len;\n s.pending_out += len;\n strm.total_out += len;\n strm.avail_out -= len;\n s.pending -= len;\n if (s.pending === 0) {\n s.pending_out = 0;\n }\n}\n\n\nfunction flush_block_only(s, last) {\n trees._tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);\n s.block_start = s.strstart;\n flush_pending(s.strm);\n}\n\n\nfunction put_byte(s, b) {\n s.pending_buf[s.pending++] = b;\n}\n\n\n/* =========================================================================\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\n * IN assertion: the stream state is correct and there is enough room in\n * pending_buf.\n */\nfunction putShortMSB(s, b) {\n// put_byte(s, (Byte)(b >> 8));\n// put_byte(s, (Byte)(b & 0xff));\n s.pending_buf[s.pending++] = (b >>> 8) & 0xff;\n s.pending_buf[s.pending++] = b & 0xff;\n}\n\n\n/* ===========================================================================\n * Read a new buffer from the current input stream, update the adler32\n * and total number of bytes read. All deflate() input goes through\n * this function so some applications may wish to modify it to avoid\n * allocating a large strm->input buffer and copying from it.\n * (See also flush_pending()).\n */\nfunction read_buf(strm, buf, start, size) {\n var len = strm.avail_in;\n\n if (len > size) { len = size; }\n if (len === 0) { return 0; }\n\n strm.avail_in -= len;\n\n // zmemcpy(buf, strm->next_in, len);\n utils.arraySet(buf, strm.input, strm.next_in, len, start);\n if (strm.state.wrap === 1) {\n strm.adler = adler32(strm.adler, buf, len, start);\n }\n\n else if (strm.state.wrap === 2) {\n strm.adler = crc32(strm.adler, buf, len, start);\n }\n\n strm.next_in += len;\n strm.total_in += len;\n\n return len;\n}\n\n\n/* ===========================================================================\n * Set match_start to the longest match starting at the given string and\n * return its length. Matches shorter or equal to prev_length are discarded,\n * in which case the result is equal to prev_length and match_start is\n * garbage.\n * IN assertions: cur_match is the head of the hash chain for the current\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\n * OUT assertion: the match length is not greater than s->lookahead.\n */\nfunction longest_match(s, cur_match) {\n var chain_length = s.max_chain_length; /* max hash chain length */\n var scan = s.strstart; /* current string */\n var match; /* matched string */\n var len; /* length of current match */\n var best_len = s.prev_length; /* best match length so far */\n var nice_match = s.nice_match; /* stop if match long enough */\n var limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?\n s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;\n\n var _win = s.window; // shortcut\n\n var wmask = s.w_mask;\n var prev = s.prev;\n\n /* Stop when cur_match becomes <= limit. To simplify the code,\n * we prevent matches with the string of window index 0.\n */\n\n var strend = s.strstart + MAX_MATCH;\n var scan_end1 = _win[scan + best_len - 1];\n var scan_end = _win[scan + best_len];\n\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\n * It is easy to get rid of this optimization if necessary.\n */\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \"Code too clever\");\n\n /* Do not waste too much time if we already have a good match: */\n if (s.prev_length >= s.good_match) {\n chain_length >>= 2;\n }\n /* Do not look for matches beyond the end of the input. This is necessary\n * to make deflate deterministic.\n */\n if (nice_match > s.lookahead) { nice_match = s.lookahead; }\n\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \"need lookahead\");\n\n do {\n // Assert(cur_match < s->strstart, \"no future\");\n match = cur_match;\n\n /* Skip to next match if the match length cannot increase\n * or if the match length is less than 2. Note that the checks below\n * for insufficient lookahead only occur occasionally for performance\n * reasons. Therefore uninitialized memory will be accessed, and\n * conditional jumps will be made that depend on those values.\n * However the length of the match is limited to the lookahead, so\n * the output of deflate is not affected by the uninitialized values.\n */\n\n if (_win[match + best_len] !== scan_end ||\n _win[match + best_len - 1] !== scan_end1 ||\n _win[match] !== _win[scan] ||\n _win[++match] !== _win[scan + 1]) {\n continue;\n }\n\n /* The check at best_len-1 can be removed because it will be made\n * again later. (This heuristic is not always a win.)\n * It is not necessary to compare scan[2] and match[2] since they\n * are always equal when the other bytes match, given that\n * the hash keys are equal and that HASH_BITS >= 8.\n */\n scan += 2;\n match++;\n // Assert(*scan == *match, \"match[2]?\");\n\n /* We check for insufficient lookahead only every 8th comparison;\n * the 256th check will be made at strstart+258.\n */\n do {\n /*jshint noempty:false*/\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n scan < strend);\n\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \"wild scan\");\n\n len = MAX_MATCH - (strend - scan);\n scan = strend - MAX_MATCH;\n\n if (len > best_len) {\n s.match_start = cur_match;\n best_len = len;\n if (len >= nice_match) {\n break;\n }\n scan_end1 = _win[scan + best_len - 1];\n scan_end = _win[scan + best_len];\n }\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\n\n if (best_len <= s.lookahead) {\n return best_len;\n }\n return s.lookahead;\n}\n\n\n/* ===========================================================================\n * Fill the window when the lookahead becomes insufficient.\n * Updates strstart and lookahead.\n *\n * IN assertion: lookahead < MIN_LOOKAHEAD\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\n * At least one byte has been read, or avail_in == 0; reads are\n * performed for at least two bytes (required for the zip translate_eol\n * option -- not supported here).\n */\nfunction fill_window(s) {\n var _w_size = s.w_size;\n var p, n, m, more, str;\n\n //Assert(s->lookahead < MIN_LOOKAHEAD, \"already enough lookahead\");\n\n do {\n more = s.window_size - s.lookahead - s.strstart;\n\n // JS ints have 32 bit, block below not needed\n /* Deal with !@#$% 64K limit: */\n //if (sizeof(int) <= 2) {\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\n // more = wsize;\n //\n // } else if (more == (unsigned)(-1)) {\n // /* Very unlikely, but possible on 16 bit machine if\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\n // */\n // more--;\n // }\n //}\n\n\n /* If the window is almost full and there is insufficient lookahead,\n * move the upper half to the lower one to make room in the upper half.\n */\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\n\n utils.arraySet(s.window, s.window, _w_size, _w_size, 0);\n s.match_start -= _w_size;\n s.strstart -= _w_size;\n /* we now have strstart >= MAX_DIST */\n s.block_start -= _w_size;\n\n /* Slide the hash table (could be avoided with 32 bit values\n at the expense of memory usage). We slide even when level == 0\n to keep the hash table consistent if we switch back to level > 0\n later. (Using level 0 permanently is not an optimal usage of\n zlib, so we don't care about this pathological case.)\n */\n\n n = s.hash_size;\n p = n;\n do {\n m = s.head[--p];\n s.head[p] = (m >= _w_size ? m - _w_size : 0);\n } while (--n);\n\n n = _w_size;\n p = n;\n do {\n m = s.prev[--p];\n s.prev[p] = (m >= _w_size ? m - _w_size : 0);\n /* If n is not on any hash chain, prev[n] is garbage but\n * its value will never be used.\n */\n } while (--n);\n\n more += _w_size;\n }\n if (s.strm.avail_in === 0) {\n break;\n }\n\n /* If there was no sliding:\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\n * more == window_size - lookahead - strstart\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\n * => more >= window_size - 2*WSIZE + 2\n * In the BIG_MEM or MMAP case (not yet supported),\n * window_size == input_size + MIN_LOOKAHEAD &&\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\n * Otherwise, window_size == 2*WSIZE so more >= 2.\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\n */\n //Assert(more >= 2, \"more < 2\");\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\n s.lookahead += n;\n\n /* Initialize the hash value now that we have some input: */\n if (s.lookahead + s.insert >= MIN_MATCH) {\n str = s.strstart - s.insert;\n s.ins_h = s.window[str];\n\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask;\n//#if MIN_MATCH != 3\n// Call update_hash() MIN_MATCH-3 more times\n//#endif\n while (s.insert) {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = str;\n str++;\n s.insert--;\n if (s.lookahead + s.insert < MIN_MATCH) {\n break;\n }\n }\n }\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\n * but this is not important since only literal bytes will be emitted.\n */\n\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\n\n /* If the WIN_INIT bytes after the end of the current data have never been\n * written, then zero those bytes in order to avoid memory check reports of\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\n * the longest match routines. Update the high water mark for the next\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\n */\n// if (s.high_water < s.window_size) {\n// var curr = s.strstart + s.lookahead;\n// var init = 0;\n//\n// if (s.high_water < curr) {\n// /* Previous high water mark below current data -- zero WIN_INIT\n// * bytes or up to end of window, whichever is less.\n// */\n// init = s.window_size - curr;\n// if (init > WIN_INIT)\n// init = WIN_INIT;\n// zmemzero(s->window + curr, (unsigned)init);\n// s->high_water = curr + init;\n// }\n// else if (s->high_water < (ulg)curr + WIN_INIT) {\n// /* High water mark at or above current data, but below current data\n// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\n// * to end of window, whichever is less.\n// */\n// init = (ulg)curr + WIN_INIT - s->high_water;\n// if (init > s->window_size - s->high_water)\n// init = s->window_size - s->high_water;\n// zmemzero(s->window + s->high_water, (unsigned)init);\n// s->high_water += init;\n// }\n// }\n//\n// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\n// \"not enough room for search\");\n}\n\n/* ===========================================================================\n * Copy without compression as much as possible from the input stream, return\n * the current block state.\n * This function does not insert new strings in the dictionary since\n * uncompressible data is probably not useful. This function is used\n * only for the level=0 compression option.\n * NOTE: this function should be optimized to avoid extra copying from\n * window to pending_buf.\n */\nfunction deflate_stored(s, flush) {\n /* Stored blocks are limited to 0xffff bytes, pending_buf is limited\n * to pending_buf_size, and each stored block has a 5 byte header:\n */\n var max_block_size = 0xffff;\n\n if (max_block_size > s.pending_buf_size - 5) {\n max_block_size = s.pending_buf_size - 5;\n }\n\n /* Copy as much as possible from input to output: */\n for (;;) {\n /* Fill the window as much as possible: */\n if (s.lookahead <= 1) {\n\n //Assert(s->strstart < s->w_size+MAX_DIST(s) ||\n // s->block_start >= (long)s->w_size, \"slide too late\");\n// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||\n// s.block_start >= s.w_size)) {\n// throw new Error(\"slide too late\");\n// }\n\n fill_window(s);\n if (s.lookahead === 0 && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n\n if (s.lookahead === 0) {\n break;\n }\n /* flush the current block */\n }\n //Assert(s->block_start >= 0L, \"block gone\");\n// if (s.block_start < 0) throw new Error(\"block gone\");\n\n s.strstart += s.lookahead;\n s.lookahead = 0;\n\n /* Emit a stored block if pending_buf will be full: */\n var max_start = s.block_start + max_block_size;\n\n if (s.strstart === 0 || s.strstart >= max_start) {\n /* strstart == 0 is possible when wraparound on 16-bit machine */\n s.lookahead = s.strstart - max_start;\n s.strstart = max_start;\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n\n\n }\n /* Flush if we may have to slide, otherwise block_start may become\n * negative and the data will be gone:\n */\n if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n\n s.insert = 0;\n\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n\n if (s.strstart > s.block_start) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n return BS_NEED_MORE;\n}\n\n/* ===========================================================================\n * Compress as much as possible from the input stream, return the current\n * block state.\n * This function does not perform lazy evaluation of matches and inserts\n * new strings in the dictionary only for unmatched strings or for short\n * matches. It is used only for the fast compression options.\n */\nfunction deflate_fast(s, flush) {\n var hash_head; /* head of the hash chain */\n var bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break; /* flush the current block */\n }\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n * At this point we have always match_length < MIN_MATCH\n */\n if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n }\n if (s.match_length >= MIN_MATCH) {\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\n\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\n s.match_length - MIN_MATCH, bflush); ***/\n bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n\n /* Insert new strings in the hash table only if the match length\n * is not too large. This saves time but degrades compression.\n */\n if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\n s.match_length--; /* string at strstart already in table */\n do {\n s.strstart++;\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\n * always MIN_MATCH bytes ahead.\n */\n } while (--s.match_length !== 0);\n s.strstart++;\n } else\n {\n s.strstart += s.match_length;\n s.match_length = 0;\n s.ins_h = s.window[s.strstart];\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) & s.hash_mask;\n\n//#if MIN_MATCH != 3\n// Call UPDATE_HASH() MIN_MATCH-3 more times\n//#endif\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\n * matter since it will be recomputed at next deflate call.\n */\n }\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s.window[s.strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* ===========================================================================\n * Same as above, but achieves better compression. We use a lazy\n * evaluation for matches: a match is finally adopted only if there is\n * no better match at the next window position.\n */\nfunction deflate_slow(s, flush) {\n var hash_head; /* head of hash chain */\n var bflush; /* set if current block must be flushed */\n\n var max_insert;\n\n /* Process the input block. */\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n */\n s.prev_length = s.match_length;\n s.prev_match = s.match_start;\n s.match_length = MIN_MATCH - 1;\n\n if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&\n s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n\n if (s.match_length <= 5 &&\n (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {\n\n /* If prev_match is also MIN_MATCH, match_start is garbage\n * but we will ignore the current match anyway.\n */\n s.match_length = MIN_MATCH - 1;\n }\n }\n /* If there was a match at the previous step and the current\n * match is not better, output the previous match:\n */\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\n /* Do not insert strings in hash table beyond this. */\n\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\n\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\n s.prev_length - MIN_MATCH, bflush);***/\n bflush = trees._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\n /* Insert in hash table all strings up to the end of the match.\n * strstart-1 and strstart are already inserted. If there is not\n * enough lookahead, the last two strings are not inserted in\n * the hash table.\n */\n s.lookahead -= s.prev_length - 1;\n s.prev_length -= 2;\n do {\n if (++s.strstart <= max_insert) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n } while (--s.prev_length !== 0);\n s.match_available = 0;\n s.match_length = MIN_MATCH - 1;\n s.strstart++;\n\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n } else if (s.match_available) {\n /* If there was no match at the previous position, output a\n * single literal. If there was a match but the current match\n * is longer, truncate the previous match to a single literal.\n */\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);\n\n if (bflush) {\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\n flush_block_only(s, false);\n /***/\n }\n s.strstart++;\n s.lookahead--;\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n } else {\n /* There is no previous match to compare with, wait for\n * the next step to decide.\n */\n s.match_available = 1;\n s.strstart++;\n s.lookahead--;\n }\n }\n //Assert (flush != Z_NO_FLUSH, \"no flush?\");\n if (s.match_available) {\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);\n\n s.match_available = 0;\n }\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n return BS_BLOCK_DONE;\n}\n\n\n/* ===========================================================================\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\n * one. Do not maintain a hash table. (It will be regenerated if this run of\n * deflate switches away from Z_RLE.)\n */\nfunction deflate_rle(s, flush) {\n var bflush; /* set if current block must be flushed */\n var prev; /* byte at distance one to match */\n var scan, strend; /* scan goes up to strend for length of run */\n\n var _win = s.window;\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the longest run, plus one for the unrolled loop.\n */\n if (s.lookahead <= MAX_MATCH) {\n fill_window(s);\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* See how many times the previous byte repeats */\n s.match_length = 0;\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\n scan = s.strstart - 1;\n prev = _win[scan];\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\n strend = s.strstart + MAX_MATCH;\n do {\n /*jshint noempty:false*/\n } while (prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n scan < strend);\n s.match_length = MAX_MATCH - (strend - scan);\n if (s.match_length > s.lookahead) {\n s.match_length = s.lookahead;\n }\n }\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \"wild scan\");\n }\n\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\n if (s.match_length >= MIN_MATCH) {\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\n\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\n bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n s.strstart += s.match_length;\n s.match_length = 0;\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* ===========================================================================\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\n * (It will be regenerated if this run of deflate switches away from Huffman.)\n */\nfunction deflate_huff(s, flush) {\n var bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we have a literal to write. */\n if (s.lookahead === 0) {\n fill_window(s);\n if (s.lookahead === 0) {\n if (flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n break; /* flush the current block */\n }\n }\n\n /* Output a literal byte */\n s.match_length = 0;\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = trees._tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n}\n\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\n * the desired pack level (0..9). The values given below have been tuned to\n * exclude worst case performance for pathological files. Better values may be\n * found for specific files.\n */\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\n this.good_length = good_length;\n this.max_lazy = max_lazy;\n this.nice_length = nice_length;\n this.max_chain = max_chain;\n this.func = func;\n}\n\nvar configuration_table;\n\nconfiguration_table = [\n /* good lazy nice chain */\n new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\n new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\n new Config(4, 5, 16, 8, deflate_fast), /* 2 */\n new Config(4, 6, 32, 32, deflate_fast), /* 3 */\n\n new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\n new Config(8, 16, 32, 32, deflate_slow), /* 5 */\n new Config(8, 16, 128, 128, deflate_slow), /* 6 */\n new Config(8, 32, 128, 256, deflate_slow), /* 7 */\n new Config(32, 128, 258, 1024, deflate_slow), /* 8 */\n new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */\n];\n\n\n/* ===========================================================================\n * Initialize the \"longest match\" routines for a new zlib stream\n */\nfunction lm_init(s) {\n s.window_size = 2 * s.w_size;\n\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n\n /* Set the default configuration parameters:\n */\n s.max_lazy_match = configuration_table[s.level].max_lazy;\n s.good_match = configuration_table[s.level].good_length;\n s.nice_match = configuration_table[s.level].nice_length;\n s.max_chain_length = configuration_table[s.level].max_chain;\n\n s.strstart = 0;\n s.block_start = 0;\n s.lookahead = 0;\n s.insert = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n s.ins_h = 0;\n}\n\n\nfunction DeflateState() {\n this.strm = null; /* pointer back to this zlib stream */\n this.status = 0; /* as the name implies */\n this.pending_buf = null; /* output still pending */\n this.pending_buf_size = 0; /* size of pending_buf */\n this.pending_out = 0; /* next pending byte to output to the stream */\n this.pending = 0; /* nb of bytes in the pending buffer */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.gzhead = null; /* gzip header information to write */\n this.gzindex = 0; /* where in extra, name, or comment */\n this.method = Z_DEFLATED; /* can only be DEFLATED */\n this.last_flush = -1; /* value of flush param for previous deflate call */\n\n this.w_size = 0; /* LZ77 window size (32K by default) */\n this.w_bits = 0; /* log2(w_size) (8..16) */\n this.w_mask = 0; /* w_size - 1 */\n\n this.window = null;\n /* Sliding window. Input bytes are read into the second half of the window,\n * and move to the first half later to keep a dictionary of at least wSize\n * bytes. With this organization, matches are limited to a distance of\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\n * performed with a length multiple of the block size.\n */\n\n this.window_size = 0;\n /* Actual size of window: 2*wSize, except when the user input buffer\n * is directly used as sliding window.\n */\n\n this.prev = null;\n /* Link to older string with same hash index. To limit the size of this\n * array to 64K, this link is maintained only for the last 32K strings.\n * An index in this array is thus a window index modulo 32K.\n */\n\n this.head = null; /* Heads of the hash chains or NIL. */\n\n this.ins_h = 0; /* hash index of string to be inserted */\n this.hash_size = 0; /* number of elements in hash table */\n this.hash_bits = 0; /* log2(hash_size) */\n this.hash_mask = 0; /* hash_size-1 */\n\n this.hash_shift = 0;\n /* Number of bits by which ins_h must be shifted at each input\n * step. It must be such that after MIN_MATCH steps, the oldest\n * byte no longer takes part in the hash key, that is:\n * hash_shift * MIN_MATCH >= hash_bits\n */\n\n this.block_start = 0;\n /* Window position at the beginning of the current output block. Gets\n * negative when the window is moved backwards.\n */\n\n this.match_length = 0; /* length of best match */\n this.prev_match = 0; /* previous match */\n this.match_available = 0; /* set if previous match exists */\n this.strstart = 0; /* start of string to insert */\n this.match_start = 0; /* start of matching string */\n this.lookahead = 0; /* number of valid bytes ahead in window */\n\n this.prev_length = 0;\n /* Length of the best match at previous step. Matches not greater than this\n * are discarded. This is used in the lazy match evaluation.\n */\n\n this.max_chain_length = 0;\n /* To speed up deflation, hash chains are never searched beyond this\n * length. A higher limit improves compression ratio but degrades the\n * speed.\n */\n\n this.max_lazy_match = 0;\n /* Attempt to find a better match only when the current match is strictly\n * smaller than this value. This mechanism is used only for compression\n * levels >= 4.\n */\n // That's alias to max_lazy_match, don't use directly\n //this.max_insert_length = 0;\n /* Insert new strings in the hash table only if the match length is not\n * greater than this length. This saves time but degrades compression.\n * max_insert_length is used only for compression levels <= 3.\n */\n\n this.level = 0; /* compression level (1..9) */\n this.strategy = 0; /* favor or force Huffman coding*/\n\n this.good_match = 0;\n /* Use a faster search when the previous match is longer than this */\n\n this.nice_match = 0; /* Stop searching when current match exceeds this */\n\n /* used by trees.c: */\n\n /* Didn't use ct_data typedef below to suppress compiler warning */\n\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\n\n // Use flat array of DOUBLE size, with interleaved fata,\n // because JS does not support effective\n this.dyn_ltree = new utils.Buf16(HEAP_SIZE * 2);\n this.dyn_dtree = new utils.Buf16((2 * D_CODES + 1) * 2);\n this.bl_tree = new utils.Buf16((2 * BL_CODES + 1) * 2);\n zero(this.dyn_ltree);\n zero(this.dyn_dtree);\n zero(this.bl_tree);\n\n this.l_desc = null; /* desc. for literal tree */\n this.d_desc = null; /* desc. for distance tree */\n this.bl_desc = null; /* desc. for bit length tree */\n\n //ush bl_count[MAX_BITS+1];\n this.bl_count = new utils.Buf16(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\n this.heap = new utils.Buf16(2 * L_CODES + 1); /* heap used to build the Huffman trees */\n zero(this.heap);\n\n this.heap_len = 0; /* number of elements in the heap */\n this.heap_max = 0; /* element of largest frequency */\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\n * The same heap array is used to build all trees.\n */\n\n this.depth = new utils.Buf16(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\n zero(this.depth);\n /* Depth of each subtree used as tie breaker for trees of equal frequency\n */\n\n this.l_buf = 0; /* buffer index for literals or lengths */\n\n this.lit_bufsize = 0;\n /* Size of match buffer for literals/lengths. There are 4 reasons for\n * limiting lit_bufsize to 64K:\n * - frequencies can be kept in 16 bit counters\n * - if compression is not successful for the first block, all input\n * data is still in the window so we can still emit a stored block even\n * when input comes from standard input. (This can also be done for\n * all blocks if lit_bufsize is not greater than 32K.)\n * - if compression is not successful for a file smaller than 64K, we can\n * even emit a stored file instead of a stored block (saving 5 bytes).\n * This is applicable only for zip (not gzip or zlib).\n * - creating new Huffman trees less frequently may not provide fast\n * adaptation to changes in the input data statistics. (Take for\n * example a binary file with poorly compressible code followed by\n * a highly compressible string table.) Smaller buffer sizes give\n * fast adaptation but have of course the overhead of transmitting\n * trees more frequently.\n * - I can't count above 4\n */\n\n this.last_lit = 0; /* running index in l_buf */\n\n this.d_buf = 0;\n /* Buffer index for distances. To simplify the code, d_buf and l_buf have\n * the same number of elements. To use different lengths, an extra flag\n * array would be necessary.\n */\n\n this.opt_len = 0; /* bit length of current block with optimal trees */\n this.static_len = 0; /* bit length of current block with static trees */\n this.matches = 0; /* number of string matches in current block */\n this.insert = 0; /* bytes at end of window left to insert */\n\n\n this.bi_buf = 0;\n /* Output buffer. bits are inserted starting at the bottom (least\n * significant bits).\n */\n this.bi_valid = 0;\n /* Number of valid bits in bi_buf. All bits above the last valid bit\n * are always zero.\n */\n\n // Used for window memory init. We safely ignore it for JS. That makes\n // sense only for pointers and memory check tools.\n //this.high_water = 0;\n /* High water mark offset in window for initialized bytes -- bytes above\n * this are set to zero in order to avoid memory check warnings when\n * longest match routines access bytes past the input. This is then\n * updated to the new high water mark.\n */\n}\n\n\nfunction deflateResetKeep(strm) {\n var s;\n\n if (!strm || !strm.state) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n strm.total_in = strm.total_out = 0;\n strm.data_type = Z_UNKNOWN;\n\n s = strm.state;\n s.pending = 0;\n s.pending_out = 0;\n\n if (s.wrap < 0) {\n s.wrap = -s.wrap;\n /* was made negative by deflate(..., Z_FINISH); */\n }\n s.status = (s.wrap ? INIT_STATE : BUSY_STATE);\n strm.adler = (s.wrap === 2) ?\n 0 // crc32(0, Z_NULL, 0)\n :\n 1; // adler32(0, Z_NULL, 0)\n s.last_flush = Z_NO_FLUSH;\n trees._tr_init(s);\n return Z_OK;\n}\n\n\nfunction deflateReset(strm) {\n var ret = deflateResetKeep(strm);\n if (ret === Z_OK) {\n lm_init(strm.state);\n }\n return ret;\n}\n\n\nfunction deflateSetHeader(strm, head) {\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }\n strm.state.gzhead = head;\n return Z_OK;\n}\n\n\nfunction deflateInit2(strm, level, method, windowBits, memLevel, strategy) {\n if (!strm) { // === Z_NULL\n return Z_STREAM_ERROR;\n }\n var wrap = 1;\n\n if (level === Z_DEFAULT_COMPRESSION) {\n level = 6;\n }\n\n if (windowBits < 0) { /* suppress zlib wrapper */\n wrap = 0;\n windowBits = -windowBits;\n }\n\n else if (windowBits > 15) {\n wrap = 2; /* write gzip wrapper instead */\n windowBits -= 16;\n }\n\n\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||\n windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||\n strategy < 0 || strategy > Z_FIXED) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n\n if (windowBits === 8) {\n windowBits = 9;\n }\n /* until 256-byte window bug fixed */\n\n var s = new DeflateState();\n\n strm.state = s;\n s.strm = strm;\n\n s.wrap = wrap;\n s.gzhead = null;\n s.w_bits = windowBits;\n s.w_size = 1 << s.w_bits;\n s.w_mask = s.w_size - 1;\n\n s.hash_bits = memLevel + 7;\n s.hash_size = 1 << s.hash_bits;\n s.hash_mask = s.hash_size - 1;\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\n\n s.window = new utils.Buf8(s.w_size * 2);\n s.head = new utils.Buf16(s.hash_size);\n s.prev = new utils.Buf16(s.w_size);\n\n // Don't need mem init magic for JS.\n //s.high_water = 0; /* nothing written to s->window yet */\n\n s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */\n\n s.pending_buf_size = s.lit_bufsize * 4;\n\n //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);\n //s->pending_buf = (uchf *) overlay;\n s.pending_buf = new utils.Buf8(s.pending_buf_size);\n\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\n //s->d_buf = overlay + s->lit_bufsize/sizeof(ush);\n s.d_buf = 1 * s.lit_bufsize;\n\n //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;\n s.l_buf = (1 + 2) * s.lit_bufsize;\n\n s.level = level;\n s.strategy = strategy;\n s.method = method;\n\n return deflateReset(strm);\n}\n\nfunction deflateInit(strm, level) {\n return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);\n}\n\n\nfunction deflate(strm, flush) {\n var old_flush, s;\n var beg, val; // for gzip header write only\n\n if (!strm || !strm.state ||\n flush > Z_BLOCK || flush < 0) {\n return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;\n }\n\n s = strm.state;\n\n if (!strm.output ||\n (!strm.input && strm.avail_in !== 0) ||\n (s.status === FINISH_STATE && flush !== Z_FINISH)) {\n return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);\n }\n\n s.strm = strm; /* just in case */\n old_flush = s.last_flush;\n s.last_flush = flush;\n\n /* Write the header */\n if (s.status === INIT_STATE) {\n\n if (s.wrap === 2) { // GZIP header\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n put_byte(s, 31);\n put_byte(s, 139);\n put_byte(s, 8);\n if (!s.gzhead) { // s->gzhead == Z_NULL\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, OS_CODE);\n s.status = BUSY_STATE;\n }\n else {\n put_byte(s, (s.gzhead.text ? 1 : 0) +\n (s.gzhead.hcrc ? 2 : 0) +\n (!s.gzhead.extra ? 0 : 4) +\n (!s.gzhead.name ? 0 : 8) +\n (!s.gzhead.comment ? 0 : 16)\n );\n put_byte(s, s.gzhead.time & 0xff);\n put_byte(s, (s.gzhead.time >> 8) & 0xff);\n put_byte(s, (s.gzhead.time >> 16) & 0xff);\n put_byte(s, (s.gzhead.time >> 24) & 0xff);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, s.gzhead.os & 0xff);\n if (s.gzhead.extra && s.gzhead.extra.length) {\n put_byte(s, s.gzhead.extra.length & 0xff);\n put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);\n }\n if (s.gzhead.hcrc) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);\n }\n s.gzindex = 0;\n s.status = EXTRA_STATE;\n }\n }\n else // DEFLATE header\n {\n var header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;\n var level_flags = -1;\n\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\n level_flags = 0;\n } else if (s.level < 6) {\n level_flags = 1;\n } else if (s.level === 6) {\n level_flags = 2;\n } else {\n level_flags = 3;\n }\n header |= (level_flags << 6);\n if (s.strstart !== 0) { header |= PRESET_DICT; }\n header += 31 - (header % 31);\n\n s.status = BUSY_STATE;\n putShortMSB(s, header);\n\n /* Save the adler32 of the preset dictionary: */\n if (s.strstart !== 0) {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\n }\n }\n\n//#ifdef GZIP\n if (s.status === EXTRA_STATE) {\n if (s.gzhead.extra/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n\n while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n break;\n }\n }\n put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);\n s.gzindex++;\n }\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (s.gzindex === s.gzhead.extra.length) {\n s.gzindex = 0;\n s.status = NAME_STATE;\n }\n }\n else {\n s.status = NAME_STATE;\n }\n }\n if (s.status === NAME_STATE) {\n if (s.gzhead.name/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.name.length) {\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.gzindex = 0;\n s.status = COMMENT_STATE;\n }\n }\n else {\n s.status = COMMENT_STATE;\n }\n }\n if (s.status === COMMENT_STATE) {\n if (s.gzhead.comment/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.comment.length) {\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.status = HCRC_STATE;\n }\n }\n else {\n s.status = HCRC_STATE;\n }\n }\n if (s.status === HCRC_STATE) {\n if (s.gzhead.hcrc) {\n if (s.pending + 2 > s.pending_buf_size) {\n flush_pending(strm);\n }\n if (s.pending + 2 <= s.pending_buf_size) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n s.status = BUSY_STATE;\n }\n }\n else {\n s.status = BUSY_STATE;\n }\n }\n//#endif\n\n /* Flush as much pending output as possible */\n if (s.pending !== 0) {\n flush_pending(strm);\n if (strm.avail_out === 0) {\n /* Since avail_out is 0, deflate will be called again with\n * more output space, but possibly with both pending and\n * avail_in equal to zero. There won't be anything to do,\n * but this is not an error situation so make sure we\n * return OK instead of BUF_ERROR at next call of deflate:\n */\n s.last_flush = -1;\n return Z_OK;\n }\n\n /* Make sure there is something to do and avoid duplicate consecutive\n * flushes. For repeated and useless calls with Z_FINISH, we keep\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\n */\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&\n flush !== Z_FINISH) {\n return err(strm, Z_BUF_ERROR);\n }\n\n /* User must not provide more input after the first FINISH: */\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\n return err(strm, Z_BUF_ERROR);\n }\n\n /* Start a new block or continue the current one.\n */\n if (strm.avail_in !== 0 || s.lookahead !== 0 ||\n (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {\n var bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) :\n (s.strategy === Z_RLE ? deflate_rle(s, flush) :\n configuration_table[s.level].func(s, flush));\n\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\n s.status = FINISH_STATE;\n }\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\n if (strm.avail_out === 0) {\n s.last_flush = -1;\n /* avoid BUF_ERROR next call, see above */\n }\n return Z_OK;\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\n * of deflate should use the same flush parameter to make sure\n * that the flush is complete. So we don't have to output an\n * empty block here, this will be done at next call. This also\n * ensures that for a very small output buffer, we emit at most\n * one empty block.\n */\n }\n if (bstate === BS_BLOCK_DONE) {\n if (flush === Z_PARTIAL_FLUSH) {\n trees._tr_align(s);\n }\n else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */\n\n trees._tr_stored_block(s, 0, 0, false);\n /* For a full flush, this empty block will be recognized\n * as a special marker by inflate_sync().\n */\n if (flush === Z_FULL_FLUSH) {\n /*** CLEAR_HASH(s); ***/ /* forget history */\n zero(s.head); // Fill with NIL (= 0);\n\n if (s.lookahead === 0) {\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n }\n }\n flush_pending(strm);\n if (strm.avail_out === 0) {\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\n return Z_OK;\n }\n }\n }\n //Assert(strm->avail_out > 0, \"bug2\");\n //if (strm.avail_out <= 0) { throw new Error(\"bug2\");}\n\n if (flush !== Z_FINISH) { return Z_OK; }\n if (s.wrap <= 0) { return Z_STREAM_END; }\n\n /* Write the trailer */\n if (s.wrap === 2) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n put_byte(s, (strm.adler >> 16) & 0xff);\n put_byte(s, (strm.adler >> 24) & 0xff);\n put_byte(s, strm.total_in & 0xff);\n put_byte(s, (strm.total_in >> 8) & 0xff);\n put_byte(s, (strm.total_in >> 16) & 0xff);\n put_byte(s, (strm.total_in >> 24) & 0xff);\n }\n else\n {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n\n flush_pending(strm);\n /* If avail_out is zero, the application will call deflate again\n * to flush the rest.\n */\n if (s.wrap > 0) { s.wrap = -s.wrap; }\n /* write the trailer only once! */\n return s.pending !== 0 ? Z_OK : Z_STREAM_END;\n}\n\nfunction deflateEnd(strm) {\n var status;\n\n if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {\n return Z_STREAM_ERROR;\n }\n\n status = strm.state.status;\n if (status !== INIT_STATE &&\n status !== EXTRA_STATE &&\n status !== NAME_STATE &&\n status !== COMMENT_STATE &&\n status !== HCRC_STATE &&\n status !== BUSY_STATE &&\n status !== FINISH_STATE\n ) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n strm.state = null;\n\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;\n}\n\n\n/* =========================================================================\n * Initializes the compression dictionary from the given byte\n * sequence without producing any compressed output.\n */\nfunction deflateSetDictionary(strm, dictionary) {\n var dictLength = dictionary.length;\n\n var s;\n var str, n;\n var wrap;\n var avail;\n var next;\n var input;\n var tmpDict;\n\n if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {\n return Z_STREAM_ERROR;\n }\n\n s = strm.state;\n wrap = s.wrap;\n\n if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {\n return Z_STREAM_ERROR;\n }\n\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\n if (wrap === 1) {\n /* adler32(strm->adler, dictionary, dictLength); */\n strm.adler = adler32(strm.adler, dictionary, dictLength, 0);\n }\n\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\n\n /* if dictionary would fill window, just replace the history */\n if (dictLength >= s.w_size) {\n if (wrap === 0) { /* already empty otherwise */\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n /* use the tail */\n // dictionary = dictionary.slice(dictLength - s.w_size);\n tmpDict = new utils.Buf8(s.w_size);\n utils.arraySet(tmpDict, dictionary, dictLength - s.w_size, s.w_size, 0);\n dictionary = tmpDict;\n dictLength = s.w_size;\n }\n /* insert dictionary into window and hash */\n avail = strm.avail_in;\n next = strm.next_in;\n input = strm.input;\n strm.avail_in = dictLength;\n strm.next_in = 0;\n strm.input = dictionary;\n fill_window(s);\n while (s.lookahead >= MIN_MATCH) {\n str = s.strstart;\n n = s.lookahead - (MIN_MATCH - 1);\n do {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n\n s.head[s.ins_h] = str;\n str++;\n } while (--n);\n s.strstart = str;\n s.lookahead = MIN_MATCH - 1;\n fill_window(s);\n }\n s.strstart += s.lookahead;\n s.block_start = s.strstart;\n s.insert = s.lookahead;\n s.lookahead = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n strm.next_in = next;\n strm.input = input;\n strm.avail_in = avail;\n s.wrap = wrap;\n return Z_OK;\n}\n\n\nexports.deflateInit = deflateInit;\nexports.deflateInit2 = deflateInit2;\nexports.deflateReset = deflateReset;\nexports.deflateResetKeep = deflateResetKeep;\nexports.deflateSetHeader = deflateSetHeader;\nexports.deflate = deflate;\nexports.deflateEnd = deflateEnd;\nexports.deflateSetDictionary = deflateSetDictionary;\nexports.deflateInfo = 'pako deflate (from Nodeca project)';\n\n/* Not implemented\nexports.deflateBound = deflateBound;\nexports.deflateCopy = deflateCopy;\nexports.deflateParams = deflateParams;\nexports.deflatePending = deflatePending;\nexports.deflatePrime = deflatePrime;\nexports.deflateTune = deflateTune;\n*/\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// See state defs from inflate.js\nvar BAD = 30; /* got a data error -- remain here until reset */\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\n\n/*\n Decode literal, length, and distance codes and write out the resulting\n literal and match bytes until either not enough input or output is\n available, an end-of-block is encountered, or a data error is encountered.\n When large enough input and output buffers are supplied to inflate(), for\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\n inflate execution time is spent in this routine.\n\n Entry assumptions:\n\n state.mode === LEN\n strm.avail_in >= 6\n strm.avail_out >= 258\n start >= strm.avail_out\n state.bits < 8\n\n On return, state.mode is one of:\n\n LEN -- ran out of enough output space or enough available input\n TYPE -- reached end of block code, inflate() to interpret next block\n BAD -- error in block data\n\n Notes:\n\n - The maximum input bits used by a length/distance pair is 15 bits for the\n length code, 5 bits for the length extra, 15 bits for the distance code,\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\n checking for available input while decoding.\n\n - The maximum bytes that a single length/distance pair can output is 258\n bytes, which is the maximum length that can be coded. inflate_fast()\n requires strm.avail_out >= 258 for each loop to avoid checking for\n output space.\n */\nmodule.exports = function inflate_fast(strm, start) {\n var state;\n var _in; /* local strm.input */\n var last; /* have enough input while in < last */\n var _out; /* local strm.output */\n var beg; /* inflate()'s initial strm.output */\n var end; /* while out < end, enough space available */\n//#ifdef INFLATE_STRICT\n var dmax; /* maximum distance from zlib header */\n//#endif\n var wsize; /* window size or zero if not using window */\n var whave; /* valid bytes in the window */\n var wnext; /* window write index */\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\n var s_window; /* allocated sliding window, if wsize != 0 */\n var hold; /* local strm.hold */\n var bits; /* local strm.bits */\n var lcode; /* local strm.lencode */\n var dcode; /* local strm.distcode */\n var lmask; /* mask for first level of length codes */\n var dmask; /* mask for first level of distance codes */\n var here; /* retrieved table entry */\n var op; /* code bits, operation, extra bits, or */\n /* window position, window bytes to copy */\n var len; /* match length, unused bytes */\n var dist; /* match distance */\n var from; /* where to copy match from */\n var from_source;\n\n\n var input, output; // JS specific, because we have no pointers\n\n /* copy state to local variables */\n state = strm.state;\n //here = state.here;\n _in = strm.next_in;\n input = strm.input;\n last = _in + (strm.avail_in - 5);\n _out = strm.next_out;\n output = strm.output;\n beg = _out - (start - strm.avail_out);\n end = _out + (strm.avail_out - 257);\n//#ifdef INFLATE_STRICT\n dmax = state.dmax;\n//#endif\n wsize = state.wsize;\n whave = state.whave;\n wnext = state.wnext;\n s_window = state.window;\n hold = state.hold;\n bits = state.bits;\n lcode = state.lencode;\n dcode = state.distcode;\n lmask = (1 << state.lenbits) - 1;\n dmask = (1 << state.distbits) - 1;\n\n\n /* decode literals and length/distances until end-of-block or not enough\n input data or output space */\n\n top:\n do {\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n\n here = lcode[hold & lmask];\n\n dolen:\n for (;;) { // Goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n if (op === 0) { /* literal */\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n output[_out++] = here & 0xffff/*here.val*/;\n }\n else if (op & 16) { /* length base */\n len = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (op) {\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n len += hold & ((1 << op) - 1);\n hold >>>= op;\n bits -= op;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", len));\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n here = dcode[hold & dmask];\n\n dodist:\n for (;;) { // goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n\n if (op & 16) { /* distance base */\n dist = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n }\n dist += hold & ((1 << op) - 1);\n//#ifdef INFLATE_STRICT\n if (dist > dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break top;\n }\n//#endif\n hold >>>= op;\n bits -= op;\n //Tracevv((stderr, \"inflate: distance %u\\n\", dist));\n op = _out - beg; /* max distance in output */\n if (dist > op) { /* see if copy from window */\n op = dist - op; /* distance back in window */\n if (op > whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break top;\n }\n\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// if (len <= op - whave) {\n// do {\n// output[_out++] = 0;\n// } while (--len);\n// continue top;\n// }\n// len -= op - whave;\n// do {\n// output[_out++] = 0;\n// } while (--op > whave);\n// if (op === 0) {\n// from = _out - dist;\n// do {\n// output[_out++] = output[from++];\n// } while (--len);\n// continue top;\n// }\n//#endif\n }\n from = 0; // window index\n from_source = s_window;\n if (wnext === 0) { /* very common case */\n from += wsize - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n else if (wnext < op) { /* wrap around window */\n from += wsize + wnext - op;\n op -= wnext;\n if (op < len) { /* some from end of window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = 0;\n if (wnext < len) { /* some from start of window */\n op = wnext;\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n }\n else { /* contiguous in window */\n from += wnext - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n while (len > 2) {\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n len -= 3;\n }\n if (len) {\n output[_out++] = from_source[from++];\n if (len > 1) {\n output[_out++] = from_source[from++];\n }\n }\n }\n else {\n from = _out - dist; /* copy direct from output */\n do { /* minimum length is three */\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n len -= 3;\n } while (len > 2);\n if (len) {\n output[_out++] = output[from++];\n if (len > 1) {\n output[_out++] = output[from++];\n }\n }\n }\n }\n else if ((op & 64) === 0) { /* 2nd level distance code */\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dodist;\n }\n else {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n }\n else if ((op & 64) === 0) { /* 2nd level length code */\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dolen;\n }\n else if (op & 32) { /* end-of-block */\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.mode = TYPE;\n break top;\n }\n else {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n } while (_in < last && _out < end);\n\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\n len = bits >> 3;\n _in -= len;\n bits -= len << 3;\n hold &= (1 << bits) - 1;\n\n /* update state and return */\n strm.next_in = _in;\n strm.next_out = _out;\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\n state.hold = hold;\n state.bits = bits;\n return;\n};\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils = require('../utils/common');\nvar adler32 = require('./adler32');\nvar crc32 = require('./crc32');\nvar inflate_fast = require('./inffast');\nvar inflate_table = require('./inftrees');\n\nvar CODES = 0;\nvar LENS = 1;\nvar DISTS = 2;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n\n/* Allowed flush values; see deflate() and inflate() below for details */\n//var Z_NO_FLUSH = 0;\n//var Z_PARTIAL_FLUSH = 1;\n//var Z_SYNC_FLUSH = 2;\n//var Z_FULL_FLUSH = 3;\nvar Z_FINISH = 4;\nvar Z_BLOCK = 5;\nvar Z_TREES = 6;\n\n\n/* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\nvar Z_OK = 0;\nvar Z_STREAM_END = 1;\nvar Z_NEED_DICT = 2;\n//var Z_ERRNO = -1;\nvar Z_STREAM_ERROR = -2;\nvar Z_DATA_ERROR = -3;\nvar Z_MEM_ERROR = -4;\nvar Z_BUF_ERROR = -5;\n//var Z_VERSION_ERROR = -6;\n\n/* The deflate compression method */\nvar Z_DEFLATED = 8;\n\n\n/* STATES ====================================================================*/\n/* ===========================================================================*/\n\n\nvar HEAD = 1; /* i: waiting for magic header */\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\nvar TIME = 3; /* i: waiting for modification time (gzip) */\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\nvar DICTID = 10; /* i: waiting for dictionary check value */\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\nvar LENLENS = 18; /* i: waiting for code length code lengths */\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\nvar LEN = 21; /* i: waiting for length/lit/eob code */\nvar LENEXT = 22; /* i: waiting for length extra bits */\nvar DIST = 23; /* i: waiting for distance code */\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\nvar MATCH = 25; /* o: waiting for output space to copy string */\nvar LIT = 26; /* o: waiting for output space to write literal */\nvar CHECK = 27; /* i: waiting for 32-bit check value */\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\nvar DONE = 29; /* finished check, done -- remain here until reset */\nvar BAD = 30; /* got a data error -- remain here until reset */\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\n\n/* ===========================================================================*/\n\n\n\nvar ENOUGH_LENS = 852;\nvar ENOUGH_DISTS = 592;\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nvar MAX_WBITS = 15;\n/* 32K LZ77 window */\nvar DEF_WBITS = MAX_WBITS;\n\n\nfunction zswap32(q) {\n return (((q >>> 24) & 0xff) +\n ((q >>> 8) & 0xff00) +\n ((q & 0xff00) << 8) +\n ((q & 0xff) << 24));\n}\n\n\nfunction InflateState() {\n this.mode = 0; /* current inflate mode */\n this.last = false; /* true if processing last block */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.havedict = false; /* true if dictionary provided */\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\n this.check = 0; /* protected copy of check value */\n this.total = 0; /* protected copy of output count */\n // TODO: may be {}\n this.head = null; /* where to save gzip header information */\n\n /* sliding window */\n this.wbits = 0; /* log base 2 of requested window size */\n this.wsize = 0; /* window size or zero if not using window */\n this.whave = 0; /* valid bytes in the window */\n this.wnext = 0; /* window write index */\n this.window = null; /* allocated sliding window, if needed */\n\n /* bit accumulator */\n this.hold = 0; /* input bit accumulator */\n this.bits = 0; /* number of bits in \"in\" */\n\n /* for string and stored block copying */\n this.length = 0; /* literal or length of data to copy */\n this.offset = 0; /* distance back to copy string from */\n\n /* for table and code decoding */\n this.extra = 0; /* extra bits needed */\n\n /* fixed and dynamic code tables */\n this.lencode = null; /* starting table for length/literal codes */\n this.distcode = null; /* starting table for distance codes */\n this.lenbits = 0; /* index bits for lencode */\n this.distbits = 0; /* index bits for distcode */\n\n /* dynamic table building */\n this.ncode = 0; /* number of code length code lengths */\n this.nlen = 0; /* number of length code lengths */\n this.ndist = 0; /* number of distance code lengths */\n this.have = 0; /* number of code lengths in lens[] */\n this.next = null; /* next available space in codes[] */\n\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\n this.work = new utils.Buf16(288); /* work area for code table building */\n\n /*\n because we don't have pointers in js, we use lencode and distcode directly\n as buffers so we don't need codes\n */\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\n this.sane = 0; /* if false, allow invalid distance too far */\n this.back = 0; /* bits back of last unprocessed length/lit */\n this.was = 0; /* initial length of match */\n}\n\nfunction inflateResetKeep(strm) {\n var state;\n\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n state = strm.state;\n strm.total_in = strm.total_out = state.total = 0;\n strm.msg = ''; /*Z_NULL*/\n if (state.wrap) { /* to support ill-conceived Java test suite */\n strm.adler = state.wrap & 1;\n }\n state.mode = HEAD;\n state.last = 0;\n state.havedict = 0;\n state.dmax = 32768;\n state.head = null/*Z_NULL*/;\n state.hold = 0;\n state.bits = 0;\n //state.lencode = state.distcode = state.next = state.codes;\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\n\n state.sane = 1;\n state.back = -1;\n //Tracev((stderr, \"inflate: reset\\n\"));\n return Z_OK;\n}\n\nfunction inflateReset(strm) {\n var state;\n\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n state = strm.state;\n state.wsize = 0;\n state.whave = 0;\n state.wnext = 0;\n return inflateResetKeep(strm);\n\n}\n\nfunction inflateReset2(strm, windowBits) {\n var wrap;\n var state;\n\n /* get the state */\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n state = strm.state;\n\n /* extract wrap request from windowBits parameter */\n if (windowBits < 0) {\n wrap = 0;\n windowBits = -windowBits;\n }\n else {\n wrap = (windowBits >> 4) + 1;\n if (windowBits < 48) {\n windowBits &= 15;\n }\n }\n\n /* set number of window bits, free window if different */\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\n return Z_STREAM_ERROR;\n }\n if (state.window !== null && state.wbits !== windowBits) {\n state.window = null;\n }\n\n /* update state and reset the rest of it */\n state.wrap = wrap;\n state.wbits = windowBits;\n return inflateReset(strm);\n}\n\nfunction inflateInit2(strm, windowBits) {\n var ret;\n var state;\n\n if (!strm) { return Z_STREAM_ERROR; }\n //strm.msg = Z_NULL; /* in case we return an error */\n\n state = new InflateState();\n\n //if (state === Z_NULL) return Z_MEM_ERROR;\n //Tracev((stderr, \"inflate: allocated\\n\"));\n strm.state = state;\n state.window = null/*Z_NULL*/;\n ret = inflateReset2(strm, windowBits);\n if (ret !== Z_OK) {\n strm.state = null/*Z_NULL*/;\n }\n return ret;\n}\n\nfunction inflateInit(strm) {\n return inflateInit2(strm, DEF_WBITS);\n}\n\n\n/*\n Return state with length and distance decoding tables and index sizes set to\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\n If BUILDFIXED is defined, then instead this routine builds the tables the\n first time it's called, and returns those tables the first time and\n thereafter. This reduces the size of the code by about 2K bytes, in\n exchange for a little execution time. However, BUILDFIXED should not be\n used for threaded applications, since the rewriting of the tables and virgin\n may not be thread-safe.\n */\nvar virgin = true;\n\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\n\nfunction fixedtables(state) {\n /* build fixed huffman tables if first call (may not be thread safe) */\n if (virgin) {\n var sym;\n\n lenfix = new utils.Buf32(512);\n distfix = new utils.Buf32(32);\n\n /* literal/length table */\n sym = 0;\n while (sym < 144) { state.lens[sym++] = 8; }\n while (sym < 256) { state.lens[sym++] = 9; }\n while (sym < 280) { state.lens[sym++] = 7; }\n while (sym < 288) { state.lens[sym++] = 8; }\n\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\n\n /* distance table */\n sym = 0;\n while (sym < 32) { state.lens[sym++] = 5; }\n\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\n\n /* do this just once */\n virgin = false;\n }\n\n state.lencode = lenfix;\n state.lenbits = 9;\n state.distcode = distfix;\n state.distbits = 5;\n}\n\n\n/*\n Update the window with the last wsize (normally 32K) bytes written before\n returning. If window does not exist yet, create it. This is only called\n when a window is already in use, or when output has been written during this\n inflate call, but the end of the deflate stream has not been reached yet.\n It is also called to create a window for dictionary data when a dictionary\n is loaded.\n\n Providing output buffers larger than 32K to inflate() should provide a speed\n advantage, since only the last 32K of output is copied to the sliding window\n upon return from inflate(), and since all distances after the first 32K of\n output will fall in the output data, making match copies simpler and faster.\n The advantage may be dependent on the size of the processor's data caches.\n */\nfunction updatewindow(strm, src, end, copy) {\n var dist;\n var state = strm.state;\n\n /* if it hasn't been done already, allocate space for the window */\n if (state.window === null) {\n state.wsize = 1 << state.wbits;\n state.wnext = 0;\n state.whave = 0;\n\n state.window = new utils.Buf8(state.wsize);\n }\n\n /* copy state->wsize or less output bytes into the circular window */\n if (copy >= state.wsize) {\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\n state.wnext = 0;\n state.whave = state.wsize;\n }\n else {\n dist = state.wsize - state.wnext;\n if (dist > copy) {\n dist = copy;\n }\n //zmemcpy(state->window + state->wnext, end - copy, dist);\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\n copy -= dist;\n if (copy) {\n //zmemcpy(state->window, end - copy, copy);\n utils.arraySet(state.window, src, end - copy, copy, 0);\n state.wnext = copy;\n state.whave = state.wsize;\n }\n else {\n state.wnext += dist;\n if (state.wnext === state.wsize) { state.wnext = 0; }\n if (state.whave < state.wsize) { state.whave += dist; }\n }\n }\n return 0;\n}\n\nfunction inflate(strm, flush) {\n var state;\n var input, output; // input/output buffers\n var next; /* next input INDEX */\n var put; /* next output INDEX */\n var have, left; /* available input and output */\n var hold; /* bit buffer */\n var bits; /* bits in bit buffer */\n var _in, _out; /* save starting available input and output */\n var copy; /* number of stored or match bytes to copy */\n var from; /* where to copy match bytes from */\n var from_source;\n var here = 0; /* current decoding table entry */\n var here_bits, here_op, here_val; // paked \"here\" denormalized (JS specific)\n //var last; /* parent table entry */\n var last_bits, last_op, last_val; // paked \"last\" denormalized (JS specific)\n var len; /* length to copy for repeats, bits to drop */\n var ret; /* return code */\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\n var opts;\n\n var n; // temporary var for NEED_BITS\n\n var order = /* permutation of code lengths */\n [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];\n\n\n if (!strm || !strm.state || !strm.output ||\n (!strm.input && strm.avail_in !== 0)) {\n return Z_STREAM_ERROR;\n }\n\n state = strm.state;\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\n\n\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n _in = have;\n _out = left;\n ret = Z_OK;\n\n inf_leave: // goto emulation\n for (;;) {\n switch (state.mode) {\n case HEAD:\n if (state.wrap === 0) {\n state.mode = TYPEDO;\n break;\n }\n //=== NEEDBITS(16);\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = FLAGS;\n break;\n }\n state.flags = 0; /* expect zlib header */\n if (state.head) {\n state.head.done = false;\n }\n if (!(state.wrap & 1) || /* check if zlib header allowed */\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\n strm.msg = 'incorrect header check';\n state.mode = BAD;\n break;\n }\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\n if (state.wbits === 0) {\n state.wbits = len;\n }\n else if (len > state.wbits) {\n strm.msg = 'invalid window size';\n state.mode = BAD;\n break;\n }\n state.dmax = 1 << len;\n //Tracev((stderr, \"inflate: zlib header ok\\n\"));\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = hold & 0x200 ? DICTID : TYPE;\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n break;\n case FLAGS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.flags = hold;\n if ((state.flags & 0xff) !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n if (state.flags & 0xe000) {\n strm.msg = 'unknown header flags set';\n state.mode = BAD;\n break;\n }\n if (state.head) {\n state.head.text = ((hold >> 8) & 1);\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = TIME;\n /* falls through */\n case TIME:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.time = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC4(state.check, hold)\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n hbuf[2] = (hold >>> 16) & 0xff;\n hbuf[3] = (hold >>> 24) & 0xff;\n state.check = crc32(state.check, hbuf, 4, 0);\n //===\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = OS;\n /* falls through */\n case OS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.xflags = (hold & 0xff);\n state.head.os = (hold >> 8);\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = EXLEN;\n /* falls through */\n case EXLEN:\n if (state.flags & 0x0400) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length = hold;\n if (state.head) {\n state.head.extra_len = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n else if (state.head) {\n state.head.extra = null/*Z_NULL*/;\n }\n state.mode = EXTRA;\n /* falls through */\n case EXTRA:\n if (state.flags & 0x0400) {\n copy = state.length;\n if (copy > have) { copy = have; }\n if (copy) {\n if (state.head) {\n len = state.head.extra_len - state.length;\n if (!state.head.extra) {\n // Use untyped array for more convenient processing later\n state.head.extra = new Array(state.head.extra_len);\n }\n utils.arraySet(\n state.head.extra,\n input,\n next,\n // extra field is limited to 65536 bytes\n // - no need for additional size check\n copy,\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\n len\n );\n //zmemcpy(state.head.extra + len, next,\n // len + copy > state.head.extra_max ?\n // state.head.extra_max - len : copy);\n }\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n state.length -= copy;\n }\n if (state.length) { break inf_leave; }\n }\n state.length = 0;\n state.mode = NAME;\n /* falls through */\n case NAME:\n if (state.flags & 0x0800) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n // TODO: 2 or 1 bytes?\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.name_max*/)) {\n state.head.name += String.fromCharCode(len);\n }\n } while (len && copy < have);\n\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.name = null;\n }\n state.length = 0;\n state.mode = COMMENT;\n /* falls through */\n case COMMENT:\n if (state.flags & 0x1000) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.comm_max*/)) {\n state.head.comment += String.fromCharCode(len);\n }\n } while (len && copy < have);\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.comment = null;\n }\n state.mode = HCRC;\n /* falls through */\n case HCRC:\n if (state.flags & 0x0200) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.check & 0xffff)) {\n strm.msg = 'header crc mismatch';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n if (state.head) {\n state.head.hcrc = ((state.flags >> 9) & 1);\n state.head.done = true;\n }\n strm.adler = state.check = 0;\n state.mode = TYPE;\n break;\n case DICTID:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n strm.adler = state.check = zswap32(hold);\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = DICT;\n /* falls through */\n case DICT:\n if (state.havedict === 0) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n return Z_NEED_DICT;\n }\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = TYPE;\n /* falls through */\n case TYPE:\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case TYPEDO:\n if (state.last) {\n //--- BYTEBITS() ---//\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n state.mode = CHECK;\n break;\n }\n //=== NEEDBITS(3); */\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.last = (hold & 0x01)/*BITS(1)*/;\n //--- DROPBITS(1) ---//\n hold >>>= 1;\n bits -= 1;\n //---//\n\n switch ((hold & 0x03)/*BITS(2)*/) {\n case 0: /* stored block */\n //Tracev((stderr, \"inflate: stored block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = STORED;\n break;\n case 1: /* fixed block */\n fixedtables(state);\n //Tracev((stderr, \"inflate: fixed codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = LEN_; /* decode codes */\n if (flush === Z_TREES) {\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break inf_leave;\n }\n break;\n case 2: /* dynamic block */\n //Tracev((stderr, \"inflate: dynamic codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = TABLE;\n break;\n case 3:\n strm.msg = 'invalid block type';\n state.mode = BAD;\n }\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break;\n case STORED:\n //--- BYTEBITS() ---// /* go to byte boundary */\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\n strm.msg = 'invalid stored block lengths';\n state.mode = BAD;\n break;\n }\n state.length = hold & 0xffff;\n //Tracev((stderr, \"inflate: stored length %u\\n\",\n // state.length));\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = COPY_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case COPY_:\n state.mode = COPY;\n /* falls through */\n case COPY:\n copy = state.length;\n if (copy) {\n if (copy > have) { copy = have; }\n if (copy > left) { copy = left; }\n if (copy === 0) { break inf_leave; }\n //--- zmemcpy(put, next, copy); ---\n utils.arraySet(output, input, next, copy, put);\n //---//\n have -= copy;\n next += copy;\n left -= copy;\n put += copy;\n state.length -= copy;\n break;\n }\n //Tracev((stderr, \"inflate: stored end\\n\"));\n state.mode = TYPE;\n break;\n case TABLE:\n //=== NEEDBITS(14); */\n while (bits < 14) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n//#ifndef PKZIP_BUG_WORKAROUND\n if (state.nlen > 286 || state.ndist > 30) {\n strm.msg = 'too many length or distance symbols';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracev((stderr, \"inflate: table sizes ok\\n\"));\n state.have = 0;\n state.mode = LENLENS;\n /* falls through */\n case LENLENS:\n while (state.have < state.ncode) {\n //=== NEEDBITS(3);\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n while (state.have < 19) {\n state.lens[order[state.have++]] = 0;\n }\n // We have separate tables & no pointers. 2 commented lines below not needed.\n //state.next = state.codes;\n //state.lencode = state.next;\n // Switch to use dynamic table\n state.lencode = state.lendyn;\n state.lenbits = 7;\n\n opts = { bits: state.lenbits };\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\n state.lenbits = opts.bits;\n\n if (ret) {\n strm.msg = 'invalid code lengths set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, \"inflate: code lengths ok\\n\"));\n state.have = 0;\n state.mode = CODELENS;\n /* falls through */\n case CODELENS:\n while (state.have < state.nlen + state.ndist) {\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_val < 16) {\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.lens[state.have++] = here_val;\n }\n else {\n if (here_val === 16) {\n //=== NEEDBITS(here.bits + 2);\n n = here_bits + 2;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n if (state.have === 0) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n len = state.lens[state.have - 1];\n copy = 3 + (hold & 0x03);//BITS(2);\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n }\n else if (here_val === 17) {\n //=== NEEDBITS(here.bits + 3);\n n = here_bits + 3;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 3 + (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n else {\n //=== NEEDBITS(here.bits + 7);\n n = here_bits + 7;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 11 + (hold & 0x7f);//BITS(7);\n //--- DROPBITS(7) ---//\n hold >>>= 7;\n bits -= 7;\n //---//\n }\n if (state.have + copy > state.nlen + state.ndist) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n while (copy--) {\n state.lens[state.have++] = len;\n }\n }\n }\n\n /* handle error breaks in while */\n if (state.mode === BAD) { break; }\n\n /* check for end-of-block code (better have one) */\n if (state.lens[256] === 0) {\n strm.msg = 'invalid code -- missing end-of-block';\n state.mode = BAD;\n break;\n }\n\n /* build code tables -- note: do not change the lenbits or distbits\n values here (9 and 6) without reading the comments in inftrees.h\n concerning the ENOUGH constants, which depend on those values */\n state.lenbits = 9;\n\n opts = { bits: state.lenbits };\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.lenbits = opts.bits;\n // state.lencode = state.next;\n\n if (ret) {\n strm.msg = 'invalid literal/lengths set';\n state.mode = BAD;\n break;\n }\n\n state.distbits = 6;\n //state.distcode.copy(state.codes);\n // Switch to use dynamic table\n state.distcode = state.distdyn;\n opts = { bits: state.distbits };\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.distbits = opts.bits;\n // state.distcode = state.next;\n\n if (ret) {\n strm.msg = 'invalid distances set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, 'inflate: codes ok\\n'));\n state.mode = LEN_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case LEN_:\n state.mode = LEN;\n /* falls through */\n case LEN:\n if (have >= 6 && left >= 258) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n inflate_fast(strm, _out);\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n if (state.mode === TYPE) {\n state.back = -1;\n }\n break;\n }\n state.back = 0;\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if (here_bits <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_op && (here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.lencode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n state.length = here_val;\n if (here_op === 0) {\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n state.mode = LIT;\n break;\n }\n if (here_op & 32) {\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.back = -1;\n state.mode = TYPE;\n break;\n }\n if (here_op & 64) {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break;\n }\n state.extra = here_op & 15;\n state.mode = LENEXT;\n /* falls through */\n case LENEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", state.length));\n state.was = state.length;\n state.mode = DIST;\n /* falls through */\n case DIST:\n for (;;) {\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if ((here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.distcode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n if (here_op & 64) {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break;\n }\n state.offset = here_val;\n state.extra = (here_op) & 15;\n state.mode = DISTEXT;\n /* falls through */\n case DISTEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n//#ifdef INFLATE_STRICT\n if (state.offset > state.dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracevv((stderr, \"inflate: distance %u\\n\", state.offset));\n state.mode = MATCH;\n /* falls through */\n case MATCH:\n if (left === 0) { break inf_leave; }\n copy = _out - left;\n if (state.offset > copy) { /* copy from window */\n copy = state.offset - copy;\n if (copy > state.whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// Trace((stderr, \"inflate.c too far\\n\"));\n// copy -= state.whave;\n// if (copy > state.length) { copy = state.length; }\n// if (copy > left) { copy = left; }\n// left -= copy;\n// state.length -= copy;\n// do {\n// output[put++] = 0;\n// } while (--copy);\n// if (state.length === 0) { state.mode = LEN; }\n// break;\n//#endif\n }\n if (copy > state.wnext) {\n copy -= state.wnext;\n from = state.wsize - copy;\n }\n else {\n from = state.wnext - copy;\n }\n if (copy > state.length) { copy = state.length; }\n from_source = state.window;\n }\n else { /* copy from output */\n from_source = output;\n from = put - state.offset;\n copy = state.length;\n }\n if (copy > left) { copy = left; }\n left -= copy;\n state.length -= copy;\n do {\n output[put++] = from_source[from++];\n } while (--copy);\n if (state.length === 0) { state.mode = LEN; }\n break;\n case LIT:\n if (left === 0) { break inf_leave; }\n output[put++] = state.length;\n left--;\n state.mode = LEN;\n break;\n case CHECK:\n if (state.wrap) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n // Use '|' instead of '+' to make sure that result is signed\n hold |= input[next++] << bits;\n bits += 8;\n }\n //===//\n _out -= left;\n strm.total_out += _out;\n state.total += _out;\n if (_out) {\n strm.adler = state.check =\n /*UPDATE(state.check, put - _out, _out);*/\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\n\n }\n _out = left;\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\n strm.msg = 'incorrect data check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: check matches trailer\\n\"));\n }\n state.mode = LENGTH;\n /* falls through */\n case LENGTH:\n if (state.wrap && state.flags) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.total & 0xffffffff)) {\n strm.msg = 'incorrect length check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: length matches trailer\\n\"));\n }\n state.mode = DONE;\n /* falls through */\n case DONE:\n ret = Z_STREAM_END;\n break inf_leave;\n case BAD:\n ret = Z_DATA_ERROR;\n break inf_leave;\n case MEM:\n return Z_MEM_ERROR;\n case SYNC:\n /* falls through */\n default:\n return Z_STREAM_ERROR;\n }\n }\n\n // inf_leave <- here is real place for \"goto inf_leave\", emulated via \"break inf_leave\"\n\n /*\n Return from inflate(), updating the total counts and the check value.\n If there was no progress during the inflate() call, return a buffer\n error. Call updatewindow() to create and/or update the window state.\n Note: a memory error from inflate() is non-recoverable.\n */\n\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\n (state.mode < CHECK || flush !== Z_FINISH))) {\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\n state.mode = MEM;\n return Z_MEM_ERROR;\n }\n }\n _in -= strm.avail_in;\n _out -= strm.avail_out;\n strm.total_in += _in;\n strm.total_out += _out;\n state.total += _out;\n if (state.wrap && _out) {\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\n }\n strm.data_type = state.bits + (state.last ? 64 : 0) +\n (state.mode === TYPE ? 128 : 0) +\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\n ret = Z_BUF_ERROR;\n }\n return ret;\n}\n\nfunction inflateEnd(strm) {\n\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\n return Z_STREAM_ERROR;\n }\n\n var state = strm.state;\n if (state.window) {\n state.window = null;\n }\n strm.state = null;\n return Z_OK;\n}\n\nfunction inflateGetHeader(strm, head) {\n var state;\n\n /* check state */\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n state = strm.state;\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\n\n /* save header structure */\n state.head = head;\n head.done = false;\n return Z_OK;\n}\n\nfunction inflateSetDictionary(strm, dictionary) {\n var dictLength = dictionary.length;\n\n var state;\n var dictid;\n var ret;\n\n /* check state */\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\n state = strm.state;\n\n if (state.wrap !== 0 && state.mode !== DICT) {\n return Z_STREAM_ERROR;\n }\n\n /* check for correct dictionary identifier */\n if (state.mode === DICT) {\n dictid = 1; /* adler32(0, null, 0)*/\n /* dictid = adler32(dictid, dictionary, dictLength); */\n dictid = adler32(dictid, dictionary, dictLength, 0);\n if (dictid !== state.check) {\n return Z_DATA_ERROR;\n }\n }\n /* copy dictionary to window using updatewindow(), which will amend the\n existing dictionary if appropriate */\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\n if (ret) {\n state.mode = MEM;\n return Z_MEM_ERROR;\n }\n state.havedict = 1;\n // Tracev((stderr, \"inflate: dictionary set\\n\"));\n return Z_OK;\n}\n\nexports.inflateReset = inflateReset;\nexports.inflateReset2 = inflateReset2;\nexports.inflateResetKeep = inflateResetKeep;\nexports.inflateInit = inflateInit;\nexports.inflateInit2 = inflateInit2;\nexports.inflate = inflate;\nexports.inflateEnd = inflateEnd;\nexports.inflateGetHeader = inflateGetHeader;\nexports.inflateSetDictionary = inflateSetDictionary;\nexports.inflateInfo = 'pako inflate (from Nodeca project)';\n\n/* Not implemented\nexports.inflateCopy = inflateCopy;\nexports.inflateGetDictionary = inflateGetDictionary;\nexports.inflateMark = inflateMark;\nexports.inflatePrime = inflatePrime;\nexports.inflateSync = inflateSync;\nexports.inflateSyncPoint = inflateSyncPoint;\nexports.inflateUndermine = inflateUndermine;\n*/\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nvar utils = require('../utils/common');\n\nvar MAXBITS = 15;\nvar ENOUGH_LENS = 852;\nvar ENOUGH_DISTS = 592;\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nvar CODES = 0;\nvar LENS = 1;\nvar DISTS = 2;\n\nvar lbase = [ /* Length codes 257..285 base */\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\n];\n\nvar lext = [ /* Length codes 257..285 extra */\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\n];\n\nvar dbase = [ /* Distance codes 0..29 base */\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\n 8193, 12289, 16385, 24577, 0, 0\n];\n\nvar dext = [ /* Distance codes 0..29 extra */\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\n 28, 28, 29, 29, 64, 64\n];\n\nmodule.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)\n{\n var bits = opts.bits;\n //here = opts.here; /* table entry for duplication */\n\n var len = 0; /* a code's length in bits */\n var sym = 0; /* index of code symbols */\n var min = 0, max = 0; /* minimum and maximum code lengths */\n var root = 0; /* number of index bits for root table */\n var curr = 0; /* number of index bits for current table */\n var drop = 0; /* code bits to drop for sub-table */\n var left = 0; /* number of prefix codes available */\n var used = 0; /* code entries in table used */\n var huff = 0; /* Huffman code */\n var incr; /* for incrementing code, index */\n var fill; /* index for replicating entries */\n var low; /* low bits for current root entry */\n var mask; /* mask for low root bits */\n var next; /* next available space in table */\n var base = null; /* base value table to use */\n var base_index = 0;\n// var shoextra; /* extra bits table to use */\n var end; /* use base and extra for symbol > end */\n var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\n var offs = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\n var extra = null;\n var extra_index = 0;\n\n var here_bits, here_op, here_val;\n\n /*\n Process a set of code lengths to create a canonical Huffman code. The\n code lengths are lens[0..codes-1]. Each length corresponds to the\n symbols 0..codes-1. The Huffman code is generated by first sorting the\n symbols by length from short to long, and retaining the symbol order\n for codes with equal lengths. Then the code starts with all zero bits\n for the first code of the shortest length, and the codes are integer\n increments for the same length, and zeros are appended as the length\n increases. For the deflate format, these bits are stored backwards\n from their more natural integer increment ordering, and so when the\n decoding tables are built in the large loop below, the integer codes\n are incremented backwards.\n\n This routine assumes, but does not check, that all of the entries in\n lens[] are in the range 0..MAXBITS. The caller must assure this.\n 1..MAXBITS is interpreted as that code length. zero means that that\n symbol does not occur in this code.\n\n The codes are sorted by computing a count of codes for each length,\n creating from that a table of starting indices for each length in the\n sorted table, and then entering the symbols in order in the sorted\n table. The sorted table is work[], with that space being provided by\n the caller.\n\n The length counts are used for other purposes as well, i.e. finding\n the minimum and maximum length codes, determining if there are any\n codes at all, checking for a valid set of lengths, and looking ahead\n at length counts to determine sub-table sizes when building the\n decoding tables.\n */\n\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\n for (len = 0; len <= MAXBITS; len++) {\n count[len] = 0;\n }\n for (sym = 0; sym < codes; sym++) {\n count[lens[lens_index + sym]]++;\n }\n\n /* bound code lengths, force root to be within code lengths */\n root = bits;\n for (max = MAXBITS; max >= 1; max--) {\n if (count[max] !== 0) { break; }\n }\n if (root > max) {\n root = max;\n }\n if (max === 0) { /* no symbols to code at all */\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n\n //table.op[opts.table_index] = 64;\n //table.bits[opts.table_index] = 1;\n //table.val[opts.table_index++] = 0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n opts.bits = 1;\n return 0; /* no symbols, but wait for decoding to report error */\n }\n for (min = 1; min < max; min++) {\n if (count[min] !== 0) { break; }\n }\n if (root < min) {\n root = min;\n }\n\n /* check for an over-subscribed or incomplete set of lengths */\n left = 1;\n for (len = 1; len <= MAXBITS; len++) {\n left <<= 1;\n left -= count[len];\n if (left < 0) {\n return -1;\n } /* over-subscribed */\n }\n if (left > 0 && (type === CODES || max !== 1)) {\n return -1; /* incomplete set */\n }\n\n /* generate offsets into symbol table for each length for sorting */\n offs[1] = 0;\n for (len = 1; len < MAXBITS; len++) {\n offs[len + 1] = offs[len] + count[len];\n }\n\n /* sort symbols by length, by symbol order within each length */\n for (sym = 0; sym < codes; sym++) {\n if (lens[lens_index + sym] !== 0) {\n work[offs[lens[lens_index + sym]]++] = sym;\n }\n }\n\n /*\n Create and fill in decoding tables. In this loop, the table being\n filled is at next and has curr index bits. The code being used is huff\n with length len. That code is converted to an index by dropping drop\n bits off of the bottom. For codes where len is less than drop + curr,\n those top drop + curr - len bits are incremented through all values to\n fill the table with replicated entries.\n\n root is the number of index bits for the root table. When len exceeds\n root, sub-tables are created pointed to by the root entry with an index\n of the low root bits of huff. This is saved in low to check for when a\n new sub-table should be started. drop is zero when the root table is\n being filled, and drop is root when sub-tables are being filled.\n\n When a new sub-table is needed, it is necessary to look ahead in the\n code lengths to determine what size sub-table is needed. The length\n counts are used for this, and so count[] is decremented as codes are\n entered in the tables.\n\n used keeps track of how many table entries have been allocated from the\n provided *table space. It is checked for LENS and DIST tables against\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\n the initial root table size constants. See the comments in inftrees.h\n for more information.\n\n sym increments through all symbols, and the loop terminates when\n all codes of length max, i.e. all codes, have been processed. This\n routine permits incomplete codes, so another loop after this one fills\n in the rest of the decoding tables with invalid code markers.\n */\n\n /* set up for code type */\n // poor man optimization - use if-else instead of switch,\n // to avoid deopts in old v8\n if (type === CODES) {\n base = extra = work; /* dummy value--not used */\n end = 19;\n\n } else if (type === LENS) {\n base = lbase;\n base_index -= 257;\n extra = lext;\n extra_index -= 257;\n end = 256;\n\n } else { /* DISTS */\n base = dbase;\n extra = dext;\n end = -1;\n }\n\n /* initialize opts for loop */\n huff = 0; /* starting code */\n sym = 0; /* starting code symbol */\n len = min; /* starting code length */\n next = table_index; /* current table to fill in */\n curr = root; /* current table index bits */\n drop = 0; /* current bits to drop from code for index */\n low = -1; /* trigger new sub-table when len > root */\n used = 1 << root; /* use root table entries */\n mask = used - 1; /* mask for comparing low */\n\n /* check available table space */\n if ((type === LENS && used > ENOUGH_LENS) ||\n (type === DISTS && used > ENOUGH_DISTS)) {\n return 1;\n }\n\n /* process all codes and make table entries */\n for (;;) {\n /* create table entry */\n here_bits = len - drop;\n if (work[sym] < end) {\n here_op = 0;\n here_val = work[sym];\n }\n else if (work[sym] > end) {\n here_op = extra[extra_index + work[sym]];\n here_val = base[base_index + work[sym]];\n }\n else {\n here_op = 32 + 64; /* end of block */\n here_val = 0;\n }\n\n /* replicate for those indices with low len bits equal to huff */\n incr = 1 << (len - drop);\n fill = 1 << curr;\n min = fill; /* save offset to next table */\n do {\n fill -= incr;\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\n } while (fill !== 0);\n\n /* backwards increment the len-bit code huff */\n incr = 1 << (len - 1);\n while (huff & incr) {\n incr >>= 1;\n }\n if (incr !== 0) {\n huff &= incr - 1;\n huff += incr;\n } else {\n huff = 0;\n }\n\n /* go to next symbol, update count, len */\n sym++;\n if (--count[len] === 0) {\n if (len === max) { break; }\n len = lens[lens_index + work[sym]];\n }\n\n /* create new sub-table if needed */\n if (len > root && (huff & mask) !== low) {\n /* if first time, transition to sub-tables */\n if (drop === 0) {\n drop = root;\n }\n\n /* increment past last table */\n next += min; /* here min is 1 << curr */\n\n /* determine length of next table */\n curr = len - drop;\n left = 1 << curr;\n while (curr + drop < max) {\n left -= count[curr + drop];\n if (left <= 0) { break; }\n curr++;\n left <<= 1;\n }\n\n /* check for enough space */\n used += 1 << curr;\n if ((type === LENS && used > ENOUGH_LENS) ||\n (type === DISTS && used > ENOUGH_DISTS)) {\n return 1;\n }\n\n /* point entry in root table to sub-table */\n low = huff & mask;\n /*table.op[low] = curr;\n table.bits[low] = root;\n table.val[low] = next - opts.table_index;*/\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\n }\n }\n\n /* fill in remaining table entry if code is incomplete (guaranteed to have\n at most one remaining entry, since if the code is incomplete, the\n maximum code length that was allowed to get this far is one bit) */\n if (huff !== 0) {\n //table.op[next + huff] = 64; /* invalid code marker */\n //table.bits[next + huff] = len - drop;\n //table.val[next + huff] = 0;\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\n }\n\n /* set return parameters */\n //opts.table_index += used;\n opts.bits = root;\n return 0;\n};\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nmodule.exports = {\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\n 1: 'stream end', /* Z_STREAM_END 1 */\n 0: '', /* Z_OK 0 */\n '-1': 'file error', /* Z_ERRNO (-1) */\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\n};\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n/* eslint-disable space-unary-ops */\n\nvar utils = require('../utils/common');\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n\n//var Z_FILTERED = 1;\n//var Z_HUFFMAN_ONLY = 2;\n//var Z_RLE = 3;\nvar Z_FIXED = 4;\n//var Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\nvar Z_BINARY = 0;\nvar Z_TEXT = 1;\n//var Z_ASCII = 1; // = Z_TEXT\nvar Z_UNKNOWN = 2;\n\n/*============================================================================*/\n\n\nfunction zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }\n\n// From zutil.h\n\nvar STORED_BLOCK = 0;\nvar STATIC_TREES = 1;\nvar DYN_TREES = 2;\n/* The three kinds of block type */\n\nvar MIN_MATCH = 3;\nvar MAX_MATCH = 258;\n/* The minimum and maximum match lengths */\n\n// From deflate.h\n/* ===========================================================================\n * Internal compression state.\n */\n\nvar LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\n\nvar LITERALS = 256;\n/* number of literal bytes 0..255 */\n\nvar L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\n\nvar D_CODES = 30;\n/* number of distance codes */\n\nvar BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\n\nvar HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\n\nvar MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nvar Buf_size = 16;\n/* size of bit buffer in bi_buf */\n\n\n/* ===========================================================================\n * Constants\n */\n\nvar MAX_BL_BITS = 7;\n/* Bit length codes must not exceed MAX_BL_BITS bits */\n\nvar END_BLOCK = 256;\n/* end of block literal code */\n\nvar REP_3_6 = 16;\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\n\nvar REPZ_3_10 = 17;\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\n\nvar REPZ_11_138 = 18;\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\n\n/* eslint-disable comma-spacing,array-bracket-spacing */\nvar extra_lbits = /* extra bits for each length code */\n [0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];\n\nvar extra_dbits = /* extra bits for each distance code */\n [0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];\n\nvar extra_blbits = /* extra bits for each bit length code */\n [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];\n\nvar bl_order =\n [16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];\n/* eslint-enable comma-spacing,array-bracket-spacing */\n\n/* The lengths of the bit length codes are sent in order of decreasing\n * probability, to avoid transmitting the lengths for unused bit length codes.\n */\n\n/* ===========================================================================\n * Local data. These are initialized only once.\n */\n\n// We pre-fill arrays with 0 to avoid uninitialized gaps\n\nvar DIST_CODE_LEN = 512; /* see definition of array dist_code below */\n\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\nvar static_ltree = new Array((L_CODES + 2) * 2);\nzero(static_ltree);\n/* The static literal tree. Since the bit lengths are imposed, there is no\n * need for the L_CODES extra codes used during heap construction. However\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\n * below).\n */\n\nvar static_dtree = new Array(D_CODES * 2);\nzero(static_dtree);\n/* The static distance tree. (Actually a trivial tree since all codes use\n * 5 bits.)\n */\n\nvar _dist_code = new Array(DIST_CODE_LEN);\nzero(_dist_code);\n/* Distance codes. The first 256 values correspond to the distances\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\n * the 15 bit distances.\n */\n\nvar _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);\nzero(_length_code);\n/* length code for each normalized match length (0 == MIN_MATCH) */\n\nvar base_length = new Array(LENGTH_CODES);\nzero(base_length);\n/* First normalized length for each code (0 = MIN_MATCH) */\n\nvar base_dist = new Array(D_CODES);\nzero(base_dist);\n/* First normalized distance for each code (0 = distance of 1) */\n\n\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\n\n this.static_tree = static_tree; /* static tree or NULL */\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\n this.extra_base = extra_base; /* base index for extra_bits */\n this.elems = elems; /* max number of elements in the tree */\n this.max_length = max_length; /* max bit length for the codes */\n\n // show if `static_tree` has data or dummy - needed for monomorphic objects\n this.has_stree = static_tree && static_tree.length;\n}\n\n\nvar static_l_desc;\nvar static_d_desc;\nvar static_bl_desc;\n\n\nfunction TreeDesc(dyn_tree, stat_desc) {\n this.dyn_tree = dyn_tree; /* the dynamic tree */\n this.max_code = 0; /* largest code with non zero frequency */\n this.stat_desc = stat_desc; /* the corresponding static tree */\n}\n\n\n\nfunction d_code(dist) {\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\n}\n\n\n/* ===========================================================================\n * Output a short LSB first on the stream.\n * IN assertion: there is enough room in pendingBuf.\n */\nfunction put_short(s, w) {\n// put_byte(s, (uch)((w) & 0xff));\n// put_byte(s, (uch)((ush)(w) >> 8));\n s.pending_buf[s.pending++] = (w) & 0xff;\n s.pending_buf[s.pending++] = (w >>> 8) & 0xff;\n}\n\n\n/* ===========================================================================\n * Send a value on a given number of bits.\n * IN assertion: length <= 16 and value fits in length bits.\n */\nfunction send_bits(s, value, length) {\n if (s.bi_valid > (Buf_size - length)) {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n put_short(s, s.bi_buf);\n s.bi_buf = value >> (Buf_size - s.bi_valid);\n s.bi_valid += length - Buf_size;\n } else {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n s.bi_valid += length;\n }\n}\n\n\nfunction send_code(s, c, tree) {\n send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);\n}\n\n\n/* ===========================================================================\n * Reverse the first len bits of a code, using straightforward code (a faster\n * method would use a table)\n * IN assertion: 1 <= len <= 15\n */\nfunction bi_reverse(code, len) {\n var res = 0;\n do {\n res |= code & 1;\n code >>>= 1;\n res <<= 1;\n } while (--len > 0);\n return res >>> 1;\n}\n\n\n/* ===========================================================================\n * Flush the bit buffer, keeping at most 7 bits in it.\n */\nfunction bi_flush(s) {\n if (s.bi_valid === 16) {\n put_short(s, s.bi_buf);\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n } else if (s.bi_valid >= 8) {\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\n s.bi_buf >>= 8;\n s.bi_valid -= 8;\n }\n}\n\n\n/* ===========================================================================\n * Compute the optimal bit lengths for a tree and update the total bit length\n * for the current block.\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\n * above are the tree nodes sorted by increasing frequency.\n * OUT assertions: the field len is set to the optimal bit length, the\n * array bl_count contains the frequencies for each bit length.\n * The length opt_len is updated; static_len is also updated if stree is\n * not null.\n */\nfunction gen_bitlen(s, desc)\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n var tree = desc.dyn_tree;\n var max_code = desc.max_code;\n var stree = desc.stat_desc.static_tree;\n var has_stree = desc.stat_desc.has_stree;\n var extra = desc.stat_desc.extra_bits;\n var base = desc.stat_desc.extra_base;\n var max_length = desc.stat_desc.max_length;\n var h; /* heap index */\n var n, m; /* iterate over the tree elements */\n var bits; /* bit length */\n var xbits; /* extra bits */\n var f; /* frequency */\n var overflow = 0; /* number of elements with bit length too large */\n\n for (bits = 0; bits <= MAX_BITS; bits++) {\n s.bl_count[bits] = 0;\n }\n\n /* In a first pass, compute the optimal bit lengths (which may\n * overflow in the case of the bit length tree).\n */\n tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */\n\n for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {\n n = s.heap[h];\n bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;\n if (bits > max_length) {\n bits = max_length;\n overflow++;\n }\n tree[n * 2 + 1]/*.Len*/ = bits;\n /* We overwrite tree[n].Dad which is no longer needed */\n\n if (n > max_code) { continue; } /* not a leaf node */\n\n s.bl_count[bits]++;\n xbits = 0;\n if (n >= base) {\n xbits = extra[n - base];\n }\n f = tree[n * 2]/*.Freq*/;\n s.opt_len += f * (bits + xbits);\n if (has_stree) {\n s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);\n }\n }\n if (overflow === 0) { return; }\n\n // Trace((stderr,\"\\nbit length overflow\\n\"));\n /* This happens for example on obj2 and pic of the Calgary corpus */\n\n /* Find the first bit length which could increase: */\n do {\n bits = max_length - 1;\n while (s.bl_count[bits] === 0) { bits--; }\n s.bl_count[bits]--; /* move one leaf down the tree */\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\n s.bl_count[max_length]--;\n /* The brother of the overflow item also moves one step up,\n * but this does not affect bl_count[max_length]\n */\n overflow -= 2;\n } while (overflow > 0);\n\n /* Now recompute all bit lengths, scanning in increasing frequency.\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\n * lengths instead of fixing only the wrong ones. This idea is taken\n * from 'ar' written by Haruhiko Okumura.)\n */\n for (bits = max_length; bits !== 0; bits--) {\n n = s.bl_count[bits];\n while (n !== 0) {\n m = s.heap[--h];\n if (m > max_code) { continue; }\n if (tree[m * 2 + 1]/*.Len*/ !== bits) {\n // Trace((stderr,\"code %d bits %d->%d\\n\", m, tree[m].Len, bits));\n s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;\n tree[m * 2 + 1]/*.Len*/ = bits;\n }\n n--;\n }\n }\n}\n\n\n/* ===========================================================================\n * Generate the codes for a given tree and bit counts (which need not be\n * optimal).\n * IN assertion: the array bl_count contains the bit length statistics for\n * the given tree and the field len is set for all tree elements.\n * OUT assertion: the field code is set for all tree elements of non\n * zero code length.\n */\nfunction gen_codes(tree, max_code, bl_count)\n// ct_data *tree; /* the tree to decorate */\n// int max_code; /* largest code with non zero frequency */\n// ushf *bl_count; /* number of codes at each bit length */\n{\n var next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */\n var code = 0; /* running code value */\n var bits; /* bit index */\n var n; /* code index */\n\n /* The distribution counts are first used to generate the code values\n * without bit reversal.\n */\n for (bits = 1; bits <= MAX_BITS; bits++) {\n next_code[bits] = code = (code + bl_count[bits - 1]) << 1;\n }\n /* Check that the bit counts in bl_count are consistent. The last code\n * must be all ones.\n */\n //Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,\n // \"inconsistent bit counts\");\n //Tracev((stderr,\"\\ngen_codes: max_code %d \", max_code));\n\n for (n = 0; n <= max_code; n++) {\n var len = tree[n * 2 + 1]/*.Len*/;\n if (len === 0) { continue; }\n /* Now reverse the bits */\n tree[n * 2]/*.Code*/ = bi_reverse(next_code[len]++, len);\n\n //Tracecv(tree != static_ltree, (stderr,\"\\nn %3d %c l %2d c %4x (%x) \",\n // n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));\n }\n}\n\n\n/* ===========================================================================\n * Initialize the various 'constant' tables.\n */\nfunction tr_static_init() {\n var n; /* iterates over tree elements */\n var bits; /* bit counter */\n var length; /* length value */\n var code; /* code value */\n var dist; /* distance index */\n var bl_count = new Array(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n // do check in _tr_init()\n //if (static_init_done) return;\n\n /* For some embedded targets, global variables are not initialized: */\n/*#ifdef NO_INIT_GLOBAL_POINTERS\n static_l_desc.static_tree = static_ltree;\n static_l_desc.extra_bits = extra_lbits;\n static_d_desc.static_tree = static_dtree;\n static_d_desc.extra_bits = extra_dbits;\n static_bl_desc.extra_bits = extra_blbits;\n#endif*/\n\n /* Initialize the mapping length (0..255) -> length code (0..28) */\n length = 0;\n for (code = 0; code < LENGTH_CODES - 1; code++) {\n base_length[code] = length;\n for (n = 0; n < (1 << extra_lbits[code]); n++) {\n _length_code[length++] = code;\n }\n }\n //Assert (length == 256, \"tr_static_init: length != 256\");\n /* Note that the length 255 (match length 258) can be represented\n * in two different ways: code 284 + 5 bits or code 285, so we\n * overwrite length_code[255] to use the best encoding:\n */\n _length_code[length - 1] = code;\n\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\n dist = 0;\n for (code = 0; code < 16; code++) {\n base_dist[code] = dist;\n for (n = 0; n < (1 << extra_dbits[code]); n++) {\n _dist_code[dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: dist != 256\");\n dist >>= 7; /* from now on, all distances are divided by 128 */\n for (; code < D_CODES; code++) {\n base_dist[code] = dist << 7;\n for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {\n _dist_code[256 + dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: 256+dist != 512\");\n\n /* Construct the codes of the static literal tree */\n for (bits = 0; bits <= MAX_BITS; bits++) {\n bl_count[bits] = 0;\n }\n\n n = 0;\n while (n <= 143) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n while (n <= 255) {\n static_ltree[n * 2 + 1]/*.Len*/ = 9;\n n++;\n bl_count[9]++;\n }\n while (n <= 279) {\n static_ltree[n * 2 + 1]/*.Len*/ = 7;\n n++;\n bl_count[7]++;\n }\n while (n <= 287) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n /* Codes 286 and 287 do not exist, but we must include them in the\n * tree construction to get a canonical Huffman tree (longest code\n * all ones)\n */\n gen_codes(static_ltree, L_CODES + 1, bl_count);\n\n /* The static distance tree is trivial: */\n for (n = 0; n < D_CODES; n++) {\n static_dtree[n * 2 + 1]/*.Len*/ = 5;\n static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);\n }\n\n // Now data ready and we can init static trees\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);\n\n //static_init_done = true;\n}\n\n\n/* ===========================================================================\n * Initialize a new block.\n */\nfunction init_block(s) {\n var n; /* iterates over tree elements */\n\n /* Initialize the trees. */\n for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }\n\n s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;\n s.opt_len = s.static_len = 0;\n s.last_lit = s.matches = 0;\n}\n\n\n/* ===========================================================================\n * Flush the bit buffer and align the output on a byte boundary\n */\nfunction bi_windup(s)\n{\n if (s.bi_valid > 8) {\n put_short(s, s.bi_buf);\n } else if (s.bi_valid > 0) {\n //put_byte(s, (Byte)s->bi_buf);\n s.pending_buf[s.pending++] = s.bi_buf;\n }\n s.bi_buf = 0;\n s.bi_valid = 0;\n}\n\n/* ===========================================================================\n * Copy a stored block, storing first the length and its\n * one's complement if requested.\n */\nfunction copy_block(s, buf, len, header)\n//DeflateState *s;\n//charf *buf; /* the input data */\n//unsigned len; /* its length */\n//int header; /* true if block header must be written */\n{\n bi_windup(s); /* align on byte boundary */\n\n if (header) {\n put_short(s, len);\n put_short(s, ~len);\n }\n// while (len--) {\n// put_byte(s, *buf++);\n// }\n utils.arraySet(s.pending_buf, s.window, buf, len, s.pending);\n s.pending += len;\n}\n\n/* ===========================================================================\n * Compares to subtrees, using the tree depth as tie breaker when\n * the subtrees have equal frequency. This minimizes the worst case length.\n */\nfunction smaller(tree, n, m, depth) {\n var _n2 = n * 2;\n var _m2 = m * 2;\n return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||\n (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));\n}\n\n/* ===========================================================================\n * Restore the heap property by moving down the tree starting at node k,\n * exchanging a node with the smallest of its two sons if necessary, stopping\n * when the heap property is re-established (each father smaller than its\n * two sons).\n */\nfunction pqdownheap(s, tree, k)\n// deflate_state *s;\n// ct_data *tree; /* the tree to restore */\n// int k; /* node to move down */\n{\n var v = s.heap[k];\n var j = k << 1; /* left son of k */\n while (j <= s.heap_len) {\n /* Set j to the smallest of the two sons: */\n if (j < s.heap_len &&\n smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\n j++;\n }\n /* Exit if v is smaller than both sons */\n if (smaller(tree, v, s.heap[j], s.depth)) { break; }\n\n /* Exchange v with the smallest son */\n s.heap[k] = s.heap[j];\n k = j;\n\n /* And continue down the tree, setting j to the left son of k */\n j <<= 1;\n }\n s.heap[k] = v;\n}\n\n\n// inlined manually\n// var SMALLEST = 1;\n\n/* ===========================================================================\n * Send the block data compressed using the given Huffman trees\n */\nfunction compress_block(s, ltree, dtree)\n// deflate_state *s;\n// const ct_data *ltree; /* literal tree */\n// const ct_data *dtree; /* distance tree */\n{\n var dist; /* distance of matched string */\n var lc; /* match length or unmatched char (if dist == 0) */\n var lx = 0; /* running index in l_buf */\n var code; /* the code to send */\n var extra; /* number of extra bits to send */\n\n if (s.last_lit !== 0) {\n do {\n dist = (s.pending_buf[s.d_buf + lx * 2] << 8) | (s.pending_buf[s.d_buf + lx * 2 + 1]);\n lc = s.pending_buf[s.l_buf + lx];\n lx++;\n\n if (dist === 0) {\n send_code(s, lc, ltree); /* send a literal byte */\n //Tracecv(isgraph(lc), (stderr,\" '%c' \", lc));\n } else {\n /* Here, lc is the match length - MIN_MATCH */\n code = _length_code[lc];\n send_code(s, code + LITERALS + 1, ltree); /* send the length code */\n extra = extra_lbits[code];\n if (extra !== 0) {\n lc -= base_length[code];\n send_bits(s, lc, extra); /* send the extra length bits */\n }\n dist--; /* dist is now the match distance - 1 */\n code = d_code(dist);\n //Assert (code < D_CODES, \"bad d_code\");\n\n send_code(s, code, dtree); /* send the distance code */\n extra = extra_dbits[code];\n if (extra !== 0) {\n dist -= base_dist[code];\n send_bits(s, dist, extra); /* send the extra distance bits */\n }\n } /* literal or match pair ? */\n\n /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */\n //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,\n // \"pendingBuf overflow\");\n\n } while (lx < s.last_lit);\n }\n\n send_code(s, END_BLOCK, ltree);\n}\n\n\n/* ===========================================================================\n * Construct one Huffman tree and assigns the code bit strings and lengths.\n * Update the total bit length for the current block.\n * IN assertion: the field freq is set for all tree elements.\n * OUT assertions: the fields len and code are set to the optimal bit length\n * and corresponding code. The length opt_len is updated; static_len is\n * also updated if stree is not null. The field max_code is set.\n */\nfunction build_tree(s, desc)\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n var tree = desc.dyn_tree;\n var stree = desc.stat_desc.static_tree;\n var has_stree = desc.stat_desc.has_stree;\n var elems = desc.stat_desc.elems;\n var n, m; /* iterate over heap elements */\n var max_code = -1; /* largest code with non zero frequency */\n var node; /* new node being created */\n\n /* Construct the initial heap, with least frequent element in\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\n * heap[0] is not used.\n */\n s.heap_len = 0;\n s.heap_max = HEAP_SIZE;\n\n for (n = 0; n < elems; n++) {\n if (tree[n * 2]/*.Freq*/ !== 0) {\n s.heap[++s.heap_len] = max_code = n;\n s.depth[n] = 0;\n\n } else {\n tree[n * 2 + 1]/*.Len*/ = 0;\n }\n }\n\n /* The pkzip format requires that at least one distance code exists,\n * and that at least one bit should be sent even if there is only one\n * possible code. So to avoid special checks later on we force at least\n * two codes of non zero frequency.\n */\n while (s.heap_len < 2) {\n node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);\n tree[node * 2]/*.Freq*/ = 1;\n s.depth[node] = 0;\n s.opt_len--;\n\n if (has_stree) {\n s.static_len -= stree[node * 2 + 1]/*.Len*/;\n }\n /* node is 0 or 1 so it does not have extra bits */\n }\n desc.max_code = max_code;\n\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\n * establish sub-heaps of increasing lengths:\n */\n for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }\n\n /* Construct the Huffman tree by repeatedly combining the least two\n * frequent nodes.\n */\n node = elems; /* next internal node of the tree */\n do {\n //pqremove(s, tree, n); /* n = node of least frequency */\n /*** pqremove ***/\n n = s.heap[1/*SMALLEST*/];\n s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];\n pqdownheap(s, tree, 1/*SMALLEST*/);\n /***/\n\n m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */\n\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\n s.heap[--s.heap_max] = m;\n\n /* Create a new node father of n and m */\n tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\n tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;\n\n /* and insert the new node in the heap */\n s.heap[1/*SMALLEST*/] = node++;\n pqdownheap(s, tree, 1/*SMALLEST*/);\n\n } while (s.heap_len >= 2);\n\n s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];\n\n /* At this point, the fields freq and dad are set. We can now\n * generate the bit lengths.\n */\n gen_bitlen(s, desc);\n\n /* The field len is now set, we can generate the bit codes */\n gen_codes(tree, max_code, s.bl_count);\n}\n\n\n/* ===========================================================================\n * Scan a literal or distance tree to determine the frequencies of the codes\n * in the bit length tree.\n */\nfunction scan_tree(s, tree, max_code)\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n var n; /* iterates over all tree elements */\n var prevlen = -1; /* last emitted length */\n var curlen; /* length of current code */\n\n var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n var count = 0; /* repeat count of the current code */\n var max_count = 7; /* max repeat count */\n var min_count = 4; /* min repeat count */\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n s.bl_tree[curlen * 2]/*.Freq*/ += count;\n\n } else if (curlen !== 0) {\n\n if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }\n s.bl_tree[REP_3_6 * 2]/*.Freq*/++;\n\n } else if (count <= 10) {\n s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;\n\n } else {\n s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;\n }\n\n count = 0;\n prevlen = curlen;\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n}\n\n\n/* ===========================================================================\n * Send a literal or distance tree in compressed form, using the codes in\n * bl_tree.\n */\nfunction send_tree(s, tree, max_code)\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n var n; /* iterates over all tree elements */\n var prevlen = -1; /* last emitted length */\n var curlen; /* length of current code */\n\n var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n var count = 0; /* repeat count of the current code */\n var max_count = 7; /* max repeat count */\n var min_count = 4; /* min repeat count */\n\n /* tree[max_code+1].Len = -1; */ /* guard already set */\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);\n\n } else if (curlen !== 0) {\n if (curlen !== prevlen) {\n send_code(s, curlen, s.bl_tree);\n count--;\n }\n //Assert(count >= 3 && count <= 6, \" 3_6?\");\n send_code(s, REP_3_6, s.bl_tree);\n send_bits(s, count - 3, 2);\n\n } else if (count <= 10) {\n send_code(s, REPZ_3_10, s.bl_tree);\n send_bits(s, count - 3, 3);\n\n } else {\n send_code(s, REPZ_11_138, s.bl_tree);\n send_bits(s, count - 11, 7);\n }\n\n count = 0;\n prevlen = curlen;\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n}\n\n\n/* ===========================================================================\n * Construct the Huffman tree for the bit lengths and return the index in\n * bl_order of the last bit length code to send.\n */\nfunction build_bl_tree(s) {\n var max_blindex; /* index of last bit length code of non zero freq */\n\n /* Determine the bit length frequencies for literal and distance trees */\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\n\n /* Build the bit length tree: */\n build_tree(s, s.bl_desc);\n /* opt_len now includes the length of the tree representations, except\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\n */\n\n /* Determine the number of bit length codes to send. The pkzip format\n * requires that at least 4 bit length codes be sent. (appnote.txt says\n * 3 but the actual value used is 4.)\n */\n for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {\n break;\n }\n }\n /* Update opt_len to include the bit length tree and counts */\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\n //Tracev((stderr, \"\\ndyn trees: dyn %ld, stat %ld\",\n // s->opt_len, s->static_len));\n\n return max_blindex;\n}\n\n\n/* ===========================================================================\n * Send the header for a block using dynamic Huffman trees: the counts, the\n * lengths of the bit length codes, the literal tree and the distance tree.\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\n */\nfunction send_all_trees(s, lcodes, dcodes, blcodes)\n// deflate_state *s;\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\n{\n var rank; /* index in bl_order */\n\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \"not enough codes\");\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\n // \"too many codes\");\n //Tracev((stderr, \"\\nbl counts: \"));\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\n send_bits(s, dcodes - 1, 5);\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\n for (rank = 0; rank < blcodes; rank++) {\n //Tracev((stderr, \"\\nbl code %2d \", bl_order[rank]));\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);\n }\n //Tracev((stderr, \"\\nbl tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\n //Tracev((stderr, \"\\nlit tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\n //Tracev((stderr, \"\\ndist tree: sent %ld\", s->bits_sent));\n}\n\n\n/* ===========================================================================\n * Check if the data type is TEXT or BINARY, using the following algorithm:\n * - TEXT if the two conditions below are satisfied:\n * a) There are no non-portable control characters belonging to the\n * \"black list\" (0..6, 14..25, 28..31).\n * b) There is at least one printable character belonging to the\n * \"white list\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\n * - BINARY otherwise.\n * - The following partially-portable control characters form a\n * \"gray list\" that is ignored in this detection algorithm:\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\n * IN assertion: the fields Freq of dyn_ltree are set.\n */\nfunction detect_data_type(s) {\n /* black_mask is the bit mask of black-listed bytes\n * set bits 0..6, 14..25, and 28..31\n * 0xf3ffc07f = binary 11110011111111111100000001111111\n */\n var black_mask = 0xf3ffc07f;\n var n;\n\n /* Check for non-textual (\"black-listed\") bytes. */\n for (n = 0; n <= 31; n++, black_mask >>>= 1) {\n if ((black_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {\n return Z_BINARY;\n }\n }\n\n /* Check for textual (\"white-listed\") bytes. */\n if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||\n s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n for (n = 32; n < LITERALS; n++) {\n if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n }\n\n /* There are no \"black-listed\" or \"white-listed\" bytes:\n * this stream either is empty or has tolerated (\"gray-listed\") bytes only.\n */\n return Z_BINARY;\n}\n\n\nvar static_init_done = false;\n\n/* ===========================================================================\n * Initialize the tree data structures for a new zlib stream.\n */\nfunction _tr_init(s)\n{\n\n if (!static_init_done) {\n tr_static_init();\n static_init_done = true;\n }\n\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\n\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n /* Initialize the first block of the first file: */\n init_block(s);\n}\n\n\n/* ===========================================================================\n * Send a stored block\n */\nfunction _tr_stored_block(s, buf, stored_len, last)\n//DeflateState *s;\n//charf *buf; /* input block */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\n copy_block(s, buf, stored_len, true); /* with header */\n}\n\n\n/* ===========================================================================\n * Send one empty static block to give enough lookahead for inflate.\n * This takes 10 bits, of which 7 may remain in the bit buffer.\n */\nfunction _tr_align(s) {\n send_bits(s, STATIC_TREES << 1, 3);\n send_code(s, END_BLOCK, static_ltree);\n bi_flush(s);\n}\n\n\n/* ===========================================================================\n * Determine the best encoding for the current block: dynamic trees, static\n * trees or store, and output the encoded block to the zip file.\n */\nfunction _tr_flush_block(s, buf, stored_len, last)\n//DeflateState *s;\n//charf *buf; /* input block, or NULL if too old */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n var opt_lenb, static_lenb; /* opt_len and static_len in bytes */\n var max_blindex = 0; /* index of last bit length code of non zero freq */\n\n /* Build the Huffman trees unless a stored block is forced */\n if (s.level > 0) {\n\n /* Check if the file is binary or text */\n if (s.strm.data_type === Z_UNKNOWN) {\n s.strm.data_type = detect_data_type(s);\n }\n\n /* Construct the literal and distance trees */\n build_tree(s, s.l_desc);\n // Tracev((stderr, \"\\nlit data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n\n build_tree(s, s.d_desc);\n // Tracev((stderr, \"\\ndist data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n /* At this point, opt_len and static_len are the total bit lengths of\n * the compressed block data, excluding the tree representations.\n */\n\n /* Build the bit length tree for the above two trees, and get the index\n * in bl_order of the last bit length code to send.\n */\n max_blindex = build_bl_tree(s);\n\n /* Determine the best encoding. Compute the block lengths in bytes. */\n opt_lenb = (s.opt_len + 3 + 7) >>> 3;\n static_lenb = (s.static_len + 3 + 7) >>> 3;\n\n // Tracev((stderr, \"\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \",\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\n // s->last_lit));\n\n if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }\n\n } else {\n // Assert(buf != (char*)0, \"lost buf\");\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\n }\n\n if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {\n /* 4: two words for the lengths */\n\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\n * Otherwise we can't have processed more than WSIZE input bytes since\n * the last block flush, because compression would have been\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\n * transform a block into a stored block.\n */\n _tr_stored_block(s, buf, stored_len, last);\n\n } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {\n\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\n compress_block(s, static_ltree, static_dtree);\n\n } else {\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\n }\n // Assert (s->compressed_len == s->bits_sent, \"bad compressed size\");\n /* The above check is made mod 2^32, for files larger than 512 MB\n * and uLong implemented on 32 bits.\n */\n init_block(s);\n\n if (last) {\n bi_windup(s);\n }\n // Tracev((stderr,\"\\ncomprlen %lu(%lu) \", s->compressed_len>>3,\n // s->compressed_len-7*last));\n}\n\n/* ===========================================================================\n * Save the match info and tally the frequency counts. Return true if\n * the current block must be flushed.\n */\nfunction _tr_tally(s, dist, lc)\n// deflate_state *s;\n// unsigned dist; /* distance of matched string */\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\n{\n //var out_length, in_length, dcode;\n\n s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff;\n s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;\n\n s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;\n s.last_lit++;\n\n if (dist === 0) {\n /* lc is the unmatched char */\n s.dyn_ltree[lc * 2]/*.Freq*/++;\n } else {\n s.matches++;\n /* Here, lc is the match length - MIN_MATCH */\n dist--; /* dist = match distance - 1 */\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\n // (ush)d_code(dist) < (ush)D_CODES, \"_tr_tally: bad match\");\n\n s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;\n s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;\n }\n\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n\n//#ifdef TRUNCATE_BLOCK\n// /* Try to guess if it is profitable to stop the current block here */\n// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {\n// /* Compute an upper bound for the compressed length */\n// out_length = s.last_lit*8;\n// in_length = s.strstart - s.block_start;\n//\n// for (dcode = 0; dcode < D_CODES; dcode++) {\n// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);\n// }\n// out_length >>>= 3;\n// //Tracev((stderr,\"\\nlast_lit %u, in %ld, out ~%ld(%ld%%) \",\n// // s->last_lit, in_length, out_length,\n// // 100L - out_length*100L/in_length));\n// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {\n// return true;\n// }\n// }\n//#endif\n\n return (s.last_lit === s.lit_bufsize - 1);\n /* We avoid equality with lit_bufsize because of wraparound at 64K\n * on 16 bit machines and because stored blocks are restricted to\n * 64K-1 bytes.\n */\n}\n\nexports._tr_init = _tr_init;\nexports._tr_stored_block = _tr_stored_block;\nexports._tr_flush_block = _tr_flush_block;\nexports._tr_tally = _tr_tally;\nexports._tr_align = _tr_align;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction ZStream() {\n /* next input byte */\n this.input = null; // JS specific, because we have no pointers\n this.next_in = 0;\n /* number of bytes available at input */\n this.avail_in = 0;\n /* total number of input bytes read so far */\n this.total_in = 0;\n /* next output byte should be put there */\n this.output = null; // JS specific, because we have no pointers\n this.next_out = 0;\n /* remaining free space at output */\n this.avail_out = 0;\n /* total number of bytes output so far */\n this.total_out = 0;\n /* last error message, NULL if no error */\n this.msg = ''/*Z_NULL*/;\n /* not visible by applications */\n this.state = null;\n /* best guess about the data type: binary or text */\n this.data_type = 2/*Z_UNKNOWN*/;\n /* adler32 value of the uncompressed data */\n this.adler = 0;\n}\n\nmodule.exports = ZStream;\n","\nmodule.exports = parse\n\n/**\n * expected argument lengths\n * @type {Object}\n */\n\nvar length = {a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0}\n\n/**\n * segment pattern\n * @type {RegExp}\n */\n\nvar segment = /([astvzqmhlc])([^astvzqmhlc]*)/ig\n\n/**\n * parse an svg path data string. Generates an Array\n * of commands where each command is an Array of the\n * form `[command, arg1, arg2, ...]`\n *\n * @param {String} path\n * @return {Array}\n */\n\nfunction parse(path) {\n\tvar data = []\n\tpath.replace(segment, function(_, command, args){\n\t\tvar type = command.toLowerCase()\n\t\targs = parseValues(args)\n\n\t\t// overloaded moveTo\n\t\tif (type == 'm' && args.length > 2) {\n\t\t\tdata.push([command].concat(args.splice(0, 2)))\n\t\t\ttype = 'l'\n\t\t\tcommand = command == 'm' ? 'l' : 'L'\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (args.length == length[type]) {\n\t\t\t\targs.unshift(command)\n\t\t\t\treturn data.push(args)\n\t\t\t}\n\t\t\tif (args.length < length[type]) throw new Error('malformed path data')\n\t\t\tdata.push([command].concat(args.splice(0, length[type])))\n\t\t}\n\t})\n\treturn data\n}\n\nvar number = /-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?/ig\n\nfunction parseValues(args) {\n\tvar numbers = args.match(number)\n\treturn numbers ? numbers.map(Number) : []\n}\n","var isarray = require('isarray')\n\n/**\n * Expose `pathToRegexp`.\n */\nmodule.exports = pathToRegexp\nmodule.exports.parse = parse\nmodule.exports.compile = compile\nmodule.exports.tokensToFunction = tokensToFunction\nmodule.exports.tokensToRegExp = tokensToRegExp\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g')\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = []\n var key = 0\n var index = 0\n var path = ''\n var defaultDelimiter = options && options.delimiter || '/'\n var res\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0]\n var escaped = res[1]\n var offset = res.index\n path += str.slice(index, offset)\n index = offset + m.length\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1]\n continue\n }\n\n var next = str[index]\n var prefix = res[2]\n var name = res[3]\n var capture = res[4]\n var group = res[5]\n var modifier = res[6]\n var asterisk = res[7]\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n }\n\n var partial = prefix != null && next != null && next !== prefix\n var repeat = modifier === '+' || modifier === '*'\n var optional = modifier === '?' || modifier === '*'\n var delimiter = res[2] || defaultDelimiter\n var pattern = capture || group\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')\n })\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index)\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path)\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))\n }\n }\n\n return function (obj, opts) {\n var path = ''\n var data = obj || {}\n var options = opts || {}\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n\n continue\n }\n\n var value = data[token.name]\n var segment\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j])\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g)\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n })\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = []\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source)\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n var strict = options.strict\n var end = options.end !== false\n var route = ''\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n route += escapeString(token)\n } else {\n var prefix = escapeString(token.prefix)\n var capture = '(?:' + token.pattern + ')'\n\n keys.push(token)\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*'\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?'\n } else {\n capture = prefix + '(' + capture + ')?'\n }\n } else {\n capture = prefix + '(' + capture + ')'\n }\n\n route += capture\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/')\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'\n }\n\n if (end) {\n route += '$'\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\n","module.exports = function pointInPolygonFlat (point, vs, start, end) {\n var x = point[0], y = point[1];\n var inside = false;\n if (start === undefined) start = 0;\n if (end === undefined) end = vs.length;\n var len = (end-start)/2;\n for (var i = 0, j = len - 1; i < len; j = i++) {\n var xi = vs[start+i*2+0], yi = vs[start+i*2+1];\n var xj = vs[start+j*2+0], yj = vs[start+j*2+1];\n var intersect = ((yi > y) !== (yj > y))\n && (x < (xj - xi) * (y - yi) / (yj - yi) + xi);\n if (intersect) inside = !inside;\n }\n return inside;\n};\n","var pointInPolygonFlat = require('./flat.js')\nvar pointInPolygonNested = require('./nested.js')\n\nmodule.exports = function pointInPolygon (point, vs, start, end) {\n if (vs.length > 0 && Array.isArray(vs[0])) {\n return pointInPolygonNested(point, vs, start, end);\n } else {\n return pointInPolygonFlat(point, vs, start, end);\n }\n}\nmodule.exports.nested = pointInPolygonNested\nmodule.exports.flat = pointInPolygonFlat\n","// ray-casting algorithm based on\n// https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html\n\nmodule.exports = function pointInPolygonNested (point, vs, start, end) {\n var x = point[0], y = point[1];\n var inside = false;\n if (start === undefined) start = 0;\n if (end === undefined) end = vs.length;\n var len = end - start;\n for (var i = 0, j = len - 1; i < len; j = i++) {\n var xi = vs[i+start][0], yi = vs[i+start][1];\n var xj = vs[j+start][0], yj = vs[j+start][1];\n var intersect = ((yi > y) !== (yj > y))\n && (x < (xj - xi) * (y - yi) / (yj - yi) + xi);\n if (intersect) inside = !inside;\n }\n return inside;\n};\n","var openParentheses = \"(\".charCodeAt(0);\nvar closeParentheses = \")\".charCodeAt(0);\nvar singleQuote = \"'\".charCodeAt(0);\nvar doubleQuote = '\"'.charCodeAt(0);\nvar backslash = \"\\\\\".charCodeAt(0);\nvar slash = \"/\".charCodeAt(0);\nvar comma = \",\".charCodeAt(0);\nvar colon = \":\".charCodeAt(0);\nvar star = \"*\".charCodeAt(0);\nvar uLower = \"u\".charCodeAt(0);\nvar uUpper = \"U\".charCodeAt(0);\nvar plus = \"+\".charCodeAt(0);\nvar isUnicodeRange = /^[a-f0-9?-]+$/i;\n\nmodule.exports = function(input) {\n var tokens = [];\n var value = input;\n\n var next,\n quote,\n prev,\n token,\n escape,\n escapePos,\n whitespacePos,\n parenthesesOpenPos;\n var pos = 0;\n var code = value.charCodeAt(pos);\n var max = value.length;\n var stack = [{ nodes: tokens }];\n var balanced = 0;\n var parent;\n\n var name = \"\";\n var before = \"\";\n var after = \"\";\n\n while (pos < max) {\n // Whitespaces\n if (code <= 32) {\n next = pos;\n do {\n next += 1;\n code = value.charCodeAt(next);\n } while (code <= 32);\n token = value.slice(pos, next);\n\n prev = tokens[tokens.length - 1];\n if (code === closeParentheses && balanced) {\n after = token;\n } else if (prev && prev.type === \"div\") {\n prev.after = token;\n prev.sourceEndIndex += token.length;\n } else if (\n code === comma ||\n code === colon ||\n (code === slash &&\n value.charCodeAt(next + 1) !== star &&\n (!parent ||\n (parent && parent.type === \"function\" && parent.value !== \"calc\")))\n ) {\n before = token;\n } else {\n tokens.push({\n type: \"space\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n }\n\n pos = next;\n\n // Quotes\n } else if (code === singleQuote || code === doubleQuote) {\n next = pos;\n quote = code === singleQuote ? \"'\" : '\"';\n token = {\n type: \"string\",\n sourceIndex: pos,\n quote: quote\n };\n do {\n escape = false;\n next = value.indexOf(quote, next + 1);\n if (~next) {\n escapePos = next;\n while (value.charCodeAt(escapePos - 1) === backslash) {\n escapePos -= 1;\n escape = !escape;\n }\n } else {\n value += quote;\n next = value.length - 1;\n token.unclosed = true;\n }\n } while (escape);\n token.value = value.slice(pos + 1, next);\n token.sourceEndIndex = token.unclosed ? next : next + 1;\n tokens.push(token);\n pos = next + 1;\n code = value.charCodeAt(pos);\n\n // Comments\n } else if (code === slash && value.charCodeAt(pos + 1) === star) {\n next = value.indexOf(\"*/\", pos);\n\n token = {\n type: \"comment\",\n sourceIndex: pos,\n sourceEndIndex: next + 2\n };\n\n if (next === -1) {\n token.unclosed = true;\n next = value.length;\n token.sourceEndIndex = next;\n }\n\n token.value = value.slice(pos + 2, next);\n tokens.push(token);\n\n pos = next + 2;\n code = value.charCodeAt(pos);\n\n // Operation within calc\n } else if (\n (code === slash || code === star) &&\n parent &&\n parent.type === \"function\" &&\n parent.value === \"calc\"\n ) {\n token = value[pos];\n tokens.push({\n type: \"word\",\n sourceIndex: pos - before.length,\n sourceEndIndex: pos + token.length,\n value: token\n });\n pos += 1;\n code = value.charCodeAt(pos);\n\n // Dividers\n } else if (code === slash || code === comma || code === colon) {\n token = value[pos];\n\n tokens.push({\n type: \"div\",\n sourceIndex: pos - before.length,\n sourceEndIndex: pos + token.length,\n value: token,\n before: before,\n after: \"\"\n });\n before = \"\";\n\n pos += 1;\n code = value.charCodeAt(pos);\n\n // Open parentheses\n } else if (openParentheses === code) {\n // Whitespaces after open parentheses\n next = pos;\n do {\n next += 1;\n code = value.charCodeAt(next);\n } while (code <= 32);\n parenthesesOpenPos = pos;\n token = {\n type: \"function\",\n sourceIndex: pos - name.length,\n value: name,\n before: value.slice(parenthesesOpenPos + 1, next)\n };\n pos = next;\n\n if (name === \"url\" && code !== singleQuote && code !== doubleQuote) {\n next -= 1;\n do {\n escape = false;\n next = value.indexOf(\")\", next + 1);\n if (~next) {\n escapePos = next;\n while (value.charCodeAt(escapePos - 1) === backslash) {\n escapePos -= 1;\n escape = !escape;\n }\n } else {\n value += \")\";\n next = value.length - 1;\n token.unclosed = true;\n }\n } while (escape);\n // Whitespaces before closed\n whitespacePos = next;\n do {\n whitespacePos -= 1;\n code = value.charCodeAt(whitespacePos);\n } while (code <= 32);\n if (parenthesesOpenPos < whitespacePos) {\n if (pos !== whitespacePos + 1) {\n token.nodes = [\n {\n type: \"word\",\n sourceIndex: pos,\n sourceEndIndex: whitespacePos + 1,\n value: value.slice(pos, whitespacePos + 1)\n }\n ];\n } else {\n token.nodes = [];\n }\n if (token.unclosed && whitespacePos + 1 !== next) {\n token.after = \"\";\n token.nodes.push({\n type: \"space\",\n sourceIndex: whitespacePos + 1,\n sourceEndIndex: next,\n value: value.slice(whitespacePos + 1, next)\n });\n } else {\n token.after = value.slice(whitespacePos + 1, next);\n token.sourceEndIndex = next;\n }\n } else {\n token.after = \"\";\n token.nodes = [];\n }\n pos = next + 1;\n token.sourceEndIndex = token.unclosed ? next : pos;\n code = value.charCodeAt(pos);\n tokens.push(token);\n } else {\n balanced += 1;\n token.after = \"\";\n token.sourceEndIndex = pos + 1;\n tokens.push(token);\n stack.push(token);\n tokens = token.nodes = [];\n parent = token;\n }\n name = \"\";\n\n // Close parentheses\n } else if (closeParentheses === code && balanced) {\n pos += 1;\n code = value.charCodeAt(pos);\n\n parent.after = after;\n parent.sourceEndIndex += after.length;\n after = \"\";\n balanced -= 1;\n stack[stack.length - 1].sourceEndIndex = pos;\n stack.pop();\n parent = stack[balanced];\n tokens = parent.nodes;\n\n // Words\n } else {\n next = pos;\n do {\n if (code === backslash) {\n next += 1;\n }\n next += 1;\n code = value.charCodeAt(next);\n } while (\n next < max &&\n !(\n code <= 32 ||\n code === singleQuote ||\n code === doubleQuote ||\n code === comma ||\n code === colon ||\n code === slash ||\n code === openParentheses ||\n (code === star &&\n parent &&\n parent.type === \"function\" &&\n parent.value === \"calc\") ||\n (code === slash &&\n parent.type === \"function\" &&\n parent.value === \"calc\") ||\n (code === closeParentheses && balanced)\n )\n );\n token = value.slice(pos, next);\n\n if (openParentheses === code) {\n name = token;\n } else if (\n (uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) &&\n plus === token.charCodeAt(1) &&\n isUnicodeRange.test(token.slice(2))\n ) {\n tokens.push({\n type: \"unicode-range\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n } else {\n tokens.push({\n type: \"word\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n }\n\n pos = next;\n }\n }\n\n for (pos = stack.length - 1; pos; pos -= 1) {\n stack[pos].unclosed = true;\n stack[pos].sourceEndIndex = value.length;\n }\n\n return stack[0].nodes;\n};\n","var minus = \"-\".charCodeAt(0);\nvar plus = \"+\".charCodeAt(0);\nvar dot = \".\".charCodeAt(0);\nvar exp = \"e\".charCodeAt(0);\nvar EXP = \"E\".charCodeAt(0);\n\n// Check if three code points would start a number\n// https://www.w3.org/TR/css-syntax-3/#starts-with-a-number\nfunction likeNumber(value) {\n var code = value.charCodeAt(0);\n var nextCode;\n\n if (code === plus || code === minus) {\n nextCode = value.charCodeAt(1);\n\n if (nextCode >= 48 && nextCode <= 57) {\n return true;\n }\n\n var nextNextCode = value.charCodeAt(2);\n\n if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {\n return true;\n }\n\n return false;\n }\n\n if (code === dot) {\n nextCode = value.charCodeAt(1);\n\n if (nextCode >= 48 && nextCode <= 57) {\n return true;\n }\n\n return false;\n }\n\n if (code >= 48 && code <= 57) {\n return true;\n }\n\n return false;\n}\n\n// Consume a number\n// https://www.w3.org/TR/css-syntax-3/#consume-number\nmodule.exports = function(value) {\n var pos = 0;\n var length = value.length;\n var code;\n var nextCode;\n var nextNextCode;\n\n if (length === 0 || !likeNumber(value)) {\n return false;\n }\n\n code = value.charCodeAt(pos);\n\n if (code === plus || code === minus) {\n pos++;\n }\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n\n code = value.charCodeAt(pos);\n nextCode = value.charCodeAt(pos + 1);\n\n if (code === dot && nextCode >= 48 && nextCode <= 57) {\n pos += 2;\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n }\n\n code = value.charCodeAt(pos);\n nextCode = value.charCodeAt(pos + 1);\n nextNextCode = value.charCodeAt(pos + 2);\n\n if (\n (code === exp || code === EXP) &&\n ((nextCode >= 48 && nextCode <= 57) ||\n ((nextCode === plus || nextCode === minus) &&\n nextNextCode >= 48 &&\n nextNextCode <= 57))\n ) {\n pos += nextCode === plus || nextCode === minus ? 3 : 2;\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n }\n\n return {\n number: value.slice(0, pos),\n unit: value.slice(pos)\n };\n};\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","var inherits = require('inherits')\nvar EventEmitter = require('events').EventEmitter\n\nmodule.exports = Queue\nmodule.exports.default = Queue\n\nfunction Queue (options) {\n if (!(this instanceof Queue)) {\n return new Queue(options)\n }\n\n EventEmitter.call(this)\n options = options || {}\n this.concurrency = options.concurrency || Infinity\n this.timeout = options.timeout || 0\n this.autostart = options.autostart || false\n this.results = options.results || null\n this.pending = 0\n this.session = 0\n this.running = false\n this.jobs = []\n this.timers = {}\n}\ninherits(Queue, EventEmitter)\n\nvar arrayMethods = [\n 'pop',\n 'shift',\n 'indexOf',\n 'lastIndexOf'\n]\n\narrayMethods.forEach(function (method) {\n Queue.prototype[method] = function () {\n return Array.prototype[method].apply(this.jobs, arguments)\n }\n})\n\nQueue.prototype.slice = function (begin, end) {\n this.jobs = this.jobs.slice(begin, end)\n return this\n}\n\nQueue.prototype.reverse = function () {\n this.jobs.reverse()\n return this\n}\n\nvar arrayAddMethods = [\n 'push',\n 'unshift',\n 'splice'\n]\n\narrayAddMethods.forEach(function (method) {\n Queue.prototype[method] = function () {\n var methodResult = Array.prototype[method].apply(this.jobs, arguments)\n if (this.autostart) {\n this.start()\n }\n return methodResult\n }\n})\n\nObject.defineProperty(Queue.prototype, 'length', {\n get: function () {\n return this.pending + this.jobs.length\n }\n})\n\nQueue.prototype.start = function (cb) {\n if (cb) {\n callOnErrorOrEnd.call(this, cb)\n }\n\n this.running = true\n\n if (this.pending >= this.concurrency) {\n return\n }\n\n if (this.jobs.length === 0) {\n if (this.pending === 0) {\n done.call(this)\n }\n return\n }\n\n var self = this\n var job = this.jobs.shift()\n var once = true\n var session = this.session\n var timeoutId = null\n var didTimeout = false\n var resultIndex = null\n var timeout = job.hasOwnProperty('timeout') ? job.timeout : this.timeout\n\n function next (err, result) {\n if (once && self.session === session) {\n once = false\n self.pending--\n if (timeoutId !== null) {\n delete self.timers[timeoutId]\n clearTimeout(timeoutId)\n }\n\n if (err) {\n self.emit('error', err, job)\n } else if (didTimeout === false) {\n if (resultIndex !== null) {\n self.results[resultIndex] = Array.prototype.slice.call(arguments, 1)\n }\n self.emit('success', result, job)\n }\n\n if (self.session === session) {\n if (self.pending === 0 && self.jobs.length === 0) {\n done.call(self)\n } else if (self.running) {\n self.start()\n }\n }\n }\n }\n\n if (timeout) {\n timeoutId = setTimeout(function () {\n didTimeout = true\n if (self.listeners('timeout').length > 0) {\n self.emit('timeout', next, job)\n } else {\n next()\n }\n }, timeout)\n this.timers[timeoutId] = timeoutId\n }\n\n if (this.results) {\n resultIndex = this.results.length\n this.results[resultIndex] = null\n }\n\n this.pending++\n self.emit('start', job)\n var promise = job(next)\n if (promise && promise.then && typeof promise.then === 'function') {\n promise.then(function (result) {\n return next(null, result)\n }).catch(function (err) {\n return next(err || true)\n })\n }\n\n if (this.running && this.jobs.length > 0) {\n this.start()\n }\n}\n\nQueue.prototype.stop = function () {\n this.running = false\n}\n\nQueue.prototype.end = function (err) {\n clearTimers.call(this)\n this.jobs.length = 0\n this.pending = 0\n done.call(this, err)\n}\n\nfunction clearTimers () {\n for (var key in this.timers) {\n var timeoutId = this.timers[key]\n delete this.timers[key]\n clearTimeout(timeoutId)\n }\n}\n\nfunction callOnErrorOrEnd (cb) {\n var self = this\n this.on('error', onerror)\n this.on('end', onend)\n\n function onerror (err) { self.end(err) }\n function onend (err) {\n self.removeListener('error', onerror)\n self.removeListener('end', onend)\n cb(err, this.results)\n }\n}\n\nfunction done (err) {\n this.session++\n this.running = false\n this.emit('end', err)\n}\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactConfetti\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"ReactConfetti\"] = factory(root[\"React\"]);\n})(typeof self !== \"undefined\" ? self : this, function(__WEBPACK_EXTERNAL_MODULE__0__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","module.exports = __WEBPACK_EXTERNAL_MODULE__0__;","'use strict';\n\n// t: current time, b: beginning value, _c: final value, d: total duration\nvar tweenFunctions = {\n linear: function(t, b, _c, d) {\n var c = _c - b;\n return c * t / d + b;\n },\n easeInQuad: function(t, b, _c, d) {\n var c = _c - b;\n return c * (t /= d) * t + b;\n },\n easeOutQuad: function(t, b, _c, d) {\n var c = _c - b;\n return -c * (t /= d) * (t - 2) + b;\n },\n easeInOutQuad: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d / 2) < 1) {\n return c / 2 * t * t + b;\n } else {\n return -c / 2 * ((--t) * (t - 2) - 1) + b;\n }\n },\n easeInCubic: function(t, b, _c, d) {\n var c = _c - b;\n return c * (t /= d) * t * t + b;\n },\n easeOutCubic: function(t, b, _c, d) {\n var c = _c - b;\n return c * ((t = t / d - 1) * t * t + 1) + b;\n },\n easeInOutCubic: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d / 2) < 1) {\n return c / 2 * t * t * t + b;\n } else {\n return c / 2 * ((t -= 2) * t * t + 2) + b;\n }\n },\n easeInQuart: function(t, b, _c, d) {\n var c = _c - b;\n return c * (t /= d) * t * t * t + b;\n },\n easeOutQuart: function(t, b, _c, d) {\n var c = _c - b;\n return -c * ((t = t / d - 1) * t * t * t - 1) + b;\n },\n easeInOutQuart: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d / 2) < 1) {\n return c / 2 * t * t * t * t + b;\n } else {\n return -c / 2 * ((t -= 2) * t * t * t - 2) + b;\n }\n },\n easeInQuint: function(t, b, _c, d) {\n var c = _c - b;\n return c * (t /= d) * t * t * t * t + b;\n },\n easeOutQuint: function(t, b, _c, d) {\n var c = _c - b;\n return c * ((t = t / d - 1) * t * t * t * t + 1) + b;\n },\n easeInOutQuint: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d / 2) < 1) {\n return c / 2 * t * t * t * t * t + b;\n } else {\n return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;\n }\n },\n easeInSine: function(t, b, _c, d) {\n var c = _c - b;\n return -c * Math.cos(t / d * (Math.PI / 2)) + c + b;\n },\n easeOutSine: function(t, b, _c, d) {\n var c = _c - b;\n return c * Math.sin(t / d * (Math.PI / 2)) + b;\n },\n easeInOutSine: function(t, b, _c, d) {\n var c = _c - b;\n return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;\n },\n easeInExpo: function(t, b, _c, d) {\n var c = _c - b;\n return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;\n },\n easeOutExpo: function(t, b, _c, d) {\n var c = _c - b;\n return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;\n },\n easeInOutExpo: function(t, b, _c, d) {\n var c = _c - b;\n if (t === 0) {\n return b;\n }\n if (t === d) {\n return b + c;\n }\n if ((t /= d / 2) < 1) {\n return c / 2 * Math.pow(2, 10 * (t - 1)) + b;\n } else {\n return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b;\n }\n },\n easeInCirc: function(t, b, _c, d) {\n var c = _c - b;\n return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b;\n },\n easeOutCirc: function(t, b, _c, d) {\n var c = _c - b;\n return c * Math.sqrt(1 - (t = t / d - 1) * t) + b;\n },\n easeInOutCirc: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d / 2) < 1) {\n return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b;\n } else {\n return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b;\n }\n },\n easeInElastic: function(t, b, _c, d) {\n var c = _c - b;\n var a, p, s;\n s = 1.70158;\n p = 0;\n a = c;\n if (t === 0) {\n return b;\n } else if ((t /= d) === 1) {\n return b + c;\n }\n if (!p) {\n p = d * 0.3;\n }\n if (a < Math.abs(c)) {\n a = c;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(c / a);\n }\n return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;\n },\n easeOutElastic: function(t, b, _c, d) {\n var c = _c - b;\n var a, p, s;\n s = 1.70158;\n p = 0;\n a = c;\n if (t === 0) {\n return b;\n } else if ((t /= d) === 1) {\n return b + c;\n }\n if (!p) {\n p = d * 0.3;\n }\n if (a < Math.abs(c)) {\n a = c;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(c / a);\n }\n return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b;\n },\n easeInOutElastic: function(t, b, _c, d) {\n var c = _c - b;\n var a, p, s;\n s = 1.70158;\n p = 0;\n a = c;\n if (t === 0) {\n return b;\n } else if ((t /= d / 2) === 2) {\n return b + c;\n }\n if (!p) {\n p = d * (0.3 * 1.5);\n }\n if (a < Math.abs(c)) {\n a = c;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(c / a);\n }\n if (t < 1) {\n return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;\n } else {\n return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * 0.5 + c + b;\n }\n },\n easeInBack: function(t, b, _c, d, s) {\n var c = _c - b;\n if (s === void 0) {\n s = 1.70158;\n }\n return c * (t /= d) * t * ((s + 1) * t - s) + b;\n },\n easeOutBack: function(t, b, _c, d, s) {\n var c = _c - b;\n if (s === void 0) {\n s = 1.70158;\n }\n return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;\n },\n easeInOutBack: function(t, b, _c, d, s) {\n var c = _c - b;\n if (s === void 0) {\n s = 1.70158;\n }\n if ((t /= d / 2) < 1) {\n return c / 2 * (t * t * (((s *= 1.525) + 1) * t - s)) + b;\n } else {\n return c / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + b;\n }\n },\n easeInBounce: function(t, b, _c, d) {\n var c = _c - b;\n var v;\n v = tweenFunctions.easeOutBounce(d - t, 0, c, d);\n return c - v + b;\n },\n easeOutBounce: function(t, b, _c, d) {\n var c = _c - b;\n if ((t /= d) < 1 / 2.75) {\n return c * (7.5625 * t * t) + b;\n } else if (t < 2 / 2.75) {\n return c * (7.5625 * (t -= 1.5 / 2.75) * t + 0.75) + b;\n } else if (t < 2.5 / 2.75) {\n return c * (7.5625 * (t -= 2.25 / 2.75) * t + 0.9375) + b;\n } else {\n return c * (7.5625 * (t -= 2.625 / 2.75) * t + 0.984375) + b;\n }\n },\n easeInOutBounce: function(t, b, _c, d) {\n var c = _c - b;\n var v;\n if (t < d / 2) {\n v = tweenFunctions.easeInBounce(t * 2, 0, c, d);\n return v * 0.5 + b;\n } else {\n v = tweenFunctions.easeOutBounce(t * 2 - d, 0, c, d);\n return v * 0.5 + c * 0.5 + b;\n }\n }\n};\n\nmodule.exports = tweenFunctions;\n","import { randomRange, randomInt, degreesToRads } from './utils'\nimport { IConfettiOptions } from './Confetti'\n\nexport enum ParticleShape {\n Circle = 0,\n Square,\n Strip,\n}\n\nenum RotationDirection {\n Positive = 1,\n Negative = -1,\n}\n\nexport default class Particle {\n constructor(context: CanvasRenderingContext2D, getOptions: () => IConfettiOptions, x: number, y: number) {\n this.getOptions = getOptions\n const {\n colors,\n initialVelocityX,\n initialVelocityY,\n } = this.getOptions()\n this.context = context\n this.x = x\n this.y = y\n this.w = randomRange(5, 20)\n this.h = randomRange(5, 20)\n this.radius = randomRange(5, 10)\n this.vx = typeof initialVelocityX === 'number' ? randomRange(-initialVelocityX, initialVelocityX) : randomRange(initialVelocityX.min, initialVelocityX.max)\n this.vy = typeof initialVelocityY === 'number' ? randomRange(-initialVelocityY, 0) : randomRange(initialVelocityY.min, initialVelocityY.max)\n this.shape = randomInt(0, 2)\n this.angle = degreesToRads(randomRange(0, 360))\n this.angularSpin = randomRange(-0.2, 0.2)\n this.color = colors[Math.floor(Math.random() * colors.length)]\n this.rotateY = randomRange(0, 1)\n this.rotationDirection = randomRange(0, 1) ? RotationDirection.Positive : RotationDirection.Negative\n }\n\n context: CanvasRenderingContext2D\n\n radius: number\n\n x: number\n\n y: number\n\n w: number\n\n h: number\n\n vx: number\n\n vy: number\n\n shape: ParticleShape\n\n angle: number\n\n angularSpin: number\n\n color: string\n\n // Actually used as scaleY to simulate rotation cheaply\n rotateY: number\n\n rotationDirection: RotationDirection\n\n getOptions: () => IConfettiOptions\n\n update() {\n const {\n gravity,\n wind,\n friction,\n opacity,\n drawShape,\n } = this.getOptions()\n this.x += this.vx\n this.y += this.vy\n this.vy += gravity\n this.vx += wind\n this.vx *= friction\n this.vy *= friction\n if(this.rotateY >= 1 && this.rotationDirection === RotationDirection.Positive) {\n this.rotationDirection = RotationDirection.Negative\n } else if(this.rotateY <= -1 && this.rotationDirection === RotationDirection.Negative) {\n this.rotationDirection = RotationDirection.Positive\n }\n\n const rotateDelta = 0.1 * this.rotationDirection\n\n this.rotateY += rotateDelta\n this.angle += this.angularSpin\n this.context.save()\n this.context.translate(this.x, this.y)\n this.context.rotate(this.angle)\n this.context.scale(1, this.rotateY)\n this.context.rotate(this.angle)\n this.context.beginPath()\n this.context.fillStyle = this.color\n this.context.strokeStyle = this.color\n this.context.globalAlpha = opacity\n this.context.lineCap = 'round'\n this.context.lineWidth = 2\n if(drawShape && typeof drawShape === 'function') {\n drawShape.call(this, this.context)\n } else {\n switch(this.shape) {\n case ParticleShape.Circle: {\n this.context.beginPath()\n this.context.arc(0, 0, this.radius, 0, 2 * Math.PI)\n this.context.fill()\n break\n }\n case ParticleShape.Square: {\n this.context.fillRect(-this.w / 2, -this.h / 2, this.w, this.h)\n break\n }\n case ParticleShape.Strip: {\n this.context.fillRect(-this.w / 6, -this.h / 2, this.w / 3, this.h)\n break\n }\n }\n }\n this.context.closePath()\n this.context.restore()\n }\n}\n","import { IPoint } from './Point'\nimport { IRect } from './Rect'\nimport { ICircle } from './Circle'\n\nexport function norm(value: number, min:number, max: number) {\n return (value - min) / (max - min)\n}\n\nexport function lerp(lnorm: number, min: number, max: number) {\n return ((max - min) * lnorm) + min\n}\n\nexport function map(value: number, sourceMin: number, sourceMax: number, destMin: number, destMax: number) {\n return lerp(norm(value, sourceMin, sourceMax), destMin, destMax)\n}\n\nexport function clamp(value: number, min: number, max: number) {\n return Math.min(Math.max(value, Math.min(min, max)), Math.max(min, max))\n}\n\nexport function distance(p0: IPoint, p1: IPoint) {\n const dx = p1.x - p0.x\n const dy = p1.y - p0.y\n return Math.sqrt((dx * dx) + (dy * dy))\n}\n\nexport function distanceXY(x0: number, y0: number, x1: number, y1: number) {\n const dx = x1 - x0\n const dy = y1 - y0\n return Math.sqrt((dx * dx) + (dy * dy))\n}\n\nexport function circleCollision(c0: ICircle, c1: ICircle) {\n return distance(c0, c1) <= c0.radius + c1.radius\n}\n\nexport function circlePointCollision(x: number, y:number, circle: ICircle) {\n return distanceXY(x, y, circle.x, circle.y) < circle.radius\n}\n\nexport function inRange(value: number, min: number, max: number) {\n return value >= Math.min(min, max) && value <= Math.max(min, max)\n}\n\nexport function pointInRect(p: IPoint, rect: IRect) {\n return inRange(p.x, rect.x, rect.x + rect.w) &&\n inRange(p.y, rect.y, rect.y + rect.h)\n}\n\nexport function rangeIntersect(min0: number, max0: number, min1: number, max1: number) {\n return Math.max(min0, max0) >= Math.min(min1, max1) &&\n Math.min(min0, max0) <= Math.max(min1, max1)\n}\n\nexport function rectIntersect(r0: IRect, r1: IRect) {\n return rangeIntersect(r0.x, r0.x + r0.w, r1.x, r1.x + r1.w) &&\n rangeIntersect(r0.y, r0.y + r0.h, r1.y, r1.y + r1.h)\n}\n\nexport function degreesToRads(degrees: number) {\n return degrees * Math.PI / 180\n}\n\nexport function radsToDegrees(radians: number) {\n return (radians * 180) / Math.PI\n}\n\nexport function randomRange(min: number, max: number) {\n return min + (Math.random() * (max - min))\n}\n\nexport function randomInt(min: number, max: number) {\n return Math.floor(min + (Math.random() * ((max - min) + 1)))\n}\n","import { IConfettiOptions } from './Confetti'\nimport { IRect } from './Rect'\nimport Particle from './Particle'\nimport { randomRange } from './utils'\n\nexport interface IParticleGenerator extends IRect {\n removeParticleAt: (index: number) => void\n getParticle: () => void\n animate: () => boolean\n particles: Particle[]\n particlesGenerated: number\n}\n\nexport default class ParticleGenerator implements IParticleGenerator {\n constructor(canvas: HTMLCanvasElement, getOptions: () => IConfettiOptions) {\n this.canvas = canvas\n const ctx = this.canvas.getContext('2d')\n if(!ctx) {\n throw new Error('Could not get canvas context')\n }\n this.context = ctx\n this.getOptions = getOptions\n }\n\n canvas: HTMLCanvasElement\n\n context: CanvasRenderingContext2D\n\n getOptions: () => IConfettiOptions\n\n x: number = 0\n\n y: number = 0\n\n w: number = 0\n\n h: number = 0\n\n lastNumberOfPieces: number = 0\n\n tweenInitTime: number = Date.now()\n\n particles: Particle[] = []\n\n particlesGenerated: number = 0\n\n removeParticleAt = (i: number) => {\n this.particles.splice(i, 1)\n }\n\n getParticle = () => {\n const newParticleX = randomRange(this.x, this.w + this.x)\n const newParticleY = randomRange(this.y, this.h + this.y)\n return new Particle(this.context, this.getOptions, newParticleX, newParticleY)\n }\n\n animate = (): boolean => {\n const {\n canvas,\n context,\n particlesGenerated,\n lastNumberOfPieces,\n } = this\n const {\n run,\n recycle,\n numberOfPieces,\n debug,\n tweenFunction,\n tweenDuration,\n } = this.getOptions()\n if(!run) {\n return false\n }\n\n const nP = this.particles.length\n const activeCount = recycle ? nP : particlesGenerated\n\n const now = Date.now()\n\n // Initial population\n if(activeCount < numberOfPieces) {\n // Use the numberOfPieces prop as a key to reset the easing timing\n if(lastNumberOfPieces !== numberOfPieces) {\n this.tweenInitTime = now\n this.lastNumberOfPieces = numberOfPieces\n }\n const { tweenInitTime } = this\n // Add more than one piece per loop, otherwise the number of pieces would\n // be limitted by the RAF framerate\n const progressTime = now - tweenInitTime > tweenDuration\n ? tweenDuration\n : Math.max(0, now - tweenInitTime)\n const tweenedVal = tweenFunction(progressTime, activeCount, numberOfPieces, tweenDuration)\n const numToAdd = Math.round(tweenedVal - activeCount)\n for(let i = 0; i < numToAdd; i++) {\n this.particles.push(this.getParticle())\n }\n this.particlesGenerated += numToAdd\n }\n if(debug) {\n // Draw debug text\n context.font = '12px sans-serif'\n context.fillStyle = '#333'\n context.textAlign = 'right'\n context.fillText(`Particles: ${nP}`, canvas.width - 10, canvas.height - 20)\n }\n\n // Maintain the population\n this.particles.forEach((p, i) => {\n // Update each particle's position\n p.update()\n // Prune the off-canvas particles\n if(p.y > canvas.height || p.y < -100 || p.x > canvas.width + 100 || p.x < -100) {\n if(recycle && activeCount <= numberOfPieces) {\n // Replace the particle with a brand new one\n this.particles[i] = this.getParticle()\n } else {\n this.removeParticleAt(i)\n }\n }\n })\n return nP > 0 || activeCount < numberOfPieces\n }\n}\n","import tweens from 'tween-functions'\nimport { IRect } from './Rect'\nimport ParticleGenerator from './ParticleGenerator'\n\nexport interface IConfettiOptions {\n /**\n * Width of the component\n * @default window.width\n */\n width: number\n /**\n * Height of the component\n * @default window.height\n */\n height: number\n /**\n * Max number of confetti pieces to render.\n * @default 200\n */\n numberOfPieces: number\n /**\n * Slows movement of pieces. (lower number = slower confetti)\n * @default 0.99\n */\n friction: number\n /**\n * Blows confetti along the X axis.\n * @default 0\n */\n wind: number\n /**\n * How fast it falls (pixels per frame)\n * @default 0.1\n */\n gravity: number\n /**\n * How fast the confetti is emitted horizontally\n * @default 4\n */\n initialVelocityX: {min: number, max: number} | number\n /**\n * How fast the confetti is emitted vertically\n * @default 10\n */\n initialVelocityY: {min: number, max: number} | number\n /**\n * Array of colors to choose from.\n */\n colors: string[]\n /**\n * Opacity of the confetti.\n * @default 1\n */\n opacity: number\n /**\n * If false, only numberOfPieces will be emitted and then stops. If true, when a confetto goes offscreen, a new one will be emitted.\n * @default true\n */\n recycle: boolean\n /**\n * If false, stops the requestAnimationFrame loop.\n * @default true\n */\n run: boolean\n /**\n * Renders some debug text on the canvas.\n * @default false\n */\n debug: boolean\n /**\n * A Rect defining the area where the confetti will spawn.\n * @default {\n * x: 0,\n * y: 0,\n * w: canvas.width,\n * h: 0\n * }\n */\n confettiSource: IRect\n /**\n * Controls the rate at which confetti is spawned.\n * @default easeInOutQuad\n */\n tweenFunction: (currentTime: number, currentValue: number, targetValue: number, duration: number, s?: number) => number\n /**\n * Number of milliseconds it should take to spawn numberOfPieces.\n * @default 5000\n */\n tweenDuration: number\n /**\n * Function to draw your own confetti shapes.\n */\n drawShape?: (context: CanvasRenderingContext2D) => void\n /**\n * Function called when all confetti has fallen off-canvas.\n */\n onConfettiComplete?: (confettiInstance?: Confetti) => void\n}\n\nexport const confettiDefaults: Pick<IConfettiOptions, Exclude<keyof IConfettiOptions, 'confettiSource'>> = {\n width: typeof window !== 'undefined' ? window.innerWidth : 300,\n height: typeof window !== 'undefined' ? window.innerHeight : 200,\n numberOfPieces: 200,\n friction: 0.99,\n wind: 0,\n gravity: 0.1,\n initialVelocityX: 4,\n initialVelocityY: 10,\n colors: [\n '#f44336', '#e91e63', '#9c27b0', '#673ab7', '#3f51b5',\n '#2196f3', '#03a9f4', '#00bcd4', '#009688', '#4CAF50',\n '#8BC34A', '#CDDC39', '#FFEB3B', '#FFC107', '#FF9800',\n '#FF5722', '#795548',\n ],\n opacity: 1.0,\n debug: false,\n tweenFunction: tweens.easeInOutQuad,\n tweenDuration: 5000,\n recycle: true,\n run: true,\n}\n\nexport class Confetti {\n constructor(canvas: HTMLCanvasElement, opts: Partial<IConfettiOptions>) {\n this.canvas = canvas\n const ctx = this.canvas.getContext('2d')\n if(!ctx) {\n throw new Error('Could not get canvas context')\n }\n this.context = ctx\n\n this.generator = new ParticleGenerator(this.canvas, () => (this.options as IConfettiOptions))\n this.options = opts\n this.update()\n }\n\n canvas: HTMLCanvasElement\n\n context: CanvasRenderingContext2D\n\n _options!: IConfettiOptions\n\n generator: ParticleGenerator\n\n rafId?: number\n\n get options(): Partial<IConfettiOptions> {\n return this._options\n }\n\n set options(opts: Partial<IConfettiOptions>) {\n const lastRunState = this._options && this._options.run\n const lastRecycleState = this._options && this._options.recycle\n this.setOptionsWithDefaults(opts)\n if(this.generator) {\n Object.assign(this.generator, this.options.confettiSource)\n if(typeof opts.recycle === 'boolean' && opts.recycle && lastRecycleState === false) {\n this.generator.lastNumberOfPieces = this.generator.particles.length\n }\n }\n if(typeof opts.run === 'boolean' && opts.run && lastRunState === false) {\n this.update()\n }\n }\n\n setOptionsWithDefaults = (opts: Partial<IConfettiOptions>) => {\n const computedConfettiDefaults = {\n confettiSource: {\n x: 0,\n y: 0,\n w: this.canvas.width,\n h: 0,\n },\n }\n this._options = { ...computedConfettiDefaults, ...confettiDefaults, ...opts }\n Object.assign(this, opts.confettiSource)\n }\n\n update = () => {\n const {\n options: {\n run,\n onConfettiComplete,\n },\n canvas,\n context,\n } = this\n if(run) {\n context.fillStyle = 'white'\n context.clearRect(0, 0, canvas.width, canvas.height)\n }\n if(this.generator.animate()) {\n this.rafId = requestAnimationFrame(this.update)\n } else {\n if(onConfettiComplete && typeof onConfettiComplete === 'function' && this.generator.particlesGenerated > 0) {\n onConfettiComplete.call(this, this)\n }\n this._options.run = false\n }\n }\n\n reset = () => {\n if(this.generator && this.generator.particlesGenerated > 0) {\n this.generator.particlesGenerated = 0\n this.generator.particles = []\n this.generator.lastNumberOfPieces = 0\n }\n }\n\n stop = () => {\n this.options = { run: false }\n if(this.rafId) {\n cancelAnimationFrame(this.rafId)\n this.rafId = undefined\n }\n }\n}\n\nexport default Confetti\n","import React, { Component, CanvasHTMLAttributes } from 'react'\nimport Confetti, { IConfettiOptions, confettiDefaults } from './Confetti'\n\nconst ref = React.createRef<HTMLCanvasElement>()\n\nexport type Props = Partial<IConfettiOptions> & CanvasHTMLAttributes<HTMLCanvasElement> & { canvasRef?: React.Ref<HTMLCanvasElement> }\n\nclass ReactConfettiInternal extends Component<Props> {\n static readonly defaultProps = {\n ...confettiDefaults,\n }\n\n static readonly displayName = 'ReactConfetti'\n\n constructor(props: Props, ...rest: any[]) {\n super(props, ...rest)\n this.canvas = props.canvasRef as React.RefObject<HTMLCanvasElement> || ref\n }\n\n canvas: React.RefObject<HTMLCanvasElement> = React.createRef()\n\n confetti?: Confetti\n\n componentDidMount() {\n if(this.canvas.current) {\n const opts = extractCanvasProps(this.props)[0]\n this.confetti = new Confetti(this.canvas.current, opts)\n }\n }\n\n componentDidUpdate() {\n const confettiOptions = extractCanvasProps(this.props)[0]\n if(this.confetti) {\n this.confetti.options = confettiOptions as IConfettiOptions\n }\n }\n\n componentWillUnmount() {\n if(this.confetti) {\n this.confetti.stop()\n }\n this.confetti = undefined\n }\n\n render() {\n const [confettiOptions, passedProps] = extractCanvasProps(this.props)\n const canvasStyles = {\n zIndex: 2,\n position: 'absolute' as 'absolute',\n pointerEvents: 'none' as 'none',\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n ...passedProps.style,\n }\n return (\n <canvas\n width={confettiOptions.width}\n height={confettiOptions.height}\n ref={this.canvas}\n {...passedProps}\n style={canvasStyles}\n />\n )\n }\n}\n\ninterface Refs {\n [key: string]: React.Ref<HTMLElement>\n}\nfunction extractCanvasProps(props: Partial<IConfettiOptions> | any): [Partial<IConfettiOptions>, Partial<CanvasHTMLAttributes<HTMLCanvasElement>>, Refs] {\n const confettiOptions: Partial<IConfettiOptions> = {}\n const refs: Refs = {}\n const rest: any = {}\n const confettiOptionKeys = [...Object.keys(confettiDefaults), 'confettiSource', 'drawShape', 'onConfettiComplete']\n const refProps = ['canvasRef']\n for(const prop in props) {\n const val = props[prop as string]\n if(confettiOptionKeys.includes(prop)) {\n confettiOptions[prop as keyof IConfettiOptions] = val\n } else if(refProps.includes(prop)) {\n refProps[prop as any] = val\n } else {\n rest[prop] = val\n }\n }\n return [confettiOptions, rest, refs]\n}\n\nexport const ReactConfetti = React.forwardRef<HTMLCanvasElement, Props>((props, ref) => (\n <ReactConfettiInternal canvasRef={ref} {...props} />\n))\n\nexport default ReactConfetti\n","/** @license React v17.0.2\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),m=require(\"object-assign\"),r=require(\"scheduler\");function y(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!aa)throw Error(y(227));var ba=new Set,ca={};function da(a,b){ea(a,b);ea(a+\"Capture\",b)}\nfunction ea(a,b){ca[a]=b;for(a=0;a<b.length;a++)ba.add(b[a])}\nvar fa=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),ha=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,ia=Object.prototype.hasOwnProperty,\nja={},ka={};function la(a){if(ia.call(ka,a))return!0;if(ia.call(ja,a))return!1;if(ha.test(a))return ka[a]=!0;ja[a]=!0;return!1}function ma(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction na(a,b,c,d){if(null===b||\"undefined\"===typeof b||ma(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function B(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var D={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){D[a]=new B(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];D[b]=new B(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){D[a]=new B(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){D[a]=new B(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){D[a]=new B(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){D[a]=new B(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){D[a]=new B(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){D[a]=new B(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){D[a]=new B(a,5,!1,a.toLowerCase(),null,!1,!1)});var oa=/[\\-:]([a-z])/g;function pa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(oa,\npa);D[b]=new B(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(oa,pa);D[b]=new B(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!1,!1)});\nD.xlinkHref=new B(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){D[a]=new B(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction qa(a,b,c,d){var e=D.hasOwnProperty(b)?D[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(na(b,c,e,d)&&(c=null),d||null===e?la(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}\nvar ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=60103,ta=60106,ua=60107,wa=60108,xa=60114,ya=60109,za=60110,Aa=60112,Ba=60113,Ca=60120,Da=60115,Ea=60116,Fa=60121,Ga=60128,Ha=60129,Ia=60130,Ja=60131;\nif(\"function\"===typeof Symbol&&Symbol.for){var E=Symbol.for;sa=E(\"react.element\");ta=E(\"react.portal\");ua=E(\"react.fragment\");wa=E(\"react.strict_mode\");xa=E(\"react.profiler\");ya=E(\"react.provider\");za=E(\"react.context\");Aa=E(\"react.forward_ref\");Ba=E(\"react.suspense\");Ca=E(\"react.suspense_list\");Da=E(\"react.memo\");Ea=E(\"react.lazy\");Fa=E(\"react.block\");E(\"react.scope\");Ga=E(\"react.opaque.id\");Ha=E(\"react.debug_trace_mode\");Ia=E(\"react.offscreen\");Ja=E(\"react.legacy_hidden\")}\nvar Ka=\"function\"===typeof Symbol&&Symbol.iterator;function La(a){if(null===a||\"object\"!==typeof a)return null;a=Ka&&a[Ka]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}var Ma;function Na(a){if(void 0===Ma)try{throw Error();}catch(c){var b=c.stack.trim().match(/\\n( *(at )?)/);Ma=b&&b[1]||\"\"}return\"\\n\"+Ma+a}var Oa=!1;\nfunction Pa(a,b){if(!a||Oa)return\"\";Oa=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,\"props\",{set:function(){throw Error();}}),\"object\"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(k){var d=k}Reflect.construct(a,[],b)}else{try{b.call()}catch(k){d=k}a.call(b.prototype)}else{try{throw Error();}catch(k){d=k}a()}}catch(k){if(k&&d&&\"string\"===typeof k.stack){for(var e=k.stack.split(\"\\n\"),\nf=d.stack.split(\"\\n\"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h])return\"\\n\"+e[g].replace(\" at new \",\" at \");while(1<=g&&0<=h)}break}}}finally{Oa=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Na(a):\"\"}\nfunction Qa(a){switch(a.tag){case 5:return Na(a.type);case 16:return Na(\"Lazy\");case 13:return Na(\"Suspense\");case 19:return Na(\"SuspenseList\");case 0:case 2:case 15:return a=Pa(a.type,!1),a;case 11:return a=Pa(a.type.render,!1),a;case 22:return a=Pa(a.type._render,!1),a;case 1:return a=Pa(a.type,!0),a;default:return\"\"}}\nfunction Ra(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ua:return\"Fragment\";case ta:return\"Portal\";case xa:return\"Profiler\";case wa:return\"StrictMode\";case Ba:return\"Suspense\";case Ca:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case za:return(a.displayName||\"Context\")+\".Consumer\";case ya:return(a._context.displayName||\"Context\")+\".Provider\";case Aa:var b=a.render;b=b.displayName||b.name||\"\";\nreturn a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\"ForwardRef\");case Da:return Ra(a.type);case Fa:return Ra(a._render);case Ea:b=a._payload;a=a._init;try{return Ra(a(b))}catch(c){}}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;default:return\"\"}}function Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return m({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function $a(a,b){b=b.checked;null!=b&&qa(a,\"checked\",b,!1)}\nfunction ab(a,b){$a(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?bb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&bb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction cb(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction bb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function db(a){var b=\"\";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function eb(a,b){a=m({children:void 0},b);if(b=db(b.children))a.children=b;return a}\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+Sa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}\nfunction gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(y(91));return m({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(y(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(y(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:Sa(c)}}\nfunction ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==b&&null!==b&&(a.value=b)}var kb={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};\nfunction lb(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function mb(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?lb(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}\nvar nb,ob=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==kb.svg||\"innerHTML\"in a)a.innerHTML=b;else{nb=nb||document.createElement(\"div\");nb.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=nb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction pb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar qb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,\nfloodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(qb).forEach(function(a){rb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);qb[b]=qb[a]})});function sb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||qb.hasOwnProperty(a)&&qb[a]?(\"\"+b).trim():b+\"px\"}\nfunction tb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=sb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var ub=m({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction vb(a,b){if(b){if(ub[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(y(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(y(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(y(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(y(62));}}\nfunction wb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(y(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a<b.length;a++)Bb(b[a])}}function Gb(a,b){return a(b)}function Hb(a,b,c,d,e){return a(b,c,d,e)}function Ib(){}var Jb=Gb,Kb=!1,Lb=!1;function Mb(){if(null!==zb||null!==Ab)Ib(),Fb()}\nfunction Nb(a,b,c){if(Lb)return a(b,c);Lb=!0;try{return Jb(a,b,c)}finally{Lb=!1,Mb()}}\nfunction Ob(a,b){var c=a.stateNode;if(null===c)return null;var d=Db(c);if(null===d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==\ntypeof c)throw Error(y(231,b,typeof c));return c}var Pb=!1;if(fa)try{var Qb={};Object.defineProperty(Qb,\"passive\",{get:function(){Pb=!0}});window.addEventListener(\"test\",Qb,Qb);window.removeEventListener(\"test\",Qb,Qb)}catch(a){Pb=!1}function Rb(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(n){this.onError(n)}}var Sb=!1,Tb=null,Ub=!1,Vb=null,Wb={onError:function(a){Sb=!0;Tb=a}};function Xb(a,b,c,d,e,f,g,h,k){Sb=!1;Tb=null;Rb.apply(Wb,arguments)}\nfunction Yb(a,b,c,d,e,f,g,h,k){Xb.apply(this,arguments);if(Sb){if(Sb){var l=Tb;Sb=!1;Tb=null}else throw Error(y(198));Ub||(Ub=!0,Vb=l)}}function Zb(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function $b(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function ac(a){if(Zb(a)!==a)throw Error(y(188));}\nfunction bc(a){var b=a.alternate;if(!b){b=Zb(a);if(null===b)throw Error(y(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return ac(e),a;if(f===d)return ac(e),b;f=f.sibling}throw Error(y(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===\nc){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(y(189));}}if(c.alternate!==d)throw Error(y(190));}if(3!==c.tag)throw Error(y(188));return c.stateNode.current===c?a:b}function cc(a){a=bc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}\nfunction dc(a,b){for(var c=a.alternate;null!==b;){if(b===a||b===c)return!0;b=b.return}return!1}var ec,fc,gc,hc,ic=!1,jc=[],kc=null,lc=null,mc=null,nc=new Map,oc=new Map,pc=[],qc=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\".split(\" \");\nfunction rc(a,b,c,d,e){return{blockedOn:a,domEventName:b,eventSystemFlags:c|16,nativeEvent:e,targetContainers:[d]}}function sc(a,b){switch(a){case \"focusin\":case \"focusout\":kc=null;break;case \"dragenter\":case \"dragleave\":lc=null;break;case \"mouseover\":case \"mouseout\":mc=null;break;case \"pointerover\":case \"pointerout\":nc.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":oc.delete(b.pointerId)}}\nfunction tc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=rc(b,c,d,e,f),null!==b&&(b=Cb(b),null!==b&&fc(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a}\nfunction uc(a,b,c,d,e){switch(b){case \"focusin\":return kc=tc(kc,a,b,c,d,e),!0;case \"dragenter\":return lc=tc(lc,a,b,c,d,e),!0;case \"mouseover\":return mc=tc(mc,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;nc.set(f,tc(nc.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,oc.set(f,tc(oc.get(f)||null,a,b,c,d,e)),!0}return!1}\nfunction vc(a){var b=wc(a.target);if(null!==b){var c=Zb(b);if(null!==c)if(b=c.tag,13===b){if(b=$b(c),null!==b){a.blockedOn=b;hc(a.lanePriority,function(){r.unstable_runWithPriority(a.priority,function(){gc(c)})});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}\nfunction xc(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c)return b=Cb(c),null!==b&&fc(b),a.blockedOn=c,!1;b.shift()}return!0}function zc(a,b,c){xc(a)&&c.delete(b)}\nfunction Ac(){for(ic=!1;0<jc.length;){var a=jc[0];if(null!==a.blockedOn){a=Cb(a.blockedOn);null!==a&&ec(a);break}for(var b=a.targetContainers;0<b.length;){var c=yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c){a.blockedOn=c;break}b.shift()}null===a.blockedOn&&jc.shift()}null!==kc&&xc(kc)&&(kc=null);null!==lc&&xc(lc)&&(lc=null);null!==mc&&xc(mc)&&(mc=null);nc.forEach(zc);oc.forEach(zc)}\nfunction Bc(a,b){a.blockedOn===b&&(a.blockedOn=null,ic||(ic=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ac)))}\nfunction Cc(a){function b(b){return Bc(b,a)}if(0<jc.length){Bc(jc[0],a);for(var c=1;c<jc.length;c++){var d=jc[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==kc&&Bc(kc,a);null!==lc&&Bc(lc,a);null!==mc&&Bc(mc,a);nc.forEach(b);oc.forEach(b);for(c=0;c<pc.length;c++)d=pc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<pc.length&&(c=pc[0],null===c.blockedOn);)vc(c),null===c.blockedOn&&pc.shift()}\nfunction Dc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}var Ec={animationend:Dc(\"Animation\",\"AnimationEnd\"),animationiteration:Dc(\"Animation\",\"AnimationIteration\"),animationstart:Dc(\"Animation\",\"AnimationStart\"),transitionend:Dc(\"Transition\",\"TransitionEnd\")},Fc={},Gc={};\nfa&&(Gc=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Ec.animationend.animation,delete Ec.animationiteration.animation,delete Ec.animationstart.animation),\"TransitionEvent\"in window||delete Ec.transitionend.transition);function Hc(a){if(Fc[a])return Fc[a];if(!Ec[a])return a;var b=Ec[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Gc)return Fc[a]=b[c];return a}\nvar Ic=Hc(\"animationend\"),Jc=Hc(\"animationiteration\"),Kc=Hc(\"animationstart\"),Lc=Hc(\"transitionend\"),Mc=new Map,Nc=new Map,Oc=[\"abort\",\"abort\",Ic,\"animationEnd\",Jc,\"animationIteration\",Kc,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\n\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",Lc,\"transitionEnd\",\"waiting\",\"waiting\"];function Pc(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];e=\"on\"+(e[0].toUpperCase()+e.slice(1));Nc.set(d,b);Mc.set(d,e);da(e,[d])}}var Qc=r.unstable_now;Qc();var F=8;\nfunction Rc(a){if(0!==(1&a))return F=15,1;if(0!==(2&a))return F=14,2;if(0!==(4&a))return F=13,4;var b=24&a;if(0!==b)return F=12,b;if(0!==(a&32))return F=11,32;b=192&a;if(0!==b)return F=10,b;if(0!==(a&256))return F=9,256;b=3584&a;if(0!==b)return F=8,b;if(0!==(a&4096))return F=7,4096;b=4186112&a;if(0!==b)return F=6,b;b=62914560&a;if(0!==b)return F=5,b;if(a&67108864)return F=4,67108864;if(0!==(a&134217728))return F=3,134217728;b=805306368&a;if(0!==b)return F=2,b;if(0!==(1073741824&a))return F=1,1073741824;\nF=8;return a}function Sc(a){switch(a){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Tc(a){switch(a){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(y(358,a));}}\nfunction Uc(a,b){var c=a.pendingLanes;if(0===c)return F=0;var d=0,e=0,f=a.expiredLanes,g=a.suspendedLanes,h=a.pingedLanes;if(0!==f)d=f,e=F=15;else if(f=c&134217727,0!==f){var k=f&~g;0!==k?(d=Rc(k),e=F):(h&=f,0!==h&&(d=Rc(h),e=F))}else f=c&~g,0!==f?(d=Rc(f),e=F):0!==h&&(d=Rc(h),e=F);if(0===d)return 0;d=31-Vc(d);d=c&((0>d?0:1<<d)<<1)-1;if(0!==b&&b!==d&&0===(b&g)){Rc(b);if(e<=F)return b;F=e}b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-Vc(b),e=1<<c,d|=a[c],b&=~e;return d}\nfunction Wc(a){a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function Xc(a,b){switch(a){case 15:return 1;case 14:return 2;case 12:return a=Yc(24&~b),0===a?Xc(10,b):a;case 10:return a=Yc(192&~b),0===a?Xc(8,b):a;case 8:return a=Yc(3584&~b),0===a&&(a=Yc(4186112&~b),0===a&&(a=512)),a;case 2:return b=Yc(805306368&~b),0===b&&(b=268435456),b}throw Error(y(358,a));}function Yc(a){return a&-a}function Zc(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}\nfunction $c(a,b,c){a.pendingLanes|=b;var d=b-1;a.suspendedLanes&=d;a.pingedLanes&=d;a=a.eventTimes;b=31-Vc(b);a[b]=c}var Vc=Math.clz32?Math.clz32:ad,bd=Math.log,cd=Math.LN2;function ad(a){return 0===a?32:31-(bd(a)/cd|0)|0}var dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function gd(a,b,c,d){Kb||Ib();var e=hd,f=Kb;Kb=!0;try{Hb(e,a,b,c,d)}finally{(Kb=f)||Mb()}}function id(a,b,c,d){ed(dd,hd.bind(null,a,b,c,d))}\nfunction hd(a,b,c,d){if(fd){var e;if((e=0===(b&4))&&0<jc.length&&-1<qc.indexOf(a))a=rc(null,a,b,c,d),jc.push(a);else{var f=yc(a,b,c,d);if(null===f)e&&sc(a,d);else{if(e){if(-1<qc.indexOf(a)){a=rc(f,a,b,c,d);jc.push(a);return}if(uc(f,a,b,c,d))return;sc(a,d)}jd(a,b,d,null,c)}}}}\nfunction yc(a,b,c,d){var e=xb(d);e=wc(e);if(null!==e){var f=Zb(e);if(null===f)e=null;else{var g=f.tag;if(13===g){e=$b(f);if(null!==e)return e;e=null}else if(3===g){if(f.stateNode.hydrate)return 3===f.tag?f.stateNode.containerInfo:null;e=null}else f!==e&&(e=null)}}jd(a,b,d,e,c);return null}var kd=null,ld=null,md=null;\nfunction nd(){if(md)return md;var a,b=ld,c=b.length,d,e=\"value\"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}function od(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pd(){return!0}function qd(){return!1}\nfunction rd(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}m(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&\n(a.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd});return b}\nvar sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=m({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=m({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if(\"movementX\"in\na)return a.movementX;a!==yd&&(yd&&\"mousemove\"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a);return wd},movementY:function(a){return\"movementY\"in a?a.movementY:xd}}),Bd=rd(Ad),Cd=m({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=m({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=m({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=m({},sd,{clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=m({},sd,{data:0}),Ld=rd(Kd),Md={Esc:\"Escape\",\nSpacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},Nd={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",\n119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},Od={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Od[a])?!!b[a]:!1}function zd(){return Pd}\nvar Qd=m({},ud,{key:function(a){if(a.key){var b=Md[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=od(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?Nd[a.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(a){return\"keypress\"===a.type?od(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===\na.type?od(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),Rd=rd(Qd),Sd=m({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=m({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=m({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=m({},Ad,{deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},\ndeltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=fa&&\"CompositionEvent\"in window,be=null;fa&&\"documentMode\"in document&&(be=document.documentMode);var ce=fa&&\"TextEvent\"in window&&!be,de=fa&&(!ae||be&&8<be&&11>=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case \"compositionend\":return de&&\"ko\"!==b.locale?null:b.data;default:return null}}\nvar le={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!le[a.type]:\"textarea\"===b?!0:!1}function ne(a,b,c,d){Eb(d);b=oe(b,\"onChange\");0<b.length&&(c=new td(\"onChange\",\"change\",null,c,d),a.push({event:c,listeners:b}))}var pe=null,qe=null;function re(a){se(a,0)}function te(a){var b=ue(a);if(Wa(b))return a}\nfunction ve(a,b){if(\"change\"===a)return b}var we=!1;if(fa){var xe;if(fa){var ye=\"oninput\"in document;if(!ye){var ze=document.createElement(\"div\");ze.setAttribute(\"oninput\",\"return;\");ye=\"function\"===typeof ze.oninput}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent(\"onpropertychange\",Be),qe=pe=null)}function Be(a){if(\"value\"===a.propertyName&&te(qe)){var b=[];ne(b,qe,a,xb(a));a=re;if(Kb)a(b);else{Kb=!0;try{Gb(a,b)}finally{Kb=!1,Mb()}}}}\nfunction Ce(a,b,c){\"focusin\"===a?(Ae(),pe=b,qe=c,pe.attachEvent(\"onpropertychange\",Be)):\"focusout\"===a&&Ae()}function De(a){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return te(qe)}function Ee(a,b){if(\"click\"===a)return te(b)}function Fe(a,b){if(\"input\"===a||\"change\"===a)return te(b)}function Ge(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var He=\"function\"===typeof Object.is?Object.is:Ge,Ie=Object.prototype.hasOwnProperty;\nfunction Je(a,b){if(He(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Ie.call(b,c[d])||!He(a[c[d]],b[c[d]]))return!1;return!0}function Ke(a){for(;a&&a.firstChild;)a=a.firstChild;return a}\nfunction Le(a,b){var c=Ke(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ke(c)}}function Me(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Me(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Ne(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Oe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nvar Pe=fa&&\"documentMode\"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Oe(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Je(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0<d.length&&(b=new td(\"onSelect\",\"select\",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)))}\nPc(\"cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),\n0);Pc(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);Pc(Oc,2);for(var Ve=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),We=0;We<Ve.length;We++)Nc.set(Ve[We],0);ea(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]);\nea(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]);ea(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]);ea(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]);da(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \"));da(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \"));da(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]);da(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \"));\nda(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \"));da(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var Xe=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Ye=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(Xe));\nfunction Ze(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=c;Yb(d,b,void 0,a);a.currentTarget=null}\nfunction se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;Ze(e,h,l);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;Ze(e,h,l);f=k}}}if(Ub)throw a=Vb,Ub=!1,Vb=null,a;}\nfunction G(a,b){var c=$e(b),d=a+\"__bubble\";c.has(d)||(af(b,a,2,!1),c.add(d))}var bf=\"_reactListening\"+Math.random().toString(36).slice(2);function cf(a){a[bf]||(a[bf]=!0,ba.forEach(function(b){Ye.has(b)||df(b,!1,a,null);df(b,!0,a,null)}))}\nfunction df(a,b,c,d){var e=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,f=c;\"selectionchange\"===a&&9!==c.nodeType&&(f=c.ownerDocument);if(null!==d&&!b&&Ye.has(a)){if(\"scroll\"!==a)return;e|=2;f=d}var g=$e(f),h=a+\"__\"+(b?\"capture\":\"bubble\");g.has(h)||(b&&(e|=4),af(f,a,e,b),g.add(h))}\nfunction af(a,b,c,d){var e=Nc.get(b);switch(void 0===e?2:e){case 0:e=gd;break;case 1:e=id;break;default:e=hd}c=e.bind(null,b,c,a);e=void 0;!Pb||\"touchstart\"!==b&&\"touchmove\"!==b&&\"wheel\"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)}\nfunction jd(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return}for(;null!==h;){g=wc(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode}}d=d.return}Nb(function(){var d=f,e=xb(c),g=[];\na:{var h=Mc.get(a);if(void 0!==h){var k=td,x=a;switch(a){case \"keypress\":if(0===od(c))break a;case \"keydown\":case \"keyup\":k=Rd;break;case \"focusin\":x=\"focus\";k=Fd;break;case \"focusout\":x=\"blur\";k=Fd;break;case \"beforeblur\":case \"afterblur\":k=Fd;break;case \"click\":if(2===c.button)break a;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":k=Bd;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":k=\nDd;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":k=Vd;break;case Ic:case Jc:case Kc:k=Hd;break;case Lc:k=Xd;break;case \"scroll\":k=vd;break;case \"wheel\":k=Zd;break;case \"copy\":case \"cut\":case \"paste\":k=Jd;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":k=Td}var w=0!==(b&4),z=!w&&\"scroll\"===a,u=w?null!==h?h+\"Capture\":null:h;w=[];for(var t=d,q;null!==\nt;){q=t;var v=q.stateNode;5===q.tag&&null!==v&&(q=v,null!==u&&(v=Ob(t,u),null!=v&&w.push(ef(t,v,q))));if(z)break;t=t.return}0<w.length&&(h=new k(h,x,null,c,e),g.push({event:h,listeners:w}))}}if(0===(b&7)){a:{h=\"mouseover\"===a||\"pointerover\"===a;k=\"mouseout\"===a||\"pointerout\"===a;if(h&&0===(b&16)&&(x=c.relatedTarget||c.fromElement)&&(wc(x)||x[ff]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window;if(k){if(x=c.relatedTarget||c.toElement,k=d,x=x?wc(x):null,null!==\nx&&(z=Zb(x),x!==z||5!==x.tag&&6!==x.tag))x=null}else k=null,x=d;if(k!==x){w=Bd;v=\"onMouseLeave\";u=\"onMouseEnter\";t=\"mouse\";if(\"pointerout\"===a||\"pointerover\"===a)w=Td,v=\"onPointerLeave\",u=\"onPointerEnter\",t=\"pointer\";z=null==k?h:ue(k);q=null==x?h:ue(x);h=new w(v,t+\"leave\",k,c,e);h.target=z;h.relatedTarget=q;v=null;wc(e)===d&&(w=new w(u,t+\"enter\",x,c,e),w.target=q,w.relatedTarget=z,v=w);z=v;if(k&&x)b:{w=k;u=x;t=0;for(q=w;q;q=gf(q))t++;q=0;for(v=u;v;v=gf(v))q++;for(;0<t-q;)w=gf(w),t--;for(;0<q-t;)u=\ngf(u),q--;for(;t--;){if(w===u||null!==u&&w===u.alternate)break b;w=gf(w);u=gf(u)}w=null}else w=null;null!==k&&hf(g,h,k,w,!1);null!==x&&null!==z&&hf(g,z,x,w,!0)}}}a:{h=d?ue(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if(\"select\"===k||\"input\"===k&&\"file\"===h.type)var J=ve;else if(me(h))if(we)J=Fe;else{J=De;var K=Ce}else(k=h.nodeName)&&\"input\"===k.toLowerCase()&&(\"checkbox\"===h.type||\"radio\"===h.type)&&(J=Ee);if(J&&(J=J(a,d))){ne(g,J,c,e);break a}K&&K(a,h,d);\"focusout\"===a&&(K=h._wrapperState)&&\nK.controlled&&\"number\"===h.type&&bb(h,\"number\",h.value)}K=d?ue(d):window;switch(a){case \"focusin\":if(me(K)||\"true\"===K.contentEditable)Qe=K,Re=d,Se=null;break;case \"focusout\":Se=Re=Qe=null;break;case \"mousedown\":Te=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":Te=!1;Ue(g,c,e);break;case \"selectionchange\":if(Pe)break;case \"keydown\":case \"keyup\":Ue(g,c,e)}var Q;if(ae)b:{switch(a){case \"compositionstart\":var L=\"onCompositionStart\";break b;case \"compositionend\":L=\"onCompositionEnd\";break b;\ncase \"compositionupdate\":L=\"onCompositionUpdate\";break b}L=void 0}else ie?ge(a,c)&&(L=\"onCompositionEnd\"):\"keydown\"===a&&229===c.keyCode&&(L=\"onCompositionStart\");L&&(de&&\"ko\"!==c.locale&&(ie||\"onCompositionStart\"!==L?\"onCompositionEnd\"===L&&ie&&(Q=nd()):(kd=e,ld=\"value\"in kd?kd.value:kd.textContent,ie=!0)),K=oe(d,L),0<K.length&&(L=new Ld(L,a,null,c,e),g.push({event:L,listeners:K}),Q?L.data=Q:(Q=he(c),null!==Q&&(L.data=Q))));if(Q=ce?je(a,c):ke(a,c))d=oe(d,\"onBeforeInput\"),0<d.length&&(e=new Ld(\"onBeforeInput\",\n\"beforeinput\",null,c,e),g.push({event:e,listeners:d}),e.data=Q)}se(g,b)})}function ef(a,b,c){return{instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+\"Capture\",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Ob(a,c),null!=f&&d.unshift(ef(a,f,e)),f=Ob(a,b),null!=f&&d.push(ef(a,f,e)));a=a.return}return d}function gf(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag);return a?a:null}\nfunction hf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?(k=Ob(c,f),null!=k&&g.unshift(ef(c,k,h))):e||(k=Ob(c,f),null!=k&&g.push(ef(c,k,h))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}function jf(){}var kf=null,lf=null;function mf(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}\nfunction nf(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var of=\"function\"===typeof setTimeout?setTimeout:void 0,pf=\"function\"===typeof clearTimeout?clearTimeout:void 0;function qf(a){1===a.nodeType?a.textContent=\"\":9===a.nodeType&&(a=a.body,null!=a&&(a.textContent=\"\"))}\nfunction rf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function sf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(\"$\"===c||\"$!\"===c||\"$?\"===c){if(0===b)return a;b--}else\"/$\"===c&&b++}a=a.previousSibling}return null}var tf=0;function uf(a){return{$$typeof:Ga,toString:a,valueOf:a}}var vf=Math.random().toString(36).slice(2),wf=\"__reactFiber$\"+vf,xf=\"__reactProps$\"+vf,ff=\"__reactContainer$\"+vf,yf=\"__reactEvents$\"+vf;\nfunction wc(a){var b=a[wf];if(b)return b;for(var c=a.parentNode;c;){if(b=c[ff]||c[wf]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=sf(a);null!==a;){if(c=a[wf])return c;a=sf(a)}return b}a=c;c=a.parentNode}return null}function Cb(a){a=a[wf]||a[ff];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(y(33));}function Db(a){return a[xf]||null}\nfunction $e(a){var b=a[yf];void 0===b&&(b=a[yf]=new Set);return b}var zf=[],Af=-1;function Bf(a){return{current:a}}function H(a){0>Af||(a.current=zf[Af],zf[Af]=null,Af--)}function I(a,b){Af++;zf[Af]=a.current;a.current=b}var Cf={},M=Bf(Cf),N=Bf(!1),Df=Cf;\nfunction Ef(a,b){var c=a.type.contextTypes;if(!c)return Cf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Ff(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Gf(){H(N);H(M)}function Hf(a,b,c){if(M.current!==Cf)throw Error(y(168));I(M,b);I(N,c)}\nfunction If(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(y(108,Ra(b)||\"Unknown\",e));return m({},c,d)}function Jf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Cf;Df=M.current;I(M,a);I(N,N.current);return!0}function Kf(a,b,c){var d=a.stateNode;if(!d)throw Error(y(169));c?(a=If(a,b,Df),d.__reactInternalMemoizedMergedChildContext=a,H(N),H(M),I(M,a)):H(N);I(N,c)}\nvar Lf=null,Mf=null,Nf=r.unstable_runWithPriority,Of=r.unstable_scheduleCallback,Pf=r.unstable_cancelCallback,Qf=r.unstable_shouldYield,Rf=r.unstable_requestPaint,Sf=r.unstable_now,Tf=r.unstable_getCurrentPriorityLevel,Uf=r.unstable_ImmediatePriority,Vf=r.unstable_UserBlockingPriority,Wf=r.unstable_NormalPriority,Xf=r.unstable_LowPriority,Yf=r.unstable_IdlePriority,Zf={},$f=void 0!==Rf?Rf:function(){},ag=null,bg=null,cg=!1,dg=Sf(),O=1E4>dg?Sf:function(){return Sf()-dg};\nfunction eg(){switch(Tf()){case Uf:return 99;case Vf:return 98;case Wf:return 97;case Xf:return 96;case Yf:return 95;default:throw Error(y(332));}}function fg(a){switch(a){case 99:return Uf;case 98:return Vf;case 97:return Wf;case 96:return Xf;case 95:return Yf;default:throw Error(y(332));}}function gg(a,b){a=fg(a);return Nf(a,b)}function hg(a,b,c){a=fg(a);return Of(a,b,c)}function ig(){if(null!==bg){var a=bg;bg=null;Pf(a)}jg()}\nfunction jg(){if(!cg&&null!==ag){cg=!0;var a=0;try{var b=ag;gg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});ag=null}catch(c){throw null!==ag&&(ag=ag.slice(a+1)),Of(Uf,ig),c;}finally{cg=!1}}}var kg=ra.ReactCurrentBatchConfig;function lg(a,b){if(a&&a.defaultProps){b=m({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}var mg=Bf(null),ng=null,og=null,pg=null;function qg(){pg=og=ng=null}\nfunction rg(a){var b=mg.current;H(mg);a.type._context._currentValue=b}function sg(a,b){for(;null!==a;){var c=a.alternate;if((a.childLanes&b)===b)if(null===c||(c.childLanes&b)===b)break;else c.childLanes|=b;else a.childLanes|=b,null!==c&&(c.childLanes|=b);a=a.return}}function tg(a,b){ng=a;pg=og=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(ug=!0),a.firstContext=null)}\nfunction vg(a,b){if(pg!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)pg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===og){if(null===ng)throw Error(y(308));og=b;ng.dependencies={lanes:0,firstContext:b,responders:null}}else og=og.next=b}return a._currentValue}var wg=!1;function xg(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}\nfunction yg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function zg(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}function Ag(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}\nfunction Bg(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction Cg(a,b,c,d){var e=a.updateQueue;wg=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var n=a.alternate;if(null!==n){n=n.updateQueue;var A=n.lastBaseUpdate;A!==g&&(null===A?n.firstBaseUpdate=l:A.next=l,n.lastBaseUpdate=k)}}if(null!==f){A=e.baseState;g=0;n=l=k=null;do{h=f.lane;var p=f.eventTime;if((d&h)===h){null!==n&&(n=n.next={eventTime:p,lane:0,tag:f.tag,payload:f.payload,callback:f.callback,\nnext:null});a:{var C=a,x=f;h=b;p=c;switch(x.tag){case 1:C=x.payload;if(\"function\"===typeof C){A=C.call(p,A,h);break a}A=C;break a;case 3:C.flags=C.flags&-4097|64;case 0:C=x.payload;h=\"function\"===typeof C?C.call(p,A,h):C;if(null===h||void 0===h)break a;A=m({},A,h);break a;case 2:wg=!0}}null!==f.callback&&(a.flags|=32,h=e.effects,null===h?e.effects=[f]:h.push(f))}else p={eventTime:p,lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},null===n?(l=n=p,k=A):n=n.next=p,g|=h;f=f.next;if(null===\nf)if(h=e.shared.pending,null===h)break;else f=h.next,h.next=null,e.lastBaseUpdate=h,e.shared.pending=null}while(1);null===n&&(k=A);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=n;Dg|=g;a.lanes=g;a.memoizedState=A}}function Eg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if(\"function\"!==typeof e)throw Error(y(191,e));e.call(d)}}}var Fg=(new aa.Component).refs;\nfunction Gg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:m({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)}\nvar Kg={isMounted:function(a){return(a=a._reactInternals)?Zb(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ag(a,f);Jg(a,e,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Hg(),e=Ig(a),f=zg(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ag(a,f);Jg(a,e,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Hg(),d=Ig(a),e=zg(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=\nb);Ag(a,e);Jg(a,d,c)}};function Lg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Je(c,d)||!Je(e,f):!0}\nfunction Mg(a,b,c){var d=!1,e=Cf;var f=b.contextType;\"object\"===typeof f&&null!==f?f=vg(f):(e=Ff(b)?Df:M.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Ef(a,e):Cf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Kg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}\nfunction Ng(a,b,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Kg.enqueueReplaceState(b,b.state,null)}\nfunction Og(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Fg;xg(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=vg(f):(f=Ff(b)?Df:M.current,e.context=Ef(a,f));Cg(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\"function\"===typeof f&&(Gg(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||\n(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Kg.enqueueReplaceState(e,e.state,null),Cg(a,c,e,d),e.state=a.memoizedState);\"function\"===typeof e.componentDidMount&&(a.flags|=4)}var Pg=Array.isArray;\nfunction Qg(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(y(309));var d=c.stateNode}if(!d)throw Error(y(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Fg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(y(284));if(!c._owner)throw Error(y(290,a));}return a}\nfunction Rg(a,b){if(\"textarea\"!==a.type)throw Error(y(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b));}\nfunction Sg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.flags=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Tg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.flags=2,\nc):d;b.flags=2;return c}function g(b){a&&null===b.alternate&&(b.flags=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Ug(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Qg(a,b,c),d.return=a,d;d=Vg(c.type,c.key,c.props,null,a.mode,d);d.ref=Qg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=\nWg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function n(a,b,c,d,f){if(null===b||7!==b.tag)return b=Xg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function A(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=Ug(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===typeof b&&null!==b){switch(b.$$typeof){case sa:return c=Vg(b.type,b.key,b.props,null,a.mode,c),c.ref=Qg(a,null,b),c.return=a,c;case ta:return b=Wg(b,a.mode,c),b.return=a,b}if(Pg(b)||La(b))return b=Xg(b,\na.mode,c,null),b.return=a,b;Rg(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case sa:return c.key===e?c.type===ua?n(a,b,c.props.children,d,e):k(a,b,c,d):null;case ta:return c.key===e?l(a,b,c,d):null}if(Pg(c)||La(c))return null!==e?null:n(a,b,c,d,null);Rg(a,c)}return null}function C(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=a.get(c)||\nnull,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case sa:return a=a.get(null===d.key?c:d.key)||null,d.type===ua?n(b,a,d.props.children,e,d.key):k(b,a,d,e);case ta:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Pg(d)||La(d))return a=a.get(c)||null,n(b,a,d,e,null);Rg(b,d)}return null}function x(e,g,h,k){for(var l=null,t=null,u=g,z=g=0,q=null;null!==u&&z<h.length;z++){u.index>z?(q=u,u=null):q=u.sibling;var n=p(e,u,h[z],k);if(null===n){null===u&&(u=q);break}a&&u&&null===\nn.alternate&&b(e,u);g=f(n,g,z);null===t?l=n:t.sibling=n;t=n;u=q}if(z===h.length)return c(e,u),l;if(null===u){for(;z<h.length;z++)u=A(e,h[z],k),null!==u&&(g=f(u,g,z),null===t?l=u:t.sibling=u,t=u);return l}for(u=d(e,u);z<h.length;z++)q=C(u,e,z,h[z],k),null!==q&&(a&&null!==q.alternate&&u.delete(null===q.key?z:q.key),g=f(q,g,z),null===t?l=q:t.sibling=q,t=q);a&&u.forEach(function(a){return b(e,a)});return l}function w(e,g,h,k){var l=La(h);if(\"function\"!==typeof l)throw Error(y(150));h=l.call(h);if(null==\nh)throw Error(y(151));for(var t=l=null,u=g,z=g=0,q=null,n=h.next();null!==u&&!n.done;z++,n=h.next()){u.index>z?(q=u,u=null):q=u.sibling;var w=p(e,u,n.value,k);if(null===w){null===u&&(u=q);break}a&&u&&null===w.alternate&&b(e,u);g=f(w,g,z);null===t?l=w:t.sibling=w;t=w;u=q}if(n.done)return c(e,u),l;if(null===u){for(;!n.done;z++,n=h.next())n=A(e,n.value,k),null!==n&&(g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);return l}for(u=d(e,u);!n.done;z++,n=h.next())n=C(u,e,z,n.value,k),null!==n&&(a&&null!==n.alternate&&\nu.delete(null===n.key?z:n.key),g=f(n,g,z),null===t?l=n:t.sibling=n,t=n);a&&u.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k=\"object\"===typeof f&&null!==f&&f.type===ua&&null===f.key;k&&(f=f.props.children);var l=\"object\"===typeof f&&null!==f;if(l)switch(f.$$typeof){case sa:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ua){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,k.sibling);\nd=e(k,f.props);d.ref=Qg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ua?(d=Xg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Vg(f.type,f.key,f.props,null,a.mode,h),h.ref=Qg(a,d,f),h.return=a,a=h)}return g(a);case ta:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=\nWg(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Ug(f,a.mode,h),d.return=a,a=d),g(a);if(Pg(f))return x(a,d,f,h);if(La(f))return w(a,d,f,h);l&&Rg(a,f);if(\"undefined\"===typeof f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y(152,Ra(a.type)||\"Component\"));}return c(a,d)}}var Yg=Sg(!0),Zg=Sg(!1),$g={},ah=Bf($g),bh=Bf($g),ch=Bf($g);\nfunction dh(a){if(a===$g)throw Error(y(174));return a}function eh(a,b){I(ch,b);I(bh,a);I(ah,$g);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:mb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=mb(b,a)}H(ah);I(ah,b)}function fh(){H(ah);H(bh);H(ch)}function gh(a){dh(ch.current);var b=dh(ah.current);var c=mb(b,a.type);b!==c&&(I(bh,a),I(ah,c))}function hh(a){bh.current===a&&(H(ah),H(bh))}var P=Bf(0);\nfunction ih(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var jh=null,kh=null,lh=!1;\nfunction mh(a,b){var c=nh(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.flags=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function oh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}\nfunction ph(a){if(lh){var b=kh;if(b){var c=b;if(!oh(a,b)){b=rf(c.nextSibling);if(!b||!oh(a,b)){a.flags=a.flags&-1025|2;lh=!1;jh=a;return}mh(jh,c)}jh=a;kh=rf(b.firstChild)}else a.flags=a.flags&-1025|2,lh=!1,jh=a}}function qh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;jh=a}\nfunction rh(a){if(a!==jh)return!1;if(!lh)return qh(a),lh=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==b&&!nf(b,a.memoizedProps))for(b=kh;b;)mh(a,b),b=rf(b.nextSibling);qh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(y(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(\"/$\"===c){if(0===b){kh=rf(a.nextSibling);break a}b--}else\"$\"!==c&&\"$!\"!==c&&\"$?\"!==c||b++}a=a.nextSibling}kh=null}}else kh=jh?rf(a.stateNode.nextSibling):null;return!0}\nfunction sh(){kh=jh=null;lh=!1}var th=[];function uh(){for(var a=0;a<th.length;a++)th[a]._workInProgressVersionPrimary=null;th.length=0}var vh=ra.ReactCurrentDispatcher,wh=ra.ReactCurrentBatchConfig,xh=0,R=null,S=null,T=null,yh=!1,zh=!1;function Ah(){throw Error(y(321));}function Bh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return!1;return!0}\nfunction Ch(a,b,c,d,e,f){xh=f;R=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;vh.current=null===a||null===a.memoizedState?Dh:Eh;a=c(d,e);if(zh){f=0;do{zh=!1;if(!(25>f))throw Error(y(301));f+=1;T=S=null;b.updateQueue=null;vh.current=Fh;a=c(d,e)}while(zh)}vh.current=Gh;b=null!==S&&null!==S.next;xh=0;T=S=R=null;yh=!1;if(b)throw Error(y(300));return a}function Hh(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===T?R.memoizedState=T=a:T=T.next=a;return T}\nfunction Ih(){if(null===S){var a=R.alternate;a=null!==a?a.memoizedState:null}else a=S.next;var b=null===T?R.memoizedState:T.next;if(null!==b)T=b,S=a;else{if(null===a)throw Error(y(310));S=a;a={memoizedState:S.memoizedState,baseState:S.baseState,baseQueue:S.baseQueue,queue:S.queue,next:null};null===T?R.memoizedState=T=a:T=T.next=a}return T}function Jh(a,b){return\"function\"===typeof b?b(a):b}\nfunction Kh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=S,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.lane;if((xh&l)===l)null!==h&&(h=h.next={lane:0,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),d=k.eagerReducer===a?k.eagerState:a(d,k.action);else{var n={lane:l,action:k.action,eagerReducer:k.eagerReducer,\neagerState:k.eagerState,next:null};null===h?(g=h=n,f=d):h=h.next=n;R.lanes|=l;Dg|=l}k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;He(d,b.memoizedState)||(ug=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}\nfunction Lh(a){var b=Ih(),c=b.queue;if(null===c)throw Error(y(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He(f,b.memoizedState)||(ug=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}\nfunction Mh(a,b,c){var d=b._getVersion;d=d(b._source);var e=b._workInProgressVersionPrimary;if(null!==e)a=e===d;else if(a=a.mutableReadLanes,a=(xh&a)===a)b._workInProgressVersionPrimary=d,th.push(b);if(a)return c(b._source);th.push(b);throw Error(y(350));}\nfunction Nh(a,b,c,d){var e=U;if(null===e)throw Error(y(349));var f=b._getVersion,g=f(b._source),h=vh.current,k=h.useState(function(){return Mh(e,b,c)}),l=k[1],n=k[0];k=T;var A=a.memoizedState,p=A.refs,C=p.getSnapshot,x=A.source;A=A.subscribe;var w=R;a.memoizedState={refs:p,source:b,subscribe:d};h.useEffect(function(){p.getSnapshot=c;p.setSnapshot=l;var a=f(b._source);if(!He(g,a)){a=c(b._source);He(n,a)||(l(a),a=Ig(w),e.mutableReadLanes|=a&e.pendingLanes);a=e.mutableReadLanes;e.entangledLanes|=a;for(var d=\ne.entanglements,h=a;0<h;){var k=31-Vc(h),v=1<<k;d[k]|=a;h&=~v}}},[c,b,d]);h.useEffect(function(){return d(b._source,function(){var a=p.getSnapshot,c=p.setSnapshot;try{c(a(b._source));var d=Ig(w);e.mutableReadLanes|=d&e.pendingLanes}catch(q){c(function(){throw q;})}})},[b,d]);He(C,c)&&He(x,b)&&He(A,d)||(a={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:n},a.dispatch=l=Oh.bind(null,R,a),k.queue=a,k.baseQueue=null,n=Mh(e,b,c),k.memoizedState=k.baseState=n);return n}\nfunction Ph(a,b,c){var d=Ih();return Nh(d,a,b,c)}function Qh(a){var b=Hh();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Jh,lastRenderedState:a};a=a.dispatch=Oh.bind(null,R,a);return[b.memoizedState,a]}\nfunction Rh(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=R.updateQueue;null===b?(b={lastEffect:null},R.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Sh(a){var b=Hh();a={current:a};return b.memoizedState=a}function Th(){return Ih().memoizedState}function Uh(a,b,c,d){var e=Hh();R.flags|=a;e.memoizedState=Rh(1|b,c,void 0,void 0===d?null:d)}\nfunction Vh(a,b,c,d){var e=Ih();d=void 0===d?null:d;var f=void 0;if(null!==S){var g=S.memoizedState;f=g.destroy;if(null!==d&&Bh(d,g.deps)){Rh(b,c,f,d);return}}R.flags|=a;e.memoizedState=Rh(1|b,c,f,d)}function Wh(a,b){return Uh(516,4,a,b)}function Xh(a,b){return Vh(516,4,a,b)}function Yh(a,b){return Vh(4,2,a,b)}function Zh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}\nfunction $h(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Vh(4,2,Zh.bind(null,b,a),c)}function ai(){}function bi(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Bh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function ci(a,b){var c=Ih();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Bh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}\nfunction di(a,b){var c=eg();gg(98>c?98:c,function(){a(!0)});gg(97<c?97:c,function(){var c=wh.transition;wh.transition=1;try{a(!1),b()}finally{wh.transition=c}})}\nfunction Oh(a,b,c){var d=Hg(),e=Ig(a),f={lane:e,action:c,eagerReducer:null,eagerState:null,next:null},g=b.pending;null===g?f.next=f:(f.next=g.next,g.next=f);b.pending=f;g=a.alternate;if(a===R||null!==g&&g===R)zh=yh=!0;else{if(0===a.lanes&&(null===g||0===g.lanes)&&(g=b.lastRenderedReducer,null!==g))try{var h=b.lastRenderedState,k=g(h,c);f.eagerReducer=g;f.eagerState=k;if(He(k,h))return}catch(l){}finally{}Jg(a,e,d)}}\nvar Gh={readContext:vg,useCallback:Ah,useContext:Ah,useEffect:Ah,useImperativeHandle:Ah,useLayoutEffect:Ah,useMemo:Ah,useReducer:Ah,useRef:Ah,useState:Ah,useDebugValue:Ah,useDeferredValue:Ah,useTransition:Ah,useMutableSource:Ah,useOpaqueIdentifier:Ah,unstable_isNewReconciler:!1},Dh={readContext:vg,useCallback:function(a,b){Hh().memoizedState=[a,void 0===b?null:b];return a},useContext:vg,useEffect:Wh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Uh(4,2,Zh.bind(null,\nb,a),c)},useLayoutEffect:function(a,b){return Uh(4,2,a,b)},useMemo:function(a,b){var c=Hh();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Hh();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Oh.bind(null,R,a);return[d.memoizedState,a]},useRef:Sh,useState:Qh,useDebugValue:ai,useDeferredValue:function(a){var b=Qh(a),c=b[0],d=b[1];Wh(function(){var b=wh.transition;\nwh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Qh(!1),b=a[0];a=di.bind(null,a[1]);Sh(a);return[a,b]},useMutableSource:function(a,b,c){var d=Hh();d.memoizedState={refs:{getSnapshot:b,setSnapshot:null},source:a,subscribe:c};return Nh(d,a,b,c)},useOpaqueIdentifier:function(){if(lh){var a=!1,b=uf(function(){a||(a=!0,c(\"r:\"+(tf++).toString(36)));throw Error(y(355));}),c=Qh(b)[1];0===(R.mode&2)&&(R.flags|=516,Rh(5,function(){c(\"r:\"+(tf++).toString(36))},\nvoid 0,null));return b}b=\"r:\"+(tf++).toString(36);Qh(b);return b},unstable_isNewReconciler:!1},Eh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Kh,useRef:Th,useState:function(){return Kh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Kh(Jh),c=b[0],d=b[1];Xh(function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Kh(Jh)[0];return[Th().current,\na]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Kh(Jh)[0]},unstable_isNewReconciler:!1},Fh={readContext:vg,useCallback:bi,useContext:vg,useEffect:Xh,useImperativeHandle:$h,useLayoutEffect:Yh,useMemo:ci,useReducer:Lh,useRef:Th,useState:function(){return Lh(Jh)},useDebugValue:ai,useDeferredValue:function(a){var b=Lh(Jh),c=b[0],d=b[1];Xh(function(){var b=wh.transition;wh.transition=1;try{d(a)}finally{wh.transition=b}},[a]);return c},useTransition:function(){var a=Lh(Jh)[0];return[Th().current,\na]},useMutableSource:Ph,useOpaqueIdentifier:function(){return Lh(Jh)[0]},unstable_isNewReconciler:!1},ei=ra.ReactCurrentOwner,ug=!1;function fi(a,b,c,d){b.child=null===a?Zg(b,null,c,d):Yg(b,a.child,c,d)}function gi(a,b,c,d,e){c=c.render;var f=b.ref;tg(b,e);d=Ch(a,b,c,d,f,e);if(null!==a&&!ug)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e);b.flags|=1;fi(a,b,d,e);return b.child}\nfunction ii(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!ji(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ki(a,b,g,d,e,f);a=Vg(c.type,null,d,b,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===(e&f)&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Je,c(e,d)&&a.ref===b.ref))return hi(a,b,f);b.flags|=1;a=Tg(g,d);a.ref=b.ref;a.return=b;return b.child=a}\nfunction ki(a,b,c,d,e,f){if(null!==a&&Je(a.memoizedProps,d)&&a.ref===b.ref)if(ug=!1,0!==(f&e))0!==(a.flags&16384)&&(ug=!0);else return b.lanes=a.lanes,hi(a,b,f);return li(a,b,c,d,f)}\nfunction mi(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if(\"hidden\"===d.mode||\"unstable-defer-without-hiding\"===d.mode)if(0===(b.mode&4))b.memoizedState={baseLanes:0},ni(b,c);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0},ni(b,null!==f?f.baseLanes:c);else return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a},ni(b,a),null;else null!==f?(d=f.baseLanes|c,b.memoizedState=null):d=c,ni(b,d);fi(a,b,e,c);return b.child}\nfunction oi(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=128}function li(a,b,c,d,e){var f=Ff(c)?Df:M.current;f=Ef(b,f);tg(b,e);c=Ch(a,b,c,d,f,e);if(null!==a&&!ug)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,hi(a,b,e);b.flags|=1;fi(a,b,c,e);return b.child}\nfunction pi(a,b,c,d,e){if(Ff(c)){var f=!0;Jf(b)}else f=!1;tg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),Mg(b,c,d),Og(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;\"object\"===typeof l&&null!==l?l=vg(l):(l=Ff(c)?Df:M.current,l=Ef(b,l));var n=c.getDerivedStateFromProps,A=\"function\"===typeof n||\"function\"===typeof g.getSnapshotBeforeUpdate;A||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\n\"function\"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Ng(b,g,d,l);wg=!1;var p=b.memoizedState;g.state=p;Cg(b,d,g,e);k=b.memoizedState;h!==d||p!==k||N.current||wg?(\"function\"===typeof n&&(Gg(b,c,n,d),k=b.memoizedState),(h=wg||Lg(b,c,h,d,p,k,l))?(A||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&g.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===\ntypeof g.componentDidMount&&(b.flags|=4)):(\"function\"===typeof g.componentDidMount&&(b.flags|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):(\"function\"===typeof g.componentDidMount&&(b.flags|=4),d=!1)}else{g=b.stateNode;yg(a,b);h=b.memoizedProps;l=b.type===b.elementType?h:lg(b.type,h);g.props=l;A=b.pendingProps;p=g.context;k=c.contextType;\"object\"===typeof k&&null!==k?k=vg(k):(k=Ff(c)?Df:M.current,k=Ef(b,k));var C=c.getDerivedStateFromProps;(n=\"function\"===typeof C||\n\"function\"===typeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==A||p!==k)&&Ng(b,g,d,k);wg=!1;p=b.memoizedState;g.state=p;Cg(b,d,g,e);var x=b.memoizedState;h!==A||p!==x||N.current||wg?(\"function\"===typeof C&&(Gg(b,c,C,d),x=b.memoizedState),(l=wg||Lg(b,c,l,d,p,x,k))?(n||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,\nx,k),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,k)),\"function\"===typeof g.componentDidUpdate&&(b.flags|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=k,d=l):(\"function\"!==typeof g.componentDidUpdate||\nh===a.memoizedProps&&p===a.memoizedState||(b.flags|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&p===a.memoizedState||(b.flags|=256),d=!1)}return qi(a,b,c,d,f,e)}\nfunction qi(a,b,c,d,e,f){oi(a,b);var g=0!==(b.flags&64);if(!d&&!g)return e&&Kf(b,c,!1),hi(a,b,f);d=b.stateNode;ei.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Yg(b,a.child,null,f),b.child=Yg(b,null,h,f)):fi(a,b,h,f);b.memoizedState=d.state;e&&Kf(b,c,!0);return b.child}function ri(a){var b=a.stateNode;b.pendingContext?Hf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Hf(a,b.context,!1);eh(a,b.containerInfo)}\nvar si={dehydrated:null,retryLane:0};\nfunction ti(a,b,c){var d=b.pendingProps,e=P.current,f=!1,g;(g=0!==(b.flags&64))||(g=null!==a&&null===a.memoizedState?!1:0!==(e&2));g?(f=!0,b.flags&=-65):null!==a&&null===a.memoizedState||void 0===d.fallback||!0===d.unstable_avoidThisFallback||(e|=1);I(P,e&1);if(null===a){void 0!==d.fallback&&ph(b);a=d.children;e=d.fallback;if(f)return a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=si,a;if(\"number\"===typeof d.unstable_expectedLoadTime)return a=ui(b,a,e,c),b.child.memoizedState={baseLanes:c},\nb.memoizedState=si,b.lanes=33554432,a;c=vi({mode:\"visible\",children:a},b.mode,c,null);c.return=b;return b.child=c}if(null!==a.memoizedState){if(f)return d=wi(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=si,d;c=xi(a,b,d.children,c);b.memoizedState=null;return c}if(f)return d=wi(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:\n{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=si,d;c=xi(a,b,d.children,c);b.memoizedState=null;return c}function ui(a,b,c,d){var e=a.mode,f=a.child;b={mode:\"hidden\",children:b};0===(e&2)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=vi(b,e,0,null);c=Xg(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}\nfunction xi(a,b,c,d){var e=a.child;a=e.sibling;c=Tg(e,{mode:\"visible\",children:c});0===(b.mode&2)&&(c.lanes=d);c.return=b;c.sibling=null;null!==a&&(a.nextEffect=null,a.flags=8,b.firstEffect=b.lastEffect=a);return b.child=c}\nfunction wi(a,b,c,d,e){var f=b.mode,g=a.child;a=g.sibling;var h={mode:\"hidden\",children:c};0===(f&2)&&b.child!==g?(c=b.child,c.childLanes=0,c.pendingProps=h,g=c.lastEffect,null!==g?(b.firstEffect=c.firstEffect,b.lastEffect=g,g.nextEffect=null):b.firstEffect=b.lastEffect=null):c=Tg(g,h);null!==a?d=Tg(a,d):(d=Xg(d,f,e,null),d.flags|=2);d.return=b;c.return=b;c.sibling=d;b.child=c;return d}function yi(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);sg(a.return,b)}\nfunction zi(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailMode=e,g.lastEffect=f)}\nfunction Ai(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;fi(a,b,d.children,c);d=P.current;if(0!==(d&2))d=d&1|2,b.flags|=64;else{if(null!==a&&0!==(a.flags&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&yi(a,c);else if(19===a.tag)yi(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}I(P,d);if(0===(b.mode&2))b.memoizedState=\nnull;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===ih(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);zi(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===ih(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}zi(b,!0,c,null,f,b.lastEffect);break;case \"together\":zi(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}\nfunction hi(a,b,c){null!==a&&(b.dependencies=a.dependencies);Dg|=b.lanes;if(0!==(c&b.childLanes)){if(null!==a&&b.child!==a.child)throw Error(y(153));if(null!==b.child){a=b.child;c=Tg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Tg(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}return null}var Bi,Ci,Di,Ei;\nBi=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Ci=function(){};\nDi=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;dh(ah.current);var f=null;switch(c){case \"input\":e=Ya(a,e);d=Ya(a,d);f=[];break;case \"option\":e=eb(a,e);d=eb(a,d);f=[];break;case \"select\":e=m({},e,{value:void 0});d=m({},d,{value:void 0});f=[];break;case \"textarea\":e=gb(a,e);d=gb(a,d);f=[];break;default:\"function\"!==typeof e.onClick&&\"function\"===typeof d.onClick&&(a.onclick=jf)}vb(c,d);var g;c=null;for(l in e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if(\"style\"===\nl){var h=e[l];for(g in h)h.hasOwnProperty(g)&&(c||(c={}),c[g]=\"\")}else\"dangerouslySetInnerHTML\"!==l&&\"children\"!==l&&\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&\"autoFocus\"!==l&&(ca.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if(\"style\"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]=\"\");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||\n(c={}),c[g]=k[g])}else c||(f||(f=[]),f.push(l,c)),c=k;else\"dangerouslySetInnerHTML\"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):\"children\"===l?\"string\"!==typeof k&&\"number\"!==typeof k||(f=f||[]).push(l,\"\"+k):\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&(ca.hasOwnProperty(l)?(null!=k&&\"onScroll\"===l&&G(\"scroll\",a),f||h===k||(f=[])):\"object\"===typeof k&&null!==k&&k.$$typeof===Ga?k.toString():(f=f||[]).push(l,k))}c&&(f=f||[]).push(\"style\",\nc);var l=f;if(b.updateQueue=l)b.flags|=4}};Ei=function(a,b,c,d){c!==d&&(b.flags|=4)};function Fi(a,b){if(!lh)switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}\nfunction Gi(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ff(b.type)&&Gf(),null;case 3:fh();H(N);H(M);uh();d=b.stateNode;d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)rh(b)?b.flags|=4:d.hydrate||(b.flags|=256);Ci(b);return null;case 5:hh(b);var e=dh(ch.current);c=b.type;if(null!==a&&null!=b.stateNode)Di(a,b,c,d,e),a.ref!==b.ref&&(b.flags|=128);else{if(!d){if(null===\nb.stateNode)throw Error(y(166));return null}a=dh(ah.current);if(rh(b)){d=b.stateNode;c=b.type;var f=b.memoizedProps;d[wf]=b;d[xf]=f;switch(c){case \"dialog\":G(\"cancel\",d);G(\"close\",d);break;case \"iframe\":case \"object\":case \"embed\":G(\"load\",d);break;case \"video\":case \"audio\":for(a=0;a<Xe.length;a++)G(Xe[a],d);break;case \"source\":G(\"error\",d);break;case \"img\":case \"image\":case \"link\":G(\"error\",d);G(\"load\",d);break;case \"details\":G(\"toggle\",d);break;case \"input\":Za(d,f);G(\"invalid\",d);break;case \"select\":d._wrapperState=\n{wasMultiple:!!f.multiple};G(\"invalid\",d);break;case \"textarea\":hb(d,f),G(\"invalid\",d)}vb(c,f);a=null;for(var g in f)f.hasOwnProperty(g)&&(e=f[g],\"children\"===g?\"string\"===typeof e?d.textContent!==e&&(a=[\"children\",e]):\"number\"===typeof e&&d.textContent!==\"\"+e&&(a=[\"children\",\"\"+e]):ca.hasOwnProperty(g)&&null!=e&&\"onScroll\"===g&&G(\"scroll\",d));switch(c){case \"input\":Va(d);cb(d,f,!0);break;case \"textarea\":Va(d);jb(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&(d.onclick=\njf)}d=a;b.updateQueue=d;null!==d&&(b.flags|=4)}else{g=9===e.nodeType?e:e.ownerDocument;a===kb.html&&(a=lb(c));a===kb.html?\"script\"===c?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[wf]=b;a[xf]=d;Bi(a,b,!1,!1);b.stateNode=a;g=wb(c,d);switch(c){case \"dialog\":G(\"cancel\",a);G(\"close\",a);\ne=d;break;case \"iframe\":case \"object\":case \"embed\":G(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;e<Xe.length;e++)G(Xe[e],a);e=d;break;case \"source\":G(\"error\",a);e=d;break;case \"img\":case \"image\":case \"link\":G(\"error\",a);G(\"load\",a);e=d;break;case \"details\":G(\"toggle\",a);e=d;break;case \"input\":Za(a,d);e=Ya(a,d);G(\"invalid\",a);break;case \"option\":e=eb(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};e=m({},d,{value:void 0});G(\"invalid\",a);break;case \"textarea\":hb(a,d);e=\ngb(a,d);G(\"invalid\",a);break;default:e=d}vb(c,e);var h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];\"style\"===f?tb(a,k):\"dangerouslySetInnerHTML\"===f?(k=k?k.__html:void 0,null!=k&&ob(a,k)):\"children\"===f?\"string\"===typeof k?(\"textarea\"!==c||\"\"!==k)&&pb(a,k):\"number\"===typeof k&&pb(a,\"\"+k):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(ca.hasOwnProperty(f)?null!=k&&\"onScroll\"===f&&G(\"scroll\",a):null!=k&&qa(a,f,k,g))}switch(c){case \"input\":Va(a);cb(a,d,!1);\nbreak;case \"textarea\":Va(a);jb(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+Sa(d.value));break;case \"select\":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,!1):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof e.onClick&&(a.onclick=jf)}mf(c,d)&&(b.flags|=4)}null!==b.ref&&(b.flags|=128)}return null;case 6:if(a&&null!=b.stateNode)Ei(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(y(166));\nc=dh(ch.current);dh(ah.current);rh(b)?(d=b.stateNode,c=b.memoizedProps,d[wf]=b,d.nodeValue!==c&&(b.flags|=4)):(d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[wf]=b,b.stateNode=d)}return null;case 13:H(P);d=b.memoizedState;if(0!==(b.flags&64))return b.lanes=c,b;d=null!==d;c=!1;null===a?void 0!==b.memoizedProps.fallback&&rh(b):c=null!==a.memoizedState;if(d&&!c&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(P.current&1))0===V&&(V=3);else{if(0===V||3===V)V=\n4;null===U||0===(Dg&134217727)&&0===(Hi&134217727)||Ii(U,W)}if(d||c)b.flags|=4;return null;case 4:return fh(),Ci(b),null===a&&cf(b.stateNode.containerInfo),null;case 10:return rg(b),null;case 17:return Ff(b.type)&&Gf(),null;case 19:H(P);d=b.memoizedState;if(null===d)return null;f=0!==(b.flags&64);g=d.rendering;if(null===g)if(f)Fi(d,!1);else{if(0!==V||null!==a&&0!==(a.flags&64))for(a=b.child;null!==a;){g=ih(a);if(null!==g){b.flags|=64;Fi(d,!1);f=g.updateQueue;null!==f&&(b.updateQueue=f,b.flags|=4);\nnull===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;d=c;for(c=b.child;null!==c;)f=c,a=d,f.flags&=2,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null,g=f.alternate,null===g?(f.childLanes=0,f.lanes=a,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,\nf.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;I(P,P.current&1|2);return b.child}a=a.sibling}null!==d.tail&&O()>Ji&&(b.flags|=64,f=!0,Fi(d,!1),b.lanes=33554432)}else{if(!f)if(a=ih(g),null!==a){if(b.flags|=64,f=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Fi(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!g.alternate&&!lh)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*O()-d.renderingStartTime>Ji&&1073741824!==c&&(b.flags|=\n64,f=!0,Fi(d,!1),b.lanes=33554432);d.isBackwards?(g.sibling=b.child,b.child=g):(c=d.last,null!==c?c.sibling=g:b.child=g,d.last=g)}return null!==d.tail?(c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=O(),c.sibling=null,b=P.current,I(P,f?b&1|2:b&1),c):null;case 23:case 24:return Ki(),null!==a&&null!==a.memoizedState!==(null!==b.memoizedState)&&\"unstable-defer-without-hiding\"!==d.mode&&(b.flags|=4),null}throw Error(y(156,b.tag));}\nfunction Li(a){switch(a.tag){case 1:Ff(a.type)&&Gf();var b=a.flags;return b&4096?(a.flags=b&-4097|64,a):null;case 3:fh();H(N);H(M);uh();b=a.flags;if(0!==(b&64))throw Error(y(285));a.flags=b&-4097|64;return a;case 5:return hh(a),null;case 13:return H(P),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 19:return H(P),null;case 4:return fh(),null;case 10:return rg(a),null;case 23:case 24:return Ki(),null;default:return null}}\nfunction Mi(a,b){try{var c=\"\",d=b;do c+=Qa(d),d=d.return;while(d);var e=c}catch(f){e=\"\\nError generating stack: \"+f.message+\"\\n\"+f.stack}return{value:a,source:b,stack:e}}function Ni(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}var Oi=\"function\"===typeof WeakMap?WeakMap:Map;function Pi(a,b,c){c=zg(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Qi||(Qi=!0,Ri=d);Ni(a,b)};return c}\nfunction Si(a,b,c){c=zg(-1,c);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Ni(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&(null===Ti?Ti=new Set([this]):Ti.add(this),Ni(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}var Ui=\"function\"===typeof WeakSet?WeakSet:Set;\nfunction Vi(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Wi(a,c)}else b.current=null}function Xi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.flags&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:lg(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:b.flags&256&&qf(b.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(y(163));}\nfunction Yi(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{if(3===(a.tag&3)){var d=a.create;a.destroy=d()}a=a.next}while(a!==b)}b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{var e=a;d=e.next;e=e.tag;0!==(e&4)&&0!==(e&1)&&(Zi(c,a),$i(c,a));a=d}while(a!==b)}return;case 1:a=c.stateNode;c.flags&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:lg(c.type,b.memoizedProps),a.componentDidUpdate(d,\nb.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&Eg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Eg(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.flags&4&&mf(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Cc(c))));\nreturn;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(y(163));}\nfunction aj(a,b){for(var c=a;;){if(5===c.tag){var d=c.stateNode;if(b)d=d.style,\"function\"===typeof d.setProperty?d.setProperty(\"display\",\"none\",\"important\"):d.display=\"none\";else{d=c.stateNode;var e=c.memoizedProps.style;e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null;d.style.display=sb(\"display\",e)}}else if(6===c.tag)c.stateNode.nodeValue=b?\"\":c.memoizedProps;else if((23!==c.tag&&24!==c.tag||null===c.memoizedState||c===a)&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===\na)break;for(;null===c.sibling;){if(null===c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}}\nfunction bj(a,b){if(Mf&&\"function\"===typeof Mf.onCommitFiberUnmount)try{Mf.onCommitFiberUnmount(Lf,b)}catch(f){}switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var c=a=a.next;do{var d=c,e=d.destroy;d=d.tag;if(void 0!==e)if(0!==(d&4))Zi(b,c);else{d=b;try{e()}catch(f){Wi(d,f)}}c=c.next}while(c!==a)}break;case 1:Vi(b);a=b.stateNode;if(\"function\"===typeof a.componentWillUnmount)try{a.props=b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(f){Wi(b,\nf)}break;case 5:Vi(b);break;case 4:cj(a,b)}}function dj(a){a.alternate=null;a.child=null;a.dependencies=null;a.firstEffect=null;a.lastEffect=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.return=null;a.updateQueue=null}function ej(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction fj(a){a:{for(var b=a.return;null!==b;){if(ej(b))break a;b=b.return}throw Error(y(160));}var c=b;b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(y(161));}c.flags&16&&(pb(b,\"\"),c.flags&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||ej(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.flags&2)continue b;if(null===\nc.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.flags&2)){c=c.stateNode;break a}}d?gj(a,c,b):hj(a,c,b)}\nfunction gj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=jf));else if(4!==d&&(a=a.child,null!==a))for(gj(a,b,c),a=a.sibling;null!==a;)gj(a,b,c),a=a.sibling}\nfunction hj(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(hj(a,b,c),a=a.sibling;null!==a;)hj(a,b,c),a=a.sibling}\nfunction cj(a,b){for(var c=b,d=!1,e,f;;){if(!d){d=c.return;a:for(;;){if(null===d)throw Error(y(160));e=d.stateNode;switch(d.tag){case 5:f=!1;break a;case 3:e=e.containerInfo;f=!0;break a;case 4:e=e.containerInfo;f=!0;break a}d=d.return}d=!0}if(5===c.tag||6===c.tag){a:for(var g=a,h=c,k=h;;)if(bj(g,k),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break a;for(;null===k.sibling;){if(null===k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return;k=k.sibling}f?(g=e,h=c.stateNode,\n8===g.nodeType?g.parentNode.removeChild(h):g.removeChild(h)):e.removeChild(c.stateNode)}else if(4===c.tag){if(null!==c.child){e=c.stateNode.containerInfo;f=!0;c.child.return=c;c=c.child;continue}}else if(bj(a,c),null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;4===c.tag&&(d=!1)}c.sibling.return=c.return;c=c.sibling}}\nfunction ij(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do 3===(d.tag&3)&&(a=d.destroy,d.destroy=void 0,void 0!==a&&a()),d=d.next;while(d!==c)}return;case 1:return;case 5:c=b.stateNode;if(null!=c){d=b.memoizedProps;var e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[xf]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&$a(c,d);wb(a,e);b=wb(a,d);for(e=0;e<f.length;e+=\n2){var g=f[e],h=f[e+1];\"style\"===g?tb(c,h):\"dangerouslySetInnerHTML\"===g?ob(c,h):\"children\"===g?pb(c,h):qa(c,g,h,b)}switch(a){case \"input\":ab(c,d);break;case \"textarea\":ib(c,d);break;case \"select\":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?fb(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?fb(c,!!d.multiple,d.defaultValue,!0):fb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(y(162));b.stateNode.nodeValue=\nb.memoizedProps;return;case 3:c=b.stateNode;c.hydrate&&(c.hydrate=!1,Cc(c.containerInfo));return;case 12:return;case 13:null!==b.memoizedState&&(jj=O(),aj(b.child,!0));kj(b);return;case 19:kj(b);return;case 17:return;case 23:case 24:aj(b,null!==b.memoizedState);return}throw Error(y(163));}function kj(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Ui);b.forEach(function(b){var d=lj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction mj(a,b){return null!==a&&(a=a.memoizedState,null===a||null!==a.dehydrated)?(b=b.memoizedState,null!==b&&null===b.dehydrated):!1}var nj=Math.ceil,oj=ra.ReactCurrentDispatcher,pj=ra.ReactCurrentOwner,X=0,U=null,Y=null,W=0,qj=0,rj=Bf(0),V=0,sj=null,tj=0,Dg=0,Hi=0,uj=0,vj=null,jj=0,Ji=Infinity;function wj(){Ji=O()+500}var Z=null,Qi=!1,Ri=null,Ti=null,xj=!1,yj=null,zj=90,Aj=[],Bj=[],Cj=null,Dj=0,Ej=null,Fj=-1,Gj=0,Hj=0,Ij=null,Jj=!1;function Hg(){return 0!==(X&48)?O():-1!==Fj?Fj:Fj=O()}\nfunction Ig(a){a=a.mode;if(0===(a&2))return 1;if(0===(a&4))return 99===eg()?1:2;0===Gj&&(Gj=tj);if(0!==kg.transition){0!==Hj&&(Hj=null!==vj?vj.pendingLanes:0);a=Gj;var b=4186112&~Hj;b&=-b;0===b&&(a=4186112&~a,b=a&-a,0===b&&(b=8192));return b}a=eg();0!==(X&4)&&98===a?a=Xc(12,Gj):(a=Sc(a),a=Xc(a,Gj));return a}\nfunction Jg(a,b,c){if(50<Dj)throw Dj=0,Ej=null,Error(y(185));a=Kj(a,b);if(null===a)return null;$c(a,b,c);a===U&&(Hi|=b,4===V&&Ii(a,W));var d=eg();1===b?0!==(X&8)&&0===(X&48)?Lj(a):(Mj(a,c),0===X&&(wj(),ig())):(0===(X&4)||98!==d&&99!==d||(null===Cj?Cj=new Set([a]):Cj.add(a)),Mj(a,c));vj=a}function Kj(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}\nfunction Mj(a,b){for(var c=a.callbackNode,d=a.suspendedLanes,e=a.pingedLanes,f=a.expirationTimes,g=a.pendingLanes;0<g;){var h=31-Vc(g),k=1<<h,l=f[h];if(-1===l){if(0===(k&d)||0!==(k&e)){l=b;Rc(k);var n=F;f[h]=10<=n?l+250:6<=n?l+5E3:-1}}else l<=b&&(a.expiredLanes|=k);g&=~k}d=Uc(a,a===U?W:0);b=F;if(0===d)null!==c&&(c!==Zf&&Pf(c),a.callbackNode=null,a.callbackPriority=0);else{if(null!==c){if(a.callbackPriority===b)return;c!==Zf&&Pf(c)}15===b?(c=Lj.bind(null,a),null===ag?(ag=[c],bg=Of(Uf,jg)):ag.push(c),\nc=Zf):14===b?c=hg(99,Lj.bind(null,a)):(c=Tc(b),c=hg(c,Nj.bind(null,a)));a.callbackPriority=b;a.callbackNode=c}}\nfunction Nj(a){Fj=-1;Hj=Gj=0;if(0!==(X&48))throw Error(y(327));var b=a.callbackNode;if(Oj()&&a.callbackNode!==b)return null;var c=Uc(a,a===U?W:0);if(0===c)return null;var d=c;var e=X;X|=16;var f=Pj();if(U!==a||W!==d)wj(),Qj(a,d);do try{Rj();break}catch(h){Sj(a,h)}while(1);qg();oj.current=f;X=e;null!==Y?d=0:(U=null,W=0,d=V);if(0!==(tj&Hi))Qj(a,0);else if(0!==d){2===d&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),c=Wc(a),0!==c&&(d=Tj(a,c)));if(1===d)throw b=sj,Qj(a,0),Ii(a,c),Mj(a,O()),b;a.finishedWork=\na.current.alternate;a.finishedLanes=c;switch(d){case 0:case 1:throw Error(y(345));case 2:Uj(a);break;case 3:Ii(a,c);if((c&62914560)===c&&(d=jj+500-O(),10<d)){if(0!==Uc(a,0))break;e=a.suspendedLanes;if((e&c)!==c){Hg();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=of(Uj.bind(null,a),d);break}Uj(a);break;case 4:Ii(a,c);if((c&4186112)===c)break;d=a.eventTimes;for(e=-1;0<c;){var g=31-Vc(c);f=1<<g;g=d[g];g>e&&(e=g);c&=~f}c=e;c=O()-c;c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>\nc?4320:1960*nj(c/1960))-c;if(10<c){a.timeoutHandle=of(Uj.bind(null,a),c);break}Uj(a);break;case 5:Uj(a);break;default:throw Error(y(329));}}Mj(a,O());return a.callbackNode===b?Nj.bind(null,a):null}function Ii(a,b){b&=~uj;b&=~Hi;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-Vc(b),d=1<<c;a[c]=-1;b&=~d}}\nfunction Lj(a){if(0!==(X&48))throw Error(y(327));Oj();if(a===U&&0!==(a.expiredLanes&W)){var b=W;var c=Tj(a,b);0!==(tj&Hi)&&(b=Uc(a,b),c=Tj(a,b))}else b=Uc(a,0),c=Tj(a,b);0!==a.tag&&2===c&&(X|=64,a.hydrate&&(a.hydrate=!1,qf(a.containerInfo)),b=Wc(a),0!==b&&(c=Tj(a,b)));if(1===c)throw c=sj,Qj(a,0),Ii(a,b),Mj(a,O()),c;a.finishedWork=a.current.alternate;a.finishedLanes=b;Uj(a);Mj(a,O());return null}\nfunction Vj(){if(null!==Cj){var a=Cj;Cj=null;a.forEach(function(a){a.expiredLanes|=24&a.pendingLanes;Mj(a,O())})}ig()}function Wj(a,b){var c=X;X|=1;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}}function Xj(a,b){var c=X;X&=-2;X|=8;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}}function ni(a,b){I(rj,qj);qj|=b;tj|=b}function Ki(){qj=rj.current;H(rj)}\nfunction Qj(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,pf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Gf();break;case 3:fh();H(N);H(M);uh();break;case 5:hh(d);break;case 4:fh();break;case 13:H(P);break;case 19:H(P);break;case 10:rg(d);break;case 23:case 24:Ki()}c=c.return}U=a;Y=Tg(a.current,null);W=qj=tj=b;V=0;sj=null;uj=Hi=Dg=0}\nfunction Sj(a,b){do{var c=Y;try{qg();vh.current=Gh;if(yh){for(var d=R.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next}yh=!1}xh=0;T=S=R=null;zh=!1;pj.current=null;if(null===c||null===c.return){V=1;sj=b;Y=null;break}a:{var f=a,g=c.return,h=c,k=b;b=W;h.flags|=2048;h.firstEffect=h.lastEffect=null;if(null!==k&&\"object\"===typeof k&&\"function\"===typeof k.then){var l=k;if(0===(h.mode&2)){var n=h.alternate;n?(h.updateQueue=n.updateQueue,h.memoizedState=n.memoizedState,h.lanes=n.lanes):\n(h.updateQueue=null,h.memoizedState=null)}var A=0!==(P.current&1),p=g;do{var C;if(C=13===p.tag){var x=p.memoizedState;if(null!==x)C=null!==x.dehydrated?!0:!1;else{var w=p.memoizedProps;C=void 0===w.fallback?!1:!0!==w.unstable_avoidThisFallback?!0:A?!1:!0}}if(C){var z=p.updateQueue;if(null===z){var u=new Set;u.add(l);p.updateQueue=u}else z.add(l);if(0===(p.mode&2)){p.flags|=64;h.flags|=16384;h.flags&=-2981;if(1===h.tag)if(null===h.alternate)h.tag=17;else{var t=zg(-1,1);t.tag=2;Ag(h,t)}h.lanes|=1;break a}k=\nvoid 0;h=b;var q=f.pingCache;null===q?(q=f.pingCache=new Oi,k=new Set,q.set(l,k)):(k=q.get(l),void 0===k&&(k=new Set,q.set(l,k)));if(!k.has(h)){k.add(h);var v=Yj.bind(null,f,l,h);l.then(v,v)}p.flags|=4096;p.lanes=b;break a}p=p.return}while(null!==p);k=Error((Ra(h.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\")}5!==V&&(V=2);k=Mi(k,h);p=\ng;do{switch(p.tag){case 3:f=k;p.flags|=4096;b&=-b;p.lanes|=b;var J=Pi(p,f,b);Bg(p,J);break a;case 1:f=k;var K=p.type,Q=p.stateNode;if(0===(p.flags&64)&&(\"function\"===typeof K.getDerivedStateFromError||null!==Q&&\"function\"===typeof Q.componentDidCatch&&(null===Ti||!Ti.has(Q)))){p.flags|=4096;b&=-b;p.lanes|=b;var L=Si(p,f,b);Bg(p,L);break a}}p=p.return}while(null!==p)}Zj(c)}catch(va){b=va;Y===c&&null!==c&&(Y=c=c.return);continue}break}while(1)}\nfunction Pj(){var a=oj.current;oj.current=Gh;return null===a?Gh:a}function Tj(a,b){var c=X;X|=16;var d=Pj();U===a&&W===b||Qj(a,b);do try{ak();break}catch(e){Sj(a,e)}while(1);qg();X=c;oj.current=d;if(null!==Y)throw Error(y(261));U=null;W=0;return V}function ak(){for(;null!==Y;)bk(Y)}function Rj(){for(;null!==Y&&!Qf();)bk(Y)}function bk(a){var b=ck(a.alternate,a,qj);a.memoizedProps=a.pendingProps;null===b?Zj(a):Y=b;pj.current=null}\nfunction Zj(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&2048)){c=Gi(c,b,qj);if(null!==c){Y=c;return}c=b;if(24!==c.tag&&23!==c.tag||null===c.memoizedState||0!==(qj&1073741824)||0===(c.mode&4)){for(var d=0,e=c.child;null!==e;)d|=e.lanes|e.childLanes,e=e.sibling;c.childLanes=d}null!==a&&0===(a.flags&2048)&&(null===a.firstEffect&&(a.firstEffect=b.firstEffect),null!==b.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=b.firstEffect),a.lastEffect=b.lastEffect),1<b.flags&&(null!==\na.lastEffect?a.lastEffect.nextEffect=b:a.firstEffect=b,a.lastEffect=b))}else{c=Li(b);if(null!==c){c.flags&=2047;Y=c;return}null!==a&&(a.firstEffect=a.lastEffect=null,a.flags|=2048)}b=b.sibling;if(null!==b){Y=b;return}Y=b=a}while(null!==b);0===V&&(V=5)}function Uj(a){var b=eg();gg(99,dk.bind(null,a,b));return null}\nfunction dk(a,b){do Oj();while(null!==yj);if(0!==(X&48))throw Error(y(327));var c=a.finishedWork;if(null===c)return null;a.finishedWork=null;a.finishedLanes=0;if(c===a.current)throw Error(y(177));a.callbackNode=null;var d=c.lanes|c.childLanes,e=d,f=a.pendingLanes&~e;a.pendingLanes=e;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=e;a.mutableReadLanes&=e;a.entangledLanes&=e;e=a.entanglements;for(var g=a.eventTimes,h=a.expirationTimes;0<f;){var k=31-Vc(f),l=1<<k;e[k]=0;g[k]=-1;h[k]=-1;f&=~l}null!==\nCj&&0===(d&24)&&Cj.has(a)&&Cj.delete(a);a===U&&(Y=U=null,W=0);1<c.flags?null!==c.lastEffect?(c.lastEffect.nextEffect=c,d=c.firstEffect):d=c:d=c.firstEffect;if(null!==d){e=X;X|=32;pj.current=null;kf=fd;g=Ne();if(Oe(g)){if(\"selectionStart\"in g)h={start:g.selectionStart,end:g.selectionEnd};else a:if(h=(h=g.ownerDocument)&&h.defaultView||window,(l=h.getSelection&&h.getSelection())&&0!==l.rangeCount){h=l.anchorNode;f=l.anchorOffset;k=l.focusNode;l=l.focusOffset;try{h.nodeType,k.nodeType}catch(va){h=null;\nbreak a}var n=0,A=-1,p=-1,C=0,x=0,w=g,z=null;b:for(;;){for(var u;;){w!==h||0!==f&&3!==w.nodeType||(A=n+f);w!==k||0!==l&&3!==w.nodeType||(p=n+l);3===w.nodeType&&(n+=w.nodeValue.length);if(null===(u=w.firstChild))break;z=w;w=u}for(;;){if(w===g)break b;z===h&&++C===f&&(A=n);z===k&&++x===l&&(p=n);if(null!==(u=w.nextSibling))break;w=z;z=w.parentNode}w=u}h=-1===A||-1===p?null:{start:A,end:p}}else h=null;h=h||{start:0,end:0}}else h=null;lf={focusedElem:g,selectionRange:h};fd=!1;Ij=null;Jj=!1;Z=d;do try{ek()}catch(va){if(null===\nZ)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);Ij=null;Z=d;do try{for(g=a;null!==Z;){var t=Z.flags;t&16&&pb(Z.stateNode,\"\");if(t&128){var q=Z.alternate;if(null!==q){var v=q.ref;null!==v&&(\"function\"===typeof v?v(null):v.current=null)}}switch(t&1038){case 2:fj(Z);Z.flags&=-3;break;case 6:fj(Z);Z.flags&=-3;ij(Z.alternate,Z);break;case 1024:Z.flags&=-1025;break;case 1028:Z.flags&=-1025;ij(Z.alternate,Z);break;case 4:ij(Z.alternate,Z);break;case 8:h=Z;cj(g,h);var J=h.alternate;dj(h);null!==\nJ&&dj(J)}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);v=lf;q=Ne();t=v.focusedElem;g=v.selectionRange;if(q!==t&&t&&t.ownerDocument&&Me(t.ownerDocument.documentElement,t)){null!==g&&Oe(t)&&(q=g.start,v=g.end,void 0===v&&(v=q),\"selectionStart\"in t?(t.selectionStart=q,t.selectionEnd=Math.min(v,t.value.length)):(v=(q=t.ownerDocument||document)&&q.defaultView||window,v.getSelection&&(v=v.getSelection(),h=t.textContent.length,J=Math.min(g.start,h),g=void 0===\ng.end?J:Math.min(g.end,h),!v.extend&&J>g&&(h=g,g=J,J=h),h=Le(t,J),f=Le(t,g),h&&f&&(1!==v.rangeCount||v.anchorNode!==h.node||v.anchorOffset!==h.offset||v.focusNode!==f.node||v.focusOffset!==f.offset)&&(q=q.createRange(),q.setStart(h.node,h.offset),v.removeAllRanges(),J>g?(v.addRange(q),v.extend(f.node,f.offset)):(q.setEnd(f.node,f.offset),v.addRange(q))))));q=[];for(v=t;v=v.parentNode;)1===v.nodeType&&q.push({element:v,left:v.scrollLeft,top:v.scrollTop});\"function\"===typeof t.focus&&t.focus();for(t=\n0;t<q.length;t++)v=q[t],v.element.scrollLeft=v.left,v.element.scrollTop=v.top}fd=!!kf;lf=kf=null;a.current=c;Z=d;do try{for(t=a;null!==Z;){var K=Z.flags;K&36&&Yi(t,Z.alternate,Z);if(K&128){q=void 0;var Q=Z.ref;if(null!==Q){var L=Z.stateNode;switch(Z.tag){case 5:q=L;break;default:q=L}\"function\"===typeof Q?Q(q):Q.current=q}}Z=Z.nextEffect}}catch(va){if(null===Z)throw Error(y(330));Wi(Z,va);Z=Z.nextEffect}while(null!==Z);Z=null;$f();X=e}else a.current=c;if(xj)xj=!1,yj=a,zj=b;else for(Z=d;null!==Z;)b=\nZ.nextEffect,Z.nextEffect=null,Z.flags&8&&(K=Z,K.sibling=null,K.stateNode=null),Z=b;d=a.pendingLanes;0===d&&(Ti=null);1===d?a===Ej?Dj++:(Dj=0,Ej=a):Dj=0;c=c.stateNode;if(Mf&&\"function\"===typeof Mf.onCommitFiberRoot)try{Mf.onCommitFiberRoot(Lf,c,void 0,64===(c.current.flags&64))}catch(va){}Mj(a,O());if(Qi)throw Qi=!1,a=Ri,Ri=null,a;if(0!==(X&8))return null;ig();return null}\nfunction ek(){for(;null!==Z;){var a=Z.alternate;Jj||null===Ij||(0!==(Z.flags&8)?dc(Z,Ij)&&(Jj=!0):13===Z.tag&&mj(a,Z)&&dc(Z,Ij)&&(Jj=!0));var b=Z.flags;0!==(b&256)&&Xi(a,Z);0===(b&512)||xj||(xj=!0,hg(97,function(){Oj();return null}));Z=Z.nextEffect}}function Oj(){if(90!==zj){var a=97<zj?97:zj;zj=90;return gg(a,fk)}return!1}function $i(a,b){Aj.push(b,a);xj||(xj=!0,hg(97,function(){Oj();return null}))}function Zi(a,b){Bj.push(b,a);xj||(xj=!0,hg(97,function(){Oj();return null}))}\nfunction fk(){if(null===yj)return!1;var a=yj;yj=null;if(0!==(X&48))throw Error(y(331));var b=X;X|=32;var c=Bj;Bj=[];for(var d=0;d<c.length;d+=2){var e=c[d],f=c[d+1],g=e.destroy;e.destroy=void 0;if(\"function\"===typeof g)try{g()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}c=Aj;Aj=[];for(d=0;d<c.length;d+=2){e=c[d];f=c[d+1];try{var h=e.create;e.destroy=h()}catch(k){if(null===f)throw Error(y(330));Wi(f,k)}}for(h=a.current.firstEffect;null!==h;)a=h.nextEffect,h.nextEffect=null,h.flags&8&&(h.sibling=\nnull,h.stateNode=null),h=a;X=b;ig();return!0}function gk(a,b,c){b=Mi(c,b);b=Pi(a,b,1);Ag(a,b);b=Hg();a=Kj(a,1);null!==a&&($c(a,1,b),Mj(a,b))}\nfunction Wi(a,b){if(3===a.tag)gk(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){gk(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===Ti||!Ti.has(d))){a=Mi(b,a);var e=Si(c,a,1);Ag(c,e);e=Hg();c=Kj(c,1);if(null!==c)$c(c,1,e),Mj(c,e);else if(\"function\"===typeof d.componentDidCatch&&(null===Ti||!Ti.has(d)))try{d.componentDidCatch(b,a)}catch(f){}break}}c=c.return}}\nfunction Yj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=Hg();a.pingedLanes|=a.suspendedLanes&c;U===a&&(W&c)===c&&(4===V||3===V&&(W&62914560)===W&&500>O()-jj?Qj(a,0):uj|=c);Mj(a,b)}function lj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=a.mode,0===(b&2)?b=1:0===(b&4)?b=99===eg()?1:2:(0===Gj&&(Gj=tj),b=Yc(62914560&~Gj),0===b&&(b=4194304)));c=Hg();a=Kj(a,b);null!==a&&($c(a,b,c),Mj(a,c))}var ck;\nck=function(a,b,c){var d=b.lanes;if(null!==a)if(a.memoizedProps!==b.pendingProps||N.current)ug=!0;else if(0!==(c&d))ug=0!==(a.flags&16384)?!0:!1;else{ug=!1;switch(b.tag){case 3:ri(b);sh();break;case 5:gh(b);break;case 1:Ff(b.type)&&Jf(b);break;case 4:eh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;var e=b.type._context;I(mg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){if(0!==(c&b.child.childLanes))return ti(a,b,c);I(P,P.current&1);b=hi(a,b,c);return null!==\nb?b.sibling:null}I(P,P.current&1);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&64)){if(d)return Ai(a,b,c);b.flags|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);I(P,P.current);if(d)break;else return null;case 23:case 24:return b.lanes=0,mi(a,b,c)}return hi(a,b,c)}else ug=!1;b.lanes=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);a=b.pendingProps;e=Ef(b,M.current);tg(b,c);e=Ch(null,b,d,a,e,c);b.flags|=1;if(\"object\"===\ntypeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(Ff(d)){var f=!0;Jf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;xg(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Gg(b,d,g,a);e.updater=Kg;b.stateNode=e;e._reactInternals=b;Og(b,d,a,c);b=qi(null,b,d,!0,f,c)}else b.tag=0,fi(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;a:{null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);\na=b.pendingProps;f=e._init;e=f(e._payload);b.type=e;f=b.tag=hk(e);a=lg(e,a);switch(f){case 0:b=li(null,b,e,a,c);break a;case 1:b=pi(null,b,e,a,c);break a;case 11:b=gi(null,b,e,a,c);break a;case 14:b=ii(null,b,e,lg(e.type,a),d,c);break a}throw Error(y(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),li(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),pi(a,b,d,e,c);case 3:ri(b);d=b.updateQueue;if(null===a||null===d)throw Error(y(282));\nd=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;yg(a,b);Cg(b,d,null,c);d=b.memoizedState.element;if(d===e)sh(),b=hi(a,b,c);else{e=b.stateNode;if(f=e.hydrate)kh=rf(b.stateNode.containerInfo.firstChild),jh=b,f=lh=!0;if(f){a=e.mutableSourceEagerHydrationData;if(null!=a)for(e=0;e<a.length;e+=2)f=a[e],f._workInProgressVersionPrimary=a[e+1],th.push(f);c=Zg(b,null,d,c);for(b.child=c;c;)c.flags=c.flags&-3|1024,c=c.sibling}else fi(a,b,d,c),sh();b=b.child}return b;case 5:return gh(b),null===a&&\nph(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,nf(d,e)?g=null:null!==f&&nf(d,f)&&(b.flags|=16),oi(a,b),fi(a,b,g,c),b.child;case 6:return null===a&&ph(b),null;case 13:return ti(a,b,c);case 4:return eh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Yg(b,null,d,c):fi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),gi(a,b,d,e,c);case 7:return fi(a,b,b.pendingProps,c),b.child;case 8:return fi(a,b,b.pendingProps.children,\nc),b.child;case 12:return fi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(mg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=He(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!N.current){b=hi(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=\nk.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=zg(-1,c&-c),l.tag=2,Ag(h,l));h.lanes|=c;l=h.alternate;null!==l&&(l.lanes|=c);sg(h.return,c);k.lanes|=c;break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}fi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,tg(b,c),e=vg(e,\nf.unstable_observedBits),d=d(e),b.flags|=1,fi(a,b,d,c),b.child;case 14:return e=b.type,f=lg(e,b.pendingProps),f=lg(e.type,f),ii(a,b,e,f,d,c);case 15:return ki(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:lg(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2),b.tag=1,Ff(d)?(a=!0,Jf(b)):a=!1,tg(b,c),Mg(b,d,e),Og(b,d,e,c),qi(null,b,d,!0,a,c);case 19:return Ai(a,b,c);case 23:return mi(a,b,c);case 24:return mi(a,b,c)}throw Error(y(156,b.tag));\n};function ik(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.flags=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childLanes=this.lanes=0;this.alternate=null}function nh(a,b,c,d){return new ik(a,b,c,d)}function ji(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction hk(a){if(\"function\"===typeof a)return ji(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Aa)return 11;if(a===Da)return 14}return 2}\nfunction Tg(a,b){var c=a.alternate;null===c?(c=nh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Vg(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)ji(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ua:return Xg(c.children,e,f,b);case Ha:g=8;e|=16;break;case wa:g=8;e|=1;break;case xa:return a=nh(12,c,b,e|8),a.elementType=xa,a.type=xa,a.lanes=f,a;case Ba:return a=nh(13,c,b,e),a.type=Ba,a.elementType=Ba,a.lanes=f,a;case Ca:return a=nh(19,c,b,e),a.elementType=Ca,a.lanes=f,a;case Ia:return vi(c,e,f,b);case Ja:return a=nh(24,c,b,e),a.elementType=Ja,a.lanes=f,a;default:if(\"object\"===\ntypeof a&&null!==a)switch(a.$$typeof){case ya:g=10;break a;case za:g=9;break a;case Aa:g=11;break a;case Da:g=14;break a;case Ea:g=16;d=null;break a;case Fa:g=22;break a}throw Error(y(130,null==a?a:typeof a,\"\"));}b=nh(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Xg(a,b,c,d){a=nh(7,a,d,b);a.lanes=c;return a}function vi(a,b,c,d){a=nh(23,a,d,b);a.elementType=Ia;a.lanes=c;return a}function Ug(a,b,c){a=nh(6,a,null,b);a.lanes=c;return a}\nfunction Wg(a,b,c){b=nh(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction jk(a,b,c){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=0;this.eventTimes=Zc(0);this.expirationTimes=Zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Zc(0);this.mutableSourceEagerHydrationData=null}\nfunction kk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ta,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}\nfunction lk(a,b,c,d){var e=b.current,f=Hg(),g=Ig(e);a:if(c){c=c._reactInternals;b:{if(Zb(c)!==c||1!==c.tag)throw Error(y(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(Ff(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(y(171));}if(1===c.tag){var k=c.type;if(Ff(k)){c=If(c,k,h);break a}}c=h}else c=Cf;null===b.context?b.context=c:b.pendingContext=c;b=zg(f,g);b.payload={element:a};d=void 0===d?null:d;null!==\nd&&(b.callback=d);Ag(e,b);Jg(e,g,f);return g}function mk(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function nk(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function ok(a,b){nk(a,b);(a=a.alternate)&&nk(a,b)}function pk(){return null}\nfunction qk(a,b,c){var d=null!=c&&null!=c.hydrationOptions&&c.hydrationOptions.mutableSources||null;c=new jk(a,b,null!=c&&!0===c.hydrate);b=nh(3,null,null,2===b?7:1===b?3:0);c.current=b;b.stateNode=c;xg(b);a[ff]=c.current;cf(8===a.nodeType?a.parentNode:a);if(d)for(a=0;a<d.length;a++){b=d[a];var e=b._getVersion;e=e(b._source);null==c.mutableSourceEagerHydrationData?c.mutableSourceEagerHydrationData=[b,e]:c.mutableSourceEagerHydrationData.push(b,e)}this._internalRoot=c}\nqk.prototype.render=function(a){lk(a,this._internalRoot,null,null)};qk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;lk(null,a,null,function(){b[ff]=null})};function rk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}\nfunction sk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new qk(a,0,b?{hydrate:!0}:void 0)}\nfunction tk(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if(\"function\"===typeof e){var h=e;e=function(){var a=mk(g);h.call(a)}}lk(b,g,a,e)}else{f=c._reactRootContainer=sk(c,d);g=f._internalRoot;if(\"function\"===typeof e){var k=e;e=function(){var a=mk(g);k.call(a)}}Xj(function(){lk(b,g,a,e)})}return mk(g)}ec=function(a){if(13===a.tag){var b=Hg();Jg(a,4,b);ok(a,4)}};fc=function(a){if(13===a.tag){var b=Hg();Jg(a,67108864,b);ok(a,67108864)}};\ngc=function(a){if(13===a.tag){var b=Hg(),c=Ig(a);Jg(a,c,b);ok(a,c)}};hc=function(a,b){return b()};\nyb=function(a,b,c){switch(b){case \"input\":ab(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(y(90));Wa(d);ab(d,e)}}}break;case \"textarea\":ib(a,c);break;case \"select\":b=c.value,null!=b&&fb(a,!!c.multiple,b,!1)}};Gb=Wj;\nHb=function(a,b,c,d,e){var f=X;X|=4;try{return gg(98,a.bind(null,b,c,d,e))}finally{X=f,0===X&&(wj(),ig())}};Ib=function(){0===(X&49)&&(Vj(),Oj())};Jb=function(a,b){var c=X;X|=2;try{return a(b)}finally{X=c,0===X&&(wj(),ig())}};function uk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rk(b))throw Error(y(200));return kk(a,b,null,c)}var vk={Events:[Cb,ue,Db,Eb,Fb,Oj,{current:!1}]},wk={findFiberByHostInstance:wc,bundleType:0,version:\"17.0.2\",rendererPackageName:\"react-dom\"};\nvar xk={bundleType:wk.bundleType,version:wk.version,rendererPackageName:wk.rendererPackageName,rendererConfig:wk.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ra.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=cc(a);return null===a?null:a.stateNode},findFiberByHostInstance:wk.findFiberByHostInstance||\npk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(\"undefined\"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yk=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yk.isDisabled&&yk.supportsFiber)try{Lf=yk.inject(xk),Mf=yk}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vk;exports.createPortal=uk;\nexports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if(\"function\"===typeof a.render)throw Error(y(188));throw Error(y(268,Object.keys(a)));}a=cc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a,b){var c=X;if(0!==(c&48))return a(b);X|=1;try{if(a)return gg(99,a.bind(null,b))}finally{X=c,ig()}};exports.hydrate=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!0,c)};\nexports.render=function(a,b,c){if(!rk(b))throw Error(y(200));return tk(null,a,b,!1,c)};exports.unmountComponentAtNode=function(a){if(!rk(a))throw Error(y(40));return a._reactRootContainer?(Xj(function(){tk(null,null,a,!1,function(){a._reactRootContainer=null;a[ff]=null})}),!0):!1};exports.unstable_batchedUpdates=Wj;exports.unstable_createPortal=function(a,b){return uk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};\nexports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!rk(c))throw Error(y(200));if(null==a||void 0===a._reactInternals)throw Error(y(38));return tk(a,b,c,!1,d)};exports.version=\"17.0.2\";\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","export const COMMON_MIME_TYPES = new Map([\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types\n ['aac', 'audio/aac'],\n ['abw', 'application/x-abiword'],\n ['arc', 'application/x-freearc'],\n ['avif', 'image/avif'],\n ['avi', 'video/x-msvideo'],\n ['azw', 'application/vnd.amazon.ebook'],\n ['bin', 'application/octet-stream'],\n ['bmp', 'image/bmp'],\n ['bz', 'application/x-bzip'],\n ['bz2', 'application/x-bzip2'],\n ['cda', 'application/x-cdf'],\n ['csh', 'application/x-csh'],\n ['css', 'text/css'],\n ['csv', 'text/csv'],\n ['doc', 'application/msword'],\n ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'],\n ['eot', 'application/vnd.ms-fontobject'],\n ['epub', 'application/epub+zip'],\n ['gz', 'application/gzip'],\n ['gif', 'image/gif'],\n ['htm', 'text/html'],\n ['html', 'text/html'],\n ['ico', 'image/vnd.microsoft.icon'],\n ['ics', 'text/calendar'],\n ['jar', 'application/java-archive'],\n ['jpeg', 'image/jpeg'],\n ['jpg', 'image/jpeg'],\n ['js', 'text/javascript'],\n ['json', 'application/json'],\n ['jsonld', 'application/ld+json'],\n ['mid', 'audio/midi'],\n ['midi', 'audio/midi'],\n ['mjs', 'text/javascript'],\n ['mp3', 'audio/mpeg'],\n ['mp4', 'video/mp4'],\n ['mpeg', 'video/mpeg'],\n ['mpkg', 'application/vnd.apple.installer+xml'],\n ['odp', 'application/vnd.oasis.opendocument.presentation'],\n ['ods', 'application/vnd.oasis.opendocument.spreadsheet'],\n ['odt', 'application/vnd.oasis.opendocument.text'],\n ['oga', 'audio/ogg'],\n ['ogv', 'video/ogg'],\n ['ogx', 'application/ogg'],\n ['opus', 'audio/opus'],\n ['otf', 'font/otf'],\n ['png', 'image/png'],\n ['pdf', 'application/pdf'],\n ['php', 'application/x-httpd-php'],\n ['ppt', 'application/vnd.ms-powerpoint'],\n ['pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation'],\n ['rar', 'application/vnd.rar'],\n ['rtf', 'application/rtf'],\n ['sh', 'application/x-sh'],\n ['svg', 'image/svg+xml'],\n ['swf', 'application/x-shockwave-flash'],\n ['tar', 'application/x-tar'],\n ['tif', 'image/tiff'],\n ['tiff', 'image/tiff'],\n ['ts', 'video/mp2t'],\n ['ttf', 'font/ttf'],\n ['txt', 'text/plain'],\n ['vsd', 'application/vnd.visio'],\n ['wav', 'audio/wav'],\n ['weba', 'audio/webm'],\n ['webm', 'video/webm'],\n ['webp', 'image/webp'],\n ['woff', 'font/woff'],\n ['woff2', 'font/woff2'],\n ['xhtml', 'application/xhtml+xml'],\n ['xls', 'application/vnd.ms-excel'],\n ['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],\n ['xml', 'application/xml'],\n ['xul', 'application/vnd.mozilla.xul+xml'],\n ['zip', 'application/zip'],\n ['7z', 'application/x-7z-compressed'],\n\n // Others\n ['mkv', 'video/x-matroska'],\n ['mov', 'video/quicktime'],\n ['msg', 'application/vnd.ms-outlook']\n]);\n\n\nexport function toFileWithPath(file: FileWithPath, path?: string): FileWithPath {\n const f = withMimeType(file);\n if (typeof f.path !== 'string') { // on electron, path is already set to the absolute path\n const {webkitRelativePath} = file as FileWithWebkitPath;\n Object.defineProperty(f, 'path', {\n value: typeof path === 'string'\n ? path\n // If <input webkitdirectory> is set,\n // the File will have a {webkitRelativePath} property\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory\n : typeof webkitRelativePath === 'string' && webkitRelativePath.length > 0\n ? webkitRelativePath\n : file.name,\n writable: false,\n configurable: false,\n enumerable: true\n });\n }\n\n return f;\n}\n\ninterface DOMFile extends Blob {\n readonly lastModified: number;\n readonly name: string;\n}\n\nexport interface FileWithPath extends DOMFile {\n readonly path?: string;\n}\n\ninterface FileWithWebkitPath extends File {\n readonly webkitRelativePath?: string;\n}\n\nfunction withMimeType(file: FileWithPath) {\n const {name} = file;\n const hasExtension = name && name.lastIndexOf('.') !== -1;\n\n if (hasExtension && !file.type) {\n const ext = name.split('.')\n .pop()!.toLowerCase();\n const type = COMMON_MIME_TYPES.get(ext);\n if (type) {\n Object.defineProperty(file, 'type', {\n value: type,\n writable: false,\n configurable: false,\n enumerable: true\n });\n }\n }\n\n return file;\n}\n","import {FileWithPath, toFileWithPath} from './file';\n\n\nconst FILES_TO_IGNORE = [\n // Thumbnail cache files for macOS and Windows\n '.DS_Store', // macOs\n 'Thumbs.db' // Windows\n];\n\n\n/**\n * Convert a DragEvent's DataTrasfer object to a list of File objects\n * NOTE: If some of the items are folders,\n * everything will be flattened and placed in the same list but the paths will be kept as a {path} property.\n *\n * EXPERIMENTAL: A list of https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle objects can also be passed as an arg\n * and a list of File objects will be returned.\n *\n * @param evt\n */\nexport async function fromEvent(evt: Event | any): Promise<(FileWithPath | DataTransferItem)[]> {\n if (isObject<DragEvent>(evt) && isDataTransfer(evt)) {\n return getDataTransferFiles(evt.dataTransfer, evt.type);\n } else if (isChangeEvt(evt)) {\n return getInputFiles(evt);\n } else if (Array.isArray(evt) && evt.every(item => 'getFile' in item && typeof item.getFile === 'function')) {\n return getFsHandleFiles(evt)\n }\n return [];\n}\n\nfunction isDataTransfer(value: any): value is DataTransfer {\n return isObject(value.dataTransfer);\n}\n\nfunction isChangeEvt(value: any): value is Event {\n return isObject<Event>(value) && isObject(value.target);\n}\n\nfunction isObject<T>(v: any): v is T {\n return typeof v === 'object' && v !== null\n}\n\nfunction getInputFiles(evt: Event) {\n return fromList<FileWithPath>((evt.target as HTMLInputElement).files).map(file => toFileWithPath(file));\n}\n\n// Ee expect each handle to be https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle\nasync function getFsHandleFiles(handles: any[]) {\n const files = await Promise.all(handles.map(h => h.getFile()));\n return files.map(file => toFileWithPath(file));\n}\n\n\nasync function getDataTransferFiles(dt: DataTransfer | null, type: string) {\n if (dt === null) {\n return [];\n }\n\n // IE11 does not support dataTransfer.items\n // See https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/items#Browser_compatibility\n if (dt.items) {\n const items = fromList<DataTransferItem>(dt.items)\n .filter(item => item.kind === 'file');\n // According to https://html.spec.whatwg.org/multipage/dnd.html#dndevents,\n // only 'dragstart' and 'drop' has access to the data (source node)\n if (type !== 'drop') {\n return items;\n }\n const files = await Promise.all(items.map(toFilePromises));\n return noIgnoredFiles(flatten<FileWithPath>(files));\n }\n\n return noIgnoredFiles(fromList<FileWithPath>(dt.files)\n .map(file => toFileWithPath(file)));\n}\n\nfunction noIgnoredFiles(files: FileWithPath[]) {\n return files.filter(file => FILES_TO_IGNORE.indexOf(file.name) === -1);\n}\n\n// IE11 does not support Array.from()\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from#Browser_compatibility\n// https://developer.mozilla.org/en-US/docs/Web/API/FileList\n// https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList\nfunction fromList<T>(items: DataTransferItemList | FileList | null): T[] {\n if (items === null) {\n return [];\n }\n\n const files = [];\n\n // tslint:disable: prefer-for-of\n for (let i = 0; i < items.length; i++) {\n const file = items[i];\n files.push(file);\n }\n\n return files as any;\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem\nfunction toFilePromises(item: DataTransferItem) {\n if (typeof item.webkitGetAsEntry !== 'function') {\n return fromDataTransferItem(item);\n }\n\n const entry = item.webkitGetAsEntry();\n\n // Safari supports dropping an image node from a different window and can be retrieved using\n // the DataTransferItem.getAsFile() API\n // NOTE: FileSystemEntry.file() throws if trying to get the file\n if (entry && entry.isDirectory) {\n return fromDirEntry(entry) as any;\n }\n\n return fromDataTransferItem(item);\n}\n\nfunction flatten<T>(items: any[]): T[] {\n return items.reduce((acc, files) => [\n ...acc,\n ...(Array.isArray(files) ? flatten(files) : [files])\n ], []);\n}\n\nfunction fromDataTransferItem(item: DataTransferItem) {\n const file = item.getAsFile();\n if (!file) {\n return Promise.reject(`${item} is not a File`);\n }\n const fwp = toFileWithPath(file);\n return Promise.resolve(fwp);\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry\nasync function fromEntry(entry: any) {\n return entry.isDirectory ? fromDirEntry(entry) : fromFileEntry(entry);\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry\nfunction fromDirEntry(entry: any) {\n const reader = entry.createReader();\n\n return new Promise<FileArray[]>((resolve, reject) => {\n const entries: Promise<FileValue[]>[] = [];\n\n function readEntries() {\n // https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryEntry/createReader\n // https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries\n reader.readEntries(async (batch: any[]) => {\n if (!batch.length) {\n // Done reading directory\n try {\n const files = await Promise.all(entries);\n resolve(files);\n } catch (err) {\n reject(err);\n }\n } else {\n const items = Promise.all(batch.map(fromEntry));\n entries.push(items);\n\n // Continue reading\n readEntries();\n }\n }, (err: any) => {\n reject(err);\n });\n }\n\n readEntries();\n });\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileEntry\nasync function fromFileEntry(entry: any) {\n return new Promise<FileWithPath>((resolve, reject) => {\n entry.file((file: FileWithPath) => {\n const fwp = toFileWithPath(file, entry.fullPath);\n resolve(fwp);\n }, (err: any) => {\n reject(err);\n });\n });\n}\n\n// Infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\ninterface FileArray extends Array<FileValue> {}\ntype FileValue = FileWithPath\n | FileArray[];\n","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport accepts from 'attr-accept'; // Error codes\n\nexport var FILE_INVALID_TYPE = 'file-invalid-type';\nexport var FILE_TOO_LARGE = 'file-too-large';\nexport var FILE_TOO_SMALL = 'file-too-small';\nexport var TOO_MANY_FILES = 'too-many-files';\nexport var ErrorCode = {\n FileInvalidType: FILE_INVALID_TYPE,\n FileTooLarge: FILE_TOO_LARGE,\n FileTooSmall: FILE_TOO_SMALL,\n TooManyFiles: TOO_MANY_FILES\n}; // File Errors\n\nexport var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr(accept) {\n accept = Array.isArray(accept) && accept.length === 1 ? accept[0] : accept;\n var messageSuffix = Array.isArray(accept) ? \"one of \".concat(accept.join(', ')) : accept;\n return {\n code: FILE_INVALID_TYPE,\n message: \"File type must be \".concat(messageSuffix)\n };\n};\nexport var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) {\n return {\n code: FILE_TOO_LARGE,\n message: \"File is larger than \".concat(maxSize, \" \").concat(maxSize === 1 ? 'byte' : 'bytes')\n };\n};\nexport var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) {\n return {\n code: FILE_TOO_SMALL,\n message: \"File is smaller than \".concat(minSize, \" \").concat(minSize === 1 ? 'byte' : 'bytes')\n };\n};\nexport var TOO_MANY_FILES_REJECTION = {\n code: TOO_MANY_FILES,\n message: 'Too many files'\n}; // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with\n// that MIME type will always be accepted\n\nexport function fileAccepted(file, accept) {\n var isAcceptable = file.type === 'application/x-moz-file' || accepts(file, accept);\n return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)];\n}\nexport function fileMatchSize(file, minSize, maxSize) {\n if (isDefined(file.size)) {\n if (isDefined(minSize) && isDefined(maxSize)) {\n if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];\n } else if (isDefined(minSize) && file.size < minSize) return [false, getTooSmallRejectionErr(minSize)];else if (isDefined(maxSize) && file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)];\n }\n\n return [true, null];\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nexport function allFilesAccepted(_ref) {\n var files = _ref.files,\n accept = _ref.accept,\n minSize = _ref.minSize,\n maxSize = _ref.maxSize,\n multiple = _ref.multiple,\n maxFiles = _ref.maxFiles;\n\n if (!multiple && files.length > 1 || multiple && maxFiles >= 1 && files.length > maxFiles) {\n return false;\n }\n\n return files.every(function (file) {\n var _fileAccepted = fileAccepted(file, accept),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 1),\n accepted = _fileAccepted2[0];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1),\n sizeMatch = _fileMatchSize2[0];\n\n return accepted && sizeMatch;\n });\n} // React's synthetic events has event.isPropagationStopped,\n// but to remain compatibility with other libs (Preact) fall back\n// to check event.cancelBubble\n\nexport function isPropagationStopped(event) {\n if (typeof event.isPropagationStopped === 'function') {\n return event.isPropagationStopped();\n } else if (typeof event.cancelBubble !== 'undefined') {\n return event.cancelBubble;\n }\n\n return false;\n}\nexport function isEvtWithFiles(event) {\n if (!event.dataTransfer) {\n return !!event.target && !!event.target.files;\n } // https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types\n // https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types#file\n\n\n return Array.prototype.some.call(event.dataTransfer.types, function (type) {\n return type === 'Files' || type === 'application/x-moz-file';\n });\n}\nexport function isKindFile(item) {\n return _typeof(item) === 'object' && item !== null && item.kind === 'file';\n} // allow the entire document to be a drag target\n\nexport function onDocumentDragOver(event) {\n event.preventDefault();\n}\n\nfunction isIe(userAgent) {\n return userAgent.indexOf('MSIE') !== -1 || userAgent.indexOf('Trident/') !== -1;\n}\n\nfunction isEdge(userAgent) {\n return userAgent.indexOf('Edge/') !== -1;\n}\n\nexport function isIeOrEdge() {\n var userAgent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.navigator.userAgent;\n return isIe(userAgent) || isEdge(userAgent);\n}\n/**\n * This is intended to be used to compose event handlers\n * They are executed in order until one of them calls `event.isPropagationStopped()`.\n * Note that the check is done on the first invoke too,\n * meaning that if propagation was stopped before invoking the fns,\n * no handlers will be executed.\n *\n * @param {Function} fns the event hanlder functions\n * @return {Function} the event handler to add to an element\n */\n\nexport function composeEventHandlers() {\n for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n fns[_key] = arguments[_key];\n }\n\n return function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return fns.some(function (fn) {\n if (!isPropagationStopped(event) && fn) {\n fn.apply(void 0, [event].concat(args));\n }\n\n return isPropagationStopped(event);\n });\n };\n}\n/**\n * canUseFileSystemAccessAPI checks if the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)\n * is supported by the browser.\n * @returns {boolean}\n */\n\nexport function canUseFileSystemAccessAPI() {\n return 'showOpenFilePicker' in window;\n}\n/**\n * filePickerOptionsTypes returns the {types} option for https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n * based on the accept attr (see https://github.com/react-dropzone/attr-accept)\n * E.g: converts ['image/*', 'text/*'] to {'image/*': [], 'text/*': []}\n * @param {string|string[]} accept\n */\n\nexport function filePickerOptionsTypes(accept) {\n accept = typeof accept === 'string' ? accept.split(',') : accept;\n return [{\n description: 'everything',\n // TODO: Need to handle filtering more elegantly than this!\n accept: Array.isArray(accept) // Accept just MIME types as per spec\n // NOTE: accept can be https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers\n ? accept.filter(function (item) {\n return item === 'audio/*' || item === 'video/*' || item === 'image/*' || item === 'text/*' || /\\w+\\/[-+.\\w]+/g.test(item);\n }).reduce(function (a, b) {\n return _objectSpread(_objectSpread({}, a), {}, _defineProperty({}, b, []));\n }, {}) : {}\n }];\n}","var _excluded = [\"children\"],\n _excluded2 = [\"open\"],\n _excluded3 = [\"refKey\", \"role\", \"onKeyDown\", \"onFocus\", \"onBlur\", \"onClick\", \"onDragEnter\", \"onDragOver\", \"onDragLeave\", \"onDrop\"],\n _excluded4 = [\"refKey\", \"onChange\", \"onClick\"];\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* eslint prefer-template: 0 */\nimport React, { forwardRef, Fragment, useCallback, useEffect, useImperativeHandle, useMemo, useReducer, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { fromEvent } from 'file-selector';\nimport { allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, filePickerOptionsTypes, canUseFileSystemAccessAPI, isEvtWithFiles, isIeOrEdge, isPropagationStopped, onDocumentDragOver, TOO_MANY_FILES_REJECTION } from './utils/index';\n/**\n * Convenience wrapper component for the `useDropzone` hook\n *\n * ```jsx\n * <Dropzone>\n * {({getRootProps, getInputProps}) => (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag 'n' drop some files here, or click to select files</p>\n * </div>\n * )}\n * </Dropzone>\n * ```\n */\n\nvar Dropzone = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n params = _objectWithoutProperties(_ref, _excluded);\n\n var _useDropzone = useDropzone(params),\n open = _useDropzone.open,\n props = _objectWithoutProperties(_useDropzone, _excluded2);\n\n useImperativeHandle(ref, function () {\n return {\n open: open\n };\n }, [open]); // TODO: Figure out why react-styleguidist cannot create docs if we don't return a jsx element\n\n return /*#__PURE__*/React.createElement(Fragment, null, children(_objectSpread(_objectSpread({}, props), {}, {\n open: open\n })));\n});\nDropzone.displayName = 'Dropzone'; // Add default props for react-docgen\n\nvar defaultProps = {\n disabled: false,\n getFilesFromEvent: fromEvent,\n maxSize: Infinity,\n minSize: 0,\n multiple: true,\n maxFiles: 0,\n preventDropOnDocument: true,\n noClick: false,\n noKeyboard: false,\n noDrag: false,\n noDragEventsBubbling: false,\n validator: null,\n useFsAccessApi: false\n};\nDropzone.defaultProps = defaultProps;\nDropzone.propTypes = {\n /**\n * Render function that exposes the dropzone state and prop getter fns\n *\n * @param {object} params\n * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render\n * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render\n * @param {Function} params.open Open the native file selection dialog\n * @param {boolean} params.isFocused Dropzone area is in focus\n * @param {boolean} params.isFileDialogActive File dialog is opened\n * @param {boolean} params.isDragActive Active drag is in progress\n * @param {boolean} params.isDragAccept Dragged files are accepted\n * @param {boolean} params.isDragReject Some dragged files are rejected\n * @param {File[]} params.draggedFiles Files in active drag\n * @param {File[]} params.acceptedFiles Accepted files\n * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected\n */\n children: PropTypes.func,\n\n /**\n * Set accepted file types.\n * See https://github.com/okonet/attr-accept for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all.\n * See: https://github.com/react-dropzone/react-dropzone/issues/276\n */\n accept: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),\n\n /**\n * Allow drag 'n' drop (or selection from the file dialog) of multiple files\n */\n multiple: PropTypes.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: PropTypes.bool,\n\n /**\n * If true, disables click to open the native file selection dialog\n */\n noClick: PropTypes.bool,\n\n /**\n * If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n */\n noKeyboard: PropTypes.bool,\n\n /**\n * If true, disables drag 'n' drop\n */\n noDrag: PropTypes.bool,\n\n /**\n * If true, stops drag event propagation to parents\n */\n noDragEventsBubbling: PropTypes.bool,\n\n /**\n * Minimum file size (in bytes)\n */\n minSize: PropTypes.number,\n\n /**\n * Maximum file size (in bytes)\n */\n maxSize: PropTypes.number,\n\n /**\n * Maximum accepted number of files\n * The default value is 0 which means there is no limitation to how many files are accepted.\n */\n maxFiles: PropTypes.number,\n\n /**\n * Enable/disable the dropzone\n */\n disabled: PropTypes.bool,\n\n /**\n * Use this to provide a custom file aggregator\n *\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n getFilesFromEvent: PropTypes.func,\n\n /**\n * Cb for when closing the file dialog with no selection\n */\n onFileDialogCancel: PropTypes.func,\n\n /**\n * Cb for when opening the file dialog\n */\n onFileDialogOpen: PropTypes.func,\n\n /**\n * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n */\n useFsAccessApi: PropTypes.bool,\n\n /**\n * Cb for when the `dragenter` event occurs.\n *\n * @param {DragEvent} event\n */\n onDragEnter: PropTypes.func,\n\n /**\n * Cb for when the `dragleave` event occurs\n *\n * @param {DragEvent} event\n */\n onDragLeave: PropTypes.func,\n\n /**\n * Cb for when the `dragover` event occurs\n *\n * @param {DragEvent} event\n */\n onDragOver: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n *\n * @param {File[]} acceptedFiles\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n onDrop: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are accepted, this callback is not invoked.\n *\n * @param {File[]} files\n * @param {(DragEvent|Event)} event\n */\n onDropAccepted: PropTypes.func,\n\n /**\n * Cb for when the `drop` event occurs.\n * Note that if no files are rejected, this callback is not invoked.\n *\n * @param {FileRejection[]} fileRejections\n * @param {(DragEvent|Event)} event\n */\n onDropRejected: PropTypes.func,\n\n /**\n * Custom validation function\n * @param {File} file\n * @returns {FileError|FileError[]}\n */\n validator: PropTypes.func\n};\nexport default Dropzone;\n/**\n * A function that is invoked for the `dragenter`,\n * `dragover` and `dragleave` events.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dragCb\n * @param {DragEvent} event\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are not files (such as link, text, etc.).\n *\n * @callback dropCb\n * @param {File[]} acceptedFiles List of accepted files\n * @param {FileRejection[]} fileRejections List of rejected files and why they were rejected\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n * It is not invoked if the items are files (such as link, text, etc.).\n *\n * @callback dropAcceptedCb\n * @param {File[]} files List of accepted files that meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is invoked for the `drop` or input change event.\n *\n * @callback dropRejectedCb\n * @param {File[]} files List of rejected files that do not meet the given criteria\n * (`accept`, `multiple`, `minSize`, `maxSize`)\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n */\n\n/**\n * A function that is used aggregate files,\n * in a asynchronous fashion, from drag or input change events.\n *\n * @callback getFilesFromEvent\n * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)\n * @returns {(File[]|Promise<File[]>)}\n */\n\n/**\n * An object with the current dropzone state and some helper functions.\n *\n * @typedef {object} DropzoneState\n * @property {Function} getRootProps Returns the props you should apply to the root drop container you render\n * @property {Function} getInputProps Returns the props you should apply to hidden file input you render\n * @property {Function} open Open the native file selection dialog\n * @property {boolean} isFocused Dropzone area is in focus\n * @property {boolean} isFileDialogActive File dialog is opened\n * @property {boolean} isDragActive Active drag is in progress\n * @property {boolean} isDragAccept Dragged files are accepted\n * @property {boolean} isDragReject Some dragged files are rejected\n * @property {File[]} draggedFiles Files in active drag\n * @property {File[]} acceptedFiles Accepted files\n * @property {FileRejection[]} fileRejections Rejected files and why they were rejected\n */\n\nvar initialState = {\n isFocused: false,\n isFileDialogActive: false,\n isDragActive: false,\n isDragAccept: false,\n isDragReject: false,\n draggedFiles: [],\n acceptedFiles: [],\n fileRejections: []\n};\n/**\n * A React hook that creates a drag 'n' drop area.\n *\n * ```jsx\n * function MyDropzone(props) {\n * const {getRootProps, getInputProps} = useDropzone({\n * onDrop: acceptedFiles => {\n * // do something with the File objects, e.g. upload to some server\n * }\n * });\n * return (\n * <div {...getRootProps()}>\n * <input {...getInputProps()} />\n * <p>Drag and drop some files here, or click to select files</p>\n * </div>\n * )\n * }\n * ```\n *\n * @function useDropzone\n *\n * @param {object} props\n * @param {string|string[]} [props.accept] Set accepted file types.\n * See https://github.com/okonet/attr-accept for more information.\n * Keep in mind that mime type determination is not reliable across platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all.\n * See: https://github.com/react-dropzone/react-dropzone/issues/276\n * @param {boolean} [props.multiple=true] Allow drag 'n' drop (or selection from the file dialog) of multiple files\n * @param {boolean} [props.preventDropOnDocument=true] If false, allow dropped items to take over the current browser window\n * @param {boolean} [props.noClick=false] If true, disables click to open the native file selection dialog\n * @param {boolean} [props.noKeyboard=false] If true, disables SPACE/ENTER to open the native file selection dialog.\n * Note that it also stops tracking the focus state.\n * @param {boolean} [props.noDrag=false] If true, disables drag 'n' drop\n * @param {boolean} [props.noDragEventsBubbling=false] If true, stops drag event propagation to parents\n * @param {number} [props.minSize=0] Minimum file size (in bytes)\n * @param {number} [props.maxSize=Infinity] Maximum file size (in bytes)\n * @param {boolean} [props.disabled=false] Enable/disable the dropzone\n * @param {getFilesFromEvent} [props.getFilesFromEvent] Use this to provide a custom file aggregator\n * @param {Function} [props.onFileDialogCancel] Cb for when closing the file dialog with no selection\n * @param {boolean} [props.useFsAccessApi] Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API\n * to open the file picker instead of using an `<input type=\"file\">` click event.\n * @param {Function} [props.onFileDialogOpen] Cb for when opening the file dialog\n * @param {dragCb} [props.onDragEnter] Cb for when the `dragenter` event occurs.\n * @param {dragCb} [props.onDragLeave] Cb for when the `dragleave` event occurs\n * @param {dragCb} [props.onDragOver] Cb for when the `dragover` event occurs\n * @param {dropCb} [props.onDrop] Cb for when the `drop` event occurs.\n * Note that this callback is invoked after the `getFilesFromEvent` callback is done.\n *\n * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.\n * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.\n * If `multiple` is set to false and additional files are dropped,\n * all files besides the first will be rejected.\n * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.\n *\n * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.\n * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.\n *\n * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.\n * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:\n *\n * ```js\n * function onDrop(acceptedFiles) {\n * const req = request.post('/upload')\n * acceptedFiles.forEach(file => {\n * req.attach(file.name, file)\n * })\n * req.end(callback)\n * }\n * ```\n * @param {dropAcceptedCb} [props.onDropAccepted]\n * @param {dropRejectedCb} [props.onDropRejected]\n *\n * @returns {DropzoneState}\n */\n\nexport function useDropzone() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _defaultProps$options = _objectSpread(_objectSpread({}, defaultProps), options),\n accept = _defaultProps$options.accept,\n disabled = _defaultProps$options.disabled,\n getFilesFromEvent = _defaultProps$options.getFilesFromEvent,\n maxSize = _defaultProps$options.maxSize,\n minSize = _defaultProps$options.minSize,\n multiple = _defaultProps$options.multiple,\n maxFiles = _defaultProps$options.maxFiles,\n onDragEnter = _defaultProps$options.onDragEnter,\n onDragLeave = _defaultProps$options.onDragLeave,\n onDragOver = _defaultProps$options.onDragOver,\n onDrop = _defaultProps$options.onDrop,\n onDropAccepted = _defaultProps$options.onDropAccepted,\n onDropRejected = _defaultProps$options.onDropRejected,\n onFileDialogCancel = _defaultProps$options.onFileDialogCancel,\n onFileDialogOpen = _defaultProps$options.onFileDialogOpen,\n useFsAccessApi = _defaultProps$options.useFsAccessApi,\n preventDropOnDocument = _defaultProps$options.preventDropOnDocument,\n noClick = _defaultProps$options.noClick,\n noKeyboard = _defaultProps$options.noKeyboard,\n noDrag = _defaultProps$options.noDrag,\n noDragEventsBubbling = _defaultProps$options.noDragEventsBubbling,\n validator = _defaultProps$options.validator;\n\n var onFileDialogOpenCb = useMemo(function () {\n return typeof onFileDialogOpen === 'function' ? onFileDialogOpen : noop;\n }, [onFileDialogOpen]);\n var onFileDialogCancelCb = useMemo(function () {\n return typeof onFileDialogCancel === 'function' ? onFileDialogCancel : noop;\n }, [onFileDialogCancel]);\n var rootRef = useRef(null);\n var inputRef = useRef(null);\n\n var _useReducer = useReducer(reducer, initialState),\n _useReducer2 = _slicedToArray(_useReducer, 2),\n state = _useReducer2[0],\n dispatch = _useReducer2[1];\n\n var isFocused = state.isFocused,\n isFileDialogActive = state.isFileDialogActive,\n draggedFiles = state.draggedFiles; // Update file dialog active state when the window is focused on\n\n var onWindowFocus = function onWindowFocus() {\n // Execute the timeout only if the file dialog is opened in the browser\n if (isFileDialogActive) {\n setTimeout(function () {\n if (inputRef.current) {\n var files = inputRef.current.files;\n\n if (!files.length) {\n dispatch({\n type: 'closeDialog'\n });\n onFileDialogCancelCb();\n }\n }\n }, 300);\n }\n };\n\n useEffect(function () {\n if (useFsAccessApi && canUseFileSystemAccessAPI()) {\n return function () {};\n }\n\n window.addEventListener('focus', onWindowFocus, false);\n return function () {\n window.removeEventListener('focus', onWindowFocus, false);\n };\n }, [inputRef, isFileDialogActive, onFileDialogCancelCb, useFsAccessApi]);\n var dragTargetsRef = useRef([]);\n\n var onDocumentDrop = function onDocumentDrop(event) {\n if (rootRef.current && rootRef.current.contains(event.target)) {\n // If we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n\n event.preventDefault();\n dragTargetsRef.current = [];\n };\n\n useEffect(function () {\n if (preventDropOnDocument) {\n document.addEventListener('dragover', onDocumentDragOver, false);\n document.addEventListener('drop', onDocumentDrop, false);\n }\n\n return function () {\n if (preventDropOnDocument) {\n document.removeEventListener('dragover', onDocumentDragOver);\n document.removeEventListener('drop', onDocumentDrop);\n }\n };\n }, [rootRef, preventDropOnDocument]);\n var onDragEnterCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]);\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (draggedFiles) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n dispatch({\n draggedFiles: draggedFiles,\n isDragActive: true,\n type: 'setDraggedFiles'\n });\n\n if (onDragEnter) {\n onDragEnter(event);\n }\n });\n }\n }, [getFilesFromEvent, onDragEnter, noDragEventsBubbling]);\n var onDragOverCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event);\n var hasFiles = isEvtWithFiles(event);\n\n if (hasFiles && event.dataTransfer) {\n try {\n event.dataTransfer.dropEffect = 'copy';\n } catch (_unused) {}\n /* eslint-disable-line no-empty */\n\n }\n\n if (hasFiles && onDragOver) {\n onDragOver(event);\n }\n\n return false;\n }, [onDragOver, noDragEventsBubbling]);\n var onDragLeaveCb = useCallback(function (event) {\n event.preventDefault();\n event.persist();\n stopPropagation(event); // Only deactivate once the dropzone and all children have been left\n\n var targets = dragTargetsRef.current.filter(function (target) {\n return rootRef.current && rootRef.current.contains(target);\n }); // Make sure to remove a target present multiple times only once\n // (Firefox may fire dragenter/dragleave multiple times on the same element)\n\n var targetIdx = targets.indexOf(event.target);\n\n if (targetIdx !== -1) {\n targets.splice(targetIdx, 1);\n }\n\n dragTargetsRef.current = targets;\n\n if (targets.length > 0) {\n return;\n }\n\n dispatch({\n isDragActive: false,\n type: 'setDraggedFiles',\n draggedFiles: []\n });\n\n if (isEvtWithFiles(event) && onDragLeave) {\n onDragLeave(event);\n }\n }, [rootRef, onDragLeave, noDragEventsBubbling]);\n var setFiles = useCallback(function (files, event) {\n var acceptedFiles = [];\n var fileRejections = [];\n files.forEach(function (file) {\n var _fileAccepted = fileAccepted(file, accept),\n _fileAccepted2 = _slicedToArray(_fileAccepted, 2),\n accepted = _fileAccepted2[0],\n acceptError = _fileAccepted2[1];\n\n var _fileMatchSize = fileMatchSize(file, minSize, maxSize),\n _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2),\n sizeMatch = _fileMatchSize2[0],\n sizeError = _fileMatchSize2[1];\n\n var customErrors = validator ? validator(file) : null;\n\n if (accepted && sizeMatch && !customErrors) {\n acceptedFiles.push(file);\n } else {\n var errors = [acceptError, sizeError];\n\n if (customErrors) {\n errors = errors.concat(customErrors);\n }\n\n fileRejections.push({\n file: file,\n errors: errors.filter(function (e) {\n return e;\n })\n });\n }\n });\n\n if (!multiple && acceptedFiles.length > 1 || multiple && maxFiles >= 1 && acceptedFiles.length > maxFiles) {\n // Reject everything and empty accepted files\n acceptedFiles.forEach(function (file) {\n fileRejections.push({\n file: file,\n errors: [TOO_MANY_FILES_REJECTION]\n });\n });\n acceptedFiles.splice(0);\n }\n\n dispatch({\n acceptedFiles: acceptedFiles,\n fileRejections: fileRejections,\n type: 'setFiles'\n });\n\n if (onDrop) {\n onDrop(acceptedFiles, fileRejections, event);\n }\n\n if (fileRejections.length > 0 && onDropRejected) {\n onDropRejected(fileRejections, event);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted(acceptedFiles, event);\n }\n }, [dispatch, multiple, accept, minSize, maxSize, maxFiles, onDrop, onDropAccepted, onDropRejected, validator]);\n var onDropCb = useCallback(function (event) {\n event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done\n\n event.persist();\n stopPropagation(event);\n dragTargetsRef.current = [];\n\n if (isEvtWithFiles(event)) {\n Promise.resolve(getFilesFromEvent(event)).then(function (files) {\n if (isPropagationStopped(event) && !noDragEventsBubbling) {\n return;\n }\n\n setFiles(files, event);\n });\n }\n\n dispatch({\n type: 'reset'\n });\n }, [getFilesFromEvent, setFiles, noDragEventsBubbling]); // Fn for opening the file dialog programmatically\n\n var openFileDialog = useCallback(function () {\n if (useFsAccessApi && canUseFileSystemAccessAPI()) {\n dispatch({\n type: 'openDialog'\n });\n onFileDialogOpenCb(); // https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker\n\n var opts = {\n multiple: multiple,\n types: filePickerOptionsTypes(accept)\n };\n window.showOpenFilePicker(opts).then(function (handles) {\n return getFilesFromEvent(handles);\n }).then(function (files) {\n return setFiles(files, null);\n }).catch(function (e) {\n return onFileDialogCancelCb(e);\n }).finally(function () {\n return dispatch({\n type: 'closeDialog'\n });\n });\n return;\n }\n\n if (inputRef.current) {\n dispatch({\n type: 'openDialog'\n });\n onFileDialogOpenCb();\n inputRef.current.value = null;\n inputRef.current.click();\n }\n }, [dispatch, onFileDialogOpenCb, onFileDialogCancelCb, useFsAccessApi, setFiles, accept, multiple]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone\n\n var onKeyDownCb = useCallback(function (event) {\n // Ignore keyboard events bubbling up the DOM tree\n if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) {\n return;\n }\n\n if (event.keyCode === 32 || event.keyCode === 13) {\n event.preventDefault();\n openFileDialog();\n }\n }, [rootRef, inputRef, openFileDialog]); // Update focus state for the dropzone\n\n var onFocusCb = useCallback(function () {\n dispatch({\n type: 'focus'\n });\n }, []);\n var onBlurCb = useCallback(function () {\n dispatch({\n type: 'blur'\n });\n }, []); // Cb to open the file dialog when click occurs on the dropzone\n\n var onClickCb = useCallback(function () {\n if (noClick) {\n return;\n } // In IE11/Edge the file-browser dialog is blocking, therefore, use setTimeout()\n // to ensure React can handle state changes\n // See: https://github.com/react-dropzone/react-dropzone/issues/450\n\n\n if (isIeOrEdge()) {\n setTimeout(openFileDialog, 0);\n } else {\n openFileDialog();\n }\n }, [inputRef, noClick, openFileDialog]);\n\n var composeHandler = function composeHandler(fn) {\n return disabled ? null : fn;\n };\n\n var composeKeyboardHandler = function composeKeyboardHandler(fn) {\n return noKeyboard ? null : composeHandler(fn);\n };\n\n var composeDragHandler = function composeDragHandler(fn) {\n return noDrag ? null : composeHandler(fn);\n };\n\n var stopPropagation = function stopPropagation(event) {\n if (noDragEventsBubbling) {\n event.stopPropagation();\n }\n };\n\n var getRootProps = useMemo(function () {\n return function () {\n var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref2$refKey = _ref2.refKey,\n refKey = _ref2$refKey === void 0 ? 'ref' : _ref2$refKey,\n role = _ref2.role,\n onKeyDown = _ref2.onKeyDown,\n onFocus = _ref2.onFocus,\n onBlur = _ref2.onBlur,\n onClick = _ref2.onClick,\n onDragEnter = _ref2.onDragEnter,\n onDragOver = _ref2.onDragOver,\n onDragLeave = _ref2.onDragLeave,\n onDrop = _ref2.onDrop,\n rest = _objectWithoutProperties(_ref2, _excluded3);\n\n return _objectSpread(_objectSpread(_defineProperty({\n onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),\n onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),\n onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onClickCb)),\n onDragEnter: composeDragHandler(composeEventHandlers(onDragEnter, onDragEnterCb)),\n onDragOver: composeDragHandler(composeEventHandlers(onDragOver, onDragOverCb)),\n onDragLeave: composeDragHandler(composeEventHandlers(onDragLeave, onDragLeaveCb)),\n onDrop: composeDragHandler(composeEventHandlers(onDrop, onDropCb)),\n role: typeof role === 'string' && role !== '' ? role : 'button'\n }, refKey, rootRef), !disabled && !noKeyboard ? {\n tabIndex: 0\n } : {}), rest);\n };\n }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onClickCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, noKeyboard, noDrag, disabled]);\n var onInputElementClick = useCallback(function (event) {\n event.stopPropagation();\n }, []);\n var getInputProps = useMemo(function () {\n return function () {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref3$refKey = _ref3.refKey,\n refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,\n onChange = _ref3.onChange,\n onClick = _ref3.onClick,\n rest = _objectWithoutProperties(_ref3, _excluded4);\n\n var inputProps = _defineProperty({\n accept: accept,\n multiple: multiple,\n type: 'file',\n style: {\n display: 'none'\n },\n onChange: composeHandler(composeEventHandlers(onChange, onDropCb)),\n onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)),\n autoComplete: 'off',\n tabIndex: -1\n }, refKey, inputRef);\n\n return _objectSpread(_objectSpread({}, inputProps), rest);\n };\n }, [inputRef, accept, multiple, onDropCb, disabled]);\n var fileCount = draggedFiles.length;\n var isDragAccept = fileCount > 0 && allFilesAccepted({\n files: draggedFiles,\n accept: accept,\n minSize: minSize,\n maxSize: maxSize,\n multiple: multiple,\n maxFiles: maxFiles\n });\n var isDragReject = fileCount > 0 && !isDragAccept;\n return _objectSpread(_objectSpread({}, state), {}, {\n isDragAccept: isDragAccept,\n isDragReject: isDragReject,\n isFocused: isFocused && !disabled,\n getRootProps: getRootProps,\n getInputProps: getInputProps,\n rootRef: rootRef,\n inputRef: inputRef,\n open: composeHandler(openFileDialog)\n });\n}\n\nfunction reducer(state, action) {\n /* istanbul ignore next */\n switch (action.type) {\n case 'focus':\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: true\n });\n\n case 'blur':\n return _objectSpread(_objectSpread({}, state), {}, {\n isFocused: false\n });\n\n case 'openDialog':\n return _objectSpread(_objectSpread({}, initialState), {}, {\n isFileDialogActive: true\n });\n\n case 'closeDialog':\n return _objectSpread(_objectSpread({}, state), {}, {\n isFileDialogActive: false\n });\n\n case 'setDraggedFiles':\n /* eslint no-case-declarations: 0 */\n var isDragActive = action.isDragActive,\n draggedFiles = action.draggedFiles;\n return _objectSpread(_objectSpread({}, state), {}, {\n draggedFiles: draggedFiles,\n isDragActive: isDragActive\n });\n\n case 'setFiles':\n return _objectSpread(_objectSpread({}, state), {}, {\n acceptedFiles: action.acceptedFiles,\n fileRejections: action.fileRejections\n });\n\n case 'reset':\n return _objectSpread({}, initialState);\n\n default:\n return state;\n }\n}\n\nfunction noop() {}\n\nexport { ErrorCode } from './utils';","'use strict';\n\nvar isArray = Array.isArray;\nvar keyList = Object.keys;\nvar hasProp = Object.prototype.hasOwnProperty;\nvar hasElementType = typeof Element !== 'undefined';\n\nfunction equal(a, b) {\n // fast-deep-equal index.js 2.0.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = isArray(a)\n , arrB = isArray(b)\n , i\n , length\n , key;\n\n if (arrA && arrB) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n if (arrA != arrB) return false;\n\n var dateA = a instanceof Date\n , dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n\n var regexpA = a instanceof RegExp\n , regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n\n var keys = keyList(a);\n length = keys.length;\n\n if (length !== keyList(b).length)\n return false;\n\n for (i = length; i-- !== 0;)\n if (!hasProp.call(b, keys[i])) return false;\n // end fast-deep-equal\n\n // start react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element && b instanceof Element)\n return a === b;\n\n // custom handling for React\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner.\n // _owner contains circular references\n // and is not needed when comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of a react element\n continue;\n } else {\n // all other properties should be traversed as usual\n if (!equal(a[key], b[key])) return false;\n }\n }\n // end react-fast-compare\n\n // fast-deep-equal index.js 2.0.1\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function exportedEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if ((error.message && error.message.match(/stack|recursion/i)) || (error.number === -2146828260)) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","type EntryCallback = (entry: IntersectionObserverEntry) => void;\n\ntype CachedObserver = {\n observer: IntersectionObserver;\n entryCallbacks: Map<Element, EntryCallback>;\n};\n\ntype ObserverCache = Map<string, CachedObserver>;\n\ntype ObserverCachesByRoot = Map<\n IntersectionObserverInit['root'],\n ObserverCache\n>;\n\nexport type CachedIntersectionObserver = {\n observe: (\n node: Element,\n callback: (entry: IntersectionObserverEntry) => void,\n ) => void;\n unobserve: (node: Element) => void;\n};\n\nexport function createObserverCache() {\n const cachesByRoot: ObserverCachesByRoot = new Map();\n\n function getObserver({\n root,\n rootMargin,\n threshold,\n }: IntersectionObserverInit): CachedIntersectionObserver {\n let cacheByRoot = cachesByRoot.get(root);\n\n if (!cacheByRoot) {\n cacheByRoot = new Map();\n cachesByRoot.set(root, cacheByRoot);\n }\n\n const cacheKey = JSON.stringify({ rootMargin, threshold });\n let cachedObserver = cacheByRoot.get(cacheKey);\n\n if (!cachedObserver) {\n const entryCallbacks = new Map<Element, EntryCallback>();\n\n const observer = new IntersectionObserver(\n (entries) => {\n entries.forEach((entry) => {\n const callback = entryCallbacks.get(entry.target);\n callback?.(entry);\n });\n },\n { root, rootMargin, threshold },\n );\n\n cachedObserver = { observer, entryCallbacks };\n\n cacheByRoot.set(cacheKey, cachedObserver);\n }\n\n return {\n observe: (\n node: Element,\n callback: (entry: IntersectionObserverEntry) => void,\n ) => {\n cachedObserver?.entryCallbacks.set(node, callback);\n cachedObserver?.observer.observe(node);\n },\n unobserve: (node: Element) => {\n cachedObserver?.entryCallbacks.delete(node);\n cachedObserver?.observer.unobserve(node);\n },\n };\n }\n\n return { getObserver };\n}\n","import { useState, useCallback, useRef } from 'react';\nimport { CachedIntersectionObserver, createObserverCache } from './utils';\nimport { Omit } from './types';\n\nconst DEFAULT_ROOT_MARGIN = '0px';\nconst DEFAULT_THRESHOLD = [0];\n\nexport type IntersectionObserverHookArgs = Omit<\n IntersectionObserverInit,\n 'root'\n>;\n\nexport type IntersectionObserverHookRefCallbackNode = Element | null;\n\nexport type IntersectionObserverHookRefCallback = (\n node: IntersectionObserverHookRefCallbackNode,\n) => void;\n\nexport type IntersectionObserverHookRootRefCallbackNode = IntersectionObserverInit['root'];\n\nexport type IntersectionObserverHookRootRefCallback = (\n node: IntersectionObserverHookRootRefCallbackNode,\n) => void;\n\nexport type IntersectionObserverHookResult = [\n IntersectionObserverHookRefCallback,\n {\n entry: IntersectionObserverEntry | undefined;\n rootRef: IntersectionObserverHookRootRefCallback;\n },\n];\n\nconst observerCache = createObserverCache();\n\n// For more info:\n// https://developers.google.com/web/updates/2016/04/intersectionobserver\n// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API\nfunction useIntersectionObserver(\n args?: IntersectionObserverHookArgs,\n): IntersectionObserverHookResult {\n const rootMargin = args?.rootMargin ?? DEFAULT_ROOT_MARGIN;\n const threshold = args?.threshold ?? DEFAULT_THRESHOLD;\n\n const nodeRef = useRef<IntersectionObserverHookRefCallbackNode>(null);\n const rootRef = useRef<IntersectionObserverHookRootRefCallbackNode>(null);\n const observerRef = useRef<CachedIntersectionObserver | null>(null);\n\n const [entry, setEntry] = useState<IntersectionObserverEntry>();\n\n const observe = useCallback(() => {\n const node = nodeRef.current;\n\n if (!node) {\n setEntry(undefined);\n return;\n }\n\n const observer = observerCache.getObserver({\n root: rootRef.current,\n rootMargin,\n threshold,\n });\n\n observer.observe(node, (observedEntry) => {\n setEntry(observedEntry);\n });\n\n observerRef.current = observer;\n }, [rootMargin, threshold]);\n\n const unobserve = useCallback(() => {\n const currentObserver = observerRef.current;\n const node = nodeRef.current;\n\n if (node) {\n currentObserver?.unobserve(node);\n }\n\n observerRef.current = null;\n }, []);\n\n // React will call the ref callback with the DOM element when the component mounts,\n // and call it with null when it unmounts.\n // So, we don't need an useEffect etc to unobserve nodes.\n // When nodeRef.current is null, it will be unobserved and observe function\n // won't do anything.\n const refCallback = useCallback<IntersectionObserverHookRefCallback>(\n (node) => {\n unobserve();\n nodeRef.current = node;\n observe();\n },\n [observe, unobserve],\n );\n\n const rootRefCallback = useCallback<IntersectionObserverHookRootRefCallback>(\n (rootNode) => {\n unobserve();\n rootRef.current = rootNode;\n observe();\n },\n [observe, unobserve],\n );\n\n return [refCallback, { entry, rootRef: rootRefCallback }];\n}\n\nexport default useIntersectionObserver;\n","import { useState } from 'react';\nimport useIntersectionObserver, {\n IntersectionObserverHookArgs,\n IntersectionObserverHookResult,\n} from './useIntersectionObserver';\n\nexport type TrackVisibilityHookArgs = IntersectionObserverHookArgs;\n\nexport type TrackVisibilityHookResult = [\n IntersectionObserverHookResult[0],\n IntersectionObserverHookResult[1] & {\n isVisible: boolean;\n wasEverVisible: boolean;\n },\n];\n\nfunction useTrackVisibility(\n args?: IntersectionObserverHookArgs,\n): TrackVisibilityHookResult {\n const [ref, result] = useIntersectionObserver(args);\n const isVisible = Boolean(result.entry?.isIntersecting);\n const [wasEverVisible, setWasEverVisible] = useState(isVisible);\n\n if (isVisible && !wasEverVisible) {\n setWasEverVisible(true);\n }\n\n return [ref, { ...result, isVisible, wasEverVisible }];\n}\n\nexport default useTrackVisibility;\n","import { useEffect } from 'react';\nimport {\n useTrackVisibility,\n IntersectionObserverHookArgs,\n IntersectionObserverHookRefCallback as UseInfiniteScrollHookRefCallback,\n IntersectionObserverHookRootRefCallback as UseInfiniteScrollHookRootRefCallback,\n} from 'react-intersection-observer-hook';\n\nconst DEFAULT_DELAY_IN_MS = 100;\n\nexport {\n UseInfiniteScrollHookRefCallback,\n UseInfiniteScrollHookRootRefCallback,\n};\n\nexport type UseInfiniteScrollHookResult = [\n UseInfiniteScrollHookRefCallback,\n { rootRef: UseInfiniteScrollHookRootRefCallback },\n];\n\nexport type UseInfiniteScrollHookArgs = Pick<\n IntersectionObserverHookArgs,\n // We pass this to 'IntersectionObserver'. We can use it to configure when to trigger 'onLoadMore'.\n 'rootMargin'\n> & {\n // Some sort of \"is fetching\" info of the request.\n loading: boolean;\n // If the list has more items to load.\n hasNextPage: boolean;\n // The callback function to execute when the 'onLoadMore' is triggered.\n // eslint-disable-next-line no-undef\n onLoadMore: VoidFunction;\n // Flag to stop infinite scrolling. Can be used in case of an error etc too.\n disabled?: boolean;\n // How long it should wait before triggering 'onLoadMore'.\n delayInMs?: number;\n};\n\nfunction useInfiniteScroll({\n loading,\n hasNextPage,\n onLoadMore,\n rootMargin,\n disabled,\n delayInMs = DEFAULT_DELAY_IN_MS,\n}: UseInfiniteScrollHookArgs): UseInfiniteScrollHookResult {\n const [ref, { rootRef, isVisible }] = useTrackVisibility({\n rootMargin,\n });\n\n const shouldLoadMore = !disabled && !loading && isVisible && hasNextPage;\n\n // eslint-disable-next-line consistent-return\n useEffect(() => {\n if (shouldLoadMore) {\n // When we trigger 'onLoadMore' and new items are added to the list,\n // right before they become rendered on the screen, 'loading' becomes false\n // and 'isVisible' can be true for a brief time, based on the scroll position.\n // So, it triggers 'onLoadMore' just after the first one is finished.\n // We use a small delay here to prevent this kind of situations.\n // It can be configured by hook args.\n const timer = setTimeout(() => {\n onLoadMore();\n }, delayInMs);\n return () => {\n clearTimeout(timer);\n };\n }\n }, [onLoadMore, shouldLoadMore, delayInMs]);\n\n return [ref, { rootRef }];\n}\n\nexport default useInfiniteScroll;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","if (process.env.NODE_ENV !== 'development') {\n module.exports = {\n ReactQueryDevtools: function () {\n return null\n },\n ReactQueryDevtoolsPanel: function () {\n return null\n },\n }\n} else {\n module.exports = require('./development')\n}\n","import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { Subscribable } from './subscribable';\nimport { isServer } from './utils';\nexport var FocusManager = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(FocusManager, _Subscribable);\n\n function FocusManager() {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n\n _this.setup = function (onFocus) {\n var _window;\n\n if (!isServer && ((_window = window) == null ? void 0 : _window.addEventListener)) {\n var listener = function listener() {\n return onFocus();\n }; // Listen to visibillitychange and focus\n\n\n window.addEventListener('visibilitychange', listener, false);\n window.addEventListener('focus', listener, false);\n return function () {\n // Be sure to unsubscribe if a new handler is set\n window.removeEventListener('visibilitychange', listener);\n window.removeEventListener('focus', listener);\n };\n }\n };\n\n return _this;\n }\n\n var _proto = FocusManager.prototype;\n\n _proto.onSubscribe = function onSubscribe() {\n if (!this.cleanup) {\n this.setEventListener(this.setup);\n }\n };\n\n _proto.onUnsubscribe = function onUnsubscribe() {\n if (!this.hasListeners()) {\n var _this$cleanup;\n\n (_this$cleanup = this.cleanup) == null ? void 0 : _this$cleanup.call(this);\n this.cleanup = undefined;\n }\n };\n\n _proto.setEventListener = function setEventListener(setup) {\n var _this$cleanup2,\n _this2 = this;\n\n this.setup = setup;\n (_this$cleanup2 = this.cleanup) == null ? void 0 : _this$cleanup2.call(this);\n this.cleanup = setup(function (focused) {\n if (typeof focused === 'boolean') {\n _this2.setFocused(focused);\n } else {\n _this2.onFocus();\n }\n });\n };\n\n _proto.setFocused = function setFocused(focused) {\n this.focused = focused;\n\n if (focused) {\n this.onFocus();\n }\n };\n\n _proto.onFocus = function onFocus() {\n this.listeners.forEach(function (listener) {\n listener();\n });\n };\n\n _proto.isFocused = function isFocused() {\n if (typeof this.focused === 'boolean') {\n return this.focused;\n } // document global can be unavailable in react native\n\n\n if (typeof document === 'undefined') {\n return true;\n }\n\n return [undefined, 'visible', 'prerender'].includes(document.visibilityState);\n };\n\n return FocusManager;\n}(Subscribable);\nexport var focusManager = new FocusManager();","import { isCancelable } from './retryer';\nimport { getAbortController } from './utils';\nexport function infiniteQueryBehavior() {\n return {\n onFetch: function onFetch(context) {\n context.fetchFn = function () {\n var _context$fetchOptions, _context$fetchOptions2, _context$fetchOptions3, _context$fetchOptions4, _context$state$data, _context$state$data2;\n\n var refetchPage = (_context$fetchOptions = context.fetchOptions) == null ? void 0 : (_context$fetchOptions2 = _context$fetchOptions.meta) == null ? void 0 : _context$fetchOptions2.refetchPage;\n var fetchMore = (_context$fetchOptions3 = context.fetchOptions) == null ? void 0 : (_context$fetchOptions4 = _context$fetchOptions3.meta) == null ? void 0 : _context$fetchOptions4.fetchMore;\n var pageParam = fetchMore == null ? void 0 : fetchMore.pageParam;\n var isFetchingNextPage = (fetchMore == null ? void 0 : fetchMore.direction) === 'forward';\n var isFetchingPreviousPage = (fetchMore == null ? void 0 : fetchMore.direction) === 'backward';\n var oldPages = ((_context$state$data = context.state.data) == null ? void 0 : _context$state$data.pages) || [];\n var oldPageParams = ((_context$state$data2 = context.state.data) == null ? void 0 : _context$state$data2.pageParams) || [];\n var abortController = getAbortController();\n var abortSignal = abortController == null ? void 0 : abortController.signal;\n var newPageParams = oldPageParams;\n var cancelled = false; // Get query function\n\n var queryFn = context.options.queryFn || function () {\n return Promise.reject('Missing queryFn');\n };\n\n var buildNewPages = function buildNewPages(pages, param, page, previous) {\n newPageParams = previous ? [param].concat(newPageParams) : [].concat(newPageParams, [param]);\n return previous ? [page].concat(pages) : [].concat(pages, [page]);\n }; // Create function to fetch a page\n\n\n var fetchPage = function fetchPage(pages, manual, param, previous) {\n if (cancelled) {\n return Promise.reject('Cancelled');\n }\n\n if (typeof param === 'undefined' && !manual && pages.length) {\n return Promise.resolve(pages);\n }\n\n var queryFnContext = {\n queryKey: context.queryKey,\n signal: abortSignal,\n pageParam: param,\n meta: context.meta\n };\n var queryFnResult = queryFn(queryFnContext);\n var promise = Promise.resolve(queryFnResult).then(function (page) {\n return buildNewPages(pages, param, page, previous);\n });\n\n if (isCancelable(queryFnResult)) {\n var promiseAsAny = promise;\n promiseAsAny.cancel = queryFnResult.cancel;\n }\n\n return promise;\n };\n\n var promise; // Fetch first page?\n\n if (!oldPages.length) {\n promise = fetchPage([]);\n } // Fetch next page?\n else if (isFetchingNextPage) {\n var manual = typeof pageParam !== 'undefined';\n var param = manual ? pageParam : getNextPageParam(context.options, oldPages);\n promise = fetchPage(oldPages, manual, param);\n } // Fetch previous page?\n else if (isFetchingPreviousPage) {\n var _manual = typeof pageParam !== 'undefined';\n\n var _param = _manual ? pageParam : getPreviousPageParam(context.options, oldPages);\n\n promise = fetchPage(oldPages, _manual, _param, true);\n } // Refetch pages\n else {\n (function () {\n newPageParams = [];\n var manual = typeof context.options.getNextPageParam === 'undefined';\n var shouldFetchFirstPage = refetchPage && oldPages[0] ? refetchPage(oldPages[0], 0, oldPages) : true; // Fetch first page\n\n promise = shouldFetchFirstPage ? fetchPage([], manual, oldPageParams[0]) : Promise.resolve(buildNewPages([], oldPageParams[0], oldPages[0])); // Fetch remaining pages\n\n var _loop = function _loop(i) {\n promise = promise.then(function (pages) {\n var shouldFetchNextPage = refetchPage && oldPages[i] ? refetchPage(oldPages[i], i, oldPages) : true;\n\n if (shouldFetchNextPage) {\n var _param2 = manual ? oldPageParams[i] : getNextPageParam(context.options, pages);\n\n return fetchPage(pages, manual, _param2);\n }\n\n return Promise.resolve(buildNewPages(pages, oldPageParams[i], oldPages[i]));\n });\n };\n\n for (var i = 1; i < oldPages.length; i++) {\n _loop(i);\n }\n })();\n }\n\n var finalPromise = promise.then(function (pages) {\n return {\n pages: pages,\n pageParams: newPageParams\n };\n });\n var finalPromiseAsAny = finalPromise;\n\n finalPromiseAsAny.cancel = function () {\n cancelled = true;\n abortController == null ? void 0 : abortController.abort();\n\n if (isCancelable(promise)) {\n promise.cancel();\n }\n };\n\n return finalPromise;\n };\n }\n };\n}\nexport function getNextPageParam(options, pages) {\n return options.getNextPageParam == null ? void 0 : options.getNextPageParam(pages[pages.length - 1], pages);\n}\nexport function getPreviousPageParam(options, pages) {\n return options.getPreviousPageParam == null ? void 0 : options.getPreviousPageParam(pages[0], pages);\n}\n/**\n * Checks if there is a next page.\n * Returns `undefined` if it cannot be determined.\n */\n\nexport function hasNextPage(options, pages) {\n if (options.getNextPageParam && Array.isArray(pages)) {\n var nextPageParam = getNextPageParam(options, pages);\n return typeof nextPageParam !== 'undefined' && nextPageParam !== null && nextPageParam !== false;\n }\n}\n/**\n * Checks if there is a previous page.\n * Returns `undefined` if it cannot be determined.\n */\n\nexport function hasPreviousPage(options, pages) {\n if (options.getPreviousPageParam && Array.isArray(pages)) {\n var previousPageParam = getPreviousPageParam(options, pages);\n return typeof previousPageParam !== 'undefined' && previousPageParam !== null && previousPageParam !== false;\n }\n}","// TYPES\n// FUNCTIONS\nvar logger = console;\nexport function getLogger() {\n return logger;\n}\nexport function setLogger(newLogger) {\n logger = newLogger;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getLogger } from './logger';\nimport { notifyManager } from './notifyManager';\nimport { Retryer } from './retryer';\nimport { noop } from './utils'; // TYPES\n\n// CLASS\nexport var Mutation = /*#__PURE__*/function () {\n function Mutation(config) {\n this.options = _extends({}, config.defaultOptions, config.options);\n this.mutationId = config.mutationId;\n this.mutationCache = config.mutationCache;\n this.observers = [];\n this.state = config.state || getDefaultState();\n this.meta = config.meta;\n }\n\n var _proto = Mutation.prototype;\n\n _proto.setState = function setState(state) {\n this.dispatch({\n type: 'setState',\n state: state\n });\n };\n\n _proto.addObserver = function addObserver(observer) {\n if (this.observers.indexOf(observer) === -1) {\n this.observers.push(observer);\n }\n };\n\n _proto.removeObserver = function removeObserver(observer) {\n this.observers = this.observers.filter(function (x) {\n return x !== observer;\n });\n };\n\n _proto.cancel = function cancel() {\n if (this.retryer) {\n this.retryer.cancel();\n return this.retryer.promise.then(noop).catch(noop);\n }\n\n return Promise.resolve();\n };\n\n _proto.continue = function _continue() {\n if (this.retryer) {\n this.retryer.continue();\n return this.retryer.promise;\n }\n\n return this.execute();\n };\n\n _proto.execute = function execute() {\n var _this = this;\n\n var data;\n var restored = this.state.status === 'loading';\n var promise = Promise.resolve();\n\n if (!restored) {\n this.dispatch({\n type: 'loading',\n variables: this.options.variables\n });\n promise = promise.then(function () {\n // Notify cache callback\n _this.mutationCache.config.onMutate == null ? void 0 : _this.mutationCache.config.onMutate(_this.state.variables, _this);\n }).then(function () {\n return _this.options.onMutate == null ? void 0 : _this.options.onMutate(_this.state.variables);\n }).then(function (context) {\n if (context !== _this.state.context) {\n _this.dispatch({\n type: 'loading',\n context: context,\n variables: _this.state.variables\n });\n }\n });\n }\n\n return promise.then(function () {\n return _this.executeMutation();\n }).then(function (result) {\n data = result; // Notify cache callback\n\n _this.mutationCache.config.onSuccess == null ? void 0 : _this.mutationCache.config.onSuccess(data, _this.state.variables, _this.state.context, _this);\n }).then(function () {\n return _this.options.onSuccess == null ? void 0 : _this.options.onSuccess(data, _this.state.variables, _this.state.context);\n }).then(function () {\n return _this.options.onSettled == null ? void 0 : _this.options.onSettled(data, null, _this.state.variables, _this.state.context);\n }).then(function () {\n _this.dispatch({\n type: 'success',\n data: data\n });\n\n return data;\n }).catch(function (error) {\n // Notify cache callback\n _this.mutationCache.config.onError == null ? void 0 : _this.mutationCache.config.onError(error, _this.state.variables, _this.state.context, _this); // Log error\n\n getLogger().error(error);\n return Promise.resolve().then(function () {\n return _this.options.onError == null ? void 0 : _this.options.onError(error, _this.state.variables, _this.state.context);\n }).then(function () {\n return _this.options.onSettled == null ? void 0 : _this.options.onSettled(undefined, error, _this.state.variables, _this.state.context);\n }).then(function () {\n _this.dispatch({\n type: 'error',\n error: error\n });\n\n throw error;\n });\n });\n };\n\n _proto.executeMutation = function executeMutation() {\n var _this2 = this,\n _this$options$retry;\n\n this.retryer = new Retryer({\n fn: function fn() {\n if (!_this2.options.mutationFn) {\n return Promise.reject('No mutationFn found');\n }\n\n return _this2.options.mutationFn(_this2.state.variables);\n },\n onFail: function onFail() {\n _this2.dispatch({\n type: 'failed'\n });\n },\n onPause: function onPause() {\n _this2.dispatch({\n type: 'pause'\n });\n },\n onContinue: function onContinue() {\n _this2.dispatch({\n type: 'continue'\n });\n },\n retry: (_this$options$retry = this.options.retry) != null ? _this$options$retry : 0,\n retryDelay: this.options.retryDelay\n });\n return this.retryer.promise;\n };\n\n _proto.dispatch = function dispatch(action) {\n var _this3 = this;\n\n this.state = reducer(this.state, action);\n notifyManager.batch(function () {\n _this3.observers.forEach(function (observer) {\n observer.onMutationUpdate(action);\n });\n\n _this3.mutationCache.notify(_this3);\n });\n };\n\n return Mutation;\n}();\nexport function getDefaultState() {\n return {\n context: undefined,\n data: undefined,\n error: null,\n failureCount: 0,\n isPaused: false,\n status: 'idle',\n variables: undefined\n };\n}\n\nfunction reducer(state, action) {\n switch (action.type) {\n case 'failed':\n return _extends({}, state, {\n failureCount: state.failureCount + 1\n });\n\n case 'pause':\n return _extends({}, state, {\n isPaused: true\n });\n\n case 'continue':\n return _extends({}, state, {\n isPaused: false\n });\n\n case 'loading':\n return _extends({}, state, {\n context: action.context,\n data: undefined,\n error: null,\n isPaused: false,\n status: 'loading',\n variables: action.variables\n });\n\n case 'success':\n return _extends({}, state, {\n data: action.data,\n error: null,\n status: 'success',\n isPaused: false\n });\n\n case 'error':\n return _extends({}, state, {\n data: undefined,\n error: action.error,\n failureCount: state.failureCount + 1,\n isPaused: false,\n status: 'error'\n });\n\n case 'setState':\n return _extends({}, state, action.state);\n\n default:\n return state;\n }\n}","import { scheduleMicrotask } from './utils'; // TYPES\n\n// CLASS\nexport var NotifyManager = /*#__PURE__*/function () {\n function NotifyManager() {\n this.queue = [];\n this.transactions = 0;\n\n this.notifyFn = function (callback) {\n callback();\n };\n\n this.batchNotifyFn = function (callback) {\n callback();\n };\n }\n\n var _proto = NotifyManager.prototype;\n\n _proto.batch = function batch(callback) {\n var result;\n this.transactions++;\n\n try {\n result = callback();\n } finally {\n this.transactions--;\n\n if (!this.transactions) {\n this.flush();\n }\n }\n\n return result;\n };\n\n _proto.schedule = function schedule(callback) {\n var _this = this;\n\n if (this.transactions) {\n this.queue.push(callback);\n } else {\n scheduleMicrotask(function () {\n _this.notifyFn(callback);\n });\n }\n }\n /**\n * All calls to the wrapped function will be batched.\n */\n ;\n\n _proto.batchCalls = function batchCalls(callback) {\n var _this2 = this;\n\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this2.schedule(function () {\n callback.apply(void 0, args);\n });\n };\n };\n\n _proto.flush = function flush() {\n var _this3 = this;\n\n var queue = this.queue;\n this.queue = [];\n\n if (queue.length) {\n scheduleMicrotask(function () {\n _this3.batchNotifyFn(function () {\n queue.forEach(function (callback) {\n _this3.notifyFn(callback);\n });\n });\n });\n }\n }\n /**\n * Use this method to set a custom notify function.\n * This can be used to for example wrap notifications with `React.act` while running tests.\n */\n ;\n\n _proto.setNotifyFunction = function setNotifyFunction(fn) {\n this.notifyFn = fn;\n }\n /**\n * Use this method to set a custom function to batch notifications together into a single tick.\n * By default React Query will use the batch function provided by ReactDOM or React Native.\n */\n ;\n\n _proto.setBatchNotifyFunction = function setBatchNotifyFunction(fn) {\n this.batchNotifyFn = fn;\n };\n\n return NotifyManager;\n}(); // SINGLETON\n\nexport var notifyManager = new NotifyManager();","import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { Subscribable } from './subscribable';\nimport { isServer } from './utils';\nexport var OnlineManager = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(OnlineManager, _Subscribable);\n\n function OnlineManager() {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n\n _this.setup = function (onOnline) {\n var _window;\n\n if (!isServer && ((_window = window) == null ? void 0 : _window.addEventListener)) {\n var listener = function listener() {\n return onOnline();\n }; // Listen to online\n\n\n window.addEventListener('online', listener, false);\n window.addEventListener('offline', listener, false);\n return function () {\n // Be sure to unsubscribe if a new handler is set\n window.removeEventListener('online', listener);\n window.removeEventListener('offline', listener);\n };\n }\n };\n\n return _this;\n }\n\n var _proto = OnlineManager.prototype;\n\n _proto.onSubscribe = function onSubscribe() {\n if (!this.cleanup) {\n this.setEventListener(this.setup);\n }\n };\n\n _proto.onUnsubscribe = function onUnsubscribe() {\n if (!this.hasListeners()) {\n var _this$cleanup;\n\n (_this$cleanup = this.cleanup) == null ? void 0 : _this$cleanup.call(this);\n this.cleanup = undefined;\n }\n };\n\n _proto.setEventListener = function setEventListener(setup) {\n var _this$cleanup2,\n _this2 = this;\n\n this.setup = setup;\n (_this$cleanup2 = this.cleanup) == null ? void 0 : _this$cleanup2.call(this);\n this.cleanup = setup(function (online) {\n if (typeof online === 'boolean') {\n _this2.setOnline(online);\n } else {\n _this2.onOnline();\n }\n });\n };\n\n _proto.setOnline = function setOnline(online) {\n this.online = online;\n\n if (online) {\n this.onOnline();\n }\n };\n\n _proto.onOnline = function onOnline() {\n this.listeners.forEach(function (listener) {\n listener();\n });\n };\n\n _proto.isOnline = function isOnline() {\n if (typeof this.online === 'boolean') {\n return this.online;\n }\n\n if (typeof navigator === 'undefined' || typeof navigator.onLine === 'undefined') {\n return true;\n }\n\n return navigator.onLine;\n };\n\n return OnlineManager;\n}(Subscribable);\nexport var onlineManager = new OnlineManager();","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getAbortController, functionalUpdate, isValidTimeout, noop, replaceEqualDeep, timeUntilStale, ensureQueryKeyArray } from './utils';\nimport { notifyManager } from './notifyManager';\nimport { getLogger } from './logger';\nimport { Retryer, isCancelledError } from './retryer'; // TYPES\n\n// CLASS\nexport var Query = /*#__PURE__*/function () {\n function Query(config) {\n this.abortSignalConsumed = false;\n this.hadObservers = false;\n this.defaultOptions = config.defaultOptions;\n this.setOptions(config.options);\n this.observers = [];\n this.cache = config.cache;\n this.queryKey = config.queryKey;\n this.queryHash = config.queryHash;\n this.initialState = config.state || this.getDefaultState(this.options);\n this.state = this.initialState;\n this.meta = config.meta;\n this.scheduleGc();\n }\n\n var _proto = Query.prototype;\n\n _proto.setOptions = function setOptions(options) {\n var _this$options$cacheTi;\n\n this.options = _extends({}, this.defaultOptions, options);\n this.meta = options == null ? void 0 : options.meta; // Default to 5 minutes if not cache time is set\n\n this.cacheTime = Math.max(this.cacheTime || 0, (_this$options$cacheTi = this.options.cacheTime) != null ? _this$options$cacheTi : 5 * 60 * 1000);\n };\n\n _proto.setDefaultOptions = function setDefaultOptions(options) {\n this.defaultOptions = options;\n };\n\n _proto.scheduleGc = function scheduleGc() {\n var _this = this;\n\n this.clearGcTimeout();\n\n if (isValidTimeout(this.cacheTime)) {\n this.gcTimeout = setTimeout(function () {\n _this.optionalRemove();\n }, this.cacheTime);\n }\n };\n\n _proto.clearGcTimeout = function clearGcTimeout() {\n if (this.gcTimeout) {\n clearTimeout(this.gcTimeout);\n this.gcTimeout = undefined;\n }\n };\n\n _proto.optionalRemove = function optionalRemove() {\n if (!this.observers.length) {\n if (this.state.isFetching) {\n if (this.hadObservers) {\n this.scheduleGc();\n }\n } else {\n this.cache.remove(this);\n }\n }\n };\n\n _proto.setData = function setData(updater, options) {\n var _this$options$isDataE, _this$options;\n\n var prevData = this.state.data; // Get the new data\n\n var data = functionalUpdate(updater, prevData); // Use prev data if an isDataEqual function is defined and returns `true`\n\n if ((_this$options$isDataE = (_this$options = this.options).isDataEqual) == null ? void 0 : _this$options$isDataE.call(_this$options, prevData, data)) {\n data = prevData;\n } else if (this.options.structuralSharing !== false) {\n // Structurally share data between prev and new data if needed\n data = replaceEqualDeep(prevData, data);\n } // Set data and mark it as cached\n\n\n this.dispatch({\n data: data,\n type: 'success',\n dataUpdatedAt: options == null ? void 0 : options.updatedAt\n });\n return data;\n };\n\n _proto.setState = function setState(state, setStateOptions) {\n this.dispatch({\n type: 'setState',\n state: state,\n setStateOptions: setStateOptions\n });\n };\n\n _proto.cancel = function cancel(options) {\n var _this$retryer;\n\n var promise = this.promise;\n (_this$retryer = this.retryer) == null ? void 0 : _this$retryer.cancel(options);\n return promise ? promise.then(noop).catch(noop) : Promise.resolve();\n };\n\n _proto.destroy = function destroy() {\n this.clearGcTimeout();\n this.cancel({\n silent: true\n });\n };\n\n _proto.reset = function reset() {\n this.destroy();\n this.setState(this.initialState);\n };\n\n _proto.isActive = function isActive() {\n return this.observers.some(function (observer) {\n return observer.options.enabled !== false;\n });\n };\n\n _proto.isFetching = function isFetching() {\n return this.state.isFetching;\n };\n\n _proto.isStale = function isStale() {\n return this.state.isInvalidated || !this.state.dataUpdatedAt || this.observers.some(function (observer) {\n return observer.getCurrentResult().isStale;\n });\n };\n\n _proto.isStaleByTime = function isStaleByTime(staleTime) {\n if (staleTime === void 0) {\n staleTime = 0;\n }\n\n return this.state.isInvalidated || !this.state.dataUpdatedAt || !timeUntilStale(this.state.dataUpdatedAt, staleTime);\n };\n\n _proto.onFocus = function onFocus() {\n var _this$retryer2;\n\n var observer = this.observers.find(function (x) {\n return x.shouldFetchOnWindowFocus();\n });\n\n if (observer) {\n observer.refetch();\n } // Continue fetch if currently paused\n\n\n (_this$retryer2 = this.retryer) == null ? void 0 : _this$retryer2.continue();\n };\n\n _proto.onOnline = function onOnline() {\n var _this$retryer3;\n\n var observer = this.observers.find(function (x) {\n return x.shouldFetchOnReconnect();\n });\n\n if (observer) {\n observer.refetch();\n } // Continue fetch if currently paused\n\n\n (_this$retryer3 = this.retryer) == null ? void 0 : _this$retryer3.continue();\n };\n\n _proto.addObserver = function addObserver(observer) {\n if (this.observers.indexOf(observer) === -1) {\n this.observers.push(observer);\n this.hadObservers = true; // Stop the query from being garbage collected\n\n this.clearGcTimeout();\n this.cache.notify({\n type: 'observerAdded',\n query: this,\n observer: observer\n });\n }\n };\n\n _proto.removeObserver = function removeObserver(observer) {\n if (this.observers.indexOf(observer) !== -1) {\n this.observers = this.observers.filter(function (x) {\n return x !== observer;\n });\n\n if (!this.observers.length) {\n // If the transport layer does not support cancellation\n // we'll let the query continue so the result can be cached\n if (this.retryer) {\n if (this.retryer.isTransportCancelable || this.abortSignalConsumed) {\n this.retryer.cancel({\n revert: true\n });\n } else {\n this.retryer.cancelRetry();\n }\n }\n\n if (this.cacheTime) {\n this.scheduleGc();\n } else {\n this.cache.remove(this);\n }\n }\n\n this.cache.notify({\n type: 'observerRemoved',\n query: this,\n observer: observer\n });\n }\n };\n\n _proto.getObserversCount = function getObserversCount() {\n return this.observers.length;\n };\n\n _proto.invalidate = function invalidate() {\n if (!this.state.isInvalidated) {\n this.dispatch({\n type: 'invalidate'\n });\n }\n };\n\n _proto.fetch = function fetch(options, fetchOptions) {\n var _this2 = this,\n _this$options$behavio,\n _context$fetchOptions,\n _abortController$abor;\n\n if (this.state.isFetching) {\n if (this.state.dataUpdatedAt && (fetchOptions == null ? void 0 : fetchOptions.cancelRefetch)) {\n // Silently cancel current fetch if the user wants to cancel refetches\n this.cancel({\n silent: true\n });\n } else if (this.promise) {\n var _this$retryer4;\n\n // make sure that retries that were potentially cancelled due to unmounts can continue\n (_this$retryer4 = this.retryer) == null ? void 0 : _this$retryer4.continueRetry(); // Return current promise if we are already fetching\n\n return this.promise;\n }\n } // Update config if passed, otherwise the config from the last execution is used\n\n\n if (options) {\n this.setOptions(options);\n } // Use the options from the first observer with a query function if no function is found.\n // This can happen when the query is hydrated or created with setQueryData.\n\n\n if (!this.options.queryFn) {\n var observer = this.observers.find(function (x) {\n return x.options.queryFn;\n });\n\n if (observer) {\n this.setOptions(observer.options);\n }\n }\n\n var queryKey = ensureQueryKeyArray(this.queryKey);\n var abortController = getAbortController(); // Create query function context\n\n var queryFnContext = {\n queryKey: queryKey,\n pageParam: undefined,\n meta: this.meta\n };\n Object.defineProperty(queryFnContext, 'signal', {\n enumerable: true,\n get: function get() {\n if (abortController) {\n _this2.abortSignalConsumed = true;\n return abortController.signal;\n }\n\n return undefined;\n }\n }); // Create fetch function\n\n var fetchFn = function fetchFn() {\n if (!_this2.options.queryFn) {\n return Promise.reject('Missing queryFn');\n }\n\n _this2.abortSignalConsumed = false;\n return _this2.options.queryFn(queryFnContext);\n }; // Trigger behavior hook\n\n\n var context = {\n fetchOptions: fetchOptions,\n options: this.options,\n queryKey: queryKey,\n state: this.state,\n fetchFn: fetchFn,\n meta: this.meta\n };\n\n if ((_this$options$behavio = this.options.behavior) == null ? void 0 : _this$options$behavio.onFetch) {\n var _this$options$behavio2;\n\n (_this$options$behavio2 = this.options.behavior) == null ? void 0 : _this$options$behavio2.onFetch(context);\n } // Store state in case the current fetch needs to be reverted\n\n\n this.revertState = this.state; // Set to fetching state if not already in it\n\n if (!this.state.isFetching || this.state.fetchMeta !== ((_context$fetchOptions = context.fetchOptions) == null ? void 0 : _context$fetchOptions.meta)) {\n var _context$fetchOptions2;\n\n this.dispatch({\n type: 'fetch',\n meta: (_context$fetchOptions2 = context.fetchOptions) == null ? void 0 : _context$fetchOptions2.meta\n });\n } // Try to fetch the data\n\n\n this.retryer = new Retryer({\n fn: context.fetchFn,\n abort: abortController == null ? void 0 : (_abortController$abor = abortController.abort) == null ? void 0 : _abortController$abor.bind(abortController),\n onSuccess: function onSuccess(data) {\n _this2.setData(data); // Notify cache callback\n\n\n _this2.cache.config.onSuccess == null ? void 0 : _this2.cache.config.onSuccess(data, _this2); // Remove query after fetching if cache time is 0\n\n if (_this2.cacheTime === 0) {\n _this2.optionalRemove();\n }\n },\n onError: function onError(error) {\n // Optimistically update state if needed\n if (!(isCancelledError(error) && error.silent)) {\n _this2.dispatch({\n type: 'error',\n error: error\n });\n }\n\n if (!isCancelledError(error)) {\n // Notify cache callback\n _this2.cache.config.onError == null ? void 0 : _this2.cache.config.onError(error, _this2); // Log error\n\n getLogger().error(error);\n } // Remove query after fetching if cache time is 0\n\n\n if (_this2.cacheTime === 0) {\n _this2.optionalRemove();\n }\n },\n onFail: function onFail() {\n _this2.dispatch({\n type: 'failed'\n });\n },\n onPause: function onPause() {\n _this2.dispatch({\n type: 'pause'\n });\n },\n onContinue: function onContinue() {\n _this2.dispatch({\n type: 'continue'\n });\n },\n retry: context.options.retry,\n retryDelay: context.options.retryDelay\n });\n this.promise = this.retryer.promise;\n return this.promise;\n };\n\n _proto.dispatch = function dispatch(action) {\n var _this3 = this;\n\n this.state = this.reducer(this.state, action);\n notifyManager.batch(function () {\n _this3.observers.forEach(function (observer) {\n observer.onQueryUpdate(action);\n });\n\n _this3.cache.notify({\n query: _this3,\n type: 'queryUpdated',\n action: action\n });\n });\n };\n\n _proto.getDefaultState = function getDefaultState(options) {\n var data = typeof options.initialData === 'function' ? options.initialData() : options.initialData;\n var hasInitialData = typeof options.initialData !== 'undefined';\n var initialDataUpdatedAt = hasInitialData ? typeof options.initialDataUpdatedAt === 'function' ? options.initialDataUpdatedAt() : options.initialDataUpdatedAt : 0;\n var hasData = typeof data !== 'undefined';\n return {\n data: data,\n dataUpdateCount: 0,\n dataUpdatedAt: hasData ? initialDataUpdatedAt != null ? initialDataUpdatedAt : Date.now() : 0,\n error: null,\n errorUpdateCount: 0,\n errorUpdatedAt: 0,\n fetchFailureCount: 0,\n fetchMeta: null,\n isFetching: false,\n isInvalidated: false,\n isPaused: false,\n status: hasData ? 'success' : 'idle'\n };\n };\n\n _proto.reducer = function reducer(state, action) {\n var _action$meta, _action$dataUpdatedAt;\n\n switch (action.type) {\n case 'failed':\n return _extends({}, state, {\n fetchFailureCount: state.fetchFailureCount + 1\n });\n\n case 'pause':\n return _extends({}, state, {\n isPaused: true\n });\n\n case 'continue':\n return _extends({}, state, {\n isPaused: false\n });\n\n case 'fetch':\n return _extends({}, state, {\n fetchFailureCount: 0,\n fetchMeta: (_action$meta = action.meta) != null ? _action$meta : null,\n isFetching: true,\n isPaused: false\n }, !state.dataUpdatedAt && {\n error: null,\n status: 'loading'\n });\n\n case 'success':\n return _extends({}, state, {\n data: action.data,\n dataUpdateCount: state.dataUpdateCount + 1,\n dataUpdatedAt: (_action$dataUpdatedAt = action.dataUpdatedAt) != null ? _action$dataUpdatedAt : Date.now(),\n error: null,\n fetchFailureCount: 0,\n isFetching: false,\n isInvalidated: false,\n isPaused: false,\n status: 'success'\n });\n\n case 'error':\n var error = action.error;\n\n if (isCancelledError(error) && error.revert && this.revertState) {\n return _extends({}, this.revertState);\n }\n\n return _extends({}, state, {\n error: error,\n errorUpdateCount: state.errorUpdateCount + 1,\n errorUpdatedAt: Date.now(),\n fetchFailureCount: state.fetchFailureCount + 1,\n isFetching: false,\n isPaused: false,\n status: 'error'\n });\n\n case 'invalidate':\n return _extends({}, state, {\n isInvalidated: true\n });\n\n case 'setState':\n return _extends({}, state, action.state);\n\n default:\n return state;\n }\n };\n\n return Query;\n}();","import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { hashQueryKeyByOptions, matchQuery, parseFilterArgs } from './utils';\nimport { Query } from './query';\nimport { notifyManager } from './notifyManager';\nimport { Subscribable } from './subscribable';\n// CLASS\nexport var QueryCache = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(QueryCache, _Subscribable);\n\n function QueryCache(config) {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n _this.config = config || {};\n _this.queries = [];\n _this.queriesMap = {};\n return _this;\n }\n\n var _proto = QueryCache.prototype;\n\n _proto.build = function build(client, options, state) {\n var _options$queryHash;\n\n var queryKey = options.queryKey;\n var queryHash = (_options$queryHash = options.queryHash) != null ? _options$queryHash : hashQueryKeyByOptions(queryKey, options);\n var query = this.get(queryHash);\n\n if (!query) {\n query = new Query({\n cache: this,\n queryKey: queryKey,\n queryHash: queryHash,\n options: client.defaultQueryOptions(options),\n state: state,\n defaultOptions: client.getQueryDefaults(queryKey),\n meta: options.meta\n });\n this.add(query);\n }\n\n return query;\n };\n\n _proto.add = function add(query) {\n if (!this.queriesMap[query.queryHash]) {\n this.queriesMap[query.queryHash] = query;\n this.queries.push(query);\n this.notify({\n type: 'queryAdded',\n query: query\n });\n }\n };\n\n _proto.remove = function remove(query) {\n var queryInMap = this.queriesMap[query.queryHash];\n\n if (queryInMap) {\n query.destroy();\n this.queries = this.queries.filter(function (x) {\n return x !== query;\n });\n\n if (queryInMap === query) {\n delete this.queriesMap[query.queryHash];\n }\n\n this.notify({\n type: 'queryRemoved',\n query: query\n });\n }\n };\n\n _proto.clear = function clear() {\n var _this2 = this;\n\n notifyManager.batch(function () {\n _this2.queries.forEach(function (query) {\n _this2.remove(query);\n });\n });\n };\n\n _proto.get = function get(queryHash) {\n return this.queriesMap[queryHash];\n };\n\n _proto.getAll = function getAll() {\n return this.queries;\n };\n\n _proto.find = function find(arg1, arg2) {\n var _parseFilterArgs = parseFilterArgs(arg1, arg2),\n filters = _parseFilterArgs[0];\n\n if (typeof filters.exact === 'undefined') {\n filters.exact = true;\n }\n\n return this.queries.find(function (query) {\n return matchQuery(filters, query);\n });\n };\n\n _proto.findAll = function findAll(arg1, arg2) {\n var _parseFilterArgs2 = parseFilterArgs(arg1, arg2),\n filters = _parseFilterArgs2[0];\n\n return Object.keys(filters).length > 0 ? this.queries.filter(function (query) {\n return matchQuery(filters, query);\n }) : this.queries;\n };\n\n _proto.notify = function notify(event) {\n var _this3 = this;\n\n notifyManager.batch(function () {\n _this3.listeners.forEach(function (listener) {\n listener(event);\n });\n });\n };\n\n _proto.onFocus = function onFocus() {\n var _this4 = this;\n\n notifyManager.batch(function () {\n _this4.queries.forEach(function (query) {\n query.onFocus();\n });\n });\n };\n\n _proto.onOnline = function onOnline() {\n var _this5 = this;\n\n notifyManager.batch(function () {\n _this5.queries.forEach(function (query) {\n query.onOnline();\n });\n });\n };\n\n return QueryCache;\n}(Subscribable);","import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { notifyManager } from './notifyManager';\nimport { Mutation } from './mutation';\nimport { matchMutation, noop } from './utils';\nimport { Subscribable } from './subscribable'; // TYPES\n\n// CLASS\nexport var MutationCache = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(MutationCache, _Subscribable);\n\n function MutationCache(config) {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n _this.config = config || {};\n _this.mutations = [];\n _this.mutationId = 0;\n return _this;\n }\n\n var _proto = MutationCache.prototype;\n\n _proto.build = function build(client, options, state) {\n var mutation = new Mutation({\n mutationCache: this,\n mutationId: ++this.mutationId,\n options: client.defaultMutationOptions(options),\n state: state,\n defaultOptions: options.mutationKey ? client.getMutationDefaults(options.mutationKey) : undefined,\n meta: options.meta\n });\n this.add(mutation);\n return mutation;\n };\n\n _proto.add = function add(mutation) {\n this.mutations.push(mutation);\n this.notify(mutation);\n };\n\n _proto.remove = function remove(mutation) {\n this.mutations = this.mutations.filter(function (x) {\n return x !== mutation;\n });\n mutation.cancel();\n this.notify(mutation);\n };\n\n _proto.clear = function clear() {\n var _this2 = this;\n\n notifyManager.batch(function () {\n _this2.mutations.forEach(function (mutation) {\n _this2.remove(mutation);\n });\n });\n };\n\n _proto.getAll = function getAll() {\n return this.mutations;\n };\n\n _proto.find = function find(filters) {\n if (typeof filters.exact === 'undefined') {\n filters.exact = true;\n }\n\n return this.mutations.find(function (mutation) {\n return matchMutation(filters, mutation);\n });\n };\n\n _proto.findAll = function findAll(filters) {\n return this.mutations.filter(function (mutation) {\n return matchMutation(filters, mutation);\n });\n };\n\n _proto.notify = function notify(mutation) {\n var _this3 = this;\n\n notifyManager.batch(function () {\n _this3.listeners.forEach(function (listener) {\n listener(mutation);\n });\n });\n };\n\n _proto.onFocus = function onFocus() {\n this.resumePausedMutations();\n };\n\n _proto.onOnline = function onOnline() {\n this.resumePausedMutations();\n };\n\n _proto.resumePausedMutations = function resumePausedMutations() {\n var pausedMutations = this.mutations.filter(function (x) {\n return x.state.isPaused;\n });\n return notifyManager.batch(function () {\n return pausedMutations.reduce(function (promise, mutation) {\n return promise.then(function () {\n return mutation.continue().catch(noop);\n });\n }, Promise.resolve());\n });\n };\n\n return MutationCache;\n}(Subscribable);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { hashQueryKey, noop, parseFilterArgs, parseQueryArgs, partialMatchKey, hashQueryKeyByOptions } from './utils';\nimport { QueryCache } from './queryCache';\nimport { MutationCache } from './mutationCache';\nimport { focusManager } from './focusManager';\nimport { onlineManager } from './onlineManager';\nimport { notifyManager } from './notifyManager';\nimport { infiniteQueryBehavior } from './infiniteQueryBehavior';\n// CLASS\nexport var QueryClient = /*#__PURE__*/function () {\n function QueryClient(config) {\n if (config === void 0) {\n config = {};\n }\n\n this.queryCache = config.queryCache || new QueryCache();\n this.mutationCache = config.mutationCache || new MutationCache();\n this.defaultOptions = config.defaultOptions || {};\n this.queryDefaults = [];\n this.mutationDefaults = [];\n }\n\n var _proto = QueryClient.prototype;\n\n _proto.mount = function mount() {\n var _this = this;\n\n this.unsubscribeFocus = focusManager.subscribe(function () {\n if (focusManager.isFocused() && onlineManager.isOnline()) {\n _this.mutationCache.onFocus();\n\n _this.queryCache.onFocus();\n }\n });\n this.unsubscribeOnline = onlineManager.subscribe(function () {\n if (focusManager.isFocused() && onlineManager.isOnline()) {\n _this.mutationCache.onOnline();\n\n _this.queryCache.onOnline();\n }\n });\n };\n\n _proto.unmount = function unmount() {\n var _this$unsubscribeFocu, _this$unsubscribeOnli;\n\n (_this$unsubscribeFocu = this.unsubscribeFocus) == null ? void 0 : _this$unsubscribeFocu.call(this);\n (_this$unsubscribeOnli = this.unsubscribeOnline) == null ? void 0 : _this$unsubscribeOnli.call(this);\n };\n\n _proto.isFetching = function isFetching(arg1, arg2) {\n var _parseFilterArgs = parseFilterArgs(arg1, arg2),\n filters = _parseFilterArgs[0];\n\n filters.fetching = true;\n return this.queryCache.findAll(filters).length;\n };\n\n _proto.isMutating = function isMutating(filters) {\n return this.mutationCache.findAll(_extends({}, filters, {\n fetching: true\n })).length;\n };\n\n _proto.getQueryData = function getQueryData(queryKey, filters) {\n var _this$queryCache$find;\n\n return (_this$queryCache$find = this.queryCache.find(queryKey, filters)) == null ? void 0 : _this$queryCache$find.state.data;\n };\n\n _proto.getQueriesData = function getQueriesData(queryKeyOrFilters) {\n return this.getQueryCache().findAll(queryKeyOrFilters).map(function (_ref) {\n var queryKey = _ref.queryKey,\n state = _ref.state;\n var data = state.data;\n return [queryKey, data];\n });\n };\n\n _proto.setQueryData = function setQueryData(queryKey, updater, options) {\n var parsedOptions = parseQueryArgs(queryKey);\n var defaultedOptions = this.defaultQueryOptions(parsedOptions);\n return this.queryCache.build(this, defaultedOptions).setData(updater, options);\n };\n\n _proto.setQueriesData = function setQueriesData(queryKeyOrFilters, updater, options) {\n var _this2 = this;\n\n return notifyManager.batch(function () {\n return _this2.getQueryCache().findAll(queryKeyOrFilters).map(function (_ref2) {\n var queryKey = _ref2.queryKey;\n return [queryKey, _this2.setQueryData(queryKey, updater, options)];\n });\n });\n };\n\n _proto.getQueryState = function getQueryState(queryKey, filters) {\n var _this$queryCache$find2;\n\n return (_this$queryCache$find2 = this.queryCache.find(queryKey, filters)) == null ? void 0 : _this$queryCache$find2.state;\n };\n\n _proto.removeQueries = function removeQueries(arg1, arg2) {\n var _parseFilterArgs2 = parseFilterArgs(arg1, arg2),\n filters = _parseFilterArgs2[0];\n\n var queryCache = this.queryCache;\n notifyManager.batch(function () {\n queryCache.findAll(filters).forEach(function (query) {\n queryCache.remove(query);\n });\n });\n };\n\n _proto.resetQueries = function resetQueries(arg1, arg2, arg3) {\n var _this3 = this;\n\n var _parseFilterArgs3 = parseFilterArgs(arg1, arg2, arg3),\n filters = _parseFilterArgs3[0],\n options = _parseFilterArgs3[1];\n\n var queryCache = this.queryCache;\n\n var refetchFilters = _extends({}, filters, {\n active: true\n });\n\n return notifyManager.batch(function () {\n queryCache.findAll(filters).forEach(function (query) {\n query.reset();\n });\n return _this3.refetchQueries(refetchFilters, options);\n });\n };\n\n _proto.cancelQueries = function cancelQueries(arg1, arg2, arg3) {\n var _this4 = this;\n\n var _parseFilterArgs4 = parseFilterArgs(arg1, arg2, arg3),\n filters = _parseFilterArgs4[0],\n _parseFilterArgs4$ = _parseFilterArgs4[1],\n cancelOptions = _parseFilterArgs4$ === void 0 ? {} : _parseFilterArgs4$;\n\n if (typeof cancelOptions.revert === 'undefined') {\n cancelOptions.revert = true;\n }\n\n var promises = notifyManager.batch(function () {\n return _this4.queryCache.findAll(filters).map(function (query) {\n return query.cancel(cancelOptions);\n });\n });\n return Promise.all(promises).then(noop).catch(noop);\n };\n\n _proto.invalidateQueries = function invalidateQueries(arg1, arg2, arg3) {\n var _ref3,\n _filters$refetchActiv,\n _filters$refetchInact,\n _this5 = this;\n\n var _parseFilterArgs5 = parseFilterArgs(arg1, arg2, arg3),\n filters = _parseFilterArgs5[0],\n options = _parseFilterArgs5[1];\n\n var refetchFilters = _extends({}, filters, {\n // if filters.refetchActive is not provided and filters.active is explicitly false,\n // e.g. invalidateQueries({ active: false }), we don't want to refetch active queries\n active: (_ref3 = (_filters$refetchActiv = filters.refetchActive) != null ? _filters$refetchActiv : filters.active) != null ? _ref3 : true,\n inactive: (_filters$refetchInact = filters.refetchInactive) != null ? _filters$refetchInact : false\n });\n\n return notifyManager.batch(function () {\n _this5.queryCache.findAll(filters).forEach(function (query) {\n query.invalidate();\n });\n\n return _this5.refetchQueries(refetchFilters, options);\n });\n };\n\n _proto.refetchQueries = function refetchQueries(arg1, arg2, arg3) {\n var _this6 = this;\n\n var _parseFilterArgs6 = parseFilterArgs(arg1, arg2, arg3),\n filters = _parseFilterArgs6[0],\n options = _parseFilterArgs6[1];\n\n var promises = notifyManager.batch(function () {\n return _this6.queryCache.findAll(filters).map(function (query) {\n return query.fetch(undefined, _extends({}, options, {\n meta: {\n refetchPage: filters == null ? void 0 : filters.refetchPage\n }\n }));\n });\n });\n var promise = Promise.all(promises).then(noop);\n\n if (!(options == null ? void 0 : options.throwOnError)) {\n promise = promise.catch(noop);\n }\n\n return promise;\n };\n\n _proto.fetchQuery = function fetchQuery(arg1, arg2, arg3) {\n var parsedOptions = parseQueryArgs(arg1, arg2, arg3);\n var defaultedOptions = this.defaultQueryOptions(parsedOptions); // https://github.com/tannerlinsley/react-query/issues/652\n\n if (typeof defaultedOptions.retry === 'undefined') {\n defaultedOptions.retry = false;\n }\n\n var query = this.queryCache.build(this, defaultedOptions);\n return query.isStaleByTime(defaultedOptions.staleTime) ? query.fetch(defaultedOptions) : Promise.resolve(query.state.data);\n };\n\n _proto.prefetchQuery = function prefetchQuery(arg1, arg2, arg3) {\n return this.fetchQuery(arg1, arg2, arg3).then(noop).catch(noop);\n };\n\n _proto.fetchInfiniteQuery = function fetchInfiniteQuery(arg1, arg2, arg3) {\n var parsedOptions = parseQueryArgs(arg1, arg2, arg3);\n parsedOptions.behavior = infiniteQueryBehavior();\n return this.fetchQuery(parsedOptions);\n };\n\n _proto.prefetchInfiniteQuery = function prefetchInfiniteQuery(arg1, arg2, arg3) {\n return this.fetchInfiniteQuery(arg1, arg2, arg3).then(noop).catch(noop);\n };\n\n _proto.cancelMutations = function cancelMutations() {\n var _this7 = this;\n\n var promises = notifyManager.batch(function () {\n return _this7.mutationCache.getAll().map(function (mutation) {\n return mutation.cancel();\n });\n });\n return Promise.all(promises).then(noop).catch(noop);\n };\n\n _proto.resumePausedMutations = function resumePausedMutations() {\n return this.getMutationCache().resumePausedMutations();\n };\n\n _proto.executeMutation = function executeMutation(options) {\n return this.mutationCache.build(this, options).execute();\n };\n\n _proto.getQueryCache = function getQueryCache() {\n return this.queryCache;\n };\n\n _proto.getMutationCache = function getMutationCache() {\n return this.mutationCache;\n };\n\n _proto.getDefaultOptions = function getDefaultOptions() {\n return this.defaultOptions;\n };\n\n _proto.setDefaultOptions = function setDefaultOptions(options) {\n this.defaultOptions = options;\n };\n\n _proto.setQueryDefaults = function setQueryDefaults(queryKey, options) {\n var result = this.queryDefaults.find(function (x) {\n return hashQueryKey(queryKey) === hashQueryKey(x.queryKey);\n });\n\n if (result) {\n result.defaultOptions = options;\n } else {\n this.queryDefaults.push({\n queryKey: queryKey,\n defaultOptions: options\n });\n }\n };\n\n _proto.getQueryDefaults = function getQueryDefaults(queryKey) {\n var _this$queryDefaults$f;\n\n return queryKey ? (_this$queryDefaults$f = this.queryDefaults.find(function (x) {\n return partialMatchKey(queryKey, x.queryKey);\n })) == null ? void 0 : _this$queryDefaults$f.defaultOptions : undefined;\n };\n\n _proto.setMutationDefaults = function setMutationDefaults(mutationKey, options) {\n var result = this.mutationDefaults.find(function (x) {\n return hashQueryKey(mutationKey) === hashQueryKey(x.mutationKey);\n });\n\n if (result) {\n result.defaultOptions = options;\n } else {\n this.mutationDefaults.push({\n mutationKey: mutationKey,\n defaultOptions: options\n });\n }\n };\n\n _proto.getMutationDefaults = function getMutationDefaults(mutationKey) {\n var _this$mutationDefault;\n\n return mutationKey ? (_this$mutationDefault = this.mutationDefaults.find(function (x) {\n return partialMatchKey(mutationKey, x.mutationKey);\n })) == null ? void 0 : _this$mutationDefault.defaultOptions : undefined;\n };\n\n _proto.defaultQueryOptions = function defaultQueryOptions(options) {\n if (options == null ? void 0 : options._defaulted) {\n return options;\n }\n\n var defaultedOptions = _extends({}, this.defaultOptions.queries, this.getQueryDefaults(options == null ? void 0 : options.queryKey), options, {\n _defaulted: true\n });\n\n if (!defaultedOptions.queryHash && defaultedOptions.queryKey) {\n defaultedOptions.queryHash = hashQueryKeyByOptions(defaultedOptions.queryKey, defaultedOptions);\n }\n\n return defaultedOptions;\n };\n\n _proto.defaultQueryObserverOptions = function defaultQueryObserverOptions(options) {\n return this.defaultQueryOptions(options);\n };\n\n _proto.defaultMutationOptions = function defaultMutationOptions(options) {\n if (options == null ? void 0 : options._defaulted) {\n return options;\n }\n\n return _extends({}, this.defaultOptions.mutations, this.getMutationDefaults(options == null ? void 0 : options.mutationKey), options, {\n _defaulted: true\n });\n };\n\n _proto.clear = function clear() {\n this.queryCache.clear();\n this.mutationCache.clear();\n };\n\n return QueryClient;\n}();","import { focusManager } from './focusManager';\nimport { onlineManager } from './onlineManager';\nimport { sleep } from './utils';\n\nfunction defaultRetryDelay(failureCount) {\n return Math.min(1000 * Math.pow(2, failureCount), 30000);\n}\n\nexport function isCancelable(value) {\n return typeof (value == null ? void 0 : value.cancel) === 'function';\n}\nexport var CancelledError = function CancelledError(options) {\n this.revert = options == null ? void 0 : options.revert;\n this.silent = options == null ? void 0 : options.silent;\n};\nexport function isCancelledError(value) {\n return value instanceof CancelledError;\n} // CLASS\n\nexport var Retryer = function Retryer(config) {\n var _this = this;\n\n var cancelRetry = false;\n var cancelFn;\n var continueFn;\n var promiseResolve;\n var promiseReject;\n this.abort = config.abort;\n\n this.cancel = function (cancelOptions) {\n return cancelFn == null ? void 0 : cancelFn(cancelOptions);\n };\n\n this.cancelRetry = function () {\n cancelRetry = true;\n };\n\n this.continueRetry = function () {\n cancelRetry = false;\n };\n\n this.continue = function () {\n return continueFn == null ? void 0 : continueFn();\n };\n\n this.failureCount = 0;\n this.isPaused = false;\n this.isResolved = false;\n this.isTransportCancelable = false;\n this.promise = new Promise(function (outerResolve, outerReject) {\n promiseResolve = outerResolve;\n promiseReject = outerReject;\n });\n\n var resolve = function resolve(value) {\n if (!_this.isResolved) {\n _this.isResolved = true;\n config.onSuccess == null ? void 0 : config.onSuccess(value);\n continueFn == null ? void 0 : continueFn();\n promiseResolve(value);\n }\n };\n\n var reject = function reject(value) {\n if (!_this.isResolved) {\n _this.isResolved = true;\n config.onError == null ? void 0 : config.onError(value);\n continueFn == null ? void 0 : continueFn();\n promiseReject(value);\n }\n };\n\n var pause = function pause() {\n return new Promise(function (continueResolve) {\n continueFn = continueResolve;\n _this.isPaused = true;\n config.onPause == null ? void 0 : config.onPause();\n }).then(function () {\n continueFn = undefined;\n _this.isPaused = false;\n config.onContinue == null ? void 0 : config.onContinue();\n });\n }; // Create loop function\n\n\n var run = function run() {\n // Do nothing if already resolved\n if (_this.isResolved) {\n return;\n }\n\n var promiseOrValue; // Execute query\n\n try {\n promiseOrValue = config.fn();\n } catch (error) {\n promiseOrValue = Promise.reject(error);\n } // Create callback to cancel this fetch\n\n\n cancelFn = function cancelFn(cancelOptions) {\n if (!_this.isResolved) {\n reject(new CancelledError(cancelOptions));\n _this.abort == null ? void 0 : _this.abort(); // Cancel transport if supported\n\n if (isCancelable(promiseOrValue)) {\n try {\n promiseOrValue.cancel();\n } catch (_unused) {}\n }\n }\n }; // Check if the transport layer support cancellation\n\n\n _this.isTransportCancelable = isCancelable(promiseOrValue);\n Promise.resolve(promiseOrValue).then(resolve).catch(function (error) {\n var _config$retry, _config$retryDelay;\n\n // Stop if the fetch is already resolved\n if (_this.isResolved) {\n return;\n } // Do we need to retry the request?\n\n\n var retry = (_config$retry = config.retry) != null ? _config$retry : 3;\n var retryDelay = (_config$retryDelay = config.retryDelay) != null ? _config$retryDelay : defaultRetryDelay;\n var delay = typeof retryDelay === 'function' ? retryDelay(_this.failureCount, error) : retryDelay;\n var shouldRetry = retry === true || typeof retry === 'number' && _this.failureCount < retry || typeof retry === 'function' && retry(_this.failureCount, error);\n\n if (cancelRetry || !shouldRetry) {\n // We are done if the query does not need to be retried\n reject(error);\n return;\n }\n\n _this.failureCount++; // Notify on fail\n\n config.onFail == null ? void 0 : config.onFail(_this.failureCount, error); // Delay\n\n sleep(delay) // Pause if the document is not visible or when the device is offline\n .then(function () {\n if (!focusManager.isFocused() || !onlineManager.isOnline()) {\n return pause();\n }\n }).then(function () {\n if (cancelRetry) {\n reject(error);\n } else {\n run();\n }\n });\n });\n }; // Start loop\n\n\n run();\n};","export var Subscribable = /*#__PURE__*/function () {\n function Subscribable() {\n this.listeners = [];\n }\n\n var _proto = Subscribable.prototype;\n\n _proto.subscribe = function subscribe(listener) {\n var _this = this;\n\n var callback = listener || function () {\n return undefined;\n };\n\n this.listeners.push(callback);\n this.onSubscribe();\n return function () {\n _this.listeners = _this.listeners.filter(function (x) {\n return x !== callback;\n });\n\n _this.onUnsubscribe();\n };\n };\n\n _proto.hasListeners = function hasListeners() {\n return this.listeners.length > 0;\n };\n\n _proto.onSubscribe = function onSubscribe() {// Do nothing\n };\n\n _proto.onUnsubscribe = function onUnsubscribe() {// Do nothing\n };\n\n return Subscribable;\n}();","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// TYPES\n// UTILS\nexport var isServer = typeof window === 'undefined';\nexport function noop() {\n return undefined;\n}\nexport function functionalUpdate(updater, input) {\n return typeof updater === 'function' ? updater(input) : updater;\n}\nexport function isValidTimeout(value) {\n return typeof value === 'number' && value >= 0 && value !== Infinity;\n}\nexport function ensureQueryKeyArray(value) {\n return Array.isArray(value) ? value : [value];\n}\nexport function difference(array1, array2) {\n return array1.filter(function (x) {\n return array2.indexOf(x) === -1;\n });\n}\nexport function replaceAt(array, index, value) {\n var copy = array.slice(0);\n copy[index] = value;\n return copy;\n}\nexport function timeUntilStale(updatedAt, staleTime) {\n return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);\n}\nexport function parseQueryArgs(arg1, arg2, arg3) {\n if (!isQueryKey(arg1)) {\n return arg1;\n }\n\n if (typeof arg2 === 'function') {\n return _extends({}, arg3, {\n queryKey: arg1,\n queryFn: arg2\n });\n }\n\n return _extends({}, arg2, {\n queryKey: arg1\n });\n}\nexport function parseMutationArgs(arg1, arg2, arg3) {\n if (isQueryKey(arg1)) {\n if (typeof arg2 === 'function') {\n return _extends({}, arg3, {\n mutationKey: arg1,\n mutationFn: arg2\n });\n }\n\n return _extends({}, arg2, {\n mutationKey: arg1\n });\n }\n\n if (typeof arg1 === 'function') {\n return _extends({}, arg2, {\n mutationFn: arg1\n });\n }\n\n return _extends({}, arg1);\n}\nexport function parseFilterArgs(arg1, arg2, arg3) {\n return isQueryKey(arg1) ? [_extends({}, arg2, {\n queryKey: arg1\n }), arg3] : [arg1 || {}, arg2];\n}\nexport function parseMutationFilterArgs(arg1, arg2) {\n return isQueryKey(arg1) ? _extends({}, arg2, {\n mutationKey: arg1\n }) : arg1;\n}\nexport function mapQueryStatusFilter(active, inactive) {\n if (active === true && inactive === true || active == null && inactive == null) {\n return 'all';\n } else if (active === false && inactive === false) {\n return 'none';\n } else {\n // At this point, active|inactive can only be true|false or false|true\n // so, when only one value is provided, the missing one has to be the negated value\n var isActive = active != null ? active : !inactive;\n return isActive ? 'active' : 'inactive';\n }\n}\nexport function matchQuery(filters, query) {\n var active = filters.active,\n exact = filters.exact,\n fetching = filters.fetching,\n inactive = filters.inactive,\n predicate = filters.predicate,\n queryKey = filters.queryKey,\n stale = filters.stale;\n\n if (isQueryKey(queryKey)) {\n if (exact) {\n if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) {\n return false;\n }\n } else if (!partialMatchKey(query.queryKey, queryKey)) {\n return false;\n }\n }\n\n var queryStatusFilter = mapQueryStatusFilter(active, inactive);\n\n if (queryStatusFilter === 'none') {\n return false;\n } else if (queryStatusFilter !== 'all') {\n var isActive = query.isActive();\n\n if (queryStatusFilter === 'active' && !isActive) {\n return false;\n }\n\n if (queryStatusFilter === 'inactive' && isActive) {\n return false;\n }\n }\n\n if (typeof stale === 'boolean' && query.isStale() !== stale) {\n return false;\n }\n\n if (typeof fetching === 'boolean' && query.isFetching() !== fetching) {\n return false;\n }\n\n if (predicate && !predicate(query)) {\n return false;\n }\n\n return true;\n}\nexport function matchMutation(filters, mutation) {\n var exact = filters.exact,\n fetching = filters.fetching,\n predicate = filters.predicate,\n mutationKey = filters.mutationKey;\n\n if (isQueryKey(mutationKey)) {\n if (!mutation.options.mutationKey) {\n return false;\n }\n\n if (exact) {\n if (hashQueryKey(mutation.options.mutationKey) !== hashQueryKey(mutationKey)) {\n return false;\n }\n } else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) {\n return false;\n }\n }\n\n if (typeof fetching === 'boolean' && mutation.state.status === 'loading' !== fetching) {\n return false;\n }\n\n if (predicate && !predicate(mutation)) {\n return false;\n }\n\n return true;\n}\nexport function hashQueryKeyByOptions(queryKey, options) {\n var hashFn = (options == null ? void 0 : options.queryKeyHashFn) || hashQueryKey;\n return hashFn(queryKey);\n}\n/**\n * Default query keys hash function.\n */\n\nexport function hashQueryKey(queryKey) {\n var asArray = ensureQueryKeyArray(queryKey);\n return stableValueHash(asArray);\n}\n/**\n * Hashes the value into a stable hash.\n */\n\nexport function stableValueHash(value) {\n return JSON.stringify(value, function (_, val) {\n return isPlainObject(val) ? Object.keys(val).sort().reduce(function (result, key) {\n result[key] = val[key];\n return result;\n }, {}) : val;\n });\n}\n/**\n * Checks if key `b` partially matches with key `a`.\n */\n\nexport function partialMatchKey(a, b) {\n return partialDeepEqual(ensureQueryKeyArray(a), ensureQueryKeyArray(b));\n}\n/**\n * Checks if `b` partially matches with `a`.\n */\n\nexport function partialDeepEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n if (typeof a !== typeof b) {\n return false;\n }\n\n if (a && b && typeof a === 'object' && typeof b === 'object') {\n return !Object.keys(b).some(function (key) {\n return !partialDeepEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n/**\n * This function returns `a` if `b` is deeply equal.\n * If not, it will replace any deeply equal children of `b` with those of `a`.\n * This can be used for structural sharing between JSON values for example.\n */\n\nexport function replaceEqualDeep(a, b) {\n if (a === b) {\n return a;\n }\n\n var array = Array.isArray(a) && Array.isArray(b);\n\n if (array || isPlainObject(a) && isPlainObject(b)) {\n var aSize = array ? a.length : Object.keys(a).length;\n var bItems = array ? b : Object.keys(b);\n var bSize = bItems.length;\n var copy = array ? [] : {};\n var equalItems = 0;\n\n for (var i = 0; i < bSize; i++) {\n var key = array ? i : bItems[i];\n copy[key] = replaceEqualDeep(a[key], b[key]);\n\n if (copy[key] === a[key]) {\n equalItems++;\n }\n }\n\n return aSize === bSize && equalItems === aSize ? a : copy;\n }\n\n return b;\n}\n/**\n * Shallow compare objects. Only works with objects that always have the same properties.\n */\n\nexport function shallowEqualObjects(a, b) {\n if (a && !b || b && !a) {\n return false;\n }\n\n for (var key in a) {\n if (a[key] !== b[key]) {\n return false;\n }\n }\n\n return true;\n} // Copied from: https://github.com/jonschlinkert/is-plain-object\n\nexport function isPlainObject(o) {\n if (!hasObjectPrototype(o)) {\n return false;\n } // If has modified constructor\n\n\n var ctor = o.constructor;\n\n if (typeof ctor === 'undefined') {\n return true;\n } // If has modified prototype\n\n\n var prot = ctor.prototype;\n\n if (!hasObjectPrototype(prot)) {\n return false;\n } // If constructor does not have an Object-specific method\n\n\n if (!prot.hasOwnProperty('isPrototypeOf')) {\n return false;\n } // Most likely a plain Object\n\n\n return true;\n}\n\nfunction hasObjectPrototype(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nexport function isQueryKey(value) {\n return typeof value === 'string' || Array.isArray(value);\n}\nexport function isError(value) {\n return value instanceof Error;\n}\nexport function sleep(timeout) {\n return new Promise(function (resolve) {\n setTimeout(resolve, timeout);\n });\n}\n/**\n * Schedules a microtask.\n * This can be useful to schedule state updates after rendering.\n */\n\nexport function scheduleMicrotask(callback) {\n Promise.resolve().then(callback).catch(function (error) {\n return setTimeout(function () {\n throw error;\n });\n });\n}\nexport function getAbortController() {\n if (typeof AbortController === 'function') {\n return new AbortController();\n }\n}","import ReactDOM from 'react-dom';\nexport var unstable_batchedUpdates = ReactDOM.unstable_batchedUpdates;","import { notifyManager } from '../core';\nimport { unstable_batchedUpdates } from './reactBatchedUpdates';\nnotifyManager.setBatchNotifyFunction(unstable_batchedUpdates);","export var logger = console;","import { setLogger } from '../core';\nimport { logger } from './logger';\nsetLogger(logger);","import React from 'react';\nvar defaultContext = /*#__PURE__*/React.createContext(undefined);\nvar QueryClientSharingContext = /*#__PURE__*/React.createContext(false); // if contextSharing is on, we share the first and at least one\n// instance of the context across the window\n// to ensure that if React Query is used across\n// different bundles or microfrontends they will\n// all use the same **instance** of context, regardless\n// of module scoping.\n\nfunction getQueryClientContext(contextSharing) {\n if (contextSharing && typeof window !== 'undefined') {\n if (!window.ReactQueryClientContext) {\n window.ReactQueryClientContext = defaultContext;\n }\n\n return window.ReactQueryClientContext;\n }\n\n return defaultContext;\n}\n\nexport var useQueryClient = function useQueryClient() {\n var queryClient = React.useContext(getQueryClientContext(React.useContext(QueryClientSharingContext)));\n\n if (!queryClient) {\n throw new Error('No QueryClient set, use QueryClientProvider to set one');\n }\n\n return queryClient;\n};\nexport var QueryClientProvider = function QueryClientProvider(_ref) {\n var client = _ref.client,\n _ref$contextSharing = _ref.contextSharing,\n contextSharing = _ref$contextSharing === void 0 ? false : _ref$contextSharing,\n children = _ref.children;\n React.useEffect(function () {\n client.mount();\n return function () {\n client.unmount();\n };\n }, [client]);\n var Context = getQueryClientContext(contextSharing);\n return /*#__PURE__*/React.createElement(QueryClientSharingContext.Provider, {\n value: contextSharing\n }, /*#__PURE__*/React.createElement(Context.Provider, {\n value: client\n }, children));\n};","import React from 'react';\nimport { notifyManager } from '../core/notifyManager';\nimport { parseFilterArgs } from '../core/utils';\nimport { useQueryClient } from './QueryClientProvider';\n\nvar checkIsFetching = function checkIsFetching(queryClient, filters, isFetching, setIsFetching) {\n var newIsFetching = queryClient.isFetching(filters);\n\n if (isFetching !== newIsFetching) {\n setIsFetching(newIsFetching);\n }\n};\n\nexport function useIsFetching(arg1, arg2) {\n var mountedRef = React.useRef(false);\n var queryClient = useQueryClient();\n\n var _parseFilterArgs = parseFilterArgs(arg1, arg2),\n filters = _parseFilterArgs[0];\n\n var _React$useState = React.useState(queryClient.isFetching(filters)),\n isFetching = _React$useState[0],\n setIsFetching = _React$useState[1];\n\n var filtersRef = React.useRef(filters);\n filtersRef.current = filters;\n var isFetchingRef = React.useRef(isFetching);\n isFetchingRef.current = isFetching;\n React.useEffect(function () {\n mountedRef.current = true;\n checkIsFetching(queryClient, filtersRef.current, isFetchingRef.current, setIsFetching);\n var unsubscribe = queryClient.getQueryCache().subscribe(notifyManager.batchCalls(function () {\n if (mountedRef.current) {\n checkIsFetching(queryClient, filtersRef.current, isFetchingRef.current, setIsFetching);\n }\n }));\n return function () {\n mountedRef.current = false;\n unsubscribe();\n };\n }, [queryClient]);\n return isFetching;\n}","import React from 'react';\nimport { notifyManager } from '../core/notifyManager';\nimport { parseMutationFilterArgs } from '../core/utils';\nimport { useQueryClient } from './QueryClientProvider';\nexport function useIsMutating(arg1, arg2) {\n var mountedRef = React.useRef(false);\n var filters = parseMutationFilterArgs(arg1, arg2);\n var queryClient = useQueryClient();\n\n var _React$useState = React.useState(queryClient.isMutating(filters)),\n isMutating = _React$useState[0],\n setIsMutating = _React$useState[1];\n\n var filtersRef = React.useRef(filters);\n filtersRef.current = filters;\n var isMutatingRef = React.useRef(isMutating);\n isMutatingRef.current = isMutating;\n React.useEffect(function () {\n mountedRef.current = true;\n var unsubscribe = queryClient.getMutationCache().subscribe(notifyManager.batchCalls(function () {\n if (mountedRef.current) {\n var newIsMutating = queryClient.isMutating(filtersRef.current);\n\n if (isMutatingRef.current !== newIsMutating) {\n setIsMutating(newIsMutating);\n }\n }\n }));\n return function () {\n mountedRef.current = false;\n unsubscribe();\n };\n }, [queryClient]);\n return isMutating;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { getDefaultState } from './mutation';\nimport { notifyManager } from './notifyManager';\nimport { Subscribable } from './subscribable';\n// CLASS\nexport var MutationObserver = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(MutationObserver, _Subscribable);\n\n function MutationObserver(client, options) {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n _this.client = client;\n\n _this.setOptions(options);\n\n _this.bindMethods();\n\n _this.updateResult();\n\n return _this;\n }\n\n var _proto = MutationObserver.prototype;\n\n _proto.bindMethods = function bindMethods() {\n this.mutate = this.mutate.bind(this);\n this.reset = this.reset.bind(this);\n };\n\n _proto.setOptions = function setOptions(options) {\n this.options = this.client.defaultMutationOptions(options);\n };\n\n _proto.onUnsubscribe = function onUnsubscribe() {\n if (!this.listeners.length) {\n var _this$currentMutation;\n\n (_this$currentMutation = this.currentMutation) == null ? void 0 : _this$currentMutation.removeObserver(this);\n }\n };\n\n _proto.onMutationUpdate = function onMutationUpdate(action) {\n this.updateResult(); // Determine which callbacks to trigger\n\n var notifyOptions = {\n listeners: true\n };\n\n if (action.type === 'success') {\n notifyOptions.onSuccess = true;\n } else if (action.type === 'error') {\n notifyOptions.onError = true;\n }\n\n this.notify(notifyOptions);\n };\n\n _proto.getCurrentResult = function getCurrentResult() {\n return this.currentResult;\n };\n\n _proto.reset = function reset() {\n this.currentMutation = undefined;\n this.updateResult();\n this.notify({\n listeners: true\n });\n };\n\n _proto.mutate = function mutate(variables, options) {\n this.mutateOptions = options;\n\n if (this.currentMutation) {\n this.currentMutation.removeObserver(this);\n }\n\n this.currentMutation = this.client.getMutationCache().build(this.client, _extends({}, this.options, {\n variables: typeof variables !== 'undefined' ? variables : this.options.variables\n }));\n this.currentMutation.addObserver(this);\n return this.currentMutation.execute();\n };\n\n _proto.updateResult = function updateResult() {\n var state = this.currentMutation ? this.currentMutation.state : getDefaultState();\n\n var result = _extends({}, state, {\n isLoading: state.status === 'loading',\n isSuccess: state.status === 'success',\n isError: state.status === 'error',\n isIdle: state.status === 'idle',\n mutate: this.mutate,\n reset: this.reset\n });\n\n this.currentResult = result;\n };\n\n _proto.notify = function notify(options) {\n var _this2 = this;\n\n notifyManager.batch(function () {\n // First trigger the mutate callbacks\n if (_this2.mutateOptions) {\n if (options.onSuccess) {\n _this2.mutateOptions.onSuccess == null ? void 0 : _this2.mutateOptions.onSuccess(_this2.currentResult.data, _this2.currentResult.variables, _this2.currentResult.context);\n _this2.mutateOptions.onSettled == null ? void 0 : _this2.mutateOptions.onSettled(_this2.currentResult.data, null, _this2.currentResult.variables, _this2.currentResult.context);\n } else if (options.onError) {\n _this2.mutateOptions.onError == null ? void 0 : _this2.mutateOptions.onError(_this2.currentResult.error, _this2.currentResult.variables, _this2.currentResult.context);\n _this2.mutateOptions.onSettled == null ? void 0 : _this2.mutateOptions.onSettled(undefined, _this2.currentResult.error, _this2.currentResult.variables, _this2.currentResult.context);\n }\n } // Then trigger the listeners\n\n\n if (options.listeners) {\n _this2.listeners.forEach(function (listener) {\n listener(_this2.currentResult);\n });\n }\n });\n };\n\n return MutationObserver;\n}(Subscribable);","export function shouldThrowError(suspense, _useErrorBoundary, params) {\n // Allow useErrorBoundary function to override throwing behavior on a per-error basis\n if (typeof _useErrorBoundary === 'function') {\n return _useErrorBoundary.apply(void 0, params);\n } // Allow useErrorBoundary to override suspense's throwing behavior\n\n\n if (typeof _useErrorBoundary === 'boolean') return _useErrorBoundary; // If suspense is enabled default to throwing errors\n\n return !!suspense;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport { notifyManager } from '../core/notifyManager';\nimport { noop, parseMutationArgs } from '../core/utils';\nimport { MutationObserver } from '../core/mutationObserver';\nimport { useQueryClient } from './QueryClientProvider';\nimport { shouldThrowError } from './utils'; // HOOK\n\nexport function useMutation(arg1, arg2, arg3) {\n var mountedRef = React.useRef(false);\n\n var _React$useState = React.useState(0),\n forceUpdate = _React$useState[1];\n\n var options = parseMutationArgs(arg1, arg2, arg3);\n var queryClient = useQueryClient();\n var obsRef = React.useRef();\n\n if (!obsRef.current) {\n obsRef.current = new MutationObserver(queryClient, options);\n } else {\n obsRef.current.setOptions(options);\n }\n\n var currentResult = obsRef.current.getCurrentResult();\n React.useEffect(function () {\n mountedRef.current = true;\n var unsubscribe = obsRef.current.subscribe(notifyManager.batchCalls(function () {\n if (mountedRef.current) {\n forceUpdate(function (x) {\n return x + 1;\n });\n }\n }));\n return function () {\n mountedRef.current = false;\n unsubscribe();\n };\n }, []);\n var mutate = React.useCallback(function (variables, mutateOptions) {\n obsRef.current.mutate(variables, mutateOptions).catch(noop);\n }, []);\n\n if (currentResult.error && shouldThrowError(undefined, obsRef.current.options.useErrorBoundary, [currentResult.error])) {\n throw currentResult.error;\n }\n\n return _extends({}, currentResult, {\n mutate: mutate,\n mutateAsync: currentResult.mutate\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { isServer, isValidTimeout, noop, replaceEqualDeep, shallowEqualObjects, timeUntilStale } from './utils';\nimport { notifyManager } from './notifyManager';\nimport { focusManager } from './focusManager';\nimport { Subscribable } from './subscribable';\nimport { getLogger } from './logger';\nimport { isCancelledError } from './retryer';\nexport var QueryObserver = /*#__PURE__*/function (_Subscribable) {\n _inheritsLoose(QueryObserver, _Subscribable);\n\n function QueryObserver(client, options) {\n var _this;\n\n _this = _Subscribable.call(this) || this;\n _this.client = client;\n _this.options = options;\n _this.trackedProps = [];\n _this.selectError = null;\n\n _this.bindMethods();\n\n _this.setOptions(options);\n\n return _this;\n }\n\n var _proto = QueryObserver.prototype;\n\n _proto.bindMethods = function bindMethods() {\n this.remove = this.remove.bind(this);\n this.refetch = this.refetch.bind(this);\n };\n\n _proto.onSubscribe = function onSubscribe() {\n if (this.listeners.length === 1) {\n this.currentQuery.addObserver(this);\n\n if (shouldFetchOnMount(this.currentQuery, this.options)) {\n this.executeFetch();\n }\n\n this.updateTimers();\n }\n };\n\n _proto.onUnsubscribe = function onUnsubscribe() {\n if (!this.listeners.length) {\n this.destroy();\n }\n };\n\n _proto.shouldFetchOnReconnect = function shouldFetchOnReconnect() {\n return shouldFetchOn(this.currentQuery, this.options, this.options.refetchOnReconnect);\n };\n\n _proto.shouldFetchOnWindowFocus = function shouldFetchOnWindowFocus() {\n return shouldFetchOn(this.currentQuery, this.options, this.options.refetchOnWindowFocus);\n };\n\n _proto.destroy = function destroy() {\n this.listeners = [];\n this.clearTimers();\n this.currentQuery.removeObserver(this);\n };\n\n _proto.setOptions = function setOptions(options, notifyOptions) {\n var prevOptions = this.options;\n var prevQuery = this.currentQuery;\n this.options = this.client.defaultQueryObserverOptions(options);\n\n if (typeof this.options.enabled !== 'undefined' && typeof this.options.enabled !== 'boolean') {\n throw new Error('Expected enabled to be a boolean');\n } // Keep previous query key if the user does not supply one\n\n\n if (!this.options.queryKey) {\n this.options.queryKey = prevOptions.queryKey;\n }\n\n this.updateQuery();\n var mounted = this.hasListeners(); // Fetch if there are subscribers\n\n if (mounted && shouldFetchOptionally(this.currentQuery, prevQuery, this.options, prevOptions)) {\n this.executeFetch();\n } // Update result\n\n\n this.updateResult(notifyOptions); // Update stale interval if needed\n\n if (mounted && (this.currentQuery !== prevQuery || this.options.enabled !== prevOptions.enabled || this.options.staleTime !== prevOptions.staleTime)) {\n this.updateStaleTimeout();\n }\n\n var nextRefetchInterval = this.computeRefetchInterval(); // Update refetch interval if needed\n\n if (mounted && (this.currentQuery !== prevQuery || this.options.enabled !== prevOptions.enabled || nextRefetchInterval !== this.currentRefetchInterval)) {\n this.updateRefetchInterval(nextRefetchInterval);\n }\n };\n\n _proto.getOptimisticResult = function getOptimisticResult(options) {\n var defaultedOptions = this.client.defaultQueryObserverOptions(options);\n var query = this.client.getQueryCache().build(this.client, defaultedOptions);\n return this.createResult(query, defaultedOptions);\n };\n\n _proto.getCurrentResult = function getCurrentResult() {\n return this.currentResult;\n };\n\n _proto.trackResult = function trackResult(result, defaultedOptions) {\n var _this2 = this;\n\n var trackedResult = {};\n\n var trackProp = function trackProp(key) {\n if (!_this2.trackedProps.includes(key)) {\n _this2.trackedProps.push(key);\n }\n };\n\n Object.keys(result).forEach(function (key) {\n Object.defineProperty(trackedResult, key, {\n configurable: false,\n enumerable: true,\n get: function get() {\n trackProp(key);\n return result[key];\n }\n });\n });\n\n if (defaultedOptions.useErrorBoundary || defaultedOptions.suspense) {\n trackProp('error');\n }\n\n return trackedResult;\n };\n\n _proto.getNextResult = function getNextResult(options) {\n var _this3 = this;\n\n return new Promise(function (resolve, reject) {\n var unsubscribe = _this3.subscribe(function (result) {\n if (!result.isFetching) {\n unsubscribe();\n\n if (result.isError && (options == null ? void 0 : options.throwOnError)) {\n reject(result.error);\n } else {\n resolve(result);\n }\n }\n });\n });\n };\n\n _proto.getCurrentQuery = function getCurrentQuery() {\n return this.currentQuery;\n };\n\n _proto.remove = function remove() {\n this.client.getQueryCache().remove(this.currentQuery);\n };\n\n _proto.refetch = function refetch(options) {\n return this.fetch(_extends({}, options, {\n meta: {\n refetchPage: options == null ? void 0 : options.refetchPage\n }\n }));\n };\n\n _proto.fetchOptimistic = function fetchOptimistic(options) {\n var _this4 = this;\n\n var defaultedOptions = this.client.defaultQueryObserverOptions(options);\n var query = this.client.getQueryCache().build(this.client, defaultedOptions);\n return query.fetch().then(function () {\n return _this4.createResult(query, defaultedOptions);\n });\n };\n\n _proto.fetch = function fetch(fetchOptions) {\n var _this5 = this;\n\n return this.executeFetch(fetchOptions).then(function () {\n _this5.updateResult();\n\n return _this5.currentResult;\n });\n };\n\n _proto.executeFetch = function executeFetch(fetchOptions) {\n // Make sure we reference the latest query as the current one might have been removed\n this.updateQuery(); // Fetch\n\n var promise = this.currentQuery.fetch(this.options, fetchOptions);\n\n if (!(fetchOptions == null ? void 0 : fetchOptions.throwOnError)) {\n promise = promise.catch(noop);\n }\n\n return promise;\n };\n\n _proto.updateStaleTimeout = function updateStaleTimeout() {\n var _this6 = this;\n\n this.clearStaleTimeout();\n\n if (isServer || this.currentResult.isStale || !isValidTimeout(this.options.staleTime)) {\n return;\n }\n\n var time = timeUntilStale(this.currentResult.dataUpdatedAt, this.options.staleTime); // The timeout is sometimes triggered 1 ms before the stale time expiration.\n // To mitigate this issue we always add 1 ms to the timeout.\n\n var timeout = time + 1;\n this.staleTimeoutId = setTimeout(function () {\n if (!_this6.currentResult.isStale) {\n _this6.updateResult();\n }\n }, timeout);\n };\n\n _proto.computeRefetchInterval = function computeRefetchInterval() {\n var _this$options$refetch;\n\n return typeof this.options.refetchInterval === 'function' ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (_this$options$refetch = this.options.refetchInterval) != null ? _this$options$refetch : false;\n };\n\n _proto.updateRefetchInterval = function updateRefetchInterval(nextInterval) {\n var _this7 = this;\n\n this.clearRefetchInterval();\n this.currentRefetchInterval = nextInterval;\n\n if (isServer || this.options.enabled === false || !isValidTimeout(this.currentRefetchInterval) || this.currentRefetchInterval === 0) {\n return;\n }\n\n this.refetchIntervalId = setInterval(function () {\n if (_this7.options.refetchIntervalInBackground || focusManager.isFocused()) {\n _this7.executeFetch();\n }\n }, this.currentRefetchInterval);\n };\n\n _proto.updateTimers = function updateTimers() {\n this.updateStaleTimeout();\n this.updateRefetchInterval(this.computeRefetchInterval());\n };\n\n _proto.clearTimers = function clearTimers() {\n this.clearStaleTimeout();\n this.clearRefetchInterval();\n };\n\n _proto.clearStaleTimeout = function clearStaleTimeout() {\n if (this.staleTimeoutId) {\n clearTimeout(this.staleTimeoutId);\n this.staleTimeoutId = undefined;\n }\n };\n\n _proto.clearRefetchInterval = function clearRefetchInterval() {\n if (this.refetchIntervalId) {\n clearInterval(this.refetchIntervalId);\n this.refetchIntervalId = undefined;\n }\n };\n\n _proto.createResult = function createResult(query, options) {\n var prevQuery = this.currentQuery;\n var prevOptions = this.options;\n var prevResult = this.currentResult;\n var prevResultState = this.currentResultState;\n var prevResultOptions = this.currentResultOptions;\n var queryChange = query !== prevQuery;\n var queryInitialState = queryChange ? query.state : this.currentQueryInitialState;\n var prevQueryResult = queryChange ? this.currentResult : this.previousQueryResult;\n var state = query.state;\n var dataUpdatedAt = state.dataUpdatedAt,\n error = state.error,\n errorUpdatedAt = state.errorUpdatedAt,\n isFetching = state.isFetching,\n status = state.status;\n var isPreviousData = false;\n var isPlaceholderData = false;\n var data; // Optimistically set result in fetching state if needed\n\n if (options.optimisticResults) {\n var mounted = this.hasListeners();\n var fetchOnMount = !mounted && shouldFetchOnMount(query, options);\n var fetchOptionally = mounted && shouldFetchOptionally(query, prevQuery, options, prevOptions);\n\n if (fetchOnMount || fetchOptionally) {\n isFetching = true;\n\n if (!dataUpdatedAt) {\n status = 'loading';\n }\n }\n } // Keep previous data if needed\n\n\n if (options.keepPreviousData && !state.dataUpdateCount && (prevQueryResult == null ? void 0 : prevQueryResult.isSuccess) && status !== 'error') {\n data = prevQueryResult.data;\n dataUpdatedAt = prevQueryResult.dataUpdatedAt;\n status = prevQueryResult.status;\n isPreviousData = true;\n } // Select data if needed\n else if (options.select && typeof state.data !== 'undefined') {\n // Memoize select result\n if (prevResult && state.data === (prevResultState == null ? void 0 : prevResultState.data) && options.select === this.selectFn) {\n data = this.selectResult;\n } else {\n try {\n this.selectFn = options.select;\n data = options.select(state.data);\n\n if (options.structuralSharing !== false) {\n data = replaceEqualDeep(prevResult == null ? void 0 : prevResult.data, data);\n }\n\n this.selectResult = data;\n this.selectError = null;\n } catch (selectError) {\n getLogger().error(selectError);\n this.selectError = selectError;\n }\n }\n } // Use query data\n else {\n data = state.data;\n } // Show placeholder data if needed\n\n\n if (typeof options.placeholderData !== 'undefined' && typeof data === 'undefined' && (status === 'loading' || status === 'idle')) {\n var placeholderData; // Memoize placeholder data\n\n if ((prevResult == null ? void 0 : prevResult.isPlaceholderData) && options.placeholderData === (prevResultOptions == null ? void 0 : prevResultOptions.placeholderData)) {\n placeholderData = prevResult.data;\n } else {\n placeholderData = typeof options.placeholderData === 'function' ? options.placeholderData() : options.placeholderData;\n\n if (options.select && typeof placeholderData !== 'undefined') {\n try {\n placeholderData = options.select(placeholderData);\n\n if (options.structuralSharing !== false) {\n placeholderData = replaceEqualDeep(prevResult == null ? void 0 : prevResult.data, placeholderData);\n }\n\n this.selectError = null;\n } catch (selectError) {\n getLogger().error(selectError);\n this.selectError = selectError;\n }\n }\n }\n\n if (typeof placeholderData !== 'undefined') {\n status = 'success';\n data = placeholderData;\n isPlaceholderData = true;\n }\n }\n\n if (this.selectError) {\n error = this.selectError;\n data = this.selectResult;\n errorUpdatedAt = Date.now();\n status = 'error';\n }\n\n var result = {\n status: status,\n isLoading: status === 'loading',\n isSuccess: status === 'success',\n isError: status === 'error',\n isIdle: status === 'idle',\n data: data,\n dataUpdatedAt: dataUpdatedAt,\n error: error,\n errorUpdatedAt: errorUpdatedAt,\n failureCount: state.fetchFailureCount,\n errorUpdateCount: state.errorUpdateCount,\n isFetched: state.dataUpdateCount > 0 || state.errorUpdateCount > 0,\n isFetchedAfterMount: state.dataUpdateCount > queryInitialState.dataUpdateCount || state.errorUpdateCount > queryInitialState.errorUpdateCount,\n isFetching: isFetching,\n isRefetching: isFetching && status !== 'loading',\n isLoadingError: status === 'error' && state.dataUpdatedAt === 0,\n isPlaceholderData: isPlaceholderData,\n isPreviousData: isPreviousData,\n isRefetchError: status === 'error' && state.dataUpdatedAt !== 0,\n isStale: isStale(query, options),\n refetch: this.refetch,\n remove: this.remove\n };\n return result;\n };\n\n _proto.shouldNotifyListeners = function shouldNotifyListeners(result, prevResult) {\n if (!prevResult) {\n return true;\n }\n\n var _this$options = this.options,\n notifyOnChangeProps = _this$options.notifyOnChangeProps,\n notifyOnChangePropsExclusions = _this$options.notifyOnChangePropsExclusions;\n\n if (!notifyOnChangeProps && !notifyOnChangePropsExclusions) {\n return true;\n }\n\n if (notifyOnChangeProps === 'tracked' && !this.trackedProps.length) {\n return true;\n }\n\n var includedProps = notifyOnChangeProps === 'tracked' ? this.trackedProps : notifyOnChangeProps;\n return Object.keys(result).some(function (key) {\n var typedKey = key;\n var changed = result[typedKey] !== prevResult[typedKey];\n var isIncluded = includedProps == null ? void 0 : includedProps.some(function (x) {\n return x === key;\n });\n var isExcluded = notifyOnChangePropsExclusions == null ? void 0 : notifyOnChangePropsExclusions.some(function (x) {\n return x === key;\n });\n return changed && !isExcluded && (!includedProps || isIncluded);\n });\n };\n\n _proto.updateResult = function updateResult(notifyOptions) {\n var prevResult = this.currentResult;\n this.currentResult = this.createResult(this.currentQuery, this.options);\n this.currentResultState = this.currentQuery.state;\n this.currentResultOptions = this.options; // Only notify if something has changed\n\n if (shallowEqualObjects(this.currentResult, prevResult)) {\n return;\n } // Determine which callbacks to trigger\n\n\n var defaultNotifyOptions = {\n cache: true\n };\n\n if ((notifyOptions == null ? void 0 : notifyOptions.listeners) !== false && this.shouldNotifyListeners(this.currentResult, prevResult)) {\n defaultNotifyOptions.listeners = true;\n }\n\n this.notify(_extends({}, defaultNotifyOptions, notifyOptions));\n };\n\n _proto.updateQuery = function updateQuery() {\n var query = this.client.getQueryCache().build(this.client, this.options);\n\n if (query === this.currentQuery) {\n return;\n }\n\n var prevQuery = this.currentQuery;\n this.currentQuery = query;\n this.currentQueryInitialState = query.state;\n this.previousQueryResult = this.currentResult;\n\n if (this.hasListeners()) {\n prevQuery == null ? void 0 : prevQuery.removeObserver(this);\n query.addObserver(this);\n }\n };\n\n _proto.onQueryUpdate = function onQueryUpdate(action) {\n var notifyOptions = {};\n\n if (action.type === 'success') {\n notifyOptions.onSuccess = true;\n } else if (action.type === 'error' && !isCancelledError(action.error)) {\n notifyOptions.onError = true;\n }\n\n this.updateResult(notifyOptions);\n\n if (this.hasListeners()) {\n this.updateTimers();\n }\n };\n\n _proto.notify = function notify(notifyOptions) {\n var _this8 = this;\n\n notifyManager.batch(function () {\n // First trigger the configuration callbacks\n if (notifyOptions.onSuccess) {\n _this8.options.onSuccess == null ? void 0 : _this8.options.onSuccess(_this8.currentResult.data);\n _this8.options.onSettled == null ? void 0 : _this8.options.onSettled(_this8.currentResult.data, null);\n } else if (notifyOptions.onError) {\n _this8.options.onError == null ? void 0 : _this8.options.onError(_this8.currentResult.error);\n _this8.options.onSettled == null ? void 0 : _this8.options.onSettled(undefined, _this8.currentResult.error);\n } // Then trigger the listeners\n\n\n if (notifyOptions.listeners) {\n _this8.listeners.forEach(function (listener) {\n listener(_this8.currentResult);\n });\n } // Then the cache listeners\n\n\n if (notifyOptions.cache) {\n _this8.client.getQueryCache().notify({\n query: _this8.currentQuery,\n type: 'observerResultsUpdated'\n });\n }\n });\n };\n\n return QueryObserver;\n}(Subscribable);\n\nfunction shouldLoadOnMount(query, options) {\n return options.enabled !== false && !query.state.dataUpdatedAt && !(query.state.status === 'error' && options.retryOnMount === false);\n}\n\nfunction shouldFetchOnMount(query, options) {\n return shouldLoadOnMount(query, options) || query.state.dataUpdatedAt > 0 && shouldFetchOn(query, options, options.refetchOnMount);\n}\n\nfunction shouldFetchOn(query, options, field) {\n if (options.enabled !== false) {\n var value = typeof field === 'function' ? field(query) : field;\n return value === 'always' || value !== false && isStale(query, options);\n }\n\n return false;\n}\n\nfunction shouldFetchOptionally(query, prevQuery, options, prevOptions) {\n return options.enabled !== false && (query !== prevQuery || prevOptions.enabled === false) && (!options.suspense || query.state.status !== 'error') && isStale(query, options);\n}\n\nfunction isStale(query, options) {\n return query.isStaleByTime(options.staleTime);\n}","import React from 'react'; // CONTEXT\n\nfunction createValue() {\n var _isReset = false;\n return {\n clearReset: function clearReset() {\n _isReset = false;\n },\n reset: function reset() {\n _isReset = true;\n },\n isReset: function isReset() {\n return _isReset;\n }\n };\n}\n\nvar QueryErrorResetBoundaryContext = /*#__PURE__*/React.createContext(createValue()); // HOOK\n\nexport var useQueryErrorResetBoundary = function useQueryErrorResetBoundary() {\n return React.useContext(QueryErrorResetBoundaryContext);\n}; // COMPONENT\n\nexport var QueryErrorResetBoundary = function QueryErrorResetBoundary(_ref) {\n var children = _ref.children;\n var value = React.useMemo(function () {\n return createValue();\n }, []);\n return /*#__PURE__*/React.createElement(QueryErrorResetBoundaryContext.Provider, {\n value: value\n }, typeof children === 'function' ? children(value) : children);\n};","import React from 'react';\nimport { notifyManager } from '../core/notifyManager';\nimport { useQueryErrorResetBoundary } from './QueryErrorResetBoundary';\nimport { useQueryClient } from './QueryClientProvider';\nimport { shouldThrowError } from './utils';\nexport function useBaseQuery(options, Observer) {\n var mountedRef = React.useRef(false);\n\n var _React$useState = React.useState(0),\n forceUpdate = _React$useState[1];\n\n var queryClient = useQueryClient();\n var errorResetBoundary = useQueryErrorResetBoundary();\n var defaultedOptions = queryClient.defaultQueryObserverOptions(options); // Make sure results are optimistically set in fetching state before subscribing or updating options\n\n defaultedOptions.optimisticResults = true; // Include callbacks in batch renders\n\n if (defaultedOptions.onError) {\n defaultedOptions.onError = notifyManager.batchCalls(defaultedOptions.onError);\n }\n\n if (defaultedOptions.onSuccess) {\n defaultedOptions.onSuccess = notifyManager.batchCalls(defaultedOptions.onSuccess);\n }\n\n if (defaultedOptions.onSettled) {\n defaultedOptions.onSettled = notifyManager.batchCalls(defaultedOptions.onSettled);\n }\n\n if (defaultedOptions.suspense) {\n // Always set stale time when using suspense to prevent\n // fetching again when directly mounting after suspending\n if (typeof defaultedOptions.staleTime !== 'number') {\n defaultedOptions.staleTime = 1000;\n } // Set cache time to 1 if the option has been set to 0\n // when using suspense to prevent infinite loop of fetches\n\n\n if (defaultedOptions.cacheTime === 0) {\n defaultedOptions.cacheTime = 1;\n }\n }\n\n if (defaultedOptions.suspense || defaultedOptions.useErrorBoundary) {\n // Prevent retrying failed query if the error boundary has not been reset yet\n if (!errorResetBoundary.isReset()) {\n defaultedOptions.retryOnMount = false;\n }\n }\n\n var _React$useState2 = React.useState(function () {\n return new Observer(queryClient, defaultedOptions);\n }),\n observer = _React$useState2[0];\n\n var result = observer.getOptimisticResult(defaultedOptions);\n React.useEffect(function () {\n mountedRef.current = true;\n errorResetBoundary.clearReset();\n var unsubscribe = observer.subscribe(notifyManager.batchCalls(function () {\n if (mountedRef.current) {\n forceUpdate(function (x) {\n return x + 1;\n });\n }\n })); // Update result to make sure we did not miss any query updates\n // between creating the observer and subscribing to it.\n\n observer.updateResult();\n return function () {\n mountedRef.current = false;\n unsubscribe();\n };\n }, [errorResetBoundary, observer]);\n React.useEffect(function () {\n // Do not notify on updates because of changes in the options because\n // these changes should already be reflected in the optimistic result.\n observer.setOptions(defaultedOptions, {\n listeners: false\n });\n }, [defaultedOptions, observer]); // Handle suspense\n\n if (defaultedOptions.suspense && result.isLoading) {\n throw observer.fetchOptimistic(defaultedOptions).then(function (_ref) {\n var data = _ref.data;\n defaultedOptions.onSuccess == null ? void 0 : defaultedOptions.onSuccess(data);\n defaultedOptions.onSettled == null ? void 0 : defaultedOptions.onSettled(data, null);\n }).catch(function (error) {\n errorResetBoundary.clearReset();\n defaultedOptions.onError == null ? void 0 : defaultedOptions.onError(error);\n defaultedOptions.onSettled == null ? void 0 : defaultedOptions.onSettled(undefined, error);\n });\n } // Handle error boundary\n\n\n if (result.isError && !errorResetBoundary.isReset() && !result.isFetching && shouldThrowError(defaultedOptions.suspense, defaultedOptions.useErrorBoundary, [result.error, observer.getCurrentQuery()])) {\n throw result.error;\n } // Handle result property usage tracking\n\n\n if (defaultedOptions.notifyOnChangeProps === 'tracked') {\n result = observer.trackResult(result, defaultedOptions);\n }\n\n return result;\n}","import { QueryObserver } from '../core';\nimport { parseQueryArgs } from '../core/utils';\nimport { useBaseQuery } from './useBaseQuery'; // HOOK\n\nexport function useQuery(arg1, arg2, arg3) {\n var parsedOptions = parseQueryArgs(arg1, arg2, arg3);\n return useBaseQuery(parsedOptions, QueryObserver);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport { QueryObserver } from './queryObserver';\nimport { hasNextPage, hasPreviousPage, infiniteQueryBehavior } from './infiniteQueryBehavior';\nexport var InfiniteQueryObserver = /*#__PURE__*/function (_QueryObserver) {\n _inheritsLoose(InfiniteQueryObserver, _QueryObserver);\n\n // Type override\n // Type override\n // Type override\n // eslint-disable-next-line @typescript-eslint/no-useless-constructor\n function InfiniteQueryObserver(client, options) {\n return _QueryObserver.call(this, client, options) || this;\n }\n\n var _proto = InfiniteQueryObserver.prototype;\n\n _proto.bindMethods = function bindMethods() {\n _QueryObserver.prototype.bindMethods.call(this);\n\n this.fetchNextPage = this.fetchNextPage.bind(this);\n this.fetchPreviousPage = this.fetchPreviousPage.bind(this);\n };\n\n _proto.setOptions = function setOptions(options, notifyOptions) {\n _QueryObserver.prototype.setOptions.call(this, _extends({}, options, {\n behavior: infiniteQueryBehavior()\n }), notifyOptions);\n };\n\n _proto.getOptimisticResult = function getOptimisticResult(options) {\n options.behavior = infiniteQueryBehavior();\n return _QueryObserver.prototype.getOptimisticResult.call(this, options);\n };\n\n _proto.fetchNextPage = function fetchNextPage(options) {\n var _options$cancelRefetc;\n\n return this.fetch({\n // TODO consider removing `?? true` in future breaking change, to be consistent with `refetch` API (see https://github.com/tannerlinsley/react-query/issues/2617)\n cancelRefetch: (_options$cancelRefetc = options == null ? void 0 : options.cancelRefetch) != null ? _options$cancelRefetc : true,\n throwOnError: options == null ? void 0 : options.throwOnError,\n meta: {\n fetchMore: {\n direction: 'forward',\n pageParam: options == null ? void 0 : options.pageParam\n }\n }\n });\n };\n\n _proto.fetchPreviousPage = function fetchPreviousPage(options) {\n var _options$cancelRefetc2;\n\n return this.fetch({\n // TODO consider removing `?? true` in future breaking change, to be consistent with `refetch` API (see https://github.com/tannerlinsley/react-query/issues/2617)\n cancelRefetch: (_options$cancelRefetc2 = options == null ? void 0 : options.cancelRefetch) != null ? _options$cancelRefetc2 : true,\n throwOnError: options == null ? void 0 : options.throwOnError,\n meta: {\n fetchMore: {\n direction: 'backward',\n pageParam: options == null ? void 0 : options.pageParam\n }\n }\n });\n };\n\n _proto.createResult = function createResult(query, options) {\n var _state$data, _state$data2, _state$fetchMeta, _state$fetchMeta$fetc, _state$fetchMeta2, _state$fetchMeta2$fet;\n\n var state = query.state;\n\n var result = _QueryObserver.prototype.createResult.call(this, query, options);\n\n return _extends({}, result, {\n fetchNextPage: this.fetchNextPage,\n fetchPreviousPage: this.fetchPreviousPage,\n hasNextPage: hasNextPage(options, (_state$data = state.data) == null ? void 0 : _state$data.pages),\n hasPreviousPage: hasPreviousPage(options, (_state$data2 = state.data) == null ? void 0 : _state$data2.pages),\n isFetchingNextPage: state.isFetching && ((_state$fetchMeta = state.fetchMeta) == null ? void 0 : (_state$fetchMeta$fetc = _state$fetchMeta.fetchMore) == null ? void 0 : _state$fetchMeta$fetc.direction) === 'forward',\n isFetchingPreviousPage: state.isFetching && ((_state$fetchMeta2 = state.fetchMeta) == null ? void 0 : (_state$fetchMeta2$fet = _state$fetchMeta2.fetchMore) == null ? void 0 : _state$fetchMeta2$fet.direction) === 'backward'\n });\n };\n\n return InfiniteQueryObserver;\n}(QueryObserver);","import { InfiniteQueryObserver } from '../core/infiniteQueryObserver';\nimport { parseQueryArgs } from '../core/utils';\nimport { useBaseQuery } from './useBaseQuery'; // HOOK\n\nexport function useInfiniteQuery(arg1, arg2, arg3) {\n var options = parseQueryArgs(arg1, arg2, arg3);\n return useBaseQuery(options, InfiniteQueryObserver);\n}","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import React from \"react\";\nimport { Router } from \"react-router\";\nimport { createBrowserHistory as createHistory } from \"history\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\n/**\n * The public API for a <Router> that uses HTML5 history.\n */\nclass BrowserRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return <Router history={this.history} children={this.props.children} />;\n }\n}\n\nif (__DEV__) {\n BrowserRouter.propTypes = {\n basename: PropTypes.string,\n children: PropTypes.node,\n forceRefresh: PropTypes.bool,\n getUserConfirmation: PropTypes.func,\n keyLength: PropTypes.number\n };\n\n BrowserRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \"<BrowserRouter> ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { BrowserRouter as Router }`.\"\n );\n };\n}\n\nexport default BrowserRouter;\n","import React from \"react\";\nimport { Router } from \"react-router\";\nimport { createHashHistory as createHistory } from \"history\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\n/**\n * The public API for a <Router> that uses window.location.hash.\n */\nclass HashRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return <Router history={this.history} children={this.props.children} />;\n }\n}\n\nif (__DEV__) {\n HashRouter.propTypes = {\n basename: PropTypes.string,\n children: PropTypes.node,\n getUserConfirmation: PropTypes.func,\n hashType: PropTypes.oneOf([\"hashbang\", \"noslash\", \"slash\"])\n };\n\n HashRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \"<HashRouter> ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { HashRouter as Router }`.\"\n );\n };\n}\n\nexport default HashRouter;\n","import { createLocation } from \"history\";\n\nexport const resolveToLocation = (to, currentLocation) =>\n typeof to === \"function\" ? to(currentLocation) : to;\n\nexport const normalizeToLocation = (to, currentLocation) => {\n return typeof to === \"string\"\n ? createLocation(to, null, null, currentLocation)\n : to;\n};\n","import React from \"react\";\nimport { __RouterContext as RouterContext } from \"react-router\";\nimport { createPath } from 'history';\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport {\n resolveToLocation,\n normalizeToLocation\n} from \"./utils/locationUtils.js\";\n\n// React 15 compat\nconst forwardRefShim = C => C;\nlet { forwardRef } = React;\nif (typeof forwardRef === \"undefined\") {\n forwardRef = forwardRefShim;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n\nconst LinkAnchor = forwardRef(\n (\n {\n innerRef, // TODO: deprecate\n navigate,\n onClick,\n ...rest\n },\n forwardedRef\n ) => {\n const { target } = rest;\n\n let props = {\n ...rest,\n onClick: event => {\n try {\n if (onClick) onClick(event);\n } catch (ex) {\n event.preventDefault();\n throw ex;\n }\n\n if (\n !event.defaultPrevented && // onClick prevented default\n event.button === 0 && // ignore everything but left clicks\n (!target || target === \"_self\") && // let browser handle \"target=_blank\" etc.\n !isModifiedEvent(event) // ignore clicks with modifier keys\n ) {\n event.preventDefault();\n navigate();\n }\n }\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.ref = innerRef;\n }\n\n /* eslint-disable-next-line jsx-a11y/anchor-has-content */\n return <a {...props} />;\n }\n);\n\nif (__DEV__) {\n LinkAnchor.displayName = \"LinkAnchor\";\n}\n\n/**\n * The public API for rendering a history-aware <a>.\n */\nconst Link = forwardRef(\n (\n {\n component = LinkAnchor,\n replace,\n to,\n innerRef, // TODO: deprecate\n ...rest\n },\n forwardedRef\n ) => {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <Link> outside a <Router>\");\n\n const { history } = context;\n\n const location = normalizeToLocation(\n resolveToLocation(to, context.location),\n context.location\n );\n\n const href = location ? history.createHref(location) : \"\";\n const props = {\n ...rest,\n href,\n navigate() {\n const location = resolveToLocation(to, context.location);\n const isDuplicateNavigation = createPath(context.location) === createPath(normalizeToLocation(location));\n const method = (replace || isDuplicateNavigation) ? history.replace : history.push;\n\n method(location);\n }\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return React.createElement(component, props);\n }}\n </RouterContext.Consumer>\n );\n }\n);\n\nif (__DEV__) {\n const toType = PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object,\n PropTypes.func\n ]);\n const refType = PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.func,\n PropTypes.shape({ current: PropTypes.any })\n ]);\n\n Link.displayName = \"Link\";\n\n Link.propTypes = {\n innerRef: refType,\n onClick: PropTypes.func,\n replace: PropTypes.bool,\n target: PropTypes.string,\n to: toType.isRequired\n };\n}\n\nexport default Link;\n","import React from \"react\";\nimport { __RouterContext as RouterContext, matchPath } from \"react-router\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport Link from \"./Link.js\";\nimport {\n resolveToLocation,\n normalizeToLocation\n} from \"./utils/locationUtils.js\";\n\n// React 15 compat\nconst forwardRefShim = C => C;\nlet { forwardRef } = React;\nif (typeof forwardRef === \"undefined\") {\n forwardRef = forwardRefShim;\n}\n\nfunction joinClassnames(...classnames) {\n return classnames.filter(i => i).join(\" \");\n}\n\n/**\n * A <Link> wrapper that knows if it's \"active\" or not.\n */\nconst NavLink = forwardRef(\n (\n {\n \"aria-current\": ariaCurrent = \"page\",\n activeClassName = \"active\", // TODO: deprecate\n activeStyle, // TODO: deprecate\n className: classNameProp,\n exact,\n isActive: isActiveProp,\n location: locationProp,\n sensitive,\n strict,\n style: styleProp,\n to,\n innerRef, // TODO: deprecate\n ...rest\n },\n forwardedRef\n ) => {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <NavLink> outside a <Router>\");\n\n const currentLocation = locationProp || context.location;\n const toLocation = normalizeToLocation(\n resolveToLocation(to, currentLocation),\n currentLocation\n );\n const { pathname: path } = toLocation;\n // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202\n const escapedPath =\n path && path.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n\n const match = escapedPath\n ? matchPath(currentLocation.pathname, {\n path: escapedPath,\n exact,\n sensitive,\n strict\n })\n : null;\n const isActive = !!(isActiveProp\n ? isActiveProp(match, currentLocation)\n : match);\n\n let className =\n typeof classNameProp === \"function\"\n ? classNameProp(isActive)\n : classNameProp;\n\n let style =\n typeof styleProp === \"function\" ? styleProp(isActive) : styleProp;\n\n if (isActive) {\n className = joinClassnames(className, activeClassName);\n style = { ...style, ...activeStyle };\n }\n\n const props = {\n \"aria-current\": (isActive && ariaCurrent) || null,\n className,\n style,\n to: toLocation,\n ...rest\n };\n\n // React 15 compat\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return <Link {...props} />;\n }}\n </RouterContext.Consumer>\n );\n }\n);\n\nif (__DEV__) {\n NavLink.displayName = \"NavLink\";\n\n const ariaCurrentType = PropTypes.oneOf([\n \"page\",\n \"step\",\n \"location\",\n \"date\",\n \"time\",\n \"true\",\n \"false\"\n ]);\n\n NavLink.propTypes = {\n ...Link.propTypes,\n \"aria-current\": ariaCurrentType,\n activeClassName: PropTypes.string,\n activeStyle: PropTypes.object,\n className: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n exact: PropTypes.bool,\n isActive: PropTypes.func,\n location: PropTypes.object,\n sensitive: PropTypes.bool,\n strict: PropTypes.bool,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.func])\n };\n}\n\nexport default NavLink;\n","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","// MIT License\n// Copyright (c) 2019-present StringEpsilon <StringEpsilon@gmail.com>\n// Copyright (c) 2017-2019 James Kyle <me@thejameskyle.com>\n// https://github.com/StringEpsilon/mini-create-react-context\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\nconst MAX_SIGNED_31_BIT_INT = 1073741823;\n\nconst commonjsGlobal =\n typeof globalThis !== \"undefined\" // 'global proper'\n ? // eslint-disable-next-line no-undef\n globalThis\n : typeof window !== \"undefined\"\n ? window // Browser\n : typeof global !== \"undefined\"\n ? global // node.js\n : {};\n\nfunction getUniqueId() {\n let key = \"__global_unique_id__\";\n return (commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1);\n}\n\n// Inlined Object.is polyfill.\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction objectIs(x, y) {\n if (x === y) {\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // eslint-disable-next-line no-self-compare\n return x !== x && y !== y;\n }\n}\n\nfunction createEventEmitter(value) {\n let handlers = [];\n return {\n on(handler) {\n handlers.push(handler);\n },\n\n off(handler) {\n handlers = handlers.filter(h => h !== handler);\n },\n\n get() {\n return value;\n },\n\n set(newValue, changedBits) {\n value = newValue;\n handlers.forEach(handler => handler(value, changedBits));\n }\n };\n}\n\nfunction onlyChild(children) {\n return Array.isArray(children) ? children[0] : children;\n}\n\nexport default function createReactContext(defaultValue, calculateChangedBits) {\n const contextProp = \"__create-react-context-\" + getUniqueId() + \"__\";\n\n class Provider extends React.Component {\n emitter = createEventEmitter(this.props.value);\n\n static childContextTypes = {\n [contextProp]: PropTypes.object.isRequired\n };\n\n getChildContext() {\n return {\n [contextProp]: this.emitter\n };\n }\n\n componentWillReceiveProps(nextProps) {\n if (this.props.value !== nextProps.value) {\n let oldValue = this.props.value;\n let newValue = nextProps.value;\n let changedBits;\n\n if (objectIs(oldValue, newValue)) {\n changedBits = 0; // No change\n } else {\n changedBits =\n typeof calculateChangedBits === \"function\"\n ? calculateChangedBits(oldValue, newValue)\n : MAX_SIGNED_31_BIT_INT;\n if (process.env.NODE_ENV !== \"production\") {\n warning(\n (changedBits & MAX_SIGNED_31_BIT_INT) === changedBits,\n \"calculateChangedBits: Expected the return value to be a \" +\n \"31-bit integer. Instead received: \" +\n changedBits\n );\n }\n\n changedBits |= 0;\n\n if (changedBits !== 0) {\n this.emitter.set(nextProps.value, changedBits);\n }\n }\n }\n }\n\n render() {\n return this.props.children;\n }\n }\n\n class Consumer extends React.Component {\n static contextTypes = {\n [contextProp]: PropTypes.object\n };\n\n observedBits;\n\n state = {\n value: this.getValue()\n };\n\n componentWillReceiveProps(nextProps) {\n let { observedBits } = nextProps;\n this.observedBits =\n observedBits === undefined || observedBits === null\n ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n }\n\n componentDidMount() {\n if (this.context[contextProp]) {\n this.context[contextProp].on(this.onUpdate);\n }\n let { observedBits } = this.props;\n this.observedBits =\n observedBits === undefined || observedBits === null\n ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n }\n\n componentWillUnmount() {\n if (this.context[contextProp]) {\n this.context[contextProp].off(this.onUpdate);\n }\n }\n\n getValue() {\n if (this.context[contextProp]) {\n return this.context[contextProp].get();\n } else {\n return defaultValue;\n }\n }\n\n onUpdate = (newValue, changedBits) => {\n const observedBits = this.observedBits | 0;\n if ((observedBits & changedBits) !== 0) {\n this.setState({ value: this.getValue() });\n }\n };\n\n render() {\n return onlyChild(this.props.children)(this.state.value);\n }\n }\n\n return {\n Provider,\n Consumer\n };\n}\n","// MIT License\n// Copyright (c) 2019-present StringEpsilon <StringEpsilon@gmail.com>\n// Copyright (c) 2017-2019 James Kyle <me@thejameskyle.com>\n// https://github.com/StringEpsilon/mini-create-react-context\nimport React from \"react\";\nimport createReactContext from \"./miniCreateReactContext\";\n\nexport default React.createContext || createReactContext;\n","// TODO: Replace with React.createContext once we can assume React 16+\nimport createContext from \"./createContext\";\n\nconst createNamedContext = name => {\n const context = createContext();\n context.displayName = name;\n\n return context;\n};\n\nexport default createNamedContext;\n","import createNamedContext from \"./createNamedContext\";\n\nconst historyContext = /*#__PURE__*/ createNamedContext(\"Router-History\");\nexport default historyContext;\n","import createNamedContext from \"./createNamedContext\";\n\nconst context = /*#__PURE__*/ createNamedContext(\"Router\");\nexport default context;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"tiny-warning\";\n\nimport HistoryContext from \"./HistoryContext.js\";\nimport RouterContext from \"./RouterContext.js\";\n\n/**\n * The public API for putting history on context.\n */\nclass Router extends React.Component {\n static computeRootMatch(pathname) {\n return { path: \"/\", url: \"/\", params: {}, isExact: pathname === \"/\" };\n }\n\n constructor(props) {\n super(props);\n\n this.state = {\n location: props.history.location\n };\n\n // This is a bit of a hack. We have to start listening for location\n // changes here in the constructor in case there are any <Redirect>s\n // on the initial render. If there are, they will replace/push when\n // they mount and since cDM fires in children before parents, we may\n // get a new location before the <Router> is mounted.\n this._isMounted = false;\n this._pendingLocation = null;\n\n if (!props.staticContext) {\n this.unlisten = props.history.listen(location => {\n this._pendingLocation = location;\n });\n }\n }\n\n componentDidMount() {\n this._isMounted = true;\n\n if (this.unlisten) {\n // Any pre-mount location changes have been captured at\n // this point, so unregister the listener.\n this.unlisten();\n }\n if (!this.props.staticContext) {\n this.unlisten = this.props.history.listen(location => {\n if (this._isMounted) {\n this.setState({ location });\n }\n });\n }\n if (this._pendingLocation) {\n this.setState({ location: this._pendingLocation });\n }\n }\n\n componentWillUnmount() {\n if (this.unlisten) {\n this.unlisten();\n this._isMounted = false;\n this._pendingLocation = null;\n }\n }\n\n render() {\n return (\n <RouterContext.Provider\n value={{\n history: this.props.history,\n location: this.state.location,\n match: Router.computeRootMatch(this.state.location.pathname),\n staticContext: this.props.staticContext\n }}\n >\n <HistoryContext.Provider\n children={this.props.children || null}\n value={this.props.history}\n />\n </RouterContext.Provider>\n );\n }\n}\n\nif (__DEV__) {\n Router.propTypes = {\n children: PropTypes.node,\n history: PropTypes.object.isRequired,\n staticContext: PropTypes.object\n };\n\n Router.prototype.componentDidUpdate = function(prevProps) {\n warning(\n prevProps.history === this.props.history,\n \"You cannot change <Router history>\"\n );\n };\n}\n\nexport default Router;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createMemoryHistory as createHistory } from \"history\";\nimport warning from \"tiny-warning\";\n\nimport Router from \"./Router.js\";\n\n/**\n * The public API for a <Router> that stores location in memory.\n */\nclass MemoryRouter extends React.Component {\n history = createHistory(this.props);\n\n render() {\n return <Router history={this.history} children={this.props.children} />;\n }\n}\n\nif (__DEV__) {\n MemoryRouter.propTypes = {\n initialEntries: PropTypes.array,\n initialIndex: PropTypes.number,\n getUserConfirmation: PropTypes.func,\n keyLength: PropTypes.number,\n children: PropTypes.node\n };\n\n MemoryRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \"<MemoryRouter> ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { MemoryRouter as Router }`.\"\n );\n };\n}\n\nexport default MemoryRouter;\n","import React from \"react\";\n\nclass Lifecycle extends React.Component {\n componentDidMount() {\n if (this.props.onMount) this.props.onMount.call(this, this);\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);\n }\n\n componentWillUnmount() {\n if (this.props.onUnmount) this.props.onUnmount.call(this, this);\n }\n\n render() {\n return null;\n }\n}\n\nexport default Lifecycle;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\n\nimport Lifecycle from \"./Lifecycle.js\";\nimport RouterContext from \"./RouterContext.js\";\n\n/**\n * The public API for prompting the user before navigating away from a screen.\n */\nfunction Prompt({ message, when = true }) {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <Prompt> outside a <Router>\");\n\n if (!when || context.staticContext) return null;\n\n const method = context.history.block;\n\n return (\n <Lifecycle\n onMount={self => {\n self.release = method(message);\n }}\n onUpdate={(self, prevProps) => {\n if (prevProps.message !== message) {\n self.release();\n self.release = method(message);\n }\n }}\n onUnmount={self => {\n self.release();\n }}\n message={message}\n />\n );\n }}\n </RouterContext.Consumer>\n );\n}\n\nif (__DEV__) {\n const messageType = PropTypes.oneOfType([PropTypes.func, PropTypes.string]);\n\n Prompt.propTypes = {\n when: PropTypes.bool,\n message: messageType.isRequired\n };\n}\n\nexport default Prompt;\n","import pathToRegexp from \"path-to-regexp\";\n\nconst cache = {};\nconst cacheLimit = 10000;\nlet cacheCount = 0;\n\nfunction compilePath(path) {\n if (cache[path]) return cache[path];\n\n const generator = pathToRegexp.compile(path);\n\n if (cacheCount < cacheLimit) {\n cache[path] = generator;\n cacheCount++;\n }\n\n return generator;\n}\n\n/**\n * Public API for generating a URL pathname from a path and parameters.\n */\nfunction generatePath(path = \"/\", params = {}) {\n return path === \"/\" ? path : compilePath(path)(params, { pretty: true });\n}\n\nexport default generatePath;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createLocation, locationsAreEqual } from \"history\";\nimport invariant from \"tiny-invariant\";\n\nimport Lifecycle from \"./Lifecycle.js\";\nimport RouterContext from \"./RouterContext.js\";\nimport generatePath from \"./generatePath.js\";\n\n/**\n * The public API for navigating programmatically with a component.\n */\nfunction Redirect({ computedMatch, to, push = false }) {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <Redirect> outside a <Router>\");\n\n const { history, staticContext } = context;\n\n const method = push ? history.push : history.replace;\n const location = createLocation(\n computedMatch\n ? typeof to === \"string\"\n ? generatePath(to, computedMatch.params)\n : {\n ...to,\n pathname: generatePath(to.pathname, computedMatch.params)\n }\n : to\n );\n\n // When rendering in a static context,\n // set the new location immediately.\n if (staticContext) {\n method(location);\n return null;\n }\n\n return (\n <Lifecycle\n onMount={() => {\n method(location);\n }}\n onUpdate={(self, prevProps) => {\n const prevLocation = createLocation(prevProps.to);\n if (\n !locationsAreEqual(prevLocation, {\n ...location,\n key: prevLocation.key\n })\n ) {\n method(location);\n }\n }}\n to={to}\n />\n );\n }}\n </RouterContext.Consumer>\n );\n}\n\nif (__DEV__) {\n Redirect.propTypes = {\n push: PropTypes.bool,\n from: PropTypes.string,\n to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired\n };\n}\n\nexport default Redirect;\n","import pathToRegexp from \"path-to-regexp\";\n\nconst cache = {};\nconst cacheLimit = 10000;\nlet cacheCount = 0;\n\nfunction compilePath(path, options) {\n const cacheKey = `${options.end}${options.strict}${options.sensitive}`;\n const pathCache = cache[cacheKey] || (cache[cacheKey] = {});\n\n if (pathCache[path]) return pathCache[path];\n\n const keys = [];\n const regexp = pathToRegexp(path, keys, options);\n const result = { regexp, keys };\n\n if (cacheCount < cacheLimit) {\n pathCache[path] = result;\n cacheCount++;\n }\n\n return result;\n}\n\n/**\n * Public API for matching a URL pathname to a path.\n */\nfunction matchPath(pathname, options = {}) {\n if (typeof options === \"string\" || Array.isArray(options)) {\n options = { path: options };\n }\n\n const { path, exact = false, strict = false, sensitive = false } = options;\n\n const paths = [].concat(path);\n\n return paths.reduce((matched, path) => {\n if (!path && path !== \"\") return null;\n if (matched) return matched;\n\n const { regexp, keys } = compilePath(path, {\n end: exact,\n strict,\n sensitive\n });\n const match = regexp.exec(pathname);\n\n if (!match) return null;\n\n const [url, ...values] = match;\n const isExact = pathname === url;\n\n if (exact && !isExact) return null;\n\n return {\n path, // the path used to match\n url: path === \"/\" && url === \"\" ? \"/\" : url, // the matched portion of the URL\n isExact, // whether or not we matched exactly\n params: keys.reduce((memo, key, index) => {\n memo[key.name] = values[index];\n return memo;\n }, {})\n };\n }, null);\n}\n\nexport default matchPath;\n","import React from \"react\";\nimport { isValidElementType } from \"react-is\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport matchPath from \"./matchPath.js\";\n\nfunction isEmptyChildren(children) {\n return React.Children.count(children) === 0;\n}\n\nfunction evalChildrenDev(children, props, path) {\n const value = children(props);\n\n warning(\n value !== undefined,\n \"You returned `undefined` from the `children` function of \" +\n `<Route${path ? ` path=\"${path}\"` : \"\"}>, but you ` +\n \"should have returned a React element or `null`\"\n );\n\n return value || null;\n}\n\n/**\n * The public API for matching a single path and rendering.\n */\nclass Route extends React.Component {\n render() {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <Route> outside a <Router>\");\n\n const location = this.props.location || context.location;\n const match = this.props.computedMatch\n ? this.props.computedMatch // <Switch> already computed the match for us\n : this.props.path\n ? matchPath(location.pathname, this.props)\n : context.match;\n\n const props = { ...context, location, match };\n\n let { children, component, render } = this.props;\n\n // Preact uses an empty array as children by\n // default, so use null if that's the case.\n if (Array.isArray(children) && isEmptyChildren(children)) {\n children = null;\n }\n\n return (\n <RouterContext.Provider value={props}>\n {props.match\n ? children\n ? typeof children === \"function\"\n ? __DEV__\n ? evalChildrenDev(children, props, this.props.path)\n : children(props)\n : children\n : component\n ? React.createElement(component, props)\n : render\n ? render(props)\n : null\n : typeof children === \"function\"\n ? __DEV__\n ? evalChildrenDev(children, props, this.props.path)\n : children(props)\n : null}\n </RouterContext.Provider>\n );\n }}\n </RouterContext.Consumer>\n );\n }\n}\n\nif (__DEV__) {\n Route.propTypes = {\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n component: (props, propName) => {\n if (props[propName] && !isValidElementType(props[propName])) {\n return new Error(\n `Invalid prop 'component' supplied to 'Route': the prop is not a valid React component`\n );\n }\n },\n exact: PropTypes.bool,\n location: PropTypes.object,\n path: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string)\n ]),\n render: PropTypes.func,\n sensitive: PropTypes.bool,\n strict: PropTypes.bool\n };\n\n Route.prototype.componentDidMount = function() {\n warning(\n !(\n this.props.children &&\n !isEmptyChildren(this.props.children) &&\n this.props.component\n ),\n \"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored\"\n );\n\n warning(\n !(\n this.props.children &&\n !isEmptyChildren(this.props.children) &&\n this.props.render\n ),\n \"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored\"\n );\n\n warning(\n !(this.props.component && this.props.render),\n \"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored\"\n );\n };\n\n Route.prototype.componentDidUpdate = function(prevProps) {\n warning(\n !(this.props.location && !prevProps.location),\n '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.'\n );\n\n warning(\n !(!this.props.location && prevProps.location),\n '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.'\n );\n };\n}\n\nexport default Route;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createLocation, createPath } from \"history\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport Router from \"./Router.js\";\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === \"/\" ? path : \"/\" + path;\n}\n\nfunction addBasename(basename, location) {\n if (!basename) return location;\n\n return {\n ...location,\n pathname: addLeadingSlash(basename) + location.pathname\n };\n}\n\nfunction stripBasename(basename, location) {\n if (!basename) return location;\n\n const base = addLeadingSlash(basename);\n\n if (location.pathname.indexOf(base) !== 0) return location;\n\n return {\n ...location,\n pathname: location.pathname.substr(base.length)\n };\n}\n\nfunction createURL(location) {\n return typeof location === \"string\" ? location : createPath(location);\n}\n\nfunction staticHandler(methodName) {\n return () => {\n invariant(false, \"You cannot %s with <StaticRouter>\", methodName);\n };\n}\n\nfunction noop() {}\n\n/**\n * The public top-level API for a \"static\" <Router>, so-called because it\n * can't actually change the current location. Instead, it just records\n * location changes in a context object. Useful mainly in testing and\n * server-rendering scenarios.\n */\nclass StaticRouter extends React.Component {\n navigateTo(location, action) {\n const { basename = \"\", context = {} } = this.props;\n context.action = action;\n context.location = addBasename(basename, createLocation(location));\n context.url = createURL(context.location);\n }\n\n handlePush = location => this.navigateTo(location, \"PUSH\");\n handleReplace = location => this.navigateTo(location, \"REPLACE\");\n handleListen = () => noop;\n handleBlock = () => noop;\n\n render() {\n const { basename = \"\", context = {}, location = \"/\", ...rest } = this.props;\n\n const history = {\n createHref: path => addLeadingSlash(basename + createURL(path)),\n action: \"POP\",\n location: stripBasename(basename, createLocation(location)),\n push: this.handlePush,\n replace: this.handleReplace,\n go: staticHandler(\"go\"),\n goBack: staticHandler(\"goBack\"),\n goForward: staticHandler(\"goForward\"),\n listen: this.handleListen,\n block: this.handleBlock\n };\n\n return <Router {...rest} history={history} staticContext={context} />;\n }\n}\n\nif (__DEV__) {\n StaticRouter.propTypes = {\n basename: PropTypes.string,\n context: PropTypes.object,\n location: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\n };\n\n StaticRouter.prototype.componentDidMount = function() {\n warning(\n !this.props.history,\n \"<StaticRouter> ignores the history prop. To use a custom history, \" +\n \"use `import { Router }` instead of `import { StaticRouter as Router }`.\"\n );\n };\n}\n\nexport default StaticRouter;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"tiny-invariant\";\nimport warning from \"tiny-warning\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport matchPath from \"./matchPath.js\";\n\n/**\n * The public API for rendering the first <Route> that matches.\n */\nclass Switch extends React.Component {\n render() {\n return (\n <RouterContext.Consumer>\n {context => {\n invariant(context, \"You should not use <Switch> outside a <Router>\");\n\n const location = this.props.location || context.location;\n\n let element, match;\n\n // We use React.Children.forEach instead of React.Children.toArray().find()\n // here because toArray adds keys to all child elements and we do not want\n // to trigger an unmount/remount for two <Route>s that render the same\n // component at different URLs.\n React.Children.forEach(this.props.children, child => {\n if (match == null && React.isValidElement(child)) {\n element = child;\n\n const path = child.props.path || child.props.from;\n\n match = path\n ? matchPath(location.pathname, { ...child.props, path })\n : context.match;\n }\n });\n\n return match\n ? React.cloneElement(element, { location, computedMatch: match })\n : null;\n }}\n </RouterContext.Consumer>\n );\n }\n}\n\nif (__DEV__) {\n Switch.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object\n };\n\n Switch.prototype.componentDidUpdate = function(prevProps) {\n warning(\n !(this.props.location && !prevProps.location),\n '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.'\n );\n\n warning(\n !(!this.props.location && prevProps.location),\n '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.'\n );\n };\n}\n\nexport default Switch;\n","import React from \"react\";\nimport invariant from \"tiny-invariant\";\n\nimport RouterContext from \"./RouterContext.js\";\nimport HistoryContext from \"./HistoryContext.js\";\nimport matchPath from \"./matchPath.js\";\n\nconst useContext = React.useContext;\n\nexport function useHistory() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useHistory()\"\n );\n }\n\n return useContext(HistoryContext);\n}\n\nexport function useLocation() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useLocation()\"\n );\n }\n\n return useContext(RouterContext).location;\n}\n\nexport function useParams() {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useParams()\"\n );\n }\n\n const match = useContext(RouterContext).match;\n return match ? match.params : {};\n}\n\nexport function useRouteMatch(path) {\n if (__DEV__) {\n invariant(\n typeof useContext === \"function\",\n \"You must use React >= 16.8 in order to use useRouteMatch()\"\n );\n }\n\n const location = useLocation();\n const match = useContext(RouterContext).match;\n return path ? matchPath(location.pathname, path) : match;\n}\n","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import React from 'react';\nexport default React.createContext(null);","/** @license React v17.0.2\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';require(\"object-assign\");var f=require(\"react\"),g=60103;exports.Fragment=60107;if(\"function\"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h(\"react.element\");exports.Fragment=h(\"react.fragment\")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=\"\"+k);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q;\n","/** @license React v17.0.2\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=require(\"object-assign\"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;\nif(\"function\"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w(\"react.element\");p=w(\"react.portal\");exports.Fragment=w(\"react.fragment\");exports.StrictMode=w(\"react.strict_mode\");exports.Profiler=w(\"react.profiler\");q=w(\"react.provider\");r=w(\"react.context\");t=w(\"react.forward_ref\");exports.Suspense=w(\"react.suspense\");u=w(\"react.memo\");v=w(\"react.lazy\")}var x=\"function\"===typeof Symbol&&Symbol.iterator;\nfunction y(a){if(null===a||\"object\"!==typeof a)return null;a=x&&a[x]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function z(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};function C(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}C.prototype.isReactComponent={};C.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,\"setState\")};C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};\nfunction D(){}D.prototype=C.prototype;function E(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}var F=E.prototype=new D;F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};\nfunction J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)H.call(b,e)&&!I.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];d.children=f}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:n,type:a,key:k,ref:h,props:d,_owner:G.current}}\nfunction K(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===n}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\\/+/g;function N(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(\"\"+a.key):b.toString(36)}\nfunction O(a,b,c,e,d){var k=typeof a;if(\"undefined\"===k||\"boolean\"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case \"string\":case \"number\":h=!0;break;case \"object\":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,d=d(h),a=\"\"===e?\".\"+N(h,0):e,Array.isArray(d)?(c=\"\",null!=a&&(c=a.replace(M,\"$&/\")+\"/\"),O(d,b,c,\"\",function(a){return a})):null!=d&&(L(d)&&(d=K(d,c+(!d.key||h&&h.key===d.key?\"\":(\"\"+d.key).replace(M,\"$&/\")+\"/\")+a)),b.push(d)),1;h=0;e=\"\"===e?\".\":e+\":\";if(Array.isArray(a))for(var g=\n0;g<a.length;g++){k=a[g];var f=e+N(k,g);h+=O(k,b,c,f,d)}else if(f=y(a),\"function\"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=e+N(k,g++),h+=O(k,b,c,f,d);else if(\"object\"===k)throw b=\"\"+a,Error(z(31,\"[object Object]\"===b?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,\"\",\"\",function(a){return b.call(c,a,d++)});return e}\nfunction Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null};function S(){var a=R.current;if(null===a)throw Error(z(321));return a}var T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};\nexports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T;\nexports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=G.current);void 0!==b.key&&(d=\"\"+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)H.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:n,type:a.type,\nkey:d,ref:k,props:e,_owner:h}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:r,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}};exports.isValidElement=L;\nexports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return S().useCallback(a,b)};exports.useContext=function(a,b){return S().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return S().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S().useImperativeHandle(a,b,c)};\nexports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S().useMemo(a,b)};exports.useReducer=function(a,b,c){return S().useReducer(a,b,c)};exports.useRef=function(a){return S().useRef(a)};exports.useState=function(a){return S().useState(a)};exports.version=\"17.0.2\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/** @license React v0.17.0\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';Object.defineProperty(exports,\"__esModule\",{value:!0});var f,g,h,k,l;\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0))};g=function(a,b){q=setTimeout(a,b)};h=function(){clearTimeout(q)};k=function(){return!1};l=exports.unstable_forceFrameRate=function(){}}else{var w=window.performance,x=window.Date,\ny=window.setTimeout,z=window.clearTimeout,A=window.requestAnimationFrame,B=window.cancelAnimationFrame;\"undefined\"!==typeof console&&(\"function\"!==typeof A&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\"function\"!==typeof B&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));if(\"object\"===typeof w&&\n\"function\"===typeof w.now)exports.unstable_now=function(){return w.now()};else{var C=x.now();exports.unstable_now=function(){return x.now()-C}}var D=!1,E=null,F=-1,G=5,H=0;k=function(){return exports.unstable_now()>=H};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):G=0<a?Math.floor(1E3/a):33.33};var I=new MessageChannel,J=I.port2;I.port1.onmessage=\nfunction(){if(null!==E){var a=exports.unstable_now();H=a+G;try{E(!0,a)?J.postMessage(null):(D=!1,E=null)}catch(b){throw J.postMessage(null),b;}}else D=!1};f=function(a){E=a;D||(D=!0,J.postMessage(null))};g=function(a,b){F=y(function(){a(exports.unstable_now())},b)};h=function(){z(F);F=-1}}function K(a,b){var c=a.length;a.push(b);a:for(;;){var d=Math.floor((c-1)/2),e=a[d];if(void 0!==e&&0<L(e,b))a[d]=b,a[c]=e,c=d;else break a}}function M(a){a=a[0];return void 0===a?null:a}\nfunction N(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>L(n,c))void 0!==r&&0>L(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>L(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function L(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var O=[],P=[],Q=1,R=null,S=3,T=!1,U=!1,V=!1;\nfunction W(a){for(var b=M(P);null!==b;){if(null===b.callback)N(P);else if(b.startTime<=a)N(P),b.sortIndex=b.expirationTime,K(O,b);else break;b=M(P)}}function X(a){V=!1;W(a);if(!U)if(null!==M(O))U=!0,f(Y);else{var b=M(P);null!==b&&g(X,b.startTime-a)}}\nfunction Y(a,b){U=!1;V&&(V=!1,h());T=!0;var c=S;try{W(b);for(R=M(O);null!==R&&(!(R.expirationTime>b)||a&&!k());){var d=R.callback;if(null!==d){R.callback=null;S=R.priorityLevel;var e=d(R.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?R.callback=e:R===M(O)&&N(O);W(b)}else N(O);R=M(O)}if(null!==R)var m=!0;else{var n=M(P);null!==n&&g(X,n.startTime-b);m=!1}return m}finally{R=null,S=c,T=!1}}\nfunction Z(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var aa=l;exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=5;exports.unstable_LowPriority=4;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=S;S=a;try{return b()}finally{S=c}};\nexports.unstable_next=function(a){switch(S){case 1:case 2:case 3:var b=3;break;default:b=S}var c=S;S=b;try{return a()}finally{S=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if(\"object\"===typeof c&&null!==c){var e=c.delay;e=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:Z(a)}else c=Z(a),e=d;c=e+c;a={id:Q++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,K(P,a),null===M(O)&&a===M(P)&&(V?h():V=!0,g(X,e-d))):(a.sortIndex=c,K(O,a),U||T||(U=!0,f(Y)));return a};exports.unstable_cancelCallback=function(a){a.callback=null};\nexports.unstable_wrapCallback=function(a){var b=S;return function(){var c=S;S=b;try{return a.apply(this,arguments)}finally{S=c}}};exports.unstable_getCurrentPriorityLevel=function(){return S};exports.unstable_shouldYield=function(){var a=exports.unstable_now();W(a);var b=M(O);return b!==R&&null!==R&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<R.expirationTime||k()};exports.unstable_requestPaint=aa;exports.unstable_continueExecution=function(){U||T||(U=!0,f(Y))};\nexports.unstable_pauseExecution=function(){};exports.unstable_getFirstCallbackNode=function(){return M(O)};exports.unstable_Profiling=null;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/** @license React v0.20.2\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f,g,h,k;if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var t=null,u=null,w=function(){if(null!==t)try{var a=exports.unstable_now();t(!0,a);t=null}catch(b){throw setTimeout(w,0),b;}};f=function(a){null!==t?setTimeout(f,0,a):(t=a,setTimeout(w,0))};g=function(a,b){u=setTimeout(a,b)};h=function(){clearTimeout(u)};exports.unstable_shouldYield=function(){return!1};k=exports.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,y=window.clearTimeout;if(\"undefined\"!==typeof console){var z=\nwindow.cancelAnimationFrame;\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\");\"function\"!==typeof z&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\")}var A=!1,B=null,C=-1,D=5,E=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=\nE};k=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):D=0<a?Math.floor(1E3/a):5};var F=new MessageChannel,G=F.port2;F.port1.onmessage=function(){if(null!==B){var a=exports.unstable_now();E=a+D;try{B(!0,a)?G.postMessage(null):(A=!1,B=null)}catch(b){throw G.postMessage(null),b;}}else A=!1};f=function(a){B=a;A||(A=!0,G.postMessage(null))};g=function(a,b){C=\nx(function(){a(exports.unstable_now())},b)};h=function(){y(C);C=-1}}function H(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<I(e,b))a[d]=b,a[c]=e,c=d;else break a}}function J(a){a=a[0];return void 0===a?null:a}\nfunction K(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>I(n,c))void 0!==r&&0>I(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>I(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function I(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var L=[],M=[],N=1,O=null,P=3,Q=!1,R=!1,S=!1;\nfunction T(a){for(var b=J(M);null!==b;){if(null===b.callback)K(M);else if(b.startTime<=a)K(M),b.sortIndex=b.expirationTime,H(L,b);else break;b=J(M)}}function U(a){S=!1;T(a);if(!R)if(null!==J(L))R=!0,f(V);else{var b=J(M);null!==b&&g(U,b.startTime-a)}}\nfunction V(a,b){R=!1;S&&(S=!1,h());Q=!0;var c=P;try{T(b);for(O=J(L);null!==O&&(!(O.expirationTime>b)||a&&!exports.unstable_shouldYield());){var d=O.callback;if(\"function\"===typeof d){O.callback=null;P=O.priorityLevel;var e=d(O.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?O.callback=e:O===J(L)&&K(L);T(b)}else K(L);O=J(L)}if(null!==O)var m=!0;else{var n=J(M);null!==n&&g(U,n.startTime-b);m=!1}return m}finally{O=null,P=c,Q=!1}}var W=k;exports.unstable_IdlePriority=5;\nexports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){R||Q||(R=!0,f(V))};exports.unstable_getCurrentPriorityLevel=function(){return P};exports.unstable_getFirstCallbackNode=function(){return J(L)};\nexports.unstable_next=function(a){switch(P){case 1:case 2:case 3:var b=3;break;default:b=P}var c=P;P=b;try{return a()}finally{P=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=W;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=P;P=a;try{return b()}finally{P=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();\"object\"===typeof c&&null!==c?(c=c.delay,c=\"number\"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:N++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,H(M,a),null===J(L)&&a===J(M)&&(S?h():S=!0,g(U,c-d))):(a.sortIndex=e,H(L,a),R||Q||(R=!0,f(V)));return a};\nexports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;try{return a.apply(this,arguments)}finally{P=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","'use strict';\n\nvar isArrayish = require('is-arrayish');\n\nvar concat = Array.prototype.concat;\nvar slice = Array.prototype.slice;\n\nvar swizzle = module.exports = function swizzle(args) {\n\tvar results = [];\n\n\tfor (var i = 0, len = args.length; i < len; i++) {\n\t\tvar arg = args[i];\n\n\t\tif (isArrayish(arg)) {\n\t\t\t// http://jsperf.com/javascript-array-concat-vs-push/98\n\t\t\tresults = concat.call(results, slice.call(arg));\n\t\t} else {\n\t\t\tresults.push(arg);\n\t\t}\n\t}\n\n\treturn results;\n};\n\nswizzle.wrap = function (fn) {\n\treturn function () {\n\t\treturn fn(swizzle(arguments));\n\t};\n};\n",null,null,null,null,null,null,"var TINF_OK = 0;\nvar TINF_DATA_ERROR = -3;\n\nfunction Tree() {\n this.table = new Uint16Array(16); /* table of code length counts */\n this.trans = new Uint16Array(288); /* code -> symbol translation table */\n}\n\nfunction Data(source, dest) {\n this.source = source;\n this.sourceIndex = 0;\n this.tag = 0;\n this.bitcount = 0;\n \n this.dest = dest;\n this.destLen = 0;\n \n this.ltree = new Tree(); /* dynamic length/symbol tree */\n this.dtree = new Tree(); /* dynamic distance tree */\n}\n\n/* --------------------------------------------------- *\n * -- uninitialized global data (static structures) -- *\n * --------------------------------------------------- */\n\nvar sltree = new Tree();\nvar sdtree = new Tree();\n\n/* extra bits and base tables for length codes */\nvar length_bits = new Uint8Array(30);\nvar length_base = new Uint16Array(30);\n\n/* extra bits and base tables for distance codes */\nvar dist_bits = new Uint8Array(30);\nvar dist_base = new Uint16Array(30);\n\n/* special ordering of code length codes */\nvar clcidx = new Uint8Array([\n 16, 17, 18, 0, 8, 7, 9, 6,\n 10, 5, 11, 4, 12, 3, 13, 2,\n 14, 1, 15\n]);\n\n/* used by tinf_decode_trees, avoids allocations every call */\nvar code_tree = new Tree();\nvar lengths = new Uint8Array(288 + 32);\n\n/* ----------------------- *\n * -- utility functions -- *\n * ----------------------- */\n\n/* build extra bits and base tables */\nfunction tinf_build_bits_base(bits, base, delta, first) {\n var i, sum;\n\n /* build bits table */\n for (i = 0; i < delta; ++i) bits[i] = 0;\n for (i = 0; i < 30 - delta; ++i) bits[i + delta] = i / delta | 0;\n\n /* build base table */\n for (sum = first, i = 0; i < 30; ++i) {\n base[i] = sum;\n sum += 1 << bits[i];\n }\n}\n\n/* build the fixed huffman trees */\nfunction tinf_build_fixed_trees(lt, dt) {\n var i;\n\n /* build fixed length tree */\n for (i = 0; i < 7; ++i) lt.table[i] = 0;\n\n lt.table[7] = 24;\n lt.table[8] = 152;\n lt.table[9] = 112;\n\n for (i = 0; i < 24; ++i) lt.trans[i] = 256 + i;\n for (i = 0; i < 144; ++i) lt.trans[24 + i] = i;\n for (i = 0; i < 8; ++i) lt.trans[24 + 144 + i] = 280 + i;\n for (i = 0; i < 112; ++i) lt.trans[24 + 144 + 8 + i] = 144 + i;\n\n /* build fixed distance tree */\n for (i = 0; i < 5; ++i) dt.table[i] = 0;\n\n dt.table[5] = 32;\n\n for (i = 0; i < 32; ++i) dt.trans[i] = i;\n}\n\n/* given an array of code lengths, build a tree */\nvar offs = new Uint16Array(16);\n\nfunction tinf_build_tree(t, lengths, off, num) {\n var i, sum;\n\n /* clear code length count table */\n for (i = 0; i < 16; ++i) t.table[i] = 0;\n\n /* scan symbol lengths, and sum code length counts */\n for (i = 0; i < num; ++i) t.table[lengths[off + i]]++;\n\n t.table[0] = 0;\n\n /* compute offset table for distribution sort */\n for (sum = 0, i = 0; i < 16; ++i) {\n offs[i] = sum;\n sum += t.table[i];\n }\n\n /* create code->symbol translation table (symbols sorted by code) */\n for (i = 0; i < num; ++i) {\n if (lengths[off + i]) t.trans[offs[lengths[off + i]]++] = i;\n }\n}\n\n/* ---------------------- *\n * -- decode functions -- *\n * ---------------------- */\n\n/* get one bit from source stream */\nfunction tinf_getbit(d) {\n /* check if tag is empty */\n if (!d.bitcount--) {\n /* load next tag */\n d.tag = d.source[d.sourceIndex++];\n d.bitcount = 7;\n }\n\n /* shift bit out of tag */\n var bit = d.tag & 1;\n d.tag >>>= 1;\n\n return bit;\n}\n\n/* read a num bit value from a stream and add base */\nfunction tinf_read_bits(d, num, base) {\n if (!num)\n return base;\n\n while (d.bitcount < 24) {\n d.tag |= d.source[d.sourceIndex++] << d.bitcount;\n d.bitcount += 8;\n }\n\n var val = d.tag & (0xffff >>> (16 - num));\n d.tag >>>= num;\n d.bitcount -= num;\n return val + base;\n}\n\n/* given a data stream and a tree, decode a symbol */\nfunction tinf_decode_symbol(d, t) {\n while (d.bitcount < 24) {\n d.tag |= d.source[d.sourceIndex++] << d.bitcount;\n d.bitcount += 8;\n }\n \n var sum = 0, cur = 0, len = 0;\n var tag = d.tag;\n\n /* get more bits while code value is above sum */\n do {\n cur = 2 * cur + (tag & 1);\n tag >>>= 1;\n ++len;\n\n sum += t.table[len];\n cur -= t.table[len];\n } while (cur >= 0);\n \n d.tag = tag;\n d.bitcount -= len;\n\n return t.trans[sum + cur];\n}\n\n/* given a data stream, decode dynamic trees from it */\nfunction tinf_decode_trees(d, lt, dt) {\n var hlit, hdist, hclen;\n var i, num, length;\n\n /* get 5 bits HLIT (257-286) */\n hlit = tinf_read_bits(d, 5, 257);\n\n /* get 5 bits HDIST (1-32) */\n hdist = tinf_read_bits(d, 5, 1);\n\n /* get 4 bits HCLEN (4-19) */\n hclen = tinf_read_bits(d, 4, 4);\n\n for (i = 0; i < 19; ++i) lengths[i] = 0;\n\n /* read code lengths for code length alphabet */\n for (i = 0; i < hclen; ++i) {\n /* get 3 bits code length (0-7) */\n var clen = tinf_read_bits(d, 3, 0);\n lengths[clcidx[i]] = clen;\n }\n\n /* build code length tree */\n tinf_build_tree(code_tree, lengths, 0, 19);\n\n /* decode code lengths for the dynamic trees */\n for (num = 0; num < hlit + hdist;) {\n var sym = tinf_decode_symbol(d, code_tree);\n\n switch (sym) {\n case 16:\n /* copy previous code length 3-6 times (read 2 bits) */\n var prev = lengths[num - 1];\n for (length = tinf_read_bits(d, 2, 3); length; --length) {\n lengths[num++] = prev;\n }\n break;\n case 17:\n /* repeat code length 0 for 3-10 times (read 3 bits) */\n for (length = tinf_read_bits(d, 3, 3); length; --length) {\n lengths[num++] = 0;\n }\n break;\n case 18:\n /* repeat code length 0 for 11-138 times (read 7 bits) */\n for (length = tinf_read_bits(d, 7, 11); length; --length) {\n lengths[num++] = 0;\n }\n break;\n default:\n /* values 0-15 represent the actual code lengths */\n lengths[num++] = sym;\n break;\n }\n }\n\n /* build dynamic trees */\n tinf_build_tree(lt, lengths, 0, hlit);\n tinf_build_tree(dt, lengths, hlit, hdist);\n}\n\n/* ----------------------------- *\n * -- block inflate functions -- *\n * ----------------------------- */\n\n/* given a stream and two trees, inflate a block of data */\nfunction tinf_inflate_block_data(d, lt, dt) {\n while (1) {\n var sym = tinf_decode_symbol(d, lt);\n\n /* check for end of block */\n if (sym === 256) {\n return TINF_OK;\n }\n\n if (sym < 256) {\n d.dest[d.destLen++] = sym;\n } else {\n var length, dist, offs;\n var i;\n\n sym -= 257;\n\n /* possibly get more bits from length code */\n length = tinf_read_bits(d, length_bits[sym], length_base[sym]);\n\n dist = tinf_decode_symbol(d, dt);\n\n /* possibly get more bits from distance code */\n offs = d.destLen - tinf_read_bits(d, dist_bits[dist], dist_base[dist]);\n\n /* copy match */\n for (i = offs; i < offs + length; ++i) {\n d.dest[d.destLen++] = d.dest[i];\n }\n }\n }\n}\n\n/* inflate an uncompressed block of data */\nfunction tinf_inflate_uncompressed_block(d) {\n var length, invlength;\n var i;\n \n /* unread from bitbuffer */\n while (d.bitcount > 8) {\n d.sourceIndex--;\n d.bitcount -= 8;\n }\n\n /* get length */\n length = d.source[d.sourceIndex + 1];\n length = 256 * length + d.source[d.sourceIndex];\n\n /* get one's complement of length */\n invlength = d.source[d.sourceIndex + 3];\n invlength = 256 * invlength + d.source[d.sourceIndex + 2];\n\n /* check length */\n if (length !== (~invlength & 0x0000ffff))\n return TINF_DATA_ERROR;\n\n d.sourceIndex += 4;\n\n /* copy block */\n for (i = length; i; --i)\n d.dest[d.destLen++] = d.source[d.sourceIndex++];\n\n /* make sure we start next block on a byte boundary */\n d.bitcount = 0;\n\n return TINF_OK;\n}\n\n/* inflate stream from source to dest */\nfunction tinf_uncompress(source, dest) {\n var d = new Data(source, dest);\n var bfinal, btype, res;\n\n do {\n /* read final block flag */\n bfinal = tinf_getbit(d);\n\n /* read block type (2 bits) */\n btype = tinf_read_bits(d, 2, 0);\n\n /* decompress block */\n switch (btype) {\n case 0:\n /* decompress uncompressed block */\n res = tinf_inflate_uncompressed_block(d);\n break;\n case 1:\n /* decompress block with fixed huffman trees */\n res = tinf_inflate_block_data(d, sltree, sdtree);\n break;\n case 2:\n /* decompress block with dynamic huffman trees */\n tinf_decode_trees(d, d.ltree, d.dtree);\n res = tinf_inflate_block_data(d, d.ltree, d.dtree);\n break;\n default:\n res = TINF_DATA_ERROR;\n }\n\n if (res !== TINF_OK)\n throw new Error('Data error');\n\n } while (!bfinal);\n\n if (d.destLen < d.dest.length) {\n if (typeof d.dest.slice === 'function')\n return d.dest.slice(0, d.destLen);\n else\n return d.dest.subarray(0, d.destLen);\n }\n \n return d.dest;\n}\n\n/* -------------------- *\n * -- initialization -- *\n * -------------------- */\n\n/* build fixed huffman trees */\ntinf_build_fixed_trees(sltree, sdtree);\n\n/* build extra bits and base tables */\ntinf_build_bits_base(length_bits, length_base, 4, 3);\ntinf_build_bits_base(dist_bits, dist_base, 2, 1);\n\n/* fix a special case */\nlength_bits[28] = 0;\nlength_base[28] = 258;\n\nmodule.exports = tinf_uncompress;\n","/**\n * The unique id is used for unique hashes.\n */\nlet uniqueId = 0;\n\n/**\n * Valid CSS property values.\n */\nexport type PropertyValue = number | boolean | string;\n\n/**\n * Input styles object.\n */\nexport interface Styles {\n $unique?: boolean;\n $displayName?: string;\n [selector: string]:\n | null\n | undefined\n | PropertyValue\n | PropertyValue[]\n | Styles;\n}\n\n/**\n * Hash algorithm interface.\n */\nexport type HashFunction = (str: string) => string;\n\n/**\n * Quick dictionary lookup for unit-less numbers.\n */\nconst CSS_NUMBER: Record<string, true> = Object.create(null);\n\n/**\n * CSS properties that are valid unit-less numbers.\n *\n * Ref: https://github.com/facebook/react/blob/master/packages/react-dom/src/shared/CSSProperty.js\n */\nconst CSS_NUMBER_KEYS = [\n \"animation-iteration-count\",\n \"border-image-outset\",\n \"border-image-slice\",\n \"border-image-width\",\n \"box-flex\",\n \"box-flex-group\",\n \"box-ordinal-group\",\n \"column-count\",\n \"columns\",\n \"counter-increment\",\n \"counter-reset\",\n \"flex\",\n \"flex-grow\",\n \"flex-positive\",\n \"flex-shrink\",\n \"flex-negative\",\n \"flex-order\",\n \"font-weight\",\n \"grid-area\",\n \"grid-column\",\n \"grid-column-end\",\n \"grid-column-span\",\n \"grid-column-start\",\n \"grid-row\",\n \"grid-row-end\",\n \"grid-row-span\",\n \"grid-row-start\",\n \"line-clamp\",\n \"line-height\",\n \"opacity\",\n \"order\",\n \"orphans\",\n \"tab-size\",\n \"widows\",\n \"z-index\",\n \"zoom\",\n // SVG properties.\n \"fill-opacity\",\n \"flood-opacity\",\n \"stop-opacity\",\n \"stroke-dasharray\",\n \"stroke-dashoffset\",\n \"stroke-miterlimit\",\n \"stroke-opacity\",\n \"stroke-width\"\n];\n\n// Add vendor prefixes to all unit-less properties.\nfor (const property of CSS_NUMBER_KEYS) {\n for (const prefix of [\"-webkit-\", \"-ms-\", \"-moz-\", \"-o-\", \"\"]) {\n CSS_NUMBER[prefix + property] = true;\n }\n}\n\n/**\n * Escape a CSS class name.\n */\nfunction escape(str: string) {\n return str.replace(/[ !#$%&()*+,./;<=>?@[\\]^`{|}~\"'\\\\]/g, \"\\\\$&\");\n}\n\n/**\n * Transform a JavaScript property into a CSS property.\n */\nfunction hyphenate(propertyName: string): string {\n return propertyName\n .replace(/[A-Z]/g, (m: string) => `-${m.toLowerCase()}`)\n .replace(/^ms-/, \"-ms-\"); // Internet Explorer vendor prefix.\n}\n\n/**\n * Generate a hash value from a string.\n */\nfunction stringHash(str: string): string {\n let value = 5381;\n let len = str.length;\n while (len--) value = (value * 33) ^ str.charCodeAt(len);\n return (value >>> 0).toString(36);\n}\n\n/**\n * Transform a style string to a CSS string.\n */\nfunction styleToString(key: string, value: PropertyValue) {\n if (value && typeof value === \"number\" && !CSS_NUMBER[key]) {\n return `${key}:${value}px`;\n }\n\n return `${key}:${value}`;\n}\n\n/**\n * Sort an array of tuples by first value.\n */\nfunction sortTuples<T extends any[]>(value: T[]): T[] {\n return value.sort((a, b) => (a[0] > b[0] ? 1 : -1));\n}\n\n/**\n * Categorize user styles.\n */\nfunction parseStyles(styles: Styles, hasNestedStyles: boolean) {\n const properties: Array<[string, PropertyValue | PropertyValue[]]> = [];\n const nestedStyles: Array<[string, Styles]> = [];\n\n // Sort keys before adding to styles.\n for (const key of Object.keys(styles)) {\n const name = key.trim();\n const value = styles[key];\n\n if (name.charCodeAt(0) !== 36 /* $ */ && value != null) {\n if (typeof value === \"object\" && !Array.isArray(value)) {\n nestedStyles.push([name, value]);\n } else {\n properties.push([hyphenate(name), value]);\n }\n }\n }\n\n return {\n style: stringifyProperties(sortTuples(properties)),\n nested: hasNestedStyles ? nestedStyles : sortTuples(nestedStyles),\n isUnique: !!styles.$unique\n };\n}\n\n/**\n * Stringify an array of property tuples.\n */\nfunction stringifyProperties(\n properties: Array<[string, PropertyValue | PropertyValue[]]>\n) {\n return properties\n .map(([name, value]) => {\n if (!Array.isArray(value)) return styleToString(name, value);\n\n return value.map(x => styleToString(name, x)).join(\";\");\n })\n .join(\";\");\n}\n\n/**\n * Interpolate CSS selectors.\n */\nfunction interpolate(selector: string, parent: string) {\n if (selector.indexOf(\"&\") === -1) return `${parent} ${selector}`;\n return selector.replace(/&/g, parent);\n}\n\ntype StylizeStyle = { selector: string; style: string; isUnique: boolean };\n\ntype StylizeRule = {\n selector: string;\n style: string;\n rules: StylizeRule[];\n styles: StylizeStyle[];\n};\n\n/**\n * Recursive loop building styles with deferred selectors.\n */\nfunction stylize(\n selector: string,\n styles: Styles,\n rulesList: StylizeRule[],\n stylesList: StylizeStyle[],\n parent?: string\n) {\n const { style, nested, isUnique } = parseStyles(styles, selector !== \"\");\n let pid = style;\n\n if (selector.charCodeAt(0) === 64 /* @ */) {\n const child: StylizeRule = {\n selector,\n styles: [],\n rules: [],\n style: parent ? \"\" : style\n };\n rulesList.push(child);\n\n // Nested styles support (e.g. `.foo > @media > .bar`).\n if (style && parent) {\n child.styles.push({ selector: parent, style, isUnique });\n }\n\n for (const [name, value] of nested) {\n pid += name + stylize(name, value, child.rules, child.styles, parent);\n }\n } else {\n const key = parent ? interpolate(selector, parent) : selector;\n\n if (style) stylesList.push({ selector: key, style, isUnique });\n\n for (const [name, value] of nested) {\n pid += name + stylize(name, value, rulesList, stylesList, key);\n }\n }\n\n return pid;\n}\n\n/**\n * Transform `stylize` tree into style objects.\n */\nfunction composeStylize(\n cache: Cache<Rule | Style>,\n pid: string,\n rulesList: StylizeRule[],\n stylesList: StylizeStyle[],\n className: string,\n isStyle: boolean\n) {\n for (const { selector, style, isUnique } of stylesList) {\n const key = isStyle ? interpolate(selector, className) : selector;\n const id = isUnique\n ? `u\\0${(++uniqueId).toString(36)}`\n : `s\\0${pid}\\0${style}`;\n const item = new Style(style, id);\n item.add(new Selector(key, `k\\0${pid}\\0${key}`));\n cache.add(item);\n }\n\n for (const { selector, style, rules, styles } of rulesList) {\n const item = new Rule(selector, style, `r\\0${pid}\\0${selector}\\0${style}`);\n composeStylize(item, pid, rules, styles, className, isStyle);\n cache.add(item);\n }\n}\n\n/**\n * Cache to list to styles.\n */\nfunction join(arr: string[]): string {\n let res = \"\";\n for (let i = 0; i < arr.length; i++) res += arr[i];\n return res;\n}\n\n/**\n * Propagate change events.\n */\nexport interface Changes {\n add(style: Container<any>, index: number): void;\n change(style: Container<any>, oldIndex: number, newIndex: number): void;\n remove(style: Container<any>, index: number): void;\n}\n\n/**\n * Noop changes.\n */\nconst noopChanges: Changes = {\n add: () => undefined,\n change: () => undefined,\n remove: () => undefined\n};\n\n/**\n * Cache-able interface.\n */\nexport interface Container<T> {\n id: string;\n clone(): T;\n getStyles(): string;\n}\n\n/**\n * Implement a cache/event emitter.\n */\nexport class Cache<T extends Container<any>> {\n sheet: string[] = [];\n changeId = 0;\n\n private _keys: string[] = [];\n private _children: Record<string, T | undefined> = Object.create(null);\n private _counters: Record<string, number | undefined> = Object.create(null);\n\n constructor(public changes: Changes = noopChanges) {}\n\n add(style: T): void {\n const count = this._counters[style.id] || 0;\n const item: T = this._children[style.id] || style.clone();\n\n this._counters[style.id] = count + 1;\n\n if (count === 0) {\n this._children[item.id] = item;\n this._keys.push(item.id);\n this.sheet.push(item.getStyles());\n this.changeId++;\n this.changes.add(item, this._keys.length - 1);\n } else if (item instanceof Cache && style instanceof Cache) {\n const curIndex = this._keys.indexOf(style.id);\n const prevItemChangeId = item.changeId;\n\n item.merge(style);\n\n if (item.changeId !== prevItemChangeId) {\n this.sheet.splice(curIndex, 1, item.getStyles());\n this.changeId++;\n this.changes.change(item, curIndex, curIndex);\n }\n }\n }\n\n remove(style: T): void {\n const count = this._counters[style.id];\n\n if (count) {\n this._counters[style.id] = count - 1;\n\n const item = this._children[style.id]!;\n const index = this._keys.indexOf(item.id);\n\n if (count === 1) {\n delete this._counters[style.id];\n delete this._children[style.id];\n\n this._keys.splice(index, 1);\n this.sheet.splice(index, 1);\n this.changeId++;\n this.changes.remove(item, index);\n } else if (item instanceof Cache && style instanceof Cache) {\n const prevChangeId = item.changeId;\n\n item.unmerge(style);\n\n if (item.changeId !== prevChangeId) {\n this.sheet.splice(index, 1, item.getStyles());\n this.changeId++;\n this.changes.change(item, index, index);\n }\n }\n }\n }\n\n values(): T[] {\n return this._keys.map(key => this._children[key]!);\n }\n\n merge(cache: Cache<any>) {\n for (const item of cache.values()) this.add(item);\n return this;\n }\n\n unmerge(cache: Cache<any>) {\n for (const item of cache.values()) this.remove(item);\n return this;\n }\n\n clone(): Cache<T> {\n return new Cache<T>().merge(this);\n }\n}\n\n/**\n * Selector is a dumb class made to represent nested CSS selectors.\n */\nexport class Selector implements Container<Selector> {\n constructor(public selector: string, public id: string) {}\n\n getStyles() {\n return this.selector;\n }\n\n clone(): Selector {\n return this;\n }\n}\n\n/**\n * The style container registers a style string with selectors.\n */\nexport class Style extends Cache<Selector> implements Container<Style> {\n constructor(public style: string, public id: string) {\n super();\n }\n\n getStyles(): string {\n return `${this.sheet.join(\",\")}{${this.style}}`;\n }\n\n clone(): Style {\n return new Style(this.style, this.id).merge(this);\n }\n}\n\n/**\n * Implement rule logic for style output.\n */\nexport class Rule extends Cache<Rule | Style> implements Container<Rule> {\n constructor(public rule: string, public style: string, public id: string) {\n super();\n }\n\n getStyles(): string {\n return `${this.rule}{${this.style}${join(this.sheet)}}`;\n }\n\n clone(): Rule {\n return new Rule(this.rule, this.style, this.id).merge(this);\n }\n}\n\nfunction key(pid: string, styles: Styles): string {\n const key = `f${stringHash(pid)}`;\n if (process.env.NODE_ENV === \"production\" || !styles.$displayName) return key;\n return `${styles.$displayName}_${key}`;\n}\n\n/**\n * The FreeStyle class implements the API for everything else.\n */\nexport class FreeStyle extends Cache<Rule | Style>\n implements Container<FreeStyle> {\n constructor(public id: string, changes?: Changes) {\n super(changes);\n }\n\n registerStyle(styles: Styles) {\n const rulesList: StylizeRule[] = [];\n const stylesList: StylizeStyle[] = [];\n const pid = stylize(\"&\", styles, rulesList, stylesList);\n const id = key(pid, styles);\n const selector = `.${\n process.env.NODE_ENV === \"production\" ? id : escape(id)\n }`;\n composeStylize(this, pid, rulesList, stylesList, selector, true);\n return id;\n }\n\n registerKeyframes(keyframes: Styles) {\n return this.registerHashRule(\"@keyframes\", keyframes);\n }\n\n registerHashRule(prefix: string, styles: Styles) {\n const rulesList: StylizeRule[] = [];\n const stylesList: StylizeStyle[] = [];\n const pid = stylize(\"\", styles, rulesList, stylesList);\n const id = key(pid, styles);\n const selector = `${prefix} ${\n process.env.NODE_ENV === \"production\" ? id : escape(id)\n }`;\n const rule = new Rule(selector, \"\", `h\\0${pid}\\0${prefix}`);\n composeStylize(rule, pid, rulesList, stylesList, \"\", false);\n this.add(rule);\n return id;\n }\n\n registerRule(rule: string, styles: Styles) {\n const rulesList: StylizeRule[] = [];\n const stylesList: StylizeStyle[] = [];\n const pid = stylize(rule, styles, rulesList, stylesList);\n composeStylize(this, pid, rulesList, stylesList, \"\", false);\n }\n\n registerCss(styles: Styles) {\n return this.registerRule(\"\", styles);\n }\n\n getStyles(): string {\n return join(this.sheet);\n }\n\n clone(): FreeStyle {\n return new FreeStyle(this.id, this.changes).merge(this);\n }\n}\n\n/**\n * Exports a simple function to create a new instance.\n */\nexport function create(changes?: Changes) {\n return new FreeStyle(`f${(++uniqueId).toString(36)}`, changes);\n}\n","/**\n * We need to do the following to *our* objects before passing to freestyle:\n * - For any `$nest` directive move up to FreeStyle style nesting\n * - For any `$unique` directive map to FreeStyle Unique\n * - For any `$debugName` directive return the debug name\n */\nexport function convertToStyles(object) {\n /** The final result we will return */\n var styles = {};\n for (var key in object) {\n /** Grab the value upfront */\n var val = object[key];\n /** TypeStyle configuration options */\n if (key === '$nest') {\n var nested = val;\n for (var selector in nested) {\n var subproperties = nested[selector];\n styles[selector] = convertToStyles(subproperties);\n }\n }\n else if (key === '$debugName') {\n styles.$displayName = val;\n }\n else {\n styles[key] = val;\n }\n }\n return styles;\n}\n// todo: better name here\nexport function convertToKeyframes(frames) {\n var result = {};\n for (var offset in frames) {\n if (offset !== '$debugName') {\n result[offset] = frames[offset];\n }\n }\n if (frames.$debugName) {\n result.$displayName = frames.$debugName;\n }\n return result;\n}\n","/** Raf for node + browser */\nexport var raf = typeof requestAnimationFrame === 'undefined'\n /**\n * Make sure setTimeout is always invoked with\n * `this` set to `window` or `global` automatically\n **/\n ? function (cb) { return setTimeout(cb); }\n /**\n * Make sure window.requestAnimationFrame is always invoked with `this` window\n * We might have raf without window in case of `raf/polyfill` (recommended by React)\n **/\n : typeof window === 'undefined'\n ? requestAnimationFrame\n : requestAnimationFrame.bind(window);\n/**\n * Utility to join classes conditionally\n */\nexport function classes() {\n var classes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n classes[_i] = arguments[_i];\n }\n return classes\n .map(function (c) { return c && typeof c === 'object' ? Object.keys(c).map(function (key) { return !!c[key] && key; }) : [c]; })\n .reduce(function (flattened, c) { return flattened.concat(c); }, [])\n .filter(function (c) { return !!c; })\n .join(' ');\n}\n/**\n * Merges various styles into a single style object.\n * Note: if two objects have the same property the last one wins\n */\nexport function extend() {\n var objects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n objects[_i] = arguments[_i];\n }\n /** The final result we will return */\n var result = {};\n for (var _a = 0, objects_1 = objects; _a < objects_1.length; _a++) {\n var object = objects_1[_a];\n if (object == null || object === false) {\n continue;\n }\n for (var key in object) {\n /** Falsy values except a explicit 0 is ignored */\n var val = object[key];\n if (!val && val !== 0) {\n continue;\n }\n /** if nested media or pseudo selector */\n if (key === '$nest' && val) {\n result[key] = result['$nest'] ? extend(result['$nest'], val) : val;\n }\n /** if freestyle sub key that needs merging. We come here due to our recursive calls */\n else if ((key.indexOf('&') !== -1 || key.indexOf('@media') === 0)) {\n result[key] = result[key] ? extend(result[key], val) : val;\n }\n else {\n result[key] = val;\n }\n }\n }\n return result;\n}\n/**\n * Utility to help customize styles with media queries. e.g.\n * ```\n * style(\n * media({maxWidth:500}, {color:'red'})\n * )\n * ```\n */\nexport var media = function (mediaQuery) {\n var _a;\n var objects = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n objects[_i - 1] = arguments[_i];\n }\n var mediaQuerySections = [];\n if (mediaQuery.type)\n mediaQuerySections.push(mediaQuery.type);\n if (mediaQuery.orientation)\n mediaQuerySections.push(\"(orientation: \" + mediaQuery.orientation + \")\");\n if (mediaQuery.minWidth)\n mediaQuerySections.push(\"(min-width: \" + mediaLength(mediaQuery.minWidth) + \")\");\n if (mediaQuery.maxWidth)\n mediaQuerySections.push(\"(max-width: \" + mediaLength(mediaQuery.maxWidth) + \")\");\n if (mediaQuery.minHeight)\n mediaQuerySections.push(\"(min-height: \" + mediaLength(mediaQuery.minHeight) + \")\");\n if (mediaQuery.maxHeight)\n mediaQuerySections.push(\"(max-height: \" + mediaLength(mediaQuery.maxHeight) + \")\");\n if (mediaQuery.prefersColorScheme)\n mediaQuerySections.push(\"(prefers-color-scheme: \" + mediaQuery.prefersColorScheme + \")\");\n var stringMediaQuery = \"@media \" + mediaQuerySections.join(' and ');\n var object = {\n $nest: (_a = {},\n _a[stringMediaQuery] = extend.apply(void 0, objects),\n _a)\n };\n return object;\n};\nvar mediaLength = function (value) {\n return typeof value === 'string' ? value : value + \"px\";\n};\n","import * as FreeStyle from \"free-style\";\nimport { convertToStyles, convertToKeyframes } from './formatting';\nimport { extend, raf } from './utilities';\n/**\n * Creates an instance of free style with our options\n */\nvar createFreeStyle = function () { return FreeStyle.create(); };\n/**\n * Maintains a single stylesheet and keeps it in sync with requested styles\n */\nvar TypeStyle = /** @class */ (function () {\n function TypeStyle(_a) {\n var _this = this;\n var autoGenerateTag = _a.autoGenerateTag;\n /**\n * Insert `raw` CSS as a string. This is useful for e.g.\n * - third party CSS that you are customizing with template strings\n * - generating raw CSS in JavaScript\n * - reset libraries like normalize.css that you can use without loaders\n */\n this.cssRaw = function (mustBeValidCSS) {\n if (!mustBeValidCSS) {\n return;\n }\n _this._raw += mustBeValidCSS || '';\n _this._pendingRawChange = true;\n _this._styleUpdated();\n };\n /**\n * Takes CSSProperties and registers it to a global selector (body, html, etc.)\n */\n this.cssRule = function (selector) {\n var objects = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n objects[_i - 1] = arguments[_i];\n }\n var styles = convertToStyles(extend.apply(void 0, objects));\n _this._freeStyle.registerRule(selector, styles);\n _this._styleUpdated();\n return;\n };\n /**\n * Renders styles to the singleton tag imediately\n * NOTE: You should only call it on initial render to prevent any non CSS flash.\n * After that it is kept sync using `requestAnimationFrame` and we haven't noticed any bad flashes.\n **/\n this.forceRenderStyles = function () {\n var target = _this._getTag();\n if (!target) {\n return;\n }\n target.textContent = _this.getStyles();\n };\n /**\n * Utility function to register an @font-face\n */\n this.fontFace = function () {\n var fontFace = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fontFace[_i] = arguments[_i];\n }\n var freeStyle = _this._freeStyle;\n for (var _a = 0, _b = fontFace; _a < _b.length; _a++) {\n var face = _b[_a];\n freeStyle.registerRule('@font-face', face);\n }\n _this._styleUpdated();\n return;\n };\n /**\n * Allows use to use the stylesheet in a node.js environment\n */\n this.getStyles = function () {\n return (_this._raw || '') + _this._freeStyle.getStyles();\n };\n /**\n * Takes keyframes and returns a generated animationName\n */\n this.keyframes = function (frames) {\n var keyframes = convertToKeyframes(frames);\n // TODO: replace $debugName with display name\n var animationName = _this._freeStyle.registerKeyframes(keyframes);\n _this._styleUpdated();\n return animationName;\n };\n /**\n * Helps with testing. Reinitializes FreeStyle + raw\n */\n this.reinit = function () {\n /** reinit freestyle */\n var freeStyle = createFreeStyle();\n _this._freeStyle = freeStyle;\n _this._lastFreeStyleChangeId = freeStyle.changeId;\n /** reinit raw */\n _this._raw = '';\n _this._pendingRawChange = false;\n /** Clear any styles that were flushed */\n var target = _this._getTag();\n if (target) {\n target.textContent = '';\n }\n };\n /** Sets the target tag where we write the css on style updates */\n this.setStylesTarget = function (tag) {\n /** Clear any data in any previous tag */\n if (_this._tag) {\n _this._tag.textContent = '';\n }\n _this._tag = tag;\n /** This special time buffer immediately */\n _this.forceRenderStyles();\n };\n /**\n * Takes an object where property names are ideal class names and property values are CSSProperties, and\n * returns an object where property names are the same ideal class names and the property values are\n * the actual generated class names using the ideal class name as the $debugName\n */\n this.stylesheet = function (classes) {\n var classNames = Object.getOwnPropertyNames(classes);\n var result = {};\n for (var _i = 0, classNames_1 = classNames; _i < classNames_1.length; _i++) {\n var className = classNames_1[_i];\n var classDef = classes[className];\n if (classDef) {\n classDef.$debugName = className;\n result[className] = _this.style(classDef);\n }\n }\n return result;\n };\n var freeStyle = createFreeStyle();\n this._autoGenerateTag = autoGenerateTag;\n this._freeStyle = freeStyle;\n this._lastFreeStyleChangeId = freeStyle.changeId;\n this._pending = 0;\n this._pendingRawChange = false;\n this._raw = '';\n this._tag = undefined;\n // rebind prototype to TypeStyle. It might be better to do a function() { return this.style.apply(this, arguments)}\n this.style = this.style.bind(this);\n }\n /**\n * Only calls cb all sync operations settle\n */\n TypeStyle.prototype._afterAllSync = function (cb) {\n var _this = this;\n this._pending++;\n var pending = this._pending;\n raf(function () {\n if (pending !== _this._pending) {\n return;\n }\n cb();\n });\n };\n TypeStyle.prototype._getTag = function () {\n if (this._tag) {\n return this._tag;\n }\n if (this._autoGenerateTag) {\n var tag = typeof window === 'undefined'\n ? { textContent: '' }\n : document.createElement('style');\n if (typeof document !== 'undefined') {\n document.head.appendChild(tag);\n }\n this._tag = tag;\n return tag;\n }\n return undefined;\n };\n /** Checks if the style tag needs updating and if so queues up the change */\n TypeStyle.prototype._styleUpdated = function () {\n var _this = this;\n var changeId = this._freeStyle.changeId;\n var lastChangeId = this._lastFreeStyleChangeId;\n if (!this._pendingRawChange && changeId === lastChangeId) {\n return;\n }\n this._lastFreeStyleChangeId = changeId;\n this._pendingRawChange = false;\n this._afterAllSync(function () { return _this.forceRenderStyles(); });\n };\n TypeStyle.prototype.style = function () {\n var className = this._freeStyle.registerStyle(convertToStyles(extend.apply(undefined, arguments)));\n this._styleUpdated();\n return className;\n };\n return TypeStyle;\n}());\nexport { TypeStyle };\n","import { TypeStyle } from './internal/typestyle';\nexport { TypeStyle };\n/**\n * All the CSS types in the 'types' namespace\n */\nimport * as types from './types';\nexport { types };\n/**\n * Export certain utilities\n */\nexport { extend, classes, media } from './internal/utilities';\n/** Zero configuration, default instance of TypeStyle */\nvar ts = new TypeStyle({ autoGenerateTag: true });\n/** Sets the target tag where we write the css on style updates */\nexport var setStylesTarget = ts.setStylesTarget;\n/**\n * Insert `raw` CSS as a string. This is useful for e.g.\n * - third party CSS that you are customizing with template strings\n * - generating raw CSS in JavaScript\n * - reset libraries like normalize.css that you can use without loaders\n */\nexport var cssRaw = ts.cssRaw;\n/**\n * Takes CSSProperties and registers it to a global selector (body, html, etc.)\n */\nexport var cssRule = ts.cssRule;\n/**\n * Renders styles to the singleton tag imediately\n * NOTE: You should only call it on initial render to prevent any non CSS flash.\n * After that it is kept sync using `requestAnimationFrame` and we haven't noticed any bad flashes.\n **/\nexport var forceRenderStyles = ts.forceRenderStyles;\n/**\n * Utility function to register an @font-face\n */\nexport var fontFace = ts.fontFace;\n/**\n * Allows use to use the stylesheet in a node.js environment\n */\nexport var getStyles = ts.getStyles;\n/**\n * Takes keyframes and returns a generated animationName\n */\nexport var keyframes = ts.keyframes;\n/**\n * Helps with testing. Reinitializes FreeStyle + raw\n */\nexport var reinit = ts.reinit;\n/**\n * Takes CSSProperties and return a generated className you can use on your component\n */\nexport var style = ts.style;\n/**\n * Takes an object where property names are ideal class names and property values are CSSProperties, and\n * returns an object where property names are the same ideal class names and the property values are\n * the actual generated class names using the ideal class name as the $debugName\n */\nexport var stylesheet = ts.stylesheet;\n/**\n * Creates a new instance of TypeStyle separate from the default instance.\n *\n * - Use this for creating a different typestyle instance for a shadow dom component.\n * - Use this if you don't want an auto tag generated and you just want to collect the CSS.\n *\n * NOTE: styles aren't shared between different instances.\n */\nexport function createTypeStyle(target) {\n var instance = new TypeStyle({ autoGenerateTag: false });\n if (target) {\n instance.setStylesTarget(target);\n }\n return instance;\n}\n","const inflate = require('tiny-inflate');\nconst { swap32LE } = require('./swap');\n\n// Shift size for getting the index-1 table offset.\nconst SHIFT_1 = 6 + 5;\n\n// Shift size for getting the index-2 table offset.\nconst SHIFT_2 = 5;\n\n// Difference between the two shift sizes,\n// for getting an index-1 offset from an index-2 offset. 6=11-5\nconst SHIFT_1_2 = SHIFT_1 - SHIFT_2;\n\n// Number of index-1 entries for the BMP. 32=0x20\n// This part of the index-1 table is omitted from the serialized form.\nconst OMITTED_BMP_INDEX_1_LENGTH = 0x10000 >> SHIFT_1;\n\n// Number of entries in an index-2 block. 64=0x40\nconst INDEX_2_BLOCK_LENGTH = 1 << SHIFT_1_2;\n\n// Mask for getting the lower bits for the in-index-2-block offset. */\nconst INDEX_2_MASK = INDEX_2_BLOCK_LENGTH - 1;\n\n// Shift size for shifting left the index array values.\n// Increases possible data size with 16-bit index values at the cost\n// of compactability.\n// This requires data blocks to be aligned by DATA_GRANULARITY.\nconst INDEX_SHIFT = 2;\n\n// Number of entries in a data block. 32=0x20\nconst DATA_BLOCK_LENGTH = 1 << SHIFT_2;\n\n// Mask for getting the lower bits for the in-data-block offset.\nconst DATA_MASK = DATA_BLOCK_LENGTH - 1;\n\n// The part of the index-2 table for U+D800..U+DBFF stores values for\n// lead surrogate code _units_ not code _points_.\n// Values for lead surrogate code _points_ are indexed with this portion of the table.\n// Length=32=0x20=0x400>>SHIFT_2. (There are 1024=0x400 lead surrogates.)\nconst LSCP_INDEX_2_OFFSET = 0x10000 >> SHIFT_2;\nconst LSCP_INDEX_2_LENGTH = 0x400 >> SHIFT_2;\n\n// Count the lengths of both BMP pieces. 2080=0x820\nconst INDEX_2_BMP_LENGTH = LSCP_INDEX_2_OFFSET + LSCP_INDEX_2_LENGTH;\n\n// The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.\n// Length 32=0x20 for lead bytes C0..DF, regardless of SHIFT_2.\nconst UTF8_2B_INDEX_2_OFFSET = INDEX_2_BMP_LENGTH;\nconst UTF8_2B_INDEX_2_LENGTH = 0x800 >> 6; // U+0800 is the first code point after 2-byte UTF-8\n\n// The index-1 table, only used for supplementary code points, at offset 2112=0x840.\n// Variable length, for code points up to highStart, where the last single-value range starts.\n// Maximum length 512=0x200=0x100000>>SHIFT_1.\n// (For 0x100000 supplementary code points U+10000..U+10ffff.)\n//\n// The part of the index-2 table for supplementary code points starts\n// after this index-1 table.\n//\n// Both the index-1 table and the following part of the index-2 table\n// are omitted completely if there is only BMP data.\nconst INDEX_1_OFFSET = UTF8_2B_INDEX_2_OFFSET + UTF8_2B_INDEX_2_LENGTH;\n\n// The alignment size of a data block. Also the granularity for compaction.\nconst DATA_GRANULARITY = 1 << INDEX_SHIFT;\n\nclass UnicodeTrie {\n constructor(data) {\n const isBuffer = (typeof data.readUInt32BE === 'function') && (typeof data.slice === 'function');\n\n if (isBuffer || data instanceof Uint8Array) {\n // read binary format\n let uncompressedLength;\n if (isBuffer) {\n this.highStart = data.readUInt32LE(0);\n this.errorValue = data.readUInt32LE(4);\n uncompressedLength = data.readUInt32LE(8);\n data = data.slice(12);\n } else {\n const view = new DataView(data.buffer);\n this.highStart = view.getUint32(0, true);\n this.errorValue = view.getUint32(4, true);\n uncompressedLength = view.getUint32(8, true);\n data = data.subarray(12);\n }\n\n // double inflate the actual trie data\n data = inflate(data, new Uint8Array(uncompressedLength));\n data = inflate(data, new Uint8Array(uncompressedLength));\n\n // swap bytes from little-endian\n swap32LE(data);\n\n this.data = new Uint32Array(data.buffer);\n\n } else {\n // pre-parsed data\n ({ data: this.data, highStart: this.highStart, errorValue: this.errorValue } = data);\n }\n }\n\n get(codePoint) {\n let index;\n if ((codePoint < 0) || (codePoint > 0x10ffff)) {\n return this.errorValue;\n }\n\n if ((codePoint < 0xd800) || ((codePoint > 0xdbff) && (codePoint <= 0xffff))) {\n // Ordinary BMP code point, excluding leading surrogates.\n // BMP uses a single level lookup. BMP index starts at offset 0 in the index.\n // data is stored in the index array itself.\n index = (this.data[codePoint >> SHIFT_2] << INDEX_SHIFT) + (codePoint & DATA_MASK);\n return this.data[index];\n }\n\n if (codePoint <= 0xffff) {\n // Lead Surrogate Code Point. A Separate index section is stored for\n // lead surrogate code units and code points.\n // The main index has the code unit data.\n // For this function, we need the code point data.\n index = (this.data[LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> SHIFT_2)] << INDEX_SHIFT) + (codePoint & DATA_MASK);\n return this.data[index];\n }\n\n if (codePoint < this.highStart) {\n // Supplemental code point, use two-level lookup.\n index = this.data[(INDEX_1_OFFSET - OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> SHIFT_1)];\n index = this.data[index + ((codePoint >> SHIFT_2) & INDEX_2_MASK)];\n index = (index << INDEX_SHIFT) + (codePoint & DATA_MASK);\n return this.data[index];\n }\n\n return this.data[this.data.length - DATA_GRANULARITY];\n }\n}\n\nmodule.exports = UnicodeTrie;","const isBigEndian = (new Uint8Array(new Uint32Array([0x12345678]).buffer)[0] === 0x12);\n\nconst swap = (b, n, m) => {\n let i = b[n];\n b[n] = b[m];\n b[m] = i;\n};\n\nconst swap32 = array => {\n const len = array.length;\n for (let i = 0; i < len; i += 4) {\n swap(array, i, i + 3);\n swap(array, i + 1, i + 2);\n }\n};\n\nconst swap32LE = array => {\n if (isBigEndian) {\n swap32(array);\n }\n};\n\nmodule.exports = {\n swap32LE: swap32LE\n};\n","\nvar loadYoga = (() => {\n var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;\n \n return (\nfunction(loadYoga) {\n loadYoga = loadYoga || {};\n\n\nvar h;h||(h=typeof loadYoga !== 'undefined' ? loadYoga : {});var ba,ca;h.ready=new Promise(function(a,b){ba=a;ca=b});var da=Object.assign({},h),q=\"\";\"undefined\"!=typeof document&&document.currentScript&&(q=document.currentScript.src);_scriptDir&&(q=_scriptDir);0!==q.indexOf(\"blob:\")?q=q.substr(0,q.replace(/[?#].*/,\"\").lastIndexOf(\"/\")+1):q=\"\";var ea=h.print||console.log.bind(console),v=h.printErr||console.warn.bind(console);Object.assign(h,da);da=null;var w;h.wasmBinary&&(w=h.wasmBinary);\nvar noExitRuntime=h.noExitRuntime||!0;\"object\"!=typeof WebAssembly&&x(\"no native wasm support detected\");var fa,ha=!1;function ia(a,b,c){c=b+c;for(var d=\"\";!(b>=c);){var e=a[b++];if(!e)break;if(e&128){var f=a[b++]&63;if(192==(e&224))d+=String.fromCharCode((e&31)<<6|f);else{var g=a[b++]&63;e=224==(e&240)?(e&15)<<12|f<<6|g:(e&7)<<18|f<<12|g<<6|a[b++]&63;65536>e?d+=String.fromCharCode(e):(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023))}}else d+=String.fromCharCode(e)}return d}\nvar ja,ka,z,A,la,C,D,ma,na;function oa(){var a=fa.buffer;ja=a;h.HEAP8=ka=new Int8Array(a);h.HEAP16=A=new Int16Array(a);h.HEAP32=C=new Int32Array(a);h.HEAPU8=z=new Uint8Array(a);h.HEAPU16=la=new Uint16Array(a);h.HEAPU32=D=new Uint32Array(a);h.HEAPF32=ma=new Float32Array(a);h.HEAPF64=na=new Float64Array(a)}var pa,qa=[],ra=[],sa=[];function ta(){var a=h.preRun.shift();qa.unshift(a)}var E=0,ua=null,F=null;\nfunction x(a){if(h.onAbort)h.onAbort(a);a=\"Aborted(\"+a+\")\";v(a);ha=!0;a=new WebAssembly.RuntimeError(a+\". Build with -sASSERTIONS for more info.\");ca(a);throw a;}function va(a){return a.startsWith(\"data:application/octet-stream;base64,\")}var G;G=\"data:application/octet-stream;base64,AGFzbQEAAAABvgM4YAF/AGACf38AYAF/AX9gA39/fwBgAn98AGACf38Bf2ADf39/AX9gAABgA39/fABgAX8BfGADf399AX1gBX9/f39/AX9gAn9/AXxgAAF/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GohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkEgayICQR9LDQALCyAAC4AEAQN/IAJBgARPBEAgACABIAIQFyAADwsgACACaiEDAkAgACABc0EDcUUEQAJAIABBA3FFBEAgACECDAELIAJFBEAgACECDAELIAAhAgNAIAIgAS0AADoAACABQQFqIQEgAkEBaiICQQNxRQ0BIAIgA0kNAAsLAkAgA0F8cSIEQcAASQ0AIAIgBEFAaiIFSw0AA0AgAiABKAIANgIAIAIgASgCBDYCBCACIAEoAgg2AgggAiABKAIMNgIMIAIgASgCEDYCECACIAEoAhQ2AhQgAiABKAIYNgIYIAIgASgCHDYCHCACIAEoAiA2AiAgAiABKAIkNgIkIAIgASgCKDYCKCACIAEoAiw2AiwgAiABKAIwNgIwIAIgASgCNDYCNCACIAEoAjg2AjggAiABKAI8NgI8IAFBQGshASACQUBrIgIgBU0NAAsLIAIgBE8NAQNAIAIgASgCADYCACABQQRqIQEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgACADQQRrIgRLBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAsOAEHILigCABEHABBQAAuXAgEDfyMAQRBrIgQkACAEIAE2AgwCQAJAIABFBEAgBCgCDCEBDAELIAQoAgwhASAAKAK4BCICRQ0AIAIoAgQhAyACLQAIQQhxBEAgAiAAQQVBAEG8ISABIAMREQAaDAILIAIgAEEFQbwhIAEgAxELABoMAQsCQEHoNi0AAEUEQEEcEB0iAkKAgID8AzcCFCACQgA3AgwgAkEANgIAIAJBADoACEEBIQMgAkEBNgIEQeQ2IAI2AgBB6DZBAToAAEHgNkHgNigCAEEBajYCAAwBC0HkNigCACICKAIEIQMgAi0ACEEIcUUNACACIABBBUEAQbwhIAEgAxERABoMAQsgAiAAQQV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yACDQILIAAqAogEIQgMAgsgASECCyACEEIgAioC6AGSIQgLIANBEGokACAIC28BAX8CQCAAQRhqIgMQJiABQQJ0aigCwAEgAkYNACADECYgAUECdGogAjYCwAEDQCAALQAEIgFBBHENASAAIAFBBHI6AAQgACgCFCIBBEAgACABEQAACyAAQYCAgP4HNgK0AiAAKAKoBCIADQALCwtvAQF/AkAgAEEYaiIDECYgAUECdGooArgBIAJGDQAgAxAmIAFBAnRqIAI2ArgBA0AgAC0ABCIBQQRxDQEgACABQQRyOgAEIAAoAhQiAQRAIAAgAREAAAsgAEGAgID+BzYCtAIgACgCqAQiAA0ACwsL7wIBAn0CQAJAAkAgAUF+cUECRgRAIAAoArwBIgFB8OGD/AdGIAFBj568/AdGciABQarVqv0HRnINASABviIDIANbDQEgACgCxAEiAUHw4YP8B0YgAUGPnrz8B0ZyIAFBqtWq/QdGcg0BIAG+IgMgA1sNAQwCCyAAKALAASIBQfDhg/wHRiABQY+evPwHRnIgAUGq1ar9B0ZyDQAgAb4iAyADWw0AIAAoAsQBIgFB8OGD/AdGIAFBj568/AdGciABQarVqv0HRnINACABviIDIANcDQELQwAAAAAhAwJAAkAgAUHw4YP8B0YNACABQY+evPwHRg0DQfAhIQACQCABQarVqv0HRwRAIAG+IgMgA1sNAUH4ISEACyAAKgIAIQNDAADAfyEEIAAoAgRBAWsOAgQBAgsgAUH/////e3FBgICAgAJqviEDIAFBgICAgARxRQ0DCyADIAKUQwrXIzyUIQQLIAQPC0MAAAAAIQMLIAMLCgAgAEEwa0EKSQt3AgF/AX0gAEHQAGohACABQQJ0QdAhaigCACECAn8gAUF+cUECRgRAIABBBSACQYCAgP4HEDMMAQsgACACQYCAgP4HEDILIQFBASEAIAFB8OGD/AdGIAFBj568/AdGciABQarVqv0HRnIEfyAABSABviIDIANbCwsUACAABEAgACAAKAIAKAIEEQAACwsGACAAECkLogQCBn8CfgJ/QQghBAJAAkAgAEFHSw0AA0BBCCAEIARBCE0bIQRB2DYpAwAiBwJ/QQ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A5BgICA/AM2AiRDAACAPyE/CyAOIBA2AiggDioCHCEzIA4oAhghICAYBEAgGBApCyAOKgI4ITUgDigCMCEhIA4oAiwhGAJAAkACQAJAICdBAUYNAEMAAAAAIQICQAJAAkAgJCgCACIDQfDhg/wHRg0AIANBj568/AdGDQFB8CEhBQJAIANBqtWq/QdHBEAgA74iASABWw0BQfghIQULIAUqAgAhAkMAAMB/IQEgBSgCBEEBaw4CAgEDCyADQf////97cUGAgICAAmq+IQIgA0GAgICABHFFDQELIAIgBpRDCtcjPJQhAQwBCyACIQELQwAAAAAhAgJAAkACQCAAKALYASIDQfDhg/wHRg0AIANBj568/AdGDQFB8CEhBQJAIANBqtWq/QdHBEAgA74iAiACWw0BQfghIQULIAUqAgAhAkMAAMB/ITcgBSgCBEEBaw4CAgEDCyADQf////97cUGAgICAAmq+IQIgA0GAgICABHFFDQELIAIgBpRDCtcjPJQhNwwBCyACITcLQwAAAAAhAgJAAkACQCAAKALUASIDQfDhg/wHRg0AIANBj568/AdGDQFB8CEhBQJAIANBqtWq/QdHBEAgA74iAiACWw0BQfghIQULIAUqAgAhAkMAAMB/ITQgBSgCBEEBaw4CAgEDCyADQf////97cUGAgICAAmq+IQIgA0GAgICABHFFDQELIAIgB5RDCtcjPJQhNAwBCyACITQLQwAAAAAhAgJAAkACQCAAKALcASIDQfDhg/wHRg0AIANBj568/AdGDQFB8CEhBQJAIANBqtWq/QdHBEAgA74iAiACWw0BQfghIQULIAUqAgAhAkMAAMB/ITkgBSgCBEEBaw4CAgEDCyADQf////97cUGAgICAAmq+IQIgA0GAgICABHFFDQELIAIgB5RDCtcjPJQhOQwBCyACITkLIAEgNCATQQFLIgMbIEGTIgIgAlsgAiAzXnENASA3IDkgAxsgQZMiAiACWyACIDNdcQ0BIAAoArgELQAQQQFxDQAgMyECIDpDAAAAAFsNAiAAKAKoBEUNAgJAAkAgACoCICIBIAFbBEAgASECDAELIAAqAhwiAkMAAAAAXkUNAQsgAiACXARAIDghAgwECyAAKgI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2ohFyAIQThqIRQCQAJAAkACQANAIAEhDSAHIA5B/////wdzSg0BIAcgDmohDgJAAkACQCANIgctAAAiCQRAA0ACQAJAIAlB/wFxIgFFBEAgByEBDAELIAFBJUcNASAHIQkDQCAJLQABQSVHBEAgCSEBDAILIAdBAWohByAJLQACIQogCUECaiIBIQkgCkElRg0ACwsgByANayIHIA5B/////wdzIhhKDQcgAARAIAAgDSAHECcLIAcNBiAIIAE2AkwgAUEBaiEHQX8hEgJAIAEsAAEiChBGRQ0AIAEtAAJBJEcNACABQQNqIQcgCkEwayESQQEhFQsgCCAHNgJMQQAhDAJAIAcsAAAiCUEgayIBQR9LBEAgByEKDAELIAchCkEBIAF0IgFBidEEcUUNAANAIAggB0EBaiIKNgJMIAEgDHIhDCAHLAABIglBIGsiAUEgTw0BIAohB0EBIAF0IgFBidEEcQ0ACwsCQCAJQSpGBEACfwJAIAosAAEiARBGRQ0AIAotAAJBJEcNACABQQJ0IARqQcABa0EKNgIAIApBA2ohCUEBIRUgCiwAAUEDdCADakGAA2soAgAMAQsgFQ0GIApBAWohCSAARQRAIAggCTYCTEEAIRVBACETDAMLIAIgAigCACIBQQRqNgIAQQAhFSABKAIACyETIAggCTYCTCATQQBODQFBACATayETIAxBgMAAciEMDAELIAhBzABqEHEiE0EASA0IIAgoAkwhCQtBACEHQX8hCwJ/IAktAABBLkcEQCAJIQFBAAwBCyAJLQABQSpGBEACfwJAIAksAAIiARBGRQ0AIAktAANBJEcNACABQQJ0IARqQcABa0EKNgIAIAlBBGohASAJLAACQQN0IANqQYADaygCAAwBCyAVDQYgCUECaiEBQQAgAEUNABogAiACKAIAIgpBBGo2AgAgCigCAAshCyAIIAE2AkwgC0F/c0EfdgwBCyAIIAlBAWo2AkwgCEHMAGoQcSELIAgoAkwhAUEBCyEPA0AgByERQRwhCiABIhAsAAAiB0H7AGtBRkkNCSAQQQFqIQEgByARQTpsakHvJmotAAAiB0EBa0EISQ0ACyAIIAE2AkwCQAJAIAdBG0cEQCAHR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X4gASACrSADrUIghoQgBCAAERQAIgVCIIinJAEgBacLqAEBBX8gACgCVCIDKAIAIQUgAygCBCIEIAAoAhQgACgCHCIHayIGIAQgBkkbIgYEQCAFIAcgBhArGiADIAMoAgAgBmoiBTYCACADIAMoAgQgBmsiBDYCBAsgBCACIAIgBEsbIgQEQCAFIAEgBBArGiADIAMoAgAgBGoiBTYCACADIAMoAgQgBGs2AgQLIAVBADoAACAAIAAoAiwiATYCHCAAIAE2AhQgAgsEAEIACwQAQQALigUCBn4CfyABIAEoAgBBB2pBeHEiAUEQajYCACAAIQkgASkDACEDIAEpAwghBiMAQSBrIggkAAJAIAZC////////////AIMiBEKAgICAgIDAgDx9IARCgICAgICAwP/DAH1UBEAgBkIEhiADQjyIhCEEIANC//////////8PgyIDQoGAgICAgICACFoEQCAEQoGAgICAgICAwAB8IQIMAgsgBEKAgICAgICAgEB9IQIgA0KAgICAgICAgAhSDQEgAiAEQgGDfCECDAELIANQIARCgICAgICAwP//AFQgBEKAgICAgIDA//8AURtFBEAgBkIEhiADQjyIhEL/////////A4NCgICAgICAgPz/AIQhAgwBC0KAgICAgICA+P8AIQIgBEL///////+//8MAVg0AQgAhAiAEQjCIpyIAQZH3AEkNACADIQIgBkL///////8/g0KAgICAgIDAAIQiBSEHAkAgAEGB9wBrIgFBwABxBEAgAiABQUBqrYYhB0IAIQIMAQsgAUUNACAHIAGtIgSGIAJBwAAgAWutiIQhByACIASGIQILIAggAjcDECAIIAc3AxgCQEGB+AAgAGsiAEHAAHEEQCAFIABBQGqtiCEDQgAhBQwBCyAARQ0AIAVBwAAgAGuthiADIACtIgKIhCEDIAUgAoghBQsgCCADNwMAIAggBTcDCCAIKQMIQgSGIAgpAwAiA0I8iIQhAiAIKQMQIAgpAxiEQgBSrSADQv//////////D4OEIgNCgYCAgICAgIAIWgRAIAJCAXwhAgwBCyADQoCAgICAgICACFINACACQgGDIAJ8IQILIAhBIGokACAJIAIgBkKAgICAgICAgIB/g4S/OQMAC5gYAxJ/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IgASADQQFxBH8gASgCACAAaigCAAUgAAsRAQBBMBAdIAJBMBArIQAgAkEwaiQAIAALOwEBfyABIAAoAgQiBUEBdWohASAAKAIAIQAgASACIAMgBCAFQQFxBH8gASgCACAAaigCAAUgAAsRHAALNwEBfyABIAAoAgQiA0EBdWohASAAKAIAIQAgASACIANBAXEEfyABKAIAIABqKAIABSAACxEQAAs3AQF/IAEgACgCBCIDQQF1aiEBIAAoAgAhACABIAIgA0EBcQR/IAEoAgAgAGooAgAFIAALEQwACzUBAX8gASAAKAIEIgJBAXVqIQEgACgCACEAIAEgAkEBcQR/IAEoAgAgAGooAgAFIAALEQkAC2EBAn8jAEEQayICJAAgASAAKAIEIgNBAXVqIQEgACgCACEAIAIgASADQQFxBH8gASgCACAAaigCAAUgAAsRAQBBEBAdIgAgAikDCDcDCCAAIAIpAwA3AwAgAkEQaiQAIAALYwECfyMAQRBrIgMkACABIAAoAgQiBEEBdWohASAAKAIAIQAgAyABIAIgBEEBcQR/IAEoAgAgAGooAgAFIAALEQMAQRAQHSIAIAMpAwg3AwggACADKQMANwMAIANBEGokACAACzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRBAALOQEBfyABIAAoAgQiBEEBdWohASAAKAIAIQAgASACIAMgBEEBcQR/IAEoAgAgAGooAgAFIAALEQgACwkAIAEgABECAAsFAEGbNwsPACABIAAoAgBqIAI2AgALDQAgASAAKAIAaigCAAsYAQF/QRAQHSIAQgA3AwggAEEANgIAIAALGAEBf0EQEB0iAEIANwMAIABCADcDCCAACwwAQTAQHUEAQTAQKgs3AQF/IAEgACgCBCIDQQF1aiEBIAAoAgAhACABIAIgA0EBcQR/IAEoAgAgAGooAgAFIAALERsACwUAQZY3CyEAIAAgASgCACABIAEsAAtBAEgbQZM3IAIoAgAQDzYCAAsqAQF/QQwQHSIBQQA6AAQgASAAKAIANgIIIABBADYCACABQcgjNgIAIAELBQBBkzcLBQBBkDcLIQAgACAB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vEEMLEAAgACgCAEEBIAG2EDEQRAsQACAAKAIAQQEgAbYQLxBECxAAIAAoAgBBACABthAxEEQLEAAgACgCAEEAIAG2EC8QRAsRACAAKAIAQQFBqtWq/QcQPAsQACAAKAIAQQEgAbYQMRA8CxAAIAAoAgBBASABthAvEDwLEQAgACgCAEEAQarVqv0HEDwLEAAgACgCAEEAIAG2EDEQPAsQACAAKAIAQQAgAbYQLxA8C3ACAn0BfwJAIAAoAgAiACoCJCIDIAG2IgJbIAIgAlwgAyADXHFyDQAgACACOAIkA0AgAC0ABCIEQQRxDQEgACAEQQRyOgAEIAAoAhQiBARAIAAgBBEAAAsgAEGAgID+BzYCtAIgACgCqAQiAA0ACwsLcAICfQF/AkAgACgCACIAKgIgIgMgAbYiAlsgAiACXCADIANccXINACAAIAI4AiADQCAALQAEIgRBBHENASAAIARBBHI6AAQgACgCFCIEBEAgACAEEQAACyAAQYCAgP4HNgK0AiAAKAKoBCIADQALCwsPACAAKAIAQarVqv0HEEwLDgAgACgCACABthAxEEwLDgAgACgCACABthAvEEwLcAICfQF/AkAgACgCACIAKgIcIgMgAbYiAlsgAiACXCADIANccXINACAAIAI4AhwDQCAALQAEIgRBBHENASAAIARBBHI6AAQgACgCFCIEBEAgACAEEQAACyAAQYCAgP4HNgK0AiAAKAKoBCIADQALCwt3AQF/AkAgACgCACIAKAIYIgJBFnZBAXEgAUYNACAAIAJB////fXEgAUEWdEGAgIACcXI2AhgDQCAALQAEIgFBBHENASAAIAFBBHI6AAQgACgCFCIBBEAgACABEQAACyAAQYCAgP4HNgK0AiAAKAKoBCIADQALCwt3AQF/AkAgACgCACIAKAIYIgJBFHZBA3EgAUYNACAAIAJB//+/fnEgAUEUdEGAgMABcXI2AhgDQCAALQAEIgFBBHENASAAIAFBBHI6AAQgACgCFCIBBEAgACABEQAACyAAQYCAgP4HNgK0AiAAKAKoBCIADQALCwsRACAAKAIAIAFBqtWq/QcQSwsQACAAKAIAIAEgArYQMRBLCxAAIAAoAgAgASACth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AACdGwAAsxsAAJobAACdGwAAuhsAAJ0bAAC6GwAAnRsAALMbAABkaWlpAAAAALkbAACcGwAAsxsAAGZpaWkAAAAArBsAAJwbAACcGwAAtBsAAKwbAACcGwAAnBsAALQbAACdGwAAnBsAAJwbAACcGwAAnBsAALQbAACtGwAAnBsAAKwbAACcGwAArRsAAKwbAACcGwAAeRsAAKwbAACcGwAAkRsAAK0bAACdGwAAAAAAAKwbAACcGwAAuhsAALobAACzGwAAdmlpZGRpAACZGwAAnRsAQbAnC0EZAAoAGRkZAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABkAEQoZGRkDCgcAAQAJCxgAAAkGCwAACwAGGQAAABkZGQBBgSgLIQ4AAAAAAAAAABkACg0ZGRkADQAAAgAJDgAAAAkADgAADgBBuygLAQwAQccoCxUTAAAAABMAAAAACQwAAAAAAAwAAAwAQfUoCwEQAEGBKQsVDwAAAAQPAAAAAAkQAAAAAAAQAAAQAEGvKQsBEgBBuykLHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBB8ikLDhoAAAAaGhoAAAAAAAAJAEGjKgsBFABBryoLFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABB3SoLARYAQekqCycVAAAAABUAAAAACRYAAAAAABYAABYAADAxMjM0NTY3ODlBQkNERUYAQbQrCwHVAEHcKwsI//////////8AQaAsCwnwHwEAAAAAAAUAQbQsCwHQAEHMLAsK0QAAANIAAADUGwBB5CwLAQIAQfQsCwj//////////wBBuC0LAQUAQcQtCwHTAEHcLQsO0QAAANQAAADoGwAAAAQAQfQtCwEBAEGELgsF/////woAQcguCwHW\";if(!va(G)){var wa=G;G=h.locateFile?h.locateFile(wa,q):q+wa}\nfunction xa(){var a=G;try{if(a==G&&w)return new Uint8Array(w);if(va(a))try{var b=ya(a.slice(37)),c=new Uint8Array(b.length);for(a=0;a<b.length;++a)c[a]=b.charCodeAt(a);var d=c}catch(f){throw Error(\"Converting base64 string to bytes failed.\");}else d=void 0;var e=d;if(e)return e;throw\"both async and sync fetching of the wasm failed\";}catch(f){x(f)}}\nfunction za(){return w||\"function\"!=typeof fetch?Promise.resolve().then(function(){return xa()}):fetch(G,{credentials:\"same-origin\"}).then(function(a){if(!a.ok)throw\"failed to load wasm binary file at '\"+G+\"'\";return a.arrayBuffer()}).catch(function(){return xa()})}function Aa(a){for(;0<a.length;)a.shift()(h)}function Ba(a){if(void 0===a)return\"_unknown\";a=a.replace(/[^a-zA-Z0-9_]/g,\"$\");var b=a.charCodeAt(0);return 48<=b&&57>=b?\"_\"+a:a}\nfunction Ca(a,b){a=Ba(a);return function(){return b.apply(this,arguments)}}var H=[{},{value:void 0},{value:null},{value:!0},{value:!1}],Da=[];function Ea(a){var b=Error,c=Ca(a,function(d){this.name=a;this.message=d;d=Error(d).stack;void 0!==d&&(this.stack=this.toString()+\"\\n\"+d.replace(/^Error(:[^\\n]*)?\\n/,\"\"))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+\": \"+this.message};return c}var J=void 0;\nfunction K(a){throw new J(a);}var L=a=>{a||K(\"Cannot use deleted val. handle = \"+a);return H[a].value},Fa=a=>{switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=Da.length?Da.pop():H.length;H[b]={fa:1,value:a};return b}},Ga=void 0,Ha=void 0;function M(a){for(var b=\"\";z[a];)b+=Ha[z[a++]];return b}var N=[];function Ia(){for(;N.length;){var a=N.pop();a.L.Z=!1;a[\"delete\"]()}}var O=void 0,P={};\nfunction Ja(a,b){for(void 0===b&&K(\"ptr should not be undefined\");a.P;)b=a.aa(b),a=a.P;return b}var Q={};function Ka(a){a=La(a);var b=M(a);R(a);return b}function Ma(a,b){var c=Q[a];void 0===c&&K(b+\" has unknown type \"+Ka(a));return c}function Na(){}var Oa=!1;function Pa(a){--a.count.value;0===a.count.value&&(a.S?a.T.V(a.S):a.O.M.V(a.N))}function Qa(a,b,c){if(b===c)return a;if(void 0===c.P)return null;a=Qa(a,b,c.P);return null===a?null:c.ma(a)}var Ra={};function Sa(a,b){b=Ja(a,b);return P[b]}\nvar Ta=void 0;function Ua(a){throw new Ta(a);}function Va(a,b){b.O&&b.N||Ua(\"makeClassHandle requires ptr and ptrType\");!!b.T!==!!b.S&&Ua(\"Both smartPtrType and smartPtr must be specified\");b.count={value:1};return S(Object.create(a,{L:{value:b}}))}function S(a){if(\"undefined\"===typeof FinalizationRegistry)return S=b=>b,a;Oa=new FinalizationRegistry(b=>{Pa(b.L)});S=b=>{var c=b.L;c.S&&Oa.register(b,{L:c},b);return b};Na=b=>{Oa.unregister(b)};return S(a)}var Wa={};\nfunction Xa(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function T(a){return this.fromWireType(C[a>>2])}var U={},Ya={};function V(a,b,c){function d(k){k=c(k);k.length!==a.length&&Ua(\"Mismatched type converter count\");for(var m=0;m<a.length;++m)W(a[m],k[m])}a.forEach(function(k){Ya[k]=b});var e=Array(b.length),f=[],g=0;b.forEach((k,m)=>{Q.hasOwnProperty(k)?e[m]=Q[k]:(f.push(k),U.hasOwnProperty(k)||(U[k]=[]),U[k].push(()=>{e[m]=Q[k];++g;g===f.length&&d(e)}))});0===f.length&&d(e)}\nfunction Za(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(\"Unknown type size: \"+a);}}\nfunction W(a,b,c={}){if(!(\"argPackAdvance\"in b))throw new TypeError(\"registerType registeredInstance requires argPackAdvance\");var d=b.name;a||K('type \"'+d+'\" must have a positive integer typeid pointer');if(Q.hasOwnProperty(a)){if(c.ta)return;K(\"Cannot register type '\"+d+\"' twice\")}Q[a]=b;delete Ya[a];U.hasOwnProperty(a)&&(b=U[a],delete U[a],b.forEach(e=>e()))}function $a(a){K(a.L.O.M.name+\" instance already deleted\")}function X(){}\nfunction ab(a,b,c){if(void 0===a[b].R){var d=a[b];a[b]=function(){a[b].R.hasOwnProperty(arguments.length)||K(\"Function '\"+c+\"' called with an invalid number of arguments (\"+arguments.length+\") - expects one of (\"+a[b].R+\")!\");return a[b].R[arguments.length].apply(this,arguments)};a[b].R=[];a[b].R[d.Y]=d}}\nfunction bb(a,b){h.hasOwnProperty(a)?(K(\"Cannot register public name '\"+a+\"' twice\"),ab(h,a,a),h.hasOwnProperty(void 0)&&K(\"Cannot register multiple overloads of a function with the same number of arguments (undefined)!\"),h[a].R[void 0]=b):h[a]=b}function cb(a,b,c,d,e,f,g,k){this.name=a;this.constructor=b;this.W=c;this.V=d;this.P=e;this.oa=f;this.aa=g;this.ma=k;this.ia=[]}\nfunction db(a,b,c){for(;b!==c;)b.aa||K(\"Expected null or instance of \"+c.name+\", got an instance of \"+b.name),a=b.aa(a),b=b.P;return a}function eb(a,b){if(null===b)return this.da&&K(\"null is not a valid \"+this.name),0;b.L||K('Cannot pass \"'+fb(b)+'\" as a '+this.name);b.L.N||K(\"Cannot pass deleted object as a pointer of type \"+this.name);return db(b.L.N,b.L.O.M,this.M)}\nfunction gb(a,b){if(null===b){this.da&&K(\"null is not a valid \"+this.name);if(this.ca){var c=this.ea();null!==a&&a.push(this.V,c);return c}return 0}b.L||K('Cannot pass \"'+fb(b)+'\" as a '+this.name);b.L.N||K(\"Cannot pass deleted object as a pointer of type \"+this.name);!this.ba&&b.L.O.ba&&K(\"Cannot convert argument of type \"+(b.L.T?b.L.T.name:b.L.O.name)+\" to parameter type \"+this.name);c=db(b.L.N,b.L.O.M,this.M);if(this.ca)switch(void 0===b.L.S&&K(\"Passing raw pointer to smart pointer is illegal\"),\nthis.Aa){case 0:b.L.T===this?c=b.L.S:K(\"Cannot convert argument of type \"+(b.L.T?b.L.T.name:b.L.O.name)+\" to parameter type \"+this.name);break;case 1:c=b.L.S;break;case 2:if(b.L.T===this)c=b.L.S;else{var d=b.clone();c=this.wa(c,Fa(function(){d[\"delete\"]()}));null!==a&&a.push(this.V,c)}break;default:K(\"Unsupporting sharing policy\")}return c}\nfunction hb(a,b){if(null===b)return this.da&&K(\"null is not a valid \"+this.name),0;b.L||K('Cannot pass \"'+fb(b)+'\" as a '+this.name);b.L.N||K(\"Cannot pass deleted object as a pointer of type \"+this.name);b.L.O.ba&&K(\"Cannot convert argument of type \"+b.L.O.name+\" to parameter type \"+this.name);return db(b.L.N,b.L.O.M,this.M)}\nfunction Y(a,b,c,d){this.name=a;this.M=b;this.da=c;this.ba=d;this.ca=!1;this.V=this.wa=this.ea=this.ja=this.Aa=this.va=void 0;void 0!==b.P?this.toWireType=gb:(this.toWireType=d?eb:hb,this.U=null)}function ib(a,b){h.hasOwnProperty(a)||Ua(\"Replacing nonexistant public symbol\");h[a]=b;h[a].Y=void 0}\nfunction jb(a,b){var c=[];return function(){c.length=0;Object.assign(c,arguments);if(a.includes(\"j\")){var d=h[\"dynCall_\"+a];d=c&&c.length?d.apply(null,[b].concat(c)):d.call(null,b)}else d=pa.get(b).apply(null,c);return d}}function Z(a,b){a=M(a);var c=a.includes(\"j\")?jb(a,b):pa.get(b);\"function\"!=typeof c&&K(\"unknown function pointer with signature \"+a+\": \"+b);return c}var mb=void 0;\nfunction nb(a,b){function c(f){e[f]||Q[f]||(Ya[f]?Ya[f].forEach(c):(d.push(f),e[f]=!0))}var d=[],e={};b.forEach(c);throw new mb(a+\": \"+d.map(Ka).join([\", \"]));}\nfunction ob(a,b,c,d,e){var f=b.length;2>f&&K(\"argTypes array size mismatch! Must at least get return value and 'this' types!\");var g=null!==b[1]&&null!==c,k=!1;for(c=1;c<b.length;++c)if(null!==b[c]&&void 0===b[c].U){k=!0;break}var m=\"void\"!==b[0].name,l=f-2,n=Array(l),p=[],r=[];return function(){arguments.length!==l&&K(\"function \"+a+\" called with \"+arguments.length+\" arguments, expected \"+l+\" args!\");r.length=0;p.length=g?2:1;p[0]=e;if(g){var u=b[1].toWireType(r,this);p[1]=u}for(var t=0;t<l;++t)n[t]=\nb[t+2].toWireType(r,arguments[t]),p.push(n[t]);t=d.apply(null,p);if(k)Xa(r);else for(var y=g?1:2;y<b.length;y++){var B=1===y?u:n[y-2];null!==b[y].U&&b[y].U(B)}u=m?b[0].fromWireType(t):void 0;return u}}function pb(a,b){for(var c=[],d=0;d<a;d++)c.push(D[b+4*d>>2]);return c}function qb(a){4<a&&0===--H[a].fa&&(H[a]=void 0,Da.push(a))}function fb(a){if(null===a)return\"null\";var b=typeof a;return\"object\"===b||\"array\"===b||\"function\"===b?a.toString():\"\"+a}\nfunction rb(a,b){switch(b){case 2:return function(c){return this.fromWireType(ma[c>>2])};case 3:return function(c){return this.fromWireType(na[c>>3])};default:throw new TypeError(\"Unknown float type: \"+a);}}\nfunction sb(a,b,c){switch(b){case 0:return c?function(d){return ka[d]}:function(d){return z[d]};case 1:return c?function(d){return A[d>>1]}:function(d){return la[d>>1]};case 2:return c?function(d){return C[d>>2]}:function(d){return D[d>>2]};default:throw new TypeError(\"Unknown integer type: \"+a);}}function tb(a,b){for(var c=\"\",d=0;!(d>=b/2);++d){var e=A[a+2*d>>1];if(0==e)break;c+=String.fromCharCode(e)}return c}\nfunction ub(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var d=b;c=c<2*a.length?c/2:a.length;for(var e=0;e<c;++e)A[b>>1]=a.charCodeAt(e),b+=2;A[b>>1]=0;return b-d}function vb(a){return 2*a.length}function wb(a,b){for(var c=0,d=\"\";!(c>=b/4);){var e=C[a+4*c>>2];if(0==e)break;++c;65536<=e?(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023)):d+=String.fromCharCode(e)}return d}\nfunction xb(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var d=b;c=d+c-4;for(var e=0;e<a.length;++e){var f=a.charCodeAt(e);if(55296<=f&&57343>=f){var g=a.charCodeAt(++e);f=65536+((f&1023)<<10)|g&1023}C[b>>2]=f;b+=4;if(b+4>c)break}C[b>>2]=0;return b-d}function yb(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&++c;b+=4}return b}var zb={};function Ab(a){var b=zb[a];return void 0===b?M(a):b}var Bb=[];function Cb(a){var b=Bb.length;Bb.push(a);return b}\nfunction Db(a,b){for(var c=Array(a),d=0;d<a;++d)c[d]=Ma(D[b+4*d>>2],\"parameter \"+d);return c}var Eb=[],Fb=[null,[],[]];J=h.BindingError=Ea(\"BindingError\");h.count_emval_handles=function(){for(var a=0,b=5;b<H.length;++b)void 0!==H[b]&&++a;return a};h.get_first_emval=function(){for(var a=5;a<H.length;++a)if(void 0!==H[a])return H[a];return null};Ga=h.PureVirtualError=Ea(\"PureVirtualError\");for(var Gb=Array(256),Hb=0;256>Hb;++Hb)Gb[Hb]=String.fromCharCode(Hb);Ha=Gb;h.getInheritedInstanceCount=function(){return Object.keys(P).length};\nh.getLiveInheritedInstances=function(){var a=[],b;for(b in P)P.hasOwnProperty(b)&&a.push(P[b]);return a};h.flushPendingDeletes=Ia;h.setDelayFunction=function(a){O=a;N.length&&O&&O(Ia)};Ta=h.InternalError=Ea(\"InternalError\");X.prototype.isAliasOf=function(a){if(!(this instanceof X&&a instanceof X))return!1;var b=this.L.O.M,c=this.L.N,d=a.L.O.M;for(a=a.L.N;b.P;)c=b.aa(c),b=b.P;for(;d.P;)a=d.aa(a),d=d.P;return b===d&&c===a};\nX.prototype.clone=function(){this.L.N||$a(this);if(this.L.$)return this.L.count.value+=1,this;var a=S,b=Object,c=b.create,d=Object.getPrototypeOf(this),e=this.L;a=a(c.call(b,d,{L:{value:{count:e.count,Z:e.Z,$:e.$,N:e.N,O:e.O,S:e.S,T:e.T}}}));a.L.count.value+=1;a.L.Z=!1;return a};X.prototype[\"delete\"]=function(){this.L.N||$a(this);this.L.Z&&!this.L.$&&K(\"Object already scheduled for deletion\");Na(this);Pa(this.L);this.L.$||(this.L.S=void 0,this.L.N=void 0)};X.prototype.isDeleted=function(){return!this.L.N};\nX.prototype.deleteLater=function(){this.L.N||$a(this);this.L.Z&&!this.L.$&&K(\"Object already scheduled for deletion\");N.push(this);1===N.length&&O&&O(Ia);this.L.Z=!0;return this};Y.prototype.pa=function(a){this.ja&&(a=this.ja(a));return a};Y.prototype.ga=function(a){this.V&&this.V(a)};Y.prototype.argPackAdvance=8;Y.prototype.readValueFromPointer=T;Y.prototype.deleteObject=function(a){if(null!==a)a[\"delete\"]()};\nY.prototype.fromWireType=function(a){function b(){return this.ca?Va(this.M.W,{O:this.va,N:c,T:this,S:a}):Va(this.M.W,{O:this,N:a})}var c=this.pa(a);if(!c)return this.ga(a),null;var d=Sa(this.M,c);if(void 0!==d){if(0===d.L.count.value)return d.L.N=c,d.L.S=a,d.clone();d=d.clone();this.ga(a);return d}d=this.M.oa(c);d=Ra[d];if(!d)return b.call(this);d=this.ba?d.ka:d.pointerType;var e=Qa(c,this.M,d.M);return null===e?b.call(this):this.ca?Va(d.M.W,{O:d,N:e,T:this,S:a}):Va(d.M.W,{O:d,N:e})};\nmb=h.UnboundTypeError=Ea(\"UnboundTypeError\");\nvar ya=\"function\"==typeof atob?atob:function(a){var b=\"\",c=0;a=a.replace(/[^A-Za-z0-9\\+\\/=]/g,\"\");do{var d=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(a.charAt(c++));var e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(a.charAt(c++));var f=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(a.charAt(c++));var g=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(a.charAt(c++));d=d<<2|e>>4;\ne=(e&15)<<4|f>>2;var k=(f&3)<<6|g;b+=String.fromCharCode(d);64!==f&&(b+=String.fromCharCode(e));64!==g&&(b+=String.fromCharCode(k))}while(c<a.length);return b},Jb={p:function(a,b,c){a=M(a);b=Ma(b,\"wrapper\");c=L(c);var d=[].slice,e=b.M,f=e.W,g=e.P.W,k=e.P.constructor;a=Ca(a,function(){e.P.ia.forEach(function(l){if(this[l]===g[l])throw new Ga(\"Pure virtual function \"+l+\" must be implemented in JavaScript\");}.bind(this));Object.defineProperty(this,\"__parent\",{value:f});this.__construct.apply(this,d.call(arguments))});\nf.__construct=function(){this===f&&K(\"Pass correct 'this' to __construct\");var l=k.implement.apply(void 0,[this].concat(d.call(arguments)));Na(l);var n=l.L;l.notifyOnDestruction();n.$=!0;Object.defineProperties(this,{L:{value:n}});S(this);l=n.N;l=Ja(e,l);P.hasOwnProperty(l)?K(\"Tried to register registered instance: \"+l):P[l]=this};f.__destruct=function(){this===f&&K(\"Pass correct 'this' to __destruct\");Na(this);var l=this.L.N;l=Ja(e,l);P.hasOwnProperty(l)?delete P[l]:K(\"Tried to unregister unregistered instance: \"+\nl)};a.prototype=Object.create(f);for(var m in c)a.prototype[m]=c[m];return Fa(a)},j:function(a){var b=Wa[a];delete Wa[a];var c=b.ea,d=b.V,e=b.ha,f=e.map(g=>g.sa).concat(e.map(g=>g.ya));V([a],f,g=>{var k={};e.forEach((m,l)=>{var n=g[l],p=m.qa,r=m.ra,u=g[l+e.length],t=m.xa,y=m.za;k[m.na]={read:B=>n.fromWireType(p(r,B)),write:(B,aa)=>{var I=[];t(y,B,u.toWireType(I,aa));Xa(I)}}});return[{name:b.name,fromWireType:function(m){var l={},n;for(n in k)l[n]=k[n].read(m);d(m);return l},toWireType:function(m,\nl){for(var n in k)if(!(n in l))throw new TypeError('Missing field: \"'+n+'\"');var p=c();for(n in k)k[n].write(p,l[n]);null!==m&&m.push(d,p);return p},argPackAdvance:8,readValueFromPointer:T,U:d}]})},v:function(){},B:function(a,b,c,d,e){var f=Za(c);b=M(b);W(a,{name:b,fromWireType:function(g){return!!g},toWireType:function(g,k){return k?d:e},argPackAdvance:8,readValueFromPointer:function(g){if(1===c)var k=ka;else if(2===c)k=A;else if(4===c)k=C;else throw new TypeError(\"Unknown boolean type size: \"+\nb);return this.fromWireType(k[g>>f])},U:null})},f:function(a,b,c,d,e,f,g,k,m,l,n,p,r){n=M(n);f=Z(e,f);k&&(k=Z(g,k));l&&(l=Z(m,l));r=Z(p,r);var u=Ba(n);bb(u,function(){nb(\"Cannot construct \"+n+\" due to unbound types\",[d])});V([a,b,c],d?[d]:[],function(t){t=t[0];if(d){var y=t.M;var B=y.W}else B=X.prototype;t=Ca(u,function(){if(Object.getPrototypeOf(this)!==aa)throw new J(\"Use 'new' to construct \"+n);if(void 0===I.X)throw new J(n+\" has no accessible constructor\");var kb=I.X[arguments.length];if(void 0===\nkb)throw new J(\"Tried to invoke ctor of \"+n+\" with invalid number of parameters (\"+arguments.length+\") - expected (\"+Object.keys(I.X).toString()+\") parameters instead!\");return kb.apply(this,arguments)});var aa=Object.create(B,{constructor:{value:t}});t.prototype=aa;var I=new cb(n,t,aa,r,y,f,k,l);y=new Y(n,I,!0,!1);B=new Y(n+\"*\",I,!1,!1);var lb=new Y(n+\" const*\",I,!1,!0);Ra[a]={pointerType:B,ka:lb};ib(u,t);return[y,B,lb]})},c:function(a,b,c,d,e,f,g){var k=pb(c,d);b=M(b);f=Z(e,f);V([],[a],function(m){function l(){nb(\"Cannot call \"+\nn+\" due to unbound types\",k)}m=m[0];var n=m.name+\".\"+b;b.startsWith(\"@@\")&&(b=Symbol[b.substring(2)]);var p=m.M.constructor;void 0===p[b]?(l.Y=c-1,p[b]=l):(ab(p,b,n),p[b].R[c-1]=l);V([],k,function(r){r=ob(n,[r[0],null].concat(r.slice(1)),null,f,g);void 0===p[b].R?(r.Y=c-1,p[b]=r):p[b].R[c-1]=r;return[]});return[]})},o:function(a,b,c,d,e,f){0<b||x();var g=pb(b,c);e=Z(d,e);V([],[a],function(k){k=k[0];var m=\"constructor \"+k.name;void 0===k.M.X&&(k.M.X=[]);if(void 0!==k.M.X[b-1])throw new J(\"Cannot register multiple constructors with identical number of parameters (\"+\n(b-1)+\") for class '\"+k.name+\"'! Overload resolution is currently only performed using the parameter count, not actual type info!\");k.M.X[b-1]=()=>{nb(\"Cannot construct \"+k.name+\" due to unbound types\",g)};V([],g,function(l){l.splice(1,0,null);k.M.X[b-1]=ob(m,l,null,e,f);return[]});return[]})},a:function(a,b,c,d,e,f,g,k){var m=pb(c,d);b=M(b);f=Z(e,f);V([],[a],function(l){function n(){nb(\"Cannot call \"+p+\" due to unbound types\",m)}l=l[0];var p=l.name+\".\"+b;b.startsWith(\"@@\")&&(b=Symbol[b.substring(2)]);\nk&&l.M.ia.push(b);var r=l.M.W,u=r[b];void 0===u||void 0===u.R&&u.className!==l.name&&u.Y===c-2?(n.Y=c-2,n.className=l.name,r[b]=n):(ab(r,b,p),r[b].R[c-2]=n);V([],m,function(t){t=ob(p,t,l,f,g);void 0===r[b].R?(t.Y=c-2,r[b]=t):r[b].R[c-2]=t;return[]});return[]})},A:function(a,b){b=M(b);W(a,{name:b,fromWireType:function(c){var d=L(c);qb(c);return d},toWireType:function(c,d){return Fa(d)},argPackAdvance:8,readValueFromPointer:T,U:null})},m:function(a,b,c){c=Za(c);b=M(b);W(a,{name:b,fromWireType:function(d){return d},\ntoWireType:function(d,e){return e},argPackAdvance:8,readValueFromPointer:rb(b,c),U:null})},d:function(a,b,c,d,e){b=M(b);-1===e&&(e=4294967295);e=Za(c);var f=k=>k;if(0===d){var g=32-8*c;f=k=>k<<g>>>g}c=b.includes(\"unsigned\")?function(k,m){return m>>>0}:function(k,m){return m};W(a,{name:b,fromWireType:f,toWireType:c,argPackAdvance:8,readValueFromPointer:sb(b,e,0!==d),U:null})},b:function(a,b,c){function d(f){f>>=2;var g=D;return new e(ja,g[f+1],g[f])}var e=[Int8Array,Uint8Array,Int16Array,Uint16Array,\nInt32Array,Uint32Array,Float32Array,Float64Array][b];c=M(c);W(a,{name:c,fromWireType:d,argPackAdvance:8,readValueFromPointer:d},{ta:!0})},n:function(a,b){b=M(b);var c=\"std::string\"===b;W(a,{name:b,fromWireType:function(d){var e=D[d>>2],f=d+4;if(c)for(var g=f,k=0;k<=e;++k){var m=f+k;if(k==e||0==z[m]){g=g?ia(z,g,m-g):\"\";if(void 0===l)var l=g;else l+=String.fromCharCode(0),l+=g;g=m+1}}else{l=Array(e);for(k=0;k<e;++k)l[k]=String.fromCharCode(z[f+k]);l=l.join(\"\")}R(d);return l},toWireType:function(d,e){e instanceof\nArrayBuffer&&(e=new Uint8Array(e));var f,g=\"string\"==typeof e;g||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||K(\"Cannot pass non-string to std::string\");if(c&&g){var k=0;for(f=0;f<e.length;++f){var m=e.charCodeAt(f);127>=m?k++:2047>=m?k+=2:55296<=m&&57343>=m?(k+=4,++f):k+=3}f=k}else f=e.length;k=Ib(4+f+1);m=k+4;D[k>>2]=f;if(c&&g){if(g=m,m=f+1,f=z,0<m){m=g+m-1;for(var l=0;l<e.length;++l){var n=e.charCodeAt(l);if(55296<=n&&57343>=n){var p=e.charCodeAt(++l);n=65536+\n((n&1023)<<10)|p&1023}if(127>=n){if(g>=m)break;f[g++]=n}else{if(2047>=n){if(g+1>=m)break;f[g++]=192|n>>6}else{if(65535>=n){if(g+2>=m)break;f[g++]=224|n>>12}else{if(g+3>=m)break;f[g++]=240|n>>18;f[g++]=128|n>>12&63}f[g++]=128|n>>6&63}f[g++]=128|n&63}}f[g]=0}}else if(g)for(g=0;g<f;++g)l=e.charCodeAt(g),255<l&&(R(m),K(\"String has UTF-16 code units that do not fit in 8 bits\")),z[m+g]=l;else for(g=0;g<f;++g)z[m+g]=e[g];null!==d&&d.push(R,k);return k},argPackAdvance:8,readValueFromPointer:T,U:function(d){R(d)}})},\ni:function(a,b,c){c=M(c);if(2===b){var d=tb;var e=ub;var f=vb;var g=()=>la;var k=1}else 4===b&&(d=wb,e=xb,f=yb,g=()=>D,k=2);W(a,{name:c,fromWireType:function(m){for(var l=D[m>>2],n=g(),p,r=m+4,u=0;u<=l;++u){var t=m+4+u*b;if(u==l||0==n[t>>k])r=d(r,t-r),void 0===p?p=r:(p+=String.fromCharCode(0),p+=r),r=t+b}R(m);return p},toWireType:function(m,l){\"string\"!=typeof l&&K(\"Cannot pass non-string to C++ string type \"+c);var n=f(l),p=Ib(4+n+b);D[p>>2]=n>>k;e(l,p+4,n+b);null!==m&&m.push(R,p);return p},argPackAdvance:8,\nreadValueFromPointer:T,U:function(m){R(m)}})},k:function(a,b,c,d,e,f){Wa[a]={name:M(b),ea:Z(c,d),V:Z(e,f),ha:[]}},h:function(a,b,c,d,e,f,g,k,m,l){Wa[a].ha.push({na:M(b),sa:c,qa:Z(d,e),ra:f,ya:g,xa:Z(k,m),za:l})},C:function(a,b){b=M(b);W(a,{ua:!0,name:b,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},s:function(a,b,c,d,e){a=Bb[a];b=L(b);c=Ab(c);var f=[];D[d>>2]=Fa(f);return a(b,c,f,e)},t:function(a,b,c,d){a=Bb[a];b=L(b);c=Ab(c);a(b,c,null,d)},g:qb,l:function(a,b){var c=Db(a,b),\nd=c[0];b=d.name+\"_$\"+c.slice(1).map(function(g){return g.name}).join(\"_\")+\"$\";var e=Eb[b];if(void 0!==e)return e;var f=Array(a-1);e=Cb((g,k,m,l)=>{for(var n=0,p=0;p<a-1;++p)f[p]=c[p+1].readValueFromPointer(l+n),n+=c[p+1].argPackAdvance;g=g[k].apply(g,f);for(p=0;p<a-1;++p)c[p+1].la&&c[p+1].la(f[p]);if(!d.ua)return d.toWireType(m,g)});return Eb[b]=e},q:function(a){4<a&&(H[a].fa+=1)},r:function(a){var b=L(a);Xa(b);qb(a)},e:function(){x(\"\")},x:function(a,b,c){z.copyWithin(a,b,b+c)},w:function(a){var b=\nz.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);var e=Math;d=Math.max(a,d);e=e.min.call(e,2147483648,d+(65536-d%65536)%65536);a:{try{fa.grow(e-ja.byteLength+65535>>>16);oa();var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(a,b,c,d){for(var e=0,f=0;f<c;f++){var g=D[b>>2],k=D[b+4>>2];b+=8;for(var m=0;m<k;m++){var l=z[g+m],n=Fb[a];0===l||10===l?((1===a?ea:v)(ia(n,0)),n.length=\n0):n.push(l)}e+=k}D[d>>2]=e;return 0}};\n(function(){function a(e){h.asm=e.exports;fa=h.asm.D;oa();pa=h.asm.I;ra.unshift(h.asm.E);E--;h.monitorRunDependencies&&h.monitorRunDependencies(E);0==E&&(null!==ua&&(clearInterval(ua),ua=null),F&&(e=F,F=null,e()))}function b(e){a(e.instance)}function c(e){return za().then(function(f){return WebAssembly.instantiate(f,d)}).then(function(f){return f}).then(e,function(f){v(\"failed to asynchronously prepare wasm: \"+f);x(f)})}var d={a:Jb};E++;h.monitorRunDependencies&&h.monitorRunDependencies(E);if(h.instantiateWasm)try{return h.instantiateWasm(d,\na)}catch(e){v(\"Module.instantiateWasm callback failed with error: \"+e),ca(e)}(function(){return w||\"function\"!=typeof WebAssembly.instantiateStreaming||va(G)||\"function\"!=typeof fetch?c(b):fetch(G,{credentials:\"same-origin\"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(f){v(\"wasm streaming compile failed: \"+f);v(\"falling back to ArrayBuffer instantiation\");return c(b)})})})().catch(ca);return{}})();\nh.___wasm_call_ctors=function(){return(h.___wasm_call_ctors=h.asm.E).apply(null,arguments)};var La=h.___getTypeName=function(){return(La=h.___getTypeName=h.asm.F).apply(null,arguments)};h.__embind_initialize_bindings=function(){return(h.__embind_initialize_bindings=h.asm.G).apply(null,arguments)};var Ib=h._malloc=function(){return(Ib=h._malloc=h.asm.H).apply(null,arguments)},R=h._free=function(){return(R=h._free=h.asm.J).apply(null,arguments)};\nh.dynCall_jiji=function(){return(h.dynCall_jiji=h.asm.K).apply(null,arguments)};var Kb;F=function Lb(){Kb||Mb();Kb||(F=Lb)};\nfunction Mb(){function a(){if(!Kb&&(Kb=!0,h.calledRun=!0,!ha)){Aa(ra);ba(h);if(h.onRuntimeInitialized)h.onRuntimeInitialized();if(h.postRun)for(\"function\"==typeof h.postRun&&(h.postRun=[h.postRun]);h.postRun.length;){var b=h.postRun.shift();sa.unshift(b)}Aa(sa)}}if(!(0<E)){if(h.preRun)for(\"function\"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;)ta();Aa(qa);0<E||(h.setStatus?(h.setStatus(\"Running...\"),setTimeout(function(){setTimeout(function(){h.setStatus(\"\")},1);a()},1)):a())}}\nif(h.preInit)for(\"function\"==typeof h.preInit&&(h.preInit=[h.preInit]);0<h.preInit.length;)h.preInit.pop()();Mb();\n\n\n return loadYoga.ready\n}\n);\n})();\nif (typeof exports === 'object' && typeof module === 'object')\n module.exports = loadYoga;\nelse if (typeof define === 'function' && define['amd'])\n define([], function() { return loadYoga; });\nelse if (typeof exports === 'object')\n exports[\"loadYoga\"] = loadYoga;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nimport wrapAssembly from '../wrapAssembly';\nimport type {Yoga} from '../wrapAssembly';\n\nexport * from '../generated/YGEnums';\nexport type {\n Config,\n DirtiedFunction,\n MeasureFunction,\n Node,\n Yoga,\n} from '../wrapAssembly';\n\nconst loadAssembly = require('../../binaries/wasm-async-web');\n\nexport async function loadYoga(): Promise<Yoga> {\n return wrapAssembly(await loadAssembly());\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n// @generated by enums.py\n\nexport enum Align {\n Auto = 0,\n FlexStart = 1,\n Center = 2,\n FlexEnd = 3,\n Stretch = 4,\n Baseline = 5,\n SpaceBetween = 6,\n SpaceAround = 7,\n}\n\nexport enum Dimension {\n Width = 0,\n Height = 1,\n}\n\nexport enum Direction {\n Inherit = 0,\n LTR = 1,\n RTL = 2,\n}\n\nexport enum Display {\n Flex = 0,\n None = 1,\n}\n\nexport enum Edge {\n Left = 0,\n Top = 1,\n Right = 2,\n Bottom = 3,\n Start = 4,\n End = 5,\n Horizontal = 6,\n Vertical = 7,\n All = 8,\n}\n\nexport enum Errata {\n None = 0,\n StretchFlexBasis = 1,\n All = 2147483647,\n Classic = 2147483646,\n}\n\nexport enum ExperimentalFeature {\n WebFlexBasis = 0,\n AbsolutePercentageAgainstPaddingEdge = 1,\n FixJNILocalRefOverflows = 2,\n}\n\nexport enum FlexDirection {\n Column = 0,\n ColumnReverse = 1,\n Row = 2,\n RowReverse = 3,\n}\n\nexport enum Gutter {\n Column = 0,\n Row = 1,\n All = 2,\n}\n\nexport enum Justify {\n FlexStart = 0,\n Center = 1,\n FlexEnd = 2,\n SpaceBetween = 3,\n SpaceAround = 4,\n SpaceEvenly = 5,\n}\n\nexport enum LogLevel {\n Error = 0,\n Warn = 1,\n Info = 2,\n Debug = 3,\n Verbose = 4,\n Fatal = 5,\n}\n\nexport enum MeasureMode {\n Undefined = 0,\n Exactly = 1,\n AtMost = 2,\n}\n\nexport enum NodeType {\n Default = 0,\n Text = 1,\n}\n\nexport enum Overflow {\n Visible = 0,\n Hidden = 1,\n Scroll = 2,\n}\n\nexport enum PositionType {\n Static = 0,\n Relative = 1,\n Absolute = 2,\n}\n\nexport enum PrintOptions {\n Layout = 1,\n Style = 2,\n Children = 4,\n}\n\nexport enum Unit {\n Undefined = 0,\n Point = 1,\n Percent = 2,\n Auto = 3,\n}\n\nexport enum Wrap {\n NoWrap = 0,\n Wrap = 1,\n WrapReverse = 2,\n}\n\nconst constants = {\n ALIGN_AUTO: Align.Auto,\n ALIGN_FLEX_START: Align.FlexStart,\n ALIGN_CENTER: Align.Center,\n ALIGN_FLEX_END: Align.FlexEnd,\n ALIGN_STRETCH: Align.Stretch,\n ALIGN_BASELINE: Align.Baseline,\n ALIGN_SPACE_BETWEEN: Align.SpaceBetween,\n ALIGN_SPACE_AROUND: Align.SpaceAround,\n DIMENSION_WIDTH: Dimension.Width,\n DIMENSION_HEIGHT: Dimension.Height,\n DIRECTION_INHERIT: Direction.Inherit,\n DIRECTION_LTR: Direction.LTR,\n DIRECTION_RTL: Direction.RTL,\n DISPLAY_FLEX: Display.Flex,\n DISPLAY_NONE: Display.None,\n EDGE_LEFT: Edge.Left,\n EDGE_TOP: Edge.Top,\n EDGE_RIGHT: Edge.Right,\n EDGE_BOTTOM: Edge.Bottom,\n EDGE_START: Edge.Start,\n EDGE_END: Edge.End,\n EDGE_HORIZONTAL: Edge.Horizontal,\n EDGE_VERTICAL: Edge.Vertical,\n EDGE_ALL: Edge.All,\n ERRATA_NONE: Errata.None,\n ERRATA_STRETCH_FLEX_BASIS: Errata.StretchFlexBasis,\n ERRATA_ALL: Errata.All,\n ERRATA_CLASSIC: Errata.Classic,\n EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: ExperimentalFeature.WebFlexBasis,\n EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE: ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge,\n EXPERIMENTAL_FEATURE_FIX_JNILOCAL_REF_OVERFLOWS: ExperimentalFeature.FixJNILocalRefOverflows,\n FLEX_DIRECTION_COLUMN: FlexDirection.Column,\n FLEX_DIRECTION_COLUMN_REVERSE: FlexDirection.ColumnReverse,\n FLEX_DIRECTION_ROW: FlexDirection.Row,\n FLEX_DIRECTION_ROW_REVERSE: FlexDirection.RowReverse,\n GUTTER_COLUMN: Gutter.Column,\n GUTTER_ROW: Gutter.Row,\n GUTTER_ALL: Gutter.All,\n JUSTIFY_FLEX_START: Justify.FlexStart,\n JUSTIFY_CENTER: Justify.Center,\n JUSTIFY_FLEX_END: Justify.FlexEnd,\n JUSTIFY_SPACE_BETWEEN: Justify.SpaceBetween,\n JUSTIFY_SPACE_AROUND: Justify.SpaceAround,\n JUSTIFY_SPACE_EVENLY: Justify.SpaceEvenly,\n LOG_LEVEL_ERROR: LogLevel.Error,\n LOG_LEVEL_WARN: LogLevel.Warn,\n LOG_LEVEL_INFO: LogLevel.Info,\n LOG_LEVEL_DEBUG: LogLevel.Debug,\n LOG_LEVEL_VERBOSE: LogLevel.Verbose,\n LOG_LEVEL_FATAL: LogLevel.Fatal,\n MEASURE_MODE_UNDEFINED: MeasureMode.Undefined,\n MEASURE_MODE_EXACTLY: MeasureMode.Exactly,\n MEASURE_MODE_AT_MOST: MeasureMode.AtMost,\n NODE_TYPE_DEFAULT: NodeType.Default,\n NODE_TYPE_TEXT: NodeType.Text,\n OVERFLOW_VISIBLE: Overflow.Visible,\n OVERFLOW_HIDDEN: Overflow.Hidden,\n OVERFLOW_SCROLL: Overflow.Scroll,\n POSITION_TYPE_STATIC: PositionType.Static,\n POSITION_TYPE_RELATIVE: PositionType.Relative,\n POSITION_TYPE_ABSOLUTE: PositionType.Absolute,\n PRINT_OPTIONS_LAYOUT: PrintOptions.Layout,\n PRINT_OPTIONS_STYLE: PrintOptions.Style,\n PRINT_OPTIONS_CHILDREN: PrintOptions.Children,\n UNIT_UNDEFINED: Unit.Undefined,\n UNIT_POINT: Unit.Point,\n UNIT_PERCENT: Unit.Percent,\n UNIT_AUTO: Unit.Auto,\n WRAP_NO_WRAP: Wrap.NoWrap,\n WRAP_WRAP: Wrap.Wrap,\n WRAP_WRAP_REVERSE: Wrap.WrapReverse,\n}\nexport default constants","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nimport YGEnums, {Unit, Direction} from './generated/YGEnums';\n\nexport default function wrapAssembly(lib) {\n function patch(prototype, name, fn) {\n const original = prototype[name];\n\n prototype[name] = function (...args) {\n return fn.call(this, original, ...args);\n };\n }\n\n for (const fnName of [\n 'setPosition',\n 'setMargin',\n 'setFlexBasis',\n 'setWidth',\n 'setHeight',\n 'setMinWidth',\n 'setMinHeight',\n 'setMaxWidth',\n 'setMaxHeight',\n 'setPadding',\n ]) {\n const methods = {\n [Unit.Point]: lib.Node.prototype[fnName],\n [Unit.Percent]: lib.Node.prototype[`${fnName}Percent`],\n [Unit.Auto]: lib.Node.prototype[`${fnName}Auto`],\n };\n\n patch(lib.Node.prototype, fnName, function (original, ...args) {\n // We patch all these functions to add support for the following calls:\n // .setWidth(100) / .setWidth(\"100%\") / .setWidth(.getWidth()) / .setWidth(\"auto\")\n\n const value = args.pop();\n let unit, asNumber;\n\n if (value === 'auto') {\n unit = Unit.Auto;\n asNumber = undefined;\n } else if (typeof value === 'object') {\n unit = value.unit;\n asNumber = value.valueOf();\n } else {\n unit =\n typeof value === 'string' && value.endsWith('%')\n ? Unit.Percent\n : Unit.Point;\n asNumber = parseFloat(value);\n if (!Number.isNaN(value) && Number.isNaN(asNumber)) {\n throw new Error(`Invalid value ${value} for ${fnName}`);\n }\n }\n\n if (!methods[unit])\n throw new Error(\n `Failed to execute \"${fnName}\": Unsupported unit '${value}'`,\n );\n\n if (asNumber !== undefined) {\n return methods[unit].call(this, ...args, asNumber);\n } else {\n return methods[unit].call(this, ...args);\n }\n });\n }\n\n function wrapMeasureFunction(measureFunction) {\n return lib.MeasureCallback.implement({\n measure: (...args) => {\n const {width, height} = measureFunction(...args);\n return {\n width: width ?? NaN,\n height: height ?? NaN,\n };\n },\n });\n }\n\n patch(lib.Node.prototype, 'setMeasureFunc', function (original, measureFunc) {\n // This patch is just a convenience patch, since it helps write more\n // idiomatic source code (such as .setMeasureFunc(null))\n if (measureFunc) {\n return original.call(this, wrapMeasureFunction(measureFunc));\n } else {\n return this.unsetMeasureFunc();\n }\n });\n\n function wrapDirtiedFunc(dirtiedFunction) {\n return lib.DirtiedCallback.implement({dirtied: dirtiedFunction});\n }\n\n patch(lib.Node.prototype, 'setDirtiedFunc', function (original, dirtiedFunc) {\n original.call(this, wrapDirtiedFunc(dirtiedFunc));\n });\n\n patch(lib.Config.prototype, 'free', function () {\n // Since we handle the memory allocation ourselves (via lib.Config.create),\n // we also need to handle the deallocation\n lib.Config.destroy(this);\n });\n\n patch(lib.Node, 'create', (_, config) => {\n // We decide the constructor we want to call depending on the parameters\n return config\n ? lib.Node.createWithConfig(config)\n : lib.Node.createDefault();\n });\n\n patch(lib.Node.prototype, 'free', function () {\n // Since we handle the memory allocation ourselves (via lib.Node.create),\n // we also need to handle the deallocation\n lib.Node.destroy(this);\n });\n\n patch(lib.Node.prototype, 'freeRecursive', function () {\n for (let t = 0, T = this.getChildCount(); t < T; ++t) {\n this.getChild(0).freeRecursive();\n }\n this.free();\n });\n\n patch(\n lib.Node.prototype,\n 'calculateLayout',\n function (original, width = NaN, height = NaN, direction = Direction.LTR) {\n // Just a small patch to add support for the function default parameters\n return original.call(this, width, height, direction);\n },\n );\n\n return {\n Config: lib.Config,\n Node: lib.Node,\n ...YGEnums,\n };\n}\n","export const primaryColors = {\n ERROR: \"#E00000\",\n TEXT_ACTIVE: \"#384048\",\n TEXT_HELPER: \"#5E6368\",\n TEXT_DISABLED: \"#A2A3A4\",\n BLACK: \"#313131\",\n PURPLE3: \"#4F2542\",\n PURPLE2_HOVER: \"#5B3152\",\n PURPLE2: \"#69385E\",\n PURPLE1: \"#D3BCCF\",\n HOVER: \"#E7DFE5\",\n ACTIVE: \"#E1D5DF\",\n WHITE: \"#FFFFFF\",\n};\n\nexport const neutralColors = {\n GRAY5: \"#6C757D\",\n GRAY4: \"#9FA2B4\",\n GRAY3: \"#CED4DA\",\n GRAY3_ACTIVE: \"#BEC5CC\",\n GRAY3_HOVER: \"#C7CDD3\",\n GRAY2: \"#E9ECEF\",\n GRAY1: \"#F1F3F5\",\n GRAY0: \"#F8F9FA\",\n};\n\nexport const utilityColors = {\n RED: \"#D54857\",\n RED_HOVER: \"#BD3B49\",\n RED_ACTIVE: \"#BD3B49\",\n RED_OUTLINE_HOVER: \"#F3DEE2\",\n RED_OUTLINE_FOCUSED: \"#EFCDD1\",\n ORANGE: \"#FF5D45\",\n ORANGE_HOVER: \"#E2513C\",\n ORANGE_LIGHT_HOVER: \"#EDBDB6\",\n ORANGE_ACTIVE: \"#C64532\",\n ORANGE_OUTLINED_HOVER: \"#FFF0ED\",\n ORANGE_OUTLINED_ACTIVE: \"#FFEAE6\",\n YELLOW: \"#FCB831\",\n YELLOW_HOVER: \"#FADCA2\",\n GREEN: \"#63C26E\",\n GREEN_OUTLINE_HOVER: \"#E2F1E5\",\n GREEN_OUTLINE_FOCUSED: \"#D3EBD7\",\n CYAN: \"#92D3D7\",\n CYAN_HOVER: \"#CBE8EB\",\n BLUE: \"#2D9CDB\",\n BLUE_LIGHT_HOVER: \"#AED0E3\",\n LILAC: \"#A85B98\",\n LILAS_LIGHT_HOVER: primaryColors.PURPLE1,\n TAG_SELECTED: \"#EEDEEA\",\n};\n\nexport enum AppColors {\n Orange = \"#FF5D45\",\n Yellow = \"#FCB831\",\n Blue = \"#2D9CDB\",\n Red = \"#D54857\",\n Cyan = \"#92D3D7\",\n Lilac = \"#A85B98\",\n Purple = \"#69385E\",\n Green = \"#63C26E\",\n Gray = \"#6C757D\", // GRAY5\n}\n\nexport const inputColors = {\n DEFAULT: neutralColors.GRAY4,\n HOVER: neutralColors.GRAY5,\n FOCUSED: utilityColors.LILAC,\n ERROR: utilityColors.RED,\n DISABLED: {\n BORDER: neutralColors.GRAY4,\n },\n};\n\nexport const excelColors = {\n WHITE: \"ffffff\",\n BLACK: \"000000\",\n ORANGE: \"ff5d45\",\n GRAY: \"f2f2f2\",\n PURPLE: \"69385e\",\n GREEN: \"e2efda\",\n PEACH: \"fdf0e7\",\n TURQUOISE: \"92d3d7\",\n BLUE_UNVISITED_LINK: \"0000FF\",\n};\n\nexport const chartColors = [\n AppColors.Blue,\n AppColors.Lilac,\n AppColors.Green,\n \"#33B4BC\",\n \"#EB5299\",\n AppColors.Yellow,\n utilityColors.ORANGE_HOVER,\n \"#B32E67\",\n \"#5E843F\",\n \"#A5B72E\",\n \"#56D1E7\",\n \"#175A80\",\n];\n","export enum AssetType {\n Document = \"Document\",\n Certificate = \"Certificate\",\n}\n\nexport enum AllowedExtensions {\n txt = \"txt\",\n pdf = \"pdf\",\n doc = \"doc\",\n jpg = \"jpg\",\n jpeg = \"jpeg\",\n gif = \"gif\",\n png = \"png\",\n mp4 = \"mp4\",\n xlsx = \"xlsx\",\n}\n\nexport enum AllowedMimes {\n text_plain = \"text/plain\",\n application_pdf = \"application/pdf\",\n image_jpeg = \"image/jpeg\",\n image_gif = \"image/gif\",\n image_png = \"image/png\",\n video_mp4 = \"videomp4\",\n application_msword = \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" = \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\", //xlsx\n}\n","export enum AttributeModelType {\n SupplierRecord = \"SupplierRecord\",\n SupplierProduct = \"SupplierProduct\",\n Company = \"Company\",\n}\n\nexport enum AttributeValueType {\n Text = \"Text\",\n Numeric = \"Numeric\",\n Date = \"Date\",\n SingleChoice = \"SingleChoice\",\n MultiChoice = \"MultiChoice\",\n}\n","export enum AuditActionType {\n PassportCreated = \"PassportCreated\",\n PassportPdfSaved = \"PassportPdfSaved\",\n PassportInvitationSent = \"PassportInvitationSent\",\n PassportInvitationResent = \"PassportInvitationResent\",\n CompanyMemberInvited = \"CompanyMemberInvited\",\n CompanyMemberReInvited = \"CompanyMemberReInvited\",\n CompanyMemberJoined = \"CompanyMemberJoined\",\n UserRoleAdded = \"UserRoleAdded\",\n UserRoleUpdated = \"UserRoleUpdated\",\n UserRoleRemoved = \"UserRoleRemoved\",\n UserCompanyRoleRetrieved = \"UserCompanyRoleRetrieved\",\n UserRolesByCompanyIdRetrieved = \"UserRolesByCompanyIdRetrieved\",\n CompanyRolesByUserIdRetrieved = \"CompanyRolesByUserIdRetrieved\",\n RfpCreated = \"RfpCreated\",\n RfpRetrieved = \"RfpRetrieved\",\n RfpListRetrieved = \"RfpListRetrieved\",\n RfpUpdated = \"RfpUpdated\",\n RfpDeleted = \"RfpDeleted\",\n /** todo unused */\n RfpCloned = \"RfpCloned\",\n RfpEvaluationTypeChanged = \"RfpEvaluationTypeChanged\",\n RfpScoreSettingsCreated = \"RfpScoreSettingsCreated\",\n RfpScoreSettingsUpdated = \"RfpScoreSettingsUpdated\",\n RfpScoreSettingsRemoved = \"RfpScoreSettingsRemoved\",\n RfpScoreSettingsSet = \"RfpScoreSettingsSet\",\n RfpSubmitted = \"RfpSubmitted\",\n RfpWinnerSelected = \"RfpWinnerSelected\",\n RfpModuleAdded = \"RfpModuleAdded\",\n RfpModuleRemoved = \"RfpModuleRemoved\",\n RfpRecipientsUpdated = \"RfpRecipientsUpdated\",\n RfpStatusUpdated = \"RfpStatusUpdated\",\n RfpResponseRetrieved = \"RfpResponseRetrieved\",\n RfpResponseAnswerUpdated = \"RfpResponseAnswerUpdated\",\n RfpResponseAnswerRemoved = \"RfpResponseAnswerRemoved\",\n RfpResponseAnswerAssetRemoved = \"RfpResponseAnswerAssetRemoved\",\n RfpResponseAnswerAssetUploaded = \"RfpResponseAnswerAssetUploaded\",\n RfpResponseAnswerAssetCloned = \"RfpResponseAnswerAssetCloned\",\n RfpResponseAssetCloned = \"RfpResponseAssetCloned\",\n AttachmentUploaded = \"AttachmentUploaded\",\n RfpAssetsCloned = \"RfpAssetsCloned\",\n RfpAssetRemoved = \"RfpAssetRemoved\",\n RfpModuleCloned = \"RfpModuleCloned\",\n RfpModulesCloned = \"RfpModulesCloned\",\n AssetRetrieved = \"AssetRetrieved\",\n AssetUpdated = \"AssetUpdated\",\n AssetAdded = \"AssetAdded\",\n AssetMoved = \"AssetMoved\",\n AssetRemoved = \"AssetRemoved\",\n AssetRenamed = \"AssetRenamed\",\n AssetListRetrieved = \"AssetListRetrieved\",\n AssetCloned = \"AssetCloned\",\n AssetTypeSet = \"AssetTypeSet\",\n AssetBlobUrlRetrieved = \"AssetBlobUrlRetrieved\",\n AssetFileItemRetrieved = \"AssetFileItemRetrieved\",\n CompanyRetrieved = \"CompanyRetrieved\",\n CompanyAndListsRetrieved = \"CompanyAndListsRetrieved\",\n CompanyListRetrieved = \"CompanyListRetrieved\",\n CompanyUpdated = \"CompanyUpdated\",\n CompanyESGInvitationUpdated = \"CompanyESGInvitationUpdated\",\n CompanyListUpdated = \"CompanyListUpdated\",\n CompanyListRenamed = \"CompanyListRenamed\",\n CompanyListRemoved = \"CompanyListRemoved\",\n CompanyListCompanyRemoved = \"CompanyListCompanyRemoved\",\n CompanyListAdded = \"CompanyListAdded\",\n CompanyListCompanyAdded = \"CompanyListCompanyAdded\",\n FeedbackSent = \"FeedbackSent\",\n FolderRetrieved = \"FolderRetrieved\",\n FolderItemsListRetrieved = \"FolderItemsListRetrieved\",\n FolderAdded = \"FolderAdded\",\n FolderUpdated = \"FolderUpdated\",\n FolderRemoved = \"FolderRemoved\",\n FolderRenamed = \"FolderRenamed\",\n FolderMoved = \"FolderMoved\",\n FileUploaded = \"FileUploaded\",\n FileDownloaded = \"FileDownloaded\",\n QuestionnaireAdded = \"QuestionnaireAdded\",\n QuestionnaireRemoved = \"QuestionnaireRemoved\",\n QuestionnaireCloned = \"QuestionnaireCloned\",\n QuestionnairesCloned = \"QuestionnairesCloned\",\n StandardizedQuestionnairesRetrieved = \"StandardizedQuestionnairesRetrieved\",\n RfpModuleUpdated = \"RfpModuleUpdated\",\n CompanyPassportAddedToCompany = \"CompanyPassportAddedToCompany\",\n CompanyPassportRetrieved = \"CompanyPassportRetrieved\",\n PaymentValidated = \"PaymentValidated\",\n PaymentExecuted = \"PaymentExecuted\",\n PaymentRegistered = \"PaymentRegistered\",\n ProductOrServiceRetrieved = \"ProductOrServiceRetrieved\",\n ProductOrServiceListRetrieved = \"ProductOrServiceListRetrieved\",\n ProductOrServiceListFromCompanyRetrieved = \"ProductOrServiceListFromCompanyRetrieved\",\n ProductRemoved = \"ProductRemoved\",\n ProductAdded = \"ProductAdded\",\n ProductsAdded = \"ProductsAdded\",\n ProductUpdated = \"ProductUpdated\",\n QuestionUnformatedListRetrieved = \"QuestionUnformatedListRetrieved\",\n QuestionUpdated = \"QuestionUpdated\",\n QuestionCloned = \"QuestionCloned\",\n QuestionsCloned = \"QuestionsCloned\",\n QuestionnaireUpdated = \"QuestionnaireUpdated\",\n QuestionAdded = \"QuestionAdded\",\n QuestionRemoved = \"QuestionRemoved\",\n QuestionMoved = \"QuestionMoved\",\n QuestionRelevanceChanged = \"QuestionRelevanceChanged\",\n InvitationRetrieved = \"InvitationRetrieved\",\n RfpInvitationListRetrieved = \"RfpInvitationListRetrieved\",\n RfpInvitationRetrieved = \"RfpInvitationRetrieved\",\n RfpInvitationAdded = \"RfpInvitationAdded\",\n RfpInvitationAnswered = \"RfpInvitationAnswered\",\n RfpResponseUpdated = \"RfpResponseUpdated\",\n AnswerAdded = \"AnswerAdded\",\n SignUp = \"SignUp\",\n UserLogin = \"UserLoggedIn\",\n UserRetrieved = \"UserRetrieved\",\n AllUserRetrieved = \"AllUserRetrieved\",\n UserUpdated = \"UserUpdated\",\n UserCompaniesRetrieved = \"UserCompaniesRetrieved\",\n UserCompanyRoleCreated = \"UserCompanyRoleCreated\",\n UserCompanyRoleRemoved = \"UserCompanyRoleRemoved\",\n UserCompanyRoleUpdated = \"UserCompanyRoleUpdated\",\n DataRoomRetrieved = \"DataRoomRetrieved\",\n DataRoomAdded = \"DataRoomAdded\",\n DataRoomUpdated = \"DataRoomUpdated\",\n DataRoomDeleted = \"DataRoomDeleted\",\n DataRoomVideoAdded = \"DataRoomVideoAdded\",\n DataRoomVideoUpdated = \"DataRoomVideoUpdated\",\n DataRoomVideoDeleted = \"DataRoomVideoDeleted\",\n DataRoomAssetCloned = \"DataRoomAssetCloned\",\n DataRoomListRetrieved = \"DataRoomListRetrieved\",\n GroupAdded = \"GroupAdded\",\n GroupUpdated = \"GroupUpdated\",\n GroupDeleted = \"GroupDeleted\",\n GroupInvitationStatusUpdated = \"GroupInvitationStatusUpdated\",\n GroupMemberInvited = \"GroupMemberInvited\",\n GroupMemberAdded = \"GroupMemberAdded\",\n GroupJoinRequestSent = \"GroupJoinRequestSent\",\n GroupMemberLeft = \"GroupMemberLeft\",\n GroupMediaItemAdded = \"GroupMediaItemAdded\",\n GroupMediaItemUpdated = \"GroupMediaItemUpdated\",\n GroupMediaItemRemoved = \"GroupMediaItemRemoved\",\n GroupMediaItemApprovalStatusChanged = \"GroupMediaItemApprovalStatusChanged\",\n SupplierCreated = \"SupplierCreated\",\n SuppliersCreated = \"SuppliersCreated\",\n SupplierRetrieved = \"SupplierRetrieved\",\n SupplierListRetrieved = \"SupplierListRetrieved\",\n SupplierUpdated = \"SupplierUpdated\",\n SupplierDeleted = \"SupplierDeleted\",\n SupplierContractCreated = \"SupplierContractCreated\",\n SupplierContractRetrieved = \"SupplierContractRetrieved\",\n SupplierContractListRetrieved = \"SupplierContractListRetrieved\",\n SupplierContractUpdated = \"SupplierContractUpdated\",\n SupplierContractDeleted = \"SupplierContractDeleted\",\n SupplierContractAttachmentAdded = \"SupplierContractAttachmentAdded\",\n SupplierContractAttachmentDeleted = \"SupplierContractAttachmentDeleted\",\n SupplierContractAttachmentsCloned = \"SupplierContractAttachmentsCloned\",\n SupplierAttachmentAdded = \"SupplierAttachmentAdded\",\n SupplierAttachmentsCloned = \"SupplierAttachmentsCloned\",\n PostCreated = \"PostCreated\",\n PostUpdated = \"PostUpdated\",\n PostLiked = \"PostLiked\",\n PostDeleted = \"PostDeleted\",\n PostAttachmentUploaded = \"PostAttachmentUploaded\",\n PostAttachmentsCloned = \"PostAttachmentsCloned\",\n PostMediaItemAdded = \"PostMediaItemAdded\",\n PostMediaItemUpdated = \"PostMediaItemUpdated\",\n PostMediaItemRemoved = \"PostMediaItemRemoved\",\n CommentCreated = \"CommentCreated\",\n CommentsRetrieved = \"CommentsRetrieved\",\n CommentUpdated = \"CommentUpdated\",\n CommentDeleted = \"CommentDeleted\",\n MessageDetailsRetrieved = \"MessageDetailsRetrieved\",\n UserActivity = \"UserActivity\",\n RfpAnswerMessagesSent = \"RfpAnswerMessagesSent\",\n ImageUploaded = \"ImageUploaded\",\n AttributeTypeCreated = \"AttributeTypeCreated\",\n AttributeTypeUpdated = \"AttributeTypeUpdated\",\n AttributeTypeDeleted = \"AttributeTypeDeleted\",\n AttributeSet = \"AttributeSet\",\n SupplierProductCreated = \"SupplierProductCreated\",\n SupplierProductUpdated = \"SupplierProductUpdated\",\n SupplierProductRetrieved = \"SupplierProductRetrieved\",\n SupplierProductListRetrieved = \"SupplierProductListRetrieved\",\n SupplierProductAttachmentAdded = \"SupplierProductAttachmentAdded\",\n SupplierProductAttachmentDeleted = \"SupplierProductAttachmentDeleted\",\n SupplierProductAttachmentsCloned = \"SupplierProductAttachmentsCloned\",\n CertificateCreated = \"CertificateCreated\",\n CertificateUpdated = \"CertificateUpdated\",\n CertificateDeleted = \"CertificateDeleted\",\n MatrixUpdated = \"MatrixUpdated\",\n MatrixCreated = \"MatrixCreated\",\n MatrixRetrieved = \"MatrixRetrieved\",\n MatrixDataRetrieved = \"MatrixDataRetrieved\",\n MatrixDeleted = \"MatrixDeleted\",\n MatrixColumnInserted = \"MatrixColumnInserted\",\n MatrixColumnUpdated = \"MatrixColumnUpdated\",\n MatrixColumnDeleted = \"MatrixColumnDeleted\",\n MatrixCellInserted = \"MatrixCellInserted\",\n MatrixCellUpdated = \"MatrixCellUpdated\",\n MatrixCellDeleted = \"MatrixCellDeleted\",\n MatrixRowInserted = \"MatrixRowInserted\",\n MatrixRowUpdated = \"MatrixRowUpdated\",\n MatrixRowDeleted = \"MatrixRowDeleted\",\n MatrixCloned = \"MatrixCloned\",\n LookupTableCreated = \"LookupTableCreated\",\n LookupTableUpdated = \"LookupTableUpdated\",\n LookupRowCreated = \"LookupRowCreated\",\n LookupRowUpdated = \"LookupRowUpdated\",\n LookupRowDeleted = \"LookupRowDeleted\",\n SupplierGroupCreated = \"SupplierGroupCreated\",\n SupplierGroupsRetrieved = \"SupplierGroupsRetrieved\",\n SupplierGroupUpdated = \"SupplierGroupUpdated\",\n SupplierGroupDeleted = \"SupplierGroupDeleted\",\n QuestionsImported = \"QuestionsImported\",\n // CSRD related audit log items\n CSRDAssessmentRowListRetrieved = \"CSRDAssessmentRowListRetrieved\",\n CSRDAssessmentRowAdded = \"CSRDAssessmentRowAdded\",\n CSRDAssessmentRowUpdated = \"CSRDAssessmentRowUpdated\",\n CSRDAssessmentRowDeleted = \"CSRDAssessmentRowDeleted\",\n //Question labels\n QuestionLabelCreated = \"QuestionLabelCreated\",\n QuestionLabelUpdated = \"QuestionLabelUpdated\",\n QuestionLabelDeleted = \"QuestionLabelDeleted\",\n LabelsAddedToQuestions = \"LabelsAddedToQuestions\",\n LabelRemovedFromQuestions = \"LabelRemovedFromQuestions\",\n AttachmentsClonedToFolder = \"AttachmentsClonedToFolder\",\n DashboardItemAdded = \"DashboardItemAdded\",\n DashboardItemUpdated = \"DashboardItemUpdated\",\n DashboardItemDeleted = \"DashboardItemDeleted\",\n // Reports\n RfpExcelReportRetrieved = \"RfpExcelReportRetrieved\",\n RfpWordReportRetrieved = \"RfpWordReportRetrieved\",\n SupplierReportRetrieved = \"SupplierReportRetrieved\",\n ProductReportRetrieved = \"ProductReportRetrieved\",\n MatrixDataReportRetrieved = \"MatrixDataReportRetrieved\",\n CSRDMaterialityReportRetrieved = \"CSRDMaterialityReportRetrieved\",\n}\n","export enum DashboardType {\n General = \"General\",\n Sectoral = \"Sectoral\",\n Consultant = \"Consultant\",\n}\n","export enum FeatureFlagEnum {\n isMyFirstFeatureEnabled = \"isMyFirstFeatureEnabled\",\n addRFPRecipientsThroughSupplierSearch = \"addRFPRecipientsThroughSupplierSearch\",\n azureFlag = \"isAzureFeatureEnabled\",\n dataroom = \"dataroom\",\n mySuppliers = \"mySuppliers\",\n groupsEnabled = \"groupsEnabled\",\n evaluationSettings = \"evaluationSettings\",\n notificationsEnabled = \"notificationsEnabled\",\n questionWeight = \"questionWeight\",\n questionTypes = \"questionTypes\",\n posting = \"posting\",\n comments = \"comments\",\n registerWithZone = \"registerWithZone\",\n postAttachments = \"postAttachments\",\n postVideos = \"postVideos\",\n exportRfpResponse = \"exportRfpResponse\",\n groupFiles = \"groupFiles\",\n manageGroupFilesApproval = \"manageGroupFilesApproval\",\n duplicateRfp = \"duplicateRfp\",\n passport = \"passport\",\n supplierContracts = \"supplierContracts\",\n supplierResponses = \"supplierResponses\",\n numericAutoScoring = \"numericAutoScoring\",\n supplierProducts = \"supplierProducts\",\n dataManagement = \"dataManagement\",\n matrixQuestion = \"matrixQuestion\",\n agGridEnterprise = \"agGridEnterprise\",\n csrd = \"csrd\",\n exportImportRfxJson = \"exportImportRfxJson\",\n createNewCompany = \"createNewCompany\",\n rfxEditorGridLayout = \"rfxEditorGridLayout\",\n valueChainDashboardChart = \"valueChainDashboardChart\",\n //TODO: related work item #7462 - Remove this feature flag asap. Should not be pushed to production the feature demonstrated to client in sandbox\n dashboardDemoReport = \"dashboardDemoReport\",\n questionnaireCoverCompanyBackground = \"questionnaireCoverCompanyBackground\",\n rfxComparisonGridLayout = \"rfxComparisonGridLayout\",\n}\n","export enum RfpStatus {\n Draft = \"Draft\",\n Distributed = \"Distributed\",\n InReview = \"InReview\",\n AnalyticalReview = \"AnalyticalReview\",\n Completed = \"Completed\",\n}\n","export enum RFPType {\n RFP = \"RFP\",\n DDQ = \"DDQ\",\n RFI = \"RFI\",\n QTP = \"QTP\",\n Passport = \"Passport\",\n ESRS = \"ESRS\",\n Regulation = \"Regulation\",\n}\n\nexport const documentTypeNames: Record<\n RFPType,\n { fullName: string; shortName: string }\n> = {\n DDQ: { fullName: \"Due Diligence Questionnaire\", shortName: \"DDQ\" },\n QTP: { fullName: \"Quick to Procure\", shortName: \"QTP\" },\n RFP: { fullName: \"Request for Proposal\", shortName: \"RFP\" },\n RFI: { fullName: \"Request for Information\", shortName: \"RFI\" },\n Passport: { fullName: \"Passport\", shortName: \"ESG\" },\n ESRS: {\n fullName: \"European Sustainability Reporting Standards\",\n shortName: \"ESRS\",\n },\n Regulation: { fullName: \"Questionnaire\", shortName: \"Questionnaire\" },\n};\n","export enum QuestionType {\n TEXT = \"TEXT\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n NUMBER = \"NUMBER\",\n MATRIX = \"MATRIX\",\n DATE = \"DATE\",\n}\n\nexport enum QuestionParentModelType {\n QUESTIONNAIRE = \"QUESTIONNAIRE\",\n MODULE = \"MODULE\",\n RFX = \"RFX\",\n}\n","export enum RegulationModuleType {\n Dashboard = \"Dashboard\",\n StandardQuestionnaires = \"StandardQuestionnaires\",\n SelfAssessments = \"SelfAssessments\",\n MyViews = \"MyViews\",\n DataManagement = \"DataManagement\",\n Surveys = \"Surveys\",\n StandardDataTables = \"StandardDataTables\",\n CustomDataTables = \"CustomDataTables\",\n}\n","export enum PageSize {\n A4 = \"A4\",\n A3 = \"A3\",\n}\n\nexport enum PageOrientation {\n PORTRAIT = \"portrait\",\n LANDSCAPE = \"landscape\",\n}\n","import { RFPType } from \"./procurementTypes\";\n\nexport const RFPURLS: Record<RFPType, string> = {\n DDQ: \"ddq\",\n ESRS: \"esrs\",\n Passport: \"passport\",\n QTP: \"qtp\",\n RFI: \"rfi\",\n RFP: \"rfp\",\n Regulation: \"questionnaire\",\n};\n","import {\n RegulationModuleType,\n RegulationDto,\n RegulationModuleDto,\n} from \"@pulsemarket/api-client\";\nimport { RFPType } from \"./procurementTypes\";\n\ntype AtLeastOne<T, U = { [K in keyof T]: Pick<T, K> }> = Partial<T> &\n U[keyof U];\n\nexport const ROUTES = {\n // ******************* Auth *******************\n LOGIN: \"/login\",\n REGISTER: \"/register\",\n FORGOT_PASSWORD: \"/forgot_password\",\n RESET_PASSWORD: \"/reset_password\",\n VERIFY_EMAIL: \"/verify_email\",\n\n // ******************* Value Chain *******************\n RFP_MANAGEMENT_FOR_BUYERS: \"/documents\",\n RFP_MANAGEMENT_FOR_SUPPLIERS: \"/documentresponses\",\n RFP_MANAGEMENT_RFP: \"/rfp\",\n RFP_MANAGEMENT_RFI: \"/rfi\",\n RFP_MANAGEMENT_DDQ: \"/ddq\",\n RFP_MANAGEMENT_QTP: \"/qtp\",\n RFP_MANAGEMENT_RFP_RESPONSES: \"/rfpresponses\",\n RFP_MANAGEMENT_RFI_RESPONSES: \"/rfiresponses\",\n RFP_MANAGEMENT_DDQ_RESPONSES: \"/ddqresponses\",\n RFP_MANAGEMENT_QTP_RESPONSES: \"/qtpresponses\",\n\n // ******************* Document editor *******************\n RFP: ({ rfpType, id }: { rfpType: RFPType; id: string }) =>\n `/${rfpType.toLowerCase()}/${id}`,\n RFPRESPONSE: ({\n rfpType,\n rfpId,\n responseId,\n }: {\n rfpType: RFPType;\n rfpId: string;\n responseId: string;\n }) => `/${rfpType.toLowerCase()}/${rfpId}/response/${responseId}`,\n\n // ******************* Passport console *******************\n // todo figure out better paths\n PASSPORT_MANAGEMENT: \"/passports\",\n MY_ESG_PASSPORT: \"/passports/esg/my_passports\",\n ESG_INVITATIONS: \"/passports/esg/invitations\",\n\n // ******************* Regulations and Frameworks *******************\n\n REGULATIONS: ({\n regulation,\n }: {\n regulation: RegulationDto;\n }): AtLeastOne<Record<RegulationModuleType, string>> & {\n Root: string;\n Folder: (folderName: string) => string;\n } => {\n const baseUrl = `/regulations/${regulation.url}`;\n\n const regulationModules: AtLeastOne<Record<RegulationModuleType, string>> =\n regulation.modules.reduce((acc, module) => {\n acc[module.type] = `${baseUrl}/${module.url}`;\n return acc;\n }, {} as AtLeastOne<Record<RegulationModuleType, string>>);\n\n return {\n Root: baseUrl,\n ...regulationModules,\n Folder: (folderName: string) => `${baseUrl}/folder/${folderName}`,\n };\n },\n\n // ******************* Regulation data management tables *******************\n REGULATION_DATA_MANAGEMENT: ({\n regulation,\n dataManagementModule,\n }: {\n regulation: RegulationDto;\n dataManagementModule: RegulationModuleDto;\n }) => {\n return (tableId: string) =>\n `${\n ROUTES.REGULATIONS({ regulation })[dataManagementModule.type]\n }/table/${tableId}`;\n },\n\n // ******************* Regulation questionnaires *******************\n\n REGULATION_QUESTIONNAIRE: ({\n questionnaireId,\n responseId,\n isResponse,\n invitationId,\n }: {\n questionnaireId: string;\n responseId?: string;\n isResponse?: boolean;\n invitationId?: string;\n }) => {\n return isResponse\n ? `/questionnaireresponses/questionnaire/${questionnaireId}/${\n responseId\n ? \"response/\" + responseId\n : `invitation/${invitationId ?? \"\"}`\n }`\n : `/questionnaire/${questionnaireId}`;\n },\n // ******************* Group *******************\n GROUP: (id: string) => `/groups/${id}`,\n\n // ******************* Suppliers *******************\n MY_SUPPLIERS: \"/mysuppliers\",\n /**\n * Use this route to get supplier specific sub routes\n * @param id supplier id\n * @returns supplier sub route\n * @example ROUTES.SUPPLIER(supplierId).products\n */\n SUPPLIER: (id: string) => {\n return {\n /**\n Root url for supplier. Automatically redirects to info page\n */\n root: `${ROUTES.MY_SUPPLIERS}/${id}`,\n /**\n Info page where you can edit supplier meta data\n */\n info: `${ROUTES.MY_SUPPLIERS}/${id}/info`,\n /**\n Supplier contracts page. Add a second parameter when using useHistory hook to redirect to specific contract.\n @example history.push(ROUTES.SUPPLIER(supplierId).contracts,{ contractId: contractId }) \n */\n contracts: `${ROUTES.MY_SUPPLIERS}/${id}/contracts`,\n /**\n Supplier's passport invitations and responses\n */\n passports: `${ROUTES.MY_SUPPLIERS}/${id}/passports`,\n /**\n Supplier's RFx invitations and responses\n */\n procurement: `${ROUTES.MY_SUPPLIERS}/${id}/procurement`,\n /**\n Supplier's attachments are listed on this page\n */\n attachments: `${ROUTES.MY_SUPPLIERS}/${id}/attachments`,\n /**\n Supplier's products are listed on this page\n */\n products: `${ROUTES.MY_SUPPLIERS}/${id}/products`,\n /**\n Supplier's new product page\n */\n newProduct: `${ROUTES.MY_SUPPLIERS}/${id}/products/new`,\n /**\n Product details page\n */\n product: (productId: string) =>\n `${ROUTES.MY_SUPPLIERS}/${id}/products/${productId}`,\n };\n },\n DATA_MANAGEMENT: {\n root: \"/data_management\",\n lookupTables: (id?: string) =>\n `/data_management/lookup_tables${id ? `/${id}` : \"\"}`,\n matrices: (id?: string) => `/data_management/matrices${id ? `/${id}` : \"\"}`,\n my_data: (id?: string) => `/data_management/my_data${id ? `/${id}` : \"\"}`,\n },\n\n // ******************* Company *******************\n COMPANY_EDIT_INFO: \"/company/edit/info\",\n COMPANY_EDIT_ABOUT: \"/company/edit/about\",\n COMPANY_EDIT_SECTORS: \"company/edit/sectors\",\n};\n","export enum StatusIndicatorModelType {\n RFP = \"RFP\",\n RFPInvitation = \"RFPInvitation\",\n RFPResponse = \"RFPResponse\",\n RFPResponseEvaluation = \"RFPResponseEvaluation\",\n RFPResponseAnalysis = \"RFPResponseAnalysis\",\n RFPResponseSuccess = \"RFPResponseSuccess\",\n Passport = \"Passport\",\n PassportInvitation = \"PassportInvitation\",\n ESRS = \"ESRS\",\n}\n","import { AllowedExtensions, AllowedMimes, AssetType } from \"../constants\";\n\nexport type AssetDto = {\n id: string;\n blobId: string | null;\n companyId: string;\n userId?: string;\n folderId?: string | null;\n name: string;\n expirationDate?: Date | null;\n createdAt: Date;\n updatedAt: Date;\n extension: AllowedExtensions;\n mimeType: AllowedMimes;\n size: number;\n isHidden: boolean;\n choiceId?: string;\n type: AssetType;\n};\n\nexport enum LabelColor {\n Yellow = \"#FCB831\", // if used like this the underlying compiled object has both keys (Yellow and #FCB831)...\n Orange = \"#FF5D45\",\n Red = \"#D54857\",\n Lilac = \"#A85B98\",\n Cyan = \"#92D3D7\",\n Blue = \"#2D9CDB\",\n Green = \"#63C26E\",\n Gray = \"#6C757D\", // GRAY5\n}\n\nexport type MappedInsertedAsset = { id: string; url: string };\n","export * from \"./answer.dto\";\nexport * from \"./asset.dto\";\nexport * from \"./comment.dto\";\nexport * from \"./company.dto\";\nexport * from \"./user.dto\";\nexport * from \"./choice.dto\";\nexport * from \"./question.dto\";\n","import { QuestionType } from \"../constants/question\";\nimport { Direction } from \"../types\";\nimport { AssetDto, MappedInsertedAsset } from \"./asset.dto\";\nimport { ChoiceDto } from \"./choice.dto\";\n\nexport type QuestionDto = {\n id: string;\n companyId: string;\n userId: string;\n content: string;\n createdAt: Date;\n updatedAt: Date;\n isVerified?: boolean;\n order: number;\n weight: number;\n questionnaireId: string;\n type: QuestionType;\n options: Object;\n isMandatory: boolean;\n isKillerQuestion: boolean;\n isIfQuestion: boolean;\n isAttachmentAllowed: boolean;\n isAttachmentMandatory: boolean;\n isDateAllowed: boolean;\n isDateMandatory: boolean;\n attachments?: AssetDto[];\n insertedMedia?: MappedInsertedAsset[];\n isExpirationMandatory: boolean;\n isAutoScored?: boolean;\n autoScoringDirection?: Direction;\n choices: ChoiceDto[];\n nextQuestionId: string | null;\n note?: string;\n matrixId?: string;\n};\n\nexport type QuestionImportExportDto = {\n content: string;\n type: QuestionType;\n weight?: number;\n isMandatory?: boolean;\n isAttachmentAllowed?: boolean;\n isAttachmentMandatory?: boolean;\n isDateAllowed?: boolean;\n isDateMandatory?: boolean;\n isExpirationMandatory?: boolean;\n isKillerQuestion?: boolean;\n choices?: string; // JSON stringified array of ChoiceDto\n note?: string;\n};\n\nexport enum QuestionImportExportColumnName {\n content = \"Question\",\n type = \"Type\",\n weight = \"Weight\",\n isMandatory = \"Mandatory\",\n isAttachmentAllowed = \"Attachment Allowed\",\n isAttachmentMandatory = \"Attachment Mandatory\",\n isDateAllowed = \"Date Allowed\",\n isDateMandatory = \"Date Mandatory\",\n isExpirationMandatory = \"Expiration Mandatory\",\n isKillerQuestion = \"Killer Question\",\n choices = \"Choices\",\n note = \"Comment\",\n}\n","export * from \"./constants/auditActionTypes\";\nexport * from \"./constants/procurementTypes\";\nexport * from \"./constants/procurementStatuses\";\nexport { ROUTES } from \"./constants/routes\";\nexport * from \"./types\";\nexport * from \"./constants/attributeTypes\";\nexport * from \"./constants/featureFlagEnum\";\nexport * from \"./constants/asset\";\nexport * from \"./constants/question\";\nexport * from \"./dtos\";\nexport * from \"./colors/colors\";\nexport * from \"./constants/report\";\nexport * from \"./types/pageSettings\";\nexport * from \"./constants/dashboardType\";\nexport * from \"./constants/statusIndicator\";\nexport * from \"./constants/regulationModuleTypes\";\nexport * from \"./constants/rfpUrls\";\n","export enum Direction {\n ASC = \"ASC\",\n DESC = \"DESC\",\n}\n\nexport enum TokenType {\n Refresh = \"Refresh\",\n PasswordReset = \"PasswordReset\",\n EmailVerify = \"EmailVerify\",\n Login = \"Login\",\n}\n\nexport enum CommentStatus {\n Pending = \"Pending\",\n Sent = \"Sent\",\n}\n\nexport enum CSRDDocumentStatus {\n NotRelevant = \"Not Relevant\",\n NotStarted = \"Not Started\",\n Draft = \"Draft\",\n InReview = \"InReview\",\n Completed = \"Completed\",\n}\n\nexport enum RfpResponseStatus {\n Draft = \"Draft\",\n InReview = \"InReview\",\n Submitted = \"Submitted\",\n}\n\nexport enum DynamicRfpResponseStatus {\n /** Applies to unanswered invitations */\n New = \"New\",\n Draft = \"Draft\",\n /** Read from invitation status */\n Declined = \"Declined\",\n InReview = \"InReview\",\n Submitted = \"Submitted\",\n /** After due date and it's not submitted nor declined */\n NotResponded = \"NotResponded\",\n}\n\nexport enum PassportStatus {\n None = \"None\",\n Draft = \"Draft\",\n InReview = \"InReview\",\n Submitted = \"Submitted\",\n Completed = \"Completed\",\n CloseToExpire = \"CloseToExpire\",\n Expired = \"Expired\",\n}\n\n// Union of DynamicRfpResponseStatus and PassportStatus\nexport enum RfpResponseDtoStatus {\n New = \"New\",\n Draft = \"Draft\",\n Declined = \"Declined\",\n InReview = \"InReview\",\n Submitted = \"Submitted\",\n NotResponded = \"NotResponded\",\n None = \"None\",\n Completed = \"Completed\",\n CloseToExpire = \"CloseToExpire\",\n Expired = \"Expired\",\n}\n\nexport enum EvaluationType {\n QuestionnaireAndQuestion = \"QuestionnaireAndQuestion\",\n Question = \"Question\",\n Questionnaire = \"Questionnaire\",\n}\n\nexport enum RfpResponseEvaluationStatus {\n ReadyForEvaluation = \"ReadyForEvaluation\",\n InEvaluation = \"InEvaluation\",\n Evaluated = \"Evaluated\",\n}\n\nexport enum RfpResponseAnalysisStatus {\n ReadyForAnalysis = \"ReadyForAnalysis\",\n InAnalysis = \"InAnalysis\",\n Analysed = \"Analysed\",\n}\n\nexport enum NotificationType {\n InvitedForRFP = \"InvitedForRFP\",\n InvitedForDDQ = \"InvitedForDDQ\",\n InvitedForRFI = \"InvitedForRFI\",\n InvitedForQTP = \"InvitedForQTP\",\n /** todo - is this needed? */\n InvitedForPassport = \"InvitedForPassport\",\n RFPResponseReceived = \"RFPResponseReceived\",\n DDQResponseReceived = \"DDQResponseReceived\",\n RFIResponseReceived = \"RFIResponseReceived\",\n QTPResponseReceived = \"QTPResponseReceived\",\n GroupInvitationReceived = \"GroupInvitationReceived\",\n GroupJoinRequestReceived = \"GroupJoinRequestReceived\",\n GroupInvitationApproved = \"GroupInvitationApproved\",\n GroupDeleted = \"GroupDeleted\",\n PostApproveRequestReceived = \"PostApproveRequestReceived\",\n PostApproved = \"PostApproved\",\n DocumentMessageReceived = \"DocumentMessageReceived\",\n DocumentReplyReceived = \"DocumentReplyReceived\",\n /** https://dev.azure.com/PulseMarketplace/pulse-marketplace/_workitems/edit/5802 - map to a passport's id */\n OwnPassportReportReady = \"OwnPassportReportReady\",\n /** TBD - not on wireframes */\n // PassportResponseSent = \"PassportResponseSent\",\n /** map to a passport's id */\n RenewPassport = \"RenewPassport\",\n /** map to passport's id */\n InvitedContactPassportReportReady = \"InvitedContactPassportReportReady\",\n ProcurementFeedbackReceived = \"ProcurementFeedbackReceived\",\n}\n\nexport enum RfxComparisonDataRowType {\n Total = \"Total\",\n Module = \"Module\",\n Questionnaire = \"Questionnaire\",\n Question = \"Question\",\n}\n\nexport enum RegulationCompanyAccessType {\n AllowAll = \"AllowAll\",\n AllowSelected = \"AllowSelected\",\n DisableSelected = \"DisableSelected\",\n DisableAll = \"DisableAll\",\n}\n","export * from \"./enums\";\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function asyncGeneratorStep(n, t, e, r, o, a, c) {\n try {\n var i = n[a](c),\n u = i.value;\n } catch (n) {\n return void e(n);\n }\n i.done ? t(u) : Promise.resolve(u).then(r, o);\n}\nfunction _asyncToGenerator(n) {\n return function () {\n var t = this,\n e = arguments;\n return new Promise(function (r, o) {\n var a = n.apply(t, e);\n function _next(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n);\n }\n function _throw(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n);\n }\n _next(void 0);\n });\n };\n}\nexport { _asyncToGenerator as default };","function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * filesize\n *\n * @copyright 2023 Jason Mulligan <jason.mulligan@avoidwork.com>\n * @license BSD-3-Clause\n * @version 10.0.7\n */\nconst ARRAY = \"array\";\r\nconst BIT = \"bit\";\r\nconst BITS = \"bits\";\r\nconst BYTE = \"byte\";\r\nconst BYTES = \"bytes\";\r\nconst EMPTY = \"\";\r\nconst EXPONENT = \"exponent\";\r\nconst FUNCTION = \"function\";\r\nconst IEC = \"iec\";\r\nconst INVALID_NUMBER = \"Invalid number\";\r\nconst INVALID_ROUND = \"Invalid rounding method\";\r\nconst JEDEC = \"jedec\";\r\nconst OBJECT = \"object\";\r\nconst PERIOD = \".\";\r\nconst ROUND = \"round\";\r\nconst S = \"s\";\r\nconst SI_KBIT = \"kbit\";\r\nconst SI_KBYTE = \"kB\";\r\nconst SPACE = \" \";\r\nconst STRING = \"string\";\r\nconst ZERO = \"0\";\r\nconst STRINGS = {\r\n\tsymbol: {\r\n\t\tiec: {\r\n\t\t\tbits: [\"bit\", \"Kibit\", \"Mibit\", \"Gibit\", \"Tibit\", \"Pibit\", \"Eibit\", \"Zibit\", \"Yibit\"],\r\n\t\t\tbytes: [\"B\", \"KiB\", \"MiB\", \"GiB\", \"TiB\", \"PiB\", \"EiB\", \"ZiB\", \"YiB\"]\r\n\t\t},\r\n\t\tjedec: {\r\n\t\t\tbits: [\"bit\", \"Kbit\", \"Mbit\", \"Gbit\", \"Tbit\", \"Pbit\", \"Ebit\", \"Zbit\", \"Ybit\"],\r\n\t\t\tbytes: [\"B\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"]\r\n\t\t}\r\n\t},\r\n\tfullform: {\r\n\t\tiec: [\"\", \"kibi\", \"mebi\", \"gibi\", \"tebi\", \"pebi\", \"exbi\", \"zebi\", \"yobi\"],\r\n\t\tjedec: [\"\", \"kilo\", \"mega\", \"giga\", \"tera\", \"peta\", \"exa\", \"zetta\", \"yotta\"]\r\n\t}\r\n};function filesize (arg, {\r\n\tbits = false,\r\n\tpad = false,\r\n\tbase = -1,\r\n\tround = 2,\r\n\tlocale = EMPTY,\r\n\tlocaleOptions = {},\r\n\tseparator = EMPTY,\r\n\tspacer = SPACE,\r\n\tsymbols = {},\r\n\tstandard = EMPTY,\r\n\toutput = STRING,\r\n\tfullform = false,\r\n\tfullforms = [],\r\n\texponent = -1,\r\n\troundingMethod = ROUND,\r\n\tprecision = 0\r\n} = {}) {\r\n\tlet e = exponent,\r\n\t\tnum = Number(arg),\r\n\t\tresult = [],\r\n\t\tval = 0,\r\n\t\tu = EMPTY;\r\n\r\n\t// Sync base & standard\r\n\tif (base === -1 && standard.length === 0) {\r\n\t\tbase = 10;\r\n\t\tstandard = JEDEC;\r\n\t} else if (base === -1 && standard.length > 0) {\r\n\t\tstandard = standard === IEC ? IEC : JEDEC;\r\n\t\tbase = standard === IEC ? 2 : 10;\r\n\t} else {\r\n\t\tbase = base === 2 ? 2 : 10;\r\n\t\tstandard = base === 10 ? JEDEC : standard === JEDEC ? JEDEC : IEC;\r\n\t}\r\n\r\n\tconst ceil = base === 10 ? 1000 : 1024,\r\n\t\tfull = fullform === true,\r\n\t\tneg = num < 0,\r\n\t\troundingFunc = Math[roundingMethod];\r\n\r\n\tif (typeof arg !== \"bigint\" && isNaN(arg)) {\r\n\t\tthrow new TypeError(INVALID_NUMBER);\r\n\t}\r\n\r\n\tif (typeof roundingFunc !== FUNCTION) {\r\n\t\tthrow new TypeError(INVALID_ROUND);\r\n\t}\r\n\r\n\t// Flipping a negative number to determine the size\r\n\tif (neg) {\r\n\t\tnum = -num;\r\n\t}\r\n\r\n\t// Determining the exponent\r\n\tif (e === -1 || isNaN(e)) {\r\n\t\te = Math.floor(Math.log(num) / Math.log(ceil));\r\n\r\n\t\tif (e < 0) {\r\n\t\t\te = 0;\r\n\t\t}\r\n\t}\r\n\r\n\t// Exceeding supported length, time to reduce & multiply\r\n\tif (e > 8) {\r\n\t\tif (precision > 0) {\r\n\t\t\tprecision += 8 - e;\r\n\t\t}\r\n\r\n\t\te = 8;\r\n\t}\r\n\r\n\tif (output === EXPONENT) {\r\n\t\treturn e;\r\n\t}\r\n\r\n\t// Zero is now a special case because bytes divide by 1\r\n\tif (num === 0) {\r\n\t\tresult[0] = 0;\r\n\t\tu = result[1] = STRINGS.symbol[standard][bits ? BITS : BYTES][e];\r\n\t} else {\r\n\t\tval = num / (base === 2 ? Math.pow(2, e * 10) : Math.pow(1000, e));\r\n\r\n\t\tif (bits) {\r\n\t\t\tval = val * 8;\r\n\r\n\t\t\tif (val >= ceil && e < 8) {\r\n\t\t\t\tval = val / ceil;\r\n\t\t\t\te++;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst p = Math.pow(10, e > 0 ? round : 0);\r\n\t\tresult[0] = roundingFunc(val * p) / p;\r\n\r\n\t\tif (result[0] === ceil && e < 8 && exponent === -1) {\r\n\t\t\tresult[0] = 1;\r\n\t\t\te++;\r\n\t\t}\r\n\r\n\t\tu = result[1] = base === 10 && e === 1 ? bits ? SI_KBIT : SI_KBYTE : STRINGS.symbol[standard][bits ? BITS : BYTES][e];\r\n\t}\r\n\r\n\t// Decorating a 'diff'\r\n\tif (neg) {\r\n\t\tresult[0] = -result[0];\r\n\t}\r\n\r\n\t// Setting optional precision\r\n\tif (precision > 0) {\r\n\t\tresult[0] = result[0].toPrecision(precision);\r\n\t}\r\n\r\n\t// Applying custom symbol\r\n\tresult[1] = symbols[result[1]] || result[1];\r\n\r\n\tif (locale === true) {\r\n\t\tresult[0] = result[0].toLocaleString();\r\n\t} else if (locale.length > 0) {\r\n\t\tresult[0] = result[0].toLocaleString(locale, localeOptions);\r\n\t} else if (separator.length > 0) {\r\n\t\tresult[0] = result[0].toString().replace(PERIOD, separator);\r\n\t}\r\n\r\n\tif (pad && Number.isInteger(result[0]) === false && round > 0) {\r\n\t\tconst x = separator || PERIOD,\r\n\t\t\ttmp = result[0].toString().split(x),\r\n\t\t\ts = tmp[1] || EMPTY,\r\n\t\t\tl = s.length,\r\n\t\t\tn = round - l;\r\n\r\n\t\tresult[0] = `${tmp[0]}${x}${s.padEnd(l + n, ZERO)}`;\r\n\t}\r\n\r\n\tif (full) {\r\n\t\tresult[1] = fullforms[e] ? fullforms[e] : STRINGS.fullform[standard][e] + (bits ? BIT : BYTE) + (result[0] === 1 ? EMPTY : S);\r\n\t}\r\n\r\n\t// Returning Array, Object, or String (default)\r\n\treturn output === ARRAY ? result : output === OBJECT ? {\r\n\t\tvalue: result[0],\r\n\t\tsymbol: result[1],\r\n\t\texponent: e,\r\n\t\tunit: u\r\n\t} : result.join(spacer);\r\n}\r\n\r\n// Partial application for functional programming\r\nfunction partial ({\r\n\tbits = false,\r\n\tpad = false,\r\n\tbase = -1,\r\n\tround = 2,\r\n\tlocale = EMPTY,\r\n\tlocaleOptions = {},\r\n\tseparator = EMPTY,\r\n\tspacer = SPACE,\r\n\tsymbols = {},\r\n\tstandard = EMPTY,\r\n\toutput = STRING,\r\n\tfullform = false,\r\n\tfullforms = [],\r\n\texponent = -1,\r\n\troundingMethod = ROUND,\r\n\tprecision = 0\r\n} = {}) {\r\n\treturn arg => filesize(arg, {\r\n\t\tbits,\r\n\t\tpad,\r\n\t\tbase,\r\n\t\tround,\r\n\t\tlocale,\r\n\t\tlocaleOptions,\r\n\t\tseparator,\r\n\t\tspacer,\r\n\t\tsymbols,\r\n\t\tstandard,\r\n\t\toutput,\r\n\t\tfullform,\r\n\t\tfullforms,\r\n\t\texponent,\r\n\t\troundingMethod,\r\n\t\tprecision\r\n\t});\r\n}export{filesize,partial};","var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n if (isProduction) {\n throw new Error(prefix);\n }\n var provided = typeof message === 'function' ? message() : message;\n var value = provided ? \"\".concat(prefix, \": \").concat(provided) : prefix;\n throw new Error(value);\n}\n\nexport { invariant as default };\n","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"150\":\"4d205585\",\"215\":\"1e1de845\",\"272\":\"6f984e88\",\"488\":\"af18ff52\",\"747\":\"a3b1e3a7\",\"909\":\"c3db781c\",\"1128\":\"cdcf1e28\",\"1231\":\"b54753a5\",\"1654\":\"4842489d\",\"1822\":\"ea1bc1f9\",\"1833\":\"5e6db804\",\"1840\":\"12df4fc9\",\"1905\":\"be9dcd54\",\"1946\":\"1ec474ed\",\"1963\":\"b02f621b\",\"2615\":\"31ceea3c\",\"2856\":\"77c17426\",\"2945\":\"00c335ef\",\"2968\":\"d1b3c3bb\",\"3075\":\"a1784ddd\",\"3246\":\"95e09b83\",\"3265\":\"b4e5d0fa\",\"3427\":\"f3b64497\",\"3530\":\"5407f105\",\"3562\":\"254f77eb\",\"3838\":\"f4029d29\",\"4183\":\"8a5c9366\",\"4201\":\"e8300a4c\",\"4326\":\"62596042\",\"4810\":\"df4deeaf\",\"4998\":\"3f7e5c7d\",\"5015\":\"de8f679d\",\"5043\":\"2bcedab1\",\"5078\":\"f0d0909e\",\"5104\":\"8b54c794\",\"5309\":\"5d4baf61\",\"5313\":\"3148980d\",\"5581\":\"c0035e58\",\"5622\":\"9be29231\",\"5723\":\"27e0332f\",\"5838\":\"e041f510\",\"6598\":\"34de051a\",\"6626\":\"af764d1c\",\"6788\":\"4b1bd955\",\"6858\":\"b84fc102\",\"7199\":\"636a47ef\",\"7228\":\"d8950527\",\"8081\":\"b4942391\",\"8509\":\"2966dd26\",\"8670\":\"be590e90\",\"9202\":\"7870d3a8\",\"9557\":\"fa1ec98e\",\"9960\":\"3c9a5350\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + {\"1231\":\"f12c2bc9\",\"5104\":\"74f0b0c8\"}[chunkId] + \".chunk.css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"@pulsemarket/ui:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"1231\":1,\"5104\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_pulsemarket_ui\"] = self[\"webpackChunk_pulsemarket_ui\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","export const SDK_VERSION = '7.29.0';\n","import { Event, EventProcessor, Hub, Integration, StackFrame } from '@sentry/types';\nimport { getEventDescription, logger, stringMatchesSomePattern } from '@sentry/utils';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n\n/** Options for the InboundFilters integration */\nexport interface InboundFiltersOptions {\n allowUrls: Array<string | RegExp>;\n denyUrls: Array<string | RegExp>;\n ignoreErrors: Array<string | RegExp>;\n ignoreInternal: boolean;\n}\n\n/** Inbound filters configurable by the user */\nexport class InboundFilters implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'InboundFilters';\n\n /**\n * @inheritDoc\n */\n public name: string = InboundFilters.id;\n\n public constructor(private readonly _options: Partial<InboundFiltersOptions> = {}) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (processor: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const eventProcess: EventProcessor = (event: Event) => {\n const hub = getCurrentHub();\n if (hub) {\n const self = hub.getIntegration(InboundFilters);\n if (self) {\n const client = hub.getClient();\n const clientOptions = client ? client.getOptions() : {};\n const options = _mergeOptions(self._options, clientOptions);\n return _shouldDropEvent(event, options) ? null : event;\n }\n }\n return event;\n };\n\n eventProcess.id = this.name;\n addGlobalEventProcessor(eventProcess);\n }\n}\n\n/** JSDoc */\nexport function _mergeOptions(\n internalOptions: Partial<InboundFiltersOptions> = {},\n clientOptions: Partial<InboundFiltersOptions> = {},\n): Partial<InboundFiltersOptions> {\n return {\n allowUrls: [...(internalOptions.allowUrls || []), ...(clientOptions.allowUrls || [])],\n denyUrls: [...(internalOptions.denyUrls || []), ...(clientOptions.denyUrls || [])],\n ignoreErrors: [\n ...(internalOptions.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...DEFAULT_IGNORE_ERRORS,\n ],\n ignoreInternal: internalOptions.ignoreInternal !== undefined ? internalOptions.ignoreInternal : true,\n };\n}\n\n/** JSDoc */\nexport function _shouldDropEvent(event: Event, options: Partial<InboundFiltersOptions>): boolean {\n if (options.ignoreInternal && _isSentryError(event)) {\n __DEBUG_BUILD__ &&\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n return true;\n }\n if (_isIgnoredError(event, options.ignoreErrors)) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n return true;\n }\n if (_isDeniedUrl(event, options.denyUrls)) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n if (!_isAllowedUrl(event, options.allowUrls)) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${_getEventFilterUrl(event)}`,\n );\n return true;\n }\n return false;\n}\n\nfunction _isIgnoredError(event: Event, ignoreErrors?: Array<string | RegExp>): boolean {\n if (!ignoreErrors || !ignoreErrors.length) {\n return false;\n }\n\n return _getPossibleEventMessages(event).some(message => stringMatchesSomePattern(message, ignoreErrors));\n}\n\nfunction _isDeniedUrl(event: Event, denyUrls?: Array<string | RegExp>): boolean {\n // TODO: Use Glob instead?\n if (!denyUrls || !denyUrls.length) {\n return false;\n }\n const url = _getEventFilterUrl(event);\n return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\n\nfunction _isAllowedUrl(event: Event, allowUrls?: Array<string | RegExp>): boolean {\n // TODO: Use Glob instead?\n if (!allowUrls || !allowUrls.length) {\n return true;\n }\n const url = _getEventFilterUrl(event);\n return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\n\nfunction _getPossibleEventMessages(event: Event): string[] {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n const { type = '', value = '' } = (event.exception.values && event.exception.values[0]) || {};\n return [`${value}`, `${type}: ${value}`];\n } catch (oO) {\n __DEBUG_BUILD__ && logger.error(`Cannot extract message for event ${getEventDescription(event)}`);\n return [];\n }\n }\n return [];\n}\n\nfunction _isSentryError(event: Event): boolean {\n try {\n // @ts-ignore can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n return false;\n}\n\nfunction _getLastValidUrl(frames: StackFrame[] = []): string | null {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '<anonymous>' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n}\n\nfunction _getEventFilterUrl(event: Event): string | null {\n try {\n let frames;\n try {\n // @ts-ignore we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? _getLastValidUrl(frames) : null;\n } catch (oO) {\n __DEBUG_BUILD__ && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n return null;\n }\n}\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { getOriginalFunction } from '@sentry/utils';\n\nlet originalFunctionToString: () => void;\n\n/** Patch toString calls to return proper name for wrapped functions */\nexport class FunctionToString implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'FunctionToString';\n\n /**\n * @inheritDoc\n */\n public name: string = FunctionToString.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function (this: WrappedFunction, ...args: any[]): string {\n const context = getOriginalFunction(this) || this;\n return originalFunctionToString.apply(context, args);\n };\n }\n}\n","import { Integration, Options } from '@sentry/types';\nimport { arrayify, logger } from '@sentry/utils';\n\nimport { getCurrentHub } from './hub';\nimport { addGlobalEventProcessor } from './scope';\n\ndeclare module '@sentry/types' {\n interface Integration {\n isDefaultInstance?: boolean;\n }\n}\n\nexport const installedIntegrations: string[] = [];\n\n/** Map of integrations assigned to a client */\nexport type IntegrationIndex = {\n [key: string]: Integration;\n};\n\n/**\n * Remove duplicates from the given array, preferring the last instance of any duplicate. Not guaranteed to\n * preseve the order of integrations in the array.\n *\n * @private\n */\nfunction filterDuplicates(integrations: Integration[]): Integration[] {\n const integrationsByName: { [key: string]: Integration } = {};\n\n integrations.forEach(currentInstance => {\n const { name } = currentInstance;\n\n const existingInstance = integrationsByName[name];\n\n // We want integrations later in the array to overwrite earlier ones of the same type, except that we never want a\n // default instance to overwrite an existing user instance\n if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n return;\n }\n\n integrationsByName[name] = currentInstance;\n });\n\n return Object.values(integrationsByName);\n}\n\n/** Gets integrations to install */\nexport function getIntegrationsToSetup(options: Options): Integration[] {\n const defaultIntegrations = options.defaultIntegrations || [];\n const userIntegrations = options.integrations;\n\n // We flag default instances, so that later we can tell them apart from any user-created instances of the same class\n defaultIntegrations.forEach(integration => {\n integration.isDefaultInstance = true;\n });\n\n let integrations: Integration[];\n\n if (Array.isArray(userIntegrations)) {\n integrations = [...defaultIntegrations, ...userIntegrations];\n } else if (typeof userIntegrations === 'function') {\n integrations = arrayify(userIntegrations(defaultIntegrations));\n } else {\n integrations = defaultIntegrations;\n }\n\n const finalIntegrations = filterDuplicates(integrations);\n\n // The `Debug` integration prints copies of the `event` and `hint` which will be passed to `beforeSend` or\n // `beforeSendTransaction`. It therefore has to run after all other integrations, so that the changes of all event\n // processors will be reflected in the printed values. For lack of a more elegant way to guarantee that, we therefore\n // locate it and, assuming it exists, pop it out of its current spot and shove it onto the end of the array.\n const debugIndex = finalIntegrations.findIndex(integration => integration.name === 'Debug');\n if (debugIndex !== -1) {\n const [debugInstance] = finalIntegrations.splice(debugIndex, 1);\n finalIntegrations.push(debugInstance);\n }\n\n return finalIntegrations;\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(integrations: Integration[]): IntegrationIndex {\n const integrationIndex: IntegrationIndex = {};\n\n integrations.forEach(integration => {\n integrationIndex[integration.name] = integration;\n\n if (installedIntegrations.indexOf(integration.name) === -1) {\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n __DEBUG_BUILD__ && logger.log(`Integration installed: ${integration.name}`);\n }\n });\n\n return integrationIndex;\n}\n","import { StackFrame, StackLineParser, StackLineParserFn, StackParser } from '@sentry/types';\n\nconst STACKTRACE_LIMIT = 50;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\nexport function createStackParser(...parsers: StackLineParser[]): StackParser {\n const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map(p => p[1]);\n\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n\n for (const line of stack.split('\\n').slice(skipFirst)) {\n // https://github.com/getsentry/sentry-javascript/issues/5459\n // Remove webpack (error: *) wrappers\n const cleanedLine = line.replace(/\\(error: (.*)\\)/, '$1');\n\n for (const parser of sortedParsers) {\n const frame = parser(cleanedLine);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * Gets a stack parser implementation from Options.stackParser\n * @see Options\n *\n * If options contains an array of line parsers, it is converted into a parser\n */\nexport function stackParserFromStackParserOptions(stackParser: StackParser | StackLineParser[]): StackParser {\n if (Array.isArray(stackParser)) {\n return createStackParser(...stackParser);\n }\n return stackParser;\n}\n\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n let localStack = stack;\n\n const firstFrameFunction = localStack[0].function || '';\n const lastFrameFunction = localStack[localStack.length - 1].function || '';\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack\n .slice(0, STACKTRACE_LIMIT)\n .map(frame => ({\n ...frame,\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?',\n }))\n .reverse();\n}\n\nconst defaultFunctionName = '<anonymous>';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n\ntype GetModuleFn = (filename: string | undefined) => string | undefined;\n\n// eslint-disable-next-line complexity\nfunction node(getModule?: GetModuleFn): StackLineParserFn {\n const FILENAME_MATCH = /^\\s*[-]{4,}$/;\n const FULL_MATCH = /at (?:async )?(?:(.+?)\\s+\\()?(?:(.+):(\\d+):(\\d+)?|([^)]+))\\)?/;\n\n // eslint-disable-next-line complexity\n return (line: string) => {\n if (line.match(FILENAME_MATCH)) {\n return {\n filename: line,\n };\n }\n\n const lineMatch = line.match(FULL_MATCH);\n if (!lineMatch) {\n return undefined;\n }\n\n let object: string | undefined;\n let method: string | undefined;\n let functionName: string | undefined;\n let typeName: string | undefined;\n let methodName: string | undefined;\n\n if (lineMatch[1]) {\n functionName = lineMatch[1];\n\n let methodStart = functionName.lastIndexOf('.');\n if (functionName[methodStart - 1] === '.') {\n methodStart--;\n }\n\n if (methodStart > 0) {\n object = functionName.substr(0, methodStart);\n method = functionName.substr(methodStart + 1);\n const objectEnd = object.indexOf('.Module');\n if (objectEnd > 0) {\n functionName = functionName.substr(objectEnd + 1);\n object = object.substr(0, objectEnd);\n }\n }\n typeName = undefined;\n }\n\n if (method) {\n typeName = object;\n methodName = method;\n }\n\n if (method === '<anonymous>') {\n methodName = undefined;\n functionName = undefined;\n }\n\n if (functionName === undefined) {\n methodName = methodName || '<anonymous>';\n functionName = typeName ? `${typeName}.${methodName}` : methodName;\n }\n\n const filename = lineMatch[2]?.startsWith('file://') ? lineMatch[2].substr(7) : lineMatch[2];\n const isNative = lineMatch[5] === 'native';\n const isInternal =\n isNative || (filename && !filename.startsWith('/') && !filename.startsWith('.') && filename.indexOf(':\\\\') !== 1);\n\n // in_app is all that's not an internal Node function or a module within node_modules\n // note that isNative appears to return true even for node core libraries\n // see https://github.com/getsentry/raven-node/issues/176\n const in_app = !isInternal && filename !== undefined && !filename.includes('node_modules/');\n\n return {\n filename,\n module: getModule?.(filename),\n function: functionName,\n lineno: parseInt(lineMatch[3], 10) || undefined,\n colno: parseInt(lineMatch[4], 10) || undefined,\n in_app,\n };\n };\n}\n\n/**\n * Node.js stack line parser\n *\n * This is in @sentry/utils so it can be used from the Electron SDK in the browser for when `nodeIntegration == true`.\n * This allows it to be used without referencing or importing any node specific code which causes bundlers to complain\n */\nexport function nodeStackLineParser(getModule?: GetModuleFn): StackLineParser {\n return [90, node(getModule)];\n}\n","import { logger } from './logger';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in WINDOW)) {\n return false;\n }\n\n try {\n new Headers();\n new Request('http://www.example.com');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(WINDOW.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = WINDOW.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === 'function') {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n __DEBUG_BUILD__ &&\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in WINDOW;\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (WINDOW as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in WINDOW && !!WINDOW.history.pushState && !!WINDOW.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { isInstanceOf, isString } from './is';\nimport { CONSOLE_LEVELS, logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\nexport type InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\nexport type InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n __DEBUG_BUILD__ && logger.warn('unknown instrumentation type:', type);\n return;\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n __DEBUG_BUILD__ &&\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(handler)}\\nError:`,\n e,\n );\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in WINDOW)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level: string): void {\n if (!(level in WINDOW.console)) {\n return;\n }\n\n fill(WINDOW.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(WINDOW.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(WINDOW, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const handlerData = {\n args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(WINDOW, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\ntype XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;\n\n/** JSDoc */\ninterface SentryWrappedXMLHttpRequest extends XMLHttpRequest {\n [key: string]: any;\n __sentry_xhr__?: {\n method?: string;\n url?: string;\n status_code?: number;\n body?: XHRSendInput;\n };\n}\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs: any[] = []): string {\n if ('Request' in WINDOW && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs: any[] = []): string {\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in WINDOW && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in WINDOW)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const url = args[1];\n const xhrInfo: SentryWrappedXMLHttpRequest['__sentry_xhr__'] = (xhr.__sentry_xhr__ = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n xhr.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = function (): void {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhr.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args,\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr,\n });\n }\n };\n\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n } else {\n xhr.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n return originalOpen.apply(xhr, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n if (this.__sentry_xhr__ && args[0] !== undefined) {\n this.__sentry_xhr__.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = WINDOW.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in WINDOW)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (WINDOW as any)[target] && (WINDOW as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: OnErrorEventHandler = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = WINDOW.onerror;\n\n WINDOW.onerror = function (msg: any, url: any, line: any, column: any, error: any): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n}\n\nlet _oldOnUnhandledRejectionHandler: ((e: any) => void) | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = WINDOW.onunhandledrejection;\n\n WINDOW.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n}\n","import type { ConsoleLevel } from './logger';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public logLevel: ConsoleLevel;\n\n public constructor(public message: string, logLevel: ConsoleLevel = 'warn') {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n // This sets the prototype to be `Error`, not `SentryError`. It's unclear why we do this, but commenting this line\n // out causes various (seemingly totally unrelated) playwright tests consistently time out. FYI, this makes\n // instances of `SentryError` fail `obj instanceof SentryError` checks.\n Object.setPrototypeOf(this, new.target.prototype);\n this.logLevel = logLevel;\n }\n}\n","import { DsnComponents, DsnLike, DsnProtocol } from '@sentry/types';\n\nimport { SentryError } from './error';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol?: string): protocol is DsnProtocol {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nexport function dsnToString(dsn: DsnComponents, withPassword: boolean = false): string {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\n/**\n * Parses a Dsn from a given string.\n *\n * @param str A Dsn as string\n * @returns Dsn as DsnComponents\n */\nexport function dsnFromString(str: string): DsnComponents {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n throw new SentryError(`Invalid Sentry Dsn: ${str}`);\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() as string;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol as DsnProtocol, publicKey });\n}\n\nfunction dsnFromComponents(components: DsnComponents): DsnComponents {\n return {\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn: DsnComponents): boolean | void {\n if (!__DEBUG_BUILD__) {\n return;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents: ReadonlyArray<keyof DsnComponents> = ['protocol', 'publicKey', 'host', 'projectId'];\n requiredComponents.forEach(component => {\n if (!dsn[component]) {\n throw new SentryError(`Invalid Sentry Dsn: ${component} missing`);\n }\n });\n\n if (!projectId.match(/^\\d+$/)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n }\n\n if (!isValidProtocol(protocol)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid port ${port}`);\n }\n\n return true;\n}\n\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nexport function makeDsn(from: DsnLike): DsnComponents {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n validateDsn(components);\n return components;\n}\n","import { Primitive } from '@sentry/types';\n\nimport { isNaN, isSyntheticEvent } from './is';\nimport { memoBuilder, MemoFunc } from './memo';\nimport { convertToPlainObject } from './object';\nimport { getFunctionName } from './stacktrace';\n\ntype Prototype = { constructor: (...args: unknown[]) => unknown };\n// This is a hack to placate TS, relying on the fact that technically, arrays are objects with integer keys. Normally we\n// think of those keys as actual numbers, but `arr['0']` turns out to work just as well as `arr[0]`, and doing it this\n// way lets us use a single type in the places where behave as if we are only dealing with objects, even if some of them\n// might be arrays.\ntype ObjOrArray<T> = { [key: string]: T };\n\n/**\n * Recursively normalizes the given object.\n *\n * - Creates a copy to prevent original input mutation\n * - Skips non-enumerable properties\n * - When stringifying, calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializable values (`undefined`/`NaN`/functions) to serializable format\n * - Translates known global objects/classes to a string representations\n * - Takes care of `Error` object serialization\n * - Optionally limits depth of final output\n * - Optionally limits number of properties/elements included in any single object/array\n *\n * @param input The object to be normalized.\n * @param depth The max depth to which to normalize the object. (Anything deeper stringified whole.)\n * @param maxProperties The max number of elements or properties to be included in any single array or\n * object in the normallized output.\n * @returns A normalized version of the object, or `\"**non-serializable**\"` if any errors are thrown during normalization.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function normalize(input: unknown, depth: number = +Infinity, maxProperties: number = +Infinity): any {\n try {\n // since we're at the outermost level, we don't provide a key\n return visit('', input, depth, maxProperties);\n } catch (err) {\n return { ERROR: `**non-serializable** (${err})` };\n }\n}\n\n/** JSDoc */\nexport function normalizeToSize<T>(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n object: { [key: string]: any },\n // Default Node.js REPL depth\n depth: number = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize: number = 100 * 1024,\n): T {\n const normalized = normalize(object, depth);\n\n if (jsonSize(normalized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return normalized as T;\n}\n\n/**\n * Visits a node to perform normalization on it\n *\n * @param key The key corresponding to the given node\n * @param value The node to be visited\n * @param depth Optional number indicating the maximum recursion depth\n * @param maxProperties Optional maximum number of properties/elements included in any single object/array\n * @param memo Optional Memo class handling decycling\n */\nfunction visit(\n key: string,\n value: unknown,\n depth: number = +Infinity,\n maxProperties: number = +Infinity,\n memo: MemoFunc = memoBuilder(),\n): Primitive | ObjOrArray<unknown> {\n const [memoize, unmemoize] = memo;\n\n // Get the simple cases out of the way first\n if (value === null || (['number', 'boolean', 'string'].includes(typeof value) && !isNaN(value))) {\n return value as Primitive;\n }\n\n const stringified = stringifyValue(key, value);\n\n // Anything we could potentially dig into more (objects or arrays) will have come back as `\"[object XXXX]\"`.\n // Everything else will have already been serialized, so if we don't see that pattern, we're done.\n if (!stringified.startsWith('[object ')) {\n return stringified;\n }\n\n // From here on, we can assert that `value` is either an object or an array.\n\n // Do not normalize objects that we know have already been normalized. As a general rule, the\n // \"__sentry_skip_normalization__\" property should only be used sparingly and only should only be set on objects that\n // have already been normalized.\n if ((value as ObjOrArray<unknown>)['__sentry_skip_normalization__']) {\n return value as ObjOrArray<unknown>;\n }\n\n // We're also done if we've reached the max depth\n if (depth === 0) {\n // At this point we know `serialized` is a string of the form `\"[object XXXX]\"`. Clean it up so it's just `\"[XXXX]\"`.\n return stringified.replace('object ', '');\n }\n\n // If we've already visited this branch, bail out, as it's circular reference. If not, note that we're seeing it now.\n if (memoize(value)) {\n return '[Circular ~]';\n }\n\n // If the value has a `toJSON` method, we call it to extract more information\n const valueWithToJSON = value as unknown & { toJSON?: () => unknown };\n if (valueWithToJSON && typeof valueWithToJSON.toJSON === 'function') {\n try {\n const jsonValue = valueWithToJSON.toJSON();\n // We need to normalize the return value of `.toJSON()` in case it has circular references\n return visit('', jsonValue, depth - 1, maxProperties, memo);\n } catch (err) {\n // pass (The built-in `toJSON` failed, but we can still try to do it ourselves)\n }\n }\n\n // At this point we know we either have an object or an array, we haven't seen it before, and we're going to recurse\n // because we haven't yet reached the max depth. Create an accumulator to hold the results of visiting each\n // property/entry, and keep track of the number of items we add to it.\n const normalized = (Array.isArray(value) ? [] : {}) as ObjOrArray<unknown>;\n let numAdded = 0;\n\n // Before we begin, convert`Error` and`Event` instances into plain objects, since some of each of their relevant\n // properties are non-enumerable and otherwise would get missed.\n const visitable = convertToPlainObject(value as ObjOrArray<unknown>);\n\n for (const visitKey in visitable) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n continue;\n }\n\n if (numAdded >= maxProperties) {\n normalized[visitKey] = '[MaxProperties ~]';\n break;\n }\n\n // Recursively visit all the child nodes\n const visitValue = visitable[visitKey];\n normalized[visitKey] = visit(visitKey, visitValue, depth - 1, maxProperties, memo);\n\n numAdded++;\n }\n\n // Once we've visited all the branches, remove the parent from memo storage\n unmemoize(value);\n\n // Return accumulated values\n return normalized;\n}\n\n// TODO remove this in v7 (this means the method will no longer be exported, under any name)\nexport { visit as walk };\n\n/**\n * Stringify the given value. Handles various known special values and types.\n *\n * Not meant to be used on simple primitives which already have a string representation, as it will, for example, turn\n * the number 1231 into \"[Object Number]\", nor on `null`, as it will throw.\n *\n * @param value The value to stringify\n * @returns A stringified representation of the given value\n */\nfunction stringifyValue(\n key: unknown,\n // this type is a tiny bit of a cheat, since this function does handle NaN (which is technically a number), but for\n // our internal use, it'll do\n value: Exclude<unknown, string | number | boolean | null>,\n): string {\n try {\n if (key === 'domain' && value && typeof value === 'object' && (value as { _events: unknown })._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n // It's safe to use `global`, `window`, and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n if (typeof global !== 'undefined' && value === global) {\n return '[Global]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof window !== 'undefined' && value === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof document !== 'undefined' && value === document) {\n return '[Document]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n // this catches `undefined` (but not `null`, which is a primitive and can be serialized on its own)\n if (value === void 0) {\n return '[undefined]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n // stringified BigInts are indistinguishable from regular numbers, so we need to label them to avoid confusion\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n // Now that we've knocked out all the special cases and the primitives, all we have left are objects. Simply casting\n // them to strings means that instances of classes which haven't defined their `toStringTag` will just come out as\n // `\"[object Object]\"`. If we instead look at the constructor's name (which is the same as the name of the class),\n // we can make sure that only plain objects come out that way.\n return `[object ${(Object.getPrototypeOf(value) as Prototype).constructor.name}]`;\n } catch (err) {\n return `**non-serializable** (${err})`;\n }\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value: string): number {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction jsonSize(value: any): number {\n return utf8Length(JSON.stringify(value));\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport type MemoFunc = [\n // memoize\n (obj: any) => boolean,\n // unmemoize\n (obj: any) => void,\n];\n\n/**\n * Helper to decycle json objects\n */\nexport function memoBuilder(): MemoFunc {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner: any = hasWeakSet ? new WeakSet() : [];\n function memoize(obj: any): boolean {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj: any): void {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n","import {\n Attachment,\n AttachmentItem,\n BaseEnvelopeHeaders,\n BaseEnvelopeItemHeaders,\n DataCategory,\n DsnComponents,\n Envelope,\n EnvelopeItem,\n EnvelopeItemType,\n Event,\n EventEnvelopeHeaders,\n SdkInfo,\n SdkMetadata,\n TextEncoderInternal,\n} from '@sentry/types';\n\nimport { dsnToString } from './dsn';\nimport { normalize } from './normalize';\nimport { dropUndefinedKeys } from './object';\n\n/**\n * Creates an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nexport function createEnvelope<E extends Envelope>(headers: E[0], items: E[1] = []): E {\n return [headers, items] as E;\n}\n\n/**\n * Add an item to an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\nexport function addItemToEnvelope<E extends Envelope>(envelope: E, newItem: E[1][number]): E {\n const [headers, items] = envelope;\n return [headers, [...items, newItem]] as E;\n}\n\n/**\n * Convenience function to loop through the items and item types of an envelope.\n * (This function was mostly created because working with envelope types is painful at the moment)\n */\nexport function forEachEnvelopeItem<E extends Envelope>(\n envelope: Envelope,\n callback: (envelopeItem: E[1][number], envelopeItemType: E[1][number][0]['type']) => void,\n): void {\n const envelopeItems = envelope[1];\n envelopeItems.forEach((envelopeItem: EnvelopeItem) => {\n const envelopeItemType = envelopeItem[0].type;\n callback(envelopeItem, envelopeItemType);\n });\n}\n\nfunction encodeUTF8(input: string, textEncoder?: TextEncoderInternal): Uint8Array {\n const utf8 = textEncoder || new TextEncoder();\n return utf8.encode(input);\n}\n\n/**\n * Serializes an envelope.\n */\nexport function serializeEnvelope(envelope: Envelope, textEncoder?: TextEncoderInternal): string | Uint8Array {\n const [envHeaders, items] = envelope;\n\n // Initially we construct our envelope as a string and only convert to binary chunks if we encounter binary data\n let parts: string | Uint8Array[] = JSON.stringify(envHeaders);\n\n function append(next: string | Uint8Array): void {\n if (typeof parts === 'string') {\n parts = typeof next === 'string' ? parts + next : [encodeUTF8(parts, textEncoder), next];\n } else {\n parts.push(typeof next === 'string' ? encodeUTF8(next, textEncoder) : next);\n }\n }\n\n for (const item of items) {\n const [itemHeaders, payload] = item;\n\n append(`\\n${JSON.stringify(itemHeaders)}\\n`);\n\n if (typeof payload === 'string' || payload instanceof Uint8Array) {\n append(payload);\n } else {\n let stringifiedPayload: string;\n try {\n stringifiedPayload = JSON.stringify(payload);\n } catch (e) {\n // In case, despite all our efforts to keep `payload` circular-dependency-free, `JSON.strinify()` still\n // fails, we try again after normalizing it again with infinite normalization depth. This of course has a\n // performance impact but in this case a performance hit is better than throwing.\n stringifiedPayload = JSON.stringify(normalize(payload));\n }\n append(stringifiedPayload);\n }\n }\n\n return typeof parts === 'string' ? parts : concatBuffers(parts);\n}\n\nfunction concatBuffers(buffers: Uint8Array[]): Uint8Array {\n const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);\n\n const merged = new Uint8Array(totalLength);\n let offset = 0;\n for (const buffer of buffers) {\n merged.set(buffer, offset);\n offset += buffer.length;\n }\n\n return merged;\n}\n\ninterface TextDecoderInternal {\n decode(input?: Uint8Array): string;\n}\n\n/**\n * Parses an envelope\n */\nexport function parseEnvelope(\n env: string | Uint8Array,\n textEncoder: TextEncoderInternal,\n textDecoder: TextDecoderInternal,\n): Envelope {\n let buffer = typeof env === 'string' ? textEncoder.encode(env) : env;\n\n function readBinary(length: number): Uint8Array {\n const bin = buffer.subarray(0, length);\n // Replace the buffer with the remaining data excluding trailing newline\n buffer = buffer.subarray(length + 1);\n return bin;\n }\n\n function readJson<T>(): T {\n let i = buffer.indexOf(0xa);\n // If we couldn't find a newline, we must have found the end of the buffer\n if (i < 0) {\n i = buffer.length;\n }\n\n return JSON.parse(textDecoder.decode(readBinary(i))) as T;\n }\n\n const envelopeHeader = readJson<BaseEnvelopeHeaders>();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const items: [any, any][] = [];\n\n while (buffer.length) {\n const itemHeader = readJson<BaseEnvelopeItemHeaders>();\n const binaryLength = typeof itemHeader.length === 'number' ? itemHeader.length : undefined;\n\n items.push([itemHeader, binaryLength ? readBinary(binaryLength) : readJson()]);\n }\n\n return [envelopeHeader, items];\n}\n\n/**\n * Creates attachment envelope items\n */\nexport function createAttachmentEnvelopeItem(\n attachment: Attachment,\n textEncoder?: TextEncoderInternal,\n): AttachmentItem {\n const buffer = typeof attachment.data === 'string' ? encodeUTF8(attachment.data, textEncoder) : attachment.data;\n\n return [\n dropUndefinedKeys({\n type: 'attachment',\n length: buffer.length,\n filename: attachment.filename,\n content_type: attachment.contentType,\n attachment_type: attachment.attachmentType,\n }),\n buffer,\n ];\n}\n\nconst ITEM_TYPE_TO_DATA_CATEGORY_MAP: Record<EnvelopeItemType, DataCategory> = {\n session: 'session',\n sessions: 'session',\n attachment: 'attachment',\n transaction: 'transaction',\n event: 'error',\n client_report: 'internal',\n user_report: 'default',\n profile: 'profile',\n replay_event: 'replay_event',\n replay_recording: 'replay_recording',\n};\n\n/**\n * Maps the type of an envelope item to a data category.\n */\nexport function envelopeItemTypeToDataCategory(type: EnvelopeItemType): DataCategory {\n return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\n\n/** Extracts the minimal SDK info from from the metadata or an events */\nexport function getSdkMetadataForEnvelopeHeader(metadataOrEvent?: SdkMetadata | Event): SdkInfo | undefined {\n if (!metadataOrEvent || !metadataOrEvent.sdk) {\n return;\n }\n const { name, version } = metadataOrEvent.sdk;\n return { name, version };\n}\n\n/**\n * Creates event envelope headers, based on event, sdk info and tunnel\n * Note: This function was extracted from the core package to make it available in Replay\n */\nexport function createEventEnvelopeHeaders(\n event: Event,\n sdkInfo: SdkInfo | undefined,\n tunnel: string | undefined,\n dsn: DsnComponents,\n): EventEnvelopeHeaders {\n const dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;\n\n return {\n event_id: event.event_id as string,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && { dsn: dsnToString(dsn) }),\n ...(event.type === 'transaction' &&\n dynamicSamplingContext && {\n trace: dropUndefinedKeys({ ...dynamicSamplingContext }),\n }),\n };\n}\n","import { ClientOptions, DsnComponents, DsnLike, SdkInfo } from '@sentry/types';\nimport { dsnToString, makeDsn, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn: DsnComponents): string {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn: DsnComponents): string {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn: DsnComponents, sdkInfo: SdkInfo | undefined): string {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n ...(sdkInfo && { sentry_client: `${sdkInfo.name}/${sdkInfo.version}` }),\n });\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getEnvelopeEndpointWithUrlEncodedAuth(\n dsn: DsnComponents,\n // TODO (v8): Remove `tunnelOrOptions` in favor of `options`, and use the substitute code below\n // options: ClientOptions = {} as ClientOptions,\n tunnelOrOptions: string | ClientOptions = {} as ClientOptions,\n): string {\n // TODO (v8): Use this code instead\n // const { tunnel, _metadata = {} } = options;\n // return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, _metadata.sdk)}`;\n\n const tunnel = typeof tunnelOrOptions === 'string' ? tunnelOrOptions : tunnelOrOptions.tunnel;\n const sdkInfo =\n typeof tunnelOrOptions === 'string' || !tunnelOrOptions._metadata ? undefined : tunnelOrOptions._metadata.sdk;\n\n return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\n\n/** Returns the url to the report dialog endpoint. */\nexport function getReportDialogEndpoint(\n dsnLike: DsnLike,\n dialogOptions: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n user?: { name?: string; email?: string };\n },\n): string {\n const dsn = makeDsn(dsnLike);\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'user') {\n const user = dialogOptions.user;\n if (!user) {\n continue;\n }\n if (user.name) {\n encodedOptions += `&name=${encodeURIComponent(user.name)}`;\n }\n if (user.email) {\n encodedOptions += `&email=${encodeURIComponent(user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] as string)}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n","import {\n DsnComponents,\n Event,\n EventEnvelope,\n EventItem,\n SdkInfo,\n SdkMetadata,\n Session,\n SessionAggregates,\n SessionEnvelope,\n SessionItem,\n} from '@sentry/types';\nimport {\n createEnvelope,\n createEventEnvelopeHeaders,\n dsnToString,\n getSdkMetadataForEnvelopeHeader,\n} from '@sentry/utils';\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event: Event, sdkInfo?: SdkInfo): Event {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates an envelope from a Session */\nexport function createSessionEnvelope(\n session: Session | SessionAggregates,\n dsn: DsnComponents,\n metadata?: SdkMetadata,\n tunnel?: string,\n): SessionEnvelope {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n const envelopeHeaders = {\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && { dsn: dsnToString(dsn) }),\n };\n\n const envelopeItem: SessionItem =\n 'aggregates' in session ? [{ type: 'sessions' }, session] : [{ type: 'session' }, session];\n\n return createEnvelope<SessionEnvelope>(envelopeHeaders, [envelopeItem]);\n}\n\n/**\n * Create an Envelope from an event.\n */\nexport function createEventEnvelope(\n event: Event,\n dsn: DsnComponents,\n metadata?: SdkMetadata,\n tunnel?: string,\n): EventEnvelope {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n const eventType = event.type || 'event';\n\n enhanceEventWithSdkInfo(event, metadata && metadata.sdk);\n\n const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);\n\n // Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to\n // sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may\n // have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid\n // of this `delete`, lest we miss putting it back in the next time the property is in use.)\n delete event.sdkProcessingMetadata;\n\n const eventItem: EventItem = [{ type: eventType }, event];\n return createEnvelope<EventEnvelope>(envelopeHeaders, [eventItem]);\n}\n","import { ClientOptions, Event, EventHint } from '@sentry/types';\nimport { dateTimestampInSeconds, normalize, resolvedSyncPromise, truncate, uuid4 } from '@sentry/utils';\n\nimport { Scope } from '../scope';\n\n/**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * Note: This also triggers callbacks for `addGlobalEventProcessor`, but not `beforeSend`.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n * @hidden\n */\nexport function prepareEvent(\n options: ClientOptions,\n event: Event,\n hint: EventHint,\n scope?: Scope,\n): PromiseLike<Event | null> {\n const { normalizeDepth = 3, normalizeMaxBreadth = 1_000 } = options;\n const prepared: Event = {\n ...event,\n event_id: event.event_id || hint.event_id || uuid4(),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n\n applyClientOptions(prepared, options);\n applyIntegrationsMetadata(\n prepared,\n options.integrations.map(i => i.name),\n );\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n let finalScope = scope;\n if (hint.captureContext) {\n finalScope = Scope.clone(finalScope).update(hint.captureContext);\n }\n\n // We prepare the result here with a resolved Event.\n let result = resolvedSyncPromise<Event | null>(prepared);\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n //\n // We need to check for the existence of `finalScope.getAttachments`\n // because `getAttachments` can be undefined if users are using an older version\n // of `@sentry/core` that does not have the `getAttachments` method.\n // See: https://github.com/getsentry/sentry-javascript/issues/5229\n if (finalScope) {\n // Collect attachments from the hint and scope\n if (finalScope.getAttachments) {\n const attachments = [...(hint.attachments || []), ...finalScope.getAttachments()];\n\n if (attachments.length) {\n hint.attachments = attachments;\n }\n }\n\n // In case we have a hub we reassign it.\n result = finalScope.applyToEvent(prepared, hint);\n }\n\n return result.then(evt => {\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n }\n return evt;\n });\n}\n\n/**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\nfunction applyClientOptions(event: Event, options: ClientOptions): void {\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : 'production';\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n}\n\n/**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\nfunction applyIntegrationsMetadata(event: Event, integrationNames: string[]): void {\n if (integrationNames.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationNames];\n }\n}\n\n/**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\nfunction normalizeEvent(event: Event | null, depth: number, maxBreadth: number): Event | null {\n if (!event) {\n return null;\n }\n\n const normalized: Event = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth, maxBreadth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth, maxBreadth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth, maxBreadth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth, maxBreadth),\n }),\n };\n\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace && normalized.contexts) {\n normalized.contexts.trace = event.contexts.trace;\n\n // event.contexts.trace.data may contain circular/dangerous data so we need to normalize it\n if (event.contexts.trace.data) {\n normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n }\n }\n\n // event.spans[].data may contain circular/dangerous data so we need to normalize it\n if (event.spans) {\n normalized.spans = event.spans.map(span => {\n // We cannot use the spread operator here because `toJSON` on `span` is non-enumerable\n if (span.data) {\n span.data = normalize(span.data, depth, maxBreadth);\n }\n return span;\n });\n }\n\n return normalized;\n}\n","/* eslint-disable max-lines */\nimport {\n Client,\n ClientOptions,\n DataCategory,\n DsnComponents,\n Envelope,\n ErrorEvent,\n Event,\n EventDropReason,\n EventHint,\n Integration,\n IntegrationClass,\n Outcome,\n SdkMetadata,\n Session,\n SessionAggregates,\n Severity,\n SeverityLevel,\n TransactionEvent,\n Transport,\n} from '@sentry/types';\nimport {\n addItemToEnvelope,\n checkOrSetAlreadyCaught,\n createAttachmentEnvelopeItem,\n isPlainObject,\n isPrimitive,\n isThenable,\n logger,\n makeDsn,\n rejectedSyncPromise,\n resolvedSyncPromise,\n SentryError,\n SyncPromise,\n} from '@sentry/utils';\n\nimport { getEnvelopeEndpointWithUrlEncodedAuth } from './api';\nimport { createEventEnvelope, createSessionEnvelope } from './envelope';\nimport { IntegrationIndex, setupIntegrations } from './integration';\nimport { Scope } from './scope';\nimport { updateSession } from './session';\nimport { prepareEvent } from './utils/prepareEvent';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient<NodeOptions> {\n * public constructor(options: NodeOptions) {\n * super(options);\n * }\n *\n * // ...\n * }\n */\nexport abstract class BaseClient<O extends ClientOptions> implements Client<O> {\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n protected readonly _dsn?: DsnComponents;\n\n protected readonly _transport?: Transport;\n\n /** Array of set up integrations. */\n protected _integrations: IntegrationIndex = {};\n\n /** Indicates whether this client's integrations have been set up. */\n protected _integrationsInitialized: boolean = false;\n\n /** Number of calls being processed */\n protected _numProcessing: number = 0;\n\n /** Holds flushable */\n private _outcomes: { [key: string]: number } = {};\n\n /**\n * Initializes this client instance.\n *\n * @param options Options for the client.\n */\n protected constructor(options: O) {\n this._options = options;\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, options);\n this._transport = options.transport({\n recordDroppedEvent: this.recordDroppedEvent.bind(this),\n ...options.transportOptions,\n url,\n });\n } else {\n __DEBUG_BUILD__ && logger.warn('No DSN provided, client will not do anything.');\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n __DEBUG_BUILD__ && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this.eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n level?: Severity | SeverityLevel,\n hint?: EventHint,\n scope?: Scope,\n ): string | undefined {\n let eventId: string | undefined = hint && hint.event_id;\n\n const promisedEvent = isPrimitive(message)\n ? this.eventFromMessage(String(message), level, hint)\n : this.eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n __DEBUG_BUILD__ && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._captureEvent(event, hint, scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(session: Session): void {\n if (!this._isEnabled()) {\n __DEBUG_BUILD__ && logger.warn('SDK not enabled, will not capture session.');\n return;\n }\n\n if (!(typeof session.release === 'string')) {\n __DEBUG_BUILD__ && logger.warn('Discarded session because of missing or non-string release');\n } else {\n this.sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n updateSession(session, { init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n public getDsn(): DsnComponents | undefined {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n public getOptions(): O {\n return this._options;\n }\n\n /**\n * @see SdkMetadata in @sentry/types\n *\n * @return The metadata of the SDK\n */\n public getSdkMetadata(): SdkMetadata | undefined {\n return this._options._metadata;\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport | undefined {\n return this._transport;\n }\n\n /**\n * @inheritDoc\n */\n public flush(timeout?: number): PromiseLike<boolean> {\n const transport = this._transport;\n if (transport) {\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return transport.flush(timeout).then(transportFlushed => clientFinished && transportFlushed);\n });\n } else {\n return resolvedSyncPromise(true);\n }\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike<boolean> {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n return result;\n });\n }\n\n /**\n * Sets up the integrations\n */\n public setupIntegrations(): void {\n if (this._isEnabled() && !this._integrationsInitialized) {\n this._integrations = setupIntegrations(this._options.integrations);\n this._integrationsInitialized = true;\n }\n }\n\n /**\n * Gets an installed integration by its `id`.\n *\n * @returns The installed integration or `undefined` if no integration with that `id` was installed.\n */\n public getIntegrationById(integrationId: string): Integration | undefined {\n return this._integrations[integrationId];\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null {\n try {\n return (this._integrations[integration.id] as T) || null;\n } catch (_oO) {\n __DEBUG_BUILD__ && logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event, hint: EventHint = {}): void {\n if (this._dsn) {\n let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n\n for (const attachment of hint.attachments || []) {\n env = addItemToEnvelope(\n env,\n createAttachmentEnvelopeItem(\n attachment,\n this._options.transportOptions && this._options.transportOptions.textEncoder,\n ),\n );\n }\n\n this._sendEnvelope(env);\n }\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session | SessionAggregates): void {\n if (this._dsn) {\n const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n this._sendEnvelope(env);\n }\n }\n\n /**\n * @inheritDoc\n */\n public recordDroppedEvent(reason: EventDropReason, category: DataCategory, _event?: Event): void {\n // Note: we use `event` in replay, where we overwrite this hook.\n\n if (this._options.sendClientReports) {\n // We want to track each category (error, transaction, session, replay_event) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial<Record<SentryRequestType, Partial<Record<Outcome, number>>>>`\n // With typescript 4.1 we could even use template literal types\n const key = `${reason}:${category}`;\n __DEBUG_BUILD__ && logger.log(`Adding outcome: \"${key}\"`);\n\n // The following works because undefined + 1 === NaN and NaN is falsy\n this._outcomes[key] = this._outcomes[key] + 1 || 1;\n }\n }\n\n /** Updates existing session based on the provided event */\n protected _updateSessionFromEvent(session: Session, event: Event): void {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n updateSession(session, {\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n protected _isClientDoneProcessing(timeout?: number): PromiseLike<boolean> {\n return new SyncPromise(resolve => {\n let ticked: number = 0;\n const tick: number = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n protected _isEnabled(): boolean {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n protected _prepareEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null> {\n const options = this.getOptions();\n return prepareEvent(options, event, hint, scope);\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n protected _captureEvent(event: Event, hint: EventHint = {}, scope?: Scope): PromiseLike<string | undefined> {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n if (__DEBUG_BUILD__) {\n // If something's gone wrong, log the error as a warning. If it's just us having used a `SentryError` for\n // control flow, log just the message (no stack) as a log-level log.\n const sentryError = reason as SentryError;\n if (sentryError.logLevel === 'log') {\n logger.log(sentryError.message);\n } else {\n logger.warn(sentryError);\n }\n }\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n protected _processEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event> {\n const options = this.getOptions();\n const { sampleRate } = options;\n\n if (!this._isEnabled()) {\n return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.', 'log'));\n }\n\n const isTransaction = isTransactionEvent(event);\n const isError = isErrorEvent(event);\n const eventType = event.type || 'error';\n const beforeSendLabel = `before send for type \\`${eventType}\\``;\n\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (isError && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n this.recordDroppedEvent('sample_rate', 'error', event);\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n 'log',\n ),\n );\n }\n\n return this._prepareEvent(event, hint, scope)\n .then(prepared => {\n if (prepared === null) {\n this.recordDroppedEvent('event_processor', eventType, event);\n throw new SentryError('An event processor returned `null`, will not send event.', 'log');\n }\n\n const isInternalException = hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;\n if (isInternalException) {\n return prepared;\n }\n\n const result = processBeforeSend(options, prepared, hint);\n return _validateBeforeSendResult(result, beforeSendLabel);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n this.recordDroppedEvent('before_send', event.type || 'error', event);\n throw new SentryError(`${beforeSendLabel} returned \\`null\\`, will not send event.`, 'log');\n }\n\n const session = scope && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n // None of the Sentry built event processor will update transaction name,\n // so if the transaction name has been changed by an event processor, we know\n // it has to come from custom event processor added by a user\n const transactionInfo = processedEvent.transaction_info;\n if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n const source = 'custom';\n processedEvent.transaction_info = {\n ...transactionInfo,\n source,\n changes: [\n ...transactionInfo.changes,\n {\n source,\n // use the same timestamp as the processed event.\n timestamp: processedEvent.timestamp as number,\n propagations: transactionInfo.propagations,\n },\n ],\n };\n }\n\n this.sendEvent(processedEvent, hint);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason as Error,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n protected _process<T>(promise: PromiseLike<T>): void {\n this._numProcessing++;\n void promise.then(\n value => {\n this._numProcessing--;\n return value;\n },\n reason => {\n this._numProcessing--;\n return reason;\n },\n );\n }\n\n /**\n * @inheritdoc\n */\n protected _sendEnvelope(envelope: Envelope): void {\n if (this._transport && this._dsn) {\n this._transport.send(envelope).then(null, reason => {\n __DEBUG_BUILD__ && logger.error('Error while sending event:', reason);\n });\n } else {\n __DEBUG_BUILD__ && logger.error('Transport disabled');\n }\n }\n\n /**\n * Clears outcomes on this client and returns them.\n */\n protected _clearOutcomes(): Outcome[] {\n const outcomes = this._outcomes;\n this._outcomes = {};\n return Object.keys(outcomes).map(key => {\n const [reason, category] = key.split(':') as [EventDropReason, DataCategory];\n return {\n reason,\n category,\n quantity: outcomes[key],\n };\n });\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public abstract eventFromException(_exception: any, _hint?: EventHint): PromiseLike<Event>;\n\n /**\n * @inheritDoc\n */\n public abstract eventFromMessage(\n _message: string,\n // eslint-disable-next-line deprecation/deprecation\n _level?: Severity | SeverityLevel,\n _hint?: EventHint,\n ): PromiseLike<Event>;\n}\n\n/**\n * Verifies that return value of configured `beforeSend` or `beforeSendTransaction` is of expected type, and returns the value if so.\n */\nfunction _validateBeforeSendResult(\n beforeSendResult: PromiseLike<Event | null> | Event | null,\n beforeSendLabel: string,\n): PromiseLike<Event | null> | Event | null {\n const invalidValueError = `${beforeSendLabel} must return \\`null\\` or a valid event.`;\n if (isThenable(beforeSendResult)) {\n return beforeSendResult.then(\n event => {\n if (!isPlainObject(event) && event !== null) {\n throw new SentryError(invalidValueError);\n }\n return event;\n },\n e => {\n throw new SentryError(`${beforeSendLabel} rejected with ${e}`);\n },\n );\n } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n throw new SentryError(invalidValueError);\n }\n return beforeSendResult;\n}\n\n/**\n * Process the matching `beforeSendXXX` callback.\n */\nfunction processBeforeSend(\n options: ClientOptions,\n event: Event,\n hint: EventHint,\n): PromiseLike<Event | null> | Event | null {\n const { beforeSend, beforeSendTransaction } = options;\n\n if (isErrorEvent(event) && beforeSend) {\n return beforeSend(event, hint);\n }\n\n if (isTransactionEvent(event) && beforeSendTransaction) {\n return beforeSendTransaction(event, hint);\n }\n\n return event;\n}\n\nfunction isErrorEvent(event: Event): event is ErrorEvent {\n return event.type === undefined;\n}\n\nfunction isTransactionEvent(event: Event): event is TransactionEvent {\n return event.type === 'transaction';\n}\n","import { getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, Severity, SeverityLevel, StackFrame, StackParser } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n extractExceptionKeysForMessage,\n isDOMError,\n isDOMException,\n isError,\n isErrorEvent,\n isEvent,\n isPlainObject,\n normalizeToSize,\n resolvedSyncPromise,\n} from '@sentry/utils';\n\n/**\n * This function creates an exception from a JavaScript Error\n */\nexport function exceptionFromError(stackParser: StackParser, ex: Error): Exception {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n const frames = parseStackFrames(stackParser, ex);\n\n const exception: Exception = {\n type: ex && ex.name,\n value: extractMessage(ex),\n };\n\n if (frames.length) {\n exception.stacktrace = { frames };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n\n/**\n * @hidden\n */\nexport function eventFromPlainObject(\n stackParser: StackParser,\n exception: Record<string, unknown>,\n syntheticException?: Error,\n isUnhandledRejection?: boolean,\n): Event {\n const hub = getCurrentHub();\n const client = hub.getClient();\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n\n const event: Event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? 'UnhandledRejection' : 'Error',\n value: `Non-Error ${\n isUnhandledRejection ? 'promise rejection' : 'exception'\n } captured with keys: ${extractExceptionKeysForMessage(exception)}`,\n },\n ],\n },\n extra: {\n __serialized__: normalizeToSize(exception, normalizeDepth),\n },\n };\n\n if (syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n // event.exception.values[0] has been set above\n (event.exception as { values: Exception[] }).values[0].stacktrace = { frames };\n }\n }\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromError(stackParser: StackParser, ex: Error): Event {\n return {\n exception: {\n values: [exceptionFromError(stackParser, ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nexport function parseStackFrames(\n stackParser: StackParser,\n ex: Error & { framesToPop?: number; stacktrace?: string },\n): StackFrame[] {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n const stacktrace = ex.stacktrace || ex.stack || '';\n\n const popSize = getPopSize(ex);\n\n try {\n return stackParser(stacktrace, popSize);\n } catch (e) {\n // no-empty\n }\n\n return [];\n}\n\n// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex: Error & { framesToPop?: number }): number {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\nfunction extractMessage(ex: Error & { message: { error?: Error } }): string {\n const message = ex && ex.message;\n if (!message) {\n return 'No error message';\n }\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n return message;\n}\n\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\nexport function eventFromException(\n stackParser: StackParser,\n exception: unknown,\n hint?: EventHint,\n attachStacktrace?: boolean,\n): PromiseLike<Event> {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n event.level = 'error';\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nexport function eventFromMessage(\n stackParser: StackParser,\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n level: Severity | SeverityLevel = 'info',\n hint?: EventHint,\n attachStacktrace?: boolean,\n): PromiseLike<Event> {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * @hidden\n */\nexport function eventFromUnknownInput(\n stackParser: StackParser,\n exception: unknown,\n syntheticException?: Error,\n attachStacktrace?: boolean,\n isUnhandledRejection?: boolean,\n): Event {\n let event: Event;\n\n if (isErrorEvent(exception as ErrorEvent) && (exception as ErrorEvent).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception as ErrorEvent;\n return eventFromError(stackParser, errorEvent.error as Error);\n }\n\n // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n if (isDOMError(exception as DOMError) || isDOMException(exception as DOMException)) {\n const domException = exception as DOMException;\n\n if ('stack' in (exception as Error)) {\n event = eventFromError(stackParser, exception as Error);\n } else {\n const name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n const message = domException.message ? `${name}: ${domException.message}` : name;\n event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, message);\n }\n if ('code' in domException) {\n event.tags = { ...event.tags, 'DOMException.code': `${domException.code}` };\n }\n\n return event;\n }\n if (isError(exception)) {\n // we have a real Error object, do nothing\n return eventFromError(stackParser, exception);\n }\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n const objectException = exception as Record<string, unknown>;\n event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n return event;\n }\n\n // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n event = eventFromString(stackParser, exception as string, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromString(\n stackParser: StackParser,\n input: string,\n syntheticException?: Error,\n attachStacktrace?: boolean,\n): Event {\n const event: Event = {\n message: input,\n };\n\n if (attachStacktrace && syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n event.exception = {\n values: [{ value: input, stacktrace: { frames } }],\n };\n }\n }\n\n return event;\n}\n","import { captureException, withScope } from '@sentry/core';\nimport { DsnLike, Event as SentryEvent, Mechanism, Scope, WrappedFunction } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n addNonEnumerableProperty,\n getOriginalFunction,\n GLOBAL_OBJ,\n markFunctionWrapped,\n} from '@sentry/utils';\n\nexport const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;\n\nlet ignoreOnError: number = 0;\n\n/**\n * @hidden\n */\nexport function shouldIgnoreOnError(): boolean {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nexport function ignoreNextOnError(): void {\n // onerror should trigger before setTimeout\n ignoreOnError++;\n setTimeout(() => {\n ignoreOnError--;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap. It is generally safe to pass an unbound function, because the returned wrapper always\n * has a correct `this` context.\n * @returns The wrapped function.\n * @hidden\n */\nexport function wrap(\n fn: WrappedFunction,\n options: {\n mechanism?: Mechanism;\n } = {},\n before?: WrappedFunction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): any {\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n const wrapper = fn.__sentry_wrapped__;\n if (wrapper) {\n return wrapper;\n }\n\n // We don't wanna wrap it twice\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n /* eslint-disable prefer-rest-params */\n // It is important that `sentryWrapped` is not an arrow function to preserve the context of `this`\n const sentryWrapped: WrappedFunction = function (this: unknown): void {\n const args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n const wrappedArguments = args.map((arg: any) => wrap(arg, options));\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n\n withScope((scope: Scope) => {\n scope.addEventProcessor((event: SentryEvent) => {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = {\n ...event.extra,\n arguments: args,\n };\n\n return event;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n markFunctionWrapped(sentryWrapped, fn);\n\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped);\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') as PropertyDescriptor;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get(): string {\n return fn.name;\n },\n });\n }\n // eslint-disable-next-line no-empty\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\n/**\n * All properties the report dialog supports\n */\nexport interface ReportDialogOptions {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n eventId?: string;\n dsn?: DsnLike;\n user?: {\n email?: string;\n name?: string;\n };\n lang?: string;\n title?: string;\n subtitle?: string;\n subtitle2?: string;\n labelName?: string;\n labelEmail?: string;\n labelComments?: string;\n labelClose?: string;\n labelSubmit?: string;\n errorGeneric?: string;\n errorFormEntry?: string;\n successMessage?: string;\n /** Callback after reportDialog showed up */\n onLoad?(): void;\n}\n","/* eslint-disable deprecation/deprecation */\nimport { Severity, SeverityLevel } from '@sentry/types';\n\n// Note: Ideally the `SeverityLevel` type would be derived from `validSeverityLevels`, but that would mean either\n//\n// a) moving `validSeverityLevels` to `@sentry/types`,\n// b) moving the`SeverityLevel` type here, or\n// c) importing `validSeverityLevels` from here into `@sentry/types`.\n//\n// Option A would make `@sentry/types` a runtime dependency of `@sentry/utils` (not good), and options B and C would\n// create a circular dependency between `@sentry/types` and `@sentry/utils` (also not good). So a TODO accompanying the\n// type, reminding anyone who changes it to change this list also, will have to do.\n\nexport const validSeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug'];\n\n/**\n * Converts a string-based level into a member of the deprecated {@link Severity} enum.\n *\n * @deprecated `severityFromString` is deprecated. Please use `severityLevelFromString` instead.\n *\n * @param level String representation of Severity\n * @returns Severity\n */\nexport function severityFromString(level: Severity | SeverityLevel | string): Severity {\n return severityLevelFromString(level) as Severity;\n}\n\n/**\n * Converts a string-based level into a `SeverityLevel`, normalizing it along the way.\n *\n * @param level String representation of desired `SeverityLevel`.\n * @returns The `SeverityLevel` corresponding to the given string, or 'log' if the string isn't a valid level.\n */\nexport function severityLevelFromString(level: SeverityLevel | string): SeverityLevel {\n return (level === 'warn' ? 'warning' : validSeverityLevels.includes(level) ? level : 'log') as SeverityLevel;\n}\n","/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not <a/> href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n} {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Returns number of URL segments of a passed string URL.\n */\nexport function getNumberOfUrlSegments(url: string): number {\n // split at '/' or at '\\/' to split regex urls correctly\n return url.split(/\\\\?\\//).filter(s => s.length > 0 && s !== ',').length;\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable max-lines */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, Integration } from '@sentry/types';\nimport {\n addInstrumentationHandler,\n getEventDescription,\n htmlTreeAsString,\n logger,\n parseUrl,\n safeJoin,\n severityLevelFromString,\n} from '@sentry/utils';\n\nimport { WINDOW } from '../helpers';\n\n/** JSDoc */\ninterface BreadcrumbsOptions {\n console: boolean;\n dom:\n | boolean\n | {\n serializeAttribute?: string | string[];\n maxStringLength?: number;\n };\n fetch: boolean;\n history: boolean;\n sentry: boolean;\n xhr: boolean;\n}\n\n/** maxStringLength gets capped to prevent 100 breadcrumbs exceeding 1MB event payload size */\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\n\nexport const BREADCRUMB_INTEGRATION_ID = 'Breadcrumbs';\n\n/**\n * Default Breadcrumbs instrumentations\n * TODO: Deprecated - with v6, this will be renamed to `Instrument`\n */\nexport class Breadcrumbs implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = BREADCRUMB_INTEGRATION_ID;\n\n /**\n * @inheritDoc\n */\n public name: string = Breadcrumbs.id;\n\n /**\n * Options of the breadcrumbs integration.\n */\n // This field is public, because we use it in the browser client to check if the `sentry` option is enabled.\n public readonly options: Readonly<BreadcrumbsOptions>;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial<BreadcrumbsOptions>) {\n this.options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n }\n\n /**\n * Instrument browser built-ins w/ breadcrumb capturing\n * - Console API\n * - DOM API (click/typing)\n * - XMLHttpRequest API\n * - Fetch API\n * - History API\n */\n public setupOnce(): void {\n if (this.options.console) {\n addInstrumentationHandler('console', _consoleBreadcrumb);\n }\n if (this.options.dom) {\n addInstrumentationHandler('dom', _domBreadcrumb(this.options.dom));\n }\n if (this.options.xhr) {\n addInstrumentationHandler('xhr', _xhrBreadcrumb);\n }\n if (this.options.fetch) {\n addInstrumentationHandler('fetch', _fetchBreadcrumb);\n }\n if (this.options.history) {\n addInstrumentationHandler('history', _historyBreadcrumb);\n }\n }\n\n /**\n * Adds a breadcrumb for Sentry events or transactions if this option is enabled.\n */\n public addSentryBreadcrumb(event: Event): void {\n if (this.options.sentry) {\n getCurrentHub().addBreadcrumb(\n {\n category: `sentry.${event.type === 'transaction' ? 'transaction' : 'event'}`,\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event),\n },\n {\n event,\n },\n );\n }\n }\n}\n\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _domBreadcrumb(dom: BreadcrumbsOptions['dom']): (handlerData: { [key: string]: any }) => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function _innerDomBreadcrumb(handlerData: { [key: string]: any }): void {\n let target;\n let keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined;\n\n let maxStringLength =\n typeof dom === 'object' && typeof dom.maxStringLength === 'number' ? dom.maxStringLength : undefined;\n if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `\\`dom.maxStringLength\\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`,\n );\n maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n }\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n }\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n target = handlerData.event.target\n ? htmlTreeAsString(handlerData.event.target as Node, { keyAttrs, maxStringLength })\n : htmlTreeAsString(handlerData.event as unknown as Node, { keyAttrs, maxStringLength });\n } catch (e) {\n target = '<unknown>';\n }\n\n if (target.length === 0) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: `ui.${handlerData.name}`,\n message: target,\n },\n {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n },\n );\n }\n\n return _innerDomBreadcrumb;\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _consoleBreadcrumb(handlerData: { [key: string]: any }): void {\n // This is a hack to fix a Vue3-specific bug that causes an infinite loop of\n // console warnings. This happens when a Vue template is rendered with\n // an undeclared variable, which we try to stringify, ultimately causing\n // Vue to issue another warning which repeats indefinitely.\n // see: https://github.com/getsentry/sentry-javascript/pull/6010\n // see: https://github.com/getsentry/sentry-javascript/issues/5916\n for (let i = 0; i < handlerData.args.length; i++) {\n if (handlerData.args[i] === 'ref=Ref<') {\n handlerData.args[i + 1] = 'viewRef';\n break;\n }\n }\n const breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console',\n },\n level: severityLevelFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' '),\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'}`;\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n getCurrentHub().addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _xhrBreadcrumb(handlerData: { [key: string]: any }): void {\n if (handlerData.endTimestamp) {\n // We only capture complete, non-sentry requests\n if (handlerData.xhr.__sentry_own_request__) {\n return;\n }\n\n const { method, url, status_code, body } = handlerData.xhr.__sentry_xhr__ || {};\n\n getCurrentHub().addBreadcrumb(\n {\n category: 'xhr',\n data: {\n method,\n url,\n status_code,\n },\n type: 'http',\n },\n {\n xhr: handlerData.xhr,\n input: body,\n },\n );\n\n return;\n }\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _fetchBreadcrumb(handlerData: { [key: string]: any }): void {\n // We only capture complete fetch requests\n if (!handlerData.endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: handlerData.fetchData,\n level: 'error',\n type: 'http',\n },\n {\n data: handlerData.error,\n input: handlerData.args,\n },\n );\n } else {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: {\n ...handlerData.fetchData,\n status_code: handlerData.response.status,\n },\n type: 'http',\n },\n {\n input: handlerData.args,\n response: handlerData.response,\n },\n );\n }\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _historyBreadcrumb(handlerData: { [key: string]: any }): void {\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(WINDOW.location.href);\n let parsedFrom = parseUrl(from);\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom.path) {\n parsedFrom = parsedLoc;\n }\n\n // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n getCurrentHub().addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n}\n","import { BaseClient, getEnvelopeEndpointWithUrlEncodedAuth, Scope, SDK_VERSION } from '@sentry/core';\nimport type { BrowserClientReplayOptions } from '@sentry/types';\nimport { ClientOptions, Event, EventHint, Options, Severity, SeverityLevel } from '@sentry/types';\nimport { createClientReportEnvelope, dsnToString, logger, serializeEnvelope } from '@sentry/utils';\n\nimport { eventFromException, eventFromMessage } from './eventbuilder';\nimport { WINDOW } from './helpers';\nimport { Breadcrumbs } from './integrations';\nimport { BREADCRUMB_INTEGRATION_ID } from './integrations/breadcrumbs';\nimport { BrowserTransportOptions } from './transports/types';\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see @sentry/types Options for more information.\n */\nexport type BrowserOptions = Options<BrowserTransportOptions> & BrowserClientReplayOptions;\n\n/**\n * Configuration options for the Sentry Browser SDK Client class\n * @see BrowserClient for more information.\n */\nexport type BrowserClientOptions = ClientOptions<BrowserTransportOptions>;\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nexport class BrowserClient extends BaseClient<BrowserClientOptions> {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n public constructor(options: BrowserClientOptions) {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.browser',\n packages: [\n {\n name: 'npm:@sentry/browser',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n\n super(options);\n\n if (options.sendClientReports && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n if (WINDOW.document.visibilityState === 'hidden') {\n this._flushOutcomes();\n }\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n public eventFromException(exception: unknown, hint?: EventHint): PromiseLike<Event> {\n return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(\n message: string,\n // eslint-disable-next-line deprecation/deprecation\n level: Severity | SeverityLevel = 'info',\n hint?: EventHint,\n ): PromiseLike<Event> {\n return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event, hint?: EventHint): void {\n // We only want to add the sentry event breadcrumb when the user has the breadcrumb integration installed and\n // activated its `sentry` option.\n // We also do not want to use the `Breadcrumbs` class here directly, because we do not want it to be included in\n // bundles, if it is not used by the SDK.\n // This all sadly is a bit ugly, but we currently don't have a \"pre-send\" hook on the integrations so we do it this\n // way for now.\n const breadcrumbIntegration = this.getIntegrationById(BREADCRUMB_INTEGRATION_ID) as Breadcrumbs | undefined;\n // We check for definedness of `addSentryBreadcrumb` in case users provided their own integration with id\n // \"Breadcrumbs\" that does not have this function.\n breadcrumbIntegration?.addSentryBreadcrumb?.(event);\n\n super.sendEvent(event, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _prepareEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null> {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, hint, scope);\n }\n\n /**\n * Sends client reports as an envelope.\n */\n private _flushOutcomes(): void {\n const outcomes = this._clearOutcomes();\n\n if (outcomes.length === 0) {\n __DEBUG_BUILD__ && logger.log('No outcomes to send');\n return;\n }\n\n if (!this._dsn) {\n __DEBUG_BUILD__ && logger.log('No dsn provided, will not send outcomes');\n return;\n }\n\n __DEBUG_BUILD__ && logger.log('Sending outcomes:', outcomes);\n\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, this._options);\n const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n\n try {\n const isRealNavigator = Object.prototype.toString.call(WINDOW && WINDOW.navigator) === '[object Navigator]';\n const hasSendBeacon = isRealNavigator && typeof WINDOW.navigator.sendBeacon === 'function';\n // Make sure beacon is not used if user configures custom transport options\n if (hasSendBeacon && !this._options.transportOptions) {\n // Prevent illegal invocations - https://xgwang.me/posts/you-may-not-know-beacon/#it-may-throw-error%2C-be-sure-to-catch\n const sendBeacon = WINDOW.navigator.sendBeacon.bind(WINDOW.navigator);\n sendBeacon(url, serializeEnvelope(envelope));\n } else {\n // If beacon is not supported or if they are using the tunnel option\n // use our regular transport to send client reports to Sentry.\n this._sendEnvelope(envelope);\n }\n } catch (e) {\n __DEBUG_BUILD__ && logger.error(e);\n }\n }\n}\n","import { GenericFunction } from './types';\n\n/**\n * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values,\n * descriptors, and functions.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15\n *\n * @param ops Array result of expression conversion\n * @returns The value of the expression\n */\nexport function _optionalChain(ops: unknown[]): unknown {\n let lastAccessLHS: unknown = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i] as string;\n const fn = ops[i + 1] as (intermediateValue: unknown) => unknown;\n i += 2;\n // by checking for loose equality to `null`, we catch both `null` and `undefined`\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n // really we're meaning to return `undefined` as an actual value here, but it saves bytes not to write it\n return;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args: unknown[]) => (value as GenericFunction).call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n}\n\n// Sucrase version\n// function _optionalChain(ops) {\n// let lastAccessLHS = undefined;\n// let value = ops[0];\n// let i = 1;\n// while (i < ops.length) {\n// const op = ops[i];\n// const fn = ops[i + 1];\n// i += 2;\n// if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n// return undefined;\n// }\n// if (op === 'access' || op === 'optionalAccess') {\n// lastAccessLHS = value;\n// value = fn(value);\n// } else if (op === 'call' || op === 'optionalCall') {\n// value = fn((...args) => value.call(lastAccessLHS, ...args));\n// lastAccessLHS = undefined;\n// }\n// }\n// return value;\n// }\n","import { ClientReport, ClientReportEnvelope, ClientReportItem } from '@sentry/types';\n\nimport { createEnvelope } from './envelope';\nimport { dateTimestampInSeconds } from './time';\n\n/**\n * Creates client report envelope\n * @param discarded_events An array of discard events\n * @param dsn A DSN that can be set on the header. Optional.\n */\nexport function createClientReportEnvelope(\n discarded_events: ClientReport['discarded_events'],\n dsn?: string,\n timestamp?: number,\n): ClientReportEnvelope {\n const clientReportItem: ClientReportItem = [\n { type: 'client_report' },\n {\n timestamp: timestamp || dateTimestampInSeconds(),\n discarded_events,\n },\n ];\n return createEnvelope<ClientReportEnvelope>(dsn ? { dsn } : {}, [clientReportItem]);\n}\n","import { StackFrame, StackLineParser, StackLineParserFn } from '@sentry/types';\nimport { createStackParser } from '@sentry/utils';\n\n// global reference to slice\nconst UNKNOWN_FUNCTION = '?';\n\nconst OPERA10_PRIORITY = 10;\nconst OPERA11_PRIORITY = 20;\nconst CHROME_PRIORITY = 30;\nconst WINJS_PRIORITY = 40;\nconst GECKO_PRIORITY = 50;\n\nfunction createFrame(filename: string, func: string, lineno?: number, colno?: number): StackFrame {\n const frame: StackFrame = {\n filename,\n function: func,\n // All browser frames are considered in_app\n in_app: true,\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n}\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\nconst chromeRegex =\n /^\\s*at (?:(.*\\).*?|.*?) ?\\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nconst chrome: StackLineParserFn = line => {\n const parts = chromeRegex.exec(line);\n\n if (parts) {\n const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n const subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n parts[3] = subMatch[2]; // line\n parts[4] = subMatch[3]; // column\n }\n }\n\n // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\nexport const chromeStackLineParser: StackLineParser = [CHROME_PRIORITY, chrome];\n\n// gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\nconst geckoREgex =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nconst gecko: StackLineParserFn = line => {\n const parts = geckoREgex.exec(line);\n\n if (parts) {\n const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n if (isEval) {\n const subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || 'eval';\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n let filename = parts[3];\n let func = parts[1] || UNKNOWN_FUNCTION;\n [func, filename] = extractSafariExtensionDetails(func, filename);\n\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nexport const geckoStackLineParser: StackLineParser = [GECKO_PRIORITY, gecko];\n\nconst winjsRegex =\n /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nconst winjs: StackLineParserFn = line => {\n const parts = winjsRegex.exec(line);\n\n return parts\n ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)\n : undefined;\n};\n\nexport const winjsStackLineParser: StackLineParser = [WINJS_PRIORITY, winjs];\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nconst opera10: StackLineParserFn = line => {\n const parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nexport const opera10StackLineParser: StackLineParser = [OPERA10_PRIORITY, opera10];\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nconst opera11: StackLineParserFn = line => {\n const parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\nexport const opera11StackLineParser: StackLineParser = [OPERA11_PRIORITY, opera11];\n\nexport const defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser, winjsStackLineParser];\n\nexport const defaultStackParser = createStackParser(...defaultStackLineParsers);\n\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\nconst extractSafariExtensionDetails = (func: string, filename: string): [string, string] => {\n const isSafariExtension = func.indexOf('safari-extension') !== -1;\n const isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n\n return isSafariExtension || isSafariWebExtension\n ? [\n func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION,\n isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`,\n ]\n : [func, filename];\n};\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { fill, getFunctionName, getOriginalFunction } from '@sentry/utils';\n\nimport { WINDOW, wrap } from '../helpers';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'ChannelMergerNode',\n 'CryptoOperation',\n 'EventSource',\n 'FileReader',\n 'HTMLUnknownElement',\n 'IDBDatabase',\n 'IDBRequest',\n 'IDBTransaction',\n 'KeyOperation',\n 'MediaController',\n 'MessagePort',\n 'ModalWindow',\n 'Notification',\n 'SVGElementInstance',\n 'Screen',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\ntype XMLHttpRequestProp = 'onload' | 'onerror' | 'onprogress' | 'onreadystatechange';\n\n/** JSDoc */\ninterface TryCatchOptions {\n setTimeout: boolean;\n setInterval: boolean;\n requestAnimationFrame: boolean;\n XMLHttpRequest: boolean;\n eventTarget: boolean | string[];\n}\n\n/** Wrap timer functions and event targets to catch errors and provide better meta data */\nexport class TryCatch implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'TryCatch';\n\n /**\n * @inheritDoc\n */\n public name: string = TryCatch.id;\n\n /** JSDoc */\n private readonly _options: TryCatchOptions;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial<TryCatchOptions>) {\n this._options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n }\n\n /**\n * Wrap timer functions and event targets to catch errors\n * and provide better metadata.\n */\n public setupOnce(): void {\n if (this._options.setTimeout) {\n fill(WINDOW, 'setTimeout', _wrapTimeFunction);\n }\n\n if (this._options.setInterval) {\n fill(WINDOW, 'setInterval', _wrapTimeFunction);\n }\n\n if (this._options.requestAnimationFrame) {\n fill(WINDOW, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (this._options.XMLHttpRequest && 'XMLHttpRequest' in WINDOW) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = this._options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n }\n}\n\n/** JSDoc */\nfunction _wrapTimeFunction(original: () => void): () => number {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, ...args: any[]): number {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: true,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _wrapRAF(original: any): (callback: () => void) => any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, callback: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.apply(this, [\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n }),\n ]);\n };\n}\n\n/** JSDoc */\nfunction _wrapXHR(originalSend: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: XMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps: XMLHttpRequestProp[] = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original: WrappedFunction): () => any {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before TryCatch, get the name of original function\n const originalFunction = getOriginalFunction(original);\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n }\n\n // Otherwise wrap directly\n return wrap(original, wrapOptions);\n });\n }\n });\n\n return originalSend.apply(this, args);\n };\n}\n\n/** JSDoc */\nfunction _wrapEventTarget(target: string): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const globalObject = WINDOW as { [key: string]: any };\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = globalObject[target] && globalObject[target].prototype;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original: () => void): (\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ) => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): (eventName: string, fn: EventListenerObject, capture?: boolean, secure?: boolean) => void {\n try {\n if (typeof fn.handleEvent === 'function') {\n // ESlint disable explanation:\n // First, it is generally safe to call `wrap` with an unbound function. Furthermore, using `.bind()` would\n // introduce a bug here, because bind returns a new function that doesn't have our\n // flags(like __sentry_original__) attached. `wrap` checks for those flags to avoid unnecessary wrapping.\n // Without those flags, every call to addEventListener wraps the function again, causing a memory leak.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n fn.handleEvent = wrap(fn.handleEvent, {\n mechanism: {\n data: {\n function: 'handleEvent',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n });\n }\n } catch (err) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.apply(this, [\n eventName,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn as any as WrappedFunction, {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n }),\n options,\n ]);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (\n originalRemoveEventListener: () => void,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): (this: any, eventName: string, fn: EventListenerObject, options?: boolean | EventListenerOptions) => () => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n const wrappedEventHandler = fn as unknown as WrappedFunction;\n try {\n const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n },\n );\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Hub, Integration, Primitive, StackParser } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addInstrumentationHandler,\n getLocationHref,\n isErrorEvent,\n isPrimitive,\n isString,\n logger,\n} from '@sentry/utils';\n\nimport { BrowserClient } from '../client';\nimport { eventFromUnknownInput } from '../eventbuilder';\nimport { shouldIgnoreOnError } from '../helpers';\n\ntype GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection';\n\n/** JSDoc */\ntype GlobalHandlersIntegrations = Record<GlobalHandlersIntegrationsOptionKeys, boolean>;\n\n/** Global handlers */\nexport class GlobalHandlers implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'GlobalHandlers';\n\n /**\n * @inheritDoc\n */\n public name: string = GlobalHandlers.id;\n\n /** JSDoc */\n private readonly _options: GlobalHandlersIntegrations;\n\n /**\n * Stores references functions to installing handlers. Will set to undefined\n * after they have been run so that they are not used twice.\n */\n private _installFunc: Record<GlobalHandlersIntegrationsOptionKeys, (() => void) | undefined> = {\n onerror: _installGlobalOnErrorHandler,\n onunhandledrejection: _installGlobalOnUnhandledRejectionHandler,\n };\n\n /** JSDoc */\n public constructor(options?: GlobalHandlersIntegrations) {\n this._options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n }\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n Error.stackTraceLimit = 50;\n const options = this._options;\n\n // We can disable guard-for-in as we construct the options object above + do checks against\n // `this._installFunc` for the property.\n // eslint-disable-next-line guard-for-in\n for (const key in options) {\n const installFunc = this._installFunc[key as GlobalHandlersIntegrationsOptionKeys];\n if (installFunc && options[key as GlobalHandlersIntegrationsOptionKeys]) {\n globalHandlerLog(key);\n installFunc();\n this._installFunc[key as GlobalHandlersIntegrationsOptionKeys] = undefined;\n }\n }\n }\n}\n\n/** JSDoc */\nfunction _installGlobalOnErrorHandler(): void {\n addInstrumentationHandler(\n 'error',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (data: { msg: any; url: any; line: any; column: any; error: any }) => {\n const [hub, stackParser, attachStacktrace] = getHubAndOptions();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n const { msg, url, line, column, error } = data;\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return;\n }\n\n const event =\n error === undefined && isString(msg)\n ? _eventFromIncompleteOnError(msg, url, line, column)\n : _enhanceEventWithInitialFrame(\n eventFromUnknownInput(stackParser, error || msg, undefined, attachStacktrace, false),\n url,\n line,\n column,\n );\n\n event.level = 'error';\n\n addMechanismAndCapture(hub, error, event, 'onerror');\n },\n );\n}\n\n/** JSDoc */\nfunction _installGlobalOnUnhandledRejectionHandler(): void {\n addInstrumentationHandler(\n 'unhandledrejection',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (e: any) => {\n const [hub, stackParser, attachStacktrace] = getHubAndOptions();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n let error = e;\n\n // dig the object of the rejection out of known event types\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n error = e.reason;\n }\n // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n error = e.detail.reason;\n }\n } catch (_oO) {\n // no-empty\n }\n\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return true;\n }\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(stackParser, error, undefined, attachStacktrace, true);\n\n event.level = 'error';\n\n addMechanismAndCapture(hub, error, event, 'onunhandledrejection');\n return;\n },\n );\n}\n\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\nfunction _eventFromRejectionWithPrimitive(reason: Primitive): Event {\n return {\n exception: {\n values: [\n {\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: `Non-Error promise rejection captured with value: ${String(reason)}`,\n },\n ],\n },\n };\n}\n\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _eventFromIncompleteOnError(msg: any, url: any, line: any, column: any): Event {\n const ERROR_TYPES_RE =\n /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;\n\n // If 'message' is ErrorEvent, get real message from inside\n let message = isErrorEvent(msg) ? msg.message : msg;\n let name = 'Error';\n\n const groups = message.match(ERROR_TYPES_RE);\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n const event = {\n exception: {\n values: [\n {\n type: name,\n value: message,\n },\n ],\n },\n };\n\n return _enhanceEventWithInitialFrame(event, url, line, column);\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event: Event, url: any, line: any, column: any): Event {\n // event.exception\n const e = (event.exception = event.exception || {});\n // event.exception.values\n const ev = (e.values = e.values || []);\n // event.exception.values[0]\n const ev0 = (ev[0] = ev[0] || {});\n // event.exception.values[0].stacktrace\n const ev0s = (ev0.stacktrace = ev0.stacktrace || {});\n // event.exception.values[0].stacktrace.frames\n const ev0sf = (ev0s.frames = ev0s.frames || []);\n\n const colno = isNaN(parseInt(column, 10)) ? undefined : column;\n const lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n\n // event.exception.values[0].stacktrace.frames\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno,\n filename,\n function: '?',\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type: string): void {\n __DEBUG_BUILD__ && logger.log(`Global Handler attached: ${type}`);\n}\n\nfunction addMechanismAndCapture(hub: Hub, error: EventHint['originalException'], event: Event, type: string): void {\n addExceptionMechanism(event, {\n handled: false,\n type,\n });\n hub.captureEvent(event, {\n originalException: error,\n });\n}\n\nfunction getHubAndOptions(): [Hub, StackParser, boolean | undefined] {\n const hub = getCurrentHub();\n const client = hub.getClient<BrowserClient>();\n const options = (client && client.getOptions()) || {\n stackParser: () => [],\n attachStacktrace: false,\n };\n return [hub, options.stackParser, options.attachStacktrace];\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, ExtendedError, Integration, StackParser } from '@sentry/types';\nimport { isInstanceOf } from '@sentry/utils';\n\nimport { BrowserClient } from '../client';\nimport { exceptionFromError } from '../eventbuilder';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\ninterface LinkedErrorsOptions {\n key: string;\n limit: number;\n}\n\n/** Adds SDK info to an event. */\nexport class LinkedErrors implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'LinkedErrors';\n\n /**\n * @inheritDoc\n */\n public readonly name: string = LinkedErrors.id;\n\n /**\n * @inheritDoc\n */\n private readonly _key: LinkedErrorsOptions['key'];\n\n /**\n * @inheritDoc\n */\n private readonly _limit: LinkedErrorsOptions['limit'];\n\n /**\n * @inheritDoc\n */\n public constructor(options: Partial<LinkedErrorsOptions> = {}) {\n this._key = options.key || DEFAULT_KEY;\n this._limit = options.limit || DEFAULT_LIMIT;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n const client = getCurrentHub().getClient<BrowserClient>();\n if (!client) {\n return;\n }\n addGlobalEventProcessor((event: Event, hint?: EventHint) => {\n const self = getCurrentHub().getIntegration(LinkedErrors);\n return self ? _handler(client.getOptions().stackParser, self._key, self._limit, event, hint) : event;\n });\n }\n}\n\n/**\n * @inheritDoc\n */\nexport function _handler(\n parser: StackParser,\n key: string,\n limit: number,\n event: Event,\n hint?: EventHint,\n): Event | null {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return event;\n }\n const linkedErrors = _walkErrorTree(parser, limit, hint.originalException as ExtendedError, key);\n event.exception.values = [...linkedErrors, ...event.exception.values];\n return event;\n}\n\n/**\n * JSDOC\n */\nexport function _walkErrorTree(\n parser: StackParser,\n limit: number,\n error: ExtendedError,\n key: string,\n stack: Exception[] = [],\n): Exception[] {\n if (!isInstanceOf(error[key], Error) || stack.length + 1 >= limit) {\n return stack;\n }\n const exception = exceptionFromError(parser, error[key]);\n return _walkErrorTree(parser, limit, error[key], key, [exception, ...stack]);\n}\n","import { Event, EventProcessor, Exception, Hub, Integration, StackFrame } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** Deduplication filter */\nexport class Dedupe implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Dedupe';\n\n /**\n * @inheritDoc\n */\n public name: string = Dedupe.id;\n\n /**\n * @inheritDoc\n */\n private _previousEvent?: Event;\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const eventProcessor: EventProcessor = currentEvent => {\n const self = getCurrentHub().getIntegration(Dedupe);\n if (self) {\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, self._previousEvent)) {\n __DEBUG_BUILD__ && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {\n return (self._previousEvent = currentEvent);\n }\n\n return (self._previousEvent = currentEvent);\n }\n return currentEvent;\n };\n\n eventProcessor.id = this.name;\n addGlobalEventProcessor(eventProcessor);\n }\n}\n\n/** JSDoc */\nfunction _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\n/** JSDoc */\nfunction _isSameMessageEvent(currentEvent: Event, previousEvent: Event): boolean {\n const currentMessage = currentEvent.message;\n const previousMessage = previousEvent.message;\n\n // If neither event has a message property, they were both exceptions, so bail out\n if (!currentMessage && !previousMessage) {\n return false;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameExceptionEvent(currentEvent: Event, previousEvent: Event): boolean {\n const previousException = _getExceptionFromEvent(previousEvent);\n const currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameStacktrace(currentEvent: Event, previousEvent: Event): boolean {\n let currentFrames = _getFramesFromEvent(currentEvent);\n let previousFrames = _getFramesFromEvent(previousEvent);\n\n // If neither event has a stacktrace, they are assumed to be the same\n if (!currentFrames && !previousFrames) {\n return true;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) {\n return false;\n }\n\n currentFrames = currentFrames as StackFrame[];\n previousFrames = previousFrames as StackFrame[];\n\n // If number of frames differ, they are not the same\n if (previousFrames.length !== currentFrames.length) {\n return false;\n }\n\n // Otherwise, compare the two\n for (let i = 0; i < previousFrames.length; i++) {\n const frameA = previousFrames[i];\n const frameB = currentFrames[i];\n\n if (\n frameA.filename !== frameB.filename ||\n frameA.lineno !== frameB.lineno ||\n frameA.colno !== frameB.colno ||\n frameA.function !== frameB.function\n ) {\n return false;\n }\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameFingerprint(currentEvent: Event, previousEvent: Event): boolean {\n let currentFingerprint = currentEvent.fingerprint;\n let previousFingerprint = previousEvent.fingerprint;\n\n // If neither event has a fingerprint, they are assumed to be the same\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n }\n\n // If only one event has a fingerprint, but not the other one, they are not the same\n if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) {\n return false;\n }\n\n currentFingerprint = currentFingerprint as string[];\n previousFingerprint = previousFingerprint as string[];\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\n/** JSDoc */\nfunction _getExceptionFromEvent(event: Event): Exception | undefined {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\n/** JSDoc */\nfunction _getFramesFromEvent(event: Event): StackFrame[] | undefined {\n const exception = event.exception;\n\n if (exception) {\n try {\n // @ts-ignore Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n }\n return undefined;\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, Integration } from '@sentry/types';\n\nimport { WINDOW } from '../helpers';\n\n/** HttpContext integration collects information about HTTP request headers */\nexport class HttpContext implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'HttpContext';\n\n /**\n * @inheritDoc\n */\n public name: string = HttpContext.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n if (getCurrentHub().getIntegration(HttpContext)) {\n // if none of the information we want exists, don't bother\n if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n return event;\n }\n\n // grab as much info as exists and add it to the event\n const url = (event.request && event.request.url) || (WINDOW.location && WINDOW.location.href);\n const { referrer } = WINDOW.document || {};\n const { userAgent } = WINDOW.navigator || {};\n\n const headers = {\n ...(event.request && event.request.headers),\n ...(referrer && { Referer: referrer }),\n ...(userAgent && { 'User-Agent': userAgent }),\n };\n const request = { ...(url && { url }), headers };\n\n return { ...event, request };\n }\n return event;\n });\n }\n}\n","import { SentryError } from './error';\nimport { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise';\n\nexport interface PromiseBuffer<T> {\n // exposes the internal array so tests can assert on the state of it.\n // XXX: this really should not be public api.\n $: Array<PromiseLike<T>>;\n add(taskProducer: () => PromiseLike<T>): PromiseLike<T>;\n drain(timeout?: number): PromiseLike<boolean>;\n}\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nexport function makePromiseBuffer<T>(limit?: number): PromiseBuffer<T> {\n const buffer: Array<PromiseLike<T>> = [];\n\n function isReady(): boolean {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike<T>\n * @returns Removed promise.\n */\n function remove(task: PromiseLike<T>): PromiseLike<T> {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike<T>; In previous versions this used to be `task:\n * PromiseLike<T>`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer: () => PromiseLike<T>): PromiseLike<T> {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise because buffer limit was reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout?: number): PromiseLike<boolean> {\n return new SyncPromise<boolean>((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n","import { TransportMakeRequestResponse } from '@sentry/types';\n\n// Intentionally keeping the key broad, as we don't know for sure what rate limit headers get returned from backend\nexport type RateLimits = Record<string, number>;\n\nexport const DEFAULT_RETRY_AFTER = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param header string representation of 'Retry-After' header\n * @param now current unix timestamp\n *\n */\nexport function parseRetryAfterHeader(header: string, now: number = Date.now()): number {\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return DEFAULT_RETRY_AFTER;\n}\n\n/**\n * Gets the time that given category is disabled until for rate limiting\n */\nexport function disabledUntil(limits: RateLimits, category: string): number {\n return limits[category] || limits.all || 0;\n}\n\n/**\n * Checks if a category is rate limited\n */\nexport function isRateLimited(limits: RateLimits, category: string, now: number = Date.now()): boolean {\n return disabledUntil(limits, category) > now;\n}\n\n/**\n * Update ratelimits from incoming headers.\n * Returns true if headers contains a non-empty rate limiting header.\n */\nexport function updateRateLimits(\n limits: RateLimits,\n { statusCode, headers }: TransportMakeRequestResponse,\n now: number = Date.now(),\n): RateLimits {\n const updatedRateLimits: RateLimits = {\n ...limits,\n };\n\n // \"The name is case-insensitive.\"\n // https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n const rateLimitHeader = headers && headers['x-sentry-rate-limits'];\n const retryAfterHeader = headers && headers['retry-after'];\n\n if (rateLimitHeader) {\n /**\n * rate limit headers are of the form\n * <header>,<header>,..\n * where each <header> is of the form\n * <retry_after>: <categories>: <scope>: <reason_code>\n * where\n * <retry_after> is a delay in seconds\n * <categories> is the event type(s) (error, transaction, etc) being rate limited and is of the form\n * <category>;<category>;...\n * <scope> is what's being limited (org, project, or key) - ignored by SDK\n * <reason_code> is an arbitrary string like \"org_quota\" - ignored by SDK\n */\n for (const limit of rateLimitHeader.trim().split(',')) {\n const [retryAfter, categories] = limit.split(':', 2);\n const headerDelay = parseInt(retryAfter, 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n if (!categories) {\n updatedRateLimits.all = now + delay;\n } else {\n for (const category of categories.split(';')) {\n updatedRateLimits[category] = now + delay;\n }\n }\n }\n } else if (retryAfterHeader) {\n updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n } else if (statusCode === 429) {\n updatedRateLimits.all = now + 60 * 1000;\n }\n\n return updatedRateLimits;\n}\n","import {\n Envelope,\n EnvelopeItem,\n EnvelopeItemType,\n Event,\n EventDropReason,\n EventItem,\n InternalBaseTransportOptions,\n Transport,\n TransportRequestExecutor,\n} from '@sentry/types';\nimport {\n createEnvelope,\n envelopeItemTypeToDataCategory,\n forEachEnvelopeItem,\n isRateLimited,\n logger,\n makePromiseBuffer,\n PromiseBuffer,\n RateLimits,\n resolvedSyncPromise,\n SentryError,\n serializeEnvelope,\n updateRateLimits,\n} from '@sentry/utils';\n\nexport const DEFAULT_TRANSPORT_BUFFER_SIZE = 30;\n\n/**\n * Creates an instance of a Sentry `Transport`\n *\n * @param options\n * @param makeRequest\n */\nexport function createTransport(\n options: InternalBaseTransportOptions,\n makeRequest: TransportRequestExecutor,\n buffer: PromiseBuffer<void> = makePromiseBuffer(options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE),\n): Transport {\n let rateLimits: RateLimits = {};\n\n const flush = (timeout?: number): PromiseLike<boolean> => buffer.drain(timeout);\n\n function send(envelope: Envelope): PromiseLike<void> {\n const filteredEnvelopeItems: EnvelopeItem[] = [];\n\n // Drop rate limited items from envelope\n forEachEnvelopeItem(envelope, (item, type) => {\n const envelopeItemDataCategory = envelopeItemTypeToDataCategory(type);\n if (isRateLimited(rateLimits, envelopeItemDataCategory)) {\n const event: Event | undefined = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent('ratelimit_backoff', envelopeItemDataCategory, event);\n } else {\n filteredEnvelopeItems.push(item);\n }\n });\n\n // Skip sending if envelope is empty after filtering out rate limited events\n if (filteredEnvelopeItems.length === 0) {\n return resolvedSyncPromise();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const filteredEnvelope: Envelope = createEnvelope(envelope[0], filteredEnvelopeItems as any);\n\n // Creates client report for each item in an envelope\n const recordEnvelopeLoss = (reason: EventDropReason): void => {\n forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n const event: Event | undefined = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);\n });\n };\n\n const requestTask = (): PromiseLike<void> =>\n makeRequest({ body: serializeEnvelope(filteredEnvelope, options.textEncoder) }).then(\n response => {\n // We don't want to throw on NOK responses, but we want to at least log them\n if (response.statusCode !== undefined && (response.statusCode < 200 || response.statusCode >= 300)) {\n __DEBUG_BUILD__ && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);\n }\n\n rateLimits = updateRateLimits(rateLimits, response);\n },\n error => {\n __DEBUG_BUILD__ && logger.error('Failed while sending event:', error);\n recordEnvelopeLoss('network_error');\n },\n );\n\n return buffer.add(requestTask).then(\n result => result,\n error => {\n if (error instanceof SentryError) {\n __DEBUG_BUILD__ && logger.error('Skipped sending event because buffer is full.');\n recordEnvelopeLoss('queue_overflow');\n return resolvedSyncPromise();\n } else {\n throw error;\n }\n },\n );\n }\n\n return {\n send,\n flush,\n };\n}\n\nfunction getEventForEnvelopeItem(item: Envelope[1][number], type: EnvelopeItemType): Event | undefined {\n if (type !== 'event' && type !== 'transaction') {\n return undefined;\n }\n\n return Array.isArray(item) ? (item as EventItem)[1] : undefined;\n}\n","import { isNativeFetch, logger } from '@sentry/utils';\n\nimport { WINDOW } from '../helpers';\n\nlet cachedFetchImpl: FetchImpl | undefined = undefined;\n\nexport type FetchImpl = typeof fetch;\n\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\nexport function getNativeFetchImplementation(): FetchImpl {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n\n // Fast path to avoid DOM I/O\n if (isNativeFetch(WINDOW.fetch)) {\n return (cachedFetchImpl = WINDOW.fetch.bind(WINDOW));\n }\n\n const document = WINDOW.document;\n let fetchImpl = WINDOW.fetch;\n // eslint-disable-next-line deprecation/deprecation\n if (document && typeof document.createElement === 'function') {\n try {\n const sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n const contentWindow = sandbox.contentWindow;\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n __DEBUG_BUILD__ &&\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n\n return (cachedFetchImpl = fetchImpl.bind(WINDOW));\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\n/** Clears cached fetch impl */\nexport function clearCachedFetchImplementation(): void {\n cachedFetchImpl = undefined;\n}\n","import { createTransport } from '@sentry/core';\nimport { Transport, TransportMakeRequestResponse, TransportRequest } from '@sentry/types';\nimport { rejectedSyncPromise } from '@sentry/utils';\n\nimport { BrowserTransportOptions } from './types';\nimport { clearCachedFetchImplementation, FetchImpl, getNativeFetchImplementation } from './utils';\n\n/**\n * Creates a Transport that uses the Fetch API to send events to Sentry.\n */\nexport function makeFetchTransport(\n options: BrowserTransportOptions,\n nativeFetch: FetchImpl = getNativeFetchImplementation(),\n): Transport {\n function makeRequest(request: TransportRequest): PromiseLike<TransportMakeRequestResponse> {\n const requestOptions: RequestInit = {\n body: request.body,\n method: 'POST',\n referrerPolicy: 'origin',\n headers: options.headers,\n // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).\n // Gotchas:\n // - `keepalive` isn't supported by Firefox\n // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch), a request with `keepalive: true`\n // and a content length of > 64 kibibytes returns a network error. We will therefore only activate the flag when\n // we're below that limit.\n keepalive: request.body.length <= 65536,\n ...options.fetchOptions,\n };\n\n try {\n return nativeFetch(options.url, requestOptions).then(response => ({\n statusCode: response.status,\n headers: {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After'),\n },\n }));\n } catch (e) {\n clearCachedFetchImplementation();\n return rejectedSyncPromise(e);\n }\n }\n\n return createTransport(options, makeRequest);\n}\n","import { createTransport } from '@sentry/core';\nimport { Transport, TransportMakeRequestResponse, TransportRequest } from '@sentry/types';\nimport { SyncPromise } from '@sentry/utils';\n\nimport { BrowserTransportOptions } from './types';\n\n/**\n * The DONE ready state for XmlHttpRequest\n *\n * Defining it here as a constant b/c XMLHttpRequest.DONE is not always defined\n * (e.g. during testing, it is `undefined`)\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState}\n */\nconst XHR_READYSTATE_DONE = 4;\n\n/**\n * Creates a Transport that uses the XMLHttpRequest API to send events to Sentry.\n */\nexport function makeXHRTransport(options: BrowserTransportOptions): Transport {\n function makeRequest(request: TransportRequest): PromiseLike<TransportMakeRequestResponse> {\n return new SyncPromise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n\n xhr.onerror = reject;\n\n xhr.onreadystatechange = (): void => {\n if (xhr.readyState === XHR_READYSTATE_DONE) {\n resolve({\n statusCode: xhr.status,\n headers: {\n 'x-sentry-rate-limits': xhr.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': xhr.getResponseHeader('Retry-After'),\n },\n });\n }\n };\n\n xhr.open('POST', options.url);\n\n for (const header in options.headers) {\n if (Object.prototype.hasOwnProperty.call(options.headers, header)) {\n xhr.setRequestHeader(header, options.headers[header]);\n }\n }\n\n xhr.send(request.body);\n });\n }\n\n return createTransport(options, makeRequest);\n}\n","import {\n getCurrentHub,\n getIntegrationsToSetup,\n getReportDialogEndpoint,\n Hub,\n initAndBind,\n Integrations as CoreIntegrations,\n} from '@sentry/core';\nimport {\n addInstrumentationHandler,\n logger,\n resolvedSyncPromise,\n stackParserFromStackParserOptions,\n supportsFetch,\n} from '@sentry/utils';\n\nimport { BrowserClient, BrowserClientOptions, BrowserOptions } from './client';\nimport { ReportDialogOptions, WINDOW, wrap as internalWrap } from './helpers';\nimport { Breadcrumbs, Dedupe, GlobalHandlers, HttpContext, LinkedErrors, TryCatch } from './integrations';\nimport { defaultStackParser } from './stack-parsers';\nimport { makeFetchTransport, makeXHRTransport } from './transports';\n\nexport const defaultIntegrations = [\n new CoreIntegrations.InboundFilters(),\n new CoreIntegrations.FunctionToString(),\n new TryCatch(),\n new Breadcrumbs(),\n new GlobalHandlers(),\n new LinkedErrors(),\n new Dedupe(),\n new HttpContext(),\n];\n\n/**\n * A magic string that build tooling can leverage in order to inject a release value into the SDK.\n */\ndeclare const __SENTRY_RELEASE__: string | undefined;\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\nexport function init(options: BrowserOptions = {}): void {\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = defaultIntegrations;\n }\n if (options.release === undefined) {\n // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value\n if (typeof __SENTRY_RELEASE__ === 'string') {\n options.release = __SENTRY_RELEASE__;\n }\n\n // This supports the variable that sentry-webpack-plugin injects\n if (WINDOW.SENTRY_RELEASE && WINDOW.SENTRY_RELEASE.id) {\n options.release = WINDOW.SENTRY_RELEASE.id;\n }\n }\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n const clientOptions: BrowserClientOptions = {\n ...options,\n stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n integrations: getIntegrationsToSetup(options),\n transport: options.transport || (supportsFetch() ? makeFetchTransport : makeXHRTransport),\n };\n\n initAndBind(BrowserClient, clientOptions);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\n/**\n * Present the user with a report dialog.\n *\n * @param options Everything is optional, we try to fetch all info need from the global scope.\n */\nexport function showReportDialog(options: ReportDialogOptions = {}, hub: Hub = getCurrentHub()): void {\n // doesn't work without a document (React Native)\n if (!WINDOW.document) {\n __DEBUG_BUILD__ && logger.error('Global document not defined in showReportDialog call');\n return;\n }\n\n const { client, scope } = hub.getStackTop();\n const dsn = options.dsn || (client && client.getDsn());\n if (!dsn) {\n __DEBUG_BUILD__ && logger.error('DSN not configured for showReportDialog call');\n return;\n }\n\n if (scope) {\n options.user = {\n ...scope.getUser(),\n ...options.user,\n };\n }\n\n if (!options.eventId) {\n options.eventId = hub.lastEventId();\n }\n\n const script = WINDOW.document.createElement('script');\n script.async = true;\n script.src = getReportDialogEndpoint(dsn, options);\n\n if (options.onLoad) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n script.onload = options.onLoad;\n }\n\n const injectionPoint = WINDOW.document.head || WINDOW.document.body;\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n } else {\n __DEBUG_BUILD__ && logger.error('Not injecting report dialog. No injection point found in HTML');\n }\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\nexport function lastEventId(): string | undefined {\n return getCurrentHub().lastEventId();\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function forceLoad(): void {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function onLoad(callback: () => void): void {\n callback();\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function flush(timeout?: number): PromiseLike<boolean> {\n const client = getCurrentHub().getClient<BrowserClient>();\n if (client) {\n return client.flush(timeout);\n }\n __DEBUG_BUILD__ && logger.warn('Cannot flush events. No client defined.');\n return resolvedSyncPromise(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function close(timeout?: number): PromiseLike<boolean> {\n const client = getCurrentHub().getClient<BrowserClient>();\n if (client) {\n return client.close(timeout);\n }\n __DEBUG_BUILD__ && logger.warn('Cannot flush events and disable SDK. No client defined.');\n return resolvedSyncPromise(false);\n}\n\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function wrap(fn: (...args: any) => any): any {\n return internalWrap(fn)();\n}\n\nfunction startSessionOnHub(hub: Hub): void {\n hub.startSession({ ignoreDuration: true });\n hub.captureSession();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking(): void {\n if (typeof WINDOW.document === 'undefined') {\n __DEBUG_BUILD__ &&\n logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n return;\n }\n\n const hub = getCurrentHub();\n\n // The only way for this to be false is for there to be a version mismatch between @sentry/browser (>= 6.0.0) and\n // @sentry/hub (< 5.27.0). In the simple case, there won't ever be such a mismatch, because the two packages are\n // pinned at the same version in package.json, but there are edge cases where it's possible. See\n // https://github.com/getsentry/sentry-javascript/issues/3207 and\n // https://github.com/getsentry/sentry-javascript/issues/3234 and\n // https://github.com/getsentry/sentry-javascript/issues/3278.\n if (!hub.captureSession) {\n return;\n }\n\n // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n startSessionOnHub(hub);\n\n // We want to create a session for every navigation as well\n addInstrumentationHandler('history', ({ from, to }) => {\n // Don't create an additional session for the initial route or if the location did not change\n if (!(from === undefined || from === to)) {\n startSessionOnHub(getCurrentHub());\n }\n });\n}\n","import { Client, ClientOptions } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { getCurrentHub } from './hub';\n\n/** A class object that can instantiate Client objects. */\nexport type ClientClass<F extends Client, O extends ClientOptions> = new (options: O) => F;\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nexport function initAndBind<F extends Client, O extends ClientOptions>(\n clientClass: ClientClass<F, O>,\n options: O,\n): void {\n if (options.debug === true) {\n if (__DEBUG_BUILD__) {\n logger.enable();\n } else {\n // use `console.warn` rather than `logger.warn` since by non-debug bundles have all `logger.x` statements stripped\n // eslint-disable-next-line no-console\n console.warn('[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.');\n }\n }\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n scope.update(options.initialScope);\n }\n\n const client = new clientClass(options);\n hub.bindClient(client);\n}\n","import { WINDOW } from '@sentry/browser';\nimport { Transaction, TransactionSource } from '@sentry/types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\n\nimport { Action, Location, ReactRouterInstrumentation } from './types';\n\n// We need to disable eslint no-explict-any because any is required for the\n// react-router typings.\n/* eslint-disable @typescript-eslint/no-explicit-any */\ntype Match = { path: string; url: string; params: Record<string, any>; isExact: boolean };\n\nexport type RouterHistory = {\n location?: Location;\n listen?(cb: (location: Location, action: Action) => void): void;\n} & Record<string, any>;\n\nexport type RouteConfig = {\n [propName: string]: any;\n path?: string | string[];\n exact?: boolean;\n component?: JSX.Element;\n routes?: RouteConfig[];\n};\n\ntype MatchPath = (pathname: string, props: string | string[] | any, parent?: Match | null) => Match | null;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nlet activeTransaction: Transaction | undefined;\n\nexport function reactRouterV4Instrumentation(\n history: RouterHistory,\n routes?: RouteConfig[],\n matchPath?: MatchPath,\n): ReactRouterInstrumentation {\n return createReactRouterInstrumentation(history, 'react-router-v4', routes, matchPath);\n}\n\nexport function reactRouterV5Instrumentation(\n history: RouterHistory,\n routes?: RouteConfig[],\n matchPath?: MatchPath,\n): ReactRouterInstrumentation {\n return createReactRouterInstrumentation(history, 'react-router-v5', routes, matchPath);\n}\n\nfunction createReactRouterInstrumentation(\n history: RouterHistory,\n name: string,\n allRoutes: RouteConfig[] = [],\n matchPath?: MatchPath,\n): ReactRouterInstrumentation {\n function getInitPathName(): string | undefined {\n if (history && history.location) {\n return history.location.pathname;\n }\n\n if (WINDOW && WINDOW.location) {\n return WINDOW.location.pathname;\n }\n\n return undefined;\n }\n\n /**\n * Normalizes a transaction name. Returns the new name as well as the\n * source of the transaction.\n *\n * @param pathname The initial pathname we normalize\n */\n function normalizeTransactionName(pathname: string): [string, TransactionSource] {\n if (allRoutes.length === 0 || !matchPath) {\n return [pathname, 'url'];\n }\n\n const branches = matchRoutes(allRoutes, pathname, matchPath);\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let x = 0; x < branches.length; x++) {\n if (branches[x].match.isExact) {\n return [branches[x].match.path, 'route'];\n }\n }\n\n return [pathname, 'url'];\n }\n\n const tags = {\n 'routing.instrumentation': name,\n };\n\n return (customStartTransaction, startTransactionOnPageLoad = true, startTransactionOnLocationChange = true): void => {\n const initPathName = getInitPathName();\n if (startTransactionOnPageLoad && initPathName) {\n const [name, source] = normalizeTransactionName(initPathName);\n activeTransaction = customStartTransaction({\n name,\n op: 'pageload',\n tags,\n metadata: {\n source,\n },\n });\n }\n\n if (startTransactionOnLocationChange && history.listen) {\n history.listen((location, action) => {\n if (action && (action === 'PUSH' || action === 'POP')) {\n if (activeTransaction) {\n activeTransaction.finish();\n }\n\n const [name, source] = normalizeTransactionName(location.pathname);\n activeTransaction = customStartTransaction({\n name,\n op: 'navigation',\n tags,\n metadata: {\n source,\n },\n });\n }\n });\n }\n };\n}\n\n/**\n * Matches a set of routes to a pathname\n * Based on implementation from\n */\nfunction matchRoutes(\n routes: RouteConfig[],\n pathname: string,\n matchPath: MatchPath,\n branch: Array<{ route: RouteConfig; match: Match }> = [],\n): Array<{ route: RouteConfig; match: Match }> {\n routes.some(route => {\n const match = route.path\n ? matchPath(pathname, route)\n : branch.length\n ? branch[branch.length - 1].match // use parent match\n : computeRootMatch(pathname); // use default \"root\" match\n\n if (match) {\n branch.push({ route, match });\n\n if (route.routes) {\n matchRoutes(route.routes, pathname, matchPath, branch);\n }\n }\n\n return !!match;\n });\n\n return branch;\n}\n\nfunction computeRootMatch(pathname: string): Match {\n return { path: '/', url: '/', params: {}, isExact: pathname === '/' };\n}\n\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\nexport function withSentryRouting<P extends Record<string, any>, R extends React.ComponentType<P>>(Route: R): R {\n const componentDisplayName = (Route as any).displayName || (Route as any).name;\n\n const WrappedRoute: React.FC<P> = (props: P) => {\n if (activeTransaction && props && props.computedMatch && props.computedMatch.isExact) {\n activeTransaction.setName(props.computedMatch.path, 'route');\n }\n\n // @ts-ignore Setting more specific React Component typing for `R` generic above\n // will break advanced type inference done by react router params:\n // https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164\n return <Route {...props} />;\n };\n\n WrappedRoute.displayName = `sentryRoute(${componentDisplayName})`;\n hoistNonReactStatics(WrappedRoute, Route);\n // @ts-ignore Setting more specific React Component typing for `R` generic above\n // will break advanced type inference done by react router params:\n // https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13dc4235c069e25fe7ee16e11f529d909f9f3ff8/types/react-router/index.d.ts#L154-L164\n return WrappedRoute;\n}\n/* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n","export * from './exports';\n\nimport { Integrations as CoreIntegrations } from '@sentry/core';\n\nimport { WINDOW } from './helpers';\nimport * as BrowserIntegrations from './integrations';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nif (WINDOW.Sentry && WINDOW.Sentry.Integrations) {\n windowIntegrations = WINDOW.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...CoreIntegrations,\n ...BrowserIntegrations,\n};\n\nexport { INTEGRATIONS as Integrations };\n\n// DO NOT DELETE THESE COMMENTS!\n// We want to exclude Replay from CDN bundles, so we remove the block below with our\n// excludeReplay Rollup plugin when generating bundles. Everything between\n// ROLLUP_EXCLUDE_FROM_BUNDLES_BEGIN and _END__ is removed for bundles.\n\n// __ROLLUP_EXCLUDE_FROM_BUNDLES_BEGIN__\nexport { Replay } from '@sentry/replay';\n// __ROLLUP_EXCLUDE_FROM_BUNDLES_END__\n","import type { TraceparentData } from '@sentry/types';\n\nexport const TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nexport function extractTraceparentData(traceparent: string): TraceparentData | undefined {\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n\n if (!traceparent || !matches) {\n // empty string or no matches is invalid traceparent data\n return undefined;\n }\n\n let parentSampled: boolean | undefined;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n}\n","import type { DynamicSamplingContext } from '@sentry/types';\n\nimport { isString } from './is';\nimport { logger } from './logger';\n\nexport const BAGGAGE_HEADER_NAME = 'baggage';\n\nexport const SENTRY_BAGGAGE_KEY_PREFIX = 'sentry-';\n\nexport const SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\n\n/**\n * Max length of a serialized baggage string\n *\n * https://www.w3.org/TR/baggage/#limits\n */\nexport const MAX_BAGGAGE_STRING_LENGTH = 8192;\n\n/**\n * Takes a baggage header and turns it into Dynamic Sampling Context, by extracting all the \"sentry-\" prefixed values\n * from it.\n *\n * @param baggageHeader A very bread definition of a baggage header as it might appear in various frameworks.\n * @returns The Dynamic Sampling Context that was found on `baggageHeader`, if there was any, `undefined` otherwise.\n */\nexport function baggageHeaderToDynamicSamplingContext(\n // Very liberal definition of what any incoming header might look like\n baggageHeader: string | string[] | number | null | undefined | boolean,\n): Partial<DynamicSamplingContext> | undefined {\n if (!isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n return undefined;\n }\n\n // Intermediary object to store baggage key value pairs of incoming baggage headers on.\n // It is later used to read Sentry-DSC-values from.\n let baggageObject: Readonly<Record<string, string>> = {};\n\n if (Array.isArray(baggageHeader)) {\n // Combine all baggage headers into one object containing the baggage values so we can later read the Sentry-DSC-values from it\n baggageObject = baggageHeader.reduce<Record<string, string>>((acc, curr) => {\n const currBaggageObject = baggageHeaderToObject(curr);\n return {\n ...acc,\n ...currBaggageObject,\n };\n }, {});\n } else {\n // Return undefined if baggage header is an empty string (technically an empty baggage header is not spec conform but\n // this is how we choose to handle it)\n if (!baggageHeader) {\n return undefined;\n }\n\n baggageObject = baggageHeaderToObject(baggageHeader);\n }\n\n // Read all \"sentry-\" prefixed values out of the baggage object and put it onto a dynamic sampling context object.\n const dynamicSamplingContext = Object.entries(baggageObject).reduce<Record<string, string>>((acc, [key, value]) => {\n if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n const nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n acc[nonPrefixedKey] = value;\n }\n return acc;\n }, {});\n\n // Only return a dynamic sampling context object if there are keys in it.\n // A keyless object means there were no sentry values on the header, which means that there is no DSC.\n if (Object.keys(dynamicSamplingContext).length > 0) {\n return dynamicSamplingContext as Partial<DynamicSamplingContext>;\n } else {\n return undefined;\n }\n}\n\n/**\n * Turns a Dynamic Sampling Object into a baggage header by prefixing all the keys on the object with \"sentry-\".\n *\n * @param dynamicSamplingContext The Dynamic Sampling Context to turn into a header. For convenience and compatibility\n * with the `getDynamicSamplingContext` method on the Transaction class ,this argument can also be `undefined`. If it is\n * `undefined` the function will return `undefined`.\n * @returns a baggage header, created from `dynamicSamplingContext`, or `undefined` either if `dynamicSamplingContext`\n * was `undefined`, or if `dynamicSamplingContext` didn't contain any values.\n */\nexport function dynamicSamplingContextToSentryBaggageHeader(\n // this also takes undefined for convenience and bundle size in other places\n dynamicSamplingContext: Partial<DynamicSamplingContext>,\n): string | undefined {\n // Prefix all DSC keys with \"sentry-\" and put them into a new object\n const sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce<Record<string, string>>(\n (acc, [dscKey, dscValue]) => {\n if (dscValue) {\n acc[`${SENTRY_BAGGAGE_KEY_PREFIX}${dscKey}`] = dscValue;\n }\n return acc;\n },\n {},\n );\n\n return objectToBaggageHeader(sentryPrefixedDSC);\n}\n\n/**\n * Will parse a baggage header, which is a simple key-value map, into a flat object.\n *\n * @param baggageHeader The baggage header to parse.\n * @returns a flat object containing all the key-value pairs from `baggageHeader`.\n */\nfunction baggageHeaderToObject(baggageHeader: string): Record<string, string> {\n return baggageHeader\n .split(',')\n .map(baggageEntry => baggageEntry.split('=').map(keyOrValue => decodeURIComponent(keyOrValue.trim())))\n .reduce<Record<string, string>>((acc, [key, value]) => {\n acc[key] = value;\n return acc;\n }, {});\n}\n\n/**\n * Turns a flat object (key-value pairs) into a baggage header, which is also just key-value pairs.\n *\n * @param object The object to turn into a baggage header.\n * @returns a baggage header string, or `undefined` if the object didn't have any values, since an empty baggage header\n * is not spec compliant.\n */\nfunction objectToBaggageHeader(object: Record<string, string>): string | undefined {\n if (Object.keys(object).length === 0) {\n // An empty baggage header is not spec compliant: We return undefined.\n return undefined;\n }\n\n return Object.entries(object).reduce((baggageHeader, [objectKey, objectValue], currentIndex) => {\n const baggageEntry = `${encodeURIComponent(objectKey)}=${encodeURIComponent(objectValue)}`;\n const newBaggageHeader = currentIndex === 0 ? baggageEntry : `${baggageHeader},${baggageEntry}`;\n if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `Not adding key: ${objectKey} with val: ${objectValue} to baggage header due to exceeding baggage size limits.`,\n );\n return baggageHeader;\n } else {\n return newBaggageHeader;\n }\n }, '');\n}\n","import { isString } from './is';\nimport { getGlobalObject } from './worldwide';\n\n// eslint-disable-next-line deprecation/deprecation\nconst WINDOW = getGlobalObject<Window>();\n\nconst DEFAULT_MAX_STRING_LENGTH = 80;\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(\n elem: unknown,\n options: string[] | { keyAttrs?: string[]; maxStringLength?: number } = {},\n): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n const maxStringLength = (!Array.isArray(options) && options.maxStringLength) || DEFAULT_MAX_STRING_LENGTH;\n\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds maxStringLength\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['aria-label', 'type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n try {\n return WINDOW.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n\n/**\n * Gets a DOM element by using document.querySelector.\n *\n * This wrapper will first check for the existance of the function before\n * actually calling it so that we don't have to take care of this check,\n * every time we want to access the DOM.\n *\n * Reason: DOM/querySelector is not available in all environments.\n *\n * We have to cast to any because utils can be consumed by a variety of environments,\n * and we don't want to break TS users. If you know what element will be selected by\n * `document.querySelector`, specify it as part of the generic call. For example,\n * `const element = getDomElement<Element>('selector');`\n *\n * @param selector the selector string passed on to document.querySelector\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function getDomElement<E = any>(selector: string): E | null {\n if (WINDOW.document && WINDOW.document.querySelector) {\n return WINDOW.document.querySelector(selector) as unknown as E;\n }\n return null;\n}\n","import { GLOBAL_OBJ } from '@sentry/utils';\n\nexport const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { Metric, ReportCallback } from '../types';\n\nexport const bindReporter = (\n callback: ReportCallback,\n metric: Metric,\n reportAllChanges?: boolean,\n): ((forceReport?: boolean) => void) => {\n let prevValue: number;\n let delta: number;\n return (forceReport?: boolean) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (delta || prevValue === undefined) {\n prevValue = metric.value;\n metric.delta = delta;\n callback(metric);\n }\n }\n }\n };\n};\n","/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WINDOW } from '../../types';\nimport type { NavigationTimingPolyfillEntry } from '../types';\n\nconst getNavigationEntryFromPerformanceTiming = (): NavigationTimingPolyfillEntry => {\n // eslint-disable-next-line deprecation/deprecation\n const timing = WINDOW.performance.timing;\n // eslint-disable-next-line deprecation/deprecation\n const type = WINDOW.performance.navigation.type;\n\n const navigationEntry: { [key: string]: number | string } = {\n entryType: 'navigation',\n startTime: 0,\n type: type == 2 ? 'back_forward' : type === 1 ? 'reload' : 'navigate',\n };\n\n for (const key in timing) {\n if (key !== 'navigationStart' && key !== 'toJSON') {\n navigationEntry[key] = Math.max((timing[key as keyof PerformanceTiming] as number) - timing.navigationStart, 0);\n }\n }\n return navigationEntry as unknown as NavigationTimingPolyfillEntry;\n};\n\nexport const getNavigationEntry = (): PerformanceNavigationTiming | NavigationTimingPolyfillEntry | undefined => {\n if (WINDOW.__WEB_VITALS_POLYFILL__) {\n return (\n WINDOW.performance &&\n ((performance.getEntriesByType && performance.getEntriesByType('navigation')[0]) ||\n getNavigationEntryFromPerformanceTiming())\n );\n } else {\n return WINDOW.performance && performance.getEntriesByType && performance.getEntriesByType('navigation')[0];\n }\n};\n","/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getNavigationEntry } from './getNavigationEntry';\n\nexport const getActivationStart = (): number => {\n const navEntry = getNavigationEntry();\n return (navEntry && navEntry.activationStart) || 0;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WINDOW } from '../../types';\nimport type { Metric } from '../types';\nimport { generateUniqueID } from './generateUniqueID';\nimport { getActivationStart } from './getActivationStart';\nimport { getNavigationEntry } from './getNavigationEntry';\n\nexport const initMetric = (name: Metric['name'], value?: number): Metric => {\n const navEntry = getNavigationEntry();\n let navigationType: Metric['navigationType'] = 'navigate';\n\n if (navEntry) {\n if (WINDOW.document.prerendering || getActivationStart() > 0) {\n navigationType = 'prerender';\n } else {\n navigationType = navEntry.type.replace(/_/g, '-') as Metric['navigationType'];\n }\n }\n\n return {\n name,\n value: typeof value === 'undefined' ? -1 : value,\n rating: 'good', // Will be updated if the value changes.\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n navigationType,\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nexport const generateUniqueID = (): string => {\n return `v3-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { FirstInputPolyfillEntry, NavigationTimingPolyfillEntry, PerformancePaintTiming } from '../types';\n\nexport interface PerformanceEntryHandler {\n (entry: PerformanceEntry): void;\n}\n\ninterface PerformanceEntryMap {\n event: PerformanceEventTiming[];\n paint: PerformancePaintTiming[];\n 'layout-shift': LayoutShift[];\n 'largest-contentful-paint': LargestContentfulPaint[];\n 'first-input': PerformanceEventTiming[] | FirstInputPolyfillEntry[];\n navigation: PerformanceNavigationTiming[] | NavigationTimingPolyfillEntry[];\n resource: PerformanceResourceTiming[];\n longtask: PerformanceEntry[];\n}\n\n/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nexport const observe = <K extends keyof PerformanceEntryMap>(\n type: K,\n callback: (entries: PerformanceEntryMap[K]) => void,\n opts?: PerformanceObserverInit,\n): PerformanceObserver | undefined => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n const po = new PerformanceObserver(list => {\n callback(list.getEntries() as PerformanceEntryMap[K]);\n });\n po.observe(\n Object.assign(\n {\n type,\n buffered: true,\n },\n opts || {},\n ) as PerformanceObserverInit,\n );\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WINDOW } from '../../types';\n\nexport interface OnHiddenCallback {\n (event: Event): void;\n}\n\nexport const onHidden = (cb: OnHiddenCallback, once?: boolean): void => {\n const onHiddenOrPageHide = (event: Event): void => {\n if (event.type === 'pagehide' || WINDOW.document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { initMetric } from './lib/initMetric';\nimport { observe } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport type { CLSMetric, ReportCallback, StopListening } from './types';\n\n/**\n * Calculates the [CLS](https://web.dev/cls/) value for the current page and\n * calls the `callback` function once the value is ready to be reported, along\n * with all `layout-shift` performance entries that were used in the metric\n * value calculation. The reported value is a `double` (corresponding to a\n * [layout shift score](https://web.dev/cls/#layout-shift-score)).\n *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called as soon as the value is initially\n * determined as well as any time the value changes throughout the page\n * lifespan.\n *\n * _**Important:** CLS should be continually monitored for changes throughout\n * the entire lifespan of a page—including if the user returns to the page after\n * it's been hidden/backgrounded. However, since browsers often [will not fire\n * additional callbacks once the user has backgrounded a\n * page](https://developer.chrome.com/blog/page-lifecycle-api/#advice-hidden),\n * `callback` is always called when the page's visibility state changes to\n * hidden. As a result, the `callback` function might be called multiple times\n * during the same page load._\n */\nexport const onCLS = (onReport: ReportCallback): StopListening | undefined => {\n const metric = initMetric('CLS', 0);\n let report: ReturnType<typeof bindReporter>;\n\n let sessionValue = 0;\n let sessionEntries: PerformanceEntry[] = [];\n\n // const handleEntries = (entries: Metric['entries']) => {\n const handleEntries = (entries: LayoutShift[]): void => {\n entries.forEach(entry => {\n // Only count layout shifts without recent user input.\n if (!entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n });\n };\n\n const po = observe('layout-shift', handleEntries);\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = (): void => {\n handleEntries(po.takeRecords() as CLSMetric['entries']);\n report(true);\n };\n\n onHidden(stopListening);\n\n return stopListening;\n }\n\n return;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WINDOW } from '../../types';\nimport { onHidden } from './onHidden';\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = (): number => {\n // If the document is hidden and not prerendering, assume it was always\n // hidden and the page was loaded in the background.\n return WINDOW.document.visibilityState === 'hidden' && !WINDOW.document.prerendering ? 0 : Infinity;\n};\n\nconst trackChanges = (): void => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nexport const getVisibilityWatcher = (): {\n readonly firstHiddenTime: number;\n} => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport type { FIDMetric, PerformanceEventTiming, ReportCallback } from './types';\n\n/**\n * Calculates the [FID](https://web.dev/fid/) value for the current page and\n * calls the `callback` function once the value is ready, along with the\n * relevant `first-input` performance entry used to determine the value. The\n * reported value is a `DOMHighResTimeStamp`.\n *\n * _**Important:** since FID is only reported after the user interacts with the\n * page, it's possible that it will not be reported for some page loads._\n */\nexport const onFID = (onReport: ReportCallback): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n // eslint-disable-next-line prefer-const\n let report: ReturnType<typeof bindReporter>;\n\n const handleEntry = (entry: PerformanceEventTiming): void => {\n // Only report if the page wasn't hidden prior to the first input.\n if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const handleEntries = (entries: FIDMetric['entries']): void => {\n (entries as PerformanceEventTiming[]).forEach(handleEntry);\n };\n\n const po = observe('first-input', handleEntries);\n report = bindReporter(onReport, metric);\n\n if (po) {\n onHidden(() => {\n handleEntries(po.takeRecords() as FIDMetric['entries']);\n po.disconnect();\n }, true);\n }\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getActivationStart } from './lib/getActivationStart';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport type { LCPMetric, ReportCallback, StopListening } from './types';\n\nconst reportedMetricIDs: Record<string, boolean> = {};\n\n/**\n * Calculates the [LCP](https://web.dev/lcp/) value for the current page and\n * calls the `callback` function once the value is ready (along with the\n * relevant `largest-contentful-paint` performance entry used to determine the\n * value). The reported value is a `DOMHighResTimeStamp`.\n */\nexport const onLCP = (onReport: ReportCallback): StopListening | undefined => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report: ReturnType<typeof bindReporter>;\n\n const handleEntries = (entries: LCPMetric['entries']): void => {\n const lastEntry = entries[entries.length - 1] as LargestContentfulPaint;\n if (lastEntry) {\n // The startTime attribute returns the value of the renderTime if it is\n // not 0, and the value of the loadTime otherwise. The activationStart\n // reference is used because LCP should be relative to page activation\n // rather than navigation start if the page was prerendered.\n const value = Math.max(lastEntry.startTime - getActivationStart(), 0);\n\n // Only report if the page wasn't hidden prior to LCP.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries = [lastEntry];\n report();\n }\n }\n };\n\n const po = observe('largest-contentful-paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric);\n\n const stopListening = (): void => {\n if (!reportedMetricIDs[metric.id]) {\n handleEntries(po.takeRecords() as LCPMetric['entries']);\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n\n return stopListening;\n }\n\n return;\n};\n","import type { Transaction } from '@sentry/core';\nimport type { Span, SpanContext } from '@sentry/types';\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nexport function isMeasurementValue(value: unknown): value is number {\n return typeof value === 'number' && isFinite(value);\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n */\nexport function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n transaction.startTimestamp = startTimestamp;\n }\n\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n","/* eslint-disable max-lines */\nimport type { IdleTransaction, Transaction } from '@sentry/core';\nimport { getActiveTransaction } from '@sentry/core';\nimport type { Measurements } from '@sentry/types';\nimport { browserPerformanceTimeOrigin, htmlTreeAsString, logger } from '@sentry/utils';\n\nimport { WINDOW } from '../types';\nimport { onCLS } from '../web-vitals/getCLS';\nimport { onFID } from '../web-vitals/getFID';\nimport { onLCP } from '../web-vitals/getLCP';\nimport { getVisibilityWatcher } from '../web-vitals/lib/getVisibilityWatcher';\nimport { observe } from '../web-vitals/lib/observe';\nimport type { NavigatorDeviceMemory, NavigatorNetworkInformation } from '../web-vitals/types';\nimport { _startChild, isMeasurementValue } from './utils';\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nfunction msToSec(time: number): number {\n return time / 1000;\n}\n\nfunction getBrowserPerformanceAPI(): Performance | undefined {\n return WINDOW && WINDOW.addEventListener && WINDOW.performance;\n}\n\nlet _performanceCursor: number = 0;\n\nlet _measurements: Measurements = {};\nlet _lcpEntry: LargestContentfulPaint | undefined;\nlet _clsEntry: LayoutShift | undefined;\n\n/**\n * Start tracking web vitals\n *\n * @returns A function that forces web vitals collection\n */\nexport function startTrackingWebVitals(): () => void {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n if (performance.mark) {\n WINDOW.performance.mark('sentry-tracing-init');\n }\n _trackFID();\n const clsCallback = _trackCLS();\n const lcpCallback = _trackLCP();\n\n return (): void => {\n if (clsCallback) {\n clsCallback();\n }\n if (lcpCallback) {\n lcpCallback();\n }\n };\n }\n\n return () => undefined;\n}\n\n/**\n * Start tracking long tasks.\n */\nexport function startTrackingLongTasks(): void {\n const entryHandler = (entries: PerformanceEntry[]): void => {\n for (const entry of entries) {\n const transaction = getActiveTransaction() as IdleTransaction | undefined;\n if (!transaction) {\n return;\n }\n const startTime = msToSec((browserPerformanceTimeOrigin as number) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n transaction.startChild({\n description: 'Main UI thread blocked',\n op: 'ui.long-task',\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n });\n }\n };\n\n observe('longtask', entryHandler);\n}\n\n/**\n * Start tracking interaction events.\n */\nexport function startTrackingInteractions(): void {\n const entryHandler = (entries: PerformanceEventTiming[]): void => {\n for (const entry of entries) {\n const transaction = getActiveTransaction() as IdleTransaction | undefined;\n if (!transaction) {\n return;\n }\n\n if (entry.name === 'click') {\n const startTime = msToSec((browserPerformanceTimeOrigin as number) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n transaction.startChild({\n description: htmlTreeAsString(entry.target),\n op: `ui.interaction.${entry.name}`,\n startTimestamp: startTime,\n endTimestamp: startTime + duration,\n });\n }\n }\n };\n\n observe('event', entryHandler, { durationThreshold: 0 });\n}\n\n/** Starts tracking the Cumulative Layout Shift on the current page. */\nfunction _trackCLS(): ReturnType<typeof onCLS> {\n // See:\n // https://web.dev/evolving-cls/\n // https://web.dev/cls-web-tooling/\n return onCLS(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding CLS');\n _measurements['cls'] = { value: metric.value, unit: '' };\n _clsEntry = entry as LayoutShift;\n });\n}\n\n/** Starts tracking the Largest Contentful Paint on the current page. */\nfunction _trackLCP(): ReturnType<typeof onLCP> {\n return onLCP(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding LCP');\n _measurements['lcp'] = { value: metric.value, unit: 'millisecond' };\n _lcpEntry = entry as LargestContentfulPaint;\n });\n}\n\n/** Starts tracking the First Input Delay on the current page. */\nfunction _trackFID(): void {\n onFID(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime);\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding FID');\n _measurements['fid'] = { value: metric.value, unit: 'millisecond' };\n _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };\n });\n}\n\n/** Add performance related spans to a transaction */\nexport function addPerformanceEntries(transaction: Transaction): void {\n const performance = getBrowserPerformanceAPI();\n if (!performance || !WINDOW.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n __DEBUG_BUILD__ && logger.log('[Tracing] Adding & adjusting spans using Performance API');\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n const performanceEntries = performance.getEntries();\n\n let responseStartTimestamp: number | undefined;\n let requestStartTimestamp: number | undefined;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n performanceEntries.slice(_performanceCursor).forEach((entry: Record<string, any>) => {\n const startTime = msToSec(entry.startTime);\n const duration = msToSec(entry.duration);\n\n if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n _addNavigationSpans(transaction, entry, timeOrigin);\n responseStartTimestamp = timeOrigin + msToSec(entry.responseStart);\n requestStartTimestamp = timeOrigin + msToSec(entry.requestStart);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n _addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n\n // capture web vitals\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding FP');\n _measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding FCP');\n _measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n break;\n }\n case 'resource': {\n const resourceName = (entry.name as string).replace(WINDOW.location.origin, '');\n _addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin);\n break;\n }\n default:\n // Ignore other entry types.\n }\n });\n\n _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n\n _trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (transaction.op === 'pageload') {\n // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the\n // start of the response in milliseconds\n if (typeof responseStartTimestamp === 'number') {\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding TTFB');\n _measurements['ttfb'] = {\n value: (responseStartTimestamp - transaction.startTimestamp) * 1000,\n unit: 'millisecond',\n };\n\n if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) {\n // Capture the time spent making the request and receiving the first byte of the response.\n // This is the time between the start of the request and the start of the response in milliseconds.\n _measurements['ttfb.requestTime'] = {\n value: (responseStartTimestamp - requestStartTimestamp) * 1000,\n unit: 'millisecond',\n };\n }\n }\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!_measurements[name] || timeOrigin >= transaction.startTimestamp) {\n return;\n }\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n const oldValue = _measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000);\n const delta = normalizedValue - oldValue;\n\n __DEBUG_BUILD__ &&\n logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n _measurements[name].value = normalizedValue;\n });\n\n const fidMark = _measurements['mark.fid'];\n if (fidMark && _measurements['fid']) {\n // create span for FID\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: fidMark.value + msToSec(_measurements['fid'].value),\n op: 'ui.action',\n startTimestamp: fidMark.value,\n });\n\n // Delete mark.fid as we don't want it to be part of final payload\n delete _measurements['mark.fid'];\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in _measurements)) {\n delete _measurements.cls;\n }\n\n Object.keys(_measurements).forEach(measurementName => {\n transaction.setMeasurement(\n measurementName,\n _measurements[measurementName].value,\n _measurements[measurementName].unit,\n );\n });\n\n _tagMetricInfo(transaction);\n }\n\n _lcpEntry = undefined;\n _clsEntry = undefined;\n _measurements = {};\n}\n\n/** Create measure related spans */\nexport function _addMeasureSpans(\n transaction: Transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry: Record<string, any>,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): number {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name as string,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType as string,\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\n/** Instrument navigation entries */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addNavigationSpans(transaction: Transaction, entry: Record<string, any>, timeOrigin: number): void {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n _addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n _addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n _addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n _addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n _addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create performance navigation related spans */\nfunction _addPerformanceNavigationTiming(\n transaction: Transaction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry: Record<string, any>,\n event: string,\n timeOrigin: number,\n description?: string,\n eventEnd?: string,\n): void {\n const end = eventEnd ? (entry[eventEnd] as number | undefined) : (entry[`${event}End`] as number | undefined);\n const start = entry[`${event}Start`] as number | undefined;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n description: description || event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addRequest(transaction: Transaction, entry: Record<string, any>, timeOrigin: number): void {\n _startChild(transaction, {\n op: 'browser',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n\n _startChild(transaction, {\n op: 'browser',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n}\n\nexport interface ResourceEntry extends Record<string, unknown> {\n initiatorType?: string;\n transferSize?: number;\n encodedBodySize?: number;\n decodedBodySize?: number;\n renderBlockingStatus?: string;\n}\n\n/** Create resource-related spans */\nexport function _addResourceSpans(\n transaction: Transaction,\n entry: ResourceEntry,\n resourceName: string,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): void {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const data: Record<string, any> = {};\n if ('transferSize' in entry) {\n data['http.response_transfer_size'] = entry.transferSize;\n }\n if ('encodedBodySize' in entry) {\n data['http.response_content_length'] = entry.encodedBodySize;\n }\n if ('decodedBodySize' in entry) {\n data['http.decoded_response_content_length'] = entry.decodedBodySize;\n }\n if ('renderBlockingStatus' in entry) {\n data['resource.render_blocking_status'] = entry.renderBlockingStatus;\n }\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceName,\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource.other',\n startTimestamp,\n data,\n });\n}\n\n/**\n * Capture the information of the user agent.\n */\nfunction _trackNavigator(transaction: Transaction): void {\n const navigator = WINDOW.navigator as null | (Navigator & NavigatorNetworkInformation & NavigatorDeviceMemory);\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n _measurements['connection.rtt'] = { value: connection.rtt, unit: 'millisecond' };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n transaction.setTag('deviceMemory', `${navigator.deviceMemory} GB`);\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction _tagMetricInfo(transaction: Transaction): void {\n if (_lcpEntry) {\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (_lcpEntry.element) {\n transaction.setTag('lcp.element', htmlTreeAsString(_lcpEntry.element));\n }\n\n if (_lcpEntry.id) {\n transaction.setTag('lcp.id', _lcpEntry.id);\n }\n\n if (_lcpEntry.url) {\n // Trim URL to the first 200 characters.\n transaction.setTag('lcp.url', _lcpEntry.url.trim().slice(0, 200));\n }\n\n transaction.setTag('lcp.size', _lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (_clsEntry && _clsEntry.sources) {\n __DEBUG_BUILD__ && logger.log('[Measurements] Adding CLS Data');\n _clsEntry.sources.forEach((source, index) =>\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n","import { isRegExp, isString } from './is';\n\nexport { escapeStringForRegex } from './vendor/escapeStringForRegex';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.slice(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the given value matches a regex or string\n *\n * @param value The string to test\n * @param pattern Either a regex or a string against which `value` will be matched\n * @param requireExactStringMatch If true, `value` must match `pattern` exactly. If false, `value` will match\n * `pattern` if it contains `pattern`. Only applies to string-type patterns.\n */\nexport function isMatchingPattern(\n value: string,\n pattern: RegExp | string,\n requireExactStringMatch: boolean = false,\n): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n if (isString(pattern)) {\n return requireExactStringMatch ? value === pattern : value.includes(pattern);\n }\n\n return false;\n}\n\n/**\n * Test the given string against an array of strings and regexes. By default, string matching is done on a\n * substring-inclusion basis rather than a strict equality basis\n *\n * @param testString The string to test\n * @param patterns The patterns against which to test the string\n * @param requireExactStringMatch If true, `testString` must match one of the given string patterns exactly in order to\n * count. If false, `testString` will match a string pattern if it contains that pattern.\n * @returns\n */\nexport function stringMatchesSomePattern(\n testString: string,\n patterns: Array<string | RegExp> = [],\n requireExactStringMatch: boolean = false,\n): boolean {\n return patterns.some(pattern => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\n","/* eslint-disable max-lines */\nimport { getCurrentHub, hasTracingEnabled } from '@sentry/core';\nimport type { DynamicSamplingContext, Span } from '@sentry/types';\nimport {\n addInstrumentationHandler,\n BAGGAGE_HEADER_NAME,\n dynamicSamplingContextToSentryBaggageHeader,\n isInstanceOf,\n SENTRY_XHR_DATA_KEY,\n stringMatchesSomePattern,\n} from '@sentry/utils';\n\nexport const DEFAULT_TRACE_PROPAGATION_TARGETS = ['localhost', /^\\/(?!\\/)/];\n\n/** Options for Request Instrumentation */\nexport interface RequestInstrumentationOptions {\n /**\n * @deprecated Will be removed in v8.\n * Use `shouldCreateSpanForRequest` to control span creation and `tracePropagationTargets` to control\n * trace header attachment.\n */\n tracingOrigins: Array<string | RegExp>;\n\n /**\n * List of strings and/or regexes used to determine which outgoing requests will have `sentry-trace` and `baggage`\n * headers attached.\n *\n * Default: ['localhost', /^\\//] {@see DEFAULT_TRACE_PROPAGATION_TARGETS}\n */\n tracePropagationTargets: Array<string | RegExp>;\n\n /**\n * Flag to disable patching all together for fetch requests.\n *\n * Default: true\n */\n traceFetch: boolean;\n\n /**\n * Flag to disable patching all together for xhr requests.\n *\n * Default: true\n */\n traceXHR: boolean;\n\n /**\n * This function will be called before creating a span for a request with the given url.\n * Return false if you don't want a span for the given url.\n *\n * Default: (url: string) => true\n */\n shouldCreateSpanForRequest?(this: void, url: string): boolean;\n}\n\n/** Data returned from fetch callback */\nexport interface FetchData {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n args: any[]; // the arguments passed to the fetch call itself\n fetchData?: {\n method: string;\n url: string;\n // span_id\n __span?: string;\n };\n\n // TODO Should this be unknown instead? If we vendor types, make it a Response\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response?: any;\n error?: unknown;\n\n startTimestamp: number;\n endTimestamp?: number;\n}\n\n/** Data returned from XHR request */\nexport interface XHRData {\n xhr?: {\n [SENTRY_XHR_DATA_KEY]?: {\n method: string;\n url: string;\n status_code: number;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: Record<string, any>;\n };\n __sentry_xhr_span_id__?: string;\n setRequestHeader?: (key: string, val: string) => void;\n getRequestHeader?: (key: string) => string;\n __sentry_own_request__?: boolean;\n };\n startTimestamp: number;\n endTimestamp?: number;\n}\n\ntype PolymorphicRequestHeaders =\n | Record<string, string | undefined>\n | Array<[string, string]>\n // the below is not preicsely the Header type used in Request, but it'll pass duck-typing\n | {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n append: (key: string, value: string) => void;\n get: (key: string) => string | null | undefined;\n };\n\nexport const defaultRequestInstrumentationOptions: RequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n // TODO (v8): Remove this property\n tracingOrigins: DEFAULT_TRACE_PROPAGATION_TARGETS,\n tracePropagationTargets: DEFAULT_TRACE_PROPAGATION_TARGETS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nexport function instrumentOutgoingRequests(_options?: Partial<RequestInstrumentationOptions>): void {\n // eslint-disable-next-line deprecation/deprecation\n const { traceFetch, traceXHR, tracePropagationTargets, tracingOrigins, shouldCreateSpanForRequest } = {\n traceFetch: defaultRequestInstrumentationOptions.traceFetch,\n traceXHR: defaultRequestInstrumentationOptions.traceXHR,\n ..._options,\n };\n\n const shouldCreateSpan =\n typeof shouldCreateSpanForRequest === 'function' ? shouldCreateSpanForRequest : (_: string) => true;\n\n // TODO(v8) Remove tracingOrigins here\n // The only reason we're passing it in here is because this instrumentOutgoingRequests function is publicly exported\n // and we don't want to break the API. We can remove it in v8.\n const shouldAttachHeadersWithTargets = (url: string): boolean =>\n shouldAttachHeaders(url, tracePropagationTargets || tracingOrigins);\n\n const spans: Record<string, Span> = {};\n\n if (traceFetch) {\n addInstrumentationHandler('fetch', (handlerData: FetchData) => {\n fetchCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n });\n }\n\n if (traceXHR) {\n addInstrumentationHandler('xhr', (handlerData: XHRData) => {\n xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n });\n }\n}\n\n/**\n * A function that determines whether to attach tracing headers to a request.\n * This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.\n * We only export this fuction for testing purposes.\n */\nexport function shouldAttachHeaders(url: string, tracePropagationTargets: (string | RegExp)[] | undefined): boolean {\n return stringMatchesSomePattern(url, tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS);\n}\n\n/**\n * Create and track fetch request spans\n */\nexport function fetchCallback(\n handlerData: FetchData,\n shouldCreateSpan: (url: string) => boolean,\n shouldAttachHeaders: (url: string) => boolean,\n spans: Record<string, Span>,\n): void {\n if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) {\n return;\n }\n\n if (handlerData.endTimestamp) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n // TODO (kmclb) remove this once types PR goes through\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n span.setHttpStatus(handlerData.response.status);\n\n const contentLength: string =\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');\n\n const contentLengthNum = parseInt(contentLength);\n if (contentLengthNum > 0) {\n span.setData('http.response_content_length', contentLengthNum);\n }\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const currentScope = getCurrentHub().getScope();\n const currentSpan = currentScope && currentScope.getSpan();\n const activeTransaction = currentSpan && currentSpan.transaction;\n\n if (currentSpan && activeTransaction) {\n const { method, url } = handlerData.fetchData;\n const span = currentSpan.startChild({\n data: {\n url,\n type: 'fetch',\n 'http.method': method,\n },\n description: `${method} ${url}`,\n op: 'http.client',\n });\n\n handlerData.fetchData.__span = span.spanId;\n spans[span.spanId] = span;\n\n const request: string | Request = handlerData.args[0];\n\n // In case the user hasn't set the second argument of a fetch call we default it to `{}`.\n handlerData.args[1] = handlerData.args[1] || {};\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options: { [key: string]: any } = handlerData.args[1];\n\n if (shouldAttachHeaders(handlerData.fetchData.url)) {\n options.headers = addTracingHeadersToFetchRequest(\n request,\n activeTransaction.getDynamicSamplingContext(),\n span,\n options,\n );\n }\n }\n}\n\n/**\n * Adds sentry-trace and baggage headers to the various forms of fetch headers\n */\nexport function addTracingHeadersToFetchRequest(\n request: string | unknown, // unknown is actually type Request but we can't export DOM types from this package,\n dynamicSamplingContext: Partial<DynamicSamplingContext>,\n span: Span,\n options: {\n headers?:\n | {\n [key: string]: string[] | string | undefined;\n }\n | PolymorphicRequestHeaders;\n },\n): PolymorphicRequestHeaders {\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext);\n const sentryTraceHeader = span.toTraceparent();\n\n const headers =\n typeof Request !== 'undefined' && isInstanceOf(request, Request) ? (request as Request).headers : options.headers;\n\n if (!headers) {\n return { 'sentry-trace': sentryTraceHeader, baggage: sentryBaggageHeader };\n } else if (typeof Headers !== 'undefined' && isInstanceOf(headers, Headers)) {\n const newHeaders = new Headers(headers as Headers);\n\n newHeaders.append('sentry-trace', sentryTraceHeader);\n\n if (sentryBaggageHeader) {\n // If the same header is appended multiple times the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.append(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n\n return newHeaders as PolymorphicRequestHeaders;\n } else if (Array.isArray(headers)) {\n const newHeaders = [...headers, ['sentry-trace', sentryTraceHeader]];\n\n if (sentryBaggageHeader) {\n // If there are multiple entries with the same key, the browser will merge the values into a single request header.\n // Its therefore safe to simply push a \"baggage\" entry, even though there might already be another baggage header.\n newHeaders.push([BAGGAGE_HEADER_NAME, sentryBaggageHeader]);\n }\n\n return newHeaders as PolymorphicRequestHeaders;\n } else {\n const existingBaggageHeader = 'baggage' in headers ? headers.baggage : undefined;\n const newBaggageHeaders: string[] = [];\n\n if (Array.isArray(existingBaggageHeader)) {\n newBaggageHeaders.push(...existingBaggageHeader);\n } else if (existingBaggageHeader) {\n newBaggageHeaders.push(existingBaggageHeader);\n }\n\n if (sentryBaggageHeader) {\n newBaggageHeaders.push(sentryBaggageHeader);\n }\n\n return {\n ...(headers as Exclude<typeof headers, Headers>),\n 'sentry-trace': sentryTraceHeader,\n baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(',') : undefined,\n };\n }\n}\n\n/**\n * Create and track xhr request spans\n */\nexport function xhrCallback(\n handlerData: XHRData,\n shouldCreateSpan: (url: string) => boolean,\n shouldAttachHeaders: (url: string) => boolean,\n spans: Record<string, Span>,\n): void {\n const xhr = handlerData.xhr;\n const sentryXhrData = xhr && xhr[SENTRY_XHR_DATA_KEY];\n\n if (\n !hasTracingEnabled() ||\n (xhr && xhr.__sentry_own_request__) ||\n !(xhr && sentryXhrData && shouldCreateSpan(sentryXhrData.url))\n ) {\n return;\n }\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp) {\n const spanId = xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n span.setHttpStatus(sentryXhrData.status_code);\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const currentScope = getCurrentHub().getScope();\n const currentSpan = currentScope && currentScope.getSpan();\n const activeTransaction = currentSpan && currentSpan.transaction;\n\n if (currentSpan && activeTransaction) {\n const span = currentSpan.startChild({\n data: {\n ...sentryXhrData.data,\n type: 'xhr',\n 'http.method': sentryXhrData.method,\n url: sentryXhrData.url,\n },\n description: `${sentryXhrData.method} ${sentryXhrData.url}`,\n op: 'http.client',\n });\n\n xhr.__sentry_xhr_span_id__ = span.spanId;\n spans[xhr.__sentry_xhr_span_id__] = span;\n\n if (xhr.setRequestHeader && shouldAttachHeaders(sentryXhrData.url)) {\n try {\n xhr.setRequestHeader('sentry-trace', span.toTraceparent());\n\n const dynamicSamplingContext = activeTransaction.getDynamicSamplingContext();\n const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext);\n\n if (sentryBaggageHeader) {\n // From MDN: \"If this method is called several times with the same header, the values are merged into one single request header.\"\n // We can therefore simply set a baggage header without checking what was there before\n // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader\n xhr.setRequestHeader(BAGGAGE_HEADER_NAME, sentryBaggageHeader);\n }\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n }\n }\n}\n","/* eslint-disable max-lines */\nimport type { Hub, IdleTransaction } from '@sentry/core';\nimport {\n addTracingExtensions,\n extractTraceparentData,\n getActiveTransaction,\n startIdleTransaction,\n TRACING_DEFAULTS,\n} from '@sentry/core';\nimport type { EventProcessor, Integration, Transaction, TransactionContext, TransactionSource } from '@sentry/types';\nimport { baggageHeaderToDynamicSamplingContext, getDomElement, logger } from '@sentry/utils';\n\nimport { registerBackgroundTabDetection } from './backgroundtab';\nimport {\n addPerformanceEntries,\n startTrackingInteractions,\n startTrackingLongTasks,\n startTrackingWebVitals,\n} from './metrics';\nimport type { RequestInstrumentationOptions } from './request';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request';\nimport { instrumentRoutingWithDefaults } from './router';\nimport { WINDOW } from './types';\n\nexport const BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\n/** Options for Browser Tracing integration */\nexport interface BrowserTracingOptions extends RequestInstrumentationOptions {\n /**\n * The time to wait in ms until the transaction will be finished during an idle state. An idle state is defined\n * by a moment where there are no in-progress spans.\n *\n * The transaction will use the end timestamp of the last finished span as the endtime for the transaction.\n * If there are still active spans when this the `idleTimeout` is set, the `idleTimeout` will get reset.\n * Time is in ms.\n *\n * Default: 1000\n */\n idleTimeout: number;\n\n /**\n * The max duration for a transaction. If a transaction duration hits the `finalTimeout` value, it\n * will be finished.\n * Time is in ms.\n *\n * Default: 30000\n */\n finalTimeout: number;\n\n /**\n * The heartbeat interval. If no new spans are started or open spans are finished within 3 heartbeats,\n * the transaction will be finished.\n * Time is in ms.\n *\n * Default: 5000\n */\n heartbeatInterval: number;\n\n /**\n * Flag to enable/disable creation of `navigation` transaction on history changes.\n *\n * Default: true\n */\n startTransactionOnLocationChange: boolean;\n\n /**\n * Flag to enable/disable creation of `pageload` transaction on first pageload.\n *\n * Default: true\n */\n startTransactionOnPageLoad: boolean;\n\n /**\n * Flag Transactions where tabs moved to background with \"cancelled\". Browser background tab timing is\n * not suited towards doing precise measurements of operations. By default, we recommend that this option\n * be enabled as background transactions can mess up your statistics in nondeterministic ways.\n *\n * Default: true\n */\n markBackgroundTransactions: boolean;\n\n /**\n * If true, Sentry will capture long tasks and add them to the corresponding transaction.\n *\n * Default: true\n */\n enableLongTask: boolean;\n\n /**\n * _metricOptions allows the user to send options to change how metrics are collected.\n *\n * _metricOptions is currently experimental.\n *\n * Default: undefined\n */\n _metricOptions?: Partial<{\n /**\n * @deprecated This property no longer has any effect and will be removed in v8.\n */\n _reportAllChanges: boolean;\n }>;\n\n /**\n * _experiments allows the user to send options to define how this integration works.\n * Note that the `enableLongTask` options is deprecated in favor of the option at the top level, and will be removed in v8.\n *\n * TODO (v8): Remove enableLongTask\n *\n * Default: undefined\n */\n _experiments: Partial<{\n enableLongTask: boolean;\n enableInteractions: boolean;\n onStartRouteTransaction: (t: Transaction | undefined, ctx: TransactionContext, getCurrentHub: () => Hub) => void;\n }>;\n\n /**\n * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction\n * context data, or drop the transaction entirely (by setting `sampled = false` in the context).\n *\n * Note: For legacy reasons, transactions can also be dropped by returning `undefined`.\n *\n * @param context: The context data which will be passed to `startTransaction` by default\n *\n * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped.\n */\n beforeNavigate?(this: void, context: TransactionContext): TransactionContext | undefined;\n\n /**\n * Instrumentation that creates routing change transactions. By default creates\n * pageload and navigation transactions.\n */\n routingInstrumentation<T extends Transaction>(\n this: void,\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad?: boolean,\n startTransactionOnLocationChange?: boolean,\n ): void;\n}\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS: BrowserTracingOptions = {\n ...TRACING_DEFAULTS,\n markBackgroundTransactions: true,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n enableLongTask: true,\n _experiments: {},\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n */\nexport class BrowserTracing implements Integration {\n // This class currently doesn't have a static `id` field like the other integration classes, because it prevented\n // @sentry/tracing from being treeshaken. Tree shakers do not like static fields, because they behave like side effects.\n // TODO: Come up with a better plan, than using static fields on integration classes, and use that plan on all\n // integrations.\n\n /** Browser Tracing integration options */\n public options: BrowserTracingOptions;\n\n /**\n * @inheritDoc\n */\n public name: string = BROWSER_TRACING_INTEGRATION_ID;\n\n private _getCurrentHub?: () => Hub;\n\n private _latestRouteName?: string;\n private _latestRouteSource?: TransactionSource;\n\n private _collectWebVitals: () => void;\n\n public constructor(_options?: Partial<BrowserTracingOptions>) {\n addTracingExtensions();\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n // Special case: enableLongTask can be set in _experiments\n // TODO (v8): Remove this in v8\n if (this.options._experiments.enableLongTask !== undefined) {\n this.options.enableLongTask = this.options._experiments.enableLongTask;\n }\n\n // TODO (v8): remove this block after tracingOrigins is removed\n // Set tracePropagationTargets to tracingOrigins if specified by the user\n // In case both are specified, tracePropagationTargets takes precedence\n // eslint-disable-next-line deprecation/deprecation\n if (_options && !_options.tracePropagationTargets && _options.tracingOrigins) {\n // eslint-disable-next-line deprecation/deprecation\n this.options.tracePropagationTargets = _options.tracingOrigins;\n }\n\n this._collectWebVitals = startTrackingWebVitals();\n if (this.options.enableLongTask) {\n startTrackingLongTasks();\n }\n if (this.options._experiments.enableInteractions) {\n startTrackingInteractions();\n }\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n this._getCurrentHub = getCurrentHub;\n\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n _experiments,\n } = this.options;\n\n instrumentRouting(\n (context: TransactionContext) => {\n const transaction = this._createRouteTransaction(context);\n\n this.options._experiments.onStartRouteTransaction &&\n this.options._experiments.onStartRouteTransaction(transaction, context, getCurrentHub);\n\n return transaction;\n },\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n if (_experiments.enableInteractions) {\n this._registerInteractionListener();\n }\n\n instrumentOutgoingRequests({\n traceFetch,\n traceXHR,\n tracePropagationTargets,\n shouldCreateSpanForRequest,\n });\n }\n\n /** Create routing idle transaction. */\n private _createRouteTransaction(context: TransactionContext): Transaction | undefined {\n if (!this._getCurrentHub) {\n __DEBUG_BUILD__ &&\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n const { beforeNavigate, idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n\n const isPageloadTransaction = context.op === 'pageload';\n\n const sentryTraceMetaTagValue = isPageloadTransaction ? getMetaContent('sentry-trace') : null;\n const baggageMetaTagValue = isPageloadTransaction ? getMetaContent('baggage') : null;\n\n const traceParentData = sentryTraceMetaTagValue ? extractTraceparentData(sentryTraceMetaTagValue) : undefined;\n const dynamicSamplingContext = baggageMetaTagValue\n ? baggageHeaderToDynamicSamplingContext(baggageMetaTagValue)\n : undefined;\n\n const expandedContext: TransactionContext = {\n ...context,\n ...traceParentData,\n metadata: {\n ...context.metadata,\n dynamicSamplingContext: traceParentData && !dynamicSamplingContext ? {} : dynamicSamplingContext,\n },\n trimEnd: true,\n };\n\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n // If `beforeNavigate` set a custom name, record that fact\n finalContext.metadata =\n finalContext.name !== expandedContext.name\n ? { ...finalContext.metadata, source: 'custom' }\n : finalContext.metadata;\n\n this._latestRouteName = finalContext.name;\n this._latestRouteSource = finalContext.metadata && finalContext.metadata.source;\n\n if (finalContext.sampled === false) {\n __DEBUG_BUILD__ &&\n logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n __DEBUG_BUILD__ && logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const hub = this._getCurrentHub();\n const { location } = WINDOW;\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n idleTransaction.registerBeforeFinishCallback(transaction => {\n this._collectWebVitals();\n addPerformanceEntries(transaction);\n });\n\n return idleTransaction as Transaction;\n }\n\n /** Start listener for interaction transactions */\n private _registerInteractionListener(): void {\n let inflightInteractionTransaction: IdleTransaction | undefined;\n const registerInteractionTransaction = (): void => {\n const { idleTimeout, finalTimeout, heartbeatInterval } = this.options;\n const op = 'ui.action.click';\n\n const currentTransaction = getActiveTransaction();\n if (currentTransaction && currentTransaction.op && ['navigation', 'pageload'].includes(currentTransaction.op)) {\n __DEBUG_BUILD__ &&\n logger.warn(\n `[Tracing] Did not create ${op} transaction because a pageload or navigation transaction is in progress.`,\n );\n return undefined;\n }\n\n if (inflightInteractionTransaction) {\n inflightInteractionTransaction.setFinishReason('interactionInterrupted');\n inflightInteractionTransaction.finish();\n inflightInteractionTransaction = undefined;\n }\n\n if (!this._getCurrentHub) {\n __DEBUG_BUILD__ && logger.warn(`[Tracing] Did not create ${op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n if (!this._latestRouteName) {\n __DEBUG_BUILD__ &&\n logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n const hub = this._getCurrentHub();\n const { location } = WINDOW;\n\n const context: TransactionContext = {\n name: this._latestRouteName,\n op,\n trimEnd: true,\n metadata: {\n source: this._latestRouteSource || 'url',\n },\n };\n\n inflightInteractionTransaction = startIdleTransaction(\n hub,\n context,\n idleTimeout,\n finalTimeout,\n true,\n { location }, // for use in the tracesSampler\n heartbeatInterval,\n );\n };\n\n ['click'].forEach(type => {\n addEventListener(type, registerInteractionTransaction, { once: false, capture: true });\n });\n }\n}\n\n/** Returns the value of a meta tag */\nexport function getMetaContent(metaName: string): string | null {\n // Can't specify generic to `getDomElement` because tracing can be used\n // in a variety of environments, have to disable `no-unsafe-member-access`\n // as a result.\n const metaTag = getDomElement(`meta[name=${metaName}]`);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return metaTag ? metaTag.getAttribute('content') : null;\n}\n","import type { Transaction, TransactionContext } from '@sentry/types';\nimport { addInstrumentationHandler, browserPerformanceTimeOrigin, logger } from '@sentry/utils';\n\nimport { WINDOW } from './types';\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nexport function instrumentRoutingWithDefaults<T extends Transaction>(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad: boolean = true,\n startTransactionOnLocationChange: boolean = true,\n): void {\n if (!WINDOW || !WINDOW.location) {\n __DEBUG_BUILD__ && logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl: string | undefined = WINDOW.location.href;\n\n let activeTransaction: T | undefined;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTimestamp: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n op: 'pageload',\n metadata: { source: 'url' },\n });\n }\n\n if (startTransactionOnLocationChange) {\n addInstrumentationHandler('history', ({ to, from }: { to: string; from?: string }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n __DEBUG_BUILD__ && logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.finish();\n }\n activeTransaction = customStartTransaction({\n name: WINDOW.location.pathname,\n op: 'navigation',\n metadata: { source: 'url' },\n });\n }\n });\n }\n}\n","import type { IdleTransaction, SpanStatusType } from '@sentry/core';\nimport { getActiveTransaction } from '@sentry/core';\nimport { logger } from '@sentry/utils';\n\nimport { WINDOW } from './types';\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nexport function registerBackgroundTabDetection(): void {\n if (WINDOW && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n const activeTransaction = getActiveTransaction() as IdleTransaction;\n if (WINDOW.document.hidden && activeTransaction) {\n const statusType: SpanStatusType = 'cancelled';\n\n __DEBUG_BUILD__ &&\n logger.log(\n `[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${activeTransaction.op}`,\n );\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!activeTransaction.status) {\n activeTransaction.setStatus(statusType);\n }\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.finish();\n }\n });\n } else {\n __DEBUG_BUILD__ &&\n logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n","// https://github.com/alangpierce/sucrase/tree/265887868966917f3b924ce38dfad01fbab1329f\n//\n// The MIT License (MIT)\n//\n// Copyright (c) 2012-2018 various contributors (see AUTHORS)\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport type { GenericFunction } from './types';\n\n/**\n * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values,\n * descriptors, and functions.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15\n *\n * @param ops Array result of expression conversion\n * @returns The value of the expression\n */\nexport function _optionalChain(ops: unknown[]): unknown {\n let lastAccessLHS: unknown = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i] as string;\n const fn = ops[i + 1] as (intermediateValue: unknown) => unknown;\n i += 2;\n // by checking for loose equality to `null`, we catch both `null` and `undefined`\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n // really we're meaning to return `undefined` as an actual value here, but it saves bytes not to write it\n return;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args: unknown[]) => (value as GenericFunction).call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n}\n\n// Sucrase version\n// function _optionalChain(ops) {\n// let lastAccessLHS = undefined;\n// let value = ops[0];\n// let i = 1;\n// while (i < ops.length) {\n// const op = ops[i];\n// const fn = ops[i + 1];\n// i += 2;\n// if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n// return undefined;\n// }\n// if (op === 'access' || op === 'optionalAccess') {\n// lastAccessLHS = value;\n// value = fn(value);\n// } else if (op === 'call' || op === 'optionalCall') {\n// value = fn((...args) => value.call(lastAccessLHS, ...args));\n// lastAccessLHS = undefined;\n// }\n// }\n// return value;\n// }\n","import type { Hub } from '@sentry/types';\n\n/**\n * Check if Sentry auto-instrumentation should be disabled.\n *\n * @param getCurrentHub A method to fetch the current hub\n * @returns boolean\n */\nexport function shouldDisableAutoInstrumentation(getCurrentHub: () => Hub): boolean {\n const clientOptions = getCurrentHub().getClient()?.getOptions();\n const instrumenter = clientOptions?.instrumenter || 'sentry';\n\n return instrumenter !== 'sentry';\n}\n","import type { Hub } from '@sentry/core';\nimport type { EventProcessor } from '@sentry/types';\nimport { arrayify, fill, isThenable, loadModule, logger } from '@sentry/utils';\n\nimport type { LazyLoadedIntegration } from './lazy';\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ninterface ApolloOptions {\n useNestjs?: boolean;\n}\n\ntype ApolloResolverGroup = {\n [key: string]: () => unknown;\n};\n\ntype ApolloModelResolvers = {\n [key: string]: ApolloResolverGroup;\n};\n\ntype GraphQLModule = {\n GraphQLFactory: {\n prototype: {\n create: (resolvers: ApolloModelResolvers[]) => unknown;\n };\n };\n};\n\ntype ApolloModule = {\n ApolloServerBase: {\n prototype: {\n constructSchema: (config: unknown) => unknown;\n };\n };\n};\n\n/** Tracing integration for Apollo */\nexport class Apollo implements LazyLoadedIntegration<GraphQLModule & ApolloModule> {\n /**\n * @inheritDoc\n */\n public static id: string = 'Apollo';\n\n /**\n * @inheritDoc\n */\n public name: string = Apollo.id;\n\n private readonly _useNest: boolean;\n\n private _module?: GraphQLModule & ApolloModule;\n\n /**\n * @inheritDoc\n */\n public constructor(\n options: ApolloOptions = {\n useNestjs: false,\n },\n ) {\n this._useNest = !!options.useNestjs;\n }\n\n /** @inheritdoc */\n public loadDependency(): (GraphQLModule & ApolloModule) | undefined {\n if (this._useNest) {\n this._module = this._module || loadModule('@nestjs/graphql');\n } else {\n this._module = this._module || loadModule('apollo-server-core');\n }\n\n return this._module;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Apollo Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n if (this._useNest) {\n const pkg = this.loadDependency();\n\n if (!pkg) {\n __DEBUG_BUILD__ && logger.error('Apollo-NestJS Integration was unable to require @nestjs/graphql package.');\n return;\n }\n\n /**\n * Iterate over resolvers of NestJS ResolversExplorerService before schemas are constructed.\n */\n fill(\n pkg.GraphQLFactory.prototype,\n 'mergeWithSchema',\n function (orig: (this: unknown, ...args: unknown[]) => unknown) {\n return function (\n this: { resolversExplorerService: { explore: () => ApolloModelResolvers[] } },\n ...args: unknown[]\n ) {\n fill(this.resolversExplorerService, 'explore', function (orig: () => ApolloModelResolvers[]) {\n return function (this: unknown) {\n const resolvers = arrayify(orig.call(this));\n\n const instrumentedResolvers = instrumentResolvers(resolvers, getCurrentHub);\n\n return instrumentedResolvers;\n };\n });\n\n return orig.call(this, ...args);\n };\n },\n );\n } else {\n const pkg = this.loadDependency();\n\n if (!pkg) {\n __DEBUG_BUILD__ && logger.error('Apollo Integration was unable to require apollo-server-core package.');\n return;\n }\n\n /**\n * Iterate over resolvers of the ApolloServer instance before schemas are constructed.\n */\n fill(pkg.ApolloServerBase.prototype, 'constructSchema', function (orig: (config: unknown) => unknown) {\n return function (this: {\n config: { resolvers?: ApolloModelResolvers[]; schema?: unknown; modules?: unknown };\n }) {\n if (!this.config.resolvers) {\n if (__DEBUG_BUILD__) {\n if (this.config.schema) {\n logger.warn(\n 'Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.' +\n 'If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead.',\n );\n logger.warn();\n } else if (this.config.modules) {\n logger.warn(\n 'Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property.',\n );\n }\n\n logger.error('Skipping tracing as no resolvers found on the `ApolloServer` instance.');\n }\n\n return orig.call(this);\n }\n\n const resolvers = arrayify(this.config.resolvers);\n\n this.config.resolvers = instrumentResolvers(resolvers, getCurrentHub);\n\n return orig.call(this);\n };\n });\n }\n }\n}\n\nfunction instrumentResolvers(resolvers: ApolloModelResolvers[], getCurrentHub: () => Hub): ApolloModelResolvers[] {\n return resolvers.map(model => {\n Object.keys(model).forEach(resolverGroupName => {\n Object.keys(model[resolverGroupName]).forEach(resolverName => {\n if (typeof model[resolverGroupName][resolverName] !== 'function') {\n return;\n }\n\n wrapResolver(model, resolverGroupName, resolverName, getCurrentHub);\n });\n });\n\n return model;\n });\n}\n\n/**\n * Wrap a single resolver which can be a parent of other resolvers and/or db operations.\n */\nfunction wrapResolver(\n model: ApolloModelResolvers,\n resolverGroupName: string,\n resolverName: string,\n getCurrentHub: () => Hub,\n): void {\n fill(model[resolverGroupName], resolverName, function (orig: () => unknown | Promise<unknown>) {\n return function (this: unknown, ...args: unknown[]) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: `${resolverGroupName}.${resolverName}`,\n op: 'graphql.resolve',\n });\n\n const rv = orig.call(this, ...args);\n\n if (isThenable(rv)) {\n return rv.then((res: unknown) => {\n span?.finish();\n return res;\n });\n }\n\n span?.finish();\n\n return rv;\n };\n });\n}\n","type PartialURL = {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n search?: string;\n hash?: string;\n};\n\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not <a/> href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): PartialURL {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n search: query,\n hash: fragment,\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Returns number of URL segments of a passed string URL.\n */\nexport function getNumberOfUrlSegments(url: string): number {\n // split at '/' or at '\\/' to split regex urls correctly\n return url.split(/\\\\?\\//).filter(s => s.length > 0 && s !== ',').length;\n}\n\n/**\n * Takes a URL object and returns a sanitized string which is safe to use as span description\n * see: https://develop.sentry.dev/sdk/data-handling/#structuring-data\n */\nexport function getSanitizedUrlString(url: PartialURL): string {\n const { protocol, host, path } = url;\n\n const filteredHost =\n (host &&\n host\n // Always filter out authority\n .replace(/^.*@/, '[filtered]:[filtered]@')\n // Don't show standard :80 (http) and :443 (https) ports to reduce the noise\n .replace(':80', '')\n .replace(':443', '')) ||\n '';\n\n return `${protocol ? `${protocol}://` : ''}${filteredHost}${path}`;\n}\n","// TODO: Remove this file once equivalent integration is used everywhere\n\n/* eslint-disable complexity */\n/**\n * The functions here, which enrich an event with request data, are mostly for use in Node, but are safe for use in a\n * browser context. They live here in `@sentry/utils` rather than in `@sentry/node` so that they can be used in\n * frameworks (like nextjs), which, because of SSR, run the same code in both Node and browser contexts.\n *\n * TODO (v8 / #5257): Remove the note below\n * Note that for now, the tests for this code have to live in `@sentry/node`, since they test both these functions and\n * the backwards-compatibility-preserving wrappers which still live in `handlers.ts` there.\n */\n\n/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport type {\n Event,\n ExtractedNodeRequestData,\n PolymorphicRequest,\n Transaction,\n TransactionSource,\n} from '@sentry/types';\n\nimport { isPlainObject, isString } from './is';\nimport { normalize } from './normalize';\nimport { stripUrlQueryAndFragment } from './url';\n\nconst DEFAULT_INCLUDES = {\n ip: false,\n request: true,\n transaction: true,\n user: true,\n};\nconst DEFAULT_REQUEST_INCLUDES = ['cookies', 'data', 'headers', 'method', 'query_string', 'url'];\nconst DEFAULT_USER_INCLUDES = ['id', 'username', 'email'];\n\ntype InjectedNodeDeps = {\n cookie: {\n parse: (cookieStr: string) => Record<string, string>;\n };\n url: {\n parse: (urlStr: string) => {\n query: string | null;\n };\n };\n};\n\n/**\n * Sets parameterized route as transaction name e.g.: `GET /users/:id`\n * Also adds more context data on the transaction from the request\n */\nexport function addRequestDataToTransaction(\n transaction: Transaction | undefined,\n req: PolymorphicRequest,\n deps?: InjectedNodeDeps,\n): void {\n if (!transaction) return;\n if (!transaction.metadata.source || transaction.metadata.source === 'url') {\n // Attempt to grab a parameterized route off of the request\n transaction.setName(...extractPathForTransaction(req, { path: true, method: true }));\n }\n transaction.setData('url', req.originalUrl || req.url);\n if (req.baseUrl) {\n transaction.setData('baseUrl', req.baseUrl);\n }\n transaction.setData('query', extractQueryParams(req, deps));\n}\n\n/**\n * Extracts a complete and parameterized path from the request object and uses it to construct transaction name.\n * If the parameterized transaction name cannot be extracted, we fall back to the raw URL.\n *\n * Additionally, this function determines and returns the transaction name source\n *\n * eg. GET /mountpoint/user/:id\n *\n * @param req A request object\n * @param options What to include in the transaction name (method, path, or a custom route name to be\n * used instead of the request's route)\n *\n * @returns A tuple of the fully constructed transaction name [0] and its source [1] (can be either 'route' or 'url')\n */\nexport function extractPathForTransaction(\n req: PolymorphicRequest,\n options: { path?: boolean; method?: boolean; customRoute?: string } = {},\n): [string, TransactionSource] {\n const method = req.method && req.method.toUpperCase();\n\n let path = '';\n let source: TransactionSource = 'url';\n\n // Check to see if there's a parameterized route we can use (as there is in Express)\n if (options.customRoute || req.route) {\n path = options.customRoute || `${req.baseUrl || ''}${req.route && req.route.path}`;\n source = 'route';\n }\n\n // Otherwise, just take the original URL\n else if (req.originalUrl || req.url) {\n path = stripUrlQueryAndFragment(req.originalUrl || req.url || '');\n }\n\n let name = '';\n if (options.method && method) {\n name += method;\n }\n if (options.method && options.path) {\n name += ' ';\n }\n if (options.path && path) {\n name += path;\n }\n\n return [name, source];\n}\n\ntype TransactionNamingScheme = 'path' | 'methodPath' | 'handler';\n\n/** JSDoc */\nfunction extractTransaction(req: PolymorphicRequest, type: boolean | TransactionNamingScheme): string {\n switch (type) {\n case 'path': {\n return extractPathForTransaction(req, { path: true })[0];\n }\n case 'handler': {\n return (req.route && req.route.stack && req.route.stack[0] && req.route.stack[0].name) || '<anonymous>';\n }\n case 'methodPath':\n default: {\n return extractPathForTransaction(req, { path: true, method: true })[0];\n }\n }\n}\n\n/** JSDoc */\nfunction extractUserData(\n user: {\n [key: string]: any;\n },\n keys: boolean | string[],\n): { [key: string]: any } {\n const extractedUser: { [key: string]: any } = {};\n const attributes = Array.isArray(keys) ? keys : DEFAULT_USER_INCLUDES;\n\n attributes.forEach(key => {\n if (user && key in user) {\n extractedUser[key] = user[key];\n }\n });\n\n return extractedUser;\n}\n\n/**\n * Normalize data from the request object, accounting for framework differences.\n *\n * @param req The request object from which to extract data\n * @param options.include An optional array of keys to include in the normalized data. Defaults to\n * DEFAULT_REQUEST_INCLUDES if not provided.\n * @param options.deps Injected, platform-specific dependencies\n * @returns An object containing normalized request data\n */\nexport function extractRequestData(\n req: PolymorphicRequest,\n options?: {\n include?: string[];\n deps?: InjectedNodeDeps;\n },\n): ExtractedNodeRequestData {\n const { include = DEFAULT_REQUEST_INCLUDES, deps } = options || {};\n const requestData: { [key: string]: any } = {};\n\n // headers:\n // node, express, koa, nextjs: req.headers\n const headers = (req.headers || {}) as {\n host?: string;\n cookie?: string;\n };\n // method:\n // node, express, koa, nextjs: req.method\n const method = req.method;\n // host:\n // express: req.hostname in > 4 and req.host in < 4\n // koa: req.host\n // node, nextjs: req.headers.host\n const host = req.hostname || req.host || headers.host || '<no host>';\n // protocol:\n // node, nextjs: <n/a>\n // express, koa: req.protocol\n const protocol = req.protocol === 'https' || (req.socket && req.socket.encrypted) ? 'https' : 'http';\n // url (including path and query string):\n // node, express: req.originalUrl\n // koa, nextjs: req.url\n const originalUrl = req.originalUrl || req.url || '';\n // absolute url\n const absoluteUrl = `${protocol}://${host}${originalUrl}`;\n include.forEach(key => {\n switch (key) {\n case 'headers': {\n requestData.headers = headers;\n break;\n }\n case 'method': {\n requestData.method = method;\n break;\n }\n case 'url': {\n requestData.url = absoluteUrl;\n break;\n }\n case 'cookies': {\n // cookies:\n // node, express, koa: req.headers.cookie\n // vercel, sails.js, express (w/ cookie middleware), nextjs: req.cookies\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.cookies =\n // TODO (v8 / #5257): We're only sending the empty object for backwards compatibility, so the last bit can\n // come off in v8\n req.cookies || (headers.cookie && deps && deps.cookie && deps.cookie.parse(headers.cookie)) || {};\n break;\n }\n case 'query_string': {\n // query string:\n // node: req.url (raw)\n // express, koa, nextjs: req.query\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.query_string = extractQueryParams(req, deps);\n break;\n }\n case 'data': {\n if (method === 'GET' || method === 'HEAD') {\n break;\n }\n // body data:\n // express, koa, nextjs: req.body\n //\n // when using node by itself, you have to read the incoming stream(see\n // https://nodejs.dev/learn/get-http-request-body-data-using-nodejs); if a user is doing that, we can't know\n // where they're going to store the final result, so they'll have to capture this data themselves\n if (req.body !== undefined) {\n requestData.data = isString(req.body) ? req.body : JSON.stringify(normalize(req.body));\n }\n break;\n }\n default: {\n if ({}.hasOwnProperty.call(req, key)) {\n requestData[key] = (req as { [key: string]: any })[key];\n }\n }\n }\n });\n\n return requestData;\n}\n\n/**\n * Options deciding what parts of the request to use when enhancing an event\n */\nexport interface AddRequestDataToEventOptions {\n /** Flags controlling whether each type of data should be added to the event */\n include?: {\n ip?: boolean;\n request?: boolean | string[];\n transaction?: boolean | TransactionNamingScheme;\n user?: boolean | string[];\n };\n\n /** Injected platform-specific dependencies */\n deps?: {\n cookie: {\n parse: (cookieStr: string) => Record<string, string>;\n };\n url: {\n parse: (urlStr: string) => {\n query: string | null;\n };\n };\n };\n}\n\n/**\n * Add data from the given request to the given event\n *\n * @param event The event to which the request data will be added\n * @param req Request object\n * @param options.include Flags to control what data is included\n * @param options.deps Injected platform-specific dependencies\n * @hidden\n */\nexport function addRequestDataToEvent(\n event: Event,\n req: PolymorphicRequest,\n options?: AddRequestDataToEventOptions,\n): Event {\n const include = {\n ...DEFAULT_INCLUDES,\n ...(options && options.include),\n };\n\n if (include.request) {\n const extractedRequestData = Array.isArray(include.request)\n ? extractRequestData(req, { include: include.request, deps: options && options.deps })\n : extractRequestData(req, { deps: options && options.deps });\n\n event.request = {\n ...event.request,\n ...extractedRequestData,\n };\n }\n\n if (include.user) {\n const extractedUser = req.user && isPlainObject(req.user) ? extractUserData(req.user, include.user) : {};\n\n if (Object.keys(extractedUser).length) {\n event.user = {\n ...event.user,\n ...extractedUser,\n };\n }\n }\n\n // client ip:\n // node, nextjs: req.socket.remoteAddress\n // express, koa: req.ip\n if (include.ip) {\n const ip = req.ip || (req.socket && req.socket.remoteAddress);\n if (ip) {\n event.user = {\n ...event.user,\n ip_address: ip,\n };\n }\n }\n\n if (include.transaction && !event.transaction) {\n // TODO do we even need this anymore?\n // TODO make this work for nextjs\n event.transaction = extractTransaction(req, include.transaction);\n }\n\n return event;\n}\n\nfunction extractQueryParams(\n req: PolymorphicRequest,\n deps?: InjectedNodeDeps,\n): string | Record<string, unknown> | undefined {\n // url (including path and query string):\n // node, express: req.originalUrl\n // koa, nextjs: req.url\n let originalUrl = req.originalUrl || req.url || '';\n\n if (!originalUrl) {\n return;\n }\n\n // The `URL` constructor can't handle internal URLs of the form `/some/path/here`, so stick a dummy protocol and\n // hostname on the beginning. Since the point here is just to grab the query string, it doesn't matter what we use.\n if (originalUrl.startsWith('/')) {\n originalUrl = `http://dogs.are.great${originalUrl}`;\n }\n\n return (\n req.query ||\n (typeof URL !== undefined && new URL(originalUrl).search.replace('?', '')) ||\n // In Node 8, `URL` isn't in the global scope, so we have to use the built-in module from Node\n (deps && deps.url && deps.url.parse(originalUrl).query) ||\n undefined\n );\n}\n","/* eslint-disable max-lines */\nimport type { Hub, Integration, PolymorphicRequest, Transaction } from '@sentry/types';\nimport {\n extractPathForTransaction,\n getNumberOfUrlSegments,\n isRegExp,\n logger,\n stripUrlQueryAndFragment,\n} from '@sentry/utils';\n\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ntype Method =\n | 'all'\n | 'get'\n | 'post'\n | 'put'\n | 'delete'\n | 'patch'\n | 'options'\n | 'head'\n | 'checkout'\n | 'copy'\n | 'lock'\n | 'merge'\n | 'mkactivity'\n | 'mkcol'\n | 'move'\n | 'm-search'\n | 'notify'\n | 'purge'\n | 'report'\n | 'search'\n | 'subscribe'\n | 'trace'\n | 'unlock'\n | 'unsubscribe'\n | 'use';\n\ntype Router = {\n [method in Method]: (...args: any) => any; // eslint-disable-line @typescript-eslint/no-explicit-any\n};\n\n/* Extend the PolymorphicRequest type with a patched parameter to build a reconstructed route */\ntype PatchedRequest = PolymorphicRequest & { _reconstructedRoute?: string; _hasParameters?: boolean };\n\n/* Types used for patching the express router prototype */\ntype ExpressRouter = Router & {\n _router?: ExpressRouter;\n stack?: Layer[];\n lazyrouter?: () => void;\n settings?: unknown;\n process_params: (\n layer: Layer,\n called: unknown,\n req: PatchedRequest,\n res: ExpressResponse,\n done: () => void,\n ) => unknown;\n};\n\ntype Layer = {\n match: (path: string) => boolean;\n handle_request: (req: PatchedRequest, res: ExpressResponse, next: () => void) => void;\n route?: { path: RouteType | RouteType[] };\n path?: string;\n};\n\ntype RouteType = string | RegExp;\n\ninterface ExpressResponse {\n once(name: string, callback: () => void): void;\n}\n\n/**\n * Internal helper for `__sentry_transaction`\n * @hidden\n */\ninterface SentryTracingResponse {\n __sentry_transaction?: Transaction;\n}\n\n/**\n * Express integration\n *\n * Provides an request and error handler for Express framework as well as tracing capabilities\n */\nexport class Express implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Express';\n\n /**\n * @inheritDoc\n */\n public name: string = Express.id;\n\n /**\n * Express App instance\n */\n private readonly _router?: Router;\n private readonly _methods?: Method[];\n\n /**\n * @inheritDoc\n */\n public constructor(options: { app?: Router; router?: Router; methods?: Method[] } = {}) {\n this._router = options.router || options.app;\n this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use');\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: unknown, getCurrentHub: () => Hub): void {\n if (!this._router) {\n __DEBUG_BUILD__ && logger.error('ExpressIntegration is missing an Express instance');\n return;\n }\n\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Express Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n instrumentMiddlewares(this._router, this._methods);\n instrumentRouter(this._router as ExpressRouter);\n }\n}\n\n/**\n * Wraps original middleware function in a tracing call, which stores the info about the call as a span,\n * and finishes it once the middleware is done invoking.\n *\n * Express middlewares have 3 various forms, thus we have to take care of all of them:\n * // sync\n * app.use(function (req, res) { ... })\n * // async\n * app.use(function (req, res, next) { ... })\n * // error handler\n * app.use(function (err, req, res, next) { ... })\n *\n * They all internally delegate to the `router[method]` of the given application instance.\n */\n// eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any\nfunction wrap(fn: Function, method: Method): (...args: any[]) => void {\n const arity = fn.length;\n\n switch (arity) {\n case 2: {\n return function (this: NodeJS.Global, req: unknown, res: ExpressResponse & SentryTracingResponse): void {\n const transaction = res.__sentry_transaction;\n if (transaction) {\n const span = transaction.startChild({\n description: fn.name,\n op: `middleware.express.${method}`,\n });\n res.once('finish', () => {\n span.finish();\n });\n }\n return fn.call(this, req, res);\n };\n }\n case 3: {\n return function (\n this: NodeJS.Global,\n req: unknown,\n res: ExpressResponse & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `middleware.express.${method}`,\n });\n fn.call(this, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n case 4: {\n return function (\n this: NodeJS.Global,\n err: Error,\n req: Request,\n res: Response & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `middleware.express.${method}`,\n });\n fn.call(this, err, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n default: {\n throw new Error(`Express middleware takes 2-4 arguments. Got: ${arity}`);\n }\n }\n}\n\n/**\n * Takes all the function arguments passed to the original `app` or `router` method, eg. `app.use` or `router.use`\n * and wraps every function, as well as array of functions with a call to our `wrap` method.\n * We have to take care of the arrays as well as iterate over all of the arguments,\n * as `app.use` can accept middlewares in few various forms.\n *\n * app.use([<path>], <fn>)\n * app.use([<path>], <fn>, ...<fn>)\n * app.use([<path>], ...<fn>[])\n */\nfunction wrapMiddlewareArgs(args: unknown[], method: Method): unknown[] {\n return args.map((arg: unknown) => {\n if (typeof arg === 'function') {\n return wrap(arg, method);\n }\n\n if (Array.isArray(arg)) {\n return arg.map((a: unknown) => {\n if (typeof a === 'function') {\n return wrap(a, method);\n }\n return a;\n });\n }\n\n return arg;\n });\n}\n\n/**\n * Patches original router to utilize our tracing functionality\n */\nfunction patchMiddleware(router: Router, method: Method): Router {\n const originalCallback = router[method];\n\n router[method] = function (...args: unknown[]): void {\n return originalCallback.call(this, ...wrapMiddlewareArgs(args, method));\n };\n\n return router;\n}\n\n/**\n * Patches original router methods\n */\nfunction instrumentMiddlewares(router: Router, methods: Method[] = []): void {\n methods.forEach((method: Method) => patchMiddleware(router, method));\n}\n\n/**\n * Patches the prototype of Express.Router to accumulate the resolved route\n * if a layer instance's `match` function was called and it returned a successful match.\n *\n * @see https://github.com/expressjs/express/blob/master/lib/router/index.js\n *\n * @param appOrRouter the router instance which can either be an app (i.e. top-level) or a (nested) router.\n */\nfunction instrumentRouter(appOrRouter: ExpressRouter): void {\n // This is how we can distinguish between app and routers\n const isApp = 'settings' in appOrRouter;\n\n // In case the app's top-level router hasn't been initialized yet, we have to do it now\n if (isApp && appOrRouter._router === undefined && appOrRouter.lazyrouter) {\n appOrRouter.lazyrouter();\n }\n\n const router = isApp ? appOrRouter._router : appOrRouter;\n\n if (!router) {\n /*\n If we end up here, this means likely that this integration is used with Express 3 or Express 5.\n For now, we don't support these versions (3 is very old and 5 is still in beta). To support Express 5,\n we'd need to make more changes to the routing instrumentation because the router is no longer part of\n the Express core package but maintained in its own package. The new router has different function\n signatures and works slightly differently, demanding more changes than just taking the router from\n `app.router` instead of `app._router`.\n @see https://github.com/pillarjs/router\n\n TODO: Proper Express 5 support\n */\n __DEBUG_BUILD__ && logger.debug('Cannot instrument router for URL Parameterization (did not find a valid router).');\n __DEBUG_BUILD__ && logger.debug('Routing instrumentation is currently only supported in Express 4.');\n return;\n }\n\n const routerProto = Object.getPrototypeOf(router) as ExpressRouter;\n\n const originalProcessParams = routerProto.process_params;\n routerProto.process_params = function process_params(\n layer: Layer,\n called: unknown,\n req: PatchedRequest,\n res: ExpressResponse & SentryTracingResponse,\n done: () => unknown,\n ) {\n // Base case: We're in the first part of the URL (thus we start with the root '/')\n if (!req._reconstructedRoute) {\n req._reconstructedRoute = '';\n }\n\n // If the layer's partial route has params, is a regex or an array, the route is stored in layer.route.\n const { layerRoutePath, isRegex, isArray, numExtraSegments }: LayerRoutePathInfo = getLayerRoutePathInfo(layer);\n\n if (layerRoutePath || isRegex || isArray) {\n req._hasParameters = true;\n }\n\n // Otherwise, the hardcoded path (i.e. a partial route without params) is stored in layer.path\n const partialRoute = layerRoutePath || layer.path || '';\n\n // Normalize the partial route so that it doesn't contain leading or trailing slashes\n // and exclude empty or '*' wildcard routes.\n // The exclusion of '*' routes is our best effort to not \"pollute\" the transaction name\n // with interim handlers (e.g. ones that check authentication or do other middleware stuff).\n // We want to end up with the parameterized URL of the incoming request without any extraneous path segments.\n const finalPartialRoute = partialRoute\n .split('/')\n .filter(segment => segment.length > 0 && (isRegex || isArray || !segment.includes('*')))\n .join('/');\n\n // If we found a valid partial URL, we append it to the reconstructed route\n if (finalPartialRoute && finalPartialRoute.length > 0) {\n // If the partial route is from a regex route, we append a '/' to close the regex\n req._reconstructedRoute += `/${finalPartialRoute}${isRegex ? '/' : ''}`;\n }\n\n // Now we check if we are in the \"last\" part of the route. We determine this by comparing the\n // number of URL segments from the original URL to that of our reconstructed parameterized URL.\n // If we've reached our final destination, we update the transaction name.\n const urlLength = getNumberOfUrlSegments(req.originalUrl || '') + numExtraSegments;\n const routeLength = getNumberOfUrlSegments(req._reconstructedRoute);\n\n if (urlLength === routeLength) {\n if (!req._hasParameters) {\n if (req._reconstructedRoute !== req.originalUrl) {\n req._reconstructedRoute = req.originalUrl ? stripUrlQueryAndFragment(req.originalUrl) : req.originalUrl;\n }\n }\n\n const transaction = res.__sentry_transaction;\n if (transaction && transaction.metadata.source !== 'custom') {\n // If the request URL is '/' or empty, the reconstructed route will be empty.\n // Therefore, we fall back to setting the final route to '/' in this case.\n const finalRoute = req._reconstructedRoute || '/';\n\n transaction.setName(...extractPathForTransaction(req, { path: true, method: true, customRoute: finalRoute }));\n }\n }\n\n return originalProcessParams.call(this, layer, called, req, res, done);\n };\n}\n\ntype LayerRoutePathInfo = {\n layerRoutePath?: string;\n isRegex: boolean;\n isArray: boolean;\n numExtraSegments: number;\n};\n\n/**\n * Extracts and stringifies the layer's route which can either be a string with parameters (`users/:id`),\n * a RegEx (`/test/`) or an array of strings and regexes (`['/path1', /\\/path[2-5]/, /path/:id]`). Additionally\n * returns extra information about the route, such as if the route is defined as regex or as an array.\n *\n * @param layer the layer to extract the stringified route from\n *\n * @returns an object containing the stringified route, a flag determining if the route was a regex\n * and the number of extra segments to the matched path that are additionally in the route,\n * if the route was an array (defaults to 0).\n */\nfunction getLayerRoutePathInfo(layer: Layer): LayerRoutePathInfo {\n const lrp = layer.route?.path;\n\n const isRegex = isRegExp(lrp);\n const isArray = Array.isArray(lrp);\n\n if (!lrp) {\n return { isRegex, isArray, numExtraSegments: 0 };\n }\n\n const numExtraSegments = isArray\n ? Math.max(getNumberOfArrayUrlSegments(lrp as RouteType[]) - getNumberOfUrlSegments(layer.path || ''), 0)\n : 0;\n\n const layerRoutePath = getLayerRoutePathString(isArray, lrp);\n\n return { layerRoutePath, isRegex, isArray, numExtraSegments };\n}\n\n/**\n * Returns the number of URL segments in an array of routes\n *\n * Example: ['/api/test', /\\/api\\/post[0-9]/, '/users/:id/details`] -> 7\n */\nfunction getNumberOfArrayUrlSegments(routesArray: RouteType[]): number {\n return routesArray.reduce((accNumSegments: number, currentRoute: RouteType) => {\n // array members can be a RegEx -> convert them toString\n return accNumSegments + getNumberOfUrlSegments(currentRoute.toString());\n }, 0);\n}\n\n/**\n * Extracts and returns the stringified version of the layers route path\n * Handles route arrays (by joining the paths together) as well as RegExp and normal\n * string values (in the latter case the toString conversion is technically unnecessary but\n * it doesn't hurt us either).\n */\nfunction getLayerRoutePathString(isArray: boolean, lrp?: RouteType | RouteType[]): string | undefined {\n if (isArray) {\n return (lrp as RouteType[]).map(r => r.toString()).join(',');\n }\n return lrp && lrp.toString();\n}\n","import type { Hub } from '@sentry/core';\nimport type { EventProcessor } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\nimport type { LazyLoadedIntegration } from './lazy';\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ntype GraphQLModule = {\n [method: string]: (...args: unknown[]) => unknown;\n};\n\n/** Tracing integration for graphql package */\nexport class GraphQL implements LazyLoadedIntegration<GraphQLModule> {\n /**\n * @inheritDoc\n */\n public static id: string = 'GraphQL';\n\n /**\n * @inheritDoc\n */\n public name: string = GraphQL.id;\n\n private _module?: GraphQLModule;\n\n /** @inheritdoc */\n public loadDependency(): GraphQLModule | undefined {\n return (this._module = this._module || loadModule('graphql/execution/execute.js'));\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('GraphQL Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n const pkg = this.loadDependency();\n\n if (!pkg) {\n __DEBUG_BUILD__ && logger.error('GraphQL Integration was unable to require graphql/execution package.');\n return;\n }\n\n fill(pkg, 'execute', function (orig: () => void | Promise<unknown>) {\n return function (this: unknown, ...args: unknown[]) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n\n const span = parentSpan?.startChild({\n description: 'execute',\n op: 'graphql.execute',\n });\n\n scope?.setSpan(span);\n\n const rv = orig.call(this, ...args);\n\n if (isThenable(rv)) {\n return rv.then((res: unknown) => {\n span?.finish();\n scope?.setSpan(parentSpan);\n\n return res;\n });\n }\n\n span?.finish();\n scope?.setSpan(parentSpan);\n return rv;\n };\n });\n }\n}\n","import type { Hub } from '@sentry/core';\nimport type { EventProcessor, SpanContext } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\nimport type { LazyLoadedIntegration } from './lazy';\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\n// This allows us to use the same array for both defaults options and the type itself.\n// (note `as const` at the end to make it a union of string literal types (i.e. \"a\" | \"b\" | ... )\n// and not just a string[])\ntype Operation = (typeof OPERATIONS)[number];\nconst OPERATIONS = [\n 'aggregate', // aggregate(pipeline, options, callback)\n 'bulkWrite', // bulkWrite(operations, options, callback)\n 'countDocuments', // countDocuments(query, options, callback)\n 'createIndex', // createIndex(fieldOrSpec, options, callback)\n 'createIndexes', // createIndexes(indexSpecs, options, callback)\n 'deleteMany', // deleteMany(filter, options, callback)\n 'deleteOne', // deleteOne(filter, options, callback)\n 'distinct', // distinct(key, query, options, callback)\n 'drop', // drop(options, callback)\n 'dropIndex', // dropIndex(indexName, options, callback)\n 'dropIndexes', // dropIndexes(options, callback)\n 'estimatedDocumentCount', // estimatedDocumentCount(options, callback)\n 'find', // find(query, options, callback)\n 'findOne', // findOne(query, options, callback)\n 'findOneAndDelete', // findOneAndDelete(filter, options, callback)\n 'findOneAndReplace', // findOneAndReplace(filter, replacement, options, callback)\n 'findOneAndUpdate', // findOneAndUpdate(filter, update, options, callback)\n 'indexes', // indexes(options, callback)\n 'indexExists', // indexExists(indexes, options, callback)\n 'indexInformation', // indexInformation(options, callback)\n 'initializeOrderedBulkOp', // initializeOrderedBulkOp(options, callback)\n 'insertMany', // insertMany(docs, options, callback)\n 'insertOne', // insertOne(doc, options, callback)\n 'isCapped', // isCapped(options, callback)\n 'mapReduce', // mapReduce(map, reduce, options, callback)\n 'options', // options(options, callback)\n 'parallelCollectionScan', // parallelCollectionScan(options, callback)\n 'rename', // rename(newName, options, callback)\n 'replaceOne', // replaceOne(filter, doc, options, callback)\n 'stats', // stats(options, callback)\n 'updateMany', // updateMany(filter, update, options, callback)\n 'updateOne', // updateOne(filter, update, options, callback)\n] as const;\n\n// All of the operations above take `options` and `callback` as their final parameters, but some of them\n// take additional parameters as well. For those operations, this is a map of\n// { <operation name>: [<names of additional parameters>] }, as a way to know what to call the operation's\n// positional arguments when we add them to the span's `data` object later\nconst OPERATION_SIGNATURES: {\n [op in Operation]?: string[];\n} = {\n // aggregate intentionally not included because `pipeline` arguments are too complex to serialize well\n // see https://github.com/getsentry/sentry-javascript/pull/3102\n bulkWrite: ['operations'],\n countDocuments: ['query'],\n createIndex: ['fieldOrSpec'],\n createIndexes: ['indexSpecs'],\n deleteMany: ['filter'],\n deleteOne: ['filter'],\n distinct: ['key', 'query'],\n dropIndex: ['indexName'],\n find: ['query'],\n findOne: ['query'],\n findOneAndDelete: ['filter'],\n findOneAndReplace: ['filter', 'replacement'],\n findOneAndUpdate: ['filter', 'update'],\n indexExists: ['indexes'],\n insertMany: ['docs'],\n insertOne: ['doc'],\n mapReduce: ['map', 'reduce'],\n rename: ['newName'],\n replaceOne: ['filter', 'doc'],\n updateMany: ['filter', 'update'],\n updateOne: ['filter', 'update'],\n};\n\ninterface MongoCollection {\n collectionName: string;\n dbName: string;\n namespace: string;\n prototype: {\n [operation in Operation]: (...args: unknown[]) => unknown;\n };\n}\n\ninterface MongoOptions {\n operations?: Operation[];\n describeOperations?: boolean | Operation[];\n useMongoose?: boolean;\n}\n\ninterface MongoCursor {\n once(event: 'close', listener: () => void): void;\n}\n\nfunction isCursor(maybeCursor: MongoCursor): maybeCursor is MongoCursor {\n return maybeCursor && typeof maybeCursor === 'object' && maybeCursor.once && typeof maybeCursor.once === 'function';\n}\n\ntype MongoModule = { Collection: MongoCollection };\n\n/** Tracing integration for mongo package */\nexport class Mongo implements LazyLoadedIntegration<MongoModule> {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mongo';\n\n /**\n * @inheritDoc\n */\n public name: string = Mongo.id;\n\n private _operations: Operation[];\n private _describeOperations?: boolean | Operation[];\n private _useMongoose: boolean;\n\n private _module?: MongoModule;\n\n /**\n * @inheritDoc\n */\n public constructor(options: MongoOptions = {}) {\n this._operations = Array.isArray(options.operations) ? options.operations : (OPERATIONS as unknown as Operation[]);\n this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;\n this._useMongoose = !!options.useMongoose;\n }\n\n /** @inheritdoc */\n public loadDependency(): MongoModule | undefined {\n const moduleName = this._useMongoose ? 'mongoose' : 'mongodb';\n return (this._module = this._module || loadModule(moduleName));\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Mongo Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n const pkg = this.loadDependency();\n\n if (!pkg) {\n const moduleName = this._useMongoose ? 'mongoose' : 'mongodb';\n __DEBUG_BUILD__ && logger.error(`Mongo Integration was unable to require \\`${moduleName}\\` package.`);\n return;\n }\n\n this._instrumentOperations(pkg.Collection, this._operations, getCurrentHub);\n }\n\n /**\n * Patches original collection methods\n */\n private _instrumentOperations(collection: MongoCollection, operations: Operation[], getCurrentHub: () => Hub): void {\n operations.forEach((operation: Operation) => this._patchOperation(collection, operation, getCurrentHub));\n }\n\n /**\n * Patches original collection to utilize our tracing functionality\n */\n private _patchOperation(collection: MongoCollection, operation: Operation, getCurrentHub: () => Hub): void {\n if (!(operation in collection.prototype)) return;\n\n const getSpanContext = this._getSpanContextFromOperationArguments.bind(this);\n\n fill(collection.prototype, operation, function (orig: () => void | Promise<unknown>) {\n return function (this: unknown, ...args: unknown[]) {\n const lastArg = args[args.length - 1];\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n\n // Check if the operation was passed a callback. (mapReduce requires a different check, as\n // its (non-callback) arguments can also be functions.)\n if (typeof lastArg !== 'function' || (operation === 'mapReduce' && args.length === 2)) {\n const span = parentSpan?.startChild(getSpanContext(this, operation, args));\n const maybePromiseOrCursor = orig.call(this, ...args);\n\n if (isThenable(maybePromiseOrCursor)) {\n return maybePromiseOrCursor.then((res: unknown) => {\n span?.finish();\n return res;\n });\n }\n // If the operation returns a Cursor\n // we need to attach a listener to it to finish the span when the cursor is closed.\n else if (isCursor(maybePromiseOrCursor)) {\n const cursor = maybePromiseOrCursor as MongoCursor;\n\n try {\n cursor.once('close', () => {\n span?.finish();\n });\n } catch (e) {\n // If the cursor is already closed, `once` will throw an error. In that case, we can\n // finish the span immediately.\n span?.finish();\n }\n\n return cursor;\n } else {\n span?.finish();\n return maybePromiseOrCursor;\n }\n }\n\n const span = parentSpan?.startChild(getSpanContext(this, operation, args.slice(0, -1)));\n\n return orig.call(this, ...args.slice(0, -1), function (err: Error, result: unknown) {\n span?.finish();\n lastArg(err, result);\n });\n };\n });\n }\n\n /**\n * Form a SpanContext based on the user input to a given operation.\n */\n private _getSpanContextFromOperationArguments(\n collection: MongoCollection,\n operation: Operation,\n args: unknown[],\n ): SpanContext {\n const data: { [key: string]: string } = {\n collectionName: collection.collectionName,\n dbName: collection.dbName,\n namespace: collection.namespace,\n 'db.system': 'mongodb',\n };\n const spanContext: SpanContext = {\n op: 'db',\n description: operation,\n data,\n };\n\n // If the operation takes no arguments besides `options` and `callback`, or if argument\n // collection is disabled for this operation, just return early.\n const signature = OPERATION_SIGNATURES[operation];\n const shouldDescribe = Array.isArray(this._describeOperations)\n ? this._describeOperations.includes(operation)\n : this._describeOperations;\n\n if (!signature || !shouldDescribe) {\n return spanContext;\n }\n\n try {\n // Special case for `mapReduce`, as the only one accepting functions as arguments.\n if (operation === 'mapReduce') {\n const [map, reduce] = args as { name?: string }[];\n data[signature[0]] = typeof map === 'string' ? map : map.name || '<anonymous>';\n data[signature[1]] = typeof reduce === 'string' ? reduce : reduce.name || '<anonymous>';\n } else {\n for (let i = 0; i < signature.length; i++) {\n data[signature[i]] = JSON.stringify(args[i]);\n }\n }\n } catch (_oO) {\n // no-empty\n }\n\n return spanContext;\n }\n}\n","import type { Hub } from '@sentry/core';\nimport type { EventProcessor } from '@sentry/types';\nimport { fill, loadModule, logger } from '@sentry/utils';\n\nimport type { LazyLoadedIntegration } from './lazy';\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ninterface MysqlConnection {\n createQuery: () => void;\n}\n\n/** Tracing integration for node-mysql package */\nexport class Mysql implements LazyLoadedIntegration<MysqlConnection> {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mysql';\n\n /**\n * @inheritDoc\n */\n public name: string = Mysql.id;\n\n private _module?: MysqlConnection;\n\n /** @inheritdoc */\n public loadDependency(): MysqlConnection | undefined {\n return (this._module = this._module || loadModule('mysql/lib/Connection.js'));\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Mysql Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n const pkg = this.loadDependency();\n\n if (!pkg) {\n __DEBUG_BUILD__ && logger.error('Mysql Integration was unable to require `mysql` package.');\n return;\n }\n\n // The original function will have one of these signatures:\n // function (callback) => void\n // function (options, callback) => void\n // function (options, values, callback) => void\n fill(pkg, 'createQuery', function (orig: () => void) {\n return function (this: unknown, options: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof options === 'string' ? options : (options as { sql: string }).sql,\n op: 'db',\n data: {\n 'db.system': 'mysql',\n },\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, options, values, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n callback(err, result, fields);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, options, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n values(err, result, fields);\n });\n }\n\n return orig.call(this, options, values, callback);\n };\n });\n }\n}\n","import type { Hub } from '@sentry/core';\nimport type { EventProcessor } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\nimport type { LazyLoadedIntegration } from './lazy';\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ninterface PgClient {\n prototype: {\n query: () => void | Promise<unknown>;\n };\n}\n\ninterface PgOptions {\n usePgNative?: boolean;\n}\n\ntype PGModule = { Client: PgClient; native: { Client: PgClient } };\n\n/** Tracing integration for node-postgres package */\nexport class Postgres implements LazyLoadedIntegration<PGModule> {\n /**\n * @inheritDoc\n */\n public static id: string = 'Postgres';\n\n /**\n * @inheritDoc\n */\n public name: string = Postgres.id;\n\n private _usePgNative: boolean;\n\n private _module?: PGModule;\n\n public constructor(options: PgOptions = {}) {\n this._usePgNative = !!options.usePgNative;\n }\n\n /** @inheritdoc */\n public loadDependency(): PGModule | undefined {\n return (this._module = this._module || loadModule('pg'));\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Postgres Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n const pkg = this.loadDependency();\n\n if (!pkg) {\n __DEBUG_BUILD__ && logger.error('Postgres Integration was unable to require `pg` package.');\n return;\n }\n\n if (this._usePgNative && !pkg.native?.Client) {\n __DEBUG_BUILD__ && logger.error(\"Postgres Integration was unable to access 'pg-native' bindings.\");\n return;\n }\n\n const { Client } = this._usePgNative ? pkg.native : pkg;\n\n /**\n * function (query, callback) => void\n * function (query, params, callback) => void\n * function (query) => Promise\n * function (query, params) => Promise\n * function (pg.Cursor) => pg.Cursor\n */\n fill(Client.prototype, 'query', function (orig: () => void | Promise<unknown>) {\n return function (this: unknown, config: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof config === 'string' ? config : (config as { text: string }).text,\n op: 'db',\n data: {\n 'db.system': 'postgresql',\n },\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, config, values, function (err: Error, result: unknown) {\n span?.finish();\n callback(err, result);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, config, function (err: Error, result: unknown) {\n span?.finish();\n values(err, result);\n });\n }\n\n const rv = typeof values !== 'undefined' ? orig.call(this, config, values) : orig.call(this, config);\n\n if (isThenable(rv)) {\n return rv.then((res: unknown) => {\n span?.finish();\n return res;\n });\n }\n\n span?.finish();\n return rv;\n };\n });\n }\n}\n","import type { Hub } from '@sentry/core';\nimport { trace } from '@sentry/core';\nimport type { EventProcessor, Integration } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { shouldDisableAutoInstrumentation } from './utils/node-utils';\n\ntype PrismaAction =\n | 'findUnique'\n | 'findMany'\n | 'findFirst'\n | 'create'\n | 'createMany'\n | 'update'\n | 'updateMany'\n | 'upsert'\n | 'delete'\n | 'deleteMany'\n | 'executeRaw'\n | 'queryRaw'\n | 'aggregate'\n | 'count'\n | 'runCommandRaw';\n\ninterface PrismaMiddlewareParams {\n model?: unknown;\n action: PrismaAction;\n args: unknown;\n dataPath: string[];\n runInTransaction: boolean;\n}\n\ntype PrismaMiddleware<T = unknown> = (\n params: PrismaMiddlewareParams,\n next: (params: PrismaMiddlewareParams) => Promise<T>,\n) => Promise<T>;\n\ninterface PrismaClient {\n $use: (cb: PrismaMiddleware) => void;\n}\n\nfunction isValidPrismaClient(possibleClient: unknown): possibleClient is PrismaClient {\n return possibleClient && !!(possibleClient as PrismaClient)['$use'];\n}\n\n/** Tracing integration for @prisma/client package */\nexport class Prisma implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Prisma';\n\n /**\n * @inheritDoc\n */\n public name: string = Prisma.id;\n\n /**\n * Prisma ORM Client Instance\n */\n private readonly _client?: PrismaClient;\n\n /**\n * @inheritDoc\n */\n public constructor(options: { client?: unknown } = {}) {\n if (isValidPrismaClient(options.client)) {\n this._client = options.client;\n } else {\n __DEBUG_BUILD__ &&\n logger.warn(\n `Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(options.client)}`,\n );\n }\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n if (!this._client) {\n __DEBUG_BUILD__ && logger.error('PrismaIntegration is missing a Prisma Client Instance');\n return;\n }\n\n if (shouldDisableAutoInstrumentation(getCurrentHub)) {\n __DEBUG_BUILD__ && logger.log('Prisma Integration is skipped because of instrumenter configuration.');\n return;\n }\n\n this._client.$use((params, next: (params: PrismaMiddlewareParams) => Promise<unknown>) => {\n const action = params.action;\n const model = params.model;\n return trace(\n { name: model ? `${model} ${action}` : action, op: 'db.sql.prisma', data: { 'db.system': 'prisma' } },\n () => next(params),\n );\n });\n }\n}\n","import type { TransactionContext } from '@sentry/types';\nimport { isThenable } from '@sentry/utils';\n\nimport { getCurrentHub } from '../hub';\nimport type { Span } from './span';\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`, this function\n * will not generate spans, and the `span` returned from the callback may be undefined.\n *\n * This function is meant to be used internally and may break at any time. Use at your own risk.\n *\n * @internal\n * @private\n */\nexport function trace<T>(\n context: TransactionContext,\n callback: (span?: Span) => T,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onError: (error: unknown) => void = () => {},\n): T {\n const ctx = { ...context };\n // If a name is set and a description is not, set the description to the name.\n if (ctx.name !== undefined && ctx.description === undefined) {\n ctx.description = ctx.name;\n }\n\n const hub = getCurrentHub();\n const scope = hub.getScope();\n\n const parentSpan = scope.getSpan();\n const activeSpan = parentSpan ? parentSpan.startChild(ctx) : hub.startTransaction(ctx);\n scope.setSpan(activeSpan);\n\n function finishAndSetSpan(): void {\n activeSpan && activeSpan.finish();\n hub.getScope().setSpan(parentSpan);\n }\n\n let maybePromiseResult: T;\n try {\n maybePromiseResult = callback(activeSpan);\n } catch (e) {\n activeSpan && activeSpan.setStatus('internal_error');\n onError(e);\n finishAndSetSpan();\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n Promise.resolve(maybePromiseResult).then(\n () => {\n finishAndSetSpan();\n },\n e => {\n activeSpan && activeSpan.setStatus('internal_error');\n onError(e);\n finishAndSetSpan();\n },\n );\n } else {\n finishAndSetSpan();\n }\n\n return maybePromiseResult;\n}\n","import type {\n RequestInstrumentationOptions as RequestInstrumentationOptionsT,\n SpanStatusType as SpanStatusTypeT,\n} from '@sentry-internal/tracing';\nimport {\n addExtensionMethods as addExtensionMethodsT,\n Apollo,\n BROWSER_TRACING_INTEGRATION_ID as BROWSER_TRACING_INTEGRATION_ID_T,\n BrowserTracing as BrowserTracingT,\n defaultRequestInstrumentationOptions as defaultRequestInstrumentationOptionsT,\n Express,\n extractTraceparentData as extractTraceparentDataT,\n getActiveTransaction as getActiveTransactionT,\n GraphQL,\n hasTracingEnabled as hasTracingEnabledT,\n IdleTransaction as IdleTransactionT,\n instrumentOutgoingRequests as instrumentOutgoingRequestsT,\n Mongo,\n Mysql,\n Postgres,\n Prisma,\n Span as SpanT,\n // eslint-disable-next-line deprecation/deprecation\n SpanStatus as SpanStatusT,\n spanStatusfromHttpCode as spanStatusfromHttpCodeT,\n startIdleTransaction as startIdleTransactionT,\n stripUrlQueryAndFragment as stripUrlQueryAndFragmentT,\n TRACEPARENT_REGEXP as TRACEPARENT_REGEXP_T,\n Transaction as TransactionT,\n} from '@sentry-internal/tracing';\n\n// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for\n// backwards compatibility), but that interferes with treeshaking, so we also export it separately\n// here.\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK\n *\n * import { BrowserTracing } from '@sentry/browser';\n * new BrowserTracing()\n */\nexport const BrowserTracing = BrowserTracingT;\n\n// BrowserTracing is already exported as part of `Integrations` below (and for the moment will remain so for\n// backwards compatibility), but that interferes with treeshaking, so we also export it separately\n// here.\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK\n *\n * import { BrowserTracing } from '@sentry/browser';\n * new BrowserTracing()\n */\nexport type BrowserTracing = BrowserTracingT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport const addExtensionMethods = addExtensionMethodsT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `getActiveTransaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport const getActiveTransaction = getActiveTransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `extractTraceparentData` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport const extractTraceparentData = extractTraceparentDataT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `spanStatusfromHttpCode` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport const spanStatusfromHttpCode = spanStatusfromHttpCodeT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `SpanStatusType` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport type SpanStatusType = SpanStatusTypeT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport const Transaction = TransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `Transaction` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport type Transaction = TransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport const Span = SpanT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `Span` can be imported from `@sentry/node`, `@sentry/browser`, or your framework SDK\n */\nexport type Span = SpanT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport const BROWSER_TRACING_INTEGRATION_ID = BROWSER_TRACING_INTEGRATION_ID_T;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `defaultRequestInstrumentationOptions` can be imported from `@sentry/browser`, or your framework SDK\n */\nexport const defaultRequestInstrumentationOptions = defaultRequestInstrumentationOptionsT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `hasTracingEnabled` can be imported from `@sentry/utils`\n */\nexport const hasTracingEnabled = hasTracingEnabledT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `stripUrlQueryAndFragment` can be imported from `@sentry/utils`\n */\nexport const stripUrlQueryAndFragment = stripUrlQueryAndFragmentT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n *\n * `TRACEPARENT_REGEXP` can be imported from `@sentry/utils`\n */\nexport const TRACEPARENT_REGEXP = TRACEPARENT_REGEXP_T;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport const IdleTransaction = IdleTransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport type IdleTransaction = IdleTransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport const instrumentOutgoingRequests = instrumentOutgoingRequestsT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport const startIdleTransaction = startIdleTransactionT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport const SpanStatus = SpanStatusT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport type SpanStatus = SpanStatusT;\n\n/**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n */\nexport type RequestInstrumentationOptions = RequestInstrumentationOptionsT;\n\nexport const Integrations = {\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `BrowserTracing` can be imported from `@sentry/browser` or your framework SDK\n *\n * import { BrowserTracing } from '@sentry/browser';\n * new BrowserTracing()\n */\n // eslint-disable-next-line deprecation/deprecation\n BrowserTracing: BrowserTracing,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Apollo` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Apollo({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Apollo: Apollo,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Express` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Express({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Express: Express,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `GraphQL` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.GraphQL({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n GraphQL: GraphQL,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Mongo` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Mongo({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Mongo: Mongo,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Mysql` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Mysql({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Mysql: Mysql,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Postgres` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Postgres({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Postgres: Postgres,\n /**\n * @deprecated `@sentry/tracing` has been deprecated and will be moved to to `@sentry/node`, `@sentry/browser`, or your framework SDK in the next major version.\n * `Prisma` can be imported from `@sentry/node`\n *\n * import { Integrations } from '@sentry/node';\n * new Integrations.Prisma({ ... })\n */\n // eslint-disable-next-line deprecation/deprecation\n Prisma: Prisma,\n};\n\n// Treeshakable guard to remove all code related to tracing\ndeclare const __SENTRY_TRACING__: boolean;\n\n// Guard for tree\nif (typeof __SENTRY_TRACING__ === 'undefined' || __SENTRY_TRACING__) {\n // We are patching the global object with our hub extension methods\n addExtensionMethodsT();\n}\n","var n=function(t,s,r,e){var u;s[0]=0;for(var h=1;h<s.length;h++){var p=s[h++],a=s[h]?(s[0]|=p?1:2,r[s[h++]]):s[++h];3===p?e[0]=a:4===p?e[1]=Object.assign(e[1]||{},a):5===p?(e[1]=e[1]||{})[s[++h]]=a:6===p?e[1][s[++h]]+=a+\"\":p?(u=t.apply(a,n(t,a,r,[\"\",null])),e.push(u),a[0]?s[0]|=2:(s[h-2]=0,s[h]=u)):e.push(a)}return e},t=new Map;export default function(s){var r=t.get(this);return r||(r=new Map,t.set(this,r)),(r=n(this,r.get(s)||(r.set(s,r=function(n){for(var t,s,r=1,e=\"\",u=\"\",h=[0],p=function(n){1===r&&(n||(e=e.replace(/^\\s*\\n\\s*|\\s*\\n\\s*$/g,\"\")))?h.push(0,n,e):3===r&&(n||e)?(h.push(3,n,e),r=2):2===r&&\"...\"===e&&n?h.push(4,n,0):2===r&&e&&!n?h.push(5,0,!0,e):r>=5&&((e||!n&&5===r)&&(h.push(r,0,e,s),r=6),n&&(h.push(r,n,0,s),r=6)),e=\"\"},a=0;a<n.length;a++){a&&(1===r&&p(),p(a));for(var l=0;l<n[a].length;l++)t=n[a][l],1===r?\"<\"===t?(p(),h=[h],r=3):e+=t:4===r?\"--\"===e&&\">\"===t?(r=1,e=\"\"):e=t+e[0]:u?t===u?u=\"\":e+=t:'\"'===t||\"'\"===t?u=t:\">\"===t?(p(),r=1):r&&(\"=\"===t?(r=5,s=e,e=\"\"):\"/\"===t&&(r<5||\">\"===n[a][l+1])?(p(),3===r&&(h=h[0]),r=h,(h=h[0]).push(2,0,r),r=0):\" \"===t||\"\\t\"===t||\"\\n\"===t||\"\\r\"===t?(p(),r=2):e+=t),3===r&&\"!--\"===e&&(r=4,h=h[0])}return p(),h}(s)),r),arguments,[])).length>1?r:r[0]}\n","import{createElement as r}from\"react\";import m from\"htm\";var o=m.bind(r);export{o as html};\n","function t(t){return t.split(\"-\")[0]}function e(t){return t.split(\"-\")[1]}function n(e){return[\"top\",\"bottom\"].includes(t(e))?\"x\":\"y\"}function r(t){return\"y\"===t?\"height\":\"width\"}function i(i,o,a){let{reference:l,floating:s}=i;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=n(o),m=r(u),g=l[m]/2-s[m]/2,d=\"x\"===u;let p;switch(t(o)){case\"top\":p={x:c,y:l.y-s.height};break;case\"bottom\":p={x:c,y:l.y+l.height};break;case\"right\":p={x:l.x+l.width,y:f};break;case\"left\":p={x:l.x-s.width,y:f};break;default:p={x:l.x,y:l.y}}switch(e(o)){case\"start\":p[u]-=g*(a&&d?-1:1);break;case\"end\":p[u]+=g*(a&&d?-1:1)}return p}const o=async(t,e,n)=>{const{placement:r=\"bottom\",strategy:o=\"absolute\",middleware:a=[],platform:l}=n,s=await(null==l.isRTL?void 0:l.isRTL(e));let c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:u}=i(c,r,s),m=r,g={};for(let n=0;n<a.length;n++){const{name:d,fn:p}=a[n],{x:h,y:y,data:x,reset:w}=await p({x:f,y:u,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:c,platform:l,elements:{reference:t,floating:e}});f=null!=h?h:f,u=null!=y?y:u,g={...g,[d]:{...g[d],...x}},w&&(\"object\"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:e,strategy:o}):w.rects),({x:f,y:u}=i(c,m,s))),n=-1)}return{x:f,y:u,placement:m,strategy:o,middlewareData:g}};function a(t){return\"number\"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function s(t,e){var n;void 0===e&&(e={});const{x:r,y:i,platform:o,rects:s,elements:c,strategy:f}=t,{boundary:u=\"clippingAncestors\",rootBoundary:m=\"viewport\",elementContext:g=\"floating\",altBoundary:d=!1,padding:p=0}=e,h=a(p),y=c[d?\"floating\"===g?\"reference\":\"floating\":g],x=l(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(y)))||n?y:y.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:f})),w=l(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:\"floating\"===g?{...s.floating,x:r,y:i}:s.reference,offsetParent:await(null==o.getOffsetParent?void 0:o.getOffsetParent(c.floating)),strategy:f}):s[g]);return{top:x.top-w.top+h.top,bottom:w.bottom-x.bottom+h.bottom,left:x.left-w.left+h.left,right:w.right-x.right+h.right}}const c=Math.min,f=Math.max;function u(t,e,n){return f(t,c(e,n))}const m=t=>({name:\"arrow\",options:t,async fn(e){const{element:i,padding:o=0}=null!=t?t:{},{x:l,y:s,placement:c,rects:f,platform:m}=e;if(null==i)return{};const g=a(o),d={x:l,y:s},p=n(c),h=r(p),y=await m.getDimensions(i),x=\"y\"===p?\"top\":\"left\",w=\"y\"===p?\"bottom\":\"right\",v=f.reference[h]+f.reference[p]-d[p]-f.floating[h],b=d[p]-f.reference[p],R=await(null==m.getOffsetParent?void 0:m.getOffsetParent(i)),A=R?\"y\"===p?R.clientHeight||0:R.clientWidth||0:0,P=v/2-b/2,T=g[x],O=A-y[h]-g[w],D=A/2-y[h]/2+P,L=u(T,D,O);return{data:{[p]:L,centerOffset:D-L}}}}),g={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"};function d(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function p(t,i,o){void 0===o&&(o=!1);const a=e(t),l=n(t),s=r(l);let c=\"x\"===l?a===(o?\"end\":\"start\")?\"right\":\"left\":\"start\"===a?\"bottom\":\"top\";return i.reference[s]>i.floating[s]&&(c=d(c)),{main:c,cross:d(c)}}const h={start:\"end\",end:\"start\"};function y(t){return t.replace(/start|end/g,(t=>h[t]))}const x=[\"top\",\"right\",\"bottom\",\"left\"],w=x.reduce(((t,e)=>t.concat(e,e+\"-start\",e+\"-end\")),[]);const v=function(n){return void 0===n&&(n={}),{name:\"autoPlacement\",options:n,async fn(r){var i,o,a,l,c;const{x:f,y:u,rects:m,middlewareData:g,placement:d,platform:h,elements:x}=r,{alignment:v=null,allowedPlacements:b=w,autoAlignment:R=!0,...A}=n,P=function(n,r,i){return(n?[...i.filter((t=>e(t)===n)),...i.filter((t=>e(t)!==n))]:i.filter((e=>t(e)===e))).filter((t=>!n||e(t)===n||!!r&&y(t)!==t))}(v,R,b),T=await s(r,A),O=null!=(i=null==(o=g.autoPlacement)?void 0:o.index)?i:0,D=P[O];if(null==D)return{};const{main:L,cross:k}=p(D,m,await(null==h.isRTL?void 0:h.isRTL(x.floating)));if(d!==D)return{x:f,y:u,reset:{placement:P[0]}};const E=[T[t(D)],T[L],T[k]],C=[...null!=(a=null==(l=g.autoPlacement)?void 0:l.overflows)?a:[],{placement:D,overflows:E}],B=P[O+1];if(B)return{data:{index:O+1,overflows:C},reset:{placement:B}};const H=C.slice().sort(((t,e)=>t.overflows[0]-e.overflows[0])),V=null==(c=H.find((t=>{let{overflows:e}=t;return e.every((t=>t<=0))})))?void 0:c.placement,F=null!=V?V:H[0].placement;return F!==d?{data:{index:O+1,overflows:C},reset:{placement:F}}:{}}}};const b=function(e){return void 0===e&&(e={}),{name:\"flip\",options:e,async fn(n){var r;const{placement:i,middlewareData:o,rects:a,initialPlacement:l,platform:c,elements:f}=n,{mainAxis:u=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:h=\"bestFit\",flipAlignment:x=!0,...w}=e,v=t(i),b=g||(v===l||!x?[d(l)]:function(t){const e=d(t);return[y(t),e,y(e)]}(l)),R=[l,...b],A=await s(n,w),P=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&P.push(A[v]),m){const{main:t,cross:e}=p(i,a,await(null==c.isRTL?void 0:c.isRTL(f.floating)));P.push(A[t],A[e])}if(T=[...T,{placement:i,overflows:P}],!P.every((t=>t<=0))){var O,D;const t=(null!=(O=null==(D=o.flip)?void 0:D.index)?O:0)+1,e=R[t];if(e)return{data:{index:t,overflows:T},reset:{placement:e}};let n=\"bottom\";switch(h){case\"bestFit\":{var L;const t=null==(L=T.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:L[0].placement;t&&(n=t);break}case\"initialPlacement\":n=l}if(i!==n)return{reset:{placement:n}}}return{}}}};function R(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function A(t){return x.some((e=>t[e]>=0))}const P=function(t){let{strategy:e=\"referenceHidden\",...n}=void 0===t?{}:t;return{name:\"hide\",async fn(t){const{rects:r}=t;switch(e){case\"referenceHidden\":{const e=R(await s(t,{...n,elementContext:\"reference\"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:A(e)}}}case\"escaped\":{const e=R(await s(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:A(e)}}}default:return{}}}}};const T=function(r){return void 0===r&&(r=0),{name:\"offset\",options:r,async fn(i){const{x:o,y:a,placement:l,rects:s,platform:c,elements:f}=i,u=function(r,i,o,a){void 0===a&&(a=!1);const l=t(r),s=e(r),c=\"x\"===n(r),f=[\"left\",\"top\"].includes(l)?-1:1,u=a&&c?-1:1,m=\"function\"==typeof o?o({...i,placement:r}):o;let{mainAxis:g,crossAxis:d,alignmentAxis:p}=\"number\"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return s&&\"number\"==typeof p&&(d=\"end\"===s?-1*p:p),c?{x:d*u,y:g*f}:{x:g*f,y:d*u}}(l,s,r,await(null==c.isRTL?void 0:c.isRTL(f.floating)));return{x:o+u.x,y:a+u.y,data:u}}}};function O(t){return\"x\"===t?\"y\":\"x\"}const D=function(e){return void 0===e&&(e={}),{name:\"shift\",options:e,async fn(r){const{x:i,y:o,placement:a}=r,{mainAxis:l=!0,crossAxis:c=!1,limiter:f={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=e,g={x:i,y:o},d=await s(r,m),p=n(t(a)),h=O(p);let y=g[p],x=g[h];if(l){const t=\"y\"===p?\"bottom\":\"right\";y=u(y+d[\"y\"===p?\"top\":\"left\"],y,y-d[t])}if(c){const t=\"y\"===h?\"bottom\":\"right\";x=u(x+d[\"y\"===h?\"top\":\"left\"],x,x-d[t])}const w=f.fn({...r,[p]:y,[h]:x});return{...w,data:{x:w.x-i,y:w.y-o}}}}},L=function(e){return void 0===e&&(e={}),{options:e,fn(r){const{x:i,y:o,placement:a,rects:l,middlewareData:s}=r,{offset:c=0,mainAxis:f=!0,crossAxis:u=!0}=e,m={x:i,y:o},g=n(a),d=O(g);let p=m[g],h=m[d];const y=\"function\"==typeof c?c({...l,placement:a}):c,x=\"number\"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(f){const t=\"y\"===g?\"height\":\"width\",e=l.reference[g]-l.floating[t]+x.mainAxis,n=l.reference[g]+l.reference[t]-x.mainAxis;p<e?p=e:p>n&&(p=n)}if(u){var w,v,b,R;const e=\"y\"===g?\"width\":\"height\",n=[\"top\",\"left\"].includes(t(a)),r=l.reference[d]-l.floating[e]+(n&&null!=(w=null==(v=s.offset)?void 0:v[d])?w:0)+(n?0:x.crossAxis),i=l.reference[d]+l.reference[e]+(n?0:null!=(b=null==(R=s.offset)?void 0:R[d])?b:0)-(n?x.crossAxis:0);h<r?h=r:h>i&&(h=i)}return{[g]:p,[d]:h}}}},k=function(n){return void 0===n&&(n={}),{name:\"size\",options:n,async fn(r){const{placement:i,rects:o,platform:a,elements:l}=r,{apply:c,...u}=n,m=await s(r,u),g=t(i),d=e(i);let p,h;\"top\"===g||\"bottom\"===g?(p=g,h=d===(await(null==a.isRTL?void 0:a.isRTL(l.floating))?\"start\":\"end\")?\"left\":\"right\"):(h=g,p=\"end\"===d?\"top\":\"bottom\");const y=f(m.left,0),x=f(m.right,0),w=f(m.top,0),v=f(m.bottom,0),b={height:o.floating.height-([\"left\",\"right\"].includes(i)?2*(0!==w||0!==v?w+v:f(m.top,m.bottom)):m[p]),width:o.floating.width-([\"top\",\"bottom\"].includes(i)?2*(0!==y||0!==x?y+x:f(m.left,m.right)):m[h])},R=await a.getDimensions(l.floating);null==c||c({...b,...o});const A=await a.getDimensions(l.floating);return R.width!==A.width||R.height!==A.height?{reset:{rects:!0}}:{}}}},E=function(e){return void 0===e&&(e={}),{name:\"inline\",options:e,async fn(r){var i;const{placement:o,elements:s,rects:u,platform:m,strategy:g}=r,{padding:d=2,x:p,y:h}=e,y=l(m.convertOffsetParentRelativeRectToViewportRelativeRect?await m.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u.reference,offsetParent:await(null==m.getOffsetParent?void 0:m.getOffsetParent(s.floating)),strategy:g}):u.reference),x=null!=(i=await(null==m.getClientRects?void 0:m.getClientRects(s.reference)))?i:[],w=a(d);const v=await m.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===x.length&&x[0].left>x[1].right&&null!=p&&null!=h)return null!=(e=x.find((t=>p>t.left-w.left&&p<t.right+w.right&&h>t.top-w.top&&h<t.bottom+w.bottom)))?e:y;if(x.length>=2){if(\"x\"===n(o)){const e=x[0],n=x[x.length-1],r=\"top\"===t(o),i=e.top,a=n.bottom,l=r?e.left:n.left,s=r?e.right:n.right;return{top:i,bottom:a,left:l,right:s,width:s-l,height:a-i,x:l,y:i}}const e=\"left\"===t(o),r=f(...x.map((t=>t.right))),i=c(...x.map((t=>t.left))),a=x.filter((t=>e?t.left===i:t.right===r)),l=a[0].top,s=a[a.length-1].bottom;return{top:l,bottom:s,left:i,right:r,width:r-i,height:s-l,x:i,y:l}}return y}},floating:s.floating,strategy:g});return u.reference.x!==v.reference.x||u.reference.y!==v.reference.y||u.reference.width!==v.reference.width||u.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};export{m as arrow,v as autoPlacement,o as computePosition,s as detectOverflow,b as flip,P as hide,E as inline,L as limitShift,T as offset,l as rectToClientRect,D as shift,k as size};\n","import{rectToClientRect as t,computePosition as e}from\"@floating-ui/core\";export{arrow,autoPlacement,detectOverflow,flip,hide,inline,limitShift,offset,shift,size}from\"@floating-ui/core\";function n(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function o(t){if(null==t)return window;if(!n(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function i(t){return o(t).getComputedStyle(t)}function r(t){return n(t)?\"\":t?(t.nodeName||\"\").toLowerCase():\"\"}function l(t){return t instanceof o(t).HTMLElement}function c(t){return t instanceof o(t).Element}function f(t){if(\"undefined\"==typeof ShadowRoot)return!1;return t instanceof o(t).ShadowRoot||t instanceof ShadowRoot}function s(t){const{overflow:e,overflowX:n,overflowY:o}=i(t);return/auto|scroll|overlay|hidden/.test(e+o+n)}function u(t){return[\"table\",\"td\",\"th\"].includes(r(t))}function d(t){const e=navigator.userAgent.toLowerCase().includes(\"firefox\"),n=i(t);return\"none\"!==n.transform||\"none\"!==n.perspective||\"paint\"===n.contain||[\"transform\",\"perspective\"].includes(n.willChange)||e&&\"filter\"===n.willChange||e&&!!n.filter&&\"none\"!==n.filter}function h(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const a=Math.min,g=Math.max,p=Math.round;function m(t,e,n){var i,r,f,s;void 0===e&&(e=!1),void 0===n&&(n=!1);const u=t.getBoundingClientRect();let d=1,a=1;e&&l(t)&&(d=t.offsetWidth>0&&p(u.width)/t.offsetWidth||1,a=t.offsetHeight>0&&p(u.height)/t.offsetHeight||1);const g=c(t)?o(t):window,m=!h()&&n,w=(u.left+(m&&null!=(i=null==(r=g.visualViewport)?void 0:r.offsetLeft)?i:0))/d,v=(u.top+(m&&null!=(f=null==(s=g.visualViewport)?void 0:s.offsetTop)?f:0))/a,y=u.width/d,x=u.height/a;return{width:y,height:x,top:v,right:w+y,bottom:v+x,left:w,x:w,y:v}}function w(t){return(e=t,(e instanceof o(e).Node?t.ownerDocument:t.document)||window.document).documentElement;var e}function v(t){return c(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function y(t){return m(w(t)).left+v(t).scrollLeft}function x(t,e,n){const o=l(e),i=w(e),c=m(t,o&&function(t){const e=m(t);return p(e.width)!==t.offsetWidth||p(e.height)!==t.offsetHeight}(e),\"fixed\"===n);let f={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if(o||!o&&\"fixed\"!==n)if((\"body\"!==r(e)||s(i))&&(f=v(e)),l(e)){const t=m(e,!0);u.x=t.x+e.clientLeft,u.y=t.y+e.clientTop}else i&&(u.x=y(i));return{x:c.left+f.scrollLeft-u.x,y:c.top+f.scrollTop-u.y,width:c.width,height:c.height}}function L(t){return\"html\"===r(t)?t:t.assignedSlot||t.parentNode||(f(t)?t.host:null)||w(t)}function b(t){return l(t)&&\"fixed\"!==getComputedStyle(t).position?t.offsetParent:null}function R(t){const e=o(t);let n=b(t);for(;n&&u(n)&&\"static\"===getComputedStyle(n).position;)n=b(n);return n&&(\"html\"===r(n)||\"body\"===r(n)&&\"static\"===getComputedStyle(n).position&&!d(n))?e:n||function(t){let e=L(t);for(f(e)&&(e=e.host);l(e)&&![\"html\",\"body\"].includes(r(e));){if(d(e))return e;e=e.parentNode}return null}(t)||e}function T(t){if(l(t))return{width:t.offsetWidth,height:t.offsetHeight};const e=m(t);return{width:e.width,height:e.height}}function W(t){const e=L(t);return[\"html\",\"body\",\"#document\"].includes(r(e))?t.ownerDocument.body:l(e)&&s(e)?e:W(e)}function C(t,e){var n;void 0===e&&(e=[]);const i=W(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),l=o(i),c=r?[l].concat(l.visualViewport||[],s(i)?i:[]):i,f=e.concat(c);return r?f:f.concat(C(c))}function E(e,n,r){return\"viewport\"===n?t(function(t,e){const n=o(t),i=w(t),r=n.visualViewport;let l=i.clientWidth,c=i.clientHeight,f=0,s=0;if(r){l=r.width,c=r.height;const t=h();(t||!t&&\"fixed\"===e)&&(f=r.offsetLeft,s=r.offsetTop)}return{width:l,height:c,x:f,y:s}}(e,r)):c(n)?function(t,e){const n=m(t,!1,\"fixed\"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft;return{top:o,left:i,x:i,y:o,right:i+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,r):t(function(t){var e;const n=w(t),o=v(t),r=null==(e=t.ownerDocument)?void 0:e.body,l=g(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),c=g(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let f=-o.scrollLeft+y(t);const s=-o.scrollTop;return\"rtl\"===i(r||n).direction&&(f+=g(n.clientWidth,r?r.clientWidth:0)-l),{width:l,height:c,x:f,y:s}}(w(e)))}function H(t){const e=C(t),n=[\"absolute\",\"fixed\"].includes(i(t).position)&&l(t)?R(t):t;return c(n)?e.filter((t=>c(t)&&function(t,e){const n=null==e||null==e.getRootNode?void 0:e.getRootNode();if(null!=t&&t.contains(e))return!0;if(n&&f(n)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(t,n)&&\"body\"!==r(t))):[]}const S={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...\"clippingAncestors\"===n?H(e):[].concat(n),o],l=r[0],c=r.reduce(((t,n)=>{const o=E(e,n,i);return t.top=g(o.top,t.top),t.right=a(o.right,t.right),t.bottom=a(o.bottom,t.bottom),t.left=g(o.left,t.left),t}),E(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const i=l(n),c=w(n);if(n===c)return e;let f={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if((i||!i&&\"fixed\"!==o)&&((\"body\"!==r(n)||s(c))&&(f=v(n)),l(n))){const t=m(n,!0);u.x=t.x+n.clientLeft,u.y=t.y+n.clientTop}return{...e,x:e.x-f.scrollLeft+u.x,y:e.y-f.scrollTop+u.y}},isElement:c,getDimensions:T,getOffsetParent:R,getDocumentElement:w,getElementRects:t=>{let{reference:e,floating:n,strategy:o}=t;return{reference:x(e,R(n),o),floating:{...T(n),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>\"rtl\"===i(t).direction};function D(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=!0,animationFrame:f=!1}=o;let s=!1;const u=i&&!f,d=r&&!f,h=l&&!f,a=u||d?[...c(t)?C(t):[],...C(e)]:[];a.forEach((t=>{u&&t.addEventListener(\"scroll\",n,{passive:!0}),d&&t.addEventListener(\"resize\",n)}));let g,p=null;h&&(p=new ResizeObserver(n),c(t)&&p.observe(t),p.observe(e));let w=f?m(t):null;return f&&function e(){if(s)return;const o=m(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n();w=o,g=requestAnimationFrame(e)}(),()=>{var t;s=!0,a.forEach((t=>{u&&t.removeEventListener(\"scroll\",n),d&&t.removeEventListener(\"resize\",n)})),null==(t=p)||t.disconnect(),p=null,f&&cancelAnimationFrame(g)}}const N=(t,n,o)=>e(t,n,{platform:S,...o});export{D as autoUpdate,N as computePosition,C as getOverflowAncestors};\n","import { computePosition, arrow as arrow$1 } from '@floating-ui/dom';\nexport * from '@floating-ui/dom';\nimport { useLayoutEffect, useEffect, useRef, useState, useCallback, useMemo } from 'react';\nimport { flushSync } from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\n// @ts-nocheck\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n if (typeof a !== typeof b) {\n return false;\n }\n\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n\n let length, i, keys;\n\n if (a && b && typeof a == 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n\n return true;\n }\n\n keys = Object.keys(a);\n length = keys.length;\n\n if (length !== Object.keys(b).length) {\n return false;\n }\n\n for (i = length; i-- !== 0;) {\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n\n return true;\n }\n\n return a !== a && b !== b;\n}\n\nfunction useFloating(_temp) {\n let {\n middleware,\n placement = 'bottom',\n strategy = 'absolute'\n } = _temp === void 0 ? {} : _temp;\n const reference = useRef(null);\n const floating = useRef(null);\n const [data, setData] = useState({\n // Setting these to `null` will allow the consumer to determine if\n // `computePosition()` has run yet\n x: null,\n y: null,\n strategy,\n placement,\n middlewareData: {}\n });\n const [latestMiddleware, setLatestMiddleware] = useState(middleware);\n\n if (!deepEqual(latestMiddleware == null ? void 0 : latestMiddleware.map(_ref => {\n let {\n options\n } = _ref;\n return options;\n }), middleware == null ? void 0 : middleware.map(_ref2 => {\n let {\n options\n } = _ref2;\n return options;\n }))) {\n setLatestMiddleware(middleware);\n }\n\n const isMountedRef = useRef(true);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n const update = useCallback(() => {\n if (!reference.current || !floating.current) {\n return;\n }\n\n computePosition(reference.current, floating.current, {\n middleware: latestMiddleware,\n placement,\n strategy\n }).then(data => {\n if (isMountedRef.current) {\n flushSync(() => {\n setData(data);\n });\n }\n });\n }, [latestMiddleware, placement, strategy]);\n index(update, [update]);\n const setReference = useCallback(node => {\n reference.current = node;\n update();\n }, [update]);\n const setFloating = useCallback(node => {\n floating.current = node;\n update();\n }, [update]);\n const refs = useMemo(() => ({\n reference,\n floating\n }), []);\n return useMemo(() => ({ ...data,\n update,\n refs,\n reference: setReference,\n floating: setFloating\n }), [data, update, refs, setReference, setFloating]);\n}\nconst arrow = options => {\n const {\n element,\n padding\n } = options;\n\n function isRef(value) {\n return Object.prototype.hasOwnProperty.call(value, 'current');\n }\n\n return {\n name: 'arrow',\n options,\n\n fn(args) {\n if (isRef(element)) {\n if (element.current != null) {\n return arrow$1({\n element: element.current,\n padding\n }).fn(args);\n }\n\n return {};\n } else if (element) {\n return arrow$1({\n element,\n padding\n }).fn(args);\n }\n\n return {};\n }\n\n };\n};\n\nexport { arrow, useFloating };\n","var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n","import * as React from 'react';\nimport React__default, { useLayoutEffect, useEffect, useContext, useMemo, useRef, useCallback, useState, createContext, forwardRef, cloneElement } from 'react';\nimport { getOverflowAncestors, useFloating as useFloating$1 } from '@floating-ui/react-dom';\nexport * from '@floating-ui/react-dom';\nimport pointInPolygon from 'point-in-polygon';\nimport { createPortal } from 'react-dom';\nimport { hideOthers } from 'aria-hidden';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\nfunction createPubSub() {\n const map = new Map();\n return {\n emit(event, data) {\n var _map$get;\n\n (_map$get = map.get(event)) == null ? void 0 : _map$get.forEach(handler => handler(data));\n },\n\n on(event, listener) {\n map.set(event, [...(map.get(event) || []), listener]);\n },\n\n off(event, listener) {\n map.set(event, (map.get(event) || []).filter(l => l !== listener));\n }\n\n };\n}\n\nlet serverHandoffComplete = false;\nlet count = 0;\n\nconst genId = () => \"floating-ui-\" + count++;\n\nfunction useFloatingId() {\n const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : undefined);\n index(() => {\n if (id == null) {\n setId(genId());\n } // eslint-disable-next-line react-hooks/exhaustive-deps\n\n }, []);\n React.useEffect(() => {\n if (!serverHandoffComplete) {\n serverHandoffComplete = true;\n }\n }, []);\n return id;\n} // `toString()` prevents bundlers from trying to `import { useId } from 'react'`\n\n\nconst useReactId = React[/*#__PURE__*/'useId'.toString()];\n/**\n * Uses React 18's built-in `useId()` when available, or falls back to a\n * slightly less performant (requiring a double render) implementation for\n * earlier React versions.\n * @see https://floating-ui.com/docs/useId\n */\n\nconst useId = useReactId != null ? useReactId : useFloatingId;\n\nconst FloatingNodeContext = /*#__PURE__*/createContext(null);\nconst FloatingTreeContext = /*#__PURE__*/createContext(null);\nconst useFloatingParentNodeId = () => {\n var _useContext$id, _useContext;\n\n return (_useContext$id = (_useContext = useContext(FloatingNodeContext)) == null ? void 0 : _useContext.id) != null ? _useContext$id : null;\n};\nconst useFloatingTree = () => useContext(FloatingTreeContext);\n/**\n * Registers a node into the floating tree, returning its id.\n */\n\nconst useFloatingNodeId = () => {\n const id = useId();\n const tree = useFloatingTree();\n const parentId = useFloatingParentNodeId();\n index(() => {\n const node = {\n id,\n parentId\n };\n tree == null ? void 0 : tree.addNode(node);\n return () => {\n tree == null ? void 0 : tree.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n};\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n */\n\nconst FloatingNode = _ref => {\n let {\n children,\n id\n } = _ref;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/React__default.createElement(FloatingNodeContext.Provider, {\n value: useMemo(() => ({\n id,\n parentId\n }), [id, parentId])\n }, children);\n};\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM (i.e. portalled to a common node, rather than their\n * respective parent).\n * @see https://floating-ui.com/docs/FloatingTree\n */\n\nconst FloatingTree = _ref2 => {\n let {\n children\n } = _ref2;\n const nodesRef = useRef([]);\n const addNode = useCallback(node => {\n nodesRef.current = [...nodesRef.current, node];\n }, []);\n const removeNode = useCallback(node => {\n nodesRef.current = nodesRef.current.filter(n => n !== node);\n }, []);\n const events = useState(() => createPubSub())[0];\n return /*#__PURE__*/React__default.createElement(FloatingTreeContext.Provider, {\n value: useMemo(() => ({\n nodesRef,\n addNode,\n removeNode,\n events\n }), [nodesRef, addNode, removeNode, events])\n }, children);\n};\n\nfunction mergeProps(userProps, propsList, elementKey) {\n const fnsMap = {};\n return { ...(elementKey === 'floating' && {\n tabIndex: -1\n }),\n ...userProps,\n ...propsList.map(value => value ? value[elementKey] : null).concat(userProps).reduce((acc, props) => {\n if (!props) {\n return acc;\n }\n\n Object.entries(props).forEach(_ref => {\n let [key, value] = _ref;\n\n if (key.indexOf('on') === 0) {\n if (!fnsMap[key]) {\n fnsMap[key] = [];\n }\n\n if (typeof value === 'function') {\n fnsMap[key].push(value);\n }\n\n acc[key] = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n fnsMap[key].forEach(fn => fn(...args));\n };\n } else {\n acc[key] = value;\n }\n });\n return acc;\n }, {})\n };\n}\n\nconst useInteractions = function (propsList) {\n if (propsList === void 0) {\n propsList = [];\n }\n\n return {\n getReferenceProps: userProps => mergeProps(userProps, propsList, 'reference'),\n getFloatingProps: userProps => mergeProps(userProps, propsList, 'floating'),\n getItemProps: userProps => mergeProps(userProps, propsList, 'item')\n };\n};\n\nfunction getDocument(floating) {\n var _floating$ownerDocume;\n\n return (_floating$ownerDocume = floating == null ? void 0 : floating.ownerDocument) != null ? _floating$ownerDocume : document;\n}\n\nfunction getWindow(value) {\n var _getDocument$defaultV;\n\n return (_getDocument$defaultV = getDocument(value).defaultView) != null ? _getDocument$defaultV : window;\n}\n\nfunction isElement(value) {\n return value ? value instanceof getWindow(value).Element : false;\n}\nfunction isHTMLElement(value) {\n return value ? value instanceof getWindow(value).HTMLElement : false;\n}\n\nfunction getChildren(tree, id) {\n var _tree$nodesRef$curren;\n\n let allChildren = (_tree$nodesRef$curren = tree == null ? void 0 : tree.nodesRef.current.filter(node => {\n var _node$context;\n\n return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);\n })) != null ? _tree$nodesRef$curren : [];\n let currentChildren = allChildren;\n\n while (currentChildren.length) {\n var _tree$nodesRef$curren2;\n\n currentChildren = (_tree$nodesRef$curren2 = tree == null ? void 0 : tree.nodesRef.current.filter(node => {\n var _currentChildren;\n\n return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some(n => {\n var _node$context2;\n\n return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);\n });\n })) != null ? _tree$nodesRef$curren2 : [];\n allChildren = allChildren.concat(currentChildren);\n }\n\n return allChildren;\n}\n\nfunction safePolygon(_temp) {\n let {\n restMs = 0,\n buffer = 1,\n debug = null\n } = _temp === void 0 ? {} : _temp;\n let timeoutId;\n return _ref => {\n let {\n x,\n y,\n placement,\n refs,\n onClose,\n nodeId,\n tree\n } = _ref;\n return function onPointerMove(event) {\n var _refs$floating$curren;\n\n clearTimeout(timeoutId);\n\n if (event.pointerType && event.pointerType !== 'mouse') {\n return;\n }\n\n const {\n target,\n clientX,\n clientY\n } = event;\n const targetNode = target;\n\n if (event.type === 'pointermove' && isElement(refs.reference.current) && refs.reference.current.contains(targetNode) || (_refs$floating$curren = refs.floating.current) != null && _refs$floating$curren.contains(targetNode)) {\n return;\n } // If any child has a menu open, abort\n\n\n if (tree && getChildren(tree, nodeId).some(_ref2 => {\n let {\n context\n } = _ref2;\n return context == null ? void 0 : context.open;\n })) {\n return;\n }\n\n if (!refs.reference.current || !refs.floating.current || placement == null || x == null || y == null) {\n return;\n }\n\n const refRect = refs.reference.current.getBoundingClientRect();\n const rect = refs.floating.current.getBoundingClientRect();\n const side = placement.split('-')[0];\n const cursorLeaveFromRight = x > rect.right - rect.width / 2;\n const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2; // Within the rectangular trough between the two elements\n\n switch (side) {\n case 'top':\n if (clientX >= rect.left && clientX <= rect.right && clientY >= rect.bottom && clientY <= refRect.top) {\n return;\n }\n\n break;\n\n case 'bottom':\n if (clientX >= rect.left && clientX <= rect.right && clientY >= refRect.bottom && clientY <= rect.top) {\n return;\n }\n\n break;\n\n case 'left':\n if (clientX >= rect.right && clientX <= refRect.left && clientY >= rect.left && clientY <= rect.right) {\n return;\n }\n\n break;\n\n case 'right':\n if (clientX >= rect.right && clientX <= refRect.left && clientY >= rect.right && clientY <= refRect.left) {\n return;\n }\n\n break;\n }\n\n function getPolygon(_ref3) {\n let [x, y] = _ref3;\n const isFloatingWider = rect.width > refRect.width;\n const isFloatingTaller = rect.height > refRect.height;\n\n switch (side) {\n case 'top':\n {\n const cursorPointOne = [isFloatingWider ? x : cursorLeaveFromRight ? x + buffer : x - buffer, y + buffer];\n const cursorPointTwo = [isFloatingWider ? x : cursorLeaveFromRight ? x - buffer : x + buffer, y + buffer];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];\n\n if (cursorLeaveFromRight) {\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n\n return [cursorPointOne, ...commonPoints, cursorPointTwo];\n }\n\n case 'bottom':\n {\n const cursorPointOne = [isFloatingWider ? x : cursorLeaveFromRight ? x + buffer : x - buffer, y - buffer];\n const cursorPointTwo = [isFloatingWider ? x : cursorLeaveFromRight ? x - buffer : x + buffer, y - buffer];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];\n\n if (cursorLeaveFromRight) {\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n\n return [cursorPointOne, ...commonPoints, cursorPointTwo];\n }\n\n case 'left':\n {\n const cursorPointOne = [x + buffer, isFloatingTaller ? y : cursorLeaveFromBottom ? y - buffer : y + buffer];\n const cursorPointTwo = [x + buffer, isFloatingTaller ? y : cursorLeaveFromBottom ? y + buffer : y - buffer];\n const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];\n\n if (cursorLeaveFromBottom) {\n return [cursorPointOne, ...commonPoints, cursorPointTwo];\n }\n\n return [...commonPoints, cursorPointOne, cursorPointTwo];\n }\n\n case 'right':\n {\n const cursorPointOne = [x - buffer, isFloatingTaller ? y : cursorLeaveFromBottom ? y + buffer : y - buffer];\n const cursorPointTwo = [x - buffer, isFloatingTaller ? y : cursorLeaveFromBottom ? y - buffer : y + buffer];\n const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];\n\n if (cursorLeaveFromBottom) {\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n\n return [cursorPointOne, ...commonPoints, cursorPointTwo];\n }\n }\n }\n\n const poly = getPolygon([x, y]);\n\n if (process.env.NODE_ENV !== \"production\") {\n debug == null ? void 0 : debug(poly.slice(0, 4).join(', '));\n }\n\n if (!pointInPolygon([clientX, clientY], poly)) {\n clearTimeout(timeoutId);\n onClose();\n } else if (restMs) {\n timeoutId = setTimeout(onClose, restMs);\n }\n };\n };\n}\n\nconst DEFAULT_ID = 'floating-ui-root';\n/**\n * Portals your floating element outside of the main app node.\n * @see https://floating-ui.com/docs/FloatingPortal\n */\n\nconst FloatingPortal = _ref => {\n let {\n children,\n id = DEFAULT_ID\n } = _ref;\n const [mounted, setMounted] = useState(false);\n const portalRef = useRef(null);\n index(() => {\n const root = document.getElementById(id);\n\n if (root) {\n portalRef.current = root;\n } else {\n portalRef.current = document.createElement('div');\n portalRef.current.id = id;\n }\n\n const el = portalRef.current;\n\n if (!document.body.contains(el)) {\n document.body.appendChild(el);\n }\n\n setMounted(true);\n }, [id]);\n\n if (mounted && portalRef.current) {\n return /*#__PURE__*/createPortal(children, portalRef.current);\n }\n\n return null;\n};\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nconst identifier = 'data-floating-ui-scroll-lock';\n/**\n * Provides base styling for a fixed overlay element to dim content or block\n * pointer events behind a floating element.\n * It's a regular `<div>`, so it can be styled via any CSS solution you prefer.\n * @see https://floating-ui.com/docs/FloatingOverlay\n */\n\nconst FloatingOverlay = /*#__PURE__*/forwardRef(function FloatingOverlay(_ref, ref) {\n let {\n lockScroll = false,\n ...rest\n } = _ref;\n index(() => {\n if (!lockScroll) {\n return;\n }\n\n const scrollX = window.pageXOffset;\n const scrollY = window.pageYOffset; // RTL <body> scrollbar\n\n const scrollbarX = Math.round(document.documentElement.getBoundingClientRect().left) + document.documentElement.scrollLeft;\n const paddingProp = scrollbarX ? 'paddingLeft' : 'paddingRight';\n const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n const alreadyLocked = document.body.hasAttribute(identifier);\n\n if (alreadyLocked) {\n return;\n }\n\n Object.assign(document.body.style, {\n position: 'fixed',\n overflow: 'hidden',\n top: \"-\" + scrollY + \"px\",\n left: \"-\" + scrollX + \"px\",\n right: '0',\n [paddingProp]: scrollbarWidth + \"px\"\n });\n document.body.setAttribute(identifier, '');\n return () => {\n Object.assign(document.body.style, {\n position: '',\n overflow: '',\n top: '',\n left: '',\n right: '',\n [paddingProp]: ''\n });\n document.body.removeAttribute(identifier);\n window.scrollTo(scrollX, scrollY);\n };\n }, [lockScroll]);\n return /*#__PURE__*/React__default.createElement(\"div\", _extends({\n ref: ref\n }, rest, {\n style: {\n position: 'fixed',\n overflow: 'auto',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...rest.style\n }\n }));\n});\n\nfunction stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\n\nfunction useLatestRef(value) {\n const ref = useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\nfunction focus$1(el) {\n requestAnimationFrame(() => {\n el == null ? void 0 : el.focus();\n });\n}\n\nconst SELECTOR = \"input:not([type='hidden']):not([disabled]),select:not([disabled]),\" + 'textarea:not([disabled]),a[href],button:not([disabled]),[tabindex],' + 'iframe,object,embed,area[href],audio[controls],video[controls],' + \"[contenteditable]:not([contenteditable='false'])\";\nconst FocusGuard = /*#__PURE__*/forwardRef(function FocusGuard(props, ref) {\n return /*#__PURE__*/React__default.createElement(\"span\", _extends({}, props, {\n ref: ref,\n tabIndex: 0,\n style: {\n position: 'fixed',\n opacity: '0',\n pointerEvents: 'none',\n outline: '0'\n }\n }));\n});\n\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n */\nfunction FloatingFocusManager(_ref) {\n let {\n context: {\n refs,\n nodeId,\n onOpenChange\n },\n children,\n order = ['content'],\n endGuard = true,\n preventTabbing = false,\n initialFocus = 0,\n returnFocus = true,\n modal = true\n } = _ref;\n const orderRef = useLatestRef(order);\n const onOpenChangeRef = useLatestRef(onOpenChange);\n const tree = useFloatingTree();\n const getTabbableElements = useCallback(() => {\n return orderRef.current.map(type => {\n if (isHTMLElement(refs.reference.current) && type === 'reference') {\n return refs.reference.current;\n }\n\n if (refs.floating.current && type === 'floating') {\n return refs.floating.current;\n }\n\n if (type === 'content') {\n var _refs$floating$curren, _refs$floating$curren2;\n\n return Array.from((_refs$floating$curren = (_refs$floating$curren2 = refs.floating.current) == null ? void 0 : _refs$floating$curren2.querySelectorAll(SELECTOR)) != null ? _refs$floating$curren : []);\n }\n\n return null;\n }).flat().filter(el => {\n if (el === refs.floating.current || el === refs.reference.current) {\n return true;\n }\n\n if (isHTMLElement(el)) {\n var _el$getAttribute;\n\n const tabIndex = (_el$getAttribute = el.getAttribute('tabindex')) != null ? _el$getAttribute : '0';\n return tabIndex[0].trim() !== '-';\n }\n });\n }, [orderRef, refs.floating, refs.reference]);\n useEffect(() => {\n // If the floating element has no focusable elements inside it, fallback\n // to focusing the floating element and preventing tab navigation\n const noTabbableContentElements = getTabbableElements().filter(el => el !== refs.floating.current && // @ts-expect-error\n el !== refs.reference.current).length === 0;\n\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n if (preventTabbing || noTabbableContentElements) {\n stopEvent(event);\n }\n\n const els = getTabbableElements();\n\n if (orderRef.current[0] === 'reference' && event.target === refs.reference.current) {\n stopEvent(event);\n\n if (event.shiftKey) {\n focus$1(els[els.length - 1]);\n } else {\n focus$1(els[1]);\n }\n }\n\n if (orderRef.current[1] === 'floating' && event.target === refs.floating.current && event.shiftKey) {\n stopEvent(event);\n focus$1(els[0]);\n }\n }\n }\n\n const doc = getDocument(refs.floating.current);\n doc.addEventListener('keydown', onKeyDown);\n return () => {\n doc.removeEventListener('keydown', onKeyDown);\n };\n }, [preventTabbing, getTabbableElements, orderRef, refs.floating, refs.reference]);\n useEffect(() => {\n function onFloatingFocusOut(event) {\n var _refs$floating$curren3;\n\n const target = event.relatedTarget;\n\n if (!((_refs$floating$curren3 = refs.floating.current) != null && _refs$floating$curren3.contains(target)) && isElement(refs.reference.current) && !refs.reference.current.contains(target) && !(tree && getChildren(tree, nodeId).some(child => {\n var _child$context, _child$context$refs$f;\n\n return (_child$context = child.context) == null ? void 0 : (_child$context$refs$f = _child$context.refs.floating.current) == null ? void 0 : _child$context$refs$f.contains(target);\n }))) {\n onOpenChangeRef.current(false);\n }\n }\n\n const floating = refs.floating.current;\n const reference = refs.reference.current;\n\n if (floating && isHTMLElement(reference)) {\n !modal && floating.addEventListener('focusout', onFloatingFocusOut);\n const cleanup = modal ? hideOthers(floating) : null;\n return () => {\n !modal && floating.removeEventListener('focusout', onFloatingFocusOut);\n cleanup == null ? void 0 : cleanup();\n };\n }\n }, [nodeId, tree, modal, onOpenChangeRef, getTabbableElements, initialFocus, refs.floating, refs.reference]);\n useEffect(() => {\n var _getDocument$activeEl;\n\n if (preventTabbing) {\n return;\n }\n\n const floating = refs.floating.current;\n const previouslyFocusedElement = (_getDocument$activeEl = getDocument(floating).activeElement) != null ? _getDocument$activeEl : document.activeElement;\n\n if (typeof initialFocus === 'number') {\n var _getTabbableElements$;\n\n focus$1((_getTabbableElements$ = getTabbableElements()[initialFocus]) != null ? _getTabbableElements$ : floating);\n } else if (isHTMLElement(initialFocus == null ? void 0 : initialFocus.current)) {\n var _initialFocus$current;\n\n focus$1((_initialFocus$current = initialFocus.current) != null ? _initialFocus$current : floating);\n }\n\n return () => {\n if (returnFocus && isHTMLElement(previouslyFocusedElement)) {\n focus$1(previouslyFocusedElement);\n }\n };\n }, [preventTabbing, getTabbableElements, initialFocus, modal, returnFocus, refs.floating]);\n return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, modal && /*#__PURE__*/React__default.createElement(FocusGuard, {\n onFocus: event => {\n stopEvent(event);\n const els = getTabbableElements();\n\n if (order[0] === 'reference') {\n focus$1(els[0]);\n } else {\n focus$1(els[els.length - 1]);\n }\n }\n }), /*#__PURE__*/cloneElement(children, order.includes('floating') ? {\n tabIndex: 0\n } : {}), modal && endGuard && /*#__PURE__*/React__default.createElement(FocusGuard, {\n onFocus: event => {\n stopEvent(event);\n focus$1(getTabbableElements()[0]);\n }\n }));\n}\n\nfunction getDelay(value, prop, pointerType) {\n if (pointerType && pointerType !== 'mouse') {\n return 0;\n }\n\n if (typeof value === 'number') {\n return value;\n }\n\n return value == null ? void 0 : value[prop];\n}\n\n/**\n * Adds hover event listeners that change the open state, like CSS :hover.\n * @see https://floating-ui.com/docs/useHover\n */\nconst useHover = function (context, _temp) {\n let {\n enabled = true,\n delay = 0,\n handleClose = null,\n mouseOnly = false,\n restMs = 0\n } = _temp === void 0 ? {} : _temp;\n const {\n open,\n onOpenChange,\n dataRef,\n events,\n refs\n } = context;\n const tree = useFloatingTree();\n const onOpenChangeRef = useLatestRef(onOpenChange);\n const handleCloseRef = useLatestRef(handleClose);\n const pointerTypeRef = useRef();\n const timeoutRef = useRef();\n const handlerRef = useRef();\n const restTimeoutRef = useRef();\n const blockMouseMoveRef = useRef(true);\n index(() => {\n if (!enabled) {\n return;\n }\n\n if (!open) {\n pointerTypeRef.current = undefined;\n }\n });\n useEffect(() => {\n if (!enabled) {\n return;\n }\n\n function onDismiss() {\n clearTimeout(timeoutRef.current);\n clearTimeout(restTimeoutRef.current);\n blockMouseMoveRef.current = true;\n }\n\n events.on('dismiss', onDismiss);\n return () => {\n events.off('dismiss', onDismiss);\n };\n }, [enabled, events, refs.floating]);\n useEffect(() => {\n if (!enabled || !handleCloseRef.current) {\n return;\n }\n\n function onLeave() {\n var _dataRef$current$open;\n\n if ((_dataRef$current$open = dataRef.current.openEvent) != null && _dataRef$current$open.type.includes('mouse')) {\n onOpenChangeRef.current(false);\n }\n }\n\n const html = getDocument(refs.floating.current).documentElement;\n html.addEventListener('mouseleave', onLeave);\n return () => {\n html.removeEventListener('mouseleave', onLeave);\n };\n }, [refs.floating, onOpenChangeRef, enabled, handleCloseRef, dataRef]);\n const closeWithDelay = useCallback(function (runElseBranch) {\n if (runElseBranch === void 0) {\n runElseBranch = true;\n }\n\n if (delay && !handlerRef.current) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = setTimeout(() => onOpenChangeRef.current(false), getDelay(delay, 'close', pointerTypeRef.current));\n } else if (runElseBranch) {\n onOpenChangeRef.current(false);\n }\n }, [delay, onOpenChangeRef]);\n const cleanupPointerMoveHandler = useCallback(() => {\n if (handlerRef.current) {\n getDocument(refs.floating.current).removeEventListener('pointermove', handlerRef.current);\n handlerRef.current = undefined;\n }\n }, [refs.floating]);\n useEffect(() => {\n if (!open) {\n cleanupPointerMoveHandler();\n }\n }, [open, enabled, cleanupPointerMoveHandler]); // Registering the mouse events on the reference directly to bypass React's\n // delegation system. If the cursor was on a disabled element and then entered\n // the reference (no gap), `mouseenter` doesn't fire in the delegation system.\n\n useEffect(() => {\n if (!enabled) {\n return;\n }\n\n function onMouseEnter(event) {\n clearTimeout(timeoutRef.current);\n blockMouseMoveRef.current = false;\n\n if (open || mouseOnly && pointerTypeRef.current !== 'mouse' || restMs > 0 && getDelay(delay, 'open') === 0) {\n return;\n }\n\n dataRef.current.openEvent = event;\n\n if (delay) {\n timeoutRef.current = setTimeout(() => {\n onOpenChangeRef.current(true);\n }, getDelay(delay, 'open', pointerTypeRef.current));\n } else {\n onOpenChangeRef.current(true);\n }\n }\n\n function onMouseLeave(event) {\n var _dataRef$current$open2, _dataRef$current$open3;\n\n if (((_dataRef$current$open2 = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open2.type) === 'click' || ((_dataRef$current$open3 = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open3.type) === 'pointerdown') {\n return;\n }\n\n const doc = getDocument(refs.floating.current);\n clearTimeout(restTimeoutRef.current);\n\n if (handleCloseRef.current) {\n clearTimeout(timeoutRef.current);\n handlerRef.current && doc.removeEventListener('pointermove', handlerRef.current);\n handlerRef.current = handleCloseRef.current({ ...context,\n tree,\n x: event.clientX,\n y: event.clientY,\n\n onClose() {\n cleanupPointerMoveHandler();\n closeWithDelay();\n }\n\n });\n doc.addEventListener('pointermove', handlerRef.current);\n return;\n }\n\n closeWithDelay();\n }\n\n const reference = refs.reference.current;\n\n if (isElement(reference)) {\n reference.addEventListener('mouseenter', onMouseEnter);\n reference.addEventListener('mouseleave', onMouseLeave);\n return () => {\n reference.removeEventListener('mouseenter', onMouseEnter);\n reference.removeEventListener('mouseleave', onMouseLeave);\n };\n }\n }, [enabled, closeWithDelay, context, delay, handleCloseRef, dataRef, mouseOnly, onOpenChangeRef, open, tree, restMs, cleanupPointerMoveHandler, refs.reference, refs.floating]);\n\n if (!enabled) {\n return {};\n }\n\n function setPointerRef(event) {\n pointerTypeRef.current = event.pointerType;\n }\n\n return {\n reference: {\n onPointerDown: setPointerRef,\n onPointerEnter: setPointerRef,\n\n onMouseMove() {\n if (open || restMs === 0) {\n return;\n }\n\n clearTimeout(restTimeoutRef.current);\n restTimeoutRef.current = setTimeout(() => {\n if (!blockMouseMoveRef.current) {\n onOpenChange(true);\n }\n }, restMs);\n }\n\n },\n floating: {\n onMouseEnter() {\n clearTimeout(timeoutRef.current);\n },\n\n onMouseLeave: () => closeWithDelay(false)\n }\n };\n};\n\nconst FloatingDelayGroupContext = /*#__PURE__*/createContext({\n delay: 1000,\n initialDelay: 1000,\n currentId: null,\n setCurrentId: () => {},\n setState: () => {}\n});\nconst useDelayGroupContext = () => useContext(FloatingDelayGroupContext);\n/**\n * Provides context for a group of floating elements that should share a\n * `delay`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n */\n\nconst FloatingDelayGroup = _ref => {\n let {\n children,\n delay\n } = _ref;\n const [state, setState] = useState({\n delay,\n initialDelay: delay,\n currentId: null\n });\n const setCurrentId = useCallback(currentId => {\n setState(state => ({ ...state,\n currentId\n }));\n }, []);\n return /*#__PURE__*/React__default.createElement(FloatingDelayGroupContext.Provider, {\n value: useMemo(() => ({ ...state,\n setState,\n setCurrentId\n }), [state, setState, setCurrentId])\n }, children);\n};\nconst useDelayGroup = (_ref2, _ref3) => {\n let {\n open,\n onOpenChange\n } = _ref2;\n let {\n id\n } = _ref3;\n const {\n currentId,\n initialDelay,\n setState\n } = useDelayGroupContext();\n const onOpenChangeRef = useLatestRef(onOpenChange);\n useEffect(() => {\n if (currentId && onOpenChangeRef.current) {\n setState(state => ({ ...state,\n delay: {\n open: 1,\n close: getDelay(initialDelay, 'close')\n }\n }));\n\n if (currentId !== id) {\n onOpenChangeRef.current(false);\n }\n }\n }, [id, onOpenChangeRef, setState, currentId, initialDelay]);\n useEffect(() => {\n if (!open && currentId === id && onOpenChangeRef.current) {\n onOpenChangeRef.current(false);\n setState(state => ({ ...state,\n delay: initialDelay,\n currentId: null\n }));\n }\n }, [open, setState, currentId, id, onOpenChangeRef, initialDelay]);\n};\n\n/**\n * Adds relevant screen reader props for a given element `role`.\n * @see https://floating-ui.com/docs/useRole\n */\nconst useRole = function (_ref, _temp) {\n let {\n open\n } = _ref;\n let {\n enabled = true,\n role = 'dialog'\n } = _temp === void 0 ? {} : _temp;\n const rootId = useId();\n const referenceId = useId();\n const floatingProps = {\n id: rootId,\n role\n };\n\n if (!enabled) {\n return {};\n }\n\n if (role === 'tooltip') {\n return {\n reference: {\n 'aria-describedby': open ? rootId : undefined\n },\n floating: floatingProps\n };\n }\n\n return {\n reference: {\n 'aria-expanded': open ? 'true' : 'false',\n 'aria-haspopup': role,\n 'aria-controls': open ? rootId : undefined,\n ...(role === 'listbox' && {\n role: 'combobox'\n }),\n ...(role === 'menu' && {\n id: referenceId\n })\n },\n floating: { ...floatingProps,\n ...(role === 'menu' && {\n 'aria-labelledby': referenceId\n })\n }\n };\n};\n\n/**\n * Adds click event listeners that change the open state (toggle behavior).\n * @see https://floating-ui.com/docs/useClick\n */\nconst useClick = function (_ref, _temp) {\n let {\n open,\n onOpenChange,\n dataRef\n } = _ref;\n let {\n enabled = true,\n pointerDown = false,\n toggle = true\n } = _temp === void 0 ? {} : _temp;\n const pointerTypeRef = useRef();\n\n if (!enabled) {\n return {};\n }\n\n return {\n reference: { ...(pointerDown && {\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n\n if (open) {\n var _dataRef$current$open;\n\n if (toggle && ((_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type) === 'pointerdown') {\n onOpenChange(false);\n }\n } else {\n onOpenChange(true);\n }\n\n dataRef.current.openEvent = event.nativeEvent;\n }\n\n }),\n\n onClick(event) {\n if (pointerDown && pointerTypeRef.current) {\n pointerTypeRef.current = undefined;\n return;\n }\n\n if (open) {\n var _dataRef$current$open2;\n\n if (toggle && ((_dataRef$current$open2 = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open2.type) === 'click') {\n onOpenChange(false);\n }\n } else {\n onOpenChange(true);\n }\n\n dataRef.current.openEvent = event.nativeEvent;\n }\n\n }\n };\n};\n\n/**\n * Adds listeners that dismiss (close) the floating element.\n * @see https://floating-ui.com/docs/useDismiss\n */\nconst useDismiss = function (_ref, _temp) {\n let {\n open,\n onOpenChange,\n refs,\n events,\n nodeId\n } = _ref;\n let {\n enabled = true,\n escapeKey = true,\n outsidePointerDown = true,\n referencePointerDown = false,\n ancestorScroll = false,\n bubbles = true\n } = _temp === void 0 ? {} : _temp;\n const tree = useFloatingTree();\n const onOpenChangeRef = useLatestRef(onOpenChange);\n const isFocusInsideFloating = useCallback(() => {\n var _refs$floating$curren;\n\n return (_refs$floating$curren = refs.floating.current) == null ? void 0 : _refs$floating$curren.contains(getDocument(refs.floating.current).activeElement);\n }, [refs.floating]);\n const focusReference = useCallback(() => {\n if (isHTMLElement(refs.reference.current)) {\n refs.reference.current.focus();\n }\n }, [refs.reference]);\n useEffect(() => {\n if (!open || !enabled) {\n return;\n }\n\n function onKeyDown(event) {\n if (event.key === 'Escape') {\n if (!bubbles && !isFocusInsideFloating()) {\n return;\n }\n\n events.emit('dismiss');\n onOpenChangeRef.current(false);\n focusReference();\n }\n }\n\n function onPointerDown(event) {\n var _refs$floating$curren2;\n\n const targetIsInsideChildren = tree && getChildren(tree, nodeId).some(node => {\n var _node$context, _node$context$refs$fl;\n\n return (_node$context = node.context) == null ? void 0 : (_node$context$refs$fl = _node$context.refs.floating.current) == null ? void 0 : _node$context$refs$fl.contains(event.target);\n });\n\n if ((_refs$floating$curren2 = refs.floating.current) != null && _refs$floating$curren2.contains(event.target) || isElement(refs.reference.current) && refs.reference.current.contains(event.target) || targetIsInsideChildren) {\n return;\n }\n\n if (!bubbles && !isFocusInsideFloating()) {\n return;\n }\n\n events.emit('dismiss');\n onOpenChangeRef.current(false);\n focusReference();\n }\n\n function onScroll() {\n onOpenChangeRef.current(false);\n }\n\n const doc = getDocument(refs.floating.current);\n escapeKey && doc.addEventListener('keydown', onKeyDown); // Use `mousedown` instead of `pointerdown` as it acts more like a click\n // on touch devices than a `touchstart` (which can result in accidental\n // dismissals too easily.)\n\n outsidePointerDown && doc.addEventListener('mousedown', onPointerDown);\n const ancestors = (ancestorScroll ? [...(isElement(refs.reference.current) ? getOverflowAncestors(refs.reference.current) : []), ...(isElement(refs.floating.current) ? getOverflowAncestors(refs.floating.current) : [])] : []).filter(ancestor => {\n var _doc$defaultView;\n\n return (// Ignore the visual viewport for scrolling dismissal (allow pinch-zoom)\n ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport)\n );\n });\n ancestors.forEach(ancestor => ancestor.addEventListener('scroll', onScroll, {\n passive: true\n }));\n return () => {\n escapeKey && doc.removeEventListener('keydown', onKeyDown);\n outsidePointerDown && doc.removeEventListener('mousedown', onPointerDown);\n ancestors.forEach(ancestor => ancestor.removeEventListener('scroll', onScroll));\n };\n }, [escapeKey, outsidePointerDown, events, tree, nodeId, open, onOpenChangeRef, focusReference, ancestorScroll, enabled, bubbles, isFocusInsideFloating, refs.floating, refs.reference]);\n\n if (!enabled) {\n return {};\n }\n\n return {\n reference: {\n onPointerDown() {\n if (referencePointerDown) {\n events.emit('dismiss');\n onOpenChange(false);\n }\n }\n\n }\n };\n};\n\n/**\n * Adds focus event listeners that change the open state, like CSS :focus.\n * @see https://floating-ui.com/docs/useFocus\n */\nconst useFocus = function (_ref, _temp) {\n let {\n open,\n onOpenChange,\n dataRef,\n refs,\n events\n } = _ref;\n let {\n enabled = true,\n keyboardOnly = true\n } = _temp === void 0 ? {} : _temp;\n const blockFocusRef = useRef(false);\n useEffect(() => {\n var _doc$defaultView;\n\n if (!enabled) {\n return;\n }\n\n const doc = getDocument(refs.floating.current);\n const win = (_doc$defaultView = doc.defaultView) != null ? _doc$defaultView : window;\n\n function onBlur() {\n blockFocusRef.current = !open;\n }\n\n function onFocus() {\n setTimeout(() => {\n blockFocusRef.current = false;\n });\n }\n\n win.addEventListener('focus', onFocus);\n win.addEventListener('blur', onBlur);\n return () => {\n win.removeEventListener('focus', onFocus);\n win.removeEventListener('blur', onBlur);\n };\n }, [refs.floating, open, enabled]);\n useEffect(() => {\n if (!enabled) {\n return;\n }\n\n function onDismiss() {\n blockFocusRef.current = true;\n }\n\n events.on('dismiss', onDismiss);\n return () => {\n events.off('dismiss', onDismiss);\n };\n }, [events, enabled]);\n\n if (!enabled) {\n return {};\n }\n\n return {\n reference: {\n onPointerDown(_ref2) {\n let {\n pointerType\n } = _ref2;\n blockFocusRef.current = !!(pointerType && keyboardOnly);\n },\n\n onFocus(event) {\n var _dataRef$current$open, _refs$reference$curre, _dataRef$current$open2;\n\n // Note: due to the `window` focus/blur listeners, switching between\n // DevTools touch/normal mode may cause this to fail on the first\n // focus of the window/touch of the element as it gets set to `false`.\n if (blockFocusRef.current) {\n return;\n } // Dismiss with click should ignore the subsequent `focus` trigger, but\n // only if the click originated inside the reference element.\n\n\n if (event.type === 'focus' && ((_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type) === 'mousedown' && isElement(refs.reference.current) && (_refs$reference$curre = refs.reference.current) != null && _refs$reference$curre.contains((_dataRef$current$open2 = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open2.target)) {\n return;\n }\n\n dataRef.current.openEvent = event.nativeEvent;\n onOpenChange(true);\n },\n\n onBlur(event) {\n var _refs$floating$curren;\n\n const target = event.relatedTarget; // When focusing the reference element (e.g. regular click), then\n // clicking into the floating element, prevent it from hiding.\n // Note: it must be focusable, e.g. `tabindex=\"-1\"`.\n\n if ((_refs$floating$curren = refs.floating.current) != null && _refs$floating$curren.contains(target) || isElement(refs.reference.current) && refs.reference.current.contains(target)) {\n return;\n }\n\n blockFocusRef.current = false;\n onOpenChange(false);\n }\n\n }\n };\n};\n\nconst FOCUSABLE_ELEMENT_SELECTOR = 'a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,*[tabindex],*[contenteditable]';\nconst DEFAULT_ORDER = ['content'];\n\n// When working with nested elements, we need to let the rendering occur before\n// attempting focus. This fixes unwanted scrolling to the bottom of the document\nfunction focus(el) {\n requestAnimationFrame(() => {\n el == null ? void 0 : el.focus();\n });\n}\n/**\n * @deprecated Use `<FloatingFocusManager />` instead.\n */\n\n\nconst useFocusTrap = function (_ref, _temp) {\n let {\n open,\n onOpenChange,\n refs,\n nodeId\n } = _ref;\n let {\n enabled = true,\n initialContentFocus = 0,\n order = DEFAULT_ORDER,\n modal = true,\n inert = false\n } = _temp === void 0 ? {} : _temp;\n const initializedRef = useRef(false);\n const beforeRef = useRef(null);\n const afterRef = useRef(null);\n const modalRef = useLatestRef(modal);\n const orderRef = useLatestRef(order);\n\n if (process.env.NODE_ENV !== \"production\") {\n if (modal && order.includes('reference')) {\n console.warn(['Floating UI: useFocusTrap() `order` array cannot contain', '\"reference\" while in `modal` mode.'].join(' '));\n }\n }\n\n const getFocusableElements = useCallback(() => {\n return orderRef.current.map(type => {\n if (isHTMLElement(refs.reference.current) && type === 'reference') {\n return refs.reference.current;\n }\n\n if (refs.floating.current && type === 'floating') {\n return refs.floating.current;\n }\n\n if (type === 'content') {\n var _refs$floating$curren, _refs$floating$curren2;\n\n return Array.from((_refs$floating$curren = (_refs$floating$curren2 = refs.floating.current) == null ? void 0 : _refs$floating$curren2.querySelectorAll(FOCUSABLE_ELEMENT_SELECTOR)) != null ? _refs$floating$curren : []);\n }\n\n return null;\n }).filter(Boolean).flat(); // Ignore `order` dep; only respond to changes on `open`\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [refs.floating, refs.reference]); // Focus guard elements\n // https://github.com/w3c/aria-practices/issues/545\n\n index(() => {\n const floating = refs.floating.current;\n\n if (!enabled || !open || !floating || !modal) {\n return;\n }\n\n function createFocusGuardElement() {\n const doc = getDocument(floating);\n const el = doc.createElement('div');\n el.tabIndex = 0;\n Object.assign(el.style, {\n position: 'fixed',\n outline: '0',\n pointerEvents: 'none'\n });\n el.setAttribute('aria-hidden', 'true');\n return el;\n }\n\n if (!beforeRef.current) {\n beforeRef.current = createFocusGuardElement();\n }\n\n if (!afterRef.current) {\n afterRef.current = createFocusGuardElement();\n }\n\n const before = beforeRef.current;\n const after = afterRef.current;\n floating.insertAdjacentElement('beforebegin', before);\n floating.insertAdjacentElement('afterend', after);\n\n function onFocus(event) {\n var _focusableElements;\n\n stopEvent(event);\n const focusableElements = getFocusableElements();\n (_focusableElements = focusableElements[event.target === after ? 0 : focusableElements.length - 1]) == null ? void 0 : _focusableElements.focus();\n }\n\n before.addEventListener('focus', onFocus);\n after.addEventListener('focus', onFocus);\n return () => {\n var _before$parentNode, _after$parentNode;\n\n before.removeEventListener('focus', onFocus);\n after.removeEventListener('focus', onFocus);\n\n if ((_before$parentNode = before.parentNode) != null && _before$parentNode.contains(before)) {\n before.parentNode.removeChild(before);\n }\n\n if ((_after$parentNode = after.parentNode) != null && _after$parentNode.contains(after)) {\n after.parentNode.removeChild(after);\n }\n };\n }, [enabled, open, modal, inert, getFocusableElements, refs.floating]); // Inert\n\n useEffect(() => {\n if (!enabled || !open || !inert) {\n return;\n }\n\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n stopEvent(event);\n }\n }\n\n const doc = getDocument(refs.floating.current);\n doc.addEventListener('keydown', onKeyDown);\n return () => {\n doc.removeEventListener('keydown', onKeyDown);\n };\n }, [enabled, open, inert, refs.floating]); // Initial focus\n\n useEffect(() => {\n if (!enabled) {\n return;\n }\n\n const focusableElements = getFocusableElements();\n\n if (inert) {\n if (open) {\n const first = focusableElements[0];\n\n if (first === refs.floating.current && !first.contains(first.ownerDocument.activeElement)) {\n focus(first);\n }\n }\n\n return;\n }\n\n if (open) {\n if (typeof initialContentFocus === 'number') {\n focus(focusableElements[initialContentFocus]);\n } else if (initialContentFocus.current) {\n focus(focusableElements.find(element => element === initialContentFocus.current));\n }\n }\n }, [getFocusableElements, open, inert, modal, initialContentFocus, enabled, refs.reference, refs.floating]); // Return focus to reference\n\n useEffect(() => {\n if (!enabled || inert) {\n return;\n }\n\n if (!open && modalRef.current && initializedRef.current && isHTMLElement(refs.reference.current)) {\n focus(refs.reference.current);\n }\n }, [open, enabled, inert, modalRef, refs.reference]); // Hide all outside nodes from screen readers\n\n useEffect(() => {\n if (!open || !modal || !enabled || !refs.floating.current) {\n return;\n }\n\n return hideOthers(refs.floating.current);\n }, [open, modal, enabled, refs.floating]);\n useEffect(() => {\n initializedRef.current = true;\n return () => {\n initializedRef.current = false;\n };\n }, []);\n const tree = useFloatingTree();\n\n function onBlur(event) {\n var _refs$floating$curren3;\n\n const target = event.relatedTarget;\n\n if (!((_refs$floating$curren3 = refs.floating.current) != null && _refs$floating$curren3.contains(target)) && isElement(refs.reference.current) && !refs.reference.current.contains(target) && !(tree && getChildren(tree, nodeId).some(child => {\n var _child$context, _child$context$refs$f, _child$context$refs$f2;\n\n return (_child$context = child.context) == null ? void 0 : (_child$context$refs$f = _child$context.refs.floating) == null ? void 0 : (_child$context$refs$f2 = _child$context$refs$f.current) == null ? void 0 : _child$context$refs$f2.contains(target);\n }))) {\n onOpenChange(false);\n }\n }\n\n if (!enabled) {\n return {};\n }\n\n if (modal) {\n return {\n floating: {\n 'aria-modal': 'true'\n }\n };\n }\n\n return {\n reference: {\n onBlur\n },\n floating: {\n onBlur\n }\n };\n};\n\nfunction usePrevious(value) {\n const ref = useRef();\n index(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n}\n\nconst ARROW_UP = 'ArrowUp';\nconst ARROW_DOWN = 'ArrowDown';\nconst ARROW_LEFT = 'ArrowLeft';\nconst ARROW_RIGHT = 'ArrowRight';\n\nfunction findNonDisabledIndex(listRef, _temp) {\n let {\n startingIndex = -1,\n decrement = false\n } = _temp === void 0 ? {} : _temp;\n const list = listRef.current;\n let index = startingIndex;\n\n do {\n var _list$index, _list$index2;\n\n index = index + (decrement ? -1 : 1);\n } while (index >= 0 && index <= list.length - 1 && (list[index] == null || (_list$index = list[index]) != null && _list$index.hasAttribute('disabled') || ((_list$index2 = list[index]) == null ? void 0 : _list$index2.getAttribute('aria-disabled')) === 'true'));\n\n return index;\n}\n\nfunction doSwitch(orientation, vertical, horizontal) {\n switch (orientation) {\n case 'vertical':\n return vertical;\n\n case 'horizontal':\n return horizontal;\n\n default:\n return vertical || horizontal;\n }\n}\n\nfunction isMainOrientationKey(key, orientation) {\n const vertical = key === ARROW_UP || key === ARROW_DOWN;\n const horizontal = key === ARROW_LEFT || key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal);\n}\n\nfunction isMainOrientationToStartKey(key, orientation, rtl) {\n const vertical = key === ARROW_UP;\n const horizontal = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n return doSwitch(orientation, vertical, horizontal);\n}\n\nfunction isMainOrientationToEndKey(key, orientation, rtl) {\n const vertical = key === ARROW_DOWN;\n const horizontal = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal);\n}\n\nfunction isCrossOrientationOpenKey(key, orientation, rtl) {\n const vertical = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n const horizontal = key === ARROW_DOWN;\n return doSwitch(orientation, vertical, horizontal);\n}\n\nfunction isCrossOrientationCloseKey(key, orientation, rtl) {\n const vertical = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n const horizontal = key === ARROW_UP;\n return doSwitch(orientation, vertical, horizontal);\n}\n\nfunction getMinIndex(listRef) {\n return findNonDisabledIndex(listRef);\n}\n\nfunction getMaxIndex(listRef) {\n return findNonDisabledIndex(listRef, {\n decrement: true,\n startingIndex: listRef.current.length\n });\n}\n\n/**\n * Adds focus-managed indexed navigation via arrow keys to a list of items\n * within the floating element.\n * @see https://floating-ui.com/docs/useListNavigation\n */\nconst useListNavigation = function (_ref, _temp2) {\n let {\n open,\n onOpenChange,\n refs\n } = _ref;\n let {\n listRef,\n activeIndex,\n onNavigate,\n enabled = true,\n selectedIndex = null,\n allowEscape = false,\n loop = false,\n nested = false,\n rtl = false,\n virtual = false,\n focusItemOnOpen = 'auto',\n focusItemOnHover = true,\n orientation = 'vertical'\n } = _temp2 === void 0 ? {\n listRef: {\n current: []\n },\n activeIndex: null,\n onNavigate: () => {}\n } : _temp2;\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!loop && allowEscape) {\n console.warn(['Floating UI: `useListNavigation` looping must be enabled to allow', 'escaping.'].join(' '));\n }\n }\n\n const parentId = useFloatingParentNodeId();\n const tree = useFloatingTree();\n const previousOpen = usePrevious(open);\n const focusOnOpenRef = useRef(focusItemOnOpen);\n const indexRef = useRef(selectedIndex != null ? selectedIndex : -1);\n const keyRef = useRef('');\n const initializedRef = useRef(false);\n const onNavigateRef = useLatestRef(onNavigate);\n const blockPointerLeaveRef = useRef(false);\n const [activeId, setActiveId] = useState();\n const focusItem = useCallback((listRef, indexRef) => {\n if (virtual) {\n var _listRef$current$inde;\n\n setActiveId((_listRef$current$inde = listRef.current[indexRef.current]) == null ? void 0 : _listRef$current$inde.id);\n } else {\n var _listRef$current$inde2;\n\n (_listRef$current$inde2 = listRef.current[indexRef.current]) == null ? void 0 : _listRef$current$inde2.focus({\n preventScroll: true\n });\n }\n }, [virtual]);\n index(() => {\n if (!enabled) {\n return;\n }\n\n if (selectedIndex != null) {\n indexRef.current = selectedIndex;\n }\n\n if (!previousOpen && open && focusOnOpenRef.current) {\n onNavigateRef.current(indexRef.current);\n focusItem(listRef, indexRef);\n }\n }, [open, previousOpen, selectedIndex, listRef, onNavigateRef, focusItem, enabled]);\n index(() => {\n if (!enabled) {\n return;\n }\n\n if (open) {\n if (activeIndex === null) {\n if (!previousOpen && focusOnOpenRef.current && selectedIndex == null || allowEscape) {\n indexRef.current = allowEscape ? -1 : getMinIndex(listRef);\n onNavigateRef.current(activeIndex);\n focusItem(listRef, indexRef);\n }\n } else {\n indexRef.current = activeIndex;\n onNavigateRef.current(activeIndex);\n focusItem(listRef, indexRef);\n }\n }\n }, [open, previousOpen, activeIndex, selectedIndex, nested, listRef, onNavigateRef, focusItem, enabled, parentId, allowEscape, refs.floating, tree == null ? void 0 : tree.nodesRef]);\n index(() => {\n if (selectedIndex != null || !enabled) {\n return;\n }\n\n if (open) {\n if (isMainOrientationKey(keyRef.current, orientation) || focusOnOpenRef.current && (keyRef.current === ' ' || keyRef.current === 'Enter')) {\n const minIndex = getMinIndex(listRef);\n const maxIndex = getMaxIndex(listRef);\n indexRef.current = isMainOrientationToStartKey(keyRef.current, orientation, rtl) ? allowEscape ? listRef.current.length : maxIndex : allowEscape ? -1 : minIndex;\n onNavigateRef.current(indexRef.current);\n focusItem(listRef, indexRef);\n }\n }\n\n keyRef.current = '';\n }, [open, listRef, selectedIndex, onNavigateRef, focusItem, enabled, orientation, rtl, allowEscape]);\n index(() => {\n if (!enabled) {\n return;\n }\n\n if (!open && initializedRef.current && selectedIndex != null && isHTMLElement(refs.reference.current)) {\n refs.reference.current.focus();\n }\n }, [refs.reference, selectedIndex, open, enabled]);\n index(() => {\n initializedRef.current = true;\n return () => {\n initializedRef.current = false;\n };\n }, []);\n index(() => {\n if (!enabled) {\n return;\n }\n\n if (!open) {\n var _ref2;\n\n if (focusItemOnOpen === 'auto') {\n focusOnOpenRef.current = true;\n }\n\n indexRef.current = (_ref2 = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref2 : -1;\n onNavigateRef.current(null);\n }\n }, [open, selectedIndex, activeIndex, enabled, focusItemOnOpen, onNavigateRef]);\n\n function pointerCheck(event) {\n if (focusItemOnOpen === 'auto') {\n // undefined or '' depending on the browser\n focusOnOpenRef.current = !event.pointerType;\n }\n }\n\n function onFloatingKeyDown(event) {\n blockPointerLeaveRef.current = true;\n\n if (nested && isCrossOrientationCloseKey(event.key, orientation, rtl)) {\n stopEvent(event);\n onOpenChange(false);\n\n if (isHTMLElement(refs.reference.current)) {\n refs.reference.current.focus();\n }\n\n return;\n }\n\n const currentIndex = indexRef.current;\n const minIndex = getMinIndex(listRef);\n const maxIndex = getMaxIndex(listRef);\n\n if (event.key === 'Home') {\n indexRef.current = minIndex;\n onNavigate(indexRef.current);\n }\n\n if (event.key === 'End') {\n indexRef.current = maxIndex;\n onNavigate(indexRef.current);\n }\n\n if (isMainOrientationKey(event.key, orientation)) {\n stopEvent(event);\n\n if (!virtual && event.currentTarget.ownerDocument.activeElement === event.currentTarget) {\n indexRef.current = selectedIndex != null ? selectedIndex : isMainOrientationToEndKey(event.key, orientation, rtl) ? minIndex : maxIndex;\n onNavigate(indexRef.current);\n return;\n }\n\n if (isMainOrientationToEndKey(event.key, orientation, rtl)) {\n if (loop) {\n indexRef.current = currentIndex >= maxIndex ? allowEscape && currentIndex !== listRef.current.length ? -1 : minIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex\n });\n } else {\n indexRef.current = Math.min(maxIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex\n }));\n }\n } else {\n if (loop) {\n indexRef.current = currentIndex <= minIndex ? allowEscape && currentIndex !== -1 ? listRef.current.length : maxIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true\n });\n } else {\n indexRef.current = Math.max(minIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true\n }));\n }\n }\n\n onNavigate(indexRef.current);\n }\n }\n\n if (!enabled) {\n return {};\n }\n\n return {\n reference: { ...(virtual && open && activeIndex != null && {\n 'aria-activedescendant': activeId\n }),\n onPointerEnter: pointerCheck,\n onPointerDown: pointerCheck,\n\n onKeyDown(event) {\n blockPointerLeaveRef.current = true;\n\n if (virtual && open) {\n return onFloatingKeyDown(event);\n }\n\n if (focusItemOnOpen === 'auto') {\n focusOnOpenRef.current = true;\n }\n\n keyRef.current = event.key;\n\n if (nested) {\n if (isCrossOrientationOpenKey(event.key, orientation, rtl)) {\n stopEvent(event);\n\n if (open) {\n indexRef.current = getMinIndex(listRef);\n onNavigate(indexRef.current);\n } else {\n onOpenChange(true);\n }\n }\n\n return;\n }\n\n if (isMainOrientationKey(event.key, orientation)) {\n if (selectedIndex == null) {\n indexRef.current = isMainOrientationToEndKey(event.key, orientation, rtl) ? getMinIndex(listRef) : getMaxIndex(listRef);\n } else {\n indexRef.current = selectedIndex;\n }\n\n stopEvent(event);\n onOpenChange(true);\n onNavigate(indexRef.current);\n }\n\n if (virtual && !open) {\n onFloatingKeyDown(event);\n }\n }\n\n },\n floating: {\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n ...(virtual && activeIndex != null && {\n 'aria-activedescendant': activeId\n }),\n onKeyDown: onFloatingKeyDown,\n\n onPointerMove() {\n blockPointerLeaveRef.current = false;\n }\n\n },\n item: {\n onClick: _ref3 => {\n let {\n currentTarget\n } = _ref3;\n return currentTarget.focus({\n preventScroll: true\n });\n },\n // Safari\n ...(focusItemOnHover && {\n onPointerMove(_ref4) {\n let {\n currentTarget\n } = _ref4;\n const target = currentTarget;\n\n if (target) {\n const index = listRef.current.indexOf(target);\n\n if (index !== -1) {\n onNavigate(index);\n }\n }\n },\n\n onPointerLeave() {\n if (!blockPointerLeaveRef.current) {\n onNavigate(null);\n\n if (!virtual) {\n var _refs$floating$curren;\n\n (_refs$floating$curren = refs.floating.current) == null ? void 0 : _refs$floating$curren.focus({\n preventScroll: true\n });\n } else {\n indexRef.current = -1;\n focusItem(listRef, indexRef);\n }\n }\n }\n\n })\n }\n };\n};\n\n/**\n * Provides a matching callback that can be used to focus an item as the user\n * types, often used in tandem with `useListNavigation()`.\n * @see https://floating-ui.com/docs/useTypeahead\n */\nconst useTypeahead = function (_ref, _temp) {\n var _ref2;\n\n let {\n open,\n dataRef\n } = _ref;\n let {\n listRef,\n activeIndex,\n onMatch = () => {},\n enabled = true,\n findMatch = null,\n resetMs = 1000,\n ignoreKeys = [],\n selectedIndex = null\n } = _temp === void 0 ? {\n listRef: {\n current: []\n },\n activeIndex: null\n } : _temp;\n const timeoutIdRef = useRef();\n const stringRef = useRef('');\n const prevIndexRef = useRef((_ref2 = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref2 : -1);\n const matchIndexRef = useRef(null);\n index(() => {\n if (open) {\n clearTimeout(timeoutIdRef.current);\n matchIndexRef.current = null;\n stringRef.current = '';\n }\n }, [open]);\n index(() => {\n // Sync arrow key navigation but not typeahead navigation\n if (open && stringRef.current === '') {\n var _ref3;\n\n prevIndexRef.current = (_ref3 = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref3 : -1;\n }\n }, [open, selectedIndex, activeIndex]);\n\n function onKeyDown(event) {\n if (!event.currentTarget.contains(getDocument(event.currentTarget).activeElement)) {\n return;\n }\n\n if (stringRef.current.length > 0 && stringRef.current[0] !== ' ') {\n dataRef.current.typing = true;\n\n if (event.key === ' ') {\n stopEvent(event);\n }\n }\n\n const listContent = listRef.current;\n\n if (listContent == null || ['Home', 'End', 'Escape', 'Enter', 'Tab', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', ...ignoreKeys].includes(event.key)) {\n return;\n } // Bail out if the list contains a word like \"llama\" or \"aaron\". TODO:\n // allow it in this case, too.\n\n\n const allowRapidSuccessionOfFirstLetter = listContent.every(text => {\n var _text$, _text$2;\n\n return text ? ((_text$ = text[0]) == null ? void 0 : _text$.toLocaleLowerCase()) !== ((_text$2 = text[1]) == null ? void 0 : _text$2.toLocaleLowerCase()) : true;\n }); // Allows the user to cycle through items that start with the same letter\n // in rapid succession\n\n if (allowRapidSuccessionOfFirstLetter && stringRef.current === event.key) {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n }\n\n stringRef.current += event.key;\n clearTimeout(timeoutIdRef.current);\n timeoutIdRef.current = setTimeout(() => {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n dataRef.current.typing = false;\n }, resetMs);\n const prevIndex = prevIndexRef.current;\n const orderedList = [...listContent.slice((prevIndex != null ? prevIndex : 0) + 1), ...listContent.slice(0, (prevIndex != null ? prevIndex : 0) + 1)];\n const str = findMatch ? findMatch(orderedList, stringRef.current) : orderedList.find(text => (text == null ? void 0 : text.toLocaleLowerCase().indexOf(stringRef.current)) === 0);\n const index = str ? listContent.indexOf(str) : -1;\n\n if (index !== -1) {\n onMatch(index);\n matchIndexRef.current = index;\n }\n }\n\n if (!enabled) {\n return {};\n }\n\n return {\n reference: {\n onKeyDown\n },\n floating: {\n onKeyDown\n }\n };\n};\n\nfunction useFloating(_temp) {\n let {\n open = false,\n onOpenChange = () => {},\n placement,\n middleware,\n strategy,\n nodeId\n } = _temp === void 0 ? {} : _temp;\n const tree = useFloatingTree();\n const dataRef = useRef({});\n const events = useState(() => createPubSub())[0];\n const floating = useFloating$1({\n placement,\n middleware,\n strategy\n });\n const context = useMemo(() => ({ ...floating,\n dataRef,\n nodeId,\n events,\n open,\n onOpenChange\n }), [floating, dataRef, nodeId, events, open, onOpenChange]);\n index(() => {\n const node = tree == null ? void 0 : tree.nodesRef.current.find(node => node.id === nodeId);\n\n if (node) {\n node.context = context;\n }\n });\n return useMemo(() => ({\n context,\n ...floating\n }), [floating, context]);\n}\n\nexport { FloatingDelayGroup, FloatingFocusManager, FloatingNode, FloatingOverlay, FloatingPortal, FloatingTree, safePolygon, useClick, useDelayGroup, useDelayGroupContext, useDismiss, useFloating, useFloatingNodeId, useFloatingParentNodeId, useFloatingTree, useFocus, useFocusTrap, useHover, useId, useInteractions, useListNavigation, useRole, useTypeahead };\n","import * as React from \"react\";\n\nexport default function mergeRefs<T = any>(\n refs: Array<React.MutableRefObject<T> | React.LegacyRef<T>>\n): React.RefCallback<T> {\n return (value) => {\n refs.forEach((ref) => {\n if (typeof ref === \"function\") {\n ref(value);\n } else if (ref != null) {\n (ref as React.MutableRefObject<T | null>).current = value;\n }\n });\n };\n}\n","/**\n * @typedef {import('react-reconciler').Fiber} Fiber\n */\n\nimport { getReactInstanceForElement } from './getReactInstanceForElement.js'\n\nexport function getReactInstancesForElement(\n /** @type {HTMLElement} */\n element\n) {\n /** @type {Set<Fiber>} */\n const instances = new Set()\n let instance = getReactInstanceForElement(element)\n\n while (instance) {\n instances.add(instance)\n\n instance = instance._debugOwner\n }\n\n return Array.from(instances)\n}\n","/**\n * @param {HTMLElement} element\n */\nexport function getReactInstanceForElement(element) {\n // Prefer React DevTools, which has direct access to `react-dom` for mapping `element` <=> Fiber\n if ('__REACT_DEVTOOLS_GLOBAL_HOOK__' in window) {\n // @ts-expect-error - TS2339 - Property '__REACT_DEVTOOLS_GLOBAL_HOOK__' does not exist on type 'Window & typeof globalThis'.\n const { renderers } = window.__REACT_DEVTOOLS_GLOBAL_HOOK__\n\n for (const renderer of renderers.values()) {\n try {\n const fiber = renderer.findFiberByHostInstance(element)\n\n if (fiber) {\n return fiber\n }\n } catch (e) {\n // If React is mid-render, references to previous nodes may disappear during the click events\n // (This is especially true for interactive elements, like menus)\n }\n }\n }\n\n if ('_reactRootContainer' in element) {\n // @ts-expect-error - TS2339 - Property '_reactRootContainer' does not exist on type 'HTMLElement'.\n return element._reactRootContainer._internalRoot.current.child\n }\n\n // eslint-disable-next-line guard-for-in\n for (const key in element) {\n // Pre-Fiber access React internals\n if (key.startsWith('__reactInternalInstance$')) {\n return element[key]\n }\n\n // Fiber access to React internals\n if (key.startsWith('__reactFiber')) {\n return element[key]\n }\n }\n}\n","/**\n * @typedef {import('react-reconciler').Fiber} Fiber\n * @typedef {import('react-reconciler').Source} Source\n */\n\n/**\n * @param {Fiber} instance\n */\nexport function getSourceForInstance({ _debugSource }) {\n if (!_debugSource) return\n\n const {\n // It _does_ exist!\n // @ts-ignore Property 'columnNumber' does not exist on type 'Source'.ts(2339)\n columnNumber = 1,\n fileName,\n lineNumber = 1,\n } = _debugSource\n\n return { columnNumber, fileName, lineNumber }\n}\n","/**\n * @typedef {import('react').DialogHTMLAttributes} DialogHTMLAttributes\n * @typedef {import('react').HTMLAttributes} HTMLAttributes\n * @typedef {import('react').MouseEvent<HTMLElement, MouseEvent>} ReactMouseEvent}\n * @typedef {import('./types').ContextMenuProps} Props\n */\n\nimport {\n arrow,\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingOverlay,\n offset,\n shift,\n useDismiss,\n useFloating,\n useInteractions,\n useListNavigation,\n useRole,\n} from '@floating-ui/react-dom-interactions'\nimport { html } from 'htm/react'\nimport * as React from 'react'\nimport mergeRefs from 'react-merge-refs'\n\nimport { getDisplayNameForInstance } from './getDisplayNameFromReactInstance.js'\nimport { getPathToSource } from './getPathToSource.js'\nimport { getPropsForInstance } from './getPropsForInstance.js'\nimport { getReactInstancesForElement } from './getReactInstancesForElement.js'\nimport { getSourceForInstance } from './getSourceForInstance.js'\n\nexport const ContextMenu = React.forwardRef(\n (\n /** @type {Props} */\n props,\n ref\n ) => {\n const { onClose } = props\n\n const [target, setTarget] = React.useState(\n /** @type {HTMLElement | null} */\n (null)\n )\n\n const arrowRef = React.useRef(\n /** @type {HTMLElement | null} */\n (null)\n )\n\n const [activeIndex, setActiveIndex] = React.useState(\n /** @type {number | null} */\n (null)\n )\n\n const [open, setOpen] = React.useState(false)\n\n const listItemsRef = React.useRef(\n /** @type {Array<HTMLButtonElement | null>} */\n ([])\n )\n\n const {\n x,\n y,\n reference,\n floating,\n strategy,\n refs,\n update,\n context,\n placement,\n middlewareData: { arrow: { x: arrowX, y: arrowY } = {} },\n } = useFloating({\n open,\n onOpenChange(open) {\n setOpen(open)\n\n if (!open) onClose?.()\n },\n middleware: [\n offset({ mainAxis: 5, alignmentAxis: 4 }),\n flip(),\n shift(),\n arrow({ element: arrowRef }),\n ],\n placement: 'right',\n })\n\n const { getFloatingProps, getItemProps } = useInteractions([\n useRole(context, { role: 'menu' }),\n useDismiss(context),\n useListNavigation(context, {\n listRef: listItemsRef,\n activeIndex,\n onNavigate: setActiveIndex,\n focusItemOnOpen: false,\n }),\n ])\n\n React.useEffect(() => {\n if (open && refs.reference.current && refs.floating.current) {\n return autoUpdate(refs.reference.current, refs.floating.current, update)\n }\n }, [open, update, refs.reference, refs.floating])\n\n const mergedReferenceRef = React.useMemo(\n () => mergeRefs([ref, reference]),\n [reference, ref]\n )\n\n React.useEffect(() => {\n function onContextMenu(\n /** @type {MouseEvent} */\n e\n ) {\n if (!e.altKey) {\n return\n }\n\n e.preventDefault()\n mergedReferenceRef({\n getBoundingClientRect() {\n return {\n x: e.clientX,\n y: e.clientY,\n width: 0,\n height: 0,\n top: e.clientY,\n right: e.clientX,\n bottom: e.clientY,\n left: e.clientX,\n }\n },\n })\n\n setOpen(true)\n\n if (e.target instanceof HTMLElement) setTarget(e.target)\n }\n\n document.addEventListener('contextmenu', onContextMenu)\n return () => {\n document.removeEventListener('contextmenu', onContextMenu)\n }\n }, [mergedReferenceRef])\n\n React.useLayoutEffect(() => {\n if (open) {\n refs.floating.current?.focus()\n }\n }, [open, refs.floating])\n\n React.useLayoutEffect(() => {\n if (!arrowRef.current) return\n\n const staticSide = {\n top: 'bottom',\n right: 'left',\n bottom: 'top',\n left: 'right',\n }[placement.split('-')[0]]\n\n Object.assign(arrowRef.current.style, {\n display: 'block',\n left: arrowX != null ? `${arrowX}px` : '',\n top: arrowY != null ? `${arrowY}px` : '',\n right: '',\n bottom: '',\n [staticSide]: '-4px',\n })\n }, [arrowX, arrowY, placement])\n\n if (!target) {\n return null\n }\n\n const instances = getReactInstancesForElement(target).filter((instance) =>\n getSourceForInstance(instance)\n )\n\n return html`\n <style key=\"click-to-component-contextmenu-style\">\n #floating-ui-root > div {\n z-index: 2147483647;\n }\n\n [data-click-to-component-contextmenu],\n [data-click-to-component-contextmenu] * {\n box-sizing: border-box !important;\n }\n\n [data-click-to-component-contextmenu] {\n all: unset;\n outline: 0;\n background: white;\n color: black;\n font-weight: bold;\n overflow: visible;\n padding: 5px;\n font-size: 13px;\n border-radius: 6px;\n border: none;\n\n --shadow-color: 0deg 0% 0%;\n --shadow-elevation-low: 0px -1px 0.8px hsl(var(--shadow-color) / 0.1),\n 0px -1.2px 0.9px -2.5px hsl(var(--shadow-color) / 0.07),\n 0px -3px 2.3px -5px hsl(var(--shadow-color) / 0.03);\n\n --shadow-elevation-medium: 0px 1px 0.8px\n hsl(var(--shadow-color) / 0.11),\n 0px 1.5px 1.1px -1.7px hsl(var(--shadow-color) / 0.08),\n 0px 5.1px 3.8px -3.3px hsl(var(--shadow-color) / 0.05),\n 0px 15px 11.3px -5px hsl(var(--shadow-color) / 0.03);\n --shadow-elevation-high: 0px 1px 0.8px hsl(var(--shadow-color) / 0.1),\n 0px 1.1px 0.8px -0.7px hsl(var(--shadow-color) / 0.09),\n 0px 2.1px 1.6px -1.4px hsl(var(--shadow-color) / 0.07),\n 0px 4.9px 3.7px -2.1px hsl(var(--shadow-color) / 0.06),\n 0px 10.1px 7.6px -2.9px hsl(var(--shadow-color) / 0.05),\n 0px 18.9px 14.2px -3.6px hsl(var(--shadow-color) / 0.04),\n 0px 31.9px 23.9px -4.3px hsl(var(--shadow-color) / 0.02),\n 0px 50px 37.5px -5px hsl(var(--shadow-color) / 0.01);\n\n box-shadow: var(--shadow-elevation-high);\n filter: drop-shadow(0px 0px 0.5px rgba(0 0 0 / 50%));\n }\n\n [data-click-to-component-contextmenu] button {\n all: unset;\n outline: 0;\n display: flex;\n flex-direction: column;\n width: 100%;\n padding: 5px;\n border-radius: 4px;\n font-size: 13px;\n }\n\n [data-click-to-component-contextmenu] button:focus,\n [data-click-to-component-contextmenu] button:not([disabled]):active {\n cursor: pointer;\n background: royalblue;\n color: white;\n box-shadow: var(--shadow-elevation-medium);\n }\n\n [data-click-to-component-contextmenu] button:focus code,\n [data-click-to-component-contextmenu]\n button:not([disabled]):active\n code {\n color: white;\n }\n\n [data-click-to-component-contextmenu] button > * + * {\n margin-top: 3px;\n }\n\n [data-click-to-component-contextmenu] button code {\n color: royalblue;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;\n }\n\n [data-click-to-component-contextmenu] button code var {\n background: rgba(0 0 0 / 5%);\n cursor: help;\n border-radius: 3px;\n padding: 3px 6px;\n font-style: normal;\n font-weight: normal;\n font-family: ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n }\n\n [data-click-to-component-contextmenu] button cite {\n font-weight: normal;\n font-style: normal;\n font-size: 11px;\n opacity: 0.5;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;\n }\n\n [data-click-to-component-contextmenu] button cite data::after {\n content: attr(value);\n float: right;\n padding-left: 15px;\n font-family: ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n }\n\n [data-click-to-component-contextmenu-arrow] {\n display: none;\n position: absolute;\n background: inherit;\n width: 8px;\n height: 8px;\n transform: rotate(45deg);\n }\n </style>\n\n ${open &&\n html`\n <${FloatingOverlay} key=\"click-to-component-overlay\" lockScroll>\n <${FloatingFocusManager} context=${context}>\n <dialog\n ...${getFloatingProps({\n ref: floating,\n style: {\n position: strategy,\n top: y ?? '',\n left: x ?? '',\n },\n })}\n data-click-to-component-contextmenu\n onClose=${function handleClose(event) {\n // @ts-ignore Property 'returnValue' does not exist on type 'HTMLElement'.ts(2339)\n onClose(refs.floating.current.returnValue)\n setOpen(false)\n }}\n open\n >\n <form method=\"dialog\">\n ${instances.map((instance, i) => {\n const name = getDisplayNameForInstance(instance)\n const source = getSourceForInstance(instance)\n const path = getPathToSource(source)\n const props = getPropsForInstance(instance)\n\n return html`\n <button\n ...${getItemProps({\n role: 'menuitem',\n ref(\n /** @type {HTMLButtonElement} */\n node\n ) {\n listItemsRef.current[i] = node\n },\n })}\n key=${i}\n name=\"path\"\n type=\"submit\"\n value=${path}\n >\n <code>\n ${'<'}${name}\n ${Object.entries(props).map(\n ([prop, value]) => html`\n ${' '}\n <var key=${prop} title=\"${value}\">${prop}</var>\n `\n )}\n ${'>'}\n </code>\n <cite>\n <data\n value=\"${source.lineNumber}:${source.columnNumber}\"\n >\n ${source.fileName.replace(/.*(src|pages)/, '$1')}\n </data>\n </cite>\n </button>\n `\n })}\n </form>\n\n <div\n data-click-to-component-contextmenu-arrow\n ref=${arrowRef}\n />\n </dialog>\n </${FloatingFocusManager}>\n </${FloatingOverlay}>\n `}\n `\n }\n)\n","/**\n * @typedef {import('react-reconciler').Fiber} Fiber\n * @param {Fiber} instance\n */\nexport function getDisplayNameForInstance(instance) {\n const { elementType, tag } = instance\n\n switch (tag) {\n case 0: // FunctionComponent\n case 1: // ClassComponent\n return (\n elementType.displayName || elementType.name || 'Anonymous Component'\n )\n\n case 5: // HostComponent:\n return elementType\n\n case 6: // HostText:\n return 'String'\n\n case 7: // Fragment\n return 'React.Fragment'\n\n case 9: // ContextConsumer\n return 'Context.Consumer'\n\n case 10: // ContextProvider\n return 'Context.Provider'\n\n case 11: // ForwardRef\n return 'React.forwardRef'\n\n case 15: // MemoComponent\n // Attempt to get name from wrapped component\n return elementType.type.name || 'React.memo'\n\n case 16: // LazyComponent\n return 'React.lazy'\n\n default:\n console.warn(`Unrecognized React Fiber tag: ${tag}`, instance)\n return 'Unknown Component'\n }\n}\n","/**\n * @typedef {import('react-reconciler').Source} Source\n */\n\n/**\n * @param {Source} source\n */\nexport function getPathToSource(source) {\n const {\n // It _does_ exist!\n // @ts-ignore Property 'columnNumber' does not exist on type 'Source'.ts(2339)\n columnNumber = 1,\n fileName,\n lineNumber = 1,\n } = source\n\n return `${fileName}:${lineNumber}:${columnNumber}`\n}\n","/**\n * @typedef {import('react-reconciler').Fiber} Fiber\n */\n\n/**\n * @param {Fiber} instance\n */\n\nexport function getPropsForInstance(instance) {\n /**\n * @type {Fiber['pendingProps']}\n */\n const props = {}\n\n Object.entries(instance.memoizedProps).forEach(([key, value]) => {\n const type = typeof value\n\n // Ignore some values, even if they're scalar, because they're not unique enough\n if (['key'].includes(key) || value === instance.type.defaultProps?.[key]) {\n return\n }\n\n // Scalar values\n if (\n ['string', 'number', 'boolean', 'symbol'].includes(type) ||\n value instanceof String ||\n value instanceof Number ||\n value instanceof Boolean ||\n value instanceof Symbol\n ) {\n props[key] = value\n }\n })\n\n return props\n}\n","import { ClickToComponent as Component } from './ClickToComponent.js'\n\nexport const ClickToComponent =\n process.env.NODE_ENV === 'development' ? Component : () => null\n","import React, { useContext, useEffect } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport { RouteComponentProps } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { primaryColors } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport Button from \"components/ui/Button\";\nimport ModalContext from \"contexts/ModalContext\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport { recordPayment } from \"shared/client\";\nimport { stylesheet } from \"typestyle\";\n\ntype Params = {\n status: \"success\" | \"cancel\";\n};\n\ninterface Props extends RouteComponentProps<Params> {}\n\nconst styles = stylesheet({\n wrapper: {\n padding: \"58px\",\n display: \"flex\",\n flexDirection: \"column\",\n textAlign: \"center\",\n },\n title: {\n fontWeight: 600,\n fontSize: \"25px\",\n color: primaryColors.BLACK,\n marginBottom: \"24px\",\n },\n text: {\n fontSize: \"15px\",\n color: primaryColors.BLACK,\n marginBottom: \"24px\",\n },\n img: {\n height: \"187px\",\n marginBottom: \"40px\",\n },\n button: {\n margin: \"0 12px\",\n },\n});\n\nconst BeforeYouGoComponent = () => {\n return (\n <div className={styles.wrapper}>\n <h1 className={styles.title}>Before you go!</h1>\n <p className={styles.text}>\n Are you sure you don’t want to proceed with payment to unlock the ESG\n passport tools?\n </p>\n <img\n className={styles.img}\n src=\"/illustrations/illustration_before_you_go_esg.svg\"\n alt=\"illustration\"\n />\n <div>\n <Button\n className={styles.button}\n color=\"gray\"\n variant=\"normal\"\n onClick={async () => {\n window.location.replace(\"https://pulsemarket.com/esg-passport/\");\n }}\n >\n Cancel Payment\n </Button>\n\n <Button\n className={styles.button}\n color=\"orange\"\n variant=\"normal\"\n onClick={() => {\n window.location.replace(\"/\");\n }}\n >\n Unlock ESG Passport tools now\n </Button>\n </div>\n </div>\n );\n};\n\nconst Stripe = (props: Props) => {\n const { openModal } = useContext(ModalContext);\n const { data: company } = useOwnCompany();\n const client = useQueryClient();\n\n useEffect(() => {\n if (!company || !company.id) {\n return;\n }\n\n if (props.match.params.status === \"success\") {\n (async () => {\n const search = new URLSearchParams(props.location.search);\n const sessionId = search.get(\"session_id\");\n\n if (sessionId) {\n await recordPayment(sessionId, company.id);\n await client.invalidateQueries(queryKeys.user);\n }\n props.history.replace(\"/\");\n })();\n } else {\n // TODO: for other cancelled payments (non-ESG) be able to show other modals/screens\n openModal(<BeforeYouGoComponent />, {\n props: {\n disableEscapeKeyDown: true,\n disableBackdropClick: true,\n maxWidth: \"lg\",\n },\n });\n }\n }, [\n props.match.params.status,\n props.history,\n props.location.search,\n openModal,\n company,\n client,\n ]);\n\n return (\n <Loading\n message={\n props.match.params.status === \"success\"\n ? \"Processing your payment...\"\n : \"Please wait...\"\n }\n />\n );\n};\n\nexport default Stripe;\n","import Stripe from \"./StripeRedirectPage\";\n\nexport default Stripe;\n","import { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { useLogInWithToken } from \"hooks/queries/useAuth\";\nimport { useIsSurveyParticipant } from \"hooks/queries/useIsAdmin\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport {\n getSearchParam,\n LocalStorageKey,\n removeSearchParam,\n SearchParamEnum,\n setCookieArray,\n TriggeredPopupEnum,\n} from \"hooks/utils\";\nimport { logOut } from \"shared/client\";\n\nexport const useIsComingFromInvitationRedirect = () => {\n const [isLoading, setIsLoading] = useState(true);\n\n const history = useHistory();\n\n const authToken = getSearchParam(SearchParamEnum.AUTH_TOKEN);\n const { data: userData } = useUserData();\n\n const { isSurveyParticipant } = useIsSurveyParticipant();\n\n const { mutate: loginWithToken } = useLogInWithToken();\n\n useEffect(() => {\n const redirectUrl = getSearchParam(SearchParamEnum.REDIRECT_PAGE_PARAM);\n\n const rfpInvitationToken = getSearchParam(\n SearchParamEnum.RFP_INVITATION_TOKEN\n );\n\n const companyMemberInvitationToken = getSearchParam(\n SearchParamEnum.COMPANY_MEMBER_INVITATION_TOKEN\n );\n const inviterCompanyId = getSearchParam(SearchParamEnum.INVITER_COMPANY);\n const groupInvitationToken = getSearchParam(\n SearchParamEnum.GROUP_INVITATION_TOKEN\n );\n\n const autoTriggeredPopup = getSearchParam(\n SearchParamEnum.OPEN_POPUP\n ) as TriggeredPopupEnum | null;\n\n if (authToken) {\n loginWithToken(authToken);\n }\n\n /// TODO: Refactor this redirect. This is used for individual survey participants to avoid visiting unauthorized pages\n if (isSurveyParticipant && userData) {\n if (!history.location.pathname.includes(\"/questionnaireresponses\")) {\n window.location.href = \"https://pulsemarket.com\";\n logOut();\n }\n }\n\n if (autoTriggeredPopup) {\n console.log(\"Setting cookie: \", LocalStorageKey.OPEN_POPUP);\n setCookieArray({\n key: LocalStorageKey.OPEN_POPUP,\n value: autoTriggeredPopup,\n type: \"add\",\n });\n removeSearchParam(SearchParamEnum.OPEN_POPUP);\n }\n\n if (redirectUrl) {\n console.log(\"Setting cookie: \", LocalStorageKey.REDIRECT);\n\n localStorage.setItem(LocalStorageKey.REDIRECT, redirectUrl);\n removeSearchParam(SearchParamEnum.REDIRECT_PAGE_PARAM);\n }\n\n //RFP Invitation\n if (rfpInvitationToken) {\n console.log(\"Setting cookie: \", SearchParamEnum.RFP_INVITATION_TOKEN);\n localStorage.setItem(\n LocalStorageKey.RFP_INVITATION_TOKEN,\n rfpInvitationToken\n );\n removeSearchParam(SearchParamEnum.RFP_INVITATION_TOKEN);\n\n //Company Member Invitation\n } else if (companyMemberInvitationToken && inviterCompanyId) {\n console.log(\n \"Setting cookie: \",\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN\n );\n\n localStorage.setItem(\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN,\n companyMemberInvitationToken\n );\n\n console.log(\"Setting cookie: \", LocalStorageKey.INVITER_COMPANY_ID);\n\n localStorage.setItem(\n LocalStorageKey.INVITER_COMPANY_ID,\n inviterCompanyId\n );\n\n removeSearchParam(SearchParamEnum.COMPANY_MEMBER_INVITATION_TOKEN);\n removeSearchParam(SearchParamEnum.INVITER_COMPANY);\n\n //Group Invitation\n } else if (groupInvitationToken && inviterCompanyId) {\n console.log(\"Setting cookie: \", LocalStorageKey.GROUP_INVITATION_TOKEN);\n\n localStorage.setItem(\n LocalStorageKey.GROUP_INVITATION_TOKEN,\n groupInvitationToken\n );\n\n console.log(\"Setting cookie: \", LocalStorageKey.INVITER_COMPANY_ID);\n\n localStorage.setItem(\n LocalStorageKey.INVITER_COMPANY_ID,\n inviterCompanyId\n );\n\n removeSearchParam(SearchParamEnum.GROUP_INVITATION_TOKEN);\n removeSearchParam(SearchParamEnum.INVITER_COMPANY);\n }\n setIsLoading(false);\n }, [\n authToken,\n history.location.pathname,\n isSurveyParticipant,\n loginWithToken,\n userData,\n ]);\n return { isLoading };\n};\n","import React from \"react\";\nimport { Redirect, Route, RouteProps, useLocation } from \"react-router-dom\";\n\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useGetAuthToken } from \"hooks/queries/useAuth\";\n\ntype PrivateRouteProps = RouteProps & {\n children?: React.ReactNode;\n};\n\nconst PrivateRoute = ({ children, ...rest }: PrivateRouteProps) => {\n const { isLoading, isError, data: userData } = useGetAuthToken();\n\n const { pathname } = useLocation();\n\n if (isLoading && !isError) {\n return <Loading />;\n }\n\n const redirectToRoot = (isError || !userData?.userId) && pathname !== \"/\";\n\n return (\n <Route\n {...rest}\n render={({ location }) => {\n return redirectToRoot ? (\n <Redirect\n push={false}\n to={{\n pathname: \"/\",\n state: { from: location },\n search: window.location.search,\n }}\n />\n ) : (\n children\n );\n }}\n />\n );\n};\n\nexport default PrivateRoute;\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {\n background: primaryColors.WHITE,\n borderRadius: \"8px\",\n textAlign: \"center\",\n },\n title: { ...typography.HEADLINE5, color: primaryColors.PURPLE2 },\n infoText: { ...typography.BODY2, color: primaryColors.BLACK },\n companyName: { color: utilityColors.ORANGE },\n terms: {\n flex: \"0 0 100%\",\n justifyContent: \"center\",\n marginTop: \"32px\",\n },\n submitButton: {\n marginTop: \"32px\",\n },\n});\n\nexport default styles;\n","import { Dispatch, SetStateAction, useContext } from \"react\";\n\nimport { Checkbox, FormControlLabel } from \"@mui/material\";\nimport { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useFormik } from \"formik\";\nimport useSwitchCompany from \"hooks/queries/useSwitchCompany\";\nimport { connectToCompany } from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { clickableClass, colorClass, semiBold } from \"shared/styles/classes\";\nimport { URL } from \"shared/urls\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./ExistingUserInvitationPopup.styles\";\n\ntype ExistingUserInvitationPopupProps = {\n className?: string;\n companyName: string;\n setLoadingMessage: Dispatch<SetStateAction<string | null>>;\n token: string;\n inviterCompanyId: string;\n};\n\nexport default function ExistingUserInvitationPopup({\n className,\n companyName,\n setLoadingMessage,\n inviterCompanyId,\n token,\n}: ExistingUserInvitationPopupProps) {\n const { closeModal } = useContext(ModalContext);\n const switchCompany = useSwitchCompany();\n\n const formik = useFormik<{ acceptedTerms: boolean }>({\n initialValues: { acceptedTerms: false },\n onSubmit: async function () {\n setLoadingMessage(\n \"Registering user with company member invitation token\"\n );\n\n await connectToCompany(token, inviterCompanyId);\n\n localStorage.setItem(ACTING_COMPANY_ID, inviterCompanyId);\n await switchCompany({ companyId: inviterCompanyId });\n\n closeModal();\n setLoadingMessage(null);\n },\n validate({ acceptedTerms }) {\n if (!acceptedTerms) {\n return {\n acceptedTerms: \"Required\",\n };\n }\n },\n });\n return (\n <div className={classes(styles.root, className)}>\n <h2 className={styles.title}>Welcome back to Pulse Market</h2>\n <p className={styles.infoText}>\n You've signed up for the\n <span className={styles.companyName}> {companyName}</span> team, and you\n can switch companies at any moment on the platform.\n </p>\n <img src=\"/illustrations/illustration_teams.svg\" alt=\"\" />\n <form onSubmit={formik.handleSubmit}>\n <div>\n {/* Could be a separate component, reused in RegistrationPopupContent */}\n <FormControlLabel\n className={styles.terms}\n control={\n <Checkbox\n checked={formik.values.acceptedTerms}\n name=\"checkedE\"\n onChange={formik.handleChange(\"acceptedTerms\")}\n style={{\n color:\n formik.errors.acceptedTerms && formik.touched.acceptedTerms\n ? utilityColors.RED\n : primaryColors.PURPLE2,\n }}\n />\n }\n label={\n <span>\n I agree with{\" \"}\n <a\n target=\"_blank\"\n rel=\"noreferrer\"\n href={URL.PRIVACY_POLICY}\n className={classes(\n colorClass(primaryColors.PURPLE2),\n clickableClass,\n semiBold\n )}\n >\n Privacy Policy\n </a>{\" \"}\n and{\" \"}\n <a\n target=\"_blank\"\n rel=\"noreferrer\"\n href={URL.TERMS_OF_USE}\n className={classes(\n colorClass(primaryColors.PURPLE2),\n clickableClass,\n semiBold\n )}\n >\n Terms of Use\n </a>\n .\n </span>\n }\n />\n </div>\n <div>\n <Button\n variant=\"normal\"\n color=\"orange\"\n type=\"submit\"\n className={styles.submitButton}\n >\n Get Started\n </Button>\n </div>\n </form>\n </div>\n );\n}\n","import React, { useContext, useState } from \"react\";\n\nimport {\n documentTypeNames,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport ModalActions from \"components/ui/Modal/Actions/ModalActions\";\nimport ModalHeader from \"components/ui/Modal/Header/ModalHeader\";\nimport { RadioLabelProps } from \"components/ui/RadioButton/RadioLabel\";\nimport RadioButtonGroup from \"components/ui/RadioGroup/PulseRadioGroup\";\nimport SvgIcon from \"components/ui/SvgIcon/SvgIcon\";\nimport ModalContext from \"contexts/ModalContext/ModalContext\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { StandardRFPType } from \"shared/model\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n modalHeader: {\n //Align first item to middle\n $nest: {\n \"& .MuiGrid-item:first-child\": {\n margin: \"0 auto\",\n },\n },\n },\n text: {\n margin: \"unset\",\n ...typography.BODY2,\n },\n orangeText: {\n color: utilityColors.ORANGE,\n },\n listHeader: {\n ...typography.SUBTITLE1,\n marginTop: \"24px\",\n marginBottom: \"24px\",\n },\n pulseIcon: {\n margin: \"0 auto\",\n color: primaryColors.PURPLE2,\n width: \"104px\",\n },\n modalActions: {\n marginTop: \"32px\",\n },\n});\n\nexport enum MultiCompanyInvitationType {\n RFX = \"RFX\",\n ESG = \"ESG\",\n Group = \"Group\",\n}\n\ntype MultiCompanyiInvitationModal = {\n inviterCompanyName: string;\n companies: { id: string; name: string; avatar?: string }[];\n type: MultiCompanyInvitationType;\n rfxType?: StandardRFPType;\n groupName?: string;\n onConfirm: (companyId: string) => void;\n};\n\nexport default function MultiCompanyInvitationSelectorModal({\n inviterCompanyName,\n type,\n companies,\n rfxType,\n groupName,\n onConfirm,\n}: MultiCompanyiInvitationModal) {\n const { closeModal } = useContext(ModalContext);\n const activeCompanyId = localStorage.getItem(ACTING_COMPANY_ID);\n const choices: RadioLabelProps[] = companies.map((company) => {\n return {\n id: company.id,\n title:\n company.id === activeCompanyId\n ? `${company.name} (active)`\n : company.name,\n };\n });\n\n const [selectedChoice, setSelectedChoice] = useState<string | null>(null);\n\n return (\n <div>\n <ModalHeader hideCloseButton className={styles.modalHeader}>\n <SvgIcon className={styles.pulseIcon} src=\"/logo/pulse_logo_dark.svg\" />\n </ModalHeader>\n\n <h2 className={styles.text}>\n <TitleContent\n type={type}\n inviterCompanyName={inviterCompanyName}\n rfxType={rfxType}\n groupName={groupName}\n />\n </h2>\n\n <div className={styles.listHeader}>\n Choose an account to accept this invite:\n </div>\n <RadioButtonGroup\n choices={choices}\n value={selectedChoice}\n onChange={(_e, choice) => {\n setSelectedChoice(choice);\n }}\n />\n\n <ModalActions\n className={styles.modalActions}\n actions={[\n <Button\n disabled={!selectedChoice}\n color=\"orange\"\n variant=\"normal\"\n size=\"small\"\n key=\"confirm\"\n onClick={() => {\n onConfirm(selectedChoice!);\n closeModal();\n }}\n >\n Confirm\n </Button>,\n ]}\n />\n </div>\n );\n}\n\nfunction TitleContent({\n inviterCompanyName,\n type,\n rfxType,\n groupName,\n}: {\n inviterCompanyName: string;\n type: MultiCompanyInvitationType;\n rfxType?: StandardRFPType;\n groupName?: string;\n}) {\n if (type === MultiCompanyInvitationType.RFX && !!rfxType) {\n return (\n <>\n You received a new\n <span className={styles.orangeText}>\n {\" \"}\n {documentTypeNames[rfxType].fullName} - {rfxType}{\" \"}\n </span>\n from\n <span className={styles.orangeText}> {inviterCompanyName} </span>\n </>\n );\n } else if (type === MultiCompanyInvitationType.Group && groupName) {\n return (\n <>\n <span className={styles.orangeText}> {inviterCompanyName} </span>\n has invited you to join the\n <span className={styles.orangeText}> {groupName} </span>\n on Pulse Market\n </>\n );\n } else if (type === MultiCompanyInvitationType.ESG) {\n return (\n <>\n <span className={styles.orangeText}> {inviterCompanyName} </span>\n has invited you to complete an Environmental, Social, and Governance\n (ESG) Passport.\n </>\n );\n } else {\n return null;\n }\n}\n","import {\n Dispatch,\n SetStateAction,\n useContext,\n useEffect,\n useState,\n} from \"react\";\nimport { QueryClient, useQueryClient } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { RfpInvitationDto } from \"@pulsemarket/api-client\";\nimport { RFPType, ROUTES } from \"@pulsemarket/constants\";\nimport ExistingUserInvitatationModal from \"components/Onboarding/ExistingUserInvitationPopup\";\nimport MultiCompanyInvitationSelectorModal, {\n MultiCompanyInvitationType,\n} from \"components/Passports/Modals/MultiCompanyInvitationSelectorModal\";\nimport { unclosableDialogProps } from \"components/ui/Modal\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody/SimpleModalBody\";\nimport ModalContext, { uncloseableDialogSettings } from \"contexts/ModalContext\";\nimport { ModalContextType } from \"contexts/ModalContext/ModalContext\";\nimport { History } from \"history\";\nimport { useUserCompanies } from \"hooks/queries/useUserCompanies\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport {\n LocalStorageKey,\n removeInvitationParamsFromLocalStorage,\n setCookieArray,\n TriggeredPopupEnum,\n} from \"hooks/utils\";\nimport {\n connectToGroup,\n connectToRFP,\n getCompany,\n getGroupByInvitationId,\n getRfpByInvitationId,\n getRfpInvitation,\n getUserCompanyRole,\n switchCompany,\n} from \"shared/client\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport {\n CompanyDetailsDto,\n GroupDetailsDto,\n StandardRFPType,\n UserCompanyRole,\n UserDto,\n} from \"shared/model\";\n\nexport const defaultLoadingMessage = \"Getting everything ready...\";\n\nexport const useCheckInvitations = () => {\n const [loadingMessage, setLoadingMessage] = useState<string | null>(null);\n const client = useQueryClient();\n\n const { data: userData, isLoading: userDataLoading } = useUserData();\n\n const { openModal, closeModal } = useContext(ModalContext);\n const { data: userCompanies, isLoading: companiesLoading } =\n useUserCompanies();\n\n const history = useHistory();\n\n useEffect(() => {\n (async () => {\n if (companiesLoading || userDataLoading) {\n setLoadingMessage(defaultLoadingMessage);\n return;\n }\n\n if (!userData?.id) {\n setLoadingMessage(null);\n return;\n }\n\n const redirectParam = localStorage.getItem(LocalStorageKey.REDIRECT);\n const redirectToMyESGPassports = redirectParam === ROUTES.MY_ESG_PASSPORT;\n\n // Only one of these will be true since an invitation can only be for one thing\n const isCompanyMemberInvitation = hasCompanyMemberInvitationCookieKey();\n const isGroupInvitation = hasGroupInvitationCookieKey();\n const isRfpInvitation =\n hasRfpInvitationCookieKey() || redirectToMyESGPassports;\n\n // User invited by a company to join as member\n if (isCompanyMemberInvitation) {\n await handleCompanyMemberInvitation({\n user: userData,\n client,\n history,\n openModal,\n closeModal,\n setLoadingMessage,\n });\n } else if (isRfpInvitation) {\n await handleRfpInvitation({\n userCompanies,\n user: userData,\n client,\n history,\n openModal,\n closeModal,\n setLoadingMessage,\n isEsgRedirectLink: redirectToMyESGPassports,\n });\n } else if (isGroupInvitation) {\n await handleGroupInvitation({\n userCompanies,\n user: userData,\n client,\n history,\n openModal,\n closeModal,\n setLoadingMessage,\n });\n }\n setLoadingMessage(null);\n })();\n }, [\n client,\n companiesLoading,\n history,\n userCompanies,\n userData,\n userDataLoading,\n openModal,\n closeModal,\n ]);\n\n return { loadingMessage };\n};\n\ntype InvitationHandlerProps = {\n user: UserDto;\n userCompanies?: CompanyDetailsDto[];\n client: QueryClient;\n history: History<unknown>;\n setLoadingMessage: Dispatch<SetStateAction<string | null>>;\n openModal: ModalContextType[\"openModal\"];\n closeModal: ModalContextType[\"closeModal\"];\n};\n\nasync function handleGroupInvitation({\n user,\n userCompanies,\n client,\n history,\n openModal,\n closeModal,\n setLoadingMessage,\n}: InvitationHandlerProps) {\n if (user) {\n let group: GroupDetailsDto | null = null;\n let inviterCompany: CompanyDetailsDto | null = null;\n\n const inviterCompanyId = localStorage.getItem(\n LocalStorageKey.INVITER_COMPANY_ID\n );\n const invitationId = localStorage.getItem(\n LocalStorageKey.GROUP_INVITATION_TOKEN\n );\n setLoadingMessage(defaultLoadingMessage);\n try {\n inviterCompany = await getCompany(inviterCompanyId!);\n group = await getGroupByInvitationId(invitationId!);\n } catch (err) {\n // If group or inviter company not found contiune with clearing local storage\n removeInvitationParamsFromLocalStorage();\n return;\n }\n setLoadingMessage(null);\n\n // Open multi company modal here\n if (userCompanies?.length && userCompanies.length > 1) {\n openModal(\n <MultiCompanyInvitationSelectorModal\n onConfirm={async (companyId) => {\n setLoadingMessage(defaultLoadingMessage);\n\n // Confirm success in simpeConfirmationModal\n try {\n await connectToGroup(invitationId!, companyId);\n localStorage.setItem(ACTING_COMPANY_ID, companyId);\n await switchCompany({ activeCompanyId: companyId });\n await client.invalidateQueries(queryKeys.user);\n await client.invalidateQueries(queryKeys.ownCompany);\n } catch (err) {\n openModal(\n <SimpleModalBody\n title=\"Invalid invitation\"\n buttons={[\n {\n variant: \"normal\",\n children: \"Ok, got it\",\n color: \"orange\",\n onClick: () => {\n history.push(\"/\");\n closeModal();\n },\n },\n ]}\n >\n The invitation token is not valid.\n </SimpleModalBody>\n );\n }\n await client.invalidateQueries(queryKeys.group(group!.id));\n\n setLoadingMessage(null);\n }}\n companies={userCompanies}\n type={MultiCompanyInvitationType.Group}\n inviterCompanyName={inviterCompany.name}\n groupName={group.name}\n />,\n { props: unclosableDialogProps }\n );\n } else {\n setLoadingMessage(defaultLoadingMessage);\n await connectToGroup(invitationId!, user.companyId);\n await client.invalidateQueries(queryKeys.group(group!.id));\n setLoadingMessage(null);\n }\n removeInvitationParamsFromLocalStorage();\n }\n}\n\nasync function handleRfpInvitation({\n user,\n userCompanies,\n client,\n history,\n openModal,\n closeModal,\n setLoadingMessage,\n isEsgRedirectLink,\n}: InvitationHandlerProps & { isEsgRedirectLink?: boolean }) {\n const rfpInvitationToken = localStorage.getItem(\n LocalStorageKey.RFP_INVITATION_TOKEN\n );\n let rfp: {\n type: RFPType;\n id: string;\n name: string;\n } | null = null;\n\n let rfpInvitation: RfpInvitationDto | null = null;\n let inviterCompany = null;\n setLoadingMessage(defaultLoadingMessage);\n\n try {\n rfp = await getRfpByInvitationId(rfpInvitationToken!);\n rfpInvitation = await getRfpInvitation(rfpInvitationToken!);\n inviterCompany = await getCompany(rfpInvitation.companyId);\n } catch (err) {\n // If RFP or inviter company not found contiune with clearing local storage\n removeInvitationParamsFromLocalStorage();\n setLoadingMessage(null);\n return;\n }\n if (\n rfpInvitation.invitedCompanyId &&\n userCompanies?.find((c) => c.id === rfpInvitation?.invitedCompanyId)\n ) {\n //swtich to the invited company if the user has access to it\n localStorage.setItem(ACTING_COMPANY_ID, rfpInvitation.invitedCompanyId);\n\n await switchCompany({ activeCompanyId: rfpInvitation.invitedCompanyId });\n\n await client.invalidateQueries();\n await client.refetchQueries(queryKeys.user);\n await client.refetchQueries(queryKeys.ownCompany);\n }\n\n if (\n userCompanies?.length &&\n userCompanies.length > 1 &&\n !!rfp &&\n !rfpInvitation.invitedCompanyId\n ) {\n openModal(\n <MultiCompanyInvitationSelectorModal\n companies={userCompanies}\n type={\n rfp.type === RFPType.Passport\n ? MultiCompanyInvitationType.ESG\n : MultiCompanyInvitationType.RFX\n }\n inviterCompanyName={inviterCompany.name}\n rfxType={\n [RFPType.Passport, RFPType.ESRS, RFPType.Regulation].includes(\n rfp.type\n )\n ? undefined\n : StandardRFPType[rfp.type as keyof typeof StandardRFPType]\n }\n onConfirm={async (companyId) => {\n setLoadingMessage(defaultLoadingMessage);\n if (rfp!.type === RFPType.Passport) {\n setCookieArray({\n key: LocalStorageKey.OPEN_POPUP,\n type: \"add\",\n value: TriggeredPopupEnum.GetPassport,\n });\n }\n // Confirm success in simpeConfirmationModal\n try {\n await connectToRFP(rfpInvitationToken!, companyId);\n localStorage.setItem(ACTING_COMPANY_ID, companyId);\n\n await switchCompany({ activeCompanyId: companyId });\n\n await client.invalidateQueries();\n await client.refetchQueries(queryKeys.user);\n await client.refetchQueries(queryKeys.ownCompany);\n } catch (err) {\n openModal(\n <SimpleModalBody\n title=\"Invalid invitation\"\n buttons={[\n {\n variant: \"normal\",\n children: \"Ok, got it\",\n color: \"orange\",\n onClick: () => {\n history.push(\"/\");\n closeModal();\n },\n },\n ]}\n >\n The invitation token is not valid.\n </SimpleModalBody>\n );\n }\n\n setLoadingMessage(null);\n }}\n />,\n { props: unclosableDialogProps }\n );\n } else {\n setLoadingMessage(defaultLoadingMessage);\n if (!rfpInvitation.invitedCompanyId) {\n await connectToRFP(rfpInvitationToken!, user.companyId);\n }\n\n await client.invalidateQueries(queryKeys.rfp(rfp?.id));\n localStorage.removeItem(LocalStorageKey.RFP_INVITATION_TOKEN);\n\n if (rfp.type === RFPType.Passport) {\n setCookieArray({\n key: LocalStorageKey.OPEN_POPUP,\n type: \"add\",\n value: TriggeredPopupEnum.GetPassport,\n });\n }\n\n setLoadingMessage(null);\n }\n\n if (rfp?.type === RFPType.Passport || isEsgRedirectLink) {\n setCookieArray({\n key: LocalStorageKey.OPEN_POPUP,\n type: \"add\",\n value: TriggeredPopupEnum.GetPassport,\n });\n }\n\n setLoadingMessage(null);\n}\n\nasync function handleCompanyMemberInvitation({\n user,\n openModal,\n setLoadingMessage,\n}: InvitationHandlerProps) {\n setLoadingMessage(defaultLoadingMessage);\n console.log(\"User was invited by a company to join as member\");\n\n const invitationId = localStorage.getItem(\n LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN\n );\n const inviterCompanyId = localStorage.getItem(\n LocalStorageKey.INVITER_COMPANY_ID\n );\n\n const inviterCompany = await getCompany(inviterCompanyId!);\n setLoadingMessage(null);\n\n let existingRole: null | UserCompanyRole = null;\n setLoadingMessage(defaultLoadingMessage);\n\n try {\n existingRole = await getUserCompanyRole(inviterCompany.id, user.id);\n } catch (err) {\n // If role combination not found, continue with company member invitation mapping\n }\n setLoadingMessage(null);\n\n if (existingRole) {\n removeInvitationParamsFromLocalStorage();\n } else {\n openModal(\n <ExistingUserInvitatationModal\n companyName={inviterCompany.name}\n setLoadingMessage={setLoadingMessage}\n inviterCompanyId={inviterCompanyId!}\n token={invitationId!}\n />,\n uncloseableDialogSettings(\"md\")\n );\n }\n}\n\nfunction hasCompanyMemberInvitationCookieKey() {\n return Boolean(\n localStorage.getItem(LocalStorageKey.COMPANY_MEMBER_INVITATION_TOKEN) &&\n localStorage.getItem(LocalStorageKey.INVITER_COMPANY_ID)\n );\n}\n\nfunction hasGroupInvitationCookieKey() {\n return Boolean(\n localStorage.getItem(LocalStorageKey.GROUP_INVITATION_TOKEN) &&\n localStorage.getItem(LocalStorageKey.INVITER_COMPANY_ID)\n );\n}\n\nfunction hasRfpInvitationCookieKey() {\n return Boolean(localStorage.getItem(LocalStorageKey.RFP_INVITATION_TOKEN));\n}\n","import React, { Suspense } from \"react\";\nimport { Route } from \"react-router-dom\";\n\nimport { RFPType, ROUTES } from \"@pulsemarket/constants\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport OnboardedRoute from \"components/authentication/OnboardedRoute\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { VendorSearchSideMenuItem } from \"components/VendorSearch/Sidebar/SideBar\";\nimport { useGetRegulations } from \"hooks/queries/regulationHooks\";\nimport { useCheckInvitations } from \"hooks/useCheckInvitations\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport usePassportFeatureEnabled from \"hooks/usePassportFeatureEnabled\";\nimport { ViewerType } from \"pages/RFPEditorPage/utils\";\nimport { StandardRFPType } from \"shared/model\";\nimport lazyRetry from \"util/lazyRetry\";\n\nconst AboutPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/About\"), \"About\")\n);\nconst AssetRepositoryPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/asset_repository\"), \"asset_repository\")\n);\nconst CompanyInfoPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/CompanyInfoPage\"), \"CompanyInfoPage\")\n);\nconst CompanyPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/CompanyPage\"), \"CompanyPage\")\n);\nconst Dashboard = React.lazy(() =>\n lazyRetry(() => import(\"pages/Dashboard\"), \"Dashboard\")\n);\nconst DataRoom = React.lazy(() =>\n lazyRetry(() => import(\"pages/DataRoom\"), \"DataRoom\")\n);\nconst DataManagement = React.lazy(() =>\n lazyRetry(() => import(\"pages/DataManagement\"), \"DataManagement\")\n);\nconst MyDataRooms = React.lazy(() =>\n lazyRetry(() => import(\"pages/MyDataRooms\"), \"MyDataRooms\")\n);\nconst MySuppliersPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/MySuppliersPage\"), \"MySuppliersPage\")\n);\nconst NotificationsPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/NotificationsPage\"), \"NotificationsPage\")\n);\n\nconst ProfileInfoPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/ProfileInfoPage\"), \"ProfileInfoPage\")\n);\nconst GroupPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/PulseGroup/GroupPage\"), \"GroupPage\")\n);\nconst Groups = React.lazy(() =>\n lazyRetry(() => import(\"pages/PulseGroup/groups/Groups\"), \"Groups\")\n);\nconst RFPEditorPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/RFPEditorPage\"), \"RFPEditorPage\")\n);\nconst RFPPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/RFPPage\"), \"RFPPage\")\n);\nconst RFPResponsesPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/RFPResponses\"), \"RFPResponses\")\n);\nconst SupplierDetailsPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/SupplierDetailsPage\"), \"SupplierDetailsPage\")\n);\nconst PassportsPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/Passports/PassportsPage\"), \"PassportsPage\")\n);\nconst RegulationsPage = React.lazy(() =>\n lazyRetry(\n () => import(\"pages/Regulations/RegulationsPage\"),\n \"RegulationsPage\"\n )\n);\nconst VendorSearchPage = React.lazy(() =>\n lazyRetry(() => import(\"pages/VendorSearch\"), \"VendorSearch\")\n);\n\nexport default function AppRoutes() {\n const { data: dataRoomEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.dataroom,\n });\n const { data: dataManagementEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.dataManagement,\n });\n\n const { data: suppliersEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.mySuppliers,\n });\n\n const { data: regulations } = useGetRegulations();\n\n const passportEnabled = usePassportFeatureEnabled();\n\n const { loadingMessage } = useCheckInvitations();\n\n if (loadingMessage) {\n return <Loading message={loadingMessage} />;\n }\n\n return (\n <>\n <Suspense fallback={<Loading />}>\n <OnboardedRoute path=\"/groups/\" exact>\n <Groups />\n </OnboardedRoute>\n <OnboardedRoute path=\"/vendorsearch/suppliersearch\" exact>\n <VendorSearchPage tab={VendorSearchSideMenuItem.Vendors} />\n </OnboardedRoute>\n <OnboardedRoute path=\"/discovergroups\" exact>\n <VendorSearchPage tab={VendorSearchSideMenuItem.Groups} />\n </OnboardedRoute>\n\n <OnboardedRoute path={ROUTES.RFP_MANAGEMENT_FOR_BUYERS} exact>\n <RFPPage />\n </OnboardedRoute>\n <OnboardedRoute path={ROUTES.RFP_MANAGEMENT_FOR_SUPPLIERS} exact>\n <RFPResponsesPage />\n </OnboardedRoute>\n\n {/* Regulation questionnaire URLs */}\n\n <OnboardedRoute\n path={ROUTES.REGULATION_QUESTIONNAIRE({\n questionnaireId: \":rfpId\",\n })}\n >\n <RFPEditorPage rfpType={RFPType.Regulation} />\n </OnboardedRoute>\n\n {/* Invitaton without responseId */}\n <OnboardedRoute\n path={ROUTES.REGULATION_QUESTIONNAIRE({\n questionnaireId: \":rfpId\",\n isResponse: true,\n })}\n exact\n >\n <RFPEditorPage\n viewerType={ViewerType.Supplier}\n rfpType={RFPType.Regulation}\n />\n </OnboardedRoute>\n\n {/* Invitaiton exist */}\n <OnboardedRoute\n path={ROUTES.REGULATION_QUESTIONNAIRE({\n questionnaireId: \":rfpId\",\n isResponse: true,\n invitationId: \":invitationId\",\n })}\n exact\n >\n <RFPEditorPage\n viewerType={ViewerType.Supplier}\n rfpType={RFPType.Regulation}\n />\n </OnboardedRoute>\n\n {/* ResponseId exist */}\n <OnboardedRoute\n path={ROUTES.REGULATION_QUESTIONNAIRE({\n questionnaireId: \":rfpId\",\n isResponse: true,\n responseId: \":responseId\",\n })}\n exact\n >\n <RFPEditorPage\n viewerType={ViewerType.Supplier}\n rfpType={RFPType.Regulation}\n />\n </OnboardedRoute>\n\n {Object.values(StandardRFPType).map((t) => {\n const type = t.toLowerCase();\n\n const baseBuyerPath = `/${type}`;\n const supplierBasePath = `/${type}responses`;\n\n const buyerDocumentPath = `/${type}/:rfpId`;\n const supplierInvitationPath = `/${type}responses/${type}/:rfpId/invitation/:invitationId?`;\n const supplierDocumentPath = `/${type}responses/${type}/:rfpId/response/:responseId?`;\n\n return (\n <React.Fragment key={t}>\n <OnboardedRoute path={baseBuyerPath} exact>\n <RFPPage rfpType={RFPType[t]} />\n </OnboardedRoute>\n\n <OnboardedRoute path={supplierBasePath} exact>\n <RFPResponsesPage rfpType={RFPType[t]} />\n </OnboardedRoute>\n\n <OnboardedRoute path={buyerDocumentPath}>\n <RFPEditorPage rfpType={RFPType[t]} />\n </OnboardedRoute>\n\n <OnboardedRoute path={supplierInvitationPath} exact>\n <RFPEditorPage\n viewerType={ViewerType.Supplier}\n rfpType={RFPType[t]}\n />\n </OnboardedRoute>\n\n <OnboardedRoute path={supplierDocumentPath} exact>\n <RFPEditorPage\n viewerType={ViewerType.Supplier}\n rfpType={RFPType[t]}\n />\n </OnboardedRoute>\n </React.Fragment>\n );\n })}\n\n {passportEnabled && (\n <OnboardedRoute path={ROUTES.PASSPORT_MANAGEMENT}>\n <PassportsPage />\n </OnboardedRoute>\n )}\n\n {regulations?.map((regulation) => (\n <OnboardedRoute\n key={regulation.id}\n // path={`/${regulation.name}`}\n path={ROUTES.REGULATIONS({ regulation }).Root}\n >\n <RegulationsPage regulation={regulation} />\n </OnboardedRoute>\n ))}\n\n <OnboardedRoute path=\"/vendorsearch/companylist/:companyListId?\" exact>\n <VendorSearchPage tab={VendorSearchSideMenuItem.CompanyLists} />\n </OnboardedRoute>\n <OnboardedRoute path=\"/company/edit\">\n <CompanyInfoPage />\n </OnboardedRoute>\n <OnboardedRoute path=\"/profile/edit\">\n <ProfileInfoPage />\n </OnboardedRoute>\n <Route path=\"/pulsepage/:companyId\" exact>\n <CompanyPage />\n </Route>\n <OnboardedRoute path=\"/company/:companyId/supplier-search\" exact>\n <CompanyPage />\n </OnboardedRoute>\n <OnboardedRoute path=\"/about\" exact>\n <AboutPage />\n </OnboardedRoute>\n <OnboardedRoute path=\"/assets/:folderId\" exact>\n <AssetRepositoryPage />\n </OnboardedRoute>\n\n <OnboardedRoute path=\"/notifications\">\n <NotificationsPage />\n </OnboardedRoute>\n\n {suppliersEnabled && (\n <>\n <OnboardedRoute path={ROUTES.MY_SUPPLIERS} exact>\n <MySuppliersPage />\n </OnboardedRoute>\n <OnboardedRoute path={`${ROUTES.MY_SUPPLIERS}/:id`}>\n <SupplierDetailsPage />\n </OnboardedRoute>\n </>\n )}\n\n <Route path=\"/groups/:groupId\" exact>\n <GroupPage />\n </Route>\n {dataRoomEnabled && (\n <>\n <Route path=\"/datarooms/:id/:folderId?\" exact>\n <DataRoom />\n </Route>\n <OnboardedRoute path=\"/datarooms\" exact>\n <MyDataRooms />\n </OnboardedRoute>\n </>\n )}\n\n {dataManagementEnabled && (\n <OnboardedRoute path={ROUTES.DATA_MANAGEMENT.root}>\n <DataManagement />\n </OnboardedRoute>\n )}\n\n <OnboardedRoute path=\"/\" exact>\n <Dashboard />\n </OnboardedRoute>\n\n {/* TODO: Add not Found page design */}\n <Route path=\"*\" />\n </Suspense>\n </>\n );\n}\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { spacing } from \"shared/styles/spacing\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n inputContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n paddingTop: \"14px\",\n $nest: {\n \"& label\": {\n marginBottom: spacing.LABEL_MARGIN,\n },\n },\n },\n contentContainer: {\n ...typography.BODY1,\n color: primaryColors.BLACK,\n padding: 0,\n marginBottom: \"32px\",\n overflowY: \"initial\",\n },\n paragraph: {\n paddingRight: \"5%\",\n },\n buttonsContainer: {\n position: \"absolute\",\n bottom: \"18px\",\n right: \"32px\",\n },\n cancelButton: {\n marginRight: \"14px\",\n },\n modalContent: {\n marginBottom: \"10%\",\n },\n});\n","import React, { useContext } from \"react\";\n\nimport { DialogContent } from \"@mui/material\";\nimport Button from \"components/ui/Button\";\nimport FormSelect from \"components/ui/FormSelect\";\nimport ModalHeader from \"components/ui/Modal/Header\";\nimport SimpleModalBody from \"components/ui/Modal/SimpleModalBody\";\nimport TextArea from \"components/ui/TextArea\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useFormik } from \"formik\";\nimport { sendFeedBack } from \"shared/client\";\nimport { Feedback, FeedbackType, Pair } from \"shared/model\";\n\nimport styles from \"./FeedbackModal.styles\";\n\ntype FeedbackModalProps = {\n onClose: () => void;\n};\n\nconst feedbackOptions: Pair[] = [\n {\n name: \"Report an issue\",\n id: \"Issue\",\n },\n {\n name: \"Provide feedback\",\n id: \"Feedback\",\n },\n {\n name: \"Suggest a feature\",\n id: \"Suggestion\",\n },\n];\n\nexport default function FeedbackModal({ onClose }: FeedbackModalProps) {\n const { openModal, closeModal } = useContext(ModalContext);\n\n function handleClose() {\n onClose();\n }\n\n const initialValues: Feedback = {\n type: \"\" as FeedbackType,\n email: \"\",\n description: \"\",\n };\n\n const formik = useFormik({\n initialValues,\n onSubmit: async (values) => {\n handleClose();\n await sendFeedBack(values);\n openModal(\n <SimpleModalBody\n title=\"Thanks for your feedback\"\n buttons={[\n {\n variant: \"normal\",\n color: \"orange\",\n onClick: closeModal,\n children: \"Ok, thanks\",\n },\n ]}\n >\n By making your voice heard, you help us improve Pulse. You will\n receive an email shortly.\n </SimpleModalBody>\n );\n },\n });\n\n return (\n <div className={styles.modalContent}>\n <ModalHeader onClose={onClose}>Feedback</ModalHeader>\n <DialogContent className={styles.contentContainer}>\n <form onSubmit={formik.handleSubmit}>\n <div>\n <p className={styles.paragraph}>\n Help us to improve, leave your feedback or any suggestion.\n </p>\n <div className={styles.inputContainer}>\n <label>Please, select an option</label>\n <FormSelect\n readOnlyInput\n options={feedbackOptions}\n placeholder=\"Select an option\"\n value={formik.values.type}\n required={true}\n onChange={(option) => formik.setFieldValue(\"type\", option)}\n />\n </div>\n <div className={styles.inputContainer}>\n <label>Description</label>\n <TextArea\n placeholder=\"Please, provide further details about your feedback.\"\n onChange={formik.handleChange(\"description\")}\n required\n />\n </div>\n </div>\n <div className={styles.buttonsContainer}>\n <Button\n variant=\"normal\"\n color=\"gray\"\n onClick={handleClose}\n className={styles.cancelButton}\n >\n Cancel\n </Button>\n <Button variant=\"normal\" color=\"orange\" type=\"submit\">\n Send Feedback\n </Button>\n </div>\n </form>\n </DialogContent>\n </div>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n root: {\n margin: \"2rem\",\n },\n});\n","import React, { useEffect, useState } from \"react\";\n\nimport { ModalAction } from \"components/ui/Modal/Actions/ModalActions\";\nimport { useCreateCompany } from \"hooks/queries/useCompanies\";\nimport { nameValidatorFn } from \"shared/validators\";\n\nimport Input from \"../ui/Input\";\nimport SimpleModalBody from \"../ui/Modal/SimpleModalBody/SimpleModalBody\";\nimport styles from \"./CreateCompanyModal.styles\";\n\nexport function CreateCompanyModal() {\n const [companyName, setcompanyName] = useState<string>(\"\");\n\n const [errorMessage, setErrorMessage] = useState<string>();\n useEffect(() => {\n if (companyName) {\n if (companyName.length < 3) {\n setErrorMessage(\"Name should have a minimum 3 Characters.\");\n } else if (!nameValidatorFn(companyName)) {\n setErrorMessage(\"The name contains invalid characters.\");\n } else {\n setErrorMessage(undefined);\n }\n }\n }, [companyName]);\n\n const { mutateAsync: createCompany } = useCreateCompany();\n const buttons: ModalAction[] = [\n {\n variant: \"normal\",\n color: \"gray\",\n onClick: () => {},\n children: \"Cancel\",\n },\n {\n variant: \"normal\",\n color: \"orange\",\n onClick: () => {\n createCompany(companyName);\n },\n disabled: !companyName || !!errorMessage,\n children: \"Add\",\n },\n ];\n return (\n <SimpleModalBody title=\"Add new company\" buttons={buttons}>\n <div className={styles.root}>\n <Input\n label=\"Company Name\"\n name=\"name\"\n placeholder=\"Name\"\n fullWidth\n value={companyName}\n onChange={(e) => setcompanyName(e.target.value)}\n helperText={errorMessage}\n error={!!errorMessage}\n />\n </div>\n </SimpleModalBody>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { clickable } from \"shared/styles/classes\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n root: {},\n avatar: {\n ...clickable,\n },\n styles: {\n borderRadius: \"8px\",\n },\n itemSize: {\n paddingBottom: \"16px\",\n paddingTop: \"16px\",\n },\n pageItem: {\n ...typography.BODY1,\n color: neutralColors.GRAY5,\n $nest: {\n \"&:hover\": {\n color: primaryColors.BLACK,\n },\n },\n },\n selectedPageItem: {\n $nest: {\n \"&\": {\n color: primaryColors.BLACK,\n },\n },\n },\n switchCompany: {\n ...typography.CAPTION,\n color: neutralColors.GRAY5,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n pointerEvents: \"none\",\n },\n arrowIcon: {\n height: \"18px\",\n color: neutralColors.GRAY5,\n },\n actionItem: {\n ...typography.BODY1,\n color: primaryColors.BLACK,\n },\n companyItem: {\n ...typography.BODY2,\n },\n companyAvatar: {\n width: \"27px\",\n height: \"27px\",\n marginRight: \"12px\",\n },\n menuRoot: {\n borderRadius: \"8px\",\n width: \"250px\",\n padding: \"12px\",\n },\n divider: {\n background: neutralColors.GRAY3,\n width: \"85%\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n marginTop: \"12px\",\n marginBottom: \"12px\",\n },\n});\n\nexport default styles;\n","import React, { useContext } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n\nimport { Divider, Menu, MenuItem, MenuItemProps } from \"@mui/material\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport FeedbackModal from \"components/FeedbackModal\";\nimport Avatar from \"components/ui/Avatar\";\nimport IconButton from \"components/ui/IconButton\";\n// import SubSelect from \"components/ui/SubSelect\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport ModalContext from \"contexts/ModalContext\";\nimport { useLogOut } from \"hooks/queries/useAuth\";\nimport useIsAdmin from \"hooks/queries/useIsAdmin\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport usePassportFeatureEnabled from \"hooks/usePassportFeatureEnabled\";\nimport {\n DEFAULT_COMPANY_AVATAR,\n DEFAULT_USER_AVATAR,\n} from \"shared/constants/icons\";\nimport { CompanyDetailsDto } from \"shared/model\";\nimport { classes } from \"typestyle\";\n\nimport { CreateCompanyModal } from \"../CreateCompanyModal/CreateCompanyModal\";\nimport styles from \"./AvatarMenu.styles\";\n\ntype AvatarMenuProps = {\n className?: string;\n profileImageUrl?: string;\n companies?: CompanyDetailsDto[];\n onSwitchCompany?: (id: string) => void;\n};\n\nexport default function AvatarMenu({\n className,\n profileImageUrl,\n companies = [],\n onSwitchCompany = () => {},\n}: AvatarMenuProps) {\n const { mutateAsync: logout } = useLogOut();\n const { isAdmin } = useIsAdmin();\n const { openModal, closeModal } = useContext(ModalContext);\n const history = useHistory();\n const location = useLocation();\n\n const [anchorElement, setAnchorElement] = React.useState<Element | null>(\n null\n );\n\n const handleMenuOpen = (event: React.MouseEvent<Element, MouseEvent>) => {\n setAnchorElement(event.currentTarget);\n };\n\n const handleMenuClose = () => {\n setAnchorElement(null);\n };\n\n const { data: createCompanyFeatureEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.createNewCompany,\n });\n\n const passportEnabled = usePassportFeatureEnabled();\n const menuOpen = Boolean(anchorElement);\n\n // https://github.com/mui/material-ui/issues/16245\n const pages: Omit<MenuItemProps, \"button\">[] = [\n {\n children: \"Company account\",\n onClick: () => {\n history.push(`/company/edit/info`);\n },\n selected: location.pathname === \"/company/edit/info\",\n },\n {\n children: \"About\",\n onClick: () => {\n history.push(\"/company/edit/about\");\n },\n selected: location.pathname === \"/company/edit/about\",\n },\n ...(passportEnabled\n ? [\n {\n children: \"Pulse Passport\",\n onClick: () => {\n isAdmin\n ? history.push(\"/company/edit/pulsepassport\")\n : window.open(\"https://pulsemarket.com/esg-passport\");\n },\n selected: location.pathname === \"/company/edit/pulsepassport\",\n },\n ]\n : []),\n ];\n\n return (\n <>\n <Avatar\n className={classes(styles.root, className)}\n src={profileImageUrl ?? DEFAULT_USER_AVATAR}\n size=\"40\"\n onClick={handleMenuOpen}\n alt=\"User avatar\"\n imageClassName={styles.avatar}\n />\n <Menu\n open={menuOpen}\n anchorEl={anchorElement}\n onClose={handleMenuClose}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"center\",\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"center\",\n }}\n classes={{ paper: styles.menuRoot }}\n >\n {pages.map((page, i) => (\n <MenuItem\n {...page}\n key={i}\n className={classes(styles.itemSize, styles.pageItem)}\n classes={{ selected: styles.selectedPageItem }}\n />\n ))}\n {!!companies.length && (\n <>\n <Divider className={styles.divider} />\n <MenuItem\n className={classes(styles.itemSize, styles.switchCompany)}\n >\n <span>Switch Company: </span>\n <SvgIcon\n className={styles.arrowIcon}\n src=\"/icons/arrow_right.svg\"\n />\n </MenuItem>\n {companies.map((company, i) => {\n return (\n <MenuItem\n key={i}\n className={classes(styles.itemSize, styles.companyItem)}\n onClick={() => onSwitchCompany(company.id)}\n >\n <img\n className={styles.companyAvatar}\n src={company.avatar ?? DEFAULT_COMPANY_AVATAR}\n alt=\"Company avatar\"\n />\n {company.name}\n </MenuItem>\n );\n })}\n </>\n )}\n {/* TODO: Implement the SubSelect component which is inclided in the design:\n shttps://www.figma.com/design/CccZ82VO9kpIsNFzSju0wd/Demo---Pulse-3.0?node-id=2019-92103&t=gGPu9yBVxgmcdaAT-0\n {companies.length > 0 && (\n <SubSelect\n // className={styles.supplierSelect}\n options={companies.map((c) => {\n return {\n id: c.id,\n name: c.name,\n };\n })}\n onSelect={(items) => {\n onSwitchCompany(items[0].id);\n }}\n placeholder=\"Select from your Lists\"\n multiSelectListProps={{\n asPopover: true,\n getSubOptions(value) {\n return Promise.resolve(\n companies.map((c) => {\n return {\n id: c.id,\n name: c.name,\n // Add other properties as needed to match WithAvatarProps<Pair & { disabled?: boolean | ((id: string) => boolean | undefined) | undefined; }>\n avatarUrl: c.avatar, // Example property\n disabled: false, // Example property\n };\n })\n );\n },\n }}\n multiple={false}\n />\n )} */}\n\n {createCompanyFeatureEnabled && [\n <MenuItem\n key=\"create-account\"\n className={classes(styles.itemSize, styles.companyItem)}\n onClick={() => {\n openModal(<CreateCompanyModal />, {\n props: {\n disableEnforceFocus: true,\n },\n });\n }}\n >\n <IconButton\n className={styles.companyAvatar}\n src=\"/icons/add_icon.svg\"\n tooltip=\"Create a new company with ease\"\n color=\"purple\"\n />\n Add Account\n </MenuItem>,\n ]}\n\n <Divider className={styles.divider} />\n <MenuItem\n className={classes(styles.itemSize, styles.actionItem)}\n onClick={() => {\n openModal(<FeedbackModal onClose={closeModal} />, {\n props: {\n disableEnforceFocus: true,\n },\n });\n }}\n >\n Feedback\n </MenuItem>\n <MenuItem\n className={classes(styles.itemSize, styles.actionItem)}\n onClick={() => logout()}\n >\n Log out\n </MenuItem>\n </Menu>\n </>\n );\n}\n","'use client';\n\nimport { usePreviousProps } from '@mui/utils';\n/**\n *\n * Demos:\n *\n * - [Badge](https://mui.com/base-ui/react-badge/#hook)\n *\n * API:\n *\n * - [useBadge API](https://mui.com/base-ui/react-badge/hooks-api/#use-badge)\n */\nfunction useBadge(parameters) {\n const {\n badgeContent: badgeContentProp,\n invisible: invisibleProp = false,\n max: maxProp = 99,\n showZero = false\n } = parameters;\n const prevProps = usePreviousProps({\n badgeContent: badgeContentProp,\n max: maxProp\n });\n let invisible = invisibleProp;\n if (invisibleProp === false && badgeContentProp === 0 && !showZero) {\n invisible = true;\n }\n const {\n badgeContent,\n max = maxProp\n } = invisible ? prevProps : parameters;\n const displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;\n return {\n badgeContent,\n invisible,\n max,\n displayValue\n };\n}\nexport default useBadge;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBadgeUtilityClass(slot) {\n return generateUtilityClass('MuiBadge', slot);\n}\nconst badgeClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopRight', 'anchorOriginBottomRight', 'anchorOriginTopLeft', 'anchorOriginBottomLeft', 'invisible', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular',\n// TODO: v6 remove the overlap value from these class keys\n'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);\nexport default badgeClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport usePreviousProps from '@mui/utils/usePreviousProps';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport useBadge from \"./useBadge.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport badgeClasses, { getBadgeUtilityClass } from \"./badgeClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst RADIUS_STANDARD = 10;\nconst RADIUS_DOT = 4;\nconst useUtilityClasses = ownerState => {\n const {\n color,\n anchorOrigin,\n invisible,\n overlap,\n variant,\n classes = {}\n } = ownerState;\n const slots = {\n root: ['root'],\n badge: ['badge', variant, invisible && 'invisible', `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`, `overlap${capitalize(overlap)}`, color !== 'default' && `color${capitalize(color)}`]\n };\n return composeClasses(slots, getBadgeUtilityClass, classes);\n};\nconst BadgeRoot = styled('span', {\n name: 'MuiBadge',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n position: 'relative',\n display: 'inline-flex',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n flexShrink: 0\n});\nconst BadgeBadge = styled('span', {\n name: 'MuiBadge',\n slot: 'Badge',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.badge, styles[ownerState.variant], styles[`anchorOrigin${capitalize(ownerState.anchorOrigin.vertical)}${capitalize(ownerState.anchorOrigin.horizontal)}${capitalize(ownerState.overlap)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.invisible && styles.invisible];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n position: 'absolute',\n boxSizing: 'border-box',\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(12),\n minWidth: RADIUS_STANDARD * 2,\n lineHeight: 1,\n padding: '0 6px',\n height: RADIUS_STANDARD * 2,\n borderRadius: RADIUS_STANDARD,\n zIndex: 1,\n // Render the badge on top of potential ripples.\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.enteringScreen\n }),\n variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['contrastText'])).map(([color]) => ({\n props: {\n color\n },\n style: {\n backgroundColor: (theme.vars || theme).palette[color].main,\n color: (theme.vars || theme).palette[color].contrastText\n }\n })), {\n props: {\n variant: 'dot'\n },\n style: {\n borderRadius: RADIUS_DOT,\n height: RADIUS_DOT * 2,\n minWidth: RADIUS_DOT * 2,\n padding: 0\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular',\n style: {\n top: 0,\n right: 0,\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, -50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular',\n style: {\n bottom: 0,\n right: 0,\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, 50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular',\n style: {\n top: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular',\n style: {\n bottom: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular',\n style: {\n top: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, -50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular',\n style: {\n bottom: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(50%, 50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular',\n style: {\n top: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular',\n style: {\n bottom: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n [`&.${badgeClasses.invisible}`]: {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n }\n }, {\n props: {\n invisible: true\n },\n style: {\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.leavingScreen\n })\n }\n }]\n})));\nfunction getAnchorOrigin(anchorOrigin) {\n return {\n vertical: anchorOrigin?.vertical ?? 'top',\n horizontal: anchorOrigin?.horizontal ?? 'right'\n };\n}\nconst Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiBadge'\n });\n const {\n anchorOrigin: anchorOriginProp,\n className,\n classes: classesProp,\n component,\n components = {},\n componentsProps = {},\n children,\n overlap: overlapProp = 'rectangular',\n color: colorProp = 'default',\n invisible: invisibleProp = false,\n max: maxProp = 99,\n badgeContent: badgeContentProp,\n slots,\n slotProps,\n showZero = false,\n variant: variantProp = 'standard',\n ...other\n } = props;\n const {\n badgeContent,\n invisible: invisibleFromHook,\n max,\n displayValue: displayValueFromHook\n } = useBadge({\n max: maxProp,\n invisible: invisibleProp,\n badgeContent: badgeContentProp,\n showZero\n });\n const prevProps = usePreviousProps({\n anchorOrigin: getAnchorOrigin(anchorOriginProp),\n color: colorProp,\n overlap: overlapProp,\n variant: variantProp,\n badgeContent: badgeContentProp\n });\n const invisible = invisibleFromHook || badgeContent == null && variantProp !== 'dot';\n const {\n color = colorProp,\n overlap = overlapProp,\n anchorOrigin: anchorOriginPropProp,\n variant = variantProp\n } = invisible ? prevProps : props;\n const anchorOrigin = getAnchorOrigin(anchorOriginPropProp);\n const displayValue = variant !== 'dot' ? displayValueFromHook : undefined;\n const ownerState = {\n ...props,\n badgeContent,\n invisible,\n max,\n displayValue,\n showZero,\n anchorOrigin,\n color,\n overlap,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n\n // support both `slots` and `components` for backward compatibility\n const RootSlot = slots?.root ?? components.Root ?? BadgeRoot;\n const BadgeSlot = slots?.badge ?? components.Badge ?? BadgeBadge;\n const rootSlotProps = slotProps?.root ?? componentsProps.root;\n const badgeSlotProps = slotProps?.badge ?? componentsProps.badge;\n const rootProps = useSlotProps({\n elementType: RootSlot,\n externalSlotProps: rootSlotProps,\n externalForwardedProps: other,\n additionalProps: {\n ref,\n as: component\n },\n ownerState,\n className: clsx(rootSlotProps?.className, classes.root, className)\n });\n const badgeProps = useSlotProps({\n elementType: BadgeSlot,\n externalSlotProps: badgeSlotProps,\n ownerState,\n className: clsx(classes.badge, badgeSlotProps?.className)\n });\n return /*#__PURE__*/_jsxs(RootSlot, {\n ...rootProps,\n children: [children, /*#__PURE__*/_jsx(BadgeSlot, {\n ...badgeProps,\n children: displayValue\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Badge.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The anchor of the badge.\n * @default {\n * vertical: 'top',\n * horizontal: 'right',\n * }\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['left', 'right']),\n vertical: PropTypes.oneOf(['bottom', 'top'])\n }),\n /**\n * The content rendered within the badge.\n */\n badgeContent: PropTypes.node,\n /**\n * The badge will be added relative to this node.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Badge: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n badge: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * If `true`, the badge is invisible.\n * @default false\n */\n invisible: PropTypes.bool,\n /**\n * Max count to show.\n * @default 99\n */\n max: PropTypes.number,\n /**\n * Wrapped shape the badge should overlap.\n * @default 'rectangular'\n */\n overlap: PropTypes.oneOf(['circular', 'rectangular']),\n /**\n * Controls whether the badge is hidden when `badgeContent` is zero.\n * @default false\n */\n showZero: PropTypes.bool,\n /**\n * The props used for each slot inside the Badge.\n * @default {}\n */\n slotProps: PropTypes.shape({\n badge: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Badge.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n badge: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'standard'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['dot', 'standard']), PropTypes.string])\n} : void 0;\nexport default Badge;","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport NotificationItem from \"components/Notifications/NotificationItem\";\nimport Button from \"components/ui/Button\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { NotificationDto } from \"shared/model\";\nimport { typography } from \"shared/styles/typography\";\nimport { classes, stylesheet } from \"typestyle\";\n\ntype Props = {\n className?: string;\n onClose: () => void;\n notifications: NotificationDto[];\n};\n\nconst styles = stylesheet({\n wrapper: {\n width: \"357px\",\n padding: \"28px\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n title: {\n ...typography.TITLE1,\n color: primaryColors.BLACK,\n },\n list: {\n padding: \"0\",\n listStyle: \"none\",\n margin: \"28px 0px\",\n },\n li: {\n listStyle: \"none\",\n marginBottom: \"10px\",\n $nest: {\n \"&:last-child\": {\n marginBottom: \"0\",\n },\n },\n },\n item: {\n display: \"inline-flex\",\n },\n seeAllButton: {\n alignSelf: \"flex-end\",\n },\n emptyContainer: {\n textAlign: \"center\",\n },\n emptyImg: {\n color: neutralColors.GRAY2,\n height: \"80px\",\n },\n emptyText: {\n color: neutralColors.GRAY5,\n ...typography.CAPTION,\n },\n});\n\nconst NotificationPopUp = ({ className, notifications, onClose }: Props) => {\n const history = useHistory();\n\n return (\n <div className={classes(className, styles.wrapper)}>\n <div className={styles.title}>Notifications</div>\n <ul className={styles.list}>\n {notifications.map((n) => {\n return (\n <li key={n.id} className={styles.li}>\n <NotificationItem notification={n} onItemClick={onClose} />\n </li>\n );\n })}\n </ul>\n\n {!notifications.length ? (\n <div className={styles.emptyContainer}>\n <SvgIcon\n className={styles.emptyImg}\n src=\"/icons/notification_icon_on.svg\"\n />\n <p className={styles.emptyText}>You don't have any notification!</p>\n </div>\n ) : (\n <Button\n className={styles.seeAllButton}\n variant=\"normal\"\n size=\"small\"\n onClick={() => {\n onClose();\n history.push(\"/notifications\");\n }}\n >\n See all\n </Button>\n )}\n </div>\n );\n};\n\nexport default NotificationPopUp;\n","import { primaryColors, utilityColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n notificationBell: {\n height: \"32px\",\n color: primaryColors.PURPLE2,\n cursor: \"pointer\",\n $nest: {\n \"&:hover\": {\n color: primaryColors.PURPLE2_HOVER,\n },\n },\n },\n notificationBadge: {\n $nest: {\n \".MuiBadge-badge\": {\n background: utilityColors.ORANGE,\n top: 2,\n right: 2,\n },\n },\n },\n tooltip: {\n maxWidth: \"none !important\",\n },\n});\n","import React, { useState } from \"react\";\n\nimport { Badge } from \"@mui/material\";\nimport NotificationPopUp from \"components/Notifications/NotificationPopUp\";\nimport Tooltip from \"components/ui/Tooltip\";\nimport { useRecentNotifications } from \"hooks/queries/useNotifications\";\n\nimport styles from \"./NotificationBellStyles\";\n\nconst NotificationBell = () => {\n const [isOpen, setisOpen] = useState(false);\n const { data } = useRecentNotifications(6);\n\n if (!data) {\n return null;\n }\n\n return (\n <>\n <Badge\n className={styles.notificationBadge}\n badgeContent={data.unread}\n max={99}\n color=\"primary\"\n >\n <Tooltip\n className={styles.tooltip}\n title={\n <NotificationPopUp\n notifications={data.notifications}\n onClose={() => setisOpen(false)}\n />\n }\n open={isOpen}\n noPadding\n backdrop\n placement=\"bottom-end\"\n disableHoverListener\n onBackdropClick={() => setisOpen(false)}\n >\n <img\n alt=\"notifications\"\n className={styles.notificationBell}\n src=\"/icons/bell.svg\"\n onClick={() => setisOpen(true)}\n />\n </Tooltip>\n </Badge>\n </>\n );\n};\n\nexport default React.memo(NotificationBell);\n","import {\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport default stylesheet({\n topMenuAccountDetailsClass: {\n display: \"flex\",\n flexDirection: \"row\",\n padding: \"8px 20px\",\n alignItems: \"center\",\n marginBottom: \"8px\",\n marginTop: \"8px\",\n },\n header: {\n height: \"105px\",\n display: \"flex\",\n flexFlow: \"row wrap\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n },\n divider: {\n margin: \"auto 24px\",\n height: \"32px\",\n width: \"1px\",\n background: neutralColors.GRAY3,\n },\n profileTextContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n margin: \"0px 20px\",\n },\n profileText: {\n margin: \"1px\",\n textAlign: \"end\",\n },\n topMenuLeftContainer: {\n ...typography.SUBTITLE1,\n },\n topMenuWelcome: {\n marginLeft: \"8px\",\n color: primaryColors.BLACK,\n $nest: {\n span: {\n color: utilityColors.ORANGE,\n },\n },\n },\n welcomeContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: \"17px\",\n alignItems: \"center\",\n },\n breadCrumbArrow: {\n marginRight: \"12px\",\n marginLeft: \"12px\",\n },\n breadCrumbContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n});\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport { Route, useHistory } from \"react-router-dom\";\n\nimport { RFPType, ROUTES } from \"@pulsemarket/constants\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport AvatarMenu from \"components/AvatarMenu\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { NotificationBell } from \"components/Notifications\";\nimport { TabTitle } from \"components/PulsePage/PulsePage\";\nimport Breadcrumb from \"components/ui/Breadcrumb\";\nimport Button from \"components/ui/Button\";\nimport { useGetRegulations } from \"hooks/queries/regulationHooks\";\nimport { useGetAuthToken } from \"hooks/queries/useAuth\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useSwitchCompany from \"hooks/queries/useSwitchCompany\";\nimport { useUserCompanies } from \"hooks/queries/useUserCompanies\";\nimport useUserData from \"hooks/queries/useUserData\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport usePassportFeatureEnabled from \"hooks/usePassportFeatureEnabled\";\nimport { ACTING_COMPANY_ID } from \"shared/constants/localstorage\";\nimport { StandardRFPType } from \"shared/model\";\nimport { colorClass, marginRightClass } from \"shared/styles/classes\";\nimport { pointerCursor } from \"shared/styles/styles\";\nimport { typography } from \"shared/styles/typography\";\nimport { askForAuthenticationPreservingRoute } from \"shared/utils/authentication\";\nimport { classes, style } from \"typestyle\";\n\nimport styles from \"./HeaderStyles\";\n\ninterface HeaderProps {\n className?: string;\n}\n\nconst procurementConsolePaths = [\n ROUTES.RFP_MANAGEMENT_DDQ,\n ROUTES.RFP_MANAGEMENT_RFI,\n ROUTES.RFP_MANAGEMENT_QTP,\n ROUTES.RFP_MANAGEMENT_RFP,\n ROUTES.RFP_MANAGEMENT_DDQ_RESPONSES,\n ROUTES.RFP_MANAGEMENT_RFI_RESPONSES,\n ROUTES.RFP_MANAGEMENT_QTP_RESPONSES,\n ROUTES.RFP_MANAGEMENT_RFP_RESPONSES,\n ROUTES.RFP_MANAGEMENT_FOR_BUYERS,\n ROUTES.RFP_MANAGEMENT_FOR_SUPPLIERS,\n];\n\nfunction Header(props: HeaderProps) {\n const [isSwitchingAccount, setIsSwitchingAccount] = useState(false);\n const { data: userData, isLoading: userLoading } = useUserData();\n const {\n data: ownCompany,\n isLoading: companyLoading,\n refetch: refetchOwnCompany,\n } = useOwnCompany();\n\n const switchCompany = useSwitchCompany();\n useEffect(() => {\n if (\n userData?.companyId !== ownCompany?.id ||\n localStorage.getItem(ACTING_COMPANY_ID) !== ownCompany?.id\n ) {\n refetchOwnCompany();\n }\n }, [ownCompany, refetchOwnCompany, userData]);\n\n const { data: companies, isLoading: companiesLoading } = useUserCompanies();\n\n const { data: tokenData } = useGetAuthToken();\n const actingCompanyId = localStorage.getItem(ACTING_COMPANY_ID);\n const { data: notificationsEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.notificationsEnabled,\n });\n\n const { data: regulations } = useGetRegulations();\n\n const passportEnabled = usePassportFeatureEnabled();\n\n const history = useHistory();\n\n const onRedirectToRegulationsQuestionnairePage = useCallback(\n async (rfxId: string) => {\n history.goBack();\n },\n [history]\n );\n\n if (userLoading || companyLoading || companiesLoading) {\n return <div className={classes(styles.header, props.className)} />;\n }\n\n if (isSwitchingAccount) {\n return (\n <div className={classes(styles.header, props.className)}>\n <Loading message=\"Switching company...\" />\n </div>\n );\n }\n\n return (\n <div className={classes(styles.header, props.className)}>\n <div className={styles.topMenuLeftContainer}>\n <Route path=\"/\" exact>\n <div className={styles.welcomeContainer}>\n <img src=\"/icons/dashboard_icon.svg\" alt=\"profile\" />\n {userData?.firstName && (\n <div className={styles.topMenuWelcome}>\n Hi <span>{userData.firstName} </span>, Welcome to Pulse Market\n </div>\n )}\n </div>\n </Route>\n <Route path=\"/company/:id/supplier-search\" exact={true}>\n <div className={styles.breadCrumbContainer}>\n <h1\n onClick={() => {\n history.push(ROUTES.MY_SUPPLIERS);\n }}\n className={classes(\n style({\n ...typography.SUBTITLE1,\n color: neutralColors.GRAY5,\n ...pointerCursor,\n }),\n styles.breadCrumbContainer\n )}\n >\n <img\n src=\"/icons/back_icon_gray5.svg\"\n alt=\"back-to-supplier-list\"\n className={classes(marginRightClass(\"16px\"))}\n />\n Supplier Profiling\n </h1>\n\n <h1\n className={classes(\n style({ ...typography.SUBTITLE1 }),\n colorClass(primaryColors.BLACK),\n styles.breadCrumbContainer\n )}\n >\n <img\n src=\"/icons/arrow_right.svg\"\n alt=\"profile\"\n className={styles.breadCrumbArrow}\n />\n Supplier Search\n </h1>\n </div>\n </Route>\n <Route path={procurementConsolePaths} exact>\n <div className={styles.topMenuLeftContainer}>Value Chain</div>\n </Route>\n\n <Route path={ROUTES.MY_SUPPLIERS}>\n <div className={styles.topMenuLeftContainer}>Supplier Profiling</div>\n </Route>\n\n <Route path=\"/groups/:id\" exact>\n <Breadcrumb\n path={{\n pathname: `/pulsepage/${actingCompanyId}`,\n state: { tabTitle: TabTitle.Groups },\n }}\n data={[\n {\n id: \"\",\n name: \"My Groups\",\n onClick: () =>\n history.push(`/pulsepage/${actingCompanyId}/`, {\n tabTitle: TabTitle.Groups,\n }),\n },\n // TODO: get group id from url and set group name in breadcrumb\n // {\n // id: group.id,\n // name: group.name,\n // },\n ]}\n icon={{\n color: primaryColors.PURPLE2,\n src: \"/icons/dashboard_icon.svg\",\n linkTo: \"/\",\n }}\n />\n </Route>\n\n <Route\n path={ROUTES.REGULATION_QUESTIONNAIRE({ questionnaireId: \":rfpId\" })}\n >\n <h1\n onClick={() => {\n onRedirectToRegulationsQuestionnairePage(\n history.location.pathname.split(\"/\")[2]\n );\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt=\"profile\"\n className={marginRightClass(\"16px\")}\n />\n Regulations and Frameworks\n </h1>\n </Route>\n\n <Route\n path={ROUTES.REGULATION_QUESTIONNAIRE({\n questionnaireId: \":rfpId\",\n isResponse: true,\n responseId: \":responseId\",\n })}\n >\n <h1\n onClick={() => {\n const rfxId = history.location.pathname.split(\"/\")[3];\n onRedirectToRegulationsQuestionnairePage(rfxId);\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt=\"profile\"\n className={marginRightClass(\"16px\")}\n />\n Regulations and Frameworks\n </h1>\n </Route>\n\n {Object.values(StandardRFPType).map((t) => {\n const type = t.toLowerCase();\n return (\n <React.Fragment key={t}>\n <Route path={`/${type}/:id`}>\n <h1\n onClick={() => {\n history.push(`/documents`);\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt={type}\n className={marginRightClass(\"16px\")}\n />\n Value Chain\n </h1>\n </Route>\n\n <Route\n path={[\n `/${type}responses/:id/response/:id`,\n `/${type}responses/:id/invitation/:id`,\n ]}\n >\n <h1\n onClick={() => {\n history.push(`/${type}responses`);\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt=\"value-chain\"\n className={marginRightClass(\"16px\")}\n />\n Value Chain\n </h1>\n </Route>\n </React.Fragment>\n );\n })}\n\n {/* ====== Passports ====== */}\n <Route path={`/${RFPType.Passport}/:id`}>\n <h1\n onClick={() => {\n history.push(`/${RFPType.Passport}`);\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt={RFPType.Passport}\n className={marginRightClass(\"16px\")}\n />\n Passport\n </h1>\n </Route>\n\n <Route path={`/${RFPType.Passport}responses/:id/:id`}>\n <h1\n onClick={() => {\n history.push(ROUTES.MY_ESG_PASSPORT);\n }}\n className={classes(\n style({ ...typography.HEADLINE6, ...pointerCursor }),\n colorClass(primaryColors.BLACK)\n )}\n >\n <img\n src=\"/icons/back_icon.svg\"\n alt=\"my-esg-passport\"\n className={marginRightClass(\"16px\")}\n />\n My ESG\n </h1>\n </Route>\n\n {passportEnabled && (\n <Route path={ROUTES.PASSPORT_MANAGEMENT}>\n <div\n className={classes(\n style({ ...typography.SUBTITLE2 }),\n colorClass(neutralColors.GRAY5)\n )}\n >\n Pulse Market Passport\n </div>\n </Route>\n )}\n\n {regulations?.map((regulation) => (\n <Route\n key={regulation.id}\n path={ROUTES.REGULATIONS({ regulation }).Root}\n >\n <Breadcrumb\n path={{\n pathname: ROUTES.REGULATIONS({ regulation }).Root,\n }}\n data={[\n {\n id: \"\",\n name: regulation.name,\n onClick: () =>\n history.push(ROUTES.REGULATIONS({ regulation }).Root),\n },\n ]}\n icon={{\n color: primaryColors.PURPLE2,\n src: \"/icons/dashboard_icon.svg\",\n linkTo: \"/\",\n }}\n />\n </Route>\n ))}\n\n {notificationsEnabled && (\n <Route path=\"/notifications\" exact>\n <img src=\"/icons/dashboard_icon.svg\" alt=\"profile\" />\n <div className={styles.topMenuWelcome}>Notifications</div>\n </Route>\n )}\n </div>\n <div className={styles.topMenuAccountDetailsClass}>\n {!!tokenData?.userId ? (\n <>\n {notificationsEnabled && (\n <>\n <NotificationBell />\n\n <div className={styles.divider} />\n </>\n )}\n\n <div className={styles.profileTextContainer}>\n <p\n className={classes(style(typography.BODY2), styles.profileText)}\n >\n {userData?.firstName} {userData?.lastName}\n </p>\n <p\n className={classes(style(typography.BODY2), styles.profileText)}\n >\n {ownCompany?.name}\n </p>\n </div>\n\n <AvatarMenu\n profileImageUrl={userData?.profileImage}\n companies={companies?.filter(\n (company) =>\n company.id !== localStorage.getItem(ACTING_COMPANY_ID)\n )}\n onSwitchCompany={async (id) => {\n setIsSwitchingAccount(true);\n await switchCompany({ companyId: id });\n\n //Redirect to Dashboard\n history.push(\"/\");\n\n setIsSwitchingAccount(false);\n }}\n />\n </>\n ) : (\n <div>\n <Button\n variant=\"outlined\"\n className={marginRightClass(\"14px\")}\n onClick={askForAuthenticationPreservingRoute}\n >\n Login\n </Button>\n <Button\n variant=\"normal\"\n onClick={askForAuthenticationPreservingRoute}\n >\n Sign up\n </Button>\n </div>\n )}\n </div>\n </div>\n );\n}\n\nexport default Header;\n","import { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport { useGetRegulations } from \"hooks/queries/regulationHooks\";\nimport {\n MenuItemGroup,\n SideMenuItemName,\n SideMenuItemProps,\n SubMenuItemProps,\n} from \"layout/SideMenu/SideMenu\";\n\nimport styles from \"./SideMenuStyles\";\n\nfunction useGetRegulationMenuItem({\n isOpen,\n}: {\n isOpen: boolean;\n}): SideMenuItemProps {\n const history = useHistory();\n const { data: regulations } = useGetRegulations();\n\n const regulationMenuItems: SubMenuItemProps[\"items\"] = (\n regulations || []\n )?.map((regulation) => ({\n label: regulation.name,\n onClick: () => {\n const modules = regulation.modules.map((m) => ({\n order: m.order,\n type: \"module\",\n }));\n\n const folders = regulation.folders.map((f) => ({\n order: f.order,\n type: \"folder\",\n }));\n\n const firstModuleOrFolder = modules\n .concat(folders)\n .sort((a, b) => a.order - b.order)[0];\n\n if (firstModuleOrFolder.type === \"module\") {\n history.push(\n `${\n ROUTES.REGULATIONS({ regulation })[\n regulation.modules.find(\n (m) => m.order === firstModuleOrFolder.order\n )!.type\n ]\n }`\n );\n } else {\n history.push(\n `${ROUTES.REGULATIONS({ regulation }).Folder(\n regulation.folders.find(\n (f) => f.order === firstModuleOrFolder.order\n )!.url\n )}`\n );\n }\n },\n }));\n\n return {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.Regulations,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/certifications_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => {},\n subMenu: {\n title: \"Regulations and Frameworks\",\n items: regulationMenuItems,\n },\n };\n}\n\nexport default useGetRegulationMenuItem;\n","import React, { MouseEvent, useMemo } from \"react\";\nimport { useQueryClient } from \"react-query\";\nimport { useHistory } from \"react-router-dom\";\nimport queryKeys from \"reactQuery/queryKeys\";\n\nimport { Divider, MenuItem } from \"@mui/material\";\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport { FeatureFlagEnum } from \"@pulsemarket/constants\";\nimport SvgIcon from \"components/ui/SvgIcon\";\nimport Tooltip, { purpleTooltipProps } from \"components/ui/Tooltip\";\nimport { usePublicVisitorContext } from \"contexts/PublicVisitorContext/PublicVisitorContext\";\nimport { useGetAuthToken } from \"hooks/queries/useAuth\";\nimport { DEFAULT_PAGESIZE } from \"hooks/queries/useMySuppliers\";\nimport useOwnCompany from \"hooks/queries/useOwnCompany\";\nimport useFeatureEnabled from \"hooks/useFeatureEnabled\";\nimport usePassportFeatureEnabled from \"hooks/usePassportFeatureEnabled\";\nimport useGetRegulationMenuItem from \"layout/SideMenu/useGetRegulationMenuItem\";\nimport { getAssetLabels, getMySuppliers } from \"shared/client\";\nimport { clickableClass } from \"shared/styles/classes\";\nimport { classes } from \"typestyle\";\n\nimport styles from \"./SideMenuStyles\";\n\nexport interface SideMenuProps {\n isOpen: boolean;\n toggleMenu: () => void;\n closeMenu: () => void;\n}\n\nexport enum MenuItemGroup {\n Resources = \"Resources\",\n Settings = \"Settings\",\n}\n\nexport type SubMenuItemProps = {\n title: string;\n items: {\n onClick: () => void;\n label: string;\n }[];\n};\n\nexport enum SideMenuItemName {\n Dashboard = \"Dashboard\",\n Regulations = \"Regulations\",\n SupplierProfiling = \"Supplier Profiling\",\n ValueChain = \"Value Chain\",\n PulsePassport = \"Pulse Passport\",\n Assets = \"Assets\",\n DataRoom = \"Data Room\",\n SupplierSearch = \"Supplier Search\",\n PulsePage = \"Pulse Page\",\n CompanyAccount = \"Company Account\",\n DataManagement = \"Data Management\",\n MyAccount = \"My Account\",\n}\n\nexport type SideMenuItemProps = JSX.IntrinsicElements[\"div\"] & {\n group: MenuItemGroup;\n label: SideMenuItemName;\n icon?: JSX.Element;\n onClick?: () => void;\n className?: string;\n showLabel?: boolean;\n isHidden?: boolean;\n subMenu?: SubMenuItemProps;\n isActive?: boolean;\n};\n\nfunction FullWidthDivider() {\n return <Divider variant=\"fullWidth\" className={styles.divider} />;\n}\n\nconst sidemenuItemRouteMap: Record<SideMenuItemName, string[]> = {\n [SideMenuItemName.Dashboard]: [\"/\"],\n [SideMenuItemName.Regulations]: [\"/regulations\"],\n [SideMenuItemName.SupplierProfiling]: [ROUTES.MY_SUPPLIERS],\n [SideMenuItemName.ValueChain]: [\n ROUTES.RFP_MANAGEMENT_FOR_BUYERS,\n ROUTES.RFP_MANAGEMENT_RFP,\n ROUTES.RFP_MANAGEMENT_DDQ,\n ROUTES.RFP_MANAGEMENT_QTP,\n ROUTES.RFP_MANAGEMENT_RFI,\n ROUTES.RFP_MANAGEMENT_FOR_SUPPLIERS,\n ROUTES.RFP_MANAGEMENT_RFP_RESPONSES,\n ROUTES.RFP_MANAGEMENT_DDQ_RESPONSES,\n ROUTES.RFP_MANAGEMENT_QTP_RESPONSES,\n ROUTES.RFP_MANAGEMENT_RFI_RESPONSES,\n ],\n [SideMenuItemName.PulsePassport]: [ROUTES.PASSPORT_MANAGEMENT],\n [SideMenuItemName.Assets]: [\"/assets\"],\n [SideMenuItemName.DataRoom]: [\"/datarooms\"],\n [SideMenuItemName.SupplierSearch]: [\"/vendorsearch\"],\n [SideMenuItemName.PulsePage]: [\"/pulsepage\"],\n [SideMenuItemName.CompanyAccount]: [\"/company\"],\n [SideMenuItemName.MyAccount]: [\"/profile\"],\n [SideMenuItemName.DataManagement]: [ROUTES.DATA_MANAGEMENT.root],\n};\n\nconst SideMenuItem = ({\n showLabel,\n onClick,\n subMenu,\n isActive,\n ...item\n}: SideMenuItemProps) => {\n // This is the component rendered in the tooltip body on hover\n const TooltiptTitle = subMenu ? (\n <div>\n <div className={styles.subMenuTitleContainer}>\n <span className={styles.subMenuTitle}>{subMenu.title}</span>\n </div>\n {subMenu.items.map((subItem, i) => (\n <div key={subItem.label + i}>\n <MenuItem\n className={styles.subMenuItem}\n onClick={(e) => {\n e.stopPropagation();\n subItem.onClick();\n }}\n >\n {subItem.label}\n </MenuItem>\n </div>\n ))}\n </div>\n ) : (\n item.label\n );\n\n return !item.isHidden ? (\n <Tooltip\n title={TooltiptTitle}\n placement=\"right\"\n disableHoverListener={showLabel && !subMenu}\n {...purpleTooltipProps}\n noPadding={!!subMenu}\n hideArrow={!!subMenu}\n hideOnBlur={false}\n >\n <div\n {...item}\n onClick={onClick}\n className={classes(\n isActive && styles.activeMenuItem,\n styles.menuItemClass,\n item.className\n )}\n >\n <div className={styles.iconContainerClass}>{item.icon}</div>\n\n {showLabel && (\n <span className={styles.itemLabelClass}>{item.label}</span>\n )}\n </div>\n </Tooltip>\n ) : (\n <React.Fragment />\n );\n};\n\nexport default function SideMenu({\n isOpen,\n toggleMenu,\n closeMenu,\n}: SideMenuProps) {\n // Utility hooks\n const history = useHistory();\n const client = useQueryClient();\n\n // Feature flags\n const { data: dataRoomEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.dataroom,\n });\n const { data: dataManagementEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.dataManagement,\n });\n const { data: suppliersEnabled } = useFeatureEnabled({\n featureName: FeatureFlagEnum.mySuppliers,\n });\n const passportEnabled = usePassportFeatureEnabled();\n\n // Auth and context hooks\n const { data, isLoading } = useGetAuthToken();\n\n const { viewedDataRoomId, viewedCompanyId: viewedDataRoomCompanyId } =\n usePublicVisitorContext();\n\n // Query hooks\n const {\n data: ownCompany,\n isLoading: companyLoading,\n isError: companyError,\n } = useOwnCompany();\n\n const activeMenuItem = useMemo(() => {\n const mainPath = \"/\" + history.location.pathname.split(\"/\")[1];\n\n if (mainPath === \"/\") {\n return SideMenuItemName.Dashboard;\n }\n\n const menuItemActive = Object.entries(sidemenuItemRouteMap).find(\n ([_, routes]) => routes.includes(mainPath)\n )?.[0];\n\n return menuItemActive || null;\n }, [history.location.pathname]);\n\n const regulationMenuItem = useGetRegulationMenuItem({ isOpen });\n\n const displayItems: JSX.Element[] = useMemo(() => {\n if (isLoading) {\n return [];\n }\n const privateItems: SideMenuItemProps[] = [\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.Dashboard,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/dashboard_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(\"/\"),\n },\n regulationMenuItem,\n ...((suppliersEnabled\n ? [\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.SupplierProfiling,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/supplier_management_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onMouseEnter: () => {\n client.prefetchQuery(\n queryKeys.mySuppliers(ownCompany!.id),\n () => getMySuppliers({ limit: DEFAULT_PAGESIZE, offset: 0 })\n );\n },\n onClick: () => history.push(ROUTES.MY_SUPPLIERS),\n },\n ]\n : []) as SideMenuItemProps[]),\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.ValueChain,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/proposals_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(ROUTES.RFP_MANAGEMENT_FOR_BUYERS),\n },\n ...((passportEnabled\n ? [\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.PulsePassport,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/certifications_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(ROUTES.PASSPORT_MANAGEMENT),\n },\n ]\n : []) as SideMenuItemProps[]),\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.Assets,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/assets_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/assets/${ownCompany?.assetRepositoryId}`),\n onMouseEnter: () => {\n client.prefetchQuery(queryKeys.assetLabels, () =>\n getAssetLabels(ownCompany!.id)\n );\n },\n },\n ...((dataRoomEnabled\n ? [\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.DataRoom,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/data-room.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(\"/datarooms\"),\n },\n ]\n : []) as SideMenuItemProps[]),\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.SupplierSearch,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/vendor_search_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(\"/vendorsearch/suppliersearch\"),\n isHidden: true,\n },\n {\n group: MenuItemGroup.Resources,\n isHidden: !ownCompany || !!companyLoading || !!companyError,\n label: SideMenuItemName.PulsePage,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/pulse_page_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/pulsepage/${ownCompany!.id}`),\n },\n ...((dataManagementEnabled\n ? [\n {\n group: MenuItemGroup.Resources,\n isHidden: !ownCompany || !!companyLoading || !!companyError,\n label: SideMenuItemName.DataManagement,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/data_management.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(ROUTES.DATA_MANAGEMENT.my_data()),\n },\n ]\n : []) as SideMenuItemProps[]),\n {\n group: MenuItemGroup.Settings,\n label: SideMenuItemName.CompanyAccount,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/company_account.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/company/edit/info`),\n },\n {\n group: MenuItemGroup.Settings,\n label: SideMenuItemName.MyAccount,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/personal_profile.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/profile/edit/info`),\n },\n ];\n\n const publicItems: SideMenuItemProps[] = [\n ...((dataRoomEnabled && viewedDataRoomId\n ? [\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.DataRoom,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/data-room.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/datarooms/${viewedDataRoomId}`),\n },\n ]\n : []) as SideMenuItemProps[]),\n {\n group: MenuItemGroup.Resources,\n label: SideMenuItemName.PulsePage,\n showLabel: isOpen,\n icon: (\n <SvgIcon\n src=\"/icons/pulse_page_icon.svg\"\n className={styles.itemIconClass}\n />\n ),\n onClick: () => history.push(`/pulsepage/${viewedDataRoomCompanyId}`),\n },\n ];\n\n const items: SideMenuItemProps[] = !!data?.userId\n ? privateItems\n : publicItems;\n\n return Object.keys(MenuItemGroup).map((g, i) => {\n return (\n <div\n key={g + i}\n className={styles.groupContainer}\n style={\n g === MenuItemGroup.Settings\n ? { marginTop: \"auto\", height: \"auto\" }\n : {}\n }\n >\n <React.Fragment key={g + i}>\n <FullWidthDivider />\n\n {items\n .filter((i) => i !== null && i.group === g)\n .map((item, j) => (\n <SideMenuItem\n key={item.label + j}\n {...item}\n isActive={item.label === activeMenuItem}\n showLabel={isOpen}\n />\n ))}\n </React.Fragment>\n </div>\n );\n });\n }, [\n isLoading,\n isOpen,\n regulationMenuItem,\n suppliersEnabled,\n passportEnabled,\n dataRoomEnabled,\n ownCompany,\n companyLoading,\n companyError,\n dataManagementEnabled,\n viewedDataRoomId,\n data?.userId,\n history,\n client,\n viewedDataRoomCompanyId,\n activeMenuItem,\n ]);\n\n const menuItemSelected = (e: MouseEvent) => {\n e.stopPropagation();\n closeMenu();\n };\n\n const burgerMenuSelected = (e: MouseEvent) => {\n e.stopPropagation();\n toggleMenu();\n };\n return (\n <div\n className={classes(\n styles.sideMenuClass,\n isOpen\n ? styles.sideMenuStatusClassOpen\n : styles.sideMenuStatusClassClose\n )}\n onClick={toggleMenu}\n >\n <div\n className={\n isOpen ? styles.menuWrapperClassOpen : styles.menuWrapperClassClose\n }\n onClick={menuItemSelected}\n >\n {isOpen ? (\n <div\n onClick={() => history.push(\"/\")}\n className={classes(styles.menuPulseIconClass, styles.headerClass)}\n >\n <div className={styles.pulseIconContainerClass}>\n <img\n className={styles.pulseIcon}\n src=\"/img/sidemenu_pulse_logo_light.png\"\n alt=\"pulse icon\"\n />\n </div>\n <div\n className={classes(\n clickableClass,\n isOpen\n ? styles.closeIconContainerClassOpen\n : styles.closeIconContainerClassClose\n )}\n onClick={menuItemSelected}\n >\n <SvgIcon\n src=\"/icons/back_icon.svg\"\n className={classes(styles.itemIconClass, styles.fixedIconSize)}\n />\n </div>\n </div>\n ) : (\n <div\n onClick={burgerMenuSelected}\n className={styles.burgerButtonContainer}\n >\n <div className={styles.burgerButton}>\n <SvgIcon\n src=\"/icons/menu_icon.svg\"\n className={styles.itemIconClass}\n />\n </div>\n </div>\n )}\n {displayItems}\n </div>\n </div>\n );\n}\n","import SideMenu from \"./SideMenu\";\n\nexport default SideMenu;\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { extend, media, style, stylesheet } from \"typestyle\";\n//margin between the menu on the left and the content on the right. Set up by the design\nconst layoutMargin = 32;\n\nexport const sideMenuClass = (isOpen: boolean) =>\n style({\n $debugName: \"sideMenuClass\",\n position: \"fixed\",\n boxShadow: isOpen ? \"5px 4px 20px rgba(0, 0, 0, 0.25)\" : \"none\",\n zIndex: 3,\n });\n\nconst styles = stylesheet({\n layoutContent: {\n marginLeft: `calc(85px + ${layoutMargin}px)`,\n marginRight: `${layoutMargin}px`,\n display: \"flex\",\n flex: 1,\n flexFlow: \"column wrap\",\n maxWidth: `calc(100% - (${2 * layoutMargin}px + 85px))`,\n ...extend(\n media({ minWidth: 1920 }, { marginLeft: \"304px\", alignItems: \"center\" })\n ),\n minHeight: \"100vh\",\n },\n layoutContentFull: {\n ...extend(media({ minWidth: 1920 }, { marginLeft: \"118px\" })),\n },\n backgroundFilter: {\n position: \"fixed\",\n left: 0,\n top: 0,\n background: primaryColors.BLACK,\n opacity: \"0.2\",\n width: \"100%\",\n height: \"100vh\",\n zIndex: 2,\n },\n sideMenuOverlay: {\n display: \"flex\",\n flexDirection: \"row\",\n flex: 1,\n },\n header: {\n width: \"100%\",\n height: \"auto\",\n },\n page: {\n width: \"100%\",\n maxHeight: \"88vh\",\n flex: 1,\n },\n pageContent: {\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n flex: 1,\n },\n});\n\nexport default styles;\n","import React, { useState } from \"react\";\n\nimport { useIsSurveyParticipant } from \"hooks/queries/useIsAdmin\";\nimport Header from \"layout/Header\";\nimport SideMenu from \"layout/SideMenu\";\nimport { classes } from \"typestyle\";\n\nimport styles, { sideMenuClass } from \"./Layout.styles\";\n\ntype LayoutProps = {\n children: React.ReactNode;\n};\n\nfunction Layout(props: LayoutProps) {\n const [isSideMenuOpen, setSideMenuOpen] = useState<boolean>(false);\n\n const { isSurveyParticipant } = useIsSurveyParticipant();\n\n const toggleSideMenuOpen = () => {\n setSideMenuOpen((prevState) => !prevState);\n };\n\n const closeSideMenu = () => {\n setSideMenuOpen(() => false);\n };\n\n const isSideMenuHidden = isSurveyParticipant;\n const isHeaderHidden = isSurveyParticipant;\n\n return (\n <div className={classes(!isSideMenuHidden && styles.sideMenuOverlay)}>\n {isSideMenuOpen && !isSideMenuHidden && (\n <div className={styles.backgroundFilter} onClick={closeSideMenu} />\n )}\n {!isSideMenuHidden && (\n <div className={sideMenuClass(isSideMenuOpen)}>\n <SideMenu\n isOpen={isSideMenuOpen}\n toggleMenu={toggleSideMenuOpen}\n closeMenu={closeSideMenu}\n />\n </div>\n )}\n <div\n className={classes(\n !isSideMenuHidden && styles.layoutContent,\n !isSideMenuOpen && !isSideMenuHidden && styles.layoutContentFull\n )}\n >\n <div className={classes(!isHeaderHidden && styles.pageContent)}>\n {!isHeaderHidden && <Header className={styles.header} />}\n <div className={styles.page}>{props.children}</div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default Layout;\n","import Layout from \"./Layout\";\n\nexport default Layout;\n","import { primaryColors } from \"@pulsemarket/constants\";\nimport { typography } from \"shared/styles/typography\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"start\",\n alignItems: \"start\",\n },\n title: {\n ...typography.HEADLINE5,\n color: primaryColors.BLACK,\n },\n inline: {\n display: \"inline\",\n },\n boldText: {\n ...typography.TITLE2,\n },\n subtitle: {\n ...typography.BODY2,\n color: primaryColors.BLACK,\n marginBottom: \"44px\",\n },\n input: {\n width: \"100%\",\n },\n inputColumns: {\n display: \"flex\",\n flexDirection: \"row\",\n gap: \"26px\",\n },\n secondaryButton: {\n ...typography.SUBTITLE1,\n marginBottom: \"32px\",\n },\n helperTextContainer: {\n display: \"inline\",\n },\n helperText: { ...typography.BODY2 },\n tightFit: {\n marginBottom: \"4px\",\n },\n});\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input\";\nimport { useFormik } from \"formik\";\nimport { useForgotPassword } from \"hooks/queries/useAuth\";\n\nimport { styles } from \"./../AuthFormLayout/AuthForm.styles\";\n\nexport default function ForgotPasswordForm({\n onSubmit,\n}: {\n onSubmit: (email: string) => void;\n}) {\n const { mutateAsync: forgotPassword } = useForgotPassword();\n const history = useHistory();\n const formik = useFormik({\n initialValues: {\n email: \"\",\n },\n onSubmit: async (values) => {\n try {\n await forgotPassword(values.email);\n } catch (err) {\n console.log(err);\n }\n onSubmit(values.email);\n },\n });\n\n return (\n <form onSubmit={formik.handleSubmit} autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}>Forgot your password?</h2>\n <p className={styles.subtitle}>\n We'll email you instructions on how to reset your password\n </p>\n\n <Input\n className={styles.input}\n required\n name=\"email\"\n autoComplete=\"username\"\n type=\"email\"\n label=\"Email\"\n placeholder=\"Email address\"\n value={formik.values.email}\n onChange={formik.handleChange(\"email\")}\n />\n </div>\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n onClick={() => {\n formik.handleSubmit();\n }}\n >\n Reset password\n </Button>\n\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n Remember the password?{\" \"}\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n history.push(\"/\");\n }}\n >\n Go Back to Login\n </Button>\n </p>\n </div>\n </form>\n );\n}\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport Button from \"components/ui/Button\";\nimport { useForgotPassword } from \"hooks/queries/useAuth\";\nimport { classes } from \"typestyle\";\n\nimport { styles } from \"../AuthFormLayout/AuthForm.styles\";\n\nexport default function ResetPasswordSentForm({\n email,\n isMigratedUser,\n}: {\n email: string;\n isMigratedUser?: boolean;\n}) {\n const { mutateAsync: forgotPassword, isLoading } = useForgotPassword();\n const history = useHistory();\n const handleSubmit = async () => {\n try {\n await forgotPassword(email);\n } catch (err) {\n console.log(err);\n }\n };\n if (isLoading) {\n return <Loading />;\n }\n\n return (\n <form autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}>\n {isMigratedUser\n ? \"It’s time to change your password!\"\n : \"Password Recovery\"}\n </h2>\n {!isMigratedUser && (\n <p\n className={classes(styles.inline, styles.subtitle, styles.tightFit)}\n >\n If we found a user with email address{\" \"}\n <span className={styles.boldText}>{email}</span> in the account, you\n will receive an email from us shortly.\n </p>\n )}\n {isMigratedUser && (\n <>\n <p className={styles.subtitle}>\n We're updating Pulse's authentication system and it's time for you\n to change your password! Please verify your email to receive the\n instructions on how to do this.\n </p>\n </>\n )}\n <p className={classes(styles.subtitle, styles.tightFit)}>\n If you do not receive the email within a few minutes, please check\n your junk/spam email folder or try to resend the email.\n </p>\n\n {!isMigratedUser && (\n <p\n className={classes(styles.inline, styles.subtitle, styles.tightFit)}\n >\n Unsure which email you used for your Pulse account, or not sure what\n account you are associated with?\n <ContactUsButton />\n <p />\n </p>\n )}\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n onClick={() => {\n handleSubmit();\n }}\n >\n Resend email\n </Button>\n\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n {isMigratedUser\n ? \"Having problems to login? \"\n : \"Remember the password? \"}\n {isMigratedUser ? (\n <ContactUsButton />\n ) : (\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n history.push(ROUTES.LOGIN);\n }}\n >\n Go Back to Login\n </Button>\n )}\n </p>\n </div>\n </div>\n </form>\n );\n}\n\nfunction ContactUsButton() {\n return (\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n window.open(\n \"mailto:clientservices@pulsemarket.com\" +\n \"?subject=\" +\n encodeURIComponent(\"Email address\") +\n \"&body=\" +\n encodeURIComponent(\n \"Please send me my email address associated with my Pulse account.\"\n )\n );\n }}\n >\n Contact us\n </Button>\n );\n}\n","import { neutralColors, primaryColors } from \"@pulsemarket/constants\";\nimport { stylesheet } from \"typestyle\";\n\nexport const styles = stylesheet({\n root: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"100vh\",\n width: \"100vw\",\n backgroundColor: neutralColors.GRAY0,\n $nest: {\n \"@media screen and (max-width: 992px)\": {\n height: \"auto\",\n },\n },\n },\n leftSide: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"start\",\n alignItems: \"start\",\n height: \"100%\",\n width: \"54%\",\n padding: \"66px\",\n // hidden on small screens\n $nest: {\n \"@media screen and (max-width: 992px)\": {\n display: \"none\",\n },\n },\n },\n iconContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"start\",\n alignItems: \"start\",\n cursor: \"pointer\",\n },\n icon: { color: primaryColors.PURPLE2, width: \"125px\" },\n imageContainer: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"100%\",\n },\n image: { width: \"60%\", height: \"60%\" },\n rightSide: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"46%\",\n height: \"100%\",\n backgroundColor: primaryColors.WHITE,\n borderTopLeftRadius: \"60px\",\n borderBottomLeftRadius: \"60px\",\n padding: \"5% 10%\",\n $nest: {\n \"@media screen and (max-width: 992px)\": {\n maxWidth: \"650px\",\n width: \"100%\",\n borderRadius: \"0px\",\n justifyContent: \"normal\",\n height: \"100%\",\n },\n },\n },\n rightSideIconContainer: {\n cursor: \"pointer\",\n alignSelf: \"start\",\n marginBottom: \"50px\",\n $nest: {\n \"@media screen and (min-width: 992px)\": {\n display: \"none\",\n },\n },\n },\n formContainer: { width: \"80%\", height: \"60%\" },\n});\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport SvgIcon from \"components/ui/SvgIcon\";\n\nimport { styles } from \"./AuthenticationPageLayout.styles\";\nexport default function AuthenticationPageLayout({\n imageSrc,\n children,\n}: {\n imageSrc: string;\n children: React.ReactNode;\n}) {\n return (\n <div className={styles.root}>\n <div className={styles.leftSide}>\n <PulseIconLoginRedirect containerClassName={styles.iconContainer} />\n <div className={styles.imageContainer}>\n <img\n className={styles.image}\n src={imageSrc}\n alt=\"auth_page_illustration\"\n />\n </div>\n </div>\n <div className={styles.rightSide}>\n <PulseIconLoginRedirect\n containerClassName={styles.rightSideIconContainer}\n />\n\n <div className={styles.formContainer}>{children}</div>\n </div>\n </div>\n );\n}\n\nfunction PulseIconLoginRedirect({\n containerClassName,\n}: {\n containerClassName: string;\n}) {\n const history = useHistory();\n\n return (\n <div className={containerClassName}>\n <SvgIcon\n className={styles.icon}\n src=\"/logo/pulse_logo_dark.svg\"\n onClick={() => {\n if (history.location.pathname !== ROUTES.LOGIN) {\n history.push(\"/\");\n }\n }}\n />\n </div>\n );\n}\n","import React, { useState } from \"react\";\n\nimport ForgotPasswordForm from \"components/auth/ForgotPasswordForm/ForgotPasswordForm\";\nimport ResetPasswordSentForm from \"components/auth/ResetPasswordSentForm/ResetPasswordSentForm\";\nimport AuthenticationPageLayout from \"pages/AuthenticationPageLayout\";\n\nexport default function ForgotPasswordPage() {\n const [forgotPasswordEmail, setForgotPasswordEmail] = useState<string | null>(\n null\n );\n\n return (\n <AuthenticationPageLayout imageSrc=\"/illustrations/forgot_password.svg\">\n {forgotPasswordEmail ? (\n <ResetPasswordSentForm email={forgotPasswordEmail} />\n ) : (\n <ForgotPasswordForm\n onSubmit={(email) => {\n setForgotPasswordEmail(email);\n }}\n />\n )}\n </AuthenticationPageLayout>\n );\n}\n","import { stylesheet } from \"typestyle\";\n\nconst styles = stylesheet({\n inputIcon: { width: \"24px\" },\n});\n\nexport default styles;\n","import { useState } from \"react\";\n\nimport { IconButton, InputAdornment } from \"@mui/material\";\nimport Input, { InputProps } from \"components/ui/Input\";\nimport SvgIcon from \"components/ui/SvgIcon\";\n\nimport styles from \"./PasswordInput.styles\";\nexport default function PasswordInput({ className, ...props }: InputProps) {\n const [showPassword, setShowPassword] = useState(false);\n\n return (\n <Input\n {...props}\n className={className}\n required\n label={props.label || \"Password\"}\n type={showPassword ? \"text\" : \"password\"}\n InputProps={{\n endAdornment: (\n <InputAdornment position=\"end\" color=\"red\">\n <IconButton\n aria-label=\"Toggle password visibility\"\n onClick={() => setShowPassword((val) => !val)}\n >\n {showPassword ? (\n <SvgIcon\n src=\"/icons/visibility_off_icon.svg\"\n className={styles.inputIcon}\n />\n ) : (\n <SvgIcon\n src=\"/icons/view_icon.svg\"\n className={styles.inputIcon}\n />\n )}\n </IconButton>\n </InputAdornment>\n ),\n }}\n />\n );\n}\n","import React, { useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input\";\nimport PasswordInput from \"components/ui/PasswordInput\";\nimport { useFormik } from \"formik\";\nimport { useLogIn } from \"hooks/queries/useAuth\";\nimport { ApiError } from \"shared/client\";\nimport { emailValidatorFn } from \"shared/validators\";\n\nimport { styles } from \"../AuthFormLayout/AuthForm.styles\";\n\nexport default function LoginForm({\n onSubmit,\n}: {\n onSubmit: (email: string) => void;\n}) {\n const history = useHistory();\n\n const [invalidCredentials, setInvalidCredentials] = useState(false);\n const { mutateAsync: login } = useLogIn();\n\n const formik = useFormik({\n initialValues: {\n email: \"\",\n password: \"\",\n },\n validate: (values) => {\n if (values.email && !emailValidatorFn(values.email)) {\n return {\n email: \"Invalid email address\",\n };\n }\n },\n onSubmit: async (values) => {\n try {\n await login({ email: values.email, password: values.password });\n } catch (err) {\n if (err instanceof ApiError && err.status === 500) {\n onSubmit(values.email);\n }\n setInvalidCredentials(true);\n }\n },\n });\n\n return (\n <form\n onSubmit={formik.handleSubmit}\n onChange={() => setInvalidCredentials(false)}\n >\n <div className={styles.root}>\n <h2 className={styles.title}>Log in to your account</h2>\n <p className={styles.subtitle}>\n Welcome to Pulse Market.\n <br />\n Please join us using your email and password.\n </p>\n <Input\n name=\"email\"\n className={styles.input}\n required\n label=\"Email\"\n placeholder=\"Email address\"\n autoComplete=\"username\"\n value={formik.values.email}\n onChange={formik.handleChange(\"email\")}\n error={invalidCredentials}\n />\n <PasswordInput\n name=\"password\"\n className={styles.input}\n required\n autoComplete=\"current-password\"\n value={formik.values.password}\n onChange={formik.handleChange(\"password\")}\n error={invalidCredentials}\n helperText={invalidCredentials && \"Invalid credentials\"}\n />\n\n <Button\n variant=\"text\"\n color=\"orange\"\n className={styles.secondaryButton}\n onClick={() => {\n history.push(ROUTES.FORGOT_PASSWORD);\n }}\n >\n Forgot your password?\n </Button>\n\n <Button\n type=\"submit\"\n variant=\"normal\"\n color=\"orange\"\n disabled={!formik.isValid}\n fullWidth\n onClick={() => {\n formik.handleSubmit();\n }}\n >\n Log in\n </Button>\n\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n New to Pulse Market?{\" \"}\n <Button\n type=\"button\"\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n history.push(ROUTES.REGISTER);\n }}\n >\n Create an account\n </Button>\n </p>\n </div>\n </div>\n </form>\n );\n}\n","import React, { useState } from \"react\";\n\nimport LoginForm from \"components/auth/LoginForm/LoginForm\";\nimport ResetPasswordSentForm from \"components/auth/ResetPasswordSentForm/ResetPasswordSentForm\";\nimport AuthenticationPageLayout from \"pages/AuthenticationPageLayout\";\n\nexport default function LoginPage() {\n const [loginEmail, setLoginEmail] = useState<string | null>(null);\n return (\n <AuthenticationPageLayout\n imageSrc={\n loginEmail\n ? \"/illustrations/forgot_password.svg\"\n : \"/illustrations/login_page_people.svg\"\n }\n >\n {loginEmail ? (\n <ResetPasswordSentForm email={loginEmail} isMigratedUser />\n ) : (\n <LoginForm\n onSubmit={(email) => {\n setLoginEmail(email);\n }}\n />\n )}\n </AuthenticationPageLayout>\n );\n}\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input\";\nimport PasswordInput from \"components/ui/PasswordInput\";\nimport { useFormik } from \"formik\";\nimport { useRegister } from \"hooks/queries/useAuth\";\nimport {\n getInvitationFromLocalStorage,\n removeInvitationParamsFromLocalStorage,\n} from \"hooks/utils\";\nimport { CompanyDto } from \"shared/model\";\nimport { URL } from \"shared/urls\";\nimport { emailValidatorFn, validatePasswordStrength } from \"shared/validators\";\n\nimport { styles } from \"./../AuthFormLayout/AuthForm.styles\";\n\nexport default function RegisterForm({\n inviterCompany,\n onSubmit,\n}: {\n inviterCompany?: CompanyDto;\n onSubmit: (email: string) => void;\n}) {\n const history = useHistory();\n\n const { mutateAsync: register } = useRegister();\n\n const formik = useFormik({\n initialValues: {\n email: \"\",\n password: \"\",\n firstName: \"\",\n lastName: \"\",\n companyName: inviterCompany?.name || \"\",\n },\n validateOnChange: false,\n validate: (values) => {\n const errors: { email: string; password: string } = {\n email: \"\",\n password: \"\",\n };\n if (values.email && !emailValidatorFn(values.email)) {\n errors.email = \"Invalid email address\";\n }\n\n if (validatePasswordStrength(values.password)) {\n errors.password = validatePasswordStrength(values.password) || \"\";\n }\n if (errors.email || errors.password) {\n return errors;\n }\n },\n onSubmit: async (values) => {\n const invitation = getInvitationFromLocalStorage();\n formik.validateForm();\n try {\n await register({\n user: {\n email: values.email,\n password: values.password,\n firstName: values.firstName,\n lastName: values.lastName,\n },\n companyName: values.companyName,\n\n //If invitation is present, add it to the request\n ...(invitation && {\n invitation: {\n id: invitation.invitationId,\n type: invitation.invitationType,\n inviterCompany: invitation.inviterCompanyId,\n },\n }),\n });\n\n onSubmit(values.email);\n } catch (err) {\n formik.setFieldError(\"email\", \"Email already exists\");\n }\n removeInvitationParamsFromLocalStorage();\n },\n });\n\n return (\n <form onSubmit={formik.handleSubmit} autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}> Welcome to Pulse Market</h2>\n <p className={styles.subtitle}>\n Get started - it's free. No credit card needed.\n </p>\n\n <div className={styles.inputColumns}>\n <Input\n className={styles.input}\n required\n autoComplete=\"given-name\"\n label=\"First name\"\n placeholder=\"First name\"\n value={formik.values.firstName}\n onChange={formik.handleChange(\"firstName\")}\n />\n <Input\n className={styles.input}\n required\n autoComplete=\"family-name\"\n label=\"Last name\"\n placeholder=\"Last name\"\n value={formik.values.lastName}\n onChange={formik.handleChange(\"lastName\")}\n />\n </div>\n <Input\n className={styles.input}\n required\n autoComplete=\"off\"\n name=\"email\"\n type=\"email\"\n label=\"Email\"\n placeholder=\"Email address\"\n value={formik.values.email}\n onChange={formik.handleChange(\"email\")}\n error={!!formik.errors.email}\n helperText={formik.errors.email}\n />\n\n <Input\n className={styles.input}\n autoComplete=\"organization\"\n required\n name=\"companyName\"\n label=\"Company name\"\n placeholder=\"Company name\"\n value={formik.values.companyName}\n onChange={formik.handleChange(\"companyName\")}\n disabled={!!inviterCompany}\n />\n\n <PasswordInput\n className={styles.input}\n required\n autoComplete=\"new-password\"\n value={formik.values.password}\n onChange={formik.handleChange(\"password\")}\n error={!!formik.errors.password}\n helperText={formik.errors.password}\n />\n\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n By proceeding, you agree to our{\" \"}\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n window.open(URL.TERMS_OF_USE, \"_blank\");\n }}\n >\n terms & conditions\n </Button>{\" \"}\n and{\" \"}\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n // redirect on new page to privacy policy\n window.open(URL.PRIVACY_POLICY, \"_blank\");\n }}\n >\n privacy policy\n </Button>\n </p>\n </div>\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n disabled={\n !formik.dirty ||\n formik.isSubmitting ||\n !formik.values.email ||\n !formik.values.password ||\n !formik.values.firstName ||\n !formik.values.lastName ||\n !formik.values.companyName\n }\n onClick={() => {\n formik.handleSubmit();\n }}\n >\n Create account\n </Button>\n\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n Already have an account?{\" \"}\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n history.push(ROUTES.LOGIN);\n }}\n >\n Log in\n </Button>\n </p>\n </div>\n </div>\n </form>\n );\n}\n","import React from \"react\";\n\nimport Button from \"components/ui/Button\";\nimport { useResendVerifyEmail } from \"hooks/queries/useAuth\";\nimport { classes } from \"typestyle\";\n\nimport { styles } from \"../AuthFormLayout/AuthForm.styles\";\n\nexport default function VerifyEmailForm({ email }: { email: string }) {\n const { mutateAsync: resendVerifyEmail } = useResendVerifyEmail();\n const handleSubmit = () => {\n resendVerifyEmail(email);\n };\n\n return (\n <form autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}> Verify your email</h2>\n <p className={classes(styles.inline, styles.subtitle, styles.tightFit)}>\n We sent a verification link to{\" \"}\n <span className={styles.boldText}>{email}</span>\n </p>\n <p className={styles.subtitle}>\n Didn’t receive the email? Please check you spam folder or try to\n resend the email.\n </p>\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n onClick={() => {\n handleSubmit();\n }}\n >\n Resend email\n </Button>\n </div>\n </form>\n );\n}\n","import React, { useState } from \"react\";\n\nimport RegisterForm from \"components/auth/RegisterForm/RegisterForm\";\nimport VerifyEmailForm from \"components/auth/VerifyEmailForm/VerifyEmailForm\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useGetInviterCompany } from \"hooks/queries/useAuth\";\nimport AuthenticationPageLayout from \"pages/AuthenticationPageLayout\";\n\nexport default function RegisterPage() {\n const [registrationEmail, setRegistrationEmail] = useState<string | null>(\n null\n );\n\n const { data: inviterCompany, isLoading: companyLoading } =\n useGetInviterCompany();\n\n if (companyLoading) {\n return <Loading />;\n }\n\n return (\n <AuthenticationPageLayout\n imageSrc={\n registrationEmail\n ? \"/illustrations/verify_email.svg\"\n : \"/illustrations/login_page_people.svg\"\n }\n >\n {registrationEmail ? (\n <VerifyEmailForm email={registrationEmail} />\n ) : (\n <RegisterForm\n inviterCompany={inviterCompany}\n onSubmit={(email) => {\n setRegistrationEmail(email);\n }}\n />\n )}\n </AuthenticationPageLayout>\n );\n}\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { ROUTES, TokenType } from \"@pulsemarket/constants\";\nimport Button from \"components/ui/Button\";\nimport Input from \"components/ui/Input\";\nimport { useFormik } from \"formik\";\nimport { useForgotPassword, useResendVerifyEmail } from \"hooks/queries/useAuth\";\nimport { emailValidatorFn } from \"shared/validators\";\n\nimport { styles } from \"../AuthFormLayout/AuthForm.styles\";\n\nexport default function InvalidTokenForm({\n onSubmit,\n type,\n}: {\n onSubmit: (email: string) => void;\n type: TokenType;\n}) {\n const history = useHistory();\n const { mutateAsync: forgotPassword } = useForgotPassword();\n const { mutateAsync: sendVerifyEmail } = useResendVerifyEmail();\n\n const formik = useFormik({\n initialValues: {\n email: \"\",\n },\n validate: (values) => {\n if (values.email && !emailValidatorFn(values.email)) {\n return { email: \"Email is required\" };\n }\n },\n validateOnChange: false,\n onSubmit: async (values) => {\n formik.validateForm();\n try {\n if (type === TokenType.PasswordReset) {\n await forgotPassword(values.email);\n } else if (type === TokenType.EmailVerify) {\n await sendVerifyEmail(values.email);\n }\n } catch (err) {}\n onSubmit(values.email);\n },\n });\n\n return (\n <form onSubmit={formik.handleSubmit} autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}>\n Oops! It seems the link you used is no longer valid.\n </h2>\n <p className={styles.subtitle}>\n Please enter your email address below to receive a{\" \"}\n {type === TokenType.PasswordReset ? \"password reset\" : \"verification\"}{\" \"}\n link.\n </p>\n\n <Input\n className={styles.input}\n required\n type=\"email\"\n label=\"Email\"\n placeholder=\"Email address\"\n value={formik.values.email}\n onChange={formik.handleChange(\"email\")}\n />\n </div>\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n disabled={!formik.dirty}\n onClick={() => {\n formik.handleSubmit();\n }}\n >\n {type === TokenType.PasswordReset\n ? \"Reset password\"\n : \"Resend verification email\"}\n </Button>\n {type === TokenType.PasswordReset && (\n <div className={styles.helperTextContainer}>\n <p className={styles.helperText}>\n Remember the password?{\" \"}\n <Button\n variant=\"text\"\n color=\"orange\"\n onClick={() => {\n history.push(ROUTES.LOGIN);\n }}\n >\n Go Back to Login\n </Button>\n </p>\n </div>\n )}\n </form>\n );\n}\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport Button from \"components/ui/Button\";\nimport PasswordInput from \"components/ui/PasswordInput\";\nimport { useFormik } from \"formik\";\nimport { useResetPassword } from \"hooks/queries/useAuth\";\nimport { validatePasswordStrength } from \"shared/validators\";\n\nimport { styles } from \"../AuthFormLayout/AuthForm.styles\";\n\n//TODO: Extract to a separate file\n\nexport default function ResetPasswordForm({ token }: { token: string }) {\n const { mutateAsync: resetPassword } = useResetPassword();\n const history = useHistory();\n\n const formik = useFormik({\n initialValues: {\n password: \"\",\n confirmPassword: \"\",\n },\n validateOnChange: false,\n validate(values) {\n const errors: { password: string; confirmPassword: string } = {\n password: \"\",\n confirmPassword: \"\",\n };\n const passwordStrengthError = validatePasswordStrength(values.password);\n if (passwordStrengthError) {\n errors.password = passwordStrengthError;\n }\n if (values.password !== values.confirmPassword) {\n errors.confirmPassword = \"Passwords do not match\";\n }\n if (errors.password || errors.confirmPassword) {\n return errors;\n }\n },\n onSubmit: async (values) => {\n formik.validateForm();\n if (!token) return console.log(\"No token\");\n try {\n await resetPassword({\n password: values.password,\n token: token,\n });\n history.push(\"/\");\n } catch (err) {\n console.log(err);\n }\n },\n });\n\n return (\n <form onSubmit={formik.handleSubmit} autoComplete=\"off\">\n <div className={styles.root}>\n <h2 className={styles.title}>Change password</h2>\n <p className={styles.subtitle}>Set up new password </p>\n <PasswordInput\n className={styles.input}\n label=\"New password\"\n autoComplete=\"new-password\"\n required\n value={formik.values.password}\n onChange={formik.handleChange(\"password\")}\n error={!!formik.errors.password}\n helperText={formik.errors.password}\n />\n <PasswordInput\n label=\"Confirm new password\"\n autoComplete=\"new-password\"\n className={styles.input}\n required\n value={formik.values.confirmPassword}\n onChange={formik.handleChange(\"confirmPassword\")}\n error={!!formik.errors.confirmPassword}\n helperText={formik.errors.confirmPassword}\n />\n </div>\n\n <Button\n variant=\"normal\"\n color=\"orange\"\n fullWidth\n disabled={!formik.dirty}\n onClick={() => {\n formik.handleSubmit();\n }}\n >\n Reset password\n </Button>\n </form>\n );\n}\n","import React, { useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nimport { TokenType } from \"@pulsemarket/constants\";\nimport InvalidTokenForm from \"components/auth/ResetPasswordForm/InvalidTokenForm\";\nimport ResetPasswordForm from \"components/auth/ResetPasswordForm/ResetPasswordForm\";\nimport ResetPasswordSentForm from \"components/auth/ResetPasswordSentForm/ResetPasswordSentForm\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useVerifyToken } from \"hooks/queries/useAuth\";\nimport AuthenticationPageLayout from \"pages/AuthenticationPageLayout\";\nfunction useQuery() {\n const { search } = useLocation();\n return React.useMemo(() => new URLSearchParams(search), [search]);\n}\n\nexport default function ResetPasswordPage() {\n const query = useQuery();\n const token = query.get(\"token\") || \"\";\n\n const { isError, isLoading } = useVerifyToken({\n token,\n type: TokenType.PasswordReset,\n enabled: !!token,\n });\n\n const [forgotPasswordEmail, setForgotPasswordEmail] = useState<string | null>(\n null\n );\n\n if (isLoading) {\n return <Loading />;\n }\n\n return (\n <AuthenticationPageLayout imageSrc=\"/illustrations/forgot_password.svg\">\n {isError ? (\n forgotPasswordEmail ? (\n <ResetPasswordSentForm email={forgotPasswordEmail} />\n ) : (\n <InvalidTokenForm\n onSubmit={(email) => {\n setForgotPasswordEmail(email);\n }}\n type={TokenType.PasswordReset}\n />\n )\n ) : (\n <ResetPasswordForm token={token} />\n )}\n </AuthenticationPageLayout>\n );\n}\n","import React, { useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nimport { TokenType } from \"@pulsemarket/constants\";\nimport InvalidTokenForm from \"components/auth/ResetPasswordForm/InvalidTokenForm\";\nimport VerifyEmailForm from \"components/auth/VerifyEmailForm/VerifyEmailForm\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport { useVerifyEmail } from \"hooks/queries/useAuth\";\nimport AuthenticationPageLayout from \"pages/AuthenticationPageLayout\";\nfunction useQuery() {\n const { search } = useLocation();\n return React.useMemo(() => new URLSearchParams(search), [search]);\n}\n\nexport default function VerifyEmailPage() {\n const query = useQuery();\n const token = query.get(\"token\") || \"\";\n\n const { isLoading: isVerifyEmailLoading, isError: isVerifyEmailError } =\n useVerifyEmail({ token, enabled: !!token });\n\n const [emailToVerify, setEmailToVerify] = useState<string | null>(null);\n\n if (isVerifyEmailLoading) {\n return <Loading />;\n }\n\n return (\n <AuthenticationPageLayout imageSrc=\"/illustrations/forgot_password.svg\">\n {isVerifyEmailError ? (\n emailToVerify ? (\n <VerifyEmailForm email={emailToVerify} />\n ) : (\n <InvalidTokenForm\n onSubmit={(email) => {\n setEmailToVerify(email);\n }}\n type={TokenType.EmailVerify}\n />\n )\n ) : (\n <InvalidTokenForm\n onSubmit={(email) => {\n setEmailToVerify(email);\n }}\n type={TokenType.EmailVerify}\n />\n )}\n </AuthenticationPageLayout>\n );\n}\n","import { useEffect } from \"react\";\nimport { Route, Switch, useHistory, useLocation } from \"react-router-dom\";\n\nimport { ROUTES } from \"@pulsemarket/constants\";\nimport { Loading } from \"components/FullScreenLoading\";\nimport StripeCallbackScreen from \"components/Stripe\";\nimport { useGetAuthToken } from \"hooks/queries/useAuth\";\nimport { useIsComingFromInvitationRedirect } from \"hooks/useIsComingFromInvitationRedirect\";\nimport { SearchParamEnum } from \"hooks/utils\";\nimport AppRoutes from \"layout/AppRoutes\";\nimport Layout from \"layout/Layout\";\nimport ForgotPasswordPage from \"pages/ForgotPassword/ForgotPassword\";\nimport Login from \"pages/Login\";\nimport RegisterPage from \"pages/Register/Register\";\nimport ResetPasswordPage from \"pages/ResetPassword\";\nimport VerifyEmailPage from \"pages/VerifyEmail/VerifyEmailPage\";\n\nimport \"./index.css\";\nimport \"draft-js/dist/Draft.css\";\nimport \"react-draft-wysiwyg/dist/react-draft-wysiwyg.css\";\n\n// Hook to verify if the user is authenticated. If not, it will redirect to the login page.\nfunction useCheckAuthToken() {\n const { data: token, isLoading: isTokenLoading, isError } = useGetAuthToken();\n const history = useHistory();\n const location = useLocation();\n\n useEffect(() => {\n if (isTokenLoading) {\n return;\n }\n if (isError || !token?.userId || !token?.companyId) {\n // User not authenticated and visits a page that requires authentication\n if (\n ![\n ROUTES.LOGIN,\n ROUTES.REGISTER,\n ROUTES.FORGOT_PASSWORD,\n ROUTES.RESET_PASSWORD,\n ROUTES.VERIFY_EMAIL,\n ].includes(location.pathname)\n ) {\n history.push(ROUTES.LOGIN);\n }\n } else {\n // If user is authenticated and visits a page that doesn't require authentication\n\n // If redirect url is saved to local storage, redirect to that url\n if (localStorage.getItem(SearchParamEnum.REDIRECT_PAGE_PARAM)) {\n history.replace(\n localStorage.getItem(SearchParamEnum.REDIRECT_PAGE_PARAM) || \"/\"\n );\n localStorage.removeItem(SearchParamEnum.REDIRECT_PAGE_PARAM);\n } else if (\n [\n ROUTES.LOGIN,\n ROUTES.REGISTER,\n ROUTES.FORGOT_PASSWORD,\n ROUTES.RESET_PASSWORD,\n ROUTES.VERIFY_EMAIL,\n ].includes(location.pathname)\n ) {\n history.push(\"/\");\n }\n }\n }, [history, isError, isTokenLoading, token, location.pathname]);\n}\n\nexport function App() {\n const { isLoading } = useIsComingFromInvitationRedirect();\n\n useCheckAuthToken();\n\n if (isLoading) {\n return <Loading isWindowed />;\n }\n\n return (\n <Switch>\n <Route path=\"/stripe/:status\" exact component={StripeCallbackScreen} />\n\n <Route path={ROUTES.LOGIN} exact>\n <Login />\n </Route>\n <Route path={ROUTES.REGISTER} exact>\n <RegisterPage />\n </Route>\n <Route path={ROUTES.FORGOT_PASSWORD} exact>\n <ForgotPasswordPage />\n </Route>\n <Route path={ROUTES.RESET_PASSWORD} exact>\n <ResetPasswordPage />\n </Route>\n\n <Route path={ROUTES.VERIFY_EMAIL} exact>\n <VerifyEmailPage />\n </Route>\n\n <Layout>\n <AppRoutes />\n </Layout>\n </Switch>\n );\n}\n","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from \"./ThemeContext.js\";\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production\n React.useDebugValue(theme);\n }\n return theme;\n}","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from \"../useTheme/ThemeContext.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport nested from \"./nested.js\";\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return {\n ...outerTheme,\n ...localTheme\n };\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? {\n ...localTheme\n } : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nimport RtlProvider from \"../RtlProvider/index.js\";\nimport DefaultPropsProvider from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? {\n ...upperTheme,\n [themeId]: mergedTheme\n } : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? {\n ...upperTheme,\n [themeId]: localTheme\n } : {\n ...upperTheme,\n ...localTheme\n };\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * <ThemeProvider theme={theme}> // existing use case\n * <ThemeProvider theme={{ id: theme }}> // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: /*#__PURE__*/_jsx(DefaultPropsProvider, {\n value: engineTheme?.components,\n children: children\n })\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","'use client';\n\nimport * as React from 'react';\nimport { ThemeProvider as SystemThemeProvider } from '@mui/system';\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProviderNoVars({\n theme: themeInput,\n ...props\n}) {\n const scopedTheme = THEME_ID in themeInput ? themeInput[THEME_ID] : undefined;\n return /*#__PURE__*/_jsx(SystemThemeProvider, {\n ...props,\n themeId: scopedTheme ? THEME_ID : undefined,\n theme: scopedTheme || themeInput\n });\n}","/**\n * Split this component for RSC import\n */\nimport * as React from 'react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const DEFAULT_MODE_STORAGE_KEY = 'mode';\nexport const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'color-scheme';\nexport const DEFAULT_ATTRIBUTE = 'data-color-scheme';\nexport default function InitColorSchemeScript(options) {\n const {\n defaultMode = 'system',\n defaultLightColorScheme = 'light',\n defaultDarkColorScheme = 'dark',\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n attribute: initialAttribute = DEFAULT_ATTRIBUTE,\n colorSchemeNode = 'document.documentElement',\n nonce\n } = options || {};\n let setter = '';\n let attribute = initialAttribute;\n if (initialAttribute === 'class') {\n attribute = '.%s';\n }\n if (initialAttribute === 'data') {\n attribute = '[data-%s]';\n }\n if (attribute.startsWith('.')) {\n const selector = attribute.substring(1);\n setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));\n ${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;\n }\n const matches = attribute.match(/\\[([^\\]]+)\\]/); // case [data-color-scheme=%s] or [data-color-scheme]\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n setter += `${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', light));\n ${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', dark));`;\n }\n setter += `\n ${colorSchemeNode}.setAttribute('${attr}'.replace('%s', colorScheme), ${value ? `${value}.replace('%s', colorScheme)` : '\"\"'});`;\n } else {\n setter += `${colorSchemeNode}.setAttribute('${attribute}', colorScheme);`;\n }\n return /*#__PURE__*/_jsx(\"script\", {\n suppressHydrationWarning: true,\n nonce: typeof window === 'undefined' ? nonce : ''\n // eslint-disable-next-line react/no-danger\n ,\n dangerouslySetInnerHTML: {\n __html: `(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${modeStorageKey}') || '${defaultMode}';\n const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';\n const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${setter}\n }\n} catch(e){}})();`\n }\n }, \"mui-color-scheme-init\");\n}","'use client';\n\nimport * as React from 'react';\nimport { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nexport function getSystemMode(mode) {\n if (typeof window !== 'undefined' && typeof window.matchMedia === 'function' && mode === 'system') {\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n return 'dark';\n }\n return 'light';\n }\n return undefined;\n}\nfunction processState(state, callback) {\n if (state.mode === 'light' || state.mode === 'system' && state.systemMode === 'light') {\n return callback('light');\n }\n if (state.mode === 'dark' || state.mode === 'system' && state.systemMode === 'dark') {\n return callback('dark');\n }\n return undefined;\n}\nexport function getColorScheme(state) {\n return processState(state, mode => {\n if (mode === 'light') {\n return state.lightColorScheme;\n }\n if (mode === 'dark') {\n return state.darkColorScheme;\n }\n return undefined;\n });\n}\nfunction initializeValue(key, defaultValue) {\n if (typeof window === 'undefined') {\n return undefined;\n }\n let value;\n try {\n value = localStorage.getItem(key) || undefined;\n if (!value) {\n // the first time that user enters the site.\n localStorage.setItem(key, defaultValue);\n }\n } catch {\n // Unsupported\n }\n return value || defaultValue;\n}\nexport default function useCurrentColorScheme(options) {\n const {\n defaultMode = 'light',\n defaultLightColorScheme,\n defaultDarkColorScheme,\n supportedColorSchemes = [],\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n storageWindow = typeof window === 'undefined' ? undefined : window\n } = options;\n const joinedColorSchemes = supportedColorSchemes.join(',');\n const isMultiSchemes = supportedColorSchemes.length > 1;\n const [state, setState] = React.useState(() => {\n const initialMode = initializeValue(modeStorageKey, defaultMode);\n const lightColorScheme = initializeValue(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n const darkColorScheme = initializeValue(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n return {\n mode: initialMode,\n systemMode: getSystemMode(initialMode),\n lightColorScheme,\n darkColorScheme\n };\n });\n // This could be improved with `React.useSyncExternalStore` in the future.\n const [, setHasMounted] = React.useState(false);\n const hasMounted = React.useRef(false);\n React.useEffect(() => {\n if (isMultiSchemes) {\n setHasMounted(true); // to rerender the component after hydration\n }\n hasMounted.current = true;\n }, [isMultiSchemes]);\n const colorScheme = getColorScheme(state);\n const setMode = React.useCallback(mode => {\n setState(currentState => {\n if (mode === currentState.mode) {\n // do nothing if mode does not change\n return currentState;\n }\n const newMode = mode ?? defaultMode;\n try {\n localStorage.setItem(modeStorageKey, newMode);\n } catch {\n // Unsupported\n }\n return {\n ...currentState,\n mode: newMode,\n systemMode: getSystemMode(newMode)\n };\n });\n }, [modeStorageKey, defaultMode]);\n const setColorScheme = React.useCallback(value => {\n if (!value) {\n setState(currentState => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n } catch {\n // Unsupported\n }\n return {\n ...currentState,\n lightColorScheme: defaultLightColorScheme,\n darkColorScheme: defaultDarkColorScheme\n };\n });\n } else if (typeof value === 'string') {\n if (value && !joinedColorSchemes.includes(value)) {\n console.error(`\\`${value}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n processState(currentState, mode => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);\n } catch {\n // Unsupported\n }\n if (mode === 'light') {\n newState.lightColorScheme = value;\n }\n if (mode === 'dark') {\n newState.darkColorScheme = value;\n }\n });\n return newState;\n });\n }\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n const newLightColorScheme = value.light === null ? defaultLightColorScheme : value.light;\n const newDarkColorScheme = value.dark === null ? defaultDarkColorScheme : value.dark;\n if (newLightColorScheme) {\n if (!joinedColorSchemes.includes(newLightColorScheme)) {\n console.error(`\\`${newLightColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.lightColorScheme = newLightColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, newLightColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n if (newDarkColorScheme) {\n if (!joinedColorSchemes.includes(newDarkColorScheme)) {\n console.error(`\\`${newDarkColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.darkColorScheme = newDarkColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, newDarkColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n return newState;\n });\n }\n }, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);\n const handleMediaQuery = React.useCallback(event => {\n if (state.mode === 'system') {\n setState(currentState => {\n const systemMode = event?.matches ? 'dark' : 'light';\n\n // Early exit, nothing changed.\n if (currentState.systemMode === systemMode) {\n return currentState;\n }\n return {\n ...currentState,\n systemMode\n };\n });\n }\n }, [state.mode]);\n\n // Ref hack to avoid adding handleMediaQuery as a dep\n const mediaListener = React.useRef(handleMediaQuery);\n mediaListener.current = handleMediaQuery;\n React.useEffect(() => {\n if (typeof window.matchMedia !== 'function' || !isMultiSchemes) {\n return undefined;\n }\n const handler = (...args) => mediaListener.current(...args);\n\n // Always listen to System preference\n const media = window.matchMedia('(prefers-color-scheme: dark)');\n\n // Intentionally use deprecated listener methods to support iOS & old browsers\n media.addListener(handler);\n handler(media);\n return () => {\n media.removeListener(handler);\n };\n }, [isMultiSchemes]);\n\n // Handle when localStorage has changed\n React.useEffect(() => {\n if (storageWindow && isMultiSchemes) {\n const handleStorage = event => {\n const value = event.newValue;\n if (typeof event.key === 'string' && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {\n // If the key is deleted, value will be null then reset color scheme to the default one.\n if (event.key.endsWith('light')) {\n setColorScheme({\n light: value\n });\n }\n if (event.key.endsWith('dark')) {\n setColorScheme({\n dark: value\n });\n }\n }\n if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {\n setMode(value || defaultMode);\n }\n };\n // For syncing color-scheme changes between iframes\n storageWindow.addEventListener('storage', handleStorage);\n return () => {\n storageWindow.removeEventListener('storage', handleStorage);\n };\n }\n return undefined;\n }, [setColorScheme, setMode, modeStorageKey, colorSchemeStorageKey, joinedColorSchemes, defaultMode, storageWindow, isMultiSchemes]);\n return {\n ...state,\n mode: hasMounted.current || !isMultiSchemes ? state.mode : undefined,\n systemMode: hasMounted.current || !isMultiSchemes ? state.systemMode : undefined,\n colorScheme: hasMounted.current || !isMultiSchemes ? colorScheme : undefined,\n setMode,\n setColorScheme\n };\n}","import * as React from 'react';\nimport SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const defaultConfig = {\n attribute: 'data-mui-color-scheme',\n colorSchemeStorageKey: 'mui-color-scheme',\n defaultLightColorScheme: 'light',\n defaultDarkColorScheme: 'dark',\n modeStorageKey: 'mui-mode'\n};\nexport default (function InitColorSchemeScript(props) {\n return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {\n ...defaultConfig,\n ...props\n });\n});","'use client';\n\nimport * as React from 'react';\nimport styleFunctionSx from '@mui/system/styleFunctionSx';\nimport { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';\nimport createTheme from \"./createTheme.js\";\nimport createTypography from \"./createTypography.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { defaultConfig } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst {\n CssVarsProvider: InternalCssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript: deprecatedGetInitColorSchemeScript\n} = createCssVarsProvider({\n themeId: THEME_ID,\n // @ts-ignore ignore module augmentation tests\n theme: () => createTheme({\n cssVariables: true\n }),\n colorSchemeStorageKey: defaultConfig.colorSchemeStorageKey,\n modeStorageKey: defaultConfig.modeStorageKey,\n defaultColorScheme: {\n light: defaultConfig.defaultLightColorScheme,\n dark: defaultConfig.defaultDarkColorScheme\n },\n resolveTheme: theme => {\n const newTheme = {\n ...theme,\n typography: createTypography(theme.palette, theme.typography)\n };\n newTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return newTheme;\n }\n});\nlet warnedOnce = false;\n\n// TODO: remove in v7\n// eslint-disable-next-line @typescript-eslint/naming-convention\nfunction Experimental_CssVarsProvider(props) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n console.warn(['MUI: The Experimental_CssVarsProvider component has been ported into ThemeProvider.', '', \"You should use `import { ThemeProvider } from '@mui/material/styles'` instead.\", 'For more details, check out https://mui.com/material-ui/customization/css-theme-variables/usage/'].join('\\n'));\n warnedOnce = true;\n }\n }\n return /*#__PURE__*/_jsx(InternalCssVarsProvider, {\n ...props\n });\n}\nlet warnedInitScriptOnce = false;\n\n// TODO: remove in v7\nconst getInitColorSchemeScript = params => {\n if (!warnedInitScriptOnce) {\n console.warn(['MUI: The getInitColorSchemeScript function has been deprecated.', '', \"You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`\", 'and replace the function call with `<InitColorSchemeScript />` instead.'].join('\\n'));\n warnedInitScriptOnce = true;\n }\n return deprecatedGetInitColorSchemeScript(params);\n};\n\n/**\n * TODO: remove this export in v7\n * @deprecated\n * The `CssVarsProvider` component has been deprecated and ported into `ThemeProvider`.\n *\n * You should use `ThemeProvider` and `createTheme` instead:\n *\n * ```diff\n * - import { CssVarsProvider, extendTheme } from '@mui/material/styles';\n * + import { ThemeProvider, createTheme } from '@mui/material/styles';\n *\n * - const theme = extendTheme();\n * + const theme = createTheme({\n * + cssVariables: true,\n * + colorSchemes: { light: true, dark: true },\n * + });\n *\n * - <CssVarsProvider theme={theme}>\n * + <ThemeProvider theme={theme}>\n * ```\n *\n * To see the full documentation, check out https://mui.com/material-ui/customization/css-theme-variables/usage/.\n */\nexport const CssVarsProvider = InternalCssVarsProvider;\nexport { useColorScheme, getInitColorSchemeScript, Experimental_CssVarsProvider };","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport ThemeProvider from \"../ThemeProvider/index.js\";\nimport InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport useCurrentColorScheme from \"./useCurrentColorScheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n defaultColorScheme,\n resolveTheme\n } = options;\n const defaultContext = {\n allColorSchemes: [],\n colorScheme: undefined,\n darkColorScheme: undefined,\n lightColorScheme: undefined,\n mode: undefined,\n setColorScheme: () => {},\n setMode: () => {},\n systemMode: undefined\n };\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n disableNestedContext = false,\n disableStyleSheetGeneration = false,\n defaultMode: initialMode = 'system'\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const initialTheme = React.useMemo(() => {\n if (themeProp) {\n return themeProp;\n }\n return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;\n }, [themeProp]);\n const scopedTheme = initialTheme[themeId];\n const {\n colorSchemes = {},\n components = {},\n cssVarPrefix,\n ...restThemeProp\n } = scopedTheme || initialTheme;\n const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');\n const allColorSchemes = React.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? initialMode : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageWindow\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n\n // `colorScheme` is undefined on the server and hydration phase\n const calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;\n\n // 2. get the `vars` object that refers to the CSS custom properties\n const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;\n\n // 3. Start composing the theme object\n const theme = {\n ...restThemeProp,\n components,\n colorSchemes,\n cssVarPrefix,\n vars: themeVars\n };\n if (typeof theme.generateSpacing === 'function') {\n theme.spacing = theme.generateSpacing();\n }\n\n // 4. Resolve the color scheme and merge it to the theme\n if (calculatedColorScheme) {\n const scheme = colorSchemes[calculatedColorScheme];\n if (scheme && typeof scheme === 'object') {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = {\n ...theme[schemeKey],\n ...scheme[schemeKey]\n };\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n }\n }\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n const colorSchemeSelector = restThemeProp.colorSchemeSelector;\n React.useEffect(() => {\n if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {\n const selector = colorSchemeSelector;\n let rule = colorSchemeSelector;\n if (selector === 'class') {\n rule = `.%s`;\n }\n if (selector === 'data') {\n rule = `[data-%s]`;\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (rule.startsWith('.')) {\n colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));\n colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));\n } else {\n const matches = rule.replace('%s', colorScheme).match(/\\[([^\\]]+)\\]/);\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n // for attributes like `data-theme-dark`, `data-theme-light`\n // remove all the existing data attributes before setting the new one\n allColorSchemes.forEach(scheme => {\n colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));\n });\n }\n colorSchemeNode.setAttribute(attr, value ? value.replace(/\"|'/g, '') : '');\n } else {\n colorSchemeNode.setAttribute(rule, colorScheme);\n }\n }\n }\n }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode,\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: resolveTheme ? resolveTheme(theme) : theme,\n children: children\n }), shouldGenerateStyleSheet && /*#__PURE__*/_jsx(GlobalStyles, {\n styles: theme.generateStyleSheets?.() || []\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The default mode when the storage is empty,\n * require the theme to have `colorSchemes` with light and dark.\n */\n defaultMode: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const getInitColorSchemeScript = params => InitColorSchemeScript({\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey,\n ...params\n });\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}","'use client';\n\nimport * as React from 'react';\nimport ThemeProviderNoVars from \"./ThemeProviderNoVars.js\";\nimport { CssVarsProvider } from \"./ThemeProviderWithVars.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProvider({\n theme,\n ...props\n}) {\n if (typeof theme === 'function') {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n const muiTheme = THEME_ID in theme ? theme[THEME_ID] : theme;\n if (!('colorSchemes' in muiTheme)) {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n return /*#__PURE__*/_jsx(CssVarsProvider, {\n theme: theme,\n ...props\n });\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { CacheProvider } from '@emotion/react';\nimport createCache from '@emotion/cache';\nimport { StyleSheet } from '@emotion/sheet';\n\n// We might be able to remove this when this issue is fixed:\n// https://github.com/emotion-js/emotion/issues/2790\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst createEmotionCache = options => {\n const cache = createCache(options);\n\n /**\n * This is for client-side apps only.\n * A custom sheet is required to make the GlobalStyles API work with `prepend: true`.\n * This is because the [sheet](https://github.com/emotion-js/emotion/blob/main/packages/react/src/global.js#L94-L99) does not consume the options.\n */\n class MyStyleSheet extends StyleSheet {\n constructor(args) {\n super(args);\n this.prepend = cache.sheet.prepend;\n }\n }\n\n // Do the same as https://github.com/emotion-js/emotion/blob/main/packages/cache/src/index.js#L238-L245\n cache.sheet = new MyStyleSheet({\n key: cache.key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy,\n prepend: cache.sheet.prepend,\n insertionPoint: cache.sheet.insertionPoint\n });\n return cache;\n};\n\n// prepend: true moves MUI styles to the top of the <head> so they're loaded first.\n// It allows developers to easily override MUI styles with other styling solutions, like CSS modules.\nlet cache;\nif (typeof document === 'object') {\n cache = createEmotionCache({\n key: 'css',\n prepend: true\n });\n}\nexport default function StyledEngineProvider(props) {\n const {\n injectFirst,\n children\n } = props;\n return injectFirst && cache ? /*#__PURE__*/_jsx(CacheProvider, {\n value: cache,\n children: children\n }) : children;\n}\nprocess.env.NODE_ENV !== \"production\" ? StyledEngineProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * By default, the styles are injected last in the <head> element of the page.\n * As a result, they gain more specificity than any other style sheet.\n * If you want to override MUI's styles, set this prop.\n */\n injectFirst: PropTypes.bool\n} : void 0;","import { unstable_createMuiStrictModeTheme as createTheme } from \"@mui/material/styles\";\nimport {\n AppColors,\n inputColors,\n neutralColors,\n primaryColors,\n utilityColors,\n} from \"@pulsemarket/constants\";\nimport { px } from \"csx\";\nimport { typography } from \"shared/styles/typography\";\n\nimport { heights } from \"./shared/styles/height\";\n\nconst theme = createTheme({\n palette: {\n text: {\n primary: primaryColors.BLACK,\n //hotfixFix for #6637\n disabled: primaryColors.BLACK,\n },\n error: { main: primaryColors.ERROR },\n primary: {\n main: primaryColors.PURPLE3,\n },\n secondary: {\n main: primaryColors.PURPLE2,\n },\n background: {\n default: neutralColors.GRAY0,\n paper: neutralColors.GRAY1,\n },\n },\n components: {\n MuiButtonBase: { defaultProps: { disableRipple: true } }, // No more ripple, on the whole application\n MuiTouchRipple: {\n styleOverrides: { ripple: { color: primaryColors.PURPLE1 } },\n },\n MuiButton: {\n styleOverrides: {\n root: {\n height: heights.BUTTON_MEDIUM,\n fontSize: px(16),\n \"&$disabled\": {\n color: primaryColors.WHITE,\n backgroundColor: neutralColors.GRAY2,\n },\n },\n sizeSmall: { height: heights.BUTTON_SMALL, fontSize: px(14) },\n sizeLarge: { height: heights.BUTTON_HIGH, fontSize: px(18) },\n // label: {\n // color: \"inherit\",\n // },\n // SVG Icons are used on buttons, their size is px based\n iconSizeSmall: {\n \"& > *:first-child\": {\n fontSize: \"unset\",\n },\n },\n iconSizeMedium: {\n \"& > *:first-child\": {\n fontSize: \"unset\",\n },\n },\n iconSizeLarge: {\n \"& > *:first-child\": {\n fontSize: \"unset\",\n },\n },\n contained: {\n \"&$disabled\": {\n color: primaryColors.WHITE,\n backgroundColor: neutralColors.GRAY2,\n },\n },\n },\n },\n MuiTabs: {\n styleOverrides: {\n indicator: {\n backgroundColor: AppColors.Orange,\n },\n },\n },\n MuiTab: {\n styleOverrides: {\n root: {\n ...typography.SUBTITLE2,\n \"&.Mui-selected\": {\n color: AppColors.Orange,\n borderBottomColor: AppColors.Orange,\n },\n },\n },\n },\n MuiIconButton: {\n styleOverrides: {\n root: {\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n borderRadius: \"3px\",\n },\n borderRadius: \"3px\",\n fontSize: \"unset\",\n },\n sizeSmall: {\n fontSize: \"unset\",\n },\n },\n },\n MuiInputBase: {\n styleOverrides: {\n root: {\n borderColor: neutralColors.GRAY4,\n borderRadius: \"4px\",\n },\n input: {\n padding: \"12px 16px\",\n },\n // inputMarginDense: {\n // padding: \"6px 16px\",\n // },\n },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n input: {\n padding: \"12px 16px\",\n backgroundColor: primaryColors.WHITE,\n borderRadius: \"4px\",\n \"&$disabled\": {\n backgroundColor: neutralColors.GRAY2,\n color: neutralColors.GRAY4,\n },\n },\n // inputMarginDense: {\n // padding: \"6px 16px\",\n // },\n notchedOutline: {\n borderColor: neutralColors.GRAY4,\n },\n root: {\n \"&&&.Mui-error .MuiOutlinedInput-notchedOutline\": {\n borderColor: inputColors.ERROR,\n },\n \"&.Mui-focused .MuiOutlinedInput-notchedOutline\": {\n borderColor: inputColors.FOCUSED,\n borderWidth: \"1px\",\n },\n \"&:hover .MuiOutlinedInput-notchedOutline\": {\n borderColor: inputColors.HOVER,\n },\n \"&&.Mui-disabled .MuiOutlinedInput-notchedOutline\": {\n borderColor: inputColors.DISABLED.BORDER,\n },\n },\n },\n },\n MuiFilledInput: {\n styleOverrides: {\n root: {\n backgroundColor: \"unset\",\n \"&.Mui-focused, &:hover\": {\n backgroundColor: primaryColors.HOVER,\n },\n },\n input: {\n padding: 0,\n },\n },\n },\n MuiMenu: {\n styleOverrides: {\n paper: {\n backgroundColor: neutralColors.GRAY0,\n padding: 0,\n minWidth: px(150),\n },\n list: {\n padding: 0,\n },\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: {\n height: px(48),\n backgroundColor: neutralColors.GRAY0,\n \"&:hover\": {\n backgroundColor: primaryColors.HOVER,\n },\n \"&$selected\": {\n backgroundColor: primaryColors.HOVER,\n },\n \"&$selected:hover\": {\n backgroundColor: primaryColors.HOVER,\n },\n },\n },\n },\n MuiCheckbox: {\n styleOverrides: { indeterminate: { color: AppColors.Purple } },\n },\n MuiDivider: {\n styleOverrides: { root: { backgroundColor: neutralColors.GRAY3 } },\n },\n MuiFormLabel: {\n styleOverrides: {\n asterisk: { color: utilityColors.RED },\n root: {\n \"&.Mui-focused\": {\n color: utilityColors.LILAC,\n },\n \"&.Mui-disabled\": {\n color: neutralColors.GRAY5,\n },\n },\n },\n },\n MuiLinearProgress: {\n styleOverrides: {\n root: {\n marginTop: \"auto\",\n borderRadius: \"4px\",\n },\n colorPrimary: {\n backgroundColor: neutralColors.GRAY3,\n },\n },\n },\n MuiListItem: {\n styleOverrides: {\n root: {\n //TODO: MUI v5 migration removed the disabled classes from items. Not sure how to add disabled state\n \"& .Mui-disabled\": {\n color: neutralColors.GRAY3,\n },\n \":disabled\": {\n color: neutralColors.GRAY3,\n },\n },\n },\n },\n MuiToggleButtonGroup: {\n styleOverrides: {\n root: {\n borderColor: neutralColors.GRAY5,\n maxHeight: \"32px\",\n padding: \"0 8\",\n },\n middleButton: {\n borderColor: neutralColors.GRAY5,\n },\n lastButton: {\n borderColor: neutralColors.GRAY5,\n },\n },\n },\n MuiToggleButton: {\n styleOverrides: {\n root: {\n borderRadius: \"8px\",\n borderColor: neutralColors.GRAY5,\n color: primaryColors.BLACK,\n fontWeight: 600,\n \"&:hover\": {\n borderColor: neutralColors.GRAY4,\n },\n \"&.Mui-selected\": {\n color: AppColors.Orange,\n borderColor: AppColors.Orange,\n backgroundColor: utilityColors.ORANGE_OUTLINED_HOVER,\n \"&:hover\": {\n backgroundColor: utilityColors.ORANGE_OUTLINED_ACTIVE,\n },\n },\n },\n },\n },\n },\n // overrides: {\n // MuiTouchRipple: {\n // ripple: {\n // color: primaryColors.PURPLE1,\n // },\n // },\n // MuiButton: {\n // root: {\n // height: heights.BUTTON_MEDIUM,\n // fontSize: px(16),\n // \"&$disabled\": {\n // color: primaryColors.WHITE,\n // backgroundColor: neutralColors.GRAY2,\n // },\n // },\n // sizeSmall: { height: heights.BUTTON_SMALL, fontSize: px(14) },\n // sizeLarge: { height: heights.BUTTON_HIGH, fontSize: px(18) },\n // label: {\n // color: \"inherit\",\n // },\n // // SVG Icons are used on buttons, their size is px based\n // iconSizeSmall: {\n // \"& > *:first-child\": {\n // fontSize: \"unset\",\n // },\n // },\n // iconSizeMedium: {\n // \"& > *:first-child\": {\n // fontSize: \"unset\",\n // },\n // },\n // iconSizeLarge: {\n // \"& > *:first-child\": {\n // fontSize: \"unset\",\n // },\n // },\n // contained: {\n // \"&$disabled\": {\n // color: primaryColors.WHITE,\n // backgroundColor: neutralColors.GRAY2,\n // },\n // },\n // },\n // MuiTabs: {\n // indicator: {\n // backgroundColor: AppColors.Orange,\n // },\n // },\n // MuiTab: {\n // root: {\n // ...typography.SUBTITLE2,\n // color: neutralColors.GRAY3,\n // \"&$selected\": {\n // color: AppColors.Orange,\n // borderBottomColor: AppColors.Orange,\n // },\n // },\n // wrapper: {\n // height: \"100%\",\n // alignItems: \"center\",\n // },\n // },\n // MuiIconButton: {\n // root: {\n // \"&:hover\": {\n // backgroundColor: primaryColors.HOVER,\n // borderRadius: \"3px\",\n // },\n // borderRadius: \"3px\",\n // fontSize: \"unset\",\n // },\n // sizeSmall: {\n // fontSize: \"unset\",\n // },\n // },\n // MuiInputBase: {\n // root: {\n // borderColor: neutralColors.GRAY4,\n // borderRadius: \"4px\",\n // },\n // input: {\n // padding: \"12px 16px\",\n // },\n // inputMarginDense: {\n // padding: \"6px 16px\",\n // },\n // },\n // MuiOutlinedInput: {\n // input: {\n // padding: \"12px 16px\",\n // backgroundColor: primaryColors.WHITE,\n // borderRadius: \"4px\",\n // \"&$disabled\": {\n // backgroundColor: neutralColors.GRAY2,\n // color: neutralColors.GRAY4,\n // },\n // },\n // inputMarginDense: {\n // padding: \"6px 16px\",\n // },\n // notchedOutline: {\n // borderColor: neutralColors.GRAY4,\n // },\n // root: {\n // \"&&&.Mui-error .MuiOutlinedInput-notchedOutline\": {\n // borderColor: inputColors.ERROR,\n // },\n // \"&.Mui-focused .MuiOutlinedInput-notchedOutline\": {\n // borderColor: inputColors.FOCUSED,\n // borderWidth: \"1px\",\n // },\n // \"&:hover .MuiOutlinedInput-notchedOutline\": {\n // borderColor: inputColors.HOVER,\n // },\n // \"&&.Mui-disabled .MuiOutlinedInput-notchedOutline\": {\n // borderColor: inputColors.DISABLED.BORDER,\n // },\n // },\n // },\n // MuiFilledInput: {\n // root: {\n // backgroundColor: \"unset\",\n // \"&.Mui-focused, &:hover\": {\n // backgroundColor: primaryColors.HOVER,\n // },\n // },\n // input: {\n // padding: 0,\n // },\n // },\n // MuiMenu: {\n // paper: {\n // backgroundColor: neutralColors.GRAY0,\n // padding: 0,\n // minWidth: px(150),\n // },\n // list: {\n // padding: 0,\n // },\n // },\n // MuiMenuItem: {\n // root: {\n // height: px(48),\n // backgroundColor: neutralColors.GRAY0,\n // \"&:hover\": {\n // backgroundColor: primaryColors.HOVER,\n // },\n // \"&$selected\": {\n // backgroundColor: primaryColors.HOVER,\n // },\n // \"&$selected:hover\": {\n // backgroundColor: primaryColors.HOVER,\n // },\n // },\n // },\n // MuiCheckbox: { indeterminate: { color: AppColors.Purple } },\n // MuiDivider: { root: { backgroundColor: neutralColors.GRAY3 } },\n // MuiFormLabel: {\n // asterisk: { color: utilityColors.RED },\n // root: {\n // \"&.Mui-focused\": {\n // color: utilityColors.LILAC,\n // },\n // \"&.Mui-disabled\": {\n // color: neutralColors.GRAY5,\n // },\n // },\n // },\n // MuiLinearProgress: {\n // root: {\n // marginTop: \"auto\",\n // borderRadius: \"4px\",\n // },\n // colorPrimary: {\n // backgroundColor: neutralColors.GRAY3,\n // },\n // },\n // },\n typography: {\n body1: typography.BODY1,\n body2: typography.BODY2,\n caption: typography.CAPTION,\n h1: typography.HEADLINE1,\n h2: typography.HEADLINE2,\n h3: typography.HEADLINE3,\n h4: typography.HEADLINE4,\n h5: typography.HEADLINE5,\n h6: typography.HEADLINE6,\n subtitle1: typography.SUBTITLE1,\n subtitle2: typography.SUBTITLE2,\n fontFamily: [\n \"Mulish\",\n \"-apple-system\",\n \"BlinkMacSystemFont\",\n \"Segoe UI\",\n \"Roboto\",\n \"Oxygen\",\n \"Ubuntu\",\n \"Cantarell\",\n \"Fira Sans\",\n \"Droid Sans\",\n \"Helvetica Neue\",\n \"sans-serif\",\n ].join(\", \"),\n button: {\n textTransform: \"none\",\n },\n },\n\n // props: {\n // MuiButtonBase: {\n // disableRipple: true, // No more ripple, on the whole application\n // },\n // },\n});\n\nexport default theme;\n","import deepmerge from '@mui/utils/deepmerge';\nimport createTheme from \"./createTheme.js\";\nexport default function createMuiStrictModeTheme(options, ...args) {\n return createTheme(deepmerge({\n unstable_strictMode: true\n }, options), ...args);\n}","import React from \"react\";\nimport { QueryClientProvider } from \"react-query\";\nimport { ReactQueryDevtools } from \"react-query/devtools\";\nimport queryClient from \"reactQuery/client\";\n\nimport { StyledEngineProvider, ThemeProvider } from \"@mui/material/styles\";\nimport ConfettiProvider from \"contexts/Confetti/ConfettiProvider\";\nimport { ModalProvider } from \"contexts/ModalContext\";\nimport PublicVisitorProvider from \"contexts/PublicVisitorContext/PublicVisitorContext\";\nimport { SnackBarProvider } from \"contexts/Snackbar/SnackbarProvider\";\nimport theme from \"muiTheme\";\n\nexport function Providers({ children }: { children: React.ReactNode }) {\n return (\n <ThemeProvider theme={theme}>\n <StyledEngineProvider injectFirst>\n <QueryClientProvider client={queryClient}>\n <PublicVisitorProvider>\n <ConfettiProvider>\n <SnackBarProvider>\n <>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom-right\"\n />\n <ModalProvider>{children}</ModalProvider>\n </>\n </SnackBarProvider>\n </ConfettiProvider>\n </PublicVisitorProvider>\n </QueryClientProvider>\n </StyledEngineProvider>\n </ThemeProvider>\n );\n}\n","import React from \"react\";\nimport { Router } from \"react-router-dom\";\n\nimport { ClickToComponent } from \"click-to-react-component\";\nimport history from \"customHistory\";\nimport { App } from \"layout/App\";\nimport { Providers } from \"layout/Providers\";\n\ntype Props = {};\n\nconst Root = (props: Props) => {\n return (\n <React.StrictMode>\n <ClickToComponent editor={process.env.REACT_APP_CODE_APP} />\n <Router history={history}>\n <Providers>\n <App />\n </Providers>\n </Router>\n </React.StrictMode>\n );\n};\n\nexport default Root;\n","import { ReportHandler } from \"web-vitals\";\n\nconst reportWebVitals = (onPerfEntry?: ReportHandler) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import(\"web-vitals\").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import { BrowserOptions, init as browserInit, SDK_VERSION } from '@sentry/browser';\n\n/**\n * Inits the React SDK\n */\nexport function init(options: BrowserOptions): void {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.react',\n packages: [\n {\n name: 'npm:@sentry/react',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n browserInit(options);\n}\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\n\nimport * as Sentry from \"@sentry/react\";\nimport { Integrations } from \"@sentry/tracing\";\nimport history from \"customHistory\";\nimport Root from \"Root\";\n\nimport reportWebVitals from \"./reportWebVitals\";\n\nconsole.log(`Version: ${process.env.REACT_APP_VERSION}`);\n\nif (process.env.REACT_APP_SENTRY_DSN) {\n Sentry.init({\n dsn: process.env.REACT_APP_SENTRY_DSN,\n integrations: [\n // @ts-expect-error\n new Integrations.BrowserTracing({\n shouldCreateSpanForRequest: () => true,\n tracePropagationTargets: [\n \"localhost\",\n /^\\//,\n \"api.preprod.pulsemarket.com\",\n \"api.qa.pulsemarket.com\",\n \"api.sandbox.pulsemarket.com\",\n \"api.live.pulsemarket.com\",\n ],\n // @ts-expect-error\n routingInstrumentation: Sentry.reactRouterV5Instrumentation(history),\n }),\n new Sentry.Integrations.Breadcrumbs({ console: false }),\n ],\n\n // Configures the sample rate for error events, in the range of 0.0 to 1.0.\n // If set to 0.1 only 10% of error events will be sent. Events are picked randomly.\n sampleRate: 1.0,\n // A number between 0 and 1, controlling the percentage chance a given transaction will be sent to Sentry.\n tracesSampleRate: 0.1,\n // By default the SDK will try to read this value from the SENTRY_RELEASE environment variable\n // or window.SENTRY_RELEASE if available\n release: \"pulse-web-ui@\" + process.env.REACT_APP_VERSION,\n environment: process.env.REACT_APP_ENVIRONMENT,\n });\n}\n\nReactDOM.render(<Root />, document.getElementById(\"root\"));\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"names":["defaultFolderName","conflictingFolderNameMessage","conflictingAssetNameMessage","buttons","variant","color","children","EditableAssetNameCell","_ref","row","mutateAsync","createFolder","client","useQueryClient","searchOptions","useAssetContext","data","userData","useUserData","ownCompany","useOwnCompany","ROOT_FOLDER_ID","assetRepositoryId","sideMenuFoldersFilters","getSideMenuFoldersFilters","useMutation","name","postFolder","id","folderId","companyId","userId","parentFolderId","mutationKey","mutationKeys","onMutate","async","localId","_ref2","cancelQueries","queryKeys","assetRepositorySearch","previousSearchResult","getQueryData","newFolder","readOnly","createdAt","Date","updatedAt","previousRootDirectory","allFolders","setQueryData","onError","err","variables","context","onSettled","error","invalidateQueries","useCreateFolder","renameFolder","newName","retry","_","ApiError","status","map","item","useRenameFolder","renameAsset","assetId","useRenameAsset","openModal","closeModal","useContext","ModalContext","setListData","listData","useListContext","_jsx","EditableText","text","isEditing","editingName","onSubmit","listItemType","ListItemType","NewFolder","SimpleModalBody","title","onClose","Folder","File","asset","stylesheet","root","marginLeft","display","alignItems","height","clickable","typography","CAPTION","neutralColors","GRAY5","columnName","primaryColors","BLACK","clearButton","margin","closeIcon","width","textAlign","TableHeaderFilter","className","onChange","selectedIds","options","isLoading","disabled","anchorElement","setAnchorElement","useState","setSearch","filteredItems","clearChecked","toggleChecked","useMultiSelect","popoverOpen","Boolean","openDropDown","event","currentTarget","handlePopoverOpenerClick","_jsxs","_Fragment","classes","styles","onClick","e","Tooltip","purpleTooltipProps","TooltipWrapper","IconButton","sharedTableHeaderStyles","arrowIconButton","SvgIcon","src","getExpandableIconSource","arrowIcon","Popover","open","anchorEl","anchorOrigin","vertical","horizontal","transformOrigin","style","overflowX","flexDirection","justifyContent","MultiSelectBody","_searchOptions$labelI","useAssetLabels","setSearchOptions","labelIds","length","label","undefined","WHITE","borderRadius","padding","cursor","closeIconWrapper","$nest","backgroundColor","onDelete","props","border","size","disableRipple","countElementsBeforeWrap","container","fittingElementsCount","child","offsetTop","labels","maxWidth","hidden","arrowDown","dropdown","marginRight","tooltip","maxHeight","overflowY","LabelCell","labelContainer","useRef","hasDeterminedHiddenElements","fittingElementCount","hiddenElementCount","flexContainer","items","setFittingElementCount","setDeterminedHiddenElements","useDeepCompareEffect","useDeepCompareLayoutEffect","calculateHiddenElements","debounce","current","numberOfFittingElements","window","addEventListener","removeEventListener","useDebugValue","useFittingFlexItemsCount","removeLabelFromAssets","useRemoveLabelFromAssets","Grid2","spacing","wrap","visibility","opacity","ref","i","Label","labelId","assetIds","folderIds","AssetIconSource","Proposal","Award","Certificate","Video","Image","Module","Policy","Question","Template","AssetColor","AppColors","Yellow","Orange","Lilac","Cyan","Red","Green","Purple","Blue","Gray","assetRepositoryMenuIds","assetRepositoryTableDisplayConfig","listConfig","columns","field","customTableColumn","customHeader","LabelFilter","maxUploadFileSize","maxUploadFileSizeMb","_queryClient$getQuery","queryClient","showHidden","headerClass","background","GRAY0","buttonIcon","CloneOrUploadModal","cloneButtonText","ModalHeader","simpleModalBodyStyles","header","hideCloseButton","DialogContent","contentContainer","DialogActions","modalActionStyles","actionsContainer","actionsContainerRoot","FileUploader","uploadConfig","allowMultiple","Button","_props$onCloneRequest","onCloneRequest","call","combinedInvitationSender","zeroPaddingMargin","HEADLINE6","marginBottom","subtitle","BODY2","inputContainer","emailInput","px","button","companyAndSupplierContainer","gap","marginTop","supplierSelect","findNewSuppliersButton","minWidth","errorMessageContainer","recipients","alertIcon","utilityColors","YELLOW","recipientTagStyles","tag","borderColor","PURPLE2","borderWidth","borderStyle","PURPLE3","duplicate","GRAY4","GRAY2","svgIcon","VendorSearchModal","React","lazyRetry","CombinedInvitationSender","onInvite","existingInvitations","invitations","disabledReason","confirmationModal","isSending","setIsSending","suppliersData","useGetMySuppliers","limit","offset","setRecipients","newCheckedSupplierIds","setNewCheckedSupplierIds","invitedSupplierIds","filter","recipient","type","CombinedInvitationRecipientType","Supplier","invitee","selectedSupplierIds","concat","addUniqueRecipients","useCallback","oldRecipients","addedRecipients","v","a","findIndex","v2","removeRecipient","removedRecipient","ids","getSubOptions","fetchQuery","companies","companyListId","getCompanies","avatar","includes","hasDuplicateEmails","some","emails","TagInputBox","placeholder","separators","validatorFn","emailValidatorFn","tags","onRemove","Email","onAdd","newTags","keepHistory","console","log","companyLists","SubSelect","list","multiSelectListProps","asPopover","emptyContent","onSelect","newRecipients","Company","submitLabel","MultiSelectList","results","supplier","suppliers","inivitation","actionsClassName","actions","newRecipient","Suspense","fallback","Loading","isWindowed","companyDisabled","company","companyDisabledReason","c","paperClassName","overflow","r","RecipientTag","email","onRemoveTag","isDuplicate","PassportInvitationSender","previousInvitationsData","useSentPassportInvitations","inviteToTakePassport","useInviteToTakePassport","history","useHistory","previousInvitations","pages","reduce","acc","invitation","invitedCompanyId","push","invitedSupplierId","invitedEmail","ROUTES","ESG_INVITATIONS","_e","InvitationsSentConfirmation","specialities","maxLineNumber","location","GRAY3","CAPTION2","compactStyles","CompanyCard","_company$specialities","_company$country","compact","selected","onToggleSelect","cardDisabled","disabledStyles","Card","defaultAvatar","DEFAULT_COMPANY_AVATAR","element","join","city","country","Link","url","underline","alignContent","tooltipContainer","avatarBox","GRAY1","position","profileImageBox","image","objectFit","CYAN","pointerEvents","profileImage","LILAC","iconContainer","HOVER","cameraIconContainer","right","bottom","cameraIconContainerProfileImage","span","maxSizeSpan","tryAgain","RED","avatarImage","details","services","groups","Avatar","onUploadBase64","onAvatarUpload","showHelpText","recommendedSizeText","maxSizeReached","setMaxSizeReached","getRootProps","getInputProps","useDropzone","noDrag","accept","onDropAccepted","base64File","transformFileToBase64","files","onDropRejected","multiple","maxSize","avatarStyles","alt","headerImage","cyanCloud","top","zIndex","grayCloud","editIcon","backgroundSpan","Background","backgroundImage","onBackgroundUpload","hideSizeText","form","detailsParagraph","BODY1","textAreaContainer","textAreaTitle","SUBTITLE1","imagesContainerTitle","imagesContainer","buttonsContainer","youtubeInputContainer","paddingBottom","LABEL_MARGIN","inputSpan","youtubeWarning","youtubeTitleContainer","youtubeHelpText","whiteSpace","multiTagLabel","SUBTITLE2","multitagLabelInfo","HEADLINE5","inputRow","inputLabel","helpIcon","helpIconSmall","helpIconText","labelWithIcon","labelIcon","ConfirmationModalBody","action","buttonText","buttonColor","handleCancel","disableCloseAfterCallback","autoFocus","fileUploaderRoot","fileUploaderModalProps","state","uncloseableDialogSettings","PaperProps","PromiseState","Resolved","GREEN","Rejected","ORANGE","borderLeftWidth","onFilesAccepted","onFilesRejected","allowedFileTypes","uploadSuccessCallback","blockedFileTypes","destination","customHeaderText","filesAcceptedHandler","uploadingWindowProps","fileName","FileUploadingWindow","Pending","fileCount","UploadApiError","errors","message","errorMessages","filesRejectedHandler","fileRejections","fileTypeValidator","file","extension","split","pop","code","validator","backgroundClip","textContainer","wordBreak","headerText","errorText","buttonContainer","statusIconContainer","flexShrink","statusIcon","mainIcon","rotate","animation","statusIcons","pending","resolved","rejected","StatusDisplay","filesize","index","IconDisplay","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","this","constructor","prototype","create","__assign","assign","t","s","n","arguments","apply","AnimateCCError","_super","_this","Error","AdobeAn","global","CreateJS","createjs","args","_i","il","k","j","jl","__spreadArrays","AnimateCC","canvasRef","onAnimationReady","resizeCanvas","startAnimation","handleFileError","evt","setState","handleComplete","composition","_a","animationName","paused","getAnimationObject","lib","getLibrary","ss","getSpriteSheet","queue","target","_b","ssMetadata","ssMetadata_1","metadata","SpriteSheet","images","getResult","frames","animationObject","tickEnabled","stage","Stage","properties","handleFileLoad","comp","getImages","result","compositionLoaded","addChild","Ticker","framerate","fps","stopAnimation","getCanvasSize","pRatio","devicePixelRatio","scaleX","scaleY","tickOnUpdate","update","componentDidMount","externalCompositionId","compositionId","searchedName","compositionIds","keys","compositions","library","prop","mode","getCompositionId","getComposition","manifest","loader","LoadQueue","loadManifest","componentDidUpdate","componentWillUnmount","render","additionalStyles","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__rest","canvasWidth","canvasHeight","parseInt","substring","hexToRgba","left","loadingClassFullScreen","loadingClassWindowedScreen","wrapperClass","centerClass","fontSize","fontWeight","containerBox","sharedStyles","caption","paddingRight","buttonRow","buttonStyles","imageAndDescription","content","paddingLeft","flex","illustrationContainer","linkStyles","illustration","isTypeButton","GetStartedBox","_lockedButtonProps$va","_ref3","_secondaryButtonProps","linkClassName","lockedButtonProps","buttonVariant","secondaryButtonProps","secondaryName","secondAction","secondaryVariant","tipType","isButton","MaybeTipProvider","LockedButton","disableElevation","LeaveGroupModal","activeGroupInvitationId","mutate","setGroupInvitationStatus","useSetGroupInvitationStatus","groupInvitationId","GroupInvitationStatus","Left","pathname","tabTitle","TabTitle","Groups","wrapper","transition","center","orange","date","MESSAGES","NotificationType","InvitedForRFP","sender","itemStyles","InvitedForRFI","InvitedForDDQ","InvitedForQTP","InvitedForPassport","RFPResponseReceived","RFIResponseReceived","DDQResponseReceived","QTPResponseReceived","GroupInvitationReceived","GroupJoinRequestReceived","GroupInvitationApproved","GroupDeleted","deletedGroupName","PostApproveRequestReceived","PostApproved","DocumentMessageReceived","documentName","documentType","DocumentReplyReceived","OwnPassportReportReady","_sender","InvitedContactPassportReportReady","RenewPassport","ProcurementFeedbackReceived","getResponse","rfpResponseId","getRFPresponse","NotificationRoutes","getRfpInvitation","invitationId","rfpId","responseId","responseDate","response","group","getGroup","groupId","GROUP","post","getPost","postId","initialSettingsPage","GroupSettingTab","Posts","messageDetails","getMessageDetails","messageId","rfpType","toLocaleLowerCase","toLowerCase","rfxResponse","rfx","getRFP","rfxType","TriggeredPopupEnum","RFXFeedback","NOTIFICATION_IMAGES","useNotificationClick","notification","readAction","useReadNotification","customNotificationClickAction","getPassport","useGetPassport","useCustomNotificationClickActionHandlers","isRead","route","relatedId","_MESSAGES$notificatio","onItemClick","handleClick","queryRelatedMessage","useMessageDetails","enabled","sentByCompany","rfpName","format","ReadCircle","circle","G","Svg","View","Text","Page","Note","Path","Rect","Line","Stop","Defs","Tspan","Canvas","Circle","Ellipse","Polygon","Document","Polyline","ClipPath","TextInstance","LinearGradient","RadialGradient","ENCODING_MAPPING","utf16le","ucs2","utf16be","DecodeStream","buffer","view","DataView","byteOffset","byteLength","pos","readString","encoding","buf","readBuffer","TextDecoder","decode","slice","readUInt24BE","readUInt16BE","readUInt8","readUInt24LE","readUInt16LE","readInt24BE","readInt16BE","readInt24LE","readInt8","TYPES","UInt8","UInt16","UInt24","UInt32","Int8","Int16","Int24","Int32","Float","Double","key","getOwnPropertyNames","replace","bytes","ret","textEncoder","TextEncoder","isBigEndian","Uint8Array","Uint16Array","EncodeStream","writeBuffer","set","writeString","string","stringToUtf16","encode","charCodeAt","stringToAscii","writeUInt24BE","val","writeUInt24LE","writeInt24BE","writeInt24LE","fill","swap","value","Base","fromBuffer","stream","toBuffer","NumberT","endian","super","fn","uint8","uint16be","uint16","uint16le","uint24","uint32be","uint32","uint32le","int8","int16","int32","Fixed","fracBits","_point","fixed16","fixed32","resolveLength","parent","res","isNaN","PropertyDescriptor","opts","enumerable","configurable","ArrayT","lengthType","ctx","utils","defineProperties","_startOffset","_currentOffset","writable","_length","end","array","includePointers","pointerSize","pointers","startOffset","pointerOffset","ptr","LazyArray","LazyArrayValue","toArray","base","get","Bitfield","flags","flag","BufferT","len","Optional","condition","Reserved","count","StringT","encodingWidth","writeUInt16LE","writeUInt8","c2","Struct","fields","_setup","_parseFields","process","defineProperty","preEncode","VersionedStruct","versions","versionPath","getPath","object","version","prevObj","Pointer","offsetType","allowNull","nullValue","lazy","relativeTo","relativeToGetter","relative","decodeValue","VoidPointer","_define_property","obj","$f4087201da764553$exports","JSON","parse","$747425b437e121da$var$trie","$bdjGp$unicodetrie","$bdjGp$base64js","toByteArray","$747425b437e121da$var$log2","Math","log2","LN2","$747425b437e121da$var$bits","$747425b437e121da$var$CATEGORY_BITS","$parcel$interopDefault","categories","$747425b437e121da$var$COMBINING_BITS","combiningClasses","$747425b437e121da$var$SCRIPT_BITS","scripts","$747425b437e121da$var$EAW_BITS","eaw","$747425b437e121da$var$CATEGORY_SHIFT","$747425b437e121da$var$COMBINING_SHIFT","$747425b437e121da$var$SCRIPT_SHIFT","$747425b437e121da$var$CATEGORY_MASK","$747425b437e121da$var$COMBINING_MASK","$747425b437e121da$var$SCRIPT_MASK","$747425b437e121da$var$EAW_MASK","$747425b437e121da$export$410364bbb673ddbc","codePoint","$747425b437e121da$export$c03b919c6651ed55","$747425b437e121da$export$941569448d136665","$747425b437e121da$export$727d9dbc4fbb948f","$747425b437e121da$export$e33ad6871e762338","category","$747425b437e121da$export$2e2bcd8739ae039","num","exp","$d636bc798e7178db$export$bd5c5d8b8dcafd78","$d636bc798e7178db$var$formats","$d636bc798e7178db$export$36b2f24e97d43be","$d636bc798e7178db$export$185802fd694ee1f5","postscriptName","probe","font","$6uUbQ$DecodeStream","getFont","$d636bc798e7178db$export$42940898df819940","$d636bc798e7178db$export$5157e7780d44cc36","$e71565f2ce09cb6b$export$69a3209f1a06c04d","descriptor","cache","Map","memoized","_len","_key","has","$26a62205ad06574e$var$SubHeader","$6uUbQ$Struct","firstCode","$6uUbQ$uint16","entryCount","idDelta","$6uUbQ$int16","idRangeOffset","$26a62205ad06574e$var$CmapGroup","startCharCode","$6uUbQ$uint32","endCharCode","glyphID","$26a62205ad06574e$var$UnicodeValueRange","startUnicodeValue","$6uUbQ$uint24","additionalCount","$6uUbQ$uint8","$26a62205ad06574e$var$UVSMapping","unicodeValue","$26a62205ad06574e$var$DefaultUVS","$6uUbQ$Array","$26a62205ad06574e$var$NonDefaultUVS","$26a62205ad06574e$var$VarSelectorRecord","varSelector","defaultUVS","$6uUbQ$Pointer","nonDefaultUVS","$26a62205ad06574e$var$CmapSubtable","$6uUbQ$VersionedStruct","language","codeMap","$6uUbQ$LazyArray","subHeaderKeys","subHeaderCount","max","subHeaders","glyphIndexArray","segCountX2","segCount","searchRange","entrySelector","rangeShift","endCode","reservedPad","$6uUbQ$Reserved","startCode","glyphIndices","reserved","is32","nGroups","numRecords","varSelectors","$26a62205ad06574e$var$CmapEntry","platformID","encodingID","table","$26a62205ad06574e$export$2e2bcd8739ae039","numSubtables","tables","$f2612a29f92ac062$export$2e2bcd8739ae039","$6uUbQ$int32","revision","checkSumAdjustment","magicNumber","unitsPerEm","created","modified","xMin","yMin","xMax","yMax","macStyle","$6uUbQ$Bitfield","lowestRecPPEM","fontDirectionHint","indexToLocFormat","glyphDataFormat","$2c179dd593583073$export$2e2bcd8739ae039","ascent","descent","lineGap","advanceWidthMax","minLeftSideBearing","minRightSideBearing","xMaxExtent","caretSlopeRise","caretSlopeRun","caretOffset","metricDataFormat","numberOfMetrics","$bdc9060542264b85$var$HmtxEntry","advance","bearing","$bdc9060542264b85$export$2e2bcd8739ae039","metrics","hhea","bearings","maxp","numGlyphs","$dbf51cb3d3fe409d$export$2e2bcd8739ae039","maxPoints","maxContours","maxComponentPoints","maxComponentContours","maxZones","maxTwilightPoints","maxStorage","maxFunctionDefs","maxInstructionDefs","maxStackElements","maxSizeOfInstructions","maxComponentElements","maxComponentDepth","$e449ad78d50845fe$export$badc544e0651b6b1","languageID","$e449ad78d50845fe$export$479e671907f486d1","$e449ad78d50845fe$export$6fef87b7618bdf0b","$e449ad78d50845fe$var$SINGLE_BYTE_ENCODINGS","Set","$e449ad78d50845fe$var$MAC_ENCODINGS","$e449ad78d50845fe$var$encodingCache","$e449ad78d50845fe$export$1dceb3c14ed68bee","cached","mapping","decoder","$e449ad78d50845fe$export$2092376fd002e13","$2bcf221753ec8e32$var$NameRecord","nameID","$6uUbQ$String","stringOffset","$2bcf221753ec8e32$var$LangTagRecord","$2bcf221753ec8e32$var$NameTable","records","langTagCount","langTags","$2bcf221753ec8e32$export$2e2bcd8739ae039","$2bcf221753ec8e32$var$NAMES","record","isArray","en","$84b272aa31b70606$var$OS2","xAvgCharWidth","usWeightClass","usWidthClass","fsType","ySubscriptXSize","ySubscriptYSize","ySubscriptXOffset","ySubscriptYOffset","ySuperscriptXSize","ySuperscriptYSize","ySuperscriptXOffset","ySuperscriptYOffset","yStrikeoutSize","yStrikeoutPosition","sFamilyClass","panose","ulCharRange","vendorID","fsSelection","usFirstCharIndex","usLastCharIndex","typoAscender","typoDescender","typoLineGap","winAscent","winDescent","codePageRange","xHeight","capHeight","defaultChar","breakChar","maxContent","usLowerOpticalPointSize","usUpperOpticalPointSize","$84b272aa31b70606$var$versions","$84b272aa31b70606$export$2e2bcd8739ae039","$32d9e2eb9565d93c$export$2e2bcd8739ae039","$6uUbQ$fixed32","italicAngle","underlinePosition","underlineThickness","isFixedPitch","minMemType42","maxMemType42","minMemType1","maxMemType1","numberOfGlyphs","glyphNameIndex","names","offsets","$5202bd9d9ad8eaac$export$2e2bcd8739ae039","controlValues","$5c0f37ca5ffb1850$export$2e2bcd8739ae039","instructions","$2b2b260902b1c57e$var$loca","_processed","$2b2b260902b1c57e$export$2e2bcd8739ae039","$7afb878c7bea4f66$export$2e2bcd8739ae039","controlValueProgram","$6c92b6371bce8bd9$export$2e2bcd8739ae039","$6uUbQ$Buffer","$43e9821ef3717eec$export$2e2bcd8739ae039","getCFFVersion","hdrSize","readUInt32BE","offSize","startPos","start","arr","writeUInt16BE","sizes","$c2d28e92708f99da$var$FLOAT_LOOKUP","$c2d28e92708f99da$var$FLOAT_ENCODE_LOOKUP","$c2d28e92708f99da$export$2e2bcd8739ae039","readInt32BE","str","n1","n2","parseFloat","forceLarge","ceil","Number","writeInt32BE","writeInt16BE","c1","$c2d28e92708f99da$var$FLOAT_EOF","$61aa549f16d58b9b$export$2e2bcd8739ae039","decodeOperands","operands","op","encodeOperands","$6uUbQ$PropertyDescriptor","dict","$6uUbQ$fastdeepequal","ops","$0e34a43d05bde82c$export$2e2bcd8739ae039","$0e34a43d05bde82c$var$Ptr","valueOf","$6d59db2e29cc77b3$export$2e2bcd8739ae039","numBlends","$229224aec43783c5$export$2e2bcd8739ae039","$bc0433d9b7e41f5f$export$dee0027060fa13bd","$ef658f5c9a1488b2$export$c33b50336c234f16","$7cbbe4e24ef3cb75$var$LangSysTable","reqFeatureIndex","featureCount","featureIndexes","$7cbbe4e24ef3cb75$var$LangSysRecord","langSys","$7cbbe4e24ef3cb75$var$Script","defaultLangSys","langSysRecords","$7cbbe4e24ef3cb75$var$ScriptRecord","script","$7cbbe4e24ef3cb75$export$3e15fc05ce864229","$7cbbe4e24ef3cb75$var$FeatureParams","$7cbbe4e24ef3cb75$export$6e91cf7616333d5","featureParams","lookupCount","lookupListIndexes","$7cbbe4e24ef3cb75$var$FeatureRecord","feature","$7cbbe4e24ef3cb75$export$aa18130def4b6cb4","$7cbbe4e24ef3cb75$var$LookupFlags","markAttachmentType","$7cbbe4e24ef3cb75$export$df0008c6ff2da22a","SubTable","Lookup","lookupType","subTableCount","subTables","markFilteringSet","$6uUbQ$Optional","useMarkFilteringSet","$7cbbe4e24ef3cb75$var$RangeRecord","startCoverageIndex","$7cbbe4e24ef3cb75$export$17608c3f81a6111","glyphCount","glyphs","rangeCount","rangeRecords","$7cbbe4e24ef3cb75$var$ClassRangeRecord","class","$7cbbe4e24ef3cb75$export$843d551fbbafef71","startGlyph","classValueArray","classRangeCount","classRangeRecord","$7cbbe4e24ef3cb75$export$8215d14a63d9fb10","deltaFormat","$7cbbe4e24ef3cb75$var$LookupRecord","sequenceIndex","lookupListIndex","$7cbbe4e24ef3cb75$var$Rule","input","lookupRecords","$7cbbe4e24ef3cb75$var$RuleSet","$7cbbe4e24ef3cb75$var$ClassRule","$7cbbe4e24ef3cb75$var$ClassSet","$7cbbe4e24ef3cb75$export$841858b892ce1f4c","coverage","ruleSetCount","ruleSets","classDef","classSetCnt","classSet","coverages","$7cbbe4e24ef3cb75$var$ChainRule","backtrackGlyphCount","backtrack","inputGlyphCount","lookaheadGlyphCount","lookahead","$7cbbe4e24ef3cb75$var$ChainRuleSet","$7cbbe4e24ef3cb75$export$5e6d09e6861162f6","chainCount","chainRuleSets","backtrackClassDef","inputClassDef","lookaheadClassDef","chainClassSet","backtrackCoverage","inputCoverage","lookaheadCoverage","$1a47b0c45c1c22fe$var$F2DOT14","$6uUbQ$Fixed","$1a47b0c45c1c22fe$var$RegionAxisCoordinates","startCoord","peakCoord","endCoord","$1a47b0c45c1c22fe$var$VariationRegionList","axisCount","regionCount","variationRegions","$1a47b0c45c1c22fe$var$DeltaSet","shortDeltas","shortDeltaCount","regionDeltas","$6uUbQ$int8","regionIndexCount","deltas","$1a47b0c45c1c22fe$var$ItemVariationData","itemCount","regionIndexes","deltaSets","$1a47b0c45c1c22fe$export$fe1b122a2710f241","variationRegionList","variationDataCount","itemVariationData","$1a47b0c45c1c22fe$var$ConditionTable","axisIndex","filterRangeMinValue","filterRangeMaxValue","$1a47b0c45c1c22fe$var$ConditionSet","conditionCount","conditionTable","$1a47b0c45c1c22fe$var$FeatureTableSubstitutionRecord","featureIndex","alternateFeatureTable","$1a47b0c45c1c22fe$var$FeatureTableSubstitution","substitutionCount","substitutions","$1a47b0c45c1c22fe$var$FeatureVariationRecord","conditionSet","featureTableSubstitution","$1a47b0c45c1c22fe$export$441b70b7971dd419","majorVersion","minorVersion","featureVariationRecordCount","featureVariationRecords","$b84fd3dd9d8eddb2$var$PredefinedOp","predefinedOps","$b84fd3dd9d8eddb2$var$Range1","first","nLeft","$b84fd3dd9d8eddb2$var$Range2","$b84fd3dd9d8eddb2$var$CFFCustomEncoding","$6uUbQ$Number","nCodes","codes","nRanges","ranges","$b84fd3dd9d8eddb2$var$CFFEncoding","$b84fd3dd9d8eddb2$var$RangeArray","$6uUbQ$resolveLength","range","$b84fd3dd9d8eddb2$var$CFFCharset","CharStrings","$b84fd3dd9d8eddb2$var$FDRange3","fd","$b84fd3dd9d8eddb2$var$FDRange4","$b84fd3dd9d8eddb2$var$FDSelect","fds","sentinel","$b84fd3dd9d8eddb2$var$ptr","$b84fd3dd9d8eddb2$var$CFFPrivateOp","$b84fd3dd9d8eddb2$var$FontDict","$b84fd3dd9d8eddb2$var$CFFTopDict","$b84fd3dd9d8eddb2$var$VariationStore","itemVariationStore","$b84fd3dd9d8eddb2$var$CFF2TopDict","$b84fd3dd9d8eddb2$export$2e2bcd8739ae039","$6uUbQ$fixed16","nameIndex","topDictIndex","stringIndex","globalSubrIndex","topDict","$822ac0d589e4e237$var$CFFFont","isCIDFont","ROS","sid","fullName","FullName","familyName","FamilyName","getCharString","glyph","getGlyphName","gid","charset","fdForGlyph","FDSelect","low","high","mid","privateDictForGlyph","FDArray","Private","$822ac0d589e4e237$export$2e2bcd8739ae039","$2bbf2bc1ce37cd8f$var$VerticalOrigin","glyphIndex","vertOriginY","$2bbf2bc1ce37cd8f$export$2e2bcd8739ae039","defaultVertOriginY","numVertOriginYMetrics","$0941618dc22a946d$export$16b227cb15d716a0","horiBearingX","horiBearingY","horiAdvance","vertBearingX","vertBearingY","vertAdvance","$0941618dc22a946d$export$62c53e75f69bfe12","bearingX","bearingY","$0941618dc22a946d$var$EBDTComponent","xOffset","yOffset","$0941618dc22a946d$var$ByteAligned","$0941618dc22a946d$var$BitAligned","pad","numComponents","components","dataLen","$9911c4c7201c13de$var$SBitLineMetrics","ascender","descender","widthMax","caretSlopeNumerator","caretSlopeDenominator","minOriginSB","minAdvanceSB","maxBeforeBL","minAfterBL","$9911c4c7201c13de$var$CodeOffsetPair","glyphCode","$9911c4c7201c13de$var$IndexSubtable","imageFormat","imageDataOffset","offsetArray","lastGlyphIndex","firstGlyphIndex","imageSize","bigMetrics","glyphArray","glyphCodeArray","$9911c4c7201c13de$var$IndexSubtableArray","subtable","$9911c4c7201c13de$var$BitmapSizeTable","indexSubTableArray","indexTablesSize","numberOfIndexSubTables","colorRef","hori","vert","startGlyphIndex","endGlyphIndex","ppemX","ppemY","bitDepth","$9911c4c7201c13de$export$2e2bcd8739ae039","numSizes","$abb847051efd51b1$var$ImageTable","ppem","resolution","imageOffsets","$abb847051efd51b1$export$2e2bcd8739ae039","numImgTables","imageTables","$eb629188f3dfefdd$var$LayerRecord","paletteIndex","$eb629188f3dfefdd$var$BaseGlyphRecord","firstLayerIndex","numLayers","$eb629188f3dfefdd$export$2e2bcd8739ae039","numBaseGlyphRecords","baseGlyphRecord","layerRecords","numLayerRecords","$08734b8e7dc64587$var$ColorRecord","blue","green","red","alpha","$08734b8e7dc64587$export$2e2bcd8739ae039","numPaletteEntries","numPalettes","numColorRecords","colorRecords","colorRecordIndices","offsetPaletteTypeArray","offsetPaletteLabelArray","offsetPaletteEntryLabelArray","$497cef411d884e34$var$BaseCoord","coordinate","referenceGlyph","baseCoordPoint","deviceTable","$497cef411d884e34$var$BaseValues","defaultIndex","baseCoordCount","baseCoords","$497cef411d884e34$var$FeatMinMaxRecord","minCoord","maxCoord","$497cef411d884e34$var$MinMax","featMinMaxCount","featMinMaxRecords","$497cef411d884e34$var$BaseLangSysRecord","minMax","$497cef411d884e34$var$BaseScript","baseValues","defaultMinMax","baseLangSysCount","baseLangSysRecords","$497cef411d884e34$var$BaseScriptRecord","$497cef411d884e34$var$BaseScriptList","$497cef411d884e34$var$BaseTagList","$497cef411d884e34$var$Axis","baseTagList","baseScriptList","$497cef411d884e34$export$2e2bcd8739ae039","horizAxis","vertAxis","$cf5f33c63ef209e6$var$AttachPoint","$cf5f33c63ef209e6$var$AttachList","attachPoints","$cf5f33c63ef209e6$var$CaretValue","caretValuePoint","$cf5f33c63ef209e6$var$LigGlyph","$cf5f33c63ef209e6$var$LigCaretList","ligGlyphCount","ligGlyphs","$cf5f33c63ef209e6$var$MarkGlyphSetsDef","markSetTableFormat","markSetCount","$cf5f33c63ef209e6$export$2e2bcd8739ae039","glyphClassDef","attachList","ligCaretList","markAttachClassDef","markGlyphSetsDef","$47e0e8ef515d9903$var$ValueFormat","$47e0e8ef515d9903$var$types","xPlacement","yPlacement","xAdvance","yAdvance","xPlaDevice","rel","yPlaDevice","xAdvDevice","yAdvDevice","$47e0e8ef515d9903$var$ValueRecord","buildStruct","struct","$47e0e8ef515d9903$var$PairValueRecord","secondGlyph","value1","value2","$47e0e8ef515d9903$var$PairSet","$47e0e8ef515d9903$var$Class2Record","$47e0e8ef515d9903$var$Anchor","xCoordinate","yCoordinate","anchorPoint","xDeviceTable","yDeviceTable","$47e0e8ef515d9903$var$EntryExitRecord","entryAnchor","exitAnchor","$47e0e8ef515d9903$var$MarkRecord","markAnchor","$47e0e8ef515d9903$var$MarkArray","$47e0e8ef515d9903$var$BaseRecord","classCount","$47e0e8ef515d9903$var$BaseArray","$47e0e8ef515d9903$var$ComponentRecord","$47e0e8ef515d9903$var$LigatureAttach","$47e0e8ef515d9903$var$LigatureArray","$47e0e8ef515d9903$export$73a8cfb19cd43a0f","valueFormat","valueCount","values","valueFormat1","valueFormat2","pairSetCount","pairSets","classDef1","classDef2","class1Count","class2Count","classRecords","entryExitCount","entryExitRecords","markCoverage","baseCoverage","markArray","baseArray","ligatureCoverage","ligatureArray","mark1Coverage","mark2Coverage","mark1Array","mark2Array","posFormat","$47e0e8ef515d9903$export$2e2bcd8739ae039","scriptList","featureList","lookupList","featureVariations","$d3f442064af66e06$var$Sequence","$d3f442064af66e06$var$AlternateSet","$d3f442064af66e06$var$Ligature","compCount","$d3f442064af66e06$var$LigatureSet","$d3f442064af66e06$var$GSUBLookup","deltaGlyphID","substitute","substFormat","sequences","alternateSet","ligatureSets","substitutes","$d3f442064af66e06$export$2e2bcd8739ae039","$71cfb3c4767fbd0c$var$JstfGSUBModList","$71cfb3c4767fbd0c$var$JstfPriority","shrinkageEnableGSUB","shrinkageDisableGSUB","shrinkageEnableGPOS","shrinkageDisableGPOS","shrinkageJstfMax","extensionEnableGSUB","extensionDisableGSUB","extensionEnableGPOS","extensionDisableGPOS","extensionJstfMax","$71cfb3c4767fbd0c$var$JstfLangSys","$71cfb3c4767fbd0c$var$JstfLangSysRecord","jstfLangSys","$71cfb3c4767fbd0c$var$JstfScript","extenderGlyphs","langSysCount","$71cfb3c4767fbd0c$var$JstfScriptRecord","$71cfb3c4767fbd0c$export$2e2bcd8739ae039","scriptCount","$d059a6bd2d3b5b63$var$MapDataEntry","entry","_size","entryFormat","outerIndex","innerIndex","$d059a6bd2d3b5b63$var$DeltaSetIndexMap","mapCount","mapData","$d059a6bd2d3b5b63$export$2e2bcd8739ae039","advanceWidthMapping","LSBMapping","RSBMapping","$dceeca3e1977ce30$var$Signature","$dceeca3e1977ce30$var$SignatureBlock","cbSignature","signature","$dceeca3e1977ce30$export$2e2bcd8739ae039","ulVersion","usNumSigs","usFlag","signatures","signatureBlocks","$8acd740a9435aad0$var$GaspRange","rangeMaxPPEM","rangeGaspBehavior","$8acd740a9435aad0$export$2e2bcd8739ae039","numRanges","gaspRanges","$b5f380243c34d6a0$var$DeviceRecord","pixelSize","maximumWidth","widths","$b5f380243c34d6a0$export$2e2bcd8739ae039","sizeDeviceRecord","$ca2df1256966e313$var$KernPair","$ca2df1256966e313$var$ClassTable","firstGlyph","nGlyphs","$ca2df1256966e313$var$Kern2Array","off","leftTable","rowWidth","$ca2df1256966e313$var$KernSubtable","nPairs","pairs","rightTable","kernValueCount","leftClassCount","rightClassCount","kernValue","leftClass","rightClass","kernIndex","$ca2df1256966e313$var$KernTable","subVersion","tupleIndex","$ca2df1256966e313$export$2e2bcd8739ae039","nTables","$7a9f92b0c46ebe33$export$2e2bcd8739ae039","yPels","$2b2ccc419d152631$export$2e2bcd8739ae039","fontNumber","pitch","typeFamily","symbolSet","typeface","characterComplement","strokeWeight","widthType","serifStyle","$ca5b40b9bcda9c9b$var$Ratio","bCharSet","xRatio","yStartRatio","yEndRatio","$ca5b40b9bcda9c9b$var$vTable","yPelHeight","$ca5b40b9bcda9c9b$var$VdmxGroup","recs","startsz","endsz","entries","$ca5b40b9bcda9c9b$export$2e2bcd8739ae039","numRecs","numRatios","ratioRanges","$69530a3c40755af0$export$2e2bcd8739ae039","advanceHeightMax","minTopSideBearing","minBottomSideBearing","yMaxExtent","$344073dd270f0e62$var$VmtxEntry","$344073dd270f0e62$export$2e2bcd8739ae039","vhea","$3793b781918cfced$var$shortFrac","$3793b781918cfced$var$Correspondence","fromCoord","toCoord","$3793b781918cfced$var$Segment","pairCount","correspondence","$3793b781918cfced$export$2e2bcd8739ae039","segment","$6cb7dd5f47d82580$var$UnboundedArrayAccessor","getItem","_items","inspect","$6cb7dd5f47d82580$export$c5af1eebc882e39a","$6cb7dd5f47d82580$export$8351f8c2ae2f103c","ValueType","BinarySearchHeader","unitSize","nUnits","LookupSegmentSingle","lastGlyph","LookupSegmentArray","LookupSingle","binarySearchHeader","segments","$6cb7dd5f47d82580$export$79f7d93d790934ba","entryData","newState","Entry","StateArray","nClasses","classTable","stateArray","entryTable","$6a3746e8c708f5a3$var$BslnSubtable","mappingData","standardGlyph","controlPoints","$6a3746e8c708f5a3$export$2e2bcd8739ae039","defaultBaseline","$d0c76fac617b308a$var$Setting","setting","fontFeatures","$d0c76fac617b308a$var$FeatureName","nSettings","settingTable","featureFlags","defaultSetting","$d0c76fac617b308a$export$2e2bcd8739ae039","featureNameCount","reserved1","reserved2","featureNames","$e83fd065f00fcd01$var$Axis","axisTag","minValue","defaultValue","maxValue","$e83fd065f00fcd01$var$Instance","coord","postscriptNameID","instanceSize","$e83fd065f00fcd01$export$2e2bcd8739ae039","offsetToData","countSizePairs","axisSize","instanceCount","axis","instance","$dbe33c8d3a7f131c$var$shortFrac","$dbe33c8d3a7f131c$var$gvar","globalCoordCount","globalCoords","$dbe33c8d3a7f131c$export$2e2bcd8739ae039","$05b01887df96c4ee$var$ClassTable","subFeatureFlags","stateTable","ClassLookupTable","newStateOffset","$05b01887df96c4ee$var$WidthDeltaRecord","justClass","beforeGrowLimit","beforeShrinkLimit","afterGrowLimit","afterShrinkLimit","growFlags","shrinkFlags","$05b01887df96c4ee$var$WidthDeltaCluster","$05b01887df96c4ee$var$ActionData","lowerLimit","upperLimit","order","addGlyph","substThreshold","substGlyph","variationAxis","minimumLimit","noStretchValue","maximumLimit","$05b01887df96c4ee$var$Action","actionClass","actionType","actionLength","actionData","$05b01887df96c4ee$var$PostcompensationAction","$05b01887df96c4ee$var$PostCompensationTable","lookupTable","$05b01887df96c4ee$var$JustificationTable","wdcOffset","postCompensationTable","widthDeltaClusters","$05b01887df96c4ee$export$2e2bcd8739ae039","$03ee6ebd54db1053$var$LigatureData","$03ee6ebd54db1053$var$ContextualData","markIndex","currentIndex","$03ee6ebd54db1053$var$InsertionData","currentInsertIndex","markedInsertIndex","$03ee6ebd54db1053$var$SubstitutionTable","$03ee6ebd54db1053$var$SubtableData","substitutionTable","ligatureActions","ligatureList","insertionActions","$03ee6ebd54db1053$var$Subtable","$03ee6ebd54db1053$var$FeatureEntry","featureType","featureSetting","enableFlags","disableFlags","$03ee6ebd54db1053$var$MorxChain","defaultFlags","chainLength","nFeatureEntries","nSubtables","features","subtables","$03ee6ebd54db1053$export$2e2bcd8739ae039","unused","nChains","chains","$b7492a80b0d1a056$var$OpticalBounds","$b7492a80b0d1a056$export$2e2bcd8739ae039","$c3395722bea751e2$var$tables","$c3395722bea751e2$export$2e2bcd8739ae039","cmap","head","hmtx","fpgm","loca","prep","glyf","VORG","EBLC","CBLC","sbix","COLR","CPAL","BASE","GDEF","GPOS","GSUB","JSTF","HVAR","DSIG","gasp","hdmx","kern","LTSH","PCLT","VDMX","vmtx","avar","bsln","feat","fvar","gvar","just","morx","opbd","$816c07a04b6dba87$var$TableEntry","checkSum","$816c07a04b6dba87$var$Directory","numTables","$6uUbQ$VoidPointer","maxExponentFor2","floor","maxPowerOf2","pow","$816c07a04b6dba87$export$2e2bcd8739ae039","$12727730ddfc8bfe$export$2e0ae67339d5f1ac","cmp","min","$12727730ddfc8bfe$export$d02631cccf789723","$12727730ddfc8bfe$export$3d28c1996ced1f14","$12727730ddfc8bfe$var$CHARS","$12727730ddfc8bfe$var$LOOKUP","$12727730ddfc8bfe$export$94fdf11bafc8de6b","base64","bufferLength","encoded1","encoded2","encoded3","encoded4","$f08dd41ef10b694c$export$2e2bcd8739ae039","findSubtable","cmapTable","lookup","codepoint","variationSelector","getVariationSelector","rangeOffset","uvs","selectors","x","sel","getCharacterSet","endCodes","tail","codePointsForGlyph","delta","g","$0bba3a9db57637f3$export$2e2bcd8739ae039","positions","getKerning","crossStream","variation","pairIdx","pair","leftOffset","rightOffset","override","$0a4bdfeb6dfd6f5e$export$2e2bcd8739ae039","positionGlyphs","clusterStart","clusterEnd","isMark","positionCluster","baseBox","cbox","copy","codePoints","minX","yGap","mark","markBox","combiningClass","getCombiningClass","maxX","minY","maxY","$6uUbQ$getCombiningClass","$f34600ab9d7f70d8$export$2e2bcd8739ae039","addPoint","y","abs","Infinity","$130d1a642ebcd2b7$var$UNICODE_SCRIPTS","Caucasian_Albanian","Arabic","Imperial_Aramaic","Armenian","Avestan","Balinese","Bamum","Bassa_Vah","Batak","Bengali","Bopomofo","Brahmi","Braille","Buginese","Buhid","Chakma","Canadian_Aboriginal","Carian","Cham","Cherokee","Coptic","Cypriot","Cyrillic","Devanagari","Deseret","Duployan","Egyptian_Hieroglyphs","Elbasan","Ethiopic","Georgian","Glagolitic","Gothic","Grantha","Greek","Gujarati","Gurmukhi","Hangul","Han","Hanunoo","Hebrew","Hiragana","Pahawh_Hmong","Katakana_Or_Hiragana","Old_Italic","Javanese","Kayah_Li","Katakana","Kharoshthi","Khmer","Khojki","Kannada","Kaithi","Tai_Tham","Lao","Latin","Lepcha","Limbu","Linear_A","Linear_B","Lisu","Lycian","Lydian","Mahajani","Mandaic","Manichaean","Mende_Kikakui","Meroitic_Cursive","Meroitic_Hieroglyphs","Malayalam","Modi","Mongolian","Mro","Meetei_Mayek","Myanmar","Old_North_Arabian","Nabataean","Nko","Ogham","Ol_Chiki","Old_Turkic","Oriya","Osmanya","Palmyrene","Pau_Cin_Hau","Old_Permic","Phags_Pa","Inscriptional_Pahlavi","Psalter_Pahlavi","Phoenician","Miao","Inscriptional_Parthian","Rejang","Runic","Samaritan","Old_South_Arabian","Saurashtra","Shavian","Sharada","Siddham","Khudawadi","Sinhala","Sora_Sompeng","Sundanese","Syloti_Nagri","Syriac","Tagbanwa","Takri","Tai_Le","New_Tai_Lue","Tamil","Tai_Viet","Telugu","Tifinagh","Tagalog","Thaana","Thai","Tibetan","Tirhuta","Ugaritic","Vai","Warang_Citi","Old_Persian","Cuneiform","Yi","Inherited","Common","Unknown","$130d1a642ebcd2b7$var$OPENTYPE_SCRIPTS","$130d1a642ebcd2b7$var$RTL","arab","hebr","syrc","thaa","cprt","khar","phnx","lydi","avst","armi","phli","prti","sarb","orkh","samr","mand","merc","mero","mani","mend","nbat","narb","palm","phlp","$130d1a642ebcd2b7$export$9fddb9d0dd7d8a54","$be07b3e97a42687a$export$2e2bcd8739ae039","advanceWidth","advanceHeight","bbox","direction","$1ac75d9a55b67f01$export$2e2bcd8739ae039","$3b6302b64eccc32c$var$features","allTypographicFeatures","exclusive","allTypeFeatures","ligatures","requiredLigatures","commonLigatures","rareLigatures","rebusPictures","diphthongLigatures","squaredLigatures","abbrevSquaredLigatures","symbolLigatures","contextualLigatures","historicalLigatures","cursiveConnection","unconnected","partiallyConnected","cursive","letterCase","verticalSubstitution","substituteVerticalForms","linguisticRearrangement","numberSpacing","monospacedNumbers","proportionalNumbers","thirdWidthNumbers","quarterWidthNumbers","smartSwash","wordInitialSwashes","wordFinalSwashes","nonFinalSwashes","diacritics","showDiacritics","hideDiacritics","decomposeDiacritics","verticalPosition","normalPosition","superiors","inferiors","ordinals","scientificInferiors","fractions","noFractions","verticalFractions","diagonalFractions","overlappingCharacters","preventOverlap","typographicExtras","slashedZero","mathematicalExtras","mathematicalGreek","ornamentSets","noOrnaments","dingbats","piCharacters","fleurons","decorativeBorders","internationalSymbols","mathSymbols","characterAlternatives","noAlternates","designComplexity","designLevel1","designLevel2","designLevel3","designLevel4","designLevel5","styleOptions","noStyleOptions","displayText","engravedText","illuminatedCaps","titlingCaps","tallCaps","characterShape","traditionalCharacters","simplifiedCharacters","JIS1978Characters","JIS1983Characters","JIS1990Characters","traditionalAltOne","traditionalAltTwo","traditionalAltThree","traditionalAltFour","traditionalAltFive","expertCharacters","JIS2004Characters","hojoCharacters","NLCCharacters","traditionalNamesCharacters","numberCase","lowerCaseNumbers","upperCaseNumbers","textSpacing","proportionalText","monospacedText","halfWidthText","thirdWidthText","quarterWidthText","altProportionalText","altHalfWidthText","transliteration","noTransliteration","annotation","noAnnotation","boxAnnotation","roundedBoxAnnotation","circleAnnotation","invertedCircleAnnotation","parenthesisAnnotation","periodAnnotation","romanNumeralAnnotation","diamondAnnotation","invertedBoxAnnotation","invertedRoundedBoxAnnotation","kanaSpacing","fullWidthKana","proportionalKana","ideographicSpacing","fullWidthIdeographs","proportionalIdeographs","halfWidthIdeographs","unicodeDecomposition","canonicalComposition","compatibilityComposition","transcodingComposition","rubyKana","CJKSymbolAlternatives","noCJKSymbolAlternatives","CJKSymbolAltOne","CJKSymbolAltTwo","CJKSymbolAltThree","CJKSymbolAltFour","CJKSymbolAltFive","ideographicAlternatives","noIdeographicAlternatives","ideographicAltOne","ideographicAltTwo","ideographicAltThree","ideographicAltFour","ideographicAltFive","CJKVerticalRomanPlacement","CJKVerticalRomanCentered","CJKVerticalRomanHBaseline","italicCJKRoman","CJKItalicRoman","caseSensitiveLayout","caseSensitiveSpacing","alternateKana","alternateHorizKana","alternateVertKana","stylisticAlternatives","noStylisticAlternates","stylisticAltOne","stylisticAltTwo","stylisticAltThree","stylisticAltFour","stylisticAltFive","stylisticAltSix","stylisticAltSeven","stylisticAltEight","stylisticAltNine","stylisticAltTen","stylisticAltEleven","stylisticAltTwelve","stylisticAltThirteen","stylisticAltFourteen","stylisticAltFifteen","stylisticAltSixteen","stylisticAltSeventeen","stylisticAltEighteen","stylisticAltNineteen","stylisticAltTwenty","contextualAlternates","swashAlternates","contextualSwashAlternates","lowerCase","defaultLowerCase","lowerCaseSmallCaps","lowerCasePetiteCaps","upperCase","defaultUpperCase","upperCaseSmallCaps","upperCasePetiteCaps","languageTag","CJKRomanSpacing","halfWidthCJKRoman","proportionalCJKRoman","defaultCJKRoman","fullWidthCJKRoman","$3b6302b64eccc32c$var$feature","selector","$3b6302b64eccc32c$var$OTMapping","rlig","clig","dlig","hlig","liga","hist","smcp","pcap","frac","dnom","numr","afrc","case","ccmp","cpct","valt","swsh","cswh","curs","c2pc","c2sc","init","fin2","medi","med2","fin3","fina","pkna","half","halt","hkna","vkna","ital","lnum","onum","mgrk","calt","vrt2","tnum","pnum","sups","subs","ordn","pwid","hwid","qwid","twid","fwid","palt","trad","smpl","jp78","jp83","jp90","jp04","expt","hojo","nlck","tnam","ruby","titl","zero","ss01","ss02","ss03","ss04","ss05","ss06","ss07","ss08","ss09","ss10","ss11","ss12","ss13","ss14","ss15","ss16","ss17","ss18","ss19","ss20","$3b6302b64eccc32c$var$AATMapping","ot","aat","$3b6302b64eccc32c$var$mapFeatureStrings","f","typeCode","settingCode","$ff5ce077dae0f144$export$2e2bcd8739ae039","seg","glyphsForValue","classValue","$50c7aac9316f2948$export$2e2bcd8739ae039","reverse","processEntry","currentState","dir","classCode","shouldAdvance","entryIndex","traverse","visited","add","enter","exit","$55f71433a605c87d$var$REVERSE_DIRECTION","$55f71433a605c87d$export$2e2bcd8739ae039","chain","processSubtable","splice","processNoncontextualSubstitutions","ligatureStack","markedGlyph","markedIndex","stateMachine","getStateMachine","getProcessor","processIndicRearragement","processContextualSubstitution","processLigature","processGlyphInsertion","verb","$55f71433a605c87d$var$swap","$55f71433a605c87d$var$reorderGlyphs","subsitutions","getGlyph","actionIndex","last","ligatureIndex","ligatureGlyphs","componentGlyph","unshift","store","ligatureEntry","_insertGlyphs","insertionActionIndex","isBefore","insertions","getSupportedFeatures","generateInputs","inputCache","generateInputCache","generateInputsForSubtable","stack","found","bind","rangeA","rangeB","reverseA","reverseB","$ba6dd74203be8728$export$2e2bcd8739ae039","glyphRun","morxProcessor","$3b6302b64eccc32c$export$b813f7d2a1677c16","getAvailableFeatures","$3b6302b64eccc32c$export$bd6df347a4f391c4","stringsForGlyph","glyphStrings","_addStrings","strings","_cmapProcessor","String","fromCodePoint","fallbackPosition","$94d7a73bd2edfc9a$export$2e2bcd8739ae039","_addFeatures","stageIndex","stages","allFeatures","globalFeatures","arg","local","addStage","setFeatureOverrides","assignGlobalFeatures","processor","applyFeatures","$649970d87335b30f$var$VARIATION_FEATURES","$649970d87335b30f$var$COMMON_FEATURES","$649970d87335b30f$var$FRACTIONAL_FEATURES","$649970d87335b30f$var$HORIZONTAL_FEATURES","$649970d87335b30f$var$DIRECTIONAL_FEATURES","ltr","rtl","$649970d87335b30f$export$2e2bcd8739ae039","plan","planPreprocessing","planFeatures","planPostprocessing","assignFeatures","userFeatures","$6uUbQ$isDigit","$6uUbQ$_","$764eb544bbe1ccf0$var$trie","$6uUbQ$unicodetrie","$764eb544bbe1ccf0$var$FEATURES","$764eb544bbe1ccf0$var$ShapingClasses","$764eb544bbe1ccf0$var$ISOL","$764eb544bbe1ccf0$var$FINA","$764eb544bbe1ccf0$var$FIN2","$764eb544bbe1ccf0$var$MEDI","$764eb544bbe1ccf0$var$MED2","$764eb544bbe1ccf0$var$INIT","$764eb544bbe1ccf0$var$NONE","$764eb544bbe1ccf0$var$STATE_TABLE","$764eb544bbe1ccf0$export$2e2bcd8739ae039","prev","curAction","prevAction","$764eb544bbe1ccf0$var$getShapingClass","$6uUbQ$getCategory","$85d408632270248b$export$2e2bcd8739ae039","reset","cur","shouldIgnore","ignoreMarks","ignoreBaseGlyphs","isBase","ignoreLigatures","isLigature","move","next","peek","idx","increment","peekIndex","$a83b9c36aaa94fd3$var$DEFAULT_SCRIPTS","$a83b9c36aaa94fd3$export$2e2bcd8739ae039","findScript","selectScript","changed","scriptTag","repeat","lang","substituteFeature","substituteFeatureForVariations","lookupsForFeatures","exclude","lookups","lookupIndex","sort","variationsIndex","substitution","findVariationsIndex","coords","variations","conditions","variationConditionsMatch","every","advances","applyLookups","glyphIterator","currentFeature","applyLookup","applyLookupList","lookupRecord","coverageIndex","match","sequence","matched","sequenceMatches","component","sequenceMatchIndices","coverageSequenceMatches","getClassID","classSequenceMatches","classID","applyContext","rule","applyChainingContext","rules","_variationProcessor","normalizedCoords","ligatureID","$10e7b257e1a9a756$export$2e2bcd8739ae039","_id","substituted","_font","$6uUbQ$isMark","ligatureComponent","isLigated","cursiveAttachment","markAttachment","shaperInfo","isMultiplied","$e1c6bbc8cb416f8c$export$2e2bcd8739ae039","$e1c6bbc8cb416f8c$var$getType","$e1c6bbc8cb416f8c$var$STATE_TABLE","$e1c6bbc8cb416f8c$var$DECOMPOSE","hasGlyphForCodePoint","$e1c6bbc8cb416f8c$var$decompose","$e1c6bbc8cb416f8c$var$COMPOSE","$e1c6bbc8cb416f8c$var$compose","$e1c6bbc8cb416f8c$var$TONE_MARK","$e1c6bbc8cb416f8c$var$reorderToneMark","$e1c6bbc8cb416f8c$var$INVALID","$e1c6bbc8cb416f8c$var$insertDottedCircle","$e1c6bbc8cb416f8c$var$HANGUL_BASE","$e1c6bbc8cb416f8c$var$HANGUL_COUNT","$e1c6bbc8cb416f8c$var$L_BASE","$e1c6bbc8cb416f8c$var$V_BASE","$e1c6bbc8cb416f8c$var$T_BASE","$e1c6bbc8cb416f8c$var$V_COUNT","$e1c6bbc8cb416f8c$var$T_COUNT","$e1c6bbc8cb416f8c$var$L_END","$e1c6bbc8cb416f8c$var$V_END","$e1c6bbc8cb416f8c$var$T_END","$e1c6bbc8cb416f8c$var$DOTTED_CIRCLE","$e1c6bbc8cb416f8c$var$isL","$e1c6bbc8cb416f8c$var$isV","$e1c6bbc8cb416f8c$var$isT","$e1c6bbc8cb416f8c$var$isTone","$e1c6bbc8cb416f8c$var$isLVT","$e1c6bbc8cb416f8c$var$isLV","$e1c6bbc8cb416f8c$var$isCombiningL","$e1c6bbc8cb416f8c$var$isCombiningV","$e1c6bbc8cb416f8c$var$isCombiningT","$e1c6bbc8cb416f8c$var$X","$e1c6bbc8cb416f8c$var$L","$e1c6bbc8cb416f8c$var$V","$e1c6bbc8cb416f8c$var$T","$e1c6bbc8cb416f8c$var$LV","$e1c6bbc8cb416f8c$var$LVT","$e1c6bbc8cb416f8c$var$M","$e1c6bbc8cb416f8c$var$getGlyph","glyphForCodePoint","l","ljmo","vjmo","insert","tjmo","lv","prevType","del","$e1c6bbc8cb416f8c$var$getLength","dottedCircle","$4b0735ca6c692ea5$exports","$aa333a9607471296$exports","$90a9d3398ee54fe5$export$a513ea61a7bee91c","X","C","V","N","H","ZWNJ","ZWJ","M","SM","VD","A","Placeholder","Dotted_Circle","RS","Coeng","Repha","Ra","CM","Symbol","$90a9d3398ee54fe5$export$1a1f61c9c4dd9df0","Start","Ra_To_Become_Reph","Pre_M","Pre_C","Base_C","After_Main","Above_C","Before_Sub","Below_C","After_Sub","Before_Post","Post_C","After_Post","Final_C","SMVD","End","$90a9d3398ee54fe5$export$8519deaa7de2b07","$90a9d3398ee54fe5$export$bbcd928767338e0d","$90a9d3398ee54fe5$export$ca9599b2a300afc","$90a9d3398ee54fe5$export$e99d119da76a0fc5","Default","hasOldSpec","virama","basePos","rephPos","rephMode","blwfMode","$90a9d3398ee54fe5$export$f647c9cfdd77d95a","decompositions","$7826f90f6f0cecc9$var$decompositions","$7826f90f6f0cecc9$var$trie","$7826f90f6f0cecc9$var$stateMachine","$6uUbQ$dfa","$7826f90f6f0cecc9$export$2e2bcd8739ae039","$7826f90f6f0cecc9$var$setupSyllables","$7826f90f6f0cecc9$var$initialReordering","$7826f90f6f0cecc9$var$finalReordering","unicodeScript","indicConfig","isOldSpec","decomposed","$7826f90f6f0cecc9$var$indicCategory","$7826f90f6f0cecc9$var$indicPosition","$7826f90f6f0cecc9$var$IndicInfo","syllableType","syllable","$7826f90f6f0cecc9$var$isConsonant","$7826f90f6f0cecc9$var$isJoiner","$7826f90f6f0cecc9$var$isHalantOrCoeng","$7826f90f6f0cecc9$var$wouldSubstitute","_layoutEngine","engine","GSUBProcessor","$7826f90f6f0cecc9$var$consonantPosition","consonant","info","$7826f90f6f0cecc9$var$nextSyllable","hasReph","rphf","seenBelow","disallowDoubleHalants","lastPos","blwf","abvf","pstf","prefLen","pref","cfar","nonJoiner","tryPref","BASE_C","newPos","oldPos","tmp","newRephPos","reph","test","$7ab494fe977143c6$var$categories","$7ab494fe977143c6$var$decompositions","$7ab494fe977143c6$var$trie","$7ab494fe977143c6$var$stateMachine","$7ab494fe977143c6$export$2e2bcd8739ae039","$7ab494fe977143c6$var$setupSyllables","$7ab494fe977143c6$var$clearSubstitutionFlags","$7ab494fe977143c6$var$recordRphf","$7ab494fe977143c6$var$recordPref","$7ab494fe977143c6$var$reorder","$7ab494fe977143c6$var$useCategory","$7ab494fe977143c6$var$USEInfo","$7ab494fe977143c6$var$nextSyllable","$7ab494fe977143c6$var$isBase","$7ab494fe977143c6$var$isHalant","$102b6fe50f1d50b4$var$SHAPERS","mong","phag","hang","bng2","beng","dev2","deva","gjr2","gujr","guru","gur2","knda","knd2","mlm2","mlym","ory2","orya","taml","tml2","telu","tel2","khmr","bali","batk","brah","bugi","buhd","cakm","cham","dupl","egyp","gran","hano","java","kthi","kali","khoj","sind","lepc","limb","mahj","mtei","modi","hmng","rjng","saur","shrd","sidd","sinh","sund","sylo","tglg","tagb","tale","lana","tavt","takr","tibt","tfng","tirh","latn","DFLT","$0a876c45f1f7c41c$export$2e2bcd8739ae039","curGlyph","replacement","USER_INDEX","ligature","characters","ligatureGlyph","isMarkLigature","lastLigID","lastNumComps","curComps","matchIndex","$c96c93587d49c14d$export$2e2bcd8739ae039","applyPositionValue","variationProcessor","variationStore","getDelta","nextGlyph","class1","class2","nextIndex","curRecord","nextRecord","getAnchor","rightToLeft","baseGlyphIndex","baseIndex","markRecord","baseAnchor","applyAnchor","ligIndex","ligAttach","markGlyph","ligGlyph","compIndex","mark1Index","prevIndex","good","mark2Index","markCoords","markPos","anchor","fixCursiveAttachment","fixMarkAttachment","$a62492810de27e3d$export$2e2bcd8739ae039","setup","glyphInfos","GPOSProcessor","shaper","$102b6fe50f1d50b4$export$7877a478dd30fd3d","glyphInfo","zeroMarkWidths","zeroMarkAdvances","cleanup","$4c0a7fa5df7a9ab1$export$2e2bcd8739ae039","layout","$6uUbQ$getScript","$130d1a642ebcd2b7$export$e5cb25e204fb8450","glyphsForString","$130d1a642ebcd2b7$export$16fab0757cfc223d","hideDefaultIgnorables","positioned","unicodeLayoutEngine","kernProcessor","space","isDefaultIgnorable","ch","plane","from","$f43aec954cdfdf21$var$SVG_COMMANDS","moveTo","lineTo","quadraticCurveTo","bezierCurveTo","closePath","$f43aec954cdfdf21$export$2e2bcd8739ae039","toFunction","commands","forEach","command","toSVG","round","_cbox","freeze","_bbox","cx","cy","p0","p1","p2","p3","qp1x","qp1y","p3x","p3y","cp1x","cp1y","cp2x","cp2y","b2ac","t1","sqrt","t2","mapPoints","path","transform","m0","m1","m2","m3","m4","m5","translate","angle","cos","sin","scale","_len2","_key2","$7713b9b7b438dff8$export$2e2bcd8739ae039","$f92906be28e61769$export$2e2bcd8739ae039","_getPath","_getCBox","_getBBox","_getTableMetrics","metric","_getMetrics","_metrics","leftBearing","topBearing","os2","getAdvanceAdjustment","getScaledPath","ligatureCaretPositions","_getName","fromCharCode","save","restore","$69aac16029968692$var$GlyfHeader","numberOfContours","$69aac16029968692$export$baf26146a414f24a","onCurve","endContour","$69aac16029968692$var$Component","dx","dy","scale01","scale10","$69aac16029968692$export$2e2bcd8739ae039","internal","_getTableStream","_parseGlyphCoord","short","same","_decode","glyfPos","_decodeSimple","_decodeComposite","points","endPtsOfContours","numCoords","point","py","_getPhantomPoints","transformPoints","phantomPoints","haveInstructions","gPos","_getContours","contours","contour","directory","firstPt","lastPt","curvePt","pt","prevPt","midX","midY","$62cc5109c6101893$export$2e2bcd8739ae039","CFF2","bias","cff","usedGsubrs","usedSubrs","trans","nStems","_usedGsubrs","_usedSubrs","gsubrs","gsubrsBias","privateDict","subrs","Subrs","subrsBias","vstore","vsindex","checkWidth","shift","nominalWidthX","parseStems","subr","phase","c1x","c1y","c2x","c2y","c3x","c3y","c4x","c4y","c5x","c5y","c6x","c6y","pts","blendVector","getBlendVector","numOperands","sum","s1","s2","v1","random","startx","starty","b1","$25d8f049c222084c$var$SBIXImage","originX","originY","buflen","$25d8f049c222084c$export$2e2bcd8739ae039","getImageForSize","img","renderOutlines","$0d411f0165859681$var$COLRLayer","$0d411f0165859681$export$2e2bcd8739ae039","layers","cpal","colr","rec","baseLayer","_getBaseGlyph","fillColor","$0bb840cac04e911b$export$2e2bcd8739ae039","normalizeCoords","normalized","EPSILON","glyphPoints","tupleCount","here","sharedPoints","decodePoints","origPoints","tupleDataSize","tupleCoords","startCoords","endCoords","factor","tupleFactor","nPoints","xDeltas","decodeDeltas","yDeltas","outPoints","hasDelta","interpolateMissingDeltas","deltaX","deltaY","run","runCount","readUInt16","Int16Array","inPoints","firstPoint","endPoint","firstDelta","curDelta","deltaInterpolate","deltaShift","ref1","ref2","iterable","in1","in2","out1","out2","out","itemStore","varData","deltaSet","netAdjustment","master","blendVectors","scalar","regionIndex","axes","axisScalar","Promise","resolve","$5cc7476da92df375$export$2e2bcd8739ae039","includeGlyph","$807e58506be70005$var$Point","$807e58506be70005$var$Glyf","xPoints","yPoints","$807e58506be70005$export$2e2bcd8739ae039","encodeSimple","lastX","lastY","lastFlag","pointCount","_encodePoint","$6uUbQ$EncodeStream","shortFlag","sameFlag","diff","$4abbb6a5dbdc441a$export$2e2bcd8739ae039","_addGlyph","curOffset","nextOffset","setUint16","glyphEncoder","$6uUbQ$clone","$001d739428a71d5a$export$2e2bcd8739ae039","subsetCharstrings","charstrings","subsetSubrs","used","subsetFontdict","used_fds","used_subrs","fd_select","FontName","createCIDFontdict","addString","Encoding","CIDCount","$4c1709dee528ea76$export$2e2bcd8739ae039","setDefaultLanguage","defaultLanguage","_getTable","_tables","_decodeTable","_decodeDirectory","getName","subfamilyName","copyright","characterSet","nextState","availableFeatures","_glyphs","createSubset","variationAxes","trim","default","namedVariations","settings","getVariation","_directoryPos","variationCoords","$c1726355ecc5b889$var$WOFFDirectoryEntry","compLength","origChecksum","$c1726355ecc5b889$var$WOFFDirectory","flavor","totalSfntSize","metaOffset","metaLength","metaOrigLength","privOffset","privLength","$c1726355ecc5b889$export$2e2bcd8739ae039","$8046190c9f1ad19e$export$2e2bcd8739ae039","_transformedGlyphs","$c28ec7bbb3b8de3a$var$Base128","$c28ec7bbb3b8de3a$var$knownTags","$c28ec7bbb3b8de3a$var$WOFF2DirectoryEntry","customTag","transformVersion","transformed","transformLength","$c28ec7bbb3b8de3a$var$WOFF2Directory","totalCompressedSize","$c28ec7bbb3b8de3a$export$2e2bcd8739ae039","$21ee218f84ac7f32$var$Substream","_buf","$21ee218f84ac7f32$var$GlyfTable","indexFormat","nContourStreamSize","nPointsStreamSize","flagStreamSize","glyphStreamSize","compositeStreamSize","bboxStreamSize","instructionStreamSize","nContours","composites","bboxes","$21ee218f84ac7f32$var$WORD_CODE","$21ee218f84ac7f32$var$ONE_MORE_BYTE_CODE2","$21ee218f84ac7f32$var$ONE_MORE_BYTE_CODE1","$21ee218f84ac7f32$var$LOWEST_U_CODE","$21ee218f84ac7f32$var$read255UInt16","$21ee218f84ac7f32$var$withSign","baseval","$21ee218f84ac7f32$var$decodeTriplet","b0","b2","$cd5853a56c68fec7$var$TTCHeader","numFonts","dsigTag","dsigLength","dsigOffset","$05f49f930186144e$var$DFontName","$05f49f930186144e$var$Ref","nameOffset","attr","dataOffset","handle","$05f49f930186144e$var$Type","maxTypeIndex","refList","$05f49f930186144e$var$TypeList","types","$05f49f930186144e$var$DFontMap","typeList","nameListOffset","$05f49f930186144e$var$DFontHeader","dataLength","mapLength","outBuffer","$6uUbQ$tinyinflate","_dataPos","_decompress","_decompressed","decompressedSize","decompressed","$6uUbQ$brotlidecompressjs","_transformGlyfTable","totalPoints","fonts","sfnt","FONT_WEIGHTS","thin","hairline","ultralight","extralight","light","normal","medium","semibold","demibold","bold","ultrabold","extrabold","heavy","black","sortByFontWeight","FontSource","fontFamily","fontStyle","loadResultPromise","_load","dataUrl","hasDataPrefix","hasBase64Prefix","isDataUrl","raw","uint8Array","atob","fontkit","headers","body","method","fetch","arrayBuffer","fetchFont","load","Font","family","sources","register","numericFontWeight","resolveFontWeight","styleSources","exactFit","find","lt","gt","standard","_regeneratorRuntime","o","iterator","asyncIterator","u","toStringTag","define","Generator","Context","makeInvokeMethod","tryCatch","h","GeneratorFunction","GeneratorFunctionPrototype","getPrototypeOf","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","then","callInvokeWithMethodAndArg","done","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","displayName","isGeneratorFunction","awrap","charAt","stop","rval","complete","finish","delegateYield","castArray","compose","fns","reversedFns","evolve","transformations","transformation","isNil","_path","mapValues","matchPercent","exec","isPercent","percent","omit","_keys","pick","upperFirst","toUpperCase","_slicedToArray","_arr","_n","_d","_s","sliceIterator","TAU","PI","mapToEllipse","rx","ry","cosphi","sinphi","centerx","centery","approxUnitArc","ang1","ang2","tan","x1","y1","x2","y2","vectorAngle","ux","uy","vx","vy","dot","acos","_ref2$xAxisRotation","xAxisRotation","_ref2$largeArcFlag","largeArcFlag","_ref2$sweepFlag","sweepFlag","curves","pxp","pyp","lambda","_getArcCenter","rxsq","rysq","pxpsq","pypsq","radicant","centerxp","centeryp","vx1","vy1","vx2","vy2","getArcCenter","_getArcCenter2","ratio","curve","_mapToEllipse","_mapToEllipse2","_mapToEllipse3","line","quadratic","KAPPA$3","KAPPA$2","drawEllipse","ox","oy","xe","ye","xm","ym","renderGlyphs","_fontSize","advanceWidthScale","encodedGlyphs","encodeGlyphs","encodedPositions","renderSpan","textAnchor","dominantBaseline","_line$box","_line$box2","_line$runs$","_line$runs$2","_line$runs$2$attribut","box","runs","attributes","xTranslate","yTranslate","renderRun$1","runAdvanceWidth","fillOpacity","parsePoints","renderPolyline","node","drawPolyline","KAPPA$1","clipNode","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","rtr","ctr","rbr","cbr","rbl","cbl","ctl","clip","applyTransformations","_node$style","_node$props","origin","operation","applySingleTransformation","xAngle","yAngle","skew","getPolylineBoundingBox","_node$props17","xValues","yValues","boundingBoxFns","P","_node$props13","_node$props14","_node$props15","_node$props16","_node$props9","_node$props10","_node$props11","_node$props12","bezierX","bezierY","startX","startY","quadX","quadY","arcToCurve","normalizePath","absPath","parsePath","bounds","_node$props2","_node$props3","_node$props4","_node$props5","_node$props6","_node$props7","_node$props8","getBoundingBox","boundingBoxFn","setFill","_node$props9$fill","hasLinearGradientFill","setLinearGradientFill","gradient","gx1","gy1","gx2","gy2","grad","linearGradient","stopColor","stopOpacity","_node$props10$fill","hasRadialGradientFill","setRadialGradientFill","fx","fy","gr","gcx","gcy","gfx","gfy","radialGradient","setFillColor","noop","renderFns$1","renderPath","renderRect","krx","kry","renderLine$1","renderGroup","renderSvgText","lines","renderCircle","renderImage$1","paddingTop","warn","href","renderEllipse","renderPolygon","renderNode$1","renderFn","drawNode","setLineCap","lineCap","strokeLinecap","setLineDash","strokeDasharray","dash","setLineJoin","lineJoin","strokeLinejoin","setStrokeWidth","lineWidth","strokeWidth","setStrokeColor","strokeColor","stroke","setStrokeOpacity","strokeOpacity","setFillOpacity","setOpacity","draw","fillAndStroke","fillRule","drawChildren","clipPath","parseColor","hex","parsed","colorString","DEST_REGEXP","renderAttachment","attachment","fit","align","valign","renderRun","link","outlineRuns","rect","isSrcId$1","goTo","renderAttachments","objectReplacement","attachmentAdvance","renderBackground$1","renderDecorationLine","dist","step","stepCount","renderBlock","block","renderLine","lineAscent","outlineLines","isLastRun","overflowRight","backgroundRect","decorationLines","decorationLine","isNumeric","isFinite","applyContainObjectFit","cw","iw","ih","cr","ir","pxv","pyv","applyNoneObjectFit","resolveObjectFit","applyCoverObjectFit","applyScaleDownObjectFit","containDimension","noneDimension","applyFillObjectFit","getMargin","renderDebug","debug","debugContent","borderTopWidth","borderRightWidth","borderBottomWidth","debugPadding","debugMargin","debugText","roundedWidth","roundedHeight","debugOrigin","availableMethods","KAPPA","renderBorders","shouldRenderBorders","borderTopColor","borderTopStyle","borderLeftColor","borderLeftStyle","borderRightColor","borderRightStyle","borderBottomColor","borderBottomStyle","clipBorderTop","c0","topRightYCoord","innerTopRightRadiusX","innerTopRightRadiusY","innerTopLeftRadiusX","innerTopLeftRadiusY","c3","c4","topLeftYCoord","c5","trSlope","fillBorderTop","undash","clipBorderRight","topBottomXCoord","innerBottomRightRadiusX","innerBottomRightRadiusY","topRightXCoord","brSlope","fillBorderRight","clipBorderBottom","bottomLeftYCoord","innerBottomLeftRadiusX","innerBottomLeftRadiusY","bottomRightYCoord","fillBorderBottom","clipBorderLeft","topLeftCoordX","bottomLeftXCoord","fillBorderLeft","renderBackground","_node$style2","drawBackground","nodeOpacity","renderFns","renderText","_node$box","_node$box2","blocks","initialY","offsetX","alignOffset","renderNote","_node$children","note","renderImage","_node$style3","_node$style4","objectPositionX","objectPositionY","imageCache","cacheKey","embedImage","imageOpacity","stringify","drawImage","renderCanvas","availableWidth","availableHeight","paint","painter","renderSvg","moveToOrigin","resolveAspectRatio","viewBox","preserveAspectRatio","meetOrSlice","logicalWidth","logicalHeight","logicalRatio","physicalRatio","setLink","isId","isSrcId","renderNode","overflowHidden","shouldRenderChildren","isRecursiveNode","renderPage","userUnit","dpi","addPage","renderChildren","setDestination","addNamedDestination","addNodeBookmark","pageNumber","registry","bookmark","expanded","zoom","outline","addItem","doc","addMetadata","_props$creator","_props$producer","setProp","author","subject","keywords","creator","producer","creationDate","modificationDate","page","addBookmarks","DACTable","identifier","readUInt32LE","uint8ArrayToHexString","byte","toString","padStart","concatenateUint8Arrays","arrays","totalLength","concatenatedArray","DefineHuffmanTableMarker","elements","lengths","restartInterval","afterEOI","a000","a001","a002","a003","a004","a005","a20b","a20c","a20e","a20f","a40a","a40b","a40c","a210","a214","a215","a217","a300","a301","a302","a401","a402","a403","a404","a405","a406","a407","a408","a409","a420","a430","a431","a432","a433","a434","a435","a500","IDFEntries","bigEndian","_getTagValue","dataValue","dataFormat","componentsNumber","_getTagValueForNumericalData","tagValue","componentsBytes","_getSingleTagValueForNumericalData","readInt32LE","_decodeIDFEntries","numberOfEntries","tagAddress","offsetToFirstIFD","exifIFDPointer","gpsInfoIFDPointer","subExif","gps","gpsInfo","EXIFMarker","fortyTwo","IFDData","units","xDensity","yDensity","thumbnailWidth","thumbnailHeight","SOSComponentSpecification","scanComponentSelector","entropyCodingTable","SOSMarker","numberOfImageComponents","componentSpecifications","startOfSpectral","endOfSpectral","successiveApproximationBit","nextByte","FrameColorComponent","samplingFactors","quantizationTableId","precision","numberOfComponents","UnknownMarker","unknownMarkers","Marker","StartOfFrameMarker","DACMarker","StartOfImageMarker","EndOfImageMarker","DQTMarker","DRIMarker","JFIFMarker","JPEG","rest","global$1","self","revLookup","Arr","inited","encodeChunk","output","fromByteArray","extraBytes","parts","maxChunkLength","len2","read","isLE","mLen","nBytes","m","eLen","eMax","eBias","nBits","NaN","write","rt","isArray$1","Buffer","TYPED_ARRAY_SUPPORT","_kMaxLength","kMaxLength","createBuffer","that","RangeError","encodingOrOffset","allocUnsafe","ArrayBuffer","fromArrayLike","fromArrayBuffer","isEncoding","actual","fromString","internalIsBuffer","checked","fromObject","assertSize","_isBuffer","isView","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","bidirectionalIndexOf","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","foundIndex","hexWrite","remaining","strLen","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","hi","lo","utf16leToBytes","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","bytesPerSequence","MAX_ARGUMENTS_LENGTH","decodeCodePointsArray","poolSize","_augment","species","alloc","allocUnsafeSlow","isBuffer","isBuffer$1","compare","swap16","swap32","swap64","equals","thisStart","thisEnd","thisCopy","targetCopy","toJSON","toHex","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","newBuf","subarray","sliceLen","readUIntLE","mul","readUIntBE","readIntLE","readIntBE","readInt16LE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt32LE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","INVALID_BASE64_RE","leadSurrogate","b64","placeHolders","L","stringtrim","base64clean","dst","isFastBuffer","isSlowBuffer","_polyfillNode_buffer","INSPECT_MAX_BYTES","SlowBuffer","defaultSetTimout","defaultClearTimeout","cachedSetTimeout","cachedClearTimeout","runTimeout","fun","setTimeout","clearTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","marker","runClearTimeout","nextTick","Item","on","addListener","once","removeListener","removeAllListeners","emit","performance","performanceNow","now","mozNow","msNow","oNow","webkitNow","getTime","startTime","browser$1","browser","env","argv","binding","cwd","chdir","umask","hrtime","previousTimestamp","clocktime","seconds","nanoseconds","platform","release","config","uptime","getDefaultExportFromCjs","__esModule","getAugmentedNamespace","Reflect","construct","getOwnPropertyDescriptor","require$$0","EventHandlers","EventEmitter","$getMaxListeners","_maxListeners","defaultMaxListeners","_addListener","listener","prepend","events","existing","_events","newListener","_eventsCount","warned","w","emitter","_onceWrap","fired","listenerCount$1","evlistener","arrayClone","usingDomains","domain","active","setMaxListeners","getMaxListeners","er","handler","doError","domainEmitter","domainThrown","isFn","listeners","emitNone","arg1","emitOne","arg2","emitTwo","arg3","emitThree","emitMany","prependListener","prependOnceListener","originalListener","spliceOne","unwrapListeners","listenerCount","eventNames","ownKeys","inherits$1","ctor","superCtor","super_","TempCtor","getOwnPropertyDescriptors","descriptors","formatRegExp","isString","objects","inspect$1","isNull","isObject","deprecate","msg","isUndefined","noDeprecation","throwDeprecation","traceDeprecation","trace","debugEnviron","debugs","debuglog","NODE_DEBUG","RegExp","seen","stylize","stylizeNoColor","depth","colors","isBoolean","_extend","customInspect","stylizeWithColor","formatValue","styleType","recurseTimes","isFunction","primitive","simple","isNumber","formatPrimitive","visibleKeys","hash","arrayToHash","isError","formatError","isRegExp","isDate","braces","toUTCString","formatProperty","formatArray","reduceToSingleString","desc","ar","isNullOrUndefined","isSymbol","re","objectToString","isPrimitive","maybeBuf","months","time","getHours","getMinutes","getSeconds","getDate","getMonth","timestamp","kCustomPromisifiedSymbol","promisify","original","promiseResolve","promiseReject","promise","reject","callbackifyOnRejected","reason","cb","newReason","callbackify","callbackified","maybeCb","rej","custom","_polyfillNode_util","inherits","_polyfillNode_util$1","BufferList","clear","isBufferEncoding","StringDecoder","assertEncoding","surrogateSize","detectIncompleteChar","utf16DetectIncompleteChar","base64DetectIncompleteChar","passThroughWrite","charBuffer","charReceived","charLength","charStr","available","charCode","enc","Readable","ReadableState","objectMode","Duplex","readableObjectMode","hwm","highWaterMark","defaultHwm","pipes","pipesCount","flowing","ended","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","ranOut","awaitDrain","readingMore","_readableState","readable","_read","readableAddChunk","chunk","addToFront","chunkInvalid","emitReadable","onEofChunk","skipAdd","maybeReadMore_","maybeReadMore","needMoreData","isPaused","setEncoding","MAX_HWM","howMuchToRead","computeNewHighWaterMark","emitReadable_","flow","nReadingNextTick","resume_","fromList","hasStrings","nb","copyFromBufferString","copyFromBuffer","fromListPartial","endReadable","endReadableNT","xs","nop","WriteReq","callback","WritableState","getBuffer","writableObjectMode","needDrain","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","_writableState","writecb","writelen","onwriteStateUpdate","pendingcb","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","corkedRequestsFree","CorkedRequest","Writable","_write","writev","_writev","doWrite","onwriteDrain","finishMaybe","holder","prefinish","need","nOrig","doRead","pipe","dest","pipeOpts","endFn","onend","onunpipe","ondrain","pipeOnDrain","cleanedUp","onclose","onfinish","onerror","ondata","increasedAwaitDrain","pause","unpipe","resume","dests","ev","_fromList","writeAfterEnd","valid","validChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","allowHalfOpen","onEndNT","TransformState","afterTransform","ts","_transformState","transforming","writechunk","rs","needTransform","writeencoding","Transform","_transform","flush","_flush","ws","PassThrough","Stream","source","_isStdio","didOnEnd","destroy","require$$1","_functionsHaveNames","hasOwn","objectKeys","pSlice","functionsHaveNames","pToString","arrbuf","assert","fail","ok","regex","func","AssertionError","expected","operator","generatedMessage","truncate","getMessage","stackStartFunction","captureStackTrace","fn_name","next_line","something","rawname","equal","notEqual","deepEqual","_deepEqual","deepStrictEqual","strict","memos","multiline","lastIndex","ignoreCase","Float32Array","Float64Array","actualIndex","actualVisitedObjects","aIsArgs","isArguments","bIsArgs","ka","kb","objEquiv","notDeepEqual","notDeepStrictEqual","strictEqual","notStrictEqual","expectedException","isPrototypeOf","_throws","shouldThrow","_tryBlock","userProvidedMessage","isUnexpectedException","throws","doesNotThrow","ifError","require$$4","zstream","next_in","avail_in","total_in","next_out","avail_out","total_out","data_type","adler","deflate$1","common","exports","TYPED_OK","Int32Array","_has","shrinkBuf","fnTyped","arraySet","src_offs","dest_offs","flattenChunks","chunks","fnUntyped","setTyped","Buf8","Buf16","Buf32","trees$1","utils$3","Z_BINARY","Z_TEXT","zero$1","STORED_BLOCK","LENGTH_CODES$1","LITERALS$1","L_CODES$1","D_CODES$1","BL_CODES$1","HEAP_SIZE$1","MAX_BITS$1","Buf_size","MAX_BL_BITS","END_BLOCK","REP_3_6","REPZ_3_10","REPZ_11_138","extra_lbits","extra_dbits","extra_blbits","bl_order","static_ltree","static_dtree","_dist_code","_length_code","MAX_MATCH$1","base_length","static_l_desc","static_d_desc","static_bl_desc","base_dist","StaticTreeDesc","static_tree","extra_bits","extra_base","elems","max_length","has_stree","TreeDesc","dyn_tree","stat_desc","max_code","d_code","put_short","pending_buf","send_bits","bi_valid","bi_buf","send_code","tree","bi_reverse","gen_codes","bl_count","bits","next_code","init_block","dyn_ltree","dyn_dtree","bl_tree","opt_len","static_len","last_lit","matches","bi_windup","smaller","_n2","_m2","pqdownheap","heap","heap_len","compress_block","ltree","dtree","lc","extra","lx","d_buf","l_buf","build_tree","stree","heap_max","xbits","gen_bitlen","scan_tree","curlen","prevlen","nextlen","max_count","min_count","send_tree","static_init_done","_tr_stored_block","stored_len","copy_block","_tr_init","tr_static_init","l_desc","d_desc","bl_desc","_tr_flush_block","opt_lenb","static_lenb","max_blindex","level","strm","black_mask","detect_data_type","build_bl_tree","strategy","lcodes","dcodes","blcodes","rank","send_all_trees","_tr_tally","lit_bufsize","_tr_align","STATIC_TREES","bi_flush","adler32_1","crcTable","makeTable","configuration_table","crc32_1","crc","utils$2","trees","adler32$1","crc32$1","Z_NO_FLUSH","Z_FINISH$1","Z_OK$1","Z_STREAM_ERROR$1","Z_DEFAULT_COMPRESSION","Z_FIXED","Z_UNKNOWN","Z_DEFLATED$1","MAX_MEM_LEVEL","L_CODES","LITERALS","D_CODES","BL_CODES","HEAP_SIZE","MAX_BITS","MIN_MATCH","MAX_MATCH","MIN_LOOKAHEAD","INIT_STATE","HCRC_STATE","BUSY_STATE","FINISH_STATE","BS_NEED_MORE","BS_BLOCK_DONE","BS_FINISH_STARTED","BS_FINISH_DONE","errorCode","flush_pending","pending_out","flush_block_only","block_start","strstart","put_byte","putShortMSB","read_buf","longest_match","cur_match","chain_length","max_chain_length","scan","best_len","prev_length","nice_match","w_size","_win","wmask","w_mask","strend","scan_end1","scan_end","good_match","match_start","fill_window","more","_w_size","window_size","hash_size","ins_h","hash_shift","hash_mask","deflate_fast","hash_head","bflush","match_length","max_lazy_match","deflate_slow","max_insert","prev_match","match_available","Config","good_length","max_lazy","nice_length","max_chain","DeflateState","pending_buf_size","gzhead","gzindex","last_flush","w_bits","hash_bits","deflateResetKeep","deflateReset","deflateInit2","windowBits","memLevel","max_block_size","max_start","deflateInit","deflateSetHeader","deflate","old_flush","beg","hcrc","comment","os","bstate","deflate_huff","deflate_rle","deflateEnd","deflateSetDictionary","dictionary","avail","tmpDict","dictLength","deflateInfo","inflate$1","utils$1","MAXBITS","lbase","lext","dbase","dext","adler32","crc32","inflate_fast","_in","_out","dmax","wsize","whave","wnext","s_window","hold","lcode","dcode","lmask","dmask","from_source","lencode","distcode","lenbits","distbits","dolen","dodist","sane","inflate_table","lens","lens_index","table_index","work","incr","mask","here_bits","here_op","here_val","sym","curr","drop","huff","base_index","offs","extra_index","LENS","DISTS","Z_OK","Z_STREAM_ERROR","HEAD","TYPE","BAD","ENOUGH_LENS","ENOUGH_DISTS","zswap32","q","InflateState","havedict","check","total","wbits","ncode","nlen","ndist","have","lendyn","distdyn","back","was","inflateResetKeep","inflateReset","inflateReset2","inflateInit2","lenfix","distfix","virgin","fixedtables","updatewindow","inflateInit","inflate","put","last_bits","last_op","last_val","hbuf","inf_leave","xflags","extra_len","inflateEnd","inflateGetHeader","inflateSetDictionary","inflateInfo","constants","Z_PARTIAL_FLUSH","Z_SYNC_FLUSH","Z_FULL_FLUSH","Z_FINISH","Z_BLOCK","Z_TREES","Z_STREAM_END","Z_NEED_DICT","Z_ERRNO","Z_DATA_ERROR","Z_BUF_ERROR","Z_NO_COMPRESSION","Z_BEST_SPEED","Z_BEST_COMPRESSION","Z_FILTERED","Z_HUFFMAN_ONLY","Z_RLE","Z_DEFAULT_STRATEGY","Z_DEFLATED","Zstream","zlib_deflate","zlib_inflate","constants$1","NONE","DEFLATE","INFLATE","GZIP","GUNZIP","DEFLATERAW","INFLATERAW","UNZIP","Zlib","init_done","write_in_progress","pending_close","gzip_id_bytes_read","close","in_off","in_len","out_off","out_len","writeSync","_process","_checkError","_afterSync","_after","next_expected_header_byte","_error","_init","_setDictionary","params","_reset","require$$3","binding$1","util","kRangeErrorMessage","Z_MIN_WINDOWBITS","Z_MAX_WINDOWBITS","Z_DEFAULT_WINDOWBITS","Z_MIN_CHUNK","Z_MAX_CHUNK","Z_DEFAULT_CHUNK","Z_MIN_MEMLEVEL","Z_MAX_MEMLEVEL","Z_DEFAULT_MEMLEVEL","Z_MIN_LEVEL","Z_MAX_LEVEL","Z_DEFAULT_LEVEL","bkeys","bk","bkey","Z_MEM_ERROR","Z_VERSION_ERROR","ckeys","ck","ckey","zlibBuffer","buffers","nread","onEnd","zlibBufferSync","flushFlag","_finishFlushFlag","_processChunk","Deflate","Inflate","Gzip","Gunzip","DeflateRaw","InflateRaw","Unzip","isValidFlushFlag","_opts","_chunkSize","chunkSize","finishFlush","_flushFlag","_handle","_hadError","errno","_close","_buffer","_offset","_level","_strategy","emitCloseNT","createDeflate","createInflate","createDeflateRaw","createInflateRaw","createGzip","createGunzip","createUnzip","deflateSync","gzip","gzipSync","deflateRaw","deflateRawSync","unzip","unzipSync","inflateSync","gunzip","gunzipSync","inflateRaw","inflateRawSync","kind","_this2","availInBefore","availOutBefore","inOff","req","availInAfter","availOutAfter","newReq","zlib","PNG","palette","imgData","transparency","readUInt32","section","colorType","compressionMethod","filterMethod","interlaceMethod","indexed","grayscale","rgb","hasAlphaChannel","pixelBitlength","colorSpace","_proto","decodePixels","pixelBytes","pixels","pass","x0","y0","singlePass","scanlineLength","col","upper","paeth","upperLeft","pa","pb","pc","pixelsPos","bufferPos","decodePalette","copyToImageData","imageData","_decodedPalette","Buffer$2","from$1","toHex$1","commonjsGlobal","globalThis","readableBrowser","_registry","noop$2","once$2","browser$1$1","require$$1$1","streamBrowser","inherits$3","deprecate$1","pad$1","buffer_list","hasRequiredBuffer_list","emitErrorAndCloseNT","emitErrorNT","emitClose","destroy_1","readableDestroyed","destroyed","writableDestroyed","_destroy","undestroy","finalCalled","errorOrDestroy","rState","wState","autoDestroy","errorsBrowser","createErrorType","NodeError","_Base","subClass","superClass","oneOf","thing","determiner","search","this_len","endsWith","ERR_INVALID_OPT_VALUE","getHighWaterMark","duplexKey","isDuplex","highWaterMarkFrom","StringDecoder$1","require$$10","ERR_STREAM_PREMATURE_CLOSE","noop$1","async_iterator","hasRequiredAsync_iterator","fromBrowser","hasRequiredFromBrowser","endOfStream","eos$1","called","once$1","onlegacyfinish","writableEnded","readableEnded","onrequest","setHeader","abort","isRequest$1","requireAsync_iterator","_Object$setPrototypeO","_defineProperty","kLastResolve","kLastReject","kError","kEnded","kLastPromise","kHandlePromise","kStream","createIterResult","readAndResolve","iter","onReadable","AsyncIteratorPrototype","ReadableStreamAsyncIteratorPrototype","lastPromise","wrapForNext","_Object$create","Registry$4","EElistenerCount","Stream$1","Buffer$1","OurUint8Array$1","debugUtil","createReadableStreamAsyncIterator","enumerableOnly","symbols","_defineProperties","copyBuffer","Constructor","_classCallCheck","protoProps","staticProps","_getString","_getBuffer","_objectSpread","requireBuffer_list","destroyImpl$1","getHighWaterMark$1","_require$codes$3","ERR_INVALID_ARG_TYPE$1","ERR_INVALID_ARG_TYPE","ERR_STREAM_PUSH_AFTER_EOF","ERR_METHOD_NOT_IMPLEMENTED$2","ERR_METHOD_NOT_IMPLEMENTED","ERR_STREAM_UNSHIFT_AFTER_END_EVENT","errorOrDestroy$1","kProxyEvents","skipChunkCheck","_uint8ArrayToBuffer$1","addChunk","_undestroy","updateReadableListening","consume","stdout","stderr","unpipeInfo","hasUnpiped","localStorage","Registry$3","corkReq","onCorkedFinish","internalUtil","OurUint8Array","realHasInstance","destroyImpl","_require$codes$2","ERR_METHOD_NOT_IMPLEMENTED$1","ERR_MULTIPLE_CALLBACK$1","ERR_MULTIPLE_CALLBACK","ERR_STREAM_CANNOT_PIPE","ERR_STREAM_DESTROYED$1","ERR_STREAM_DESTROYED","ERR_STREAM_NULL_VALUES","ERR_STREAM_WRITE_AFTER_END","ERR_UNKNOWN_ENCODING","final","_final","allBuffers","isBuf","callFinal","prefinish$1","hasInstance","Function","_uint8ArrayToBuffer","newChunk","objectKeys$1","Registry$2","Registry$1","Transform$1","_require$codes$1","ERR_TRANSFORM_ALREADY_TRANSFORMING","ERR_TRANSFORM_WITH_LENGTH_0","err2","Registry","eos","_require$codes","ERR_MISSING_ARGS","to","pipeline_1","streams","popCallback","destroys","closed","isRequest","destroyer","module","pipeline","readableBrowserExports","require$$1$2","require$$2","require$$3$1","require$$4$1","PDFReference","document","finalize","gen","compress","Filter","uncompressedLength","initDeflate","Length","PDFObject$1","convert","_refEnd","PDFTree","limits","sortedKeys","_compareKeys","_dataForKey","_keysName","PDFNameTree","localeCompare","escapableRe","escapable","PDFObject","isUnicode","buff","swapBytes","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","number","DEFAULT_MARGINS","SIZES","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","A10","B0","B1","B2","B3","B4","B5","B6","B7","B8","B9","B10","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","C10","RA0","RA1","RA2","RA3","RA4","SRA0","SRA1","SRA2","SRA3","SRA4","EXECUTIVE","FOLIO","LEGAL","LETTER","TABLOID","PDFPage","margins","dimensions","resources","ProcSet","Type","Parent","_root","Pages","MediaBox","Contents","Resources","UserUnit","markings","xobjects","XObject","ext_gstates","ExtGState","patterns","Pattern","colorSpaces","ColorSpace","annotations","Annots","structParentTreeKey","StructParents","createStructParentTreeNextKey","PDFSecurity","generateFileID","infoStr","CreationDate","wordArray","sigBytes","words","wordArrayToBuffer","MD5","number$2","PDFGradient$1","stops","embedded","_normalizeColor","_colorSpace","setTransform","m11","m12","m21","m22","embed","stopsLength","matrix","FunctionType","Domain","Functions","Bounds","Encode","_gradCount","shader","pattern","PatternType","Shading","Matrix","opacityGradient","pageBBox","Subtype","FormType","BBox","Group","S","CS","Sh1","gstate","SMask","opacityPattern","PaintType","TilingType","XStep","YStep","Gs1","_ctm","_setColorSpace","addContent","Gradient","PDFGradient","PDFLinearGradient","ShadingType","Coords","Extend","PDFRadialGradient","r1","r2","underlyingColorSpaces","PDFTilingPattern","bBox","xStep","yStep","createPattern","toFixed","embedPatternColorSpaces","csName","csId","getPatternColorSpaceId","cs","underlyingColorspace","_patternCount","patternColor","normalizedColor","_getColorSpace","ColorMixin","initColor","_opacityRegistry","_opacityCount","namedColors","part","_setColor","_setColorCore","_fillColor","_doOpacity","ca","CA","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","sx","sy","argsCountPerCommand","Z","z","Q","T","isCommand","isWsp","codePointAt","isDigit","readNumber","runners","solveArc","rot","large","sweep","ex","ey","segs","arcToSegments","bez","segmentToBezier","rotateX","th","sin_th","cos_th","pl","a00","a01","a10","a11","sfactor_sq","sfactor","xc","yc","th0","atan2","th_arc","th2","th3","th1","th_half","x3","y3","SVGPath","pathData","argsCount","canHaveComma","hadComma","newCursor","parsePathData","number$1","VectorMixin","initVector","_ctmStack","_CAP_STYLES","BUTT","ROUND","SQUARE","_JOIN_STYLES","MITER","BEVEL","miterLimit","originalLength","cpx","cpy","roundedRect","ellipse","radius","arc","startAngle","endAngle","anticlockwise","TWO_PI","HALF_PI","deltaAng","numSegs","segAng","handleLen","curAng","deltaCx","deltaCy","ax","ay","segIdx","polygon","_windingRule","isFillRule","rad","xFactor","yFactor","fs","WIN_ANSI_MAP","AFMFont","filename","fromJson","json","contents","glyphWidths","kernPairs","charWidths","inclusive","ascending","FontBBox","Ascender","Descender","XHeight","CapHeight","encodeText","asc","char","characterToGlyph","character","widthOfGlyph","getKernPair","advancesForGlyphs","initFont","STANDARD_FONTS","fromEntries","expandData","Comment","Weight","ItalicAngle","IsFixedPitch","CharacterSet","UnderlinePosition","UnderlineThickness","Version","Notice","EncodingScheme","StdHW","StdVW","exclam","quotedbl","numbersign","dollar","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","greater","question","at","B","D","E","F","I","J","K","O","R","U","W","Y","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","Idieresis","eacute","abreve","uhungarumlaut","ecaron","Ydieresis","divide","Yacute","Acircumflex","aacute","Ucircumflex","yacute","scommaaccent","ecircumflex","Uring","Udieresis","aogonek","Uacute","uogonek","Edieresis","Dcroat","commaaccent","Emacron","ccaron","aring","Ncommaaccent","lacute","agrave","Tcommaaccent","Cacute","atilde","Edotaccent","scaron","scedilla","iacute","lozenge","Rcaron","Gcommaaccent","ucircumflex","acircumflex","Amacron","rcaron","ccedilla","Zdotaccent","Thorn","Omacron","Racute","Sacute","dcaron","Umacron","uring","threesuperior","Ograve","Agrave","Abreve","multiply","uacute","Tcaron","partialdiff","ydieresis","Nacute","icircumflex","Ecircumflex","adieresis","edieresis","cacute","nacute","umacron","Ncaron","Iacute","plusminus","brokenbar","registered","Gbreve","Idotaccent","summation","Egrave","racute","omacron","Zacute","Zcaron","greaterequal","Eth","Ccedilla","lcommaaccent","tcaron","eogonek","Uogonek","Aacute","Adieresis","egrave","zacute","iogonek","Oacute","oacute","amacron","sacute","idieresis","Ocircumflex","Ugrave","Delta","thorn","twosuperior","Odieresis","mu","igrave","ohungarumlaut","Eogonek","dcroat","threequarters","Scedilla","lcaron","Kcommaaccent","Lacute","trademark","edotaccent","Igrave","Imacron","Lcaron","onehalf","lessequal","ocircumflex","ntilde","Uhungarumlaut","Eacute","emacron","gbreve","onequarter","Scaron","Scommaaccent","Ohungarumlaut","degree","ograve","Ccaron","ugrave","radical","Dcaron","rcommaaccent","Ntilde","otilde","Rcommaaccent","Lcommaaccent","Atilde","Aogonek","Aring","Otilde","zdotaccent","Ecaron","Iogonek","kcommaaccent","minus","Icircumflex","ncaron","tcommaaccent","logicalnot","odieresis","udieresis","notequal","gcommaaccent","eth","zcaron","ncommaaccent","onesuperior","imacron","Euro","AC","ACacute","ACcaron","ACcedilla","AG","AGbreve","AGcommaaccent","AO","AOacute","AOcircumflex","AOdieresis","AOgrave","AOhungarumlaut","AOmacron","AOslash","AOtilde","AQ","AT","ATcaron","ATcommaaccent","AU","AUacute","AUcircumflex","AUdieresis","AUgrave","AUhungarumlaut","AUmacron","AUogonek","AUring","AV","AW","AY","AYacute","AYdieresis","Au","Auacute","Aucircumflex","Audieresis","Augrave","Auhungarumlaut","Aumacron","Auogonek","Auring","Av","Aw","Ay","Ayacute","Aydieresis","AacuteC","AacuteCacute","AacuteCcaron","AacuteCcedilla","AacuteG","AacuteGbreve","AacuteGcommaaccent","AacuteO","AacuteOacute","AacuteOcircumflex","AacuteOdieresis","AacuteOgrave","AacuteOhungarumlaut","AacuteOmacron","AacuteOslash","AacuteOtilde","AacuteQ","AacuteT","AacuteTcaron","AacuteTcommaaccent","AacuteU","AacuteUacute","AacuteUcircumflex","AacuteUdieresis","AacuteUgrave","AacuteUhungarumlaut","AacuteUmacron","AacuteUogonek","AacuteUring","AacuteV","AacuteW","AacuteY","AacuteYacute","AacuteYdieresis","Aacuteu","Aacuteuacute","Aacuteucircumflex","Aacuteudieresis","Aacuteugrave","Aacuteuhungarumlaut","Aacuteumacron","Aacuteuogonek","Aacuteuring","Aacutev","Aacutew","Aacutey","Aacuteyacute","Aacuteydieresis","AbreveC","AbreveCacute","AbreveCcaron","AbreveCcedilla","AbreveG","AbreveGbreve","AbreveGcommaaccent","AbreveO","AbreveOacute","AbreveOcircumflex","AbreveOdieresis","AbreveOgrave","AbreveOhungarumlaut","AbreveOmacron","AbreveOslash","AbreveOtilde","AbreveQ","AbreveT","AbreveTcaron","AbreveTcommaaccent","AbreveU","AbreveUacute","AbreveUcircumflex","AbreveUdieresis","AbreveUgrave","AbreveUhungarumlaut","AbreveUmacron","AbreveUogonek","AbreveUring","AbreveV","AbreveW","AbreveY","AbreveYacute","AbreveYdieresis","Abreveu","Abreveuacute","Abreveucircumflex","Abreveudieresis","Abreveugrave","Abreveuhungarumlaut","Abreveumacron","Abreveuogonek","Abreveuring","Abrevev","Abrevew","Abrevey","Abreveyacute","Abreveydieresis","AcircumflexC","AcircumflexCacute","AcircumflexCcaron","AcircumflexCcedilla","AcircumflexG","AcircumflexGbreve","AcircumflexGcommaaccent","AcircumflexO","AcircumflexOacute","AcircumflexOcircumflex","AcircumflexOdieresis","AcircumflexOgrave","AcircumflexOhungarumlaut","AcircumflexOmacron","AcircumflexOslash","AcircumflexOtilde","AcircumflexQ","AcircumflexT","AcircumflexTcaron","AcircumflexTcommaaccent","AcircumflexU","AcircumflexUacute","AcircumflexUcircumflex","AcircumflexUdieresis","AcircumflexUgrave","AcircumflexUhungarumlaut","AcircumflexUmacron","AcircumflexUogonek","AcircumflexUring","AcircumflexV","AcircumflexW","AcircumflexY","AcircumflexYacute","AcircumflexYdieresis","Acircumflexu","Acircumflexuacute","Acircumflexucircumflex","Acircumflexudieresis","Acircumflexugrave","Acircumflexuhungarumlaut","Acircumflexumacron","Acircumflexuogonek","Acircumflexuring","Acircumflexv","Acircumflexw","Acircumflexy","Acircumflexyacute","Acircumflexydieresis","AdieresisC","AdieresisCacute","AdieresisCcaron","AdieresisCcedilla","AdieresisG","AdieresisGbreve","AdieresisGcommaaccent","AdieresisO","AdieresisOacute","AdieresisOcircumflex","AdieresisOdieresis","AdieresisOgrave","AdieresisOhungarumlaut","AdieresisOmacron","AdieresisOslash","AdieresisOtilde","AdieresisQ","AdieresisT","AdieresisTcaron","AdieresisTcommaaccent","AdieresisU","AdieresisUacute","AdieresisUcircumflex","AdieresisUdieresis","AdieresisUgrave","AdieresisUhungarumlaut","AdieresisUmacron","AdieresisUogonek","AdieresisUring","AdieresisV","AdieresisW","AdieresisY","AdieresisYacute","AdieresisYdieresis","Adieresisu","Adieresisuacute","Adieresisucircumflex","Adieresisudieresis","Adieresisugrave","Adieresisuhungarumlaut","Adieresisumacron","Adieresisuogonek","Adieresisuring","Adieresisv","Adieresisw","Adieresisy","Adieresisyacute","Adieresisydieresis","AgraveC","AgraveCacute","AgraveCcaron","AgraveCcedilla","AgraveG","AgraveGbreve","AgraveGcommaaccent","AgraveO","AgraveOacute","AgraveOcircumflex","AgraveOdieresis","AgraveOgrave","AgraveOhungarumlaut","AgraveOmacron","AgraveOslash","AgraveOtilde","AgraveQ","AgraveT","AgraveTcaron","AgraveTcommaaccent","AgraveU","AgraveUacute","AgraveUcircumflex","AgraveUdieresis","AgraveUgrave","AgraveUhungarumlaut","AgraveUmacron","AgraveUogonek","AgraveUring","AgraveV","AgraveW","AgraveY","AgraveYacute","AgraveYdieresis","Agraveu","Agraveuacute","Agraveucircumflex","Agraveudieresis","Agraveugrave","Agraveuhungarumlaut","Agraveumacron","Agraveuogonek","Agraveuring","Agravev","Agravew","Agravey","Agraveyacute","Agraveydieresis","AmacronC","AmacronCacute","AmacronCcaron","AmacronCcedilla","AmacronG","AmacronGbreve","AmacronGcommaaccent","AmacronO","AmacronOacute","AmacronOcircumflex","AmacronOdieresis","AmacronOgrave","AmacronOhungarumlaut","AmacronOmacron","AmacronOslash","AmacronOtilde","AmacronQ","AmacronT","AmacronTcaron","AmacronTcommaaccent","AmacronU","AmacronUacute","AmacronUcircumflex","AmacronUdieresis","AmacronUgrave","AmacronUhungarumlaut","AmacronUmacron","AmacronUogonek","AmacronUring","AmacronV","AmacronW","AmacronY","AmacronYacute","AmacronYdieresis","Amacronu","Amacronuacute","Amacronucircumflex","Amacronudieresis","Amacronugrave","Amacronuhungarumlaut","Amacronumacron","Amacronuogonek","Amacronuring","Amacronv","Amacronw","Amacrony","Amacronyacute","Amacronydieresis","AogonekC","AogonekCacute","AogonekCcaron","AogonekCcedilla","AogonekG","AogonekGbreve","AogonekGcommaaccent","AogonekO","AogonekOacute","AogonekOcircumflex","AogonekOdieresis","AogonekOgrave","AogonekOhungarumlaut","AogonekOmacron","AogonekOslash","AogonekOtilde","AogonekQ","AogonekT","AogonekTcaron","AogonekTcommaaccent","AogonekU","AogonekUacute","AogonekUcircumflex","AogonekUdieresis","AogonekUgrave","AogonekUhungarumlaut","AogonekUmacron","AogonekUogonek","AogonekUring","AogonekV","AogonekW","AogonekY","AogonekYacute","AogonekYdieresis","Aogoneku","Aogonekuacute","Aogonekucircumflex","Aogonekudieresis","Aogonekugrave","Aogonekuhungarumlaut","Aogonekumacron","Aogonekuogonek","Aogonekuring","Aogonekv","Aogonekw","Aogoneky","Aogonekyacute","Aogonekydieresis","AringC","AringCacute","AringCcaron","AringCcedilla","AringG","AringGbreve","AringGcommaaccent","AringO","AringOacute","AringOcircumflex","AringOdieresis","AringOgrave","AringOhungarumlaut","AringOmacron","AringOslash","AringOtilde","AringQ","AringT","AringTcaron","AringTcommaaccent","AringU","AringUacute","AringUcircumflex","AringUdieresis","AringUgrave","AringUhungarumlaut","AringUmacron","AringUogonek","AringUring","AringV","AringW","AringY","AringYacute","AringYdieresis","Aringu","Aringuacute","Aringucircumflex","Aringudieresis","Aringugrave","Aringuhungarumlaut","Aringumacron","Aringuogonek","Aringuring","Aringv","Aringw","Aringy","Aringyacute","Aringydieresis","AtildeC","AtildeCacute","AtildeCcaron","AtildeCcedilla","AtildeG","AtildeGbreve","AtildeGcommaaccent","AtildeO","AtildeOacute","AtildeOcircumflex","AtildeOdieresis","AtildeOgrave","AtildeOhungarumlaut","AtildeOmacron","AtildeOslash","AtildeOtilde","AtildeQ","AtildeT","AtildeTcaron","AtildeTcommaaccent","AtildeU","AtildeUacute","AtildeUcircumflex","AtildeUdieresis","AtildeUgrave","AtildeUhungarumlaut","AtildeUmacron","AtildeUogonek","AtildeUring","AtildeV","AtildeW","AtildeY","AtildeYacute","AtildeYdieresis","Atildeu","Atildeuacute","Atildeucircumflex","Atildeudieresis","Atildeugrave","Atildeuhungarumlaut","Atildeumacron","Atildeuogonek","Atildeuring","Atildev","Atildew","Atildey","Atildeyacute","Atildeydieresis","BA","BAacute","BAbreve","BAcircumflex","BAdieresis","BAgrave","BAmacron","BAogonek","BAring","BAtilde","BU","BUacute","BUcircumflex","BUdieresis","BUgrave","BUhungarumlaut","BUmacron","BUogonek","BUring","DA","DAacute","DAbreve","DAcircumflex","DAdieresis","DAgrave","DAmacron","DAogonek","DAring","DAtilde","DV","DW","DY","DYacute","DYdieresis","Dcomma","Dperiod","DcaronA","DcaronAacute","DcaronAbreve","DcaronAcircumflex","DcaronAdieresis","DcaronAgrave","DcaronAmacron","DcaronAogonek","DcaronAring","DcaronAtilde","DcaronV","DcaronW","DcaronY","DcaronYacute","DcaronYdieresis","Dcaroncomma","Dcaronperiod","DcroatA","DcroatAacute","DcroatAbreve","DcroatAcircumflex","DcroatAdieresis","DcroatAgrave","DcroatAmacron","DcroatAogonek","DcroatAring","DcroatAtilde","DcroatV","DcroatW","DcroatY","DcroatYacute","DcroatYdieresis","Dcroatcomma","Dcroatperiod","FA","FAacute","FAbreve","FAcircumflex","FAdieresis","FAgrave","FAmacron","FAogonek","FAring","FAtilde","Fa","Faacute","Fabreve","Facircumflex","Fadieresis","Fagrave","Famacron","Faogonek","Faring","Fatilde","Fcomma","Fperiod","JA","JAacute","JAbreve","JAcircumflex","JAdieresis","JAgrave","JAmacron","JAogonek","JAring","JAtilde","Jcomma","Jperiod","Ju","Juacute","Jucircumflex","Judieresis","Jugrave","Juhungarumlaut","Jumacron","Juogonek","Juring","KO","KOacute","KOcircumflex","KOdieresis","KOgrave","KOhungarumlaut","KOmacron","KOslash","KOtilde","Ke","Keacute","Kecaron","Kecircumflex","Kedieresis","Kedotaccent","Kegrave","Kemacron","Keogonek","Ko","Koacute","Kocircumflex","Kodieresis","Kograve","Kohungarumlaut","Komacron","Koslash","Kotilde","Ku","Kuacute","Kucircumflex","Kudieresis","Kugrave","Kuhungarumlaut","Kumacron","Kuogonek","Kuring","Ky","Kyacute","Kydieresis","KcommaaccentO","KcommaaccentOacute","KcommaaccentOcircumflex","KcommaaccentOdieresis","KcommaaccentOgrave","KcommaaccentOhungarumlaut","KcommaaccentOmacron","KcommaaccentOslash","KcommaaccentOtilde","Kcommaaccente","Kcommaaccenteacute","Kcommaaccentecaron","Kcommaaccentecircumflex","Kcommaaccentedieresis","Kcommaaccentedotaccent","Kcommaaccentegrave","Kcommaaccentemacron","Kcommaaccenteogonek","Kcommaaccento","Kcommaaccentoacute","Kcommaaccentocircumflex","Kcommaaccentodieresis","Kcommaaccentograve","Kcommaaccentohungarumlaut","Kcommaaccentomacron","Kcommaaccentoslash","Kcommaaccentotilde","Kcommaaccentu","Kcommaaccentuacute","Kcommaaccentucircumflex","Kcommaaccentudieresis","Kcommaaccentugrave","Kcommaaccentuhungarumlaut","Kcommaaccentumacron","Kcommaaccentuogonek","Kcommaaccenturing","Kcommaaccenty","Kcommaaccentyacute","Kcommaaccentydieresis","LT","LTcaron","LTcommaaccent","LV","LW","LY","LYacute","LYdieresis","Lquotedblright","Lquoteright","Ly","Lyacute","Lydieresis","LacuteT","LacuteTcaron","LacuteTcommaaccent","LacuteV","LacuteW","LacuteY","LacuteYacute","LacuteYdieresis","Lacutequotedblright","Lacutequoteright","Lacutey","Lacuteyacute","Lacuteydieresis","LcommaaccentT","LcommaaccentTcaron","LcommaaccentTcommaaccent","LcommaaccentV","LcommaaccentW","LcommaaccentY","LcommaaccentYacute","LcommaaccentYdieresis","Lcommaaccentquotedblright","Lcommaaccentquoteright","Lcommaaccenty","Lcommaaccentyacute","Lcommaaccentydieresis","LslashT","LslashTcaron","LslashTcommaaccent","LslashV","LslashW","LslashY","LslashYacute","LslashYdieresis","Lslashquotedblright","Lslashquoteright","Lslashy","Lslashyacute","Lslashydieresis","OA","OAacute","OAbreve","OAcircumflex","OAdieresis","OAgrave","OAmacron","OAogonek","OAring","OAtilde","OT","OTcaron","OTcommaaccent","OV","OW","OX","OY","OYacute","OYdieresis","Ocomma","Operiod","OacuteA","OacuteAacute","OacuteAbreve","OacuteAcircumflex","OacuteAdieresis","OacuteAgrave","OacuteAmacron","OacuteAogonek","OacuteAring","OacuteAtilde","OacuteT","OacuteTcaron","OacuteTcommaaccent","OacuteV","OacuteW","OacuteX","OacuteY","OacuteYacute","OacuteYdieresis","Oacutecomma","Oacuteperiod","OcircumflexA","OcircumflexAacute","OcircumflexAbreve","OcircumflexAcircumflex","OcircumflexAdieresis","OcircumflexAgrave","OcircumflexAmacron","OcircumflexAogonek","OcircumflexAring","OcircumflexAtilde","OcircumflexT","OcircumflexTcaron","OcircumflexTcommaaccent","OcircumflexV","OcircumflexW","OcircumflexX","OcircumflexY","OcircumflexYacute","OcircumflexYdieresis","Ocircumflexcomma","Ocircumflexperiod","OdieresisA","OdieresisAacute","OdieresisAbreve","OdieresisAcircumflex","OdieresisAdieresis","OdieresisAgrave","OdieresisAmacron","OdieresisAogonek","OdieresisAring","OdieresisAtilde","OdieresisT","OdieresisTcaron","OdieresisTcommaaccent","OdieresisV","OdieresisW","OdieresisX","OdieresisY","OdieresisYacute","OdieresisYdieresis","Odieresiscomma","Odieresisperiod","OgraveA","OgraveAacute","OgraveAbreve","OgraveAcircumflex","OgraveAdieresis","OgraveAgrave","OgraveAmacron","OgraveAogonek","OgraveAring","OgraveAtilde","OgraveT","OgraveTcaron","OgraveTcommaaccent","OgraveV","OgraveW","OgraveX","OgraveY","OgraveYacute","OgraveYdieresis","Ogravecomma","Ograveperiod","OhungarumlautA","OhungarumlautAacute","OhungarumlautAbreve","OhungarumlautAcircumflex","OhungarumlautAdieresis","OhungarumlautAgrave","OhungarumlautAmacron","OhungarumlautAogonek","OhungarumlautAring","OhungarumlautAtilde","OhungarumlautT","OhungarumlautTcaron","OhungarumlautTcommaaccent","OhungarumlautV","OhungarumlautW","OhungarumlautX","OhungarumlautY","OhungarumlautYacute","OhungarumlautYdieresis","Ohungarumlautcomma","Ohungarumlautperiod","OmacronA","OmacronAacute","OmacronAbreve","OmacronAcircumflex","OmacronAdieresis","OmacronAgrave","OmacronAmacron","OmacronAogonek","OmacronAring","OmacronAtilde","OmacronT","OmacronTcaron","OmacronTcommaaccent","OmacronV","OmacronW","OmacronX","OmacronY","OmacronYacute","OmacronYdieresis","Omacroncomma","Omacronperiod","OslashA","OslashAacute","OslashAbreve","OslashAcircumflex","OslashAdieresis","OslashAgrave","OslashAmacron","OslashAogonek","OslashAring","OslashAtilde","OslashT","OslashTcaron","OslashTcommaaccent","OslashV","OslashW","OslashX","OslashY","OslashYacute","OslashYdieresis","Oslashcomma","Oslashperiod","OtildeA","OtildeAacute","OtildeAbreve","OtildeAcircumflex","OtildeAdieresis","OtildeAgrave","OtildeAmacron","OtildeAogonek","OtildeAring","OtildeAtilde","OtildeT","OtildeTcaron","OtildeTcommaaccent","OtildeV","OtildeW","OtildeX","OtildeY","OtildeYacute","OtildeYdieresis","Otildecomma","Otildeperiod","PA","PAacute","PAbreve","PAcircumflex","PAdieresis","PAgrave","PAmacron","PAogonek","PAring","PAtilde","Pa","Paacute","Pabreve","Pacircumflex","Padieresis","Pagrave","Pamacron","Paogonek","Paring","Patilde","Pcomma","Pe","Peacute","Pecaron","Pecircumflex","Pedieresis","Pedotaccent","Pegrave","Pemacron","Peogonek","Po","Poacute","Pocircumflex","Podieresis","Pograve","Pohungarumlaut","Pomacron","Poslash","Potilde","Pperiod","QU","QUacute","QUcircumflex","QUdieresis","QUgrave","QUhungarumlaut","QUmacron","QUogonek","QUring","Qcomma","Qperiod","RO","ROacute","ROcircumflex","ROdieresis","ROgrave","ROhungarumlaut","ROmacron","ROslash","ROtilde","RT","RTcaron","RTcommaaccent","RU","RUacute","RUcircumflex","RUdieresis","RUgrave","RUhungarumlaut","RUmacron","RUogonek","RUring","RV","RW","RY","RYacute","RYdieresis","RacuteO","RacuteOacute","RacuteOcircumflex","RacuteOdieresis","RacuteOgrave","RacuteOhungarumlaut","RacuteOmacron","RacuteOslash","RacuteOtilde","RacuteT","RacuteTcaron","RacuteTcommaaccent","RacuteU","RacuteUacute","RacuteUcircumflex","RacuteUdieresis","RacuteUgrave","RacuteUhungarumlaut","RacuteUmacron","RacuteUogonek","RacuteUring","RacuteV","RacuteW","RacuteY","RacuteYacute","RacuteYdieresis","RcaronO","RcaronOacute","RcaronOcircumflex","RcaronOdieresis","RcaronOgrave","RcaronOhungarumlaut","RcaronOmacron","RcaronOslash","RcaronOtilde","RcaronT","RcaronTcaron","RcaronTcommaaccent","RcaronU","RcaronUacute","RcaronUcircumflex","RcaronUdieresis","RcaronUgrave","RcaronUhungarumlaut","RcaronUmacron","RcaronUogonek","RcaronUring","RcaronV","RcaronW","RcaronY","RcaronYacute","RcaronYdieresis","RcommaaccentO","RcommaaccentOacute","RcommaaccentOcircumflex","RcommaaccentOdieresis","RcommaaccentOgrave","RcommaaccentOhungarumlaut","RcommaaccentOmacron","RcommaaccentOslash","RcommaaccentOtilde","RcommaaccentT","RcommaaccentTcaron","RcommaaccentTcommaaccent","RcommaaccentU","RcommaaccentUacute","RcommaaccentUcircumflex","RcommaaccentUdieresis","RcommaaccentUgrave","RcommaaccentUhungarumlaut","RcommaaccentUmacron","RcommaaccentUogonek","RcommaaccentUring","RcommaaccentV","RcommaaccentW","RcommaaccentY","RcommaaccentYacute","RcommaaccentYdieresis","TA","TAacute","TAbreve","TAcircumflex","TAdieresis","TAgrave","TAmacron","TAogonek","TAring","TAtilde","TO","TOacute","TOcircumflex","TOdieresis","TOgrave","TOhungarumlaut","TOmacron","TOslash","TOtilde","Ta","Taacute","Tabreve","Tacircumflex","Tadieresis","Tagrave","Tamacron","Taogonek","Taring","Tatilde","Tcolon","Tcomma","Te","Teacute","Tecaron","Tecircumflex","Tedieresis","Tedotaccent","Tegrave","Temacron","Teogonek","Thyphen","To","Toacute","Tocircumflex","Todieresis","Tograve","Tohungarumlaut","Tomacron","Toslash","Totilde","Tperiod","Tr","Tracute","Trcommaaccent","Tsemicolon","Tu","Tuacute","Tucircumflex","Tudieresis","Tugrave","Tuhungarumlaut","Tumacron","Tuogonek","Turing","Tw","Ty","Tyacute","Tydieresis","TcaronA","TcaronAacute","TcaronAbreve","TcaronAcircumflex","TcaronAdieresis","TcaronAgrave","TcaronAmacron","TcaronAogonek","TcaronAring","TcaronAtilde","TcaronO","TcaronOacute","TcaronOcircumflex","TcaronOdieresis","TcaronOgrave","TcaronOhungarumlaut","TcaronOmacron","TcaronOslash","TcaronOtilde","Tcarona","Tcaronaacute","Tcaronabreve","Tcaronacircumflex","Tcaronadieresis","Tcaronagrave","Tcaronamacron","Tcaronaogonek","Tcaronaring","Tcaronatilde","Tcaroncolon","Tcaroncomma","Tcarone","Tcaroneacute","Tcaronecaron","Tcaronecircumflex","Tcaronedieresis","Tcaronedotaccent","Tcaronegrave","Tcaronemacron","Tcaroneogonek","Tcaronhyphen","Tcarono","Tcaronoacute","Tcaronocircumflex","Tcaronodieresis","Tcaronograve","Tcaronohungarumlaut","Tcaronomacron","Tcaronoslash","Tcaronotilde","Tcaronperiod","Tcaronr","Tcaronracute","Tcaronrcommaaccent","Tcaronsemicolon","Tcaronu","Tcaronuacute","Tcaronucircumflex","Tcaronudieresis","Tcaronugrave","Tcaronuhungarumlaut","Tcaronumacron","Tcaronuogonek","Tcaronuring","Tcaronw","Tcarony","Tcaronyacute","Tcaronydieresis","TcommaaccentA","TcommaaccentAacute","TcommaaccentAbreve","TcommaaccentAcircumflex","TcommaaccentAdieresis","TcommaaccentAgrave","TcommaaccentAmacron","TcommaaccentAogonek","TcommaaccentAring","TcommaaccentAtilde","TcommaaccentO","TcommaaccentOacute","TcommaaccentOcircumflex","TcommaaccentOdieresis","TcommaaccentOgrave","TcommaaccentOhungarumlaut","TcommaaccentOmacron","TcommaaccentOslash","TcommaaccentOtilde","Tcommaaccenta","Tcommaaccentaacute","Tcommaaccentabreve","Tcommaaccentacircumflex","Tcommaaccentadieresis","Tcommaaccentagrave","Tcommaaccentamacron","Tcommaaccentaogonek","Tcommaaccentaring","Tcommaaccentatilde","Tcommaaccentcolon","Tcommaaccentcomma","Tcommaaccente","Tcommaaccenteacute","Tcommaaccentecaron","Tcommaaccentecircumflex","Tcommaaccentedieresis","Tcommaaccentedotaccent","Tcommaaccentegrave","Tcommaaccentemacron","Tcommaaccenteogonek","Tcommaaccenthyphen","Tcommaaccento","Tcommaaccentoacute","Tcommaaccentocircumflex","Tcommaaccentodieresis","Tcommaaccentograve","Tcommaaccentohungarumlaut","Tcommaaccentomacron","Tcommaaccentoslash","Tcommaaccentotilde","Tcommaaccentperiod","Tcommaaccentr","Tcommaaccentracute","Tcommaaccentrcommaaccent","Tcommaaccentsemicolon","Tcommaaccentu","Tcommaaccentuacute","Tcommaaccentucircumflex","Tcommaaccentudieresis","Tcommaaccentugrave","Tcommaaccentuhungarumlaut","Tcommaaccentumacron","Tcommaaccentuogonek","Tcommaaccenturing","Tcommaaccentw","Tcommaaccenty","Tcommaaccentyacute","Tcommaaccentydieresis","UA","UAacute","UAbreve","UAcircumflex","UAdieresis","UAgrave","UAmacron","UAogonek","UAring","UAtilde","Ucomma","Uperiod","UacuteA","UacuteAacute","UacuteAbreve","UacuteAcircumflex","UacuteAdieresis","UacuteAgrave","UacuteAmacron","UacuteAogonek","UacuteAring","UacuteAtilde","Uacutecomma","Uacuteperiod","UcircumflexA","UcircumflexAacute","UcircumflexAbreve","UcircumflexAcircumflex","UcircumflexAdieresis","UcircumflexAgrave","UcircumflexAmacron","UcircumflexAogonek","UcircumflexAring","UcircumflexAtilde","Ucircumflexcomma","Ucircumflexperiod","UdieresisA","UdieresisAacute","UdieresisAbreve","UdieresisAcircumflex","UdieresisAdieresis","UdieresisAgrave","UdieresisAmacron","UdieresisAogonek","UdieresisAring","UdieresisAtilde","Udieresiscomma","Udieresisperiod","UgraveA","UgraveAacute","UgraveAbreve","UgraveAcircumflex","UgraveAdieresis","UgraveAgrave","UgraveAmacron","UgraveAogonek","UgraveAring","UgraveAtilde","Ugravecomma","Ugraveperiod","UhungarumlautA","UhungarumlautAacute","UhungarumlautAbreve","UhungarumlautAcircumflex","UhungarumlautAdieresis","UhungarumlautAgrave","UhungarumlautAmacron","UhungarumlautAogonek","UhungarumlautAring","UhungarumlautAtilde","Uhungarumlautcomma","Uhungarumlautperiod","UmacronA","UmacronAacute","UmacronAbreve","UmacronAcircumflex","UmacronAdieresis","UmacronAgrave","UmacronAmacron","UmacronAogonek","UmacronAring","UmacronAtilde","Umacroncomma","Umacronperiod","UogonekA","UogonekAacute","UogonekAbreve","UogonekAcircumflex","UogonekAdieresis","UogonekAgrave","UogonekAmacron","UogonekAogonek","UogonekAring","UogonekAtilde","Uogonekcomma","Uogonekperiod","UringA","UringAacute","UringAbreve","UringAcircumflex","UringAdieresis","UringAgrave","UringAmacron","UringAogonek","UringAring","UringAtilde","Uringcomma","Uringperiod","VA","VAacute","VAbreve","VAcircumflex","VAdieresis","VAgrave","VAmacron","VAogonek","VAring","VAtilde","VG","VGbreve","VGcommaaccent","VO","VOacute","VOcircumflex","VOdieresis","VOgrave","VOhungarumlaut","VOmacron","VOslash","VOtilde","Va","Vaacute","Vabreve","Vacircumflex","Vadieresis","Vagrave","Vamacron","Vaogonek","Varing","Vatilde","Vcolon","Vcomma","Ve","Veacute","Vecaron","Vecircumflex","Vedieresis","Vedotaccent","Vegrave","Vemacron","Veogonek","Vhyphen","Vo","Voacute","Vocircumflex","Vodieresis","Vograve","Vohungarumlaut","Vomacron","Voslash","Votilde","Vperiod","Vsemicolon","Vu","Vuacute","Vucircumflex","Vudieresis","Vugrave","Vuhungarumlaut","Vumacron","Vuogonek","Vuring","WA","WAacute","WAbreve","WAcircumflex","WAdieresis","WAgrave","WAmacron","WAogonek","WAring","WAtilde","WO","WOacute","WOcircumflex","WOdieresis","WOgrave","WOhungarumlaut","WOmacron","WOslash","WOtilde","Wa","Waacute","Wabreve","Wacircumflex","Wadieresis","Wagrave","Wamacron","Waogonek","Waring","Watilde","Wcolon","Wcomma","We","Weacute","Wecaron","Wecircumflex","Wedieresis","Wedotaccent","Wegrave","Wemacron","Weogonek","Whyphen","Wo","Woacute","Wocircumflex","Wodieresis","Wograve","Wohungarumlaut","Womacron","Woslash","Wotilde","Wperiod","Wsemicolon","Wu","Wuacute","Wucircumflex","Wudieresis","Wugrave","Wuhungarumlaut","Wumacron","Wuogonek","Wuring","Wy","Wyacute","Wydieresis","YA","YAacute","YAbreve","YAcircumflex","YAdieresis","YAgrave","YAmacron","YAogonek","YAring","YAtilde","YO","YOacute","YOcircumflex","YOdieresis","YOgrave","YOhungarumlaut","YOmacron","YOslash","YOtilde","Ya","Yaacute","Yabreve","Yacircumflex","Yadieresis","Yagrave","Yamacron","Yaogonek","Yaring","Yatilde","Ycolon","Ycomma","Ye","Yeacute","Yecaron","Yecircumflex","Yedieresis","Yedotaccent","Yegrave","Yemacron","Yeogonek","Yo","Yoacute","Yocircumflex","Yodieresis","Yograve","Yohungarumlaut","Yomacron","Yoslash","Yotilde","Yperiod","Ysemicolon","Yu","Yuacute","Yucircumflex","Yudieresis","Yugrave","Yuhungarumlaut","Yumacron","Yuogonek","Yuring","YacuteA","YacuteAacute","YacuteAbreve","YacuteAcircumflex","YacuteAdieresis","YacuteAgrave","YacuteAmacron","YacuteAogonek","YacuteAring","YacuteAtilde","YacuteO","YacuteOacute","YacuteOcircumflex","YacuteOdieresis","YacuteOgrave","YacuteOhungarumlaut","YacuteOmacron","YacuteOslash","YacuteOtilde","Yacutea","Yacuteaacute","Yacuteabreve","Yacuteacircumflex","Yacuteadieresis","Yacuteagrave","Yacuteamacron","Yacuteaogonek","Yacutearing","Yacuteatilde","Yacutecolon","Yacutecomma","Yacutee","Yacuteeacute","Yacuteecaron","Yacuteecircumflex","Yacuteedieresis","Yacuteedotaccent","Yacuteegrave","Yacuteemacron","Yacuteeogonek","Yacuteo","Yacuteoacute","Yacuteocircumflex","Yacuteodieresis","Yacuteograve","Yacuteohungarumlaut","Yacuteomacron","Yacuteoslash","Yacuteotilde","Yacuteperiod","Yacutesemicolon","Yacuteu","Yacuteuacute","Yacuteucircumflex","Yacuteudieresis","Yacuteugrave","Yacuteuhungarumlaut","Yacuteumacron","Yacuteuogonek","Yacuteuring","YdieresisA","YdieresisAacute","YdieresisAbreve","YdieresisAcircumflex","YdieresisAdieresis","YdieresisAgrave","YdieresisAmacron","YdieresisAogonek","YdieresisAring","YdieresisAtilde","YdieresisO","YdieresisOacute","YdieresisOcircumflex","YdieresisOdieresis","YdieresisOgrave","YdieresisOhungarumlaut","YdieresisOmacron","YdieresisOslash","YdieresisOtilde","Ydieresisa","Ydieresisaacute","Ydieresisabreve","Ydieresisacircumflex","Ydieresisadieresis","Ydieresisagrave","Ydieresisamacron","Ydieresisaogonek","Ydieresisaring","Ydieresisatilde","Ydieresiscolon","Ydieresiscomma","Ydieresise","Ydieresiseacute","Ydieresisecaron","Ydieresisecircumflex","Ydieresisedieresis","Ydieresisedotaccent","Ydieresisegrave","Ydieresisemacron","Ydieresiseogonek","Ydieresiso","Ydieresisoacute","Ydieresisocircumflex","Ydieresisodieresis","Ydieresisograve","Ydieresisohungarumlaut","Ydieresisomacron","Ydieresisoslash","Ydieresisotilde","Ydieresisperiod","Ydieresissemicolon","Ydieresisu","Ydieresisuacute","Ydieresisucircumflex","Ydieresisudieresis","Ydieresisugrave","Ydieresisuhungarumlaut","Ydieresisumacron","Ydieresisuogonek","Ydieresisuring","ag","agbreve","agcommaaccent","av","aw","ayacute","aydieresis","aacuteg","aacutegbreve","aacutegcommaaccent","aacutev","aacutew","aacutey","aacuteyacute","aacuteydieresis","abreveg","abrevegbreve","abrevegcommaaccent","abrevev","abrevew","abrevey","abreveyacute","abreveydieresis","acircumflexg","acircumflexgbreve","acircumflexgcommaaccent","acircumflexv","acircumflexw","acircumflexy","acircumflexyacute","acircumflexydieresis","adieresisg","adieresisgbreve","adieresisgcommaaccent","adieresisv","adieresisw","adieresisy","adieresisyacute","adieresisydieresis","agraveg","agravegbreve","agravegcommaaccent","agravev","agravew","agravey","agraveyacute","agraveydieresis","amacrong","amacrongbreve","amacrongcommaaccent","amacronv","amacronw","amacrony","amacronyacute","amacronydieresis","aogonekg","aogonekgbreve","aogonekgcommaaccent","aogonekv","aogonekw","aogoneky","aogonekyacute","aogonekydieresis","aringg","aringgbreve","aringgcommaaccent","aringv","aringw","aringy","aringyacute","aringydieresis","atildeg","atildegbreve","atildegcommaaccent","atildev","atildew","atildey","atildeyacute","atildeydieresis","bl","blacute","blcommaaccent","blslash","bu","buacute","bucircumflex","budieresis","bugrave","buhungarumlaut","bumacron","buogonek","buring","bv","by","byacute","bydieresis","ckcommaaccent","cl","clacute","clcommaaccent","clslash","cyacute","cydieresis","cacuteh","cacutek","cacutekcommaaccent","cacutel","cacutelacute","cacutelcommaaccent","cacutelslash","cacutey","cacuteyacute","cacuteydieresis","ccaronh","ccaronk","ccaronkcommaaccent","ccaronl","ccaronlacute","ccaronlcommaaccent","ccaronlslash","ccarony","ccaronyacute","ccaronydieresis","ccedillah","ccedillak","ccedillakcommaaccent","ccedillal","ccedillalacute","ccedillalcommaaccent","ccedillalslash","ccedillay","ccedillayacute","ccedillaydieresis","colonspace","commaquotedblright","commaquoteright","commaspace","dd","ddcroat","dv","dw","dyacute","dydieresis","dcroatd","dcroatdcroat","dcroatv","dcroatw","dcroaty","dcroatyacute","dcroatydieresis","ecomma","eperiod","ew","eyacute","eydieresis","eacutecomma","eacuteperiod","eacutev","eacutew","eacutex","eacutey","eacuteyacute","eacuteydieresis","ecaroncomma","ecaronperiod","ecaronv","ecaronw","ecaronx","ecarony","ecaronyacute","ecaronydieresis","ecircumflexcomma","ecircumflexperiod","ecircumflexv","ecircumflexw","ecircumflexx","ecircumflexy","ecircumflexyacute","ecircumflexydieresis","edieresiscomma","edieresisperiod","edieresisv","edieresisw","edieresisx","edieresisy","edieresisyacute","edieresisydieresis","edotaccentcomma","edotaccentperiod","edotaccentv","edotaccentw","edotaccentx","edotaccenty","edotaccentyacute","edotaccentydieresis","egravecomma","egraveperiod","egravev","egravew","egravex","egravey","egraveyacute","egraveydieresis","emacroncomma","emacronperiod","emacronv","emacronw","emacronx","emacrony","emacronyacute","emacronydieresis","eogonekcomma","eogonekperiod","eogonekv","eogonekw","eogonekx","eogoneky","eogonekyacute","eogonekydieresis","fcomma","fe","feacute","fecaron","fecircumflex","fedieresis","fedotaccent","fegrave","femacron","feogonek","fo","foacute","focircumflex","fodieresis","fograve","fohungarumlaut","fomacron","foslash","fotilde","fperiod","fquotedblright","fquoteright","ge","geacute","gecaron","gecircumflex","gedieresis","gedotaccent","gegrave","gemacron","geogonek","gg","ggbreve","ggcommaaccent","gbrevee","gbreveeacute","gbreveecaron","gbreveecircumflex","gbreveedieresis","gbreveedotaccent","gbreveegrave","gbreveemacron","gbreveeogonek","gbreveg","gbrevegbreve","gbrevegcommaaccent","gcommaaccente","gcommaaccenteacute","gcommaaccentecaron","gcommaaccentecircumflex","gcommaaccentedieresis","gcommaaccentedotaccent","gcommaaccentegrave","gcommaaccentemacron","gcommaaccenteogonek","gcommaaccentg","gcommaaccentgbreve","gcommaaccentgcommaaccent","hy","hyacute","hydieresis","ko","koacute","kocircumflex","kodieresis","kograve","kohungarumlaut","komacron","koslash","kotilde","kcommaaccento","kcommaaccentoacute","kcommaaccentocircumflex","kcommaaccentodieresis","kcommaaccentograve","kcommaaccentohungarumlaut","kcommaaccentomacron","kcommaaccentoslash","kcommaaccentotilde","lw","ly","lyacute","lydieresis","lacutew","lacutey","lacuteyacute","lacuteydieresis","lcommaaccentw","lcommaaccenty","lcommaaccentyacute","lcommaaccentydieresis","lslashw","lslashy","lslashyacute","lslashydieresis","muacute","mucircumflex","mudieresis","mugrave","muhungarumlaut","mumacron","muogonek","muring","my","myacute","mydieresis","nu","nuacute","nucircumflex","nudieresis","nugrave","nuhungarumlaut","numacron","nuogonek","nuring","nv","ny","nyacute","nydieresis","nacuteu","nacuteuacute","nacuteucircumflex","nacuteudieresis","nacuteugrave","nacuteuhungarumlaut","nacuteumacron","nacuteuogonek","nacuteuring","nacutev","nacutey","nacuteyacute","nacuteydieresis","ncaronu","ncaronuacute","ncaronucircumflex","ncaronudieresis","ncaronugrave","ncaronuhungarumlaut","ncaronumacron","ncaronuogonek","ncaronuring","ncaronv","ncarony","ncaronyacute","ncaronydieresis","ncommaaccentu","ncommaaccentuacute","ncommaaccentucircumflex","ncommaaccentudieresis","ncommaaccentugrave","ncommaaccentuhungarumlaut","ncommaaccentumacron","ncommaaccentuogonek","ncommaaccenturing","ncommaaccentv","ncommaaccenty","ncommaaccentyacute","ncommaaccentydieresis","ntildeu","ntildeuacute","ntildeucircumflex","ntildeudieresis","ntildeugrave","ntildeuhungarumlaut","ntildeumacron","ntildeuogonek","ntildeuring","ntildev","ntildey","ntildeyacute","ntildeydieresis","ov","ow","oyacute","oydieresis","oacutev","oacutew","oacutex","oacutey","oacuteyacute","oacuteydieresis","ocircumflexv","ocircumflexw","ocircumflexx","ocircumflexy","ocircumflexyacute","ocircumflexydieresis","odieresisv","odieresisw","odieresisx","odieresisy","odieresisyacute","odieresisydieresis","ogravev","ogravew","ogravex","ogravey","ograveyacute","ograveydieresis","ohungarumlautv","ohungarumlautw","ohungarumlautx","ohungarumlauty","ohungarumlautyacute","ohungarumlautydieresis","omacronv","omacronw","omacronx","omacrony","omacronyacute","omacronydieresis","oslashv","oslashw","oslashx","oslashy","oslashyacute","oslashydieresis","otildev","otildew","otildex","otildey","otildeyacute","otildeydieresis","pyacute","pydieresis","periodquotedblright","periodquoteright","periodspace","quotedblrightspace","quoteleftquoteleft","quoterightd","quoterightdcroat","quoterightl","quoterightlacute","quoterightlcommaaccent","quoterightlslash","quoterightquoteright","quoterightr","quoterightracute","quoterightrcaron","quoterightrcommaaccent","quoterights","quoterightsacute","quoterightscaron","quoterightscedilla","quoterightscommaaccent","quoterightspace","quoterightv","rc","rcacute","rccaron","rccedilla","rcomma","rd","rdcroat","rg","rgbreve","rgcommaaccent","rhyphen","ro","roacute","rocircumflex","rodieresis","rograve","rohungarumlaut","romacron","roslash","rotilde","rperiod","rq","rsacute","rscaron","rscedilla","rscommaaccent","rtcommaaccent","rv","ryacute","rydieresis","racutec","racutecacute","racuteccaron","racuteccedilla","racutecomma","racuted","racutedcroat","racuteg","racutegbreve","racutegcommaaccent","racutehyphen","racuteo","racuteoacute","racuteocircumflex","racuteodieresis","racuteograve","racuteohungarumlaut","racuteomacron","racuteoslash","racuteotilde","racuteperiod","racuteq","racutes","racutesacute","racutescaron","racutescedilla","racutescommaaccent","racutet","racutetcommaaccent","racutev","racutey","racuteyacute","racuteydieresis","rcaronc","rcaroncacute","rcaronccaron","rcaronccedilla","rcaroncomma","rcarond","rcarondcroat","rcarong","rcarongbreve","rcarongcommaaccent","rcaronhyphen","rcarono","rcaronoacute","rcaronocircumflex","rcaronodieresis","rcaronograve","rcaronohungarumlaut","rcaronomacron","rcaronoslash","rcaronotilde","rcaronperiod","rcaronq","rcarons","rcaronsacute","rcaronscaron","rcaronscedilla","rcaronscommaaccent","rcaront","rcarontcommaaccent","rcaronv","rcarony","rcaronyacute","rcaronydieresis","rcommaaccentc","rcommaaccentcacute","rcommaaccentccaron","rcommaaccentccedilla","rcommaaccentcomma","rcommaaccentd","rcommaaccentdcroat","rcommaaccentg","rcommaaccentgbreve","rcommaaccentgcommaaccent","rcommaaccenthyphen","rcommaaccento","rcommaaccentoacute","rcommaaccentocircumflex","rcommaaccentodieresis","rcommaaccentograve","rcommaaccentohungarumlaut","rcommaaccentomacron","rcommaaccentoslash","rcommaaccentotilde","rcommaaccentperiod","rcommaaccentq","rcommaaccents","rcommaaccentsacute","rcommaaccentscaron","rcommaaccentscedilla","rcommaaccentscommaaccent","rcommaaccentt","rcommaaccenttcommaaccent","rcommaaccentv","rcommaaccenty","rcommaaccentyacute","rcommaaccentydieresis","sw","sacutew","scaronw","scedillaw","scommaaccentw","semicolonspace","spaceT","spaceTcaron","spaceTcommaaccent","spaceV","spaceW","spaceY","spaceYacute","spaceYdieresis","spacequotedblleft","spacequoteleft","va","vaacute","vabreve","vacircumflex","vadieresis","vagrave","vamacron","vaogonek","varing","vatilde","vcomma","vo","voacute","vocircumflex","vodieresis","vograve","vohungarumlaut","vomacron","voslash","votilde","vperiod","wcomma","wo","woacute","wocircumflex","wodieresis","wograve","wohungarumlaut","womacron","woslash","wotilde","wperiod","xeacute","xecaron","xecircumflex","xedieresis","xedotaccent","xegrave","xemacron","xeogonek","ya","yaacute","yabreve","yacircumflex","yadieresis","yagrave","yamacron","yaogonek","yaring","yatilde","ycomma","yeacute","yecaron","yecircumflex","yedieresis","yedotaccent","yegrave","yemacron","yeogonek","yo","yoacute","yocircumflex","yodieresis","yograve","yohungarumlaut","yomacron","yoslash","yotilde","yperiod","yacutea","yacuteaacute","yacuteabreve","yacuteacircumflex","yacuteadieresis","yacuteagrave","yacuteamacron","yacuteaogonek","yacutearing","yacuteatilde","yacutecomma","yacutee","yacuteeacute","yacuteecaron","yacuteecircumflex","yacuteedieresis","yacuteedotaccent","yacuteegrave","yacuteemacron","yacuteeogonek","yacuteo","yacuteoacute","yacuteocircumflex","yacuteodieresis","yacuteograve","yacuteohungarumlaut","yacuteomacron","yacuteoslash","yacuteotilde","yacuteperiod","ydieresisa","ydieresisaacute","ydieresisabreve","ydieresisacircumflex","ydieresisadieresis","ydieresisagrave","ydieresisamacron","ydieresisaogonek","ydieresisaring","ydieresisatilde","ydieresiscomma","ydieresise","ydieresiseacute","ydieresisecaron","ydieresisecircumflex","ydieresisedieresis","ydieresisedotaccent","ydieresisegrave","ydieresisemacron","ydieresiseogonek","ydieresiso","ydieresisoacute","ydieresisocircumflex","ydieresisodieresis","ydieresisograve","ydieresisohungarumlaut","ydieresisomacron","ydieresisoslash","ydieresisotilde","ydieresisperiod","ze","zeacute","zecaron","zecircumflex","zedieresis","zedotaccent","zegrave","zemacron","zeogonek","zacutee","zacuteeacute","zacuteecaron","zacuteecircumflex","zacuteedieresis","zacuteedotaccent","zacuteegrave","zacuteemacron","zacuteeogonek","zcarone","zcaroneacute","zcaronecaron","zcaronecircumflex","zcaronedieresis","zcaronedotaccent","zcaronegrave","zcaronemacron","zcaroneogonek","zdotaccente","zdotaccenteacute","zdotaccentecaron","zdotaccentecircumflex","zdotaccentedieresis","zdotaccentedotaccent","zdotaccentegrave","zdotaccentemacron","zdotaccenteogonek","Bcomma","Bperiod","Ccomma","Cperiod","Cacutecomma","Cacuteperiod","Ccaroncomma","Ccaronperiod","Ccedillacomma","Ccedillaperiod","Fe","Feacute","Fecaron","Fecircumflex","Fedieresis","Fedotaccent","Fegrave","Femacron","Feogonek","Fo","Foacute","Focircumflex","Fodieresis","Fograve","Fohungarumlaut","Fomacron","Foslash","Fotilde","Fr","Fracute","Frcaron","Frcommaaccent","Ja","Jaacute","Jabreve","Jacircumflex","Jadieresis","Jagrave","Jamacron","Jaogonek","Jaring","Jatilde","LcaronT","LcaronTcaron","LcaronTcommaaccent","LcaronV","LcaronW","LcaronY","LcaronYacute","LcaronYdieresis","Lcaronquotedblright","Lcaronquoteright","Lcarony","Lcaronyacute","Lcaronydieresis","Scomma","Speriod","Sacutecomma","Sacuteperiod","Scaroncomma","Scaronperiod","Scedillacomma","Scedillaperiod","Scommaaccentcomma","Scommaaccentperiod","Trcaron","Tcaronrcaron","Tcommaaccentrcaron","Yhyphen","Yiacute","Yiogonek","Yacutehyphen","Yacutei","Yacuteiacute","Yacuteiogonek","Ydieresishyphen","Ydieresisi","Ydieresisiacute","Ydieresisiogonek","bb","bcomma","bperiod","ccomma","cacutecomma","ccaroncomma","ccedillacomma","fa","faacute","fabreve","facircumflex","fadieresis","fagrave","famacron","faogonek","faring","fatilde","fdotlessi","gracute","grcaron","grcommaaccent","gbrever","gbreveracute","gbrevercaron","gbrevercommaaccent","gcommaaccentr","gcommaaccentracute","gcommaaccentrcaron","gcommaaccentrcommaaccent","ke","keacute","kecaron","kecircumflex","kedieresis","kedotaccent","kegrave","kemacron","keogonek","kcommaaccente","kcommaaccenteacute","kcommaaccentecaron","kcommaaccentecircumflex","kcommaaccentedieresis","kcommaaccentedotaccent","kcommaaccentegrave","kcommaaccentemacron","kcommaaccenteogonek","ocomma","operiod","oacutecomma","oacuteperiod","ocircumflexcomma","ocircumflexperiod","odieresiscomma","odieresisperiod","ogravecomma","ograveperiod","ohungarumlautcomma","ohungarumlautperiod","omacroncomma","omacronperiod","oslasha","oslashaacute","oslashabreve","oslashacircumflex","oslashadieresis","oslashagrave","oslashamacron","oslashaogonek","oslasharing","oslashatilde","oslashb","oslashc","oslashcacute","oslashccaron","oslashccedilla","oslashcomma","oslashd","oslashdcroat","oslashe","oslasheacute","oslashecaron","oslashecircumflex","oslashedieresis","oslashedotaccent","oslashegrave","oslashemacron","oslasheogonek","oslashf","oslashg","oslashgbreve","oslashgcommaaccent","oslashh","oslashi","oslashiacute","oslashicircumflex","oslashidieresis","oslashigrave","oslashimacron","oslashiogonek","oslashj","oslashk","oslashkcommaaccent","oslashl","oslashlacute","oslashlcommaaccent","oslashlslash","oslashm","oslashn","oslashnacute","oslashncaron","oslashncommaaccent","oslashntilde","oslasho","oslashoacute","oslashocircumflex","oslashodieresis","oslashograve","oslashohungarumlaut","oslashomacron","oslashoslash","oslashotilde","oslashp","oslashperiod","oslashq","oslashr","oslashracute","oslashrcaron","oslashrcommaaccent","oslashs","oslashsacute","oslashscaron","oslashscedilla","oslashscommaaccent","oslasht","oslashtcommaaccent","oslashu","oslashuacute","oslashucircumflex","oslashudieresis","oslashugrave","oslashuhungarumlaut","oslashumacron","oslashuogonek","oslashuring","oslashz","oslashzacute","oslashzcaron","oslashzdotaccent","otildecomma","otildeperiod","pcomma","pperiod","ra","raacute","rabreve","racircumflex","radieresis","ragrave","ramacron","raogonek","raring","ratilde","rcolon","ri","riacute","ricircumflex","ridieresis","rigrave","rimacron","riogonek","rk","rkcommaaccent","rl","rlacute","rlcommaaccent","rlslash","rm","rn","rnacute","rncaron","rncommaaccent","rntilde","rp","rsemicolon","ru","ruacute","rucircumflex","rudieresis","rugrave","ruhungarumlaut","rumacron","ruogonek","ruring","racutea","racuteaacute","racuteabreve","racuteacircumflex","racuteadieresis","racuteagrave","racuteamacron","racuteaogonek","racutearing","racuteatilde","racutecolon","racutei","racuteiacute","racuteicircumflex","racuteidieresis","racuteigrave","racuteimacron","racuteiogonek","racutek","racutekcommaaccent","racutel","racutelacute","racutelcommaaccent","racutelslash","racutem","racuten","racutenacute","racutencaron","racutencommaaccent","racutentilde","racutep","racutesemicolon","racuteu","racuteuacute","racuteucircumflex","racuteudieresis","racuteugrave","racuteuhungarumlaut","racuteumacron","racuteuogonek","racuteuring","rcarona","rcaronaacute","rcaronabreve","rcaronacircumflex","rcaronadieresis","rcaronagrave","rcaronamacron","rcaronaogonek","rcaronaring","rcaronatilde","rcaroncolon","rcaroni","rcaroniacute","rcaronicircumflex","rcaronidieresis","rcaronigrave","rcaronimacron","rcaroniogonek","rcaronk","rcaronkcommaaccent","rcaronl","rcaronlacute","rcaronlcommaaccent","rcaronlslash","rcaronm","rcaronn","rcaronnacute","rcaronncaron","rcaronncommaaccent","rcaronntilde","rcaronp","rcaronsemicolon","rcaronu","rcaronuacute","rcaronucircumflex","rcaronudieresis","rcaronugrave","rcaronuhungarumlaut","rcaronumacron","rcaronuogonek","rcaronuring","rcommaaccenta","rcommaaccentaacute","rcommaaccentabreve","rcommaaccentacircumflex","rcommaaccentadieresis","rcommaaccentagrave","rcommaaccentamacron","rcommaaccentaogonek","rcommaaccentaring","rcommaaccentatilde","rcommaaccentcolon","rcommaaccenti","rcommaaccentiacute","rcommaaccenticircumflex","rcommaaccentidieresis","rcommaaccentigrave","rcommaaccentimacron","rcommaaccentiogonek","rcommaaccentk","rcommaaccentkcommaaccent","rcommaaccentl","rcommaaccentlacute","rcommaaccentlcommaaccent","rcommaaccentlslash","rcommaaccentm","rcommaaccentn","rcommaaccentnacute","rcommaaccentncaron","rcommaaccentncommaaccent","rcommaaccentntilde","rcommaaccentp","rcommaaccentsemicolon","rcommaaccentu","rcommaaccentuacute","rcommaaccentucircumflex","rcommaaccentudieresis","rcommaaccentugrave","rcommaaccentuhungarumlaut","rcommaaccentumacron","rcommaaccentuogonek","rcommaaccenturing","scomma","speriod","sacutecomma","sacuteperiod","scaroncomma","scaronperiod","scedillacomma","scedillaperiod","scommaaccentcomma","scommaaccentperiod","ve","veacute","vecaron","vecircumflex","vedieresis","vedotaccent","vegrave","vemacron","veogonek","wa","waacute","wabreve","wacircumflex","wadieresis","wagrave","wamacron","waogonek","waring","watilde","we","weacute","wecaron","wecircumflex","wedieresis","wedotaccent","wegrave","wemacron","weogonek","zo","zoacute","zocircumflex","zodieresis","zograve","zohungarumlaut","zomacron","zoslash","zotilde","zacuteo","zacuteoacute","zacuteocircumflex","zacuteodieresis","zacuteograve","zacuteohungarumlaut","zacuteomacron","zacuteoslash","zacuteotilde","zcarono","zcaronoacute","zcaronocircumflex","zcaronodieresis","zcaronograve","zcaronohungarumlaut","zcaronomacron","zcaronoslash","zcaronotilde","zdotaccento","zdotaccentoacute","zdotaccentocircumflex","zdotaccentodieresis","zdotaccentograve","zdotaccentohungarumlaut","zdotaccentomacron","zdotaccentoslash","zdotaccentotilde","Ap","Aquoteright","Aacutep","Aacutequoteright","Abrevep","Abrevequoteright","Acircumflexp","Acircumflexquoteright","Adieresisp","Adieresisquoteright","Agravep","Agravequoteright","Amacronp","Amacronquoteright","Aogonekp","Aogonekquoteright","Aringp","Aringquoteright","Atildep","Atildequoteright","Je","Jeacute","Jecaron","Jecircumflex","Jedieresis","Jedotaccent","Jegrave","Jemacron","Jeogonek","Jo","Joacute","Jocircumflex","Jodieresis","Jograve","Johungarumlaut","Jomacron","Joslash","Jotilde","NA","NAacute","NAbreve","NAcircumflex","NAdieresis","NAgrave","NAmacron","NAogonek","NAring","NAtilde","NacuteA","NacuteAacute","NacuteAbreve","NacuteAcircumflex","NacuteAdieresis","NacuteAgrave","NacuteAmacron","NacuteAogonek","NacuteAring","NacuteAtilde","NcaronA","NcaronAacute","NcaronAbreve","NcaronAcircumflex","NcaronAdieresis","NcaronAgrave","NcaronAmacron","NcaronAogonek","NcaronAring","NcaronAtilde","NcommaaccentA","NcommaaccentAacute","NcommaaccentAbreve","NcommaaccentAcircumflex","NcommaaccentAdieresis","NcommaaccentAgrave","NcommaaccentAmacron","NcommaaccentAogonek","NcommaaccentAring","NcommaaccentAtilde","NtildeA","NtildeAacute","NtildeAbreve","NtildeAcircumflex","NtildeAdieresis","NtildeAgrave","NtildeAmacron","NtildeAogonek","NtildeAring","NtildeAtilde","Ti","Tiacute","Tiogonek","Tcaroni","Tcaroniacute","Tcaroniogonek","Tcommaaccenti","Tcommaaccentiacute","Tcommaaccentiogonek","Vi","Viacute","Vicircumflex","Vidieresis","Vigrave","Vimacron","Viogonek","Wi","Wiacute","Wiogonek","gperiod","gbreveperiod","gcommaaccentperiod","iv","iacutev","icircumflexv","idieresisv","igravev","imacronv","iogonekv","ky","kyacute","kydieresis","kcommaaccenty","kcommaaccentyacute","kcommaaccentydieresis","quotedblleftA","quotedblleftAacute","quotedblleftAbreve","quotedblleftAcircumflex","quotedblleftAdieresis","quotedblleftAgrave","quotedblleftAmacron","quotedblleftAogonek","quotedblleftAring","quotedblleftAtilde","quoteleftA","quoteleftAacute","quoteleftAbreve","quoteleftAcircumflex","quoteleftAdieresis","quoteleftAgrave","quoteleftAmacron","quoteleftAogonek","quoteleftAring","quoteleftAtilde","reacute","recaron","recircumflex","redieresis","redotaccent","regrave","remacron","reogonek","racutee","racuteeacute","racuteecaron","racuteecircumflex","racuteedieresis","racuteedotaccent","racuteegrave","racuteemacron","racuteeogonek","rcarone","rcaroneacute","rcaronecaron","rcaronecircumflex","rcaronedieresis","rcaronedotaccent","rcaronegrave","rcaronemacron","rcaroneogonek","rcommaaccente","rcommaaccenteacute","rcommaaccentecaron","rcommaaccentecircumflex","rcommaaccentedieresis","rcommaaccentedotaccent","rcommaaccentegrave","rcommaaccentemacron","rcommaaccenteogonek","spaceA","spaceAacute","spaceAbreve","spaceAcircumflex","spaceAdieresis","spaceAgrave","spaceAmacron","spaceAogonek","spaceAring","spaceAtilde","Fi","Fiacute","Ficircumflex","Fidieresis","Figrave","Fimacron","Fiogonek","eb","eacuteb","ecaronb","ecircumflexb","edieresisb","edotaccentb","egraveb","emacronb","eogonekb","ff","quoterightt","quoterighttcommaaccent","Yicircumflex","Yidieresis","Yigrave","Yimacron","Yacuteicircumflex","Yacuteidieresis","Yacuteigrave","Yacuteimacron","Ydieresisicircumflex","Ydieresisidieresis","Ydieresisigrave","Ydieresisimacron","eg","egbreve","egcommaaccent","eacuteg","eacutegbreve","eacutegcommaaccent","ecarong","ecarongbreve","ecarongcommaaccent","ecircumflexg","ecircumflexgbreve","ecircumflexgcommaaccent","edieresisg","edieresisgbreve","edieresisgcommaaccent","edotaccentg","edotaccentgbreve","edotaccentgcommaaccent","egraveg","egravegbreve","egravegcommaaccent","emacrong","emacrongbreve","emacrongcommaaccent","eogonekg","eogonekgbreve","eogonekgcommaaccent","fiogonek","gcomma","gbrevecomma","gcommaaccentcomma","og","ogbreve","ogcommaaccent","oacuteg","oacutegbreve","oacutegcommaaccent","ocircumflexg","ocircumflexgbreve","ocircumflexgcommaaccent","odieresisg","odieresisgbreve","odieresisgcommaaccent","ograveg","ogravegbreve","ogravegcommaaccent","ohungarumlautg","ohungarumlautgbreve","ohungarumlautgcommaaccent","omacrong","omacrongbreve","omacrongcommaaccent","otildeg","otildegbreve","otildegcommaaccent","fiacute","ga","gaacute","gabreve","gacircumflex","gadieresis","gagrave","gamacron","gaogonek","garing","gatilde","gbrevea","gbreveaacute","gbreveabreve","gbreveacircumflex","gbreveadieresis","gbreveagrave","gbreveamacron","gbreveaogonek","gbrevearing","gbreveatilde","gcommaaccenta","gcommaaccentaacute","gcommaaccentabreve","gcommaaccentacircumflex","gcommaaccentadieresis","gcommaaccentagrave","gcommaaccentamacron","gcommaaccentaogonek","gcommaaccentaring","gcommaaccentatilde","PDFFont","StandardFont","isStandardFont","EmbeddedFont","widthOfString","lineHeight","includeGap","BaseFont","encoded","createStandardFont","subset","unicode","layoutCache","layoutRun","layoutCached","onlyWidth","needle","isCFF","fontFile","familyClass","italic","Flags","Ascent","Descent","StemV","FontFile3","FontFile2","descendantFontData","CIDSystemInfo","Ordering","Supplement","FontDescriptor","CIDToGIDMap","descendantFont","DescendantFonts","ToUnicode","toUnicodeCmap","unicodeMap","createEmbeddedFont","FontsMixin","initFonts","_fontFamilies","_fontCount","_registeredFonts","currentLineHeight","registerFont","TextMixin","initText","_line","_lineGap","_text","lineCallback","_initOptions","wordSpacing","addStructure","structParent","structType","markStructureContent","characterSpacing","_textOptions","lineBreak","columnGap","_fragment","hadOffset","addSegment","COLOR_SPACE_MAP","orientation","markers","_JPEG","BitsPerComponent","Width","Height","PNGImage","dataDecoded","isInterlaced","Predictor","Colors","Columns","DecodeParms","Mask","loadIndexedAlphaChannel","splitAlphaChannel","decodeData","alphaChannel","sMask","Decode","colorCount","pixelCount","skipByteCount","colorIndex","PDFImage","readFileSync","ImagesMixin","initImages","_imageRegistry","_imageCount","openImage","bh","bp","bw","ip","left1","rotateAngle","ignoreOrientation","wp","hp","cover","AnnotationsMixin","annotate","_convertRect","Border","Dest","Name","Kids","URI","_markup","QuadPoints","highlight","strike","lineAnnotation","rectAnnotation","ellipseAnnotation","textAnnotation","fileAnnotation","filespec","FS","Desc","PDFOutline","outlineData","endOutline","Count","First","Last","Prev","Next","OutlineMixin","initOutline","Outlines","PageMode","PDFStructureContent","pageRef","mcid","refs","structContent","PDFStructureElement","_attached","_ended","_flushed","_isValidChild","Lang","Alt","ActualText","_children","setParent","setAttached","_addContentToParentTree","_contentForClosure","getStructParentTree","parentRef","closure","endMarkedContent","_isFlushable","_flushChild","Pg","MCID","PDFNumberTree","MarkingsMixin","initMarkings","structChildren","tagged","getMarkInfoDictionary","Marked","getStructTreeRoot","markContent","toClose","marking","attached","Attached","pageStructParents","structElem","structTreeRoot","initPageMarkings","pageMarkings","newStructContent","endPageMarkings","MarkInfo","StructTreeRoot","ParentTree","ParentTreeNextKey","endMarkings","FIELD_FLAGS","required","noExport","password","toggleToOffButton","radioButton","pushButton","combo","edit","multiSelect","noSpell","FIELD_JUSTIFY","VALUE_MAP","FORMAT_SPECIAL","zip","zipPlus4","zip4","phone","ssn","FORMAT_DEFAULT","nDec","sepComma","negStyle","currencyPrepend","AcroFormMixin","initForm","_acroform","defaultFont","Fields","NeedAppearances","DR","AcroForm","endAcroForm","fontDict","fieldRef","_endChild","childRef","formField","fieldDict","_fieldDict","_addToParent","formAnnotation","annotRef","formText","formPushButton","formCombo","formList","formRadioButton","formCheckbox","_resolveType","_resolveFlags","_resolveJustify","_resolveFont","_resolveStrings","_resolveColors","_resolveFormat","FT","fnKeystroke","fnFormat","param","AA","JS","MK","BG","BC","Ff","select","appendChoices","Opt","AttachmentsMixin","refBody","Params","modifiedDate","ModDate","checksum","CryptoJS","WordArray","CheckSum","Size","_fileRegistry","fileSpecBody","EF","UF","description","addNamedEmbeddedFile","PDFMetadata","_metadata","_closeTags","append","xml","newline","getXML","getLength","MetadataMixin","initMetadata","appendXML","_addInfo","toISOString","Creator","Title","Author","Subject","Keywords","endMetadata","metadataRef","Metadata","capitalize","PDFDocument","pdfVersion","_pageBuffer","_pageBufferStart","_offsets","_waiting","Names","Dests","pageLayout","PageLayout","pageMode","Producer","displayTitle","ViewerPreferences","DisplayDocTitle","autoFirstPage","bufferPages","flushPages","EmbeddedFiles","addNamedJavaScript","js","JavaScript","_finalize","_info","xRefOffset","trailer","Root","Info","ID","mixin","methods","flexDefaults","flexAuto","logError","expandBoxModel","_temp","expandsTo","maxValues","autoSupported","model","nodes","parse$1","parseUnit","unit","second","third","fourth","processMargin","processMarginVertical","processMarginHorizontal","processMarginSingle","BORDER_SHORTHAND_REGEX","expandBorders","matchBorderShorthand","processPadding","processPaddingVertical","processPaddingHorizontal","processPaddingSingle","Y_AXIS_SHORTHANDS","sortTransformOriginPair","shorthands","expandFlex","defaults","flexGrow","flexBasis","expandGap","rowGap","marginHorizontal","marginVertical","paddingHorizontal","paddingVertical","borderTop","borderRight","borderBottom","borderLeft","objectPosition","expandObjectPosition","expandTransformOrigin","transformOriginX","transformOriginY","expandStyle","expand","propsArray","resolvedStyle","extended","propName","propValue","flatten","transformUnit","parseValue","transformColor","isRgb","parseRgb","isHsl","hsl","hlsToHex","parseHsl","parseAngle","normalize","operations","normalizeTransformOperation","processTransform","transformString","transforms","rawValue","splitChar","castFloat","matchNumber","offsetKeyword","transformObjectPosition","transformTransformOrigin","handlers","transformStyle","resolveStyles","resolveMediaQueries","matchMedia","bidi","DATA","TYPES_TO_NAMES","ISOLATE_INIT_TYPES","LRI","RLI","FSI","STRONG_TYPES","AL","NEUTRAL_ISOLATE_TYPES","WS","ON","PDI","BN_LIKE_TYPES","BN","RLE","LRE","RLO","LRO","PDF","TRAILING_TYPES","getBidiCharType","loop","lastCode","skip","parseData","openToClose","closeToOpen","canonical","data$1","parseCharacterMap","encodedString","includeReverse","prevPair","reverseMap","visit","openingToClosingBracket","closingToOpeningBracket","getCanonicalBracket","TYPE_L","TYPE_R","TYPE_EN","EN","TYPE_ES","ES","TYPE_ET","ET","TYPE_AN","AN","TYPE_CS","TYPE_B","TYPE_S","TYPE_ON","TYPE_BN","TYPE_NSM","NSM","TYPE_AL","TYPE_LRO","TYPE_RLO","TYPE_LRE","TYPE_RLE","TYPE_PDF","TYPE_LRI","TYPE_RLI","TYPE_FSI","TYPE_PDI","mirrorMap","getMirroredCharacter","getReorderSegments","embeddingLevelsResult","paragraphs","lineStart","lineEnd","lineLevels","levels","maxLevel","minOddLevel","i$1","lvl","i$2","segStart","getReorderedIndices","embedLevelsResult","indices","getBidiCharTypeName","getEmbeddingLevels","baseDirection","charTypes","Uint32Array","charTypeCounts","changeCharType","oldType","embedLevels","isolationPairs","determineAutoEmbedLevel","FORMATTING_TYPES","nextEven","nextOdd","paraIdx","statusStack","_override","_isolate","stackTop","overflowIsolateCount","overflowEmbeddingCount","validIsolateCount","charType","level$1","level$2","_isolInitIndex","isolInitIndex","levelRuns","currentRun","i$3","charType$1","isIsolInit","isPDI","_end","_endsWithIsolInit","_start","_startsWithPDI","isolatingRunSeqs","runIdx","seqRuns","pdiIndex","i$4","seqIndices","i$5","run$1","firstLevel","prevLevel","i$6","lastLevel","nextLevel","i$7","_seqIndices","_sosType","_eosType","seqIdx","seqIndices$1","sosType","eosType","embedDirection","si","i$8","sj","si$1","i$9","sj$1","prevCharType","si$2","i$10","si$3","i$11","prevType$1","nextType","sj$2","sj$3","si$4","i$12","sj$4","si$5","i$13","sj$5","sj$6","si$6","prevStrongType","i$14","R_TYPES_FOR_N_STEPS","STRONG_TYPES_FOR_N_STEPS","bracketPairs","openerStack","si$7","oppositeBracket","seqIndex","stackIdx","stackChar","ref$1","openSeqIdx","closeSeqIdx","foundStrongType","useStrongType","si$8","i$15","lr","si$9","i$16","lr$1","si$10","si$11","si$12","niRunStart","niRunEnd","prevType$2","si2","nextType$1","si2$1","sj$7","i$17","level$3","type$1","j$1","isFSI","pdi","indexOfMatchingPDI","isolateStart","isolationLevel","getMirroredCharactersMap","embeddingLevels","mirror","getReorderedString","chars","charIndex","_arrayLikeToArray","defaultHyphenationEngine","word","wrapWords","engines","attributedString","_engines$wordHyphenat","_engines","syllables","fragments","hyphenateWord","hyphenationCallback","wordHyphenation","_extends","fragment","fromFragments","partition","crop","_run$attributes","_attributes$font","calculateScale","slice$2","glyphIndexAt","_run$glyphIndices","slice$1","_run$glyphs","_run$glyphs2","runScale","startIndex","endIndex","endGlyph","startGlyphs","endOffset","endGlyphs","sliceStart","glyphPosition","startPositions","endPositions","flat","runIndexAt$1","sliceRuns","isFirst","isLast","sliceLastRun","subtract","filteredRuns","slicedRuns","appendGlyph","_glyph$codePoints","glyphLength","newIndices","appendIndices","append$1","stringFromCodePoints","codePointsString","firstRuns","lastRun","ELLIPSIS_STRING","_last","_last2","_last2$attributes","_Object$assign","getEllipsisCodePoint","lastBlock","findLastCharIndex","ascent$1","_run$attributes$attac","_run$attributes2","_run$attributes2$font","attachmentHeight","fontAscent","_run$attributes$font","fontDescent","height$1","_excluded","getLineFragment","lineRect","excludeRect","num1","num2","intersects","eStart","eEnd","lStart","lEnd","getLineFragments","excludeRects","_loop","pieces","layoutLines","rects","indent","currentY","_line$runs","lineIndent","newLine","purgeAttachments","layoutParagraph","_paragraph$runs","_paragraph$runs$","_paragraph$runs$$attr","_objectWithoutPropertiesLoose","lineRects","currentRect","_partition","lineRectFragments","generateLineRects","availableWidths","linebreaker","sliceAtHeight","newBlock","counter","typesetter","attributedStrings","layoutBlock","maxLines","truncateEllipsis","truncateMode","linesCount","paragraphRect","nextParagraph","slicedBlock","linesHeight","shouldTruncate","length$1","bidi$2","bidiFactory","getItemAtIndex","objectName","updatedIndex","reorderLine","_attributedString$run","bidiLevel","updatedString","updatedRuns","selectedIndices","updatedGlyphs","updatedPositions","addedGlyphs","reorderParagraph","runString","getCharacterSpacing","xSpacing","scalePositions","resolveRunYOffset","isEmpty","sortPoints","mergeRuns","flattenEmptyRuns","groupEmptyRuns","flattenRegularRuns","generatePoints","attrs","_points$i","emptyRuns","regularRuns","preprocessRuns","fontSubstitution","scriptItemizer","_omitFont","omitFont","omittedFontRuns","itemizationRuns","substitutedRuns","advanceWidth$2","advanceWidth$1","isWhiteSpace","leadingOffset$1","leadingWhitespaces","leadingPositions","trailingOffset$1","trailingPositions","dropLast$1","dropLast","collection","adjust","ALIGNMENT_FACTORS","removeNewLine","getOverflowLeft","leadingOffset","overflowLeft","getOverflowRight","trailingOffset","adjustOverflow","finalizeLine","lineDescent","lineXAdvance","descent$1","finalizeBlock","isLastFragment","alignLastLine","textDecoration","alignFactor","remainingWidth","shouldJustify","justification","justifyLine$1","resolveRunAttachments","isReplaceGlyph","applyRunStyles","hangingPunctuation","hyphenationFactor","justificationFactor","lineSpacing","paragraphSpacing","shrinkFactor","strikeColor","strikeStyle","underlineColor","underlineStyle","verticalAlign","bidi$1","mirrorString","mirroredChar","layoutEngine","processParagraph","blockFinalizer","finalizeFragments","breakPoint","bidiEngine","getNextBreakpoint","subnodes","lineNumber","minimumBadness","stretch","shrink","lineLength","calculateRatio","penalty","badness","Node","LinkedList","listSize","listLength","_proto2","isLinked","contains","insertAfter","newNode","insertBefore","remove","linebreak","demerits","flagged","fitness","tolerance","activeNodes","lineLengths","breaks","breakpoint","fitnessClass","totals","previous","computeCost","currentLine","infinity","computeSum","breakPointIndex","mainLoop","tmpSum","candidate","candidates","currentClass","glue","hyphenated","insertGlyph$1","leadingRun","trailingRun","runA","runB","runAIndices","runALastIndex","runBIndices","insertGlyph","runIndex","runIndexAt","advanceWidthBetween","runStart","glyphStartIndex","glyphEndIndex","advanceWidthBetween$1","_attributedString$run2","getStyles","hyphenPenalty","hyphenationPenalty","_value","getNodes","breakpoints","applyBestFit","prevNode","breakLines","EXPAND_WHITESPACE_FACTOR","before","after","priority","unconstrained","EXPAND_CHAR_FACTOR","SHRINK_WHITESPACE_FACTOR","SHRINK_CHAR_FACTOR","charFactor","expandCharFactor","shrinkCharFactor","getCharFactor","whitespaceFactor","expandWhitespaceFactor","shrinkWhitespaceFactor","getWhitespaceFactor","factors","getFactor","getFactors","distances","priorities","_priority","highestPriority","highestPrioritySum","remainingGap","prioritySum","_f","getDistances","_step","_iterator","_createForOfIteratorHelperLoose","_step2","_iterator2","justifyLine","lineFragment","thickness","ignoredScripts","lastScript","hyphenator","splitHyphen","getParts","isValid","IMAGE_CACHE","_ref$limit","createCache","fetchRemoteFile","_asyncToGenerator","_callee","uri","_context","_x","_x2","isValidFormat","lower","getImage","resolveBufferImage","guessFormat","resolveBlobImage","_ref4","_callee2","blob","_context2","startsWith","_x3","getImageFormat","isPng","isJpg","resolveImageFromUrl","_ref5","_callee3","_src$method","credentials","_context3","t0","_x4","resolveImage","_ref6$cache","Blob","isCompatibleBase64","resolveBase64Image","resolveImageFromData","transformText","stringIndices","fontCache","IGNORED_CODE_POINTS","getFontSize","getOrCreateFont","getFallbackFont","pickFontFromFontStack","fontStack","lastFont","fontStackWithFallback","lastFontSize","isTextInstance$4","engine$1","getFragments$1","fontStore","textDecorationColor","textDecorationStyle","textTransform","_textDecoration","fontFamilyName","AlmostInfinity","layoutTspan","getAttributedString$1","getHyphenationCallback","isDefs","isNotDefs","URL_REGEX","replaceDef","defs","parseNodeDefs","parseDefs","_value$props","getDefs","replaceDefs","detachDefs","parseViewbox","SVG_INHERITED_PROPS","inheritProps","inheritedProps","getInheritProps","newChild","parseAspectRatio","STYLE_PROPS","VERTICAL_PROPS","HORIZONTAL_PROPS","isType$3","isSvg$3","isText$5","isTextInstance$3","parsePercent","parseProps","transformPercent","mergeStyles$1","removeNoneValues","pickStyleProps","styleProps","parseSvgProps","addMissingTspan","wrapBetweenTspan","parseText","layoutText$1","resolveChildren","resolveChild","resolveSvgNode","resolveSvgRoot","viewbox","getContainer$1","resolveSvg","getZIndex","sortZIndex","za","zb","resolveZIndex","shouldSort","emojis","_removeVariationSelectors","getCodePoints","withVariationSelectors","fetchEmojis","builder","promises","matchAll","emoji","loading","emojiUrl","buildEmojiUrl","fetchEmojiImage","makeFetchEmojiImage","reflect","specialCases","fetchImage","getSource","resolveSource","isImage$2","resolveAssets","fetchAssets","listToExplore","emojiSource","getEmojiSource","_n$style","childNode","all","DEFAULT_LINK_STYLES","computeStyle","baseStyle","isLink$1","resolveNodeStyles","resolvePageStyles","_page$box","_page$box2","_page$props","getTransformStyle","resolveNodeOrigin","percentX","percentY","getOrigin","getBookmarkValue","VALID_ORIENTATIONS","isLandscape","getOrientation","PAGE_SIZES","ID1","toSizeObject","adjustDpi","getSize","_page$props2","getStringSize","flipSizeObject","resolvePageSize","isFixed","fixed","splitText","slicedLineIndex","getLineBreak","widows","orphans","linesQuantity","slicedLine","lineIndexAtHeight","currentHeight","heightAtLineIndex","nextHeight","splitNode","nodeTop","getTop$1","hasFixedHeight","NON_WRAP_TYPES","getWrap","getComputedPadding","edge","yogaNode","getPadding","Yoga","Top","Right","Bottom","createInstances","for","isFragment","el","getEndOfPresence","futureElements","afterMinPresenceAhead","minPresenceAhead","getMinPresenceAhead","getEndOfMinPresenceAhead","endOfFurthestFutureElement","shouldBreak","_child$props","shouldSplit","canWrap","endOfPresence","breakingImprovesPresence","break","getBreak","IGNORABLE_CODEPOINTS","PREPROCESSORS","charSubset","subsetRegex","isSpecialCase","emojiSize","isImage$1","isTextInstance$2","getFragments","parentLink","_instance$props","_instance$props2","letterSpacing","textIndent","preprocessor","layoutText","getAttributedString","getContainer","getMaxLines","textOverflow","getTextOverflow","getLayoutOptions","isType$2","isSvg$2","isText$4","resolveTextLayout","shouldLayoutText","shouldIterate","mapChild","BASE_INHERITABLE_PROPERTIES","TEXT_INHERITABLE_PROPERTIES","mergeStyles","inheritedStyles","merge","mergedStyles","styleName","mergeValues","inheritedValue","resolveInheritance","isSvg$1","inheritableProperties","isText$3","inheritStyles","getComputedMargin","DEFAULT_DIMENSION","getComputedBorder","OVERFLOW","Hidden","scroll","Scroll","FLEX_WRAP","Wrap","WrapReverse","setYogaValue","hasEdge","fixedMethod","autoMethod","percentMethod","_yogaNode$percentMeth","_yogaNode$percentMeth2","_yogaNode$autoMethod","_yogaNode$autoMethod2","_yogaNode$fixedMethod","_yogaNode$fixedMethod2","setFlexBasis","ALIGN","FlexStart","Center","FlexEnd","Stretch","baseline","Baseline","SpaceBetween","SpaceAround","setAlign","Auto","setAlignSelf","setAlignItems","setAlignContent","FLEX_DIRECTIONS","Row","RowReverse","ColumnReverse","JUSTIFY_CONTENT","SpaceEvenly","setMarginTop","setMarginRight","setMarginBottom","setMarginLeft","setPaddingTop","setPaddingRight","setPaddingBottom","setPaddingLeft","setBorderTop","setBorderRight","setBorderBottom","setBorderLeft","setPositionTop","setPositionRight","setPositionBottom","setPositionLeft","setWidth","setMinWidth","setMaxWidth","setHeight","setMinHeight","setMaxHeight","checkPercents","linesWidth","isHeightAuto","getMax","measureCanvas","imageMargin","pagePadding","pageArea","measureCtx","nil","getWidth","getHeight","isType$1","isSvg","isText$2","isNote","isPage","isImage","isCanvas","isTextInstance$1","setYogaValues","setNodeHeight","minHeight","setPositionType","Absolute","Relative","setDisplay","None","Flex","Column","setFlexDirection","alignSelf","setJustifyContent","flexWrap","NoWrap","setFlexWrap","Visible","setOverflow","setAspectRatio","aspectRatio","setFlexGrow","setFlexShrink","setGap","setRowGap","setColumnGap","setMeasureFunc","measureText","widthMode","Exactly","AtMost","measureImage","heightMode","imageRatio","_node$image","getRatio","Undefined","scaledHeight","measureCanvas$1","createYogaNodes","yoga","isLayoutElement","insertChild","getChildCount","calculateLayout","persistDimensions","getBorderWidth","getComputedTop","getComputedRight","getComputedBottom","getComputedLeft","getPosition","getComputedWidth","getComputedHeight","getDimension","destroyYogaNodes","freeYogaNodes","freeRecursive","resolvePageDimensions","isText$1","assingChildren","getTop","isDynamic","relayoutPage","warnUnavailableSpace","splitNodes","contentArea","currentChildren","nextChildren","futureNodes","futureFixedNodes","nodeHeight","isOutside","shouldBreak$1","fitsInsidePage","currentChild","nextChild","splitView","currentNode","nextNode","currentChilds","splitChildren","shouldResolveDynamicNodes","resolveDynamicNodes","isNodeDynamic","resolveDynamicPage","resolvedPage","splitPage","wrapArea","_page$style","getWrapArea","getContentArea","dynamicPage","nextChilds","relayout","currentBox","currentPage","nextBox","nextProps","assocSubPageData","subpages","subPageNumber","subPageTotalPages","paginate","splittedPage","nextPage","resolvePageHorizontalPadding","resolvePageVerticalPadding","resolvePagePaddings","resolveRadius","resolvePercentRadius","resolveNodePercentHeight","_page$style3","_page$style2","getPageArea","transformHeight","resolvePagePercentHeight","isType","isLink","isText","isTextInstance","isTextType","transformLink","hasRenderProp","isTextLink","textElement","wrapText","resolveLinkSubstitution","_args","asyncCompose","resolvePagination","resolvePageIndices","totalPages","resolveDimensions","_parent","newHierarchy","setPointScaleFactor","createWithConfig","loadYoga","$$$reconciler","$$$hostConfig","aa","ba","encodeURIComponent","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","da","ea","ha","ia","ja","la","ma","na","oa","qa","ta","$$typeof","_status","_result","ua","alternate","return","effectTag","sibling","stateNode","xa","getPublicInstance","Aa","getRootHostContext","Ba","getChildHostContext","Ca","prepareForCommit","Da","resetAfterCommit","Ea","createInstance","appendInitialChild","Ga","finalizeInitialChildren","Ia","prepareUpdate","shouldSetTextContent","Ka","shouldDeprioritizeSubtree","La","createTextInstance","Ma","Na","Oa","noTimeout","isPrimaryRenderer","Qa","supportsMutation","supportsPersistence","Sa","supportsHydration","appendChild","Ua","appendChildToContainer","commitTextUpdate","commitMount","Xa","commitUpdate","Za","insertInContainerBefore","$a","removeChild","ab","removeChildFromContainer","resetTextContent","hideInstance","db","hideTextInstance","unhideInstance","fb","unhideTextInstance","gb","cloneInstance","hb","createContainerChildSet","ib","appendChildToContainerChildSet","finalizeContainerChildren","lb","replaceContainerChildren","mb","cloneHiddenInstance","cloneHiddenTextInstance","ob","canHydrateInstance","canHydrateTextInstance","qb","isSuspenseInstancePending","rb","isSuspenseInstanceFallback","sb","getNextHydratableSibling","tb","getFirstHydratableChild","ub","hydrateInstance","vb","hydrateTextInstance","wb","getNextHydratableInstanceAfterSuspenseInstance","xb","commitHydratedContainer","yb","commitHydratedSuspenseInstance","Ab","_debugOwner","_debugSource","Bb","Cb","Db","Eb","Fb","contextTypes","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","childContextTypes","Gb","Hb","Ib","Jb","getChildContext","Kb","__reactInternalMemoizedMergedChildContext","Lb","Mb","unstable_runWithPriority","Nb","unstable_scheduleCallback","Ob","unstable_cancelCallback","Pb","unstable_shouldYield","Qb","unstable_requestPaint","Tb","unstable_now","Ub","unstable_getCurrentPriorityLevel","Vb","unstable_ImmediatePriority","Wb","unstable_UserBlockingPriority","Xb","unstable_NormalPriority","Yb","unstable_LowPriority","Zb","unstable_IdlePriority","$b","ac","bc","cc","dc","ec","fc","gc","hc","ic","jc","kc","mc","oc","is","qc","defaultProps","sc","tc","uc","vc","wc","_currentValue","_currentValue2","zc","childExpirationTime","Ac","dependencies","firstContext","expirationTime","Bc","Cc","observedBits","responders","Dc","Ec","baseState","firstUpdate","lastUpdate","firstCapturedUpdate","lastCapturedUpdate","firstEffect","lastEffect","firstCapturedEffect","lastCapturedEffect","Fc","Gc","suspenseConfig","payload","nextEffect","Hc","Ic","updateQueue","memoizedState","Jc","Kc","Lc","Nc","Oc","Pc","Qc","Rc","Sc","Tc","Component","Uc","Xc","isMounted","_reactInternalFiber","enqueueSetState","Vc","Wc","enqueueReplaceState","enqueueForceUpdate","Yc","shouldComponentUpdate","isPureReactComponent","Zc","contextType","updater","$c","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","ad","getDerivedStateFromProps","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","bd","cd","_owner","_stringRef","ed","gd","elementType","hd","containerInfo","implementation","jd","Ha","delete","kd","ld","md","nd","od","pd","qd","sd","td","ud","dehydrated","memoizedProps","revealOrder","vd","responder","wd","xd","yd","zd","Ad","Bd","Cd","Dd","Ed","Fd","Gd","Hd","Id","Jd","Kd","Ld","Md","Nd","Od","baseUpdate","Pd","Qd","Rd","lastRenderedReducer","dispatch","lastRenderedState","eagerReducer","eagerState","Sd","Td","Ud","Vd","deps","Wd","Xd","Yd","Zd","$d","be","ce","readContext","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useResponder","useDeferredValue","useTransition","unstable_next","de","ee","he","ie","pendingProps","je","ne","pe","ReactCurrentOwner","qe","se","te","ue","UNSAFE_componentWillUpdate","componentWillUpdate","getDerivedStateFromError","pendingContext","Ge","He","Ie","Ae","retryTime","Be","unstable_avoidThisFallback","Ce","De","isBackwards","rendering","tailExpiration","tailMode","Ee","pendingChildren","Le","Me","Ne","Oe","WeakSet","Se","Re","Ue","__reactInternalSnapshotBeforeUpdate","Qe","Xe","Ze","$e","af","bf","cf","hydrate","df","ef","gf","hf","WeakMap","jf","kf","lf","mf","componentDidCatch","nf","componentStack","ig","of","pf","qf","rf","sf","tf","uf","vf","wf","xf","yf","zf","Af","Bf","Cf","Df","Ef","Gf","Hf","If","Jf","Kf","Lf","Mf","timeoutMs","Nf","Of","Pf","Qf","Rf","lastExpiredTime","Sf","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Tf","Uf","Vf","Wf","Xf","Yf","Zf","finishedWork","finishedExpirationTime","lastSuspendedTime","$f","timeoutHandle","busyMinDurationMs","busyDelayMs","bg","pingCache","fg","Rb","hg","jg","firstSuspendedTime","kg","jb","Mc","le","me","Sb","lg","mg","ng","_ctor","sa","_calculateChangedBits","unstable_observedBits","qg","isReactComponent","sg","tg","ug","vg","createContainer","updateContainer","batchedEventUpdates","batchedUpdates","unbatchedUpdates","deferredUpdates","syncUpdates","discreteUpdates","flushDiscreteUpdates","dg","flushControlled","flushSync","flushPassiveEffects","IsThisRendererActing","getPublicRootInstance","attemptSynchronousHydration","cg","attemptUserBlockingHydration","attemptContinuousHydration","attemptHydrationAtCurrentPriority","findHostInstance","findHostInstanceWithWarning","findHostInstanceWithNoPortals","shouldSuspend","injectIntoDevTools","findFiberByHostInstance","__REACT_DEVTOOLS_GLOBAL_HOOK__","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","pg","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","$$$renderer","propsEqual","oldPropsKeys","newPropsKeys","emptyObject","parentInstance","isParentText","packageJson","registerEmojiSource","registerHyphenationCallback","fontFamilies","getRegisteredFonts","getRegisteredFontFamilies","renderer","pdf","initialValue","ReactFiberReconciler","schedulePassiveEffects","scheduler","cancelPassiveEffects","warnsIfNotActing","rootContainerInstance","clearContainer","oldProps","newProps","useSyncScheduling","beforeChild","_parentInstance$child","_parentInstance$child2","_parentInstance$child3","textInstance","oldText","newText","updatePayload","createRenderer","_events$change","change","mountNode","layoutDocument","fileStream","renderPDF","callOnRender","onRender","toBlob","_INTERNAL__LAYOUT__DATA_","StyleSheet","usePDF","pdfInstance","renderQueue","autostart","concurrency","queueDocumentRender","URL","createObjectURL","revokeObjectURL","newDoc","throwEnvironmentError","leftColumn","rightColumn","badge","logo","score","validDate","signerName","signerPosition","PassportPDF","companyName","passportName","expirateionDate","dayjs","until","passportExpirationDateFormat","issueDate","downloadCert","Field","getField","PassportForm","backButton","saveButton","formik","useFormik","initialValues","enableReinitialize","helpers","validateOnMount","Form","sharedFormStyles","fullWidth","validate","isSubmitting","GetPassportModal","onResponseCreated","modalProps","user","usePassportToRfpId","createResponse","useCreateRFPresponse","titleClassName","ownerName","firstName","lastName","jobTitle","setCookieArray","LocalStorageKey","OPEN_POPUP","GetPassport","ownerEmail","ownerTitle","modalHeaderStyles","WelcomePassportModal","onCancel","onNext","ModalActions","usePassportStatusConfigurations","dashboardBox","callToActionBox","Draft","InReview","Submitted","Completed","CloseToExpire","Expired","modalBodyProps","modalOptions","useRetakePassport","useRenewPassport","useOpenInviteToPassportModal","mapResponseWorkflowStatus","PassportStatus","requestAccessToGroup","useRequestGroupAccess","GroupCard","GroupMemberRelationStatus","JoinRequestPending","PrivateJoinable","Owned","Members","Invited","Joined","PublicJoinable","Removed","allowMemberInvitations","isPrivate","groupCardActionButton","memberStatus","kebabMenuActions","navigator","clipboard","writeText","Settings","memberCount","avatarBase64","backgroundImageBase64","membersCount","TITLE1","settingsContainer","multiSelectListHeader","dataroomGrid","gridTemplateColumns","gridGap","dataroomCard","dataroomAvatar","dataroomName","PURPLE2_HOVER","DataroomItem","dataroom","redirectOnClick","onRemoveDataroom","KebabMenu","onSetDatarooms","datarooms","newCheckedDatarooms","setNewCheckedDatarooms","ownDatarooms","useDataRooms","droom","showArrow","closeOnClick","newDatarooms","ownDataroom","datarrom","dataroomId","subtitleContainer","zonesLableContainer","mainContainer","firstPageHalfSide","inputsRow","avatarCentered","avatarBoxContainer","nameLengthExceed","descriptionLengthExceed","firstPageBottomSide","flexFlow","zones","onDescriptionChange","onBackgroundChange","onAvatarChange","onNameChange","zoneOptions","onZonesChange","extraAvatarStyles","base64Background","base64Avatar","Input","TextArea","maxRows","maxLength","InformationIcon","TaggedMultiSelect","selectionGroups","clickedTag","DenyGroupMember","RemoveGroupMemberModal","role","texts","UserPreview","DEFAULT_USER_AVATAR","companyIcon","invitationSender","membersContainer","memberCardsContainer","groupMemberDataStyles","companyContainer","memberCompanyAvatarContainer","justifyItems","memberCompanyAvatar","memberCompanyName","forceTextOneLine","inviteeInfoContainer","inviteeLocation","groupMemberBoxStyles","card","kebabMenu","usersPreviewPaper","usersPreviewContainer","userPreview","groupMemberRequestBoxStyles","declineButton","GroupMemberData","invitedCompany","address","GroupMemberBox","disableCloseAfterAction","paper","UserPreviews","users","useUserPreviewsBasedOnGroupInvitation","GroupMemberRequestBox","onAccept","onDecline","requestedAccess","onMemberRequestAccept","members","ownerCompanyId","useGroupInvitations","inviteToGroup","inviteGroupMembers","groupInvitations","onSuccess","useInviteToGroup","memberFilter","setMemberFilter","isGroupOwn","accessRequests","InputProps","endAdornment","InputAdornment","member","secondPageInputContainer","rowItemsContainer","rowItem","labelSecondPage","GroupSettingsRow","Switch","buttonTitle","isVisible","onlyAdminCanCreateContent","postsRequireApproval","filesRequireApproval","DeleteGroupModal","onDeleteGroup","deleteGroup","ownGroups","useDeleteGroup","nonEmptyChildren","textAlignCenterClass","CreateGroup","svg","titleContainer","setIsLoading","createGroup","newGroup","useCreateGroup","setStep","useQuery","getZones","placeholderData","setAvatar","setBackgroundImage","adminId","groupData","uploadImage","uploadImageProps","blobType","BlobType","GroupAvatar","GroupBackGroundImage","setSubmitting","FlowPopupContent","GroupDescription","setFieldValue","handleChange","handleSubmit","GroupSettings","getCardMediaUtilityClass","slot","generateUtilityClass","generateUtilityClasses","CardMediaRoot","styled","overridesResolver","ownerState","isMediaComponent","isImageComponent","media","backgroundSize","backgroundRepeat","backgroundPosition","variants","MEDIA_COMPONENTS","IMAGE_COMPONENTS","CardMedia","inProps","useDefaultProps","other","composedStyle","slots","composeClasses","useUtilityClasses","clsx","as","checkHttpProtocol","getLocationParts","locationArray","locationDetails","detailFieldName","companyDetailsContainer","companyDetailsContainerFullWidth","gridColumn","detailContainer","detail","detailField","responsiveDetailField","extend","detailIcon","CompanyDetailsCard","isTargetMarketDisplayed","isResponsiveDetailField","phoneNumber","employees","website","linkedInUrl","tagContainer","groupIcon","addButton","selectedTags","icon","hideAddButton","hasTags","CompanyCardsRow","cards","CompanyListWithTitle","overviewContainer","overviewTitle","videoContainer","video","industryTagBox","tagBox","tagsContainer","basicInfoContainer","getStarted","about","About","isOwner","historyPush","similarVendors","listOfSimilarVendors","useCompanyCards","youtubeVideoId","youtubeUrl","getVideoId","targetMarketDisplay","servicing","companyDetailsInformation","contactName","allowFullScreen","industries","TagsBox","onMouseEnter","prefetchQuery","staleTime","boxShadow","grid","discoverGroupsButton","groupBoxGridSizes","xl","groupBoxContainerProps","MyGroups","ownGroupPages","fetchNextPage","fetchNextOwnGroups","hasNextPage","hasMoreOwnGroups","isFetchingNextPage","isFetchingOwnGroups","ownGroupsLoading","useInfiniteQuery","pageParam","getOwnGroups","getNextPageParam","lastPage","allPages","useOwnGroups","joinedGroupPages","fetchNextJoinedGroups","hasMoreJoinedGroups","isFetchingJoinedGroups","joinedGroupsLoading","groupsImMember","getGroupsImMember","useJoinedGroups","flatMap","joinedGroups","ownGroupsInfiniteRef","rootRef","ownGroupsRootRef","useInfiniteScroll","onLoadMore","joinedGroupsInfiniteRef","joinedGroupsRootRef","_createElement","BlankCard","OwnGroupCard","JoinableGroupCard","svgContainer","imageContainer","detailsContainer","ProductsAndServices","addCardContainer","linkContainer","_company$productsAndS","_company$productsAndS2","productsAndServices","ProductsOrServices","clarification","PassportCard","passport","passportId","isAdmin","useIsAdmin","companyData","companyIsLoading","useGetCompany","linkToPulsePassport","permissionMessages","pulsePassport","locked","owner","notOwner","expirationDate","passportDetail","esg_health_check_v1","survey","pdfAvatar","financial_service_readiness_v1","PassportsList","passports","passportsWithAvatar","allPassports","show","PulsePassport","_company$passports","defaultTheme","createTheme","Box","themeId","defaultClassName","generateClassName","BoxRoot","shouldForwardProp","styleFunctionSx","theme","useTheme","extendSxProp","createBox","THEME_ID","boxClasses","ClassNameGenerator","generate","tabPanelZeroIndex","tabPanel","TabPanel","mainRoot","tab","tabRoot","selectedTab","indicator","tabsRoot","scroller","OldTabs","tabs","openTab","setValue","Tabs","newValue","Tab","flexColumn","headerContainer","backgroundImageContainer","avatarContainer","editButton","nameAndHeadlineContainer","HEADLINE4","headline","PulsePage","onEditButtonClick","useLocation","setOpenTab","companyAvatar","websiteURL","linkedinURL","groupsEnabled","useFeatureEnabled","featureName","FeatureFlagEnum","passportEnabled","usePassportFeatureEnabled","getTabs","tabsArr","displayTabs","_location$state","_location$state2","openAddToListModal","AddToList","openRemoveFromListModal","RemoveFromList","RemoveButton","checkIsInOrg","tabComponent","DEFAULT_OPTIONS","characterData","subtree","heights","FIELD_HIGH","containerWithTags","deleteIcon","Tag","inputRef","setText","updateText","_inputRef$current","innerText","targetEl","observer","setObserver","obs","MutationObserver","observe","disconnect","useMutationObservable","onBlur","preventDefault","contentEditable","onPaste","paste","clipboardData","getData","onKeyPress","nativeEvent","kebabMenuContainer","originalIconHeightPx","originalIconWidthPx","WithKebabMenu","setAnchorEl","handlePopoverClose","focusable","Menu","MenuItem","menuItemBackground","divider","menuItem","menuItemClickable","selectedMenuItem","lists","ownLists","menuRightPosition","companyList","companyListName","warningCompanyName","CompanyListItem","isSupplierSearch","SUPPLIER_SEARCH_URL_PATH","setEditingName","filters","setFilters","useVendorSearchContext","renameCompanyList","isDeletionInProgress","listId","previousOrganization","previousList","useRenameCompanyList","deleteCompanyList","useDeleteCompanyList","unclosableDialogProps","getCompanyList","companySearchParams","cleanFiltersWithCompanyListId","directClickTarget","tagName","onFocus","previouslyFocusedElement","relatedTarget","focus","sidebarStyles","disableOnBlur","validityText","VendorSearchSideMenuItem","GROUP_DISCOVER_URL_PATH","VendorSearchSidebar","activeTab","hiddenFeatures","Vendors","Divider","VendorSearchContext","VendorFilterProvider","useParams","Provider","DEFAULT_PAGESIZE","selectedDisplayStyles","displaySelectorButton","selectedDisplayButton","DisplayType","DisplaySelector","onDisplayChange","ROWS","startIcon","CARDS","companyLogo","companyLocation","dividerCellClass","dividerInnerClass","important","leftSide","leftSideTextContainer","rightSide","column","CompanyInfoRow","TallRow","CompanyRow","CompaniesGridOrList","isCards","getStartedVendorSearch","VendorSearchFirstAccessBox","CreateList","CompanyListSearch","compactCards","selectableCards","deleteCompanyFromList","useDeleteCompanyFromList","optimisticlyUpdateSearch","isMutating","createCompanyList","zoneBoxContainer","zoneBox","GroupSearchBody","titleIconContainer","middleContainer","selectContainer","rightContainer","getMultiSelectFilterProps","selectedValues","newFilters","FilterBar","onClear","employeeNumbers","countries","useVendorSearchOptions","MultiSelect","VendorSearchHeader","showCreateButton","showFilters","filterBarExplicitlySetOpen","setFilterBarOpen","someFiltersAreSet","filterBarOpen","assetRepositoryHeaderStyles","Searchbar","onSearch","VendorSearchLayout","showHeaderCreateButton","showHeaderFilters","PageLayoutWithSidebar","sidebar","zonesDetails","logoContainer","ZoneBox","getZonesDetails","zoneId","zoneDetail","SupplierSearchBody","companyCardProps","selectable","zone","VendorSearch","disableListContext","CompanyLists","useCompanies","groupsLoading","groupsData","query","searchGroups","keepPreviousData","useSearchGroups","CompanyListSearchBody","YouTubeInformationIcon","iconClassName","warningText","infoText","validateYouTubeUrl","reference","UploadOrEditVideo","onAddVideo","onUpdateVideo","editingItem","resetForm","inputProps","isMatchingMimeType","enabledMimeType","actualMimeType","defaultBlockedExtensions","AttachmentUploader","_cloneOrUploadModalPr","_cloneOrUploadModalPr2","fileUploaderProps","onCloneAssets","onUploadAsset","cloneOrUploadModalProps","enabledMimes","RepositoryModal","headerActionsHidden","disableSelection","isAsset","mimeType","enabledMime","selectedItems","sharedUploadingWindowProps","disableIfNoItemsSelected","rejections","modal","AssetRepository","initialMenuId","setFolderId","useAssetRepositoryId","Modal","AssetFilterProvider","marginLeftClass","onNavigateFolderWithoutURLChange","newFolderId","disableUrlNavigation","labelClassName","helperText","meta","useField","touched","withContext","saveOnEnter","FormikProvider","FormikForm","statusColor","uploaded","uploading","iconColor","leftBorder","fileInfoContainer","fileIconContainer","fileIcon","defaultInfo","infoIcon","infoIconWrapper","errorInfoLeft","infoComponents","AttachmentRow","isDeleteIconHidden","isDownloadIconHidden","onDownload","attachmentRow","Attachments","attachments","disableDelete","disableDownload","deleteConfirmationText","foreceDelete","getIconForFile","square","imageClassName","isSquare","createSvgIcon","BreadcrumbCollapsedButton","ButtonBase","memoTheme","shadows","emphasize","BreadcrumbCollapsedIcon","MoreHorizIcon","slotProps","otherProps","focusRipple","CollapsedIcon","collapsedIcon","getBreadcrumbsUtilityClass","BreadcrumbsRoot","Typography","breadcrumbsClasses","li","BreadcrumbsOl","ol","listStyle","BreadcrumbsSeparator","separator","userSelect","insertSeparators","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","setExpanded","collapsedIconSlotProps","useSlotProps","externalSlotProps","listRef","allItems","BreadcrumbCollapsed","handleClickExpand","querySelector","renderItemsBeforeAndAfter","Breadcrumb","rightArrow","PulseBreadcrumb","disableNavigation","links","_item$onClick","linkTo","_icon$onClick","Breadcrumbs","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","keyframes","circularDashKeyframe","rotateAnimation","css","dashAnimation","CircularProgressRoot","transitions","createSimplePaletteValueFilter","vars","main","CircularProgressSVG","CircularProgressCircle","disableShrink","circleDisableShrink","strokeDashoffset","circleStyle","rootStyle","rootProps","circumference","getSharedButtonStyles","hover","BUTTON_MEDIUM","small","BUTTON_SMALL","BUTTON_LARGE","endIcon","loadingIcon","normalVariantStyles","GRAY3_HOVER","GRAY3_ACTIVE","ORANGE_HOVER","ORANGE_ACTIVE","RED_HOVER","RED_ACTIVE","orangeHover","ORANGE_OUTLINED_HOVER","ORANGE_LIGHT_HOVER","noShadow","transparentVariantStyles","ACTIVE","outlinedVariantStyles","ORANGE_OUTLINED_ACTIVE","PURPLE1","GREEN_OUTLINE_HOVER","GREEN_OUTLINE_FOCUSED","RED_OUTLINE_HOVER","RED_OUTLINE_FOCUSED","textVariantStyles","linkVariantStyles","_loadingProps$classes","buttonClasses","variantConfig","setVariant","loadingProps","CircularProgress","MuiButton","contained","sizeSmall","sizeLarge","contentPadding","justifySelf","checkbox","kebab","Checkbox","xmlns","buttonProps","setCustomValidity","helperTextExpectedLines","stopPropagation","listItem","optionWrapper","optionText","CAPTION3","inputRoot","disabledInput","informationIconWrapper","informationIcon","iconWrapper","selectedOptionIconWrapper","stripDiacritics","defaultFilterOptions","ignoreAccents","matchFrom","inputValue","getOptionLabel","filteredOptions","option","createFilterOptions","defaultIsActiveElementInListbox","listboxRef","parentElement","activeElement","MULTIPLE_DEFAULT_VALUE","unstable_isActiveElementInListbox","unstable_classNamePrefix","autoComplete","autoHighlight","autoSelect","blurOnSelect","clearOnBlur","freeSolo","clearOnEscape","componentName","disableClearable","disableCloseOnSelect","disabledProp","disabledItemsFocusable","disableListWrap","filterOptions","filterSelectedOptions","getOptionDisabled","getOptionKey","getOptionLabelProp","groupBy","handleHomeEndKeys","idProp","includeInputInList","inputValueProp","isOptionEqualToValue","onHighlightChange","onInputChange","onOpen","openProp","openOnFocus","selectOnFocus","valueProp","useId","optionLabel","ignoreFocus","firstFocus","focusedTag","setFocusedTag","defaultHighlighted","highlightedIndexRef","setValueState","useControlled","controlled","setInputValueState","focused","setFocused","resetInputValue","newInputValue","setOpenState","inputPristine","setInputPristine","inputValueIsSelectedValue","popupOpen","previousProps","usePreviousProps","valueChange","listboxAvailable","focusTag","useEventCallback","tagToFocus","setHighlightedIndex","removeAttribute","setAttribute","classList","listboxNode","getAttribute","scrollTop","scrollHeight","clientHeight","scrollBottom","elementBottom","offsetHeight","changeHighlightedIndex","nextFocus","nextFocusDisabled","hasAttribute","validOptionIndex","getNextIndex","maxIndex","newIndex","setSelectionRange","syncHighlightedIndex","previousHighlightedOptionIndex","getPreviousHighlightedOptionIndex","previousHighlightedOption","isSameValue","valueItem","currentOption","itemIndex","optionItem","handleListboxRef","setRef","handleOpen","handleClose","handleValue","isTouch","selectNewValue","ctrlKey","metaKey","blur","handleFocusTag","nextTag","validTagIndex","handleClear","handleKeyDown","onKeyDown","defaultMuiPrevented","which","handleFocus","handleBlur","handleInputChange","handleOptionMouseMove","handleOptionTouchStart","handleOptionClick","handleTagDelete","handlePopupIndicator","handleMouseDown","selectionEnd","selectionStart","handleInputMouseDown","dirty","groupedOptions","onMouseDown","getInputLabelProps","htmlFor","autoCapitalize","spellCheck","getClearProps","tabIndex","getPopupIndicatorProps","getTagProps","getListboxProps","getOptionProps","onMouseMove","onTouchStart","getListSubheaderUtilityClass","ListSubheaderRoot","disableGutters","gutters","inset","disableSticky","sticky","boxSizing","secondary","fontWeightMedium","pxToRem","primary","ListSubheader","muiSkipListHighlight","getChipUtilityClass","ChipRoot","chipClasses","deletable","textColor","disabledOpacity","Chip","defaultAvatarColor","avatarColorPrimary","contrastText","dark","avatarColorSecondary","avatarSmall","WebkitTapHighlightColor","primaryChannel","contrastTextChannel","defaultIconColor","focusVisible","selectedChannel","selectedOpacity","focusOpacity","hoverOpacity","defaultBorder","iconSmall","deleteIconSmall","mainChannel","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","avatarProp","clickableProp","ComponentProp","deleteIconProp","iconProp","onKeyUp","skipFocusWhenDisabled","chipRef","handleRef","useForkRef","handleDeleteIconClick","moreProps","focusVisibleClassName","CancelIcon","getAutocompleteUtilityClass","_ClearIcon","_ArrowDropDownIcon","AutocompleteRoot","hasClearIcon","hasPopupIcon","inputFocused","autocompleteClasses","clearIndicator","inputClasses","inputBaseClasses","outlinedInputClasses","filledInputClasses","hiddenLabel","AutocompleteEndAdornment","AutocompleteClearIndicator","AutocompletePopupIndicator","popupIndicator","popupIndicatorOpen","AutocompletePopper","Popper","popper","disablePortal","popperDisablePortal","AutocompletePaper","Paper","body1","AutocompleteLoading","AutocompleteNoOptions","noOptions","AutocompleteListbox","listbox","_ref6","up","AutocompleteGroupLabel","groupLabel","_ref7","AutocompleteGroupUl","groupUl","ChipProps","ChipPropsProp","clearIcon","ClearIcon","clearText","closeText","componentsProps","forcePopupIcon","getLimitTagsText","limitTags","ListboxComponent","ListboxComponentProp","ListboxProps","ListboxPropsProp","loadingText","noOptionsText","openText","PaperComponent","PaperComponentProp","PopperComponent","PopperComponentProp","popupIcon","ArrowDropDownIcon","renderGroupProp","renderInput","renderOption","renderOptionProp","renderTags","useAutocomplete","otherListboxProps","externalForwardedProps","chip","ListboxSlot","listboxProps","useSlot","additionalProps","PaperSlot","paperProps","PopperSlot","popperProps","clientWidth","startAdornment","getCustomizedTagProps","customTagProps","defaultRenderOption","props2","renderListOption","optionProps","clearIndicatorSlotProps","popupIndicatorSlotProps","renderAutocompletePopperChildren","autocompletePopper","option2","index2","InputLabelProps","Select","onMultipleChange","readOnlyInput","inputClassName","classesProp","renderedInputProps","adornmentIconSrc","checkboxesHidden","autoWidthPopper","innerReadOnly","setInnerReadOnly","validated","setValidated","selectedOption","multipleSelectedOptions","Autocomplete","selectedOptions","handleMultipleValueChange","_props","_state","coloredDot","wrapperClassName","_renderedInputProps$I","onInvalid","onFocusElement","positionStart","onPointerDown","simulateMouseClick","blackStyles","orangeStyles","grayStyles","greenStyles","purpleStyles","smallVariantStyles","largeVariantStyles","colorStyles","_props$classes","iconClassname","placement","isLarge","muiSize","MuiIconButton","BLUE","warningIcon","customWidth","isWarning","TEXT_ACTIVE","TEXT_HELPER","labelRoot","labelError","ERROR","labelFocused","outlinedLabel","labelShrink","_InputProps$classes","_props$FormHelperText","_props$FormHelperText2","_props$FormHelperText3","_InputProps$classes2","forcedBorderColorClass","forcedColorClass","hasValue","shouldBeColored","getForcedColorClasses","helperTextPlaceholder","TextField","outlined","FormHelperTextProps","onWheel","_document$activeEleme","deleteIconWrapper","InsertedImage","refx","visible","setVisible","closeMenu","colorClass","entryIcon","hashFragment","asyncTimerId","scrollFunction","isInteractiveElement","getElAndScroll","getElementById","originalTabIndex","preventScroll","genericHashLink","As","linkHash","passDownProps","NavLink","isActive","isExact","filteredProps","elementId","defaultPrevented","altKey","shiftKey","smooth","scrollIntoView","behavior","childList","HashLink","getLinkUtilityClass","transformedColor","channelColor","v6Colors","success","warning","textPrimary","textSecondary","textDisabled","LinkRoot","secondaryChannel","MozAppearance","WebkitAppearance","linkClasses","TypographyClasses","setFocusVisible","isFocusVisible","getTextDecoration","MuiLink","RouterHashLink","lockIcon","LockedButtonWrapper","backdrop","buttonConfig","_action$onClick","DialogTitleRoot","getDialogTitleUtilityClass","titleId","DialogContext","dialogTitleId","DialogTitle","subTitleClassName","subTitle","keepOpen","onTabChanged","tabPosition","modalBodyClassName","buttonContainerClassName","activeTitle","setactiveTitle","_onClose","multiTitle","inactiveTitle","getDialogUtilityClass","DialogBackdrop","Backdrop","overrides","DialogRoot","DialogContainer","DialogPaper","paperFullWidth","fullScreen","paperFullScreen","dialogClasses","paperScrollBody","down","defaultTransitionDuration","duration","enteringScreen","leavingScreen","ariaDescribedby","ariaLabelledbyProp","ariaModal","BackdropComponent","BackdropProps","disableEscapeKeyDown","onBackdropClick","TransitionComponent","Fade","transitionDuration","TransitionProps","backdropClick","ariaLabelledby","dialogContextValue","closeAfterTransition","appear","in","elevation","containerPaper","disableBackdropClick","PulseModal","Dialog","wordWrap","closeButtonContainer","closeButton","disableSearch","disableUnderline","List","ListItem","ListItemText","selectStyles","_containerEl$current","bodyClassName","fullWidthList","iconButton","isSelectAllAllowed","countHidden","buttonClassName","isFullWidhtButton","popoverAnchorEl","setPopoverAnchorEl","selectedItemsCount","toggleAllChecked","containerEl","containerWidth","offsetWidth","filterCount","ClickAwayListener","onClickAway","Body","downIconSize","_headerRef$current","disableUncheck","headerRef","isOpen","setIsOpen","headerWidth","selectionItems","setSelectionItems","initIds","newSelectionItems","included","ListWrapper","multiSelectList","listHeader","closedHeader","listHeaderText","otherItem","selectionItem","_action$variant","buttonLabel","listWrapper","NoContent","sideBarContainer","mainContentContainer","mainContent","PageLayoutWithSidebarAndActions","footer","childClasses","hasActions","sideBar","RadioLabel","choiceWrapper","choiceLabelRoot","choices","rootClasses","RadioGroup","choice","FormControlLabel","control","Radio","searchIcon","searchUnderLine","popoverContainer","searchOnChange","popoverExplicitlyClosed","setPopoverExplicitlyClosed","FIELD_SMALLEST","disableAutoFocus","disableEnforceFocus","sideMenuRoot","titleIcon","menu","activeMenuItem","menuItemText","leftArrow","SideMenu","_variantProps$menuIte","backArrowUrl","hideDividerUnderTitle","variantProps","useRouteMatch","showTitleContainer","menuItems","containerClassName","selectedSubIds","setSelectedSubIds","subSelectOptions","setSubSelectOptions","subOptionsLoading","setSubOptionsLoading","subOptions","selectableSubOptions","allSelectableSubItemsSelected","subSelectLabel","_props$options$find$n","_props$options$find","actionsConfig","cloneSvg","sourceSvg","cloneNode","isLocal","protocol","makeAjaxRequest","httpRequestWithCredentials","httpRequest","XMLHttpRequest","onreadystatechange","readyState","contentType","getResponseHeader","responseXML","statusText","withCredentials","overrideMimeType","send","requestQueue","queueRequest","loadSvgCached","cacheValue","SVGSVGElement","documentElement","_loop_1","processRequestQueue","loadSvgUncached","idCounter","injectedElements","ranScripts","xlinkNamespace","injectElement","evalScripts","renumerateIRIElements","cacheRequests","beforeEach","elUrl","elId","elTitle","elWidth","elHeight","mergedClasses","__spreadArray","elStyle","elData","dataAttr","element_1","elements_1","properties_1","currentId_1","newId_1","iriElementsAndProperties_1","elementsLen","referencingElements","property","referencingElementLen","querySelectorAll","attrValue","allLinks","allLinksLen","getAttributeNS","linksLen","setAttributeNS","scriptType","scriptsToEval","scriptsLen","textContent","scriptsToEvalLen","styleTags","styleTag","parentNode","replaceChild","svgNamespace","ReactSVG","_React$Component","initialState","hasError","_isMounted","reactWrapper","nonReactWrapper","refCallback","_inheritsLoose","renderSVG","ownerDocument","defaultView","ownerWindow","nonReactTarget","_this$props","useRequestCache","beforeInjection","afterInjection","createElementNS","createElement","dataset","handleError","removeSVG","_c","afterAll","afterEach","_g","_h","_j","elementsLoaded_1","SVGInjector","afterInjectionError","originalDesc","newDesc","innerHTML","originalTitle","newTitle","_this$nonReactWrapper","prevProps","_this3","shallowDiffers","_this$props2","Fallback","excluded","sourceKeys","Wrapper","xmlnsXlink","propTypes","PropTypes","isRequired","svgIconColor","hoverColor","baseIcon","ANIM_DURATION","svgDisabled","activeColor","disabledColor","svgId","_background$current","_circle$current","beginElement","_background$current2","_circle$current2","xlinkHref","attributeName","dur","begin","arrowIconSpacing","selectedTagCloseIcon","unSelectedTag","textField","searchIconButton","clickableSearchText","grayText","groupName","SelectedTag","onCloseClick","UnSelectedTag","SearchIcon","searchValue","setSearchValue","inputWidth","_group$values","handleClosePopover","shownValues","_value$name","checkboxPosition","cardStyles","multilineInput","maxCharSpan","_props$InputProps","_props$InputProps2","_props$InputProps2$cl","minLength","minRows","topPart","progress","newTag","bottomPart","buttonPart","rightButton","steps","imageSrc","isNew","onSkip","onAction","DocumentInvitationTipContent","TipContent","closeTip","TIPS","TipType","SupplierManagementDashboard","setNextTip","ProcurementDashboard","MY_SUPPLIERS","SupplierManagementUpload","SupplierManagementView","ProcurementCreateRFP","ProcurementCreateRFI","ProcurementCreateDDQ","ProcurementCreateQTP","ProcurementDraftInfo","ProcurementDraftAddModule","ProcurementDraftSendToReview","ProcurementAddRecipients","ProcurementSend","ProcurementInvitationTable","ProcurementResponseTable","ESGGetPassport","ESGEditSelfAssessment","AcceptRFPInvitation","RFPType","RFP","AcceptDDQInvitation","DDQ","AcceptRFIInvitation","RFI","AcceptQTPInvitation","QTP","ProcurementResponseReview","ProcurementResponseSubmit","PassportResponseSubmit","SendRfpMessage","ReplyRfpMessages","TipProvider","autoShow","useStore","TipStore","selectedType","tipsSeen","setContent","timeoutId","noPadding","getTooltipUtilityClass","TooltipPopper","disableInteractive","popperInteractive","arrow","popperArrow","popperClose","tooltipClasses","isRtl","_ref8","TooltipTooltip","touch","tooltipArrow","_ref9","shape","_ref10","_ref11","fontWeightRegular","_ref12","_ref13","_ref14","_ref15","_ref16","_ref17","TooltipArrow","_ref18","hystersisOpen","hystersisTimer","Timeout","cursorPosition","composeEventHandler","eventHandler","childrenProp","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","leaveDelay","leaveTouchDelay","PopperProps","TransitionComponentProp","Grow","useRtl","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","useTimeout","enterTimer","leaveTimer","touchTimer","openState","prevUserSelect","stopTouchInteraction","WebkitUserSelect","shortest","handleMouseOver","handleMouseLeave","setChildIsFocusVisible","detectTouchStart","childrenProps","handleTouchStart","handleTouchEnd","onTouchEnd","getReactElementRef","popperRef","nameOrDescProps","titleIsString","clientX","clientY","interactiveWrapperListeners","onMouseOver","onMouseLeave","popperOptions","tooltipModifiers","modifiers","Transition","TooltipComponent","ArrowComponent","Arrow","appendOwnerState","transitionProps","tooltipProps","tooltipArrowProps","getBoundingClientRect","_ref19","TransitionPropsInner","shorter","tooltipStyles","backdropStyle","hideOnBlur","_rest$open","hideArrow","showOnClick","setShow","hide","MuITooltip","frame","YouTubeVideo","iframeClassName","frameBorder","contentWrapper","companyNameText","createListButton","createButtonLabel","NoList","isFetching","companyLoading","addingInprogress","addCompanyToList","postCompanyListCompany","companyIds","useAddCompanyToList","getSelectedIds","companyIdMatch","getOptionsPairs","calculatedSelectedIds","arr1","arr2","set1","set2","hasSameValues","oldsIds","addToList","_selectedItems","setName","postCompanyList","generateAlmostUniqueId","newListName","useCreateCompanyList","deletionInProgress","removeFromList","isInOrg","AssetContext","folderIdFromUrlParam","useFolderIdParam","previousFolderId","usePrevious","useAssetItems","useIsomorphicLayoutEffect","useWindowSize","windowSize","setWindowSize","windowWidth","windowHeight","handleSize","innerWidth","innerHeight","eventName","savedHandler","_element$current","targetElement","useEventListener","ConfettiContext","showConfetti","defaultConfettiColors","ConfettiProvider","setProps","canvas","ReactConfetti","sideBarWidth","confettiSource","recycle","onConfettiComplete","_props$onConfettiComp","GroupContext","isMember","shouldShowContent","useGroupContext","locationToLayout","GROUP_TAB_URLS","posts","allFiles","videos","documents","GroupProvider","groupLoading","useGroup","ownerCompany","ownerCompanyLoading","ownCompanyLoading","openGroupSettings","useOpenGroupSettings","replaceState","initialPage","activeInvitation","_invitation$invitedCo","access","getGroupContentState","GroupAccessContext","ListContext","onToggleSelectAll","ListProvider","allElementsSelected","setListDataAndKeepSelectedItems","newArr","newItem","_listData$find","oldItem","useModal","setHistory","elementToAppend","modalContentHistory","newHistory","lastEl","keepMounted","Consumer","ModalProvider","PUBLIC_VIEWER_DATA_ROOM_COMPANYID","PUBLIC_VIEWER_DATA_ROOM_ID","PublicVisitorContext","viewedDataRoomId","viewedCompanyId","setDataRoomId","setCompanyId","usePublicVisitorContext","PublicVisitorProvider","dataRoomId","dataRoomCompanyId","viewedDataRoomCompanyId","_window$sessionStorag","isPublicVisitor","isPublicVisitorLoading","useIsPublicVisitor","setDataRoomCompanyId","sessionStorage","calculatedDataRoomId","useDataRoom","setItem","removeItem","usePublicVisitor","parameters","autoHideDuration","disableWindowBlurListener","resumeHideDuration","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","createHandleFocus","otherHandlers","onFocusCallback","createMouseEnter","onMouseEnterCallback","createMouseLeave","onMouseLeaveCallback","externalProps","externalEventHandlers","extractEventHandlers","onBlurCallback","getSnackbarContentUtilityClass","SnackbarContentRoot","emphasis","body2","SnackbarContent","getContrastText","SnackbarContentMessage","SnackbarContentAction","getSnackbarUtilityClass","SnackbarRoot","snackbar","ClickAwayListenerProps","ContentProps","onEnter","onExited","useSnackbar","exited","setExited","getSlotProps","handleEnter","isAppearing","getAlertUtilityClass","AlertRoot","severity","getColor","darken","lighten","getBackgroundColor","colorSeverity","Alert","alertClasses","AlertIcon","AlertMessage","AlertAction","defaultIconMapping","SuccessOutlinedIcon","ReportProblemOutlinedIcon","ErrorOutlineIcon","InfoOutlinedIcon","iconMapping","CloseButton","CloseIcon","CloseButtonSlot","closeButtonProps","CloseIconSlot","closeIconProps","actionButton","AlertActionButton","PulseAlert","SnackBarContext","createContext","SnackBarProvider","setOpen","setMessage","setAction","typeColor","setTypeColor","showSnackBar","Snackbar","useSnackBar","createBrowserHistory","COMMENTS_BATCH_SIZE","useComments","referenceId","referenceType","pageSize","numberOfComments","commentsEnabled","comments","cursorId","getCommentsByReferenceId","fetchedCount","useAddComment","newComment","addComment","isApproved","useUpdateComment","commentId","updateComment","useDeleteComment","deleteComment","useRFPs","Passport","passportDocuments","_passportDocuments","useOwnPassports","ownPassports","getMyRecentPassports","sentPassportInvitations","calculatedOffset","getSentPassportInvitations","passportDocumentId","useGetRegulationQuestionnaires","assessmentAccessType","regulationId","regulationQuestionnaires","getRegulationQuestionnaires","refetchOnMount","useGetRegulationSurveys","regulationSurveys","getRegulationSurveys","longCachedQueryOptions","useGetFolderByRegulation","regulationFolders","getFolderByRegulation","useGetRegulations","regulations","getRegulations","isFolder","transformData","createdDate","getCreateDateForApiItems","updatedDate","getUpdateDateForApiItems","dataIsAsset","rfpDateFormat","updateDateFomat","useSearchAssets","notifyOnChangeProps","assetLabels","getAssetLabels","useLogIn","logIn","login","_variables","ACTING_COMPANY_ID","accessToken","useLogInWithToken","token","loginWithToken","refetchQueries","useLogOut","logOut","logout","removeQueries","LOGIN","useGetAuthToken","renewToken","refetchInterval","useRegister","useForgotPassword","forgotPassword","useResetPassword","resetPassword","useResendVerifyEmail","resendVerifyEmail","useVerifyToken","verifyToken","useVerifyEmail","verifyEmail","useGetInviterCompany","companyMemberInvitationToken","COMPANY_MEMBER_INVITATION_TOKEN","inviterCompanyId","INVITER_COMPANY_ID","inviterCompany","getInviterCompany","activeFilters","anyFilterEnabled","useCreateCompany","switchCompany","useSwitchCompany","createCompany","rfpResponse","createRFPResponse","rfpResponses","newRFPRefponse","answerIds","DynamicRfpResponseStatus","rfpInvitationId","rfpsByInvitation","rfpInvitation","dataRoom","getDataRoom","dataRooms","_options$filters","_options$filters2","_options$filters2$cre","_options$filters3","_options$filters3$cre","getDataRooms","createdAfter","createdBefore","useDeleteAsset","deleteAsset","ContainerType","Assets","deleteCompanyListCompany","previousSearchList","useDownloadAssets","downloadAssets","openInNewTab","fileNamePrefix","assetsNotCachedOrStale","queryKeyCachedAt","getQueryState","blobUrl","dataUpdatedAt","getAssetBlobUrls","getCompany","BATCH_SIZE","useGetPosts","isDraft","getGroupPosts","_lastPage$posts$slice","useGroupFiles","groupFiles","getGroupFiles","userPreviews","getUserPreviewsBasedOnGroupInvitation","getGroupInvitations","useRole","getUserCompanyRole","roleLoading","isIdle","roleIdle","roleError","rolesLoading","rolesIdle","roles","rolesError","useRoles","roleId","useIsSurveyParticipant","isSurveyParticipant","mySuppliers","_filters$attributes","filteredAttributeFilters","attribute","_attribute$choices","attributeTypeId","attributeChoiceIds","isSelected","_attribute$attributeC","formatedFilters","getMySuppliers","useGetMySupplierDetails","supplierDetails","getMySupplier","useCreateSupplier","createSupplier","useUploadSuppliersCsv","uploadSuppliersCsv","useUpdateSupplier","updateSupplier","useDeleteSupplier","deleteSupplier","useNotifications","notifications","getNotifications","useRecentNotifications","recentNotifications","getDefaultOwnCompany","baseParams","sectors","dashboardType","DashboardType","General","failureCount","useRFP","rfp","useRFPresponses","queryEnabled","rfpResponsesByRfpId","getRFPresponsesByRfpId","rfps","getRFPs","readNotification","notificationId","unread","updateInfiniteCache","requestAccess","requestGroup","previousGroup","getRoles","searchDataRoomAssets","searchAssets","activeCompanyId","resetQueries","useUserCompanies","userRelatedCompanies","userCompanyRoles","getCompanyRolesByUserId","roleName","getDefaultUser","payments","seenWelcomePopup","emailNewRFP","emailRFPResponse","emailGroupInvitation","emailGroupUpdates","isPlaceholder","tokenData","localCompanyId","localAccountId","getUser","retryCount","industriesLoading","queryKey","queryFn","getIndustries","sectorsLoading","getSectors","specialitiesLoading","getSpecialties","countriesLoading","getCountries","zonesLoading","employeesLoading","getEmployeeNumbers","passportsLoading","getPassportTypes","isInCompanyList","useDeepCompareMemoize","signalRef","getFeatureFlag","setItems","setSelectedItemsCount","selectionDataChanged","changedId","passportRfpId","useYouTubeData","youTubeVideo","REACT_APP_YOUTUBE_API_KEY","_data$items","contentDetails","SearchParamEnum","getSearchParam","URLSearchParams","getInvitationFromLocalStorage","RFP_INVITATION_TOKEN","GROUP_INVITATION_TOKEN","companyMemberInvitationId","invitationType","InvitationType","companyMember","removeInvitationParamsFromLocalStorage","removeSearchParam","cookie","cookieArray","getCookieArray","closeIconContainerClass","transitionDelay","sideMenuStatusClass","menuWrapperClass","pulseIcon","itemIconClass","itemIconHeaderClass","fixedIconSize","groupContainer","hiddenScrollbarStyles","itemLabelClass","itemHeaderLabelClass","sideMenuClass","scrollbarWidth","subMenuItem","subMenuTitleContainer","subMenuTitle","TITLE2","menuItemClass","burgerButtonContainer","burgerButton","iconContainerClass","pulseIconContainerClass","menuPulseIconClass","menuWrapperClassOpen","menuWrapperClassClose","sideMenuStatusClassOpen","sideMenuStatusClassClose","closeIconContainerClassOpen","closeIconContainerClassClose","isJoinRequestSent","_m$invitedCompany","invitationForCompany","invitationForUser","isInvited","Own","PrivateJoined","PrivateJoinRequestSent","PrivateInvited","PublicJoined","titleRow","GroupPageCard","headerButtons","fullWidthContent","componentClasses","sideColumn","centerColumn","fullHeight","backgroundContainer","kebabMenuItemIcon","ownerCompanyWrapper","ownerCompanyDetails","ownerCompanyName","groupCreationDate","bigIcon","buttonWithMargin","zoneTagContainer","zoneTag","TAG_SELECTED","memberCardContentContainer","membersTitleWithPendingRequests","joinRequestsPendingButton","memberButton","memberCompanyAvatarsContainer","filteredCompanyAvatarContainer","filteredCompanyAvatar","filteredCompany","memberSearch","recentlyFilteredText","recentlyFilteredItems","memberCompanyButtons","memberCompanyButton","filteredCompanyName","memberButtons","linkedDataroomItem","companyInfoCardStyles","notificationIcon","manageIcon","leaveIcon","PostsContainer","isGroupOwner","managingFilesEnabled","manageGroupFilesApproval","ownerMenuItems","avatarStyle","popupContainer","borderLessContainer","routes","Description","Files","Datarooms","isGroupLoading","updateGroup","_data","useUpdateGroup","_values$datarooms","joinRequests","MemoryRouter","initialEntries","GroupSettingsSidebar","Route","exact","GroupMembers","onMemberRequestDecline","Declined","ReviewPosts","ReviewFiles","GroupDataroomSettings","BottomBar","backGrounImage","submitForm","GroupSettingsPage","iframe","editIconWrapper","EditableYouTubeVideo","disableEdit","onEdit","youTubeData","getYouTubeVideoReadableDuration","insertedImageStyles","PostVideoManager","addVideo","uploadVideoToPost","createPostVideo","useCreatePostVideo","updateVideo","mediaItemId","updatePostVideo","useUpdatePostVideo","useDeletePost","deletePost","useUpdatePost","updatePost","DeletePost","DeclinePost","DeleteVideo","videoId","deleteVideo","deletePostVideo","useDeletePostVideo","buttonContainerStyles","sharedPostStyles","postingDate","buttonsRow","commentRow","userProfile","commentInput","nonEditableComment","commentAuthorRow","commentAuthorName","commentText","postCommentButton","editButtons","closeIconButton","checkIcon","likeAnimation","reactionCountStyles","editableMainContainer","nonEditableContainer","postCompanyName","postCardHeader","attachmentsContainer","reactionsRow","interactionDivider","likeButton","likeButtonClicked","animationDuration","animationIterationCount","reactionCount","commentsCount","commentsContainer","contentBox","approvePostButtonsContainer","loadCommentsButton","attachmentIconsContainer","editIconsContainer","isAttachmentTypeDisabled","attachmentType","_post$insertedMedia","_post$mediaItems","_post$attachments","insertedMedia","mediaItems","EditablePostCard","_post$attachments2","_post$insertedMedia2","_post$mediaItems2","_post$insertedMedia3","_post$insertedMedia4","onEditFinished","showPostSentToApproval","attachmentsEnabled","postAttachments","videosEnabled","postVideos","postText","setPostText","createPost","useCreatePost","uploadAttachment","uploadPostAttachment","useUploadPostAttachment","cloneAttachments","cloneAssetsToPost","useCloneAssetsToPost","deleteAttachment","deletePostAttachment","useDeletePostAttachment","debouncedCreatePost","debouncedUpdatePost","handleSubmitPost","ensurePostCreated","hasContent","AvatarIcon","FILE_ICONS","assets","PostYouTubeVideo","commentStyles","handleDiscardPost","_comment$user","setCommentText","setIsEditing","commentDate","commentDateDifference","humanizedDateInterval","userHasEditRights","useHasDeleteRights","ReactionCount","reactions","initiateLoading","reaction","NonEditablePostCard","allowedInteractions","loadReactionDetails","setLoadReactionDetails","loadingReactions","postReactions","getReactionDetailsForPost","usePostReactionDetails","pagedComments","hasMoreComments","nextCommentsLoading","initialData","pageParams","postLiked","setPostLiked","postingDateInterval","likePost","useLikePost","updatePending","postActions","modals","like","isLiked","approve","toggleEditingStatus","isOwnPost","isPendingView","EmptyContent","postsContainer","pagedPosts","infiniteRef","PostCard","EmptyPostsCard","ViewerType","RFPEditorTab","defaultOrValue","scrollTo","scrollOptions","forced","inline","ele","containerRect","tabsWithTables","evaluation","analytical_review","completed","useTabs","isResponse","rfpResponseData","evaluationFeatureEnabled","evaluationSettings","responses","_rfpResponseData$stat","general","Regulation","RfpStatus","Distributed","AnalyticalReview","comparison","summary","useUrlHashBasedNavigation","moduleId","manageNavigationToMessage","questionId","manageNavigationToQuestion","useInformDueDatePassedForResponse","isSupplierView","isExpired","responseStatus","isQuestionSingleOrMultiChoice","QuestionType","SINGLE_CHOICE","MULTI_CHOICE","QueryClient","defaultOptions","queries","isQueryDisabledOrLoading","createDataRoom","deleteDataRoom","updateDataRoom","recordDataRoomVisit","moveFolder","moveAsset","createAssetLabel","updateAssetLabel","deleteAssetLabel","addLabelToAssets","changeAssetType","cloneAnswerAttachment","addVideoToDataRoom","deleteAnswerAttachment","downloadZip","downloadFiles","deleteFolder","uploadAsset","uploadDataRoomAsset","cloneDataRoomAssets","uploadSupplierAsset","cloneSupplierAssets","uploadSupplierProductAsset","cloneSupplierProductAssets","uploadContractAttachment","uploadTemplateFileToMatrix","cloneTemplateFileToMatrix","cloneContractAttachments","uploadAnswerAttachment","updateCompany","createRFP","updateRFP","updateWeightsInModules","updateRFPEvaluationType","updateRFPScoringSettings","createRFPScoreSettingGroup","setRFPScoreSettingGroup","deleteScoreSettingsGroup","sendRFP","startAnalyticalReview","markDocumentToBeEvaluated","selectWinnerResponse","togglePassportVisibility","deleteRFP","saveRFPRecipients","createModule","editModule","deleteModule","createModuleQuestionnaire","editModuleQuestionnaire","deleteModuleQuestionnaire","createQuestionnaireQuestion","editQuestionnaireQuestion","deleteQuestionnaireQuestion","createQuestionnaireAnswer","editQuestionnaireAnswer","deleteQuestionnaireAnswer","updateAnswerScore","editRfpResponse","inviteCompanyMembers","resendMemberInvitation","inviteToDataRoom","updateUser","leaveGroup","createGroupVideo","updateGroupVideo","deleteGroupVideo","uploadGroupAttachment","cloneGroupAttachments","deleteGroupAttachment","clonePostAttachments","sendAnswerMessages","cloneAssetsToFolder","stripeKey","supplierId","supplierAttachments","supplierContracts","supplierProducts","supplierGroups","supplierContract","contractId","supplierProduct","productId","companyMemberInvitation","invitationToken","standardizedQuestionnaires","passportPdf","passportBlobId","dataRoomVideos","folderPath","companyMembers","dataRoomInvitations","newAnswers","answer","answerId","answersByRfxId","rfxId","answerAttachments","blobUrls","searchTerm","supplierRfps","invitationsByRfp","invitationByRfpId","rfpWeights","rfpScoreSettings","rfpScoreSettingGroups","companyRoles","rfpResponseEvaluationDetails","rfpModules","answers","questionIds","fileItem","blobId","containerType","rfpRecipients","featureFlagName","attributeSchema","modelType","lookupTableGroups","tableId","attributeType","certificate","matrices","matrixId","matrixDataByAnswerId","matrixDataByMatrixId","csrdImpactRows","questions","questionLabels","questionLabel","dashboardItems","rfxDashboardChartData","rfxSummary","rfxComparison","cacheTime","refetchOnWindowFocus","_this$errors","fileError","UINT8","getUint8","setUint8","UINT16_LE","getUint16","UINT16_BE","UINT32_LE","getUint32","setUint32","UINT32_BE","INT32_BE","getInt32","setInt32","UINT64_LE","getBigUint64","setBigUint64","StringType","AnsiStringType","codePointToString","singleByteDecoder","inRange","cp","bite","windows1252","EndOfStreamError","AbstractTokenizer","fileInfo","numBuffer","readToken","peekToken","peekBuffer","peekNumber","ignore","bytesLeft","normalizeOptions","mayBeLess","Deferred","StreamReader","deferred","peekQueue","bytesRead","peekData","lenCopy","reqLen","chunkLen","readFromStream","request","readDeferred","ReadStreamTokenizer","streamReader","getFileInfo","normOptions","skipBytes","skipBuffer","bufSize","totBytesRead","BufferTokenizer","bytes2read","uint32SyncSafeToken","minimumBytes","_check","FileTypeParser","detectors","customDetectors","fromTokenizer","tokenizer","initialPosition","detector","fileType","fromBlob","fromStream","strtok3","toDetectionStream","readableStream","sampleSize","outputStream","checkString","MAX_SAFE_INTEGER","mime","id3HeaderLength","zipHeader","compressedSize","uncompressedSize","filenameLength","extraFieldLength","Token","nextHeaderIndex","brandMajor","maxBufferSize","readTiffHeader","readField","msb","readElement","lengthField","nrLength","readChildren","readChunkHeader","readHeader","guid","typeId","jsonSize","readSum","tarHeaderChecksumMatches","readTiffTag","tagId","readTiffIFD","numberOfTags","ifdOffset","formatEndpoint","host","readDataFromResponse","getNewSentryTransaction","_hub$getScope","hub","Sentry","existingTransaction","getScope","getTransaction","newTransaction","configureScope","scope","setSpan","transaction","stopSentryTransaction","getJSON","endpoint","searchParams","postJSON","putJSON","deleteAPI","uploadAPI","formData","FormData","jsonField","responseObj","zippedBlob","JSZip","numberOfFiles","zblob","blobWithouthMime","fileTypeFromBlob","fileLink","download","zipFileName","click","saveAs","fileGET","getIncomingRfps","getInvitationsByRFP","getRfpInvitationByRfpId","rpfId","postRFP","cloneRfxParams","newRfp","getRfpByInvitationId","getRFPWeights","reviewRfp","editRfp","completeQuestionnaire","updatedRFP","deleteRFPAttachment","moduleWeights","updateRfpEvaluationType","evaluationType","getRfpScoreSettingGroups","createRfpScoreSettingGroup","newScoreSettingsGroup","editScoreSettingGroup","scoreSettingsGroupId","scoreSettings","isDefault","getRfpScoreSettings","setScoreGroupOnRfp","getRfxDashboardChartData","getRfxSummary","getRfxComparison","getRFPModules","addModuleToRFP","updateModule","uploadModuleAttachment","cloneAssetsToModule","copyModules","addQuestionnaireToModule","questionnaire","updateQuestionnaire","questionnaireId","deleteQuestionnaire","uploadQuestionnaireAttachment","cloneAssetsToQuestionnaire","copyQuestionnaires","getQuestions","addQuestionToQuestionnaire","addQuestionsToQuestionnaire","updateQuestion","deleteQuestion","uploadQuestionAttachment","cloneAssetsToQuestion","copyQuestions","moveQuestion","sourceQuestionId","targetQuestionId","changeQuestionsRelevance","getRFPresponseEvaluationDetails","editRFPResponse","setResponseEvaluationStatus","evaluationStatus","setResponseAnalysisStatus","analysisStatus","getAnswersByRfxId","getAnswersByRFPResponseId","addAnswerToQuestion","updateAnswer","deleteAnswer","addScoreToAnswer","cloneAssetsToAnswer","answerAttachment","uploadAssetToAnswer","choiceId","invitationEmailList","getCompanyMembers","updateSelf","_ref20","connectToCompany","companyMemeberInvitationToken","connectToRFP","rfpInvitationToken","connectToGroup","groupInvitationToken","getAssetRepositoryFolderPath","_ref21","newType","getAllFolders","assetLabelId","assignLabelsToAssets","getStandardizedQuestionnaires","newParentId","updateCompanyInfo","updatedCompany","getDataRoomVideos","_ref22","updateDataRoomVideo","_ref23","deleteVideoFromDataRoom","_ref24","mediaId","uploadAssetToDataRoom","_ref25","cloneAssetsToDataRoom","_ref26","getDataRoomInvitations","sendDataRoomInvitations","listName","companyListCompanyId","resendPassportInviation","deleteProductOrService","productOrServiceId","updateProductsAndServices","producstAndServices","products","sendFeedBack","feedback","recordPayment","sessionId","getGroupByInvitationId","getGroupsImMeber","_ref27","uploadVideoToGroup","cloneAssetsToGroup","commentIds","uploadCommentAttachment","cloneAssetsToComment","deleteCommentAttachment","cloneAttachmentsToSupplier","_ref28","uploadAttachmentToSupplier","_ref29","_ref30","getSupplierContracts","getSupplierContract","createSupplierContract","updateSupplierContract","deleteSupplierContract","uploadAttachmentToContract","_ref31","cloneAttachmentsToContract","_ref32","deleteContractAttachment","_ref33","getSupplierProduct","getSupplierProducts","createSupplierProduct","updateSupplierProduct","supplierProductId","cloneAttachmentsToSupplierProduct","_ref34","uploadAttachmentToSupplierProduct","_ref35","getSuppliergroups","createSupplierGroup","connectSuppliersToGroups","disconnectSuppliersFromGroups","renameSupplierGroup","_ref36","supplierGroupId","deleteSupplierGroup","getAttributeSchema","createAttributeType","updateAttributeType","_ref37","deleteAttributeType","getLookupTableGroups","getLookupTable","lookupTableId","getCertificateByAssetId","createCertificate","updateCertificate","_ref38","certificateId","deleteNotification","_ref39","imageDetails","getRfpExcelReport","_ref40","getRfpResponseExcelReport","_ref41","getRfpResponseWordReport","_ref42","pageSettings","getSupplierExcelReport","_ref43","getProductsExcelReport","_ref44","getQuestionsExcelReport","_ref45","parentModelType","parentId","getRfxJsonExport","_ref46","importRfxJson","_ref47","rfxInput","getLookupTableWordReport","_ref48","getLookupTableExcelReport","_ref49","getMatrices","getMatrix","createMatrix","_ref50","newMatrix","updateMatrix","_ref51","matrixData","deleteMatrix","_ref52","forceDelete","importMatrixData","_ref53","createMatrixColumn","_ref54","newMatrixColumn","updateMatrixColumn","_ref55","deleteMatrixColumns","_ref56","matrixColumnIds","insertMatrixRowByAnswerId","_ref57","insertMatrixRowByMatrixId","_ref58","updateMatrixRow","_ref59","matrixRowId","deleteMatrixRows","matrixRowIds","getMatrixCellsByAnswerId","getMatrixCellsByMatrixId","getMatrixDataExcelReport","_ref60","matrixIds","templateAssetId","_ref61","_ref62","getCSRDImpactRows","createCSRDImpactRow","updateCSRDImpactRow","_ref63","rowId","deleteCSRDImpactRow","getCSRDMaterialityReport","getQuestionLabels","createQuestionLabel","_ref64","updateQuestionLabel","_ref65","deleteQuestionLabel","getQuestionLabelWithRelatedQuestions","_ref66","connectQuestionsToLabels","disconnectQuestionsFromLabel","getDashboardItems","addDashboardItem","_ref67","deleteDashboardItem","dashboardItemId","getFoldersByRegulation","isExpanded","calculatedExtension","audio","unknown","FILE_COLORS","ai","compressed","ppt","excel","xls","xlm","xla","xlc","xlt","xlw","xlsb","xlsm","xltm","xlam","xlsx","wma","txt","conf","def","ini","svgz","psd","pps","pot","pptx","png","mp4","mp4v","mpg4","mp3","mov","qt","jp2","jpg2","jpg","jpeg","jpe","html","htm","shtml","gif","docx","avi","eps","ps","ESG_PASSPORT_ICON","teamMembers","DynamicRfpInvitationStatus","StandardRFPType","RFPStatus","PassportInvitationStatus","CommentStatus","SupplierContractRiskCategory","SupplierCostCategory","SupplierRiskCategory","AttributeLookupDataType","MatrixColumnType","backgroundColorClass","semiBold","SEMI_BOLD","fullWidthClass","zeroPaddingMarginClass","noOverFlow","noTextOverflowClass","leftBorderClass","marginTopClass","marginBottomClass","marginRightClass","autoMarginLeft","clickableClass","TAG","FIELD","BUTTON_HIGH","DIVIDER","BUTTON","TEXTLEFT","ICON","LABEL","POPUP_MARGIN","POPUP_DROPDOWN","pointerCursor","scrollbarColor","lineClamp","hoverShadow","applyMultipleSelectors","listReset","BOLD","REGULAR","LIGHT","HEADLINE1","HEADLINE2","HEADLINE3","CAPTION_SEMIBOLD","SMALL_TEXT","PULSEPASSPORT","PRIVACY_POLICY","TERMS_OF_USE","ESG_PASSPORT_ACTION_GUIDE","ms","timer","returnValue","askForAuthenticationPreservingRoute","reader","FileReader","readAsDataURL","onload","durationPlugin","relativeTime","createDateFormat","dataRoomDateFormat","contractDateFormat","rfpDueDateFormat","excelReportDateFormat","ISO8601Duration","hours","thisMonth","startOf","toDate","last3Months","last6Months","humanize","nameValidatorFn","service","validatePasswordStrength","numMatches","letterMatches","createPersistedStore","STORE","Store","_listeners","subscribe","unsubscribe","updateState","fastDeepEqual","defaultState","componentImport","chunkIdentifier","sessionStorageKey","hasRefreshed","catch","reload","mouseClickEvents","mouseEventType","dispatchEvent","MouseEvent","bubbles","cancelable","indexof","charat","strlen","sizeof","caret","dealloc","delimit","delimiter","whitespace","escaping","commenter","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","KEYFRAMES","serialize","compile","rulesets","pseudo","declarations","atrule","variable","scanning","declaration","ruleset","identifierWithPointTracking","getRules","toRules","fixedElements","compat","isImplicitRule","parentRules","removeLabel","prefix","defaultStylisPlugins","combine","ssrStyles","_insert","stylisPlugins","inserted","nodesToHydrate","attrib","currentSheet","finalizingPlugins","serializer","middleware","serialized","sheet","shouldCache","nonce","speedy","insertionPoint","memoize","EmotionCacheContext","HTMLElement","CacheProvider","withEmotionCache","forwardRef","ThemeContext","Global","serializeStyles","sheetRef","useInsertionEffectWithLayoutFallback","isSpeedy","rehydrating","sheetRefCurrent","insertStyles","nextElementSibling","insertable","anim","unitlessKeys","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flexPositive","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","tabSize","WebkitLineClamp","floodOpacity","strokeMiterlimit","isDevelopment","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","processStyleValue","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","interpolation","componentSelector","__emotion_styles","serializedStyles","asString","interpolated","createStringFromObject","previousCursor","labelPattern","stringMode","identifierName","hashString","_insertTag","nextSibling","firstChild","createTextNode","createStyleElement","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","_tag$parentNode","useInsertionEffect","useInsertionEffectAlwaysWithSyncFallback","getRegisteredStyles","registeredStyles","classNames","rawClassName","registerStyles","isStringTag","getBackdropUtilityClass","BackdropRoot","invisible","RootSlot","TransitionSlot","transitionPropsRemoved","removeOwnerState","getButtonUtilityClass","commonIconStyles","ButtonRoot","rootShouldForwardProp","colorInherit","inheritContainedBackgroundColor","inheritContainedHoverBackgroundColor","A100","disabledBackground","inheritContainedBg","inheritContainedHoverBg","ButtonStartIcon","ButtonEndIcon","contextProps","ButtonGroupContext","buttonGroupButtonContextPositionClassName","ButtonGroupButtonContext","resolvedProps","resolveProps","disableFocusRipple","endIconProp","startIconProp","composedClasses","positionClassName","LazyRipple","use","ripple","useLazyRef","shouldMount","setShouldMount","mountEffect","mounted","didMount","mount","resolveFn","rejectFn","createControlledPromise","pulsate","_len3","_key3","getChildMapping","mapFn","Children","isValidElement","mapper","getProp","getNextChildMapping","prevChildMapping","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","cloneElement","TransitionGroup","handleExited","ReferenceError","_assertThisInitialized","contextValue","isMounting","firstRender","currentChildMapping","childFactory","TransitionGroupContext","rippleX","rippleY","rippleSize","inProp","leaving","setLeaving","rippleClassName","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","TouchRippleRipple","Ripple","touchRippleClasses","easing","easeInOut","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","oldRipples","fakeElement","touches","sizeX","sizeY","getButtonBaseUtilityClass","ButtonBaseRoot","buttonBaseClasses","colorAdjust","centerRipple","disableTouchRipple","LinkComponent","onContextMenu","onDragLeave","onFocusVisible","onMouseUp","onTouchMove","TouchRippleProps","touchRippleRef","buttonRef","handleRippleRef","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleContextMenu","handleDragLeave","handleMouseUp","handleTouchMove","isNonNativeButton","handleKeyUp","TouchRipple","getCheckboxUtilityClass","CheckboxRoot","SwitchBase","indeterminate","activeChannel","checkboxClasses","defaultCheckedIcon","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","checkedIcon","indeterminateIcon","indeterminateIconProp","mapEventPropToEvent","eventProp","disableReactTree","mouseEvent","touchEvent","movedRef","nodeRef","activatedRef","syntheticEventRef","handleClickAway","insideReactTree","clickedRootScrollbar","insideDOM","composedPath","createHandleSynthetic","handlerName","childrenPropsHandler","mappedTouchEvent","mappedMouseEvent","useSystemDefaultProps","getDialogActionsUtilityClass","DialogActionsRoot","disableSpacing","getDialogContentUtilityClass","DialogContentRoot","dividers","WebkitOverflowScrolling","dialogTitleClasses","DividerRoot","absolute","flexItem","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","dividerChannel","DividerWrapper","wrapperVertical","getDividerUtilityClass","entering","entered","defaultTimeout","addEndListener","onEntered","onEntering","onExit","onExiting","normalizedTransitionCallback","maybeIsAppearing","handleEntering","reflow","getTransitionProps","webkitTransition","handleEntered","handleExiting","handleExit","childProps","FilledInputRoot","InputBaseRoot","inputBaseRootOverridesResolver","bottomLineColor","hoverBackground","FilledInput","easeOut","hoverBg","disabledBg","onBackgroundChannel","inputUnderline","FilledInputInput","InputBaseInput","inputBaseInputOverridesResolver","WebkitBoxShadow","WebkitTextFillColor","caretColor","getColorSchemeSelector","componentsPropsProp","inputComponent","getFilledInputUtilityClass","filledInputComponentsProps","deepmerge","InputSlot","InputBase","muiName","getFormControlUtilityClasses","FormControlRoot","visuallyFocused","adornedStart","setAdornedStart","initialAdornedStart","isMuiElement","isAdornedStart","filled","setFilled","initialFilled","isFilled","focusedState","registerEffect","childContext","onEmpty","onFilled","FormControlContext","formControlState","states","muiFormControl","useFormControl","getFormControlLabelUtilityClasses","FormControlLabelRoot","formControlLabelClasses","labelPlacement","AsteriskComponent","disableTypography","labelProp","requiredProp","controlProps","fcs","TypographySlot","typographySlotProps","createStyled","traverseBreakpoints","responsive","smallestBreakpoint","breakpointValue","responsiveStyles","breakpointsKeys","responsiveKeys","filterBreakpointKeys","getSelfSpacingVar","getParentSpacingVar","selfColumnsVar","parentColumnsVar","generateGridSizeStyles","appendStyle","generateGridOffsetStyles","generateGridColumnsStyles","generateGridRowSpacingStyles","rowSpacing","generateGridColumnSpacingStyles","columnSpacing","generateGridDirectionStyles","generateGridStyles","generateSizeClassNames","generateSpacingClassNames","isValidSpacing","generateDirectionClasses","defaultCreateStyledComponent","systemStyled","useThemePropsDefault","useThemePropsSystem","createStyledComponent","useThemeProps","parseResponsiveProp","shouldUseValue","parsedProp","GridRoot","Grid","themeProps","columnsProp","sizeProp","offsetProp","spacingProp","rowSpacingProp","columnSpacingProp","unstable_level","createGrid2","getScale","isWebKit154","userAgent","autoTimeout","delay","transitionTimingFunction","getAutoHeightDuration","muiSupportAuto","getIconButtonUtilityClass","IconButtonRoot","iconButtonClasses","InputRoot","formControl","InputInput","getInputUtilityClass","inputComponentsProps","getInputAdornmentUtilityClass","_span","InputAdornmentRoot","disablePointerEvents","inputAdornmentClasses","variantProp","_InputGlobalStyles","rootOverridesResolver","adornedEnd","inputOverridesResolver","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel","inputPlaceholder","placeholderHidden","placeholderVisible","disableInjectingGlobalStyles","resize","InputGlobalStyles","globalCss","inputPropsProp","inputRefProp","renderSuffix","rows","isControlled","handleInputRefWarning","handleInputRef","checkDirty","useEnhancedEffect","InputComponent","TextareaAutosize","getInputBaseUtilityClass","isHostComponent","onAnimationStart","_formatMuiErrorMessage","SSR","getListUtilityClass","ListRoot","disablePadding","dense","subheader","getListItemUtilityClass","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","ListItemRoot","alignItemsFlexStart","hasSecondaryAction","secondaryAction","listItemButtonClasses","ListItemContainer","componentProp","ContainerComponent","ContainerProps","ContainerClassName","listItemRef","componentProps","ListItemTextRoot","listItemTextClasses","typographyClasses","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","getListItemTextUtilityClass","nextItem","previousItem","lastChild","previousElementSibling","textCriteriaMatches","textCriteria","repeating","moveFocus","currentFocus","traversalFunction","wrappedOnce","autoFocusItem","textCriteriaRef","previousKeyMatched","lastTime","adjustStyleForScrollbar","containerElement","noExplicitWidth","scrollbarSize","getScrollbarSize","activeItemIndex","newChildProps","criteria","lowerKey","currTime","keepFocusOnCurrent","getMenuUtilityClass","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","MenuPaper","PopoverPaper","MenuMenuList","MenuList","disableAutoFocusItem","MenuListProps","PopoverClasses","menuListActionsRef","paperExternalSlotProps","rootSlotProps","paperSlotProps","getMenuItemUtilityClass","MenuItemRoot","menuItemClasses","dividerClasses","listItemIconClasses","tabIndexProp","menuItemRef","candidatesSelector","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","tabindexAttr","nodeName","getTabIndex","getRadio","roving","isNonTabbableRadio","isNodeMatchingSelectorFocusable","documentOrder","defaultIsEnabled","disableRestoreFocus","getTabbable","isEnabled","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","lastKeydown","loopFocus","contain","rootElement","hasFocus","tabbable","isShiftTab","focusNext","focusPrevious","interval","setInterval","clearInterval","handleFocusSentinel","ariaHidden","getPaddingRight","getComputedStyle","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","isNotExcludedElement","isNotForbiddenElement","isForbiddenTagName","isInputHidden","isAriaHiddenForbiddenOnElement","findIndexOf","handleContainer","restoreStyle","disableScrollLock","isOverflowing","scrollContainer","DocumentFragment","containerWindow","setProperty","removeProperty","manager","containers","modalIndex","modalRef","hiddenSiblings","getHiddenSiblings","containerIndex","ariaHiddenState","nextTop","isTopModal","onTransitionEnter","onTransitionExited","mountNodeRef","hasTransition","getHasTransition","ariaHiddenProp","getModal","handleMounted","resolvedContainer","handlePortalRef","createHandleKeyDown","createHandleBackdropClick","propsEventHandlers","getBackdropProps","createChainedFunction","portalRef","getModalUtilityClass","ModalRoot","ModalBackdrop","hideBackdrop","propsWithDefaults","BackdropSlot","backdropProps","backdropRef","Portal","FocusTrap","NotchedOutlineRoot","NotchedOutlineLegend","float","withLabel","notched","OutlinedInputRoot","notchedOutline","OutlinedInputInput","OutlinedInput","_React$Fragment","getOutlinedInputUtilityClass","getPaperUtilityClass","PaperRoot","rounded","overlays","getOverlayAlpha","getPopoverUtilityClass","getOffsetTop","getOffsetLeft","getTransformOriginValue","resolveAnchorEl","PopoverRoot","PaperBase","anchorPosition","anchorReference","containerProp","marginThreshold","PaperPropsProp","transitionDurationProp","externalPaperSlotProps","paperRef","getAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","getTransformOrigin","elemRect","getPositioningStyle","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","isPositioned","setIsPositioned","setPositioningStyles","positioning","updatePosition","handleResize","rootSlotPropsProp","handlePaperRef","getWindow","isElement","Element","isHTMLElement","isShadowRoot","ShadowRoot","getUAString","uaData","userAgentData","brands","brand","isLayoutViewport","includeScale","isFixedStrategy","clientRect","visualViewport","addVisualOffsets","offsetLeft","getWindowScroll","win","scrollLeft","pageXOffset","pageYOffset","getNodeName","getDocumentElement","getWindowScrollBarX","isScrollParent","_getComputedStyle","getCompositeRect","elementOrVirtualElement","offsetParent","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","getNodeScroll","clientLeft","clientTop","getLayoutRect","getParentNode","assignedSlot","getScrollParent","listScrollParents","_element$ownerDocumen","scrollParent","isBody","updatedList","isTableElement","getTrueOffsetParent","getOffsetParent","isFirefox","perspective","willChange","getContainingBlock","auto","basePlacements","clippingParents","viewport","variationPlacements","placements","modifierPhases","modifier","requires","requiresIfExists","dep","depModifier","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","orderedModifiers","modifiersData","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","contextElement","orderModifiers","merged","mergeByName","_ref$options","effect","cleanupFn","noopFn","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","_options","onFirstUpdate","passive","getBasePlacement","getMainAxisFromPlacement","computeOffsets","basePlacement","commonX","commonY","mainAxis","unsetSides","mapToStyles","_Object$assign2","popperRect","gpuAcceleration","adaptive","roundOffsets","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","commonStyles","dpr","roundOffsetsByDPR","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","popperOffsets","getOppositePlacement","getOppositeVariationPlacement","rootNode","getRootNode","isSameNode","rectToClientRect","getClientRectFromMixedType","clippingParent","layoutViewport","getViewportRect","getInnerBoundingClientRect","winScroll","scrollWidth","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","mergePaddingObject","paddingObject","expandToHashMap","hashMap","detectOverflow","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","within","mathMax","mathMin","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","referenceRect","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowElement","arrowRect","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","arrowOffsetParent","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","_state$modifiersData$","toPaddingObject","minProp","maxProp","endDiff","startDiff","clientSize","centerToReference","axisProp","centerOffset","_options$element","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","createPopper","_options$scroll","_options$resize","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","initialStyles","_skip","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","_options$allowedAutoP","allPlacements","allowedPlacements","overflows","computeAutoPlacement","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","fittingPlacement","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","getPopperUtilityClass","defaultPopperOptions","PopperTooltip","forwardedRef","initialPlacement","popperRefProp","ownerStateProp","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","flipPlacement","setPlacement","resolvedAnchorElement","setResolvedAnchorElement","popperModifiers","PopperRoot","BasePopper","RootComponent","setMountNode","ReactDOM","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonUncheckedIcon","RadioButtonIconDot","RadioButtonCheckedIcon","easeIn","getRadioUtilityClass","RadioRoot","radioClasses","RadioButtonIcon","checkedProp","nameProp","onChangeProp","radioGroup","useRadioGroup","getFormGroupUtilityClass","FormGroupRoot","getRadioGroupUtilityClass","RadioGroupContext","FormGroup","getNativeSelectUtilityClasses","StyledSelectSelect","nativeSelectClasses","NativeSelectSelect","StyledSelectIcon","NativeSelectIcon","iconOpen","IconComponent","getSelectUtilityClasses","SelectSelect","selectClasses","SelectIcon","SelectNativeInput","slotShouldForwardProp","nativeInput","areEqualValues","ariaLabel","autoWidth","defaultOpen","displayEmpty","MenuProps","renderValue","SelectDisplayProps","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","getSelection","isCollapsed","childrenArray","handleItemClick","clonedEvent","displaySingle","displayMultiple","computeDisplay","foundMatch","menuMinWidth","buttonId","listboxId","childItem","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","native","NativeSelectInput","SelectInput","restOfClasses","inputComponentRef","getTabUtilityClass","TabRoot","wrapped","tabClasses","iconPosition","selectionFollowsFocus","easeInOutSin","getTabScrollButtonUtilityClass","TabScrollButtonRoot","tabScrollButtonClasses","StartButtonIcon","StartScrollButtonIcon","KeyboardArrowLeft","EndButtonIcon","EndScrollButtonIcon","KeyboardArrowRight","startButtonIconProps","startScrollButtonIcon","endButtonIconProps","endScrollButtonIcon","getTabsUtilityClass","TabsRoot","tabsClasses","scrollButtons","scrollButtonsHideMobile","TabsScroller","hideScrollbar","scrollableX","scrollableY","FlexContainer","flexContainerVertical","centered","TabsIndicator","indicatorColor","TabsScrollbarSize","scrollbarHeight","setMeasurements","prevHeight","defaultIndicatorStyle","ariaLabelledBy","allowScrollButtonsMobile","ScrollButtonComponent","TabScrollButton","TabIndicatorProps","TabScrollButtonProps","visibleScrollbar","scrollable","scrollStart","startScrollButtonIconProps","endScrollButtonIconProps","setMounted","indicatorStyle","setIndicatorStyle","displayStartScroll","setDisplayStartScroll","displayEndScroll","setDisplayEndScroll","updateScrollObserver","setUpdateScrollObserver","scrollerStyle","setScrollerStyle","valueToIndex","tabsRef","tabListRef","getTabsMeta","tabsNode","tabsMeta","tabMeta","updateIndicatorState","startIndicator","startValue","newIndicatorStyle","dStart","dSize","scrollValue","ease","cancelled","cancel","requestAnimationFrame","animate","moveTabsScroll","getScrollSize","containerSize","totalSize","handleStartScrollClick","handleEndScrollClick","handleScrollbarSizeChange","scrollSelectedIntoView","nextScrollStart","updateScrollButtonState","resizeObserver","handleMutation","removedNodes","unobserve","addedNodes","mutationObserver","ResizeObserver","tabListChildren","IntersectionObserver","firstTab","lastTab","observerOptions","threshold","firstObserver","isIntersecting","lastObserver","updateIndicator","updateScrollButtons","childIndex","childValue","conditionalElements","getConditionalElements","scrollbarSizeListener","showScrollButtons","scrollButtonStart","scrollButtonEnd","previousItemKey","nextItemKey","getFormLabelUtilityClasses","FormLabelRoot","colorSecondary","formLabelClasses","getInputLabelUtilityClasses","InputLabelRoot","FormLabel","disableAnimation","animated","shrinkProp","getFormHelperTextUtilityClasses","FormHelperTextRoot","formHelperTextClasses","getTextFieldUtilityClass","variantComponent","TextFieldRoot","FormControl","FormHelperTextPropsProp","idOverride","InputLabelPropsProp","InputPropsProp","SelectProps","SelectPropsProp","helperTextId","inputLabelId","htmlInput","formHelperText","inputAdditionalProps","inputLabelSlotProps","InputLabelSlot","inputLabelProps","InputLabel","HtmlInputSlot","htmlInputProps","FormHelperTextSlot","formHelperTextProps","FormHelperText","SelectSlot","selectProps","InputElement","getStyleValue","heightRef","shadowRef","calculateTextareaStyles","computedStyle","outerHeightStyle","overflowing","inputShallow","singleRowHeight","outerHeight","syncHeight","textareaStyles","rAF","debounceHandleResize","cancelAnimationFrame","internal_createExtendSxProp","TypographyRoot","noWrap","gutterBottom","defaultVariantMapping","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","inherit","variantMapping","getTypographyUtilityClass","getSwitchBaseUtilityClass","SwitchBaseRoot","SwitchBaseInput","defaultChecked","setCheckedState","hasLabelFor","newChecked","A200","A400","A700","getLight","activatedOpacity","getDark","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","createPalette","contrastThreshold","getDefaultPrimary","getDefaultSecondary","getDefaultError","lightBlue","getDefaultInfo","getDefaultSuccess","getDefaultWarning","getContrastRatio","augmentColor","mainShade","lightShade","darkShade","modeHydrated","createGetCssVar","appendVar","fallbacks","prepareTypographyVars","fontVariant","fontStretch","assignNestedKeys","arrayKeys","temp","walkObjectDeep","shouldSkipPaths","recurse","parentKeys","getCssValue","cssVarsParser","shouldSkipGeneratingVar","varsWithDefaults","cssVar","resolvedValue","parserConfig","getSelector","defaultGetSelector","disableCssColorScheme","colorSchemeSelector","colorSchemes","defaultColorScheme","otherTheme","rootVars","rootCss","rootVarsWithDefaults","themeVars","colorSchemesMap","defaultScheme","otherColorSchemes","scheme","colorScheme","cssObject","generateThemeVars","schemeVars","generateStyleSheets","stylesheets","insertStyleSheet","defaultSchemeVal","cssColorSheme","finalCss","createShadow","sharp","complex","formatMs","milliseconds","constant","createTransitions","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","mobileStepper","fab","speedDial","appBar","drawer","stringifyTheme","serializableTheme","serializeTheme","isPlainObject","createThemeNoVars","breakpointsInput","mixins","mixinsInput","spacingInput","paletteInput","transitionsInput","typographyInput","shapeInput","systemTheme","systemCreateTheme","muiTheme","toolbar","createTypography","argument","unstable_sxConfig","defaultSxConfig","unstable_sx","toRuntimeSource","defaultDarkOverlays","overlay","getOpacity","switchTrackDisabled","switchTrack","getOverlays","cssVarPrefix","rootSelector","excludedVariables","excludeVariablesFromRoot","setColor","toRgb","hslToRgb","setColorChannel","safeColorChannel","silent","systemCreateGetCssVar","attachColorScheme","restTheme","createColorScheme","cssVariables","initialColorSchemes","initialDefaultColorScheme","defaultColorSchemeInput","colorSchemesInput","paletteOptions","defaultShouldSkipGeneratingVar","firstColorScheme","getCssVar","defaultSchemeInput","builtInLight","builtInDark","customColorSchemes","setCssVarColor","tokens","colorToken","safeDarken","safeLighten","AppBar","LinearProgress","Skeleton","Slider","snackbarContentBackground","safeEmphasize","SpeedDialAction","StepConnector","StepContent","TableCell","safeAlpha","prepareCssVars","generateSpacing","createSpacing","createUnarySpacing","createGetColorSchemeSelector","createThemeWithVars","caseAllCaps","defaultFontFamily","fontWeightLight","fontWeightBold","htmlFontSize","allVariants","pxToRem2","coef","buildVariant","casing","overline","clone","alphaValue","useThemeSystem","systemUseThemeProps","additionalPropertiesToCheck","hasCorrectMainProperty","checkSimplePaletteColorValues","getSvgIconUtilityClass","SvgIconRoot","hasSvgAsChild","htmlColor","inheritViewBox","titleAccess","instanceFontSize","styleFn","lastValue","lastTheme","preprocessStyles","initialElementType","getSlotOwnerState","internalForwardedProps","useSlotPropsParams","rootComponent","resolvedComponentsProps","resolveComponentProps","slotComponent","internalRef","mergeSlotProps","slotOwnerState","finalOwnerState","LeafComponent","upperTheme","globalStyles","MuiGlobalStyles","SystemGlobalStyles","GlobalStyles","themeInput","reactPropsRegex","isPropValid","testOmitPropsOnStringTag","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","optionsShouldForwardProp","__emotion_forwardProp","Insertion","newStyled","targetClassName","__emotion_real","baseTag","__emotion_base","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","withComponent","nextOptions","emStyled","internal_mutateStyles","internal_serializeStyles","emSerializeStyles","PropsContext","styleOverrides","getThemeProps","RtlContext","sm","defaultBreakpoints","defaultContainerQueries","containerQueries","containerName","handleBreakpoints","styleFromPropValue","themeBreakpoints","isCqShorthand","containerKey","getContainerQuery","cssKey","createEmptyBreakpointObject","breakpointsInOrder","removeUnusedBreakpoints","breakpointKeys","breakpointOutput","clampWrapper","clamp","decomposeColor","hexToRgb","private_safeColorChannel","decomposedColor","colorChannel","recomposeColor","getLuminance","foreground","lumA","lumB","private_safeAlpha","coefficient","private_safeDarken","private_safeLighten","private_safeEmphasize","systemDefaultTheme","defaultOverridesResolver","processStyle","subStyle","isProcessed","otherStyles","processStyleVariants","mergedState","variantLoop","styleAttachTheme","isObjectEmpty","attachTheme","inputOptions","mutateStyles","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","lowercaseFirstLetter","shouldForwardPropOption","defaultStyledResolver","styledEngineStyled","generateStyledLabel","muiStyledResolver","expressionsHead","expressionsInput","expressionsBody","expressionsTail","resolvedStyleOverrides","slotKey","themeVariants","inputStrings","placeholdersHead","placeholdersTail","outputStrings","expressions","withConfig","mui","argsInput","sortBreakpointsValues","breakpointsAsArray","breakpoint1","breakpoint2","applyStyles","sortedValues","between","only","not","keyIndex","createBreakpoints","cssContainerQueries","sortContainerQueries","sorted","shorthand","containerQuery","toContainerQuery","mediaQuery","attachCq","directions","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","marginKeys","paddingKeys","spacingKeys","createUnaryUnit","themeKey","themeSpacing","getValue","transformer","resolveCssProperty","cssProperties","cssProperty","getStyleFromPropValue","filterProps","checkVars","themeMapping","propValueFinal","userValue","borderTransform","createBorderStyle","outlineColor","paletteTransform","sizingTransform","breakpointsValues","bgcolor","pr","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd","mt","mr","ml","mx","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","displayPrint","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateRows","gridTemplateAreas","gridArea","splitProps","systemProps","inSx","finalSx","getThemeValue","sxInput","sxObject","emptyBreakpoints","styleKey","maybeFn","allKeys","union","objectsHaveSameKeys","unstable_createStyleFunctionSx","useThemeWithoutDefault","contextTheme","defaultGenerator","createClassNameGenerator","configure","generator","MIN_SAFE_INTEGER","getUtilityClass","slotName","funcs","wait","debounced","later","deepClone","excludeKeys","formatMuiErrorMessage","globalStateClasses","globalStatePrefix","globalStateClass","documentWidth","muiNames","_payload","joinedClasses","mergedStyle","eventHandlers","componentsPropsWithoutEventHandlers","omitEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","slotState","defaultSlotProps","slotPropName","defaultProp","valueState","globalId","maybeReactUseId","reactId","defaultId","setDefaultId","useGlobalId","UNINITIALIZED","initArg","skipResolvingSlotProps","EMPTY","currentId","disposeEffect","captureException","exception","captureContext","getCurrentHub","withScope","startTransaction","customSamplingContext","API_VERSION","DEFAULT_BREADCRUMBS","Hub","__init","_stack","Scope","_version","getStackTop","bindClient","isOlderThan","setupIntegrations","pushScope","getStack","getClient","popScope","hint","eventId","_lastEventId","event_id","uuid4","syntheticException","_withClient","originalException","captureMessage","captureEvent","lastEventId","addBreadcrumb","breadcrumb","beforeBreadcrumb","maxBreadcrumbs","getOptions","mergedBreadcrumb","dateTimestampInSeconds","finalBreadcrumb","consoleSandbox","setUser","setTags","setExtras","extras","setTag","setExtra","setContext","oldHub","makeMain","getIntegration","integration","_oO","__SENTRY_DEBUG__","logger","_callExtensionMethod","traceHeaders","captureSession","endSession","_sendSessionUpdate","layer","session","getSession","closeSession","setSession","startSession","environment","GLOBAL_OBJ","makeSession","currentSession","updateSession","shouldSendDefaultPii","sendDefaultPii","sentry","getMainCarrier","__SENTRY__","extensions","getHubFromCarrier","setHubOnCarrier","hasHubOnCarrier","isNodeEnv","activeDomain","registryHubTopStack","_Oo","getHubFromActiveDomain","carrier","getGlobalSingleton","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_attachments","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","newScope","_session","_transactionName","_fingerprint","_requestSession","addScopeListener","addEventProcessor","_notifyScopeListeners","getRequestSession","setRequestSession","requestSession","setFingerprint","fingerprint","setLevel","setTransactionName","getSpan","updatedScope","contexts","maxCrumbs","getLastBreadcrumb","clearBreadcrumbs","addAttachment","getAttachments","clearAttachments","applyToEvent","getTraceContext","transactionName","_applyFingerprint","breadcrumbs","sdkProcessingMetadata","_notifyEventProcessors","getGlobalEventProcessors","setSDKProcessingMetadata","newData","processors","SyncPromise","isThenable","arrayify","addGlobalEventProcessor","startingTime","timestampInSeconds","started","ignoreDuration","dropUndefinedKeys","did","ip_address","ipAddress","user_agent","sessionToJSON","username","DEFAULT_ENVIRONMENT","States","PENDING","__init2","_handlers","executor","__init3","__init4","__init5","__init6","_resolve","_reject","onfulfilled","onrejected","_executeHandlers","finally","onfinally","isRejected","_setResult","RESOLVED","REJECTED","cachedHandlers","dynamicSamplingContext","getDynamicSamplingContext","acs","getGlobalHub","errorsInstrumented","errorCallback","activeTransaction","getActiveTransaction","setStatus","toTraceparent","sample","samplingContext","hasTracingEnabled","sampled","setMetadata","sampleRate","tracesSampler","parentSampled","tracesSampleRate","rate","isValidSampleRate","_startTransaction","transactionContext","configInstrumenter","instrumenter","transactionInstrumenter","Transaction","initSpanRecorder","_experiments","maxSpans","startIdleTransaction","idleTimeout","finalTimeout","onScope","heartbeatInterval","IdleTransaction","addTracingExtensions","addInstrumentationHandler","TRACING_DEFAULTS","IDLE_TRANSACTION_FINISH_REASONS","IdleTransactionSpanRecorder","SpanRecorder","_pushActivity","_popActivity","transactionSpanId","maxlen","spanId","endTimestamp","activities","_heartbeatCounter","_finished","_idleTimeoutCanceledPermanently","_beforeFinishCallbacks","_finishReason","_idleHub","_idleTimeout","_finalTimeout","_heartbeatInterval","_onScope","_restartIdleTimeout","spanRecorder","spans","keepSpan","startTimestamp","registerBeforeFinishCallback","pushActivity","popActivity","_pingHeartbeat","cancelIdleTimeout","restartOnChildSpanChange","_idleTimeoutID","setFinishReason","_beat","heartbeatString","_prevHeartbeatString","_maxlen","Span","traceId","__init7","spanContext","parentSpanId","startChild","childSpan","logMessage","spanMetadata","setData","setHttpStatus","httpStatus","spanStatus","spanStatusfromHttpCode","isSuccess","sampledString","toContext","updateWithContext","parent_span_id","span_id","trace_id","start_timestamp","_measurements","_frozenDynamicSamplingContext","_hub","_name","_trimEnd","trimEnd","incomingDynamicSamplingContext","setMeasurement","newMetadata","recordDroppedEvent","finishedSpans","transaction_info","measurements","publicKey","public_key","getDsn","maybeSampleRate","sample_rate","user_segment","dsc","setHub","maybeHub","maybeOptions","__SENTRY_TRACING__","enableTracing","WINDOW","getGlobalObject","DEFAULT_MAX_STRING_LENGTH","htmlTreeAsString","elem","currentElem","MAX_TRAVERSE_HEIGHT","sepLength","nextStr","keyAttrs","maxStringLength","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","getLocationHref","oO","wat","isInstanceOf","isBuiltin","isErrorEvent","isDOMError","isDOMException","isEvent","Event","isSyntheticEvent","CONSOLE_LEVELS","originalConsole","wrappedLevels","originalWrappedFunc","__sentry_original__","makeLogger","enable","disable","gbl","crypto","msCrypto","randomUUID","getRandomByte","getRandomValues","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","mechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","addNonEnumerableProperty","maybeArray","__SENTRY_BROWSER_BUNDLE__","dynamicRequire","mod","require","replacementFactory","markFunctionWrapped","proto","getOriginalFunction","urlEncode","convertToPlainObject","getOwnProperties","newObj","serializeEventTarget","CustomEvent","extractedProps","extractExceptionKeysForMessage","includedKeys","_dropUndefinedKeys","memoizationMap","memoVal","safeJoin","stringMatchesSomePattern","testString","requireExactStringMatch","isMatchingPattern","resolvedSyncPromise","rejectedSyncPromise","dateTimestampSource","nowSeconds","platformPerformance","getNodePerformance","timeOrigin","getBrowserPerformance","timestampSource","_browserPerformanceTimeOriginMode","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","isGlobalObj","defaultFunctionName","getFunctionName","supportsFetch","Headers","Request","Response","isNativeFetch","SENTRY_XHR_DATA_KEY","instrumented","instrument","originalConsoleMethod","triggerHandlers","instrumentConsole","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","instrumentDOM","xhrproto","originalOpen","xhrInfo","request_headers","__sentry_own_request__","onreadystatechangeHandler","status_code","xhr","_len4","readyStateArgs","_key4","_len5","setRequestHeaderArgs","_key5","originalSend","sentryXhrData","_len6","_key6","instrumentXHR","sandbox","contentWindow","supportsNativeFetch","originalFetch","fetchArgs","getUrlFromResource","hasProp","parseFetchArgs","handlerData","fetchData","instrumentFetch","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","pushState","supportsHistory","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","_len8","_key8","lastHref","_len7","_key7","instrumentHistory","_oldOnErrorHandler","__SENTRY_LOADER__","__SENTRY_INSTRUMENTED__","_oldOnUnhandledRejectionHandler","onunhandledrejection","resource","debounceDuration","debounceTimerID","lastCapturedEvent","globalListener","isContentEditable","shouldSkipDOMEvent","shouldShortcircuitPreviousDebounce","loadModule","moduleName","browserPerformanceTimeOrigin","addExtensionMethods","packageToIntegrationMapping","mongodb","Mongo","mongoose","mysql","Mysql","Postgres","mappedPackages","pkg","integrations","_autoloadDatabaseIntegrations","acceptedFiles","acceptedFilesArray","baseMimeType","validType","getLens","validLen","placeHoldersLen","_byteLength","curByte","BROTLI_READ_SIZE","kBitMask","BrotliBitReader","buf_","input_","READ_SIZE","IBUF_MASK","buf_ptr_","val_","pos_","bit_pos_","bit_end_pos_","eos_","readMoreInput","bytes_read","fillBitWindow","readBits","n_bits","lookupOffsets","BrotliInput","BrotliOutput","BrotliDictionary","HuffmanCode","BrotliBuildHuffmanTable","Prefix","kDefaultCodeLength","kCodeLengthRepeatCode","kNumLiteralCodes","kNumInsertAndCopyCodes","kNumBlockLengthCodes","kLiteralContextBits","kDistanceContextBits","HUFFMAN_TABLE_BITS","HUFFMAN_TABLE_MASK","HUFFMAN_MAX_TABLE_SIZE","CODE_LENGTH_CODES","kCodeLengthCodeOrder","NUM_DISTANCE_SHORT_CODES","kDistanceShortCodeIndexOffset","kDistanceShortCodeValueOffset","Int8Array","kMaxHuffmanTableSize","DecodeWindowBits","br","DecodeVarLenUint8","nbits","MetaBlockLength","meta_block_length","input_end","is_uncompressed","is_metadata","DecodeMetaBlockLength","size_nibbles","size_bytes","next_byte","next_nibble","ReadSymbol","ReadHuffmanCode","alphabet_size","table_size","simple_code_or_skip","code_lengths","max_bits_counter","max_bits","num_symbols","code_length_code_lengths","num_codes","code_len_idx","symbol","prev_code_len","repeat_code_len","code_len","old_repeat","repeat_delta","new_len","ReadHuffmanCodeLengths","ReadBlockLength","kBlockLengthPrefixCode","TranslateShortCodes","ringbuffer","MoveToFront","HuffmanTreeGroup","num_htrees","htrees","DecodeContextMap","context_map_size","context_map","max_run_length_prefix","reps","v_len","mtf","InverseMoveToFrontTransform","DecodeBlockType","max_block_type","tree_type","block_types","ringbuffers","indexes","block_type","type_code","CopyUncompressedBlockToOutput","ringbuffer_mask","nbytes","rb_size","rb_pos","br_pos","JumpToByteBoundary","new_bit_pos","BrotliDecompressedSize","BrotliDecompress","window_bits","max_backward_distance","ringbuffer_size","ringbuffer_end","block_type_trees","block_len_trees","max_distance","dist_rb","dist_rb_idx","prev_byte1","prev_byte2","hgroup","kRingBufferWriteAheadSlack","maxDictionaryWordLength","distance_postfix_bits","num_direct_distance_codes","distance_postfix_mask","num_distance_codes","num_literal_htrees","dist_context_map","num_dist_htrees","context_mode","htree_command","meta_block_remaining_len","block_length","num_block_types","block_type_rb","block_type_rb_index","context_modes","context_map_slice","literal_htree_index","dist_context_map_slice","dist_htree_index","context_lookup_offset1","context_lookup_offset2","_o1","_o2","cmd_code","range_idx","insert_code","copy_code","insert_length","copy_length","distance_code","copy_dst","postfix","kInsertRangeLut","kCopyRangeLut","kInsertLengthPrefixCode","kCopyLengthPrefixCode","minDictionaryWordLength","offsetsByLength","word_id","sizeBitsByLength","transform_idx","kNumTransforms","transformDictionaryWord","BrotliDecompressBuffer","output_size","output_buffer","MAX_LENGTH","GetNextKey","ReplicateValue","NextTableBitSize","root_bits","root_table","code_lengths_size","table_bits","total_size","start_table","PrefixCodeRange","kUppercaseFirst","kUppercaseAll","suffix","kTransforms","ToUpperCase","uppercase","start_idx","prefix_pos","suffix_pos","ieee754","customInspectSymbol","K_MAX_LENGTH","arrayView","isInstance","fromArrayView","SharedArrayBuffer","numberIsNaN","toPrimitive","mustMatch","foo","typedArraySupport","toLocaleString","hexSliceLookupTable","wrtBigUInt64LE","checkIntBI","BigInt","wrtBigUInt64BE","readUintLE","readUintBE","readUint8","readUint16LE","readUint16BE","readUint32LE","readUint32BE","readBigUInt64LE","defineBigIntMethod","validateNumber","boundsError","readBigUInt64BE","readBigInt64LE","readBigInt64BE","writeUintLE","writeUintBE","writeUint8","writeUint16LE","writeUint16BE","writeUint32LE","writeUint32BE","writeBigUInt64LE","writeBigUInt64BE","writeBigInt64LE","writeBigInt64BE","copyWithin","addNumericalSeparator","ERR_OUT_OF_RANGE","checkBounds","ERR_BUFFER_OUT_OF_BOUNDS","received","isInteger","alphabet","i16","BufferBigIntNotDefined","_instanceof","nativeMap","nativeSet","nativePromise","circular","includeNonEnumerable","allParents","allChildren","useBuffer","_clone","__isArray","__isRegExp","__getRegExpFlags","__isDate","keyChild","valueChild","entryChild","allPropertyNames","propertyName","__objToStr","clonePrototype","colorNames","swizzle","reverseNames","hexDouble","hwb","hexAlpha","i2","rgba","hsla","hwba","keyword","PARAM_REGEXP","TEXT_REGEXP","TOKEN_REGEXP","QESC_REGEXP","QUOTE_REGEXP","TYPE_REGEXP","qstring","ContentType","getHeader","getcontenttype","__self__","DOMException","support","viewClasses","isArrayBufferView","normalizeName","normalizeValue","iteratorFor","consumed","bodyUsed","fileReaderReady","readBlobAsArrayBuffer","readAsArrayBuffer","bufferClone","_initBody","_bodyInit","_bodyText","_bodyBlob","_bodyFormData","_bodyArrayBuffer","readAsText","readBlobAsText","readArrayBufferAsText","oldValue","thisArg","signal","upcased","normalizeMethod","referrer","decodeURIComponent","parseHeaders","rawHeaders","bodyInit","redirectStatuses","redirect","aborted","abortXhr","getAllResponseHeaders","responseURL","responseText","ontimeout","onabort","responseType","setRequestHeader","polyfill","ponyfill","cryptoSecureRandomInt","randomBytes","subtype","C_lib","mixIn","$super","encoder","Hex","thisWords","thatWords","thisSigBytes","thatSigBytes","thatByte","C_enc","hexChars","hexStr","hexStrLength","Latin1","latin1Chars","latin1Str","latin1StrLength","Utf8","escape","utf8Str","unescape","BufferedBlockAlgorithm","_nDataBytes","_append","doFlush","processedWords","dataWords","dataSigBytes","blockSize","nBlocksReady","nWordsReady","_minBufferSize","nBytesReady","_doProcessBlock","C_algo","Hasher","cfg","_doReset","messageUpdate","_doFinalize","_createHelper","hasher","_createHmacHelper","HMAC","algo","factory","_hash","offset_i","M_offset_i","M_offset_0","M_offset_1","M_offset_2","M_offset_3","M_offset_4","M_offset_5","M_offset_6","M_offset_7","M_offset_8","M_offset_9","M_offset_10","M_offset_11","M_offset_12","M_offset_13","M_offset_14","M_offset_15","FF","GG","HH","II","nBitsTotal","nBitsLeft","nBitsTotalH","nBitsTotalL","H_i","HmacMD5","functionExpression","floatExpression","formatUnit","toFloat","ensurePercent","formatPercent","formatFloat","cssFunction","functionName","createFunction","delimited","roundFloat","RGB","HSL","converters","hasAlpha","newR","newG","newB","ColorHelper","newH","newS","newL","t3","maxChannelValues","stringValue","hexColor","parseHexCode","cssParts","parseCSSFunction","isRGBA","isHSLA","isRGB","isHSL","parseColorFunction","convertHelper","toFormat","helper","forceAlpha","fromFormat","newAlpha","clampColor","fnName","toHexString","toHSL","toHSLA","toRGB","toRGBA","hue","saturation","lightness","invert","color2","saturate","desaturate","fade","fadeOut","fadeIn","mix","weight","ensureColor","w1","w2","tint","spin","degrees","modDegrees","channel","calc","$","weekdays","ordinal","utcOffset","year","month","locale","$L","utc","$u","$x","$offset","UTC","$y","getFullYear","$M","$D","$W","getDay","$H","$m","$s","$ms","getMilliseconds","$utils","isSame","endOf","isAfter","$g","unix","$locale","weekStart","$set","daysInMonth","invalidDate","meridiem","monthsShort","weekdaysMin","weekdaysShort","getTimezoneOffset","$i","isDayjs","Ls","years","days","minutes","weeks","$l","negative","parseFromMilliseconds","calMilliseconds","YY","YYYY","MM","DD","mm","SSS","fromNow","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asYears","isDuration","future","past","hh","yy","fromToBase","thresholds","rounding","toNow","dfa","accepting","startRun","lastAccepting","lastState","ReflectOwnKeys","ReflectApply","receiver","NumberIsNaN","errorListener","resolver","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","checkListener","_getMaxListeners","onceWrapper","wrapFn","unwrap","wrapListener","rawListeners","autoBom","createEvent","initMouseEvent","HTMLAnchorElement","webkitURL","msSaveOrOpenBlob","safari","onloadend","isMergeableObject","isNonNullObject","REACT_ELEMENT_TYPE","isReactElement","isSpecial","cloneUnlessOtherwiseSpecified","defaultArrayMerge","arrayMerge","sourceIsArray","mergeObject","freeSelf","freeGlobal","objectProto","nativeObjectToString","symToStringTag","isOwn","unmasked","getRawTag","overArg","funcProto","funcToString","objectCtorString","isObjectLike","baseGetTag","getPrototype","Ctor","__data__","eq","assocIndexOf","ListCache","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","maskSrcKey","uid","coreJsData","IE_PROTO","reIsHostCtor","reIsNative","isMasked","toSource","baseIsNative","getNative","nativeCreate","Hash","hashClear","hashDelete","hashGet","hashHas","hashSet","isKeyable","getMapData","MapCache","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","LARGE_ARRAY_SIZE","Stack","stackClear","stackDelete","stackGet","stackHas","stackSet","iteratee","objValue","baseAssignValue","customizer","assignValue","baseIsArguments","freeExports","freeModule","stubFalse","reIsUint","typedArrayTags","isLength","freeProcess","nodeIsTypedArray","nodeUtil","isTypedArray","baseUnary","baseIsTypedArray","inherited","isArr","isArg","isBuff","skipIndexes","baseTimes","isIndex","isPrototype","nativeKeys","isArrayLike","arrayLikeKeys","baseKeys","copyObject","nativeKeysIn","isProto","baseKeysIn","keysIn","isDeep","predicate","resIndex","nativeGetSymbols","arrayFilter","stubArray","getSymbols","arrayPush","getSymbolsIn","keysFunc","symbolsFunc","baseGetAllKeys","mapTag","promiseTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ctorString","dataView","cloneArrayBuffer","reFlags","regexp","symbolProto","symbolValueOf","typedArray","cloneDataView","cloneTypedArray","cloneRegExp","cloneSymbol","objectCreate","baseCreate","nodeIsMap","isMap","baseIsMap","nodeIsSet","isSet","baseIsSet","argsTag","funcTag","objectTag","cloneableTags","baseClone","bitmask","isFlat","isFull","initCloneArray","copyArray","isFunc","cloneBuffer","initCloneObject","copySymbolsIn","baseAssignIn","copySymbols","baseAssign","initCloneByTag","stacked","subValue","getAllKeysIn","getAllKeys","arrayEach","Cache","rePropName","reEscapeChar","memoizeCapped","quote","subString","symbolToString","baseToString","arrayMap","toKey","stringToPath","CLONE_DEEP_FLAG","isEmptyArray","isEmptyChildren","isPromise","getIn","toPath","setIn","resVal","pathArray","currentPath","currentObj","nextPath","setNestedObjectValues","_Object$keys","FormikContext","FormikConsumer","useFormikContext","invariant","formikReducer","isEqual","isValidating","submitCount","emptyErrors","emptyTouched","validateOnChange","_ref$validateOnChange","validateOnBlur","_ref$validateOnBlur","_ref$validateOnMount","isInitialValid","_ref$enableReinitiali","initialErrors","initialTouched","initialStatus","fieldRegistry","_React$useReducer","runValidateHandler","maybePromisedErrors","actualException","runValidationSchema","validationSchema","schema","validateAt","validateData","prepareDataForValidation","abortEarly","validateYupSchema","yupError","inner","_isArray","yupToFormErrors","runSingleFieldLevelValidation","runFieldLevelValidations","fieldKeysWithValidation","fieldValidations","fieldErrorsList","runAllValidations","fieldErrors","schemaErrors","validateErrors","validateFormWithHighPriority","combinedErrors","dispatchFn","onReset","maybePromisedOnReset","imperativeMethods","validateField","maybePromise","registerField","unregisterField","setTouched","shouldValidate","setErrors","setValues","resolvedValues","setFieldError","executeChange","eventOrTextValue","maybePath","persist","outerHTML","currentValue","currentArrayOfValues","isValueInArray","getValueForCheckbox","getSelectedValues","eventOrPath","setFieldTouched","executeBlur","_e$target","eventOrString","setFormikState","stateOrCb","isInstanceOfError","promiseOrUndefined","executeSubmit","_errors","validateForm","handleReset","getFieldMeta","initialError","getFieldHelpers","setError","getFieldProps","nameOrOptions","isAnObject","shouldClone","propsOrFieldName","fieldName","validateFn","_action","_useFormikContext","connect","Comp","componentDisplayName","WrappedComponent","hoistNonReactStatics","arrayLike","copyArrayLike","FieldArrayInner","updateArrayField","alterTouched","alterErrors","prevState","updateErrors","updateTouched","fieldError","fieldTouched","cloneDeep","handlePush","indexA","indexB","handleSwap","handleMove","handleInsert","handleReplace","handleUnshift","handleRemove","handlePop","arrayHelpers","FieldArray","stripParameters","shortcodeString","youtube","youtubeString","string_","shortcode","shortsUrl","parameterv","inlinev","parameterwebp","eformat","embedreg","attrreg","vimeo","vimeoString","eventMatches","vimeoPipe","vine","videopress","urlString","idRegex","microsoftStream","tiktok","basicParsed","dailymotion","shortParsed","dynamicParsed","getSrc","isAbsolute","hasTrailingSlash","toParts","fromParts","isToAbs","isFromAbs","mustEndAbs","valueEqual","aValue","bValue","addLeadingSlash","stripLeadingSlash","stripBasename","hasBasename","stripTrailingSlash","createPath","createLocation","currentLocation","hashIndex","searchIndex","decodeURI","URIError","resolvePathname","locationsAreEqual","createTransitionManager","prompt","setPrompt","nextPrompt","confirmTransitionTo","getUserConfirmation","appendListener","notifyListeners","canUseDOM","getConfirmation","confirm","PopStateEvent","HashChangeEvent","getHistoryState","globalHistory","canUseHistory","needsHashChangeListener","_props$forceRefresh","forceRefresh","_props$getUserConfirm","_props$keyLength","keyLength","basename","getDOMLocation","historyState","_window$location","createKey","transitionManager","handlePopState","isExtraneousPopstateEvent","handleHashChange","forceNextPop","fromLocation","toLocation","toIndex","fromIndex","go","revertPop","initialLocation","createHref","checkDOMListeners","isBlocked","nextKeys","goBack","goForward","unblock","listen","unlisten","HashChangeEvent$1","HashPathCoders","hashbang","encodePath","decodePath","noslash","stripHash","getHashPath","replaceHashPath","createHashHistory","_props$hashType","hashType","_HashPathCoders$hashT","ignorePath","encodedPath","prevLocation","allPaths","pushHashPath","nextPaths","lowerBound","upperBound","createMemoryHistory","_props$initialEntries","_props$initialIndex","initialIndex","nextEntries","canGo","reactIs","REACT_STATICS","getDefaultProps","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","objectPrototype","targetComponent","sourceComponent","inheritedComponent","targetStatics","sourceStatics","luminosity","cycle","chroma","huePrime","secondComponent","lightnessAdjustment","createTextReader","char1","char2","verifier","verified","isNotLetter","createHTMLVerifier","accumulate","createHyphenCharVerifier","hyphenChar","createHyphenationVerifier","verifiers","minWordLength","accum0","accum","resolveWith","skip2","verify","createCharIterator","nextChar","createStringSlicer","isFirstCharacter","levelsTable","patternTrie","wordSlice","letter","triePtr","trieNode","patternLevelsIndex","patternLevels","slicer","nextSlice","nextLetter","loweredText","patternEntityIndex","hyphenatedText","skipHTML","isAsync","resolveNewText","readText","loopStart","SETTING_DEFAULT_ASYNC","SETTING_DEFAULT_DEBUG","SETTING_DEFAULT_EXCEPTIONS","SETTING_DEFAULT_HTML","SETTING_DEFAULT_HYPH_CHAR","SETTING_DEFAULT_MIN_WORD_LENGTH","SETTING_NAME_ASYNC","SETTING_NAME_DEBUG","SETTING_NAME_EXCEPTIONS","SETTING_NAME_HTML","SETTING_NAME_HYPH_CHAR","SETTING_NAME_MIN_WORD_LENGTH","_global","validateArray","keyOrDefault","exceptionsFromDefinition","excetionsList","exceptions","createHyphenator","patternsDefinition","asyncMode","caches","userExceptions","options2","localDebug","localHyphenChar","localMinWordLength","localUserExceptions","cacheKey2","protocolAndDomainRE","everythingAfterProtocol","localhostDomainRE","nonLocalhostDomainRE","getTypeOf","uint8array","compression","compressedContent","getContentWorker","uncompressWorker","streamInfo","data_length","getCompressedWorker","withStreamInfo","createWorkerFrom","compressWorker","magic","binary","createFolders","compressionOptions","unixPermissions","dosPermissions","lie","_pako","_pakoAction","_pakoOptions","processChunk","_createPako","transformTo","cleanUp","onData","pako","utf8encode","fileRecord","LOCAL_FILE_HEADER","dirRecord","CENTRAL_FILE_HEADER","bytesWritten","zipComment","zipPlatform","encodeFileName","streamFiles","contentBuffer","dirRecords","currentSourceOffset","entriesCount","currentFile","_sources","openedSource","closedSource","DATA_DESCRIPTOR","CENTRAL_DIRECTORY_END","prepareNextSource","registerPrevious","generatedError","lock","generateWorker","_compressWorker","loadAsync","external","checkCRC32","optimizedBinaryString","decodeFileName","utf8decode","isNode","isStream","prepareContent","fileNameStr","fileCommentStr","unsafeOriginalName","_upstreamEnded","_bindStream","_stream","_helper","newBufferFrom","allocBuffer","folder","generateInternalStream","checkSupport","generateAsync","generateNodeStream","toNodejsStream","byteAt","lastIndexOfSignature","readAndCheckSignature","readData","checkIndex","setIndex","readInt","readDate","ZIP64_CENTRAL_DIRECTORY_LOCATOR","ZIP64_CENTRAL_DIRECTORY_END","destType","dataIsReady","_tickScheduled","_tickAndRepeat","isFinished","_tick","extraStreamInfo","isLocked","mergeStreamInfo","nodestream","_internalType","_outputType","_mimeType","newBlob","_worker","arraybuffer","nodebuffer","BlobBuilder","WebKitBlobBuilder","MozBlobBuilder","MSBlobBuilder","getBlob","leftOver","applyFromCharCode","Utf8DecodeWorker","Utf8EncodeWorker","stringifyByChunk","stringifyByChar","applyCanBeUsed","MAX_VALUE_16BITS","MAX_VALUE_32BITS","pretty","setImmediate","setimmediate","loadOptions","checkSignature","isSignature","readBlockEndOfCentral","diskNumber","diskWithCentralDirStart","centralDirRecordsOnThisDisk","centralDirRecords","centralDirSize","centralDirOffset","zipCommentLength","readBlockZip64EndOfCentral","zip64EndOfCentralSize","zip64ExtensibleData","readBlockZip64EndOfCentralLocator","diskWithZip64CentralDirStart","relativeOffsetEndOfZip64CentralDir","disksCount","readLocalFiles","localHeaderOffset","readLocalPart","handleUTF8","processAttributes","readCentralDir","zip64","readCentralPart","readEndOfCentral","prepareReader","isEncrypted","bitFlag","useUTF8","fileNameLength","versionMadeBy","extraFieldsLength","fileCommentLength","diskNumberStart","internalFileAttributes","externalFileAttributes","readExtraFields","parseZIP64ExtraField","fileComment","extraFields","findExtraFieldUnicodePath","findExtraFieldUnicodeComment","_dataBinary","internalStream","_decompressWorker","nodeStream","WebKitMutationObserver","MessageChannel","port1","onmessage","port2","postMessage","outcome","onFulfilled","callFulfilled","otherCallFulfilled","onRejected","callRejected","otherCallRejected","race","immediate","string2buf","_dict_set","buf2binstring","binstring2buf","utf8border","buf2string","ungzip","importScripts","attachEvent","clearImmediate","Parser","And","Or","Query","Operator","NUMBERS","LETTERS","WHITESPACE","COLON","COMMA","AND","ast","walk","parser","MaxHeight","MinHeight","MaxWidth","MinWidth","Orientation","extname","EXTRACT_TYPE_REGEXP","TEXT_TYPE_REGEXP","charsets","exts","preference","populateMaps","propIsEnumerable","test1","test2","test3","shouldUseNative","toObject","LENGTH_CODES","numbers","parseValues","isarray","pathToRegexp","tokensToFunction","tokensToRegExp","PATH_REGEXP","defaultDelimiter","escaped","capture","partial","optional","escapeGroup","escapeString","encodeURIComponentPretty","encodeURI","attachKeys","sensitive","endsWithDelimiter","regexpToRegexp","arrayToRegexp","stringToRegexp","vs","inside","xi","yi","xj","yj","pointInPolygonFlat","pointInPolygonNested","nested","openParentheses","closeParentheses","singleQuote","doubleQuote","star","uLower","uUpper","isUnicodeRange","escapePos","whitespacePos","parenthesesOpenPos","balanced","sourceEndIndex","sourceIndex","unclosed","EXP","nextCode","nextNextCode","likeNumber","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propFullName","secret","getShim","ReactPropTypes","bigint","bool","any","arrayOf","instanceOf","objectOf","oneOfType","checkPropTypes","Queue","running","jobs","timers","clearTimers","callOnErrorOrEnd","methodResult","job","didTimeout","resultIndex","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","easeOutCirc","easeInOutCirc","easeInElastic","asin","easeOutElastic","easeInOutElastic","easeInBack","easeOutBack","easeInOutBack","easeInBounce","easeOutBounce","easeInOutBounce","initialVelocityX","initialVelocityY","angularSpin","rotateY","rotationDirection","Positive","Negative","gravity","wind","friction","drawShape","beginPath","fillStyle","strokeStyle","globalAlpha","Square","fillRect","Strip","particles","particlesGenerated","lastNumberOfPieces","numberOfPieces","tweenFunction","tweenDuration","tweenInitTime","getParticle","fillText","removeParticleAt","getContext","clearRect","rafId","setOptionsWithDefaults","createRef","confetti","acceptsBooleans","attributeNamespace","mustUseProperty","sanitizeURL","removeEmptyString","prepareStackTrace","_render","_valueTracker","stopTracking","_wrapperState","initialChecked","defaultSelected","dangerouslySetInnerHTML","mathml","namespaceURI","MSApp","execUnsafeLocalFunction","nodeValue","menuitem","area","hr","keygen","track","wbr","srcElement","correspondingUseElement","nc","blockedOn","domEventName","eventSystemFlags","targetContainers","pointerId","lanePriority","animationend","animationiteration","animationstart","transitionend","pendingLanes","expiredLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","eventTimes","clz32","keyCode","_reactName","_targetInst","isDefaultPrevented","isPropagationStopped","cancelBubble","isPersistent","eventPhase","timeStamp","isTrusted","screenX","screenY","pageX","pageY","getModifierState","fromElement","toElement","movementX","movementY","dataTransfer","elapsedTime","pseudoElement","Esc","Spacebar","Up","Down","Del","Win","Apps","MozPrintableKey","Control","Meta","Shift","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","targetTouches","changedTouches","wheelDeltaX","wheelDeltaY","wheelDelta","deltaZ","deltaMode","documentMode","datetime","tel","week","oninput","detachEvent","compareDocumentPosition","HTMLIFrameElement","anchorNode","focusNode","focusOffset","parentWindow","__html","previousSibling","childLanes","lanes","wg","xg","firstBaseUpdate","lastBaseUpdate","shared","effects","yg","zg","eventTime","lane","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Kg","_reactInternals","Hg","Ig","Jg","Lg","Mg","Ng","Og","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","ah","dh","eh","fh","gh","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","uh","_workInProgressVersionPrimary","vh","wh","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","baseQueue","Ih","Jh","Kh","Lh","Mh","_getVersion","_source","mutableReadLanes","Nh","getSnapshot","setSnapshot","Oh","Ph","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","bi","ci","di","useMutableSource","useOpaqueIdentifier","unstable_isNewReconciler","ei","gi","ii","ji","ki","mi","baseLanes","ni","oi","pi","qi","Bi","Ci","Di","Ei","retryLane","ti","ui","unstable_expectedLoadTime","vi","wi","zi","renderingStartTime","Ai","Gi","wasMultiple","onclick","Hi","Ii","Ji","Ki","Li","Mi","Ni","Oi","Pi","Qi","Ri","Si","Ui","Xi","Zi","aj","bj","cj","dj","ej","fj","gj","hj","_reactRootContainer","ij","jj","kj","lj","mj","nj","oj","pj","qj","rj","tj","uj","vj","wj","zj","Aj","Bj","Cj","Dj","Ej","Fj","Gj","Hj","Ij","Jj","Kj","Lj","Mj","expirationTimes","Nj","Oj","Pj","Qj","Rj","Sj","Tj","finishedLanes","Uj","Wj","Xj","Yj","Zj","ak","dk","focusedElem","selectionRange","ek","createRange","setStart","removeAllRanges","addRange","setEnd","fk","gk","ik","jk","mutableSourceEagerHydrationData","lk","mk","nk","qk","hydrationOptions","mutableSources","_internalRoot","tk","sk","uk","kk","hk","unmount","Vj","vk","Events","wk","bundleType","rendererPackageName","xk","rendererConfig","overrideHookStateDeletePath","overrideHookStateRenamePath","overridePropsDeletePath","overridePropsRenamePath","yk","createPortal","findDOMNode","unmountComponentAtNode","unstable_batchedUpdates","unstable_createPortal","unstable_renderSubtreeIntoContainer","checkDCE","COMMON_MIME_TYPES","toFileWithPath","withMimeType","webkitRelativePath","FILES_TO_IGNORE","getInputFiles","getFsHandleFiles","handles","getFile","getDataTransferFiles","dt","toFilePromises","noIgnoredFiles","webkitGetAsEntry","fromDataTransferItem","isDirectory","fromDirEntry","__spread","getAsFile","fwp","fromEntry","fromFileEntry","createReader","readEntries","batch","__awaiter","err_1","fullPath","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","getInvalidTypeRejectionErr","messageSuffix","getTooLargeRejectionErr","getTooSmallRejectionErr","minSize","TOO_MANY_FILES_REJECTION","fileAccepted","isAcceptable","accepts","fileMatchSize","isDefined","isEvtWithFiles","onDocumentDragOver","composeEventHandlers","canUseFileSystemAccessAPI","filePickerOptionsTypes","_excluded2","_excluded3","_excluded4","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","_objectWithoutProperties","sourceSymbolKeys","Dropzone","_useDropzone","Fragment","getFilesFromEvent","isDataTransfer","isChangeEvt","maxFiles","preventDropOnDocument","noClick","noKeyboard","noDragEventsBubbling","useFsAccessApi","onFileDialogCancel","onFileDialogOpen","onDragEnter","onDragOver","onDrop","isFocused","isFileDialogActive","isDragActive","isDragAccept","isDragReject","draggedFiles","_defaultProps$options","onFileDialogOpenCb","onFileDialogCancelCb","_useReducer2","reducer","onWindowFocus","dragTargetsRef","onDocumentDrop","onDragEnterCb","onDragOverCb","hasFiles","dropEffect","_unused","onDragLeaveCb","targets","targetIdx","setFiles","_fileAccepted2","accepted","acceptError","_fileMatchSize2","sizeMatch","sizeError","customErrors","onDropCb","openFileDialog","showOpenFilePicker","onKeyDownCb","isEqualNode","onFocusCb","onBlurCb","onClickCb","isIe","isEdge","isIeOrEdge","composeHandler","composeKeyboardHandler","composeDragHandler","_ref2$refKey","refKey","onInputElementClick","_ref3$refKey","allFilesAccepted","keyList","hasElementType","arrA","arrB","dateA","dateB","regexpA","regexpB","createObserverCache","cachesByRoot","getObserver","rootMargin","cacheByRoot","cachedObserver","entryCallbacks","_cachedObserver","_cachedObserver2","_cachedObserver3","_cachedObserver4","DEFAULT_ROOT_MARGIN","DEFAULT_THRESHOLD","observerCache","useTrackVisibility","_args$rootMargin","_args$threshold","observerRef","_useState","setEntry","observedEntry","currentObserver","useIntersectionObserver","_useIntersectionObser","_result$entry","wasEverVisible","setWasEverVisible","delayInMs","_ref$delayInMs","_useTrackVisibility","_useTrackVisibility$","shouldLoadMore","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Profiler","StrictMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","ReactQueryDevtools","ReactQueryDevtoolsPanel","focusManager","_Subscribable","FocusManager","_window","isServer","onSubscribe","setEventListener","onUnsubscribe","_this$cleanup","hasListeners","_this$cleanup2","visibilityState","Subscribable","infiniteQueryBehavior","onFetch","fetchFn","_context$fetchOptions","_context$fetchOptions2","_context$fetchOptions3","_context$fetchOptions4","_context$state$data","_context$state$data2","refetchPage","fetchOptions","fetchMore","isFetchingPreviousPage","oldPages","oldPageParams","abortController","getAbortController","abortSignal","newPageParams","buildNewPages","fetchPage","manual","queryFnContext","queryFnResult","isCancelable","_manual","_param","getPreviousPageParam","shouldFetchFirstPage","_param2","finalPromise","nextPageParam","hasPreviousPage","previousPageParam","getLogger","setLogger","newLogger","Mutation","mutationId","mutationCache","observers","getDefaultState","addObserver","removeObserver","retryer","continue","execute","restored","executeMutation","_this$options$retry","Retryer","mutationFn","onFail","onPause","onContinue","retryDelay","notifyManager","onMutationUpdate","notify","NotifyManager","transactions","notifyFn","batchNotifyFn","schedule","scheduleMicrotask","batchCalls","setNotifyFunction","setBatchNotifyFunction","onlineManager","OnlineManager","onOnline","online","setOnline","isOnline","onLine","abortSignalConsumed","hadObservers","queryHash","scheduleGc","_this$options$cacheTi","setDefaultOptions","clearGcTimeout","isValidTimeout","gcTimeout","optionalRemove","_this$options$isDataE","_this$options","prevData","functionalUpdate","isDataEqual","structuralSharing","replaceEqualDeep","setStateOptions","_this$retryer","isStale","isInvalidated","getCurrentResult","isStaleByTime","timeUntilStale","_this$retryer2","shouldFetchOnWindowFocus","refetch","_this$retryer3","shouldFetchOnReconnect","isTransportCancelable","revert","cancelRetry","getObserversCount","invalidate","_this$options$behavio","_abortController$abor","cancelRefetch","_this$retryer4","continueRetry","ensureQueryKeyArray","_this$options$behavio2","revertState","fetchMeta","isCancelledError","onQueryUpdate","initialDataUpdatedAt","hasData","dataUpdateCount","errorUpdateCount","errorUpdatedAt","fetchFailureCount","_action$meta","_action$dataUpdatedAt","QueryCache","queriesMap","build","_options$queryHash","hashQueryKeyByOptions","defaultQueryOptions","getQueryDefaults","queryInMap","getAll","parseFilterArgs","matchQuery","findAll","_this4","_this5","MutationCache","mutations","mutation","defaultMutationOptions","getMutationDefaults","matchMutation","resumePausedMutations","pausedMutations","queryCache","queryDefaults","mutationDefaults","unsubscribeFocus","unsubscribeOnline","_this$unsubscribeFocu","_this$unsubscribeOnli","fetching","_this$queryCache$find","getQueriesData","queryKeyOrFilters","getQueryCache","parsedOptions","parseQueryArgs","defaultedOptions","setQueriesData","_this$queryCache$find2","_parseFilterArgs3","refetchFilters","_parseFilterArgs4","_parseFilterArgs4$","cancelOptions","_filters$refetchActiv","_filters$refetchInact","_parseFilterArgs5","refetchActive","inactive","refetchInactive","_this6","_parseFilterArgs6","throwOnError","fetchInfiniteQuery","prefetchInfiniteQuery","cancelMutations","_this7","getMutationCache","getDefaultOptions","setQueryDefaults","hashQueryKey","_this$queryDefaults$f","partialMatchKey","setMutationDefaults","_this$mutationDefault","_defaulted","defaultQueryObserverOptions","defaultRetryDelay","CancelledError","cancelFn","continueFn","isResolved","outerResolve","outerReject","promiseOrValue","_config$retry","_config$retryDelay","shouldRetry","sleep","continueResolve","isQueryKey","parseMutationArgs","parseMutationFilterArgs","stale","queryStatusFilter","mapQueryStatusFilter","queryKeyHashFn","stableValueHash","partialDeepEqual","aSize","bItems","bSize","equalItems","shallowEqualObjects","hasObjectPrototype","prot","AbortController","defaultContext","QueryClientSharingContext","getQueryClientContext","contextSharing","ReactQueryClientContext","QueryClientProvider","_ref$contextSharing","checkIsFetching","setIsFetching","newIsFetching","useIsFetching","mountedRef","_React$useState","filtersRef","isFetchingRef","useIsMutating","setIsMutating","isMutatingRef","newIsMutating","bindMethods","updateResult","_this$currentMutation","currentMutation","notifyOptions","currentResult","mutateOptions","shouldThrowError","_useErrorBoundary","obsRef","useErrorBoundary","QueryObserver","trackedProps","selectError","currentQuery","shouldFetchOnMount","executeFetch","updateTimers","shouldFetchOn","refetchOnReconnect","prevOptions","prevQuery","updateQuery","shouldFetchOptionally","updateStaleTimeout","nextRefetchInterval","computeRefetchInterval","currentRefetchInterval","updateRefetchInterval","getOptimisticResult","createResult","trackResult","trackedResult","trackProp","getNextResult","getCurrentQuery","fetchOptimistic","clearStaleTimeout","staleTimeoutId","_this$options$refetch","nextInterval","clearRefetchInterval","refetchIntervalId","refetchIntervalInBackground","prevResult","prevResultState","currentResultState","prevResultOptions","currentResultOptions","queryChange","queryInitialState","currentQueryInitialState","prevQueryResult","previousQueryResult","isPreviousData","isPlaceholderData","optimisticResults","fetchOnMount","fetchOptionally","selectFn","selectResult","isFetched","isFetchedAfterMount","isRefetching","isLoadingError","isRefetchError","shouldNotifyListeners","notifyOnChangePropsExclusions","includedProps","typedKey","isIncluded","isExcluded","defaultNotifyOptions","_this8","retryOnMount","shouldLoadOnMount","createValue","_isReset","clearReset","isReset","QueryErrorResetBoundaryContext","useQueryErrorResetBoundary","useBaseQuery","Observer","errorResetBoundary","InfiniteQueryObserver","_QueryObserver","fetchPreviousPage","_options$cancelRefetc","_options$cancelRefetc2","_state$data","_state$data2","_state$fetchMeta","_state$fetchMeta$fetc","_state$fetchMeta2","_state$fetchMeta2$fet","_setPrototypeOf","resolveToLocation","normalizeToLocation","forwardRefShim","LinkAnchor","innerRef","navigate","_onClick","isModifiedEvent","_ref2$component","__RouterContext","isDuplicateNavigation","forwardRefShim$1","forwardRef$1","ariaCurrent","_ref$ariaCurrent","activeClassName","_ref$activeClassName","activeStyle","classNameProp","isActiveProp","locationProp","styleProp","escapedPath","matchPath","classnames","joinClassnames","MAX_SIGNED_31_BIT_INT","calculateChangedBits","contextProp","getUniqueId","changedBits","createEventEmitter","_Provider$childContex","_React$Component2","onUpdate","_Consumer$contextType","createNamedContext","historyContext","Router","_pendingLocation","staticContext","computeRootMatch","Lifecycle","onMount","onUnmount","Prompt","when","_ref$when","cacheLimit","cacheCount","generatePath","compilePath","Redirect","computedMatch","_ref$push","cache$1","cacheLimit$1","cacheCount$1","_options$exact","_options$strict","_options$sensitive","pathCache","compilePath$1","_compilePath","memo","context$1","createURL","staticHandler","methodName","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","appearStatus","unmountOnExit","mountOnEnter","nextCallback","updateStatus","nextStatus","cancelNextCallback","getTimeouts","mounting","forceReflow","performEnter","performExit","appearing","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","maybeNextCallback","__self","__source","jsx","jsxs","IsSomeRendererActing","PureComponent","_threadCount","createFactory","unstable_forceFrameRate","sortIndex","priorityLevel","unstable_wrapCallback","unstable_continueExecution","unstable_pauseExecution","unstable_getFirstCallbackNode","unstable_Profiling","isArrayish","EN_US","ZH_CN","Locales","SEC_ARRAY","sec","relativeDate","diffSec","localeFunc","agoIn","totalSec","formatDiff","getLocale","TINF_OK","TINF_DATA_ERROR","Tree","Data","bitcount","destLen","sltree","sdtree","length_bits","length_base","dist_bits","dist_base","clcidx","code_tree","tinf_build_bits_base","tinf_build_tree","tinf_getbit","bit","tinf_read_bits","tinf_decode_symbol","tinf_decode_trees","hlit","hdist","hclen","clen","tinf_inflate_block_data","tinf_inflate_uncompressed_block","tinf_build_fixed_trees","bfinal","uniqueId","CSS_NUMBER","CSS_NUMBER_KEYS","styleToString","sortTuples","stringifyProperties","interpolate","rulesList","stylesList","isUnique","hasNestedStyles","nestedStyles","$unique","parseStyles","pid","composeStylize","isStyle","Style","Selector","Rule","noopChanges","changes","changeId","_counters","curIndex","prevItemChangeId","prevChangeId","unmerge","stringHash","FreeStyle","registerStyle","registerKeyframes","registerHashRule","registerRule","registerCss","convertToStyles","subproperties","$displayName","raf","flattened","objects_1","mediaQuerySections","mediaLength","prefersColorScheme","createFreeStyle","TypeStyle","autoGenerateTag","cssRaw","mustBeValidCSS","_raw","_pendingRawChange","_styleUpdated","cssRule","_freeStyle","forceRenderStyles","_getTag","fontFace","freeStyle","face","$debugName","convertToKeyframes","reinit","_lastFreeStyleChangeId","setStylesTarget","_tag","classNames_1","_autoGenerateTag","_pending","_afterAllSync","lastChangeId","swap32LE","highStart","errorValue","DATA_BLOCK_LENGTH","INDEX_1_OFFSET","INDEX_2_BLOCK_LENGTH","_scriptDir","currentScript","ready","print","printErr","wasmBinary","noExitRuntime","WebAssembly","HEAP8","HEAP16","HEAP32","HEAPU8","HEAPU16","HEAPU32","HEAPF32","HEAPF64","preRun","onAbort","RuntimeError","locateFile","FinalizationRegistry","unregister","fromWireType","toWireType","BindingError","count_emval_handles","get_first_emval","PureVirtualError","getInheritedInstanceCount","getLiveInheritedInstances","flushPendingDeletes","setDelayFunction","InternalError","isAliasOf","isDeleted","deleteLater","argPackAdvance","readValueFromPointer","deleteObject","UnboundTypeError","__construct","implement","notifyOnDestruction","__destruct","Uint8ClampedArray","grow","asm","monitorRunDependencies","instantiate","instantiateWasm","instantiateStreaming","___wasm_call_ctors","___getTypeName","__embind_initialize_bindings","_malloc","_free","calledRun","onRuntimeInitialized","postRun","dynCall_jiji","preInit","_wrapAssembly","loadAssembly","_YGEnums","_exportNames","Align","Dimension","Direction","Display","Edge","Errata","ExperimentalFeature","FlexDirection","Gutter","Justify","LogLevel","MeasureMode","NodeType","Overflow","PositionType","PrintOptions","Unit","_default","ALIGN_AUTO","ALIGN_FLEX_START","ALIGN_CENTER","ALIGN_FLEX_END","ALIGN_STRETCH","ALIGN_BASELINE","ALIGN_SPACE_BETWEEN","ALIGN_SPACE_AROUND","DIMENSION_WIDTH","DIMENSION_HEIGHT","DIRECTION_INHERIT","Inherit","DIRECTION_LTR","LTR","DIRECTION_RTL","RTL","DISPLAY_FLEX","DISPLAY_NONE","EDGE_LEFT","EDGE_TOP","EDGE_RIGHT","EDGE_BOTTOM","EDGE_START","EDGE_END","EDGE_HORIZONTAL","Horizontal","EDGE_VERTICAL","Vertical","EDGE_ALL","All","ERRATA_NONE","ERRATA_STRETCH_FLEX_BASIS","StretchFlexBasis","ERRATA_ALL","ERRATA_CLASSIC","Classic","EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS","WebFlexBasis","EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE","AbsolutePercentageAgainstPaddingEdge","EXPERIMENTAL_FEATURE_FIX_JNILOCAL_REF_OVERFLOWS","FixJNILocalRefOverflows","FLEX_DIRECTION_COLUMN","FLEX_DIRECTION_COLUMN_REVERSE","FLEX_DIRECTION_ROW","FLEX_DIRECTION_ROW_REVERSE","GUTTER_COLUMN","GUTTER_ROW","GUTTER_ALL","JUSTIFY_FLEX_START","JUSTIFY_CENTER","JUSTIFY_FLEX_END","JUSTIFY_SPACE_BETWEEN","JUSTIFY_SPACE_AROUND","JUSTIFY_SPACE_EVENLY","LOG_LEVEL_ERROR","LOG_LEVEL_WARN","Warn","LOG_LEVEL_INFO","LOG_LEVEL_DEBUG","Debug","LOG_LEVEL_VERBOSE","Verbose","LOG_LEVEL_FATAL","Fatal","MEASURE_MODE_UNDEFINED","MEASURE_MODE_EXACTLY","MEASURE_MODE_AT_MOST","NODE_TYPE_DEFAULT","NODE_TYPE_TEXT","OVERFLOW_VISIBLE","OVERFLOW_HIDDEN","OVERFLOW_SCROLL","POSITION_TYPE_STATIC","Static","POSITION_TYPE_RELATIVE","POSITION_TYPE_ABSOLUTE","PRINT_OPTIONS_LAYOUT","Layout","PRINT_OPTIONS_STYLE","PRINT_OPTIONS_CHILDREN","UNIT_UNDEFINED","UNIT_POINT","Point","UNIT_PERCENT","Percent","UNIT_AUTO","WRAP_NO_WRAP","WRAP_WRAP","WRAP_WRAP_REVERSE","patch","asNumber","measureFunc","measureFunction","MeasureCallback","measure","unsetMeasureFunc","dirtiedFunc","dirtiedFunction","DirtiedCallback","dirtied","createDefault","getChild","free","nodeInterop","_getRequireWildcardCache","hasPropertyDescriptor","_interopRequireWildcard","cacheBabelInterop","cacheNodeInterop","TEXT_DISABLED","YELLOW_HOVER","CYAN_HOVER","BLUE_LIGHT_HOVER","LILAS_LIGHT_HOVER","DEFAULT","FOCUSED","DISABLED","BORDER","GRAY","PURPLE","PEACH","TURQUOISE","BLUE_UNVISITED_LINK","AssetType","AllowedExtensions","AllowedMimes","AttributeModelType","AttributeValueType","AuditActionType","shortName","ESRS","QuestionParentModelType","RegulationModuleType","PageSize","PageOrientation","REGISTER","FORGOT_PASSWORD","RESET_PASSWORD","VERIFY_EMAIL","RFP_MANAGEMENT_FOR_BUYERS","RFP_MANAGEMENT_FOR_SUPPLIERS","RFP_MANAGEMENT_RFP","RFP_MANAGEMENT_RFI","RFP_MANAGEMENT_DDQ","RFP_MANAGEMENT_QTP","RFP_MANAGEMENT_RFP_RESPONSES","RFP_MANAGEMENT_RFI_RESPONSES","RFP_MANAGEMENT_DDQ_RESPONSES","RFP_MANAGEMENT_QTP_RESPONSES","RFPRESPONSE","PASSPORT_MANAGEMENT","MY_ESG_PASSPORT","REGULATIONS","regulation","baseUrl","regulationModules","modules","folderName","REGULATION_DATA_MANAGEMENT","dataManagementModule","REGULATION_QUESTIONNAIRE","SUPPLIER","contracts","procurement","newProduct","product","DATA_MANAGEMENT","lookupTables","my_data","COMPANY_EDIT_INFO","COMPANY_EDIT_ABOUT","COMPANY_EDIT_SECTORS","StatusIndicatorModelType","LabelColor","__exportStar","QuestionImportExportColumnName","routes_1","TokenType","CSRDDocumentStatus","RfpResponseStatus","RfpResponseDtoStatus","EvaluationType","RfpResponseEvaluationStatus","RfpResponseAnalysisStatus","RfxComparisonDataRowType","RegulationCompanyAccessType","asyncGeneratorStep","_next","_throw","_typeof","ARRAY","BIT","BITS","BYTE","BYTES","EXPONENT","FUNCTION","IEC","INVALID_NUMBER","INVALID_ROUND","JEDEC","OBJECT","PERIOD","SI_KBIT","SI_KBYTE","SPACE","STRING","ZERO","STRINGS","iec","jedec","fullform","localeOptions","spacer","fullforms","exponent","roundingMethod","full","neg","roundingFunc","toPrecision","padEnd","isProduction","provided","__decorate","decorators","decorate","_arguments","fulfilled","adopt","__generator","trys","Iterator","__read","pack","SuppressedError","__webpack_module_cache__","__webpack_require__","cachedModule","loaded","__webpack_modules__","amdO","getter","leafPrototypes","getProto","ns","definition","chunkId","miniCssF","hmd","inProgress","dataWebpackPrefix","needAttach","getElementsByTagName","onScriptComplete","doneFns","nmd","paths","loadStylesheet","fullhref","existingLinkTags","dataHref","existingStyleTags","findStylesheet","oldTag","linkTag","errorType","realHref","createStylesheet","installedCssChunks","miniCss","installedChunks","installedChunkData","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","chunkLoadingGlobal","SDK_VERSION","DEFAULT_IGNORE_ERRORS","InboundFilters","__initStatic","setupOnce","eventProcess","clientOptions","internalOptions","allowUrls","denyUrls","ignoreErrors","ignoreInternal","_mergeOptions","_isSentryError","_getPossibleEventMessages","_isIgnoredError","_getEventFilterUrl","_isDeniedUrl","_isAllowedUrl","_shouldDropEvent","stacktrace","_getLastValidUrl","originalFunctionToString","FunctionToString","installedIntegrations","getIntegrationsToSetup","defaultIntegrations","userIntegrations","isDefaultInstance","finalIntegrations","integrationsByName","currentInstance","existingInstance","filterDuplicates","debugIndex","debugInstance","STACKTRACE_LIMIT","createStackParser","parsers","sortedParsers","skipFirst","cleanedLine","localStack","firstFrameFunction","function","lastFrameFunction","stripSentryFramesAndReverse","__sentry_xhr__","getFetchMethod","getFetchUrl","SentryError","logLevel","DSN_REGEX","dsnToString","dsn","withPassword","port","projectId","dsnFromComponents","makeDsn","lastPath","projectMatch","dsnFromString","isValidProtocol","validateDsn","maxProperties","normalizeToSize","utf8Length","hasWeakSet","memoBuilder","unmemoize","stringified","stringifyValue","valueWithToJSON","numAdded","visitable","visitKey","visitValue","createEnvelope","addItemToEnvelope","envelope","forEachEnvelopeItem","envelopeItem","envelopeItemType","encodeUTF8","serializeEnvelope","envHeaders","itemHeaders","stringifiedPayload","concatBuffers","createAttachmentEnvelopeItem","content_type","attachment_type","ITEM_TYPE_TO_DATA_CATEGORY_MAP","sessions","client_report","user_report","profile","replay_event","replay_recording","envelopeItemTypeToDataCategory","getSdkMetadataForEnvelopeHeader","metadataOrEvent","sdk","SENTRY_API_VERSION","getBaseApiEndpoint","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","tunnel","sdkInfo","_getIngestEndpoint","sentry_key","sentry_version","sentry_client","_encodedAuth","createEventEnvelope","eventType","packages","enhanceEventWithSdkInfo","envelopeHeaders","sent_at","createEventEnvelopeHeaders","prepareEvent","normalizeDepth","normalizeMaxBreadth","prepared","maxValueLength","applyClientOptions","integrationNames","applyIntegrationsMetadata","finalScope","maxBreadth","normalizeEvent","ALREADY_SEEN_ERROR","BaseClient","_integrations","_integrationsInitialized","_numProcessing","_outcomes","_dsn","_transport","transport","transportOptions","eventFromException","_captureEvent","promisedEvent","eventFromMessage","_isEnabled","sendSession","getSdkMetadata","getTransport","_isClientDoneProcessing","clientFinished","transportFlushed","integrationIndex","getIntegrationById","integrationId","sendEvent","_sendEnvelope","createSessionEnvelope","_event","sendClientReports","_updateSessionFromEvent","crashed","errored","sessionNonTerminal","ticked","_prepareEvent","_processEvent","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","__sentry__","beforeSend","beforeSendTransaction","processBeforeSend","beforeSendResult","invalidValueError","_validateBeforeSendResult","processedEvent","transactionInfo","propagations","_clearOutcomes","outcomes","quantity","exceptionFromError","stackParser","parseStackFrames","extractMessage","eventFromError","popSize","framesToPop","reactMinifiedRegexp","getPopSize","eventFromUnknownInput","attachStacktrace","isUnhandledRejection","domException","eventFromString","__serialized__","eventFromPlainObject","synthetic","ignoreOnError","shouldIgnoreOnError","__sentry_wrapped__","sentryWrapped","wrappedArguments","validSeverityLevels","severityLevelFromString","parseUrl","MAX_ALLOWED_STRING_LENGTH","BREADCRUMB_INTEGRATION_ID","dom","_consoleBreadcrumb","_innerDomBreadcrumb","serializeAttribute","_domBreadcrumb","_xhrBreadcrumb","_fetchBreadcrumb","_historyBreadcrumb","addSentryBreadcrumb","parsedLoc","parsedFrom","parsedTo","BrowserClient","_flushOutcomes","lastAccessLHS","_optionalChain","_2","discarded_events","isRealNavigator","sendBeacon","UNKNOWN_FUNCTION","createFrame","lineno","colno","in_app","chromeRegex","chromeEvalRegex","geckoREgex","geckoEvalRegex","winjsRegex","defaultStackParser","subMatch","extractSafariExtensionDetails","isSafariExtension","isSafariWebExtension","DEFAULT_EVENT_TARGET","TryCatch","eventTarget","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","originalCallback","wrapOptions","originalFunction","globalObject","handleEvent","wrappedEventHandler","originalEventHandler","GlobalHandlers","_installFunc","_installGlobalOnErrorHandler","_installGlobalOnUnhandledRejectionHandler","stackTraceLimit","installFunc","getHubAndOptions","ERROR_TYPES_RE","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","addMechanismAndCapture","ev0","ev0s","ev0sf","LinkedErrors","_limit","linkedErrors","_walkErrorTree","_handler","Dedupe","eventProcessor","currentEvent","previousEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","_previousEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","HttpContext","Referer","makePromiseBuffer","task","taskProducer","drain","capturedSetTimeout","DEFAULT_RETRY_AFTER","updateRateLimits","statusCode","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","headerDelay","headerDate","parseRetryAfterHeader","DEFAULT_TRANSPORT_BUFFER_SIZE","createTransport","makeRequest","bufferSize","rateLimits","filteredEnvelopeItems","envelopeItemDataCategory","disabledUntil","isRateLimited","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","requestTask","cachedFetchImpl","makeFetchTransport","nativeFetch","fetchImpl","getNativeFetchImplementation","requestOptions","referrerPolicy","keepalive","XHR_READYSTATE_DONE","makeXHRTransport","Integrations","__SENTRY_RELEASE__","SENTRY_RELEASE","autoSessionTracking","clientClass","initialScope","initAndBind","startSessionOnHub","startSessionTracking","createReactRouterInstrumentation","allRoutes","normalizeTransactionName","branches","matchRoutes","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","initPathName","branch","windowIntegrations","INTEGRATIONS","TRACEPARENT_REGEXP","BAGGAGE_HEADER_NAME","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","MAX_BAGGAGE_STRING_LENGTH","dynamicSamplingContextToSentryBaggageHeader","baggageHeader","objectKey","objectValue","baggageEntry","newBaggageHeader","objectToBaggageHeader","dscKey","dscValue","baggageHeaderToObject","keyOrValue","bindReporter","reportAllChanges","prevValue","forceReport","getNavigationEntry","__WEB_VITALS_POLYFILL__","getEntriesByType","getNavigationEntryFromPerformanceTiming","navigation","navigationEntry","entryType","getActivationStart","navEntry","activationStart","initMetric","navigationType","prerendering","rating","PerformanceObserver","supportedEntryTypes","po","getEntries","buffered","onHidden","onHiddenOrPageHide","onCLS","onReport","report","sessionValue","sessionEntries","handleEntries","hadRecentInput","firstSessionEntry","lastSessionEntry","stopListening","takeRecords","firstHiddenTime","getVisibilityWatcher","onFID","visibilityWatcher","handleEntry","processingStart","reportedMetricIDs","onLCP","lastEntry","isMeasurementValue","_startChild","msToSec","getBrowserPerformanceAPI","_lcpEntry","_clsEntry","_performanceCursor","startTrackingWebVitals","clsCallback","lcpCallback","addPerformanceEntries","performanceEntries","responseStartTimestamp","requestStartTimestamp","_addPerformanceNavigationTiming","requestStart","responseEnd","responseStart","_addRequest","_addNavigationSpans","measureStartTimestamp","measureEndTimestamp","_addMeasureSpans","firstHidden","shouldRecord","resourceName","initiatorType","transferSize","encodedBodySize","decodedBodySize","renderBlockingStatus","_addResourceSpans","connection","effectiveType","rtt","deviceMemory","hardwareConcurrency","_trackNavigator","measurementTimestamp","normalizedValue","fidMark","cls","measurementName","_tagMetricInfo","eventEnd","DEFAULT_TRACE_PROPAGATION_TARGETS","defaultRequestInstrumentationOptions","traceFetch","traceXHR","tracingOrigins","tracePropagationTargets","instrumentOutgoingRequests","shouldCreateSpanForRequest","shouldCreateSpan","shouldAttachHeadersWithTargets","shouldAttachHeaders","__span","contentLength","contentLengthNum","currentScope","currentSpan","sentryBaggageHeader","sentryTraceHeader","newHeaders","existingBaggageHeader","baggage","newBaggageHeaders","addTracingHeadersToFetchRequest","fetchCallback","__sentry_xhr_span_id__","xhrCallback","DEFAULT_BROWSER_TRACING_OPTIONS","markBackgroundTransactions","routingInstrumentation","startingUrl","enableLongTask","BrowserTracing","_collectWebVitals","enableInteractions","durationThreshold","_getCurrentHub","instrumentRouting","_createRouteTransaction","onStartRouteTransaction","statusType","_registerInteractionListener","beforeNavigate","isPageloadTransaction","sentryTraceMetaTagValue","getMetaContent","baggageMetaTagValue","traceParentData","traceparent","extractTraceparentData","baggageObject","baggageHeaderToDynamicSamplingContext","expandedContext","modifiedContext","finalContext","_latestRouteName","_latestRouteSource","idleTransaction","inflightInteractionTransaction","registerInteractionTransaction","currentTransaction","metaName","metaTag","shouldDisableAutoInstrumentation","_3","_4","_5","_6","Apollo","useNestjs","_useNest","loadDependency","_module","GraphQLFactory","orig","resolversExplorerService","instrumentResolvers","ApolloServerBase","resolvers","resolverGroupName","resolverName","parentSpan","_7","_8","_9","wrapResolver","stripUrlQueryAndFragment","urlPath","getNumberOfUrlSegments","extractPathForTransaction","customRoute","originalUrl","Express","_router","router","_methods","wrapMiddlewareArgs","patchMiddleware","instrumentMiddlewares","appOrRouter","isApp","lazyrouter","routerProto","originalProcessParams","process_params","_reconstructedRoute","layerRoutePath","isRegex","numExtraSegments","lrp","_10","_11","routesArray","accNumSegments","currentRoute","getLayerRoutePathString","getLayerRoutePathInfo","_hasParameters","finalPartialRoute","__sentry_transaction","finalRoute","instrumentRouter","GraphQL","_12","_13","_14","_15","OPERATIONS","OPERATION_SIGNATURES","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","dropIndex","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexExists","insertMany","insertOne","mapReduce","rename","replaceOne","updateMany","updateOne","_operations","_describeOperations","describeOperations","_useMongoose","useMongoose","_instrumentOperations","Collection","_patchOperation","getSpanContext","_getSpanContextFromOperationArguments","lastArg","maybePromiseOrCursor","maybeCursor","_16","_17","collectionName","dbName","namespace","shouldDescribe","sql","_usePgNative","usePgNative","Client","Prisma","possibleClient","_client","$use","activeSpan","finishAndSetSpan","maybePromiseResult","BrowserTracing$1","addExtensionMethods$1","floating","convertOffsetParentRelativeRectToViewportRelativeRect","getDimensions","cross","middlewareData","crossAxis","fallbackStrategy","flipAlignment","flip","isRTL","alignmentAxis","limiter","alert","getElementRects","getClientRects","useFloating","latestMiddleware","setLatestMiddleware","isMountedRef","computePosition","setReference","setFloating","isRef","arrow$1","getDefaultParent","originalTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","applyAttributeToOthers","markerName","controlAttribute","correctedTarget","correctTargets","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","deep","alreadyHidden","counterValue","markerValue","hideOthers","activeParentNode","createPubSub","_map$get","serverHandoffComplete","genId","useReactId","setId","FloatingNodeContext","FloatingTreeContext","useFloatingParentNodeId","_useContext$id","_useContext","useFloatingTree","mergeProps","userProps","propsList","elementKey","fnsMap","getDocument","_floating$ownerDocume","_getDocument$defaultV","getChildren","_tree$nodesRef$curren","nodesRef","_node$context","_tree$nodesRef$curren2","_currentChildren","_node$context2","FloatingOverlay","lockScroll","scrollX","scrollY","paddingProp","React__default","stopEvent","useLatestRef","focus$1","FocusGuard","FloatingFocusManager","nodeId","onOpenChange","endGuard","preventTabbing","initialFocus","returnFocus","orderRef","onOpenChangeRef","getTabbableElements","_refs$floating$curren","_refs$floating$curren2","_el$getAttribute","noTabbableContentElements","els","onFloatingFocusOut","_refs$floating$curren3","_child$context","_child$context$refs$f","_getDocument$activeEl","_getTabbableElements$","_initialFocus$current","rootId","floatingProps","useDismiss","escapeKey","outsidePointerDown","referencePointerDown","ancestorScroll","isFocusInsideFloating","focusReference","targetIsInsideChildren","_node$context$refs$fl","onScroll","ancestors","getOverflowAncestors","ancestor","_doc$defaultView","ARROW_UP","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","findNonDisabledIndex","startingIndex","decrement","_list$index","_list$index2","doSwitch","isMainOrientationKey","isMainOrientationToEndKey","getMinIndex","getMaxIndex","useListNavigation","_temp2","activeIndex","onNavigate","selectedIndex","allowEscape","virtual","focusItemOnOpen","focusItemOnHover","previousOpen","focusOnOpenRef","indexRef","keyRef","initializedRef","onNavigateRef","blockPointerLeaveRef","activeId","setActiveId","focusItem","_listRef$current$inde","_listRef$current$inde2","pointerCheck","onFloatingKeyDown","isCrossOrientationCloseKey","minIndex","isMainOrientationToStartKey","onPointerEnter","isCrossOrientationOpenKey","onPointerMove","onPointerLeave","getReactInstancesForElement","instances","renderers","fiber","getReactInstanceForElement","getSourceForInstance","columnNumber","setTarget","setActiveIndex","listItemsRef","arrowX","arrowY","dataRef","useFloating$1","getFloatingProps","getItemProps","getReferenceProps","ancestorResize","elementResize","animationFrame","autoUpdate","mergedReferenceRef","mergeRefs","staticSide","getDisplayNameForInstance","getPathToSource","getPropsForInstance","ClickToComponent","BeforeYouGoComponent","redirectToRoot","terms","submitButton","ExistingUserInvitationPopup","setLoadingMessage","acceptedTerms","modalHeader","orangeText","modalActions","MultiCompanyInvitationType","MultiCompanyInvitationSelectorModal","inviterCompanyName","onConfirm","selectedChoice","setSelectedChoice","TitleContent","RadioButtonGroup","RFX","documentTypeNames","ESG","defaultLoadingMessage","useCheckInvitations","loadingMessage","userDataLoading","userCompanies","companiesLoading","redirectToMyESGPassports","REDIRECT","isCompanyMemberInvitation","isGroupInvitation","isRfpInvitation","existingRole","ExistingUserInvitatationModal","handleCompanyMemberInvitation","_rfp2","isEsgRedirectLink","_rfpInvitation","_rfp","handleRfpInvitation","handleGroupInvitation","AboutPage","AssetRepositoryPage","CompanyInfoPage","CompanyPage","Dashboard","DataRoom","DataManagement","MyDataRooms","MySuppliersPage","NotificationsPage","ProfileInfoPage","GroupPage","RFPEditorPage","RFPPage","RFPResponsesPage","SupplierDetailsPage","PassportsPage","RegulationsPage","VendorSearchPage","AppRoutes","dataRoomEnabled","dataManagementEnabled","dataManagement","suppliersEnabled","OnboardedRoute","viewerType","baseBuyerPath","supplierBasePath","buyerDocumentPath","supplierInvitationPath","supplierDocumentPath","cancelButton","modalContent","feedbackOptions","FeedbackModal","FormSelect","CreateCompanyModal","setcompanyName","errorMessage","setErrorMessage","itemSize","pageItem","selectedPageItem","actionItem","companyItem","menuRoot","AvatarMenu","profileImageUrl","onSwitchCompany","createCompanyFeatureEnabled","createNewCompany","menuOpen","handleMenuClose","_company$avatar","badgeContent","badgeContentProp","invisibleProp","showZero","displayValue","getBadgeUtilityClass","BadgeRoot","BadgeBadge","overlap","RADIUS_STANDARD","RADIUS_DOT","badgeClasses","getAnchorOrigin","Badge","anchorOriginProp","overlapProp","colorProp","invisibleFromHook","displayValueFromHook","useBadge","anchorOriginPropProp","BadgeSlot","badgeSlotProps","badgeProps","seeAllButton","emptyContainer","emptyImg","emptyText","NotificationItem","notificationBell","notificationBadge","NotificationBell","setisOpen","NotificationPopUp","topMenuAccountDetailsClass","profileTextContainer","profileText","topMenuLeftContainer","topMenuWelcome","welcomeContainer","breadCrumbArrow","breadCrumbContainer","procurementConsolePaths","isSwitchingAccount","setIsSwitchingAccount","userLoading","refetchOwnCompany","actingCompanyId","notificationsEnabled","onRedirectToRegulationsQuestionnairePage","regulationMenuItems","folders","firstModuleOrFolder","MenuItemGroup","SideMenuItemName","Regulations","showLabel","subMenu","FullWidthDivider","sidemenuItemRouteMap","SupplierProfiling","ValueChain","SupplierSearch","CompanyAccount","MyAccount","SideMenuItem","TooltiptTitle","subItem","isHidden","toggleMenu","companyError","_Object$entries$find","mainPath","regulationMenuItem","useGetRegulationMenuItem","displayItems","privateItems","publicItems","menuItemSelected","layoutContent","layoutContentFull","backgroundFilter","sideMenuOverlay","pageContent","isSideMenuOpen","setSideMenuOpen","closeSideMenu","isSideMenuHidden","isHeaderHidden","toggleSideMenuOpen","Header","boldText","inputColumns","secondaryButton","helperTextContainer","tightFit","ForgotPasswordForm","ResetPasswordSentForm","isMigratedUser","ContactUsButton","rightSideIconContainer","formContainer","AuthenticationPageLayout","PulseIconLoginRedirect","ForgotPasswordPage","forgotPasswordEmail","setForgotPasswordEmail","inputIcon","PasswordInput","showPassword","setShowPassword","LoginForm","invalidCredentials","setInvalidCredentials","LoginPage","loginEmail","setLoginEmail","RegisterForm","VerifyEmailForm","RegisterPage","registrationEmail","setRegistrationEmail","InvalidTokenForm","sendVerifyEmail","PasswordReset","EmailVerify","ResetPasswordForm","confirmPassword","passwordStrengthError","ResetPasswordPage","VerifyEmailPage","isVerifyEmailLoading","isVerifyEmailError","emailToVerify","setEmailToVerify","App","useIsComingFromInvitationRedirect","authToken","AUTH_TOKEN","redirectUrl","REDIRECT_PAGE_PARAM","INVITER_COMPANY","autoTriggeredPopup","isTokenLoading","useCheckAuthToken","StripeCallbackScreen","Login","localTheme","outerTheme","mergeOuterLocalTheme","EMPTY_THEME","useThemeScoping","resolvedTheme","mergedTheme","upperPrivateTheme","usePrivateTheme","engineTheme","privateTheme","rtlValue","MuiThemeProvider","StyledEngineThemeContext","RtlProvider","DefaultPropsProvider","ThemeProviderNoVars","scopedTheme","SystemThemeProvider","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","getSystemMode","processState","systemMode","initializeValue","useCurrentColorScheme","defaultMode","defaultLightColorScheme","defaultDarkColorScheme","supportedColorSchemes","modeStorageKey","colorSchemeStorageKey","storageWindow","joinedColorSchemes","isMultiSchemes","initialMode","lightColorScheme","darkColorScheme","setHasMounted","hasMounted","getColorScheme","setMode","newMode","setColorScheme","newLightColorScheme","newDarkColorScheme","handleMediaQuery","mediaListener","handleStorage","defaultConfig","CssVarsProvider","InternalCssVarsProvider","useColorScheme","getInitColorSchemeScript","deprecatedGetInitColorSchemeScript","defaultModeStorageKey","defaultColorSchemeStorageKey","disableTransitionOnChange","designSystemTransitionOnChange","resolveTheme","allColorSchemes","ColorSchemeContext","themeProp","documentNode","colorSchemeNode","disableNestedContext","disableStyleSheetGeneration","muiUseTheme","initialTheme","restThemeProp","stateMode","stateColorScheme","calculatedColorScheme","schemeKey","shouldGenerateStyleSheet","ThemeProvider","initialAttribute","setter","suppressHydrationWarning","InitColorSchemeScript","createCssVarsProvider","newTheme","createEmotionCache","MyStyleSheet","StyledEngineProvider","injectFirst","unstable_strictMode","MuiButtonBase","MuiTouchRipple","iconSizeSmall","iconSizeMedium","iconSizeLarge","MuiTabs","MuiTab","MuiInputBase","MuiOutlinedInput","inputColors","MuiFilledInput","MuiMenu","MuiMenuItem","MuiCheckbox","MuiDivider","MuiFormLabel","MuiLinearProgress","colorPrimary","MuiListItem","MuiToggleButtonGroup","middleButton","lastButton","MuiToggleButton","Providers","initialIsOpen","editor","REACT_APP_CODE_APP","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","init$1","reportWebVitals"],"sourceRoot":""}