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/B98B,GAAKmnC,cAAe,CAAK,EAHd,EAIb,CAEQsB,iBAAiBh6B,GAAiBqB,IACxC,GAAgB,OAAZrB,GACF,OAAOs6B,EAAYC,SAASl5B,KAAUm5B,EAAWD,SAASl5B,IACrD,GAAgB,OAAZrB,GACT,OAAOy6B,EAAYF,SAASl5B,KAAUq5B,GAAWH,SAASl5B,IAE5D,GAAI3V,KAAKivC,iBAAkB,CACzB,MAAMC,GAAe,IAAIC,IACzBD,UAAan1B,KAAK,MACXm1B,GAAaL,SAASv6B,IAE/B,OAAO66B,GAAiBN,SAASv6B,GACnC,CAEQ26B,iBACN,MAAMG,GAAoC,QAA5BrS,KAAUlT,cAClBrC,GAAWuV,KAAUC,mBAC3B,OAAOoS,IAAS5nB,EAClB,CAEAK,UACE7nB,KAAKo3B,eAAeqF,WAAWkQ,GACjC,CAEQc,kBACN,MAAMpqB,GAASrjB,KAAK8hB,iBAAiBM,UAAU,0CACzCnc,GAAUjG,KAAK8hB,iBAAiBM,UAAU,2CAChDpiB,KAAK+sC,aAAa3pB,kBAAkBC,GAAQpd,GAC9C,YA7MW4yB,4CAAe,6BAAfA,GAAepa,QAAfoa,GAAena,UAAAC,WAFd,SAEDka,CAAe,KAgN5B,MAAMsW,GAAmB,CACvB,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA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AO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,eACdC,cAAe,GACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,OACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,cACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,OACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,eACdC,cAAe,GACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,SACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,gBACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,QACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,QAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,WACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,SC7pENq8K,GAA8B,CACzC,CACE16K,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,YACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,SAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,SAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,aAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,sBACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,SAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,cAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,iBACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,cACdC,cAAe,MACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,uBACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,SAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,YACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,YACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,OACdC,cAAe,MACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,SAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,cAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,UACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,QACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,SAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,eAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,UACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,UAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,EACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,UAET,CACEmE,MAAO,GACPnE,MAAO,WAET,CACEmE,MAAO,GACPnE,MAAO,gBClwCNs8K,GAAiC,CAC5C,CACE36K,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,UACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,KAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,KAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,cACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,cACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,KAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,YACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,qBACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,aACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,KAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,cACdC,cAAe,KACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,KAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,iBACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,KAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,WACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,OAMjB,CACE2B,OAAQ,IACRb,KAAM,CACJa,OAAQ,IACR4G,IAAK,iBACLtE,KAAM,CACJ6P,aAAc,YACdC,cAAe,IACfzP,QAAS,CACP,CACEH,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,GAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,EACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,KAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,GAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,GACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,IAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACEmE,MAAO,IACPnE,MAAO,GAET,CACE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K,MAAAk1D,GAAA2xD,KAAA/gF,IAAmB,EAAIlmC,GAAA,CADf68b,CAAA98b,GAAAC,IAAAs1D,GAAA4F,GAAAc,IAAA1G,KAAA2xD,KAAA3xD,GAAAl1D,MAAA,EAAwD,EAE3J,mEAgEA,mBAAA28b","names":["__WEBPACK_DEFAULT_EXPORT__","appId","appName","backgroundColor","plugins","FirebaseAuthentication","skipNativeAuth","providers","LocalNotifications","smallIcon","iconColor","CapacitorUpdater","version","autoUpdate","publicKey","cordova","preferences","webDir","server","androidScheme","firstValueFrom","source","config","hasConfig","Promise","resolve","reject","subscriber","SafeSubscriber","next","value","unsubscribe","error","complete","defaultValue","EmptyError","subscribe","Api","constructor","api","httpService","this","patch","endpoint","body","delays","_this","_asyncToGenerator","retryOnNoConnection","makeRequest","post","_this2","get","_this3","isHttpErrorResponse","HttpErrorResponse","isNoInternetError","status","ProgressEvent","apiCall","_this4","attempt","length","sleep","Error","method","_this5","url","headers","generateHeaders","https","ms","setTimeout","DISCLOSE_SECRETS","DISCLOSURES","DealerApi","request","existingSecrets","dealId","response","isApiResponseDisclosures","console","warn","disclose","indexes","gameStateHash","disclosedSecrets","isApiResponseSecretsDisclosed","obj","ApiResponseDisclosuresSchema","safeParse","success","ApiResponseSecretsDisclosedSchema","z","object","data","disclosures","index","number","array","secrets","DEFAULT_WALLET","SET_LIGHTNING_ADDRESS","SET_POLYGON_ADDRESS","USDC_BALANCE","USDC_DEPOSIT_DATA","USDC_CREATE_DEPOSIT","USDC_RELAY_TRANSFER","CREATE_INVOICE","DEPOSIT_STATUS","DELETE_ACCOUNT","DEMO_PAY","JitApi","environment","walletApi","defaultWallet","setLightningAddress","lightningAddress","isApiResponseLightningAddress","setPolygonAddress","walletName","polygonAddress","isApiResponsePolygonAddress","JSON","stringify","deleteAccount","isApiResponseDeleteAccount","usdcBalance","isApiResponseUsdcBalance","usdcDepositData","_this6","isApiResponseUsdcDepositData","usdcCreateDeposit","transactionHash","_this7","isApiResponseUsdcCreateDeposit","usdcRelayTransfer","dataSignature","message","_this8","signature","isApiResponseUsdcRelayTransfer","createInvoice","usd","_this9","amount","currency","Currency","USD","isApiResponseCreateInvoice","depositStatus","depositId","_this10","isApiResponseDepositStatus","demoPay","_this11","isApiResponseDemoPay","isApiResponseDefaultWallet","lightningWalletSchema","networkName","string","polygonWalletSchema","dataSchema","union","refine","msg","balanceCents","nullish","usdcAddress","operatorAddress","usdcContract","UsdcContractSchema","confirmations","amountSats","expiresAt","lnInvoice","chargeStatus","UsdcContractDomainSchema","name","chainId","verifyingContract","UsdcContractTypesSchema","EIP712Domain","type","TransferWithAuthorization","domain","types","NICK_ENDPOINT","FCM_TOKEN_ENDPOINT","UserApi","wagerApi","setNick","nick","isValidApiResponseNick","getNick","isValidApiResponseGetNick","setFcmToken","fcmToken","isValidApiResponseFcmToken","RoomCreationMethodSchema","enum","RoomOpponentSchema","invoice","optional","roundDeadline","roundState","nativeEnum","Round","startRoundDeadline","score","userId","nullable","RoomModelSchema","creationMethod","logicVersion","default","gameId","GameId","entryFee","joinDeadline","result","RoomDisplayResult","resultSent","boolean","reward","opponent","sortDate","bounty","jackpot","FIND_MATCH","CHECK_IP","FINISH_ROUND","START_ROUND","MIN_CLIENT_VERSION","BOOTUP","PROVISIONAL_USER","PROFILE","TIERS","OPERATOR_DATA","GEOCODE","ROOMS","REFERRAL_GENERATE","REFERRAL_REDEEM","LEADERBOARDS","WAITING_OPPONENTS","ACTIVITY_FEED","PRACTICE_ROUNDS","TOURNAMENT_PUBLISHED","TOURNAMENTS","MINI_LEADERBOARD","LEADERBOARD","GAME_STATS","USERS","INVENTORY","SPIN_DAILY_SPINNER","SPIN_ROUND_SPINNER","WagerApi","checkIp","isApiResponseIpInfo","bootup","isApiResponseBootup","provisionalUser","isApiResponseProvisionalUser","profile","isApiResponseProfile","randomPractice","isApiResponseRandomPractice","rooms","roomId","isApiResponseRoom","roomTournaments","isApiResponseRoomTournaments","minClientVersion","isApiResponseMinClientVersion","findMatch","tierId","tournamentId","requestBody","isApiResponseFindMatch","findOperatorMatch","idempotencyKey","startRound","isApiResponseStartRound","finishRound","moves","_this12","Array","isApiResponseFinishRound","tiers","_this13","isApiResponseTiers","geocode","lat","lng","_this14","isApiResponseGeoCode","operatorData","_this15","isApiResponseOperatorData","referralGenerate","_this16","isApiResponseReferralCode","referralRedeem","referralCode","_this17","isApiResponseRedeemReferralCode","waitingOpponents","duelBucketId","_this18","isApiResponseWaitingOpponents","leaderboardList","page","_this19","isApiResponseLeaderboardList","leaderboardEntry","_this20","isApiResponseLeaderboardEntry","leaderboards","leaderboardType","timePeriod","_this21","isApiResponseLeaderboards","stats","_this22","isApiResponseStats","activityFeed","_this23","isApiResponseActivityFeed","publishedTournaments","_this24","isApiResponsePublisedTournaments","tournamentData","_this25","isApiResponseTournamentData","miniLeaderboardData","_this26","isApiResponseMiniLeaderboardData","inventory","_this27","isApiResponseInventory","dailySpinner","nextSpinAvailableAt","_this28","isApiResponseSpinDailySpinner","spinRoundSpinner","_this29","isApiResponseSpinRoundSpinner","opponentUserId","opponentName","opponentScore","PrizeSchema","count","TournamentSchema","scoreFormula","literal","title","bannerUrl","startDate","endDate","joinUntilDate","roomDeadline","finished","gameIds","leaderboard","prizes","continent","continentCode","country","countryCode","query","region","regionName","featureFlagsSchema","enableReferrals","enableLeaderboards","enableActivityFeed","enableEmailLink","appleReviewVersion","minWebVersion","minAndroidVersion","minIOSVersion","androidDownloadLink","iosDownloadLink","featureFlags","operatorId","displayName","dealerUrl","deadline","state","fcmTokenSchema","token","modifiedAt","referralStatsSchema","referredPayers","totalPaymentCents","totalPaymentTransactions","referralTierSchema","serviceFeeShare","minReferredPayers","account","referral","code","serviceFeeDiscount","bonusServiceFeeShare","referrer","referrerId","referralStats","bonusStats","referralTiers","record","leaderboardEntrySchema","position","rank","lastUpdated","leaderboardData","catchall","LeaderBoardEntrySchema","entriesPerPage","hasMoreEntries","entries","serverTime","activities","ActivityMessageDataSchema","PublishedTournamentSchema","tournament","StatsEntrySchema","top","globalRank","activeDays","bestScore","averageScore","winRate","completedRounds","wonAmount","wonRounds","drawnRounds","bestWinStreak","SpinnerPrizeBountySchema","DailySpinnerSchema","RoundSpinnerSchema","progress","target","BountySchema","InventoryViewSchema","roundSpinner","winningPrizeIndex","PipeModule","_class","IonicModule","ActivityEventStack","stack","pushEvents","sort","a","b","getDate","push","popDueEvents","now","dueEvents","hasEvents","Date","eventDue","pop","_data$displayedAt","displayedAt","createdAt","LimitedList","maxItems","items","addItem","shift","addItems","splice","ActivityFeedService","inject","HttpService","analyticsService","AnalyticsService","operatorService","OperatorService","jobService","JobService","displayBufferInterval","maxMiniDisplayMessages","maxFeedMessages","hasInitialised","destroyed$","ReplaySubject","eventStack","miniDisplayMessages","feedMessages","oneSecSyncInterval$","interval","pipe","map","shareReplay","initialize","timer","takeUntil","updateActivityFeed","processEvents","ngOnDestroy","cleanup","filter","dueEvent","some","item","activityId","fetchActivityFeed","activityMessages","parseActivityFeed","transformedMessages","ActivityUtilities","transformDisplayDates","_yield$job$runNoThrow","sandbox","IsDemo","sandboxActivityFeed","IsActive","undefined","create","runNoThrow","time","activitiesAtTime","cachedActivity","parse","ZodError","errors","handleError","factory","ɵfac","providedIn","Solitaire","loserNick","loserScore","ActivityType","Win","winnerUserId","loserUserId","winnerNick","winnerScore","f626b775e57157ce9eefc3f396f40f7348015d323aced83f2e046b52af6262eb","Blocks","NewPlayer","ac114f4135de1137b64a4befbaa92375455bd0dcb3bf80e976d2a7dd98a8a03f","af0aae90547e0d340f67f4b4e018eae3ab8d47a236478308f5cc88cf96c11b2e","c40c66c8c3371796db43e853e9273148e388da0de2e7e8d28664e96b6d0c7b37","ae28d3b57e37f45508a40ae166f785699e49d3be923d63b80f032be77326897a","b4516c7e47104509627ba1cb040bcdd031ccb1e37ae970cb482a0426009ac7e4","e60bc5be173e13df3e4cc5e8123042ee1e0b1a78998a78ecf7f895afd64062db","aa3feba97102f4111ea03d04ece9f6fa4f3fd94999d823a0f8725b0ee691f1e7","b09e1b5dacc007f5604be21651705c3ad88b0e7fc6eccb9f16564633e38f2a01","bb0ccfb73daee6d2d7a6b849ddb32debb9c6c76eec1c8d867dd1a655cadca7ef","e148497e37978f079cb8918e14f4af0a9b6064d5332073e08262a7d350ef66e8","d6df045fbb87b052a71e2d4a812f981922c1e9f52b25ef906262f8036b03bed2","e408537e5aa17deaa40cb3beabbb87aab80d7e7a0512e898b2945d0a1f748780","f352a9f9813cb0aceb0d23039d200da74f6ebe47cc0d7f0806b695d8e153c302","rewardsCount","ReferralReward","f65762f7ef351118d5c768b766e58cf2b00d717ef45c97803c9ba927ab77228c","baa2863b4b0227254d0eb4d88a89a5ba5cf83b5b202224353d930b1e7bbe7d38","ddf6dbe34b6f60091a40c1b9ad88fbf370f24121e002f8b16b6d353a95c5f8dd","d1b131eece4c539a4fb9e79379da8343fc3bab8e2428dc0abac5d135d5b8acc5","ff08ac796e6ce7d045da581a416a5649a06a4953818d3473a0862325c08e0652","dc9f611eca8cf9610df2fef5bb1caa5b1714eb2c801e0fdea9fff1aea17fdb15","ActivityWinDataSchema","int","ActivityDrawDataSchema","Draw","firstPlayerNick","secondPlayerNick","firstPlayerUserId","secondPlayerUserId","ActivityNewPlayerDataSchema","ActivityReferralRewardDataSchema","ActivityDataSchema","isWinData","isDrawData","isNewPlayerData","isReferralRewardData","activity","extractActivityMetadata","translocoService","themeService","_activity$data$bounty","_activity$data$bounty2","formatNumber","icon","translate","gameName","gameIdToName","actionMessage","congratulationsKey","Map","formatTimeInterval","Math","floor","getTime","AlertService","alertController","AlertController","router","Router","TranslocoService","presentErrorAlert","header","okCallback","_ref","cssClass","buttons","text","handler","apply","arguments","present","tryAgainInternet","infoAlert","tryAgainLater","infoRedirectAlert","PAGE","LOADING","unknownError","fatalError","fatalInfoAlert","invoiceExpired","paymentFailed","paymentsUnavailable","deleteAccountAlert","buttonLabel","Alert","cancelButtonLabel","ALERT_ROLE_DESTRUCTIVE","backdropDismiss","alert","navigate","dismiss","SIGNIN","role","FirebaseAnalytics","registerPlugin","web","all","__webpack_require__","e","then","bind","m","FirebaseAnalyticsWeb","FirebaseCrashlytics","FirebaseCrashlyticsWeb","_captureStackTrace","rawStackFrames","StackTrace","fromError","slice","frame","toString","join","location","Location","singularService","SingularService","platformInfoService","PlatformInfoService","sentryService","SentryService","logger","Logger","isInitialised","initialise","setEnabled","enabled","isNative","signIn","setUserId","setOperator","setReferrer","signOut","unSetUserId","log","params","logEvent","event","addBreadcrumb","logExtended","safeParams","err","context","_config$plugins","normalizeError","_err$error","innerError","isInnerErrorArray","isArray","every","newError","CloudError","zodIssues","issues","issue","path","captureException","errorObject","stackTrace","captureStackTrace","_x","currentVersion","build","eventName","getPlatform","recordException","stacktrace","errorWarning","setProperty","key","setUserProperty","getSessionUtmId","sessionUtmId","queryParamsString","split","utmParams","queryParams","URLSearchParams","has","_obj$key","EventName","Referrer","SingularInitialised","Onboarded","OperatorInitialised","UpdateRequiredView","UpdateRequiredMenuClick","UpdateRequiredAppleClick","UpdateRequiredGoogleClick","OpenAppDownloadClick","CloseDownloadBannerClick","DownloadAppView","DownloadAppMenuClick","DownloadAppAppleClick","DownloadAppGoogleClick","GeoLocationCheckView","GeoLocationCheckClick","CheckLocation","CheckLocationGranted","CheckLocationDenied","CheckLocationPrompt","AppConstructor","AppOnInit","AppView","FetchTranslation","FirebaseInitialised","IsCountryBlocked","UpdateRequiredCheck","BootupRequestSuccess","LoadingGuard","AppUrlOpen","NativeRedirectUrlLink","SupportWebGl","SignInOnInit","SignInWillEnter","SignInView","SignInGoogleClick","SignInXClick","SignInAppleClick","SignInEmailClick","SignInEmailBackClick","SignInPrivacyClick","SignInTermsClick","SignInApiResponse","SignInEmailLink","UnavailableView","UnavailableBackDoorClick","ChatView","ChatMenuClick","ProfileView","ProfileLinkWalletClick","ProfileMenuClick","ProfileSaveNickClick","ProfileSaveNickApiResponse","ProfileDeleteAccountClick","ReferralView","ReferralMenuClick","ReferralCodeCopyClick","ReferralSaveCodeClick","ReferralInitialPage","ReferralPageChangeClick","ReferralShareButtonClick","ReferralTermsHeaderButtonClick","ReferralTermsStatusButtonClick","ReferralTermsView","ReferralTermsBackClick","ActivityFeedView","ActivityFeedMenuClick","SelectWalletView","SelectWalletBackClick","SelectWalletCellClick","SelectWalletSpeedOfferClick","LinkWalletView","LinkWalletBackClick","LinkWalletInstructionsClick","LinkWalletSaveClick","LinkWalletSaveApiResponse","LinkWalletDownloadClick","LeaderboardsMenuClick","LeaderboardsBackClick","LeaderboardsListCellClick","LeaderboardPageView","LeaderboardPageBackClick","ClinchListView","ClinchListMenuClick","ClinchListMoreClick","ClinchListCellClick","ClinchExpiredView","ClinchExpiredBackClick","ClinchResultView","ClinchResultBackClick","ClinchResultDetailsClick","ClinchResultShareInChatClick","ClinchResultShareInChatAlertView","ClinchResultShareInChatAlertAnswer","ClinchResultShareInChatAlertApiResponse","ClinchInPlayView","ClinchInPlayBackClick","ClinchInPlayCopyReminderClick","ClinchInPlayCopyReminderAlertView","ClinchInPlayCopyReminderAlertAnswer","ClinchPayCopyInvoiceClick","ClinchPayLightningClick","ClinchPayNativeWalletClick","ClinchPayPolygonClick","ClinchPayOperatorLightningClick","ClinchPayWebLNClick","ClinchPayCheckClick","ClinchPayInvoicePaid","ClinchProcessingView","ClinchProcessingBackClick","ClinchGameView","ClinchGameBackClick","ClinchGameFinishClick","ClinchGameSubmitScoreSuccess","ClinchGameSubmitScoreFail","ClinchGameFinishAlertView","ClinchGameFinishAlertAnswer","ClinchGameErrorFinishAlertView","ClinchGameErrorFinishAlertAnswer","ClinchGameRetryAlertView","ClinchGameRetryAlertAnswer","ClinchGameFatalAlertView","ClinchGameFatalAlertAnswer","ClinchGameScoreNotSubmittedAlertView","ClinchGameScoreNotSubmittedAlertAnswer","ClinchGameNoHintsAlertView","ClinchGameNoHintsAlertAnswer","ClinchGameScoreSubmittedAlertView","ClinchGameScoreSubmittedAlertAnswer","ClinchGameViewInit","ClinchGameLoaded","ClinchGameStartRoom","ClinchGameStartRoomFailed","ClinchGameSetMoves","ClinchGameSetMovesFailed","ClinchGameDiscloseSecrets","ClinchGameDiscloseSecretsFailed","PracticeButtonClick","PracticeGameView","PracticeGameSceneInit","PracticeGameSceneLoaded","PracticeGameSceneStarted","PracticeGameSceneDeckComplete","PracticeGameSceneTimeout","PracticeGameFinishClick","PracticeGameSubmitScore","PracticeGameBackClick","PracticeGameResultView","MatchOptionsView","MatchOptionsBackClick","MatchOptionsRulesClick","LightningPayDrawView","NativePayDrawView","PolygonPayDrawView","OperatorLightningPayDrawView","WaitingForPaymentDrawView","CheckingPaymentsDrawView","SideMenuOpen","SideMenuClose","SideMenuStartClinchClick","SideMenuInviteClick","SideMenuClinchesClick","SideMenuProfileClick","SideMenuRulesClick","SideMenuTipsClick","SideMenuReferralClick","SideMenuLeaderboardsClick","SideMenuActivityFeedClick","SideMenuDownloadAppClick","SideMenuLogoutClick","SideMenuChatClick","SideMenuPrivacyClick","SideMenuTermsClick","SideMenuFAQClick","SideMenuDepositlessClick","SideMenuStats","LoadingStart","LoadingFinish","LocationCheck","TryAppStoreReview","LocalNotificationOpenAction","LocalNotificationPermissions","SetMovesError","EventParam","Success","Fail","AlreadyShared","Apple","Google","X","SendEmailLink","EmailLink","Open","Close","Dismiss","Yes","No","Ok","storageService","logKey","logs","initialized","initIfNeeded","getItem","info","getLast100Logs","timestamp","saveLogs","setItem","level","i0","i1","Sentry","id","operator","setWallet","wallet","setActiveLanguage","language","extra","category","SignOutService","locationService","LocationService","movesService","MovesService","roomService","RoomService","roomListService","RoomListService","profileService","ProfileService","initService","InitService","depositService","DepositService","reset","AUTH_USER","AuthService","signOutService","dataLayerService","DataLayerService","StorageService","ngZone","NgZone","removeAllListeners","addListener","change","run","user","uid","setUser","userExists","lastEmailLinkUsed","lastEmailLink","isNotNil","isAuthenticated","getCurrentUser","setLastEmailLink","emailLink","isSignInWithEmailLink","sendSignInLinkToEmail","email","options","actionCodeSettings","emailLinkRedirectUri","handleCodeInApp","iOS","bundleId","android","packageName","installApp","minimumVersion","provider","signInWithGoogle","navigateAfterSignIn","signInWithApple","signInWithEmailLink","signInWithEmail","password","signInWithEmailAndPassword","signInWithToken","signInWithCustomToken","removeItem","CHOOSE_GAME","loadCurrentUser","userResult","Token","hasClinchUserId","Capacitor","isNativePlatform","telegram","walletId","setCustomId","customId","job","showNoInternetRetry","Job","InfiniteRetry","addErrorHandler","showFatalError","onCancel","InvalidTokenError","prototype","forceRefresh","getIdToken","decodedToken","jwtDecode","pos","part","decoded","base64UrlDecode","str","output","replace","b64DecodeUnicode","decodeURIComponent","atob","p","charCodeAt","toUpperCase","clinchUserId","BootupService","bootupData","updateRequired","minOperatorVersion","reload","isReviewVersion","isReferralsEnabled","isLeaderboardsEnabled","isActivityFeedEnabled","isEmailLinkEnabled","CustomisationService","platform","Platform","isChatEnabled","is","isLoginEnabled","isNicknameEditEnabled","isDangerZoneEnabled","isDownloadAppEnabled","isReferralCodeEnabled","isReferralInterstiticalEnabled","isInviteMenuButtonEnabled","window","dataLayer","setPlatform","_window$dataLayer","thisPlatform","userPlatform","_window$dataLayer2","emitOnSiteExitEvent","_window$dataLayer3","onSiteExitEventName","BackgroundTask","BackgroundTaskWeb","DepositCheckerService","isCheckingDeposits","lastConsumedDepositSignal","signal","checkerStateSignal","stopTimer$","Subject","tournamentService","TournamentService","consumedDeposit$","asReadonly","checkerState$","document","addEventListener","onVisibilityChange","ready","onPause","onResume","setDeposits","deposits","stop","start","clearDeposits","closed","getDeposits","set","startWith","checkDeposits","logWarning","deposit","processDeposit","canCheckDeposit","match","findTournamentMatch","stopChecking","isDepositExpired","_this2$deposits","checked","taskId","beforeExit","finish","hidden","remove","DepositWatcherService","toastService","ToastService","injector","Injector","blockToaster","runInInjectionContext","effect","consumedDeposit","addRoom","showGoToMatchToast","depositCheckerService","Deposits","addDeposit","add","removeDeposit","removeInvoice","depositCount","canCheckAt","initializing","storedDeposits","isInitialized","d","isLightningDeposit","WalletType","Lightning","foundDeposit","find","checkCount","delay","pow","min","max","StorageKey","GameScoreService","scoreSignal","countdownSignal","tournamentCountdownSignal","formattedRewardSignal","opponentSignal","opponentIdSignal","inPlaySignal","bountyAmountSignal","countdown","formattedReward","opponentId","computed","tournamentCountdown","bountyAmount","inPlay","setScore","setCountdown","setTournamentCountdown","setFormattedReward","setOpponent","setOpponentId","setInPlay","setBountyAmount","clear","httpClient","HttpClient","setLanguage","chosenLanguage","languageHeader","setLocation","locationHeader","walletHeader","_this$languageHeader","_this$locationHeader","_this$walletHeader","versionHeader","buildHeader","platformHeader","HttpHeaders","generateAuthHeaders","idToken","_this$languageHeader2","_this$locationHeader2","_this$walletHeader2","authorizationHeader","Authorization","tiersService","TiersService","initialisedSignal","initialised","refresh","moreRooms","allowSignalWrites","loadingController","LoadingController","JobCancelledError","super","isInstance","JobErrorHandler","abortController","enableFatalError","enableWindowReload","onCancelHandler","onErrorHandler","handle","_this$onCancelHandler","_this$onErrorHandler","aborted","call","showFatalErrorAlert","reloadWindow","onError","onDidDismiss","task","enableLoading","loadingDelay","AbortController","jobErrorHandler","execute","errorHandler","canRetry","DefaultRetry","showSpinner","cancel","abort","checkIfCancelled","handleRetry","handleLoading","loading","timeout","_loading","clearTimeout","isConnected","retryAllowed","cancelledError","catch","_attempt","LeaderboardType","MostWins","MostMoneyWon","LeaderboardPeriodType","Daily","Weekly","Monthly","AllTime","Geolocation","GeolocationWeb","LOCATION","DEBUG_LOCATION","locationAllowed","locationAllowedSignal","alertService","forceUnblock","currentLocationSignal","destroy$","isUS","isLocationChecked","checkLocation","currentPermissions","checkPermissions","getAndSetLocation","showDeniedAlert","permissions","requestPermissions","toObservable","currentLocation","isChecked","savedForceUnblock","currentPosition","getCurrentPosition","latitude","coords","longitude","isLocationBlocked","isGeoCodeBlocked","isCountryBlocked","blocked","userCountryCode","userRegion","unblock","usStateFIPS","includes","usStateISO","inStateFIPS","inStateISO","isNativeIOSApp","iOSCountries","blockedCountries","isIOS","LocalNotificationsWeb","NotificationType","RetentionHrs8","RetentionHrs24","RetentionHrs48","RetentionHrs72","RetentionHrs96","RetentionHrs120","RetentionHrs144","RetentionHrs168","RetentionHrs336","RetentionHrs504","RetentionHrs672","RetentionHrs840","RetentionHrs1008","RetentionHrs1176","RetentionHrs1344","RetentionHrs1512","RetentionHrs1680","RetentionHrs1848","RetentionHrs2016","RetentionHrs2184","RetentionHrs2352","OnboardingMins10","OnboardingMins60","OnboardingHrs8","OnboardingHrs24","OnboardingHrs48","OnboardingHrs72","OnboardingHrs96","OnboardingHrs120","OnboardingHrs144","OnboardingHrs168","OnboardingHrs336","LocalMessagingService","profileInitialised","recordOnboardingStateChange","nickname","_","notification","notificationAction","actionId","permissionStatus","display","cancelNotifications","onboardingNotificationIds","scheduleNotifications","onboardingNotifications","recordProfileCompleted","clearOnboardingNotifications","recordPayDrawViewed","recordGameComplete","retentionNotificationIds","retentionNotifications","notificationIds","notifications","notificationId","dateNow","schedule","at","intervalMins","onMinute","onboarding","onHour","retention","FirebaseApp","FirebaseAppWeb","FirebaseRealtimeDatabaseService","lastSetMovesTime","getMoves","setMoves","callTime","reference","ensureApiInitialized","getOptions","databaseUrl","firebaseRDBService","getInitialMoves","_yield$_this$storageS","_yield$_this$firebase","createKey","localMoves","movesKey","databaseMoves","startsWith","Boolean","_moves$split$filter","movesRaw","OperatorMessageName","GET_CONFIG","SET_CONFIG","GET_TOKEN","SET_TOKEN","GET_BALANCE","SET_BALANCE","DEMO_BALANCE_UPDATE","REDIRECT","PAY_INVOICE","CANCEL_INVOICE","HANDLE_ERROR","ERROR_HANDLED","OperatorMessenger","tokenCallback","configCallback","balanceCallback","cancelInvoiceCallback","connectToOperator","sendMessage","postMessage","sendError","errorPromiseHolder","PromiseHolder","init","getPromise","receiveMessage","origin","messageObjectJSON","parent","isValidJSON","messageObject","balance","_this$errorPromiseHol","handled","ThemeService","currencyPipe","CurrencyPipe","translationService","TranslationService","operatorSignal","canceledInvoiceSignal","balanceSignal","currencySignal","nicknameSignal","configSignal","_this$messenger","_this$messenger2","messenger","fetch","_this$messenger3","redirectToOperator","_this$messenger4","updateBalance","_this3$messenger","payLightningInvoice","_this$messenger5","updateDemoBalance","balanceInc","_this$messenger6","deployment","_this$config","showSats","_this$config2","isLightning","_this$config3","paymentType","_this$config4","canceledInvoice","_this$config5","formattedBalance","transform","_this$messenger7","getLanguageNameFromIso","switchLanguage","switch","Theme","BetOpenly","Maincard","theme","Crypto","Clinch","PlatformType","ios","desktopweb","mobileweb","isTelegram","isWeb","MOCK_PALYER_STATS","PlayerStatsService","useMockData","mockDelay","statsPlayer","statsList","label","percentage","pills","setPlayerStatsModal","playerId","getPlayerStatsModal","asObservable","getInitialPillsData","getTranslation","getInitialStatsListData","transformStatsList","formatScore","isRate","parseFloat","toFixed","isAmount","amountForCurrency","Number","isInteger","percentile","calcIcon","colorCss","calcIconColor","currencyIcon","getGameStats","getMockPlayerStats","ClinchCampaignState","None","StartMatchmakingTier","Pay","PopupCampaignService","userStateService","UserStateService","isSigningIn","clinchCampaignState","aboutToSignIn","setClinchCampaignState","leaveSiteDetected","pageName","isMobileWeb","handleSiteAbandoned","navButtonClicked","headerBackButtonClicked","clinchMatchmakingClosed","onboarded","ACCOUNT","SELECT_WALLET","LINK_WALLET","WalletId","Alby","WalletOfSatoshi","ZBD","idSignal","defaultWalletSignal","fcmTokenSignal","referrerCodeSignal","referralSignal","referrerSignal","referralStatsSignal","bonusStatsSignal","referralTiersSignal","BaseWallet","getFromDefaultWallet","referrerCode","isDemo","reviewerId","promises","initialiseDefaultWallet","fetchProfile","setTelegramReferralCode","refreshProfileData","redeemReferralCode","_currentReferrer$refe","_currentReferrer$serv","currentReferrer","setDirty","getReferralCode","generatedCode","fetchReferralCode","isNil","getTelegramLink","link","botUsername","encodeURIComponent","setNickname","_profileData$data$ref","_profileData$data$ref2","profileData","_window$Telegram","Telegram","WebApp","initDataUnsafe","start_param","_window$Telegram2","requestResult","_currentReferral$serv","_currentReferral$serv2","_currentReferral$serv3","currentReferral","updatedReferral","roomObservablesSubject","BehaviorSubject","hasGotRoomsSubject","hasMoreRoomsSubject","roomIdsSubject","pageSize","roomsMap","Set","roomObservables$","hasGotRooms$","hasMoreRooms$","roomIds$","roomObservable","getObservable","currentRooms","getValue","updateRoomIds","queryConstraints","fieldPath","directionStr","limit","lastRoomDocumentReference","queryFilters","opStr","getCollection","hasMore","newRooms","room","updatedRooms","hasRooms","roomCount","roomIds","from","roomObservables","roomUnsubscribes","roomPath","_this$roomObservables","Observable","observable","addDocListenerObservable","doc","snapshot","Room","getSignal","toSignal","removeListener","openApp","open","sdid","singularSdk","SingularCordovaSdk","eventWithArgs","setCustomUserId","login","unsetCustomUserId","logout","sdkKey","sdkSecret","singularConfig","SingularConfig","withAutoPersistentSingularDeviceId","withInitFinishedCallback","initParams","singularDeviceId","Moves","storage","Storage","storageReady","waitForStorage","depositsKey","Glow","rendererFactory","appRef","ApplicationRef","currentThemeSignal","currentTheme","renderer","createRenderer","applyTheme","iconSet","gameicon","blocksMultiplierPath","blackjackAssetPath","blocksAssetPath","solitaireAssetPath","imageUrl","appicon","operatorLogoUrl","wordmarkUrl","imagesFolder","confettiColors","buttonConfig","_config$get","button","primary","outline","shadow","gradient","iconPosition","textTransform","payDrawerConfig","_config$get2","_config$get3","_config$get4","_config$get5","_config$get6","hasGlow","payDrawer","hasGameIcon","closeButtonPosition","closeButtonSize","gameTitleConfig","_config$get7","gameTitle","hasOutlineGlow","capitalize","gameFontFamily","_config$get8","tabConfig","_config$get9","tab","style","spinnerConfig","_config$get10","spinner","isCustom","leaderboardConfig","_config$get11","iconLeft","iconFolder","_config$get12","_config$get13","hasCustomMedal","_config$get14","customMedal","isClosable","_config$get15","closable","hasBackgroundImg","_config$get16","hasHeaderWordmark","_config$get17","headerTextTransform","_config$get18","wagerCardVariant","_config$get19","_config$get20","_config$get$numberFor","_config$get21","numberFormatting","toLocaleString","removeThemes","addClass","tick","Object","values","forEach","removeClass","MCN","tiersSignal","isDirty","_tiers","tier","toastController","ToastController","isGoToMatchToastShown","show","copied","toast","GAME","duration","side","timeGap","currDate","futureDate","pastDate","MOCK_TOURNAMENTS","getNotStartedStatus","getLiveStatus","getJoinUntilStatus","getCollectingResultsStatus","getFinishedStatus","MOCK_LEADERBOARD_LIST","tournamentCardAPIIntervalDuration","tournamentCardTimerTextIntervalDuration","tournamentCardAPISub","tournamentCardTimerTextSub","tournamentCardAPISubject","tournamentCardTimerTextSubject","tournamentCardAPI$","tournamentCardTimerText$","startTournamentCardTimer","stopTournamentCardTimer","_this$tournamentCardA","_this$tournamentCardT","setTournamentId","resetTournamentId","getPublishedTournaments","getMockPublishedTournaments","getTournamentById","getMockTournamentById","x","getMiniLeaderboard","getMockMiniLeaderboard","getLeaderboardList","getMockLeaderboardList","startFrom","getLeaderboardEntry","getRoomTournaments","getMockRoomTournaments","calTopScorePlaceholder","suffix","getOrdinalSuffix","navigationChanged","SELECTED_LANGUAGE_KEY","LanguageType","English","French","German","PortugueseBrazil","Spanish","Russian","DefaultLanguage","languageCode","isoCode","fileCode","chosenLanguageSignal","supportedLanguages","regionVariant","foundLang","supportedLang","currentLanguage","selectedLanguage","preloadLanguage","browserLang","getBrowserLang","langName","supportedLanguage","cultureLang","getBrowserCultureLang","getAvailableLangs","availableLang","setActiveLang","_onboarded","PaymentCancelError","setPrototypeOf","PaymentRelinkError","MobileServices","MobileServicesWeb","checkType","t","trim","i","argument","defineProperties","defineProperty","enumerable","writable","Uint8Array","HEX","toJSON","BigInt","keys","k","assert","check","makeError","shortMessage","details","TypeError","RangeError","assign","assertArgument","_normalizeForms","reduce","accum","form","normalize","String","fromCharCode","assertPrivate","givenGuard","guard","className","operation","_checkPrivateRedeclaration","privateCollection","_classPrivateMethodInitSpec","privateSet","_classPrivateFieldInitSpec","privateMap","_classPrivateMethodGet","receiver","fn","_classExtractFieldDescriptor","action","_classPrivateFieldGet","_classApplyDescriptorGet","descriptor","_classPrivateFieldSet","_classApplyDescriptorSet","_getBytes","copy","offset","parseInt","substring","getBytes","getBytesCopy","isHexString","HexCharacters","hexlify","bytes","v","concat","datas","dataLength","zeroPadValue","zeroPad","left","buffer","fill","BN_0","BN_1","maxValue","fromTwos","_value","_width","getUint","width","getNumber","fault","mask","_bits","bits","getBigInt","Nibbles","toBeHex","toBeArray","hex","BN_N1","BN_5","_guard","Zeros","getTens","decimals","checkValue","val","format","safeOp","signed","getFormat","_format2","WeakMap","_val","_tens","_checkFormat","WeakSet","_checkValue","_add","_sub","_mul","_div","FixedNumber","_defineProperty","negative","addUnsafe","other","_add2","subUnsafe","_sub2","sub","mulUnsafe","_mul2","mul","mulSignal","_checkFormat2","_checkValue2","divUnsafe","_div2","div","divSignal","cmp","delta","eq","lt","lte","gt","gte","ceiling","round","bump","tens","isZero","isNegative","toUnsafeFloat","toFormat","fromString","fromValue","_decimals","_format","whole","decimal","fromBytes","toBigInt","o","names","anyGlobal","getGlobal","self","global","crypto","msCrypto","locked","_randomBytes","randomBytes","getRandomValues","crypto_random","__randomBytes","n","isSafeInteger","lengths","exists","instance","checkFinished","destroyed","out","outputLen","lock","register","func","freeze","U32_MASK64","_32n","fromBig","le","h","l","lst","Ah","Uint32Array","Al","globalThis","u8a","createView","arr","DataView","byteOffset","byteLength","rotr","word","toBytes","utf8ToBytes","TextEncoder","encode","Hash","clone","_cloneInto","wrapConstructor","hashCons","hashC","update","digest","tmp","blockLen","bytesLength","SHA3_PI","SHA3_ROTL","_SHA3_IOTA","_0n","_1n","_2n","_7n","_256n","_0x71n","R","y","j","SHA3_IOTA_H","SHA3_IOTA_L","rotlH","s","rotlBH","rotlSH","rotlL","rotlBL","rotlSL","Keccak","enableXOF","rounds","posOut","state32","keccak","keccakP","B","idx1","idx0","B0","B1","Th","Tl","curH","curL","PI","len","take","writeInto","bufferOut","subarray","xofInto","xof","digestInto","destroy","to","keccak_256","gen","_keccak256","__keccak256","keccak256","_data","BN_36","getChecksumAddress","address","chars","toLowerCase","expanded","hashed","ibanLookup","safeDigits","Base36","getAddress","ibanChecksum","c","block","checksum","fromBase36","SHA2","padOffset","isLE","view","process","dataView","roundClean","setBigUint64","_u32_max","wh","wl","setUint32","oview","outLen","res","Chi","Maj","SHA256_K","IV","SHA256_W","SHA256","A","C","D","E","F","G","H","getUint32","W15","W2","s0","s1","T1","T2","sha256","hexes","padStart","bytesToHex","hexToNumber","hexToBytes","hexByte","byte","isNaN","bytesToNumberBE","bytesToNumberLE","reverse","numberToBytesBE","numberToBytesLE","ensureBytes","expectedLength","concatBytes","arrays","r","sum","pad","bitMask","u8n","u8fr","createHmacDrbg","hashLen","qByteLen","hmacFn","reseed","seed","sl","genUntil","pred","validatorFns","bigint","function","stringOrUint8Array","field","Fp","isValid","hash","validateObject","validators","optValidators","checkField","fieldName","isOptional","checkVal","_3n","_4n","_5n","_8n","mod","num","power","modulo","pow2","invert","u","q","FIELD_FIELDS","nLength","nBitLength","_nBitLength","nByteLength","ceil","getFieldBytesLength","fieldOrder","bitLength","getMinHashLength","HMAC","_key","assertHash","iHash","oHash","buf","assertExists","assertBytes","getPrototypeOf","hmac","validateBasic","curve","validateField","ORDER","MASK","BYTES","BITS","Gx","Gy","b2n","h2b","ut","DER","Err","_parseInt","toSig","sBytes","rBytesLeft","hexFromSig","sig","shl","rhl","rl","weierstrass","curveDef","CURVE","validateOpts","opts","bits2int","bits2int_modN","lowS","CURVE_ORDER","compressedLen","uncompressedLen","modN","invN","ProjectivePoint","Point","normPrivateKeyToScalar","weierstrassEquation","isWithinCurveOrder","weierstrassPoints","validatePointOpts","allowedPrivateKeyLengths","wrapPrivateKey","isTorsionFree","clearCofactor","allowInfinityPoint","endo","eql","ZERO","beta","splitScalar","_c","point","_isCompressed","toAffine","tail","x2","sqr","x3","assertGE","pointPrecomputes","assertPrjPoint","px","py","pz","fromAffine","is0","ONE","normalizeZ","points","toInv","invertBatch","fromHex","P","assertValidity","fromPrivateKey","privateKey","BASE","multiply","_setWindowSize","windowSize","_WINDOW_SIZE","delete","right","hasEvenY","isOdd","equals","X1","Y1","Z1","X2","Y2","Z2","U1","U2","negate","neg","double","b3","X3","Y3","Z3","t0","t1","t2","t3","t4","t5","subtract","wNAF","wnaf","wNAFCached","comp","multiplyUnsafe","I","unsafeLadder","k1neg","k1","k2neg","k2","k1p","k2p","scalar","fake","f","f1p","f2p","constTimeNegate","multiplyAndAddUnsafe","Q","iz","inv","ax","ay","zz","cofactor","toRawBytes","isCompressed","toHex","condition","W","windows","elm","precomputeWindow","base","precomputes","maxNumber","shiftBy","wbits","offset1","offset2","abs","cond2","precomputesMap","cat","head","isValidFieldElement","y2","sqrt","numToNByteStr","isBiggerThanHalfOrder","slcNum","Signature","recovery","fromCompact","fromDER","addRecoveryBit","recoverPublicKey","msgHash","rec","radj","ir","u1","u2","hasHighS","normalizeS","toDERRawBytes","toDERHex","toCompactRawBytes","toCompactHex","utils","isValidPrivateKey","randomPrivateKey","mapHashToField","fieldLen","minLen","reduced","precompute","isProbPub","ORDER_MASK","int2octets","defaultSigOpts","prehash","defaultVerOpts","getPublicKey","getSharedSecret","privateA","publicB","sign","privKey","k2sig","prepSig","extraEntropy","ent","h1int","seedArgs","kBytes","ik","normS","verify","_Point$BASE$multiplyA","sg","_sig","derError","getHash","msgs","secp256k1P","secp256k1N","divNearest","Field","bitLen","redef","sqrtP","FpSqrt","p1div4","root","c1","n2","nv","tonelliShanks","legendreC","S","Z","Q1div2","g","ge","lhs","rhs","FpPow","sqrN","addN","subN","mulN","FpInvertBatch","nums","lastMultiplied","acc","inverted","reduceRight","cmov","sqrtMod","_6n","_11n","_22n","_23n","_44n","_88n","b2","b6","b9","b11","b22","b44","b88","b176","b220","b223","secp256k1","createCurve","defHash","a1","b1","a2","POW_2_128","c2","ZeroHash","BN_2","BN_27","BN_28","BN_35","toUint256","_r2","_s","_v2","_networkV","_Symbol$for","Symbol","for","networkV","legacyChainId","getChainId","yParity","yParityAndS","compactSerialized","serialized","_type","bv","getChainIdV","getNormalizedV","assertError","_r","_v","_privateKey","SigningKey","computePublicKey","compressedPublicKey","computeSharedSecret","pubKey","compressed","pub","secpSig","addPoints","p0","p1","pub0","pub1","ignoreFunc","reason","badCodepoint","toUtf8Bytes","assertNormalize","indexOf","pair","errorFunc","ignore","replaceFunc","padding","BN__1","BN_MAX_UINT256","hexTrue","hexFalse","domainFieldTypes","salt","domainFieldNames","checkString","domainChecks","toQuantity","isBytesLike","getBaseEncoder","boundsUpper","boundsLower","toTwos","hexPadRight","encodeType","fields","splitArray","prefix","_types2","_fullTypes","_encoderCache","_getEncoder","TypedDataEncoder","_types","links","parents","subtypes","uint","uniqueNames","baseType","primaryTypes","primaryType","checkCircular","found","child","subtype","st","getEncoder","encoder","_getEncoder2","encodeData","hashStruct","_visit","callback","visit","getPrimaryType","hashDomain","domainFields","resolveNames","resolveName","ensCache","getPayload","domainValues","domainTypes","typesWithDomain","subEncoder","encodedType","unshift","CoinbaseWalletPlatform","initPayments","coinbaseInit","coinbaseHasWallet","hasWallet","connect","requestAccountsAction","coinbaseAddress","coinbaseInitiateHandshake","actions","results","isRequestAccountsResult","handleCoinbaseError","authorizeTransfer","userAddress","amountUsd","parseUnits","unit","ethers","typedDataJson","validAfter","validBefore","nonce","signTypedDataV4Action","coinbaseMakeRequest","isSignTypedDataV4Result","verifyTypedData","recoverAddress","computeAddress","pubkey","typedError","WalletPaymentService","coinbaseWalletPlatform","isPolygonWallet","paymentPlatform","PaymentPlatform","CoinbaseWalletMobileSdk","hasWalletInstalled","TranslocoHttpLoader","http","analytics","lang","TranslocoCustomTranspiler","defaultTranspiler","DefaultTranspiler","transpile","TranslocoRootModule","provideTransloco","availableLangs","defaultLang","fallbackLang","missingHandler","useFallbackTranslation","reRenderOnLangChange","prodMode","production","loader","provideTranslocoTranspiler","imports","TranslocoModule","ctx_r0","iconForGlobalRank","colorForGlobalRank","$event","_r6","ctx_r5","onGameChange","ctx_r2","currentGame","gameOptions","stat_r8","PlayerStatsDrawerComponent_div_14_div_1_app_currency_icon_8_Template","PlayerStatsDrawerComponent_div_14_div_1_Template","ctx_r3","PlayerStatsDrawerComponent","modalController","ModalController","playerStatsService","nickName","unlockedGlobalRank","Blackjack","ngOnInit","subtitle","updateUserGameStatsData","selectedId","onCloseClick","updatePills","_this$userStats$activ","_this$userStats$compl","_this$userStats$compl2","_this$userStats$wonRo","_this$userStats$wonRo2","pillsDetails","userStats","updateStatsList","_this$userStats","_this$userStats2","_this$userStats3","_this$userStats4","_this$userStats5","_this$userStats6","_this$userStats7","_this$userStats8","_this$userStats9","_this$userStats10","_this$userStats11","_this$userStats12","_this$userStats13","_this$userStats14","_this$userStats15","_this$userStats16","selectors","inputs","decls","vars","consts","template","rf","ctx","PlayerStatsDrawerComponent_app_icon_7_Template","PlayerStatsDrawerComponent_app_pill_11_Template","PlayerStatsDrawerComponent_div_13_Template","PlayerStatsDrawerComponent_div_14_Template","CurrentlySupportedGames","RoomError","ThrowIfNull","model","isProcessing","RoomStatus","Processing","Cancelled","Lose","Lost","Won","InProgress","hasOpponent","isExpired","isRoundNotStarted","isStartRoundDeadlineExpired","Start","isRoundFinished","isRoundDeadlineExpired","Finish","hasOpponentStarted","hasOpponentRoundExpired","hasOpponentNotStarted","isRoundStarted","OpponentToStart","OpponentToFinish","hasOpponentFinished","_this$model$opponent","_this$model$opponent2","_this$model$roundDead","_this$model$opponent3","_this$model$opponent4","_this$model$opponent5","_this$model$opponent6","isNullOrUndefined","currentTime","isInProgress","_this$model$opponent7","processingBuffer","NotStarted","Started","Finished","_this$model$opponent8","_this$model$opponent9","_this$model$opponent10","_this$model$opponent11","_this$model$bounty","bountyJackpot","_this$model$bounty2","SAT","formattedEntryFee","isMatch","formattedFee","isWon","isLost","isDraw","isCancelled","_this$model$roundDead2","_this$model$opponent12","_this$model$opponent13","_this$model$opponent14","_this$model$opponent15","isFinished","statusColor","amountAscii","formattedStatusAmount","statusText","_map$this$status","opponentParams","translationData","resultStatus","RoomResultStatus","InPlay","Result","Game","_currencyPipe$transfo","BTC","isDefaultLightningWallet","isDefaultPolygonWallet","Blink","Pouch","SpeedWallet","Strike","CoinbaseWallet","WalletConnect","LightningAddress","WalletPay","Native","Extension","Polygon","SupportedPlatforms","Web","WebMobile","WalletsConfig","iconImg","website","androidUrlScheme","iosUrlScheme","manualAddressInput","supportedPlatforms","lnAddressDomain","walletConnect","walletPay","androidLnurlScheme","iosLnurlScheme","universalLink","ASSET_PATH","imagesPath","isLightningWallet","nativeURLScheme","wordMarkUrl","wordMarkImg","LightningWallet","PolygonWallet","allForPlatform","requestedPlatform","wallets","getWallet","endsWith","components","regex","PRACTICE_GAME","FAQ","DEMO_SIGNIN","RESULTS","EXPIRED","UNAVAILABLE","TERMS","PRIVACY","UPDATE_REQUIRED","OPEN_WALLET","TOURNAMENT","MATCH_OPTIONS","OPERATOR","GEO_LOCATION_CHECK","SELECT_RULES","GAME_RULES","REFERRAL","REFERRAL_TERMS","CHOOSE_LEADERBOARDS","LOG","TELEGRAM_ONBOARD","DEBUG_GAME","LOCAL_GAME","STATISTICS","Expired","Countdown","updateCallback","milliseconds","currentDate","_this$subscription","timeDifference","totalSeconds","subscription","secondsPassed","ended","_this$subscription2","_this$subscription3","asTimeLeft","remainingSeconds","hours","minutes","seconds","asDate","unixTime","date","getMonth","getFullYear","getHours","getMinutes","filterNonAlphanumericExSpaces","filterNonAlphanumeric","FirebaseFirestore","FirebaseFirestoreWeb","addDocumentSnapshotListener","callbackId","removeSnapshotListener","_x4","_removeListener","_x5","_x6","_x7","_getCollection","compositeFilter","snapshots","setPromise","setup","resolveCallback","rejectCallback","promise","rankPercentage","days","getDateString","isWholeNumber","buttonBgColor","_c0","size","layout","formattedAmount","BountyPillComponent","disabled","formattedValue","BountyPillComponent_button_0_Template","ButtonComponent_ng_container_1_ng_container_2_Template","_r3","ctx_r1","ButtonComponent_ng_container_3_ng_container_2_Template","ctx_r8","ButtonComponent_ng_template_4_app_icon_0_Template","ctx_r4","ButtonComponent","clickEvent","EventEmitter","hasOutline","iconPos","_this$iconPosition","backgroundStyle","onClick","emit","outputs","ButtonComponent_ng_container_1_Template","ButtonComponent_span_2_Template","ButtonComponent_ng_container_3_Template","ButtonComponent_ng_template_4_Template","ButtonComponent_ion_spinner_6_Template","_c1","CurrencyIconComponent","sizeCss","src","color","ngOnChanges","_changes","updateSrc","updateStyle","features","_r7","ctx_r6","onOutsideClick","item_r4","$implicit","onItemClick","DropDownButtonComponent_ul_7_li_1_app_icon_3_Template","DropDownButtonComponent_ul_7_li_1_Template","DropDownButtonComponent","selectedValue","selectedItem","elementRef","selectionChange","hasShadow","isOpen","isSelected","toggleMenu","adjustMenuPosition","menu","querySelector","buttonRect","dropDownButton","nativeElement","getBoundingClientRect","containerRect","dropDownContainer","viewportHeight","innerHeight","viewportWidth","innerWidth","menuHeight","offsetHeight","menuWidth","offsetWidth","height","bottom","contains","viewQuery","DropDownButtonComponent_ul_7_Template","_c2","_c3","GameIconComponent","background","gradientStyle","gradients","solitaire","blocks","blackjack","changes","game","updateIcon","GameTitleComponent","glowClass","IconComponent","slot","divStyle","updateDivStyle","iconPath","NavButtonComponent_span_1_app_icon_1_Template","NavButtonComponent","hideBackground","NavButtonComponent_span_1_Template","PillComponent","PillTabButtonComponent","TabButtonComponent","preventDefault","stopPropagation","_r9","i_r3","ctx_r7","onTabClick","tab_r2","selectedTabIndex","_r13","ctx_r11","TabBarComponent_ng_container_1_ng_container_1_Template","TabBarComponent_ng_container_1_ng_template_2_Template","buttonType","_r5","underlineTransform","underlineWidth","underlineStyle","circleRadius","shouldAnimate","TabBarComponent","tabs","tabSelected","changeDetection","ChangeDetectorRef","updateUnderline","tabElements","querySelectorAll","el","classList","selectedElement","offsetLeft","markForCheck","TabBarComponent_ng_container_1_Template","TabBarComponent_div_2_Template","UIModule","CommonModule","QRCodeModule","firebase","env","firebaseClientConfig","telegramBotApi","chatKey","walletOpenUri","assertNever","createDimensionsMap","enumType","dimensionMappingFn","timedEventsToMeasurements","events","measurements","attributes","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE","parseUrl","fragment","host","protocol","search","relative","WINDOW","GLOBAL_OBJ","DEBUG_BUILD","__SENTRY_DEBUG__","bindReporter","metric","thresholds","reportAllChanges","prevValue","forceReport","rating","getRating","getNavigationEntry","checkResponseStart","navigationEntry","performance","getEntriesByType","responseStart","getActivationStart","navEntry","activationStart","initMetric","navigationType","prerendering","wasDiscarded","random","observe","PerformanceObserver","supportedEntryTypes","po","list","getEntries","buffered","onHidden","cb","onHiddenOrPageHide","visibilityState","runOnce","called","firstHiddenTime","onVisibilityUpdate","timeStamp","removeChangeListeners","removeEventListener","getVisibilityWatcher","Infinity","whenActivated","FCPThresholds","CLSThresholds","onCLS","onReport","onFCP","visibilityWatcher","report","entry","disconnect","startTime","sessionValue","sessionEntries","handleEntries","hadRecentInput","firstSessionEntry","lastSessionEntry","takeRecords","FIDThresholds","onFID","handleEntry","processingStart","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","interactionId","longestInteractionList","longestInteractionMap","entryPreProcessingCallbacks","processInteractionEntry","entryType","minLongestInteraction","existingInteraction","latency","interaction","whenIdle","rIC","requestIdleCallback","INPThresholds","onINP","PerformanceEventTiming","durationThreshold","inp","estimateP98LongestInteraction","candidateInteractionIndex","interactionCount","LCPThresholds","reportedMetricIDs","onLCP","stopListening","once","capture","TTFBThresholds","whenReady","readyState","onTTFB","handlers","instrumented","_previousCls","_previousFid","_previousLcp","_previousTtfb","_previousInp","addClsInstrumentationHandler","stopOnCallback","addMetricObserver","instrumentCls","addPerformanceInstrumentationHandler","addHandler","instrumentPerformanceObserver","triggerHandlers","getCleanupCallback","typeHandlers","getFunctionName","instrumentFid","instrumentLcp","instrumentTtfb","instrumentInp","instrumentFn","previousValue","parseSampleRate","sampleRate","rate","SentryNonRecordingSpan","spanContext","_traceId","traceId","uuid4","_spanId","spanId","traceFlags","TRACE_FLAG_NONE","end","_timestamp","setAttribute","setAttributes","_values","setStatus","_status","updateName","_name","isRecording","addEvent","_attributesOrStartTime","_startTime","addLink","_link","addLinks","_links","_exception","_time","DSN_REGEX","dsnToString","dsn","withPassword","pass","port","projectId","dsnFromComponents","makeDsn","dsnFromString","exec","consoleSandbox","lastPath","projectMatch","validateDsn","component","isValidProtocol","createEnvelope","addItemToEnvelope","envelope","newItem","forEachEnvelopeItem","envelopeItems","envelopeItem","encodeUTF8","input","__SENTRY__","encodePolyfill","serializeEnvelope","envHeaders","parts","append","itemHeaders","payload","stringifiedPayload","concatBuffers","buffers","totalLength","merged","createSpanEnvelopeItem","spanJson","createAttachmentEnvelopeItem","attachment","dropUndefinedKeys","filename","content_type","contentType","attachment_type","attachmentType","ITEM_TYPE_TO_DATA_CATEGORY_MAP","session","sessions","transaction","client_report","user_report","profile_chunk","replay_event","replay_recording","check_in","feedback","span","statsd","envelopeItemTypeToDataCategory","getSdkMetadataForEnvelopeHeader","metadataOrEvent","sdk","SCOPE_ON_START_SPAN_FIELD","ISOLATION_SCOPE_ON_START_SPAN_FIELD","getCapturedScopesOnSpan","scope","isolationScope","SentrySpan","startTimestamp","timestampInSeconds","_attributes","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","SEMANTIC_ATTRIBUTE_SENTRY_OP","op","parentSpanId","_parentSpanId","_sampled","sampled","endTimestamp","_endTime","_events","_isStandaloneSpan","isStandalone","_onSpanEnded","TRACE_FLAG_SAMPLED","updateStartTime","timeInput","spanTimeInputToSeconds","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","logSpanEnd","description","spanToJSON","isRootSpan","getRootSpan","getSpanJSON","parent_span_id","span_id","start_timestamp","getStatusMessage","trace_id","_metrics_summary","getMetricSummaryJsonForSpan","profile_id","SEMANTIC_ATTRIBUTE_PROFILE_ID","exclusive_time","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME","is_segment","segment_id","attributesOrStartTime","isSpanTimeInput","isStandaloneSpan","client","getClient","sendSpanEnvelope","spanItems","sendEnvelope","recordDroppedEvent","createSpanEnvelope","spans","dsc","getDynamicSamplingContextFromSpan","getDsn","tunnel","sent_at","toISOString","dscHasRequiredProps","public_key","trace","beforeSendSpan","convertToSpanJSON","showSpanDropWarning","transactionEvent","_convertSpanToTransaction","getCurrentScope","captureEvent","isFullFinishedSpan","capturedSpanScope","capturedSpanIsolationScope","getSpanDescendants","contexts","spanToTransactionTraceContext","sdkProcessingMetadata","dynamicSamplingContext","transaction_info","SUPPRESS_TRACING_KEY","startInactiveSpan","acs","getAcs","spanArguments","parseSentrySpanArguments","initialCtx","experimental","standalone","forceTransaction","parentSpan","customParentSpan","withScope","withActiveSpan","getParentSpan","_getSpanForScope","parentSpanIsAlwaysRootSpan","onlyIfParent","createChildOrRootSpan","hasTracingEnabled","getIsolationScope","_startChildSpan","getScopeData","spanIsSampled","childSpan","addChildSpanToSpan","parentSampled","_startRootSpan","freezeDscOnSpan","getPropagationContext","logSpanStart","rootSpan","infoParts","setCapturedScopesOnSpan","addNonEnumerableProperty","_setSpanForScope","carrier","getMainCarrier","getAsyncContextStrategy","sampleSpan","samplingContext","tracesSampler","tracesSampleRate","parsedSampleRate","transactionContext","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","isMeasurementValue","isFinite","startAndEndSpan","startTimeInSeconds","endTime","parentStartTime","startStandaloneWebVitalSpan","passedAttributes","release","replay","getIntegrationByName","replayId","getReplayId","getUser","userDisplay","ip_address","profileId","replay_id","navigator","userAgent","getBrowserPerformanceAPI","msToSec","MAX_INT_AS_BYTES","_lcpEntry","_clsEntry","_performanceCursor","_measurements","startTrackingWebVitals","recordClsStandaloneSpans","browserPerformanceTimeOrigin","mark","fidCleanupCallback","_trackFID","addFidInstrumentationHandler","timeOrigin","fid","lcpCleanupCallback","_trackLCP","addLcpInstrumentationHandler","lcp","ttfbCleanupCallback","_trackTtfb","addTtfbInstrumentationHandler","ttfb","clsCleanupCallback","trackClsAsStandaloneSpan","standaloneClsEntry","pageloadSpanId","standaloneCLsValue","supportsLayoutShift","sentSpan","_collectClsOnce","sendStandaloneClsSpan","clsValue","routeName","transactionName","htmlTreeAsString","sources","node","cleanupClsHandler","unsubscribeStartNavigation","on","activeSpan","getActiveSpan","spanJSON","_trackCLS","cls","_addPerformanceNavigationTiming","eventEnd","setResourceEntrySizeData","dataKey","entryVal","LAST_INTERACTIONS","INTERACTIONS_SPAN_MAP","INP_ENTRY_MAP","click","pointerdown","pointerup","mousedown","mouseup","touchstart","touchend","mouseover","mouseout","mouseenter","mouseleave","pointerover","pointerout","pointerenter","pointerleave","dragstart","dragend","drag","dragenter","dragleave","dragover","drop","keydown","keyup","keypress","maybeInstrument","lastHref","addHistoryInstrumentationHandler","instrumentHistory","supportsHistory","chromeVar","chrome","app","runtime","history","pushState","replaceState","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","args","href","TRACING_DEFAULTS","idleTimeout","finalTimeout","childSpanTimeout","startIdleSpan","startSpanOptions","_idleTimeoutID","_finished","_finishReason","_autoFinishAllowed","disableAutoFinish","_cleanupHooks","beforeSpanEnd","previousActiveSpan","_startIdleSpan","_cancelIdleTimeout","_restartIdleTimeout","_restartChildSpanTimeout","onIdleSpanEnded","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON","childSpans","discardedSpans","SPAN_STATUS_ERROR","childSpanJSON","childEndTimestamp","childStartTimestamp","spanStartedBeforeIdleSpanEnd","spanEndedBeforeFinalTimeout","stringifiedSpan","removeChildSpanFromSpan","Proxy","thisArg","definedEndTimestamp","rest","spanEndTimestamp","Reflect","childEndTimestamps","latestSpanEndTimestamp","spanStartTimestamp","startedSpan","_pushActivity","endedSpan","_popActivity","spanToAllowAutoFinish","_oldOnErrorHandler","addGlobalErrorInstrumentationHandler","instrumentError","onerror","line","column","__SENTRY_LOADER__","__SENTRY_INSTRUMENTED__","_oldOnUnhandledRejectionHandler","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","onunhandledrejection","errorsInstrumented","errorCallback","tag","ignoreOnError","shouldIgnoreOnError","wrap","isFunction","wrapper","__sentry_wrapped__","getOriginalFunction","sentryWrapped","wrappedArguments","arg","ex","ignoreNextOnError","addEventProcessor","mechanism","addExceptionTypeValue","addExceptionMechanism","property","hasOwnProperty","markFunctionWrapped","getOwnPropertyDescriptor","configurable","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","XMLHttpRequest","xhrproto","originalOpen","xhrOpenThisArg","xhrOpenArgArray","isString","request_headers","__sentry_own_request__","onreadystatechangeHandler","xhrInfo","status_code","xhr","onreadystatechange","originalOnreadystatechange","onreadystatechangeThisArg","onreadystatechangeArgArray","setRequestHeader","originalSetRequestHeader","setRequestHeaderThisArg","setRequestHeaderArgArray","send","originalSend","sendThisArg","sendArgArray","sentryXhrData","supportsFetch","Headers","Request","Response","isNativeFunction","test","addFetchInstrumentationHandler","skipNativeFetchCheck","instrumentFetch","onFetchResolved","supportsNativeFetch","EdgeRuntime","createElement","appendChild","contentWindow","removeChild","originalFetch","parseFetchArgs","fetchArgs","getUrlFromResource","hasProp","handlerData","fetchData","virtualStackTrace","isError","_resolveResponse","onFinishedResolving","responseReader","getReader","maxFetchDurationTimeout","readingActive","chunkTimeout","done","read","releaseLock","streamHandler","clonedResponseForResolving","resolveResponse","_x2","_x3","prop","resource","getTraceData","isEnabled","sentryTrace","spanToTraceHeader","scopeToTraceHeader","generateSentryTraceHeader","getDynamicSamplingContextFromScope","baggage","dynamicSamplingContextToSentryBaggageHeader","TRACEPARENT_REGEXP","instrumentFetchRequest","shouldCreateSpan","shouldAttachHeaders","spanOrigin","shouldCreateSpanResult","__span","endSpan","setHttpStatus","contentLength","contentLengthNum","fullUrl","getFullURL","URL","hasParent","_addTracingHeadersToFetchRequest","fetchOptionsObj","traceHeaders","isRequest","isInstanceOf","isHeaders","newHeaders","prevBaggageHeader","prevHeaderStrippedFromSentryBaggage","stripBaggageHeaderOfSentryBaggageValues","headerName","headerValue","existingBaggageHeader","newBaggageHeaders","headerItem","baggageHeader","baggageEntry","SENTRY_BAGGAGE_KEY_PREFIX","responseToSpanId","spanIdToEndTimestamp","defaultRequestInstrumentationOptions","traceFetch","traceXHR","enableHTTPTimings","trackFetchStreamPerformance","addHTTPTimings","isPerformanceResourceTiming","nextHopProtocol","initiatorType","resourceTimingEntryToSpanData","resourceTiming","extractNetworkProtocol","char","timingSpanData","getAbsoluteTime","redirectStart","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseEnd","DEFAULT_BROWSER_TRACING_OPTIONS","instrumentNavigation","instrumentPageLoad","markBackgroundSpan","enableLongTask","enableLongAnimationFrame","enableInp","_experiments","startBrowserTracingNavigationSpan","spanOptions","setPropagationContext","generateTraceId","setTransactionName","getMetaContent","metaName","metaTag","getDomElement","getAttribute","installedIntegrations","getIntegrationsToSetup","defaultIntegrations","userIntegrations","integrations","integration","isDefaultInstance","resolvedUserIntegrations","finalIntegrations","filterDuplicates","integrationsByName","currentInstance","existingInstance","debugIndex","findIndex","debugInstance","afterSetupIntegrations","afterAllSetup","setupIntegration","integrationIndex","setupOnce","preprocessEvent","hint","processEvent","processor","DEFAULT_IGNORE_ERRORS","inboundFiltersIntegration","_inboundFiltersIntegration","_hint","clientOptions","mergedOptions","_mergeOptions","internalOptions","allowUrls","denyUrls","ignoreErrors","disableErrorDefaults","ignoreTransactions","ignoreInternal","_shouldDropEvent","_isSentryError","exception","getEventDescription","_isIgnoredError","_getPossibleEventMessages","possibleMessages","lastException","stringMatchesSomePattern","_isUselessError","_isIgnoredTransaction","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","frames","_getLastValidUrl","originalFunctionToString","SETUP_CLIENTS","functionToStringIntegration","_functionToStringIntegration","Function","originalFunction","dedupeIntegration","_dedupeIntegration","previousEvent","currentEvent","_isSameMessageEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameExceptionEvent","previousException","_getExceptionFromEvent","currentException","currentFrames","getFramesFromEvent","previousFrames","frameA","frameB","lineno","colno","currentFingerprint","fingerprint","previousFingerprint","getBaseApiEndpoint","SentryError","logLevel","ALREADY_SEEN_ERROR","BaseClient","_options","_integrations","_numProcessing","_outcomes","_hooks","_eventProcessors","_dsn","getEnvelopeEndpointWithUrlEncodedAuth","sdkInfo","_getIngestEndpoint","_encodedAuth","sentry_version","sentry_key","sentry_client","_metadata","_transport","transport","transportOptions","undefinedOption","option","eventId","checkOrSetAlreadyCaught","hintWithEventId","event_id","_process","eventFromException","_captureEvent","captureMessage","currentScope","eventMessage","isParameterizedString","promisedEvent","isPrimitive","eventFromMessage","originalException","captureSession","sendSession","updateSession","getSdkMetadata","getTransport","flush","_isClientDoneProcessing","clientFinished","transportFlushed","resolvedSyncPromise","close","getEventProcessors","eventProcessor","_isEnabled","_setupIntegrations","integrationName","addIntegration","isAlreadyInstalled","sendEvent","createEventEnvelope","metadata","eventType","enhanceEventWithSdkInfo","packages","envelopeHeaders","createEventEnvelopeHeaders","attachments","sendResponse","createSessionEnvelope","eventOrCount","sendClientReports","hook","hooks","cbIndex","callbacks","setupIntegrations","_updateSessionFromEvent","crashed","errored","exceptions","sessionNonTerminal","SyncPromise","ticked","setInterval","clearInterval","_prepareEvent","setLastEventId","prepareEvent","evt","getTraceContextFromScope","_processEvent","finalEvent","sentryError","isTransaction","isTransactionEvent","isErrorEvent","beforeSendLabel","rejectedSyncPromise","dataCategory","prepared","__sentry__","processBeforeSend","beforeSend","beforeSendTransaction","processedSpans","processedSpan","spanCountBeforeProcessing","_validateBeforeSendResult","beforeSendResult","invalidValueError","isThenable","isPlainObject","processedEvent","getSession","droppedSpanCount","transactionInfo","_clearOutcomes","outcomes","quantity","_flushOutcomes","createClientReportEnvelope","discarded_events","dateTimestampInSeconds","applySdkMetadata","SDK_VERSION","exceptionFromError","stackParser","parseStackFrames","extractType","extractMessage","eventFromError","skipLines","getSkipFirstStackStringLines","reactMinifiedRegexp","framesToPop","getPopFirstTopFrames","isWebAssemblyException","WebAssembly","Exception","eventFromUnknownInput","syntheticException","attachStacktrace","isUnhandledRejection","isDOMError","isDOMException","domException","eventFromString","tags","isEvent","eventFromPlainObject","normalizeDepth","errorFromProp","getErrorPropertyFromObject","__serialized__","normalizeToSize","getNonErrorObjectExceptionValue","synthetic","__sentry_template_string__","__sentry_template_values__","logentry","extractExceptionKeysForMessage","captureType","getObjectClassName","BrowserClient","SENTRY_SDK_SOURCE","captureUserFeedback","createUserFeedbackEnvelope","createUserFeedbackEnvelopeItem","DEBOUNCE_DURATION","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","targetObj","proto","originalAddEventListener","listener","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","globalListener","_sentryCaptured","getEventTarget","shouldSkipDOMEvent","tagName","isContentEditable","_sentryId","isSimilarToLastCapturedEvent","instrumentConsole","worldwide","CONSOLE_LEVELS","originalConsoleMethod","originalConsoleMethods","severityLevelFromString","getBreadcrumbLogLevelFromHttpStatusCode","statusCode","breadcrumbsIntegration","_breadcrumbsIntegration","dom","sentry","addConsoleInstrumentationHandler","_getConsoleBreadcrumbHandler","breadcrumb","safeJoin","addClickKeypressInstrumentationHandler","_getDomBreadcrumbHandler","componentName","keyAttrs","serializeAttribute","maxStringLength","element","_isEvent","getComponentName","_getXhrBreadcrumbHandler","_getFetchBreadcrumbHandler","_getHistoryBreadcrumbHandler","parsedLoc","parsedFrom","parsedTo","_getSentryBreadcrumbHandler","DEFAULT_EVENT_TARGET","browserApiErrorsIntegration","_browserApiErrorsIntegration","eventTarget","requestAnimationFrame","_wrapTimeFunction","_wrapRAF","helpers_WINDOW","_wrapXHR","eventTargetOption","_wrapEventTarget","original","xmlHttpRequestProps","wrapOptions","isEventListenerObject","handleEvent","originalEventHandler","globalHandlersIntegration","_globalHandlersIntegration","stackTraceLimit","_installGlobalOnErrorHandler","_enhanceEventWithInitialFrame","ev","ev0","ev0s","ev0sf","getLocationHref","UNKNOWN_FUNCTION","in_app","globalHandlerLog","_installGlobalOnUnhandledRejectionHandler","_getUnhandledRejectionError","detail","_eventFromRejectionWithPrimitive","httpContextIntegration","Referer","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","parser","maxValueLimit","truncateAggregateExceptions","maxValueLength","truncate","aggregateExceptionsFromError","prevExceptions","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","is_exception_group","exception_id","parentId","parent_id","linkedErrorsIntegration","_linkedErrorsIntegration","createFrame","chromeRegexNoFnName","chromeRegex","chromeEvalRegex","geckoREgex","geckoEvalRegex","defaultStackParser","createStackParser","noFnParts","col","subMatch","extractSafariExtensionDetails","isSafariExtension","isSafariWebExtension","cachedImplementations","clearCachedImplementation","makePromiseBuffer","$","taskProducer","isReady","drain","counter","capturedSetTimeout","DEFAULT_RETRY_AFTER","DEFAULT_TRANSPORT_BUFFER_SIZE","createTransport","bufferSize","rateLimits","filteredEnvelopeItems","isRateLimited","limits","disabledUntil","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","requestTask","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","categories","namespaces","headerDelay","parseRetryAfterHeader","headerDate","makeFetchTransport","nativeFetch","getNativeImplementation","cached","impl","pendingBodySize","pendingCount","requestSize","requestOptions","referrerPolicy","keepalive","fetchOptions","browserOptions","applyDefaultOptions","optionsArg","defaultOptions","__SENTRY_RELEASE__","SENTRY_RELEASE","autoSessionTracking","skipBrowserExtensionCheck","shouldShowBrowserExtensionError","windowWithMaybeExtension","extensionObject","runtimeId","isDedicatedExtensionPage","nw","stackParserFromStackParserOptions","initAndBind","clientClass","debug","enable","initialScope","setCurrentClient","setClient","startSessionTracking","startSession","ignoreDuration","showReportDialog","lastEventId","script","async","crossOrigin","getReportDialogEndpoint","dsnLike","dialogOptions","encodedOptions","onLoad","onload","onClose","reportDialogClosedMessageHandler","injectionPoint","iOSParameters","enableAppHangTracking","appHangTimeoutInterval","SentryCapacitor","KEY","convertToNormalizedObject","_a","normalized","normalizeMaxBreadth","th","units","codePoint","leadSurrogate","NATIVE","enableNative","_DisabledNativeError","isNativeClientAvailable","_NativeClientError","envelopeHeader","envelopeBytes","rawItem","itemHeader","itemPayload","_processItem","bytesContentType","bytesPayload","serializedItemHeader","transportStatusCode","captureEnvelope","failed","initNativeSdk","enableNativeNagger","filteredOptions","FilterNativeOptions","attachThreads","dist","enableNdkScopeSync","enableWatchdogTerminationTracking","enableTracing","maxBreadcrumbs","sendDefaultPii","sessionTrackingIntervalMillis","enableCaptureFailedRequests","fetchNativeDeviceContexts","fetchNativeRelease","fetchNativeSdkInfo","crash","defaultUserKeys","otherUserKeys","username","otherKeys","_serializeObject","setTag","stringifiedValue","setExtra","_processLevel","clearBreadcrumbs","closeNativeSdk","setContext","_processLevels","breadcrumbs","isModuleLoaded","isPluginAvailable","nativeRelease","splitPathRe","resolvedPath","resolvedAbsolute","charAt","normalizeArray","allowAboveRoot","up","last","rewriteFramesIntegration","iteratee","generateIteratee","isBrowser","isWindowsFrame","startsWithSlash","oldFilename","fromParts","toParts","samePartsLength","outputParts","basename","ext","splitPath","truncated","_processStacktrace","originalEvent","_processExceptionsEvent","CAP_GLOBAL_OBJ","rewriteFramesIteratee","isReachableHost","serverUrl","getCurrentServerUrl","WEBVIEW_SERVER_URL","SDK_NAME","NativeSdkPackage","fillTyped","replacement","syncedToNativeMap","enableSyncToNative","extras","mergedBreadcrumb","finalBreadcrumb","getLastBreadcrumb","NativeTransport","_buffer","makeNativeTransport","safeFactory","danger","loggerMessage","IS_DEBUG_BUILD","isNgZoneEnabled","Zone","runOutsideAngular","isErrorOrErrorLikeObject","candidate","SentryErrorHandler","logErrors","_removeAfterSendEventListener","extractedError","_extractError","showDialog","extractor","defaultExtractor","_defaultExtractor","errorCandidate","tryToUnwrapZonejsError","ngOriginalError","extractHttpModuleError","ErrorEvent","ɵprov","createErrorHandler","TraceService","_router","navStart$","NavigationStart","tap","navigationEvent","resEnd$","ResolveEnd","route","getParameterizedRouteFromSnapshot","currentRoute","firstChild","routeConfig","fullPath","_updateSpanAttributesForParametrizedUrl","navEnd$","NavigationEnd","NavigationCancel","NavigationError","_routingSpan","_pageloadOngoing","_subscription","Subscription","_isPageloadOngoing","StorageConfigToken","InjectionToken","NoopStorage","defineDriver","driver","iteratorCallback","setEncryptionKey","provideStorage","platformId","storageConfig","isPlatformServer","IonicStorageModule","forRoot","ngModule","provide","useValue","useFactory","deps","PLATFORM_ID","ɵmod","ɵinj","FirebaseMessaging","FirebaseMessagingWeb","PushMessagingService","receive","getToken","App","AppWeb","_r8","onCloseClicked","ctx_r9","NavbarComponent_div_2_app_game_icon_1_Template","_r11","ctx_r10","onThemeClicked","ctx_r12","onTabSelected","NavbarComponent","closeClicked","themeClicked","NavbarComponent_app_nav_button_1_Template","NavbarComponent_div_2_Template","NavbarComponent_div_3_Template","NavbarComponent_ion_spinner_7_Template","NavbarComponent_app_currency_icon_8_Template","NavbarComponent_app_nav_button_9_Template","NavbarComponent_app_tab_bar_10_Template","TimeFormatPipe","formatTimeUnit","pure","t_r1","formattedTournamentCountdown","getBountyAmount","GameScoreComponent_div_0_div_2_div_16_span_1_Template","GameScoreComponent_div_0_div_2_div_16_span_2_Template","isEnded","GameScoreComponent_div_0_div_2_div_1_Template","_r14","ctx_r13","onOpponentClicked","ctx_r15","ctx_r16","GameScoreComponent_div_0_div_2_app_icon_8_Template","GameScoreComponent_div_0_div_2_app_currency_icon_13_Template","GameScoreComponent_div_0_div_2_app_bounty_pill_14_Template","GameScoreComponent_div_0_div_2_div_15_Template","GameScoreComponent_div_0_div_2_div_16_Template","_r18","ctx_r17","onBackClicked","GameScoreComponent_div_0_div_2_Template","GameScoreComponent","opponentClicked","backClicked","GameScoreComponent_div_0_Template","gameScoreService","AppHeaderComponent","showGameScore","showNavbar","currentUrl","updateShowGameScore","updateShowNavbar","_this$currentUrl","_this$operatorService","tabId","openModal","isMobile","componentProps","initialBreakpoint","breakpoints","AppHeaderComponent_div_0_Template","AppHeaderComponent_div_1_Template","onThemeCloseClick","onHeaderCloseClicked","onHeaderThemeClicked","onHeaderTabSelected","AppComponent_ion_app_0_ng_template_9_Template","backgroundImage","canDismiss","_r17","openAppDownloadClick","ctx_r18","closeDownloadBannerClick","t_r15","AppComponent_ion_app_1_ion_toolbar_1_ion_grid_1_Template","_r34","ctx_r33","sideMenuPlayClick","t_r19","_r37","ctx_r36","clinchesClick","ctx_r21","_r40","ctx_r39","leaderboardsClick","ctx_r22","_r43","ctx_r42","chatClick","_r46","ctx_r45","profileClick","ctx_r24","_r49","ctx_r48","rulesClick","ctx_r25","_r52","ctx_r51","referralClick","ctx_r26","_r55","ctx_r54","downloadAppClick","_r59","ctx_r58","statsClick","ctx_r29","_r62","ctx_r61","sideMenuInviteClick","_r65","ctx_r64","ctx_r66","logoutClick","_r69","ctx_r68","privacyClick","ctx_r70","termsClick","ctx_r71","faqClick","ctx_r32","_r74","ctx_r73","menuOpened","ctx_r75","menuClosed","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_10_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_11_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_12_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_13_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_14_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_15_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_16_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_17_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_18_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_19_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_22_Template","AppComponent_ion_app_1_ion_content_3_ion_menu_toggle_23_Template","AppComponent_ion_app_1_ion_content_3_ion_grid_24_Template","showSidebar","showLeaderboards","customisationService","showReferrals","AppComponent_ion_app_1_ion_toolbar_1_Template","_r77","ctx_r76","ctx_r78","ctx_r79","AppComponent_ion_app_1_ion_content_3_Template","_c4","isDownloadBannerVisible","HIDE_DOWNLOAD_BANNER_KEY","AppComponent","auth","pushMessagingService","localMessagingService","popupCampaignService","bootupService","activityFeedService","walletPaymentService","mobileMode","menuOpen","canHideDownloadApp","showActivityFeed","initializeFirebase","updateMobileMode","_ref2","navigationTrigger","previousUrl","_ref3","isLoggedIn","canHideDownloadBanner","canShowSidebar","supportsWebGL","isWebGlAvailable","canvas","WebGLRenderingContext","getContext","hasWebGl","decodedUrl","continueUrl","searchParams","notifyAppReady","updateTranslations","selectTranslate","translations","operatorTabOptions","_this$watcherSubscrip","watcherSubscription","ngAfterViewInit","showChat","operatorClose","startClinchClick","openTelegramLink","tipsClick","activityFeedClick","openLink","try_instant_view","depositlessClick","hideDownloadBanner","onResize","onMouseOut","relatedTarget","toElement","_this$currentUrl2","modal","initializeApp","IonModal","AppComponent_ion_app_0_Template","AppComponent_ion_app_1_Template","OperatorGuard","canActivate","LoadingAuthGuard","authService","LocationBlockedGuard","navController","NavController","navigateRoot","NoUpdateRequiredGuard","AuthGuard","UpdateRequiredGuard","NoAuthGuard","initialisedGuard","geoLocationGuard","onboardingGuard","routes","loadChildren","LoadingPageModule","OpenWalletPageModule","UpdateRequiredPageModule","LogPageModule","DebugGamePageModule","GeoLocationCheckPageModule","SignInPageModule","DemoSignInPageModule","ResultsPageModule","AccountPageModule","LinkWalletPageModule","ReferralPageModule","ReferralTermsPageModule","SelectWalletPageModule","TelegramOnboardPageModule","ChooseLeaderboardsPageModule","StatsPageModule","PracticeGamePageModule","LocalGamePageModule","GamePageModule","UnavailablePageModule","PrivacyPageModule","TermsPageModule","FaqPageModule","_route","_state","ChooseGamePageModule","MatchOptionsPageModule","TournamentPageModule","SelectRulesPageModule","redirectTo","AppRoutingModule","RouterModule","preloadingStrategy","PreloadAllModules","TranslateLoader","TranslateFakeLoader","of","ɵTranslateFakeLoader_BaseFactory","MissingTranslationHandler","FakeMissingTranslationHandler","isDefined","isObject","mergeDeep","TranslateParser","TranslateDefaultParser","templateMatcher","interpolate","expr","interpolateString","interpolateFunction","ɵTranslateDefaultParser_BaseFactory","TranslateCompiler","TranslateFakeCompiler","compile","compileTranslations","ɵTranslateFakeCompiler_BaseFactory","TranslateStore","currentLang","langs","onTranslationChange","onLangChange","onDefaultLangChange","USE_STORE","USE_DEFAULT_LANG","DEFAULT_LANGUAGE","USE_EXTEND","TranslateService","store","currentLoader","compiler","missingTranslationHandler","useDefaultLang","isolate","extend","defaultLanguage","pending","_onTranslationChange","_onLangChange","_onDefaultLangChange","_langs","_translations","_translationRequests","setDefaultLang","_defaultLang","_currentLang","retrieveTranslations","changeDefaultLang","getDefaultLang","use","changeLang","loadingTranslations","updateLangs","setTranslation","shouldMerge","getLangs","addLangs","getParsedResult","interpolateParams","observables","isObservable","forkJoin","translateService","concatMap","getStreamOnTranslationChange","defer","switchMap","stream","instant","reloadLang","resetLang","languages","browserLanguage","userLanguage","browserCultureLang","TranslateModule","useClass","forChild","invalidTimingValue","exp","ɵRuntimeError","ngDevMode","optimizeGroupPlayer","players","NoopAnimationPlayer","ɵAnimationGroupPlayer","normalizeKeyframes$1","normalizer","keyframes","preStyles","postStyles","normalizedKeyframes","previousOffset","previousKeyframe","kf","isSameOffset","normalizedKeyframe","normalizedProp","normalizedValue","normalizePropertyName","ɵPRE_STYLE","AUTO_STYLE","normalizeStyleValue","animationFailed","listenOnPlayer","player","onStart","copyAnimationEvent","onDone","onDestroy","phaseName","totalTime","makeAnimationEvent","triggerName","fromState","toState","getOrSetDefaultValue","parseTimelineCommand","command","separatorPos","documentElement","getParentElement","parentNode","_CACHED_BODY","_IS_WEBKIT","containsElement","elm1","elm2","invokeQuery","selector","multi","elem","NoopAnimationDriver","validateStyleProperty","getBodyNode","containsVendorPrefix","matchesElement","_element","_selector","computeStyle","animate","easing","previousPlayers","scrubberAccessRequested","AnimationDriver","_class2","NOOP","ONE_SECOND","ENTER_CLASSNAME","LEAVE_CLASSNAME","NG_TRIGGER_CLASSNAME","NG_TRIGGER_SELECTOR","NG_ANIMATING_CLASSNAME","NG_ANIMATING_SELECTOR","resolveTimingValue","matches","_convertTimeValueToMS","resolveTiming","timings","allowNegativeValues","parseTimeExpression","delayMatch","easingVal","containsErrors","startIndex","negativeStepValue","negativeDelayValue","copyObj","destination","convertToMap","styleMap","copyStyles","styles","backfill","setStyles","formerStyles","camelProp","dashCaseToCamelCase","eraseStyles","normalizeAnimationEntry","steps","sequence","PARAM_REGEX","RegExp","extractStyleParams","lastIndex","varName","localVal","invalidParamValue","iteratorToArray","iterator","DASH_CASE_REGEXP","visitDslNode","visitor","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","invalidNodeType","nodeType","getComputedStyle","ANY_STATE","parseTransitionExpr","transitionValue","expressions","parseInnerTransitionStr","eventStr","parseAnimationAlias","alias","invalidTransitionAlias","invalidExpression","separator","makeLambdaFromStates","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","LHS_MATCH_BOOLEAN","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","warnings","AnimationAstBuilderVisitor","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","queryCount","depCount","states","transitions","invalidTrigger","definitions","def","stateDef","transition","invalidDefinition","styleAst","astParams","containsDynamicStyles","missingSubs","invalidState","metadataName","animation","matchers","normalizeAnimationOptions","furthestTime","step","innerAst","timingAst","constructTimingAst","makeTimingAst","strValue","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","metadataStyles","styleTuple","collectedEasing","styleData","tuple","collectedEntry","updateCollectedStyle","invalidParallelAnimation","firstStart","firstEnd","secondStart","secondEnd","validateStyleParams","invalidStyleParams","invalidKeyframes","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","consumeOffset","invalidOffset","keyframeOffsetsOutOfOrder","generatedOffset","keyframesMissingOffsets","animateDuration","durationUpToThisFrame","parentSelector","currentQuery","includeSelf","normalizeSelector","hasAmpersand","originalSelector","invalidStagger","currentTransition","unsupportedCSSPropertiesFound","normalizeParams","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","instructions","existingInstructions","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","delayNextStep","timelines","timeline","containsAnimation","lastRootTimeline","allowOnlyTimelineStyles","elementInstructions","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","_applyAnimationRefDelays","animationsRefsOptions","animationRefOptions","animationDelay","_animationRefOptions$","animationDelayValue","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","subContextCount","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","applyStylesToKeyframe","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","hasCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","tl","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","TimelineBuilder","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","_copyOptions","oldParams","newTime","fork","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","elements","invalidQuery","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_localTimelineStyles","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","_updateStyle","flattenStyles","allStyles","allProperties","_this$_globalTimeline","getFinalKeyframe","properties","details1","details0","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","_stretchStartingKeyframe","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","oldOffset","decimalPoints","mult","AnimationStyleNormalizer","DIMENSIONAL_PROP_SET","WebAnimationsStyleNormalizer","propertyName","userProvidedProperty","normalizedProperty","strVal","valAndSuffixMatch","invalidCssUnitValue","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","nextState","oneOrMoreTransitionsMatch","matchFns","buildStyles","stateName","styler","currentOptions","nextOptions","skipAstBuild","_this$ast$options","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","applyParamDefaults","queriedElementsList","userParams","defaults","AnimationStateStyles","defaultParams","combinedParams","AnimationTrigger","_normalizer","transitionFactories","balanceProperties","fallbackTransition","createFallbackTransition","containsQueries","matchTransition","matchStyles","stateMap","key1","key2","EMPTY_INSTRUCTION_MAP","TimelineAnimationEngine","bodyNode","_animations","_playersById","registerFailed","_buildPlayer","autoStylesMap","inst","missingOrDestroyedAnimation","createAnimationFailed","_getPlayer","missingPlayer","listen","baseEvent","play","pause","restart","setPosition","QUEUED_CLASSNAME","DISABLED_CLASSNAME","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","REMOVAL_FLAG","StateValue","isObj","normalizeTriggerValue","absorbOptions","VOID_VALUE","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","phase","missingTrigger","missingEvent","isTriggerEventValid","unsupportedTriggerEvent","listeners","triggersWithStates","statesByElement","afterFlush","_getTrigger","trigger","unregisteredTrigger","defaultToFallback","TransitionAnimationPlayer","objEquals","reportError","playersOnElement","playersByElement","queued","isFallbackTransition","totalQueuedPlayers","deregister","clearElementCache","elementPlayers","_signalRemovalForInnerTriggers","fetchNamespacesByElement","ns","triggerLeaveAnimation","afterFlushAnimationsDone","destroyAfterComplete","triggerStates","previousTriggersValues","markElementAsRemoved","processLeaveNode","prepareLeaveAnimationListeners","elementStates","visitedTriggers","removeNode","engine","childElementCount","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","removalFlag","destroyInnerAnimations","_onRemovalComplete","insertNode","drainQueuedTransitions","microtaskId","markedForDestroy","d0","d1","TransitionAnimationEngine","onRemovalComplete","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","queuedPlayers","createNamespace","_balanceNamespaceList","collectEnterElement","namespaceList","ancestor","ancestorNs","registerTrigger","_fetchNamespace","stateValue","isElementNode","insertBefore","markElementAsDisabled","hostNS","_buildInstruction","subTimelines","skipBuildAst","containerElement","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","whenRenderingDone","_element$classList","cleanupFns","_flushAnimations","quietFns","triggerTransitionsFailed","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","nodeIsOrphaned","stringMap","setVal","transitionFailed","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","_post$entries","_pre$entries","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","parentPlayer","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","timelineInstruction","realPlayer","getRealPlayer","beforeDestroy","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","flattenGroupPlayers","finalPlayers","_flattenGroupPlayersRecur","wrappedPlayer","deleteOrUnsetInMap","currentValues","_player","_containsRealPlayer","_queuedCallbacks","triggerCallback","_queueEvent","hasStarted","getPosition","cloakElement","oldValue","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","props","roots","rootMap","nodeSet","localRootMap","getRoot","_element$classList2","_element$classList3","postEntry","preEntry","AnimationEngine","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","triggerBuildFailed","buildTrigger","onInsert","onRemove","disableAnimations","disable","eventPhase","SpecialCasedStyles","_startStyles","_endStyles","initialStyles","initialStylesByElement","_initialStyles","_class3","filterNonAnimatableStyles","isNonAnimatableStyle","WebAnimationsPlayer","_specialStyles","_onDoneFns","_onStartFns","_onDestroyFns","_initialized","_started","_destroyed","_originalOnDoneFns","_originalOnStartFns","currentSnapshot","_duration","_delay","_onFinish","_preparePlayerBeforeStart","domPlayer","_triggerWebAnimation","_finalKeyframe","_resetDomPlayerState","_convertKeyframesToObject","kfs","fromEntries","_this$domPlayer$curre","methods","WebAnimationsDriver","validateAnimatableStyleProperty","playerOptions","previousStyles","previousWebAnimationPlayers","allowPreviousPlayerStylesMerge","normalizeKeyframes","balancePreviousStylesIntoKeyframes","startingKeyframe","missingStyleProps","specialStyles","packageNonAnimatableStyles","startStyles","endStyles","BrowserAnimationBuilder","AnimationBuilder","rootRenderer","_nextAnimationId","_renderer","encapsulation","ViewEncapsulation","issueAnimationCommand","BrowserAnimationFactory","DOCUMENT","AnimationFactory","_id","RendererAnimationPlayer","_command","_listen","_this$_renderer$engin","_this$_renderer$engin2","DISABLE_ANIMATIONS_FLAG","AnimationRendererFactory","delegate","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","BaseAnimationRenderer","onRendererDestroy","animationTriggers","AnimationRenderer","begin","_scheduleCountTask","queueMicrotask","scheduleListenerCallback","_onDestroy","destroyNode","_this$delegate$destro","_this$delegate","_this$_onDestroy","namespace","createComment","createText","newChild","refChild","isMove","oldChild","isHostElement","selectRootElement","selectorOrNode","preserveContent","nextSibling","removeAttribute","setStyle","flags","removeStyle","setValue","resolveElementFromTarget","parseTriggerCallbackName","dotIndex","SHARED_ANIMATION_PROVIDERS","ɵAnimationStyleNormalizer","instantiateDefaultStyleNormalizer","ɵWebAnimationsStyleNormalizer","ɵAnimationEngine","InjectableAnimationEngine","RendererFactory2","instantiateRendererFactory","zone","ɵDomRendererFactory2","BROWSER_ANIMATIONS_PROVIDERS","ɵWebAnimationsDriver","ANIMATION_MODULE_TYPE","BROWSER_NOOP_ANIMATIONS_PROVIDERS","ɵNoopAnimationDriver","BrowserAnimationsModule","_class4","withConfig","BrowserModule","AuthInterceptor","intercept","mergeMap","setHeaders","TIERS_MOCK","PRACTICE_ROUNDS_SOLITAIRE_MOCK","PRACTICE_ROUNDS_BLOCKS_MOCK","PRACTICE_ROUNDS_BLACKJACK_MOCK","WAITING_OPPONENTS_MOCK","bet1","bet25","bet50","bet100","bet250","bet500","bet1000","bet2500","bet10000","PROFILE_MOCK","OPERATOR_DATA_MOCK","ACTIVITY_FEED_BLOCKS_MOCK","gameTag","ca8650212f95485f89d86e2be593f2bc7bade45cac1a2ccff937ff150fe58417","bc947a182e5da2e7e34a6cbcb5323cf8eca785e476be6f845c6370796f9e90d3","e537de30f9251343d4122fe6941dd22d50c03c7ee7052adb6b90eb419c743d74","f67e86d599c4389da3f492fda5be1dc4e4842f48abc012a13a6548aa0ffb5491","e817845a9d49887613b2ee4c7179defe29cc4be21f053aa534b71b00332aaf21","a80a0cfb018181a89fcc323a4fedcfda231204c86b43d91b4efe2ab305a6722e","baee5d71ad36956d9ff6caae2c35319c5c3a58b4ab69b131f3cdfb2fe6115328","fdb9dab197c893bbebb4be24290ec009fed1e355234b27efef8db4a3733a3ce2","e069f61f73e5b731138699b38ce73ba1f8c65f1cc188308dcf3f5f8840210c5c","c172cd3c8ccd7b40f1b237670e5c537742fbbc875c9c3f2bb0353adacd6f87d8","ecd1ac5e72f73fc0efa0d57bf142f0db2a044aac1892c404066b436f6699e14e","b8dd38ad7d7ce941e2b39d1b88ea508c161a69fabdbe4acfd78cd567e65ff122","feac618df89d3d9ab6f1c5c1c33230c9b8deb50b9a682736fda5c2f00dd16848","ebc98a0b5f0d4caf0de42dcc1a2ac7373805f81a3375a833cae7038dd8de6813","fb2c61a59804ad2838bdcf9853abc459f97e59f7aa433ac5bb0a224169fcdbde","fd5c3bf6143d55d10f23d0ad1c7b258099166499f89165b25f584d33a4eac726","e307d2b5704eb84dc5a961f2316ce7e1e674a771032a66cd201d724561da428c","ACTIVITY_FEED_SOLITAIRE_MOCK","aad313a31ed1133d79ceb480215453cbc563362947d608cc1346dff312a8917c","a04119cb7a930060faeda1ed25e28699cba5c08d8b11d98969f49af77399971d","e165103e3097e504677cdcc5b20ffccf5b9a83cca5161df7d3bc627c85858c37","ACTIVITY_FEED_BLACKJACK_MOCK","b75ffe7a5684d25c0e4244be7df7d98390f064e2778205c44dc096dd4aa0212a","a30032c4237d85d414da664d8ff2862494beff2b7761e1490e126cdd10e6bfc3","f2d2056a220ef1ecb84a260d09f6fd61dde888463b31f46d3c45dc854048a44b","f12e4bd44b8105ac3731de42e9ffacaeb8cd7f37293d9111ee42f416d24d5ec9","e8c32a30a7833819ff4b28a6ef8849d65d2b86a34e39fe2c85f9855807becea8","LEADERBOARD_MOSTWINS_1DAY","A8OIhvNl2eV87S7o8RmrOOr2eLl2","AR1fJqJZqLSHFt9UtBQELu9J2C42","AS7GV1EVBDQayArH5bPzaAXfMSs1","B7W0BEKPOFfKcyuxHBO4S2tNqIU2","BIMH6yaAn7NapBRCl03x7na5Ji73","BUPhdpHpquSC3I3EPnRiisQHAhh1","DqOwlFWF9pgD6V3Rf2iZH8SYhW02","DquvTqsjUWhHmfwDxweisAaVbSs1","DuTSHjO8XrZBLxkoPt6v6x6Xp9n1","E3PPyFdgU2cCYUQ02Gk35OHSHbo2","EH28THF8y1gU8fM89ykJJkmYP9T2","Em3mJ9Y8ePdPLtQZnJ6prqAWxWf2","J9krVBUj4zdkwNDqPWv913KMsFY2","JqiNCGXjkaMqEYFPOYCaW0qcYfl1","MqL8KlOXGNajWFThPljAFpLiipX2","NVaHlioPCZM4HqkMbPIO9MufcGN2","PSc4nkg5E8MmM8lzeNKCgYV1bOY2","Qlh5bdY7u6chZ8ttXuAqjUvaw323","RwWxnCZrXVed2Unj4EbINAQ55TC3","T3aOJwMSzjQsfDu0TzTLZFDfE6G2","TjqSO6wWUPgRhAHkk6uKf0XC5ve2","UPAdHYrMNde83CQM1QbOPVo4i1o2","VQ21Q4670YhnSk3GrAM6pbLQ6kq2","VQCcQDtIKgTuJb8S0zBo7TARmxl2","XVIggAUsLugui5MBMzna8bOmIqK2","Y9WNeztb3UNdueuYgKSDObJftua2","Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2","Zaqo7osp1fgDHKV1xqq7vRAzl6k2","ZkoCf7kXVDfowrts5pSLfjNCVFr2","aQ4boibSzZgJhL1hr0YQ8dTaFEX2","btN5UEmd1wVf9DSPFLF2GigzaP03","cLVJXQObd7Q7CTYRJT0asGIG4ub2","eOAV5NVHQmVnL3Pl6fryQ7C3O0C3","fXFhQ9zDqwZhaqoJTzYSWDoMjn52","gf1spz6Jmsg3wMycVm7RyMKERNs1","ixSu7EbpUhbswPZZuRY8cTzoBwy2","m71e9TEHcQVI6gNtKnOA9V8uKCc2","meK5vW1SDdUv5ZK7idQyWHqXYKR2","nToQ1lWacwVaiZ10wmzaXUYd1dS2","p3ygX7hM2ySITzvqblh5aQv7lxz1","pJEGDyOweoTEKlJ0NsALblBYgpb2","qENvX9vRToPBnFcTB5d69zq8Vog1","qpgdvttycFQIv9fZJOIHGytNznO2","r9pPvrYvbWZEo2ZFtXnmEEjyifN2","rzGu7cLdufZu7neHj72ioj4lqmt2","s0Qlml5rUfftTdPvAOEfBeaGslT2","tR64VxeOkaPQpJTmzWFYWGWe35k2","vyjpq2S6S6YSRu5kaBl6OYR4ae42","wwACEIvG3LWbirz1Axs5XM0RDyh2","x9VO8NZNT9QRnpxpKImdBk1gtVi1","xzAT9NH68HPeTE1vmEjulAsl1X33","LEADERBOARD_MOSTWINS_7DAY","BXVUCyEqCpXrcUki8yfi54KGnsK2","D6ZUd5lTRoMmsFEYJLaEwQuEvlN2","DDvKjZX7HJcwzoE5pg3NfjAERIv1","E8xWOaODAmdoTjE9ybmBf7KRqYF3","EVyM1oeCRCVVbO9OqPAedE52Mck2","Eb1dnspHYUSrNEB2ZzLXrE0cDGk2","HH3QVer20pSQ3u6YN3ikWipDi2N2","HSvrg5cGIjRayV4leACZIuI0mVx1","KiOEvN2HmFSmybQ4ZN9c3FeJwNN2","LhoQSyiO1ZPeJrQSgHMXxDhOshw1","S1CP9f9tTHYHiFysaphIIetuzHW2","SZNpkP4YeYM6emUlJJcPuvlKJE72","TUiqA4Q6EaTCwRVJuYCzUDgvLSC3","Tca2vWT3mqUKzfPjSCh3KkRgwf83","Yvi8ALOpPrWW86pg85iX6O7xd493","ceeWs4u2PaMHUifqGrcjwtEPVpe2","dhRg94DlEdRvFHiXuNTNNeHVDBV2","gfo53QJFheeg3czzp2zI6OuLFWk2","mnC7qAmth4PsCcsyfqlXCiADlhr1","nP60EyRrzqey5mKWNVujhd7WvP72","pFHblNG3yyPrtOCq4Zwb4CYvFdB3","pmHdAvn3G0Q9ZmazYNvuGxDFBEA2","skgHapOl78YI5kbUTU4hnfZZeCt1","vbeiYxytClOFdnTKBK28l05yP7F3","vfrqXxPqY9WZPSbem0Clz8vyRTn1","LEADERBOARD_MOSTWINS_30DAY","ExEDXBkkpOMHLz2F1KVehXnWPQk2","Fj0SHclZIDapRYmq9FXThI9z6B73","KCby6YRbgJZ6xV7XFWd6ltx3Ppf2","NHezp26RNOdWX1KZMgpCyzw57Mn1","OBvLyuG4l3ecP4zQaah1naAnNpy1","QOiTTYATaXShTSMQOt8MCcclV5n2","Qtpru0X7cITeeccjSGVlZlZhASR2","RBqDRktOYRaONpnrdbA3kgoZG1w2","T9oKlTDPOQVuVrsfy70Je17RPci2","ZMTLpjA302MAfCMB2ZUdHuvAlBp2","ZP1PfEawyDcVCtIwqCFuGuFmP1U2","ZW6WFa6spcacIjZDIrNyCXkICx12","a4y5fBgpd1RK83yF9Nh2C1IBv4i2","b02uR9KB8tYrSNLLLFDV7MV2vWL2","cphOez7gHeUlEKuROglUHJOqy8m2","hbtZNCdpAUT1e5vvhVAVpTvdKtx2","iSktZeq7olZipQvAsBwPQ0kVQCk1","j1Z1WPziqYXZmsCqL8RrS2C4ED32","lTFxkD8kb4cU31Xucj8e7FIYfAk2","nuAygUHipvZoxHisDuv4GCk2mHe2","qRmDm0SvbuYwfg7o9OCGNP8oCkJ2","LEADERBOARD_MOSTWINS_ALLTIME","BDj1hHMAFVXMIvbpp8AmMKTfI4x1","BMglpUv6WmhL4ul8NRRTqOfZb9v1","BOtfcwSyNZWtBLDnk4xPYb2uqWT2","FDVuzw15HmYz5GyLVHy1JuMlGT33","GCuLSzNyeIMdtFwffzpCoCDRVPv1","HN4cjQOv0vSDMhmVEo2glGZFx9q1","IcvXSN5IGhMuc8Bjr15wTMUyRbj2","J0s1JgE9TfVJHCOHIoj3YrldPqn1","JQCDZLR2P3fGQNKEQvUpF5Zc7if2","KaP60cM3xuVOG0sa0kVPo67yKVq1","LjAvwnY7DSb7FdzT7Xonp0ewjuy1","SEBv7fxqZANK4o5EisBNm6Wjm0r2","Tl9dDwvCSjOjsKZQqB7eXv0Laho2","TwgWSWsqIrdx27z1Hvlb0EEaB3u1","VX0ESW2LEjdNEg1R1Wra4VvG7xj2","WSQViTjAPtZzLcFl35AADFAaVmB2","WpE6NazvARfqiqxLhvBgCtrzHID3","YjPZOYpdJOYEhjQgeNmfORFUjqE3","aEQF5MSwwAPC0v1MTbbjs1vqskK2","boPrmOMP9NNdALE3UaYAPrqPvJs1","cpe6vtDd1TYuxM7wwapCGPd5zMr2","fFUyVXARbnQduTEIEqAlbwn08eP2","guB7L44EhvYyDhUqXU2LJqYkMyt1","hxld3PnZksN6N7HFXHXZV2g45Sg2","iMRdj6gJwwbvW5TFgGrPyfE2K9V2","lTrOWSqeYaS0liznnofgXOnqCgU2","oEXGvwgloVSRJ7aqM48jRry0gp52","pNzsBfAMula1p9k6CutPq8EU7u92","qTQo8HlhuuPhuzs0wum37pdDWTN2","s8CuwoXVfKajUoHKYthX7Apvcz92","sU0QcGkr0Pe60tUwItFdb1STzgn1","tjXxUidlZwbToR6S47KozoKBezC2","tuYwO79Tp8UtcStvinSrcRJ4lT02","uwDvADYKOLNmQJ9WX83SXUmjA0i1","LEADERBOARD_MOSTMONEY_1DAY","LEADERBOARD_MOSTMONEY_7DAY","Fzx6iXUiHDWJ71nrI90ZdY1wZNr2","HU69q4yyxYhJ78MRS3trLV63UUT2","d8CLFt4yg8VKrztSQGBloGkTa3g1","jBKWmUfEzkNLX2UaCMd0i7dMkNF2","oisvSc32PxW85NRMBCeBnFjAkAv2","LEADERBOARD_MOSTMONEY_30DAY","rUKCFNYcroWblcf61IMxAkH1kXh1","wIAi000qCseXDvrKi8DrUZJsOnF3","LEADERBOARD_MOSTMONEY_ALLTIME","BG91lF38izThS1eBJ0kklLeCmeI3","bOJKFpQsSiUOaFJsDMIGp1Yjv6Z2","mRPtWnlvv2ZZX1LOKMw9EeV8PX03","p8GyX01GGRZVQX2a0ih3OVegt1j2","wVsUPJzFsAYPGDMfyVFIXUJLeap1","xCuf2JIaZMga2lKEiIsqp3VfFoP2","yDAwydl9hKhXwGRnNGndzGKc8Rw1","DemoInterceptor","mockResponse","mockResponseForUrl","HttpResponse","activityMock","updateActivityFeedDates","randomIndex","getRandomIndex","timeKey","activityGroup","activityKey","originalDate","updatedDate","getSeconds","getMilliseconds","SpinnersModule","FormsModule","initializeTranslation","passedOptions","originalInit","browserInit","_b","finalOptions","enableAutoSessionTracking","getDefaultIntegrations","originalRewriteFramesIntegration","nativeReleaseIntegration","eventOriginIntegration","sdkInfoIntegration","deviceContextIntegration","getGlobalScope","mobileOptions","browserTracingIntegration","registerSpanErrorInstrumentation","enableInteractions","enableStandaloneClsSpans","beforeStartSpan","shouldCreateSpanForRequest","_collectWebVitals","startTrackingINP","inpCallback","_trackINP","addInpInstrumentationHandler","interactionType","spanToUse","startTrackingLongAnimationFrames","scripts","parentStartTimestamp","parentOp","initialScript","invoker","invokerType","sourceURL","sourceFunctionName","sourceCharPosition","startTrackingLongTasks","startTrackingInteractions","latestRoute","_createRouteSpan","isPageloadTransaction","finalStartSpanOptions","idleSpan","addPerformanceEntries","performanceEntries","transactionStartTime","_addNavigationSpans","_addRequest","requestStartTimestamp","responseEndTimestamp","responseStartTimestamp","_addMeasureSpans","requestTime","measureStartTimestamp","startTimeStamp","measureEndTimestamp","firstHidden","shouldRecord","fp","fcp","_addResourceSpans","resourceUrl","parsedUrl","deliveryType","renderBlockingStatus","_trackNavigator","connection","effectiveType","rtt","deviceMemory","hardwareConcurrency","_addTtfbRequestTimeToMeasurements","fidMark","recordClsOnPageloadSpan","measurementName","measurement","setMeasurement","_setWebVitalAttributes","loadTime","renderTime","emitFinish","startingUrl","maybeEndActiveSpan","traceOptions","propagationContext","propagationContextFromHeaders","oldPropagationContext","startBrowserTracingPageLoadSpan","pathname","registerBackgroundTabDetection","cancelledStatus","registerInteractionListener","inflightInteractionSpan","registerInteractionTransaction","currentRootSpanOp","registerInpInteractionListener","_latestRoute","activeRootSpan","isPerformanceEventTiming","instrumentOutgoingRequests","tracePropagationTargets","shouldAttachHeadersWithTargets","targetUrl","resolvedUrl","currentOrigin","isSameOriginRequest","isRelativeSameOriginRequest","updatedTimestamp","addFetchEndInstrumentationHandler","createdSpan","xhrCallback","__sentry_xhr_span_id__","addTracingHeadersToXhrRequest","setHeaderOnXhr","sentryTraceHeader","sentryBaggageHeader","checkAndSetAngularVersion","angularVersion","VERSION","major","ANGULAR_MINIMUM_VERSION","init$1","AppModule","depositWatcher","i2","i3","bootstrap","RouteReuseStrategy","IonicRouteStrategy","ErrorHandler","SentryAngular","APP_INITIALIZER","HTTP_INTERCEPTORS","rippleEffect","mode","HttpClientModule","enableProdMode","__NgCli_bootstrap_1","bootstrapModule","ConsentType","AdPersonalization","AdStorage","AdUserData","AnalyticsStorage","FunctionalityStorage","PersonalizationStorage","ConsentStatus","Granted","Denied","Persistence","IndexedDbLocal","InMemory","BrowserLocal","BrowserSession","ProviderId","APPLE","FACEBOOK","GAME_CENTER","GITHUB","GOOGLE","MICROSOFT","PLAY_GAMES","TWITTER","YAHOO","PASSWORD","PHONE","FirebaseAuthenticationWeb","ExceptionCode","Unimplemented","Unavailable","CapacitorException","createCapacitor","win","_d","_e","capCustomPlatform","CapacitorCustomPlatform","cap","Plugins","capPlatforms","CapacitorPlatforms","currentPlatform","defaultGetPlatform","androidBridge","webkit","messageHandlers","bridge","getPlatformId","defaultIsNativePlatform","pluginName","plugin","registeredPlugins","platforms","getPluginHeader","PluginHeaders","defaultRegisterPlugin","jsImplementations","registeredPlugin","proxy","pluginHeader","jsImplementation","loadPluginImplementation","createPluginMethodWrapper","createPluginMethod","methodHeader","rtype","nativePromise","nativeCallback","addListenerNative","convertFileSrc","filePath","pluginMethodNoop","_target","DEBUG","isLoggingEnabled","initCapacitorGlobal","WebPlugin","retainedEventArguments","windowListeners","listenerFunc","firstListener","windowListener","registered","addWindowListener","sendRetainedArgumentsForEvent","_ref5","removeWindowListener","notifyListeners","retainUntilConsumed","hasListeners","registerWindowListener","windowEventName","pluginEventName","unimplemented","unavailable","escape","decode","CapacitorCookiesPluginWeb","getCookies","cookies","cookie","cookieMap","setCookie","encodedKey","encodedValue","expires","deleteCookie","clearCookies","toUTCString","clearAllCookies","readBlobAsBase64","_ref6","blob","reader","FileReader","base64String","readAsDataURL","CapacitorHttpPluginWeb","requestInit","buildRequestInit","normalizeHttpHeaders","originalKeys","toLocaleLowerCase","FormData","webFetchExtra","urlParams","buildUrlParams","shouldEncode","accumulator","substr","shouldEncodeUrlParams","responseType","ok","json","put","CapacitorUpdaterWeb","stringToByteArray$1","base64","byteToCharMap_","charToByteMap_","byteToCharMapWebSafe_","charToByteMapWebSafe_","ENCODED_VALS_BASE","ENCODED_VALS","ENCODED_VALS_WEBSAFE","HAS_NATIVE_SUPPORT","encodeByteArray","webSafe","init_","byteToCharMap","byte1","haveByte2","byte2","haveByte3","byte3","outByte3","outByte4","encodeString","btoa","decodeString","c3","byteArrayToString","decodeStringToByteArray","charToByteMap","byte4","DecodeBase64StringError","base64urlEncodeWithoutPadding","utf8Bytes","base64Encode","base64Decode","getDefaults","__FIREBASE_DEFAULTS__","getDefaultsFromEnvVariable","defaultsJsonString","getDefaultsFromCookie","getDefaultEmulatorHost","productName","emulatorHosts","getDefaultEmulatorHostnameAndPort","separatorIndex","lastIndexOf","getDefaultAppConfig","getExperimentalSetting","Deferred","wrapCallback","createMockUserToken","project","iat","user_id","iss","aud","auth_time","sign_in_provider","identities","alg","getUA","isMobileCordova","phonegap","PhoneGap","isBrowserExtension","browser","isReactNative","product","isIE","ua","isSafari","isNode","forceEnvironment","isIndexedDBAvailable","indexedDB","validateIndexedDBOpenable","preExist","DB_CHECK_NAME","onsuccess","deleteDatabase","onupgradeneeded","areCookiesEnabled","cookieEnabled","FirebaseError","customData","ErrorFactory","service","serviceName","fullCode","replaceTemplate","PATTERN","deepEqual","aKeys","bKeys","aProp","bProp","thing","querystring","querystringParams","arrayVal","querystringDecode","tokens","extractQuerystring","queryStart","fragmentStart","createSubscribe","executor","onNoObservers","ObserverProxy","observers","unsubscribes","observerCount","finalized","forEachObserver","observer","nextOrObserver","implementsAnyMethods","noop","unsub","unsubscribeOne","finalError","sendOne","DEFAULT_INTERVAL_MILLIS","DEFAULT_BACKOFF_FACTOR","MAX_VALUE_MILLIS","RANDOM_FACTOR","calculateBackoffMillis","backoffCount","intervalMillis","backoffFactor","currBaseValue","randomWait","getModularInstance","_delegate","componentOnReady","resolvedEl","raf","__zone_symbol__requestAnimationFrame","LIFECYCLE_WILL_ENTER","LIFECYCLE_DID_ENTER","LIFECYCLE_WILL_LEAVE","LIFECYCLE_DID_LEAVE","LIFECYCLE_WILL_UNLOAD","getIonPageElement","animationPrefix","convertCamelCaseToHypen","getAnimationPrefix","animationName","webkitAnimationName","setStyleProperty","removeStyleProperty","removeProperty","keyframeIds","addClassToArray","classes","classNameToAppend","createAnimation","animationId","_easing","_iterations","_fill","_direction","parentAnimation","cssAnimationsTimerFallback","forceDirectionValue","forceDurationValue","forceDelayValue","keyframeName","ani","beforeAddClasses","beforeRemoveClasses","beforeStylesValue","afterAddClasses","afterRemoveClasses","afterStylesValue","numAnimationsRunning","shouldForceLinearEasing","shouldForceSyncPlayback","willComplete","shouldCalculateNumAnimations","paused","onFinishCallbacks","onFinishOneTimeCallbacks","onStopOneTimeCallbacks","childAnimations","stylesheets","_beforeAddReadFunctions","_beforeAddWriteFunctions","_afterAddReadFunctions","_afterAddWriteFunctions","webAnimations","supportsAnimationEffect","AnimationEffect","supportsWebAnimations","Element","getWebAnimations","clearCallback","callbackToRemove","callbackObjects","callbackObject","onFinish","oneTimeCallback","cleanUpElements","elementsArray","cleanUpStyleSheets","stylesheet","getFill","getDirection","getEasing","getDuration","getIterations","getDelay","animationFinish","afterAnimation","clearCSSAnimationsTimeout","currentStep","addClasses","removeClasses","elementClassList","onFinishCallback","initializeCSSAnimation","toggleAnimationName","processedKeyframes","newKey","processKeyframes","keyframeRules","generateKeyframeRules","frameString","generateKeyframeName","createKeyframeStylesheet","styleContainer","rootNode","getRootNode","getStyleContainer","keyframePrefix","existingStylesheet","ownerDocument","textContent","iterationsCount","initializeAnimation","beforeAnimation","iterations","direction","onfinish","setAnimationStep","getComputedTiming","animationDuration","updateWebAnimation","updateTiming","updateCSSAnimation","deep","pauseAnimation","onAnimationEndFallback","sync","onStopCallback","onStop","playCSSAnimations","animationIterations","animationEnd","unRegTrans","passive","onTransitionEnd","unregister","firstFrame","lastFrame","fromTo","toValue","clearStyleSheets","childAnimation","cleanUp","keyframeValues","different","setKeyframes","newEffect","KeyframeEffect","getTiming","updateKeyframes","addAnimation","animationToAdd","addElement","animationFill","animationDirection","animationEasing","getKeyframes","afterAddRead","readFn","afterAddWrite","writeFn","afterClearStyles","propertyNames","afterStyles","afterRemoveClass","afterAddClass","beforeAddRead","beforeAddWrite","beforeClearStyles","beforeStyles","beforeRemoveClass","beforeAddClass","isRunning","progressStart","forceLinearEasing","progressStep","progressEnd","playTo","dur","createButtonActiveGesture","isButton","currentTouchedButton","initialTouchedButton","activateButtonAtPoint","hapticFeedbackFn","elementFromPoint","clearActiveButton","setActiveButton","buttonToModify","writeTask","dispatchClick","createGesture","gestureName","threshold","currentX","currentY","hapticSelectionStart","onMove","hapticSelectionChanged","onEnd","hapticSelectionEnd","getCapacitor","sanitizeDOMString","untrustedString","IonicSafeString","isSanitizerEnabled","documentFragment","createDocumentFragment","workingDiv","innerHTML","blockedTags","blockedTag","getElementsToRemove","elementIndex","childElements","getElementChildren","childIndex","sanitizeElement","dfChildren","fragmentDiv","getInnerDiv","NamedNodeMap","attribute","attributeName","allowedAttributes","attributeValue","propertyValue","children","childNodes","Ionic","sanitizerEnabled","setupConfig","ENABLE_HTML_CONTENT_DEFAULT","getTimeGivenProgression","p2","p3","progression","solveCubicBezier","tValue","solveCubicParametricEquation","refPoint","solveCubicEquation","solveQuadraticEquation","discriminant","phi","acos","cos","attachComponent","container","cssClasses","inline","attachViewToDom","HTMLElement","detachComponent","removeViewFromDom","parentElement","CoreDelegate","BaseComponent","Reference","userComponent","userComponentProps","ChildComponent","_x8","GestureDelegate","ctrl","priority","disableScroll","canStart","captured","enableScroll","BlockerDelegate","gesture","disableGesture","enableGesture","BACKDROP_NO_SCROLL","GESTURE_CONTROLLER","GestureController","gestureId","requestedStart","disabledGestures","disabledScroll","newID","createBlocker","maxPriority","capturedId","CustomEvent","dispatchEvent","isDisabled","isCaptured","isScrollDisabled","ImpactStyle","Heavy","Medium","Light","HapticEngine","getEngine","tapticEngine","TapticEngine","capacitor","Haptics","available","vibrate","isCordova","isCapacitor","impact","selection","selectionStart","gestureSelectionStart","selectionChanged","gestureSelectionChanged","selectionEnd","gestureSelectionEnd","hapticAvailable","hapticSelection","hapticImpact","blockHardwareBackButton","startHardwareBackButton","busy","bubbles","executeAction","handlerRegister","processHandlers","selectedHandler","MIN_SAFE_INTEGER","OVERLAY_BACK_BUTTON_PRIORITY","MENU_BACK_BUTTON_PRIORITY","transitionEndAsync","expectedDuration","transitionEnd","animationTimeout","hasLazyBuild","stencilEl","inheritAttributes","attributeObject","attr","hasAttribute","ariaAttributes","inheritAriaAttributes","ignoreList","attributesToInherit","ael","_ael","rel","_rel","getElementRoot","fallback","shadowRoot","hasShadowDom","attachShadow","findItemLabel","componentEl","itemEl","closest","focusElement","focus","setFocus","getAriaLabel","inputId","labelText","labelledBy","labelId","getElementById","renderHiddenInput","always","clamp","actual","pointerCoord","changedTouches","touch","clientX","clientY","pageX","pageY","isEndSide","isRTL","dir","debounceEvent","wait","_original","debounce","shallowEqualStringMap","map1","map2","keys1","printIonWarning","printIonError","printRequiredElementError","targetSelectors","ION_CONTENT_ELEMENT_SELECTOR","ION_CONTENT_CLASS_SELECTOR","ION_CONTENT_SELECTOR","isIonContent","getScrollElement","findIonContent","findClosestIonContent","scrollToTop","durationMs","scrollTo","behavior","scrollByPoint","scrollBy","printIonContentErrorMsg","disableContentScrollY","contentEl","initialScrollY","scrollY","ionContent","resetContentScrollY","beforeTransition","runTransition","afterTransition","enteringEl","leavingEl","setZIndex","showGoBack","setPageHidden","animationBuilder","getAnimationBuilder","Build","noAnimation","animated","iosTransitionAnimation","mdTransitionAnimation","waitForReady","trans","baseEl","fireWillEvents","didComplete","playTransition","progressCallback","fireDidEvents","hasCompleted","_ref4","defaultDeep","deepWait","deepReady","notifyViewReady","viewIsReady","_x9","lifecycle","cancelable","waitForMount","_ref7","__registerHost","_x10","zIndex","scopeId","contentRef","hostTagName","useNativeShadowDom","checkSlotFallbackVisibility","checkSlotRelocate","isSvgMode","queuePending","isDev","isServer","isTesting","getAssetPath","assetUrl","plt","$resourcesUrl$","HYDRATE_ID","HYDRATED_STYLE_ID","XLINK_NS","EMPTY_OBJ","isComplexType","queryNonceMetaTagContent","nodeName","vnodeData","slotName","simple","lastSimple","vNodeChildren","walk","$text$","newVNode","classData","class","vdomFnUtils","vnode","$attrs$","$children$","$key$","$name$","$flags$","$tag$","$elm$","Host","convertToPublic","convertToPrivate","vattrs","vchildren","vkey","vname","vtag","vtext","clientHydrate","parentVNode","childRenderNodes","slotNodes","shadowRootNodes","hostElm","hostId","childNodeType","childIdSplt","childVNode","$hostId$","$nodeId$","$depth$","$index$","nodeValue","initializeDocumentHydrate","orgLocNodes","setMode","modeResolutionChain","getMode","ref","getHostRef","$modeName$","getElement","$hostElement$","createEvent","emitEvent","composed","ce","rootAppliedStyles","registerStyle","cssText","allowCS","supportsConstructableStylesheets","CSSStyleSheet","replaceSync","addStyle","styleContainerNode","cmpMeta","getScopeId","styleElm","appliedStyles","$nonce$","adoptedStyleSheets","$tagName$","convertScopedToShadow","css","setAccessor","memberName","newValue","isSvg","isProp","isMemberInElement","ln","oldClasses","parseClassList","newClasses","isComplex","xlink","removeAttributeNS","setAttributeNS","parseClassListRegex","updateElement","oldVnode","newVnode","oldVnodeAttrs","newVnodeAttrs","createElm","oldParentVNode","newParentVNode","parentElm","childNode","oldVNode","createTextNode","createElementNS","isDef","putBackInOriginalLocation","recursive","oldSlotChildNodes","parentReferenceNode","referenceNode","addVnodes","before","vnodes","startIdx","endIdx","containerElm","removeVnodes","nullifyVNodeRefs","isSameVnode","leftVNode","rightVNode","oldChildren","newChildren","defaultHolder","updateChildren","oldCh","newCh","elmToMove","oldStartIdx","newStartIdx","idxInOld","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","updateFallbackSlotVisibility","siblingNode","relocateNodes","markSlotContentForRelocation","hostContentNodes","isNodeLocatedInSlot","relocateNodeData","$nodeToRelocate$","$slotRefNode$","relocateNode","nodeToRelocate","vNode","attachToAncestor","hostRef","ancestorComponent","$onRenderResolve$","scheduleUpdate","isInitialLoad","$ancestorComponent$","dispatch","dispatchHooks","$lazyInstance$","maybePromise","$queuedListeners$","methodName","safeCall","enqueue","updateComponent","isPromisey","rc","$cmpMeta$","attachStyles","callRender","childrenPromises","postUpdate","postUpdateComponent","render","renderVdom","renderFnResults","$vnode$","rootVnode","isHost","$attrsToReflect$","propName","relocateData","orgLocationNode","parentNodeRef","insertBeforeNode","refNode","previousSibling","consoleError","addHydratedFlag","$onReadyResolve$","appDidLoad","$onInstanceResolve$","nextTick","forceUpdate","who","proxyComponent","Cstr","$members$","watchers","$watchers$","members","memberFlags","$instanceValues$","newVal","oldVal","parsePropertyValue","propValue","propType","areBothNaN","watchMethods","watchMethodName","$onInstancePromise$","attrNameToPropName","attributeChangedCallback","attrName","jmp","callbackName","observedAttributes","initializeComponent","hmrVersionId","loadModule","endLoad","isProxied","endNewInstance","fireConnectedCallback","computeMode","endRegisterStyles","setContentReference","contentRefElm","disconnectInstance","disconnectedCallback","$rmListeners$","rmListener","$onReadyPromise$","bootstrapLazy","lazyBundles","cmpTags","exclude","customElements","metaCharset","visibilityStyle","deferredConnectedCallbacks","appLoadFallback","isBootstrapping","resourcesUrl","baseURI","lazyBundle","compactMeta","$listeners$","HostElement","registerHost","delegatesFocus","connectedCallback","endConnected","addHostEventListeners","initializeClientHydrate","$orgLocNodes$","orgLocationId","supportsShadow","shadowRootNode","$lazyBundleId$","define","attachParentListeners","getHostListenerTarget","hostListenerProxy","hostListenerOpts","hostRefs","registerInstance","lazyInstance","cmpModules","exportName","module","importedModule","setPlatformHelpers","helpers","queueDomReads","queueDomWrites","queueTask","queue","write","consume","promiseResolve","readTask","baseAnimation","isIos","menuOverlayAnimation","closedX","openedX","menuAnimation","backdropAnimation","menuInnerEl","getIonMode","opacity","backdropEl","menuPushAnimation","contentOpenedX","menuClosedX","contentAnimation","menuRevealAnimation","contentOpen","menuController","createMenuController","menuAnimations","menus","menuEl","getOpen","toggle","shouldEnable","swipeGesture","_ref8","logOnMultipleSideMenus","waitUntilReady","menuRefs","sideMenuRefs","menuId","_ref9","_getOpenSync","getMenus","_ref10","getMenusSync","isAnimating","_ref11","isAnimatingSync","registerAnimation","_setOpen","_ref12","shouldOpen","openedMenu","setOpen","_x11","_x12","_x13","_isOpen","predicate","openMenu","_createAnimation","menuCmp","_register","_unregister","listenerOpts","supportsPassive","__zone_symbol__addEventListener","_sPassive","getDocument","Document","hasCapturedPan","hasStartedPan","hasFiredStart","isMoveQueued","finalConfig","gesturePriority","maxAngle","onWillStart","notCaptured","blurOnStart","startX","startY","velocityX","velocityY","deltaX","deltaY","pan","createPanRecognizer","thresh","radians","isDirX","maxCosine","dirty","isPan","detect","distance","hypotenuse","cosine","isGesture","fireOnMove","tryToCapturePan","fireOnStart","blurActiveElement","activeElement","blur","pointerUp","tmpHasCaptured","tmpHasFiredStart","calcGestureData","pointerEvents","createPointerEvents","pointerDown","pointerMove","rmTouchStart","rmTouchMove","rmTouchEnd","rmTouchCancel","rmMouseStart","rmMouseMove","rmMouseUp","lastTouchEvent","handleTouchStart","handleTouchEnd","handleMouseDown","handleMouseUp","stopTouch","stopMouse","updateDetail","abortGesture","prevX","prevY","prevT","timeDelta","iosEnterAnimation","wrapperAnimation","iosLeaveAnimation","mdEnterAnimation","mdLeaveAnimation","ActionSheet","didPresent","willPresent","willDismiss","didDismiss","didPresentShorthand","willPresentShorthand","willDismissShorthand","didDismissShorthand","delegateController","createDelegateController","lockController","createLockController","triggerController","createTriggerController","presented","onBackdropTap","BACKDROP","dispatchCancelHandler","isCancel","cancelButton","getButtons","callButtonHandler","overlayIndex","hasController","keyboardClose","enterAnimation","leaveAnimation","subHeader","translucent","htmlAttributes","onIsOpenChange","triggerChanged","addClickListener","unlock","dismissed","eventMethod","onWillDismiss","buttonClick","prepareOverlay","removeClickListener","componentWillLoad","setOverlayId","componentDidLoad","groupEl","wrapperEl","scrollHeight","clientHeight","refEl","allButtons","headerID","tabindex","getClassMap","onIonActionSheetWillDismiss","onIonBackdropTap","tappable","buttonClass","lazy","md","customHTMLEnabled","processedInputs","processedButtons","onKeydown","inputTypes","radios","radio","nextEl","nextProcessed","rbClick","buttonsChanged","btn","inputsChanged","first","focusable","inputType","placeholder","selectedInput","activeId","cbClick","getValues","returnData","checkedInput","renderAlertInputs","renderCheckbox","renderRadio","renderInput","tabIndex","inputClass","onInput","renderAlertButtons","renderAlertMessage","msgId","hdrId","subHdrId","Y","onIonAlertWillDismiss","Loading","showBackdrop","durationTimeout","renderLoadingMessage","fe","visible","Style","Dark","Default","StatusBar","supportsDefaultStatusBarStyle","getStyle","getInfo","getBackdropValueForSheet","backdropBreakpoint","slope","setCardStatusBarDark","setCardStatusBarDefault","handleCanDismiss","GESTURE","calculateSpringStep","computeDuration","remaining","velocity","createSheetEnterAnimation","currentBreakpoint","shouldShowBackdrop","initialBackdrop","createSheetLeaveAnimation","backdropValue","defaultBackdrop","customBackdrop","presentingEl","hasCardModal","presentingElement","presentingElRoot","presentingAnimation","overflow","bodyEl","transformOffset","CSS","supports","finalTransform","borderRadius","shadowAnimation","Modal","ionBreakpointDidChange","ionMount","coreDelegate","isSheetModal","inheritedAttributes","gestureAnimationDismissing","onHandleClick","sheetTransition","handleBehavior","moveToNextBreakpoint","onLifecycle","modalEvent","usersElement","LIFECYCLE_MAP","keepContentsMounted","breakpointsChanged","sortedBreakpoints","getDelegate","force","workingDelegate","checkCanDismiss","statusBarStyle","keyboardOpenCallback","KEYBOARD_DID_OPEN","initSheetGesture","initSwipeToClose","createSwipeToCloseGesture","onDismiss","canDismissBlocksGesture","scrollEl","lastStep","scrollTop","isAttemptingDismissWithCanDismiss","maxStep","processedStep","clampedStep","DISMISS_THRESHOLD","shouldComplete","newStepValue","moveSheetToBreakpoint","createSheetGesture","getCurrentBreakpoint","onBreakpointChange","SheetDefaults","WRAPPER_KEYFRAMES","BACKDROP_KEYFRAMES","maxBreakpoint","minBreakpoint","enableBackdrop","disableBackdrop","breakpoint","breakpointOffset","shouldPreventDismiss","snapToBreakpoint","shouldRemainOpen","content","secondToLastBreakpoint","diff","sheetOnDismiss","enteringAnimation","activeAnimations","setCurrentBreakpoint","allowedBreakpoints","nextBreakpointIndex","nextBreakpoint","showHandle","isCardModal","isHandleCycle","St","onIonModalDidPresent","onIonModalWillPresent","onIonModalWillDismiss","onIonModalDidDismiss","ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","getPopoverDimensions","triggerEl","contentDimentions","contentHeight","contentWidth","configureTriggerInteraction","triggerAction","popoverEl","triggerCallbacks","hoverTimeout","presentFromTrigger","getIndexOfItem","focusItem","configureKeyboardInteraction","targetTagName","getParentPopover","nextItem","getNextItem","currentItem","prevItem","getPrevItem","firstItem","lastItem","isTriggerElement","rightEvent","getPopoverPosition","arrowWidth","arrowHeight","align","defaultPosition","referenceCoordinates","actualTriggerEl","ionShadowTarget","triggerBoundingBox","coordinates","calculatePopoverSide","alignedCoordinates","calculatePopoverAlign","arrowTop","arrowLeft","calculateArrowPosition","originX","originY","calculatePopoverOrigin","getOriginXAlignment","getOriginYAlignment","leftPosition","rightPosition","sideLeft","sideRight","calculatePopoverCenterAlign","calculatePopoverEndAlign","calculateWindowAdjustment","coordTop","coordLeft","bodyPadding","bodyWidth","bodyHeight","safeAreaMargin","contentOriginX","contentOriginY","triggerCoordinates","coordArrowTop","coordArrowLeft","checkSafeAreaLeft","checkSafeAreaRight","triggerTop","triggerHeight","addPopoverBottomClass","defaultView","arrowEl","referenceSizeEl","getArrowDimensions","margin","leftValue","shouldShowArrow","didAdjustBounds","viewportAnimation","Popover","parentPopover","focusDescendantOnPresent","destroyTriggerInteraction","destroyKeyboardInteraction","configureDismissInteraction","destroyDismissInteraction","parentPopoverEl","dismissCallbacks","parentContentEl","dismissOnSelect","alignment","arrow","keyboardEvents","onTriggerChange","popoverId","focusDescendant","focusFirstDescendant","dismissParentPopover","shouldDismiss","desktop","isPlatform","enableArrow","Ue","onIonPopoverDidPresent","onIonPopoverWillPresent","onIonPopoverWillDismiss","onIonPopoverDidDismiss","ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","topPosition","Toast","revealContentToScreenReader","positionAnchor","animationPosition","getAnimationPosition","warnIfAnchorIsHidden","offsetParent","box","getAnchorElement","anchor","lastPresentedPosition","foundEl","renderButtons","buttonPart","renderToastMessage","ariaHidden","renderHeader","startButtons","endButtons","wrapperClass","createColorClasses","pe","onIonToastWillDismiss","Config","configObj","getBoolean","NaN","IONIC_PREFIX","IONIC_SESSION_KEY","winOrPlatform","setupPlatforms","getPlatforms","detectPlatforms","customPlatformMethods","PLATFORMS_MAP","customMethod","isIpad","testUserAgent","isAndroid","matchMedia","isHybrid","isCapacitorNative","ipad","iphone","phablet","smallest","largest","tablet","isAndroidTablet","electron","pwa","mobile","hybrid","defaultMode","userConfig","platformHelpers","_ce","configStr","sessionStorage","configFromSession","persistConfig","configFromURL","saveConfig","isIonicElement","isAllowedIonicModeValue","elmMode","getClonedElement","getLargeTitle","activeTab","getBackButton","backDirection","buttonsList","parentHeader","activeHeader","backButton","buttonsCollapse","animateBackButton","rootAnimation","rtl","backButtonEl","largeTitleBox","backButtonBox","BACK_BUTTON_START_OFFSET","START_TEXT_TRANSLATE","END_TEXT_TRANSLATE","ICON_TRANSLATE","TEXT_ORIGIN_X","ICON_ORIGIN_X","TEXT_KEYFRAMES","ICON_KEYFRAMES","enteringBackButtonTextAnimation","enteringBackButtonIconAnimation","clonedBackButtonEl","backButtonTextEl","backButtonIconEl","animateLargeTitle","largeTitleEl","TITLE_START_OFFSET","START_TRANSLATE","ORIGIN_X","KEYFRAMES","clonedTitleEl","clonedLargeTitleAnimation","innerText","navEl","EASING","OPACITY","TRANSFORM","CENTER","OFF_RIGHT","OFF_LEFT","headerEls","enteringToolBarEls","enteringContentAnimation","navDecorAnimation","OFF_OPACITY","enteringTransitionEffectEl","enteringTransitionCoverEl","enteringTransitionShadowEl","enteringTransitionEffect","enteringTransitionCover","enteringTransitionShadow","enteringContentHasLargeTitle","forward","backward","createLargeTitleTransition","enteringBackButton","leavingLargeTitle","enteringLargeTitle","leavingBackButton","shouldAnimationForward","shouldAnimationBackward","leavingLargeTitleBox","enteringBackButtonBox","enteringLargeTitleBox","leavingBackButtonBox","enteringToolBarEl","enteringToolBar","enteringTitle","enteringToolBarButtons","inactiveHeader","buttonsToAnimate","isCollapseButton","enteringToolBarItems","enteringToolBarBg","enteringBackBtnText","leavingContent","leavingContentEl","leavingToolBarEls","leavingHeaderEls","leavingPage","leavingTransitionEffectEl","leavingTransitionCoverEl","leavingTransitionShadowEl","leavingTransitionEffect","leavingTransitionCover","leavingTransitionShadow","leavingToolBarEl","leavingToolBar","leavingTitle","leavingToolBarButtons","leavingToolBarItems","leavingToolBarItemEls","leavingToolBarBg","leavingBackBtnText","KeyboardResize","Body","Keyboard","getResizeMode","KEYBOARD_DID_CLOSE","previousVisualViewport","currentVisualViewport","keyboardOpen","resetKeyboardAssist","startKeyboardAssist","startNativeListeners","visualViewport","copyVisualViewport","onresize","trackViewportChanges","keyboardDidOpen","keyboardDidResize","setKeyboardOpen","keyboardDidClose","setKeyboardClose","fireKeyboardOpenEvent","fireKeyboardCloseEvent","scale","nativeEv","keyboardHeight","offsetTop","pageTop","pageLeft","waitPromise","OFF_BOTTOM","ionPageElement","enteringToolbarEle","rootTransition","lastOverlayIndex","lastId","createController","createOverlay","dismissOverlay","getTop","getPresentedOverlay","actionSheetController","popoverController","connectListeners","whenDefined","getAppRoot","focusableQueryString","overlay","firstInput","focusLastDescendant","lastInput","trapKeyboardFocus","lastOverlay","trapShadowFocus","lastFocus","trapScopedFocus","overlayRoot","overlayWrapper","overlayTag","getPresentedOverlays","getOverlays","isOverlayHidden","overlays","setRootAriaHidden","viewContainer","overlayAnimation","focusPreviousElementOnDismiss","overlayEl","previousElement","activeAni","_x14","_x15","_x16","_x17","onceEvent","defaultGate","_x18","targetEl","openOverlay","hostContext","cssClassMap","getClassList","SCHEME","openURL","Drivers","SecureStorage","IndexedDB","LocalForage","LocalStorage","defaultConfig","storeName","dbKey","driverOrder","_db","_secureStorageDriver","actualConfig","_config","db","setDriver","assertDb","iterate","dijkstra","single_source_shortest_paths","graph","predecessors","costs","cost_of_s_to_u","adjacent_nodes","cost_of_s_to_u_plus_cost_of_e","PriorityQueue","make","empty","cost","extract_shortest_path_from_predecessor_list","find_path","T","sorter","default_sorter","exports","second","_dereq_","scheduleDrain","Mutation","MutationObserver","WebKitMutationObserver","characterData","setImmediate","MessageChannel","channel","port1","onmessage","port2","scriptEl","draining","oldQueue","immediate","INTERNAL","REJECTED","FULFILLED","PENDING","resolver","outcome","safelyResolveThenable","QueueItem","onFulfilled","onRejected","callFulfilled","otherCallFulfilled","callRejected","otherCallRejected","unwrap","returnValue","getThen","thenable","onSuccess","tryCatch","tryToUnwrap","iterable","resolved","allResolver","resolveFromAll","outValue","race","_typeof","idb","getIDB","webkitIndexedDB","mozIndexedDB","OIndexedDB","msIndexedDB","createBlob","Blob","BlobBuilder","MSBlobBuilder","MozBlobBuilder","WebKitBlobBuilder","getBlob","Promise$1","executeCallback","executeTwoCallbacks","normalizeKey","getCallback","DETECT_BLOB_SUPPORT_STORE","supportsBlobs","dbContexts","READ_ONLY","READ_WRITE","_binStringToArrayBuffer","bin","ArrayBuffer","_checkBlobSupport","_checkBlobSupportWithoutCaching","txn","objectStore","onabort","oncomplete","matchedChrome","matchedEdge","_deferReadiness","dbInfo","dbContext","deferredOperation","deferredOperations","dbReady","_advanceReadiness","_rejectReadiness","_getConnection","upgradeNeeded","forages","dbArgs","openreq","createObjectStore","oldVersion","newVersion","onversionchange","_getOriginalConnection","_getUpgradedConnection","_isUpgradeNeeded","defaultVersion","isNewStore","objectStoreNames","isUpgrade","incVersion","_decodeBlob","encodedBlob","_isEncodedBlob","__local_forage_encoded_blob","_fullyReady","_initReady","_dbInfo","createTransaction","retries","tx","_tryReconnect","forage","asyncStorage","_initStorage","initPromises","_defaultConfig","_support","isIndexedDBValid","openDatabase","hasFetch","IDBKeyRange","req","openCursor","iterationNumber","cursor","continue","blobSupport","_encodeBlob","onloadend","readAsBinaryString","advanced","openKeyCursor","advance","dropInstance","currentConfig","deleteObjectStore","_forage2","onblocked","BASE_CHARS","BLOB_TYPE_PREFIX_REGEX","SERIALIZED_MARKER","TYPE_ARRAYBUFFER","TYPE_BLOB","toString$1","stringToBuffer","serializedString","encoded1","encoded2","encoded3","encoded4","bufferLength","bufferToString","localforageSerializer","serialize","valueType","marker","fileReader","readAsArrayBuffer","deserialize","blobType","SERIALIZED_MARKER_LENGTH","matcher","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Float32Array","Float64Array","createDbTable","executeSql","tryExecuteSql","sqlStatement","SYNTAX_ERR","rows","_setItem","retriesLeft","originalValue","serializer","sqlError","QUOTA_ERR","webSQLStorage","_initStorage$1","dbInfoPromise","isWebSQLValid","iterate$1","getItem$1","setItem$1","removeItem$1","clear$1","length$1","key$1","keys$1","dropInstance$1","storeNames","getAllStoreNames","operationInfo","dropTable","operations","_getKeyPrefix","keyPrefix","_isLocalStorageUsable","checkIfLocalStorageThrows","localStorageTestKey","localStorage","localStorageWrapper","_initStorage$2","isLocalStorageValid","iterate$2","keyPrefixLength","getItem$2","setItem$2","removeItem$2","clear$2","length$2","key$2","keys$2","itemKey","dropInstance$2","sameValue","searchElement","DefinedDrivers","DriverSupport","DefaultDrivers","INDEXEDDB","WEBSQL","LOCALSTORAGE","DefaultDriverOrder","OptionalDriverMethods","LibraryMethods","DefaultConfig","callWhenReady","localForageInstance","libraryMethod","_args","driverTypeKey","_classCallCheck","Constructor","driverName","_driverSet","_initDriver","_ready","_wrapLibraryMethodsWithReady","driverObject","complianceError","driverMethods","driverMethodName","methodNotImplementedFactory","_i","_len","optionalDriverMethod","configureMissingMethods","setDriverSupport","support","getDriver","getDriverPromise","getSerializer","serializerPromise","drivers","supportedDrivers","_getSupportedDrivers","setDriverToConfig","extendSelfWithDriver","_extend","oldDriverSetDone","initDriver","currentDriverIndex","driverPromiseLoop","libraryMethodsAndProperties","createInstance","localforage_js","canPromise","require","QRCode","CanvasRenderer","SvgRenderer","renderCanvas","renderFunc","argsNum","isLastArgCb","renderToDataURL","getSymbolSize","posCount","intervals","positions","getRowColCoords","posLength","Mode","ALPHA_NUM_CHARS","AlphanumericData","ALPHANUMERIC","getBitsLength","getLength","bitBuffer","BitBuffer","bufIndex","putBit","getLengthInBits","bit","BitMatrix","reservedBit","row","reserved","xor","isReserved","encodeUtf8","ByteData","BYTE","ECLevel","EC_BLOCKS_TABLE","EC_CODEWORDS_TABLE","errorCorrectionLevel","L","M","Utils","G15_BCH","getBCHDigit","EXP_TABLE","LOG_TABLE","KanjiData","KANJI","toSJIS","PATTERN000","PATTERN001","PATTERN010","PATTERN011","PATTERN100","PATTERN101","PATTERN110","PATTERN111","getMaskAt","maskPattern","Patterns","sameCountCol","sameCountRow","lastCol","lastRow","bitsCol","bitsRow","darkCount","modulesCount","pattern","setupFormatFunc","numPatterns","bestPattern","lowerPenalty","applyMask","penalty","getPenaltyN1","getPenaltyN2","getPenaltyN3","getPenaltyN4","VersionCheck","Regex","ccBits","dataStr","testNumeric","NUMERIC","testAlphanumeric","testKanji","NumericData","group","remainingNum","GF","coeff","divident","divisor","degree","poly","AlignmentPattern","FinderPattern","MaskPattern","ECCode","ReedSolomonEncoder","Version","FormatInfo","Segments","setupFormatInfo","matrix","getEncodedBits","createSymbol","segments","fromArray","estimatedVersion","rawSegments","rawSplit","getBestVersionForData","bestVersion","dataBits","createData","getCharCountIndicator","dataTotalCodewordsBits","getSymbolTotalCodewords","getTotalCodewordsCount","remainingByte","createCodewords","totalCodewords","dataTotalCodewords","ecTotalBlocks","getBlocksCount","blocksInGroup1","totalCodewordsInGroup1","dataCodewordsInGroup1","dataCodewordsInGroup2","ecCount","rs","dcData","ecData","maxDataSize","dataSize","moduleCount","modules","setupFinderPattern","getPositions","setupTimingPattern","setupAlignmentPattern","setupVersionInfo","setupData","inc","bitIndex","byteIndex","dark","getBestMask","toSJISFunc","setToSJISFunction","Polynomial","genPoly","generateECPolynomial","paddedData","remainder","buff","numeric","kanji","TEST_KANJI","TEST_NUMERIC","TEST_ALPHANUMERIC","getStringByteLength","unescape","getSegments","getSegmentsFromString","numSegs","alphaNumSegs","byteSegs","kanjiSegs","isKanjiModeEnabled","BYTE_KANJI","s2","getSegmentBitsLength","buildSingleSegment","modesHint","bestMode","getBestModeForData","seg","buildNodes","segs","buildGraph","table","prevNodeIds","nodeGroup","currentNodeIds","lastCount","prevNodeId","optimizedSegs","mergeSegments","curr","prevSeg","toSJISFunction","CODEWORDS_COUNT","digit","G18_BCH","getReservedBitsCount","getTotalBitsFromDataArray","totalBits","reservedBits","MIXED","usableBits","ecl","getBestVersionForMixedData","getCapacity","getBestVersionForDataLength","qrData","canvasEl","getCanvasElement","getImageWidth","image","createImageData","qrToImageData","clearCanvas","clearRect","putImageData","toDataURL","rendererOpts","quality","getColorAttrib","attrib","alpha","svgCmd","cmd","qrcodesize","bg","light","qrToPath","moveBy","newRow","lineLength","svgTag","hex2rgba","hexCode","hexValue","qrSize","getScale","imgData","qr","symbolSize","scaledMargin","palette","posDst","pxColor","_subscribe","hasError","thrownError","_throwIfClosed","lift","observerOrNext","isSubscriber","Subscriber","isObserver","isSubscription","errorContext","_trySubscribe","sink","promiseCtor","getPromiseCtor","Symbol_observable","pipeFromArray","toPromise","_bufferSize","_windowTime","_timestampProvider","dateTimestampProvider","_infiniteTimeWindow","isStopped","_trimBuffer","_innerSubscribe","_checkFinalizedStatuses","adjustedBufferSize","ObjectUnsubscribedError","createErrorClass","_super","currentObservers","subject","AnonymousSubject","observed","EMPTY_SUBSCRIPTION","arrRemove","COMPLETE_NOTIFICATION","createNotification","kind","EMPTY_OBSERVER","handleStoppedNotification","nextNotification","_next","errorNotification","_error","_complete","_bind","ConsumerObserver","partialObserver","handleUnhandledError","useDeprecatedNextContext","useDeprecatedSynchronousErrorHandling","captureError","reportUnhandledError","onStoppedNotification","timeoutProvider","defaultErrorHandler","UnsubscriptionError","initialTeardown","_parentage","_finalizers","initialFinalizer","finalizer","execFinalizer","teardown","_hasParent","_addParent","_removeParent","EMPTY","onUnhandledError","combineLatest","scheduler","popScheduler","resultSelector","popResultSelector","argsArgArrayOrObject","combineLatestInit","valueTransform","identity","maybeSchedule","active","remainingFirstValues","hasFirstValue","createOperatorSubscriber","createObject","mapOneOrManyArgs","executeSchedule","concatAll","mergeAll","observableFactory","innerFrom","remainingCompletions","remainingEmissions","sourceIndex","hasValue","observeOn","operate","subscribeOn","scheduleAsyncIterable","asyncIterator","scheduled","isInteropObservable","scheduleObservable","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","return","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","isEventTarget","isNodeStyleEventEmitter","toCommonHandlerRegistry","isJQueryStyleEventEmitter","off","subTarget","fromInteropObservable","obs","fromArrayLike","fromPromise","fromAsyncIterable","fromIterable","fromReadableStreamLike","readableStream","asyncIterable","asyncIterable_1","asyncIterable_1_1","e_1","__awaiter","__asyncValues","e_1_1","period","asyncScheduler","dueTime","intervalOrScheduler","intervalDuration","isScheduler","due","isValidDate","onNext","onComplete","onFinalize","OperatorSubscriber","shouldUnsubscribe","catchError","handledResult","innerSub","syncUnsub","distinctUntilChanged","comparator","keySelector","defaultCompare","previousKey","currentKey","finalize","concurrent","ii","mergeInternals","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","isComplete","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","bufferedValue","share","connector","resetOnError","resetOnComplete","resetOnRefCountZero","wrapperSource","resetConnection","hasErrored","cancelReset","resetAndUnsubscribe","conn","dest","handleReset","onSubscriber","configOrBufferSize","windowTime","innerSubscriber","innerIndex","outerIndex","seen","notifier","tapObserver","isUnsub","Action","work","intervalProvider","Scheduler","schedulerActionCtor","AsyncScheduler","SchedulerAction","_active","AsyncAction","recycleAsyncId","requestAsyncId","_scheduler","_execute","errorValue","getSymbolIterator","popNumber","objectProto","getKeys","isPOJO","createImpl","ctorFunc","isRoot","errorThrown","parentSubscription","repeat","scheduleSubscription","__asyncGenerator","__await","hasLift","liftedSource","callOrApply","fns","prev","toStringTag","__esModule","w","stat","forced","dontCallGetSet","sham","real","withoutSetter","IS_HTMLDDA","regeneratorRuntime","hasOwn","isPrototypeOf","__proto__","callee","getterFor","Arguments","getOwnPropertySymbols","parentWindow","ActiveXObject","facade","enforce","copyright","license","stopped","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","that","O","PromiseRejectionEvent","finally","CONSTRUCTOR","REJECTION_EVENT","SUBCLASSING","propertyIsEnumerable","Deno","versions","v8","foo","filterReject","getOwnPropertyNames","POLYFILL","arity","inspectSource","valueOf","keyFor","PROPER","CONFIGURABLE","IteratorPrototype","BUGGY_SAFARI_ITERATORS","U","EXISTS","codeAt","DOMTokenList","NodeList","fun","argv","prependListener","prependOnceListener","binding","cwd","chdir","umask","clearImmediate","Dispatch","importScripts","allSettled","any","N","V","K","J","tt","et","nt","rt","it","ot","parseObject","parseQuery","bindURL","updateURL","ct","ft","getAll","pt","ht","dt","getState","Bun","__WEBPACK_AMD_DEFINE_RESULT__","NODE_JS","JS_SHA1_NO_NODE_JS","COMMON_JS","JS_SHA1_NO_COMMON_JS","AMD","HEX_CHARS","EXTRA","SHIFT","OUTPUT_TYPES","createOutputMethod","Sha1","createMethod","nodeWrap","eval","Buffer","nodeMethod","createHash","h0","h1","h2","h3","h4","hBytes","lastByteIndex","arrayBuffer","sha1","MAX_SAFE_INTEGER","trunc","QObject","findChild","unsafe","useSetter","useSimple","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","getOwnPropertyDescriptors","ReferenceError","_invoke","sent","_sent","dispatchException","abrupt","resultName","nextLoc","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","completion","isGeneratorFunction","awrap","AsyncIterator","rval","delegateYield","AggregateError","cause","prepareStackTrace","fail","rejection","enter","exit","notified","reactions","initEvent","Pebble","try","MATRIX_A","UPPER_MASK","LOWER_MASK","mt","mti","init_by_array","init_seed","random_int","random_int31","random_incl","random_excl","random_long","ftp","file","ws","wss","vt","yt","_t","xt","bt","wt","It","kt","Et","Pt","At","Ct","Ot","Tt","Rt","Ut","scheme","cannotBeABaseURL","isSpecial","includesCredentials","parseHost","shortenPath","cannotHaveUsernamePasswordPort","setHref","getOrigin","Dt","getProtocol","setProtocol","getUsername","setUsername","getPassword","setPassword","getHost","setHost","getHostname","setHostname","getPort","setPort","getPathname","setPathname","getSearch","setSearch","getSearchParams","setHash","Lt","hostname","Mt","jt","createObjectURL","Nt","revokeObjectURL","Rr","Ur","Dr","Lr","Ht","Ft","Bt","Vt","Wt","Kt","qt","zt","Xt","Gt","Qt","Jt","$t","Yt","Zt","te","ee","ne","re","ie","oe","se","ae","ue","he","de","ve","ye","me","xe","be","Se","we","Ie","ke","Ee","Pe","Ae","Ce","Oe","Te","Re","De","Le","Me","je","Ne","He","Fe","Be","Ve","We","Ke","qe","ze","Xe","Ge","Qe","Je","$e","Ye","Ze","tn","Local","Session","Memory","clid_params","singular_p_params","singular_wp_params","utm_params","additional_params","Event","DeviceCustomUserId","FetchBanner","en","nn","rn","sn","an","un","cn","pn","hn","dn","vn","gn","yn","mn","_n","xn","bn","Sn","wn","In","kn","En","Pn","An","Cn","On","Tn","Rn","Un","Dn","Ln","Mn","UUID_REGEX","_getUserAgentInfo","MacOsPlatforms","MacOs","iOSPlatforms","WindowsPlatforms","Windows","Android","Linux","Unknown","memory","jsHeapSizeLimit","usedJSHeapSize","isValidUrl","parseQueryFromUrl","extractQueryStringWithFragment","isNullOrEmpty","WebParams","DeeplinkParam","PassthroughParam","DeferredDeeplinkParam","extractUrlWithPath","navigation","_getDataFromClientHints","HighEntropyValuesKeys","_sdkWrapper","_getCookieExpirationDate","CookieDomainKey","CookieExpiresKey","toGMTString","setTime","CookieExpirationInDays","userAgentData","_getClientHintsPlatform","PlatformKey","getHighEntropyValues","WebUrlMarketingParams","jn","Nn","Hn","Fn","Bn","Vn","Wn","_logLevel","Debug","Info","Warn","Kn","getAvailableStorageType","_storagePrefix","_isInitialized","Types","_isLocalStorageAvailable","_storage","_isSessionStorageAvailable","_buildMemoryStorage","_availableStorageType","StorageEnabledTestKey","StorageEnabledTestValue","qn","_singularConfig","getStoragePrefix","_singularDeviceIdStorage","GlobalStoragePrefix","_isFirstVisit","_newSessionIdNeeded","setWebUrl","loadSingularPersistentData","_sdidPersistMode","SdidPersistModeOff","_sdidPersistFailReason","_previousSdid","_singularDeviceId","_instanceId","_matchId","getSingularDeviceId","getCustomUserId","getSingularInstanceId","_persistSingularDeviceIdIfNeeded","StorageWebUrlKey","StorageTouchpointTimestampKey","_isWebUrlContainingMarketingData","_didWebUrlChange","_webUrl","_touchpointTimestamp","getCurrentTimestamp","SingularDeviceIdKey","SdidPersistModeManual","isUUID","_autoPersistDomain","getCookie","SdidPersistModeAuto","_getPersistentUUID","apikey","productId","_customUserId","CustomUserIdKey","SessionIdKey","_isNewSessionIdNeeded","getSessionId","_generateNewSessionId","setFirstPageVisitOccurred","setFirstPageVisitURL","saveSessionId","SingularInstanceIdKey","_setSessionId","DidVisitSiteKey","MatchIdKey","DidSendEventKeyBase","StorageLastEventTimestamp","FirstPageVisitOccurredKey","FirstPageVisitURL","customUserId","generateUUID","_getLastEventTimestamp","_isSessionTimeout","sessionTimeOutInSeconds","_instance","zn","Xn","Gn","_extra","_method","PostMethod","initApiParams","getInstance","updateLastEventTimestamp","_params","BrowserAvailableMemory","getBrowserAvailableMemory","BrowserUsedMemory","getBrowserUsedMemory","CustomUserId","CurrentDeviceTime","EventId","IsConversion","Keyspace","SingularDeviceId","Owner","getSingularConfig","PlatformWeb","ProductId","ScreenHeight","screen","ScreenWidth","SdkVersion","getSdkVersion","SingularInstanceId","StorageType","Timezone","getTimeZone","TouchpointTimestamp","getTouchpointTimestamp","UserAgent","UUID","getOS","OS","getClientHints","ClientHints","Extra","SessionId","Lag","_buildRequestBody","_buildQueryParams","_buildRequestUrl","ContentType","ContentTypeValue","RequestTimeoutMs","ontimeout","DONE","handleResponse","responseText","ValidResponseCode","Status","ValidResponse","PostParams","calculateHash","secret","BaseUrl","_endpoint","apiClasses","_apiType","Qn","Jn","$n","EventApi","Endpoints","EventProductName","IsRevenueEvent","IsFirstEvent","RevenueCurrency","RevenueAmount","Yn","Zn","tr","ConversionEventApi","WebUrl","getWebUrl","er","nr","rr","_loadQueueFromStorage","MaxApisInQueue","toJsonString","_saveQueueToStorage","isQueueEmpty","fromJsonString","ApiQueueKey","or","sr","getSessionIdForPageVisit","PageVisitEventName","PageVisitApi","DocumentReferrer","IsFirstVisit","isFirstVisit","IsPageRefreshed","isPageRefreshed","SdidPersistMode","getSdidPersistMode","IsFirstPageVisitInSession","getFirstPageVisitOccurred","ECID","getMatchID","getSdidPersistFailReason","SdidPersistFailedReason","getPreviousSdid","PreviousSdid","ar","CustomUserIdEventApi","ur","_skipFailed","_startSendingApis","_setSupportedApis","_isSendingApis","_storageQueue","TabClosed","_tabClosed","peek","sendRequest","dequeue","cr","fr","lr","pr","hr","FetchBannerApi","GetMethod","Locale","BannerShowsCounter","BannerSourceUrl","LastDismissed","meta","FetchBannerResponseLinkKey","isValidResponse","dr","BannerLastDismissedKey","isShowingBanner","bannersAPI","bannerElement","htmlToElement","fetchTemplate","bannerStyle","closeButton","getElementsByClassName","downloadButton","getBannerLastDismissed","fetchBanner","renderBanner","sendImpression","onDownloadClick","removeUrlChangeListener","placement","getElementClassName","setBannerLastDismissed","hideBanner","prepareLink","addUrlChangeListener","setBannerStyle","prepend","impression_link","enrichLinkData","link_overrides","bannersOptions","isWebToAppSupported","Er","buildWebToAppLink","Source","BannerName","BannerID","urlChangeInterval","showBanner","vr","gr","yr","xr","Sr","rng","mr","br","wr","_singularState","_apiManager","sendApi","_bannerManager","enrichUrlWithClipboardDdlFlow","setMatchID","clearMatchID","isSameApp","updateSingularConfig","getSelection","rangeCount","getRangeAt","removeAllRanges","addRange","deselectCurrent","createRange","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","selectNodeContents","execCommand","removeRange","ECID_PREFIX","copyToClipboard","extractMarketingData","appendQueryParamsToUrl","Ir","kr","_android_redirect","_android_dl","_android_ddl","_ios_redirect","_ios_dl","_ios_ddl","_singularInstance","_initFinished","withArgs","withRevenue","openAppWithClipboardDdl","enrichUrlWithMarketingData","isBannersSupported","withParams","MatchId","IsSetMatchId","getFirstPageVisitURL","Pr","_webToAppSupport","Ar","Cr","_apikey","_secret","_productId","_sessionTimeout","_productName","_initCallback","_bannersSupport","_bannersOptions","setLogLevel","setSdkWrapper","Or","Tr","webpackAsyncContext","ids","stateChangeExpr","_position","_onStart","triggerMicrotask","AnimationGroupPlayer","_players","doneCount","destroyCount","startCount","total","timeAtPosition","longestPlayer","longestSoFar","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","PlatformLocation","historyGo","relativePosition","BrowserPlatformLocation","LOCATION_INITIALIZED","_doc","_location","_history","getBaseHrefFromDOM","getBaseHref","onPopState","getGlobalEventTarget","onHashChange","newPath","back","go","joinWithSlash","slashes","stripTrailingSlash","pathEndIdx","normalizeQueryParams","LocationStrategy","PathLocationStrategy","APP_BASE_HREF","_platformLocation","_inject$location","_removeListenerFns","_baseHref","prepareExternalUrl","internal","includeHash","externalUrl","_this$_platformLocati","_this$_platformLocati2","HashLocationStrategy","_class5","_this$_platformLocati3","_this$_platformLocati4","_class6","locationStrategy","_subject","_urlChangeListeners","_urlChangeSubscription","_locationStrategy","baseHref","_basePath","_stripOrigin","_stripIndexHtml","_this$_urlChangeSubsc","isCurrentPathEqualTo","_stripBasePath","basePath","strippedUrl","_notifyUrlChangeListeners","_this$_locationStrate","_this$_locationStrate2","onUrlChange","fnIndex","_this$_urlChangeSubsc2","onThrow","onReturn","createLocation","ɵɵinject","CURRENCIES_EN","ADP","AFN","ALL","AOA","ARS","AUD","AZN","BAM","BBD","BDT","BHD","BIF","BMD","BND","BOB","BRL","BSD","BWP","BYN","BYR","BZD","CAD","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CZK","DJF","DKK","DOP","EGP","ESP","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GNF","GTQ","GYD","HKD","HNL","HRK","HUF","IDR","ILS","INR","IQD","IRR","ISK","ITL","JMD","JOD","JPY","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LTL","LUF","LVL","LYD","MGA","MGF","MMK","MNT","MRO","MUR","MXN","MYR","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PHP","PKR","PLN","PYG","RON","RSD","RUB","RWF","SBD","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STD","STN","SYP","THB","TMM","TND","TOP","TRL","TRY","TTD","TWD","TZS","UAH","UGX","UYI","UYU","UYW","UZS","VEF","VND","VUV","XAF","XCD","XOF","XPF","XXX","YER","ZAR","ZMK","ZMW","ZWD","NumberFormatStyle","Decimal","Percent","Scientific","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Long","Full","NumberSymbol","Group","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","TimeSeparator","CurrencyDecimal","CurrencyGroup","getLocaleDateFormat","locale","getLastDefinedValue","ɵfindLocaleData","ɵLocaleDataIndex","DateFormat","getLocaleTimeFormat","TimeFormat","getLocaleDateTimeFormat","dateTimeFormatData","DateTimeFormat","getLocaleNumberSymbol","symbol","NumberSymbols","checkFullData","ExtraData","LocaleId","extractTime","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","formatDate","timezone","toDate","isDate","createDate","parsedNb","isoStringToDate","tzHour","tzMin","dateSetter","setUTCFullYear","setFullYear","timeSetter","setUTCHours","setHours","getNamedFormat","dateTimezoneOffset","getTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","reverseValue","addDateMinutes","setMinutes","dateFormatter","getDateFormatter","DATE_FORMATS","formatter","dateStrGetter","dateGetter","weekNumberingYearGetter","weekGetter","timeZoneGetter","year","month","newDate","localeId","getLocaleId","formatValue","shortTime","shortDate","formatDateTime","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","opt_values","padNumber","digits","minusSign","negWrap","strNum","getDatePart","getDay","formatFractionalSeconds","localeMinus","extended","getDateTranslation","getLocaleMonthNames","formStyle","months","MonthsFormat","MonthsStandalone","getLocaleDayNames","DaysFormat","DaysStandalone","currentHours","currentMinutes","rules","getLocaleExtraDayPeriodRules","rule","dayPeriods","getLocaleExtraDayPeriods","afterFrom","beforeTo","getLocaleDayPeriods","amPm","DayPeriodsFormat","DayPeriodsStandalone","getLocaleEraNames","erasData","JANUARY","THURSDAY","getThursdayThisWeek","datetime","monthBased","nbDaysBefore1stDayOfMonth","today","thisThurs","firstThurs","getFirstThursdayOfYear","firstDayOfYear","requestedTimezoneOffset","NUMBER_FORMAT_REGEXP","MAX_DIGITS","DECIMAL_SEP","ZERO_CHAR","PATTERN_SEP","GROUP_SEP","DIGIT_CHAR","formatCurrency","currencyCode","digitsInfo","parseNumberFormat","minInt","minFrac","maxFrac","posPre","posSuf","negPre","negSuf","gSize","lgSize","patternParts","positive","positiveParts","integer","fraction","ch","groups","trunkLen","getLocaleNumberFormat","NumberFormats","getNumberOfCurrencyDigits","formatNumberToLocaleString","groupSymbol","decimalSymbol","isPercent","formattedText","parsedNumber","parseNumber","integerLen","zeros","numStr","exponent","toPercent","fractionLen","minFraction","maxFraction","minIntPart","minFractionPart","maxFractionPart","parseIntAutoRadix","roundNumber","fractionSize","roundAt","dropTrailingZeros","carry","parseCookieValue","cookieStr","eqIndex","cookieName","cookieValue","WS_REGEXP","EMPTY_ARRAY","NgClass","_class9","_iterableDiffers","_keyValueDiffers","_ngEl","initialClasses","klass","ngClass","rawClass","ngDoCheck","_updateState","_applyStateDiff","nextEnabled","changed","touched","stateEntry","_toggleClass","ɵdir","NgForOfContext","ngForOf","even","odd","NgForOf","_class11","_ngForOf","_ngForOfDirty","ngForTrackBy","_trackByFn","_viewContainer","_template","_differs","_differ","ngForTemplate","_applyChanges","forEachOperation","adjustedPreviousIndex","currentIndex","previousIndex","createEmbeddedView","move","applyViewChange","ilen","forEachIdentityChange","ngTemplateContextGuard","NgIf","_class12","templateRef","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","ngIf","_updateView","ngIfThen","assertTemplate","ngIfElse","ɵstringify","SwitchView","_viewContainerRef","_templateRef","_created","enforceState","created","NgSwitch","_class13","_defaultViews","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","ngSwitch","_ngSwitch","_updateDefaultCases","_addCase","_addDefault","_matchCase","matched","useDefault","NgSwitchCase","_class14","_view","ngSwitchCase","NgStyle","_class18","_ngStyle","ngStyle","_setStyle","nameAndUnit","RendererStyleFlags2","DashCase","forEachRemovedItem","forEachAddedItem","currentValue","forEachChangedItem","NgTemplateOutlet","_class19","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector","viewContainerRef","invalidPipeArgumentError","SubscribableStrategy","createSubscription","updateLatestValue","untracked","dispose","PromiseStrategy","_promiseStrategy","_subscribableStrategy","AsyncPipe","_class20","_latestValue","_obj","_strategy","_dispose","_selectStrategy","_updateLatestValue","ɵisPromise","ɵisSubscribable","ɵpipe","UpperCasePipe","_class23","DATE_PIPE_DEFAULT_TIMEZONE","DATE_PIPE_DEFAULT_OPTIONS","DatePipe","_class24","defaultTimezone","_this$defaultOptions","_this$defaultOptions2","dateFormat","_timezone","LOCALE_ID","_class31","_locale","_defaultCurrencyCode","isValue","getCurrencySymbol","getLocaleCurrencies","Currencies","symbolNarrow","strToNumber","DEFAULT_CURRENCY_CODE","_class33","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","ViewportScroller","_class34","ɵɵdefineInjectable","BrowserViewportScroller","setOffset","getScrollPosition","supportsScrolling","pageXOffset","pageYOffset","scrollToPosition","scrollToAnchor","elSelected","findAnchorFromDocument","documentResult","getElementsByName","createTreeWalker","treeWalker","NodeFilter","SHOW_ELEMENT","currentNode","nextNode","scrollToElement","setHistoryScrollRestoration","scrollRestoration","rect","XhrFactory","HttpHandler","HttpBackend","normalizedNames","lazyUpdate","lazyInit","maybeSetNormalizedName","setHeaderEntries","lcName","copyFrom","applyUpdate","toDelete","existing","headerValues","HttpUrlEncodingCodec","encodeKey","standardEncoding","encodeValue","decodeKey","decodeValue","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","_STANDARD_ENCODING_RE","valueToString","HttpParams","updates","cloneFrom","fromObject","paramParser","rawParams","codec","param","eqIdx","appendAll","eKey","idx","HttpContext","isArrayBuffer","isBlob","isFormData","HttpRequest","third","fourth","reportProgress","withCredentials","mightHaveBody","urlWithParams","qIdx","serializeBody","isUrlSearchParams","detectContentTypeHeader","_update$context","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","User","HttpResponseBase","defaultStatus","defaultStatusText","HttpHeaderResponse","addBody","events$","res$","jsonp","callbackParam","interceptorChainEndFn","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","downstreamRequest","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","legacyInterceptorFnFactory","chain","_inject2","pendingTasks","ɵInitialRenderPendingTasks","HttpInterceptorHandler","backend","dedupedInterceptorFns","nextSequencedFn","interceptorFn","chainedInterceptorFn","runInContext","XSSI_PREFIX","HttpXhrBackend","xhrFactory","ɵloadImpl","detectedType","reqBody","headerResponse","partialFromXhr","getAllResponseHeaders","getResponseUrl","responseURL","getResponseHeader","originalBody","sentHeaders","onDownProgress","progressEvent","loaded","lengthComputable","partialText","onUpProgress","upload","XSRF_ENABLED","XSRF_COOKIE_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","_class7","lastCookieString","lastToken","parseCount","cookieString","ɵparseCookieValue","xsrfInterceptorFn","lcUrl","HttpFeatureKind","Interceptors","LegacyInterceptors","CustomXsrfConfiguration","NoXsrfProtection","JsonpSupport","RequestsMadeViaParent","Fetch","makeHttpFeature","ɵkind","ɵproviders","provideHttpClient","useExisting","feature","makeEnvironmentProviders","LEGACY_INTERCEPTOR_FN","_class10","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","overriddenName","newLineIndex","concatStringsWithSpace","after","__forward_ref__","forwardRef","forwardRefFn","resolveForwardRef","isForwardRef","isEnvironmentProviders","XSS_SECURITY_URL","RuntimeError","formatRuntimeError","renderStringify","throwProviderNotFoundError","injectorName","assertDefined","throwError","expected","comparison","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","ngInjectableDef","ngInjectorDef","InjectFlags","Self","SkipSelf","Optional","_injectImplementation","getInjectImplementation","setInjectImplementation","previous","injectRootLimpMode","notFoundValue","injectableDef","_global","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NEW_LINE","SOURCE","_currentInjector","setCurrentInjector","former","injectInjectorOnly","convertToBitFlags","skipSelf","injectArgs","flag","getInjectFlag","attachInjectFlag","decorator","noSideEffects","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","Emulated","ShadowDom","NG_COMP_DEF","ɵcmp","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_FACTORY_DEF","NG_ELEMENT_ID","__NG_ELEMENT_ID__","NG_ENV_ID","__NG_ENV_ID__","classIndexOf","classToSearch","startingIndex","foundIndex","setUpAttributes","native","attrs","namespaceURI","attrVal","isAnimationProp","isNameOnlyAttributeMarker","mergeHostAttrs","dst","srcMarker","mergeHostAttribute","markerInsertPosition","dstValue","NG_TEMPLATE_SELECTOR","isCssClassMatching","cssClassToMatch","isProjectionMode","isImplicitAttrsSection","isInlineTemplate","tNode","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","current","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","compareAgainstClassName","bindingsMode","maybeAttrName","matchTemplateAttribute","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","chunk","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","ɵɵdefineComponent","componentDefinition","_componentDefinition$","baseDef","getNgDirectiveDef","ngContentSelectors","onPush","directiveDefs","pipeDefs","dependencies","getStandaloneInjector","signals","schemas","tView","initFeatures","extractDefListOrFactory","getComponentId","componentDef","hashSelectors","hostVars","hostAttrs","exportAs","contentQueries","imul","extractDirectiveDef","getComponentDef","getDirectiveDef","nonNull","ɵɵdefineNgModule","declarations","transitiveCompileScopes","invertObject","secondary","newLookup","minifiedKey","publicName","declaredName","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","getPipeDef$1","getNgModuleDef","throwNotFound","ngModuleDef","declaredInputs","providersResolver","hostBindings","inputTransforms","inputConfig","setInput","findHostDirectiveDefs","hostDirectives","definition","_definition$features","defExtractor","dep","HOST","TVIEW","FLAGS","PARENT","NEXT","DESCENDANT_VIEWS_TO_REFRESH","T_HOST","CLEANUP","CONTEXT","INJECTOR$1","ENVIRONMENT","RENDERER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","ID","EMBEDDED_VIEW_INJECTOR","ON_DESTROY_HOOKS","HYDRATION","REACTIVE_TEMPLATE_CONSUMER","REACTIVE_HOST_BINDING_CONSUMER","HEADER_OFFSET","TYPE","HAS_TRANSPLANTED_VIEWS","MOVED_VIEWS","CONTAINER_HEADER_OFFSET","isLView","isLContainer","isContentQueryHost","isComponentHost","componentOffset","isDirectiveHost","isComponentDef","isRootView","getFactoryDef","SIGNAL","defaultEquals","activeConsumer","inNotificationPhase","setActiveConsumer","consumer","REACTIVE_NODE","producerNode","producerLastReadVersion","producerIndexOfThis","nextProducerIndex","liveConsumerNode","liveConsumerIndexOfThis","consumerAllowSignalWrites","consumerIsAlwaysLive","producerMustRecompute","producerRecomputeValue","consumerMarkedDirty","producerAccessed","assertConsumerNode","consumerIsLive","producerRemoveLiveConsumerAtIndex","producerAddLiveConsumer","producerUpdateValueVersion","consumerPollProducersForChange","producerNotifyConsumers","consumerMarkDirty","producerUpdatesAllowed","_activeConsumer","_node$consumerMarkedD","consumerBeforeComputation","consumerAfterComputation","prevConsumer","producer","seenVersion","consumerDestroy","indexOfThis","assertProducerNode","lastIdx","idxProducer","_node$liveConsumerNod","_node$liveConsumerNod2","_node$producerNode","_node$producerIndexOf","_node$producerLastRea","_node$liveConsumerNod3","_node$liveConsumerInd","computation","COMPUTED_NODE","equal","ERRORED","UNSET","COMPUTING","throwInvalidWriteToSignalErrorFn","defaultThrowError","throwInvalidWriteToSignalError","postSignalSetFn","initialValue","SIGNAL_NODE","signalFn","signalSetFn","signalUpdateFn","mutate","signalMutateFn","signalAsReadonlyFn","readonlyFn","signalValueChanged","_postSignalSetFn","updater","mutator","nonReactiveReadsFn","NOOP_CLEANUP_FN","WATCH_NODE","hasRun","cleanupFn","SimpleChange","firstChange","isFirstChange","ɵɵNgOnChangesFeature","NgOnChangesFeatureImpl","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","privateName","setSimpleChangesStore","SIMPLE_CHANGES_STORE","previousChange","ngInherit","profiler","hookOrListener","SVG_NAMESPACE","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","load","getComponentLViewByIndex","nodeIndex","hostView","slotValue","getConstant","resetPreOrderHookFlags","markViewForRefresh","updateViewsToRefresh","clearViewRefreshFlag","viewOrContainer","storeLViewOnDestroy","onDestroyCallback","instructionState","lFrame","createLFrame","bindingsEnabled","skipHydrationRootTNode","getBindingsEnabled","isInSkipHydrationBlock$1","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","ɵɵresetView","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","setCurrentTNode","isParent","isCurrentTNodeParent","setCurrentTNodeAsNotParent","getBindingRoot","bindingRootIndex","bindingStartIndex","nextBindingIndex","bindingIndex","incrementBindingIndex","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentQueryIndex","setCurrentQueryIndex","getDeclarationTNode","declTNode","enterDI","parentTNode","parentLView","allocLFrame","enterView","newView","newLFrame","inI18n","currentLFrame","childLFrame","selectedIndex","elementDepthCount","currentNamespace","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","_wasLastNodeCreated","wasLastNodeCreated","lastNodeWasCreated","registerPostOrderHooks","directiveStart","directiveEnd","lifecycleHooks","ngAfterContentInit","ngAfterContentChecked","ngAfterViewChecked","_tView$contentHooks","_tView$contentHooks2","_tView$contentCheckHo","_tView$viewHooks","_tView$viewHooks2","_tView$viewCheckHooks","_tView$destroyHooks","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","callHookInternal","directive","isInitHook","NO_PARENT_INJECTOR","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorView","startView","viewOffset","getParentInjectorViewOffset","parentView","includeViewProviders","setIncludeViewProviders","BLOOM_MASK","BLOOM_BUCKET_BITS","nextNgElementId","NOT_FOUND","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentData","footer","declarationViewOffset","lViewCursor","getTNodeFromLView","diPublicInInjector","bloomAdd","bloomHash","notFoundValueOrThrow","lookupTokenUsingModuleInjector","moduleInjector","previousInjectImplementation","getOrCreateInjectable","embeddedInjectorValue","lookupTokenUsingEmbeddedInjector","currentLView","nodeInjectorValue","lookupTokenUsingNodeInjector","embeddedViewInjector","embeddedViewInjectorValue","bloomHashBitOrFactory","tokenId","createNodeInjector","previousTView","hostTElementNode","shouldSearchParent","bloomHasToken","searchTokensOnInjector","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","endIndex","providerTokenOrDef","dirDef","tData","isFactory","throwCyclicDependencyError","depPath","stringifyForError","previousIncludeViewProviders","registerPreOrderHooks","directiveIndex","directiveDef","_tView$preOrderHooks","_tView$preOrderCheckH","wrappedOnChanges","preOrderHooks","preOrderCheckHooks","_tView$preOrderHooks2","_tView$preOrderHooks3","_tView$preOrderCheckH2","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","ɵɵgetInheritedFactory","ownConstructor","ownFactory","getFactoryOf","objectPrototype","tViewType","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","attrsLength","PARAMETERS","makeParamDecorator","parentClass","metaCtor","makeMetadataCtor","ParamDecoratorFactory","annotationInstance","ParamDecorator","annotation","unusedKey","parameters","ngMetadataName","annotationCls","deepForEach","addToArray","removeFromArray","newArray","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","arrayInsert2","value1","value2","keyValueArrayGet","_arrayIndexOfSorted","middle","hasInSkipHydrationBlockFlag","Important","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","TRACKED_LVIEWS","uniqueIdCounter","MONKEY_PATCH_KEY_NAME","attachPatchData","registerLView","_icuContainerIterate","icuContainerIterate","tIcuContainerNode","getLViewParent","getFirstLContainer","getNearestLContainer","getNextLContainer","applyToElementOrContainer","lNodeToHandle","beforeNode","lContainer","isComponent","rNode","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","nativeParent","nativeParentNode","nativeRemoveChild","applyContainer","parentRElement","applyView","createCommentNode","escapeCommentText","createElementNode","detachMovedView","declarationContainer","movedViews","declarationViewIndex","detachView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","removeViewFromDOM","lQueries","destroyLView","destroyViewTree","rootView","lViewOrLContainer","cleanUpView","firstView","executeOnDestroys","toCall","callContext","processCleanups","tCleanup","lCleanup","targetIdx","destroyHooksFn","unregisterLView","getParentRElement","getClosestRElement","nativeAppendOrInsertBefore","getInsertInFrontOfRNode","_getInsertInFrontOfRNodeWithI18n","_processI18nInsertBefore","policy$1","policy","getInsertInFrontOfRNodeWithNoI18n","childRNode","childTNode","parentRNode","anchorNode","getFirstNativeNode","tNodeType","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","projectionNodes","getProjectionNodes","projection","viewIndexInContainer","nextViewIndex","firstTNodeOfView","applyNodes","isProjection","rawSlotValue","nextRNode","applyProjectionRecursive","projectionNext","tProjectionNode","componentLView","nodeToProjectOrRNodes","nodeToProject","projectedComponentLView","writeDirectClass","setupStaticAttributes","mergedAttrs","writeDirectStyle","trustedHTMLFromString","html","_getPolicy$","getPolicy$1","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","setDocument","getPolicy","trustedHTMLFromStringBypass","_getPolicy","trustedScriptURLFromStringBypass","_getPolicy3","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","getTypeName","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","DOMParserHelper","inertDocumentHelper","getInertBodyElement","DOMParser","parseFromString","InertDocumentHelper","defaultDoc","inertDocument","implementation","createHTMLDocument","templateEl","SAFE_URL_PATTERN","_sanitizeUrl","tagSet","merge","sets","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","sanitizeChildren","traverseContent","Node","ELEMENT_NODE","startElement","TEXT_NODE","endElement","checkClobberedElement","elAttrs","elAttr","lower","encodeEntities","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","outerHTML","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","getInertBodyHelper","isDOMParserAvailable","unsafeHtml","mXSSAttempts","parsedHtml","getTemplateContent","isTemplateElement","SecurityContext","NONE","HTML","STYLE","SCRIPT","RESOURCE_URL","ɵɵsanitizeHtml","sanitizer","getSanitizer","sanitize","ɵɵsanitizeUrl","unsafeUrl","ɵɵsanitizeResourceUrl","unsafeResourceUrl","ɵɵsanitizeUrlOrResourceUrl","getUrlSanitizer","_desc","ENVIRONMENT_INITIALIZER","INJECTOR","INJECTOR_DEF_TYPES","NullInjector","importProvidersFrom","internalImportProvidersFrom","ɵfromNgModule","checkForStandaloneCmp","providersOut","dedup","injectorTypesWithProviders","collectProviders","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","deepForEachProvider","defType","injDef","cmpDef","isDuplicate","importTypesWithProviders","imported","defProviders","injectorType","USE_VALUE$1","isValueProvider","isTypeProvider","INJECTOR_SCOPE","NOT_YET","CIRCULAR","NULL_INJECTOR","getNullInjector","EnvironmentInjector","R3Injector","scopes","records","_ngOnDestroyHooks","_onDestroyHooks","forEachSingleProvider","processProvider","makeRecord","injectorDefTypes","assertNotDestroyed","onDestroyHooks","removeOnDestroy","previousInjector","couldBeInjectableType","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","catchInjectorError","injectorErrorName","tokenPath","formatError","resolveInjectorInitializers","initializers","initializer","providerToRecord","providerToFactory","multiRecord","hasOnDestroy","destroyCBIdx","getUndecoratedInjectableFactory","paramLength","inheritedInjectableDef","getInheritedInjectableDef","ngModuleType","unwrappedProvider","isFactoryProvider","isExistingProvider","classRef","hasDeps","APP_ID","DEFAULT_APP_ID","PLATFORM_INITIALIZER","CSP_NONCE","_getDocument$body","_retrieveHydrationInfoImpl","retrieveHydrationInfo","ComponentRef$1","ComponentFactory$1","_NullComponentFactoryResolver","resolveComponentFactory","noComponentFactoryError","ComponentFactoryResolver$1","NULL","injectElementRef","createElementRef","ElementRef","unwrapElementRef","Renderer2","injectRenderer2","nodeAtIndex","Sanitizer","full","minor","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","prevInjector","assertInInjectionContext","debugFn","getCurrentInjector","createInjector","additionalProviders","createInjectorWithoutInjectorInstances","_options$name","getOriginalError","_console","originalError","_findOriginalError","DestroyRef","injectDestroyRef","NodeInjectorDestroyRef","removeLViewOnDestroy","_wrapInTimeout","EventEmitter_","isAsync","__isAsync","nextFn","errorFn","completeFn","_observer$next","_observer$error","_observer$complete","enableLongStackTrace","shouldCoalesceEventChangeDetection","shouldCoalesceRunChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","onStable","assertZonePatched","_nesting","_outer","_inner","TaskTrackingZoneSpec","longStackTraceZoneSpec","lastRequestAnimationFrameId","nativeRequestAnimationFrame","getNativeRequestAnimationFrame","nativeCancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","forkInnerZoneWithAngularBehavior","delayChangeDetectionForEventsDelegate","delayChangeDetectionForEvents","isCheckStableRunning","fakeTopEventTask","scheduleEventTask","updateMicroTaskStatus","checkStable","invoke","isAngularZone","onInvokeTask","applyThis","applyArgs","shouldBeIgnoredByZone","_applyArgs$0$data","__ignore_ng_zone__","invokeTask","onEnter","onLeave","onInvoke","onHasTask","hasTaskState","hasTask","_hasPendingMicrotasks","microTask","macroTask","onHandleError","isInAngularZone","assertInAngularZone","assertNotInAngularZone","runTask","EMPTY_PAYLOAD","cancelTask","runGuarded","NoopNgZone","ZONE_IS_STABLE_OBSERVABLE","isStableFactory","_stable","merge$1","stableSub","unstableSub","ɵɵresolveWindow","ɵɵresolveDocument","maybeUnwrapFn","AfterRenderEventManager","_class8","renderDepth","_this$handler","validateBegin","_this$handler2","_this$handler3","markViewDirty","PRESERVE_HOST_CONTENT","currentConsumer","getReactiveLViewConsumer","_lView$slot","getOrCreateCurrentLViewConsumer","commitLViewConsumerIfHasProducers","_consumer$producerNod","createLViewConsumer","REACTIVE_LVIEW_CONSUMER_NODE","_currentConsumer","NO_CHANGE","ɵɵadvance","selectIndexInternal","checkNoChangesMode","ɵɵdirectiveInject","ɵɵinvalidFactory","createLView","tHostNode","hydrationInfo","getUniqueLViewId","getOrCreateTNode","createTNodeAtIndex","createTNode","tParent","insertBeforeIndex","directiveStylingLast","propertyBindings","localNames","initialInputs","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","isInI18nBlock","getCurrentParentTNode","allocExpando","numSlotsToAlloc","allocIdx","executeTemplate","templateFn","prevSelectedIndex","isUpdatePhase","effectiveConsumer","executeContentQueries","createDirectivesInstances","instantiateAllDirectives","addComponentLogic","hostTNode","getOrCreateComponentTView","lViewFlags","componentView","addToViewTree","setInputsFromAttrs","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localIndex","incompleteFirstPass","createTView","directives","pipes","constsOrFactory","ssrId","initialViewLength","createViewBlueprint","queries","expandoStartIndex","hostBindingOpCodes","firstUpdatePass","staticViewQueries","staticContentQueries","directiveRegistry","pipeRegistry","_applyRootElementTransformImpl","generatePropertyAliases","aliasMap","propertyAliases","hostDirectiveAliasMap","internalName","addPropertyAlias","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","markDirtyIfOnPush","viewIndex","childComponentLView","mapPropName","resolveDirectives","localRefs","exportsMap","matchResult","findDirectiveDefMatches","registry","hostDirectiveDefs","hostDirectiveMatches","markAsComponentHost","_def$findHostDirectiv","initializeDirectives","cacheMatchingLocalNames","initTNodeFlags","numberOfDirectives","preOrderHooksFound","preOrderCheckHooksFound","directiveIdx","configureViewWithDirective","saveNameToExportMap","lifeCycleHooks","_tView$preOrderHooks4","_tView$preOrderCheckH3","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","aliasData","aliasedOutputs","generateInitialInputs","getCurrentDirectiveIndex","dirIndex","invokeHostBindingsInCreationMode","_tView$components","directiveFactory","nodeInjectorFactory","registerHostBindingOpCodes","directiveVarsIdx","elementIndx","lastSelectedElementIdx","elementAttributeInternal","setElementAttribute","initialInputData","writeToDirectiveInput","inputsToStore","createLContainer","hostNative","refreshContentQueries","directiveDefIdx","executeViewQueryFn","viewQueryFn","getOrCreateLViewCleanup","getOrCreateTViewCleanup","textBindingInternal","updateTextNode","renderComponent","hostLView","componentHostIdx","componentTView","syncViewWithBlueprint","hostRNode","renderView","renderChildComponents","EffectManager","effectFn","destroyRef","watch","registerOnCleanup","notify","unregisterOnDestroy","_unregisterOnDestroy","_options$injector3","effectManager","manualCleanup","computeStaticStyling","writeToHost","collectNativeNodes","lNode","collectNativeNodesInLContainer","nodesInSlot","lViewInAContainer","lViewFirstChildTNode","detectChangesInternal","notifyErrorHandler","afterRenderEventManager","_rendererFactory$begi","refreshView","_rendererFactory$end","_environment$effectMa","_lView$ENVIRONMENT$ef","setBindingIndex","hooksInitPhaseCompleted","markTransplantedViewsForRefresh","detectChangesInEmbeddedViews","processHostBindingOpCodes","opCode","bindingRootIndx","hostBindingFn","detectChangesInChildComponents","detectChangesInView","detectChangesInComponent","viewAttachedToChangeDetector","ViewRef$1","rootNodes","_cdRefInjectingView","_appRef","_attachedToViewContainer","viewRefs","detach","reattach","detectChanges","checkNoChanges","attachToViewContainerRef","detachFromAppRef","detachViewFromDOM","attachToAppRef","RootViewRef","ComponentFactoryResolver","ComponentFactory","toRefArray","nonMinified","templateName","ChainedInjector","parentInjector","refArray","componentType","stringifyCSSSelectorList","selectorList","isBoundToModule","projectableNodes","rootSelectorOrNode","environmentInjector","_environmentInjector","realEnvironmentInjector","rootViewInjector","hostRenderer","elementName","locateHostElement","elementOrSelector","applyRootElementTransform","getNamespace","rootFlags","rootTView","rootLView","tElementNode","rootComponentDef","rootDirectives","createRootComponentTNode","createRootComponentView","applyRootComponentStyling","viewRenderer","setRootNodeAttributes","extractAttrsAndClassesFromSelector","projectNodes","nodesforSlot","createRootComponent","hostFeatures","rootTNode","LifecycleHooksFeature","ComponentRef","_rootLView","previousInputValues","changeDetectorRef","_this$previousInputVa","ɵɵInheritDefinitionFeature","superType","getSuperType","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","defData","mergeHostAttrsAcrossInheritance","prevViewQuery","prevContentQueries","prevHostBindings","ɵɵInputTransformsFeature","isListLikeIterable","isJsObject","updateBinding","getBinding","bindingUpdated","bindingUpdated2","exp1","exp2","ɵɵattribute","interpolation1","v0","interpolation2","v1","getBindingIndex","ɵɵtemplate","attrsIndex","localRefsIndex","adjustedIndex","templateFirstCreatePass","tViewConsts","embeddedTView","comment","_locateOrCreateContainerAnchor","createContainerAnchorImpl","ɵɵreference","getContextLView","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","ɵɵelementStart","elementStartFirstCreatePass","elementStart","_locateOrCreateElementNode","hasDirectives","getElementDepthCount","increaseElementDepthCount","ɵɵelementEnd","isSkipHydrationRootTNode","leaveSkipHydrationBlock","decreaseElementDepthCount","elementEnd","hasClassInput","hasStyleInput","ɵɵelement","getNamespace$1","ɵɵelementContainerStart","elementContainerStartFirstCreatePass","_locateOrCreateElementContainerNode","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","isSubscribable","ɵɵlistener","listenerFn","useCapture","eventTargetResolver","listenerInternal","isTNodeDirectiveHost","processOutputs","lCleanupIndex","idxOrTargetGetter","existingListener","findExistingListener","tNodeIdx","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","ɵɵnextContext","nextContextImpl","walkUpViews","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","applyProjection","ɵɵpropertyInterpolate1","interpolatedValue","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","markDuplicates","tStylingKey","isPrevDir","isClassBinding","tStylingAtIndex","isMap","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","parseClassNameNext","consumeClassToken","consumeWhitespace","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","ɵɵclassMap","checkStylingMap","stringParser","stylingFirstUpdatePass","hasStylingInputShadow","isInHostBindings","staticPrefix","updateStylingMap","oldKeyValueArray","newKeyValueArray","oldIndex","newIndex","oldKey","setKey","updateStyling","toStylingKeyValueArray","styleKeyValueArray","unwrappedValue","classKeyValueArraySet","classStringParser","parseClassName","resetParserState","normalizeSuffix","isHostBindings","wrapInStaticStylingKey","stylingKey","hostDirectiveDef","getCurrentDirectiveDef","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","getTemplateHeadTStylingKey","bindings","setTemplateHeadTStylingKey","collectResidual","insertTStylingBinding","tStylingKeyWithStatic","isHostBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","setTStylingRangePrev","markDuplicateOfResidualStyling","currentDirective","desiredMarker","currentMarker","stringKey","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","applyStyling","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵtext","textNative","_locateOrCreateTextNode","ɵɵtextInterpolate","ɵɵtextInterpolate1","interpolated","ɵɵtextInterpolate2","localeEn","plural","LOCALE_DATA","findLocaleData","normalizedLocale","normalizeLocale","getLocaleData","parentLocale","getLocalePluralCase","LocaleDataIndex","PluralCase","ng","common","locales","FirstDayOfWeek","WeekendRange","CurrencyCode","CurrencySymbol","CurrencyName","Directionality","DEFAULT_LOCALE_ID","LOCALE_ID$1","resolveProvider","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesViewProvidersFactoryExist","multiFactory","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","providerIsClassProvider","isClassProvider","existingCallbacksIndex","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","NgModuleRef$1","NgModuleFactory$1","createNgModule","NgModuleRef","_parent","_bootstrapComponents","destroyCbs","componentFactoryResolver","_r3Injector","NgModuleFactory","moduleType","EnvironmentNgModuleRefAdapter","debugName","runEnvironmentInitializers","createEnvironmentInjector","StandaloneService","_injector","cachedInjectors","getOrCreateStandaloneInjector","standaloneInjector","ɵɵStandaloneFeature","ɵɵpureFunction0","slotOffset","pureFn","ɵɵpureFunction1","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","exp3","pureFunction3Internal","bindingRoot","bindingUpdated3","getPureFunctionReturnValue","ɵɵpureFunction5","exp4","exp5","bindingUpdated4","ɵɵpureFunctionV","exps","pureFunctionVInternal","returnValueIndex","lastReturnValue","ɵɵpipe","pipeName","_tView$destroyHooks2","getPipeDef","pipeFactory","pipeInstance","ɵɵpipeBind1","isPure","ɵɵpipeBind2","v2","symbolIterator","_results","QueryList","_emitDistinctChangesOnly","_changesDetected","toArray","resultsTree","identityAccessor","newResultFlat","flatten","flat","POSITIVE_INFINITY","arrayEquals","valueA","valueB","notifyOnChanges","addLViewToLContainer","addToDOM","insertView","containerLength","trackMovedView","addViewToDOM","parentNativeNode","TemplateRef","injectTemplateRef","ViewEngineTemplateRef","R3TemplateRef","_declarationLView","_declarationTContainer","_this$_declarationTCo","createEmbeddedViewImpl","embeddedLView","createAndRenderEmbeddedLView","declarationLView","templateTNode","_options$injector4","_options$hydrationInf","declarationViewLQueries","createTemplateRef","ViewContainerRef","injectViewContainerRef","createContainerRef","VE_ViewContainerRef","R3ViewContainerRef","_lContainer","_hostTNode","_hostLView","getViewRefs","indexOrOptions","viewRef","insertImpl","createComponent","componentFactoryOrType","_componentFactory$com","_dehydratedView$first","isComponentFactory","isType","ngModuleRef","componentFactory","contextInjector","dehydratedView","componentRef","skipDomInsertion","insert","viewAttachedToContainer","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","getOrCreateViewRefs","viewRefsArr","detachedView","_locateOrCreateAnchorNode","createAnchorNode","commentNode","insertAnchorNode","nativeNextSibling","LQuery_","queryList","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","TQueries_","queriesForTemplateRef","childQueryIndex","tqueryClone","track","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","nodeMatchIdx","directiveOrProviderIdx","matchIdx","createResultForNode","matchingIdx","createResultByTNodeType","createSpecialToken","materializeViewResults","queryIndex","lQuery","tQueryMatches","matchedNodeIdx","collectQueryResults","lViewResults","embeddedLViews","ɵɵqueryRefresh","isCreationMode","ɵɵviewQuery","createTQuery","createLQuery","ɵɵcontentQuery","saveContentQueryAndDirectiveIndex","tViewContentQueries","ɵɵloadQuery","loadQueryInternal","storeCleanupWithContext","ɵɵtemplateRefExtractor","isNgModule","ApplicationInitStatus","_inject","donePromise","rej","appInits","runInitializers","asyncInitPromises","initResult","observableAsPromise","Console","_class15","getGlobalLocale","$localize","InitialRenderPendingTasks","_class16","hasPendingTasks","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler","_class17","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","declaration","compileModuleAndAllComponentsAsync","clearCache","clearCacheFor","getModuleId","TESTABILITY","TESTABILITY_GETTER","_testabilityGetter","Testability","_ngZone","testabilityGetter","_pendingCount","_isZoneStable","_didWork","_callbacks","taskTrackingZone","setTestabilityGetter","getter","addToWindow","_watchAngularEvents","_runCallbacksIfReady","increasePendingRequestCount","decreasePendingRequestCount","timeoutId","doneCb","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","whenStable","getPendingRequestCount","registerApplication","unregisterApplication","findProviders","using","exactMatch","TestabilityRegistry","_applications","testability","unregisterAllApplications","getTestability","getAllTestabilities","getAllRootElements","findTestabilityInTree","findInAncestors","_testabilityGetter$fi","_testabilityGetter2","_platformInjector","ALLOW_MULTIPLE_PLATFORMS","PLATFORM_DESTROY_LISTENERS","APP_BOOTSTRAP_LISTENER","NgProbeToken","createPlatformFactory","parentPlatformFactory","desc","extraProviders","platformProviders","createPlatform","publishSignalConfiguration","setThrowInvalidWriteToSignalError","PlatformRef","runPlatformInitializers","inits","createPlatformInjector","assertPlatform","requiredToken","_platformInjector$get","_platformInjector2","_modules","_destroyListeners","bootstrapModuleFactory","moduleFactory","getNgZone","ngZoneToUse","getNgZoneOptions","_options$eventCoalesc","_options$runCoalescin","eventCoalescing","runCoalescing","ngZoneEventCoalescing","ngZoneRunCoalescing","moduleRef","createNgModuleRefWithProviders","internalProvideZoneChangeDetection","ngZoneFactory","ngZoneChangeDetectionScheduler","NgZoneChangeDetectionScheduler","INTERNAL_APPLICATION_ERROR_HANDLER","ngZoneApplicationErrorHandlerFactory","exceptionHandler","_callAndReportToErrorHandler","initStatus","setLocaleId","_moduleDoBootstrap","compilerOptions","optionsReducer","compileNgModuleFactory","ngDoBootstrap","destroyListeners","objs","_class21","_bootstrapListeners","_runningTick","_views","internalErrorHandler","zoneIsStable","componentTypes","componentOrFactory","cf","compRef","_loadComponent","attachView","viewCount","warnIfDestroyed","userErrorHandler","_class22","applicationRef","_onMicrotaskEmptySubscription","_this$_onMicrotaskEmp","injectChangeDetectorRef","createViewRef","isPipe","DefaultIterableDifferFactory","trackByFn","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","forEachItem","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","forEachPreviousItem","_nextPrevious","_nextAdded","forEachMovedItem","_nextMoved","_nextIdentityChange","collection","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","iterateListLike","_truncate","previousRecord","_prev","_remove","_reinsertAfter","_moveAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","nextRecord","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","toIndex","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","defaultIterableDiffersFactory","IterableDiffers","defaultKeyValueDiffersFactory","KeyValueDiffers","_class25","kv","platformCore","ApplicationModule","_class26","booleanAttribute","elementInjector","reflectComponentType","isSignal","_options$injector","watcher","untracked$1","_options$injector$get","_options$injector2","requiresCleanup","cleanupRef","signal$1","requireSync","computed$1","BaseControlValueAccessor","_elementRef","onChange","onTouched","registerOnTouched","registerOnChange","setDisabledState","BuiltInControlValueAccessor","ɵ_class2_BaseFactory","NG_VALUE_ACCESSOR","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","_isAndroid","ɵgetDOM","getUserAgent","writeValue","_handleInput","_compositionStart","_compositionEnd","isEmptyInputValue","NG_VALIDATORS","NG_ASYNC_VALIDATORS","nullValidator","control","isPresent","mergeErrors","arrayOfErrors","executeValidators","validator","normalizeValidators","isValidatorFn","validate","composeValidators","compose","presentValidators","composeAsyncValidators","composeAsync","mergeValidators","controlValidators","dirValidator","makeValidatorsArray","hasValidator","addValidators","currentValidators","validatorsToAdd","removeValidators","AbstractControlDirective","_rawValidators","_rawAsyncValidators","_onDestroyCallbacks","valid","invalid","pristine","untouched","statusChanges","valueChanges","_setValidators","_composedValidatorFn","_setAsyncValidators","_composedAsyncValidatorFn","asyncValidator","_registerOnDestroy","_invokeOnDestroyCallbacks","errorCode","getError","ControlContainer","formDirective","NgControl","valueAccessor","AbstractControlStatus","cd","_cd","isTouched","_this$_cd","isUntouched","_this$_cd2","isPristine","_this$_cd3","_this$_cd4","_this$_cd5","isInvalid","_this$_cd6","isPending","_this$_cd7","isSubmitted","_this$_cd8","submitted","NgControlStatus","VALID","INVALID","DISABLED","isOptionsObj","validatorOrOpts","AbstractControl","asyncValidators","_pendingDirty","_hasOwnPendingAsyncValidator","_pendingTouched","_onCollectionChange","_onDisabledChange","_assignValidators","_assignAsyncValidators","validatorFn","asyncValidatorFn","updateOn","_updateOn","setValidators","setAsyncValidators","addAsyncValidators","removeAsyncValidators","hasAsyncValidator","clearValidators","clearAsyncValidators","markAsTouched","onlySelf","markAllAsTouched","_forEachChild","markAsUntouched","_updateTouched","markAsDirty","markAsPristine","_updatePristine","markAsPending","skipPristineCheck","_parentMarkedDirty","_updateValue","_updateAncestors","changeFn","updateValueAndValidity","setParent","getRawValue","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","_updateTreeValidity","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","currPath","_find","_initObservables","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","_registerOnCollectionChange","_setUpdateStrategy","coerceToValidator","coerceToAsyncValidator","CALL_SET_DISABLED_STATE","setDisabledStateDefault","setUpControl","callSetDisabledState","_dir$valueAccessor$se","_dir$valueAccessor","setUpValidators","getControlValidators","getControlAsyncValidators","onValidatorChange","registerOnValidatorChange","setUpViewChangePipeline","_pendingValue","_pendingChange","updateControl","setUpModelChangePipeline","emitModelEvent","viewToModelUpdate","_unregisterOnChange","setUpBlurPipeline","setUpDisabledChangeHandler","onDisabledChange","registerOnDisabledChange","_unregisterOnDisabledChange","emitModelToViewChange","removeListItem","isFormControlState","formState","FormControl","pickValidators","pickAsyncValidators","_onChange","_applyFormState","nonNullable","initialValueIsDefault","emitViewToModelChange","patchValue","_syncPendingControls","formControlBinding$1","NgModel","resolvedPromise","valueAccessors","_changeDetectorRef","_registered","selectValueAccessor","defaultAccessor","builtinAccessor","customAccessor","isBuiltInAccessor","_checkForErrors","_checkName","oldName","removeControl","_getPath","_setUpControl","_updateDisabled","isPropertyUpdated","viewModel","_isStandalone","_setUpStandalone","addControl","_checkParentType","_this$_changeDetector","disabledValue","_this$_changeDetector2","controlName","controlPath","RadioControlRegistryModule","toFloat","AbstractValidatorDirective","_validator","inputName","normalizeInput","_enabled","createValidator","MAX_VALIDATOR","MaxValidator","_class27","maxValidator","ɵ_class27_BaseFactory","MIN_VALIDATOR","MinValidator","_class28","minValidator","ɵ_class28_BaseFactory","ɵInternalFormsSharedModule","_class35","_class39","_opts$callSetDisabled","GenericBrowserDomAdapter","ɵDomAdapter","supportsDOMEvents","BrowserDomAdapter","makeCurrent","ɵsetRootDomAdapter","onAndCancel","getDefaultDocument","createHtmlDocument","isShadowRoot","DocumentFragment","getBaseElementHref","baseElement","relativePath","urlParsingNode","pathName","resetBaseElement","BrowserXhr","EVENT_MANAGER_PLUGINS","EventManager","_eventNameToPlugin","manager","_plugins","_findPluginFor","getZone","EventManagerPlugin","APP_ID_ATTRIBUTE_NAME","SharedStylesHost","styleRef","hostNodes","styleNodesInDOM","collectServerRenderedStyles","platformIsServer","resetHostNodes","addStyles","changeUsageCount","onStyleAdded","removeStyles","onStyleRemoved","getAllStyles","addHost","hostNode","addStyleToHost","removeHost","_styleRef$get","_this$doc$head","styleRefValue","usage","getStyleElement","styleEl","_styleRef$get2","styleElRef","NAMESPACE_URIS","svg","xhtml","xml","xmlns","math","COMPONENT_REGEX","COMPONENT_VARIABLE","HOST_ATTR","CONTENT_ATTR","REMOVE_STYLES_ON_COMPONENT_DESTROY","shimStylesContent","compId","DomRendererFactory2","eventManager","sharedStylesHost","removeStylesOnCompDestroy","rendererByCompId","defaultRenderer","DefaultDomRenderer2","getOrCreateRenderer","EmulatedEncapsulationDomRenderer2","applyToHost","NoneEncapsulationDomRenderer","applyStyles","ShadowDomRenderer","isTemplateNode","namespaceUri","decoratePreventDefault","eventHandler","hostEl","nodeOrShadowRoot","contentAttr","shimContentAttribute","componentShortId","hostAttr","shimHostAttribute","DomEventsPlugin","MODIFIER_KEYS","_keyMap","Del","Esc","Left","Right","Up","Down","Menu","Scroll","MODIFIER_KEY_GETTERS","alt","altKey","ctrlKey","metaKey","shiftKey","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","fullKey","domEventName","_normalizeKey","codeIX","modifierName","matchEventFullKeyCode","fullKeyCode","keycode","modifierGetter","keyName","platformBrowser","ɵPLATFORM_BROWSER_ID","initDomAdapter","_document","ɵsetDocument","BROWSER_MODULE_PROVIDERS_MARKER","TESTABILITY_PROVIDERS","ɵTESTABILITY_GETTER","BrowserGetTestability","ɵglobal","getAngularTestability","getAllAngularTestabilities","getAllAngularRootElements","frameworkStabilizers","testabilities","didWork","decrement","didWork_","ɵTESTABILITY","BROWSER_MODULE_PROVIDERS","ɵINJECTOR_SCOPE","providersAlreadyPresent","withServerTransition","Title","getTitle","setTitle","newTitle","createTitle","DomSanitizer","DomSanitizerImpl","ɵallowSanitizationBypassAndThrow","ɵunwrapSafeValue","ɵ_sanitizeHtml","ɵ_sanitizeUrl","bypassSecurityTrustHtml","ɵbypassSanitizationTrustHtml","bypassSecurityTrustStyle","ɵbypassSanitizationTrustStyle","bypassSecurityTrustScript","ɵbypassSanitizationTrustScript","bypassSecurityTrustUrl","ɵbypassSanitizationTrustUrl","bypassSecurityTrustResourceUrl","ɵbypassSanitizationTrustResourceUrl","domSanitizerImplFactory","errorOrErrorFactory","errorFactory","_refCount","refCounter","sharedConnection","_connection","ConnectableObservable","subjectFactory","getSubject","_teardown","higherOrderRefCount","defaultIfEmpty","throwIfEmpty","defaultErrorFactory","hasDefaultValue","takeLast","PRIMARY_OUTLET","RouteTitleKey","ParamsAsMap","convertToParamMap","defaultUrlMatcher","segmentGroup","pathMatch","hasChildren","posParams","segment","consumed","shallowEqual","equalArraysOrString","aSorted","bSorted","wrapIntoObservable","pathCompareMap","exact","equalSegmentGroups","containee","matrixParams","equalPath","matrixParamsMatch","numberOfChildren","subset","containsSegmentGroup","paramCompareMap","equalParams","containsParams","ignored","containsTree","paths","containsSegmentGroupHelper","containeePaths","containerPaths","containeeSegment","UrlTree","UrlSegmentGroup","queryParamMap","_queryParamMap","DEFAULT_SERIALIZER","serializePaths","UrlSegment","parameterMap","_parameterMap","serializePath","as","bs","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","serializeSegment","serializeQueryParams","strParams","encodeUriQuery","encodeUriFragment","encodeURI","mapChildrenIntoArray","childOutlet","encodeUriString","encodeUriSegment","decodeQuery","serializeMatrixParams","SEGMENT_RE","matchSegments","MATRIX_PARAM_SEGMENT_RE","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","parseParens","parseMatrixParams","parseParam","matchMatrixKeySegments","valueMatch","matchQueryParams","matchUrlQueryParamValue","decodedKey","decodedVal","currentVal","allowPrimary","outletName","createRoot","rootCandidate","squashSegmentGroup","childCandidate","grandChildOutlet","grandChild","mergeTrivialChildren","isUrlTree","createSegmentGroupFromRoute","_targetGroup","targetGroup","rootSegmentGroup","createSegmentGroupFromRouteRecursive","childOutlets","childSnapshot","outlet","createUrlTreeFromSegmentGroup","relativeTo","commands","nav","computeNavigation","Navigation","numberOfDoubleDots","isAbsolute","cmdIdx","outlets","segmentPath","urlPart","partIndex","toRoot","findStartingPositionForTargetGroup","Position","modifier","isMatrixParams","createPositionApplyingDoubleDots","ci","dd","newSegmentGroup","processChildren","updateSegmentGroupChildren","updateSegmentGroup","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","replaceSegment","newRoot","oldSegment","newSegment","cmdWithOutlet","prefixedWith","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","compare","slicedCommands","createNewSegmentGroup","getOutlets","childrenOfEmptyChild","createNewSegmentChildren","IMPERATIVE_NAVIGATION","RouterEvent","restoredState","urlAfterRedirects","NavigationSkipped","RoutesRecognized","GuardsCheckStart","GuardsCheckEnd","shouldActivate","ResolveStart","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","ChildActivationEnd","ActivationStart","ActivationEnd","routerEvent","BeforeActivateRoutes","RedirectRequest","OutletContext","ChildrenOutletContexts","attachRef","onChildOutletCreated","childName","getOrCreateContext","onChildOutletDestroyed","onOutletDeactivated","onOutletReAttached","Tree","_root","pathFromRoot","findNode","siblings","findPath","cc","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","urlTree","rootComponent","createEmptyStateSnapshot","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","emptyParams","emptyData","emptyQueryParams","ActivatedRoute","urlSubject","paramsSubject","queryParamsSubject","fragmentSubject","dataSubject","futureSnapshot","_this$dataSubject$pip","_this$dataSubject","_futureSnapshot","_routerState","paramMap","_paramMap","inheritedParamsDataResolve","paramsInheritanceStrategy","inheritingStartingFrom","flattenInherited","_curr$routeConfig","_resolvedData","_this$data","_resolve","serializeNode","advanceActivatedRoute","nextSnapshot","shallowEqualArrays","equalParamsAndUrlSegments","equalUrlParams","equalSegments","RouterOutlet","_activatedRoute","activateEvents","deactivateEvents","attachEvents","detachEvents","parentContexts","changeDetector","inputBinder","INPUT_BINDER","supportsBindingToComponentInputs","activatedComponentRef","isTrackedInParentContexts","deactivate","initializeOutletWithName","_this$inputBinder","unsubscribeFromRouteData","_this$parentContexts$","attach","activateWith","isActivated","activatedRoute","activatedRouteData","_this$inputBinder2","bindActivatedRouteToOutletComponent","_this$inputBinder3","childContexts","OutletInjector","RoutedComponentInputBinder","outletDataSubscriptions","subscribeToRouteData","_this$outletDataSubsc","dataSubscription","mirror","createNode","routeReuseStrategy","prevState","shouldReuseRoute","createOrReuseChildren","shouldAttach","detachedRouteHandle","retrieve","createActivatedRoute","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","redirect","navigationBehaviorOptions","navigationCancelingError","redirectUrl","cancellationCode","isNavigationCancelingError$1","ɵEmptyOutletComponent","standardizeConfig","loadComponent","getOutlet","getClosestRouteInjector","_snapshot$routeConfig","_loadedInjector","ActivateRoutes","futureState","currState","forwardEvent","inputBindingEnabled","activate","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","futureChild","childOutletName","deactivateRoutes","deactivateRouteAndItsChildren","future","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","activateRoutes","stored","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","getTokenOrFunctionIdentity","tokenOrFunction","ɵisInjectable","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","getRouteGuards","shouldRun","shouldRunGuardsAndResolvers","runGuardsAndResolvers","isEmptyError","INITIAL_VALUE","prioritizedGuardValue","redirectIfUrlTree","NoMatch","AbsoluteRedirect","noMatch$1","absoluteRedirect","newTree","ApplyRedirects","noMatchError","lineralizeSegments","applyRedirectCommands","applyRedirectCreateUrlTree","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","consumedSegments","remainingSegments","positionalParamSegments","matchWithChecks","getOrCreateRouteInjectorIfNeeded","currentInjector","_route$_injector","runCanMatchGuards","canMatch","canMatchObservables","injectionToken","isCanMatch","_res$posParams","_res$posParams2","slicedSegments","containsEmptyPathMatchesWithNamedOutlets","emptyPathMatch","createChildrenForEmptyPaths","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","primarySegment","Recognizer","configLoader","rootComponentType","allowRedirects","applyRedirects","recognize","processSegmentGroup","routeState","createUrlTreeFromSnapshot","inheritParamsAndData","routeNode","processSegment","sortedConfig","sortByMatchingOutlets","scan","scanInternals","hasSeed","emitOnNext","emitBeforeComplete","hasState","outletChildren","last$1","mergedChildren","mergeEmptyPathMatches","sortActivatedRouteSnapshots","localeCompare","_r$_injector","processSegmentAgainstRoute","noLeftoversInUrl","rawSegment","isImmediateMatch","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","newSegments","_route$component","getData","_loadedComponent","getResolve","_route$component2","_route$_injector2","getChildConfig","childConfig","_route$_loadedInjecto","childInjector","matchedOnOutlet","_loadedRoutes","runCanLoadGuards","canLoad","canLoadObservables","isCanLoad","shouldLoadResult","cfg","canLoadFails","hasEmptyPathConfig","mergedNodes","duplicateEmptyPathNode","resultNode","mergedNode","hasStaticTitle","switchTap","nextResult","ROUTES","RouterConfigLoader","componentLoaders","childrenLoaders","onLoadStartListener","loadRunner","maybeUnwrapDefaultExport","onLoadEndListener","factoryOrRoutes","rawRoutes","requireStandaloneComponents","isWrappedDefaultExport","NavigationTransitions","hasRequestedNavigation","navigationId","currentNavigation","lastSuccessfulNavigation","transitionAbortSubject","rootContexts","afterPreactivation","_this$transitions","handleNavigationRequest","_this$transitions2","setupNavigations","initialUrlTree","initialRouterState","currentUrlTree","currentRawUrl","currentBrowserUrl","extractedUrl","urlHandlingStrategy","extract","rawUrl","targetSnapshot","currentRouterState","targetRouterState","guards","guardsResult","overallTransitionState","completed","initialUrl","previousNavigation","_t$extras$onSameUrlNa","browserUrlTree","urlTransition","navigated","onSameUrlNavigation","shouldProcessUrl","_this$transitions3","_this$transitions4","recognize$1","finalUrl","routesRecognized","navStart","skipLocationChange","replaceUrl","guardsStart","checkGuards","runCanDeactivateChecks","futureRSS","currRSS","runCanDeactivate","currARS","canDeactivate","canDeactivateObservables","_getClosestRouteInjec3","closestInjector","isCanDeactivate","isBoolean","runCanActivateChecks","fireChildActivationStart","fireActivationStart","runCanActivateChild","futureARS","canActivateChildGuardsMapped","getCanActivateChild","canActivateChild","guardsMapped","_getClosestRouteInjec2","isCanActivateChild","runCanActivate","canActivateObservables","_getClosestRouteInjec","isCanActivate","guardsEnd","cancelNavigationTransition","resolveStart","dataResolved","resolveData","canActivateChecksResolved","runResolve","resolveNode","getDataKeys","getResolver","_getClosestRouteInjec4","mapTo","resolvedData","resolveEnd","loadComponents","_route$routeConfig","loaders","loadedComponent","createRouterState","_router$titleStrategy","titleStrategy","updateTitle","_this$currentNavigati","isRedirectingNavigationCancelingError$1","_overallTransitionSta","navCancel","isBrowserTriggeredNavigation","TitleStrategy","buildTitle","pageTitle","_this$getResolvedTitl","getResolvedTitleForRoute","DefaultTitleStrategy","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","ɵ_class11_BaseFactory","ROUTER_CONFIGURATION","UrlHandlingStrategy","DefaultUrlHandlingStrategy","newUrlPart","wholeUrl","NavigationResult","COMPLETE","FAILED","REDIRECTING","afterNextNavigation","defaultMalformedUriErrorHandler","exactMatchOptions","subsetMatchOptions","navigationTransitions","browserPageId","_this$location$getSta","_this$location$getSta2","canceledNavigationResolution","currentPageId","ɵrouterPageId","_inject$flat","disposed","ɵConsole","malformedUriErrorHandler","lastSuccessfulId","urlUpdateStrategy","componentInputBindingEnabled","eventsSubscription","resetConfig","rawUrlTree","routerState","subscribeToNavigationEvents","isPublicRouterEvent","setBrowserUrl","restoreHistory","mergedTree","scheduleNavigation","resetRootComponentType","initialNavigation","setUpLocationChangeListener","navigateToSyncWithBrowser","locationSubscription","stateCopy","serializeUrl","getCurrentNavigation","createUrlTree","navigationExtras","queryParamsHandling","preserveFragment","relativeToUrlSegmentGroup","removeEmptyProps","navigateByUrl","validateCommands","isActive","matchOptions","priorPromise","generateNgRouterState","restoringFromCaughtError","_this$getCurrentNavig","targetPagePosition","resetState","resetUrlToCurrentUrlTree","routerPageId","RouterLink","tabIndexAttribute","_el$nativeElement$tag","onChanges","isAnchorElement","updateHref","setTabIndexIfNotOnNativeEl","newTabIndex","applyAttributeValue","routerLink","_this$locationStrateg","sanitizedValue","RouterLinkActive","_isActive","cdr","routerLinkActiveOptions","isActiveChange","routerEventsSubscription","subscribeToEachLinkOnChanges","_this$linkInputChange","linkInputChangesSubscription","allLinkChanges","isLinkActive","routerLinkActive","_this$linkInputChange2","hasActiveLinks","ariaCurrentWhenActive","isActiveMatchOptions","isActiveCheckFn","PreloadingStrategy","preload","RouterPreloader","setUpPreloading","processRoutes","_route$_injector3","_route$_loadedInjecto2","injectorForCurrentRoute","injectorForChildren","_route$children","preloadConfig","loadedChildren$","recursiveLoadChildren$","_config$injector","loadComponent$","ROUTER_SCROLLER","RouterScroller","viewportScroller","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","scheduleScrollEvent","_this$routerEventsSub","_this$scrollEventsSub","routerFeature","getBootstrapListener","bootstrappedComponentRef","_injector$get","_injector$get2","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","ROUTER_PRELOADER","withPreloading","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","rootRoute","routerNgProbeToken","provideForRootGuard","useHash","scrollOffset","provideInitialNavigation","bindToComponentInputs","ROUTER_INITIALIZER","locationInitialized","PlatformLoggerServiceImpl","getPlatformInfoString","getProviders","isVersionServiceProvider","getComponent","getImmediate","library","logString","name$p","version$1","DEFAULT_ENTRY_NAME","PLATFORM_LOG_STRING","_apps","_serverApps","_components","_addComponent","addComponent","_registerComponent","serverApp","_getProvider","heartbeatController","getProvider","triggerHeartbeat","_isFirebaseServerApp","settings","ERROR_FACTORY","FirebaseAppImpl","_isDeleted","_automaticDataCollectionEnabled","automaticDataCollectionEnabled","_container","Component","checkDestroyed","isDeleted","rawConfig","existingApp","ComponentContainer","newApp","getApp","registerVersion","libraryKeyOrName","variant","libraryMismatch","versionMismatch","warning","DB_NAME","DB_VERSION","STORE_NAME","dbPromise","getDbPromise","openDB","upgrade","originalErrorMessage","_readHeartbeatsFromIndexedDB","computeKey","idbGetError","writeHeartbeatsToIndexedDB","_writeHeartbeatsToIndexedDB","heartbeatObject","HeartbeatServiceImpl","_heartbeatsCache","HeartbeatStorageImpl","_heartbeatsCachePromise","agent","getUTCDateString","heartbeats","lastSentHeartbeatDate","singleDateHeartbeat","hbTimestamp","STORED_HEARTBEAT_RETENTION_MAX_MILLIS","overwrite","getHeartbeatsHeader","heartbeatsToSend","unsentEntries","extractHeartbeatsForHeader","heartbeatsCache","maxSize","heartbeatEntry","hb","dates","countBytes","headerString","_canUseIndexedDBPromise","runIndexedDBEnvironmentCheck","idbHeartbeatObject","readHeartbeatsFromIndexedDB","heartbeatsObject","existingHeartbeatsObject","registerCoreComponents","instanceFactory","multipleInstances","serviceProps","instantiationMode","onInstanceCreated","setInstantiationMode","setMultipleInstances","setServiceProps","setInstanceCreatedCallback","Provider","instances","instancesDeferred","instancesOptions","onInitCallbacks","identifier","normalizedIdentifier","normalizeInstanceIdentifier","deferred","shouldAutoInitialize","getOrInitializeService","instanceIdentifier","setComponent","isComponentEager","instanceDeferred","clearInstance","services","_delete","isComponentSet","onInit","existingCallbacks","invokeOnInitCallbacks","addOrOverwriteComponent","LogLevel","VERBOSE","INFO","WARN","ERROR","SILENT","levelStringToEnum","verbose","silent","defaultLogLevel","ConsoleMethod","defaultLogHandler","logType","_logHandler","_userLogHandler","logHandler","userLogHandler","OverlayBaseController","NavParams","AngularDelegate","elementReferenceKey","AngularFrameworkDelegate","elRefMap","elEventsMap","unbindEvents","bindLifecycleEvents","LIFECYCLES","unregisters","NavParamsToken","provideNavParamsInjectable","angularDelegate","PopoverController","keyboardDidShow","keyboardDidHide","resume","resize","_this$win","readyResolve","subscribeWithPriority","processNextHandler","proxyEvent","_readyPromise","platformName","getQueryParam","readQueryParam","isLandscape","isPortrait","_this$win$matchMedia","_this$win2","expression","emitter","DEFAULT_DIRECTION","DEFAULT_ANIMATED","guessDirection","lastNavId","guessAnimation","navigateForward","setDirection","navigateBack","topOutlet","parentOutlet","getAnimation","setTopOutlet","consumeTransition","getConfig","ConfigToken","proxyInputs","Cmp","Prototype","proxyMethods","proxyOutputs","ProxyCmp","defineCustomElementFn","POPOVER_INPUTS","POPOVER_METHODS","IonPopover","isCmpOpen","__decorate","MODAL_INPUTS","MODAL_METHODS","setRoot","views","stackId","getUrl","isTabSwitch","enteringView","leavingView","computeStackId","prefixUrl","toSegments","destroyView","unlistenEvents","StackController","tabsPrefix","containerEl","navCtrl","skipTransition","nextId","_ref$location","getExistingView","activatedUrlKey","vw","setActive","_router$navigations","_currentNavigation","consumeResult","activeView","tabSwitch","viewsSnapshot","navigations","reused","customAnimation","canGoBack","cleanupAsync","getActiveStackId","getStack","viewSavedData","savedData","_primaryOutlet$route","primaryOutlet","savedExtras","startBackTransition","endBackTransition","getLastUrl","getRootUrl","getActiveView","hasRunningTask","runningTask","setForward","setBack","progressAnimation","commit","activeRoute","locationWithoutFragment","IonRouterOutlet","commonLocation","activatedView","proxyMap","currentActivatedRoute$","stackWillChange","stackDidChange","nativeEl","stackCtrl","swipe","_swipeGesture","swipeHandler","shouldContinue","contextSnapshot","cmpRef","saved","updateActivatedRouteProxy","component$","activatedRouteProxy","createActivatedRouteProxy","getLastRouteView","getRootView","proxyObservable","provideComponentInputBinding","componentInputBindingFactory","BACK_BUTTON_INPUTS","IonBackButton","routerOutlet","_this$routerOutlet","defaultHref","routerAnimation","RouterLinkDelegateDirective","routerDirection","updateTargetUrlAndHref","_this$routerLink","RouterLinkWithHrefDelegateDirective","_this$routerLink2","NAV_INPUTS","NAV_METHODS","IonNav","rootParams","IonTabs","ionTabsWillChange","ionTabsDidChange","tabBarSlot","detectSlotChanges","onStackWillChange","onStackDidChange","tabBar","selectedTab","select","tabOrEvent","isTabString","alreadySelected","tabRootUrl","activeStackId","lastRoute","getSelected","tabBars","currentSlot","relocateTabBar","tabsInner","ValueAccessor","lastValue","setIonicClasses","handleValueChange","_handleBlurEvent","ngControl","formControl","oldFn","getClasses","setClasses","_detachedTree","futureParams","currentParams","keysA","keysB","globalScripts","IonModal_div_0_Template","TextValueAccessorDirective","_handleInputEvent","IonApp","IonButton","download","shape","strong","IonButtons","collapse","IonCard","IonCardContent","IonCol","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","pushLg","pushMd","pushSm","pushXl","pushXs","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs","IonContent","forceOverscroll","fullscreen","scrollEvents","scrollX","IonGrid","fixed","IonHeader","IonIcon","flipRtl","IonImg","IonInput","accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","counterFormatter","enterkeyhint","errorText","helperText","inputmode","labelPlacement","legacy","maxlength","minlength","multiple","readonly","required","spellcheck","IonItem","detailIcon","lines","IonLabel","IonList","inset","IonMenu","contentId","maxEdgeStart","IonMenuButton","autoHide","IonMenuToggle","IonNote","IonRow","IonSkeletonText","IonSpinner","IonSplitPane","when","IonText","IonTitle","IonToolbar","IonRouterOutlet$1","ɵIonRouterOutlet_BaseFactory","RouterLinkDelegateDirective$1","ɵRouterLinkDelegateDirective_BaseFactory","RouterLinkWithHrefDelegateDirective$1","ɵRouterLinkWithHrefDelegateDirective_BaseFactory","IonModal$1","ɵIonModal_BaseFactory","ION_MAX_VALIDATOR","IonMaxValidator","ɵIonMaxValidator_BaseFactory","ION_MIN_VALIDATOR","IonMinValidator","ɵIonMinValidator_BaseFactory","appInitialize","_zoneGate","aelFn","applyPolyfills","checkIfURLIsSupported","defineCustomElements","syncQueue","ionic_angular_common","isBuffer","keyIdentity","delimiter","maxDepth","transformKey","currentDepth","isarray","safe","isbuffer","isobject","unflatten","getkey","parsedKey","addKeys","recipient","DefaultLoader","TRANSLOCO_LOADER","toCamelCase","isScopeObject","flatten$1","TRANSLOCO_CONFIG","failedRetries","logMissingKey","allowEmpty","aot","interpolation","translocoConfig","TRANSLOCO_TRANSPILER","interpolationMatcher","resolveMatcher","translation","paramMatch","parsedValue","paramValue","handleObject","handleArray","transpiled","TRANSLOCO_MISSING_HANDLER","DefaultHandler","TRANSLOCO_INTERCEPTOR","DefaultInterceptor","preSaveTranslation","preSaveTranslationKey","TRANSLOCO_FALLBACK_STRATEGY","DefaultFallbackStrategy","getNextLangs","getScopeFromLang","getLangFromScope","getPipeValue","splitted","resolveInlineLoader","providerScope","hasInlineLoader","prependScope","inlineLoader","getEventPayload","resolveLoader","mainLoader","fallbackStrategy","setAvailableLangs","setFallbackLangForMissingTranslation","langChanges$","wasFailure","getActiveLang","_this$parser$onLangCh","_this$parser","onLangChanged","cache","loadTranslation","isScope","_isLangScoped","loadersOptions","firstFallbackLang","getFallbacksLoaders","fallbackPath","load$","retry","configOrCount","resetOnSuccess","soFar","subscribeForRetry","resub","notifierSubscriber","handleSuccess","handleFailure","resolveLang","resolveLangAndScope","_handleMissingKey","_isObject","translateObject","isScopeArray","isLang","isScopeWithLang","unflatten$1","getObjectByKey","selectTranslateObject","firstKey","firstParams","langOrScope","selectTranslation","language$","scopeLangSpecified","emitChange","flattenScopeOrTranslation","getMappedScope","mergedTranslation","flattenTranslation","withHook","setTranslationKey","isResolvedMissingOnce","fallbackValue","getMissingHandlerData","getAvailableLangsIds","_loadDependencies","mainLang","isLoadedTranslation","_completeScopeWithLang","_setScopeAlias","scopeMapping","activeLang","failedLangs","loadOptions","failedCounter","fallbackLangs","nextLang","langFromScope","hasLang","TranslocoLoaderComponent","TemplateHandler","vcr","TRANSLOCO_LANG","TRANSLOCO_LOADING_TEMPLATE","TRANSLOCO_SCOPE","LangResolver","extracted","resolveLangBasedOnScope","resolveLangPath","ScopeResolver","TranslocoDirective","tpl","listenToLangChange","shouldListenToLangChanges","hasStatic","providerLang","inlineLang","langResolver","resolveScope","listenOrNotOperator","strategy","attributeStrategy","structuralStrategy","inlineRead","loadingContent","resolveLoadingContent","loaderTplHandler","detachLoader","memo","translateFn","getTranslateFn","withPrefix","memoKey","inlineTpl","providedLoadingTpl","_this$loaderTplHandle","resolvedScope","scopeResolver","inlineScope","provideTranslocoMissingHandler","provideTranslocoInterceptor","provideTranslocoFallbackStrategy","provideTranslocoConfig","provideTranslocoLoader","transpiler","_navigator$languages$","_navigator$languages","AsyncContextStack","assignedScope","assignedIsolationScope","Scope","_stack","_isolationScope","_pushScope","maybePromiseResult","_popScope","getStackTop","getScope","getAsyncContextStack","getSentryCarrier","getDefaultCurrentScope","getGlobalSingleton","getDefaultIsolationScope","withSetScope","withIsolationScope","getStackAsyncContextStrategy","withSetIsolationScope","DEFAULT_BREADCRUMBS","beforeBreadcrumb","DEFAULT_ENVIRONMENT","parseEventHintOrCaptureContext","makeSession","currentSession","endSession","setSession","closeSession","_sendSessionUpdate","METRICS_SPAN_FIELD","exportKey","summary","ScopeClass","_notifyingListeners","_scopeListeners","_breadcrumbs","_attachments","_user","_tags","_contexts","_sdkProcessingMetadata","_propagationContext","generateSpanId","newScope","_level","_session","_transactionName","_fingerprint","_requestSession","_client","_lastEventId","addScopeListener","_notifyScopeListeners","getRequestSession","setRequestSession","requestSession","setTags","setExtras","setFingerprint","setLevel","captureContext","scopeToMerge","scopeInstance","maxCrumbs","addAttachment","clearAttachments","eventProcessors","setSDKProcessingMetadata","newData","sid","started","sessionToJSON","did","abnormal_mechanism","ipAddress","user_agent","FROZEN_DSC_FIELD","getDynamicSamplingContextFromClient","frozenDsc","traceState","traceStateDsc","dscOnTraceState","baggageHeaderToDynamicSamplingContext","jsonSpan","maybeSampleRate","sample_rate","SPAN_STATUS_UNSET","SPAN_STATUS_OK","httpStatus","spanStatus","getSpanStatusFromHttpCode","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","MAX_BAGGAGE_STRING_LENGTH","baggageObject","parseBaggageHeader","currBaggageObject","baggageHeaderToObject","objectToBaggageHeader","objectKey","objectValue","newBaggageHeader","dscKey","dscValue","keyOrValue","DEFAULT_MAX_STRING_LENGTH","currentElem","MAX_TRAVERSE_HEIGHT","sepLength","nextStr","_htmlElementAsString","dataset","sentryComponent","sentryElement","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","objectToString","wat","isBuiltin","isElement","isRegExp","isSyntheticEvent","isVueViewModel","__isVue","_isVue","_worldwide_js__WEBPACK_IMPORTED_MODULE_0__","wrappedFuncs","wrappedLevels","makeLogger","gbl","getRandomByte","randomUUID","typedArray","getFirstException","firstException","newMechanism","currentMechanism","mergedData","isAlreadyCaptured","__sentry_captured__","depth","maxProperties","jsonSize","utf8Length","memoBuilder","hasWeakSet","inner","memoize","unmemoize","stringified","stringifyValue","objName","getConstructorName","__sentry_skip_normalization__","remainingDepth","__sentry_override_normalization_depth__","valueWithToJSON","numAdded","visitable","convertToPlainObject","visitKey","replacementFactory","wrapped","__sentry_original__","getOwnProperties","newObj","serializeEventTarget","currentTarget","extractedProps","maxLength","includedKeys","inputValue","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","STACKTRACE_FRAME_LIMIT","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","parsers","sortedParsers","skipFirstLines","cleanedLine","stripSentryFramesAndReverse","localStack","getLastStackFrame","defaultFunctionName","testString","patterns","requireExactStringMatch","isMatchingPattern","States","RESOLVED","__init","__init2","__init3","__init4","_handlers","_reject","onfulfilled","onrejected","_executeHandlers","onfinally","isRejected","_setResult","cachedHandlers","ONE_SECOND_IN_MS","createUnixTimestampInSecondsFunc","approxStartingTimeOrigin","_browserPerformanceTimeOriginMode","performanceNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","traceparentData","extractTraceparentData","traceparent","virtualSpanId","sampledString","creator","versionedCarrier","maybeOptions","__SENTRY_TRACING__","initialObj","mergeObj","levels","notifyEventProcessors","processors","final","parsedStackResults","lastKeysCount","cachedFilenameDebugIds","mergeScopeData","mergeData","mergeAndOverwriteScopeData","mergeVal","applyClientOptions","applyIntegrationsMetadata","integrationNames","applyDebugIds","filenameDebugIdMap","getFilenameToDebugIdMap","debugIdMap","_sentryDebugIds","debugIdKeys","stackKey","parsedStack","stackFrame","debugId","debug_id","finalScope","getFinalScope","clientEventProcessors","applyScopeDataToEvent","applyDataToEvent","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","applySpanToEvent","spanToTraceContext","applyFingerprintToEvent","applyBreadcrumbsToEvent","mergedBreadcrumbs","applySdkMetadataToEvent","applyDebugMeta","abs_path","debug_meta","images","code_file","normalizeEvent","maxBreadth","hintIsScopeOrFunction","hintIsScopeContext","captureContextKeys","SCOPE_SPAN_FIELD","hasShownSpanDropWarning","ensureTimestampInSeconds","spanIsSentrySpan","spanIsOpenTelemetrySdkTraceBaseSpan","CHILD_SPANS_FIELD","ROOT_SPAN_FIELD","resultSet","addSpanChildren","QRCodeComponent","allowEmptyString","colorDark","colorLight","elementType","qrdata","qrCodeURL","createQRCode","isValidQrCodeText","qrCodeConfig","toCanvas","toSVG","renderElement","qrcElement","centerImageSrc","imageSrc","centerImageHeight","imageHeight","centerImageWidth","imageWidth","canvasElement","ariaLabel","centerImage","Image","_this2$context","drawImage","emitQRCodeURL","svgParentElement","svgString","svgElement","imgElement","dataUrl","SVGSVGElement","urlSvg","urlSanitized","urlImage","HTMLCanvasElement","HTMLImageElement","urlResponse","instanceOfAny","constructors","idbProxyableTypes","cursorAdvanceMethods","cursorRequestMap","transactionDoneMap","transactionStoreNamesMap","transformCache","reverseTransformCache","idbProxyTraps","IDBTransaction","transformCachableValue","wrapFunction","IDBDatabase","getCursorAdvanceMethods","IDBCursor","continuePrimaryKey","cacheDonePromiseForTransaction","unlisten","DOMException","getIdbProxyableTypes","IDBObjectStore","IDBIndex","IDBRequest","promisifyRequest","blocking","terminated","openPromise","deleteDB","readMethods","writeMethods","cachedMethods","getMethod","targetFuncName","useIndex","isWrite","replaceTraps","oldTraps","util","assertEqual","assertIs","_arg","arrayToEnum","getValidEnumValues","validKeys","objectKeys","filtered","objectValues","checker","joinValues","jsonStringifyReplacer","objectUtil","mergeShapes","ZodParsedType","getParsedType","nan","null","unknown","ZodIssueCode","addIssue","addIssues","subs","actualProto","_mapper","mapper","fieldErrors","_errors","processError","unionErrors","returnTypeError","argumentsError","formErrors","errorMap","_ctx","invalid_type","received","invalid_literal","unrecognized_keys","invalid_union","invalid_union_discriminator","invalid_enum_value","invalid_arguments","invalid_return_type","invalid_date","invalid_string","validation","too_small","inclusive","minimum","too_big","maximum","custom","invalid_intersection_types","not_multiple_of","multipleOf","not_finite","defaultError","overrideErrorMap","getErrorMap","makeIssue","errorMaps","issueData","fullIssue","errorMessage","maps","addIssueToContext","contextualErrorMap","schemaErrorMap","ParseStatus","mergeArray","arrayValue","mergeObjectAsync","pairs","syncPairs","mergeObjectSync","finalObject","alwaysSet","DIRTY","OK","isAborted","errorUtil","errToObj","ParseInputLazyPath","_cachedPath","_path","handleResult","processCreateParams","invalid_type_error","required_error","customMap","ZodType","spa","safeParseAsync","_def","parseAsync","refinement","superRefine","and","brand","describe","isNullable","_getType","_getOrReturnCtx","parsedType","_processInputParams","_parseSync","_parse","_parseAsync","maybeAsyncResult","getIssueProperties","_refinement","setError","refinementData","ZodEffects","schema","typeName","ZodFirstPartyTypeKind","ZodOptional","ZodNullable","ZodArray","ZodPromise","ZodUnion","incoming","ZodIntersection","defaultValueFunc","ZodDefault","innerType","ZodBranded","catchValueFunc","ZodCatch","catchValue","This","ZodPipeline","ZodReadonly","cuidRegex","cuid2Regex","ulidRegex","uuidRegex","emailRegex","emojiRegex","ipv4Regex","ipv6Regex","datetimeRegex","precision","isValidIP","ip","ZodString","coerce","tooBig","tooSmall","_regex","_addCheck","emoji","uuid","cuid","cuid2","ulid","minLength","nonempty","isDatetime","isEmail","isURL","isEmoji","isCUID","isCUID2","isULID","isIP","floatSafeRemainder","valDecCount","stepDecCount","decCount","ZodNumber","setLimit","nonpositive","nonnegative","finite","minValue","isInt","ZodBigInt","ZodBoolean","ZodDate","minDate","maxDate","ZodSymbol","ZodUndefined","ZodNull","ZodAny","_any","ZodUnknown","_unknown","ZodNever","never","ZodVoid","void","exactLength","deepPartialify","ZodObject","newShape","ZodTuple","_cached","nonstrict","passthrough","augment","_getCached","shapeKeys","extraKeys","unknownKeys","strict","strip","augmentation","merging","pick","omit","deepPartial","partial","fieldSchema","newField","keyof","createZodEnum","strictCreate","lazycreate","childCtx","handleResults","getDiscriminator","ZodLazy","ZodLiteral","ZodEnum","ZodNativeEnum","ZodDiscriminatedUnion","discriminator","optionsMap","discriminatorValues","mergeValues","aType","bType","sharedKeys","sharedValue","handleParsed","parsedLeft","parsedRight","itemIndex","ZodRecord","keySchema","keyType","valueSchema","ZodMap","finalMap","ZodSet","minSize","finalizeSet","parsedSet","ZodFunction","implement","makeArgsIssue","makeReturnsIssue","returns","parsedArgs","parsedReturns","returnType","strictImplement","enumValues","Values","Enum","opt","nativeEnumValues","expectedValues","promisified","sourceType","checkCtx","fatal","processed","executeRefinement","createWithPreprocess","preprocess","removeDefault","newCtx","removeCatch","ZodNaN","BRAND","inResult","in","_fatal","late","stringType","numberType","booleanType","effectsType","defaultErrorMap","setErrorMap","EMPTY_PATH","ZodTransformer","Schema","ZodSchema","discriminatedUnion","instanceof","instanceOfType","intersection","oboolean","onumber","ostring","pipeline","strictObject","transformer","NEVER","quotelessJson","asyncGeneratorStep","_throw","_toPropertyKey","_toPrimitive","prim","toPrimitive","__rest","decorators","decorate","_arguments","generator","fulfilled","rejected","throw","adopt","verb","fulfill","settle","__values","SuppressedError"],"sourceRoot":"webpack:///","sources":["./capacitor.config.ts","./node_modules/rxjs/dist/esm/internal/firstValueFrom.js","./src/app/core/api/api.ts","./src/app/core/api/dealer-api.ts","./src/app/core/api/jit-api.ts","./src/app/core/api/user-api.ts","./src/app/model/room/room.model.ts","./src/app/core/api/wager-api.ts","./src/app/core/pipes/pipes.module.ts","./src/app/core/services/activity-feed/activity-event-stack.ts","./src/app/core/services/activity-feed/activity-feed.service.ts","./src/app/core/services/activity-feed/models/activity-message-data.ts","./src/app/core/services/activity-feed/models/activity-type.ts","./src/app/core/services/activity-feed/models/activity-utilities.ts","./src/app/core/services/alert/alert.service.ts","./src/app/core/services/alert/alert.ts","./node_modules/@capacitor-firebase/analytics/dist/esm/index.js","./node_modules/@capacitor-firebase/crashlytics/dist/esm/index.js","./src/app/shared/errors/error-utilities.ts","./src/app/core/services/analytics/analytics.service.ts","./src/app/core/services/analytics/event-names.ts","./src/app/core/services/analytics/logger.ts","./src/app/core/services/analytics/sentry.service.ts","./src/app/core/services/sign-out/sign-out.service.ts","./src/app/core/services/auth/auth.service.ts","./node_modules/jwt-decode/build/esm/index.js","./src/app/core/services/auth/token.ts","./src/app/core/services/bootup/bootup.service.ts","./src/app/core/services/customisation/customisation.service.ts","./src/app/core/services/datalayer/datalayer.service.ts","./node_modules/@capawesome/capacitor-background-task/dist/esm/index.js","./src/app/core/services/deposit/deposit-checker.service.ts","./src/app/core/services/deposit/deposit-watcher.service.ts","./src/app/core/services/deposit/deposit.service.ts","./src/app/core/services/deposit/deposits.ts","./src/app/core/services/game-score/game-score.service.ts","./src/app/core/services/http/http.service.ts","./src/app/core/services/init/init.service.ts","./src/app/core/services/job/job.service.ts","./src/app/core/services/job/job.ts","./src/app/core/services/leaderboards/models/leaderboard-metadata.ts","./node_modules/@capacitor/geolocation/dist/esm/index.js","./src/app/core/services/location/location.service.ts","./node_modules/@capacitor/local-notifications/dist/esm/index.js","./src/app/core/services/messaging/local-messaging.service.ts","./node_modules/@capacitor-firebase/app/dist/esm/index.js","./src/app/core/services/firebase-realtime-database/firebase-realtime-database.service.ts","./src/app/core/services/moves/moves.service.ts","./src/app/core/services/operator/operator-messenger.ts","./src/app/core/services/operator/operator.service.ts","./src/app/core/services/platform-service/platform-info.service.ts","./src/app/core/services/player-stats/player-stats.mock.ts","./src/app/core/services/player-stats/player-stats.service.ts","./src/app/core/services/popup-campaign/popup-campaign.service.ts","./src/app/core/services/profile/profile.service.ts","./src/app/core/services/room-list/room-list.service.ts","./src/app/core/services/room/room.service.ts","./src/app/core/services/singular/singular.service.ts","./src/app/core/services/storage/storage.service.ts","./src/app/core/services/theme/theme.service.ts","./src/app/core/services/tiers/tiers.service.ts","./src/app/core/services/toast/toast.service.ts","./src/app/core/services/tournament/tournament.mock.ts","./src/app/core/services/tournament/tournament.service.ts","./src/app/core/services/translation/translation.service.ts","./src/app/core/services/user-state/user-state.service.ts","./src/app/core/services/wallet-payment/platforms/payment-cancel-error.ts","./src/app/core/services/wallet-payment/platforms/payment-relink-error.ts","../mobile-services/src/index.ts","./node_modules/ethers/lib.esm/_version.js","./node_modules/ethers/lib.esm/utils/properties.js","./node_modules/ethers/lib.esm/utils/errors.js","./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","./node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","./node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","./node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js","./node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","./node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","./node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","./node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","./node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","./node_modules/ethers/lib.esm/utils/data.js","./node_modules/ethers/lib.esm/utils/maths.js","./node_modules/ethers/lib.esm/utils/fixednumber.js","./node_modules/ethers/lib.esm/utils/units.js","./node_modules/ethers/lib.esm/crypto/crypto-browser.js","./node_modules/ethers/lib.esm/crypto/random.js","./node_modules/@noble/hashes/esm/_assert.js","./node_modules/@noble/hashes/esm/_u64.js","./node_modules/@noble/hashes/esm/crypto.js","./node_modules/@noble/hashes/esm/utils.js","./node_modules/@noble/hashes/esm/sha3.js","./node_modules/ethers/lib.esm/crypto/keccak.js","./node_modules/ethers/lib.esm/address/address.js","./node_modules/@noble/hashes/esm/_sha2.js","./node_modules/@noble/hashes/esm/sha256.js","./node_modules/@noble/curves/esm/abstract/utils.js","./node_modules/@noble/curves/esm/abstract/modular.js","./node_modules/@noble/hashes/esm/hmac.js","./node_modules/@noble/curves/esm/abstract/curve.js","./node_modules/@noble/curves/esm/abstract/weierstrass.js","./node_modules/@noble/curves/esm/_shortw_utils.js","./node_modules/@noble/curves/esm/secp256k1.js","./node_modules/ethers/lib.esm/constants/hashes.js","./node_modules/ethers/lib.esm/crypto/signature.js","./node_modules/ethers/lib.esm/crypto/signing-key.js","./node_modules/ethers/lib.esm/utils/utf8.js","./node_modules/ethers/lib.esm/hash/id.js","./node_modules/ethers/lib.esm/hash/typed-data.js","./src/app/core/services/wallet-payment/platforms/coinbase-wallet-platform.ts","./node_modules/ethers/lib.esm/transaction/address.js","./src/app/core/services/wallet-payment/wallet-payment.service.ts","./src/app/core/translation/transloco-loader.ts","./src/app/core/translation/transloco-custom-transpiler.ts","./src/app/core/translation/transloco-root.module.ts","./src/app/features/results/player-stats-drawer/player-stats-drawer.component.html","./src/app/features/results/player-stats-drawer/player-stats-drawer.component.ts","./src/app/model/game/game-id.ts","./src/app/model/game/game-id.utils.ts","./src/app/shared/errors/room-error.ts","./src/app/model/room/room.ts","./src/app/model/wager/wager.ts","./src/app/model/wallet/currency.ts","./src/app/model/wallet/default-wallet.ts","./src/app/model/wallet/wallet-types.ts","./src/app/model/wallet/wallets-config.ts","./src/app/model/wallet/wallet.ts","./src/app/routes.ts","./src/app/shared/errors/cloud-error.ts","./src/app/shared/types/room-display-result.ts","./src/app/shared/types/room-status.ts","./src/app/shared/types/round.ts","./src/app/shared/utils/app.utils.ts","./node_modules/@capacitor-firebase/firestore/dist/esm/index.js","./src/app/shared/utils/firestore.utils.ts","./src/app/shared/utils/promise-holder.ts","./src/app/shared/utils/stats.utils.ts","./src/app/shared/utils/tournament.utils.ts","./src/app/ui/bounty-pill/bounty-pill.component.html","./src/app/ui/bounty-pill/bounty-pill.component.ts","./src/app/ui/button/button.component.html","./src/app/ui/button/button.component.ts","./src/app/ui/currency-icon/currency-icon.component.ts","./src/app/ui/currency-icon/currency-icon.component.html","./src/app/ui/drop-down-button/drop-down-button.component.html","./src/app/ui/drop-down-button/drop-down-button.component.ts","./src/app/ui/game-icon/game-icon.component.ts","./src/app/ui/game-icon/game-icon.component.html","./src/app/ui/game-title/game-title.component.ts","./src/app/ui/game-title/game-title.component.html","./src/app/ui/icon/icon.component.ts","./src/app/ui/icon/icon.component.html","./src/app/ui/nav-button/nav-button.component.html","./src/app/ui/nav-button/nav-button.component.ts","./src/app/ui/pill/pill.component.ts","./src/app/ui/pill/pill.component.html","./src/app/ui/pill-tab-button/pill-tab-button.component.ts","./src/app/ui/pill-tab-button/pill-tab-button.component.html","./src/app/ui/tab-button/tab-button.component.ts","./src/app/ui/tab-button/tab-button.component.html","./src/app/ui/tab-bar/tab-bar.component.html","./src/app/ui/tab-bar/tab-bar.component.ts","./src/app/ui/ui.module.ts","./src/environments/environment.prod.ts","./src/games/common/helper.ts","./node_modules/@sentry/core/build/esm/tracing/measurement.js","./node_modules/@sentry/core/build/esm/utils-hoist/url.js","./node_modules/@sentry-internal/browser-utils/build/esm/types.js","./node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/bindReporter.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getNavigationEntry.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getActivationStart.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/initMetric.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/generateUniqueID.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/observe.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/onHidden.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getVisibilityWatcher.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenActivated.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onFCP.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getCLS.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getFID.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/polyfills/interactionCountPolyfill.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/interactions.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenIdle.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getINP.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getLCP.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onTTFB.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/instrument.js","./node_modules/@sentry/core/build/esm/utils/parseSampleRate.js","./node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js","./node_modules/@sentry/core/build/esm/utils-hoist/dsn.js","./node_modules/@sentry/core/build/esm/utils-hoist/envelope.js","./node_modules/@sentry/core/build/esm/tracing/utils.js","./node_modules/@sentry/core/build/esm/tracing/sentrySpan.js","./node_modules/@sentry/core/build/esm/tracing/logSpans.js","./node_modules/@sentry/core/build/esm/envelope.js","./node_modules/@sentry/core/build/esm/tracing/trace.js","./node_modules/@sentry/core/build/esm/tracing/sampling.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/utils.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/cls.js","./node_modules/@sentry-internal/browser-utils/build/esm/metrics/inp.js","./node_modules/@sentry/core/build/esm/utils-hoist/instrument/handlers.js","./node_modules/@sentry/core/build/esm/utils-hoist/vendor/supportsHistory.js","./node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js","./node_modules/@sentry/core/build/esm/tracing/idleSpan.js","./node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalError.js","./node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalUnhandledRejection.js","./node_modules/@sentry/core/build/esm/tracing/errors.js","./node_modules/@sentry/browser/build/npm/esm/debug-build.js","./node_modules/@sentry/browser/build/npm/esm/helpers.js","./node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js","./node_modules/@sentry/core/build/esm/utils-hoist/supports.js","./node_modules/@sentry/core/build/esm/utils-hoist/instrument/fetch.js","./node_modules/@sentry/core/build/esm/utils/traceData.js","./node_modules/@sentry/core/build/esm/fetch.js","./node_modules/@sentry/browser/build/npm/esm/tracing/request.js","./node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js","./node_modules/@sentry/core/build/esm/integration.js","./node_modules/@sentry/core/build/esm/integrations/inboundfilters.js","./node_modules/@sentry/core/build/esm/integrations/functiontostring.js","./node_modules/@sentry/core/build/esm/integrations/dedupe.js","./node_modules/@sentry/core/build/esm/api.js","./node_modules/@sentry/core/build/esm/utils-hoist/error.js","./node_modules/@sentry/core/build/esm/baseclient.js","./node_modules/@sentry/core/build/esm/utils-hoist/clientreport.js","./node_modules/@sentry/core/build/esm/utils/sdkMetadata.js","./node_modules/@sentry/browser/build/npm/esm/eventbuilder.js","./node_modules/@sentry/browser/build/npm/esm/client.js","./node_modules/@sentry/core/build/esm/utils-hoist/env.js","./node_modules/@sentry/browser/build/npm/esm/userfeedback.js","./node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js","./node_modules/@sentry/core/build/esm/utils-hoist/instrument/console.js","./node_modules/@sentry/core/build/esm/utils-hoist/severity.js","./node_modules/@sentry/core/build/esm/utils-hoist/breadcrumb-log-level.js","./node_modules/@sentry/browser/build/npm/esm/integrations/breadcrumbs.js","./node_modules/@sentry/browser/build/npm/esm/integrations/browserapierrors.js","./node_modules/@sentry/browser/build/npm/esm/integrations/globalhandlers.js","./node_modules/@sentry/browser/build/npm/esm/integrations/httpcontext.js","./node_modules/@sentry/core/build/esm/utils-hoist/aggregate-errors.js","./node_modules/@sentry/browser/build/npm/esm/integrations/linkederrors.js","./node_modules/@sentry/browser/build/npm/esm/stack-parsers.js","./node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js","./node_modules/@sentry/core/build/esm/utils-hoist/promisebuffer.js","./node_modules/@sentry/core/build/esm/utils-hoist/ratelimit.js","./node_modules/@sentry/core/build/esm/transports/base.js","./node_modules/@sentry/browser/build/npm/esm/transports/fetch.js","./node_modules/@sentry/browser/build/npm/esm/sdk.js","./node_modules/@sentry/core/build/esm/sdk.js","./node_modules/@sentry/capacitor/dist/esm/nativeOptions.js","./node_modules/@sentry/capacitor/dist/esm/plugin.js","./node_modules/@sentry/capacitor/dist/esm/utils/normalize.js","./node_modules/@sentry/capacitor/dist/esm/vendor/buffer/utf8ToBytes.js","./node_modules/@sentry/capacitor/dist/esm/wrapper.js","./node_modules/@sentry/capacitor/dist/esm/integrations/devicecontext.js","./node_modules/@sentry/capacitor/dist/esm/integrations/eventorigin.js","./node_modules/@sentry/capacitor/dist/esm/integrations/release.js","./node_modules/@sentry/core/build/esm/utils-hoist/path.js","./node_modules/@sentry/core/build/esm/integrations/rewriteframes.js","./node_modules/@sentry/capacitor/dist/esm/utils/webViewUrl.js","./node_modules/@sentry/capacitor/dist/esm/integrations/rewriteframes.js","./node_modules/@sentry/capacitor/dist/esm/version.js","./node_modules/@sentry/capacitor/dist/esm/integrations/sdkinfo.js","./node_modules/@sentry/capacitor/dist/esm/utils/fill.js","./node_modules/@sentry/capacitor/dist/esm/scopeSync.js","./node_modules/@sentry/capacitor/dist/esm/breadcrumb.js","./node_modules/@sentry/capacitor/dist/esm/transports/encodePolyfill.js","./node_modules/@sentry/capacitor/dist/esm/transports/native.js","./node_modules/@sentry/capacitor/dist/esm/utils/safeFactory.js","./node_modules/@sentry/angular/fesm2020/sentry-angular.mjs","./node_modules/@ionic/storage-angular/fesm2020/ionic-storage-angular.mjs","./node_modules/@capacitor-firebase/messaging/dist/esm/index.js","./src/app/core/services/messaging/push-messaging.service.ts","./node_modules/@capacitor/app/dist/esm/index.js","./src/app/features/app-header/navbar/navbar.component.html","./src/app/features/app-header/navbar/navbar.component.ts","./src/app/core/pipes/time-format.pipe.ts","./src/app/features/app-header/game-score/game-score.component.html","./src/app/features/app-header/game-score/game-score.component.ts","./src/app/features/app-header/app-header.component.html","./src/app/features/app-header/app-header.component.ts","./src/app/app.component.html","./src/app/app.component.ts","./src/app/shared/utils/window.utils.ts","./src/app/core/guards/operator.guard.ts","./src/app/core/guards/loading-auth.guard.ts","./src/app/core/guards/location-blocked.guard.ts","./src/app/core/guards/no-update-required.guard.ts","./src/app/core/guards/auth.guard.ts","./src/app/core/guards/update-required.guard.ts","./src/app/core/guards/no-auth.guard.ts","./src/app/core/guards/initialised.guard.ts","./src/app/core/guards/geo-location.guard.ts","./src/app/core/guards/onboarding.guard.ts","./src/app/app-routing.module.ts","./src/app/core/guards/choose-game.guard.ts","./node_modules/@ngx-translate/core/fesm2020/ngx-translate-core.mjs","./node_modules/@angular/animations/fesm2022/browser.mjs","./node_modules/@angular/platform-browser/fesm2022/animations.mjs","./src/app/core/interceptors/auth.interceptor.ts","./src/app/core/interceptors/mock-responses/tiers.mock.ts","./src/app/core/interceptors/mock-responses/practice-rounds-solitaire.mock.ts","./src/app/core/interceptors/mock-responses/practice-rounds-blocks.mock.ts","./src/app/core/interceptors/mock-responses/practice-rounds-blackjack.mock.ts","./src/app/core/interceptors/mock-responses/waiting-opponents.mock.ts","./src/app/core/interceptors/mock-responses/profile.mock.ts","./src/app/core/interceptors/mock-responses/operator-data.mock.ts","./src/app/core/interceptors/mock-responses/activiy-feed.mock.ts","./src/app/core/interceptors/mock-responses/leaderboards.mock.ts","./src/app/core/interceptors/demo.interceptor.ts","./src/app/features/spinners/spinners.module.ts","./src/app/app.module.ts","./node_modules/@sentry/capacitor/dist/esm/sdk.js","./node_modules/@sentry/capacitor/dist/esm/integrations/default.js","./node_modules/@sentry/capacitor/dist/esm/utils/textEncoder.js","./node_modules/@sentry/browser/build/npm/esm/tracing/backgroundtab.js","./src/main.ts","./node_modules/@capacitor-firebase/analytics/dist/esm/definitions.js","./node_modules/@capacitor-firebase/authentication/dist/esm/definitions.js","./node_modules/@capacitor-firebase/authentication/dist/esm/index.js","./node_modules/@capacitor/core/dist/index.js","./node_modules/@capgo/capacitor-updater/dist/esm/index.js","./node_modules/@firebase/util/dist/index.esm2017.js","./node_modules/@ionic/core/components/helpers.js","./node_modules/@ionic/core/components/index2.js","./node_modules/@ionic/core/dist/esm/animation-92066c62.js","./node_modules/@ionic/core/dist/esm/button-active-d926d4f4.js","./node_modules/@ionic/core/dist/esm/capacitor-b4979570.js","./node_modules/@ionic/core/dist/esm/config-96c9ace3.js","./node_modules/@ionic/core/dist/esm/cubic-bezier-66542bc5.js","./node_modules/@ionic/core/dist/esm/framework-delegate-aa433dea.js","./node_modules/@ionic/core/dist/esm/gesture-controller-0fa396c4.js","./node_modules/@ionic/core/dist/esm/haptic-1243b917.js","./node_modules/@ionic/core/dist/esm/hardware-back-button-39299f84.js","./node_modules/@ionic/core/dist/esm/helpers-3379ba19.js","./node_modules/@ionic/core/dist/esm/index-595d62c9.js","./node_modules/@ionic/core/dist/esm/index-746a238e.js","./node_modules/@ionic/core/dist/esm/index-7a14ecec.js","./node_modules/@ionic/core/dist/esm/index-7d2b2808.js","./node_modules/@ionic/core/dist/esm/index-b49b173c.js","./node_modules/@ionic/core/dist/esm/index-df55802d.js","./node_modules/@ionic/core/dist/esm/index-ff313b19.js","./node_modules/@ionic/core/dist/esm/ion-action-sheet.entry.js","./node_modules/@ionic/core/dist/esm/ion-alert.entry.js","./node_modules/@ionic/core/dist/esm/ion-loading.entry.js","./node_modules/@ionic/core/dist/esm/ion-modal.entry.js","./node_modules/@ionic/core/dist/esm/ion-popover.entry.js","./node_modules/@ionic/core/dist/esm/ion-toast.entry.js","./node_modules/@ionic/core/dist/esm/ionic-global-246ca78f.js","./node_modules/@ionic/core/dist/esm/ios.transition-a86d7bbe.js","./node_modules/@ionic/core/dist/esm/keyboard-b063f012.js","./node_modules/@ionic/core/dist/esm/keyboard-b551279d.js","./node_modules/@ionic/core/dist/esm/lock-controller-e8c6c051.js","./node_modules/@ionic/core/dist/esm/md.transition-365ef6b6.js","./node_modules/@ionic/core/dist/esm/overlays-cec6bac8.js","./node_modules/@ionic/core/dist/esm/theme-17531cdf.js","./node_modules/@ionic/storage/dist/esm/index.js","./node_modules/dijkstrajs/dijkstra.js","./node_modules/encode-utf8/index.js","./node_modules/localforage/dist/localforage.js","./node_modules/qrcode/lib/browser.js","./node_modules/qrcode/lib/can-promise.js","./node_modules/qrcode/lib/core/alignment-pattern.js","./node_modules/qrcode/lib/core/alphanumeric-data.js","./node_modules/qrcode/lib/core/bit-buffer.js","./node_modules/qrcode/lib/core/bit-matrix.js","./node_modules/qrcode/lib/core/byte-data.js","./node_modules/qrcode/lib/core/error-correction-code.js","./node_modules/qrcode/lib/core/error-correction-level.js","./node_modules/qrcode/lib/core/finder-pattern.js","./node_modules/qrcode/lib/core/format-info.js","./node_modules/qrcode/lib/core/galois-field.js","./node_modules/qrcode/lib/core/kanji-data.js","./node_modules/qrcode/lib/core/mask-pattern.js","./node_modules/qrcode/lib/core/mode.js","./node_modules/qrcode/lib/core/numeric-data.js","./node_modules/qrcode/lib/core/polynomial.js","./node_modules/qrcode/lib/core/qrcode.js","./node_modules/qrcode/lib/core/reed-solomon-encoder.js","./node_modules/qrcode/lib/core/regex.js","./node_modules/qrcode/lib/core/segments.js","./node_modules/qrcode/lib/core/utils.js","./node_modules/qrcode/lib/core/version-check.js","./node_modules/qrcode/lib/core/version.js","./node_modules/qrcode/lib/renderer/canvas.js","./node_modules/qrcode/lib/renderer/svg-tag.js","./node_modules/qrcode/lib/renderer/utils.js","./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/Observable.js","./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/NotificationFactories.js","./node_modules/rxjs/dist/esm/internal/Subscriber.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/config.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/innerFrom.js","./node_modules/rxjs/dist/esm/internal/observable/interval.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/observable/timer.js","./node_modules/rxjs/dist/esm/internal/util/isDate.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/catchError.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","./node_modules/rxjs/dist/esm/internal/symbol/iterator.js","./node_modules/rxjs/dist/esm/internal/symbol/observable.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/errorContext.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/identity.js","./node_modules/rxjs/dist/esm/internal/util/isArrayLike.js","./node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js","./node_modules/rxjs/dist/esm/internal/util/isIterable.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isPromise.js","./node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/rxjs/dist/esm/internal/util/noop.js","./node_modules/rxjs/dist/esm/internal/util/pipe.js","./node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","./node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js","./node_modules/singular-sdk/dist/singular-sdk.js","../mobile-services/node_modules/@capacitor/core/dist/index.js","./node_modules/@ionic/core/dist/esm/ lazy ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","./node_modules/@angular/animations/fesm2022/animations.mjs","./node_modules/@angular/common/fesm2022/common.mjs","./node_modules/@angular/common/fesm2022/http.mjs","./node_modules/@angular/core/fesm2022/core.mjs","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/@angular/core/fesm2022/rxjs-interop.mjs","./node_modules/@angular/forms/fesm2022/forms.mjs","./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","./node_modules/rxjs/dist/esm/internal/observable/throwError.js","./node_modules/rxjs/dist/esm/internal/operators/refCount.js","./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/takeLast.js","./node_modules/@angular/router/fesm2022/router.mjs","./node_modules/rxjs/dist/esm/internal/operators/scan.js","./node_modules/rxjs/dist/esm/internal/operators/scanInternals.js","./node_modules/rxjs/dist/esm/internal/operators/last.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/@firebase/app/dist/esm/index.esm2017.js","./node_modules/@firebase/component/dist/esm/index.esm2017.js","./node_modules/@firebase/logger/dist/esm/index.esm2017.js","./node_modules/@ionic/core/components/overlays.js","./node_modules/@ionic/core/components/ionic-global.js","./node_modules/@ionic/angular/fesm2020/ionic-angular-common.mjs","./node_modules/@ionic/core/dist/esm/app-globals-ec816a70.js","./node_modules/@ionic/angular/fesm2020/ionic-angular.mjs","./node_modules/@ionic/core/dist/esm/polyfills/index.js","./node_modules/@ionic/core/dist/esm/loader.js","./node_modules/@jsverse/transloco/node_modules/flat/index.js","./node_modules/@jsverse/transloco/fesm2022/jsverse-transloco.mjs","./node_modules/rxjs/dist/esm/internal/operators/retry.js","./node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js","./node_modules/@sentry/core/build/esm/defaultScopes.js","./node_modules/@sentry/core/build/esm/asyncContext/index.js","./node_modules/@sentry/core/build/esm/breadcrumbs.js","./node_modules/@sentry/core/build/esm/carrier.js","./node_modules/@sentry/core/build/esm/constants.js","./node_modules/@sentry/core/build/esm/currentScopes.js","./node_modules/@sentry/core/build/esm/debug-build.js","./node_modules/@sentry/core/build/esm/exports.js","./node_modules/@sentry/core/build/esm/metrics/metric-summary.js","./node_modules/@sentry/core/build/esm/scope.js","./node_modules/@sentry/core/build/esm/semanticAttributes.js","./node_modules/@sentry/core/build/esm/session.js","./node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js","./node_modules/@sentry/core/build/esm/tracing/spanstatus.js","./node_modules/@sentry/core/build/esm/utils-hoist/baggage.js","./node_modules/@sentry/core/build/esm/utils-hoist/browser.js","./node_modules/@sentry/core/build/esm/utils-hoist/debug-build.js","./node_modules/@sentry/core/build/esm/utils-hoist/is.js","./node_modules/@sentry/core/build/esm/utils-hoist/logger.js","./node_modules/@sentry/core/build/esm/utils-hoist/misc.js","./node_modules/@sentry/core/build/esm/utils-hoist/normalize.js","./node_modules/@sentry/core/build/esm/utils-hoist/memo.js","./node_modules/@sentry/core/build/esm/utils-hoist/object.js","./node_modules/@sentry/core/build/esm/utils-hoist/propagationContext.js","./node_modules/@sentry/core/build/esm/utils-hoist/stacktrace.js","./node_modules/@sentry/core/build/esm/utils-hoist/string.js","./node_modules/@sentry/core/build/esm/utils-hoist/syncpromise.js","./node_modules/@sentry/core/build/esm/utils-hoist/time.js","./node_modules/@sentry/core/build/esm/utils-hoist/tracing.js","./node_modules/@sentry/core/build/esm/utils-hoist/version.js","./node_modules/@sentry/core/build/esm/utils-hoist/worldwide.js","./node_modules/@sentry/core/build/esm/utils/hasTracingEnabled.js","./node_modules/@sentry/core/build/esm/utils/merge.js","./node_modules/@sentry/core/build/esm/eventProcessors.js","./node_modules/@sentry/core/build/esm/utils-hoist/debug-ids.js","./node_modules/@sentry/core/build/esm/utils/applyScopeDataToEvent.js","./node_modules/@sentry/core/build/esm/utils/prepareEvent.js","./node_modules/@sentry/core/build/esm/utils/spanOnScope.js","./node_modules/@sentry/core/build/esm/utils/spanUtils.js","./node_modules/angularx-qrcode/fesm2022/angularx-qrcode.mjs","./node_modules/firebase/app/dist/esm/index.esm.js","./node_modules/idb/build/wrap-idb-value.js","./node_modules/idb/build/index.js","./node_modules/zod/lib/index.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","./node_modules/@babel/runtime/helpers/esm/typeof.js","./node_modules/@babel/runtime/helpers/esm/defineProperty.js","./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","./node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["import type { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n appId: 'com.thndrgames.clinch',\n appName: 'Clinch',\n backgroundColor: '#121212',\n plugins: {\n FirebaseAuthentication: {\n skipNativeAuth: false,\n providers: ['apple.com', 'twitter.com', 'google.com'],\n },\n LocalNotifications: {\n smallIcon: 'ic_notification',\n iconColor: '#000000',\n },\n CapacitorUpdater: {\n version: '14.2.0',\n autoUpdate: true,\n publicKey:\n '-----BEGIN RSA PUBLIC KEY-----\\nMIIBCgKCAQEAt2B/PiL6rnQNugUysP+VCiEfA5RXT2D7FlHIQ9whh3x3ReJ+Py9k\\nXy4qB838VKDMf9WRN9g/yYKCU4xQaXEahGydPoJCZZESPP0uJiCGXNVQC27QpAG4\\nFWKOoqaxOxrW/06r5UepKIyhhsN4Y6bp8I8Yt5ixvGkjB2xh7Ludy8z921heonUC\\nTU5abAgA2L1iIpBa3ahHMfomPh2Y+GSxa9EeghEDj8mtow2ylVgVDqdO8XokJf2y\\ndujCWDepjlDktj58fIalT5fuW2w0XZMLFF1kXZOxsBs2EgZ2cidp0N3ljNXcdNx0\\nLl2kmUSQq7MsYrS03AVL214iGF+eUdBm7QIDAQAB\\n-----END RSA PUBLIC KEY-----\\n',\n },\n cordova: {\n preferences: {},\n },\n },\n webDir: 'www',\n server: {\n androidScheme: 'https',\n },\n};\n\nexport default config;\n","import { EmptyError } from './util/EmptyError';\nimport { SafeSubscriber } from './Subscriber';\nexport function firstValueFrom(source, config) {\n const hasConfig = typeof config === 'object';\n return new Promise((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n resolve(value);\n subscriber.unsubscribe();\n },\n error: reject,\n complete: () => {\n if (hasConfig) {\n resolve(config.defaultValue);\n }\n else {\n reject(new EmptyError());\n }\n },\n });\n source.subscribe(subscriber);\n });\n}\n","import { firstValueFrom } from 'rxjs';\nimport { HttpService } from '../services/http/http.service';\nimport { HttpErrorResponse } from '@angular/common/http';\n\nexport class Api {\n constructor(\n readonly api: string,\n private httpService: HttpService,\n ) {}\n\n async patch(endpoint: string, body?: V, delays = [1000, 2000, 4000]): Promise {\n return this.retryOnNoConnection(\n () => this.makeRequest('patch', endpoint, body),\n delays,\n );\n }\n\n async post(endpoint: string, body?: V, delays = [1000, 2000, 4000]): Promise {\n return this.retryOnNoConnection(\n () => this.makeRequest('post', endpoint, body),\n delays,\n );\n }\n\n async get(endpoint: string, delays = [1000, 2000, 4000]): Promise {\n return this.retryOnNoConnection(() => this.makeRequest('get', endpoint), delays);\n }\n\n static isHttpErrorResponse(error: unknown): error is HttpErrorResponse {\n return error instanceof HttpErrorResponse;\n }\n\n static isNoInternetError(error: unknown): boolean {\n return (\n Api.isHttpErrorResponse(error) && error.status === 0 && error.error instanceof ProgressEvent\n );\n }\n\n private async retryOnNoConnection(apiCall: () => Promise, delays: number[]): Promise {\n for (let attempt = 0; attempt <= delays.length; attempt++) {\n try {\n return await apiCall();\n } catch (error) {\n if (!Api.isHttpErrorResponse(error) || !Api.isNoInternetError(error)) {\n throw error;\n }\n\n if (attempt < delays.length) {\n await this.sleep(delays[attempt]);\n } else {\n throw error;\n }\n }\n }\n throw new Error(`Failed to call API after ${delays.length + 1} attempts.`);\n }\n\n private async makeRequest(\n method: 'patch' | 'post' | 'get',\n endpoint: string,\n body?: V,\n ): Promise {\n const url = `${this.api}/${endpoint}`;\n const headers = this.httpService.generateHeaders();\n\n switch (method) {\n case 'patch':\n return firstValueFrom(this.httpService.https.patch(url, body, { headers })) as Promise;\n case 'post':\n return firstValueFrom(this.httpService.https.post(url, body, { headers })) as Promise;\n case 'get':\n return firstValueFrom(this.httpService.https.get(url, { headers })) as Promise;\n default:\n throw new Error(`Unsupported HTTP method: ${method}`);\n }\n }\n\n private sleep(ms: number): Promise {\n return new Promise((resolve) => setTimeout(resolve, ms));\n }\n}\n","import { HttpService } from '../services/http/http.service';\nimport { Api } from './api';\nimport { z } from 'zod';\n\nexport const DISCLOSE_SECRETS = 'disclose-secrets';\nexport const DISCLOSURES = 'disclosures';\n\nexport class DealerApi {\n private api: Api;\n\n private constructor(url: string, httpService: HttpService) {\n this.api = new Api(url, httpService);\n }\n\n static request(url: string, httpService: HttpService) {\n return new DealerApi(url, httpService);\n }\n\n async existingSecrets(dealId: string) {\n const response = await this.api.get(`${DISCLOSURES}/${dealId}`);\n if (!DealerApi.isApiResponseDisclosures(response)) {\n console.warn(`${DISCLOSURES} api response has changed`);\n }\n\n return response;\n }\n\n async disclose(\n dealId: string,\n indexes: number[],\n gameStateHash: string,\n disclosedSecrets: number,\n ) {\n const response = await this.api.post<\n ApiResponseSecretsDisclosed,\n {\n dealId: string;\n indexes: number[];\n gameStateHash: string;\n disclosedSecrets: number;\n }\n >(DISCLOSE_SECRETS, { dealId, indexes, gameStateHash, disclosedSecrets }, [2000]);\n\n if (!DealerApi.isApiResponseSecretsDisclosed(response)) {\n console.warn(`${DISCLOSE_SECRETS} api response has changed`);\n }\n\n return response;\n }\n\n static isApiResponseDisclosures(obj: unknown): obj is ApiResponseDisclosures {\n return ApiResponseDisclosuresSchema.safeParse(obj).success;\n }\n\n static isApiResponseSecretsDisclosed(obj: unknown): obj is ApiResponseDisclosures {\n return ApiResponseSecretsDisclosedSchema.safeParse(obj).success;\n }\n}\n\nexport const ApiResponseDisclosuresSchema = z.object({\n data: z.object({\n disclosures: z.object({ index: z.number(), value: z.number() }).array(),\n }),\n});\n\nexport type ApiResponseDisclosures = z.infer;\n\nexport const ApiResponseSecretsDisclosedSchema = z.object({\n data: z.object({\n secrets: z.object({ index: z.number(), value: z.number() }).array(),\n }),\n});\n\nexport type ApiResponseSecretsDisclosed = z.infer;\n","import { environment } from 'src/environments/environment';\nimport { Api } from './api';\nimport { z } from 'zod';\nimport { Currency } from 'src/app/model/wallet/currency';\nimport { DefaultWallet } from 'src/app/model/wallet/default-wallet';\nimport { UsdcContractMessage } from '../services/wallet-payment/platforms/usdc-typed-data';\nimport { HttpService } from '../services/http/http.service';\n\nexport const DEFAULT_WALLET = 'accounts/default-wallet';\nexport const SET_LIGHTNING_ADDRESS = 'accounts/set-lightning-address';\nexport const SET_POLYGON_ADDRESS = 'accounts/set-polygon-wallet';\nexport const USDC_BALANCE = 'usdc/balance';\nexport const USDC_DEPOSIT_DATA = 'usdc/deposit-data';\nexport const USDC_CREATE_DEPOSIT = 'usdc/create-deposit';\nexport const USDC_RELAY_TRANSFER = 'usdc/relay-transfer';\nexport const CREATE_INVOICE = 'jit/create-invoice';\nexport const DEPOSIT_STATUS = 'jit/deposit-status';\nexport const DELETE_ACCOUNT = 'jit/delete-account';\nexport const DEMO_PAY = 'jit/demo-pay';\n\nexport class JitApi {\n private api: Api;\n\n private constructor(httpService: HttpService) {\n // JIT also uses the wallets cloud project\n this.api = new Api(environment.walletApi, httpService);\n }\n\n static request(httpService: HttpService) {\n return new JitApi(httpService);\n }\n\n async defaultWallet(): Promise {\n const response = await this.api.get(DEFAULT_WALLET);\n // if (!JitApi.isApiResponseDefaultWallet(response)) {\n // console.warn(`${DEFAULT_WALLET} api response has changed`);\n // }\n return response;\n }\n\n async setLightningAddress(lightningAddress: string): Promise {\n const response = await this.api.post(\n SET_LIGHTNING_ADDRESS,\n { lightningAddress },\n );\n if (!JitApi.isApiResponseLightningAddress(response)) {\n console.warn(`${SET_LIGHTNING_ADDRESS} api response has changed`);\n }\n return response;\n }\n\n async setPolygonAddress(\n walletName: string,\n polygonAddress: string,\n ): Promise {\n try {\n const response = await this.api.post<\n ApiResponsePolygonAddress,\n { walletName: string; polygonAddress: string }\n >(SET_POLYGON_ADDRESS, { walletName, polygonAddress });\n if (!JitApi.isApiResponsePolygonAddress(response)) {\n console.warn(`${SET_POLYGON_ADDRESS} api response has changed`);\n }\n return response;\n } catch (error) {\n console.error(`SET_POLYGON_ADDRESS error: ${JSON.stringify(error)}`);\n throw error;\n }\n }\n\n async deleteAccount(): Promise {\n const response = await this.api.post(DELETE_ACCOUNT);\n if (!JitApi.isApiResponseDeleteAccount(response)) {\n console.warn(`${DELETE_ACCOUNT} api response has changed`);\n }\n return response;\n }\n\n async usdcBalance(): Promise {\n const response = await this.api.get(USDC_BALANCE);\n if (!JitApi.isApiResponseUsdcBalance(response)) {\n console.warn(`${USDC_BALANCE} api response has changed`);\n }\n return response;\n }\n\n async usdcDepositData(): Promise {\n const response = await this.api.get(USDC_DEPOSIT_DATA);\n if (!JitApi.isApiResponseUsdcDepositData(response)) {\n console.warn(`${USDC_DEPOSIT_DATA} api response has changed`);\n }\n return response;\n }\n\n async usdcCreateDeposit(transactionHash: string): Promise {\n const response = await this.api.post(\n USDC_CREATE_DEPOSIT,\n {\n transactionHash,\n },\n );\n if (!JitApi.isApiResponseUsdcCreateDeposit(response)) {\n console.warn(`${USDC_CREATE_DEPOSIT} api response has changed`);\n }\n return response;\n }\n\n async usdcRelayTransfer(\n dataSignature: string,\n message: UsdcContractMessage,\n ): Promise {\n const response = await this.api.post<\n ApiResponseUsdcRelayTransfer,\n { message: UsdcContractMessage; signature: string }\n >(USDC_RELAY_TRANSFER, {\n message,\n signature: dataSignature,\n });\n if (!JitApi.isApiResponseUsdcRelayTransfer(response)) {\n console.warn(`${USDC_RELAY_TRANSFER} api response has changed`);\n }\n return response;\n }\n\n async createInvoice(usd: number): Promise {\n const response = await this.api.post<\n ApiResponseCreateInvoice,\n { amount: number; currency: string }\n >(CREATE_INVOICE, { amount: usd, currency: Currency.USD });\n if (!JitApi.isApiResponseCreateInvoice(response)) {\n console.warn(`${CREATE_INVOICE} api response has changed`);\n }\n return response;\n }\n\n async depositStatus(depositId: string): Promise {\n const response = await this.api.get(`${DEPOSIT_STATUS}/${depositId}`);\n if (!JitApi.isApiResponseDepositStatus(response)) {\n console.warn(`${DEPOSIT_STATUS} api response has changed`);\n }\n\n return response;\n }\n\n async demoPay(depositId: string): Promise {\n const response = await this.api.post(DEMO_PAY, {\n depositId,\n });\n if (!JitApi.isApiResponseDemoPay(response)) {\n console.warn(`${DEMO_PAY} api response has changed`);\n }\n\n return response;\n }\n\n static isApiResponseDefaultWallet(obj: unknown): obj is ApiResponseDefaultWallet {\n const lightningWalletSchema = z.object({\n networkName: z.string(),\n lightningAddress: z.string(),\n });\n\n const polygonWalletSchema = z.object({\n networkName: z.string(),\n walletName: z.string(),\n polygonAddress: z.string(),\n });\n\n const dataSchema = z.union([lightningWalletSchema, polygonWalletSchema]).refine(\n (data) => {\n // Add logic to determine if it’s Lightning or Usdc wallet based on the fields present\n return 'lightningAddress' in data || 'polygonAddress' in data;\n },\n {\n message: 'Data does not match a known wallet type',\n },\n );\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseLightningAddress(obj: unknown): obj is ApiResponseLightningAddress {\n const dataSchema = z.object({\n lightningAddress: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponsePolygonAddress(obj: unknown): obj is ApiResponsePolygonAddress {\n const dataSchema = z.object({\n polygonAddress: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseUsdcBalance(obj: unknown): obj is ApiResponseUsdcBalance {\n const dataSchema = z.object({\n balanceCents: z.number().nullish(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseUsdcDepositData(obj: unknown): obj is ApiResponseUsdcDepositData {\n const dataSchema = z.object({\n usdcAddress: z.string(),\n operatorAddress: z.string(),\n usdcContract: UsdcContractSchema,\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseUsdcCreateDeposit(obj: unknown): obj is ApiResponseUsdcCreateDeposit {\n const dataSchema = z.object({\n depositId: z.string(),\n confirmations: z.number(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema.nullish(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseUsdcRelayTransfer(obj: unknown): obj is ApiResponseUsdcRelayTransfer {\n const dataSchema = z.object({\n depositId: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseCreateInvoice(obj: unknown): obj is ApiResponseCreateInvoice {\n const dataSchema = z.object({\n amountSats: z.number(),\n expiresAt: z.number(),\n lnInvoice: z.string(),\n depositId: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseDepositStatus(obj: unknown): obj is ApiResponseDepositStatus {\n const dataSchema = z.object({\n chargeStatus: z.string(),\n depositStatus: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseDemoPay(obj: unknown): obj is ApiResponseDemoPay {\n const dataSchema = z.object({\n status: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseDeleteAccount(obj: unknown): obj is ApiResponseDeleteAccount {\n const dataSchema = z.object({\n status: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n}\n\nexport interface ApiResponseDefaultWallet {\n msg: string;\n status: number;\n data: DefaultWallet;\n}\n\nexport interface ApiResponseLightningAddress {\n msg: string;\n status: number;\n data: {\n lightningAddress: string;\n };\n}\n\nexport interface ApiResponsePolygonAddress {\n msg: string;\n status: number;\n data: {\n polygonAddress: string;\n };\n}\n\nexport interface ApiResponseUsdcBalance {\n status: number;\n msg: string;\n data: {\n balanceCents: number | null;\n };\n}\n\nexport interface ApiResponseUsdcDepositData {\n status: number;\n msg: string;\n data: {\n usdcAddress: string;\n operatorAddress: string;\n usdcContract: UsdcContract;\n };\n}\n\nexport interface ApiResponseUsdcCreateDeposit {\n status: number;\n msg: string;\n data?: {\n depositId: string;\n confirmations: number;\n };\n}\n\nexport interface ApiResponseUsdcRelayTransfer {\n status: number;\n msg: string;\n data: {\n depositId: string;\n };\n}\n\nexport interface ApiResponseCreateInvoice {\n status: number;\n msg: string;\n data: {\n amountSats: number;\n expiresAt: number;\n lnInvoice: string;\n depositId: string;\n };\n}\n\nexport interface ApiResponseDepositStatus {\n status: number;\n msg: string;\n data: {\n chargeStatus: string;\n depositStatus: string;\n };\n}\n\nexport interface ApiResponseDemoPay {\n status: number;\n msg: string;\n data: {\n status: string;\n };\n}\n\nexport interface ApiResponseDeleteAccount {\n msg: string;\n status: number;\n data: {\n status: string;\n };\n}\n\nconst UsdcContractDomainSchema = z.object({\n name: z.string(),\n version: z.string(),\n chainId: z.number(),\n verifyingContract: z.string(),\n});\nexport type UsdcContractDomain = z.infer;\n\nconst UsdcContractTypesSchema = z.object({\n EIP712Domain: z.array(\n z.object({\n name: z.string(),\n type: z.string(),\n }),\n ),\n TransferWithAuthorization: z.array(\n z.object({\n name: z.string(),\n type: z.string(),\n }),\n ),\n});\nexport type UsdcContractTypes = z.infer;\n\nconst UsdcContractSchema = z.object({\n domain: UsdcContractDomainSchema,\n types: UsdcContractTypesSchema,\n});\nexport type UsdcContract = z.infer;\n","import { environment } from 'src/environments/environment';\nimport { Api } from './api';\nimport { z } from 'zod';\nimport { HttpService } from '../services/http/http.service';\n\nexport const NICK_ENDPOINT = 'nick';\nexport const FCM_TOKEN_ENDPOINT = 'fcm-token';\n\n/* \n Note: all functions can throw a ApiResponseError (thrown from Api in 'private/api')\n if there is response error. Client should consume this, for appropriate\n error handling. \n*/\nexport class UserApi {\n private api: Api;\n\n private constructor(httpService: HttpService) {\n this.api = new Api(environment.wagerApi, httpService);\n }\n\n static request(httpService: HttpService) {\n return new UserApi(httpService);\n }\n\n async setNick(nick: string): Promise {\n const response = await this.api.post(NICK_ENDPOINT, {\n nick,\n });\n\n if (!UserApi.isValidApiResponseNick(response)) {\n console.warn(`${NICK_ENDPOINT} api response has changed`);\n }\n }\n\n async getNick(): Promise {\n const response = await this.api.get(NICK_ENDPOINT);\n\n if (!UserApi.isValidApiResponseGetNick(response)) {\n console.warn(`${NICK_ENDPOINT} api response has changed`);\n }\n\n return response;\n }\n\n async setFcmToken(fcmToken: string): Promise {\n const response = await this.api.post(\n FCM_TOKEN_ENDPOINT,\n { fcmToken },\n );\n\n if (!UserApi.isValidApiResponseFcmToken(response)) {\n console.warn(`${FCM_TOKEN_ENDPOINT} api response has changed`);\n }\n }\n\n static isValidApiResponseNick(obj: unknown): obj is ApiResponseNick {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isValidApiResponseFcmToken(obj: unknown): obj is ApiResponseFcmToken {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isValidApiResponseGetNick(obj: unknown): obj is ApiResponseGetNick {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n}\n\nexport interface ApiResponseNick {\n status: number;\n msg: string;\n data: null;\n}\n\nexport interface ApiResponseFcmToken {\n status: number;\n msg: string;\n data: null;\n}\n\nexport interface ApiResponseGetNick {\n status: number;\n msg: string;\n data: string;\n}\n","import { RoomDisplayResult } from 'src/app/shared/types/room-display-result';\nimport { Round } from 'src/app/shared/types/round';\nimport { GameId } from '../game/game-id';\nimport { z } from 'zod';\n\nexport const RoomCreationMethodSchema = z.enum(['CODE', 'MATCH']);\nexport type RoomCreationMethod = z.infer;\n\nconst RoomOpponentSchema = z\n .object({\n invoice: z.string().optional(),\n nick: z.string(),\n roundDeadline: z.number().optional(),\n roundState: z.nativeEnum(Round),\n startRoundDeadline: z.number().optional(),\n score: z.number().optional(),\n userId: z.string().nullable().optional(),\n })\n .optional();\n\nexport const RoomModelSchema = z.object({\n creationMethod: RoomCreationMethodSchema,\n logicVersion: z.number().default(1),\n gameId: z.nativeEnum(GameId),\n currency: z.string().optional(),\n entryFee: z.number(),\n joinDeadline: z.number(),\n result: z.nativeEnum(RoomDisplayResult),\n resultSent: z.boolean().optional(),\n reward: z.number(),\n roundDeadline: z.number().optional(),\n roundState: z.nativeEnum(Round),\n score: z.number().optional(),\n opponent: RoomOpponentSchema,\n sortDate: z.number(),\n startRoundDeadline: z.number(),\n bounty: z\n .object({\n amount: z.number(),\n jackpot: z.boolean(),\n })\n .optional(),\n});\n\nexport type RoomModel = z.infer;\n","import { environment } from 'src/environments/environment';\nimport { Api } from './api';\nimport { z } from 'zod';\nimport {\n LeaderboardPeriodType,\n LeaderboardType,\n} from '../services/leaderboards/models/leaderboard-metadata';\nimport {\n ActivityMessageData,\n ActivityMessageDataSchema,\n} from '../services/activity-feed/models/activity-message-data';\nimport { HttpService } from '../services/http/http.service';\nimport { RoomModel, RoomModelSchema } from 'src/app/model/room/room.model';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { WagerTier } from 'src/app/model/wager/wager';\n\nexport const FIND_MATCH = 'find-match';\nexport const CHECK_IP = 'check-ip';\nexport const FINISH_ROUND = 'finish-round';\nexport const START_ROUND = 'start-round';\nexport const MIN_CLIENT_VERSION = 'min-client-version';\nexport const BOOTUP = 'bootup';\nexport const PROVISIONAL_USER = 'provision-user';\nexport const PROFILE = 'profile';\nexport const TIERS = 'tiers';\nexport const OPERATOR_DATA = 'operator-data';\nexport const GEOCODE = 'geocode';\nexport const ROOMS = 'rooms';\nexport const REFERRAL_GENERATE = 'referrals/generate';\nexport const REFERRAL_REDEEM = 'referrals/redeem';\nexport const LEADERBOARDS = 'game-leaderboards';\nexport const WAITING_OPPONENTS = 'waiting-opponents';\nexport const ACTIVITY_FEED = 'activity-feed';\nexport const PRACTICE_ROUNDS = 'practice-rounds';\nexport const TOURNAMENT_PUBLISHED = 'tournaments/published';\nexport const TOURNAMENTS = 'tournaments';\nexport const MINI_LEADERBOARD = 'mini-leaderboard';\nexport const LEADERBOARD = 'leaderboard';\nexport const LEADERBOARD_ENTRY = 'leaderboard/entry';\nexport const GAME_STATS = 'game-stats';\nexport const USERS = 'users';\nexport const INVENTORY = 'inventory';\nexport const SPIN_DAILY_SPINNER = 'spin-daily-spinner';\nexport const SPIN_ROUND_SPINNER = 'spin-round-spinner';\n\n/* \n Note: all functions can throw a ApiResponseError (thrown from Api in 'private/api')\n if there is response error. Client should consume this, for appropriate\n error handling. \n*/\nexport class WagerApi {\n private api: Api;\n\n private constructor(httpService: HttpService) {\n this.api = new Api(environment.wagerApi, httpService);\n }\n\n static request(httpService: HttpService) {\n return new WagerApi(httpService);\n }\n\n async checkIp(): Promise {\n const response = await this.api.get(CHECK_IP);\n if (!WagerApi.isApiResponseIpInfo(response)) {\n console.warn(`${CHECK_IP} api response has changed`);\n }\n return response;\n }\n\n async bootup(): Promise {\n const response = await this.api.get(BOOTUP);\n if (!WagerApi.isApiResponseBootup(response)) {\n console.warn(`${BOOTUP} api response has changed`);\n }\n return response;\n }\n\n async provisionalUser(): Promise {\n const response = await this.api.post(PROVISIONAL_USER);\n if (!WagerApi.isApiResponseProvisionalUser(response)) {\n console.warn(`${PROVISIONAL_USER} api response has changed`);\n }\n return response;\n }\n\n async profile(): Promise {\n const response = await this.api.get(PROFILE);\n if (!WagerApi.isApiResponseProfile(response)) {\n console.warn(`${PROFILE} api response has changed`);\n }\n return response;\n }\n\n async randomPractice(gameId: GameId): Promise {\n const response = await this.api.get(\n `${PRACTICE_ROUNDS}/${gameId}/random`,\n );\n if (!WagerApi.isApiResponseRandomPractice(response)) {\n console.warn(`${PRACTICE_ROUNDS} api response has changed`);\n }\n return response;\n }\n\n async rooms(roomId: string): Promise {\n const response = await this.api.get(`${ROOMS}/${roomId}`);\n if (!WagerApi.isApiResponseRoom(response)) {\n console.warn(`${ROOMS} api response has changed`);\n }\n return response;\n }\n\n async roomTournaments(roomId: string): Promise {\n const response = await this.api.get(\n `${ROOMS}/${roomId}/${TOURNAMENTS}`,\n );\n if (!WagerApi.isApiResponseRoomTournaments(response)) {\n console.warn(`${ROOMS} api response has changed`);\n }\n return response;\n }\n\n async minClientVersion(): Promise {\n const response = await this.api.get(MIN_CLIENT_VERSION);\n if (!WagerApi.isApiResponseMinClientVersion(response)) {\n console.warn(`${MIN_CLIENT_VERSION} api response has changed`);\n }\n return response;\n }\n\n async findMatch(\n gameId: GameId,\n tierId: string,\n depositId: string,\n tournamentId?: string | null,\n ): Promise {\n const requestBody: ApiReqBodyFindMatch = { gameId, tierId, depositId };\n if (tournamentId && tournamentId !== null) requestBody.tournamentId = tournamentId;\n const response = await this.api.post(\n FIND_MATCH,\n requestBody,\n );\n if (!WagerApi.isApiResponseFindMatch(response)) {\n console.warn(`${FIND_MATCH} api response has changed`);\n }\n return response;\n }\n\n async findOperatorMatch(\n gameId: GameId,\n tierId: string,\n idempotencyKey: string,\n ): Promise {\n const response = await this.api.post<\n ApiResponseFindMatch,\n { gameId: string; tierId: string; idempotencyKey: string }\n >(FIND_MATCH, { gameId, tierId, idempotencyKey });\n if (!WagerApi.isApiResponseFindMatch(response)) {\n console.warn(`${FIND_MATCH} api response has changed`);\n }\n return response;\n }\n\n async startRound(roomId: string): Promise {\n const response = await this.api.post(START_ROUND, {\n roomId,\n });\n\n if (!WagerApi.isApiResponseStartRound(response)) {\n console.warn(`${START_ROUND} api response has changed`);\n }\n\n return response;\n }\n\n async finishRound(roomId: string, moves: string[]): Promise {\n if (moves.length === 1 && moves[0] === '') {\n moves = new Array();\n }\n\n const response = await this.api.post<\n ApiResponseFinishRound,\n { roomId: string; moves: string[] }\n >(FINISH_ROUND, { roomId, moves });\n\n if (!WagerApi.isApiResponseFinishRound(response)) {\n console.warn(`${FINISH_ROUND} api response has changed`);\n }\n\n return response;\n }\n\n async tiers() {\n const response = await this.api.get(TIERS);\n if (!WagerApi.isApiResponseTiers(response)) {\n console.warn(`${TIERS} api response has changed`);\n }\n return response;\n }\n\n async geocode(lat: number, lng: number) {\n const response = await this.api.get(`${GEOCODE}?lat=${lat}&lng=${lng}`);\n\n if (!WagerApi.isApiResponseGeoCode(response)) {\n console.warn(`${GEOCODE} api response has changed`);\n }\n return response;\n }\n\n async operatorData() {\n const response = await this.api.get(OPERATOR_DATA);\n if (!WagerApi.isApiResponseOperatorData(response)) {\n console.warn(`${OPERATOR_DATA} api response has changed`);\n }\n return response;\n }\n\n async referralGenerate(): Promise {\n const response = await this.api.post(REFERRAL_GENERATE);\n if (!WagerApi.isApiResponseReferralCode(response)) {\n console.warn(`${REFERRAL_GENERATE} api response has changed`);\n }\n return response;\n }\n\n async referralRedeem(referralCode: string): Promise {\n const response = await this.api.post(\n REFERRAL_REDEEM,\n { referralCode },\n );\n if (!WagerApi.isApiResponseRedeemReferralCode(response)) {\n console.warn(`${REFERRAL_REDEEM} api response has changed`);\n }\n return response;\n }\n\n // TODO: Use duelBucketId when we add tournaments, but use 'default' if it's not a tournament\n async waitingOpponents(\n gameId: GameId,\n duelBucketId = 'default',\n ): Promise {\n const response = await this.api.get(\n `${WAITING_OPPONENTS}/${gameId}/${duelBucketId}`,\n );\n if (!WagerApi.isApiResponseWaitingOpponents(response)) {\n console.warn(`${WAITING_OPPONENTS} api response has changed`);\n }\n return response;\n }\n\n async leaderboardList(\n tournamentId: string,\n page: number,\n ): Promise {\n const response = await this.api.get(\n `${TOURNAMENTS}/${tournamentId}/${LEADERBOARD}/${page}`,\n );\n if (!WagerApi.isApiResponseLeaderboardList(response)) {\n console.warn(`${TOURNAMENTS} api response has changed`);\n }\n return response;\n }\n\n async leaderboardEntry(tournamentId: string): Promise {\n const response = await this.api.get(\n `${TOURNAMENTS}/${tournamentId}/${LEADERBOARD_ENTRY}`,\n );\n if (!WagerApi.isApiResponseLeaderboardEntry(response)) {\n console.warn(`${TOURNAMENTS} api response has changed`);\n }\n return response;\n }\n\n async leaderboards(\n gameId: GameId,\n leaderboardType: LeaderboardType,\n timePeriod: LeaderboardPeriodType,\n ): Promise {\n const response = await this.api.get(\n `${LEADERBOARDS}/${gameId}/${leaderboardType}/${timePeriod}`,\n );\n if (!WagerApi.isApiResponseLeaderboards(response)) {\n console.warn(`${LEADERBOARDS} api response has changed`);\n }\n return response;\n }\n\n async stats(userId: string, gameId: string): Promise {\n const response = await this.api.get(\n `${USERS}/${userId}/${GAME_STATS}/${gameId}`,\n );\n if (!WagerApi.isApiResponseStats(response)) {\n console.warn(`${GAME_STATS} api response has changed`);\n }\n return response;\n }\n\n async activityFeed(gameId?: string): Promise {\n const url = gameId ? `${ACTIVITY_FEED}?gameId=${gameId}` : ACTIVITY_FEED;\n const response = await this.api.get(url);\n if (!WagerApi.isApiResponseActivityFeed(response)) {\n console.warn(`${ACTIVITY_FEED} api response has changed`);\n }\n return response;\n }\n\n async publishedTournaments(): Promise {\n const response = await this.api.get(TOURNAMENT_PUBLISHED);\n if (!WagerApi.isApiResponsePublisedTournaments(response)) {\n console.warn(`${TOURNAMENT_PUBLISHED} api response has changed`);\n }\n return response;\n }\n\n async tournamentData(tournamentId: string): Promise {\n const response = await this.api.get(\n `${TOURNAMENTS}/${tournamentId}`,\n );\n if (!WagerApi.isApiResponseTournamentData(response)) {\n console.warn(`${TOURNAMENTS} api response has changed`);\n }\n return response;\n }\n\n async miniLeaderboardData(tournamentId: string): Promise {\n const response = await this.api.get(\n `${TOURNAMENTS}/${tournamentId}/${MINI_LEADERBOARD}`,\n );\n if (!WagerApi.isApiResponseMiniLeaderboardData(response)) {\n console.warn(`${TOURNAMENTS} api response has changed`);\n }\n return response;\n }\n\n async inventory(): Promise {\n const response = await this.api.get(INVENTORY);\n if (!WagerApi.isApiResponseInventory(response)) {\n console.warn(`${INVENTORY} api response has changed`);\n }\n return response;\n }\n\n async dailySpinner(nextSpinAvailableAt: number): Promise {\n const response = await this.api.post<\n ApiResponseSpinDailySpinner,\n { nextSpinAvailableAt: number }\n >(SPIN_DAILY_SPINNER, {\n nextSpinAvailableAt,\n });\n\n if (!WagerApi.isApiResponseSpinDailySpinner(response)) {\n console.warn(`${SPIN_DAILY_SPINNER} api response has changed`);\n }\n\n return response;\n }\n\n async spinRoundSpinner(): Promise {\n const response = await this.api.post(SPIN_ROUND_SPINNER);\n\n if (!WagerApi.isApiResponseSpinRoundSpinner(response)) {\n console.warn(`${SPIN_ROUND_SPINNER} api response has changed`);\n }\n\n return response;\n }\n\n static isApiResponseTiers(obj: unknown): obj is ApiResponseTiers {\n const dataSchema = z.object({\n tierId: z.string(),\n currency: z.string(),\n entryFee: z.number(),\n reward: z.number(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: z.array(dataSchema),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseRandomPractice(obj: unknown): obj is ApiResponseRandomPractice {\n const dataSchema = z.object({\n opponentUserId: z.string().nullable().optional(),\n opponentName: z.string(),\n opponentScore: z.number(),\n secrets: z.array(\n z.object({\n index: z.number(),\n value: z.number(),\n }),\n ),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseFindMatch(obj: unknown): obj is ApiResponseFindMatch {\n const dataSchema = z.object({\n roomId: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseRoom(obj: unknown): obj is ApiResponseRoom {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: RoomModelSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseRoomTournaments(obj: unknown): obj is ApiResponseRoom {\n const PrizeSchema = z.object({\n count: z.number(),\n amount: z.number(),\n });\n\n const TournamentSchema = z.object({\n tournamentId: z.string(),\n scoreFormula: z.literal('SUM_OF_WON_CENTS'),\n title: z.string(),\n bannerUrl: z.string(),\n startDate: z.number(),\n endDate: z.number(),\n joinUntilDate: z.number(),\n roomDeadline: z.number(),\n finished: z.boolean(),\n gameIds: z.array(z.nativeEnum(GameId)),\n leaderboard: z.object({\n prizes: z.array(PrizeSchema),\n }),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: TournamentSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseIpInfo(obj: unknown): obj is ApiResponseIpInfo {\n const schema = z.object({\n continent: z.string(),\n continentCode: z.string(),\n country: z.string(),\n countryCode: z.string(),\n query: z.string(),\n region: z.string(),\n regionName: z.string(),\n status: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseBootup(obj: unknown): obj is ApiResponseBootup {\n const featureFlagsSchema = z.object({\n enableReferrals: z.boolean(),\n enableLeaderboards: z.boolean(),\n enableActivityFeed: z.boolean(),\n enableEmailLink: z.boolean(),\n });\n\n const schema = z.object({\n appleReviewVersion: z.string().optional(),\n minWebVersion: z.number(),\n minAndroidVersion: z.number(),\n minIOSVersion: z.number(),\n androidDownloadLink: z.string(),\n iosDownloadLink: z.string(),\n featureFlags: featureFlagsSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseMinClientVersion(obj: unknown): obj is ApiResponseIpInfo {\n const schema = z.object({\n minClientVersion: z.number(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseOperatorData(obj: unknown): obj is ApiResponseOperatorData {\n const dataSchema = z.object({\n userId: z.string(),\n operatorId: z.string(),\n displayName: z.string().optional(),\n });\n\n const schema = z.object({\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseStartRound(obj: unknown): obj is ApiResponseStartRound {\n const dataSchema = z.object({\n dealId: z.string(),\n dealerUrl: z.string(),\n deadline: z.number(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseFinishRound(obj: unknown): obj is ApiResponseFinishRound {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseGeoCode(obj: unknown): obj is ApiResponseGeoCode {\n const dataSchema = z.object({\n countryCode: z.string(),\n state: z.string().optional(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseReferralCode(obj: unknown): obj is ApiResponseReferralCode {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: z.object({\n referralCode: z.string(),\n }),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseRedeemReferralCode(obj: unknown): obj is ApiResponseRedeemReferralCode {\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseProfile(obj: unknown): obj is ApiResponseProfile {\n const fcmTokenSchema = z.object({\n token: z.string(),\n modifiedAt: z.number(),\n });\n\n const referralStatsSchema = z.object({\n referredPayers: z.number(),\n totalPaymentCents: z.number(),\n totalPaymentTransactions: z.number(),\n });\n\n const referralTierSchema = z.object({\n serviceFeeShare: z.number(),\n minReferredPayers: z.number(),\n });\n\n const dataSchema = z.object({\n account: z.object({\n nick: z.string().optional(),\n fcmToken: fcmTokenSchema.nullish(),\n }),\n referral: z.object({\n code: z.string().optional(),\n serviceFeeDiscount: z.number(),\n serviceFeeShare: z.number(),\n bonusServiceFeeShare: z.number(),\n }),\n referrer: z\n .object({\n referrerId: z.string(),\n code: z.string(),\n serviceFeeDiscount: z.number(),\n })\n .nullish(),\n referralStats: referralStatsSchema,\n bonusStats: referralStatsSchema,\n referralTiers: z.array(referralTierSchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseProvisionalUser(obj: unknown): obj is ApiResponseProvisionalUser {\n const dataSchema = z.object({\n userId: z.string(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseWaitingOpponents(obj: unknown): obj is ApiResponseWaitingOpponents {\n const dataSchema = z.object({\n waitingOpponents: z.record(z.boolean()),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseLeaderboards(obj: unknown): obj is ApiResponseLeaderboards {\n const leaderboardEntrySchema = z.object({\n nick: z.string(),\n position: z.number(),\n rank: z.number(),\n value: z.number(),\n });\n const dataSchema = z.object({\n lastUpdated: z.number(),\n leaderboardData: z.object({}).catchall(leaderboardEntrySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseLeaderboardList(obj: unknown): obj is ApiResponseTournamentLeaderboardList {\n const LeaderBoardEntrySchema = z.object({\n nick: z.string(),\n userId: z.string(),\n score: z.number(),\n });\n const dataSchema = z.object({\n page: z.number(),\n entriesPerPage: z.number(),\n hasMoreEntries: z.boolean(),\n entries: z.array(LeaderBoardEntrySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseLeaderboardEntry(obj: unknown): obj is ApiResponseTournamentLeaderboardEntry {\n const dataSchema = z.object({\n score: z.number(),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseActivityFeed(obj: unknown): obj is ApiResponseLeaderboards {\n const dataSchema = z.object({\n serverTime: z.number(),\n activities: z.record(z.string(), z.record(z.string(), ActivityMessageDataSchema)),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponsePublisedTournaments(obj: unknown): obj is ApiResponsePublishedTournaments {\n const PrizeSchema = z.object({\n count: z.number(),\n amount: z.number(),\n });\n\n const TournamentSchema = z.object({\n tournamentId: z.string(),\n scoreFormula: z.literal('SUM_OF_WON_CENTS'),\n title: z.string(),\n bannerUrl: z.string(),\n startDate: z.number(),\n endDate: z.number(),\n joinUntilDate: z.number(),\n roomDeadline: z.number(),\n finished: z.boolean(),\n gameIds: z.array(z.nativeEnum(GameId)),\n leaderboard: z.object({\n prizes: z.array(PrizeSchema),\n }),\n });\n\n const LeaderBoardEntrySchema = z.object({\n nick: z.string(),\n userId: z.string(),\n score: z.number(),\n });\n\n const PublishedTournamentSchema = z.object({\n tournament: TournamentSchema,\n entries: z.array(LeaderBoardEntrySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: z.array(PublishedTournamentSchema),\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseTournamentData(obj: unknown): obj is ApiResponseTournamentData {\n const PrizeSchema = z.object({\n count: z.number(),\n amount: z.number(),\n });\n\n const TournamentSchema = z.object({\n tournamentId: z.string(),\n scoreFormula: z.literal('SUM_OF_WON_CENTS'),\n title: z.string(),\n bannerUrl: z.string(),\n startDate: z.number(),\n endDate: z.number(),\n joinUntilDate: z.number(),\n roomDeadline: z.number(),\n finished: z.boolean(),\n gameIds: z.array(z.nativeEnum(GameId)),\n leaderboard: z.object({\n prizes: z.array(PrizeSchema),\n }),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: TournamentSchema.nullable(),\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseMiniLeaderboardData(obj: unknown): obj is ApiResponseMiniLeaderboardData {\n const PrizeSchema = z.object({\n count: z.number(),\n amount: z.number(),\n });\n\n const TournamentSchema = z.object({\n tournamentId: z.string(),\n scoreFormula: z.literal('SUM_OF_WON_CENTS'),\n title: z.string(),\n bannerUrl: z.string(),\n startDate: z.number(),\n endDate: z.number(),\n joinUntilDate: z.number(),\n roomDeadline: z.number(),\n finished: z.boolean(),\n gameIds: z.array(z.nativeEnum(GameId)),\n leaderboard: z.object({\n prizes: z.array(PrizeSchema),\n }),\n });\n\n const LeaderBoardEntrySchema = z.object({\n nick: z.string(),\n userId: z.string(),\n score: z.number(),\n });\n\n const PublishedTournamentSchema = z.object({\n tournament: TournamentSchema,\n entries: z.array(LeaderBoardEntrySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: PublishedTournamentSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseStats(obj: unknown): obj is ApiResponseStats {\n const StatsEntrySchema = z.object({\n value: z.number(),\n top: z.number(),\n });\n\n const dataSchema = z.object({\n nick: z.string(),\n globalRank: z.number(),\n activeDays: z.number(),\n\n bestScore: StatsEntrySchema,\n averageScore: StatsEntrySchema,\n winRate: StatsEntrySchema,\n completedRounds: StatsEntrySchema,\n wonAmount: StatsEntrySchema,\n wonRounds: StatsEntrySchema,\n drawnRounds: StatsEntrySchema,\n bestWinStreak: StatsEntrySchema,\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseInventory(obj: unknown): obj is ApiResponseInventory {\n const SpinnerPrizeBountySchema = z.object({\n type: z.literal('BOUNTY'),\n tierId: z.string(),\n amount: z.number(),\n jackpot: z.boolean(),\n });\n\n const DailySpinnerSchema = z\n .object({\n prizes: z.array(SpinnerPrizeBountySchema),\n nextSpinAvailableAt: z.number(),\n })\n .nullable();\n\n const RoundSpinnerSchema = z\n .object({\n prizes: z.array(SpinnerPrizeBountySchema),\n progress: z.number(),\n target: z.number(),\n })\n .nullable();\n\n const BountySchema = z\n .object({\n tierId: z.string(),\n amount: z.number(),\n })\n .nullable();\n\n const InventoryViewSchema = z.object({\n dailySpinner: DailySpinnerSchema,\n roundSpinner: RoundSpinnerSchema,\n bounty: BountySchema,\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: InventoryViewSchema,\n });\n\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseSpinDailySpinner(obj: unknown): obj is ApiResponseSpinDailySpinner {\n const SpinnerPrizeBountySchema = z.object({\n type: z.literal('BOUNTY'),\n tierId: z.string(),\n amount: z.number(),\n jackpot: z.boolean(),\n });\n\n const dataSchema = z.object({\n nextSpinAvailableAt: z.number(),\n winningPrizeIndex: z.number().nullable(),\n prizes: z.array(SpinnerPrizeBountySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n\n static isApiResponseSpinRoundSpinner(obj: unknown): obj is ApiResponseSpinRoundSpinner {\n const SpinnerPrizeBountySchema = z.object({\n type: z.literal('BOUNTY'),\n tierId: z.string(),\n amount: z.number(),\n jackpot: z.boolean(),\n });\n\n const dataSchema = z.object({\n winningPrizeIndex: z.number().nullable(),\n prizes: z.array(SpinnerPrizeBountySchema),\n });\n\n const schema = z.object({\n status: z.number(),\n msg: z.string(),\n data: dataSchema,\n });\n return schema.safeParse(obj).success;\n }\n}\n\nexport interface ApiResponseGeoCode {\n status: number;\n msg: string;\n data: {\n countryCode: string;\n state: string;\n };\n}\n\nexport interface ApiResponseFindMatch {\n status: number;\n msg: string;\n data: {\n roomId: string;\n };\n}\n\nexport interface StakeTier {\n stake: number;\n id: string;\n}\n\nexport interface ApiResponseIpInfo {\n continent: string;\n continentCode: string;\n country: string;\n countryCode: string;\n query: string;\n region: string;\n regionName: string;\n status: string;\n}\n\nexport interface ApiResponseMinClientVersion {\n minClientVersion: number;\n}\n\nexport interface ApiResponseOperatorData {\n data: {\n operatorId: string;\n userId: string;\n displayName?: string;\n };\n}\n\nexport interface ApiResponseBootup {\n appleReviewVersion?: string;\n minWebVersion: number;\n minAndroidVersion: number;\n minIOSVersion: number;\n minTelegramVersion: number;\n minOperatorVersion: number;\n androidDownloadLink: string;\n iosDownloadLink: string;\n featureFlags: {\n enableReferrals: boolean;\n enableLeaderboards: boolean;\n enableActivityFeed: boolean;\n enableEmailLink: boolean;\n };\n}\n\nexport interface ApiResponseRoom {\n status: number;\n msg: string;\n data: RoomModel;\n}\n\nexport interface ApiResponseRoomTournaments {\n status: number;\n msg: string;\n data: TournamentView[];\n}\n\nexport interface ApiResponseStartRound {\n status: number;\n msg: string;\n data: {\n dealId: string;\n dealerUrl: string;\n deadline: number;\n };\n}\n\nexport interface ApiResponseFinishRound {\n status: number;\n msg: string;\n}\n\nexport interface ApiResponseTiers {\n status: number;\n msg: string;\n data: WagerTier[];\n}\n\nexport interface ApiResponseReferralCode {\n status: number;\n msg: string;\n data: {\n referralCode: string;\n };\n}\n\nexport interface ApiResponseRedeemReferralCode {\n status: number;\n msg: string;\n}\n\nexport interface FcmToken {\n token: string;\n modifiedAt: number;\n}\n\nexport interface ReferralData {\n code?: string;\n serviceFeeDiscount: number;\n serviceFeeShare: number;\n bonusServiceFeeShare: number;\n}\n\nexport interface ReferrerData {\n referrerId: string;\n code: string;\n serviceFeeDiscount: number;\n}\n\nexport interface ReferralStats {\n referredPayers: number;\n totalPaymentCents: number;\n totalPaymentTransactions: number;\n}\n\nexport interface ReferralTier {\n serviceFeeShare: number;\n minReferredPayers: number;\n}\n\nexport interface ApiResponseProfile {\n status: number;\n msg: string;\n data: {\n account: {\n nick?: string;\n fcmToken?: FcmToken;\n };\n referral: ReferralData;\n referrer?: ReferrerData;\n referralStats: ReferralStats;\n bonusStats: ReferralStats;\n referralTiers: ReferralTier[];\n };\n}\n\nexport interface ApiResponseProvisionalUser {\n status: number;\n msg: string;\n data: {\n userId: string;\n };\n}\n\nexport interface ApiResponseRandomPractice {\n status: number;\n msg: string;\n data: {\n opponentUserId: string | undefined | null;\n opponentName: string;\n opponentScore: number;\n secrets: [\n {\n index: number;\n value: number;\n },\n ];\n };\n}\n\nexport interface WaitingOpponents {\n waitingOpponents: {\n [key: string]: boolean;\n };\n}\n\nexport interface ApiResponseWaitingOpponents {\n status: number;\n msg: string;\n data: WaitingOpponents;\n}\n\nexport interface LeaderboardData {\n [userId: string]: {\n value: number;\n nick: string;\n position: number;\n rank: number;\n operatorId: string;\n };\n}\n\nexport interface Leaderboards {\n lastUpdated: number;\n leaderboardData: LeaderboardData;\n}\n\nexport interface ApiResponseLeaderboards {\n status: number;\n msg: string;\n data: Leaderboards;\n}\n\nexport interface ActivityFeed {\n serverTime: number;\n activities: {\n [time: string]: {\n [activityId: string]: ActivityMessageData;\n };\n };\n}\n\nexport interface ApiResponseActivityFeed {\n status: number;\n msg: string;\n data: ActivityFeed;\n}\n\nexport interface TournamentView {\n tournamentId: string;\n scoreFormula: 'SUM_OF_WON_CENTS';\n title: string;\n bannerUrl: string;\n startDate: number;\n endDate: number;\n joinUntilDate: number;\n roundDeadline: number;\n finished: boolean;\n gameIds: GameId[];\n leaderboard: {\n prizes: {\n count: number;\n amount: number;\n }[];\n };\n}\n\nexport interface LeaderBoardEntry {\n nick: string;\n userId: string;\n score: number;\n}\n\nexport interface PublishedTournament {\n tournament: TournamentView;\n entries: LeaderBoardEntry[];\n}\n\nexport interface MiniLeaderboardTournament {\n tournament: TournamentView;\n entries: LeaderBoardEntry[];\n}\n\nexport interface ApiResponsePublishedTournaments {\n status: number;\n msg: string;\n data: PublishedTournament[];\n}\n\nexport interface ApiResponseTournamentData {\n status: number;\n msg: string;\n data: TournamentView | null;\n}\n\nexport interface ApiResponseMiniLeaderboardData {\n status: number;\n msg: string;\n data: MiniLeaderboardTournament;\n}\n\nexport interface ApiResponseTournamentLeaderboardList {\n status: number;\n msg: string;\n data: {\n page: number;\n entriesPerPage: number;\n hasMoreEntries: boolean;\n entries: LeaderBoardEntry[];\n };\n}\n\nexport interface ApiResponseTournamentLeaderboardEntry {\n status: number;\n msg: string;\n data: {\n score: number;\n };\n}\n\nexport interface ApiReqBodyFindMatch {\n gameId: GameId;\n tierId: string;\n depositId: string;\n tournamentId?: string;\n}\n\nexport interface UserStats {\n nick: string;\n globalRank: number;\n activeDays: number;\n\n bestScore: StatsEntry;\n averageScore: StatsEntry;\n winRate: StatsEntry;\n completedRounds: StatsEntry;\n wonAmount: StatsEntry;\n wonRounds: StatsEntry;\n drawnRounds: StatsEntry;\n bestWinStreak: StatsEntry;\n}\n\nexport interface StatsEntry {\n value: number;\n top: number; // <- 0-100\n}\n\nexport interface ApiResponseStats {\n status: number;\n msg: string;\n data: UserStats;\n}\n\nexport interface ApiResponseInventory {\n status: number;\n msg: string;\n data: InventoryView;\n}\n\nexport interface Bounty {\n tierId: string;\n amount: number;\n}\n\nexport interface InventoryView {\n dailySpinner: DailySpinnerView | null;\n roundSpinner: RoundSpinnerView | null;\n bounty: Bounty | null;\n}\n\nexport interface DailySpinnerView {\n prizes: SpinnerPrizeBounty[];\n nextSpinAvailableAt: number;\n}\n\nexport interface RoundSpinnerView {\n prizes: SpinnerPrizeBounty[];\n progress: number;\n target: number;\n}\n\nexport interface SpinnerPrizeBounty {\n type: 'BOUNTY';\n tierId: string;\n amount: number;\n jackpot: boolean;\n}\n\nexport interface ApiResponseSpinDailySpinner {\n status: number;\n msg: string;\n data: DailySpinResult;\n}\n\nexport interface DailySpinResult {\n nextSpinAvailableAt: number;\n winningPrizeIndex: number | null;\n prizes: SpinnerPrizeBounty[];\n}\n\nexport interface ApiResponseSpinRoundSpinner {\n status: number;\n msg: string;\n data: RoundSpinResult;\n}\n\nexport interface RoundSpinResult {\n winningPrizeIndex: number | null;\n prizes: SpinnerPrizeBounty[];\n}\n","// shared.module.ts\nimport { NgModule } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { TimeFormatPipe } from './time-format.pipe';\n\n@NgModule({\n imports: [IonicModule],\n declarations: [TimeFormatPipe],\n exports: [TimeFormatPipe],\n})\nexport class PipeModule {}\n","import { ActivityMessageData } from './models/activity-message-data';\n\nexport class ActivityEventStack {\n private stack: ActivityMessageData[] = [];\n\n pushEvents(data: ActivityMessageData[]): void {\n data.sort((a, b) => ActivityEventStack.getDate(b) - ActivityEventStack.getDate(a));\n this.stack.push(...data);\n }\n\n popDueEvents(now: Date): ActivityMessageData[] {\n const dueEvents: ActivityMessageData[] = [];\n\n while (\n this.hasEvents() &&\n new Date(ActivityEventStack.getDate(this.stack[this.stack.length - 1])) <= now\n ) {\n const eventDue = this.stack.pop();\n if (eventDue) {\n dueEvents.push(eventDue);\n }\n }\n return dueEvents;\n }\n\n hasEvents(): boolean {\n return this.stack.length > 0;\n }\n\n private static getDate(data: ActivityMessageData) {\n return data.displayedAt ?? data.createdAt;\n }\n}\n","import { inject, Injectable, OnDestroy } from '@angular/core';\nimport { interval, map, Observable, ReplaySubject, shareReplay, takeUntil, timer } from 'rxjs';\nimport { ActivityMessageData, ActivityMessageDataSchema } from './models/activity-message-data';\nimport { ActivityEventStack } from './activity-event-stack';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { ActivityFeed, WagerApi } from '../../api/wager-api';\nimport { ZodError } from 'zod';\nimport { ActivityUtilities } from './models/activity-utilities';\nimport { HttpService } from '../http/http.service';\nimport { OperatorService } from '../operator/operator.service';\nimport { environment } from 'src/environments/environment';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { ActivityType } from './models/activity-type';\nimport { JobService } from '../job/job.service';\n\nclass LimitedList {\n items: T[] = [];\n\n constructor(private readonly maxItems: number) {}\n\n addItem(data: T) {\n this.items.push(data);\n\n if (this.items.length > this.maxItems) {\n this.items.shift();\n }\n }\n\n addItems(data: T[]) {\n this.items.push(...data);\n\n if (this.items.length >= this.maxItems) {\n this.items.splice(0, this.items.length - this.maxItems);\n }\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ActivityFeedService implements OnDestroy {\n private httpService = inject(HttpService);\n private analyticsService = inject(AnalyticsService);\n private operatorService = inject(OperatorService);\n private jobService = inject(JobService);\n\n private readonly displayBufferInterval = 120 * 1000;\n private readonly maxMiniDisplayMessages = 4;\n private readonly maxFeedMessages = 100;\n\n private hasInitialised = false;\n private destroyed$: ReplaySubject = new ReplaySubject(1);\n private eventStack = new ActivityEventStack();\n\n oneSecSyncInterval$: Observable;\n miniDisplayMessages = new LimitedList(this.maxMiniDisplayMessages);\n feedMessages = new LimitedList(this.maxFeedMessages);\n\n constructor() {\n this.oneSecSyncInterval$ = interval(1000).pipe(\n map(() => new Date()),\n shareReplay(1), // Share the same observable across all subscribers\n );\n }\n\n initialize() {\n if (this.hasInitialised) {\n return;\n }\n this.hasInitialised = true;\n\n timer(0, this.displayBufferInterval)\n .pipe(takeUntil(this.destroyed$))\n .subscribe(() => {\n this.updateActivityFeed();\n });\n\n this.oneSecSyncInterval$.pipe(takeUntil(this.destroyed$)).subscribe((now) => {\n this.processEvents(now);\n });\n }\n\n ngOnDestroy() {\n this.cleanup();\n }\n\n private cleanup() {\n this.destroyed$.next(true);\n this.destroyed$.complete();\n }\n\n private processEvents(now: Date): void {\n if (this.eventStack.hasEvents()) {\n const dueEvents = this.eventStack\n .popDueEvents(now)\n .filter(\n (dueEvent) =>\n !this.feedMessages.items.some((item) => item.activityId === dueEvent.activityId),\n );\n this.feedMessages.addItems(dueEvents);\n this.miniDisplayMessages.addItems(dueEvents);\n }\n }\n\n private async updateActivityFeed() {\n const data = await this.fetchActivityFeed();\n if (data) {\n const activityMessages = this.parseActivityFeed(data);\n\n // Stretch the dates so that they appear within 'now' and 'now + bufferInterval'\n const transformedMessages = ActivityUtilities.transformDisplayDates(\n activityMessages,\n Date.now(),\n this.displayBufferInterval,\n );\n\n // Push new activities onto the event stack\n this.eventStack.pushEvents(transformedMessages);\n }\n }\n\n private async fetchActivityFeed(): Promise {\n if (environment.sandbox && !OperatorService.IsDemo) {\n return sandboxActivityFeed;\n }\n const gameId = OperatorService.IsActive ? this.operatorService.gameId : undefined;\n const job = this.jobService.create(async () =>\n WagerApi.request(this.httpService).activityFeed(gameId),\n );\n\n return (await job.runNoThrow())?.data;\n }\n\n private parseActivityFeed(activityFeed: ActivityFeed): ActivityMessageData[] {\n const activityMessages: ActivityMessageData[] = [];\n\n const activities = activityFeed.activities;\n for (const time in activities) {\n const activitiesAtTime = activities[time];\n\n for (const activityId in activitiesAtTime) {\n try {\n const cachedActivity = activitiesAtTime[activityId];\n ActivityMessageDataSchema.parse(cachedActivity);\n activityMessages.push(cachedActivity);\n } catch (error) {\n if (error instanceof ZodError) {\n console.error('Zod Validation Error: ', error.errors);\n }\n this.analyticsService.handleError(error, 'Parse activity feed');\n }\n }\n }\n return activityMessages;\n }\n}\n\nconst sandboxActivityFeed: ActivityFeed = {\n serverTime: 1737152532764,\n activities: {\n '2025-01-17T17:22:00': {\n '5715ca2b457fbb2fc2d3fce6ee3d7cc5f2b87bdd9aea9540f0a503b0cc37d20e': {\n createdAt: 1737134574481,\n activityId: '5715ca2b457fbb2fc2d3fce6ee3d7cc5f2b87bdd9aea9540f0a503b0cc37d20e',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'midamikx',\n loserScore: 3235,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Suresh B',\n winnerScore: 3900,\n },\n displayedAt: 1737134694481,\n },\n f626b775e57157ce9eefc3f396f40f7348015d323aced83f2e046b52af6262eb: {\n createdAt: 1737134568563,\n activityId: 'f626b775e57157ce9eefc3f396f40f7348015d323aced83f2e046b52af6262eb',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'nickps',\n loserScore: 4774,\n reward: '$10.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'superjon12',\n winnerScore: 20002,\n },\n displayedAt: 1737134688563,\n },\n },\n '2025-01-17T17:24:00': {\n '0e8a0dd88dd7c5f8c8669e69dc2feeca1b0dd688bcbf9a6d944b59521886895e': {\n createdAt: 1737134651504,\n activityId: '0e8a0dd88dd7c5f8c8669e69dc2feeca1b0dd688bcbf9a6d944b59521886895e',\n data: {\n nick: 'player83783',\n type: ActivityType.NewPlayer,\n },\n displayedAt: 1737134771504,\n },\n '361067e161380b80e14d3aba96154c0f44ba597550200de5a030c91243c91ded': {\n createdAt: 1737134646501,\n activityId: '361067e161380b80e14d3aba96154c0f44ba597550200de5a030c91243c91ded',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'harro',\n loserScore: 5710,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'midamikx',\n winnerScore: 5900,\n },\n displayedAt: 1737134766501,\n },\n '93a1d77dfdf680643895fb78e284a2b3b2ca0be622310198f8470471e907bdad': {\n createdAt: 1737134667147,\n activityId: '93a1d77dfdf680643895fb78e284a2b3b2ca0be622310198f8470471e907bdad',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Eno',\n loserScore: 5149,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'inheren',\n winnerScore: 11188,\n },\n displayedAt: 1737134787147,\n },\n },\n '2025-01-17T17:25:00': {\n ac114f4135de1137b64a4befbaa92375455bd0dcb3bf80e976d2a7dd98a8a03f: {\n createdAt: 1737134756991,\n activityId: 'ac114f4135de1137b64a4befbaa92375455bd0dcb3bf80e976d2a7dd98a8a03f',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'luzpurazo02',\n loserScore: 4690,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Neshdan',\n winnerScore: 5325,\n },\n displayedAt: 1737134876991,\n },\n },\n '2025-01-17T17:26:00': {\n '2baa7eddee4f318e8514ccb0d0f7ca26f9cee92954cac52bff706e3e6756c31b': {\n createdAt: 1737134763605,\n activityId: '2baa7eddee4f318e8514ccb0d0f7ca26f9cee92954cac52bff706e3e6756c31b',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'sam0420',\n loserScore: 4340,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Criscamacho123',\n winnerScore: 4620,\n },\n displayedAt: 1737134883605,\n },\n af0aae90547e0d340f67f4b4e018eae3ab8d47a236478308f5cc88cf96c11b2e: {\n createdAt: 1737134787512,\n activityId: 'af0aae90547e0d340f67f4b4e018eae3ab8d47a236478308f5cc88cf96c11b2e',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'kball',\n loserScore: 20377,\n reward: '$10.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'superjon12',\n winnerScore: 29541,\n },\n displayedAt: 1737134907512,\n },\n c40c66c8c3371796db43e853e9273148e388da0de2e7e8d28664e96b6d0c7b37: {\n createdAt: 1737134777314,\n activityId: 'c40c66c8c3371796db43e853e9273148e388da0de2e7e8d28664e96b6d0c7b37',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Wertuska0000',\n loserScore: 1497,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'jahdidit',\n winnerScore: 2556,\n },\n displayedAt: 1737134897314,\n },\n },\n '2025-01-17T17:30:00': {\n ae28d3b57e37f45508a40ae166f785699e49d3be923d63b80f032be77326897a: {\n createdAt: 1737135050545,\n activityId: 'ae28d3b57e37f45508a40ae166f785699e49d3be923d63b80f032be77326897a',\n data: {\n nick: 'mckinziej',\n type: ActivityType.NewPlayer,\n },\n displayedAt: 1737135170545,\n },\n },\n '2025-01-17T17:34:00': {\n '2715b664b4c19b5eca1323c267099cb70ec9ac1e0852f65e499bf906f368c7ce': {\n createdAt: 1737135299851,\n activityId: '2715b664b4c19b5eca1323c267099cb70ec9ac1e0852f65e499bf906f368c7ce',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'harro',\n loserScore: 220,\n reward: '$2.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'luzpurazo02',\n winnerScore: 1420,\n },\n displayedAt: 1737135419851,\n },\n b4516c7e47104509627ba1cb040bcdd031ccb1e37ae970cb482a0426009ac7e4: {\n createdAt: 1737135247529,\n activityId: 'b4516c7e47104509627ba1cb040bcdd031ccb1e37ae970cb482a0426009ac7e4',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'player83783',\n loserScore: 435,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'inheren',\n winnerScore: 5650,\n },\n displayedAt: 1737135367529,\n },\n },\n '2025-01-17T17:37:00': {\n '03c8ff5061f8539acff5de50436d2c4783731c2177550e217ea5804b9f7ac7e6': {\n createdAt: 1737135471358,\n activityId: '03c8ff5061f8539acff5de50436d2c4783731c2177550e217ea5804b9f7ac7e6',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'nickps',\n loserScore: 28819,\n reward: '$10.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'superjon12',\n winnerScore: 45816,\n },\n displayedAt: 1737135591358,\n },\n e60bc5be173e13df3e4cc5e8123042ee1e0b1a78998a78ecf7f895afd64062db: {\n createdAt: 1737135427614,\n activityId: 'e60bc5be173e13df3e4cc5e8123042ee1e0b1a78998a78ecf7f895afd64062db',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Bahramphi',\n loserScore: 34743,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'MGBE',\n winnerScore: 98608,\n },\n displayedAt: 1737135547614,\n },\n },\n '2025-01-17T17:42:00': {\n aa3feba97102f4111ea03d04ece9f6fa4f3fd94999d823a0f8725b0ee691f1e7: {\n createdAt: 1737135751494,\n activityId: 'aa3feba97102f4111ea03d04ece9f6fa4f3fd94999d823a0f8725b0ee691f1e7',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'Kelly Moon',\n loserScore: 3420,\n reward: '$2.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'mattford',\n winnerScore: 3500,\n },\n displayedAt: 1737135871494,\n },\n },\n '2025-01-17T17:44:00': {\n '9bcdba8ce799057774949dcb5a401d2b305c152cdce914a2bcc486d00a6d5b05': {\n createdAt: 1737135877563,\n activityId: '9bcdba8ce799057774949dcb5a401d2b305c152cdce914a2bcc486d00a6d5b05',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'midamikx',\n loserScore: 3645,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'slahalshrby6571353de',\n winnerScore: 3725,\n },\n displayedAt: 1737135997563,\n },\n b09e1b5dacc007f5604be21651705c3ad88b0e7fc6eccb9f16564633e38f2a01: {\n createdAt: 1737135873206,\n activityId: 'b09e1b5dacc007f5604be21651705c3ad88b0e7fc6eccb9f16564633e38f2a01',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'mckinziej',\n loserScore: 9635,\n reward: '$2.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Bahramphi',\n winnerScore: 31492,\n },\n displayedAt: 1737135993206,\n },\n bb0ccfb73daee6d2d7a6b849ddb32debb9c6c76eec1c8d867dd1a655cadca7ef: {\n createdAt: 1737135861256,\n activityId: 'bb0ccfb73daee6d2d7a6b849ddb32debb9c6c76eec1c8d867dd1a655cadca7ef',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'colinmwest16',\n loserScore: 4557,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Rennoly_Violao',\n winnerScore: 13010,\n },\n displayedAt: 1737135981256,\n },\n e148497e37978f079cb8918e14f4af0a9b6064d5332073e08262a7d350ef66e8: {\n createdAt: 1737135841479,\n activityId: 'e148497e37978f079cb8918e14f4af0a9b6064d5332073e08262a7d350ef66e8',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'inheren',\n loserScore: 4140,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'kball',\n winnerScore: 14296,\n },\n displayedAt: 1737135961479,\n },\n },\n '2025-01-17T17:46:00': {\n d6df045fbb87b052a71e2d4a812f981922c1e9f52b25ef906262f8036b03bed2: {\n createdAt: 1737135987314,\n activityId: 'd6df045fbb87b052a71e2d4a812f981922c1e9f52b25ef906262f8036b03bed2',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'sam0420',\n loserScore: 513,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'inheren',\n winnerScore: 11678,\n },\n displayedAt: 1737136107314,\n },\n },\n '2025-01-17T17:47:00': {\n e408537e5aa17deaa40cb3beabbb87aab80d7e7a0512e898b2945d0a1f748780: {\n createdAt: 1737136048840,\n activityId: 'e408537e5aa17deaa40cb3beabbb87aab80d7e7a0512e898b2945d0a1f748780',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'kball',\n loserScore: 20,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'midamikx',\n winnerScore: 7135,\n },\n displayedAt: 1737136168840,\n },\n f352a9f9813cb0aceb0d23039d200da74f6ebe47cc0d7f0806b695d8e153c302: {\n createdAt: 1737136045160,\n activityId: 'f352a9f9813cb0aceb0d23039d200da74f6ebe47cc0d7f0806b695d8e153c302',\n data: {\n nick: 'SB81',\n rewardsCount: 2000,\n type: ActivityType.ReferralReward,\n },\n displayedAt: 1737136165160,\n },\n },\n '2025-01-17T17:49:00': {\n '804a09a721f6bd023f7e12e12eeb8c786fd5bb4ea69b51d07ff1c61a0f899058': {\n createdAt: 1737136170810,\n activityId: '804a09a721f6bd023f7e12e12eeb8c786fd5bb4ea69b51d07ff1c61a0f899058',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'Rexdentron',\n loserScore: 4470,\n reward: '$10.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'luzpurazo02',\n winnerScore: 7285,\n },\n displayedAt: 1737136290810,\n },\n },\n '2025-01-17T17:52:00': {\n f65762f7ef351118d5c768b766e58cf2b00d717ef45c97803c9ba927ab77228c: {\n createdAt: 1737136322427,\n activityId: 'f65762f7ef351118d5c768b766e58cf2b00d717ef45c97803c9ba927ab77228c',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'slahalshrby6571353de',\n loserScore: 10,\n reward: '$1.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'Suresh B',\n winnerScore: 285,\n },\n displayedAt: 1737136442427,\n },\n },\n '2025-01-17T17:53:00': {\n baa2863b4b0227254d0eb4d88a89a5ba5cf83b5b202224353d930b1e7bbe7d38: {\n createdAt: 1737136384238,\n activityId: 'baa2863b4b0227254d0eb4d88a89a5ba5cf83b5b202224353d930b1e7bbe7d38',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'luzpurazo02',\n loserScore: 3185,\n reward: '$5.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'El Belico',\n winnerScore: 4915,\n },\n displayedAt: 1737136504238,\n },\n ddf6dbe34b6f60091a40c1b9ad88fbf370f24121e002f8b16b6d353a95c5f8dd: {\n createdAt: 1737136400642,\n activityId: 'ddf6dbe34b6f60091a40c1b9ad88fbf370f24121e002f8b16b6d353a95c5f8dd',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Rennoly_Violao',\n loserScore: 12463,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'kball',\n winnerScore: 23098,\n },\n displayedAt: 1737136520642,\n },\n },\n '2025-01-17T17:54:00': {\n d1b131eece4c539a4fb9e79379da8343fc3bab8e2428dc0abac5d135d5b8acc5: {\n createdAt: 1737136492991,\n activityId: 'd1b131eece4c539a4fb9e79379da8343fc3bab8e2428dc0abac5d135d5b8acc5',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'Diegote',\n loserScore: 3775,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'inheren',\n winnerScore: 3905,\n },\n displayedAt: 1737136612991,\n },\n ff08ac796e6ce7d045da581a416a5649a06a4953818d3473a0862325c08e0652: {\n createdAt: 1737136448683,\n activityId: 'ff08ac796e6ce7d045da581a416a5649a06a4953818d3473a0862325c08e0652',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Rexdentron',\n loserScore: 83391,\n reward: '$5.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'SantiMangia',\n winnerScore: 115899,\n },\n displayedAt: 1737136568683,\n },\n },\n '2025-01-17T17:56:00': {\n '5f11bd0a76bd1e4e800c0d29a0dbe769ff9db4d3e60806282e0d7d5387a969e4': {\n createdAt: 1737136614336,\n activityId: '5f11bd0a76bd1e4e800c0d29a0dbe769ff9db4d3e60806282e0d7d5387a969e4',\n data: {\n gameId: GameId.Solitaire,\n loserNick: 'midamikx',\n loserScore: 75,\n reward: '$0.50',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'coolsen',\n winnerScore: 145,\n },\n displayedAt: 1737136734336,\n },\n dc9f611eca8cf9610df2fef5bb1caa5b1714eb2c801e0fdea9fff1aea17fdb15: {\n createdAt: 1737136607301,\n activityId: 'dc9f611eca8cf9610df2fef5bb1caa5b1714eb2c801e0fdea9fff1aea17fdb15',\n data: {\n gameId: GameId.Blocks,\n loserNick: 'Rexdentron',\n loserScore: 21122,\n reward: '$2.00',\n type: ActivityType.Win,\n winnerUserId: 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a',\n loserUserId: 'fb70b942-ba04-42b9-b9f4-794b45d98b25',\n winnerNick: 'AguMangia',\n winnerScore: 142930,\n },\n displayedAt: 1737136727301,\n },\n },\n },\n};\n","import { z } from 'zod';\nimport { ActivityType } from './activity-type';\nimport { GameId } from 'src/app/model/game/game-id';\n\nexport const ActivityWinDataSchema = z.object({\n type: z.literal(ActivityType.Win),\n gameId: z.nativeEnum(GameId).default(GameId.Solitaire),\n reward: z.string(),\n winnerNick: z.string(),\n loserNick: z.string(),\n winnerUserId: z.string(),\n loserUserId: z.string(),\n winnerScore: z.number().int(),\n loserScore: z.number().int(),\n bounty: z\n .object({\n amount: z.number(),\n jackpot: z.boolean(),\n })\n .optional(),\n});\nexport type ActivityWinData = z.infer;\n\nexport const ActivityDrawDataSchema = z.object({\n type: z.literal(ActivityType.Draw),\n gameId: z.nativeEnum(GameId).default(GameId.Solitaire),\n reward: z.string(),\n firstPlayerNick: z.string(),\n secondPlayerNick: z.string(),\n firstPlayerUserId: z.string(),\n secondPlayerUserId: z.string(),\n score: z.number().int(),\n});\nexport type ActivityDrawData = z.infer;\n\nexport const ActivityNewPlayerDataSchema = z.object({\n type: z.literal(ActivityType.NewPlayer),\n nick: z.string(),\n});\nexport type ActivityNewPlayerData = z.infer;\n\nexport const ActivityReferralRewardDataSchema = z.object({\n type: z.literal(ActivityType.ReferralReward),\n nick: z.string(),\n rewardsCount: z.number().int(), // Ensure rewardsCount is an integer\n});\nexport type ActivityReferralRewardData = z.infer;\n\nexport const ActivityDataSchema = z.union([\n ActivityWinDataSchema,\n ActivityDrawDataSchema,\n ActivityNewPlayerDataSchema,\n ActivityReferralRewardDataSchema,\n]);\nexport type ActivityData = z.infer;\n\nexport const ActivityMessageDataSchema = z.object({\n activityId: z.string(),\n createdAt: z.number(),\n displayedAt: z.number().optional(),\n data: ActivityDataSchema,\n});\nexport type ActivityMessageData = z.infer;\n","export enum ActivityType {\n Win = 'WIN',\n Draw = 'DRAW',\n NewPlayer = 'NEW_PLAYER',\n ReferralReward = 'REFERRAL_REWARD',\n}\n","import { TranslocoService } from '@jsverse/transloco';\nimport {\n ActivityData,\n ActivityDrawData,\n ActivityDrawDataSchema,\n ActivityMessageData,\n ActivityNewPlayerData,\n ActivityNewPlayerDataSchema,\n ActivityReferralRewardData,\n ActivityReferralRewardDataSchema,\n ActivityWinData,\n ActivityWinDataSchema,\n} from './activity-message-data';\nimport { ActivityMetadata } from './activity-metadata';\nimport { ZodError } from 'zod';\nimport { gameIdToName } from 'src/app/model/game/game-id.utils';\nimport { ThemeService } from '../../theme/theme.service';\n\nexport class ActivityUtilities {\n static isWinData(data: ActivityData): data is ActivityWinData {\n return ActivityWinDataSchema.safeParse(data).success;\n }\n\n static isDrawData(data: ActivityData): data is ActivityDrawData {\n return ActivityDrawDataSchema.safeParse(data).success;\n }\n\n static isNewPlayerData(data: ActivityData): data is ActivityNewPlayerData {\n return ActivityNewPlayerDataSchema.safeParse(data).success;\n }\n\n static isReferralRewardData(data: ActivityData): data is ActivityReferralRewardData {\n return ActivityReferralRewardDataSchema.safeParse(data).success;\n }\n\n static transformDisplayDates(\n activities: ActivityMessageData[],\n now: number,\n displayBufferInterval: number,\n ): ActivityMessageData[] {\n if (activities.length === 0) {\n return [];\n }\n\n const transformedActivities = activities.map((activity) => {\n activity.displayedAt = activity.createdAt + displayBufferInterval;\n return activity;\n });\n\n return transformedActivities;\n }\n\n static extractActivityMetadata(\n activity: ActivityMessageData,\n translocoService: TranslocoService,\n themeService: ThemeService,\n ): ActivityMetadata {\n try {\n if (ActivityUtilities.isWinData(activity.data)) {\n const gameId = activity.data.gameId;\n const reward = `+${activity.data.reward}`;\n const score = `(${themeService.formatNumber(\n activity.data.winnerScore,\n )} - ${themeService.formatNumber(activity.data.loserScore)})`;\n const opponents = translocoService.translate('pages.activity-feed.win-activity', {\n winnerNick: activity.data.winnerNick,\n loserNick: activity.data.loserNick,\n gameName: gameIdToName(gameId, translocoService),\n bounty: {\n amount: activity.data.bounty?.amount,\n jackpot: activity.data.bounty?.jackpot,\n },\n });\n\n return {\n icon: 'trophy',\n iconColor: '--game-win',\n message: `${opponents} ${score}`,\n actionMessage: `${translocoService.translate('pages.activity-feed.win')} ${reward}`,\n };\n } else if (ActivityUtilities.isDrawData(activity.data)) {\n const gameId = activity.data.gameId;\n const reward = `⏎ ${activity.data.reward}`;\n const score = `(${themeService.formatNumber(\n activity.data.score,\n )} - ${themeService.formatNumber(activity.data.score)})`;\n const opponents = translocoService.translate('pages.activity-feed.draw-activity', {\n firstPlayerNick: activity.data.firstPlayerNick,\n secondPlayerNick: activity.data.secondPlayerNick,\n gameName: gameIdToName(gameId, translocoService),\n });\n\n return {\n icon: 'flag',\n iconColor: '--game-draw',\n message: `${opponents} ${score}`,\n actionMessage: `${translocoService.translate('pages.activity-feed.draw')} ${reward}`,\n };\n } else if (ActivityUtilities.isNewPlayerData(activity.data)) {\n const message = translocoService.translate('pages.activity-feed.new-player-activity', {\n nick: activity.data.nick,\n });\n return {\n icon: 'rocket-launch',\n iconColor: '--grey-white',\n message,\n };\n } else if (ActivityUtilities.isReferralRewardData(activity.data)) {\n const rewardCountTranslations = new Map([\n [1, 'pages.activity-feed.referral-1'],\n [10, 'pages.activity-feed.referral-10'],\n [20, 'pages.activity-feed.referral-20'],\n [50, 'pages.activity-feed.referral-50'],\n [100, 'pages.activity-feed.referral-100'],\n [200, 'pages.activity-feed.referral-200'],\n [500, 'pages.activity-feed.referral-500'],\n [1000, 'pages.activity-feed.referral-1000'],\n [2000, 'pages.activity-feed.referral-2000'],\n [5000, 'pages.activity-feed.referral-5000'],\n [10000, 'pages.activity-feed.referral-10000'],\n [20000, 'pages.activity-feed.referral-20000'],\n [50000, 'pages.activity-feed.referral-50000'],\n [100000, 'pages.activity-feed.referral-100000'],\n ]);\n\n const congratulationsKey =\n rewardCountTranslations.get(activity.data.rewardsCount) ||\n 'pages.activity-feed.referral-10';\n const congratulations = translocoService.translate(congratulationsKey, {\n nick: activity.data.nick,\n });\n\n const referralsPaymentsKey =\n activity.data.rewardsCount === 1\n ? 'pages.activity-feed.single-referral'\n : 'pages.activity-feed.multiple-referrals';\n const referralsPayments = translocoService.translate(referralsPaymentsKey, {\n nick: activity.data.nick,\n amount: themeService.formatNumber(activity.data.rewardsCount),\n });\n\n return {\n icon: 'dollar-meeting',\n iconColor: '--grey-white',\n message: `${congratulations} ${referralsPayments}`,\n };\n }\n } catch (error) {\n if (error instanceof ZodError) {\n // Handle the ZodError here\n console.error('Zod Validation Error: ', error.errors);\n }\n }\n throw new Error(`Invalid activity type: ${JSON.stringify(activity)}`);\n }\n\n static formatTimeInterval(now: Date, displayedAt: Date | undefined): string {\n if (displayedAt === undefined) {\n return `Just now`;\n }\n\n const secondsInMinute = 60;\n const secondsInHour = 3600; // 60 * 60\n const secondsInDay = 86400; // 60 * 60 * 24\n\n const interval = Math.floor((now.getTime() - displayedAt.getTime()) / 1000);\n\n if (interval < secondsInMinute) {\n return `Just now`;\n } else if (interval < secondsInHour) {\n const minutes = Math.floor(interval / secondsInMinute);\n return `${minutes}m ago`;\n } else if (interval < secondsInDay) {\n const hours = Math.floor(interval / secondsInHour);\n return `${hours}h ago`;\n } else {\n const days = Math.floor(interval / secondsInDay);\n return `${days}d ago`;\n }\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AlertController } from '@ionic/angular';\nimport { Alert } from './alert';\nimport { PAGE } from 'src/app/routes';\nimport { TranslocoService } from '@jsverse/transloco';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AlertService {\n private alertController = inject(AlertController);\n private router = inject(Router);\n private translocoService = inject(TranslocoService);\n\n /**\n * Display an error alert with an OK button that executes a callback function.\n * @param header - The header of the alert.\n * @param message - The message content of the alert.\n * @param okCallback - The callback function to execute on OK button press.\n */\n async presentErrorAlert(header: string, message: string, okCallback?: () => Promise) {\n const alert = await this.alertController.create({\n header: header,\n message: message,\n cssClass: 'alert',\n buttons: [\n {\n text: this.translocoService.translate('service.alert.ok-button'),\n cssClass: 'alert-button',\n handler: async () => {\n if (okCallback) await okCallback();\n },\n },\n ],\n });\n await alert.present();\n }\n\n tryAgainInternet(): Promise {\n return this.infoAlert(\n this.translocoService.translate('service.alert.try-again-internet-header'),\n this.translocoService.translate('service.alert.try-again-internet-message'),\n this.translocoService.translate('service.alert.ok-button'),\n );\n }\n\n tryAgainLater(): Promise {\n return this.infoRedirectAlert(\n this.translocoService.translate('service.alert.try-again-later-header'),\n this.translocoService.translate('service.alert.try-again-later-message'),\n this.translocoService.translate('service.alert.ok-button'),\n PAGE.LOADING,\n );\n }\n\n unknownError(): Promise {\n return this.infoRedirectAlert(\n this.translocoService.translate('service.alert.unknown-error-header'),\n this.translocoService.translate('service.alert.unknown-error-message'),\n this.translocoService.translate('service.alert.ok-button'),\n PAGE.LOADING,\n );\n }\n\n fatalError(): Promise {\n return this.fatalInfoAlert(\n this.translocoService.translate('service.alert.fatal-error-header'),\n this.translocoService.translate('service.alert.fatal-error-message'),\n this.translocoService.translate('service.alert.ok-button'),\n );\n }\n\n invoiceExpired(): Promise {\n return this.infoRedirectAlert(\n this.translocoService.translate('service.alert.invoice-expired-header'),\n this.translocoService.translate('service.alert.invoice-expired-message'),\n this.translocoService.translate('service.alert.ok-button'),\n PAGE.LOADING,\n );\n }\n\n paymentFailed(): Promise {\n return this.infoRedirectAlert(\n this.translocoService.translate('service.alert.payment-failed-header'),\n this.translocoService.translate('service.alert.payment-failed-message'),\n this.translocoService.translate('service.alert.ok-button'),\n PAGE.LOADING,\n );\n }\n\n paymentsUnavailable(): Promise {\n return this.infoRedirectAlert(\n this.translocoService.translate('service.alert.payments-unavailable-header'),\n this.translocoService.translate('service.alert.payments-unavailable-message'),\n this.translocoService.translate('service.alert.ok-button'),\n PAGE.LOADING,\n );\n }\n\n deleteAccount(): Promise {\n return this.deleteAccountAlert(\n this.translocoService.translate('service.alert.delete-account-popup-title'),\n this.translocoService.translate('service.alert.delete-account-popup-message'),\n this.translocoService.translate('service.alert.delete-account-popup-yes'),\n this.translocoService.translate('service.alert.delete-account-popup-cancel'),\n );\n }\n\n private infoAlert(\n header: string,\n message: string,\n buttonLabel: string,\n ): Promise {\n return Alert.infoAlert(header, message, buttonLabel, this.alertController);\n }\n\n private infoRedirectAlert(\n header: string,\n message: string,\n buttonLabel: string,\n page: string,\n ): Promise {\n return Alert.infoRedirectAlert(\n header,\n message,\n buttonLabel,\n page,\n this.router,\n this.alertController,\n );\n }\n\n private fatalInfoAlert(\n header: string,\n message: string,\n buttonLabel: string,\n ): Promise {\n return Alert.fatalInfoAlert(header, message, buttonLabel, this.router, this.alertController);\n }\n\n private deleteAccountAlert(\n header: string,\n message: string,\n buttonLabel: string,\n cancelButtonLabel: string,\n ): Promise {\n return Alert.deleteAccountAlert(\n header,\n message,\n buttonLabel,\n cancelButtonLabel,\n this.router,\n this.alertController,\n );\n }\n}\n","import { Router } from '@angular/router';\nimport { AlertController } from '@ionic/angular';\nimport { PAGE } from 'src/app/routes';\n\nexport const ALERT_ROLE_CANCEL = 'cancel';\nexport const ALERT_ROLE_DESTRUCTIVE = 'destructive';\n\nexport class Alert {\n // Information and OK button. Has no actions\n static async infoAlert(\n header: string,\n message: string,\n buttonLabel: string,\n alertController: AlertController,\n ): Promise {\n const alert = await alertController.create({\n header,\n message,\n cssClass: 'alert',\n backdropDismiss: true,\n buttons: [\n {\n text: buttonLabel,\n cssClass: 'alert-button',\n },\n ],\n });\n return alert;\n }\n\n // Information and when the user clicks OK, they are rediected to a page in the app.\n static async infoRedirectAlert(\n header: string,\n message: string,\n buttonLabel: string,\n page: string,\n router: Router,\n alertController: AlertController,\n ): Promise {\n const alert = await alertController.create({\n header,\n message,\n cssClass: 'alert',\n backdropDismiss: false,\n buttons: [\n {\n text: buttonLabel,\n cssClass: 'alert-button',\n handler: () => {\n router.navigate([page]);\n alert.dismiss();\n },\n },\n ],\n });\n return alert;\n }\n\n // Information and when the user clicks OK, they are logged out.\n static async fatalInfoAlert(\n header: string,\n message: string,\n buttonLabel: string,\n router: Router,\n alertController: AlertController,\n ): Promise {\n const alert = await alertController.create({\n header,\n message,\n cssClass: 'alert',\n backdropDismiss: false,\n buttons: [\n {\n text: buttonLabel,\n cssClass: 'alert-button',\n handler: () => {\n router.navigate([PAGE.SIGNIN]);\n alert.dismiss();\n },\n },\n ],\n });\n return alert;\n }\n\n // Information and when the user clicks OK, they are logged out.\n static async deleteAccountAlert(\n header: string,\n message: string,\n buttonLabel: string,\n cancelButtonLabel: string,\n router: Router,\n alertController: AlertController,\n ): Promise {\n const alert = await alertController.create({\n header,\n message,\n cssClass: 'alert',\n backdropDismiss: true,\n buttons: [\n {\n text: cancelButtonLabel,\n cssClass: 'alert-button',\n role: ALERT_ROLE_CANCEL,\n },\n {\n text: buttonLabel,\n cssClass: 'alert-button',\n role: ALERT_ROLE_DESTRUCTIVE,\n },\n ],\n });\n return alert;\n }\n}\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseAnalytics = registerPlugin('FirebaseAnalytics', {\n web: () => import('./web').then(m => new m.FirebaseAnalyticsWeb()),\n});\nexport * from './definitions';\nexport { FirebaseAnalytics };\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseCrashlytics = registerPlugin('FirebaseCrashlytics', {\n web: () => import('./web').then(m => new m.FirebaseCrashlyticsWeb()),\n});\nexport * from './definitions';\nexport { FirebaseCrashlytics };\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { CloudError } from './cloud-error';\nimport { StackFrame } from 'stacktrace-js';\nimport { ZodError } from 'zod';\n\ninterface InnerError {\n code: string;\n message: string;\n}\n\nexport function normalizeError(err: unknown): Error {\n if (err instanceof HttpErrorResponse) {\n const innerError = err?.error?.errors;\n if (isInnerErrorArray(innerError) && innerError.length > 0) {\n const newError = new CloudError(innerError[0].message, innerError[0].code);\n newError.stack = `HttpErrorResponse error: [${err.status}] ${err.message}\\n url: ${err.url}}\\n innerError: ${innerError[0].message}`;\n return newError;\n }\n const newError = new Error(err.message);\n newError.stack = `HttpErrorResponse error: [${err.status}] ${err.message}\\n url: ${err.url}}`;\n return newError;\n }\n if (err instanceof ZodError) {\n const zodIssues = err.issues\n .map((issue) => {\n const path = issue.path.length > 0 ? issue.path.join('.') : 'root';\n return `Path: ${path}, Message: ${issue.message}`;\n })\n .join('\\n');\n return new Error(zodIssues);\n }\n if (err instanceof Error) {\n return err;\n }\n return new Error(typeof err === 'string' ? err : JSON.stringify(err, null, 2) || 'Unknown error');\n}\n\nexport async function captureStackTrace(error: Error): Promise<[string | undefined, StackFrame[]]> {\n try {\n const rawStackFrames = await StackTrace.fromError(error);\n const limitedStack = rawStackFrames.slice(0, 10);\n const stackTrace = limitedStack.map((frame) => frame.toString()).join('\\n');\n return [stackTrace, rawStackFrames];\n } catch (stackError) {\n return [undefined, []];\n }\n}\n\nfunction isInnerErrorArray(value: unknown): value is InnerError[] {\n return (\n Array.isArray(value) &&\n value.every(\n (item) =>\n typeof item === 'object' &&\n 'code' in item &&\n typeof item.code === 'string' &&\n 'message' in item &&\n typeof item.message === 'string',\n )\n );\n}\n","import { Injectable, inject } from '@angular/core';\nimport { FirebaseAnalytics } from '@capacitor-firebase/analytics';\nimport { EventName } from './event-names';\nimport { Location } from '@angular/common';\nimport { FirebaseCrashlytics } from '@capacitor-firebase/crashlytics';\nimport { SingularService } from '../singular/singular.service';\nimport { Logger } from 'src/app/core/services/analytics/logger';\nimport { captureStackTrace, normalizeError } from 'src/app/shared/errors/error-utilities';\nimport { PlatformInfoService } from '../platform-service/platform-info.service';\nimport { environment } from 'src/environments/environment';\nimport config from 'capacitor.config';\nimport { SentryService } from './sentry.service';\nimport { OperatorService } from '../operator/operator.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AnalyticsService {\n private location = inject(Location);\n private singularService = inject(SingularService);\n private platformInfoService = inject(PlatformInfoService);\n private sentryService = inject(SentryService);\n private logger = inject(Logger);\n private isInitialised = false;\n private sessionUtmId: string | undefined;\n\n async initialise(): Promise {\n if (OperatorService.IsDemo) {\n return;\n }\n\n if (this.isInitialised) {\n throw new Error('AnalyticsService should only be initialised once.');\n }\n this.isInitialised = true;\n await FirebaseAnalytics.setEnabled({ enabled: true });\n if (this.platformInfoService.isNative()) {\n await FirebaseCrashlytics.setEnabled({ enabled: true });\n }\n }\n\n async signIn(userId: string, operatorId: string | undefined = undefined): Promise {\n if (!this.isInitialised) {\n return;\n }\n\n await FirebaseAnalytics.setUserId({ userId });\n this.singularService.setUserId(userId);\n this.sentryService.setUserId(userId);\n if (operatorId) {\n this.sentryService.setOperator(operatorId);\n }\n this.setReferrer();\n\n if (this.platformInfoService.isNative()) {\n await FirebaseCrashlytics.setUserId({ userId });\n }\n }\n\n signOut(): void {\n if (!this.isInitialised) {\n return;\n }\n\n this.singularService.unSetUserId();\n }\n\n async log(name: EventName, params: object = {}): Promise {\n if (!this.isInitialised) {\n return;\n }\n\n await FirebaseAnalytics.logEvent({ name, params });\n this.singularService.event(name, params);\n this.sentryService.addBreadcrumb(name, params);\n\n if (this.platformInfoService.isNative()) {\n await FirebaseCrashlytics.log({ message: name });\n }\n }\n\n async logExtended>(name: string, params?: T): Promise {\n if (!this.isInitialised) {\n return;\n }\n\n const safeParams = params || {};\n\n await FirebaseAnalytics.logEvent({ name, params: safeParams });\n this.singularService.event(name, safeParams);\n this.sentryService.addBreadcrumb(name, safeParams);\n\n if (this.platformInfoService.isNative()) {\n await FirebaseCrashlytics.log({ message: name });\n await FirebaseCrashlytics.log({ message: `Context: ${JSON.stringify(safeParams)}` });\n }\n }\n\n async handleError>(\n err: unknown,\n context?: string,\n data?: T,\n ): Promise {\n if (!this.isInitialised) {\n return;\n }\n\n // Convert into an Error\n const error = normalizeError(err);\n\n // Capture the exception with Sentry\n this.sentryService.captureException(error, context, data);\n\n // Store in internal logger\n this.logger.errorObject(error);\n\n // Capture full stack trace\n const [stackTrace, rawStackFrames] = await captureStackTrace(error);\n\n const currentVersion = config.plugins?.['CapacitorUpdater']?.['version'];\n const build = environment.build;\n\n // Log analytics\n const params = {\n message: error.message,\n name: error.name,\n build: build,\n ...(currentVersion && { version: currentVersion }),\n ...(context && { context: context }),\n ...data,\n ...(error.stack && { stack: error.stack }),\n ...(stackTrace && { stackTrace: stackTrace }),\n };\n\n const platform = this.platformInfoService.getPlatform();\n const eventName = `${platform}_error_object`;\n await FirebaseAnalytics.logEvent({\n name: eventName,\n params,\n });\n this.singularService.event(eventName, params);\n\n // Record to crashlytics on devices\n if (this.platformInfoService.isNative()) {\n // Add some logs before recording exception to give some breadcrumbs\n if (context) {\n FirebaseCrashlytics.log({\n message: `Error context: ${context}`,\n });\n }\n if (data) {\n FirebaseCrashlytics.log({\n message: `Error data: ${JSON.stringify(data)}`,\n });\n }\n await FirebaseCrashlytics.recordException({\n message: error.message,\n stacktrace: rawStackFrames,\n });\n }\n\n console.error(`${JSON.stringify(params)}`);\n }\n\n async errorWarning(error: string): Promise {\n if (!this.isInitialised) {\n return;\n }\n\n this.logger.warn(error);\n const params = {\n message: error,\n };\n\n const platform = this.platformInfoService.getPlatform();\n const eventName = `${platform}_error_warning`;\n await FirebaseAnalytics.logEvent({\n name: eventName,\n params,\n });\n this.singularService.event(eventName, params);\n\n if (this.platformInfoService.isNative()) {\n await FirebaseCrashlytics.recordException({\n message: error,\n });\n }\n }\n\n setProperty(key: string, value: string) {\n if (!this.isInitialised) {\n return;\n }\n\n FirebaseAnalytics.setUserProperty({ key, value });\n }\n\n getSessionUtmId(): string | undefined {\n if (!this.isInitialised) {\n return;\n }\n\n return this.sessionUtmId;\n }\n\n private setReferrer(): void {\n if (!this.isInitialised) {\n return;\n }\n\n const currentUrl = this.location.path(true);\n const queryParamsString = currentUrl.split('?')[1];\n const utmParams = [\n 'utm_source',\n 'utm_campaign',\n 'utm_term',\n 'utm_content',\n 'utm_medium',\n 'utm_id',\n ];\n\n if (queryParamsString) {\n const queryParams = new URLSearchParams(queryParamsString);\n const obj: { [key: string]: string | null } = {};\n for (const key of utmParams) {\n if (queryParams.has(key)) {\n obj[key] = queryParams.get(key);\n\n if (key === 'utm_id') {\n this.sessionUtmId = obj[key] ?? undefined;\n\n if (this.sessionUtmId) {\n this.setProperty('utm_id', this.sessionUtmId);\n }\n }\n }\n }\n this.log(EventName.Referrer, obj);\n }\n }\n}\n","export enum EventName {\n // Initialising\n Referrer = 'Referrer', // optional params: utm_source: string, utm_campaign: string, utm_term: string, utm_content: string, utm_medium: string\n SingularInitialised = 'SingularInitialised', // params: singularDeviceId: string\n Onboarded = 'onboarded',\n OperatorInitialised = 'OperatorInitialised', // params: operatorId: string\n\n // Update Required Page\n UpdateRequiredView = 'UpdateRequired_View',\n UpdateRequiredMenuClick = 'UpdateRequired_Menu_Click',\n UpdateRequiredAppleClick = 'UpdateRequired_Apple_Click',\n UpdateRequiredGoogleClick = 'UpdateRequired_Google_Click',\n\n // Download Mobile App Banner\n OpenAppDownloadClick = 'OpenAppDownload_Click', // Mobile web only\n CloseDownloadBannerClick = 'CloseDownloadBanner_Click', // Mobile web only\n\n // Download App Page\n DownloadAppView = 'DownloadApp_View',\n DownloadAppMenuClick = 'DownloadApp_Menu_Click',\n DownloadAppAppleClick = 'DownloadApp_Apple_Click',\n DownloadAppGoogleClick = 'DownloadApp_Google_Click',\n\n // GeoLocation Page\n GeoLocationCheckView = 'GeoLocationCheck_View',\n GeoLocationCheckClick = 'GeoLocationCheck_Click',\n CheckLocation = 'CheckLocation',\n CheckLocationGranted = 'CheckLocationGranted',\n CheckLocationDenied = 'CheckLocationDenied',\n CheckLocationPrompt = 'CheckLocationPrompt',\n\n // App Startup\n AppConstructor = 'App_Constructor',\n AppOnInit = 'App_OnInit',\n AppView = 'App_View',\n FetchTranslation = 'Fetch_Translation',\n FirebaseInitialised = 'Firebase_Initialised',\n IsCountryBlocked = 'IsCountryBlocked',\n UpdateRequiredCheck = 'UpdateRequiredCheck',\n BootupRequestSuccess = 'BootupRequestSuccess',\n LoadingGuard = 'LoadingGuard',\n AppUrlOpen = 'App_UrlOpen',\n NativeRedirectUrlLink = 'Native_Redirect_UrlLink',\n SupportWebGl = 'SupportWebGl',\n\n // Sign In Page\n SignInOnInit = 'SignIn_OnInit',\n SignInWillEnter = 'SignIn_WillEnter',\n SignInView = 'SignIn_View',\n SignInGoogleClick = 'SignIn_Google_Click',\n SignInXClick = 'SignIn_X_Click',\n SignInAppleClick = 'SignIn_Apple_Click',\n SignInEmailClick = 'SignIn_Email_Click',\n SignInEmailBackClick = 'SignIn_EmailBack_Click',\n SignInPrivacyClick = 'SignIn_Privacy_Click', // TODO - Implement\n SignInTermsClick = 'SignIn_Terms_Click', // TODO - Implement\n SignInApiResponse = 'SignIn_ApiResponse', // params: provider: string (apple, google, x), response: string (success, fail)\n SignInEmailLink = 'SignIn_EmailLink',\n\n // Unavailable Page (i.e. blocked country)\n UnavailableView = 'Unavailable_View',\n UnavailableBackDoorClick = 'Unavailable_Backdoor_Click',\n\n // Chat Page (Mobile Only)\n ChatView = 'Chat_View',\n ChatMenuClick = 'Chat_Menu_Click',\n\n // Profile Page\n ProfileView = 'Profile_View',\n ProfileLinkWalletClick = 'Profile_LinkWallet_Click',\n ProfileMenuClick = 'Profile_Menu_Click', // Mobile only\n ProfileSaveNickClick = 'Profile_SaveNick_Click', // param: nick: string\n ProfileSaveNickApiResponse = 'Profile_SaveNick_ApiResponse', // param: nick: string, response: string (success, fail)\n ProfileDeleteAccountClick = 'Profile_DeleteAccount_Click',\n\n // Referral Page\n ReferralView = 'Referral_View',\n ReferralMenuClick = 'Referral_Menu_Click',\n ReferralCodeCopyClick = 'Referral_CodeCopy_Click',\n ReferralSaveCodeClick = 'Referral_SaveCode_Click',\n ReferralInitialPage = 'Referral_InitialPage',\n ReferralPageChangeClick = 'Referral_PageChange_Click',\n ReferralShareButtonClick = 'Referral_ShareButton_Click',\n ReferralTermsHeaderButtonClick = 'ReferralTermsHeaderButton_Click',\n ReferralTermsStatusButtonClick = 'ReferralTermsStatusButton_Click',\n\n // Referral Terms Page\n ReferralTermsView = 'ReferralTerms_View',\n ReferralTermsBackClick = 'ReferralTerms_Back_Click',\n\n // Activity Feed Page\n ActivityFeedView = 'ActivityFeed_View',\n ActivityFeedMenuClick = 'ActivityFeed_Menu_Click',\n\n // Select Wallet Page\n SelectWalletView = 'SelectWallet_View',\n SelectWalletBackClick = 'SelectWallet_Back_Click',\n SelectWalletCellClick = 'selectWallet_Cell_Click', // params: wallet: string (alby, wos)\n SelectWalletSpeedOfferClick = 'SelectWallet_SpeedOffer_Click',\n\n // Link Wallet Page\n LinkWalletView = 'LinkWallet_View', // params: wallet: string (alby, wos)\n LinkWalletBackClick = 'LinkWallet_Back_Click', // params: wallet: string (alby, wos)\n LinkWalletInstructionsClick = 'LinkWallet_Instructions_Click', // params: wallet: string (alby, wos), action: string (open, close)\n LinkWalletSaveClick = 'LinkWallet_Save_Click', // params: wallet: string (alby, wos)\n LinkWalletSaveApiResponse = 'LinkWallet_Save_ApiResponse', // params: wallet: string (alby, wos), response: string (success, fail)\n LinkWalletDownloadClick = 'LinkWallet_Download_Click', // params: wallet: string (alby, wos)\n\n // Leaderboards Page\n LeaderboardsMenuClick = 'Leaderboards_Menu_Click',\n LeaderboardsBackClick = 'Leaderboards_Back_Click',\n LeaderboardsListCellClick = 'LeaderboardsList_Cell_Click', // params: leaderboardType\n\n // Leaderboard Page\n LeaderboardPageView = 'Leaderboard_Page_View', // params: leaderboardType\n LeaderboardPageBackClick = 'LeaderboardPage_Back_Click', // params: leaderboardType\n\n // Clinch List Page\n ClinchListView = 'ClinchList_View', // params: hasRooms: bool or undefined\n ClinchListMenuClick = 'ClinchList_Menu_Click', // Mobile only\n ClinchListMoreClick = 'ClinchList_More_Click',\n ClinchListCellClick = 'ClinchList_Cell_Click', // param: roomId: string\n\n // Clinch Expired Page\n ClinchExpiredView = 'ClinchExpired_View', // params: roomId: string\n ClinchExpiredBackClick = 'ClinchExpired_Back_Click', // params: roomId: string\n\n // Clinch Result Page\n ClinchResultView = 'ClinchResult_View', // params: roomId: string, status: string (won, lost, draw)\n ClinchResultBackClick = 'ClinchResult_Back_Click', // params: roomId: string, status: string (won, lost, draw)\n ClinchResultDetailsClick = 'ClinchResult_Details_Click', // params: roomId: string, status: string (won, lost, draw), action: string (open, close)\n ClinchResultShareInChatClick = 'ClinchResult_ShareInChat_Click', // params: roomId: string, status: string (won, lost, draw)\n ClinchResultShareInChatAlertView = 'ClinchResult_ShareInChatAlert_View', // params: roomId: string, status: string (won, lost, draw)\n ClinchResultShareInChatAlertAnswer = 'ClinchResult_ShareInChatAlert_Answer', // params: roomId: string, status: string (won, lost, draw), answer: string (dismiss, no, yes).\n ClinchResultShareInChatAlertApiResponse = 'ClinchResult_ShareInChatAlert_ApiRes', // params: roomId: string, status: string (won, lost, draw), response: string (success, alreadyShared, failed)\n\n // Clinch Inplay Page\n ClinchInPlayView = 'ClinchInPlay_View', // params: roomId: string\n ClinchInPlayBackClick = 'ClinchInPlay_Back_Click', // params: roomId: string\n ClinchInPlayCopyReminderClick = 'ClinchInPlay_CopyReminder_Click', // params: roomId: string\n ClinchInPlayCopyReminderAlertView = 'ClinchInPlay_CopyReminderAlert_View', // params: roomId: string\n ClinchInPlayCopyReminderAlertAnswer = 'ClinchInPlay_CopyReminderAlert_Answer', // params: roomId: string, answer: string (dismiss, no, yes)\n\n // Clinch Pay Page\n ClinchPayCopyInvoiceClick = 'ClinchPay_CopyInvoice Click', // params: roomId: string\n ClinchPayLightningClick = 'Clinch_PayLightning_Click', // params: roomId: string\n ClinchPayNativeWalletClick = 'Clinch_PayNativeWallet_Click', // params: roomId: string\n ClinchPayPolygonClick = 'Clinch_PayPolygon_Click', // params: roomId: string\n ClinchPayOperatorLightningClick = 'Clinch_PayOperatorLightning_Click',\n ClinchPayWebLNClick = 'Clinch_PayWebln_Click', // params: roomId: string, wallet: string (alby)\n ClinchPayCheckClick = 'Clinch_PayCheck_Click', // params: roomId: string, paid: string\n ClinchPayInvoicePaid = 'Clinch_Pay_InvoicePaid', // params: roomId: string, paid: string\n\n // Clinch Processing Page\n ClinchProcessingView = 'ClinchProcessing_View', // params: roomId: string\n ClinchProcessingBackClick = 'ClinchProcessing_Back_Click', // params: roomId: string\n\n // Clinch Game Page\n ClinchGameView = 'ClinchGame_View', // params: roomId: string\n ClinchGameBackClick = 'ClinchGame_Back_Click', // params: roomId: string\n ClinchGameFinishClick = 'ClinchGame_Finish_Click', // params: roomId: string\n ClinchGameSubmitScoreSuccess = 'ClinchGame_SubmitScore_Success', // params: roomId: string\n ClinchGameSubmitScoreFail = 'ClinchGame_SubmitScore_Fail', // params: roomId: string\n ClinchGameFinishAlertView = 'ClinchGame_FinishAlert_View', // params: roomId: string\n ClinchGameFinishAlertAnswer = 'ClinchGame_FinishAlert_Answer', // params: roomId: string, answer: string (dismiss, no, yes)\n ClinchGameErrorFinishAlertView = 'ClinchGame_ErrorFinishAlert_View', // params: roomId: string\n ClinchGameErrorFinishAlertAnswer = 'ClinchGame_ErrorFinishAlert_Answer', // params: roomId: string, answer: string (dismiss, no, yes)\n ClinchGameRetryAlertView = 'ClinchGame_RetryAlert_View', // params: roomId: string\n ClinchGameRetryAlertAnswer = 'ClinchGame_RetryAlert_Answer', // params: roomId: string, answer: string (ok)\n ClinchGameFatalAlertView = 'ClinchGame_FatalAlert_View', // params: roomId: string\n ClinchGameFatalAlertAnswer = 'ClinchGame_FatalAlert_Answer', // params: roomId: string, answer: string (ok)\n ClinchGameScoreNotSubmittedAlertView = 'ClinchGame_ScoreNotSubmittedAlert_View', // params: roomId: string\n ClinchGameScoreNotSubmittedAlertAnswer = 'ClinchGame_ScoreNotSubmittedAlert_Ans', // params: roomId: string, answer: string (ok)\n ClinchGameNoHintsAlertView = 'ClinchGame_NoHintsAlert_View', // params: roomId: string\n ClinchGameNoHintsAlertAnswer = 'ClinchGame_NoHintsAlert_Answer', // params: roomId: string, answer: string (dismiss, ok)\n ClinchGameScoreSubmittedAlertView = 'ClinchGame_ScoreSubmittedAlert_View', // params: roomId: string\n ClinchGameScoreSubmittedAlertAnswer = 'ClinchGame_ScoreSubmittedAlert_Answer', // params: roomId: string, answer: string (dismiss, ok)\n ClinchGameViewInit = 'ClinchGame_ViewInit',\n\n ClinchGameLoaded = 'ClinchGameLoaded',\n ClinchGameStartRoom = 'ClinchGame_StartRoom',\n ClinchGameStartRoomFailed = 'ClinchGame_StartRoomFailed',\n ClinchGameSetMoves = 'ClinchGame_SetMoves',\n ClinchGameSetMovesFailed = 'ClinchGame_SetMovesFailed',\n ClinchGameDiscloseSecrets = 'ClinchGameDiscloseSecrets',\n ClinchGameDiscloseSecretsFailed = 'ClinchGameDiscloseSecretsFailed',\n\n // Practice Game Page\n PracticeButtonClick = 'PracticeButton_Click',\n PracticeGameView = 'PracticeGame_View',\n PracticeGameSceneInit = 'PracticeGame_Scene_Init',\n PracticeGameSceneLoaded = 'PracticeGame_Scene_Loaded',\n PracticeGameSceneStarted = 'PracticeGame_Scene_Started',\n PracticeGameSceneDeckComplete = 'PracticeGame_Scene_DeckComplete',\n PracticeGameSceneTimeout = 'PracticeGame_Scene_Timeout',\n PracticeGameFinishClick = 'PracticeGame_Finish_Click',\n PracticeGameSubmitScore = 'PracticeGame_SubmitScore',\n PracticeGameBackClick = 'PracticeGame_Back_Click',\n PracticeGameResultView = 'PracticeGame_Result_View',\n\n // Match Options\n MatchOptionsView = 'MatchOptions_View',\n MatchOptionsBackClick = 'MatchOptions_Back_Click',\n MatchOptionsRulesClick = 'MatchOptions_Rules_Click',\n LightningPayDrawView = 'LightningPayDraw_View',\n NativePayDrawView = 'NativePayDraw_View',\n PolygonPayDrawView = 'PolygonPayDraw_View',\n OperatorLightningPayDrawView = 'OperatorLightningPayDraw_View',\n WaitingForPaymentDrawView = 'WaitingForPaymentDraw_View',\n CheckingPaymentsDrawView = 'CheckingPaymentsDraw_View',\n\n // Side Menu\n SideMenuOpen = 'SideMenu_Open',\n SideMenuClose = 'SideMenu_Close',\n SideMenuStartClinchClick = 'SideMenu_StartClinch_Click',\n SideMenuInviteClick = 'SideMenu_Invite_Click',\n SideMenuClinchesClick = 'SideMenu_Clinches_Click',\n SideMenuProfileClick = 'SideMenu_Profile_Click',\n SideMenuRulesClick = 'SideMenu_Rules_Click',\n SideMenuTipsClick = 'SideMenu_Tips_Click',\n SideMenuReferralClick = 'SideMenu_Referral_Click',\n SideMenuLeaderboardsClick = 'SideMenu_Leaderboards_Click',\n SideMenuActivityFeedClick = 'SideMenu_ActivityFeed_Click',\n SideMenuDownloadAppClick = 'SideMenu_DownloadApp_Click',\n SideMenuLogoutClick = 'SideMenu_Logout_Click',\n SideMenuChatClick = 'SideMenu_Chat_Click',\n SideMenuPrivacyClick = 'SideMenu_Privacy_Click',\n SideMenuTermsClick = 'SideMenu_Terms_Click',\n SideMenuFAQClick = 'SideMenu_FAQ_Click',\n SideMenuDepositlessClick = 'SideMenu_Depositless_Click',\n SideMenuStats = 'Side_Menu_Stats',\n\n // Loading View\n LoadingStart = 'Loading_Start',\n LoadingFinish = 'Loading_Finish',\n\n // Other\n LocationCheck = 'LocationCheck', // params: userCountryCode: string, region: userRegion\n TryAppStoreReview = 'TryAppStoreReview',\n\n // Messaging\n LocalNotificationOpenAction = 'LocalNotification_OpenAction',\n LocalNotificationPermissions = 'LocalNotification_Permissions',\n\n // Moves\n SetMovesError = 'SetMoves_Error',\n}\n\nexport enum EventParam {\n // Api Responseß\n Success = 'success',\n Fail = 'fail',\n AlreadyShared = 'alreadyShared',\n\n // Auth\n Apple = 'apple',\n Google = 'google',\n X = 'x',\n SendEmailLink = 'send-email-link',\n EmailLink = 'email-link',\n\n // Actions\n Open = 'open',\n Close = 'close',\n Dismiss = 'dismiss',\n Yes = 'yes',\n No = 'no',\n Ok = 'ok',\n}\n","import { Injectable } from '@angular/core';\nimport { StorageService } from 'src/app/core/services/storage/storage.service';\n\nexport interface LogEntry {\n message: string;\n level: 'info' | 'warn' | 'error';\n timestamp: Date;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class Logger {\n private logKey = 'app_logs';\n private logs: LogEntry[] = [];\n private initialized = false;\n\n constructor(private storageService: StorageService) {}\n\n async initIfNeeded() {\n if (!this.initialized) {\n this.logs = (await this.storageService.getItem(this.logKey)) || [];\n this.initialized = true;\n }\n }\n\n async info(message: string) {\n await this.log(message, 'info');\n }\n\n async warn(message: string) {\n await this.log(message, 'warn');\n }\n\n async error(message: string) {\n await this.log(message, 'error');\n }\n\n async errorObject(error: Error) {\n await this.log(error.message, 'error');\n }\n\n async getLast100Logs(): Promise {\n await this.initIfNeeded();\n // Sort logs by timestamp in descending order (newest first)\n return this.logs\n .slice(-100)\n .sort((a, b) => new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime());\n }\n\n private async saveLogs() {\n await this.storageService.setItem(this.logKey, this.logs.slice(-100)); // Keep only the last 100 logs\n }\n\n private async log(message: string, level: 'info' | 'warn' | 'error') {\n await this.initIfNeeded(); // Ensure logs are initialized before logging\n const logEntry: LogEntry = {\n message,\n level,\n timestamp: new Date(),\n };\n this.logs.push(logEntry);\n console[level](message); // Log to the console\n await this.saveLogs(); // Save logs after adding each entry\n }\n}\n","import * as Sentry from '@sentry/browser';\n\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SentryService {\n setUserId(userId: string): void {\n Sentry.setUser({ id: userId });\n }\n\n setOperator(operator: string): void {\n Sentry.setTag('operator', operator);\n }\n\n setWallet(wallet: string): void {\n Sentry.setTag('wallet', wallet);\n }\n\n setActiveLanguage(language: string): void {\n Sentry.setTag('activeLanguage', language);\n }\n\n captureException>(\n error: Error,\n context?: string,\n data?: T,\n ): void {\n Sentry.captureException(error, {\n extra: {\n context,\n ...data,\n },\n });\n }\n\n addBreadcrumb(name: string, params: object = {}): void {\n Sentry.addBreadcrumb({\n category: 'log',\n message: name,\n data: params,\n level: 'info',\n });\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { MovesService } from '../moves/moves.service';\nimport { LocationService } from '../location/location.service';\nimport { RoomService } from '../room/room.service';\nimport { RoomListService } from '../room-list/room-list.service';\nimport { ProfileService } from 'src/app/core/services/profile/profile.service';\nimport { InitService } from '../init/init.service';\nimport { DepositService } from '../deposit/deposit.service';\nimport { AnalyticsService } from '../analytics/analytics.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SignOutService {\n private analyticsService = inject(AnalyticsService);\n private locationService = inject(LocationService);\n private movesService = inject(MovesService);\n private roomService = inject(RoomService);\n private roomListService = inject(RoomListService);\n private profileService = inject(ProfileService);\n private initService = inject(InitService);\n private depositService = inject(DepositService);\n\n async signOut(): Promise {\n this.analyticsService.signOut();\n this.depositService.signOut();\n this.locationService.signOut();\n this.movesService.signOut();\n this.roomListService.signOut();\n await this.roomService.signOut();\n this.profileService.reset();\n this.initService.reset();\n }\n}\n","import { Injectable, NgZone, inject } from '@angular/core';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport {\n FirebaseAuthentication,\n SendSignInLinkToEmailOptions,\n} from '@capacitor-firebase/authentication';\nimport { EventName, EventParam } from '../analytics/event-names';\nimport { SignOutService } from '../sign-out/sign-out.service';\nimport { DataLayerService } from '../datalayer/datalayer.service';\nimport { environment } from 'src/environments/environment';\nimport { ProfileService } from 'src/app/core/services/profile/profile.service';\nimport { Router } from '@angular/router';\nimport { OperatorService } from 'src/app/core/services/operator/operator.service';\nimport { StorageService } from '../storage/storage.service';\nimport { isNotNil } from 'src/app/shared/utils/app.utils';\nimport config from 'capacitor.config';\nimport { CapacitorUpdater } from '@capgo/capacitor-updater';\nimport { Capacitor } from '@capacitor/core';\nimport { PAGE } from 'src/app/routes';\nimport { Token } from './token';\nimport { JobService } from '../job/job.service';\nimport { Job } from '../job/job';\nimport { WagerApi } from '../../api/wager-api';\nimport { HttpService } from '../http/http.service';\n\nconst AUTH_USER = 'AUTH_USER';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AuthService {\n private profileService = inject(ProfileService);\n private analyticsService = inject(AnalyticsService);\n private signOutService = inject(SignOutService);\n private dataLayerService = inject(DataLayerService);\n private storageService = inject(StorageService);\n private operatorService = inject(OperatorService);\n private httpService = inject(HttpService);\n private router = inject(Router);\n private ngZone = inject(NgZone);\n private jobService = inject(JobService);\n\n private lastEmailLink: string | undefined;\n\n constructor() {\n if (OperatorService.IsDemo) {\n return;\n }\n\n FirebaseAuthentication.removeAllListeners().then(async () => {\n FirebaseAuthentication.addListener('authStateChange', (change) => {\n this.ngZone.run(async () => {\n if (change.user) {\n if (!OperatorService.IsActive) {\n await this.storageService.setItem(AUTH_USER, change.user.uid);\n await this.setUser(change.user.uid);\n }\n } else if (await this.userExists()) {\n await this.analyticsService.handleError('AuthService: Unexpected empty user');\n await this.signOut();\n this.router.navigate([PAGE.LOADING]);\n }\n });\n });\n });\n }\n\n get lastEmailLinkUsed(): string | undefined {\n return this.lastEmailLink;\n }\n\n async userExists(): Promise {\n return isNotNil(await this.storageService.getItem(AUTH_USER));\n }\n\n isAuthenticated(): Job {\n return this.jobService.create(async () => {\n if (OperatorService.IsDemo) {\n return true;\n }\n\n const userResult = await FirebaseAuthentication.getCurrentUser();\n return userResult.user ? true : false;\n });\n }\n\n setLastEmailLink(emailLink: string) {\n this.lastEmailLink = emailLink;\n }\n\n isSignInWithEmailLink(emailLink: string): Job {\n return this.jobService.create(async () => {\n const result = await FirebaseAuthentication.isSignInWithEmailLink({\n emailLink,\n });\n return result.isSignInWithEmailLink;\n });\n }\n\n sendSignInLinkToEmail(email: string): Job {\n return this.jobService.create(async () => {\n const options: SendSignInLinkToEmailOptions = {\n email,\n actionCodeSettings: {\n // URL you want to redirect back to.\n // URL must be in the authorized domains list in the Firebase Console.\n url: environment.emailLinkRedirectUri,\n // This must be true.\n handleCodeInApp: true,\n iOS: {\n bundleId: 'com.thndrgames.clinch',\n },\n android: {\n packageName: 'com.thndrgames.clinch',\n installApp: true,\n minimumVersion: '12', // Minimum Android SDK version\n },\n },\n };\n await FirebaseAuthentication.sendSignInLinkToEmail(options);\n\n this.analyticsService.log(EventName.SignInApiResponse, {\n provider: EventParam.SendEmailLink,\n response: EventParam.Success,\n });\n });\n }\n\n signInWithGoogle(): Job {\n return this.jobService.create(async () => {\n await FirebaseAuthentication.signInWithGoogle();\n this.analyticsService.log(EventName.SignInApiResponse, {\n provider: EventParam.Google,\n response: EventParam.Success,\n });\n await this.navigateAfterSignIn();\n });\n }\n\n signInWithApple(): Job {\n return this.jobService.create(async () => {\n await FirebaseAuthentication.signInWithApple();\n this.analyticsService.log(EventName.SignInApiResponse, {\n provider: EventParam.Apple,\n response: EventParam.Success,\n });\n await this.navigateAfterSignIn();\n });\n }\n\n signInWithEmailLink(email: string, emailLink: string): Job {\n return this.jobService.create(async () => {\n await FirebaseAuthentication.signInWithEmailLink({\n email,\n emailLink,\n });\n this.analyticsService.log(EventName.SignInApiResponse, {\n provider: EventParam.EmailLink,\n response: EventParam.Success,\n });\n await this.navigateAfterSignIn();\n });\n }\n\n signInWithEmail(email: string, password: string): Job {\n return this.jobService.create(async () => {\n await FirebaseAuthentication.signInWithEmailAndPassword({\n email,\n password,\n });\n await this.navigateAfterSignIn();\n });\n }\n\n signInWithToken(token: string): Job {\n return this.jobService.create(async () => {\n if (OperatorService.IsDemo) {\n return;\n }\n await FirebaseAuthentication.signInWithCustomToken({ token });\n });\n }\n\n async signOut(): Promise {\n await this.storageService.removeItem(AUTH_USER);\n await this.signOutService.signOut();\n\n if (!OperatorService.IsDemo) {\n await FirebaseAuthentication.signOut();\n }\n }\n\n private navigateAfterSignIn() {\n return this.router.navigate([PAGE.CHOOSE_GAME]);\n }\n\n loadCurrentUser(): Job {\n return this.jobService.create(async () => {\n if (OperatorService.IsDemo) {\n this.setUser('demo');\n return true;\n }\n\n const userResult = await FirebaseAuthentication.getCurrentUser();\n if (userResult.user) {\n await this.setUser(userResult.user.uid);\n return true;\n }\n return false;\n });\n }\n\n private async setUser(userId: string) {\n if (!OperatorService.IsDemo) {\n try {\n const hasClinchUserId = await Token.hasClinchUserId();\n if (!hasClinchUserId) {\n await WagerApi.request(this.httpService).provisionalUser();\n\n // Force refresh token so that the custom claims is set within the app\n await Token.get(true);\n }\n } catch (error) {\n this.analyticsService.handleError(error, 'Set provisional user');\n }\n }\n\n await this.storageService.setItem(AUTH_USER, userId);\n\n const version = config.plugins?.['CapacitorUpdater']?.['version'];\n if (version) {\n this.analyticsService.setProperty('appVersion', version);\n }\n this.analyticsService.setProperty('build', environment.build.toString());\n\n if (Capacitor.isNativePlatform()) {\n this.analyticsService.setProperty('bundleId', Capacitor.getPlatform());\n this.analyticsService.signIn(userId);\n } else {\n if (OperatorService.IsActive) {\n this.analyticsService.setProperty('bundleId', 'gg.clinch.embed');\n this.analyticsService.log(EventName.OperatorInitialised, {\n operatorId: this.operatorService.operatorId,\n userId: userId,\n });\n this.analyticsService.signIn(userId, this.operatorService.operatorId);\n } else if (environment.telegram) {\n this.analyticsService.setProperty('bundleId', 'gg.clinch.telegram');\n this.analyticsService.log(EventName.OperatorInitialised, {\n operatorId: 'telegram',\n userId: userId,\n });\n this.analyticsService.signIn(userId);\n } else {\n this.analyticsService.setProperty('bundleId', 'gg.clinch.play');\n this.analyticsService.signIn(userId);\n }\n }\n\n if (!OperatorService.IsActive) {\n const walletId = this.profileService.walletId;\n if (walletId) {\n this.analyticsService.setProperty('walletId', walletId);\n }\n\n try {\n CapacitorUpdater.setCustomId({ customId: userId });\n } catch (error) {\n this.analyticsService.handleError(error, 'Set Capacitor customId');\n }\n }\n\n this.dataLayerService.setUserId(userId);\n\n const job = this.jobService\n .create(async () => {\n await this.profileService.initialise(userId);\n })\n .showNoInternetRetry(Job.InfiniteRetry);\n job\n .addErrorHandler()\n .showFatalError()\n .onCancel(() => this.signOut());\n await job.runNoThrow();\n }\n}\n","export class InvalidTokenError extends Error {\n}\nInvalidTokenError.prototype.name = \"InvalidTokenError\";\nfunction b64DecodeUnicode(str) {\n return decodeURIComponent(atob(str).replace(/(.)/g, (m, p) => {\n let code = p.charCodeAt(0).toString(16).toUpperCase();\n if (code.length < 2) {\n code = \"0\" + code;\n }\n return \"%\" + code;\n }));\n}\nfunction base64UrlDecode(str) {\n let output = str.replace(/-/g, \"+\").replace(/_/g, \"/\");\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += \"==\";\n break;\n case 3:\n output += \"=\";\n break;\n default:\n throw new Error(\"base64 string is not of the correct length\");\n }\n try {\n return b64DecodeUnicode(output);\n }\n catch (err) {\n return atob(output);\n }\n}\nexport function jwtDecode(token, options) {\n if (typeof token !== \"string\") {\n throw new InvalidTokenError(\"Invalid token specified: must be a string\");\n }\n options || (options = {});\n const pos = options.header === true ? 0 : 1;\n const part = token.split(\".\")[pos];\n if (typeof part !== \"string\") {\n throw new InvalidTokenError(`Invalid token specified: missing part #${pos + 1}`);\n }\n let decoded;\n try {\n decoded = base64UrlDecode(part);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${pos + 1} (${e.message})`);\n }\n try {\n return JSON.parse(decoded);\n }\n catch (e) {\n throw new InvalidTokenError(`Invalid token specified: invalid json for part #${pos + 1} (${e.message})`);\n }\n}\n","import { FirebaseAuthentication } from '@capacitor-firebase/authentication';\nimport { jwtDecode, JwtPayload } from 'jwt-decode';\n\ninterface ClinchJwtPayload extends JwtPayload {\n operator?: string;\n clinchUserId?: string;\n}\n\nexport class Token {\n static async get(forceRefresh = false): Promise {\n const result = await FirebaseAuthentication.getIdToken({\n forceRefresh,\n });\n if (result.token) {\n return result.token;\n }\n throw new Error('No Firebase id token');\n }\n\n static async hasClinchUserId(): Promise {\n const idToken = await Token.get();\n const decodedToken = jwtDecode(idToken);\n\n // Return true if custom claims already has a Clinch userId\n return decodedToken?.clinchUserId !== undefined;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { ApiResponseBootup, WagerApi } from 'src/app/core/api/wager-api';\nimport { Capacitor } from '@capacitor/core';\nimport { environment } from 'src/environments/environment';\nimport { EventName } from '../analytics/event-names';\nimport { OperatorService } from '../operator/operator.service';\nimport config from 'capacitor.config';\nimport { HttpService } from '../http/http.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class BootupService {\n private httpService = inject(HttpService);\n private analyticsService = inject(AnalyticsService);\n private bootupData: ApiResponseBootup | undefined;\n\n async initialise() {\n this.bootupData = await WagerApi.request(this.httpService).bootup();\n this.analyticsService.log(EventName.BootupRequestSuccess);\n }\n\n updateRequired(): boolean {\n if (!this.bootupData) {\n return false;\n }\n\n if (Capacitor.isNativePlatform()) {\n if (Capacitor.getPlatform() === 'ios' && this.bootupData.minIOSVersion > environment.build) {\n return true;\n }\n if (\n Capacitor.getPlatform() === 'android' &&\n this.bootupData.minAndroidVersion > environment.build\n ) {\n return true;\n }\n } else if (\n (!OperatorService.IsActive && this.bootupData.minWebVersion > environment.build) ||\n (OperatorService.IsActive && this.bootupData.minOperatorVersion > environment.build)\n ) {\n location.reload();\n }\n return false;\n }\n\n isReviewVersion() {\n if (!this.bootupData) {\n return false;\n }\n return this.bootupData.appleReviewVersion === config.plugins?.['CapacitorUpdater']?.['version'];\n }\n\n isReferralsEnabled() {\n if (OperatorService.IsActive) {\n return false;\n }\n if (!this.bootupData) {\n return false;\n }\n return this.bootupData.featureFlags.enableReferrals;\n }\n\n isLeaderboardsEnabled() {\n if (!this.bootupData) {\n return false;\n }\n return this.bootupData.featureFlags.enableLeaderboards;\n }\n\n isActivityFeedEnabled() {\n if (!this.bootupData) {\n return false;\n }\n return this.bootupData.featureFlags.enableActivityFeed;\n }\n\n isEmailLinkEnabled() {\n if (!this.bootupData) {\n return false;\n }\n return this.bootupData.featureFlags.enableEmailLink;\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { OperatorService } from '../operator/operator.service';\nimport { Platform } from '@ionic/angular';\nimport { environment } from 'src/environments/environment';\nimport { Capacitor } from '@capacitor/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CustomisationService {\n private platform = inject(Platform);\n\n isChatEnabled(): boolean {\n return !(\n OperatorService.IsActive ||\n environment.telegram ||\n (this.platform.is('capacitor') && this.platform.is('ios'))\n );\n }\n\n isLoginEnabled(): boolean {\n return !(OperatorService.IsActive || environment.telegram);\n }\n\n isNicknameEditEnabled(): boolean {\n return !(OperatorService.IsActive || environment.telegram);\n }\n\n isDangerZoneEnabled(): boolean {\n return !(OperatorService.IsActive || environment.telegram);\n }\n\n isDownloadAppEnabled(): boolean {\n return !OperatorService.IsActive && this.platform.is('mobile') && !Capacitor.isNativePlatform();\n }\n\n isReferralCodeEnabled(): boolean {\n return !OperatorService.IsActive && !environment.telegram;\n }\n\n isReferralInterstiticalEnabled(): boolean {\n return !OperatorService.IsActive && !environment.telegram;\n }\n\n isInviteMenuButtonEnabled(): boolean {\n return environment.telegram;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Capacitor } from '@capacitor/core';\nimport { Platform } from '@ionic/angular';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DataLayerService {\n constructor() {\n window.dataLayer = window.dataLayer || [];\n }\n\n setPlatform(platform: Platform) {\n let thisPlatform = 'web';\n if (Capacitor.isNativePlatform()) {\n thisPlatform = `native_${Capacitor.getPlatform()}`;\n } else {\n thisPlatform = platform.is('mobile' || 'mobileweb' || 'pwa') ? 'mobileweb' : 'web';\n }\n\n window.dataLayer?.push({\n userPlatform: thisPlatform,\n });\n }\n\n setUserId(userId: string | undefined) {\n if (userId !== undefined) {\n window.dataLayer?.push({\n userId: userId,\n });\n }\n }\n\n emitOnSiteExitEvent(eventName: string) {\n window.dataLayer?.push({\n event: 'onSiteExitEvent',\n onSiteExitEventName: eventName,\n });\n }\n}\n","import { registerPlugin } from '@capacitor/core';\nconst BackgroundTask = registerPlugin('BackgroundTask', {\n web: () => import('./web').then(m => new m.BackgroundTaskWeb()),\n});\nexport * from './definitions';\nexport { BackgroundTask };\n","import { inject, Injectable, signal, WritableSignal } from '@angular/core';\nimport { canCheckDeposit, Deposit, Deposits, isDepositExpired } from './deposits';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { BackgroundTask, CallbackID } from '@capawesome/capacitor-background-task';\nimport { Platform } from '@ionic/angular';\nimport { interval, startWith, Subject, takeUntil } from 'rxjs';\nimport { environment } from 'src/environments/environment';\nimport { Capacitor } from '@capacitor/core';\nimport { ApiResponseDepositStatus, JitApi } from '../../api/jit-api';\nimport { HttpService } from '../http/http.service';\nimport { ApiResponseFindMatch, WagerApi } from '../../api/wager-api';\nimport { JobService } from '../job/job.service';\nimport { Api } from '../../api/api';\nimport { TournamentService } from '../tournament/tournament.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DepositCheckerService {\n private analyticsService = inject(AnalyticsService);\n private httpService = inject(HttpService);\n private platform = inject(Platform);\n\n private deposits: Deposits | undefined;\n private isCheckingDeposits = false;\n private taskId: CallbackID | undefined;\n private lastConsumedDepositSignal: WritableSignal = signal(undefined);\n private checkerStateSignal: WritableSignal = signal(false);\n private stopTimer$ = new Subject();\n private jobService = inject(JobService);\n private tournamentService = inject(TournamentService);\n\n readonly consumedDeposit$ = this.lastConsumedDepositSignal.asReadonly();\n readonly checkerState$ = this.checkerStateSignal.asReadonly();\n\n constructor() {\n if (environment.telegram) {\n // Check visibility changes (triggers when user returns to Telegram Mini App)\n document.addEventListener('visibilitychange', this.onVisibilityChange.bind(this));\n } else {\n this.platform.ready().then(() => {\n document.addEventListener('pause', this.onPause.bind(this), false);\n document.addEventListener('resume', this.onResume.bind(this), false);\n });\n }\n }\n\n setDeposits(deposits: Deposits) {\n this.stop();\n this.deposits = deposits;\n this.start();\n }\n\n clearDeposits() {\n this.stop();\n this.deposits = undefined;\n }\n\n start() {\n if (this.stopTimer$.closed) {\n this.stopTimer$ = new Subject();\n }\n\n if (!this.deposits || this.deposits.getDeposits().length === 0) {\n return;\n }\n\n if (this.checkerStateSignal() === true) return;\n\n this.checkerStateSignal.set(true);\n\n interval(1000)\n .pipe(\n startWith(0), // Emit immediately on start\n takeUntil(this.stopTimer$), // Stop when stopTimer$ emits\n )\n .subscribe(() => {\n if (!this.isCheckingDeposits) {\n this.checkDeposits();\n }\n });\n }\n\n stop() {\n if (this.checkerStateSignal() === false) return;\n this.stopTimer$.next(); // Stop the timer\n this.stopTimer$.complete();\n this.checkerStateSignal.set(false);\n }\n\n private async checkDeposits() {\n if (!this.deposits || this.deposits.getDeposits().length === 0) {\n this.stop();\n return this.logWarning('No deposits to check');\n }\n\n if (this.isCheckingDeposits) {\n return this.logWarning('Concurrent deposit checks are being attempted');\n }\n\n this.isCheckingDeposits = true;\n const deposits = this.deposits.getDeposits();\n\n for (const deposit of deposits) {\n try {\n await this.processDeposit(deposit);\n } catch (error) {\n await this.analyticsService.handleError(error, `Process deposit: id: ${deposit.id}`);\n }\n }\n this.isCheckingDeposits = false;\n }\n\n private async processDeposit(deposit: Deposit) {\n if (!this.deposits) {\n return this.logWarning('Deposits not set');\n }\n\n if (!canCheckDeposit(deposit)) {\n return;\n }\n\n const job = this.jobService.create(async () => {\n return await JitApi.request(this.httpService).depositStatus(deposit.id);\n });\n\n const depositStatus = await job.runNoThrow();\n\n if (depositStatus && depositStatus.data.chargeStatus === 'PAID') {\n if (depositStatus.data.depositStatus === 'AVAILABLE') {\n try {\n const tournamentId = this.tournamentService.tournamentId();\n const job = tournamentId\n ? this.tournamentService.findTournamentMatch(\n deposit.gameId,\n deposit.tierId,\n deposit.id,\n tournamentId,\n )\n : this.jobService.create(async () => {\n return await WagerApi.request(this.httpService).findMatch(\n deposit.gameId,\n deposit.tierId,\n deposit.id,\n );\n });\n\n const match = await job.run();\n if (match) {\n await this.stopChecking(deposit);\n deposit.roomId = match.data.roomId;\n this.lastConsumedDepositSignal.set(deposit);\n }\n } catch (error) {\n if (Api.isHttpErrorResponse(error)) {\n if (error.status === 404 || error.status === 500) {\n await this.stopChecking(deposit);\n }\n }\n }\n }\n } else if (isDepositExpired(deposit)) {\n await this.stopChecking(deposit);\n } else {\n this.deposits?.checked(deposit);\n }\n }\n\n private async onPause() {\n if (Capacitor.isNativePlatform() && !environment.telegram) {\n this.taskId = await BackgroundTask.beforeExit(async () => {\n this.stop();\n if (this.taskId) {\n BackgroundTask.finish({ taskId: this.taskId });\n }\n });\n } else {\n this.stop();\n }\n }\n\n private onResume() {\n if (this.deposits && this.deposits.getDeposits().length > 0) {\n this.start();\n if (this.taskId) {\n BackgroundTask.finish({ taskId: this.taskId });\n this.taskId = undefined;\n }\n }\n }\n\n private onVisibilityChange() {\n if (!document.hidden) {\n // App is back in focus\n if (this.deposits && this.deposits.getDeposits().length > 0) {\n this.stop(); // Ensure clean state before restarting\n this.start(); // Restart deposit checking immediately\n }\n }\n }\n\n private async stopChecking(deposit: Deposit) {\n if (!this.deposits) {\n return;\n }\n await this.deposits.remove(deposit);\n if (this.deposits.getDeposits().length === 0) {\n this.stop();\n }\n }\n\n private async logWarning(message: string) {\n await this.analyticsService.errorWarning(`DepositChecker: ${message}`);\n }\n}\n","import { Injectable, inject, effect, runInInjectionContext, Injector } from '@angular/core';\nimport { DepositService } from '../deposit/deposit.service';\nimport { RoomListService } from '../room-list/room-list.service';\nimport { ProfileService } from '../profile/profile.service';\nimport { ToastService } from '../toast/toast.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DepositWatcherService {\n private depositService = inject(DepositService);\n private roomListService = inject(RoomListService);\n private profileService = inject(ProfileService);\n private toastService = inject(ToastService);\n private injector = inject(Injector);\n\n blockToaster = false;\n\n constructor() {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n const consumedDeposit = this.depositService.consumedDeposit()();\n if (consumedDeposit && consumedDeposit.roomId) {\n this.roomListService.addRoom(consumedDeposit.roomId, this.profileService.id);\n\n if (!this.blockToaster) {\n this.toastService.showGoToMatchToast(consumedDeposit.roomId);\n }\n }\n });\n });\n }\n}\n","import { inject, Injectable, Signal } from '@angular/core';\nimport { DepositCheckerService } from './deposit-checker.service';\nimport { Deposit, Deposits } from './deposits';\nimport { StorageService } from '../storage/storage.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DepositService {\n private depositCheckerService = inject(DepositCheckerService);\n private storageService = inject(StorageService);\n private deposits: Deposits | undefined;\n\n async initialise(userId: string): Promise {\n this.deposits = new Deposits(userId, this.storageService);\n await this.deposits.initialise();\n this.depositCheckerService.setDeposits(this.deposits);\n }\n\n consumedDeposit(): Signal {\n return this.depositCheckerService.consumedDeposit$;\n }\n\n async addDeposit(deposit: Deposit): Promise {\n if (!this.deposits) {\n throw new Error('Deposits not initialized');\n }\n await this.deposits.add(deposit);\n if (this.deposits.getDeposits().length === 1) {\n this.depositCheckerService.start(); // Start DepositChecker if the first deposit is added\n }\n }\n\n async removeDeposit(deposit: Deposit): Promise {\n if (!this.deposits) {\n throw new Error('Deposits not initialized');\n }\n await this.deposits.remove(deposit);\n if (this.deposits.getDeposits().length === 0) {\n this.depositCheckerService.stop(); // Stop DepositChecker if all deposits are removed\n }\n }\n\n async removeInvoice(invoice: string): Promise {\n if (!this.deposits) {\n throw new Error('Deposits not initialized');\n }\n await this.deposits.removeInvoice(invoice);\n if (this.deposits.getDeposits().length === 0) {\n this.depositCheckerService.stop(); // Stop DepositChecker if all deposits are removed\n }\n }\n\n depositCount(): number {\n return this.deposits ? this.deposits.getDeposits().length : 0;\n }\n\n signOut(): void {\n this.depositCheckerService.clearDeposits();\n }\n}\n","import { WalletType } from 'src/app/model/wallet/wallet-types';\nimport { StorageService, StorageKey } from '../storage/storage.service';\nimport { GameId } from 'src/app/model/game/game-id';\n\ninterface BaseDeposit {\n type: WalletType;\n id: string;\n gameId: GameId;\n tierId: string;\n roomId?: string;\n checkCount: number;\n canCheckAt: number;\n expiresAt: number;\n}\n\nexport interface LightningDeposit extends BaseDeposit {\n type: WalletType.Lightning;\n amountSats: number;\n invoice: string;\n}\n\nexport interface UsdcDeposit extends BaseDeposit {\n type: WalletType.Polygon;\n}\n\nexport type Deposit = LightningDeposit | UsdcDeposit;\n\nexport function isLightningDeposit(deposit: Deposit): deposit is LightningDeposit {\n return deposit.type === WalletType.Lightning;\n}\n\nexport function isUsdcDeposit(deposit: Deposit): deposit is UsdcDeposit {\n return deposit.type === WalletType.Polygon;\n}\n\nexport function isDepositExpired(deposit: Deposit): boolean {\n return deposit.expiresAt < Date.now();\n}\n\nexport function canCheckDeposit(deposit: Deposit): boolean {\n return deposit.canCheckAt < Date.now();\n}\n\nexport class Deposits {\n private deposits: Deposit[] = [];\n private initializing: Promise | null = null;\n\n constructor(\n private userId: string,\n private storageService: StorageService,\n ) {}\n\n async initialise(): Promise {\n if (this.initializing) return this.initializing;\n\n this.initializing = (async () => {\n const storedDeposits = await this.storageService.getItem(this.key());\n this.deposits = storedDeposits || [];\n this.initializing = null;\n })();\n\n return this.initializing;\n }\n\n async add(deposit: Deposit): Promise {\n await this.isInitialized();\n this.deposits.push(deposit);\n await this.storageService.setItem(this.key(), this.deposits);\n }\n\n async remove(deposit: Deposit): Promise {\n await this.isInitialized();\n this.deposits = this.deposits.filter((d) => d.id !== deposit.id);\n await this.storageService.setItem(this.key(), this.deposits);\n }\n\n async removeInvoice(invoice: string): Promise {\n await this.isInitialized();\n this.deposits = this.deposits.filter((d) => {\n if (isLightningDeposit(d)) {\n return d.invoice !== invoice;\n } else {\n // TODO: Will USDC deposits have an invoice?\n console.error('Trying to remove a USDC deposit via invoice');\n return false;\n }\n });\n await this.storageService.setItem(this.key(), this.deposits);\n }\n\n getDeposits(): Deposit[] {\n return [...this.deposits];\n }\n\n async checked(deposit: Deposit): Promise {\n await this.isInitialized();\n const foundDeposit = this.deposits.find((d) => d == deposit);\n if (foundDeposit) {\n foundDeposit.checkCount += 1;\n const delay = 1000 * Math.pow(2, Math.min(Math.max(0, foundDeposit.checkCount - 30), 3));\n foundDeposit.canCheckAt = Date.now() + delay;\n await this.storageService.setItem(this.key(), this.deposits);\n }\n }\n\n private key(): string {\n return `${this.userId}_${StorageKey.Deposits}`;\n }\n\n private async isInitialized(): Promise {\n if (this.initializing) {\n await this.initializing;\n }\n }\n}\n","import { computed, Injectable, signal } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class GameScoreService {\n private scoreSignal = signal(0);\n private countdownSignal = signal(undefined);\n private tournamentCountdownSignal = signal(undefined);\n private formattedRewardSignal = signal(undefined);\n private opponentSignal = signal(undefined);\n private opponentIdSignal = signal(undefined);\n private inPlaySignal = signal(false);\n private bountyAmountSignal = signal(undefined);\n\n get score() {\n return this.scoreSignal.asReadonly();\n }\n\n get countdown() {\n return this.countdownSignal.asReadonly();\n }\n\n get formattedReward() {\n return this.formattedRewardSignal.asReadonly();\n }\n\n get opponent() {\n return this.opponentSignal.asReadonly();\n }\n\n get opponentId() {\n return computed(() => {\n const value = this.opponentIdSignal();\n return value ?? undefined;\n });\n }\n\n get tournamentCountdown() {\n return this.tournamentCountdownSignal.asReadonly();\n }\n\n get bountyAmount() {\n return this.bountyAmountSignal.asReadonly();\n }\n\n get inPlay() {\n return this.inPlaySignal.asReadonly();\n }\n\n setScore(score: number | undefined) {\n this.scoreSignal.set(score ?? 0);\n }\n\n setCountdown(countdown: number) {\n this.countdownSignal.set(countdown);\n }\n\n setTournamentCountdown(countdown: number) {\n this.tournamentCountdownSignal.set(countdown);\n }\n\n setFormattedReward(reward: string | undefined) {\n this.formattedRewardSignal.set(reward);\n }\n\n setOpponent(opponent: string | undefined) {\n this.opponentSignal.set(opponent);\n }\n\n setOpponentId(opponentId: string | undefined | null) {\n this.opponentIdSignal.set(opponentId);\n }\n\n setInPlay(inPlay: boolean) {\n this.inPlaySignal.set(inPlay);\n }\n\n setBountyAmount(bountyAmount: number | undefined) {\n this.bountyAmountSignal.set(bountyAmount);\n }\n\n clear() {\n this.scoreSignal.set(0);\n this.countdownSignal.set(undefined);\n this.tournamentCountdownSignal.set(undefined);\n this.formattedRewardSignal.set(undefined);\n this.opponentSignal.set(undefined);\n this.opponentIdSignal.set(undefined);\n this.inPlaySignal.set(false);\n this.bountyAmountSignal.set(undefined);\n }\n}\n","import config from 'capacitor.config';\nimport { inject, Injectable } from '@angular/core';\nimport { environment } from 'src/environments/environment';\nimport { Location } from '../location/location.service';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { PlatformInfoService } from '../platform-service/platform-info.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class HttpService {\n private httpClient = inject(HttpClient);\n private platformInfoService = inject(PlatformInfoService);\n\n private version: Record | undefined;\n private build: Record | undefined;\n private platform: Record | undefined;\n private languageHeader: Record | undefined;\n private locationHeader: Record | undefined;\n private walletHeader: Record | undefined;\n\n get https(): HttpClient {\n return this.httpClient;\n }\n\n setLanguage(chosenLanguage: string) {\n this.languageHeader = {\n 'x-clinch-language': chosenLanguage,\n };\n }\n\n setLocation(location: Location) {\n this.locationHeader = {\n 'x-clinch-country': location.countryCode,\n 'x-clinch-state': location.state,\n };\n }\n\n setWallet(walletId: string) {\n this.walletHeader = {\n 'x-clinch-wallet': walletId,\n };\n }\n\n generateHeaders(): HttpHeaders {\n const headers = {\n ...this.versionHeader(),\n ...this.buildHeader(),\n ...this.platformHeader(),\n ...(this.languageHeader ?? {}),\n ...(this.locationHeader ?? {}),\n ...(this.walletHeader ?? {}),\n };\n return new HttpHeaders(headers);\n }\n\n generateAuthHeaders(idToken: string): HttpHeaders {\n const headers = {\n ...this.authorizationHeader(idToken),\n ...this.versionHeader(),\n ...this.buildHeader(),\n ...this.platformHeader(),\n ...(this.languageHeader ?? {}),\n ...(this.locationHeader ?? {}),\n ...(this.walletHeader ?? {}),\n };\n return new HttpHeaders(headers);\n }\n\n private authorizationHeader(idToken: string): Record {\n return { Authorization: `Bearer ${idToken}` };\n }\n\n private versionHeader(): Record {\n if (!this.version) {\n this.version = {\n 'x-clinch-version': `${config.plugins?.['CapacitorUpdater']?.['version']}`,\n };\n }\n return this.version;\n }\n\n private buildHeader(): Record {\n if (!this.build) {\n this.build = {\n 'x-clinch-build': `${environment.build}`,\n };\n }\n return this.build;\n }\n\n private platformHeader(): Record {\n if (!this.platform) {\n this.platform = {\n 'x-clinch-platform': this.platformInfoService.getPlatform(),\n };\n }\n return this.platform;\n }\n}\n","import { effect, inject, Injectable, Signal, signal } from '@angular/core';\nimport { ProfileService } from '../profile/profile.service';\nimport { TiersService } from '../tiers/tiers.service';\nimport { DepositService } from '../deposit/deposit.service';\nimport { RoomListService } from '../room-list/room-list.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class InitService {\n private profileService = inject(ProfileService);\n private tiersService = inject(TiersService);\n private depositService = inject(DepositService);\n private roomListService = inject(RoomListService);\n\n private initialisedSignal = signal(undefined);\n\n constructor() {\n effect(\n async () => {\n const initialised = this.profileService.initialised();\n if (initialised) {\n const userId = this.profileService.id;\n await Promise.all([\n this.depositService.initialise(userId),\n this.tiersService.refresh(),\n this.roomListService.moreRooms(userId),\n ]);\n\n this.initialisedSignal.set(true);\n }\n },\n { allowSignalWrites: true },\n );\n }\n\n get initialised(): Signal {\n return this.initialisedSignal.asReadonly();\n }\n\n reset() {\n this.initialisedSignal.set(undefined);\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { AlertController, LoadingController } from '@ionic/angular';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { Job } from './job';\nimport { TranslocoService } from '@jsverse/transloco';\n\n@Injectable({ providedIn: 'root' })\nexport class JobService {\n private analyticsService = inject(AnalyticsService);\n private alertController = inject(AlertController);\n private loadingController = inject(LoadingController);\n private translocoService = inject(TranslocoService);\n\n create(job: () => Promise) {\n return new Job(\n job,\n this.analyticsService,\n this.alertController,\n this.loadingController,\n this.translocoService,\n );\n }\n}\n","import { AlertController, LoadingController } from '@ionic/angular';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { Api } from '../../api/api';\nimport { TranslocoService } from '@jsverse/transloco';\n\nexport class JobCancelledError extends Error {\n constructor(message = 'Task was cancelled') {\n super(message);\n this.name = 'TaskCancelledError';\n }\n\n static isInstance(error: unknown): boolean {\n return error instanceof JobCancelledError;\n }\n}\n\nexport class JobErrorHandler {\n private enableFatalError = false;\n private enableWindowReload = false;\n private onCancelHandler: (() => void) | null = null;\n private onErrorHandler: ((error: unknown) => Promise) | null = null;\n\n constructor(\n private analyticsService: AnalyticsService,\n private alertController: AlertController,\n private translocoService: TranslocoService,\n private abortController: AbortController,\n ) {}\n\n async handle(job: () => Promise): Promise {\n try {\n return await job();\n } catch (error) {\n await this.analyticsService.handleError(error);\n if (!JobCancelledError.isInstance(error) && !this.abortController.signal.aborted) {\n await this.onErrorHandler?.(error);\n this.enableFatalError && (await this.showFatalErrorAlert(error));\n }\n this.onCancelHandler?.();\n\n this.enableWindowReload && window.location.reload();\n\n throw error;\n }\n }\n\n showFatalError() {\n this.enableFatalError = true;\n return this;\n }\n\n reloadWindow() {\n this.enableWindowReload = true;\n return this;\n }\n\n onError(handler: (error: unknown) => Promise) {\n this.onErrorHandler = handler;\n return this;\n }\n\n onCancel(handler: () => void) {\n this.onCancelHandler = handler;\n return this;\n }\n\n private async showFatalErrorAlert(error: unknown): Promise {\n const context = error instanceof Error ? `: ${error.message}` : '';\n const alert = await this.alertController.create({\n header: this.translocoService.translate('job.unexpected-error'),\n message: `${this.translocoService.translate('job.unexpected-error-message')}${context}`,\n buttons: [{ text: this.translocoService.translate('job.ok') }],\n backdropDismiss: false,\n });\n await alert.present();\n await alert.onDidDismiss();\n }\n}\n\nexport class Job {\n private attempt = 0;\n private canRetry?: (attempt: number) => boolean;\n private enableLoading = false;\n private loadingDelay = 1000;\n private abortController = new AbortController();\n private jobErrorHandler?: JobErrorHandler;\n\n static readonly InfiniteRetry = (_attempt: number) => true;\n static readonly DefaultRetry = (attempt: number) => attempt < 3;\n\n constructor(\n private task: () => Promise,\n private analyticsService: AnalyticsService,\n private alertController: AlertController,\n private loadingController: LoadingController,\n private translocoService: TranslocoService,\n ) {}\n\n async run(): Promise {\n if (this.jobErrorHandler) {\n return await this.jobErrorHandler.handle(() => this.execute());\n }\n return await this.execute();\n }\n\n async runNoThrow(): Promise {\n try {\n return await this.run();\n } catch (error) {\n return undefined;\n }\n }\n\n addErrorHandler() {\n this.jobErrorHandler = new JobErrorHandler(\n this.analyticsService,\n this.alertController,\n this.translocoService,\n this.abortController,\n );\n return this.jobErrorHandler;\n }\n\n errorHandler() {\n return this.jobErrorHandler;\n }\n\n showNoInternetRetry(canRetry: (attempt: number) => boolean = Job.DefaultRetry) {\n this.canRetry = canRetry;\n return this;\n }\n\n showSpinner(delay = 1000) {\n this.enableLoading = true;\n this.loadingDelay = delay;\n return this;\n }\n\n cancel() {\n this.abortController.abort();\n }\n\n private checkIfCancelled() {\n if (this.abortController.signal.aborted) {\n throw new JobCancelledError('Job was cancelled');\n }\n }\n\n async execute(): Promise {\n if (this.canRetry) {\n return this.handleRetry(async () => {\n return this.enableLoading ? this.handleLoading(this.task) : this.task();\n });\n } else {\n return this.enableLoading ? this.handleLoading(this.task) : this.task();\n }\n }\n\n private async handleLoading(task: () => Promise): Promise {\n this.checkIfCancelled();\n let loading: HTMLIonLoadingElement | undefined;\n let timeout: NodeJS.Timeout | undefined;\n try {\n loading = await this.loadingController.create({ cssClass: 'custom-loading' });\n timeout = setTimeout(() => {\n if (!this.abortController.signal.aborted) loading?.present();\n }, this.loadingDelay);\n\n return await task();\n } catch (error) {\n this.checkIfCancelled();\n this.analyticsService.handleError(error);\n throw error;\n } finally {\n clearTimeout(timeout);\n if (loading && loading.isConnected) {\n await loading.dismiss();\n }\n }\n }\n\n private async handleRetry(job: () => Promise): Promise {\n this.checkIfCancelled();\n try {\n return await job();\n } catch (error) {\n this.checkIfCancelled();\n await this.analyticsService.handleError(error);\n if (!Api.isNoInternetError(error)) {\n throw error;\n }\n\n const retryAllowed = this.canRetry && this.canRetry(this.attempt);\n this.attempt++;\n this.loadingDelay = 0;\n\n return new Promise((resolve, reject) => {\n const cancelledError = new JobCancelledError('User cancelled');\n this.alertController\n .create({\n header: this.translocoService.translate('job.no-internet'),\n message: retryAllowed\n ? this.translocoService.translate('job.no-internet-message-retry')\n : this.translocoService.translate('job.no-internet-message'),\n buttons: retryAllowed\n ? [\n {\n text: this.translocoService.translate('job.cancel'),\n handler: () => reject(cancelledError),\n },\n {\n text: this.translocoService.translate('job.retry'),\n handler: () => {\n this.alertController.dismiss().then(() => {\n if (!this.abortController.signal.aborted) {\n this.handleRetry(job).then(resolve).catch(reject);\n } else {\n reject(cancelledError);\n }\n });\n },\n },\n ]\n : [\n {\n text: this.translocoService.translate('job.ok'),\n handler: () => reject(cancelledError),\n },\n ],\n })\n .then((alert) => alert.present());\n });\n }\n }\n}\n","export enum LeaderboardType {\n MostWins = 'most_wins',\n MostMoneyWon = 'most_money_won',\n}\n\nexport enum LeaderboardPeriodType {\n Daily = 'interval_1day',\n Weekly = 'interval_7day',\n Monthly = 'interval_30day',\n AllTime = 'interval_alltime',\n}\n\nexport interface LeaderboardMetadata {\n type: LeaderboardType;\n key: string;\n}\n","import { registerPlugin } from '@capacitor/core';\nconst Geolocation = registerPlugin('Geolocation', {\n web: () => import('./web').then(m => new m.GeolocationWeb()),\n});\nexport * from './definitions';\nexport { Geolocation };\n","import { Injectable, OnDestroy, Signal, inject, signal } from '@angular/core';\nimport { WagerApi } from 'src/app/core/api/wager-api';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { EventName } from '../analytics/event-names';\nimport { StorageService } from '../storage/storage.service';\nimport { Geolocation } from '@capacitor/geolocation';\nimport { AlertService } from '../alert/alert.service';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { isNotNil } from 'src/app/shared/utils/app.utils';\nimport { Router } from '@angular/router';\nimport { PAGE } from 'src/app/routes';\nimport { Capacitor } from '@capacitor/core';\nimport { environment } from 'src/environments/environment';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { Subject, takeUntil } from 'rxjs';\nimport { HttpService } from '../http/http.service';\nimport { OperatorService } from '../operator/operator.service';\nimport { JobService } from '../job/job.service';\nimport { Job } from '../job/job';\n\nconst LOCATION = 'LOCATION';\nconst DEBUG_LOCATION = 'DEBUG_LOCATION';\n\nexport interface Location {\n countryCode: string;\n state: string;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LocationService implements OnDestroy {\n private httpService = inject(HttpService);\n private analyticsService = inject(AnalyticsService);\n private alertService = inject(AlertService);\n private storageService = inject(StorageService);\n private translocoService = inject(TranslocoService);\n private jobService = inject(JobService);\n private router = inject(Router);\n private blocked: boolean | undefined;\n private forceUnblock = environment.sandbox;\n private locationAllowedSignal = signal(undefined);\n private currentLocationSignal = signal(undefined);\n private operatorService = inject(OperatorService);\n private destroy$ = new Subject();\n\n public isUS = false;\n\n get locationAllowed(): Signal {\n return this.locationAllowedSignal.asReadonly();\n }\n\n constructor() {\n this.initialize();\n }\n\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n async isLocationChecked(): Promise {\n const location = await this.storageService.getItem(LOCATION);\n return isNotNil(location);\n }\n\n async checkLocation(): Promise {\n this.analyticsService.log(EventName.CheckLocation);\n const currentPermissions = await Geolocation.checkPermissions();\n if (currentPermissions.location === 'granted') {\n this.analyticsService.log(EventName.CheckLocationGranted);\n await this.getAndSetLocation();\n } else if (currentPermissions.location === 'denied') {\n this.analyticsService.log(EventName.CheckLocationDenied);\n this.showDeniedAlert();\n } else if (\n currentPermissions.location === 'prompt' ||\n currentPermissions.location === 'prompt-with-rationale'\n ) {\n this.analyticsService.log(EventName.CheckLocationPrompt);\n const permissions = await Geolocation.requestPermissions();\n if (permissions.location === 'granted') {\n this.analyticsService.log(EventName.CheckLocationGranted);\n await this.getAndSetLocation();\n } else if (permissions.location === 'denied') {\n this.analyticsService.log(EventName.CheckLocationDenied);\n this.showDeniedAlert();\n }\n }\n }\n\n private async initialize() {\n if (OperatorService.IsDemo) {\n return;\n }\n\n toObservable(this.currentLocationSignal)\n .pipe(takeUntil(this.destroy$))\n .subscribe((currentLocation) => {\n if (currentLocation) {\n this.httpService.setLocation(currentLocation);\n }\n });\n\n const isChecked = await this.isLocationChecked();\n const savedForceUnblock = await this.storageService.getItem(DEBUG_LOCATION);\n this.locationAllowedSignal.set(isChecked || savedForceUnblock);\n }\n\n private async getAndSetLocation(): Promise {\n const currentPosition = await Geolocation.getCurrentPosition();\n\n const latitude = currentPosition.coords.latitude;\n const longitude = currentPosition.coords.longitude;\n\n try {\n const response = await WagerApi.request(this.httpService).geocode(latitude, longitude);\n const location: Location = {\n countryCode: response.data.countryCode,\n state: response.data.state,\n };\n this.storageService.setItem(LOCATION, location);\n this.locationAllowedSignal.set(true);\n await this.router.navigate([PAGE.CHOOSE_GAME]);\n } catch (error) {\n await this.analyticsService.handleError(error, 'Request location');\n }\n }\n\n async isLocationBlocked(): Promise {\n if (OperatorService.IsDemo) {\n return false;\n }\n\n if (OperatorService.IsActive) {\n return false;\n }\n\n if (environment.sandbox) {\n return false;\n }\n\n if (this.forceUnblock) {\n return false;\n }\n\n const location = await this.storageService.getItem(LOCATION);\n return this.isGeoCodeBlocked(location.countryCode, location.state);\n }\n\n isCountryBlocked(): Job {\n return this.jobService.create(async () => {\n if (OperatorService.IsDemo) {\n return false;\n }\n\n if (OperatorService.IsActive) {\n return false;\n }\n\n if (environment.sandbox) {\n return false;\n }\n\n if (this.forceUnblock) {\n return false;\n }\n\n const savedForceUnblock = await this.storageService.getItem(DEBUG_LOCATION);\n if (savedForceUnblock) {\n return false;\n }\n\n if (this.blocked !== undefined) {\n return this.blocked;\n }\n\n this.analyticsService.log(EventName.IsCountryBlocked);\n\n const data = await WagerApi.request(this.httpService).checkIp();\n if (data) {\n this.analyticsService.log(EventName.LocationCheck, {\n userCountryCode: data.countryCode,\n userRegion: data.region,\n });\n\n this.currentLocationSignal.set({\n countryCode: data.countryCode,\n state: data.region,\n });\n\n this.isUS = data.countryCode === 'US';\n this.blocked = this.isGeoCodeBlocked(data.countryCode, data.region);\n } else {\n this.blocked = false;\n }\n\n // If we don't know if we should block, we just don't.\n return this.blocked && !this.forceUnblock;\n });\n }\n\n async unblock(): Promise {\n await this.storageService.setItem(DEBUG_LOCATION, true);\n this.locationAllowedSignal.set(true);\n this.forceUnblock = true;\n }\n\n private isGeoCodeBlocked(country: string, state: string): boolean {\n if (country === 'US') {\n return usStateFIPS.includes(state) || usStateISO.includes(state);\n } else if (country === 'IN') {\n return inStateFIPS.includes(state) || inStateISO.includes(state);\n }\n if (this.isNativeIOSApp()) {\n const iOSCountries = [...blockedCountries];\n iOSCountries.push('BR');\n return iOSCountries.includes(country);\n }\n return blockedCountries.includes(country);\n }\n\n private isNativeIOSApp(): boolean {\n const isIOS = Capacitor.getPlatform() === 'ios';\n const isNative = Capacitor.isNativePlatform();\n return isIOS && isNative;\n }\n\n signOut(): void {\n this.storageService.removeItem(LOCATION);\n }\n\n private showDeniedAlert(): void {\n const header = this.translocoService.translate('pages.geo-location.denied-alert-header');\n const message = this.translocoService.translate('pages.geo-location.denied-alert-message');\n this.alertService.presentErrorAlert(header, message);\n }\n}\n\nconst blockedCountries = [\n 'AF',\n 'DZ',\n 'AD',\n 'AW',\n 'AZ',\n 'BS',\n 'BD',\n 'BB',\n 'BY',\n 'BZ',\n 'BJ',\n 'BO',\n 'BA',\n 'BW',\n 'BI',\n 'KH',\n 'KY',\n 'CF',\n 'TD',\n 'CN',\n 'KM',\n 'CG',\n 'CR',\n 'CU',\n 'CY',\n 'KP',\n 'CD',\n 'DO',\n 'EC',\n 'GQ',\n 'FK',\n 'FO',\n 'FJ',\n 'PF',\n 'GH',\n 'GI',\n 'GL',\n 'GU',\n 'GT',\n 'GN',\n 'GW',\n 'HT',\n 'HN',\n 'IR',\n 'IQ',\n 'JM',\n 'KI',\n 'KG',\n 'LA',\n 'LB',\n 'LS',\n 'LR',\n 'LY',\n 'LI',\n 'MO',\n 'MG',\n 'MV',\n 'ML',\n 'MH',\n 'MQ',\n 'MR',\n 'MU',\n 'MC',\n 'MN',\n 'MA',\n 'MZ',\n 'MM',\n 'NI',\n 'NE',\n 'NU',\n 'NF',\n 'OM',\n 'PK',\n 'PW',\n 'PS',\n 'PA',\n 'PN',\n 'RU',\n 'WS',\n 'SM',\n 'ST',\n 'SA',\n 'SN',\n 'SC',\n 'SO',\n 'SS',\n 'SD',\n 'SY',\n 'TZ',\n 'TL',\n 'TG',\n 'TT',\n 'TM',\n 'TV',\n 'UG',\n 'UA',\n 'VI',\n 'VU',\n 'VA',\n 'VE',\n 'VN',\n 'YE',\n 'ZW',\n 'BE',\n 'BG',\n 'CI',\n 'HR',\n 'CZ',\n 'EG',\n 'EE',\n 'FR',\n 'GF',\n 'TF',\n 'GR',\n 'HU',\n 'ID',\n 'IT',\n 'JP',\n 'XK',\n 'LV',\n 'LT',\n 'MY',\n 'MT',\n 'ME',\n 'NG',\n 'MK',\n 'PL',\n 'PT',\n 'RO',\n 'RS',\n 'SK',\n 'SI',\n 'TR',\n];\n\nconst usStateFIPS = ['09', '22', '46', '05', '10', '18', '23'];\nconst usStateISO = ['CT', 'LA', 'SD', 'AR', 'DE', 'IN', 'ME'];\nconst inStateFIPS = ['IN01', 'IN02', 'IN13', 'IN20', 'IN21', 'IN29', 'IN25', 'IN40'];\nconst inStateISO = ['AP', 'AR', 'KL', 'NL', 'OR', 'SK', 'TN', 'TG'];\n","import { registerPlugin } from '@capacitor/core';\nconst LocalNotifications = registerPlugin('LocalNotifications', {\n web: () => import('./web').then(m => new m.LocalNotificationsWeb()),\n});\nexport * from './definitions';\nexport { LocalNotifications };\n","import { Injectable, inject } from '@angular/core';\nimport { Capacitor } from '@capacitor/core';\nimport {\n ActionPerformed,\n CancelOptions,\n LocalNotificationDescriptor,\n LocalNotifications,\n LocalNotificationSchema,\n ScheduleOptions,\n} from '@capacitor/local-notifications';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { EventName } from '../analytics/event-names';\nimport { ProfileService } from 'src/app/core/services/profile/profile.service';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { TranslocoService } from '@jsverse/transloco';\n\nenum NotificationType {\n RetentionHrs8 = 1,\n RetentionHrs24,\n RetentionHrs48,\n RetentionHrs72,\n RetentionHrs96,\n RetentionHrs120,\n RetentionHrs144,\n RetentionHrs168,\n RetentionHrs336,\n RetentionHrs504,\n RetentionHrs672,\n RetentionHrs840,\n RetentionHrs1008,\n RetentionHrs1176,\n RetentionHrs1344,\n RetentionHrs1512,\n RetentionHrs1680,\n RetentionHrs1848,\n RetentionHrs2016,\n RetentionHrs2184,\n RetentionHrs2352,\n\n OnboardingMins10,\n OnboardingMins60,\n OnboardingHrs8,\n OnboardingHrs24,\n OnboardingHrs48,\n OnboardingHrs72,\n OnboardingHrs96,\n OnboardingHrs120,\n OnboardingHrs144,\n OnboardingHrs168,\n OnboardingHrs336,\n}\n\nexport interface ObjectNode {\n [key: string]: Node;\n}\nexport type Node = ObjectNode | string | number | boolean;\n\ninterface NotificationData {\n id: NotificationType;\n title: string;\n body: string;\n intervalMins: number;\n extra: ObjectNode;\n}\n\ninterface NotificationMetadata {\n type: string;\n intervalMins: number;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LocalMessagingService {\n private analyticsService = inject(AnalyticsService);\n private profileService = inject(ProfileService);\n private translocoService = inject(TranslocoService);\n\n private profileInitialised: boolean | undefined = false;\n\n constructor() {\n toObservable(this.profileService.initialised).subscribe((initialised) => {\n this.profileInitialised = initialised;\n this.recordOnboardingStateChange();\n });\n toObservable(this.profileService.nickname).subscribe((_) => {\n if (this.profileInitialised) {\n this.recordOnboardingStateChange();\n }\n });\n toObservable(this.profileService.defaultWallet).subscribe((_) => {\n if (this.profileInitialised) {\n this.recordOnboardingStateChange();\n }\n });\n\n LocalNotifications.addListener(\n 'localNotificationReceived',\n (notification: LocalNotificationSchema) => {\n console.log(\n `LocalNotifications localNotificationReceived: ${JSON.stringify(notification)}`,\n );\n },\n );\n\n LocalNotifications.addListener(\n 'localNotificationActionPerformed',\n (notificationAction: ActionPerformed) => {\n if (notificationAction.actionId === 'tap') {\n const metadata = notificationAction.notification.extra as NotificationMetadata;\n this.analyticsService.log(EventName.LocalNotificationOpenAction, metadata);\n }\n console.log(\n `LocalNotifications localNotificationActionPerformed: ${JSON.stringify(\n notificationAction,\n )}`,\n );\n },\n );\n }\n\n async requestPermissions(): Promise {\n try {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n const permissionStatus = await LocalNotifications.requestPermissions();\n this.analyticsService.log(EventName.LocalNotificationPermissions, {\n status: permissionStatus.display,\n });\n } catch (error) {\n this.analyticsService.handleError(error, 'Request local notification permissions');\n }\n }\n\n async recordOnboardingStateChange(): Promise {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n\n await this.cancelNotifications(LocalMessagingService.onboardingNotificationIds());\n\n if (!this.profileInitialised) {\n return;\n }\n\n const defaultWallet = this.profileService.defaultWallet();\n const nickname = this.profileService.nickname();\n\n if (!defaultWallet) {\n // Not saved any default wallet yet\n await this.scheduleNotifications(\n LocalMessagingService.onboardingNotifications(\n this.translocoService.translate('local-notification.onboarding.title-2'),\n this.translocoService.translate('local-notification.onboarding.message-2'),\n ),\n );\n return;\n }\n if (!nickname) {\n // Not save nickname\n await this.scheduleNotifications(\n LocalMessagingService.onboardingNotifications(\n this.translocoService.translate('local-notification.onboarding.title-1'),\n this.translocoService.translate('local-notification.onboarding.message-1'),\n ),\n );\n return;\n }\n }\n\n async recordProfileCompleted(): Promise {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n\n await this.cancelNotifications(LocalMessagingService.onboardingNotificationIds());\n\n if (!this.profileInitialised) {\n return;\n }\n\n await this.scheduleNotifications(\n LocalMessagingService.onboardingNotifications(\n this.translocoService.translate('local-notification.onboarding.title-3'),\n this.translocoService.translate('local-notification.onboarding.message-3'),\n ),\n );\n }\n\n async clearOnboardingNotifications(): Promise {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n await this.cancelNotifications(LocalMessagingService.onboardingNotificationIds());\n }\n\n async recordPayDrawViewed(): Promise {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n\n await this.cancelNotifications(LocalMessagingService.onboardingNotificationIds());\n\n await this.scheduleNotifications(\n LocalMessagingService.onboardingNotifications(\n this.translocoService.translate('local-notification.onboarding.title-4'),\n this.translocoService.translate('local-notification.onboarding.message-4'),\n ),\n );\n }\n\n async recordGameComplete(): Promise {\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n\n const nickname = this.profileService.nickname();\n await this.cancelNotifications(LocalMessagingService.retentionNotificationIds());\n await this.scheduleNotifications(\n LocalMessagingService.retentionNotifications(nickname, this.translocoService),\n );\n }\n\n private async cancelNotifications(notificationIds: number[]): Promise {\n try {\n const localNotifications: LocalNotificationDescriptor[] = notificationIds.map(\n (notificationId) => {\n return {\n id: notificationId,\n };\n },\n );\n\n const options: CancelOptions = {\n notifications: localNotifications,\n };\n await LocalNotifications.cancel(options);\n } catch (error) {\n this.analyticsService.handleError(error, 'Cancel location notifications');\n }\n }\n\n private async scheduleNotifications(notifications: NotificationData[]): Promise {\n try {\n const permissionStatus = await LocalNotifications.checkPermissions();\n if (permissionStatus.display !== 'granted') {\n return;\n }\n\n const dateNow = Date.now();\n const localNotifications: LocalNotificationSchema[] = notifications.map((data) => {\n return {\n id: data.id,\n title: data.title,\n body: data.body,\n schedule: {\n at: new Date(dateNow + data.intervalMins * 60 * 1000),\n },\n extra: data.extra,\n };\n });\n\n const options: ScheduleOptions = {\n notifications: localNotifications,\n };\n await LocalNotifications.schedule(options);\n } catch (error) {\n this.analyticsService.handleError(error, 'Schedule local notifications');\n }\n }\n\n private static onboardingNotificationIds(): number[] {\n return [\n NotificationType.OnboardingMins10,\n NotificationType.OnboardingMins60,\n NotificationType.OnboardingHrs8,\n NotificationType.OnboardingHrs24,\n NotificationType.OnboardingHrs48,\n NotificationType.OnboardingHrs72,\n NotificationType.OnboardingHrs96,\n NotificationType.OnboardingHrs120,\n NotificationType.OnboardingHrs144,\n NotificationType.OnboardingHrs168,\n NotificationType.OnboardingHrs336,\n ];\n }\n\n private static onboardingNotifications(title: string, body: string): NotificationData[] {\n const onboardings = [\n {\n id: NotificationType.OnboardingMins10,\n onMinute: 10,\n },\n {\n id: NotificationType.OnboardingMins60,\n onMinute: 60,\n },\n {\n id: NotificationType.OnboardingHrs8,\n onMinute: 8 * 60,\n },\n {\n id: NotificationType.OnboardingHrs24,\n onMinute: 24 * 60,\n },\n {\n id: NotificationType.OnboardingHrs48,\n onMinute: 48 * 60,\n },\n {\n id: NotificationType.OnboardingHrs72,\n onMinute: 72 * 60,\n },\n {\n id: NotificationType.OnboardingHrs96,\n onMinute: 96 * 60,\n },\n {\n id: NotificationType.OnboardingHrs120,\n onMinute: 120 * 60,\n },\n {\n id: NotificationType.OnboardingHrs144,\n onMinute: 144 * 60,\n },\n {\n id: NotificationType.OnboardingHrs168,\n onMinute: 168 * 60,\n },\n ];\n\n return onboardings.map((onboarding) => {\n return {\n id: onboarding.id,\n title: title,\n body: body,\n intervalMins: onboarding.onMinute,\n extra: {\n event: {\n type: 'onboarding',\n intervalMins: onboarding.onMinute,\n },\n },\n };\n });\n }\n\n private static retentionNotificationIds(): number[] {\n return [\n NotificationType.RetentionHrs8,\n NotificationType.RetentionHrs24,\n NotificationType.RetentionHrs48,\n NotificationType.RetentionHrs72,\n NotificationType.RetentionHrs96,\n NotificationType.RetentionHrs120,\n NotificationType.RetentionHrs144,\n NotificationType.RetentionHrs168,\n NotificationType.RetentionHrs336,\n NotificationType.RetentionHrs504,\n NotificationType.RetentionHrs672,\n NotificationType.RetentionHrs840,\n NotificationType.RetentionHrs1008,\n NotificationType.RetentionHrs1176,\n NotificationType.RetentionHrs1344,\n NotificationType.RetentionHrs1512,\n NotificationType.RetentionHrs1680,\n NotificationType.RetentionHrs1848,\n NotificationType.RetentionHrs2016,\n NotificationType.RetentionHrs2184,\n NotificationType.RetentionHrs2352,\n ];\n }\n\n private static retentionNotifications(\n nickname: string | undefined,\n translocoService: TranslocoService,\n ): NotificationData[] {\n const retentions = [\n {\n id: NotificationType.RetentionHrs8,\n title: translocoService.translate('local-notification.retention.title-1'),\n body: translocoService.translate('local-notification.retention.message-1'),\n onHour: 8,\n },\n {\n id: NotificationType.RetentionHrs24,\n title: translocoService.translate('local-notification.retention.title-2'),\n body: translocoService.translate('local-notification.retention.message-2'),\n onHour: 24,\n },\n {\n id: NotificationType.RetentionHrs48,\n title: translocoService.translate('local-notification.retention.title-3'),\n body: translocoService.translate('local-notification.retention.message-3'),\n onHour: 48,\n },\n {\n id: NotificationType.RetentionHrs72,\n title: translocoService.translate('local-notification.retention.title-4'),\n body: translocoService.translate('local-notification.retention.message-4'),\n onHour: 72,\n },\n {\n id: NotificationType.RetentionHrs96,\n title: translocoService.translate('local-notification.retention.title-5'),\n body: translocoService.translate('local-notification.retention.message-5'),\n onHour: 96,\n },\n {\n id: NotificationType.RetentionHrs120,\n title: translocoService.translate('local-notification.retention.title-6'),\n body: translocoService.translate('local-notification.retention.message-6'),\n onHour: 120,\n },\n {\n id: NotificationType.RetentionHrs144,\n title: translocoService.translate('local-notification.retention.title-7'),\n body: translocoService.translate('local-notification.retention.message-7'),\n onHour: 144,\n },\n {\n id: NotificationType.RetentionHrs168,\n title: translocoService.translate('local-notification.retention.title-8'),\n body: translocoService.translate('local-notification.retention.message-8'),\n onHour: 168,\n },\n {\n id: NotificationType.RetentionHrs336,\n title: translocoService.translate('local-notification.retention.title-9'),\n body: nickname\n ? translocoService.translate('local-notification.retention.message-9', { nickname })\n : translocoService.translate('local-notification.retention.message-9-no-nick'),\n onHour: 336,\n },\n {\n id: NotificationType.RetentionHrs504,\n title: translocoService.translate('local-notification.retention.title-10'),\n body: translocoService.translate('local-notification.retention.message-10'),\n onHour: 504,\n },\n {\n id: NotificationType.RetentionHrs672,\n title: translocoService.translate('local-notification.retention.title-11'),\n body: translocoService.translate('local-notification.retention.message-11'),\n onHour: 672,\n },\n {\n id: NotificationType.RetentionHrs840,\n title: translocoService.translate('local-notification.retention.title-12'),\n body: translocoService.translate('local-notification.retention.message-12'),\n onHour: 840,\n },\n {\n id: NotificationType.RetentionHrs1008,\n title: translocoService.translate('local-notification.retention.title-13'),\n body: translocoService.translate('local-notification.retention.message-13'),\n onHour: 1008,\n },\n {\n id: NotificationType.RetentionHrs1176,\n title: translocoService.translate('local-notification.retention.title-14'),\n body: translocoService.translate('local-notification.retention.message-14'),\n onHour: 1176,\n },\n {\n id: NotificationType.RetentionHrs1344,\n title: translocoService.translate('local-notification.retention.title-15'),\n body: translocoService.translate('local-notification.retention.message-15'),\n onHour: 1344,\n },\n {\n id: NotificationType.RetentionHrs1512,\n title: translocoService.translate('local-notification.retention.title-16'),\n body: translocoService.translate('local-notification.retention.message-16'),\n onHour: 1512,\n },\n {\n id: NotificationType.RetentionHrs1680,\n title: translocoService.translate('local-notification.retention.title-17'),\n body: translocoService.translate('local-notification.retention.message-17'),\n onHour: 1680,\n },\n {\n id: NotificationType.RetentionHrs1848,\n title: translocoService.translate('local-notification.retention.title-18'),\n body: translocoService.translate('local-notification.retention.message-18'),\n onHour: 1848,\n },\n {\n id: NotificationType.RetentionHrs2016,\n title: translocoService.translate('local-notification.retention.title-19'),\n body: nickname\n ? translocoService.translate('local-notification.retention.message-19', { nickname })\n : translocoService.translate('local-notification.retention.message-19-no-nick'),\n onHour: 2016,\n },\n {\n id: NotificationType.RetentionHrs2184,\n title: translocoService.translate('local-notification.retention.title-20'),\n body: translocoService.translate('local-notification.retention.message-20'),\n onHour: 2184,\n },\n {\n id: NotificationType.RetentionHrs2352,\n title: translocoService.translate('local-notification.retention.title-21'),\n body: translocoService.translate('local-notification.retention.message-21'),\n onHour: 2352,\n },\n ];\n\n return retentions.map((retention) => {\n return {\n id: retention.id,\n title: retention.title,\n body: retention.body,\n intervalMins: retention.onHour * 60,\n extra: {\n event: {\n type: 'retention',\n intervalMins: retention.onHour * 60,\n },\n },\n };\n });\n }\n}\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseApp = registerPlugin('FirebaseApp', {\n web: () => import('./web').then(m => new m.FirebaseAppWeb()),\n});\nexport * from './definitions';\nexport { FirebaseApp };\n","import { Injectable, inject } from '@angular/core';\nimport { FirebaseApp } from '@capacitor-firebase/app';\nimport { Api } from 'src/app/core/api/api';\nimport { Token } from 'src/app/core/services/auth/token';\nimport { HttpService } from '../http/http.service';\nimport { delay } from 'src/games/common/helper';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class FirebaseRealtimeDatabaseService {\n private httpService = inject(HttpService);\n private api: Api | undefined;\n private lastSetMovesTime: Map = new Map();\n\n async getMoves(userId: string, roomId: string): Promise {\n return this.get(`moves/${roomId}/${userId}/moves`);\n }\n\n async setMoves(userId: string, roomId: string, moves: string): Promise {\n const callTime = Date.now();\n this.lastSetMovesTime.set(roomId, callTime);\n await delay(500);\n if (this.lastSetMovesTime.get(roomId) !== callTime) {\n // Another setMoves function has started for this roomId\n return;\n }\n\n await this.patch<{ moves: string }, { moves: string }>(`moves/${roomId}/${userId}`, { moves });\n }\n\n private async get(reference: string): Promise {\n const api = await this.ensureApiInitialized();\n const token = await Token.get();\n return api.get(`${reference}.json?auth=${token}`, [2000]);\n }\n\n private async patch(reference: string, body: V): Promise {\n const api = await this.ensureApiInitialized();\n const token = await Token.get();\n return api.patch(`${reference}.json?auth=${token}`, body, [2000]);\n }\n\n private async ensureApiInitialized(): Promise {\n if (!this.api) {\n const options = await FirebaseApp.getOptions();\n this.api = new Api(options.databaseUrl, this.httpService);\n }\n return this.api;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { StorageService } from '../storage/storage.service';\nimport { FirebaseRealtimeDatabaseService } from '../firebase-realtime-database/firebase-realtime-database.service';\nimport { AnalyticsService } from '../analytics/analytics.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MovesService {\n private storageService = inject(StorageService);\n private analyticsService = inject(AnalyticsService);\n private firebaseRDBService = inject(FirebaseRealtimeDatabaseService);\n private moves: Map = new Map();\n\n async getInitialMoves(roomId: string, userId: string): Promise {\n try {\n // Get moves in Local Storage\n const key = MovesService.createKey(roomId, userId);\n const localMoves =\n (await this.storageService.getItem(StorageService.movesKey(key))) ?? '';\n\n // Get moves on Firebase\n const databaseMoves = (await this.firebaseRDBService.getMoves(userId, roomId)) ?? '';\n\n // If local moves is longer than the database, and both strings begin with the same sequence\n if (localMoves.length > databaseMoves.length && localMoves.startsWith(databaseMoves)) {\n return localMoves.split(',').filter(Boolean);\n }\n return databaseMoves.split(',').filter(Boolean);\n } catch (error) {\n await this.analyticsService.handleError(error, 'Get moves in db');\n return [];\n }\n }\n\n getMoves(roomId: string, userId: string): string[] {\n const key = MovesService.createKey(roomId, userId);\n const moves = this.moves.get(key);\n return moves?.split(',').filter(Boolean) ?? [];\n }\n\n async setMoves(roomId: string, userId: string, moves: string[]): Promise {\n const movesRaw = moves.join(',');\n\n // Save in ram\n const key = MovesService.createKey(roomId, userId);\n this.moves.set(key, movesRaw);\n\n // Save to local storage\n await this.storageService.setItem(StorageService.movesKey(key), movesRaw);\n\n // Backup on firebase rtb\n await this.firebaseRDBService.setMoves(userId, roomId, movesRaw);\n }\n\n signOut() {\n this.moves = new Map();\n }\n\n private static createKey(roomId: string, userId: string): string {\n return `${userId}_${roomId}`;\n }\n}\n","import { PromiseHolder } from 'src/app/shared/utils/promise-holder';\n\nexport enum OperatorMessageName {\n GET_CONFIG = 'operator_get_config',\n SET_CONFIG = 'operator_set_config',\n GET_TOKEN = 'operator_get_token',\n SET_TOKEN = 'operator_set_token',\n GET_BALANCE = 'operator_get_balance',\n SET_BALANCE = 'operator_set_balance',\n DEMO_BALANCE_UPDATE = 'operator_demo_balance_update',\n REDIRECT = 'operator_redirect',\n PAY_INVOICE = 'operator_pay_invoice',\n CANCEL_INVOICE = 'operator_cancel_invoice',\n HANDLE_ERROR = 'operator_handle_error',\n ERROR_HANDLED = 'operator_error_handled',\n}\n\ninterface OperatorMessage {\n message: string;\n data?: object;\n}\n\nexport class OperatorMessenger {\n private errorPromiseHolder?: PromiseHolder;\n\n constructor(\n private tokenCallback: (token: string) => void,\n private configCallback: (config: object) => void,\n private balanceCallback: (balance: number, currency: string) => void,\n private cancelInvoiceCallback: (invoice: string) => void,\n ) {\n this.connectToOperator();\n }\n\n sendMessage(message: OperatorMessageName, data?: object) {\n this.postMessage({ message, data }, '*');\n }\n\n sendError(error: unknown) {\n if (this.errorPromiseHolder) {\n this.errorPromiseHolder.reject(new Error('Operator error overridden'));\n this.errorPromiseHolder = undefined;\n }\n this.errorPromiseHolder = new PromiseHolder();\n this.errorPromiseHolder.init();\n this.postMessage({ message: OperatorMessageName.HANDLE_ERROR, data: { error } }, '*');\n\n return this.errorPromiseHolder.getPromise();\n }\n\n private connectToOperator() {\n window.addEventListener('message', this.receiveMessage.bind(this), false);\n }\n\n postMessage(message: OperatorMessage, origin: string) {\n const messageObjectJSON = JSON.stringify(message);\n window.parent.postMessage(messageObjectJSON, origin);\n }\n\n private receiveMessage(event: MessageEvent) {\n try {\n if (typeof event.data === 'string' && this.isValidJSON(event.data)) {\n const messageObject = JSON.parse(event.data);\n\n if (messageObject.message === OperatorMessageName.SET_TOKEN) {\n this.tokenCallback(messageObject.token);\n } else if (messageObject.message === OperatorMessageName.SET_CONFIG) {\n this.configCallback(messageObject.config);\n } else if (messageObject.message === OperatorMessageName.SET_BALANCE) {\n this.balanceCallback(messageObject.balance, messageObject.currency);\n } else if (messageObject.message === OperatorMessageName.CANCEL_INVOICE) {\n this.cancelInvoiceCallback(messageObject.invoice);\n } else if (messageObject.message === OperatorMessageName.ERROR_HANDLED) {\n this.errorPromiseHolder?.resolve(messageObject.handled);\n }\n }\n } catch (e) {\n console.error('CLINCH: Failed to parse message from operator', e);\n }\n }\n\n private isValidJSON(data: string): boolean {\n try {\n JSON.parse(data);\n return true;\n } catch {\n return false;\n }\n }\n}\n","import { Injectable, Signal, computed, inject, signal } from '@angular/core';\nimport { ApiResponseOperatorData, WagerApi } from '../../api/wager-api';\nimport { CurrencyPipe } from '@angular/common';\nimport { OperatorMessageName, OperatorMessenger } from './operator-messenger';\nimport { environment } from 'src/environments/environment';\nimport { Theme, ThemeService } from '../theme/theme.service';\nimport { DepositService } from '../deposit/deposit.service';\nimport { HttpService } from '../http/http.service';\nimport { TranslationService } from '../translation/translation.service';\nimport { StorageService } from '../storage/storage.service';\n\ninterface OperatorConfig {\n operatorId?: string;\n gameId?: string;\n showClose?: boolean;\n showSats?: boolean;\n logging?: boolean;\n paymentType?: 'lightning' | 'operator';\n lightningAddress?: string;\n language?: string;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class OperatorService {\n private httpService = inject(HttpService);\n private themeService = inject(ThemeService);\n private currencyPipe = inject(CurrencyPipe);\n private depositService = inject(DepositService);\n private translationService = inject(TranslationService);\n private storageService = inject(StorageService);\n\n private operatorSignal = signal(undefined);\n private canceledInvoiceSignal = signal(undefined); // New signal for canceled invoices\n private balanceSignal = signal(undefined);\n private currencySignal = signal(undefined);\n private nicknameSignal = signal(undefined);\n private messenger: OperatorMessenger | undefined;\n private configSignal = signal(undefined);\n\n async initialise(tokenCallback: (token: string) => void): Promise {\n this.messenger = new OperatorMessenger(\n tokenCallback,\n this.configCallback.bind(this),\n this.balanceCallback.bind(this),\n this.cancelInvoiceCallback.bind(this),\n );\n\n this.messenger?.sendMessage(OperatorMessageName.GET_CONFIG);\n\n if (this.operatorId === 'betopenly') {\n this.messenger?.sendMessage(OperatorMessageName.GET_TOKEN);\n }\n }\n\n async fetch() {\n const data = await WagerApi.request(this.httpService).operatorData();\n this.operatorSignal.set(data);\n this.nicknameSignal.set(data.data.displayName);\n }\n\n handleError(error: unknown) {\n return this.messenger?.sendError(error);\n }\n\n redirectToOperator() {\n // TODO: When BetOpenly upgrades, remove this, and replace with the OperatorMessageName.CLOSE message.\n this.messenger?.sendMessage(OperatorMessageName.REDIRECT);\n }\n\n async updateBalance(): Promise {\n this.messenger?.sendMessage(OperatorMessageName.GET_BALANCE);\n }\n\n payLightningInvoice(invoice: string): void {\n this.messenger?.postMessage(\n {\n message: OperatorMessageName.PAY_INVOICE,\n data: {\n invoice: invoice,\n },\n },\n '*',\n );\n }\n\n updateDemoBalance(balanceInc: number): void {\n this.messenger?.sendMessage(OperatorMessageName.DEMO_BALANCE_UPDATE, { balanceInc });\n }\n\n static get IsActive(): boolean {\n return environment.operator;\n }\n\n static get IsDemo(): boolean {\n return environment.deployment === 'demo';\n }\n\n get config(): Signal {\n return this.configSignal.asReadonly();\n }\n\n get operatorId() {\n return this.config()?.operatorId || 'betopenly'; // TODO: Remove default value when BO upgrades.\n }\n\n get showSats() {\n return this.config()?.showSats || false; // TODO: Remove default value when BO upgrades.\n }\n\n get balance() {\n return this.balanceSignal;\n }\n\n get isLightning() {\n return this.config()?.paymentType === 'lightning';\n }\n\n get lightningAddress() {\n return this.config()?.lightningAddress;\n }\n\n get canceledInvoice() {\n return this.canceledInvoiceSignal;\n }\n\n get gameId() {\n return this.config()?.gameId || 'solitaire';\n }\n\n get formattedBalance() {\n return computed(() => {\n const balance = this.balanceSignal();\n\n if (balance === undefined) {\n return undefined;\n }\n\n // TODO: When BetOpenly upgrades, remove this IF.\n if (this.operatorId === 'betopenly') {\n return this.currencyPipe.transform(balance, 'USD', 'symbol', '1.2-2');\n }\n\n if (this.currency() === 'btc') {\n return `${balance} BTC`;\n } else if (this.currency() === 'cents') {\n return this.currencyPipe.transform(balance / 100, 'USD', 'symbol', '1.2-2');\n } else if (this.currency() === 'sats') {\n return `${this.themeService.formatNumber(balance)} sats`;\n } else if (this.currency() === 'mcn') {\n return this.themeService.formatNumber(balance);\n } else {\n return undefined;\n }\n });\n }\n\n get nickname() {\n return this.nicknameSignal;\n }\n\n private get currency() {\n return this.currencySignal;\n }\n\n private configCallback(config: OperatorConfig) {\n this.configSignal.set({ ...config });\n this.messenger?.sendMessage(OperatorMessageName.GET_TOKEN);\n const language =\n this.translationService.getLanguageNameFromIso(config.language || 'en') || 'en';\n this.translationService.switchLanguage(language);\n\n // TODO: When BetOpenly upgrades, make this dependent on the operatorId.\n if (config.operatorId === 'betopenly') {\n this.themeService.switch(Theme.BetOpenly);\n } else if (config.operatorId === 'maincard') {\n this.themeService.switch(Theme.Maincard);\n } else if (config.operatorId === 'demo') {\n this.storageService\n .getItem('demo-theme')\n .then((theme) => {\n this.themeService.switch(theme as Theme);\n })\n .catch(() => {\n this.themeService.switch(Theme.Crypto);\n });\n } else {\n this.themeService.switch(Theme.Clinch);\n }\n }\n\n private balanceCallback(balance: number, currency: string) {\n this.balanceSignal.set(balance);\n this.currencySignal.set(currency);\n }\n\n private cancelInvoiceCallback(invoice: string) {\n this.depositService.removeInvoice(invoice);\n this.canceledInvoiceSignal.set(invoice); // Update the signal when the invoice is canceled\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { Capacitor } from '@capacitor/core';\nimport { Platform } from '@ionic/angular';\nimport { environment } from 'src/environments/environment';\n\nexport enum PlatformType {\n telegram = 'telegram',\n android = 'android',\n ios = 'ios',\n desktopweb = 'desktopweb',\n mobileweb = 'mobileweb',\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PlatformInfoService {\n private platform = inject(Platform);\n\n getPlatform(): PlatformType {\n if (environment.telegram) {\n return PlatformType.telegram;\n }\n\n // | Boolean if the platform is native or not. `android` and `ios`\n // | would return `true`, otherwise `false`.\n if (Capacitor.isNativePlatform()) {\n if (Capacitor.getPlatform() === 'android') {\n return PlatformType.android;\n }\n return PlatformType.ios;\n }\n\n // | Depending on the platform the user is on, `is(platformName)` will\n // | return `true` or `false`. Note that the same app can return `true`\n // | for more than one platform name. For example, an app running from\n // | an iPad would return `true` for the platform names: `mobile`,\n // | `ios`, `ipad`, and `tablet`. Additionally, if the app was running\n // | from Cordova then `cordova` would be true, and if it was running\n // | from a web browser on the iPad then `mobileweb` would be `true`.\n // |-------------------------------------------------------------------\n // | Platform Name | Description |\n // |-----------------|------------------------------------|\n // | android | on a device running Android. |\n // | capacitor | on a device running Capacitor. |\n // | cordova | on a device running Cordova. |\n // | ios | on a device running iOS. |\n // | ipad | on an iPad device. |\n // | iphone | on an iPhone device. |\n // | phablet | on a phablet device. |\n // | tablet | on a tablet device. |\n // | electron | in Electron on a desktop device. |\n // | pwa | as a PWA app. |\n // | mobile | on a mobile device. |\n // | mobileweb | on a mobile device in a browser. |\n // | desktop | on a desktop device. |\n // | hybrid | is a cordova or capacitor app. |\n if (this.platform.is('desktop')) {\n return PlatformType.desktopweb;\n }\n return PlatformType.mobileweb;\n }\n\n isTelegram(): boolean {\n return environment.telegram;\n }\n\n isNative(): boolean {\n return Capacitor.isNativePlatform();\n }\n\n isWeb(): boolean {\n return !this.isTelegram() && !this.isNative();\n }\n}\n","import { ApiResponseStats, UserStats } from '../../api/wager-api';\n\nconst MOCK_PALYER_STATS: UserStats = {\n nick: 'Jack',\n globalRank: 100,\n activeDays: 20,\n bestScore: {\n value: 50000,\n top: 100,\n },\n averageScore: {\n value: 9000,\n top: 85,\n },\n winRate: {\n value: 10600,\n top: 65,\n },\n completedRounds: {\n value: 50,\n top: 45,\n },\n wonRounds: {\n value: 20,\n top: 25,\n },\n drawnRounds: {\n value: 250,\n top: 5,\n },\n bestWinStreak: {\n value: 500,\n top: 0,\n },\n wonAmount: {\n value: 200,\n top: 100,\n },\n};\n\nexport function getMockPlayerStats(): ApiResponseStats {\n return {\n status: 200,\n msg: 'User game Stats',\n data: MOCK_PALYER_STATS,\n };\n}\n","import { inject, Injectable } from '@angular/core';\nimport { ApiResponseStats, WagerApi } from '../../api/wager-api';\nimport { HttpService } from '../http/http.service';\nimport { JobService } from '../job/job.service';\nimport { Job } from '../job/job';\nimport { getMockPlayerStats } from './player-stats.mock';\nimport { Observable, Subject } from 'rxjs';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { PlayerStats, PlayerStatsViewModal } from 'src/app/shared/types/stats';\nimport { ThemeService } from '../theme/theme.service';\nimport { calcIcon, calcIconColor } from 'src/app/shared/utils/stats.utils';\nimport { CurrencyPipe } from '@angular/common';\nimport { amountForCurrency } from 'src/app/model/wager/wager';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PlayerStatsService {\n private httpService = inject(HttpService);\n private jobService = inject(JobService);\n private translocoService = inject(TranslocoService);\n private themeService = inject(ThemeService);\n private currencyPipe = inject(CurrencyPipe);\n\n private readonly useMockData = false; // environment.sandbox;\n private readonly mockDelay = 1000;\n private statsPlayer = new Subject();\n private statsList: PlayerStats[] = [\n { label: 'best-score', score: 0, percentage: 0 },\n { label: 'avg-score', score: 0, percentage: 0 },\n { label: 'win-rate', score: 0, percentage: 0 },\n { label: 'completed-rounds', score: 0, percentage: 0 },\n { label: 'won-rounds', score: 0, percentage: 0 },\n { label: 'drawn-rounds', score: 0, percentage: 0 },\n { label: 'best-win-streak', score: 0, percentage: 0 },\n { label: 'won-amount', score: 0, percentage: 0 },\n ];\n private pills: { label: string; value: number }[] = [\n { label: 'days', value: 0 },\n { label: 'matches', value: 0 },\n { label: 'wins', value: 0 },\n ];\n\n setPlayerStatsModal(playerId: string): void {\n this.statsPlayer.next(playerId);\n }\n\n getPlayerStatsModal(): Observable {\n return this.statsPlayer.asObservable();\n }\n\n getInitialPillsData(): { label: string }[] {\n return this.pills.map((item) => ({\n label: `${this.getTranslation(item.label)} ${item.value}`,\n }));\n }\n\n getInitialStatsListData() {\n return this.transformStatsList(this.statsList);\n }\n\n formatScore(item: PlayerStats): string {\n if (item.isRate) {\n return `${this.themeService.formatNumber(parseFloat((item.score * 100).toFixed(2)))}%`;\n }\n if (item.isAmount) {\n const currency = this.themeService.currency();\n return amountForCurrency(currency, item.score, this.currencyPipe);\n }\n\n if (Number.isInteger(item.score)) {\n return this.themeService.formatNumber(item.score);\n } else {\n return this.themeService.formatNumber(parseFloat(item.score.toFixed(2)));\n }\n }\n\n transformStatsList(data: PlayerStats[]): PlayerStatsViewModal[] {\n return data.map((item) => ({\n ...item,\n label: this.getTranslation(item.label),\n score: this.formatScore(item),\n percentage: this.getTranslation('percentile-rank', { percentile: item.percentage }),\n icon: calcIcon(item.percentage),\n colorCss: calcIconColor(item.percentage),\n currencyIcon: item.isAmount ? this.themeService.currencyIcon() : undefined,\n }));\n }\n\n getTranslation(key: string, params?: Record): string {\n return this.translocoService.translate(`player-stats.${key}`, params);\n }\n\n getGameStats(userId: string, gameId: string): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) => setTimeout(() => resolve(getMockPlayerStats()), this.mockDelay)),\n );\n }\n\n return this.jobService.create(async () =>\n WagerApi.request(this.httpService).stats(userId, gameId),\n );\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Platform } from '@ionic/angular';\nimport { Capacitor } from '@capacitor/core';\nimport { DataLayerService } from '../datalayer/datalayer.service';\nimport { PAGE } from 'src/app/routes';\nimport { WalletId } from 'src/app/model/wallet/wallet-types';\nimport { UserStateService } from 'src/app/core/services/user-state/user-state.service';\n\nexport enum ClinchCampaignState {\n None,\n StartMatchmakingTier,\n Pay,\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PopupCampaignService {\n private dataLayerService = inject(DataLayerService);\n private userStateService = inject(UserStateService);\n private platform = inject(Platform);\n\n private isSigningIn = false;\n private clinchCampaignState = ClinchCampaignState.None;\n\n aboutToSignIn() {\n this.isSigningIn = true;\n }\n\n setClinchCampaignState(state: ClinchCampaignState) {\n this.clinchCampaignState = state;\n }\n\n leaveSiteDetected(pageName: string) {\n if (this.isMobileWeb() || this.isNativePlatform()) {\n return;\n }\n this.handleSiteAbandoned(pageName);\n }\n\n navButtonClicked(pageName: string) {\n if (!this.isMobileWeb() || this.isNativePlatform()) {\n return;\n }\n this.handleSiteAbandoned(pageName);\n }\n\n headerBackButtonClicked(pageName: string) {\n this.handleSiteAbandoned(pageName);\n }\n\n clinchMatchmakingClosed(pageName: string) {\n this.handleSiteAbandoned(pageName);\n }\n\n private handleSiteAbandoned(pageName: string) {\n if (!this.userStateService.onboarded) {\n if (pageName === `/${PAGE.SIGNIN}` && !this.isSigningIn) {\n // Don't emit this event if the user is in the process of signing in\n this.dataLayerService.emitOnSiteExitEvent('sign_in_exit_event_pt_br');\n } else if (pageName === `/${PAGE.ACCOUNT}`) {\n this.dataLayerService.emitOnSiteExitEvent('nickname_exit_event_pt_br');\n } else if (pageName === `/${PAGE.SELECT_WALLET}`) {\n this.dataLayerService.emitOnSiteExitEvent('select_wallet_exit_event_pt_br');\n } else if (pageName === `/${PAGE.LINK_WALLET}/${WalletId.Alby}`) {\n this.dataLayerService.emitOnSiteExitEvent('link_wallet_alby_exit_event_pt_br');\n } else if (pageName === `/${PAGE.LINK_WALLET}/${WalletId.WalletOfSatoshi}`) {\n this.dataLayerService.emitOnSiteExitEvent('link_wallet_wos_exit_event_pt_br');\n } else if (pageName === `/${PAGE.LINK_WALLET}/${WalletId.ZBD}`) {\n this.dataLayerService.emitOnSiteExitEvent('link_wallet_zbd_exit_event_pt_br');\n }\n return;\n }\n\n if (this.clinchCampaignState === ClinchCampaignState.StartMatchmakingTier) {\n this.dataLayerService.emitOnSiteExitEvent('join_clinch_exit_event_pt_br');\n } else if (this.clinchCampaignState === ClinchCampaignState.Pay) {\n this.dataLayerService.emitOnSiteExitEvent('pay_invoice_exit_event_pt_br');\n }\n }\n\n private isMobileWeb(): boolean {\n return this.platform.is('mobile' || 'mobileweb' || 'pwa');\n }\n\n private isNativePlatform(): boolean {\n return Capacitor.isNativePlatform();\n }\n}\n","import { Injectable, OnDestroy, inject, signal } from '@angular/core';\nimport { ApiResponseLightningAddress, ApiResponsePolygonAddress, JitApi } from '../../api/jit-api';\nimport { UserApi } from '../../api/user-api';\nimport { environment } from 'src/environments/environment';\nimport { BaseWallet } from '../../../model/wallet/wallet';\nimport { WalletId } from '../../../model/wallet/wallet-types';\nimport { OperatorService } from '../../../core/services/operator/operator.service';\nimport {\n FcmToken,\n ReferralData,\n ReferralStats,\n ReferralTier,\n ReferrerData,\n WagerApi,\n} from '../../api/wager-api';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { isNil, isNotNil } from 'src/app/shared/utils/app.utils';\nimport { TiersService } from '../tiers/tiers.service';\nimport { DefaultWallet } from 'src/app/model/wallet/default-wallet';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { Subject, takeUntil } from 'rxjs';\nimport { HttpService } from '../http/http.service';\nimport { JobService } from '../job/job.service';\nimport { SentryService } from '../analytics/sentry.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ProfileService implements OnDestroy {\n private tiersService = inject(TiersService);\n private analyticsService = inject(AnalyticsService);\n private translocoService = inject(TranslocoService);\n private httpService = inject(HttpService);\n private jobService = inject(JobService);\n private sentryService = inject(SentryService);\n\n private destroy$ = new Subject();\n\n private idSignal = signal(undefined);\n private nicknameSignal = signal(undefined);\n private defaultWalletSignal = signal(undefined);\n private fcmTokenSignal = signal(undefined);\n private referrerCodeSignal = signal(undefined);\n private referralSignal = signal(undefined);\n private referrerSignal = signal(undefined);\n private referralStatsSignal = signal(undefined);\n private bonusStatsSignal = signal(undefined);\n private referralTiersSignal = signal(undefined);\n private initialisedSignal = signal(undefined);\n\n constructor() {\n toObservable(this.defaultWallet)\n .pipe(takeUntil(this.destroy$))\n .subscribe((defaultWallet) => {\n if (defaultWallet) {\n try {\n if (defaultWallet) {\n const wallet = BaseWallet.getFromDefaultWallet(defaultWallet);\n this.httpService.setWallet(wallet.id);\n }\n } catch (error) {\n this.analyticsService.handleError(error, 'Profile get default wallet');\n }\n }\n });\n }\n\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n /**\n * Getter for user ID.\n * @returns The user ID if set.\n * @throws Error if the user ID is not set.\n */\n get id(): string {\n const id = this.idSignal();\n if (!id) {\n throw new Error('ProfileService: No user set');\n }\n return id;\n }\n\n /**\n * Gets the nickname signal.\n * @returns The nickname signal.\n */\n get nickname() {\n return this.nicknameSignal.asReadonly();\n }\n\n /**\n * Gets the default wallet signal.\n * @returns The default wallet signal.\n */\n get defaultWallet() {\n return this.defaultWalletSignal.asReadonly();\n }\n\n /**\n * Gets the FCM token signal.\n * @returns The FCM token signal.\n */\n get fcmToken() {\n return this.fcmTokenSignal.asReadonly();\n }\n\n get referrerCode() {\n return this.referrerCodeSignal.asReadonly();\n }\n\n /**\n * Gets the referral data signal.\n * @returns The referral data signal.\n */\n get referral() {\n return this.referralSignal.asReadonly();\n }\n\n /**\n * Gets the referrer data signal.\n * @returns The referrer data signal.\n */\n get referrer() {\n return this.referrerSignal.asReadonly();\n }\n\n /**\n * Gets the referral stats data signal.\n * @returns The referral stats data signal.\n */\n get referralStats() {\n return this.referralStatsSignal.asReadonly();\n }\n\n /**\n * Gets the bonus stats data signal.\n * @returns The bonus stats data signal.\n */\n get bonusStats() {\n return this.bonusStatsSignal.asReadonly();\n }\n\n /**\n * Gets the referral tiers data signal.\n * @returns The referral tiers data signal.\n */\n get referralTiers() {\n return this.referralTiersSignal.asReadonly();\n }\n\n /**\n * Gets the initialised signal.\n * @returns The initialised signal.\n */\n get initialised() {\n return this.initialisedSignal.asReadonly();\n }\n\n /**\n * Gets whether this user account is a demo account.\n * @returns If the account is a in a demo mode\n */\n get isDemo(): boolean {\n return this.idSignal() === environment.reviewerId;\n }\n\n /**\n * Gets the users current wallet id\n */\n get walletId(): WalletId | undefined {\n const defaultWallet = this.defaultWallet();\n if (defaultWallet === undefined) {\n return undefined;\n }\n const wallet = BaseWallet.getFromDefaultWallet(defaultWallet);\n if (wallet === undefined) {\n throw new Error('Missing Wallet Id');\n }\n return wallet.id;\n }\n\n /**\n * Initializes the user profile by fetching the Lightning address and nickname.\n * @param id The user ID.\n * @returns A promise that resolves when initialization is complete.\n */\n async initialise(id: string): Promise {\n this.idSignal.set(id);\n const promises = new Array>();\n\n promises.push(this.initialiseDefaultWallet());\n promises.push(this.fetchProfile());\n await Promise.all(promises);\n\n if (!OperatorService.IsActive) {\n const walletId = this.walletId;\n if (walletId) {\n this.sentryService.setWallet(walletId);\n }\n }\n\n // Do this after the profile is fetched to ensure the referrer code\n // information is ready before applying the telegram referral code.\n const job = this.jobService.create(async () => {\n await this.setTelegramReferralCode();\n });\n job.addErrorHandler();\n await job.runNoThrow();\n\n this.initialisedSignal.set(true);\n }\n\n async refreshProfileData(): Promise {\n await this.fetchProfile();\n }\n\n async redeemReferralCode(code: string) {\n await WagerApi.request(this.httpService).referralRedeem(code);\n const currentReferrer = this.referrerSignal();\n this.referrerSignal.set({\n referrerId: currentReferrer?.referrerId ?? '',\n code: code,\n serviceFeeDiscount: currentReferrer?.serviceFeeDiscount ?? 0,\n });\n this.referrerCodeSignal.set(code);\n this.tiersService.setDirty();\n }\n\n async getReferralCode() {\n const referral = this.referralSignal.asReadonly()();\n if (isNotNil(referral?.code)) {\n return referral?.code;\n }\n const generatedCode = await this.fetchReferralCode();\n if (isNil(generatedCode)) {\n throw new Error('ReferralPage: Referral code is nil');\n }\n return generatedCode;\n }\n\n async getTelegramLink() {\n const code = await this.getReferralCode();\n const link = `https://t.me/${environment.botUsername}?start=${code}`;\n const message = this.translocoService.translate(\n 'components.referal-code-label.share-message-telegram',\n );\n const encodedLink = encodeURIComponent(link);\n const encodedMessage = encodeURIComponent(message);\n return `https://t.me/share/url?url=${encodedLink}&text=${encodedMessage}`;\n }\n\n /**\n * Resets the user profile service state.\n */\n reset(): void {\n this.idSignal.set(undefined);\n this.initialisedSignal.set(undefined);\n this.nicknameSignal.set(undefined);\n this.defaultWalletSignal.set(undefined);\n this.fcmTokenSignal.set(undefined);\n this.referrerCodeSignal.set(undefined);\n this.referralSignal.set(undefined);\n this.referrerSignal.set(undefined);\n this.referralStatsSignal.set(undefined);\n this.bonusStatsSignal.set(undefined);\n this.referralTiersSignal.set(undefined);\n }\n\n /**\n * Sets the user's Lightning address.\n * @param lightningAddress The Lightning address to set.\n * @returns A promise that resolves with the API response.\n */\n async setLightningAddress(lightningAddress: string): Promise {\n this.defaultWalletSignal.set({\n networkName: 'lightning',\n lightningAddress,\n });\n return JitApi.request(this.httpService).setLightningAddress(lightningAddress);\n }\n\n /**\n * Sets the user's Polygon address.\n * @param walletName The wallet identifier.\n * @param polygonAddress The Polygon address to set.\n * @returns A promise that resolves with the API response.\n */\n async setPolygonAddress(\n walletName: string,\n polygonAddress: string,\n ): Promise {\n this.defaultWalletSignal.set({\n networkName: 'polygon',\n walletName,\n polygonAddress,\n });\n return JitApi.request(this.httpService).setPolygonAddress(walletName, polygonAddress);\n }\n\n /**\n * Sets the user's nickname.\n * @param nickname The nickname to set.\n * @returns A promise that resolves when the nickname is set.\n */\n async setNickname(nickname: string): Promise {\n this.nicknameSignal.set(nickname);\n return UserApi.request(this.httpService).setNick(nickname);\n }\n\n /**\n * Fetches the user's profile and updates the signal.s\n * @param token The authentication token.\n * @returns A promise that resolves when the nickname is fetched.\n */\n private async fetchProfile(): Promise {\n const profileData = await WagerApi.request(this.httpService).profile();\n\n this.nicknameSignal.set(profileData.data.account.nick);\n this.fcmTokenSignal.set(profileData.data.account.fcmToken);\n this.referrerCodeSignal.set(profileData.data.referrer?.code ?? undefined);\n\n this.referralSignal.set(profileData.data.referral);\n this.referrerSignal.set(profileData.data.referrer);\n this.referralStatsSignal.set(profileData.data.referralStats);\n this.bonusStatsSignal.set(profileData.data.bonusStats);\n this.referralTiersSignal.set(profileData.data.referralTiers);\n }\n\n private async setTelegramReferralCode(): Promise {\n if (window.Telegram?.WebApp?.initDataUnsafe?.start_param) {\n const code = window.Telegram?.WebApp?.initDataUnsafe?.start_param;\n if (code && !this.referrerCode()) {\n await this.redeemReferralCode(code);\n }\n }\n }\n\n private async initialiseDefaultWallet() {\n if (!OperatorService.IsActive) {\n const requestResult = await JitApi.request(this.httpService).defaultWallet();\n if (requestResult.data) {\n this.defaultWalletSignal.set(requestResult.data);\n }\n }\n }\n\n private async fetchReferralCode(): Promise {\n if (OperatorService.IsActive) {\n return '';\n }\n\n const result = await WagerApi.request(this.httpService).referralGenerate();\n const referralCode = result.data.referralCode;\n\n const currentReferral = this.referralSignal();\n const updatedReferral: ReferralData = {\n code: referralCode,\n serviceFeeDiscount: currentReferral?.serviceFeeDiscount ?? 0,\n serviceFeeShare: currentReferral?.serviceFeeDiscount ?? 0,\n bonusServiceFeeShare: currentReferral?.serviceFeeDiscount ?? 0,\n };\n this.referralSignal.set(updatedReferral);\n\n return referralCode;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { RoomService } from '../room/room.service';\nimport { getCollection } from 'src/app/shared/utils/firestore.utils';\nimport {\n QueryFieldFilterConstraint,\n QueryNonFilterConstraint,\n} from '@capacitor-firebase/firestore';\nimport { Room } from 'src/app/model/room/room';\nimport { OperatorService } from '../operator/operator.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class RoomListService {\n private roomService = inject(RoomService);\n private operatorService = inject(OperatorService);\n\n private roomObservablesSubject = new BehaviorSubject[]>([]);\n private hasGotRoomsSubject = new BehaviorSubject(undefined);\n private hasMoreRoomsSubject = new BehaviorSubject(true);\n private roomIdsSubject = new BehaviorSubject([]);\n private readonly pageSize = 20;\n private lastRoomDocumentReference: string | undefined;\n private roomsMap = new Set();\n\n roomObservables$ = this.roomObservablesSubject.asObservable();\n hasGotRooms$ = this.hasGotRoomsSubject.asObservable();\n hasMoreRooms$ = this.hasMoreRoomsSubject.asObservable();\n roomIds$ = this.roomIdsSubject.asObservable();\n\n addRoom(roomId: string, userId: string) {\n if (!this.roomsMap.has(roomId)) {\n const roomObservable = this.roomService.getObservable(roomId, userId);\n this.roomsMap = new Set([roomId, ...this.roomsMap]);\n const currentRooms = this.roomObservablesSubject.getValue();\n this.roomObservablesSubject.next([roomObservable, ...currentRooms]);\n this.updateRoomIds();\n }\n }\n\n async moreRooms(userId: string) {\n if (OperatorService.IsDemo) {\n return;\n }\n\n const queryConstraints = new Array();\n queryConstraints.push({\n type: 'orderBy',\n fieldPath: 'sortDate',\n directionStr: 'desc',\n });\n queryConstraints.push({\n type: 'limit',\n limit: this.pageSize + 1,\n });\n\n if (this.lastRoomDocumentReference) {\n queryConstraints.push({\n type: 'startAfter',\n reference: this.lastRoomDocumentReference,\n });\n }\n\n const queryFilters: QueryFieldFilterConstraint[] = [];\n if (OperatorService.IsActive) {\n queryFilters.push({\n type: 'where',\n fieldPath: 'gameId',\n opStr: '==',\n value: this.operatorService.gameId,\n });\n }\n\n const rooms = await getCollection(\n `matches/${userId}/rooms`,\n queryFilters.length > 0 ? { type: 'and', queryConstraints: queryFilters } : undefined,\n queryConstraints,\n );\n\n if (this.hasGotRoomsSubject.value === undefined) {\n this.hasGotRoomsSubject.next(rooms.length > 0);\n }\n\n const hasMore = rooms.length > this.pageSize;\n this.hasMoreRoomsSubject.next(hasMore);\n\n const currentRooms = this.roomObservablesSubject.value;\n const newRooms = new Array>();\n for (let index = 0; index < rooms.length; index++) {\n const room = rooms[index];\n if (!this.roomsMap.has(room.id)) {\n const roomObservable = this.roomService.getObservable(room.id, userId);\n this.roomsMap.add(room.id);\n newRooms.push(roomObservable);\n }\n }\n\n const updatedRooms = [...currentRooms, ...newRooms];\n this.roomObservablesSubject.next(updatedRooms);\n this.updateRoomIds();\n\n if (hasMore) {\n this.lastRoomDocumentReference = rooms[rooms.length - 2].path;\n } else if (rooms.length > 0) {\n this.lastRoomDocumentReference = rooms[rooms.length - 1].path;\n }\n\n return hasMore;\n }\n\n hasRooms(): boolean {\n return this.roomObservablesSubject.value.length > 0;\n }\n\n roomCount(): number {\n return this.roomObservablesSubject.value.length;\n }\n\n private updateRoomIds(): void {\n const roomIds = Array.from(this.roomsMap);\n this.roomIdsSubject.next(roomIds);\n }\n\n signOut(): void {\n this.roomObservablesSubject.next([]);\n this.hasGotRoomsSubject.next(undefined);\n this.hasMoreRoomsSubject.next(true);\n this.lastRoomDocumentReference = undefined;\n this.roomsMap = new Set();\n }\n}\n","import { Injectable, Injector, inject } from '@angular/core';\nimport { Observable, map } from 'rxjs';\nimport { addDocListenerObservable, removeListener } from 'src/app/shared/utils/firestore.utils';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { Room } from 'src/app/model/room/room';\nimport { RoomModel } from 'src/app/model/room/room.model';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class RoomService {\n private injector = inject(Injector);\n private roomObservables: Map> = new Map();\n private roomUnsubscribes: Map = new Map();\n\n getObservable(roomId: string, userId: string): Observable {\n const roomPath = RoomService.roomPath(roomId, userId);\n if (this.roomObservables.has(roomPath)) {\n return this.roomObservables.get(roomPath) ?? new Observable();\n } else {\n const observable = addDocListenerObservable(roomPath).pipe(\n map((doc) => {\n if (doc?.snapshot !== undefined && doc?.snapshot.data !== null) {\n return new Room(doc.snapshot.data as RoomModel, roomId, roomPath);\n } else {\n return null;\n }\n }),\n );\n this.roomObservables.set(roomPath, observable);\n return observable;\n }\n }\n\n getSignal(roomId: string, userId: string) {\n const observable = this.getObservable(roomId, userId);\n return toSignal(observable, { injector: this.injector });\n }\n\n async signOut(): Promise {\n for (const unsubscribe of this.roomUnsubscribes) {\n await removeListener(unsubscribe[1]);\n }\n this.roomObservables = new Map();\n this.roomUnsubscribes = new Map();\n }\n\n static roomPath(roomId: string, userId: string): string {\n return `matches/${userId}/rooms/${roomId}`;\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { Platform } from '@ionic/angular';\nimport { singularSdk, SingularConfig } from 'singular-sdk';\nimport { OperatorService } from '../operator/operator.service';\nimport { environment } from 'src/environments/environment';\n\ndeclare let cordova: any;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SingularService {\n private platform = inject(Platform);\n private sdid: string | undefined;\n\n constructor() {\n this.initialise();\n }\n\n openApp(): void {\n this.platform.ready().then(() => {\n if (this.platform.is('cordova')) {\n window.open(`https://clinch.sng.link/Dv5oi/fsrr?_smtype=3&_p=${this.sdid}`, '_blank');\n } else {\n singularSdk.openApp('https://clinch.sng.link/Dv5oi/fsrr?_smtype=3', null, this.sdid, null);\n }\n });\n }\n\n event(name: string, params: object = {}): void {\n if (environment.sandbox) {\n return;\n }\n\n this.platform.ready().then(() => {\n if (this.platform.is('cordova')) {\n cordova.plugins.SingularCordovaSdk.eventWithArgs(name, params);\n } else {\n singularSdk.event(name, params);\n }\n });\n }\n\n setUserId(userId: string): void {\n if (environment.sandbox) {\n return;\n }\n\n this.platform.ready().then(() => {\n if (this.platform.is('cordova')) {\n cordova.plugins.SingularCordovaSdk.setCustomUserId(userId);\n } else {\n singularSdk.login(userId);\n }\n });\n }\n\n unSetUserId(): void {\n if (environment.sandbox) {\n return;\n }\n\n this.platform.ready().then(() => {\n if (this.platform.is('cordova')) {\n cordova.plugins.SingularCordovaSdk.unsetCustomUserId();\n } else {\n singularSdk.logout();\n }\n });\n }\n\n private initialise(): void {\n if (environment.sandbox) {\n return;\n }\n\n this.platform.ready().then(() => {\n const sdkKey = 'thndr_2793ba94';\n const sdkSecret = 'aca50085249ce006392d8d9e41dfb080';\n if (this.platform.is('cordova')) {\n const singularConfig = new cordova.plugins.SingularCordovaSdk.SingularConfig(\n sdkKey,\n sdkSecret,\n );\n cordova.plugins.SingularCordovaSdk.init(singularConfig);\n } else {\n let bundleId = 'gg.clinch.play';\n if (OperatorService.IsActive) {\n bundleId = 'gg.clinch.embed';\n } else if (environment.telegram) {\n bundleId = 'gg.clinch.telegram';\n }\n const config = new SingularConfig(sdkKey, sdkSecret, bundleId)\n .withAutoPersistentSingularDeviceId('clinch.gg')\n .withInitFinishedCallback((initParams: { singularDeviceId: string | undefined }) => {\n this.sdid = initParams.singularDeviceId;\n });\n singularSdk.init(config);\n }\n });\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Storage } from '@ionic/storage-angular';\n\nexport const ENCRYPTED_TOKEN_SET_KEY = 'ENCRYPTED_TOKEN_SET';\n\nexport enum StorageKey {\n Moves = 'moves',\n Deposits = 'deposits',\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class StorageService {\n private storage = inject(Storage);\n private storageReady = false;\n\n async setItem(key: string, data: T): Promise {\n await this.waitForStorage();\n await this.storage.set(key, data);\n }\n\n async getItem(key: string): Promise {\n await this.waitForStorage();\n return (await this.storage.get(key)) as T;\n }\n\n removeItem(key: string): Promise {\n return this.storage.remove(key);\n }\n\n static movesKey(roomId: string): string {\n return `${StorageKey.Moves}/${roomId}`;\n }\n\n static depositsKey(depositId: string): string {\n return `${StorageKey.Moves}/${depositId}`;\n }\n\n // Utility method to ensure storage is ready before attempting to read/write.\n private async waitForStorage() {\n if (!this.storageReady) {\n await this.storage.create();\n this.storageReady = true;\n }\n }\n}\n","import {\n ApplicationRef,\n inject,\n Injectable,\n Renderer2,\n RendererFactory2,\n signal,\n} from '@angular/core';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { DrawerConfig } from './drawer-config';\nimport { Currency } from 'src/app/model/wallet/currency';\nimport { OperatorService } from '../operator/operator.service';\nimport { StorageService } from '../storage/storage.service';\n\n/** Enum representing all the themes. Define these themes in the theme/ folder.\n * Use the class name of the theme as the value of the Theme enum\n */\nexport enum Theme {\n Clinch = 'clinch',\n BetOpenly = 'betopenly',\n Maincard = 'maincard',\n Crypto = 'crypto',\n Glow = 'glow',\n}\n\n/**\n * Class representing a ThemeService\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class ThemeService {\n private renderer: Renderer2;\n private appRef = inject(ApplicationRef);\n private storageService = inject(StorageService);\n\n private currentThemeSignal = signal(Theme.Clinch);\n public readonly currentTheme = this.currentThemeSignal.asReadonly();\n\n constructor(rendererFactory: RendererFactory2) {\n this.renderer = rendererFactory.createRenderer(null, null);\n\n if (OperatorService.IsDemo) {\n this.storageService\n .getItem('demo-theme')\n .then((theme) => {\n if (theme) {\n this.switch(theme);\n } else {\n this.switch(Theme.Crypto);\n }\n })\n .catch(() => {\n this.switch(Theme.Crypto);\n });\n } else {\n this.switch(this.currentTheme());\n }\n }\n\n switch(theme: Theme): void {\n if (OperatorService.IsDemo) {\n this.storageService.setItem('demo-theme', theme);\n }\n this.applyTheme(theme);\n }\n\n icon(name: string): string {\n return `assets/icons/${this.iconSet()}/${name}.svg`;\n }\n\n gameicon(gameId: GameId): string {\n return `assets/images/${this.currentTheme()}/${gameId}-icon.jpg`;\n }\n\n iconSet(): string {\n return 'atlas';\n }\n\n blocksMultiplierPath(): string {\n return `assets/games/blocks/${this.currentTheme()}/block_multiplier.png`;\n }\n\n blackjackAssetPath(): string {\n return `assets/games/blackjack/${this.currentTheme()}`;\n }\n\n blocksAssetPath(): string {\n return `assets/games/blocks/${this.currentTheme()}`;\n }\n\n solitaireAssetPath(): string {\n return `assets/games/solitaire/${this.currentTheme()}`;\n }\n\n imageUrl(name: string): string {\n return `assets/images/${this.currentTheme()}/${name}`;\n }\n\n appicon(): string {\n return `assets/images/${this.currentTheme()}/clinch.png`;\n }\n\n operatorLogoUrl(): string {\n return `assets/images/${this.currentTheme()}/operator-logo.png`;\n }\n\n wordmarkUrl(): string {\n return `assets/images/${this.currentTheme()}/company-wordmark.svg`;\n }\n\n imagesFolder(): string {\n return this.currentTheme() as string;\n }\n\n confettiColors(): string[] {\n // Todo: Remove this if when BetOpenly upgrades\n if (this.currentTheme() === Theme.BetOpenly) {\n return ['#218838'];\n }\n return ['#9EFF00'];\n }\n\n buttonConfig() {\n const defaultConfig = {\n primary: {\n outline: false,\n shadow: false,\n gradient: false,\n },\n iconPosition: 'right',\n textTransform: 'none',\n };\n\n return config.get(this.currentTheme())?.button || defaultConfig;\n }\n\n payDrawerConfig(): DrawerConfig {\n return {\n hasGlow: config.get(this.currentTheme())?.payDrawer.hasGlow ? true : false,\n hasGameIcon: config.get(this.currentTheme())?.payDrawer.hasGameIcon ? true : false,\n closeButtonPosition:\n config.get(this.currentTheme())?.payDrawer.closeButtonPosition === 'left'\n ? 'absolute-top-left-drawer'\n : 'absolute-top-right-drawer',\n closeButtonSize:\n config.get(this.currentTheme())?.payDrawer.closeButtonSize === 'small' ? 'medium' : 'large',\n gradient: config.get(this.currentTheme())?.payDrawer.gradient,\n };\n }\n\n gameTitleConfig() {\n return (\n config.get(this.currentTheme())?.gameTitle || { hasOutlineGlow: false, capitalize: false }\n );\n }\n\n gameFontFamily() {\n return config.get(this.currentTheme())?.gameFontFamily || 'DM Sans';\n }\n\n tabConfig() {\n return config.get(this.currentTheme())?.tab || { style: 'line' };\n }\n\n spinnerConfig() {\n return config.get(this.currentTheme())?.spinner || { isCustom: false };\n }\n\n leaderboardConfig() {\n return config.get(this.currentTheme())?.leaderboard || { iconLeft: false };\n }\n\n iconFolder(): string {\n return config.get(this.currentTheme())?.iconFolder || 'atlas';\n }\n\n currencyIcon(): string | undefined {\n return config.get(this.currentTheme())?.currencyIcon;\n }\n\n hasCustomMedal(): boolean {\n return config.get(this.currentTheme())?.customMedal ? true : false;\n }\n\n isClosable(): boolean {\n return config.get(this.currentTheme())?.closable ? true : false;\n }\n\n hasBackgroundImg(): boolean {\n return config.get(this.currentTheme())?.hasBackgroundImg ? true : false;\n }\n\n hasHeaderWordmark(): boolean {\n return config.get(this.currentTheme())?.hasHeaderWordmark ? true : false;\n }\n\n headerTextTransform(): string {\n return config.get(this.currentTheme())?.headerTextTransform || 'none';\n }\n\n wagerCardVariant(): string {\n return config.get(this.currentTheme())?.wagerCardVariant || 'variantA';\n }\n\n currency(): Currency {\n return config.get(this.currentTheme())?.currency || Currency.USD;\n }\n\n formatNumber(value: number): string {\n const useFormatting = config.get(this.currentTheme())?.numberFormatting ?? false;\n return useFormatting ? value.toLocaleString() : `${value}`;\n }\n\n private applyTheme(theme: Theme): void {\n const body = document.body;\n this.removeThemes();\n this.renderer.addClass(body, theme);\n this.currentThemeSignal.set(theme); // Update the signal\n this.appRef.tick();\n }\n\n private removeThemes(): void {\n const body = document.body;\n const themes = Object.values(Theme);\n themes.forEach((theme) => {\n this.renderer.removeClass(body, theme);\n });\n }\n}\n\nconst config = new Map([\n [\n Theme.Clinch,\n {\n currency: Currency.USD,\n button: {\n textTransform: 'none',\n primary: {\n outline: false,\n shadow: false,\n },\n iconPosition: 'right',\n },\n iconFolder: 'atlas',\n wagerCardVariant: 'variantB',\n hasHeaderWordmark: true,\n payDrawer: {\n hasGameIcon: true,\n hasGlow: true,\n closeButtonPosition: 'left',\n closeButtonSize: 'medium',\n gradient: 'circle',\n },\n leaderboard: {\n iconLeft: false,\n },\n gameTitle: {\n hasOutlineGlow: false,\n capitalize: false,\n },\n gameFontFamily: 'DM Sans',\n tab: {\n style: 'line',\n },\n numberFormatting: true,\n },\n ],\n [\n Theme.BetOpenly,\n {\n currency: Currency.USD,\n button: {\n textTransform: 'capitalize',\n primary: {\n outline: false,\n shadow: false,\n gradient: true,\n },\n iconPosition: 'right',\n },\n iconFolder: 'atlas',\n closable: true,\n headerTextTransform: 'capitalize',\n hasHeaderWordmark: false,\n wagerCardVariant: 'variantB',\n spinner: {\n isCustom: true,\n },\n payDrawer: {\n hasGameIcon: true,\n hasGlow: true,\n closeButtonPosition: 'left',\n closeButtonSize: 'medium',\n gradient: 'linear',\n },\n leaderboard: {\n iconLeft: false,\n },\n gameTitle: {\n hasOutlineGlow: false,\n capitalize: false,\n },\n gameFontFamily: 'Helvetica Neue',\n tab: {\n style: 'line',\n },\n numberFormatting: true,\n },\n ],\n [\n Theme.Maincard,\n {\n currency: Currency.MCN,\n button: {\n textTransform: 'none',\n primary: {\n outline: true,\n shadow: true,\n },\n iconPosition: 'right',\n },\n iconFolder: 'atlas',\n currencyIcon: 'currency-mcn',\n customMedal: true,\n hasBackgroundImg: true,\n hasHeaderWordmark: false,\n wagerCardVariant: 'variantA',\n payDrawer: {\n hasGameIcon: false,\n hasGlow: true,\n closeButtonPosition: 'right',\n closeButtonSize: 'small',\n gradient: 'circle',\n },\n leaderboard: {\n iconLeft: true,\n },\n gameTitle: {\n hasOutlineGlow: true,\n capitalize: true,\n },\n gameFontFamily: 'Raleway',\n tab: {\n style: 'circle',\n },\n numberFormatting: false,\n },\n ],\n [\n Theme.Crypto,\n {\n currency: Currency.USD,\n button: {\n textTransform: 'none',\n primary: {\n outline: false,\n shadow: false,\n },\n iconPosition: 'right',\n },\n closable: true,\n iconFolder: 'atlas',\n wagerCardVariant: 'variantB',\n hasHeaderWordmark: false,\n payDrawer: {\n hasGameIcon: true,\n hasGlow: true,\n closeButtonPosition: 'left',\n closeButtonSize: 'medium',\n gradient: 'circle',\n },\n leaderboard: {\n iconLeft: false,\n },\n gameTitle: {\n hasOutlineGlow: false,\n capitalize: false,\n },\n gameFontFamily: 'DM Sans',\n tab: {\n style: 'line',\n },\n numberFormatting: true,\n },\n ],\n [\n Theme.Glow,\n {\n currency: Currency.USD,\n button: {\n textTransform: 'none',\n primary: {\n outline: true,\n shadow: true,\n },\n iconPosition: 'right',\n },\n closable: true,\n iconFolder: 'atlas',\n hasBackgroundImg: true,\n hasHeaderWordmark: false,\n wagerCardVariant: 'variantB',\n payDrawer: {\n hasGameIcon: false,\n hasGlow: true,\n closeButtonPosition: 'left',\n closeButtonSize: 'medium',\n gradient: 'circle',\n },\n leaderboard: {\n iconLeft: false,\n },\n gameTitle: {\n hasOutlineGlow: true,\n capitalize: true,\n },\n gameFontFamily: 'Raleway',\n tab: {\n style: 'circle',\n },\n numberFormatting: false,\n },\n ],\n]);\n","import { Injectable, inject, Signal, signal } from '@angular/core';\nimport { HttpService } from '../http/http.service';\nimport { LocationService } from '../location/location.service';\nimport { WagerTier } from 'src/app/model/wager/wager';\nimport { WagerApi } from '../../api/wager-api';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TiersService {\n private httpService = inject(HttpService);\n private locationService = inject(LocationService);\n private tiersSignal = signal(undefined);\n\n isDirty = true;\n\n get tiers(): Signal {\n return this.tiersSignal.asReadonly();\n }\n\n setDirty(): void {\n this.isDirty = true;\n }\n\n async refresh(): Promise {\n if (!this.isDirty) {\n return;\n }\n\n let tiers = (await WagerApi.request(this.httpService).tiers()).data;\n if (this.locationService.isUS) {\n tiers = tiers?.filter((tier) => tier.reward >= 50);\n }\n this.tiersSignal.set(tiers);\n this.isDirty = false;\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { ToastController } from '@ionic/angular';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ToastService {\n private toastController = inject(ToastController);\n private router = inject(Router);\n private translocoService = inject(TranslocoService);\n\n private isGoToMatchToastShown = false;\n\n /**\n * Displays an error toast message.\n * @param message - The error message to display.\n * @returns A promise that resolves when the toast is shown.\n */\n async error(message: string): Promise {\n return this.show(message, 'alert-circle-outline');\n }\n\n /**\n * Displays a \"copied\" toast message.\n * @param message - The message to display.\n * @returns A promise that resolves when the toast is shown.\n */\n async copied(message: string): Promise {\n return this.show(message, 'copy-outline');\n }\n\n /**\n * Displays a success toast message.\n * @param message - The success message to display.\n * @returns A promise that resolves when the toast is shown.\n */\n async success(message: string): Promise {\n return this.show(message, 'checkmark-circle-outline');\n }\n\n /**\n * Displays a toast with a message and a button that navigates to a match page when clicked.\n * @param message - The message to display.\n * @param matchId - The ID of the match to navigate to.\n */\n async showGoToMatchToast(roomId: string): Promise {\n if (this.isGoToMatchToastShown || this.router.url.includes('game')) {\n return;\n }\n\n const toast = await this.toastController.create({\n message: this.translocoService.translate('service.toast.go-to-match-message'),\n position: 'top',\n buttons: [\n {\n text: this.translocoService.translate('service.toast.go-to-match-button'),\n handler: () => {\n this.router.navigate([`${PAGE.GAME}/${roomId}`]);\n this.isGoToMatchToastShown = false;\n },\n },\n {\n text: this.translocoService.translate('service.toast.close'),\n handler: () => {\n this.isGoToMatchToastShown = false;\n },\n role: 'cancel',\n cssClass: 'toast-cancel-button',\n },\n ],\n cssClass: 'toast',\n });\n this.isGoToMatchToastShown = true;\n await toast.present();\n }\n\n /**\n * Displays a toast message with the specified message and icon.\n * @param message - The message to display.\n * @param icon - The name of the icon to display.\n * @returns A promise that resolves when the toast is shown.\n */\n private async show(message: string, icon: string, duration = 1500): Promise {\n const toast = await this.toastController.create({\n message,\n duration,\n position: 'top',\n buttons: [\n {\n side: 'start',\n icon,\n },\n ],\n cssClass: 'toast',\n });\n await toast.present();\n }\n}\n","import {\n ApiResponsePublishedTournaments,\n ApiResponseMiniLeaderboardData,\n ApiResponseTournamentData,\n ApiResponseTournamentLeaderboardList,\n MiniLeaderboardTournament,\n PublishedTournament,\n} from 'src/app/core/api/wager-api';\nimport { GameId } from 'src/app/model/game/game-id';\n\n/** Tournament State Logic\n * Finished :- finished: true\n * CollectingResults :- now > joinUntilDate\n * JoinOnly :- now > endDate\n * Live :- now > startDate\n * NotStarted :- _else\n */\n\nconst timeGap = 1000 * 60 * 59; // 59 minutes\nconst currDate = new Date().getTime();\nconst futureDate = currDate + timeGap;\nconst pastDate = currDate - timeGap;\nconst tournamentRoundDeadline = currDate + 1000 * 60 * 2;\n\nconst MOCK_TOURNAMENTS: PublishedTournament[] = [\n {\n entries: [],\n tournament: {\n tournamentId: '7cd17771-3fab-4619-8d2c-a2d8dca7a593',\n scoreFormula: 'SUM_OF_WON_CENTS',\n title: 'Clinch Tournament',\n bannerUrl: 'https://storage.googleapis.com/clinch-tournaments/banners/test-banner-1.jpg',\n roundDeadline: tournamentRoundDeadline,\n gameIds: [GameId.Solitaire],\n leaderboard: {\n prizes: [\n {\n count: 1,\n amount: 100,\n },\n {\n count: 2,\n amount: 50,\n },\n {\n count: 3,\n amount: 20,\n },\n ],\n },\n ...getNotStartedStatus(),\n },\n },\n {\n entries: [\n {\n nick: 'Jack',\n score: 1234343,\n userId: '1d23dfs',\n },\n {\n nick: 'Jack1',\n score: 1233,\n userId: '1d23dfs',\n },\n {\n nick: 'Jack2',\n score: 12,\n userId: '1d23dfs',\n },\n ],\n tournament: {\n tournamentId: '7b920d5a-3fc3-426b-9c93-4869e4692513',\n scoreFormula: 'SUM_OF_WON_CENTS',\n title: 'Clinch Tournament #2',\n bannerUrl: 'https://picsum.photos/id/20/1080/720',\n roundDeadline: 1765325640000,\n gameIds: [GameId.Solitaire],\n leaderboard: {\n prizes: [\n {\n count: 1,\n amount: 100,\n },\n {\n count: 2,\n amount: 50,\n },\n {\n count: 3,\n amount: 20,\n },\n ],\n },\n ...getLiveStatus(),\n },\n },\n {\n entries: [\n {\n nick: 'Jack',\n score: 123,\n userId: '1d23dfs',\n },\n ],\n tournament: {\n tournamentId: '7b25d818-079c-47f8-96a5-914889faa3b2',\n scoreFormula: 'SUM_OF_WON_CENTS',\n title: 'Clinch Tournament #1',\n bannerUrl: 'https://placehold.co/600x174/000000/FFF',\n roundDeadline: 1765325640000,\n gameIds: [GameId.Solitaire],\n leaderboard: {\n prizes: [\n {\n count: 1,\n amount: 100,\n },\n {\n count: 2,\n amount: 50,\n },\n {\n count: 3,\n amount: 20,\n },\n ],\n },\n ...getJoinUntilStatus(),\n },\n },\n {\n entries: [\n {\n nick: 'Jack',\n score: 123,\n userId: '1d23dfs',\n },\n ],\n tournament: {\n tournamentId: '29f9f4a2-3021-46e1-9515-b417ee7542d6',\n scoreFormula: 'SUM_OF_WON_CENTS',\n title: 'Clinch Tournament #4',\n bannerUrl: 'https://placehold.co/600x174/000000/FFF',\n roundDeadline: 1739146440000,\n gameIds: [GameId.Solitaire],\n leaderboard: {\n prizes: [\n {\n count: 1,\n amount: 100,\n },\n {\n count: 2,\n amount: 50,\n },\n {\n count: 3,\n amount: 20,\n },\n ],\n },\n ...getCollectingResultsStatus(),\n },\n },\n {\n entries: [\n {\n nick: 'Jack',\n score: 123,\n userId: '1d23dfs',\n },\n ],\n tournament: {\n tournamentId: 'a166da32-d117-48be-a1dd-0c316604ca49',\n scoreFormula: 'SUM_OF_WON_CENTS',\n title: 'Clinch Tournament #4',\n bannerUrl: 'https://placehold.co/600x174/000000/FFF',\n roundDeadline: 1739146440000,\n gameIds: [GameId.Solitaire],\n leaderboard: {\n prizes: [\n {\n count: 1,\n amount: 100,\n },\n {\n count: 2,\n amount: 50,\n },\n {\n count: 3,\n amount: 20,\n },\n ],\n },\n ...getFinishedStatus(),\n },\n },\n];\n\nconst MOCK_LEADERBOARD_LIST = [\n { nick: 'Jack', score: 1000, userId: '1d23dfs' },\n { nick: 'Mia', score: 950, userId: '15r67stu' },\n { nick: 'Olivia', score: 900, userId: '5g67opq' },\n { nick: 'Alexander', score: 850, userId: '12n34jkl' },\n { nick: 'Ava', score: 800, userId: '7i89uvw' },\n { nick: 'Sophia', score: 750, userId: '3e45ijk' },\n { nick: 'Harper', score: 700, userId: '17t89yz0' },\n { nick: 'Gabriel', score: 650, userId: '34k56vwx' },\n { nick: 'Jackson', score: 600, userId: '14p56qrs' },\n { nick: 'Ella', score: 550, userId: '19v01def' },\n { nick: 'Isabella', score: 500, userId: '9k01abc' },\n { nick: 'Ethan', score: 450, userId: '8j90xyz' },\n { nick: 'Charlotte', score: 400, userId: '11m23ghi' },\n { nick: 'Liam', score: 350, userId: '4f56lmn' },\n { nick: 'Amelia', score: 300, userId: '13o45mno' },\n { nick: 'David', score: 250, userId: '30g12jkl' },\n { nick: 'James', score: 200, userId: '10l12def' },\n { nick: 'Mason', score: 150, userId: '6h78rst' },\n { nick: 'Benjamin', score: 100, userId: '20w12ghi' },\n { nick: 'Daniel', score: 50, userId: '24a56stu' },\n { nick: 'Emma', score: 25, userId: '2a34bgh' },\n { nick: 'Chloe', score: 10, userId: '27d89abc' },\n { nick: 'Zoe', score: 5, userId: '23z45pqr' },\n { nick: 'Lily', score: 1, userId: '25b67vwx' },\n { nick: 'Nora', score: 0, userId: '33j45stu' },\n { nick: 'Samuel', score: 0, userId: '32i34pqr' },\n { nick: 'Sebastian', score: 0, userId: '18u90abc' },\n { nick: 'Hannah', score: 0, userId: '29f01ghi' },\n { nick: 'Matthew', score: 0, userId: '28e90def' },\n { nick: 'Aiden', score: 0, userId: '22y34mno' },\n { nick: 'Elijah', score: 0, userId: '26c78yz0' },\n { nick: 'Grace', score: 0, userId: '31h23mno' },\n { nick: 'Amos', score: 0, userId: '21x23jkl' },\n { nick: 'Lucas', score: 0, userId: '16s78vwx' },\n { nick: 'David', score: 0, userId: '30g12jkl' },\n { nick: 'Sophie', score: 0, userId: '35l67yz0' },\n { nick: 'Evelyn', score: 0, userId: '37e89fgh' },\n { nick: 'Abigail', score: 0, userId: '38a12bcd' },\n { nick: 'Emily', score: 0, userId: '39c45def' },\n { nick: 'Madison', score: 0, userId: '40m67nop' },\n { nick: 'Scarlett', score: 0, userId: '41s89qrs' },\n { nick: 'Victoria', score: 0, userId: '42v01tuv' },\n { nick: 'Aria', score: 0, userId: '43a23wxy' },\n { nick: 'Penelope', score: 0, userId: '44p45zab' },\n { nick: 'Layla', score: 0, userId: '45l67cde' },\n { nick: 'Riley', score: 0, userId: '46r89efg' },\n { nick: 'Zoey', score: 0, userId: '47z01ghi' },\n { nick: 'Nora2', score: 0, userId: '48n23jkl' },\n { nick: 'Lillian', score: 0, userId: '49l45mno' },\n { nick: 'Addison', score: 0, userId: '50a67pqr' },\n { nick: 'Aubrey', score: 0, userId: '51a89stu' },\n { nick: 'Eleanor', score: 0, userId: '52e01vwx' },\n { nick: 'Hannah2', score: 0, userId: '53h23yz0' },\n];\n\nfunction getFinishedStatus() {\n return {\n startDate: currDate,\n endDate: currDate,\n joinUntilDate: currDate,\n finished: true,\n };\n}\n\nfunction getCollectingResultsStatus() {\n return {\n startDate: pastDate,\n endDate: pastDate,\n joinUntilDate: pastDate,\n finished: false,\n };\n}\n\nfunction getJoinUntilStatus() {\n return {\n startDate: pastDate,\n endDate: pastDate,\n joinUntilDate: futureDate,\n finished: false,\n };\n}\n\nfunction getLiveStatus() {\n return {\n startDate: pastDate,\n endDate: futureDate,\n joinUntilDate: futureDate,\n finished: false,\n };\n}\n\nfunction getNotStartedStatus() {\n return {\n startDate: futureDate,\n endDate: futureDate,\n joinUntilDate: futureDate,\n finished: false,\n };\n}\n\nexport function getMockPublishedTournaments(): ApiResponsePublishedTournaments {\n return {\n status: 200,\n msg: 'Published tournaments',\n data: MOCK_TOURNAMENTS,\n };\n}\n\nexport function getMockTournamentById(tournamentId: string): ApiResponseTournamentData {\n const tournamentData = MOCK_TOURNAMENTS.find((x) => x.tournament.tournamentId === tournamentId);\n return {\n status: 200,\n msg: 'Tournament',\n data: tournamentData?.tournament || null,\n };\n}\n\nexport function getMockMiniLeaderboard(tournamentId: string): ApiResponseMiniLeaderboardData {\n const tournamentData = MOCK_TOURNAMENTS.find(\n (x) => x.tournament.tournamentId === tournamentId,\n ) as MiniLeaderboardTournament;\n return {\n status: 200,\n msg: 'Mini Leaderboard',\n data: tournamentData,\n };\n}\n\nexport function getMockLeaderboardList(\n tournamentId: string,\n page: number,\n): ApiResponseTournamentLeaderboardList {\n const entriesPerPage = 15;\n const startFrom = (page - 1) * entriesPerPage;\n const entries = MOCK_LEADERBOARD_LIST.slice(startFrom, startFrom + entriesPerPage);\n const hasMoreEntries = startFrom + entriesPerPage < MOCK_LEADERBOARD_LIST.length;\n\n return {\n status: 200,\n msg: 'Leaderboard list',\n data: {\n page,\n entriesPerPage,\n hasMoreEntries,\n entries,\n },\n };\n}\n\nexport function getMockRoomTournaments() {\n return {\n status: 200,\n msg: 'Room Tournaments',\n data: MOCK_TOURNAMENTS.map((x) => x.tournament),\n };\n}\n","import { inject, Injectable, signal } from '@angular/core';\nimport { HttpService } from '../http/http.service';\nimport { JobService } from '../job/job.service';\nimport { Job } from '../job/job';\nimport { interval, Subject, Subscription } from 'rxjs';\nimport {\n ApiResponseTournamentData,\n ApiResponsePublishedTournaments,\n WagerApi,\n ApiResponseMiniLeaderboardData,\n ApiResponseTournamentLeaderboardList,\n ApiResponseTournamentLeaderboardEntry,\n ApiResponseRoomTournaments,\n ApiResponseFindMatch,\n} from '../../api/wager-api';\nimport {\n getMockPublishedTournaments,\n getMockTournamentById,\n getMockMiniLeaderboard,\n getMockLeaderboardList,\n getMockRoomTournaments,\n} from './tournament.mock';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { getOrdinalSuffix } from 'src/app/shared/utils/tournament.utils';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TournamentService {\n private httpService = inject(HttpService);\n private jobService = inject(JobService);\n private translocoService = inject(TranslocoService);\n\n private readonly tournamentCardAPIIntervalDuration = 30000;\n private readonly tournamentCardTimerTextIntervalDuration = 1000;\n\n private tournamentCardAPISub: Subscription | null = null;\n private tournamentCardTimerTextSub: Subscription | null = null;\n\n private tournamentCardAPISubject = new Subject();\n private tournamentCardTimerTextSubject = new Subject();\n\n private readonly useMockData = false; // environment.sandbox;\n private readonly mockDelay = 1000;\n\n tournamentCardAPI$ = this.tournamentCardAPISubject.asObservable();\n tournamentCardTimerText$ = this.tournamentCardTimerTextSubject.asObservable();\n\n tournamentId = signal(null);\n\n startTournamentCardTimer(): void {\n if (!this.tournamentCardAPISub) {\n this.tournamentCardAPISub = interval(this.tournamentCardAPIIntervalDuration).subscribe(() =>\n this.tournamentCardAPISubject.next(),\n );\n }\n if (!this.tournamentCardTimerTextSub) {\n this.tournamentCardTimerTextSub = interval(\n this.tournamentCardTimerTextIntervalDuration,\n ).subscribe(() => this.tournamentCardTimerTextSubject.next());\n }\n }\n\n stopTournamentCardTimer(): void {\n this.tournamentCardAPISub?.unsubscribe();\n this.tournamentCardTimerTextSub?.unsubscribe();\n this.tournamentCardAPISub = this.tournamentCardTimerTextSub = null;\n }\n\n setTournamentId(id: string) {\n this.tournamentId.set(id);\n }\n\n resetTournamentId() {\n this.tournamentId.set(null);\n }\n\n getPublishedTournaments(): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) =>\n setTimeout(() => resolve(getMockPublishedTournaments()), this.mockDelay),\n ),\n );\n }\n\n return this.jobService.create(() => WagerApi.request(this.httpService).publishedTournaments());\n }\n\n getTournamentById(tournamentId: string): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) =>\n setTimeout(() => resolve(getMockTournamentById(tournamentId)), this.mockDelay),\n ),\n );\n }\n\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).tournamentData(tournamentId),\n );\n }\n\n getMiniLeaderboard(tournamentId: string): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) =>\n setTimeout(() => resolve(getMockMiniLeaderboard(tournamentId)), this.mockDelay),\n ),\n );\n }\n\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).miniLeaderboardData(tournamentId),\n );\n }\n\n getLeaderboardList(\n tournamentId: string,\n page: number,\n ): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) =>\n setTimeout(() => resolve(getMockLeaderboardList(tournamentId, page)), this.mockDelay),\n ),\n );\n }\n\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).leaderboardList(tournamentId, page),\n );\n }\n\n getLeaderboardEntry(tournamentId: string): Job {\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).leaderboardEntry(tournamentId),\n );\n }\n\n getRoomTournaments(roomId: string): Job {\n if (this.useMockData) {\n return this.jobService.create(\n () =>\n new Promise((resolve) =>\n setTimeout(() => resolve(getMockRoomTournaments()), this.mockDelay),\n ),\n );\n }\n\n return this.jobService.create(() => WagerApi.request(this.httpService).roomTournaments(roomId));\n }\n\n findTournamentMatch(\n gameId: GameId,\n tierId: string,\n depositId: string,\n tournamentId: string,\n ): Job {\n if (this.useMockData) {\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).findMatch(gameId, tierId, depositId),\n );\n }\n\n return this.jobService.create(() =>\n WagerApi.request(this.httpService).findMatch(gameId, tierId, depositId, tournamentId),\n );\n }\n\n calTopScorePlaceholder(rank: number): string {\n const suffix = getOrdinalSuffix(rank);\n return this.translocoService.translate(`pages.tournament.top-score-placeholder`, {\n rank: `${rank}${suffix}`,\n });\n }\n\n navigationChanged(url: string): void {\n if (url === `/${PAGE.CHOOSE_GAME}`) {\n this.startTournamentCardTimer();\n } else {\n this.stopTournamentCardTimer();\n }\n }\n}\n","import { Injectable, OnDestroy, inject, signal } from '@angular/core';\nimport { StorageService } from '../storage/storage.service';\nimport { TranslocoService, getBrowserLang, getBrowserCultureLang } from '@jsverse/transloco';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { Subject, takeUntil } from 'rxjs';\nimport { HttpService } from '../http/http.service';\nimport { SentryService } from '../analytics/sentry.service';\n\nconst SELECTED_LANGUAGE_KEY = 'selected_language_key';\n\nexport enum LanguageType {\n English = 'English',\n French = 'French',\n German = 'German',\n PortugueseBrazil = 'Portuguese (Brazil)',\n Spanish = 'Spanish',\n Russian = 'Russian',\n}\n\ninterface LanguageMapping {\n isoCode: string;\n regionVariant?: string;\n fileCode: string;\n}\n\ninterface SupportedLanguage {\n name: LanguageType;\n languageCode: LanguageMapping;\n}\n\nconst DefaultLanguage: SupportedLanguage = {\n name: LanguageType.English,\n languageCode: { isoCode: 'en', fileCode: 'en' },\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TranslationService implements OnDestroy {\n private storageService = inject(StorageService);\n private translocoService = inject(TranslocoService);\n private httpService = inject(HttpService);\n private sentryService = inject(SentryService);\n\n private supportedLanguages: SupportedLanguage[];\n private chosenLanguageSignal = signal(undefined);\n private destroy$ = new Subject();\n\n constructor() {\n this.supportedLanguages = [\n DefaultLanguage,\n {\n name: LanguageType.French,\n languageCode: { isoCode: 'fr', fileCode: 'fr' },\n },\n {\n name: LanguageType.German,\n languageCode: { isoCode: 'de', fileCode: 'de' },\n },\n {\n name: LanguageType.PortugueseBrazil,\n languageCode: { isoCode: 'pt', regionVariant: 'pt-BR', fileCode: 'pt_BR' },\n },\n {\n name: LanguageType.Spanish,\n languageCode: { isoCode: 'es', fileCode: 'es' },\n },\n {\n name: LanguageType.Russian,\n languageCode: { isoCode: 'ru', fileCode: 'ru' },\n },\n ];\n\n toObservable(this.chosenLanguageSignal)\n .pipe(takeUntil(this.destroy$))\n .subscribe((chosenLanguage) => {\n if (chosenLanguage) {\n this.httpService.setLanguage(chosenLanguage);\n }\n });\n }\n\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n getLanguageNameFromIso(isoCode: string): string | undefined {\n const foundLang = this.supportedLanguages.find(\n (supportedLang) => supportedLang.languageCode.isoCode === isoCode,\n );\n return foundLang ? foundLang.name : undefined;\n }\n\n async currentLanguage(): Promise {\n const selectedLanguage = await this.storageService.getItem(SELECTED_LANGUAGE_KEY);\n return selectedLanguage !== null ? selectedLanguage : DefaultLanguage.name;\n }\n\n async preloadLanguage(): Promise {\n const selectedLanguage = await this.storageService.getItem(SELECTED_LANGUAGE_KEY);\n if (await this.switchLanguage(selectedLanguage)) {\n return;\n }\n\n const browserLang = getBrowserLang();\n const foundLang = this.supportedLanguages.find((supportedLang) => {\n return supportedLang.languageCode.isoCode === browserLang;\n });\n await this.setLanguage(foundLang);\n }\n\n async switchLanguage(langName: string): Promise {\n const foundLang = this.supportedLanguages.find((supportedLang) => {\n return supportedLang.name === langName;\n });\n if (foundLang === undefined) {\n return false;\n }\n await this.setLanguage(foundLang);\n return true;\n }\n\n private async setLanguage(supportedLanguage?: SupportedLanguage): Promise {\n if (supportedLanguage === undefined) {\n await this.setActiveLanguage(DefaultLanguage);\n return;\n }\n\n if (supportedLanguage.languageCode.regionVariant) {\n const cultureLang = getBrowserCultureLang();\n if (supportedLanguage.languageCode.regionVariant === cultureLang) {\n await this.setActiveLanguage(supportedLanguage);\n return;\n }\n }\n\n await this.setActiveLanguage(supportedLanguage);\n }\n\n private async setActiveLanguage(supportedLanguage: SupportedLanguage): Promise {\n if (\n !this.translocoService\n .getAvailableLangs()\n .some((availableLang) => availableLang === supportedLanguage.languageCode.fileCode)\n ) {\n // Set to English (Default), don't set in storage as we might add further languages\n // in the future and they will automatically be picked up.\n this.translocoService.setActiveLang(DefaultLanguage.languageCode.fileCode);\n this.chosenLanguageSignal.set(DefaultLanguage.name);\n return;\n }\n\n this.translocoService.setActiveLang(supportedLanguage.languageCode.fileCode);\n this.chosenLanguageSignal.set(supportedLanguage.name);\n this.sentryService.setActiveLanguage(supportedLanguage.name);\n await this.storageService.setItem(SELECTED_LANGUAGE_KEY, supportedLanguage.name);\n }\n}\n","import { Injectable, computed, inject } from '@angular/core';\nimport { OperatorService } from '../../../core/services/operator/operator.service';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { ProfileService } from '../profile/profile.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class UserStateService {\n private analyticsService = inject(AnalyticsService);\n private profileService = inject(ProfileService);\n\n /**\n * Computed signal to determine if the user is onboarded.\n * @returns True if the user has both a nickname and a Lightning address, false otherwise.\n */\n private _onboarded = computed(() => {\n const nickname = this.profileService.nickname();\n const defaultWallet = this.profileService.defaultWallet();\n const onboarded = OperatorService.IsActive || (!!nickname && !!defaultWallet);\n this.analyticsService.setProperty('onboarded', onboarded ? 'true' : 'false');\n return onboarded;\n });\n\n /**\n * Getter for the onboarded signal.\n * @returns True if the user has both a nickname and a Lightning address, false otherwise.\n */\n get onboarded() {\n return this._onboarded();\n }\n}\n","export class PaymentCancelError extends Error {\n constructor() {\n super('Request denied');\n this.name = 'PaymentCancelError';\n\n Object.setPrototypeOf(this, PaymentCancelError.prototype);\n }\n}\n","export class PaymentRelinkError extends Error {\n constructor() {\n super('Session expired');\n this.name = 'PaymentRelinkError';\n\n Object.setPrototypeOf(this, PaymentRelinkError.prototype);\n }\n}\n","import { registerPlugin } from \"@capacitor/core\";\n\nimport type { MobileServicesPlugin } from \"./definitions\";\n\nconst MobileServices = registerPlugin(\"MobileServices\", {\n web: () => import(\"./web\").then((m) => new m.MobileServicesWeb()),\n});\n\nexport * from \"./definitions\";\nexport { MobileServices };\n","/* Do NOT modify this file; see /src.ts/_admin/update-version.ts */\n/**\n * The current version of Ethers.\n */\nexport const version = \"6.13.4\";\n","/**\n * Property helper functions.\n *\n * @_subsection api/utils:Properties [about-properties]\n */\nfunction checkType(value, type, name) {\n const types = type.split(\"|\").map(t => t.trim());\n for (let i = 0; i < types.length; i++) {\n switch (type) {\n case \"any\":\n return;\n case \"bigint\":\n case \"boolean\":\n case \"number\":\n case \"string\":\n if (typeof (value) === type) {\n return;\n }\n }\n }\n const error = new Error(`invalid value for type ${type}`);\n error.code = \"INVALID_ARGUMENT\";\n error.argument = `value.${name}`;\n error.value = value;\n throw error;\n}\n/**\n * Resolves to a new object that is a copy of %%value%%, but with all\n * values resolved.\n */\nexport async function resolveProperties(value) {\n const keys = Object.keys(value);\n const results = await Promise.all(keys.map((k) => Promise.resolve(value[k])));\n return results.reduce((accum, v, index) => {\n accum[keys[index]] = v;\n return accum;\n }, {});\n}\n/**\n * Assigns the %%values%% to %%target%% as read-only values.\n *\n * It %%types%% is specified, the values are checked.\n */\nexport function defineProperties(target, values, types) {\n for (let key in values) {\n let value = values[key];\n const type = (types ? types[key] : null);\n if (type) {\n checkType(value, type, key);\n }\n Object.defineProperty(target, key, { enumerable: true, value, writable: false });\n }\n}\n","/**\n * All errors in ethers include properties to ensure they are both\n * human-readable (i.e. ``.message``) and machine-readable (i.e. ``.code``).\n *\n * The [[isError]] function can be used to check the error ``code`` and\n * provide a type guard for the properties present on that error interface.\n *\n * @_section: api/utils/errors:Errors [about-errors]\n */\nimport { version } from \"../_version.js\";\nimport { defineProperties } from \"./properties.js\";\nfunction stringify(value) {\n if (value == null) {\n return \"null\";\n }\n if (Array.isArray(value)) {\n return \"[ \" + (value.map(stringify)).join(\", \") + \" ]\";\n }\n if (value instanceof Uint8Array) {\n const HEX = \"0123456789abcdef\";\n let result = \"0x\";\n for (let i = 0; i < value.length; i++) {\n result += HEX[value[i] >> 4];\n result += HEX[value[i] & 0xf];\n }\n return result;\n }\n if (typeof (value) === \"object\" && typeof (value.toJSON) === \"function\") {\n return stringify(value.toJSON());\n }\n switch (typeof (value)) {\n case \"boolean\":\n case \"symbol\":\n return value.toString();\n case \"bigint\":\n return BigInt(value).toString();\n case \"number\":\n return (value).toString();\n case \"string\":\n return JSON.stringify(value);\n case \"object\": {\n const keys = Object.keys(value);\n keys.sort();\n return \"{ \" + keys.map((k) => `${stringify(k)}: ${stringify(value[k])}`).join(\", \") + \" }\";\n }\n }\n return `[ COULD NOT SERIALIZE ]`;\n}\n/**\n * Returns true if the %%error%% matches an error thrown by ethers\n * that matches the error %%code%%.\n *\n * In TypeScript environments, this can be used to check that %%error%%\n * matches an EthersError type, which means the expected properties will\n * be set.\n *\n * @See [ErrorCodes](api:ErrorCode)\n * @example\n * try {\n * // code....\n * } catch (e) {\n * if (isError(e, \"CALL_EXCEPTION\")) {\n * // The Type Guard has validated this object\n * console.log(e.data);\n * }\n * }\n */\nexport function isError(error, code) {\n return (error && error.code === code);\n}\n/**\n * Returns true if %%error%% is a [[CallExceptionError].\n */\nexport function isCallException(error) {\n return isError(error, \"CALL_EXCEPTION\");\n}\n/**\n * Returns a new Error configured to the format ethers emits errors, with\n * the %%message%%, [[api:ErrorCode]] %%code%% and additional properties\n * for the corresponding EthersError.\n *\n * Each error in ethers includes the version of ethers, a\n * machine-readable [[ErrorCode]], and depending on %%code%%, additional\n * required properties. The error message will also include the %%message%%,\n * ethers version, %%code%% and all additional properties, serialized.\n */\nexport function makeError(message, code, info) {\n let shortMessage = message;\n {\n const details = [];\n if (info) {\n if (\"message\" in info || \"code\" in info || \"name\" in info) {\n throw new Error(`value will overwrite populated values: ${stringify(info)}`);\n }\n for (const key in info) {\n if (key === \"shortMessage\") {\n continue;\n }\n const value = (info[key]);\n // try {\n details.push(key + \"=\" + stringify(value));\n // } catch (error: any) {\n // console.log(\"MMM\", error.message);\n // details.push(key + \"=[could not serialize object]\");\n // }\n }\n }\n details.push(`code=${code}`);\n details.push(`version=${version}`);\n if (details.length) {\n message += \" (\" + details.join(\", \") + \")\";\n }\n }\n let error;\n switch (code) {\n case \"INVALID_ARGUMENT\":\n error = new TypeError(message);\n break;\n case \"NUMERIC_FAULT\":\n case \"BUFFER_OVERRUN\":\n error = new RangeError(message);\n break;\n default:\n error = new Error(message);\n }\n defineProperties(error, { code });\n if (info) {\n Object.assign(error, info);\n }\n if (error.shortMessage == null) {\n defineProperties(error, { shortMessage });\n }\n return error;\n}\n/**\n * Throws an EthersError with %%message%%, %%code%% and additional error\n * %%info%% when %%check%% is falsish..\n *\n * @see [[api:makeError]]\n */\nexport function assert(check, message, code, info) {\n if (!check) {\n throw makeError(message, code, info);\n }\n}\n/**\n * A simple helper to simply ensuring provided arguments match expected\n * constraints, throwing if not.\n *\n * In TypeScript environments, the %%check%% has been asserted true, so\n * any further code does not need additional compile-time checks.\n */\nexport function assertArgument(check, message, name, value) {\n assert(check, message, \"INVALID_ARGUMENT\", { argument: name, value: value });\n}\nexport function assertArgumentCount(count, expectedCount, message) {\n if (message == null) {\n message = \"\";\n }\n if (message) {\n message = \": \" + message;\n }\n assert(count >= expectedCount, \"missing arguemnt\" + message, \"MISSING_ARGUMENT\", {\n count: count,\n expectedCount: expectedCount\n });\n assert(count <= expectedCount, \"too many arguments\" + message, \"UNEXPECTED_ARGUMENT\", {\n count: count,\n expectedCount: expectedCount\n });\n}\nconst _normalizeForms = [\"NFD\", \"NFC\", \"NFKD\", \"NFKC\"].reduce((accum, form) => {\n try {\n // General test for normalize\n /* c8 ignore start */\n if (\"test\".normalize(form) !== \"test\") {\n throw new Error(\"bad\");\n }\n ;\n /* c8 ignore stop */\n if (form === \"NFD\") {\n const check = String.fromCharCode(0xe9).normalize(\"NFD\");\n const expected = String.fromCharCode(0x65, 0x0301);\n /* c8 ignore start */\n if (check !== expected) {\n throw new Error(\"broken\");\n }\n /* c8 ignore stop */\n }\n accum.push(form);\n }\n catch (error) { }\n return accum;\n}, []);\n/**\n * Throws if the normalization %%form%% is not supported.\n */\nexport function assertNormalize(form) {\n assert(_normalizeForms.indexOf(form) >= 0, \"platform missing String.prototype.normalize\", \"UNSUPPORTED_OPERATION\", {\n operation: \"String.prototype.normalize\", info: { form }\n });\n}\n/**\n * Many classes use file-scoped values to guard the constructor,\n * making it effectively private. This facilitates that pattern\n * by ensuring the %%givenGaurd%% matches the file-scoped %%guard%%,\n * throwing if not, indicating the %%className%% if provided.\n */\nexport function assertPrivate(givenGuard, guard, className) {\n if (className == null) {\n className = \"\";\n }\n if (givenGuard !== guard) {\n let method = className, operation = \"new\";\n if (className) {\n method += \".\";\n operation += \" \" + className;\n }\n assert(false, `private constructor; use ${method}from* methods`, \"UNSUPPORTED_OPERATION\", {\n operation\n });\n }\n}\n","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","export default function _classPrivateMethodGet(receiver, privateSet, fn) {\n if (!privateSet.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return fn;\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","/**\n * Some data helpers.\n *\n *\n * @_subsection api/utils:Data Helpers [about-data]\n */\nimport { assert, assertArgument } from \"./errors.js\";\nfunction _getBytes(value, name, copy) {\n if (value instanceof Uint8Array) {\n if (copy) {\n return new Uint8Array(value);\n }\n return value;\n }\n if (typeof (value) === \"string\" && value.match(/^0x(?:[0-9a-f][0-9a-f])*$/i)) {\n const result = new Uint8Array((value.length - 2) / 2);\n let offset = 2;\n for (let i = 0; i < result.length; i++) {\n result[i] = parseInt(value.substring(offset, offset + 2), 16);\n offset += 2;\n }\n return result;\n }\n assertArgument(false, \"invalid BytesLike value\", name || \"value\", value);\n}\n/**\n * Get a typed Uint8Array for %%value%%. If already a Uint8Array\n * the original %%value%% is returned; if a copy is required use\n * [[getBytesCopy]].\n *\n * @see: getBytesCopy\n */\nexport function getBytes(value, name) {\n return _getBytes(value, name, false);\n}\n/**\n * Get a typed Uint8Array for %%value%%, creating a copy if necessary\n * to prevent any modifications of the returned value from being\n * reflected elsewhere.\n *\n * @see: getBytes\n */\nexport function getBytesCopy(value, name) {\n return _getBytes(value, name, true);\n}\n/**\n * Returns true if %%value%% is a valid [[HexString]].\n *\n * If %%length%% is ``true`` or a //number//, it also checks that\n * %%value%% is a valid [[DataHexString]] of %%length%% (if a //number//)\n * bytes of data (e.g. ``0x1234`` is 2 bytes).\n */\nexport function isHexString(value, length) {\n if (typeof (value) !== \"string\" || !value.match(/^0x[0-9A-Fa-f]*$/)) {\n return false;\n }\n if (typeof (length) === \"number\" && value.length !== 2 + 2 * length) {\n return false;\n }\n if (length === true && (value.length % 2) !== 0) {\n return false;\n }\n return true;\n}\n/**\n * Returns true if %%value%% is a valid representation of arbitrary\n * data (i.e. a valid [[DataHexString]] or a Uint8Array).\n */\nexport function isBytesLike(value) {\n return (isHexString(value, true) || (value instanceof Uint8Array));\n}\nconst HexCharacters = \"0123456789abcdef\";\n/**\n * Returns a [[DataHexString]] representation of %%data%%.\n */\nexport function hexlify(data) {\n const bytes = getBytes(data);\n let result = \"0x\";\n for (let i = 0; i < bytes.length; i++) {\n const v = bytes[i];\n result += HexCharacters[(v & 0xf0) >> 4] + HexCharacters[v & 0x0f];\n }\n return result;\n}\n/**\n * Returns a [[DataHexString]] by concatenating all values\n * within %%data%%.\n */\nexport function concat(datas) {\n return \"0x\" + datas.map((d) => hexlify(d).substring(2)).join(\"\");\n}\n/**\n * Returns the length of %%data%%, in bytes.\n */\nexport function dataLength(data) {\n if (isHexString(data, true)) {\n return (data.length - 2) / 2;\n }\n return getBytes(data).length;\n}\n/**\n * Returns a [[DataHexString]] by slicing %%data%% from the %%start%%\n * offset to the %%end%% offset.\n *\n * By default %%start%% is 0 and %%end%% is the length of %%data%%.\n */\nexport function dataSlice(data, start, end) {\n const bytes = getBytes(data);\n if (end != null && end > bytes.length) {\n assert(false, \"cannot slice beyond data bounds\", \"BUFFER_OVERRUN\", {\n buffer: bytes, length: bytes.length, offset: end\n });\n }\n return hexlify(bytes.slice((start == null) ? 0 : start, (end == null) ? bytes.length : end));\n}\n/**\n * Return the [[DataHexString]] result by stripping all **leading**\n ** zero bytes from %%data%%.\n */\nexport function stripZerosLeft(data) {\n let bytes = hexlify(data).substring(2);\n while (bytes.startsWith(\"00\")) {\n bytes = bytes.substring(2);\n }\n return \"0x\" + bytes;\n}\nfunction zeroPad(data, length, left) {\n const bytes = getBytes(data);\n assert(length >= bytes.length, \"padding exceeds data length\", \"BUFFER_OVERRUN\", {\n buffer: new Uint8Array(bytes),\n length: length,\n offset: length + 1\n });\n const result = new Uint8Array(length);\n result.fill(0);\n if (left) {\n result.set(bytes, length - bytes.length);\n }\n else {\n result.set(bytes, 0);\n }\n return hexlify(result);\n}\n/**\n * Return the [[DataHexString]] of %%data%% padded on the **left**\n * to %%length%% bytes.\n *\n * If %%data%% already exceeds %%length%%, a [[BufferOverrunError]] is\n * thrown.\n *\n * This pads data the same as **values** are in Solidity\n * (e.g. ``uint128``).\n */\nexport function zeroPadValue(data, length) {\n return zeroPad(data, length, true);\n}\n/**\n * Return the [[DataHexString]] of %%data%% padded on the **right**\n * to %%length%% bytes.\n *\n * If %%data%% already exceeds %%length%%, a [[BufferOverrunError]] is\n * thrown.\n *\n * This pads data the same as **bytes** are in Solidity\n * (e.g. ``bytes16``).\n */\nexport function zeroPadBytes(data, length) {\n return zeroPad(data, length, false);\n}\n","/**\n * Some mathematic operations.\n *\n * @_subsection: api/utils:Math Helpers [about-maths]\n */\nimport { hexlify, isBytesLike } from \"./data.js\";\nimport { assert, assertArgument } from \"./errors.js\";\nconst BN_0 = BigInt(0);\nconst BN_1 = BigInt(1);\n//const BN_Max256 = (BN_1 << BigInt(256)) - BN_1;\n// IEEE 754 support 53-bits of mantissa\nconst maxValue = 0x1fffffffffffff;\n/**\n * Convert %%value%% from a twos-compliment representation of %%width%%\n * bits to its value.\n *\n * If the highest bit is ``1``, the result will be negative.\n */\nexport function fromTwos(_value, _width) {\n const value = getUint(_value, \"value\");\n const width = BigInt(getNumber(_width, \"width\"));\n assert((value >> width) === BN_0, \"overflow\", \"NUMERIC_FAULT\", {\n operation: \"fromTwos\", fault: \"overflow\", value: _value\n });\n // Top bit set; treat as a negative value\n if (value >> (width - BN_1)) {\n const mask = (BN_1 << width) - BN_1;\n return -(((~value) & mask) + BN_1);\n }\n return value;\n}\n/**\n * Convert %%value%% to a twos-compliment representation of\n * %%width%% bits.\n *\n * The result will always be positive.\n */\nexport function toTwos(_value, _width) {\n let value = getBigInt(_value, \"value\");\n const width = BigInt(getNumber(_width, \"width\"));\n const limit = (BN_1 << (width - BN_1));\n if (value < BN_0) {\n value = -value;\n assert(value <= limit, \"too low\", \"NUMERIC_FAULT\", {\n operation: \"toTwos\", fault: \"overflow\", value: _value\n });\n const mask = (BN_1 << width) - BN_1;\n return ((~value) & mask) + BN_1;\n }\n else {\n assert(value < limit, \"too high\", \"NUMERIC_FAULT\", {\n operation: \"toTwos\", fault: \"overflow\", value: _value\n });\n }\n return value;\n}\n/**\n * Mask %%value%% with a bitmask of %%bits%% ones.\n */\nexport function mask(_value, _bits) {\n const value = getUint(_value, \"value\");\n const bits = BigInt(getNumber(_bits, \"bits\"));\n return value & ((BN_1 << bits) - BN_1);\n}\n/**\n * Gets a BigInt from %%value%%. If it is an invalid value for\n * a BigInt, then an ArgumentError will be thrown for %%name%%.\n */\nexport function getBigInt(value, name) {\n switch (typeof (value)) {\n case \"bigint\": return value;\n case \"number\":\n assertArgument(Number.isInteger(value), \"underflow\", name || \"value\", value);\n assertArgument(value >= -maxValue && value <= maxValue, \"overflow\", name || \"value\", value);\n return BigInt(value);\n case \"string\":\n try {\n if (value === \"\") {\n throw new Error(\"empty string\");\n }\n if (value[0] === \"-\" && value[1] !== \"-\") {\n return -BigInt(value.substring(1));\n }\n return BigInt(value);\n }\n catch (e) {\n assertArgument(false, `invalid BigNumberish string: ${e.message}`, name || \"value\", value);\n }\n }\n assertArgument(false, \"invalid BigNumberish value\", name || \"value\", value);\n}\n/**\n * Returns %%value%% as a bigint, validating it is valid as a bigint\n * value and that it is positive.\n */\nexport function getUint(value, name) {\n const result = getBigInt(value, name);\n assert(result >= BN_0, \"unsigned value cannot be negative\", \"NUMERIC_FAULT\", {\n fault: \"overflow\", operation: \"getUint\", value\n });\n return result;\n}\nconst Nibbles = \"0123456789abcdef\";\n/*\n * Converts %%value%% to a BigInt. If %%value%% is a Uint8Array, it\n * is treated as Big Endian data.\n */\nexport function toBigInt(value) {\n if (value instanceof Uint8Array) {\n let result = \"0x0\";\n for (const v of value) {\n result += Nibbles[v >> 4];\n result += Nibbles[v & 0x0f];\n }\n return BigInt(result);\n }\n return getBigInt(value);\n}\n/**\n * Gets a //number// from %%value%%. If it is an invalid value for\n * a //number//, then an ArgumentError will be thrown for %%name%%.\n */\nexport function getNumber(value, name) {\n switch (typeof (value)) {\n case \"bigint\":\n assertArgument(value >= -maxValue && value <= maxValue, \"overflow\", name || \"value\", value);\n return Number(value);\n case \"number\":\n assertArgument(Number.isInteger(value), \"underflow\", name || \"value\", value);\n assertArgument(value >= -maxValue && value <= maxValue, \"overflow\", name || \"value\", value);\n return value;\n case \"string\":\n try {\n if (value === \"\") {\n throw new Error(\"empty string\");\n }\n return getNumber(BigInt(value), name);\n }\n catch (e) {\n assertArgument(false, `invalid numeric string: ${e.message}`, name || \"value\", value);\n }\n }\n assertArgument(false, \"invalid numeric value\", name || \"value\", value);\n}\n/**\n * Converts %%value%% to a number. If %%value%% is a Uint8Array, it\n * is treated as Big Endian data. Throws if the value is not safe.\n */\nexport function toNumber(value) {\n return getNumber(toBigInt(value));\n}\n/**\n * Converts %%value%% to a Big Endian hexstring, optionally padded to\n * %%width%% bytes.\n */\nexport function toBeHex(_value, _width) {\n const value = getUint(_value, \"value\");\n let result = value.toString(16);\n if (_width == null) {\n // Ensure the value is of even length\n if (result.length % 2) {\n result = \"0\" + result;\n }\n }\n else {\n const width = getNumber(_width, \"width\");\n assert(width * 2 >= result.length, `value exceeds width (${width} bytes)`, \"NUMERIC_FAULT\", {\n operation: \"toBeHex\",\n fault: \"overflow\",\n value: _value\n });\n // Pad the value to the required width\n while (result.length < (width * 2)) {\n result = \"0\" + result;\n }\n }\n return \"0x\" + result;\n}\n/**\n * Converts %%value%% to a Big Endian Uint8Array.\n */\nexport function toBeArray(_value) {\n const value = getUint(_value, \"value\");\n if (value === BN_0) {\n return new Uint8Array([]);\n }\n let hex = value.toString(16);\n if (hex.length % 2) {\n hex = \"0\" + hex;\n }\n const result = new Uint8Array(hex.length / 2);\n for (let i = 0; i < result.length; i++) {\n const offset = i * 2;\n result[i] = parseInt(hex.substring(offset, offset + 2), 16);\n }\n return result;\n}\n/**\n * Returns a [[HexString]] for %%value%% safe to use as a //Quantity//.\n *\n * A //Quantity// does not have and leading 0 values unless the value is\n * the literal value `0x0`. This is most commonly used for JSSON-RPC\n * numeric values.\n */\nexport function toQuantity(value) {\n let result = hexlify(isBytesLike(value) ? value : toBeArray(value)).substring(2);\n while (result.startsWith(\"0\")) {\n result = result.substring(1);\n }\n if (result === \"\") {\n result = \"0\";\n }\n return \"0x\" + result;\n}\n","/**\n * The **FixedNumber** class permits using values with decimal places,\n * using fixed-pont math.\n *\n * Fixed-point math is still based on integers under-the-hood, but uses an\n * internal offset to store fractional components below, and each operation\n * corrects for this after each operation.\n *\n * @_section: api/utils/fixed-point-math:Fixed-Point Maths [about-fixed-point-math]\n */\nimport { getBytes } from \"./data.js\";\nimport { assert, assertArgument, assertPrivate } from \"./errors.js\";\nimport { getBigInt, getNumber, fromTwos, mask, toBigInt } from \"./maths.js\";\nimport { defineProperties } from \"./properties.js\";\nconst BN_N1 = BigInt(-1);\nconst BN_0 = BigInt(0);\nconst BN_1 = BigInt(1);\nconst BN_5 = BigInt(5);\nconst _guard = {};\n// Constant to pull zeros from for multipliers\nlet Zeros = \"0000\";\nwhile (Zeros.length < 80) {\n Zeros += Zeros;\n}\n// Returns a string \"1\" followed by decimal \"0\"s\nfunction getTens(decimals) {\n let result = Zeros;\n while (result.length < decimals) {\n result += result;\n }\n return BigInt(\"1\" + result.substring(0, decimals));\n}\nfunction checkValue(val, format, safeOp) {\n const width = BigInt(format.width);\n if (format.signed) {\n const limit = (BN_1 << (width - BN_1));\n assert(safeOp == null || (val >= -limit && val < limit), \"overflow\", \"NUMERIC_FAULT\", {\n operation: safeOp, fault: \"overflow\", value: val\n });\n if (val > BN_0) {\n val = fromTwos(mask(val, width), width);\n }\n else {\n val = -fromTwos(mask(-val, width), width);\n }\n }\n else {\n const limit = (BN_1 << width);\n assert(safeOp == null || (val >= 0 && val < limit), \"overflow\", \"NUMERIC_FAULT\", {\n operation: safeOp, fault: \"overflow\", value: val\n });\n val = (((val % limit) + limit) % limit) & (limit - BN_1);\n }\n return val;\n}\nfunction getFormat(value) {\n if (typeof (value) === \"number\") {\n value = `fixed128x${value}`;\n }\n let signed = true;\n let width = 128;\n let decimals = 18;\n if (typeof (value) === \"string\") {\n // Parse the format string\n if (value === \"fixed\") {\n // defaults...\n }\n else if (value === \"ufixed\") {\n signed = false;\n }\n else {\n const match = value.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);\n assertArgument(match, \"invalid fixed format\", \"format\", value);\n signed = (match[1] !== \"u\");\n width = parseInt(match[2]);\n decimals = parseInt(match[3]);\n }\n }\n else if (value) {\n // Extract the values from the object\n const v = value;\n const check = (key, type, defaultValue) => {\n if (v[key] == null) {\n return defaultValue;\n }\n assertArgument(typeof (v[key]) === type, \"invalid fixed format (\" + key + \" not \" + type + \")\", \"format.\" + key, v[key]);\n return v[key];\n };\n signed = check(\"signed\", \"boolean\", signed);\n width = check(\"width\", \"number\", width);\n decimals = check(\"decimals\", \"number\", decimals);\n }\n assertArgument((width % 8) === 0, \"invalid FixedNumber width (not byte aligned)\", \"format.width\", width);\n assertArgument(decimals <= 80, \"invalid FixedNumber decimals (too large)\", \"format.decimals\", decimals);\n const name = (signed ? \"\" : \"u\") + \"fixed\" + String(width) + \"x\" + String(decimals);\n return { signed, width, decimals, name };\n}\nfunction toString(val, decimals) {\n let negative = \"\";\n if (val < BN_0) {\n negative = \"-\";\n val *= BN_N1;\n }\n let str = val.toString();\n // No decimal point for whole values\n if (decimals === 0) {\n return (negative + str);\n }\n // Pad out to the whole component (including a whole digit)\n while (str.length <= decimals) {\n str = Zeros + str;\n }\n // Insert the decimal point\n const index = str.length - decimals;\n str = str.substring(0, index) + \".\" + str.substring(index);\n // Trim the whole component (leaving at least one 0)\n while (str[0] === \"0\" && str[1] !== \".\") {\n str = str.substring(1);\n }\n // Trim the decimal component (leaving at least one 0)\n while (str[str.length - 1] === \"0\" && str[str.length - 2] !== \".\") {\n str = str.substring(0, str.length - 1);\n }\n return (negative + str);\n}\n/**\n * A FixedNumber represents a value over its [[FixedFormat]]\n * arithmetic field.\n *\n * A FixedNumber can be used to perform math, losslessly, on\n * values which have decmial places.\n *\n * A FixedNumber has a fixed bit-width to store values in, and stores all\n * values internally by multiplying the value by 10 raised to the power of\n * %%decimals%%.\n *\n * If operations are performed that cause a value to grow too high (close to\n * positive infinity) or too low (close to negative infinity), the value\n * is said to //overflow//.\n *\n * For example, an 8-bit signed value, with 0 decimals may only be within\n * the range ``-128`` to ``127``; so ``-128 - 1`` will overflow and become\n * ``127``. Likewise, ``127 + 1`` will overflow and become ``-127``.\n *\n * Many operation have a normal and //unsafe// variant. The normal variant\n * will throw a [[NumericFaultError]] on any overflow, while the //unsafe//\n * variant will silently allow overflow, corrupting its value value.\n *\n * If operations are performed that cause a value to become too small\n * (close to zero), the value loses precison and is said to //underflow//.\n *\n * For example, an value with 1 decimal place may store a number as small\n * as ``0.1``, but the value of ``0.1 / 2`` is ``0.05``, which cannot fit\n * into 1 decimal place, so underflow occurs which means precision is lost\n * and the value becomes ``0``.\n *\n * Some operations have a normal and //signalling// variant. The normal\n * variant will silently ignore underflow, while the //signalling// variant\n * will thow a [[NumericFaultError]] on underflow.\n */\nexport class FixedNumber {\n /**\n * The specific fixed-point arithmetic field for this value.\n */\n format;\n #format;\n // The actual value (accounting for decimals)\n #val;\n // A base-10 value to multiple values by to maintain the magnitude\n #tens;\n /**\n * This is a property so console.log shows a human-meaningful value.\n *\n * @private\n */\n _value;\n // Use this when changing this file to get some typing info,\n // but then switch to any to mask the internal type\n //constructor(guard: any, value: bigint, format: _FixedFormat) {\n /**\n * @private\n */\n constructor(guard, value, format) {\n assertPrivate(guard, _guard, \"FixedNumber\");\n this.#val = value;\n this.#format = format;\n const _value = toString(value, format.decimals);\n defineProperties(this, { format: format.name, _value });\n this.#tens = getTens(format.decimals);\n }\n /**\n * If true, negative values are permitted, otherwise only\n * positive values and zero are allowed.\n */\n get signed() { return this.#format.signed; }\n /**\n * The number of bits available to store the value.\n */\n get width() { return this.#format.width; }\n /**\n * The number of decimal places in the fixed-point arithment field.\n */\n get decimals() { return this.#format.decimals; }\n /**\n * The value as an integer, based on the smallest unit the\n * [[decimals]] allow.\n */\n get value() { return this.#val; }\n #checkFormat(other) {\n assertArgument(this.format === other.format, \"incompatible format; use fixedNumber.toFormat\", \"other\", other);\n }\n #checkValue(val, safeOp) {\n /*\n const width = BigInt(this.width);\n if (this.signed) {\n const limit = (BN_1 << (width - BN_1));\n assert(safeOp == null || (val >= -limit && val < limit), \"overflow\", \"NUMERIC_FAULT\", {\n operation: safeOp, fault: \"overflow\", value: val\n });\n \n if (val > BN_0) {\n val = fromTwos(mask(val, width), width);\n } else {\n val = -fromTwos(mask(-val, width), width);\n }\n \n } else {\n const masked = mask(val, width);\n assert(safeOp == null || (val >= 0 && val === masked), \"overflow\", \"NUMERIC_FAULT\", {\n operation: safeOp, fault: \"overflow\", value: val\n });\n val = masked;\n }\n */\n val = checkValue(val, this.#format, safeOp);\n return new FixedNumber(_guard, val, this.#format);\n }\n #add(o, safeOp) {\n this.#checkFormat(o);\n return this.#checkValue(this.#val + o.#val, safeOp);\n }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% added\n * to %%other%%, ignoring overflow.\n */\n addUnsafe(other) { return this.#add(other); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% added\n * to %%other%%. A [[NumericFaultError]] is thrown if overflow\n * occurs.\n */\n add(other) { return this.#add(other, \"add\"); }\n #sub(o, safeOp) {\n this.#checkFormat(o);\n return this.#checkValue(this.#val - o.#val, safeOp);\n }\n /**\n * Returns a new [[FixedNumber]] with the result of %%other%% subtracted\n * from %%this%%, ignoring overflow.\n */\n subUnsafe(other) { return this.#sub(other); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%other%% subtracted\n * from %%this%%. A [[NumericFaultError]] is thrown if overflow\n * occurs.\n */\n sub(other) { return this.#sub(other, \"sub\"); }\n #mul(o, safeOp) {\n this.#checkFormat(o);\n return this.#checkValue((this.#val * o.#val) / this.#tens, safeOp);\n }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% multiplied\n * by %%other%%, ignoring overflow and underflow (precision loss).\n */\n mulUnsafe(other) { return this.#mul(other); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% multiplied\n * by %%other%%. A [[NumericFaultError]] is thrown if overflow\n * occurs.\n */\n mul(other) { return this.#mul(other, \"mul\"); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% multiplied\n * by %%other%%. A [[NumericFaultError]] is thrown if overflow\n * occurs or if underflow (precision loss) occurs.\n */\n mulSignal(other) {\n this.#checkFormat(other);\n const value = this.#val * other.#val;\n assert((value % this.#tens) === BN_0, \"precision lost during signalling mul\", \"NUMERIC_FAULT\", {\n operation: \"mulSignal\", fault: \"underflow\", value: this\n });\n return this.#checkValue(value / this.#tens, \"mulSignal\");\n }\n #div(o, safeOp) {\n assert(o.#val !== BN_0, \"division by zero\", \"NUMERIC_FAULT\", {\n operation: \"div\", fault: \"divide-by-zero\", value: this\n });\n this.#checkFormat(o);\n return this.#checkValue((this.#val * this.#tens) / o.#val, safeOp);\n }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% divided\n * by %%other%%, ignoring underflow (precision loss). A\n * [[NumericFaultError]] is thrown if overflow occurs.\n */\n divUnsafe(other) { return this.#div(other); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% divided\n * by %%other%%, ignoring underflow (precision loss). A\n * [[NumericFaultError]] is thrown if overflow occurs.\n */\n div(other) { return this.#div(other, \"div\"); }\n /**\n * Returns a new [[FixedNumber]] with the result of %%this%% divided\n * by %%other%%. A [[NumericFaultError]] is thrown if underflow\n * (precision loss) occurs.\n */\n divSignal(other) {\n assert(other.#val !== BN_0, \"division by zero\", \"NUMERIC_FAULT\", {\n operation: \"div\", fault: \"divide-by-zero\", value: this\n });\n this.#checkFormat(other);\n const value = (this.#val * this.#tens);\n assert((value % other.#val) === BN_0, \"precision lost during signalling div\", \"NUMERIC_FAULT\", {\n operation: \"divSignal\", fault: \"underflow\", value: this\n });\n return this.#checkValue(value / other.#val, \"divSignal\");\n }\n /**\n * Returns a comparison result between %%this%% and %%other%%.\n *\n * This is suitable for use in sorting, where ``-1`` implies %%this%%\n * is smaller, ``1`` implies %%this%% is larger and ``0`` implies\n * both are equal.\n */\n cmp(other) {\n let a = this.value, b = other.value;\n // Coerce a and b to the same magnitude\n const delta = this.decimals - other.decimals;\n if (delta > 0) {\n b *= getTens(delta);\n }\n else if (delta < 0) {\n a *= getTens(-delta);\n }\n // Comnpare\n if (a < b) {\n return -1;\n }\n if (a > b) {\n return 1;\n }\n return 0;\n }\n /**\n * Returns true if %%other%% is equal to %%this%%.\n */\n eq(other) { return this.cmp(other) === 0; }\n /**\n * Returns true if %%other%% is less than to %%this%%.\n */\n lt(other) { return this.cmp(other) < 0; }\n /**\n * Returns true if %%other%% is less than or equal to %%this%%.\n */\n lte(other) { return this.cmp(other) <= 0; }\n /**\n * Returns true if %%other%% is greater than to %%this%%.\n */\n gt(other) { return this.cmp(other) > 0; }\n /**\n * Returns true if %%other%% is greater than or equal to %%this%%.\n */\n gte(other) { return this.cmp(other) >= 0; }\n /**\n * Returns a new [[FixedNumber]] which is the largest **integer**\n * that is less than or equal to %%this%%.\n *\n * The decimal component of the result will always be ``0``.\n */\n floor() {\n let val = this.#val;\n if (this.#val < BN_0) {\n val -= this.#tens - BN_1;\n }\n val = (this.#val / this.#tens) * this.#tens;\n return this.#checkValue(val, \"floor\");\n }\n /**\n * Returns a new [[FixedNumber]] which is the smallest **integer**\n * that is greater than or equal to %%this%%.\n *\n * The decimal component of the result will always be ``0``.\n */\n ceiling() {\n let val = this.#val;\n if (this.#val > BN_0) {\n val += this.#tens - BN_1;\n }\n val = (this.#val / this.#tens) * this.#tens;\n return this.#checkValue(val, \"ceiling\");\n }\n /**\n * Returns a new [[FixedNumber]] with the decimal component\n * rounded up on ties at %%decimals%% places.\n */\n round(decimals) {\n if (decimals == null) {\n decimals = 0;\n }\n // Not enough precision to not already be rounded\n if (decimals >= this.decimals) {\n return this;\n }\n const delta = this.decimals - decimals;\n const bump = BN_5 * getTens(delta - 1);\n let value = this.value + bump;\n const tens = getTens(delta);\n value = (value / tens) * tens;\n checkValue(value, this.#format, \"round\");\n return new FixedNumber(_guard, value, this.#format);\n }\n /**\n * Returns true if %%this%% is equal to ``0``.\n */\n isZero() { return (this.#val === BN_0); }\n /**\n * Returns true if %%this%% is less than ``0``.\n */\n isNegative() { return (this.#val < BN_0); }\n /**\n * Returns the string representation of %%this%%.\n */\n toString() { return this._value; }\n /**\n * Returns a float approximation.\n *\n * Due to IEEE 754 precission (or lack thereof), this function\n * can only return an approximation and most values will contain\n * rounding errors.\n */\n toUnsafeFloat() { return parseFloat(this.toString()); }\n /**\n * Return a new [[FixedNumber]] with the same value but has had\n * its field set to %%format%%.\n *\n * This will throw if the value cannot fit into %%format%%.\n */\n toFormat(format) {\n return FixedNumber.fromString(this.toString(), format);\n }\n /**\n * Creates a new [[FixedNumber]] for %%value%% divided by\n * %%decimal%% places with %%format%%.\n *\n * This will throw a [[NumericFaultError]] if %%value%% (once adjusted\n * for %%decimals%%) cannot fit in %%format%%, either due to overflow\n * or underflow (precision loss).\n */\n static fromValue(_value, _decimals, _format) {\n const decimals = (_decimals == null) ? 0 : getNumber(_decimals);\n const format = getFormat(_format);\n let value = getBigInt(_value, \"value\");\n const delta = decimals - format.decimals;\n if (delta > 0) {\n const tens = getTens(delta);\n assert((value % tens) === BN_0, \"value loses precision for format\", \"NUMERIC_FAULT\", {\n operation: \"fromValue\", fault: \"underflow\", value: _value\n });\n value /= tens;\n }\n else if (delta < 0) {\n value *= getTens(-delta);\n }\n checkValue(value, format, \"fromValue\");\n return new FixedNumber(_guard, value, format);\n }\n /**\n * Creates a new [[FixedNumber]] for %%value%% with %%format%%.\n *\n * This will throw a [[NumericFaultError]] if %%value%% cannot fit\n * in %%format%%, either due to overflow or underflow (precision loss).\n */\n static fromString(_value, _format) {\n const match = _value.match(/^(-?)([0-9]*)\\.?([0-9]*)$/);\n assertArgument(match && (match[2].length + match[3].length) > 0, \"invalid FixedNumber string value\", \"value\", _value);\n const format = getFormat(_format);\n let whole = (match[2] || \"0\"), decimal = (match[3] || \"\");\n // Pad out the decimals\n while (decimal.length < format.decimals) {\n decimal += Zeros;\n }\n // Check precision is safe\n assert(decimal.substring(format.decimals).match(/^0*$/), \"too many decimals for format\", \"NUMERIC_FAULT\", {\n operation: \"fromString\", fault: \"underflow\", value: _value\n });\n // Remove extra padding\n decimal = decimal.substring(0, format.decimals);\n const value = BigInt(match[1] + whole + decimal);\n checkValue(value, format, \"fromString\");\n return new FixedNumber(_guard, value, format);\n }\n /**\n * Creates a new [[FixedNumber]] with the big-endian representation\n * %%value%% with %%format%%.\n *\n * This will throw a [[NumericFaultError]] if %%value%% cannot fit\n * in %%format%% due to overflow.\n */\n static fromBytes(_value, _format) {\n let value = toBigInt(getBytes(_value, \"value\"));\n const format = getFormat(_format);\n if (format.signed) {\n value = fromTwos(value, format.width);\n }\n checkValue(value, format, \"fromBytes\");\n return new FixedNumber(_guard, value, format);\n }\n}\n//const f1 = FixedNumber.fromString(\"12.56\", \"fixed16x2\");\n//const f2 = FixedNumber.fromString(\"0.3\", \"fixed16x2\");\n//console.log(f1.divSignal(f2));\n//const BUMP = FixedNumber.from(\"0.5\");\n","/**\n * Most interactions with Ethereum requires integer values, which use\n * the smallest magnitude unit.\n *\n * For example, imagine dealing with dollars and cents. Since dollars\n * are divisible, non-integer values are possible, such as ``$10.77``.\n * By using the smallest indivisible unit (i.e. cents), the value can\n * be kept as the integer ``1077``.\n *\n * When receiving decimal input from the user (as a decimal string),\n * the value should be converted to an integer and when showing a user\n * a value, the integer value should be converted to a decimal string.\n *\n * This creates a clear distinction, between values to be used by code\n * (integers) and values used for display logic to users (decimals).\n *\n * The native unit in Ethereum, //ether// is divisible to 18 decimal places,\n * where each individual unit is called a //wei//.\n *\n * @_subsection api/utils:Unit Conversion [about-units]\n */\nimport { assertArgument } from \"./errors.js\";\nimport { FixedNumber } from \"./fixednumber.js\";\nimport { getNumber } from \"./maths.js\";\nconst names = [\n \"wei\",\n \"kwei\",\n \"mwei\",\n \"gwei\",\n \"szabo\",\n \"finney\",\n \"ether\",\n];\n/**\n * Converts %%value%% into a //decimal string//, assuming %%unit%% decimal\n * places. The %%unit%% may be the number of decimal places or the name of\n * a unit (e.g. ``\"gwei\"`` for 9 decimal places).\n *\n */\nexport function formatUnits(value, unit) {\n let decimals = 18;\n if (typeof (unit) === \"string\") {\n const index = names.indexOf(unit);\n assertArgument(index >= 0, \"invalid unit\", \"unit\", unit);\n decimals = 3 * index;\n }\n else if (unit != null) {\n decimals = getNumber(unit, \"unit\");\n }\n return FixedNumber.fromValue(value, decimals, { decimals, width: 512 }).toString();\n}\n/**\n * Converts the //decimal string// %%value%% to a BigInt, assuming\n * %%unit%% decimal places. The %%unit%% may the number of decimal places\n * or the name of a unit (e.g. ``\"gwei\"`` for 9 decimal places).\n */\nexport function parseUnits(value, unit) {\n assertArgument(typeof (value) === \"string\", \"value must be a string\", \"value\", value);\n let decimals = 18;\n if (typeof (unit) === \"string\") {\n const index = names.indexOf(unit);\n assertArgument(index >= 0, \"invalid unit\", \"unit\", unit);\n decimals = 3 * index;\n }\n else if (unit != null) {\n decimals = getNumber(unit, \"unit\");\n }\n return FixedNumber.fromString(value, { decimals, width: 512 }).value;\n}\n/**\n * Converts %%value%% into a //decimal string// using 18 decimal places.\n */\nexport function formatEther(wei) {\n return formatUnits(wei, 18);\n}\n/**\n * Converts the //decimal string// %%ether%% to a BigInt, using 18\n * decimal places.\n */\nexport function parseEther(ether) {\n return parseUnits(ether, 18);\n}\n","/* Browser Crypto Shims */\nimport { hmac } from \"@noble/hashes/hmac\";\nimport { pbkdf2 } from \"@noble/hashes/pbkdf2\";\nimport { sha256 } from \"@noble/hashes/sha256\";\nimport { sha512 } from \"@noble/hashes/sha512\";\nimport { assert, assertArgument } from \"../utils/index.js\";\nfunction getGlobal() {\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n throw new Error('unable to locate global object');\n}\n;\nconst anyGlobal = getGlobal();\nconst crypto = anyGlobal.crypto || anyGlobal.msCrypto;\nexport function createHash(algo) {\n switch (algo) {\n case \"sha256\": return sha256.create();\n case \"sha512\": return sha512.create();\n }\n assertArgument(false, \"invalid hashing algorithm name\", \"algorithm\", algo);\n}\nexport function createHmac(_algo, key) {\n const algo = ({ sha256, sha512 }[_algo]);\n assertArgument(algo != null, \"invalid hmac algorithm\", \"algorithm\", _algo);\n return hmac.create(algo, key);\n}\nexport function pbkdf2Sync(password, salt, iterations, keylen, _algo) {\n const algo = ({ sha256, sha512 }[_algo]);\n assertArgument(algo != null, \"invalid pbkdf2 algorithm\", \"algorithm\", _algo);\n return pbkdf2(algo, password, salt, { c: iterations, dkLen: keylen });\n}\nexport function randomBytes(length) {\n assert(crypto != null, \"platform does not support secure random numbers\", \"UNSUPPORTED_OPERATION\", {\n operation: \"randomBytes\"\n });\n assertArgument(Number.isInteger(length) && length > 0 && length <= 1024, \"invalid length\", \"length\", length);\n const result = new Uint8Array(length);\n crypto.getRandomValues(result);\n return result;\n}\n","/**\n * A **Cryptographically Secure Random Value** is one that has been\n * generated with additional care take to prevent side-channels\n * from allowing others to detect it and prevent others from through\n * coincidence generate the same values.\n *\n * @_subsection: api/crypto:Random Values [about-crypto-random]\n */\nimport { randomBytes as crypto_random } from \"./crypto.js\";\nlet locked = false;\nconst _randomBytes = function (length) {\n return new Uint8Array(crypto_random(length));\n};\nlet __randomBytes = _randomBytes;\n/**\n * Return %%length%% bytes of cryptographically secure random data.\n *\n * @example:\n * randomBytes(8)\n * //_result:\n */\nexport function randomBytes(length) {\n return __randomBytes(length);\n}\nrandomBytes._ = _randomBytes;\nrandomBytes.lock = function () { locked = true; };\nrandomBytes.register = function (func) {\n if (locked) {\n throw new Error(\"randomBytes is locked\");\n }\n __randomBytes = func;\n};\nObject.freeze(randomBytes);\n","function number(n) {\n if (!Number.isSafeInteger(n) || n < 0)\n throw new Error(`Wrong positive integer: ${n}`);\n}\nfunction bool(b) {\n if (typeof b !== 'boolean')\n throw new Error(`Expected boolean, not ${b}`);\n}\nfunction bytes(b, ...lengths) {\n if (!(b instanceof Uint8Array))\n throw new Error('Expected Uint8Array');\n if (lengths.length > 0 && !lengths.includes(b.length))\n throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);\n}\nfunction hash(hash) {\n if (typeof hash !== 'function' || typeof hash.create !== 'function')\n throw new Error('Hash should be wrapped by utils.wrapConstructor');\n number(hash.outputLen);\n number(hash.blockLen);\n}\nfunction exists(instance, checkFinished = true) {\n if (instance.destroyed)\n throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished)\n throw new Error('Hash#digest() has already been called');\n}\nfunction output(out, instance) {\n bytes(out);\n const min = instance.outputLen;\n if (out.length < min) {\n throw new Error(`digestInto() expects output buffer of length at least ${min}`);\n }\n}\nexport { number, bool, bytes, hash, exists, output };\nconst assert = { number, bool, bytes, hash, exists, output };\nexport default assert;\n","const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n// We are not using BigUint64Array, because they are extremely slow as per 2022\nfunction fromBig(n, le = false) {\n if (le)\n return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\nfunction split(lst, le = false) {\n let Ah = new Uint32Array(lst.length);\n let Al = new Uint32Array(lst.length);\n for (let i = 0; i < lst.length; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\nconst toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// for Shift in [0, 32)\nconst shrSH = (h, _l, s) => h >>> s;\nconst shrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in [1, 32)\nconst rotrSH = (h, l, s) => (h >>> s) | (l << (32 - s));\nconst rotrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotrBH = (h, l, s) => (h << (64 - s)) | (l >>> (s - 32));\nconst rotrBL = (h, l, s) => (h >>> (s - 32)) | (l << (64 - s));\n// Right rotate for shift===32 (just swaps l&h)\nconst rotr32H = (_h, l) => l;\nconst rotr32L = (h, _l) => h;\n// Left rotate for Shift in [1, 32)\nconst rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));\nconst rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));\n// Left rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));\nconst rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));\n// JS uses 32-bit signed integers for bitwise operations which means we cannot\n// simple take carry out of low bit sum by shift, we need to use division.\nfunction add(Ah, Al, Bh, Bl) {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\nconst add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\nconst add3H = (low, Ah, Bh, Ch) => (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\nconst add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\nconst add4H = (low, Ah, Bh, Ch, Dh) => (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\nconst add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\nconst add5H = (low, Ah, Bh, Ch, Dh, Eh) => (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0)) | 0;\n// prettier-ignore\nexport { fromBig, split, toBig, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, rotlSH, rotlSL, rotlBH, rotlBL, add, add3L, add3H, add4L, add4H, add5H, add5L, };\n// prettier-ignore\nconst u64 = {\n fromBig, split, toBig,\n shrSH, shrSL,\n rotrSH, rotrSL, rotrBH, rotrBL,\n rotr32H, rotr32L,\n rotlSH, rotlSL, rotlBH, rotlBL,\n add, add3L, add3H, add4L, add4H, add5H, add5L,\n};\nexport default u64;\n","export const crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;\n","/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.\n// node.js versions earlier than v19 don't declare it in global scope.\n// For node.js, package.json#exports field mapping rewrites import\n// from `crypto` to `cryptoNode`, which imports native module.\n// Makes the utils un-importable in browsers without a bundler.\n// Once node.js 18 is deprecated, we can just drop the import.\nimport { crypto } from '@noble/hashes/crypto';\nconst u8a = (a) => a instanceof Uint8Array;\n// Cast array to different type\nexport const u8 = (arr) => new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\nexport const u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n// Cast array to view\nexport const createView = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n// The rotate right (circular right shift) operation for uint32\nexport const rotr = (word, shift) => (word << (32 - shift)) | (word >>> shift);\n// big-endian hardware is rare. Just in case someone still decides to run hashes:\n// early-throw an error because we don't support BE yet.\nexport const isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;\nif (!isLE)\n throw new Error('Non little-endian hardware is not supported');\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nexport function bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nexport function hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// There is no setImmediate in browser and setTimeout is slow.\n// call of async fn will return Promise, which will be fullfiled only on\n// next scheduler queue processing step and this is exactly what we need.\nexport const nextTick = async () => { };\n// Returns control to thread each 'tick' ms to avoid blocking\nexport async function asyncLoop(iters, tick, cb) {\n let ts = Date.now();\n for (let i = 0; i < iters; i++) {\n cb(i);\n // Date.now() is not monotonic, so in case if clock goes backwards we return return control too\n const diff = Date.now() - ts;\n if (diff >= 0 && diff < tick)\n continue;\n await nextTick();\n ts += diff;\n }\n}\n/**\n * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])\n */\nexport function utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new Error(`utf8ToBytes expected string, got ${typeof str}`);\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n/**\n * Normalizes (non-hex) string or Uint8Array to Uint8Array.\n * Warning: when Uint8Array is passed, it would NOT get copied.\n * Keep in mind for future mutable operations.\n */\nexport function toBytes(data) {\n if (typeof data === 'string')\n data = utf8ToBytes(data);\n if (!u8a(data))\n throw new Error(`expected Uint8Array, got ${typeof data}`);\n return data;\n}\n/**\n * Copies several Uint8Arrays into one.\n */\nexport function concatBytes(...arrays) {\n const r = new Uint8Array(arrays.reduce((sum, a) => sum + a.length, 0));\n let pad = 0; // walk through each item, ensure they have proper type\n arrays.forEach((a) => {\n if (!u8a(a))\n throw new Error('Uint8Array expected');\n r.set(a, pad);\n pad += a.length;\n });\n return r;\n}\n// For runtime check if class implements interface\nexport class Hash {\n // Safe version that clones internal state\n clone() {\n return this._cloneInto();\n }\n}\nconst toStr = {}.toString;\nexport function checkOpts(defaults, opts) {\n if (opts !== undefined && toStr.call(opts) !== '[object Object]')\n throw new Error('Options should be object or undefined');\n const merged = Object.assign(defaults, opts);\n return merged;\n}\nexport function wrapConstructor(hashCons) {\n const hashC = (msg) => hashCons().update(toBytes(msg)).digest();\n const tmp = hashCons();\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = () => hashCons();\n return hashC;\n}\nexport function wrapConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\nexport function wrapXOFConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\n/**\n * Secure PRNG. Uses `crypto.getRandomValues`, which defers to OS.\n */\nexport function randomBytes(bytesLength = 32) {\n if (crypto && typeof crypto.getRandomValues === 'function') {\n return crypto.getRandomValues(new Uint8Array(bytesLength));\n }\n throw new Error('crypto.getRandomValues must be defined');\n}\n","import { bytes, exists, number, output } from './_assert.js';\nimport { rotlBH, rotlBL, rotlSH, rotlSL, split } from './_u64.js';\nimport { Hash, u32, toBytes, wrapConstructor, wrapXOFConstructorWithOpts, } from './utils.js';\n// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.\n// It's called a sponge function.\n// Various per round constants calculations\nconst [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];\nconst _0n = /* @__PURE__ */ BigInt(0);\nconst _1n = /* @__PURE__ */ BigInt(1);\nconst _2n = /* @__PURE__ */ BigInt(2);\nconst _7n = /* @__PURE__ */ BigInt(7);\nconst _256n = /* @__PURE__ */ BigInt(256);\nconst _0x71n = /* @__PURE__ */ BigInt(0x71);\nfor (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {\n // Pi\n [x, y] = [y, (2 * x + 3 * y) % 5];\n SHA3_PI.push(2 * (5 * y + x));\n // Rotational\n SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);\n // Iota\n let t = _0n;\n for (let j = 0; j < 7; j++) {\n R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;\n if (R & _2n)\n t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);\n }\n _SHA3_IOTA.push(t);\n}\nconst [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);\n// Left rotation (without 0, 32, 64)\nconst rotlH = (h, l, s) => (s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s));\nconst rotlL = (h, l, s) => (s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s));\n// Same as keccakf1600, but allows to skip some rounds\nexport function keccakP(s, rounds = 24) {\n const B = new Uint32Array(5 * 2);\n // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)\n for (let round = 24 - rounds; round < 24; round++) {\n // Theta θ\n for (let x = 0; x < 10; x++)\n B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];\n for (let x = 0; x < 10; x += 2) {\n const idx1 = (x + 8) % 10;\n const idx0 = (x + 2) % 10;\n const B0 = B[idx0];\n const B1 = B[idx0 + 1];\n const Th = rotlH(B0, B1, 1) ^ B[idx1];\n const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];\n for (let y = 0; y < 50; y += 10) {\n s[x + y] ^= Th;\n s[x + y + 1] ^= Tl;\n }\n }\n // Rho (ρ) and Pi (π)\n let curH = s[2];\n let curL = s[3];\n for (let t = 0; t < 24; t++) {\n const shift = SHA3_ROTL[t];\n const Th = rotlH(curH, curL, shift);\n const Tl = rotlL(curH, curL, shift);\n const PI = SHA3_PI[t];\n curH = s[PI];\n curL = s[PI + 1];\n s[PI] = Th;\n s[PI + 1] = Tl;\n }\n // Chi (χ)\n for (let y = 0; y < 50; y += 10) {\n for (let x = 0; x < 10; x++)\n B[x] = s[y + x];\n for (let x = 0; x < 10; x++)\n s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];\n }\n // Iota (ι)\n s[0] ^= SHA3_IOTA_H[round];\n s[1] ^= SHA3_IOTA_L[round];\n }\n B.fill(0);\n}\nexport class Keccak extends Hash {\n // NOTE: we accept arguments in bytes instead of bits here.\n constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {\n super();\n this.blockLen = blockLen;\n this.suffix = suffix;\n this.outputLen = outputLen;\n this.enableXOF = enableXOF;\n this.rounds = rounds;\n this.pos = 0;\n this.posOut = 0;\n this.finished = false;\n this.destroyed = false;\n // Can be passed from user as dkLen\n number(outputLen);\n // 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes\n if (0 >= this.blockLen || this.blockLen >= 200)\n throw new Error('Sha3 supports only keccak-f1600 function');\n this.state = new Uint8Array(200);\n this.state32 = u32(this.state);\n }\n keccak() {\n keccakP(this.state32, this.rounds);\n this.posOut = 0;\n this.pos = 0;\n }\n update(data) {\n exists(this);\n const { blockLen, state } = this;\n data = toBytes(data);\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n for (let i = 0; i < take; i++)\n state[this.pos++] ^= data[pos++];\n if (this.pos === blockLen)\n this.keccak();\n }\n return this;\n }\n finish() {\n if (this.finished)\n return;\n this.finished = true;\n const { state, suffix, pos, blockLen } = this;\n // Do the padding\n state[pos] ^= suffix;\n if ((suffix & 0x80) !== 0 && pos === blockLen - 1)\n this.keccak();\n state[blockLen - 1] ^= 0x80;\n this.keccak();\n }\n writeInto(out) {\n exists(this, false);\n bytes(out);\n this.finish();\n const bufferOut = this.state;\n const { blockLen } = this;\n for (let pos = 0, len = out.length; pos < len;) {\n if (this.posOut >= blockLen)\n this.keccak();\n const take = Math.min(blockLen - this.posOut, len - pos);\n out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);\n this.posOut += take;\n pos += take;\n }\n return out;\n }\n xofInto(out) {\n // Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF\n if (!this.enableXOF)\n throw new Error('XOF is not possible for this instance');\n return this.writeInto(out);\n }\n xof(bytes) {\n number(bytes);\n return this.xofInto(new Uint8Array(bytes));\n }\n digestInto(out) {\n output(out, this);\n if (this.finished)\n throw new Error('digest() was already called');\n this.writeInto(out);\n this.destroy();\n return out;\n }\n digest() {\n return this.digestInto(new Uint8Array(this.outputLen));\n }\n destroy() {\n this.destroyed = true;\n this.state.fill(0);\n }\n _cloneInto(to) {\n const { blockLen, suffix, outputLen, rounds, enableXOF } = this;\n to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));\n to.state32.set(this.state32);\n to.pos = this.pos;\n to.posOut = this.posOut;\n to.finished = this.finished;\n to.rounds = rounds;\n // Suffix can change in cSHAKE\n to.suffix = suffix;\n to.outputLen = outputLen;\n to.enableXOF = enableXOF;\n to.destroyed = this.destroyed;\n return to;\n }\n}\nconst gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));\nexport const sha3_224 = /* @__PURE__ */ gen(0x06, 144, 224 / 8);\n/**\n * SHA3-256 hash function\n * @param message - that would be hashed\n */\nexport const sha3_256 = /* @__PURE__ */ gen(0x06, 136, 256 / 8);\nexport const sha3_384 = /* @__PURE__ */ gen(0x06, 104, 384 / 8);\nexport const sha3_512 = /* @__PURE__ */ gen(0x06, 72, 512 / 8);\nexport const keccak_224 = /* @__PURE__ */ gen(0x01, 144, 224 / 8);\n/**\n * keccak-256 hash function. Different from SHA3-256.\n * @param message - that would be hashed\n */\nexport const keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);\nexport const keccak_384 = /* @__PURE__ */ gen(0x01, 104, 384 / 8);\nexport const keccak_512 = /* @__PURE__ */ gen(0x01, 72, 512 / 8);\nconst genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts = {}) => new Keccak(blockLen, suffix, opts.dkLen === undefined ? outputLen : opts.dkLen, true));\nexport const shake128 = /* @__PURE__ */ genShake(0x1f, 168, 128 / 8);\nexport const shake256 = /* @__PURE__ */ genShake(0x1f, 136, 256 / 8);\n","/**\n * Cryptographic hashing functions\n *\n * @_subsection: api/crypto:Hash Functions [about-crypto-hashing]\n */\nimport { keccak_256 } from \"@noble/hashes/sha3\";\nimport { getBytes, hexlify } from \"../utils/index.js\";\nlet locked = false;\nconst _keccak256 = function (data) {\n return keccak_256(data);\n};\nlet __keccak256 = _keccak256;\n/**\n * Compute the cryptographic KECCAK256 hash of %%data%%.\n *\n * The %%data%% **must** be a data representation, to compute the\n * hash of UTF-8 data use the [[id]] function.\n *\n * @returns DataHexstring\n * @example:\n * keccak256(\"0x\")\n * //_result:\n *\n * keccak256(\"0x1337\")\n * //_result:\n *\n * keccak256(new Uint8Array([ 0x13, 0x37 ]))\n * //_result:\n *\n * // Strings are assumed to be DataHexString, otherwise it will\n * // throw. To hash UTF-8 data, see the note above.\n * keccak256(\"Hello World\")\n * //_error:\n */\nexport function keccak256(_data) {\n const data = getBytes(_data, \"data\");\n return hexlify(__keccak256(data));\n}\nkeccak256._ = _keccak256;\nkeccak256.lock = function () { locked = true; };\nkeccak256.register = function (func) {\n if (locked) {\n throw new TypeError(\"keccak256 is locked\");\n }\n __keccak256 = func;\n};\nObject.freeze(keccak256);\n","import { keccak256 } from \"../crypto/index.js\";\nimport { getBytes, assertArgument } from \"../utils/index.js\";\nconst BN_0 = BigInt(0);\nconst BN_36 = BigInt(36);\nfunction getChecksumAddress(address) {\n // if (!isHexString(address, 20)) {\n // logger.throwArgumentError(\"invalid address\", \"address\", address);\n // }\n address = address.toLowerCase();\n const chars = address.substring(2).split(\"\");\n const expanded = new Uint8Array(40);\n for (let i = 0; i < 40; i++) {\n expanded[i] = chars[i].charCodeAt(0);\n }\n const hashed = getBytes(keccak256(expanded));\n for (let i = 0; i < 40; i += 2) {\n if ((hashed[i >> 1] >> 4) >= 8) {\n chars[i] = chars[i].toUpperCase();\n }\n if ((hashed[i >> 1] & 0x0f) >= 8) {\n chars[i + 1] = chars[i + 1].toUpperCase();\n }\n }\n return \"0x\" + chars.join(\"\");\n}\n// See: https://en.wikipedia.org/wiki/International_Bank_Account_Number\n// Create lookup table\nconst ibanLookup = {};\nfor (let i = 0; i < 10; i++) {\n ibanLookup[String(i)] = String(i);\n}\nfor (let i = 0; i < 26; i++) {\n ibanLookup[String.fromCharCode(65 + i)] = String(10 + i);\n}\n// How many decimal digits can we process? (for 64-bit float, this is 15)\n// i.e. Math.floor(Math.log10(Number.MAX_SAFE_INTEGER));\nconst safeDigits = 15;\nfunction ibanChecksum(address) {\n address = address.toUpperCase();\n address = address.substring(4) + address.substring(0, 2) + \"00\";\n let expanded = address.split(\"\").map((c) => { return ibanLookup[c]; }).join(\"\");\n // Javascript can handle integers safely up to 15 (decimal) digits\n while (expanded.length >= safeDigits) {\n let block = expanded.substring(0, safeDigits);\n expanded = parseInt(block, 10) % 97 + expanded.substring(block.length);\n }\n let checksum = String(98 - (parseInt(expanded, 10) % 97));\n while (checksum.length < 2) {\n checksum = \"0\" + checksum;\n }\n return checksum;\n}\n;\nconst Base36 = (function () {\n ;\n const result = {};\n for (let i = 0; i < 36; i++) {\n const key = \"0123456789abcdefghijklmnopqrstuvwxyz\"[i];\n result[key] = BigInt(i);\n }\n return result;\n})();\nfunction fromBase36(value) {\n value = value.toLowerCase();\n let result = BN_0;\n for (let i = 0; i < value.length; i++) {\n result = result * BN_36 + Base36[value[i]];\n }\n return result;\n}\n/**\n * Returns a normalized and checksumed address for %%address%%.\n * This accepts non-checksum addresses, checksum addresses and\n * [[getIcapAddress]] formats.\n *\n * The checksum in Ethereum uses the capitalization (upper-case\n * vs lower-case) of the characters within an address to encode\n * its checksum, which offers, on average, a checksum of 15-bits.\n *\n * If %%address%% contains both upper-case and lower-case, it is\n * assumed to already be a checksum address and its checksum is\n * validated, and if the address fails its expected checksum an\n * error is thrown.\n *\n * If you wish the checksum of %%address%% to be ignore, it should\n * be converted to lower-case (i.e. ``.toLowercase()``) before\n * being passed in. This should be a very rare situation though,\n * that you wish to bypass the safegaurds in place to protect\n * against an address that has been incorrectly copied from another\n * source.\n *\n * @example:\n * // Adds the checksum (via upper-casing specific letters)\n * getAddress(\"0x8ba1f109551bd432803012645ac136ddd64dba72\")\n * //_result:\n *\n * // Converts ICAP address and adds checksum\n * getAddress(\"XE65GB6LDNXYOFTX0NSV3FUWKOWIXAMJK36\");\n * //_result:\n *\n * // Throws an error if an address contains mixed case,\n * // but the checksum fails\n * getAddress(\"0x8Ba1f109551bD432803012645Ac136ddd64DBA72\")\n * //_error:\n */\nexport function getAddress(address) {\n assertArgument(typeof (address) === \"string\", \"invalid address\", \"address\", address);\n if (address.match(/^(0x)?[0-9a-fA-F]{40}$/)) {\n // Missing the 0x prefix\n if (!address.startsWith(\"0x\")) {\n address = \"0x\" + address;\n }\n const result = getChecksumAddress(address);\n // It is a checksummed address with a bad checksum\n assertArgument(!address.match(/([A-F].*[a-f])|([a-f].*[A-F])/) || result === address, \"bad address checksum\", \"address\", address);\n return result;\n }\n // Maybe ICAP? (we only support direct mode)\n if (address.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) {\n // It is an ICAP address with a bad checksum\n assertArgument(address.substring(2, 4) === ibanChecksum(address), \"bad icap checksum\", \"address\", address);\n let result = fromBase36(address.substring(4)).toString(16);\n while (result.length < 40) {\n result = \"0\" + result;\n }\n return getChecksumAddress(\"0x\" + result);\n }\n assertArgument(false, \"invalid address\", \"address\", address);\n}\n/**\n * The [ICAP Address format](link-icap) format is an early checksum\n * format which attempts to be compatible with the banking\n * industry [IBAN format](link-wiki-iban) for bank accounts.\n *\n * It is no longer common or a recommended format.\n *\n * @example:\n * getIcapAddress(\"0x8ba1f109551bd432803012645ac136ddd64dba72\");\n * //_result:\n *\n * getIcapAddress(\"XE65GB6LDNXYOFTX0NSV3FUWKOWIXAMJK36\");\n * //_result:\n *\n * // Throws an error if the ICAP checksum is wrong\n * getIcapAddress(\"XE65GB6LDNXYOFTX0NSV3FUWKOWIXAMJK37\");\n * //_error:\n */\nexport function getIcapAddress(address) {\n //let base36 = _base16To36(getAddress(address).substring(2)).toUpperCase();\n let base36 = BigInt(getAddress(address)).toString(36).toUpperCase();\n while (base36.length < 30) {\n base36 = \"0\" + base36;\n }\n return \"XE\" + ibanChecksum(\"XE00\" + base36) + base36;\n}\n","import { exists, output } from './_assert.js';\nimport { Hash, createView, toBytes } from './utils.js';\n// Polyfill for Safari 14\nfunction setBigUint64(view, byteOffset, value, isLE) {\n if (typeof view.setBigUint64 === 'function')\n return view.setBigUint64(byteOffset, value, isLE);\n const _32n = BigInt(32);\n const _u32_max = BigInt(0xffffffff);\n const wh = Number((value >> _32n) & _u32_max);\n const wl = Number(value & _u32_max);\n const h = isLE ? 4 : 0;\n const l = isLE ? 0 : 4;\n view.setUint32(byteOffset + h, wh, isLE);\n view.setUint32(byteOffset + l, wl, isLE);\n}\n// Base SHA2 class (RFC 6234)\nexport class SHA2 extends Hash {\n constructor(blockLen, outputLen, padOffset, isLE) {\n super();\n this.blockLen = blockLen;\n this.outputLen = outputLen;\n this.padOffset = padOffset;\n this.isLE = isLE;\n this.finished = false;\n this.length = 0;\n this.pos = 0;\n this.destroyed = false;\n this.buffer = new Uint8Array(blockLen);\n this.view = createView(this.buffer);\n }\n update(data) {\n exists(this);\n const { view, buffer, blockLen } = this;\n data = toBytes(data);\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n // Fast path: we have at least one block in input, cast it to view and process\n if (take === blockLen) {\n const dataView = createView(data);\n for (; blockLen <= len - pos; pos += blockLen)\n this.process(dataView, pos);\n continue;\n }\n buffer.set(data.subarray(pos, pos + take), this.pos);\n this.pos += take;\n pos += take;\n if (this.pos === blockLen) {\n this.process(view, 0);\n this.pos = 0;\n }\n }\n this.length += data.length;\n this.roundClean();\n return this;\n }\n digestInto(out) {\n exists(this);\n output(out, this);\n this.finished = true;\n // Padding\n // We can avoid allocation of buffer for padding completely if it\n // was previously not allocated here. But it won't change performance.\n const { buffer, view, blockLen, isLE } = this;\n let { pos } = this;\n // append the bit '1' to the message\n buffer[pos++] = 0b10000000;\n this.buffer.subarray(pos).fill(0);\n // we have less than padOffset left in buffer, so we cannot put length in current block, need process it and pad again\n if (this.padOffset > blockLen - pos) {\n this.process(view, 0);\n pos = 0;\n }\n // Pad until full block byte with zeros\n for (let i = pos; i < blockLen; i++)\n buffer[i] = 0;\n // Note: sha512 requires length to be 128bit integer, but length in JS will overflow before that\n // You need to write around 2 exabytes (u64_max / 8 / (1024**6)) for this to happen.\n // So we just write lowest 64 bits of that value.\n setBigUint64(view, blockLen - 8, BigInt(this.length * 8), isLE);\n this.process(view, 0);\n const oview = createView(out);\n const len = this.outputLen;\n // NOTE: we do division by 4 later, which should be fused in single op with modulo by JIT\n if (len % 4)\n throw new Error('_sha2: outputLen should be aligned to 32bit');\n const outLen = len / 4;\n const state = this.get();\n if (outLen > state.length)\n throw new Error('_sha2: outputLen bigger than state');\n for (let i = 0; i < outLen; i++)\n oview.setUint32(4 * i, state[i], isLE);\n }\n digest() {\n const { buffer, outputLen } = this;\n this.digestInto(buffer);\n const res = buffer.slice(0, outputLen);\n this.destroy();\n return res;\n }\n _cloneInto(to) {\n to || (to = new this.constructor());\n to.set(...this.get());\n const { blockLen, buffer, length, finished, destroyed, pos } = this;\n to.length = length;\n to.pos = pos;\n to.finished = finished;\n to.destroyed = destroyed;\n if (length % blockLen)\n to.buffer.set(buffer);\n return to;\n }\n}\n","import { SHA2 } from './_sha2.js';\nimport { rotr, wrapConstructor } from './utils.js';\n// SHA2-256 need to try 2^128 hashes to execute birthday attack.\n// BTC network is doing 2^67 hashes/sec as per early 2023.\n// Choice: a ? b : c\nconst Chi = (a, b, c) => (a & b) ^ (~a & c);\n// Majority function, true if any two inpust is true\nconst Maj = (a, b, c) => (a & b) ^ (a & c) ^ (b & c);\n// Round constants:\n// first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311)\n// prettier-ignore\nconst SHA256_K = /* @__PURE__ */ new Uint32Array([\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,\n 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,\n 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,\n 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,\n 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,\n 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,\n 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2\n]);\n// Initial state (first 32 bits of the fractional parts of the square roots of the first 8 primes 2..19):\n// prettier-ignore\nconst IV = /* @__PURE__ */ new Uint32Array([\n 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19\n]);\n// Temporary buffer, not used to store anything between runs\n// Named this way because it matches specification.\nconst SHA256_W = /* @__PURE__ */ new Uint32Array(64);\nclass SHA256 extends SHA2 {\n constructor() {\n super(64, 32, 8, false);\n // We cannot use array here since array allows indexing by variable\n // which means optimizer/compiler cannot use registers.\n this.A = IV[0] | 0;\n this.B = IV[1] | 0;\n this.C = IV[2] | 0;\n this.D = IV[3] | 0;\n this.E = IV[4] | 0;\n this.F = IV[5] | 0;\n this.G = IV[6] | 0;\n this.H = IV[7] | 0;\n }\n get() {\n const { A, B, C, D, E, F, G, H } = this;\n return [A, B, C, D, E, F, G, H];\n }\n // prettier-ignore\n set(A, B, C, D, E, F, G, H) {\n this.A = A | 0;\n this.B = B | 0;\n this.C = C | 0;\n this.D = D | 0;\n this.E = E | 0;\n this.F = F | 0;\n this.G = G | 0;\n this.H = H | 0;\n }\n process(view, offset) {\n // Extend the first 16 words into the remaining 48 words w[16..63] of the message schedule array\n for (let i = 0; i < 16; i++, offset += 4)\n SHA256_W[i] = view.getUint32(offset, false);\n for (let i = 16; i < 64; i++) {\n const W15 = SHA256_W[i - 15];\n const W2 = SHA256_W[i - 2];\n const s0 = rotr(W15, 7) ^ rotr(W15, 18) ^ (W15 >>> 3);\n const s1 = rotr(W2, 17) ^ rotr(W2, 19) ^ (W2 >>> 10);\n SHA256_W[i] = (s1 + SHA256_W[i - 7] + s0 + SHA256_W[i - 16]) | 0;\n }\n // Compression function main loop, 64 rounds\n let { A, B, C, D, E, F, G, H } = this;\n for (let i = 0; i < 64; i++) {\n const sigma1 = rotr(E, 6) ^ rotr(E, 11) ^ rotr(E, 25);\n const T1 = (H + sigma1 + Chi(E, F, G) + SHA256_K[i] + SHA256_W[i]) | 0;\n const sigma0 = rotr(A, 2) ^ rotr(A, 13) ^ rotr(A, 22);\n const T2 = (sigma0 + Maj(A, B, C)) | 0;\n H = G;\n G = F;\n F = E;\n E = (D + T1) | 0;\n D = C;\n C = B;\n B = A;\n A = (T1 + T2) | 0;\n }\n // Add the compressed chunk to the current hash value\n A = (A + this.A) | 0;\n B = (B + this.B) | 0;\n C = (C + this.C) | 0;\n D = (D + this.D) | 0;\n E = (E + this.E) | 0;\n F = (F + this.F) | 0;\n G = (G + this.G) | 0;\n H = (H + this.H) | 0;\n this.set(A, B, C, D, E, F, G, H);\n }\n roundClean() {\n SHA256_W.fill(0);\n }\n destroy() {\n this.set(0, 0, 0, 0, 0, 0, 0, 0);\n this.buffer.fill(0);\n }\n}\n// Constants from https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf\nclass SHA224 extends SHA256 {\n constructor() {\n super();\n this.A = 0xc1059ed8 | 0;\n this.B = 0x367cd507 | 0;\n this.C = 0x3070dd17 | 0;\n this.D = 0xf70e5939 | 0;\n this.E = 0xffc00b31 | 0;\n this.F = 0x68581511 | 0;\n this.G = 0x64f98fa7 | 0;\n this.H = 0xbefa4fa4 | 0;\n this.outputLen = 28;\n }\n}\n/**\n * SHA2-256 hash function\n * @param message - data that would be hashed\n */\nexport const sha256 = /* @__PURE__ */ wrapConstructor(() => new SHA256());\nexport const sha224 = /* @__PURE__ */ wrapConstructor(() => new SHA224());\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// 100 lines of code in the file are duplicated from noble-hashes (utils).\n// This is OK: `abstract` directory does not use noble-hashes.\n// User may opt-in into using different hashing library. This way, noble-hashes\n// won't be included into their bundle.\nconst _0n = BigInt(0);\nconst _1n = BigInt(1);\nconst _2n = BigInt(2);\nconst u8a = (a) => a instanceof Uint8Array;\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nexport function bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\nexport function numberToHexUnpadded(num) {\n const hex = num.toString(16);\n return hex.length & 1 ? `0${hex}` : hex;\n}\nexport function hexToNumber(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n // Big Endian\n return BigInt(hex === '' ? '0' : `0x${hex}`);\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nexport function hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// BE: Big Endian, LE: Little Endian\nexport function bytesToNumberBE(bytes) {\n return hexToNumber(bytesToHex(bytes));\n}\nexport function bytesToNumberLE(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n return hexToNumber(bytesToHex(Uint8Array.from(bytes).reverse()));\n}\nexport function numberToBytesBE(n, len) {\n return hexToBytes(n.toString(16).padStart(len * 2, '0'));\n}\nexport function numberToBytesLE(n, len) {\n return numberToBytesBE(n, len).reverse();\n}\n// Unpadded, rarely used\nexport function numberToVarBytesBE(n) {\n return hexToBytes(numberToHexUnpadded(n));\n}\n/**\n * Takes hex string or Uint8Array, converts to Uint8Array.\n * Validates output length.\n * Will throw error for other types.\n * @param title descriptive title for an error e.g. 'private key'\n * @param hex hex string or Uint8Array\n * @param expectedLength optional, will compare to result array's length\n * @returns\n */\nexport function ensureBytes(title, hex, expectedLength) {\n let res;\n if (typeof hex === 'string') {\n try {\n res = hexToBytes(hex);\n }\n catch (e) {\n throw new Error(`${title} must be valid hex string, got \"${hex}\". Cause: ${e}`);\n }\n }\n else if (u8a(hex)) {\n // Uint8Array.from() instead of hash.slice() because node.js Buffer\n // is instance of Uint8Array, and its slice() creates **mutable** copy\n res = Uint8Array.from(hex);\n }\n else {\n throw new Error(`${title} must be hex string or Uint8Array`);\n }\n const len = res.length;\n if (typeof expectedLength === 'number' && len !== expectedLength)\n throw new Error(`${title} expected ${expectedLength} bytes, got ${len}`);\n return res;\n}\n/**\n * Copies several Uint8Arrays into one.\n */\nexport function concatBytes(...arrays) {\n const r = new Uint8Array(arrays.reduce((sum, a) => sum + a.length, 0));\n let pad = 0; // walk through each item, ensure they have proper type\n arrays.forEach((a) => {\n if (!u8a(a))\n throw new Error('Uint8Array expected');\n r.set(a, pad);\n pad += a.length;\n });\n return r;\n}\nexport function equalBytes(b1, b2) {\n // We don't care about timing attacks here\n if (b1.length !== b2.length)\n return false;\n for (let i = 0; i < b1.length; i++)\n if (b1[i] !== b2[i])\n return false;\n return true;\n}\n/**\n * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])\n */\nexport function utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new Error(`utf8ToBytes expected string, got ${typeof str}`);\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n// Bit operations\n/**\n * Calculates amount of bits in a bigint.\n * Same as `n.toString(2).length`\n */\nexport function bitLen(n) {\n let len;\n for (len = 0; n > _0n; n >>= _1n, len += 1)\n ;\n return len;\n}\n/**\n * Gets single bit at position.\n * NOTE: first bit position is 0 (same as arrays)\n * Same as `!!+Array.from(n.toString(2)).reverse()[pos]`\n */\nexport function bitGet(n, pos) {\n return (n >> BigInt(pos)) & _1n;\n}\n/**\n * Sets single bit at position.\n */\nexport const bitSet = (n, pos, value) => {\n return n | ((value ? _1n : _0n) << BigInt(pos));\n};\n/**\n * Calculate mask for N bits. Not using ** operator with bigints because of old engines.\n * Same as BigInt(`0b${Array(i).fill('1').join('')}`)\n */\nexport const bitMask = (n) => (_2n << BigInt(n - 1)) - _1n;\n// DRBG\nconst u8n = (data) => new Uint8Array(data); // creates Uint8Array\nconst u8fr = (arr) => Uint8Array.from(arr); // another shortcut\n/**\n * Minimal HMAC-DRBG from NIST 800-90 for RFC6979 sigs.\n * @returns function that will call DRBG until 2nd arg returns something meaningful\n * @example\n * const drbg = createHmacDRBG(32, 32, hmac);\n * drbg(seed, bytesToKey); // bytesToKey must return Key or undefined\n */\nexport function createHmacDrbg(hashLen, qByteLen, hmacFn) {\n if (typeof hashLen !== 'number' || hashLen < 2)\n throw new Error('hashLen must be a number');\n if (typeof qByteLen !== 'number' || qByteLen < 2)\n throw new Error('qByteLen must be a number');\n if (typeof hmacFn !== 'function')\n throw new Error('hmacFn must be a function');\n // Step B, Step C: set hashLen to 8*ceil(hlen/8)\n let v = u8n(hashLen); // Minimal non-full-spec HMAC-DRBG from NIST 800-90 for RFC6979 sigs.\n let k = u8n(hashLen); // Steps B and C of RFC6979 3.2: set hashLen, in our case always same\n let i = 0; // Iterations counter, will throw when over 1000\n const reset = () => {\n v.fill(1);\n k.fill(0);\n i = 0;\n };\n const h = (...b) => hmacFn(k, v, ...b); // hmac(k)(v, ...values)\n const reseed = (seed = u8n()) => {\n // HMAC-DRBG reseed() function. Steps D-G\n k = h(u8fr([0x00]), seed); // k = hmac(k || v || 0x00 || seed)\n v = h(); // v = hmac(k || v)\n if (seed.length === 0)\n return;\n k = h(u8fr([0x01]), seed); // k = hmac(k || v || 0x01 || seed)\n v = h(); // v = hmac(k || v)\n };\n const gen = () => {\n // HMAC-DRBG generate() function\n if (i++ >= 1000)\n throw new Error('drbg: tried 1000 values');\n let len = 0;\n const out = [];\n while (len < qByteLen) {\n v = h();\n const sl = v.slice();\n out.push(sl);\n len += v.length;\n }\n return concatBytes(...out);\n };\n const genUntil = (seed, pred) => {\n reset();\n reseed(seed); // Steps D-G\n let res = undefined; // Step H: grind until k is in [1..n-1]\n while (!(res = pred(gen())))\n reseed();\n reset();\n return res;\n };\n return genUntil;\n}\n// Validating curves and fields\nconst validatorFns = {\n bigint: (val) => typeof val === 'bigint',\n function: (val) => typeof val === 'function',\n boolean: (val) => typeof val === 'boolean',\n string: (val) => typeof val === 'string',\n stringOrUint8Array: (val) => typeof val === 'string' || val instanceof Uint8Array,\n isSafeInteger: (val) => Number.isSafeInteger(val),\n array: (val) => Array.isArray(val),\n field: (val, object) => object.Fp.isValid(val),\n hash: (val) => typeof val === 'function' && Number.isSafeInteger(val.outputLen),\n};\n// type Record = { [P in K]: T; }\nexport function validateObject(object, validators, optValidators = {}) {\n const checkField = (fieldName, type, isOptional) => {\n const checkVal = validatorFns[type];\n if (typeof checkVal !== 'function')\n throw new Error(`Invalid validator \"${type}\", expected function`);\n const val = object[fieldName];\n if (isOptional && val === undefined)\n return;\n if (!checkVal(val, object)) {\n throw new Error(`Invalid param ${String(fieldName)}=${val} (${typeof val}), expected ${type}`);\n }\n };\n for (const [fieldName, type] of Object.entries(validators))\n checkField(fieldName, type, false);\n for (const [fieldName, type] of Object.entries(optValidators))\n checkField(fieldName, type, true);\n return object;\n}\n// validate type tests\n// const o: { a: number; b: number; c: number } = { a: 1, b: 5, c: 6 };\n// const z0 = validateObject(o, { a: 'isSafeInteger' }, { c: 'bigint' }); // Ok!\n// // Should fail type-check\n// const z1 = validateObject(o, { a: 'tmp' }, { c: 'zz' });\n// const z2 = validateObject(o, { a: 'isSafeInteger' }, { c: 'zz' });\n// const z3 = validateObject(o, { test: 'boolean', z: 'bug' });\n// const z4 = validateObject(o, { a: 'boolean', z: 'bug' });\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// Utilities for modular arithmetics and finite fields\nimport { bitMask, numberToBytesBE, numberToBytesLE, bytesToNumberBE, bytesToNumberLE, ensureBytes, validateObject, } from './utils.js';\n// prettier-ignore\nconst _0n = BigInt(0), _1n = BigInt(1), _2n = BigInt(2), _3n = BigInt(3);\n// prettier-ignore\nconst _4n = BigInt(4), _5n = BigInt(5), _8n = BigInt(8);\n// prettier-ignore\nconst _9n = BigInt(9), _16n = BigInt(16);\n// Calculates a modulo b\nexport function mod(a, b) {\n const result = a % b;\n return result >= _0n ? result : b + result;\n}\n/**\n * Efficiently raise num to power and do modular division.\n * Unsafe in some contexts: uses ladder, so can expose bigint bits.\n * @example\n * pow(2n, 6n, 11n) // 64n % 11n == 9n\n */\n// TODO: use field version && remove\nexport function pow(num, power, modulo) {\n if (modulo <= _0n || power < _0n)\n throw new Error('Expected power/modulo > 0');\n if (modulo === _1n)\n return _0n;\n let res = _1n;\n while (power > _0n) {\n if (power & _1n)\n res = (res * num) % modulo;\n num = (num * num) % modulo;\n power >>= _1n;\n }\n return res;\n}\n// Does x ^ (2 ^ power) mod p. pow2(30, 4) == 30 ^ (2 ^ 4)\nexport function pow2(x, power, modulo) {\n let res = x;\n while (power-- > _0n) {\n res *= res;\n res %= modulo;\n }\n return res;\n}\n// Inverses number over modulo\nexport function invert(number, modulo) {\n if (number === _0n || modulo <= _0n) {\n throw new Error(`invert: expected positive integers, got n=${number} mod=${modulo}`);\n }\n // Euclidean GCD https://brilliant.org/wiki/extended-euclidean-algorithm/\n // Fermat's little theorem \"CT-like\" version inv(n) = n^(m-2) mod m is 30x slower.\n let a = mod(number, modulo);\n let b = modulo;\n // prettier-ignore\n let x = _0n, y = _1n, u = _1n, v = _0n;\n while (a !== _0n) {\n // JIT applies optimization if those two lines follow each other\n const q = b / a;\n const r = b % a;\n const m = x - u * q;\n const n = y - v * q;\n // prettier-ignore\n b = a, a = r, x = u, y = v, u = m, v = n;\n }\n const gcd = b;\n if (gcd !== _1n)\n throw new Error('invert: does not exist');\n return mod(x, modulo);\n}\n/**\n * Tonelli-Shanks square root search algorithm.\n * 1. https://eprint.iacr.org/2012/685.pdf (page 12)\n * 2. Square Roots from 1; 24, 51, 10 to Dan Shanks\n * Will start an infinite loop if field order P is not prime.\n * @param P field order\n * @returns function that takes field Fp (created from P) and number n\n */\nexport function tonelliShanks(P) {\n // Legendre constant: used to calculate Legendre symbol (a | p),\n // which denotes the value of a^((p-1)/2) (mod p).\n // (a | p) ≡ 1 if a is a square (mod p)\n // (a | p) ≡ -1 if a is not a square (mod p)\n // (a | p) ≡ 0 if a ≡ 0 (mod p)\n const legendreC = (P - _1n) / _2n;\n let Q, S, Z;\n // Step 1: By factoring out powers of 2 from p - 1,\n // find q and s such that p - 1 = q*(2^s) with q odd\n for (Q = P - _1n, S = 0; Q % _2n === _0n; Q /= _2n, S++)\n ;\n // Step 2: Select a non-square z such that (z | p) ≡ -1 and set c ≡ zq\n for (Z = _2n; Z < P && pow(Z, legendreC, P) !== P - _1n; Z++)\n ;\n // Fast-path\n if (S === 1) {\n const p1div4 = (P + _1n) / _4n;\n return function tonelliFast(Fp, n) {\n const root = Fp.pow(n, p1div4);\n if (!Fp.eql(Fp.sqr(root), n))\n throw new Error('Cannot find square root');\n return root;\n };\n }\n // Slow-path\n const Q1div2 = (Q + _1n) / _2n;\n return function tonelliSlow(Fp, n) {\n // Step 0: Check that n is indeed a square: (n | p) should not be ≡ -1\n if (Fp.pow(n, legendreC) === Fp.neg(Fp.ONE))\n throw new Error('Cannot find square root');\n let r = S;\n // TODO: will fail at Fp2/etc\n let g = Fp.pow(Fp.mul(Fp.ONE, Z), Q); // will update both x and b\n let x = Fp.pow(n, Q1div2); // first guess at the square root\n let b = Fp.pow(n, Q); // first guess at the fudge factor\n while (!Fp.eql(b, Fp.ONE)) {\n if (Fp.eql(b, Fp.ZERO))\n return Fp.ZERO; // https://en.wikipedia.org/wiki/Tonelli%E2%80%93Shanks_algorithm (4. If t = 0, return r = 0)\n // Find m such b^(2^m)==1\n let m = 1;\n for (let t2 = Fp.sqr(b); m < r; m++) {\n if (Fp.eql(t2, Fp.ONE))\n break;\n t2 = Fp.sqr(t2); // t2 *= t2\n }\n // NOTE: r-m-1 can be bigger than 32, need to convert to bigint before shift, otherwise there will be overflow\n const ge = Fp.pow(g, _1n << BigInt(r - m - 1)); // ge = 2^(r-m-1)\n g = Fp.sqr(ge); // g = ge * ge\n x = Fp.mul(x, ge); // x *= ge\n b = Fp.mul(b, g); // b *= g\n r = m;\n }\n return x;\n };\n}\nexport function FpSqrt(P) {\n // NOTE: different algorithms can give different roots, it is up to user to decide which one they want.\n // For example there is FpSqrtOdd/FpSqrtEven to choice root based on oddness (used for hash-to-curve).\n // P ≡ 3 (mod 4)\n // √n = n^((P+1)/4)\n if (P % _4n === _3n) {\n // Not all roots possible!\n // const ORDER =\n // 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaabn;\n // const NUM = 72057594037927816n;\n const p1div4 = (P + _1n) / _4n;\n return function sqrt3mod4(Fp, n) {\n const root = Fp.pow(n, p1div4);\n // Throw if root**2 != n\n if (!Fp.eql(Fp.sqr(root), n))\n throw new Error('Cannot find square root');\n return root;\n };\n }\n // Atkin algorithm for q ≡ 5 (mod 8), https://eprint.iacr.org/2012/685.pdf (page 10)\n if (P % _8n === _5n) {\n const c1 = (P - _5n) / _8n;\n return function sqrt5mod8(Fp, n) {\n const n2 = Fp.mul(n, _2n);\n const v = Fp.pow(n2, c1);\n const nv = Fp.mul(n, v);\n const i = Fp.mul(Fp.mul(nv, _2n), v);\n const root = Fp.mul(nv, Fp.sub(i, Fp.ONE));\n if (!Fp.eql(Fp.sqr(root), n))\n throw new Error('Cannot find square root');\n return root;\n };\n }\n // P ≡ 9 (mod 16)\n if (P % _16n === _9n) {\n // NOTE: tonelli is too slow for bls-Fp2 calculations even on start\n // Means we cannot use sqrt for constants at all!\n //\n // const c1 = Fp.sqrt(Fp.negate(Fp.ONE)); // 1. c1 = sqrt(-1) in F, i.e., (c1^2) == -1 in F\n // const c2 = Fp.sqrt(c1); // 2. c2 = sqrt(c1) in F, i.e., (c2^2) == c1 in F\n // const c3 = Fp.sqrt(Fp.negate(c1)); // 3. c3 = sqrt(-c1) in F, i.e., (c3^2) == -c1 in F\n // const c4 = (P + _7n) / _16n; // 4. c4 = (q + 7) / 16 # Integer arithmetic\n // sqrt = (x) => {\n // let tv1 = Fp.pow(x, c4); // 1. tv1 = x^c4\n // let tv2 = Fp.mul(c1, tv1); // 2. tv2 = c1 * tv1\n // const tv3 = Fp.mul(c2, tv1); // 3. tv3 = c2 * tv1\n // let tv4 = Fp.mul(c3, tv1); // 4. tv4 = c3 * tv1\n // const e1 = Fp.equals(Fp.square(tv2), x); // 5. e1 = (tv2^2) == x\n // const e2 = Fp.equals(Fp.square(tv3), x); // 6. e2 = (tv3^2) == x\n // tv1 = Fp.cmov(tv1, tv2, e1); // 7. tv1 = CMOV(tv1, tv2, e1) # Select tv2 if (tv2^2) == x\n // tv2 = Fp.cmov(tv4, tv3, e2); // 8. tv2 = CMOV(tv4, tv3, e2) # Select tv3 if (tv3^2) == x\n // const e3 = Fp.equals(Fp.square(tv2), x); // 9. e3 = (tv2^2) == x\n // return Fp.cmov(tv1, tv2, e3); // 10. z = CMOV(tv1, tv2, e3) # Select the sqrt from tv1 and tv2\n // }\n }\n // Other cases: Tonelli-Shanks algorithm\n return tonelliShanks(P);\n}\n// Little-endian check for first LE bit (last BE bit);\nexport const isNegativeLE = (num, modulo) => (mod(num, modulo) & _1n) === _1n;\n// prettier-ignore\nconst FIELD_FIELDS = [\n 'create', 'isValid', 'is0', 'neg', 'inv', 'sqrt', 'sqr',\n 'eql', 'add', 'sub', 'mul', 'pow', 'div',\n 'addN', 'subN', 'mulN', 'sqrN'\n];\nexport function validateField(field) {\n const initial = {\n ORDER: 'bigint',\n MASK: 'bigint',\n BYTES: 'isSafeInteger',\n BITS: 'isSafeInteger',\n };\n const opts = FIELD_FIELDS.reduce((map, val) => {\n map[val] = 'function';\n return map;\n }, initial);\n return validateObject(field, opts);\n}\n// Generic field functions\n/**\n * Same as `pow` but for Fp: non-constant-time.\n * Unsafe in some contexts: uses ladder, so can expose bigint bits.\n */\nexport function FpPow(f, num, power) {\n // Should have same speed as pow for bigints\n // TODO: benchmark!\n if (power < _0n)\n throw new Error('Expected power > 0');\n if (power === _0n)\n return f.ONE;\n if (power === _1n)\n return num;\n let p = f.ONE;\n let d = num;\n while (power > _0n) {\n if (power & _1n)\n p = f.mul(p, d);\n d = f.sqr(d);\n power >>= _1n;\n }\n return p;\n}\n/**\n * Efficiently invert an array of Field elements.\n * `inv(0)` will return `undefined` here: make sure to throw an error.\n */\nexport function FpInvertBatch(f, nums) {\n const tmp = new Array(nums.length);\n // Walk from first to last, multiply them by each other MOD p\n const lastMultiplied = nums.reduce((acc, num, i) => {\n if (f.is0(num))\n return acc;\n tmp[i] = acc;\n return f.mul(acc, num);\n }, f.ONE);\n // Invert last element\n const inverted = f.inv(lastMultiplied);\n // Walk from last to first, multiply them by inverted each other MOD p\n nums.reduceRight((acc, num, i) => {\n if (f.is0(num))\n return acc;\n tmp[i] = f.mul(acc, tmp[i]);\n return f.mul(acc, num);\n }, inverted);\n return tmp;\n}\nexport function FpDiv(f, lhs, rhs) {\n return f.mul(lhs, typeof rhs === 'bigint' ? invert(rhs, f.ORDER) : f.inv(rhs));\n}\n// This function returns True whenever the value x is a square in the field F.\nexport function FpIsSquare(f) {\n const legendreConst = (f.ORDER - _1n) / _2n; // Integer arithmetic\n return (x) => {\n const p = f.pow(x, legendreConst);\n return f.eql(p, f.ZERO) || f.eql(p, f.ONE);\n };\n}\n// CURVE.n lengths\nexport function nLength(n, nBitLength) {\n // Bit size, byte size of CURVE.n\n const _nBitLength = nBitLength !== undefined ? nBitLength : n.toString(2).length;\n const nByteLength = Math.ceil(_nBitLength / 8);\n return { nBitLength: _nBitLength, nByteLength };\n}\n/**\n * Initializes a finite field over prime. **Non-primes are not supported.**\n * Do not init in loop: slow. Very fragile: always run a benchmark on a change.\n * Major performance optimizations:\n * * a) denormalized operations like mulN instead of mul\n * * b) same object shape: never add or remove keys\n * * c) Object.freeze\n * @param ORDER prime positive bigint\n * @param bitLen how many bits the field consumes\n * @param isLE (def: false) if encoding / decoding should be in little-endian\n * @param redef optional faster redefinitions of sqrt and other methods\n */\nexport function Field(ORDER, bitLen, isLE = false, redef = {}) {\n if (ORDER <= _0n)\n throw new Error(`Expected Field ORDER > 0, got ${ORDER}`);\n const { nBitLength: BITS, nByteLength: BYTES } = nLength(ORDER, bitLen);\n if (BYTES > 2048)\n throw new Error('Field lengths over 2048 bytes are not supported');\n const sqrtP = FpSqrt(ORDER);\n const f = Object.freeze({\n ORDER,\n BITS,\n BYTES,\n MASK: bitMask(BITS),\n ZERO: _0n,\n ONE: _1n,\n create: (num) => mod(num, ORDER),\n isValid: (num) => {\n if (typeof num !== 'bigint')\n throw new Error(`Invalid field element: expected bigint, got ${typeof num}`);\n return _0n <= num && num < ORDER; // 0 is valid element, but it's not invertible\n },\n is0: (num) => num === _0n,\n isOdd: (num) => (num & _1n) === _1n,\n neg: (num) => mod(-num, ORDER),\n eql: (lhs, rhs) => lhs === rhs,\n sqr: (num) => mod(num * num, ORDER),\n add: (lhs, rhs) => mod(lhs + rhs, ORDER),\n sub: (lhs, rhs) => mod(lhs - rhs, ORDER),\n mul: (lhs, rhs) => mod(lhs * rhs, ORDER),\n pow: (num, power) => FpPow(f, num, power),\n div: (lhs, rhs) => mod(lhs * invert(rhs, ORDER), ORDER),\n // Same as above, but doesn't normalize\n sqrN: (num) => num * num,\n addN: (lhs, rhs) => lhs + rhs,\n subN: (lhs, rhs) => lhs - rhs,\n mulN: (lhs, rhs) => lhs * rhs,\n inv: (num) => invert(num, ORDER),\n sqrt: redef.sqrt || ((n) => sqrtP(f, n)),\n invertBatch: (lst) => FpInvertBatch(f, lst),\n // TODO: do we really need constant cmov?\n // We don't have const-time bigints anyway, so probably will be not very useful\n cmov: (a, b, c) => (c ? b : a),\n toBytes: (num) => (isLE ? numberToBytesLE(num, BYTES) : numberToBytesBE(num, BYTES)),\n fromBytes: (bytes) => {\n if (bytes.length !== BYTES)\n throw new Error(`Fp.fromBytes: expected ${BYTES}, got ${bytes.length}`);\n return isLE ? bytesToNumberLE(bytes) : bytesToNumberBE(bytes);\n },\n });\n return Object.freeze(f);\n}\nexport function FpSqrtOdd(Fp, elm) {\n if (!Fp.isOdd)\n throw new Error(`Field doesn't have isOdd`);\n const root = Fp.sqrt(elm);\n return Fp.isOdd(root) ? root : Fp.neg(root);\n}\nexport function FpSqrtEven(Fp, elm) {\n if (!Fp.isOdd)\n throw new Error(`Field doesn't have isOdd`);\n const root = Fp.sqrt(elm);\n return Fp.isOdd(root) ? Fp.neg(root) : root;\n}\n/**\n * \"Constant-time\" private key generation utility.\n * Same as mapKeyToField, but accepts less bytes (40 instead of 48 for 32-byte field).\n * Which makes it slightly more biased, less secure.\n * @deprecated use mapKeyToField instead\n */\nexport function hashToPrivateScalar(hash, groupOrder, isLE = false) {\n hash = ensureBytes('privateHash', hash);\n const hashLen = hash.length;\n const minLen = nLength(groupOrder).nByteLength + 8;\n if (minLen < 24 || hashLen < minLen || hashLen > 1024)\n throw new Error(`hashToPrivateScalar: expected ${minLen}-1024 bytes of input, got ${hashLen}`);\n const num = isLE ? bytesToNumberLE(hash) : bytesToNumberBE(hash);\n return mod(num, groupOrder - _1n) + _1n;\n}\n/**\n * Returns total number of bytes consumed by the field element.\n * For example, 32 bytes for usual 256-bit weierstrass curve.\n * @param fieldOrder number of field elements, usually CURVE.n\n * @returns byte length of field\n */\nexport function getFieldBytesLength(fieldOrder) {\n if (typeof fieldOrder !== 'bigint')\n throw new Error('field order must be bigint');\n const bitLength = fieldOrder.toString(2).length;\n return Math.ceil(bitLength / 8);\n}\n/**\n * Returns minimal amount of bytes that can be safely reduced\n * by field order.\n * Should be 2^-128 for 128-bit curve such as P256.\n * @param fieldOrder number of field elements, usually CURVE.n\n * @returns byte length of target hash\n */\nexport function getMinHashLength(fieldOrder) {\n const length = getFieldBytesLength(fieldOrder);\n return length + Math.ceil(length / 2);\n}\n/**\n * \"Constant-time\" private key generation utility.\n * Can take (n + n/2) or more bytes of uniform input e.g. from CSPRNG or KDF\n * and convert them into private scalar, with the modulo bias being negligible.\n * Needs at least 48 bytes of input for 32-byte private key.\n * https://research.kudelskisecurity.com/2020/07/28/the-definitive-guide-to-modulo-bias-and-how-to-avoid-it/\n * FIPS 186-5, A.2 https://csrc.nist.gov/publications/detail/fips/186/5/final\n * RFC 9380, https://www.rfc-editor.org/rfc/rfc9380#section-5\n * @param hash hash output from SHA3 or a similar function\n * @param groupOrder size of subgroup - (e.g. secp256k1.CURVE.n)\n * @param isLE interpret hash bytes as LE num\n * @returns valid private scalar\n */\nexport function mapHashToField(key, fieldOrder, isLE = false) {\n const len = key.length;\n const fieldLen = getFieldBytesLength(fieldOrder);\n const minLen = getMinHashLength(fieldOrder);\n // No small numbers: need to understand bias story. No huge numbers: easier to detect JS timings.\n if (len < 16 || len < minLen || len > 1024)\n throw new Error(`expected ${minLen}-1024 bytes of input, got ${len}`);\n const num = isLE ? bytesToNumberBE(key) : bytesToNumberLE(key);\n // `mod(x, 11)` can sometimes produce 0. `mod(x, 10) + 1` is the same, but no 0\n const reduced = mod(num, fieldOrder - _1n) + _1n;\n return isLE ? numberToBytesLE(reduced, fieldLen) : numberToBytesBE(reduced, fieldLen);\n}\n","import { hash as assertHash, bytes as assertBytes, exists as assertExists } from './_assert.js';\nimport { Hash, toBytes } from './utils.js';\n// HMAC (RFC 2104)\nexport class HMAC extends Hash {\n constructor(hash, _key) {\n super();\n this.finished = false;\n this.destroyed = false;\n assertHash(hash);\n const key = toBytes(_key);\n this.iHash = hash.create();\n if (typeof this.iHash.update !== 'function')\n throw new Error('Expected instance of class which extends utils.Hash');\n this.blockLen = this.iHash.blockLen;\n this.outputLen = this.iHash.outputLen;\n const blockLen = this.blockLen;\n const pad = new Uint8Array(blockLen);\n // blockLen can be bigger than outputLen\n pad.set(key.length > blockLen ? hash.create().update(key).digest() : key);\n for (let i = 0; i < pad.length; i++)\n pad[i] ^= 0x36;\n this.iHash.update(pad);\n // By doing update (processing of first block) of outer hash here we can re-use it between multiple calls via clone\n this.oHash = hash.create();\n // Undo internal XOR && apply outer XOR\n for (let i = 0; i < pad.length; i++)\n pad[i] ^= 0x36 ^ 0x5c;\n this.oHash.update(pad);\n pad.fill(0);\n }\n update(buf) {\n assertExists(this);\n this.iHash.update(buf);\n return this;\n }\n digestInto(out) {\n assertExists(this);\n assertBytes(out, this.outputLen);\n this.finished = true;\n this.iHash.digestInto(out);\n this.oHash.update(out);\n this.oHash.digestInto(out);\n this.destroy();\n }\n digest() {\n const out = new Uint8Array(this.oHash.outputLen);\n this.digestInto(out);\n return out;\n }\n _cloneInto(to) {\n // Create new instance without calling constructor since key already in state and we don't know it.\n to || (to = Object.create(Object.getPrototypeOf(this), {}));\n const { oHash, iHash, finished, destroyed, blockLen, outputLen } = this;\n to = to;\n to.finished = finished;\n to.destroyed = destroyed;\n to.blockLen = blockLen;\n to.outputLen = outputLen;\n to.oHash = oHash._cloneInto(to.oHash);\n to.iHash = iHash._cloneInto(to.iHash);\n return to;\n }\n destroy() {\n this.destroyed = true;\n this.oHash.destroy();\n this.iHash.destroy();\n }\n}\n/**\n * HMAC: RFC2104 message authentication code.\n * @param hash - function that would be used e.g. sha256\n * @param key - message key\n * @param message - message data\n */\nexport const hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();\nhmac.create = (hash, key) => new HMAC(hash, key);\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// Abelian group utilities\nimport { validateField, nLength } from './modular.js';\nimport { validateObject } from './utils.js';\nconst _0n = BigInt(0);\nconst _1n = BigInt(1);\n// Elliptic curve multiplication of Point by scalar. Fragile.\n// Scalars should always be less than curve order: this should be checked inside of a curve itself.\n// Creates precomputation tables for fast multiplication:\n// - private scalar is split by fixed size windows of W bits\n// - every window point is collected from window's table & added to accumulator\n// - since windows are different, same point inside tables won't be accessed more than once per calc\n// - each multiplication is 'Math.ceil(CURVE_ORDER / 𝑊) + 1' point additions (fixed for any scalar)\n// - +1 window is neccessary for wNAF\n// - wNAF reduces table size: 2x less memory + 2x faster generation, but 10% slower multiplication\n// TODO: Research returning 2d JS array of windows, instead of a single window. This would allow\n// windows to be in different memory locations\nexport function wNAF(c, bits) {\n const constTimeNegate = (condition, item) => {\n const neg = item.negate();\n return condition ? neg : item;\n };\n const opts = (W) => {\n const windows = Math.ceil(bits / W) + 1; // +1, because\n const windowSize = 2 ** (W - 1); // -1 because we skip zero\n return { windows, windowSize };\n };\n return {\n constTimeNegate,\n // non-const time multiplication ladder\n unsafeLadder(elm, n) {\n let p = c.ZERO;\n let d = elm;\n while (n > _0n) {\n if (n & _1n)\n p = p.add(d);\n d = d.double();\n n >>= _1n;\n }\n return p;\n },\n /**\n * Creates a wNAF precomputation window. Used for caching.\n * Default window size is set by `utils.precompute()` and is equal to 8.\n * Number of precomputed points depends on the curve size:\n * 2^(𝑊−1) * (Math.ceil(𝑛 / 𝑊) + 1), where:\n * - 𝑊 is the window size\n * - 𝑛 is the bitlength of the curve order.\n * For a 256-bit curve and window size 8, the number of precomputed points is 128 * 33 = 4224.\n * @returns precomputed point tables flattened to a single array\n */\n precomputeWindow(elm, W) {\n const { windows, windowSize } = opts(W);\n const points = [];\n let p = elm;\n let base = p;\n for (let window = 0; window < windows; window++) {\n base = p;\n points.push(base);\n // =1, because we skip zero\n for (let i = 1; i < windowSize; i++) {\n base = base.add(p);\n points.push(base);\n }\n p = base.double();\n }\n return points;\n },\n /**\n * Implements ec multiplication using precomputed tables and w-ary non-adjacent form.\n * @param W window size\n * @param precomputes precomputed tables\n * @param n scalar (we don't check here, but should be less than curve order)\n * @returns real and fake (for const-time) points\n */\n wNAF(W, precomputes, n) {\n // TODO: maybe check that scalar is less than group order? wNAF behavious is undefined otherwise\n // But need to carefully remove other checks before wNAF. ORDER == bits here\n const { windows, windowSize } = opts(W);\n let p = c.ZERO;\n let f = c.BASE;\n const mask = BigInt(2 ** W - 1); // Create mask with W ones: 0b1111 for W=4 etc.\n const maxNumber = 2 ** W;\n const shiftBy = BigInt(W);\n for (let window = 0; window < windows; window++) {\n const offset = window * windowSize;\n // Extract W bits.\n let wbits = Number(n & mask);\n // Shift number by W bits.\n n >>= shiftBy;\n // If the bits are bigger than max size, we'll split those.\n // +224 => 256 - 32\n if (wbits > windowSize) {\n wbits -= maxNumber;\n n += _1n;\n }\n // This code was first written with assumption that 'f' and 'p' will never be infinity point:\n // since each addition is multiplied by 2 ** W, it cannot cancel each other. However,\n // there is negate now: it is possible that negated element from low value\n // would be the same as high element, which will create carry into next window.\n // It's not obvious how this can fail, but still worth investigating later.\n // Check if we're onto Zero point.\n // Add random point inside current window to f.\n const offset1 = offset;\n const offset2 = offset + Math.abs(wbits) - 1; // -1 because we skip zero\n const cond1 = window % 2 !== 0;\n const cond2 = wbits < 0;\n if (wbits === 0) {\n // The most important part for const-time getPublicKey\n f = f.add(constTimeNegate(cond1, precomputes[offset1]));\n }\n else {\n p = p.add(constTimeNegate(cond2, precomputes[offset2]));\n }\n }\n // JIT-compiler should not eliminate f here, since it will later be used in normalizeZ()\n // Even if the variable is still unused, there are some checks which will\n // throw an exception, so compiler needs to prove they won't happen, which is hard.\n // At this point there is a way to F be infinity-point even if p is not,\n // which makes it less const-time: around 1 bigint multiply.\n return { p, f };\n },\n wNAFCached(P, precomputesMap, n, transform) {\n // @ts-ignore\n const W = P._WINDOW_SIZE || 1;\n // Calculate precomputes on a first run, reuse them after\n let comp = precomputesMap.get(P);\n if (!comp) {\n comp = this.precomputeWindow(P, W);\n if (W !== 1) {\n precomputesMap.set(P, transform(comp));\n }\n }\n return this.wNAF(W, comp, n);\n },\n };\n}\nexport function validateBasic(curve) {\n validateField(curve.Fp);\n validateObject(curve, {\n n: 'bigint',\n h: 'bigint',\n Gx: 'field',\n Gy: 'field',\n }, {\n nBitLength: 'isSafeInteger',\n nByteLength: 'isSafeInteger',\n });\n // Set defaults\n return Object.freeze({\n ...nLength(curve.n, curve.nBitLength),\n ...curve,\n ...{ p: curve.Fp.ORDER },\n });\n}\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// Short Weierstrass curve. The formula is: y² = x³ + ax + b\nimport * as mod from './modular.js';\nimport * as ut from './utils.js';\nimport { ensureBytes } from './utils.js';\nimport { wNAF, validateBasic } from './curve.js';\nfunction validatePointOpts(curve) {\n const opts = validateBasic(curve);\n ut.validateObject(opts, {\n a: 'field',\n b: 'field',\n }, {\n allowedPrivateKeyLengths: 'array',\n wrapPrivateKey: 'boolean',\n isTorsionFree: 'function',\n clearCofactor: 'function',\n allowInfinityPoint: 'boolean',\n fromBytes: 'function',\n toBytes: 'function',\n });\n const { endo, Fp, a } = opts;\n if (endo) {\n if (!Fp.eql(a, Fp.ZERO)) {\n throw new Error('Endomorphism can only be defined for Koblitz curves that have a=0');\n }\n if (typeof endo !== 'object' ||\n typeof endo.beta !== 'bigint' ||\n typeof endo.splitScalar !== 'function') {\n throw new Error('Expected endomorphism with beta: bigint and splitScalar: function');\n }\n }\n return Object.freeze({ ...opts });\n}\n// ASN.1 DER encoding utilities\nconst { bytesToNumberBE: b2n, hexToBytes: h2b } = ut;\nexport const DER = {\n // asn.1 DER encoding utils\n Err: class DERErr extends Error {\n constructor(m = '') {\n super(m);\n }\n },\n _parseInt(data) {\n const { Err: E } = DER;\n if (data.length < 2 || data[0] !== 0x02)\n throw new E('Invalid signature integer tag');\n const len = data[1];\n const res = data.subarray(2, len + 2);\n if (!len || res.length !== len)\n throw new E('Invalid signature integer: wrong length');\n // https://crypto.stackexchange.com/a/57734 Leftmost bit of first byte is 'negative' flag,\n // since we always use positive integers here. It must always be empty:\n // - add zero byte if exists\n // - if next byte doesn't have a flag, leading zero is not allowed (minimal encoding)\n if (res[0] & 0b10000000)\n throw new E('Invalid signature integer: negative');\n if (res[0] === 0x00 && !(res[1] & 0b10000000))\n throw new E('Invalid signature integer: unnecessary leading zero');\n return { d: b2n(res), l: data.subarray(len + 2) }; // d is data, l is left\n },\n toSig(hex) {\n // parse DER signature\n const { Err: E } = DER;\n const data = typeof hex === 'string' ? h2b(hex) : hex;\n if (!(data instanceof Uint8Array))\n throw new Error('ui8a expected');\n let l = data.length;\n if (l < 2 || data[0] != 0x30)\n throw new E('Invalid signature tag');\n if (data[1] !== l - 2)\n throw new E('Invalid signature: incorrect length');\n const { d: r, l: sBytes } = DER._parseInt(data.subarray(2));\n const { d: s, l: rBytesLeft } = DER._parseInt(sBytes);\n if (rBytesLeft.length)\n throw new E('Invalid signature: left bytes after parsing');\n return { r, s };\n },\n hexFromSig(sig) {\n // Add leading zero if first byte has negative bit enabled. More details in '_parseInt'\n const slice = (s) => (Number.parseInt(s[0], 16) & 0b1000 ? '00' + s : s);\n const h = (num) => {\n const hex = num.toString(16);\n return hex.length & 1 ? `0${hex}` : hex;\n };\n const s = slice(h(sig.s));\n const r = slice(h(sig.r));\n const shl = s.length / 2;\n const rhl = r.length / 2;\n const sl = h(shl);\n const rl = h(rhl);\n return `30${h(rhl + shl + 4)}02${rl}${r}02${sl}${s}`;\n },\n};\n// Be friendly to bad ECMAScript parsers by not using bigint literals\n// prettier-ignore\nconst _0n = BigInt(0), _1n = BigInt(1), _2n = BigInt(2), _3n = BigInt(3), _4n = BigInt(4);\nexport function weierstrassPoints(opts) {\n const CURVE = validatePointOpts(opts);\n const { Fp } = CURVE; // All curves has same field / group length as for now, but they can differ\n const toBytes = CURVE.toBytes ||\n ((_c, point, _isCompressed) => {\n const a = point.toAffine();\n return ut.concatBytes(Uint8Array.from([0x04]), Fp.toBytes(a.x), Fp.toBytes(a.y));\n });\n const fromBytes = CURVE.fromBytes ||\n ((bytes) => {\n // const head = bytes[0];\n const tail = bytes.subarray(1);\n // if (head !== 0x04) throw new Error('Only non-compressed encoding is supported');\n const x = Fp.fromBytes(tail.subarray(0, Fp.BYTES));\n const y = Fp.fromBytes(tail.subarray(Fp.BYTES, 2 * Fp.BYTES));\n return { x, y };\n });\n /**\n * y² = x³ + ax + b: Short weierstrass curve formula\n * @returns y²\n */\n function weierstrassEquation(x) {\n const { a, b } = CURVE;\n const x2 = Fp.sqr(x); // x * x\n const x3 = Fp.mul(x2, x); // x2 * x\n return Fp.add(Fp.add(x3, Fp.mul(x, a)), b); // x3 + a * x + b\n }\n // Validate whether the passed curve params are valid.\n // We check if curve equation works for generator point.\n // `assertValidity()` won't work: `isTorsionFree()` is not available at this point in bls12-381.\n // ProjectivePoint class has not been initialized yet.\n if (!Fp.eql(Fp.sqr(CURVE.Gy), weierstrassEquation(CURVE.Gx)))\n throw new Error('bad generator point: equation left != right');\n // Valid group elements reside in range 1..n-1\n function isWithinCurveOrder(num) {\n return typeof num === 'bigint' && _0n < num && num < CURVE.n;\n }\n function assertGE(num) {\n if (!isWithinCurveOrder(num))\n throw new Error('Expected valid bigint: 0 < bigint < curve.n');\n }\n // Validates if priv key is valid and converts it to bigint.\n // Supports options allowedPrivateKeyLengths and wrapPrivateKey.\n function normPrivateKeyToScalar(key) {\n const { allowedPrivateKeyLengths: lengths, nByteLength, wrapPrivateKey, n } = CURVE;\n if (lengths && typeof key !== 'bigint') {\n if (key instanceof Uint8Array)\n key = ut.bytesToHex(key);\n // Normalize to hex string, pad. E.g. P521 would norm 130-132 char hex to 132-char bytes\n if (typeof key !== 'string' || !lengths.includes(key.length))\n throw new Error('Invalid key');\n key = key.padStart(nByteLength * 2, '0');\n }\n let num;\n try {\n num =\n typeof key === 'bigint'\n ? key\n : ut.bytesToNumberBE(ensureBytes('private key', key, nByteLength));\n }\n catch (error) {\n throw new Error(`private key must be ${nByteLength} bytes, hex or bigint, not ${typeof key}`);\n }\n if (wrapPrivateKey)\n num = mod.mod(num, n); // disabled by default, enabled for BLS\n assertGE(num); // num in range [1..N-1]\n return num;\n }\n const pointPrecomputes = new Map();\n function assertPrjPoint(other) {\n if (!(other instanceof Point))\n throw new Error('ProjectivePoint expected');\n }\n /**\n * Projective Point works in 3d / projective (homogeneous) coordinates: (x, y, z) ∋ (x=x/z, y=y/z)\n * Default Point works in 2d / affine coordinates: (x, y)\n * We're doing calculations in projective, because its operations don't require costly inversion.\n */\n class Point {\n constructor(px, py, pz) {\n this.px = px;\n this.py = py;\n this.pz = pz;\n if (px == null || !Fp.isValid(px))\n throw new Error('x required');\n if (py == null || !Fp.isValid(py))\n throw new Error('y required');\n if (pz == null || !Fp.isValid(pz))\n throw new Error('z required');\n }\n // Does not validate if the point is on-curve.\n // Use fromHex instead, or call assertValidity() later.\n static fromAffine(p) {\n const { x, y } = p || {};\n if (!p || !Fp.isValid(x) || !Fp.isValid(y))\n throw new Error('invalid affine point');\n if (p instanceof Point)\n throw new Error('projective point not allowed');\n const is0 = (i) => Fp.eql(i, Fp.ZERO);\n // fromAffine(x:0, y:0) would produce (x:0, y:0, z:1), but we need (x:0, y:1, z:0)\n if (is0(x) && is0(y))\n return Point.ZERO;\n return new Point(x, y, Fp.ONE);\n }\n get x() {\n return this.toAffine().x;\n }\n get y() {\n return this.toAffine().y;\n }\n /**\n * Takes a bunch of Projective Points but executes only one\n * inversion on all of them. Inversion is very slow operation,\n * so this improves performance massively.\n * Optimization: converts a list of projective points to a list of identical points with Z=1.\n */\n static normalizeZ(points) {\n const toInv = Fp.invertBatch(points.map((p) => p.pz));\n return points.map((p, i) => p.toAffine(toInv[i])).map(Point.fromAffine);\n }\n /**\n * Converts hash string or Uint8Array to Point.\n * @param hex short/long ECDSA hex\n */\n static fromHex(hex) {\n const P = Point.fromAffine(fromBytes(ensureBytes('pointHex', hex)));\n P.assertValidity();\n return P;\n }\n // Multiplies generator point by privateKey.\n static fromPrivateKey(privateKey) {\n return Point.BASE.multiply(normPrivateKeyToScalar(privateKey));\n }\n // \"Private method\", don't use it directly\n _setWindowSize(windowSize) {\n this._WINDOW_SIZE = windowSize;\n pointPrecomputes.delete(this);\n }\n // A point on curve is valid if it conforms to equation.\n assertValidity() {\n if (this.is0()) {\n // (0, 1, 0) aka ZERO is invalid in most contexts.\n // In BLS, ZERO can be serialized, so we allow it.\n // (0, 0, 0) is wrong representation of ZERO and is always invalid.\n if (CURVE.allowInfinityPoint && !Fp.is0(this.py))\n return;\n throw new Error('bad point: ZERO');\n }\n // Some 3rd-party test vectors require different wording between here & `fromCompressedHex`\n const { x, y } = this.toAffine();\n // Check if x, y are valid field elements\n if (!Fp.isValid(x) || !Fp.isValid(y))\n throw new Error('bad point: x or y not FE');\n const left = Fp.sqr(y); // y²\n const right = weierstrassEquation(x); // x³ + ax + b\n if (!Fp.eql(left, right))\n throw new Error('bad point: equation left != right');\n if (!this.isTorsionFree())\n throw new Error('bad point: not in prime-order subgroup');\n }\n hasEvenY() {\n const { y } = this.toAffine();\n if (Fp.isOdd)\n return !Fp.isOdd(y);\n throw new Error(\"Field doesn't support isOdd\");\n }\n /**\n * Compare one point to another.\n */\n equals(other) {\n assertPrjPoint(other);\n const { px: X1, py: Y1, pz: Z1 } = this;\n const { px: X2, py: Y2, pz: Z2 } = other;\n const U1 = Fp.eql(Fp.mul(X1, Z2), Fp.mul(X2, Z1));\n const U2 = Fp.eql(Fp.mul(Y1, Z2), Fp.mul(Y2, Z1));\n return U1 && U2;\n }\n /**\n * Flips point to one corresponding to (x, -y) in Affine coordinates.\n */\n negate() {\n return new Point(this.px, Fp.neg(this.py), this.pz);\n }\n // Renes-Costello-Batina exception-free doubling formula.\n // There is 30% faster Jacobian formula, but it is not complete.\n // https://eprint.iacr.org/2015/1060, algorithm 3\n // Cost: 8M + 3S + 3*a + 2*b3 + 15add.\n double() {\n const { a, b } = CURVE;\n const b3 = Fp.mul(b, _3n);\n const { px: X1, py: Y1, pz: Z1 } = this;\n let X3 = Fp.ZERO, Y3 = Fp.ZERO, Z3 = Fp.ZERO; // prettier-ignore\n let t0 = Fp.mul(X1, X1); // step 1\n let t1 = Fp.mul(Y1, Y1);\n let t2 = Fp.mul(Z1, Z1);\n let t3 = Fp.mul(X1, Y1);\n t3 = Fp.add(t3, t3); // step 5\n Z3 = Fp.mul(X1, Z1);\n Z3 = Fp.add(Z3, Z3);\n X3 = Fp.mul(a, Z3);\n Y3 = Fp.mul(b3, t2);\n Y3 = Fp.add(X3, Y3); // step 10\n X3 = Fp.sub(t1, Y3);\n Y3 = Fp.add(t1, Y3);\n Y3 = Fp.mul(X3, Y3);\n X3 = Fp.mul(t3, X3);\n Z3 = Fp.mul(b3, Z3); // step 15\n t2 = Fp.mul(a, t2);\n t3 = Fp.sub(t0, t2);\n t3 = Fp.mul(a, t3);\n t3 = Fp.add(t3, Z3);\n Z3 = Fp.add(t0, t0); // step 20\n t0 = Fp.add(Z3, t0);\n t0 = Fp.add(t0, t2);\n t0 = Fp.mul(t0, t3);\n Y3 = Fp.add(Y3, t0);\n t2 = Fp.mul(Y1, Z1); // step 25\n t2 = Fp.add(t2, t2);\n t0 = Fp.mul(t2, t3);\n X3 = Fp.sub(X3, t0);\n Z3 = Fp.mul(t2, t1);\n Z3 = Fp.add(Z3, Z3); // step 30\n Z3 = Fp.add(Z3, Z3);\n return new Point(X3, Y3, Z3);\n }\n // Renes-Costello-Batina exception-free addition formula.\n // There is 30% faster Jacobian formula, but it is not complete.\n // https://eprint.iacr.org/2015/1060, algorithm 1\n // Cost: 12M + 0S + 3*a + 3*b3 + 23add.\n add(other) {\n assertPrjPoint(other);\n const { px: X1, py: Y1, pz: Z1 } = this;\n const { px: X2, py: Y2, pz: Z2 } = other;\n let X3 = Fp.ZERO, Y3 = Fp.ZERO, Z3 = Fp.ZERO; // prettier-ignore\n const a = CURVE.a;\n const b3 = Fp.mul(CURVE.b, _3n);\n let t0 = Fp.mul(X1, X2); // step 1\n let t1 = Fp.mul(Y1, Y2);\n let t2 = Fp.mul(Z1, Z2);\n let t3 = Fp.add(X1, Y1);\n let t4 = Fp.add(X2, Y2); // step 5\n t3 = Fp.mul(t3, t4);\n t4 = Fp.add(t0, t1);\n t3 = Fp.sub(t3, t4);\n t4 = Fp.add(X1, Z1);\n let t5 = Fp.add(X2, Z2); // step 10\n t4 = Fp.mul(t4, t5);\n t5 = Fp.add(t0, t2);\n t4 = Fp.sub(t4, t5);\n t5 = Fp.add(Y1, Z1);\n X3 = Fp.add(Y2, Z2); // step 15\n t5 = Fp.mul(t5, X3);\n X3 = Fp.add(t1, t2);\n t5 = Fp.sub(t5, X3);\n Z3 = Fp.mul(a, t4);\n X3 = Fp.mul(b3, t2); // step 20\n Z3 = Fp.add(X3, Z3);\n X3 = Fp.sub(t1, Z3);\n Z3 = Fp.add(t1, Z3);\n Y3 = Fp.mul(X3, Z3);\n t1 = Fp.add(t0, t0); // step 25\n t1 = Fp.add(t1, t0);\n t2 = Fp.mul(a, t2);\n t4 = Fp.mul(b3, t4);\n t1 = Fp.add(t1, t2);\n t2 = Fp.sub(t0, t2); // step 30\n t2 = Fp.mul(a, t2);\n t4 = Fp.add(t4, t2);\n t0 = Fp.mul(t1, t4);\n Y3 = Fp.add(Y3, t0);\n t0 = Fp.mul(t5, t4); // step 35\n X3 = Fp.mul(t3, X3);\n X3 = Fp.sub(X3, t0);\n t0 = Fp.mul(t3, t1);\n Z3 = Fp.mul(t5, Z3);\n Z3 = Fp.add(Z3, t0); // step 40\n return new Point(X3, Y3, Z3);\n }\n subtract(other) {\n return this.add(other.negate());\n }\n is0() {\n return this.equals(Point.ZERO);\n }\n wNAF(n) {\n return wnaf.wNAFCached(this, pointPrecomputes, n, (comp) => {\n const toInv = Fp.invertBatch(comp.map((p) => p.pz));\n return comp.map((p, i) => p.toAffine(toInv[i])).map(Point.fromAffine);\n });\n }\n /**\n * Non-constant-time multiplication. Uses double-and-add algorithm.\n * It's faster, but should only be used when you don't care about\n * an exposed private key e.g. sig verification, which works over *public* keys.\n */\n multiplyUnsafe(n) {\n const I = Point.ZERO;\n if (n === _0n)\n return I;\n assertGE(n); // Will throw on 0\n if (n === _1n)\n return this;\n const { endo } = CURVE;\n if (!endo)\n return wnaf.unsafeLadder(this, n);\n // Apply endomorphism\n let { k1neg, k1, k2neg, k2 } = endo.splitScalar(n);\n let k1p = I;\n let k2p = I;\n let d = this;\n while (k1 > _0n || k2 > _0n) {\n if (k1 & _1n)\n k1p = k1p.add(d);\n if (k2 & _1n)\n k2p = k2p.add(d);\n d = d.double();\n k1 >>= _1n;\n k2 >>= _1n;\n }\n if (k1neg)\n k1p = k1p.negate();\n if (k2neg)\n k2p = k2p.negate();\n k2p = new Point(Fp.mul(k2p.px, endo.beta), k2p.py, k2p.pz);\n return k1p.add(k2p);\n }\n /**\n * Constant time multiplication.\n * Uses wNAF method. Windowed method may be 10% faster,\n * but takes 2x longer to generate and consumes 2x memory.\n * Uses precomputes when available.\n * Uses endomorphism for Koblitz curves.\n * @param scalar by which the point would be multiplied\n * @returns New point\n */\n multiply(scalar) {\n assertGE(scalar);\n let n = scalar;\n let point, fake; // Fake point is used to const-time mult\n const { endo } = CURVE;\n if (endo) {\n const { k1neg, k1, k2neg, k2 } = endo.splitScalar(n);\n let { p: k1p, f: f1p } = this.wNAF(k1);\n let { p: k2p, f: f2p } = this.wNAF(k2);\n k1p = wnaf.constTimeNegate(k1neg, k1p);\n k2p = wnaf.constTimeNegate(k2neg, k2p);\n k2p = new Point(Fp.mul(k2p.px, endo.beta), k2p.py, k2p.pz);\n point = k1p.add(k2p);\n fake = f1p.add(f2p);\n }\n else {\n const { p, f } = this.wNAF(n);\n point = p;\n fake = f;\n }\n // Normalize `z` for both points, but return only real one\n return Point.normalizeZ([point, fake])[0];\n }\n /**\n * Efficiently calculate `aP + bQ`. Unsafe, can expose private key, if used incorrectly.\n * Not using Strauss-Shamir trick: precomputation tables are faster.\n * The trick could be useful if both P and Q are not G (not in our case).\n * @returns non-zero affine point\n */\n multiplyAndAddUnsafe(Q, a, b) {\n const G = Point.BASE; // No Strauss-Shamir trick: we have 10% faster G precomputes\n const mul = (P, a // Select faster multiply() method\n ) => (a === _0n || a === _1n || !P.equals(G) ? P.multiplyUnsafe(a) : P.multiply(a));\n const sum = mul(this, a).add(mul(Q, b));\n return sum.is0() ? undefined : sum;\n }\n // Converts Projective point to affine (x, y) coordinates.\n // Can accept precomputed Z^-1 - for example, from invertBatch.\n // (x, y, z) ∋ (x=x/z, y=y/z)\n toAffine(iz) {\n const { px: x, py: y, pz: z } = this;\n const is0 = this.is0();\n // If invZ was 0, we return zero point. However we still want to execute\n // all operations, so we replace invZ with a random number, 1.\n if (iz == null)\n iz = is0 ? Fp.ONE : Fp.inv(z);\n const ax = Fp.mul(x, iz);\n const ay = Fp.mul(y, iz);\n const zz = Fp.mul(z, iz);\n if (is0)\n return { x: Fp.ZERO, y: Fp.ZERO };\n if (!Fp.eql(zz, Fp.ONE))\n throw new Error('invZ was invalid');\n return { x: ax, y: ay };\n }\n isTorsionFree() {\n const { h: cofactor, isTorsionFree } = CURVE;\n if (cofactor === _1n)\n return true; // No subgroups, always torsion-free\n if (isTorsionFree)\n return isTorsionFree(Point, this);\n throw new Error('isTorsionFree() has not been declared for the elliptic curve');\n }\n clearCofactor() {\n const { h: cofactor, clearCofactor } = CURVE;\n if (cofactor === _1n)\n return this; // Fast-path\n if (clearCofactor)\n return clearCofactor(Point, this);\n return this.multiplyUnsafe(CURVE.h);\n }\n toRawBytes(isCompressed = true) {\n this.assertValidity();\n return toBytes(Point, this, isCompressed);\n }\n toHex(isCompressed = true) {\n return ut.bytesToHex(this.toRawBytes(isCompressed));\n }\n }\n Point.BASE = new Point(CURVE.Gx, CURVE.Gy, Fp.ONE);\n Point.ZERO = new Point(Fp.ZERO, Fp.ONE, Fp.ZERO);\n const _bits = CURVE.nBitLength;\n const wnaf = wNAF(Point, CURVE.endo ? Math.ceil(_bits / 2) : _bits);\n // Validate if generator point is on curve\n return {\n CURVE,\n ProjectivePoint: Point,\n normPrivateKeyToScalar,\n weierstrassEquation,\n isWithinCurveOrder,\n };\n}\nfunction validateOpts(curve) {\n const opts = validateBasic(curve);\n ut.validateObject(opts, {\n hash: 'hash',\n hmac: 'function',\n randomBytes: 'function',\n }, {\n bits2int: 'function',\n bits2int_modN: 'function',\n lowS: 'boolean',\n });\n return Object.freeze({ lowS: true, ...opts });\n}\nexport function weierstrass(curveDef) {\n const CURVE = validateOpts(curveDef);\n const { Fp, n: CURVE_ORDER } = CURVE;\n const compressedLen = Fp.BYTES + 1; // e.g. 33 for 32\n const uncompressedLen = 2 * Fp.BYTES + 1; // e.g. 65 for 32\n function isValidFieldElement(num) {\n return _0n < num && num < Fp.ORDER; // 0 is banned since it's not invertible FE\n }\n function modN(a) {\n return mod.mod(a, CURVE_ORDER);\n }\n function invN(a) {\n return mod.invert(a, CURVE_ORDER);\n }\n const { ProjectivePoint: Point, normPrivateKeyToScalar, weierstrassEquation, isWithinCurveOrder, } = weierstrassPoints({\n ...CURVE,\n toBytes(_c, point, isCompressed) {\n const a = point.toAffine();\n const x = Fp.toBytes(a.x);\n const cat = ut.concatBytes;\n if (isCompressed) {\n return cat(Uint8Array.from([point.hasEvenY() ? 0x02 : 0x03]), x);\n }\n else {\n return cat(Uint8Array.from([0x04]), x, Fp.toBytes(a.y));\n }\n },\n fromBytes(bytes) {\n const len = bytes.length;\n const head = bytes[0];\n const tail = bytes.subarray(1);\n // this.assertValidity() is done inside of fromHex\n if (len === compressedLen && (head === 0x02 || head === 0x03)) {\n const x = ut.bytesToNumberBE(tail);\n if (!isValidFieldElement(x))\n throw new Error('Point is not on curve');\n const y2 = weierstrassEquation(x); // y² = x³ + ax + b\n let y = Fp.sqrt(y2); // y = y² ^ (p+1)/4\n const isYOdd = (y & _1n) === _1n;\n // ECDSA\n const isHeadOdd = (head & 1) === 1;\n if (isHeadOdd !== isYOdd)\n y = Fp.neg(y);\n return { x, y };\n }\n else if (len === uncompressedLen && head === 0x04) {\n const x = Fp.fromBytes(tail.subarray(0, Fp.BYTES));\n const y = Fp.fromBytes(tail.subarray(Fp.BYTES, 2 * Fp.BYTES));\n return { x, y };\n }\n else {\n throw new Error(`Point of length ${len} was invalid. Expected ${compressedLen} compressed bytes or ${uncompressedLen} uncompressed bytes`);\n }\n },\n });\n const numToNByteStr = (num) => ut.bytesToHex(ut.numberToBytesBE(num, CURVE.nByteLength));\n function isBiggerThanHalfOrder(number) {\n const HALF = CURVE_ORDER >> _1n;\n return number > HALF;\n }\n function normalizeS(s) {\n return isBiggerThanHalfOrder(s) ? modN(-s) : s;\n }\n // slice bytes num\n const slcNum = (b, from, to) => ut.bytesToNumberBE(b.slice(from, to));\n /**\n * ECDSA signature with its (r, s) properties. Supports DER & compact representations.\n */\n class Signature {\n constructor(r, s, recovery) {\n this.r = r;\n this.s = s;\n this.recovery = recovery;\n this.assertValidity();\n }\n // pair (bytes of r, bytes of s)\n static fromCompact(hex) {\n const l = CURVE.nByteLength;\n hex = ensureBytes('compactSignature', hex, l * 2);\n return new Signature(slcNum(hex, 0, l), slcNum(hex, l, 2 * l));\n }\n // DER encoded ECDSA signature\n // https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script\n static fromDER(hex) {\n const { r, s } = DER.toSig(ensureBytes('DER', hex));\n return new Signature(r, s);\n }\n assertValidity() {\n // can use assertGE here\n if (!isWithinCurveOrder(this.r))\n throw new Error('r must be 0 < r < CURVE.n');\n if (!isWithinCurveOrder(this.s))\n throw new Error('s must be 0 < s < CURVE.n');\n }\n addRecoveryBit(recovery) {\n return new Signature(this.r, this.s, recovery);\n }\n recoverPublicKey(msgHash) {\n const { r, s, recovery: rec } = this;\n const h = bits2int_modN(ensureBytes('msgHash', msgHash)); // Truncate hash\n if (rec == null || ![0, 1, 2, 3].includes(rec))\n throw new Error('recovery id invalid');\n const radj = rec === 2 || rec === 3 ? r + CURVE.n : r;\n if (radj >= Fp.ORDER)\n throw new Error('recovery id 2 or 3 invalid');\n const prefix = (rec & 1) === 0 ? '02' : '03';\n const R = Point.fromHex(prefix + numToNByteStr(radj));\n const ir = invN(radj); // r^-1\n const u1 = modN(-h * ir); // -hr^-1\n const u2 = modN(s * ir); // sr^-1\n const Q = Point.BASE.multiplyAndAddUnsafe(R, u1, u2); // (sr^-1)R-(hr^-1)G = -(hr^-1)G + (sr^-1)\n if (!Q)\n throw new Error('point at infinify'); // unsafe is fine: no priv data leaked\n Q.assertValidity();\n return Q;\n }\n // Signatures should be low-s, to prevent malleability.\n hasHighS() {\n return isBiggerThanHalfOrder(this.s);\n }\n normalizeS() {\n return this.hasHighS() ? new Signature(this.r, modN(-this.s), this.recovery) : this;\n }\n // DER-encoded\n toDERRawBytes() {\n return ut.hexToBytes(this.toDERHex());\n }\n toDERHex() {\n return DER.hexFromSig({ r: this.r, s: this.s });\n }\n // padded bytes of r, then padded bytes of s\n toCompactRawBytes() {\n return ut.hexToBytes(this.toCompactHex());\n }\n toCompactHex() {\n return numToNByteStr(this.r) + numToNByteStr(this.s);\n }\n }\n const utils = {\n isValidPrivateKey(privateKey) {\n try {\n normPrivateKeyToScalar(privateKey);\n return true;\n }\n catch (error) {\n return false;\n }\n },\n normPrivateKeyToScalar: normPrivateKeyToScalar,\n /**\n * Produces cryptographically secure private key from random of size\n * (groupLen + ceil(groupLen / 2)) with modulo bias being negligible.\n */\n randomPrivateKey: () => {\n const length = mod.getMinHashLength(CURVE.n);\n return mod.mapHashToField(CURVE.randomBytes(length), CURVE.n);\n },\n /**\n * Creates precompute table for an arbitrary EC point. Makes point \"cached\".\n * Allows to massively speed-up `point.multiply(scalar)`.\n * @returns cached point\n * @example\n * const fast = utils.precompute(8, ProjectivePoint.fromHex(someonesPubKey));\n * fast.multiply(privKey); // much faster ECDH now\n */\n precompute(windowSize = 8, point = Point.BASE) {\n point._setWindowSize(windowSize);\n point.multiply(BigInt(3)); // 3 is arbitrary, just need any number here\n return point;\n },\n };\n /**\n * Computes public key for a private key. Checks for validity of the private key.\n * @param privateKey private key\n * @param isCompressed whether to return compact (default), or full key\n * @returns Public key, full when isCompressed=false; short when isCompressed=true\n */\n function getPublicKey(privateKey, isCompressed = true) {\n return Point.fromPrivateKey(privateKey).toRawBytes(isCompressed);\n }\n /**\n * Quick and dirty check for item being public key. Does not validate hex, or being on-curve.\n */\n function isProbPub(item) {\n const arr = item instanceof Uint8Array;\n const str = typeof item === 'string';\n const len = (arr || str) && item.length;\n if (arr)\n return len === compressedLen || len === uncompressedLen;\n if (str)\n return len === 2 * compressedLen || len === 2 * uncompressedLen;\n if (item instanceof Point)\n return true;\n return false;\n }\n /**\n * ECDH (Elliptic Curve Diffie Hellman).\n * Computes shared public key from private key and public key.\n * Checks: 1) private key validity 2) shared key is on-curve.\n * Does NOT hash the result.\n * @param privateA private key\n * @param publicB different public key\n * @param isCompressed whether to return compact (default), or full key\n * @returns shared public key\n */\n function getSharedSecret(privateA, publicB, isCompressed = true) {\n if (isProbPub(privateA))\n throw new Error('first arg must be private key');\n if (!isProbPub(publicB))\n throw new Error('second arg must be public key');\n const b = Point.fromHex(publicB); // check for being on-curve\n return b.multiply(normPrivateKeyToScalar(privateA)).toRawBytes(isCompressed);\n }\n // RFC6979: ensure ECDSA msg is X bytes and < N. RFC suggests optional truncating via bits2octets.\n // FIPS 186-4 4.6 suggests the leftmost min(nBitLen, outLen) bits, which matches bits2int.\n // bits2int can produce res>N, we can do mod(res, N) since the bitLen is the same.\n // int2octets can't be used; pads small msgs with 0: unacceptatble for trunc as per RFC vectors\n const bits2int = CURVE.bits2int ||\n function (bytes) {\n // For curves with nBitLength % 8 !== 0: bits2octets(bits2octets(m)) !== bits2octets(m)\n // for some cases, since bytes.length * 8 is not actual bitLength.\n const num = ut.bytesToNumberBE(bytes); // check for == u8 done here\n const delta = bytes.length * 8 - CURVE.nBitLength; // truncate to nBitLength leftmost bits\n return delta > 0 ? num >> BigInt(delta) : num;\n };\n const bits2int_modN = CURVE.bits2int_modN ||\n function (bytes) {\n return modN(bits2int(bytes)); // can't use bytesToNumberBE here\n };\n // NOTE: pads output with zero as per spec\n const ORDER_MASK = ut.bitMask(CURVE.nBitLength);\n /**\n * Converts to bytes. Checks if num in `[0..ORDER_MASK-1]` e.g.: `[0..2^256-1]`.\n */\n function int2octets(num) {\n if (typeof num !== 'bigint')\n throw new Error('bigint expected');\n if (!(_0n <= num && num < ORDER_MASK))\n throw new Error(`bigint expected < 2^${CURVE.nBitLength}`);\n // works with order, can have different size than numToField!\n return ut.numberToBytesBE(num, CURVE.nByteLength);\n }\n // Steps A, D of RFC6979 3.2\n // Creates RFC6979 seed; converts msg/privKey to numbers.\n // Used only in sign, not in verify.\n // NOTE: we cannot assume here that msgHash has same amount of bytes as curve order, this will be wrong at least for P521.\n // Also it can be bigger for P224 + SHA256\n function prepSig(msgHash, privateKey, opts = defaultSigOpts) {\n if (['recovered', 'canonical'].some((k) => k in opts))\n throw new Error('sign() legacy options not supported');\n const { hash, randomBytes } = CURVE;\n let { lowS, prehash, extraEntropy: ent } = opts; // generates low-s sigs by default\n if (lowS == null)\n lowS = true; // RFC6979 3.2: we skip step A, because we already provide hash\n msgHash = ensureBytes('msgHash', msgHash);\n if (prehash)\n msgHash = ensureBytes('prehashed msgHash', hash(msgHash));\n // We can't later call bits2octets, since nested bits2int is broken for curves\n // with nBitLength % 8 !== 0. Because of that, we unwrap it here as int2octets call.\n // const bits2octets = (bits) => int2octets(bits2int_modN(bits))\n const h1int = bits2int_modN(msgHash);\n const d = normPrivateKeyToScalar(privateKey); // validate private key, convert to bigint\n const seedArgs = [int2octets(d), int2octets(h1int)];\n // extraEntropy. RFC6979 3.6: additional k' (optional).\n if (ent != null) {\n // K = HMAC_K(V || 0x00 || int2octets(x) || bits2octets(h1) || k')\n const e = ent === true ? randomBytes(Fp.BYTES) : ent; // generate random bytes OR pass as-is\n seedArgs.push(ensureBytes('extraEntropy', e)); // check for being bytes\n }\n const seed = ut.concatBytes(...seedArgs); // Step D of RFC6979 3.2\n const m = h1int; // NOTE: no need to call bits2int second time here, it is inside truncateHash!\n // Converts signature params into point w r/s, checks result for validity.\n function k2sig(kBytes) {\n // RFC 6979 Section 3.2, step 3: k = bits2int(T)\n const k = bits2int(kBytes); // Cannot use fields methods, since it is group element\n if (!isWithinCurveOrder(k))\n return; // Important: all mod() calls here must be done over N\n const ik = invN(k); // k^-1 mod n\n const q = Point.BASE.multiply(k).toAffine(); // q = Gk\n const r = modN(q.x); // r = q.x mod n\n if (r === _0n)\n return;\n // Can use scalar blinding b^-1(bm + bdr) where b ∈ [1,q−1] according to\n // https://tches.iacr.org/index.php/TCHES/article/view/7337/6509. We've decided against it:\n // a) dependency on CSPRNG b) 15% slowdown c) doesn't really help since bigints are not CT\n const s = modN(ik * modN(m + r * d)); // Not using blinding here\n if (s === _0n)\n return;\n let recovery = (q.x === r ? 0 : 2) | Number(q.y & _1n); // recovery bit (2 or 3, when q.x > n)\n let normS = s;\n if (lowS && isBiggerThanHalfOrder(s)) {\n normS = normalizeS(s); // if lowS was passed, ensure s is always\n recovery ^= 1; // // in the bottom half of N\n }\n return new Signature(r, normS, recovery); // use normS, not s\n }\n return { seed, k2sig };\n }\n const defaultSigOpts = { lowS: CURVE.lowS, prehash: false };\n const defaultVerOpts = { lowS: CURVE.lowS, prehash: false };\n /**\n * Signs message hash with a private key.\n * ```\n * sign(m, d, k) where\n * (x, y) = G × k\n * r = x mod n\n * s = (m + dr)/k mod n\n * ```\n * @param msgHash NOT message. msg needs to be hashed to `msgHash`, or use `prehash`.\n * @param privKey private key\n * @param opts lowS for non-malleable sigs. extraEntropy for mixing randomness into k. prehash will hash first arg.\n * @returns signature with recovery param\n */\n function sign(msgHash, privKey, opts = defaultSigOpts) {\n const { seed, k2sig } = prepSig(msgHash, privKey, opts); // Steps A, D of RFC6979 3.2.\n const C = CURVE;\n const drbg = ut.createHmacDrbg(C.hash.outputLen, C.nByteLength, C.hmac);\n return drbg(seed, k2sig); // Steps B, C, D, E, F, G\n }\n // Enable precomputes. Slows down first publicKey computation by 20ms.\n Point.BASE._setWindowSize(8);\n // utils.precompute(8, ProjectivePoint.BASE)\n /**\n * Verifies a signature against message hash and public key.\n * Rejects lowS signatures by default: to override,\n * specify option `{lowS: false}`. Implements section 4.1.4 from https://www.secg.org/sec1-v2.pdf:\n *\n * ```\n * verify(r, s, h, P) where\n * U1 = hs^-1 mod n\n * U2 = rs^-1 mod n\n * R = U1⋅G - U2⋅P\n * mod(R.x, n) == r\n * ```\n */\n function verify(signature, msgHash, publicKey, opts = defaultVerOpts) {\n const sg = signature;\n msgHash = ensureBytes('msgHash', msgHash);\n publicKey = ensureBytes('publicKey', publicKey);\n if ('strict' in opts)\n throw new Error('options.strict was renamed to lowS');\n const { lowS, prehash } = opts;\n let _sig = undefined;\n let P;\n try {\n if (typeof sg === 'string' || sg instanceof Uint8Array) {\n // Signature can be represented in 2 ways: compact (2*nByteLength) & DER (variable-length).\n // Since DER can also be 2*nByteLength bytes, we check for it first.\n try {\n _sig = Signature.fromDER(sg);\n }\n catch (derError) {\n if (!(derError instanceof DER.Err))\n throw derError;\n _sig = Signature.fromCompact(sg);\n }\n }\n else if (typeof sg === 'object' && typeof sg.r === 'bigint' && typeof sg.s === 'bigint') {\n const { r, s } = sg;\n _sig = new Signature(r, s);\n }\n else {\n throw new Error('PARSE');\n }\n P = Point.fromHex(publicKey);\n }\n catch (error) {\n if (error.message === 'PARSE')\n throw new Error(`signature must be Signature instance, Uint8Array or hex string`);\n return false;\n }\n if (lowS && _sig.hasHighS())\n return false;\n if (prehash)\n msgHash = CURVE.hash(msgHash);\n const { r, s } = _sig;\n const h = bits2int_modN(msgHash); // Cannot use fields methods, since it is group element\n const is = invN(s); // s^-1\n const u1 = modN(h * is); // u1 = hs^-1 mod n\n const u2 = modN(r * is); // u2 = rs^-1 mod n\n const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2)?.toAffine(); // R = u1⋅G + u2⋅P\n if (!R)\n return false;\n const v = modN(R.x);\n return v === r;\n }\n return {\n CURVE,\n getPublicKey,\n getSharedSecret,\n sign,\n verify,\n ProjectivePoint: Point,\n Signature,\n utils,\n };\n}\n/**\n * Implementation of the Shallue and van de Woestijne method for any weierstrass curve.\n * TODO: check if there is a way to merge this with uvRatio in Edwards; move to modular.\n * b = True and y = sqrt(u / v) if (u / v) is square in F, and\n * b = False and y = sqrt(Z * (u / v)) otherwise.\n * @param Fp\n * @param Z\n * @returns\n */\nexport function SWUFpSqrtRatio(Fp, Z) {\n // Generic implementation\n const q = Fp.ORDER;\n let l = _0n;\n for (let o = q - _1n; o % _2n === _0n; o /= _2n)\n l += _1n;\n const c1 = l; // 1. c1, the largest integer such that 2^c1 divides q - 1.\n // We need 2n ** c1 and 2n ** (c1-1). We can't use **; but we can use <<.\n // 2n ** c1 == 2n << (c1-1)\n const _2n_pow_c1_1 = _2n << (c1 - _1n - _1n);\n const _2n_pow_c1 = _2n_pow_c1_1 * _2n;\n const c2 = (q - _1n) / _2n_pow_c1; // 2. c2 = (q - 1) / (2^c1) # Integer arithmetic\n const c3 = (c2 - _1n) / _2n; // 3. c3 = (c2 - 1) / 2 # Integer arithmetic\n const c4 = _2n_pow_c1 - _1n; // 4. c4 = 2^c1 - 1 # Integer arithmetic\n const c5 = _2n_pow_c1_1; // 5. c5 = 2^(c1 - 1) # Integer arithmetic\n const c6 = Fp.pow(Z, c2); // 6. c6 = Z^c2\n const c7 = Fp.pow(Z, (c2 + _1n) / _2n); // 7. c7 = Z^((c2 + 1) / 2)\n let sqrtRatio = (u, v) => {\n let tv1 = c6; // 1. tv1 = c6\n let tv2 = Fp.pow(v, c4); // 2. tv2 = v^c4\n let tv3 = Fp.sqr(tv2); // 3. tv3 = tv2^2\n tv3 = Fp.mul(tv3, v); // 4. tv3 = tv3 * v\n let tv5 = Fp.mul(u, tv3); // 5. tv5 = u * tv3\n tv5 = Fp.pow(tv5, c3); // 6. tv5 = tv5^c3\n tv5 = Fp.mul(tv5, tv2); // 7. tv5 = tv5 * tv2\n tv2 = Fp.mul(tv5, v); // 8. tv2 = tv5 * v\n tv3 = Fp.mul(tv5, u); // 9. tv3 = tv5 * u\n let tv4 = Fp.mul(tv3, tv2); // 10. tv4 = tv3 * tv2\n tv5 = Fp.pow(tv4, c5); // 11. tv5 = tv4^c5\n let isQR = Fp.eql(tv5, Fp.ONE); // 12. isQR = tv5 == 1\n tv2 = Fp.mul(tv3, c7); // 13. tv2 = tv3 * c7\n tv5 = Fp.mul(tv4, tv1); // 14. tv5 = tv4 * tv1\n tv3 = Fp.cmov(tv2, tv3, isQR); // 15. tv3 = CMOV(tv2, tv3, isQR)\n tv4 = Fp.cmov(tv5, tv4, isQR); // 16. tv4 = CMOV(tv5, tv4, isQR)\n // 17. for i in (c1, c1 - 1, ..., 2):\n for (let i = c1; i > _1n; i--) {\n let tv5 = i - _2n; // 18. tv5 = i - 2\n tv5 = _2n << (tv5 - _1n); // 19. tv5 = 2^tv5\n let tvv5 = Fp.pow(tv4, tv5); // 20. tv5 = tv4^tv5\n const e1 = Fp.eql(tvv5, Fp.ONE); // 21. e1 = tv5 == 1\n tv2 = Fp.mul(tv3, tv1); // 22. tv2 = tv3 * tv1\n tv1 = Fp.mul(tv1, tv1); // 23. tv1 = tv1 * tv1\n tvv5 = Fp.mul(tv4, tv1); // 24. tv5 = tv4 * tv1\n tv3 = Fp.cmov(tv2, tv3, e1); // 25. tv3 = CMOV(tv2, tv3, e1)\n tv4 = Fp.cmov(tvv5, tv4, e1); // 26. tv4 = CMOV(tv5, tv4, e1)\n }\n return { isValid: isQR, value: tv3 };\n };\n if (Fp.ORDER % _4n === _3n) {\n // sqrt_ratio_3mod4(u, v)\n const c1 = (Fp.ORDER - _3n) / _4n; // 1. c1 = (q - 3) / 4 # Integer arithmetic\n const c2 = Fp.sqrt(Fp.neg(Z)); // 2. c2 = sqrt(-Z)\n sqrtRatio = (u, v) => {\n let tv1 = Fp.sqr(v); // 1. tv1 = v^2\n const tv2 = Fp.mul(u, v); // 2. tv2 = u * v\n tv1 = Fp.mul(tv1, tv2); // 3. tv1 = tv1 * tv2\n let y1 = Fp.pow(tv1, c1); // 4. y1 = tv1^c1\n y1 = Fp.mul(y1, tv2); // 5. y1 = y1 * tv2\n const y2 = Fp.mul(y1, c2); // 6. y2 = y1 * c2\n const tv3 = Fp.mul(Fp.sqr(y1), v); // 7. tv3 = y1^2; 8. tv3 = tv3 * v\n const isQR = Fp.eql(tv3, u); // 9. isQR = tv3 == u\n let y = Fp.cmov(y2, y1, isQR); // 10. y = CMOV(y2, y1, isQR)\n return { isValid: isQR, value: y }; // 11. return (isQR, y) isQR ? y : y*c2\n };\n }\n // No curves uses that\n // if (Fp.ORDER % _8n === _5n) // sqrt_ratio_5mod8\n return sqrtRatio;\n}\n/**\n * Simplified Shallue-van de Woestijne-Ulas Method\n * https://www.rfc-editor.org/rfc/rfc9380#section-6.6.2\n */\nexport function mapToCurveSimpleSWU(Fp, opts) {\n mod.validateField(Fp);\n if (!Fp.isValid(opts.A) || !Fp.isValid(opts.B) || !Fp.isValid(opts.Z))\n throw new Error('mapToCurveSimpleSWU: invalid opts');\n const sqrtRatio = SWUFpSqrtRatio(Fp, opts.Z);\n if (!Fp.isOdd)\n throw new Error('Fp.isOdd is not implemented!');\n // Input: u, an element of F.\n // Output: (x, y), a point on E.\n return (u) => {\n // prettier-ignore\n let tv1, tv2, tv3, tv4, tv5, tv6, x, y;\n tv1 = Fp.sqr(u); // 1. tv1 = u^2\n tv1 = Fp.mul(tv1, opts.Z); // 2. tv1 = Z * tv1\n tv2 = Fp.sqr(tv1); // 3. tv2 = tv1^2\n tv2 = Fp.add(tv2, tv1); // 4. tv2 = tv2 + tv1\n tv3 = Fp.add(tv2, Fp.ONE); // 5. tv3 = tv2 + 1\n tv3 = Fp.mul(tv3, opts.B); // 6. tv3 = B * tv3\n tv4 = Fp.cmov(opts.Z, Fp.neg(tv2), !Fp.eql(tv2, Fp.ZERO)); // 7. tv4 = CMOV(Z, -tv2, tv2 != 0)\n tv4 = Fp.mul(tv4, opts.A); // 8. tv4 = A * tv4\n tv2 = Fp.sqr(tv3); // 9. tv2 = tv3^2\n tv6 = Fp.sqr(tv4); // 10. tv6 = tv4^2\n tv5 = Fp.mul(tv6, opts.A); // 11. tv5 = A * tv6\n tv2 = Fp.add(tv2, tv5); // 12. tv2 = tv2 + tv5\n tv2 = Fp.mul(tv2, tv3); // 13. tv2 = tv2 * tv3\n tv6 = Fp.mul(tv6, tv4); // 14. tv6 = tv6 * tv4\n tv5 = Fp.mul(tv6, opts.B); // 15. tv5 = B * tv6\n tv2 = Fp.add(tv2, tv5); // 16. tv2 = tv2 + tv5\n x = Fp.mul(tv1, tv3); // 17. x = tv1 * tv3\n const { isValid, value } = sqrtRatio(tv2, tv6); // 18. (is_gx1_square, y1) = sqrt_ratio(tv2, tv6)\n y = Fp.mul(tv1, u); // 19. y = tv1 * u -> Z * u^3 * y1\n y = Fp.mul(y, value); // 20. y = y * y1\n x = Fp.cmov(x, tv3, isValid); // 21. x = CMOV(x, tv3, is_gx1_square)\n y = Fp.cmov(y, value, isValid); // 22. y = CMOV(y, y1, is_gx1_square)\n const e1 = Fp.isOdd(u) === Fp.isOdd(y); // 23. e1 = sgn0(u) == sgn0(y)\n y = Fp.cmov(Fp.neg(y), y, e1); // 24. y = CMOV(-y, y, e1)\n x = Fp.div(x, tv4); // 25. x = x / tv4\n return { x, y };\n };\n}\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\nimport { hmac } from '@noble/hashes/hmac';\nimport { concatBytes, randomBytes } from '@noble/hashes/utils';\nimport { weierstrass } from './abstract/weierstrass.js';\n// connects noble-curves to noble-hashes\nexport function getHash(hash) {\n return {\n hash,\n hmac: (key, ...msgs) => hmac(hash, key, concatBytes(...msgs)),\n randomBytes,\n };\n}\nexport function createCurve(curveDef, defHash) {\n const create = (hash) => weierstrass({ ...curveDef, ...getHash(hash) });\n return Object.freeze({ ...create(defHash), create });\n}\n","/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\nimport { sha256 } from '@noble/hashes/sha256';\nimport { randomBytes } from '@noble/hashes/utils';\nimport { Field, mod, pow2 } from './abstract/modular.js';\nimport { mapToCurveSimpleSWU } from './abstract/weierstrass.js';\nimport { bytesToNumberBE, concatBytes, ensureBytes, numberToBytesBE } from './abstract/utils.js';\nimport { createHasher, isogenyMap } from './abstract/hash-to-curve.js';\nimport { createCurve } from './_shortw_utils.js';\nconst secp256k1P = BigInt('0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f');\nconst secp256k1N = BigInt('0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141');\nconst _1n = BigInt(1);\nconst _2n = BigInt(2);\nconst divNearest = (a, b) => (a + b / _2n) / b;\n/**\n * √n = n^((p+1)/4) for fields p = 3 mod 4. We unwrap the loop and multiply bit-by-bit.\n * (P+1n/4n).toString(2) would produce bits [223x 1, 0, 22x 1, 4x 0, 11, 00]\n */\nfunction sqrtMod(y) {\n const P = secp256k1P;\n // prettier-ignore\n const _3n = BigInt(3), _6n = BigInt(6), _11n = BigInt(11), _22n = BigInt(22);\n // prettier-ignore\n const _23n = BigInt(23), _44n = BigInt(44), _88n = BigInt(88);\n const b2 = (y * y * y) % P; // x^3, 11\n const b3 = (b2 * b2 * y) % P; // x^7\n const b6 = (pow2(b3, _3n, P) * b3) % P;\n const b9 = (pow2(b6, _3n, P) * b3) % P;\n const b11 = (pow2(b9, _2n, P) * b2) % P;\n const b22 = (pow2(b11, _11n, P) * b11) % P;\n const b44 = (pow2(b22, _22n, P) * b22) % P;\n const b88 = (pow2(b44, _44n, P) * b44) % P;\n const b176 = (pow2(b88, _88n, P) * b88) % P;\n const b220 = (pow2(b176, _44n, P) * b44) % P;\n const b223 = (pow2(b220, _3n, P) * b3) % P;\n const t1 = (pow2(b223, _23n, P) * b22) % P;\n const t2 = (pow2(t1, _6n, P) * b2) % P;\n const root = pow2(t2, _2n, P);\n if (!Fp.eql(Fp.sqr(root), y))\n throw new Error('Cannot find square root');\n return root;\n}\nconst Fp = Field(secp256k1P, undefined, undefined, { sqrt: sqrtMod });\nexport const secp256k1 = createCurve({\n a: BigInt(0),\n b: BigInt(7),\n Fp,\n n: secp256k1N,\n // Base point (x, y) aka generator point\n Gx: BigInt('55066263022277343669578718895168534326250603453777594175500187360389116729240'),\n Gy: BigInt('32670510020758816978083085130507043184471273380659243275938904335757337482424'),\n h: BigInt(1),\n lowS: true,\n /**\n * secp256k1 belongs to Koblitz curves: it has efficiently computable endomorphism.\n * Endomorphism uses 2x less RAM, speeds up precomputation by 2x and ECDH / key recovery by 20%.\n * For precomputed wNAF it trades off 1/2 init time & 1/3 ram for 20% perf hit.\n * Explanation: https://gist.github.com/paulmillr/eb670806793e84df628a7c434a873066\n */\n endo: {\n beta: BigInt('0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee'),\n splitScalar: (k) => {\n const n = secp256k1N;\n const a1 = BigInt('0x3086d221a7d46bcde86c90e49284eb15');\n const b1 = -_1n * BigInt('0xe4437ed6010e88286f547fa90abfe4c3');\n const a2 = BigInt('0x114ca50f7a8e2f3f657c1108d9d44cfd8');\n const b2 = a1;\n const POW_2_128 = BigInt('0x100000000000000000000000000000000'); // (2n**128n).toString(16)\n const c1 = divNearest(b2 * k, n);\n const c2 = divNearest(-b1 * k, n);\n let k1 = mod(k - c1 * a1 - c2 * a2, n);\n let k2 = mod(-c1 * b1 - c2 * b2, n);\n const k1neg = k1 > POW_2_128;\n const k2neg = k2 > POW_2_128;\n if (k1neg)\n k1 = n - k1;\n if (k2neg)\n k2 = n - k2;\n if (k1 > POW_2_128 || k2 > POW_2_128) {\n throw new Error('splitScalar: Endomorphism failed, k=' + k);\n }\n return { k1neg, k1, k2neg, k2 };\n },\n },\n}, sha256);\n// Schnorr signatures are superior to ECDSA from above. Below is Schnorr-specific BIP0340 code.\n// https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki\nconst _0n = BigInt(0);\nconst fe = (x) => typeof x === 'bigint' && _0n < x && x < secp256k1P;\nconst ge = (x) => typeof x === 'bigint' && _0n < x && x < secp256k1N;\n/** An object mapping tags to their tagged hash prefix of [SHA256(tag) | SHA256(tag)] */\nconst TAGGED_HASH_PREFIXES = {};\nfunction taggedHash(tag, ...messages) {\n let tagP = TAGGED_HASH_PREFIXES[tag];\n if (tagP === undefined) {\n const tagH = sha256(Uint8Array.from(tag, (c) => c.charCodeAt(0)));\n tagP = concatBytes(tagH, tagH);\n TAGGED_HASH_PREFIXES[tag] = tagP;\n }\n return sha256(concatBytes(tagP, ...messages));\n}\n// ECDSA compact points are 33-byte. Schnorr is 32: we strip first byte 0x02 or 0x03\nconst pointToBytes = (point) => point.toRawBytes(true).slice(1);\nconst numTo32b = (n) => numberToBytesBE(n, 32);\nconst modP = (x) => mod(x, secp256k1P);\nconst modN = (x) => mod(x, secp256k1N);\nconst Point = secp256k1.ProjectivePoint;\nconst GmulAdd = (Q, a, b) => Point.BASE.multiplyAndAddUnsafe(Q, a, b);\n// Calculate point, scalar and bytes\nfunction schnorrGetExtPubKey(priv) {\n let d_ = secp256k1.utils.normPrivateKeyToScalar(priv); // same method executed in fromPrivateKey\n let p = Point.fromPrivateKey(d_); // P = d'⋅G; 0 < d' < n check is done inside\n const scalar = p.hasEvenY() ? d_ : modN(-d_);\n return { scalar: scalar, bytes: pointToBytes(p) };\n}\n/**\n * lift_x from BIP340. Convert 32-byte x coordinate to elliptic curve point.\n * @returns valid point checked for being on-curve\n */\nfunction lift_x(x) {\n if (!fe(x))\n throw new Error('bad x: need 0 < x < p'); // Fail if x ≥ p.\n const xx = modP(x * x);\n const c = modP(xx * x + BigInt(7)); // Let c = x³ + 7 mod p.\n let y = sqrtMod(c); // Let y = c^(p+1)/4 mod p.\n if (y % _2n !== _0n)\n y = modP(-y); // Return the unique point P such that x(P) = x and\n const p = new Point(x, y, _1n); // y(P) = y if y mod 2 = 0 or y(P) = p-y otherwise.\n p.assertValidity();\n return p;\n}\n/**\n * Create tagged hash, convert it to bigint, reduce modulo-n.\n */\nfunction challenge(...args) {\n return modN(bytesToNumberBE(taggedHash('BIP0340/challenge', ...args)));\n}\n/**\n * Schnorr public key is just `x` coordinate of Point as per BIP340.\n */\nfunction schnorrGetPublicKey(privateKey) {\n return schnorrGetExtPubKey(privateKey).bytes; // d'=int(sk). Fail if d'=0 or d'≥n. Ret bytes(d'⋅G)\n}\n/**\n * Creates Schnorr signature as per BIP340. Verifies itself before returning anything.\n * auxRand is optional and is not the sole source of k generation: bad CSPRNG won't be dangerous.\n */\nfunction schnorrSign(message, privateKey, auxRand = randomBytes(32)) {\n const m = ensureBytes('message', message);\n const { bytes: px, scalar: d } = schnorrGetExtPubKey(privateKey); // checks for isWithinCurveOrder\n const a = ensureBytes('auxRand', auxRand, 32); // Auxiliary random data a: a 32-byte array\n const t = numTo32b(d ^ bytesToNumberBE(taggedHash('BIP0340/aux', a))); // Let t be the byte-wise xor of bytes(d) and hash/aux(a)\n const rand = taggedHash('BIP0340/nonce', t, px, m); // Let rand = hash/nonce(t || bytes(P) || m)\n const k_ = modN(bytesToNumberBE(rand)); // Let k' = int(rand) mod n\n if (k_ === _0n)\n throw new Error('sign failed: k is zero'); // Fail if k' = 0.\n const { bytes: rx, scalar: k } = schnorrGetExtPubKey(k_); // Let R = k'⋅G.\n const e = challenge(rx, px, m); // Let e = int(hash/challenge(bytes(R) || bytes(P) || m)) mod n.\n const sig = new Uint8Array(64); // Let sig = bytes(R) || bytes((k + ed) mod n).\n sig.set(rx, 0);\n sig.set(numTo32b(modN(k + e * d)), 32);\n // If Verify(bytes(P), m, sig) (see below) returns failure, abort\n if (!schnorrVerify(sig, m, px))\n throw new Error('sign: Invalid signature produced');\n return sig;\n}\n/**\n * Verifies Schnorr signature.\n * Will swallow errors & return false except for initial type validation of arguments.\n */\nfunction schnorrVerify(signature, message, publicKey) {\n const sig = ensureBytes('signature', signature, 64);\n const m = ensureBytes('message', message);\n const pub = ensureBytes('publicKey', publicKey, 32);\n try {\n const P = lift_x(bytesToNumberBE(pub)); // P = lift_x(int(pk)); fail if that fails\n const r = bytesToNumberBE(sig.subarray(0, 32)); // Let r = int(sig[0:32]); fail if r ≥ p.\n if (!fe(r))\n return false;\n const s = bytesToNumberBE(sig.subarray(32, 64)); // Let s = int(sig[32:64]); fail if s ≥ n.\n if (!ge(s))\n return false;\n const e = challenge(numTo32b(r), pointToBytes(P), m); // int(challenge(bytes(r)||bytes(P)||m))%n\n const R = GmulAdd(P, s, modN(-e)); // R = s⋅G - e⋅P\n if (!R || !R.hasEvenY() || R.toAffine().x !== r)\n return false; // -eP == (n-e)P\n return true; // Fail if is_infinite(R) / not has_even_y(R) / x(R) ≠ r.\n }\n catch (error) {\n return false;\n }\n}\nexport const schnorr = /* @__PURE__ */ (() => ({\n getPublicKey: schnorrGetPublicKey,\n sign: schnorrSign,\n verify: schnorrVerify,\n utils: {\n randomPrivateKey: secp256k1.utils.randomPrivateKey,\n lift_x,\n pointToBytes,\n numberToBytesBE,\n bytesToNumberBE,\n taggedHash,\n mod,\n },\n}))();\nconst isoMap = /* @__PURE__ */ (() => isogenyMap(Fp, [\n // xNum\n [\n '0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7',\n '0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581',\n '0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262',\n '0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c',\n ],\n // xDen\n [\n '0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b',\n '0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14',\n '0x0000000000000000000000000000000000000000000000000000000000000001', // LAST 1\n ],\n // yNum\n [\n '0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c',\n '0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3',\n '0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931',\n '0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84',\n ],\n // yDen\n [\n '0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b',\n '0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573',\n '0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f',\n '0x0000000000000000000000000000000000000000000000000000000000000001', // LAST 1\n ],\n].map((i) => i.map((j) => BigInt(j)))))();\nconst mapSWU = /* @__PURE__ */ (() => mapToCurveSimpleSWU(Fp, {\n A: BigInt('0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533'),\n B: BigInt('1771'),\n Z: Fp.create(BigInt('-11')),\n}))();\nconst htf = /* @__PURE__ */ (() => createHasher(secp256k1.ProjectivePoint, (scalars) => {\n const { x, y } = mapSWU(Fp.create(scalars[0]));\n return isoMap(x, y);\n}, {\n DST: 'secp256k1_XMD:SHA-256_SSWU_RO_',\n encodeDST: 'secp256k1_XMD:SHA-256_SSWU_NU_',\n p: Fp.ORDER,\n m: 1,\n k: 128,\n expand: 'xmd',\n hash: sha256,\n}))();\nexport const hashToCurve = /* @__PURE__ */ (() => htf.hashToCurve)();\nexport const encodeToCurve = /* @__PURE__ */ (() => htf.encodeToCurve)();\n","/**\n * A constant for the zero hash.\n *\n * (**i.e.** ``\"0x0000000000000000000000000000000000000000000000000000000000000000\"``)\n */\nexport const ZeroHash = \"0x0000000000000000000000000000000000000000000000000000000000000000\";\n","import { ZeroHash } from \"../constants/index.js\";\nimport { concat, dataLength, getBigInt, getBytes, getNumber, hexlify, toBeArray, isHexString, zeroPadValue, assertArgument, assertPrivate } from \"../utils/index.js\";\n// Constants\nconst BN_0 = BigInt(0);\nconst BN_1 = BigInt(1);\nconst BN_2 = BigInt(2);\nconst BN_27 = BigInt(27);\nconst BN_28 = BigInt(28);\nconst BN_35 = BigInt(35);\nconst _guard = {};\nfunction toUint256(value) {\n return zeroPadValue(toBeArray(value), 32);\n}\n/**\n * A Signature @TODO\n *\n *\n * @_docloc: api/crypto:Signing\n */\nexport class Signature {\n #r;\n #s;\n #v;\n #networkV;\n /**\n * The ``r`` value for a signautre.\n *\n * This represents the ``x`` coordinate of a \"reference\" or\n * challenge point, from which the ``y`` can be computed.\n */\n get r() { return this.#r; }\n set r(value) {\n assertArgument(dataLength(value) === 32, \"invalid r\", \"value\", value);\n this.#r = hexlify(value);\n }\n /**\n * The ``s`` value for a signature.\n */\n get s() { return this.#s; }\n set s(_value) {\n assertArgument(dataLength(_value) === 32, \"invalid s\", \"value\", _value);\n const value = hexlify(_value);\n assertArgument(parseInt(value.substring(0, 3)) < 8, \"non-canonical s\", \"value\", value);\n this.#s = value;\n }\n /**\n * The ``v`` value for a signature.\n *\n * Since a given ``x`` value for ``r`` has two possible values for\n * its correspondin ``y``, the ``v`` indicates which of the two ``y``\n * values to use.\n *\n * It is normalized to the values ``27`` or ``28`` for legacy\n * purposes.\n */\n get v() { return this.#v; }\n set v(value) {\n const v = getNumber(value, \"value\");\n assertArgument(v === 27 || v === 28, \"invalid v\", \"v\", value);\n this.#v = v;\n }\n /**\n * The EIP-155 ``v`` for legacy transactions. For non-legacy\n * transactions, this value is ``null``.\n */\n get networkV() { return this.#networkV; }\n /**\n * The chain ID for EIP-155 legacy transactions. For non-legacy\n * transactions, this value is ``null``.\n */\n get legacyChainId() {\n const v = this.networkV;\n if (v == null) {\n return null;\n }\n return Signature.getChainId(v);\n }\n /**\n * The ``yParity`` for the signature.\n *\n * See ``v`` for more details on how this value is used.\n */\n get yParity() {\n return (this.v === 27) ? 0 : 1;\n }\n /**\n * The [[link-eip-2098]] compact representation of the ``yParity``\n * and ``s`` compacted into a single ``bytes32``.\n */\n get yParityAndS() {\n // The EIP-2098 compact representation\n const yParityAndS = getBytes(this.s);\n if (this.yParity) {\n yParityAndS[0] |= 0x80;\n }\n return hexlify(yParityAndS);\n }\n /**\n * The [[link-eip-2098]] compact representation.\n */\n get compactSerialized() {\n return concat([this.r, this.yParityAndS]);\n }\n /**\n * The serialized representation.\n */\n get serialized() {\n return concat([this.r, this.s, (this.yParity ? \"0x1c\" : \"0x1b\")]);\n }\n /**\n * @private\n */\n constructor(guard, r, s, v) {\n assertPrivate(guard, _guard, \"Signature\");\n this.#r = r;\n this.#s = s;\n this.#v = v;\n this.#networkV = null;\n }\n [Symbol.for('nodejs.util.inspect.custom')]() {\n return `Signature { r: \"${this.r}\", s: \"${this.s}\", yParity: ${this.yParity}, networkV: ${this.networkV} }`;\n }\n /**\n * Returns a new identical [[Signature]].\n */\n clone() {\n const clone = new Signature(_guard, this.r, this.s, this.v);\n if (this.networkV) {\n clone.#networkV = this.networkV;\n }\n return clone;\n }\n /**\n * Returns a representation that is compatible with ``JSON.stringify``.\n */\n toJSON() {\n const networkV = this.networkV;\n return {\n _type: \"signature\",\n networkV: ((networkV != null) ? networkV.toString() : null),\n r: this.r, s: this.s, v: this.v,\n };\n }\n /**\n * Compute the chain ID from the ``v`` in a legacy EIP-155 transactions.\n *\n * @example:\n * Signature.getChainId(45)\n * //_result:\n *\n * Signature.getChainId(46)\n * //_result:\n */\n static getChainId(v) {\n const bv = getBigInt(v, \"v\");\n // The v is not an EIP-155 v, so it is the unspecified chain ID\n if ((bv == BN_27) || (bv == BN_28)) {\n return BN_0;\n }\n // Bad value for an EIP-155 v\n assertArgument(bv >= BN_35, \"invalid EIP-155 v\", \"v\", v);\n return (bv - BN_35) / BN_2;\n }\n /**\n * Compute the ``v`` for a chain ID for a legacy EIP-155 transactions.\n *\n * Legacy transactions which use [[link-eip-155]] hijack the ``v``\n * property to include the chain ID.\n *\n * @example:\n * Signature.getChainIdV(5, 27)\n * //_result:\n *\n * Signature.getChainIdV(5, 28)\n * //_result:\n *\n */\n static getChainIdV(chainId, v) {\n return (getBigInt(chainId) * BN_2) + BigInt(35 + v - 27);\n }\n /**\n * Compute the normalized legacy transaction ``v`` from a ``yParirty``,\n * a legacy transaction ``v`` or a legacy [[link-eip-155]] transaction.\n *\n * @example:\n * // The values 0 and 1 imply v is actually yParity\n * Signature.getNormalizedV(0)\n * //_result:\n *\n * // Legacy non-EIP-1559 transaction (i.e. 27 or 28)\n * Signature.getNormalizedV(27)\n * //_result:\n *\n * // Legacy EIP-155 transaction (i.e. >= 35)\n * Signature.getNormalizedV(46)\n * //_result:\n *\n * // Invalid values throw\n * Signature.getNormalizedV(5)\n * //_error:\n */\n static getNormalizedV(v) {\n const bv = getBigInt(v);\n if (bv === BN_0 || bv === BN_27) {\n return 27;\n }\n if (bv === BN_1 || bv === BN_28) {\n return 28;\n }\n assertArgument(bv >= BN_35, \"invalid v\", \"v\", v);\n // Otherwise, EIP-155 v means odd is 27 and even is 28\n return (bv & BN_1) ? 27 : 28;\n }\n /**\n * Creates a new [[Signature]].\n *\n * If no %%sig%% is provided, a new [[Signature]] is created\n * with default values.\n *\n * If %%sig%% is a string, it is parsed.\n */\n static from(sig) {\n function assertError(check, message) {\n assertArgument(check, message, \"signature\", sig);\n }\n ;\n if (sig == null) {\n return new Signature(_guard, ZeroHash, ZeroHash, 27);\n }\n if (typeof (sig) === \"string\") {\n const bytes = getBytes(sig, \"signature\");\n if (bytes.length === 64) {\n const r = hexlify(bytes.slice(0, 32));\n const s = bytes.slice(32, 64);\n const v = (s[0] & 0x80) ? 28 : 27;\n s[0] &= 0x7f;\n return new Signature(_guard, r, hexlify(s), v);\n }\n if (bytes.length === 65) {\n const r = hexlify(bytes.slice(0, 32));\n const s = bytes.slice(32, 64);\n assertError((s[0] & 0x80) === 0, \"non-canonical s\");\n const v = Signature.getNormalizedV(bytes[64]);\n return new Signature(_guard, r, hexlify(s), v);\n }\n assertError(false, \"invalid raw signature length\");\n }\n if (sig instanceof Signature) {\n return sig.clone();\n }\n // Get r\n const _r = sig.r;\n assertError(_r != null, \"missing r\");\n const r = toUint256(_r);\n // Get s; by any means necessary (we check consistency below)\n const s = (function (s, yParityAndS) {\n if (s != null) {\n return toUint256(s);\n }\n if (yParityAndS != null) {\n assertError(isHexString(yParityAndS, 32), \"invalid yParityAndS\");\n const bytes = getBytes(yParityAndS);\n bytes[0] &= 0x7f;\n return hexlify(bytes);\n }\n assertError(false, \"missing s\");\n })(sig.s, sig.yParityAndS);\n assertError((getBytes(s)[0] & 0x80) == 0, \"non-canonical s\");\n // Get v; by any means necessary (we check consistency below)\n const { networkV, v } = (function (_v, yParityAndS, yParity) {\n if (_v != null) {\n const v = getBigInt(_v);\n return {\n networkV: ((v >= BN_35) ? v : undefined),\n v: Signature.getNormalizedV(v)\n };\n }\n if (yParityAndS != null) {\n assertError(isHexString(yParityAndS, 32), \"invalid yParityAndS\");\n return { v: ((getBytes(yParityAndS)[0] & 0x80) ? 28 : 27) };\n }\n if (yParity != null) {\n switch (getNumber(yParity, \"sig.yParity\")) {\n case 0: return { v: 27 };\n case 1: return { v: 28 };\n }\n assertError(false, \"invalid yParity\");\n }\n assertError(false, \"missing v\");\n })(sig.v, sig.yParityAndS, sig.yParity);\n const result = new Signature(_guard, r, s, v);\n if (networkV) {\n result.#networkV = networkV;\n }\n // If multiple of v, yParity, yParityAndS we given, check they match\n assertError(sig.yParity == null || getNumber(sig.yParity, \"sig.yParity\") === result.yParity, \"yParity mismatch\");\n assertError(sig.yParityAndS == null || sig.yParityAndS === result.yParityAndS, \"yParityAndS mismatch\");\n return result;\n }\n}\n","/**\n * Add details about signing here.\n *\n * @_subsection: api/crypto:Signing [about-signing]\n */\nimport { secp256k1 } from \"@noble/curves/secp256k1\";\nimport { concat, dataLength, getBytes, getBytesCopy, hexlify, toBeHex, assertArgument } from \"../utils/index.js\";\nimport { Signature } from \"./signature.js\";\n/**\n * A **SigningKey** provides high-level access to the elliptic curve\n * cryptography (ECC) operations and key management.\n */\nexport class SigningKey {\n #privateKey;\n /**\n * Creates a new **SigningKey** for %%privateKey%%.\n */\n constructor(privateKey) {\n assertArgument(dataLength(privateKey) === 32, \"invalid private key\", \"privateKey\", \"[REDACTED]\");\n this.#privateKey = hexlify(privateKey);\n }\n /**\n * The private key.\n */\n get privateKey() { return this.#privateKey; }\n /**\n * The uncompressed public key.\n *\n * This will always begin with the prefix ``0x04`` and be 132\n * characters long (the ``0x`` prefix and 130 hexadecimal nibbles).\n */\n get publicKey() { return SigningKey.computePublicKey(this.#privateKey); }\n /**\n * The compressed public key.\n *\n * This will always begin with either the prefix ``0x02`` or ``0x03``\n * and be 68 characters long (the ``0x`` prefix and 33 hexadecimal\n * nibbles)\n */\n get compressedPublicKey() { return SigningKey.computePublicKey(this.#privateKey, true); }\n /**\n * Return the signature of the signed %%digest%%.\n */\n sign(digest) {\n assertArgument(dataLength(digest) === 32, \"invalid digest length\", \"digest\", digest);\n const sig = secp256k1.sign(getBytesCopy(digest), getBytesCopy(this.#privateKey), {\n lowS: true\n });\n return Signature.from({\n r: toBeHex(sig.r, 32),\n s: toBeHex(sig.s, 32),\n v: (sig.recovery ? 0x1c : 0x1b)\n });\n }\n /**\n * Returns the [[link-wiki-ecdh]] shared secret between this\n * private key and the %%other%% key.\n *\n * The %%other%% key may be any type of key, a raw public key,\n * a compressed/uncompressed pubic key or aprivate key.\n *\n * Best practice is usually to use a cryptographic hash on the\n * returned value before using it as a symetric secret.\n *\n * @example:\n * sign1 = new SigningKey(id(\"some-secret-1\"))\n * sign2 = new SigningKey(id(\"some-secret-2\"))\n *\n * // Notice that privA.computeSharedSecret(pubB)...\n * sign1.computeSharedSecret(sign2.publicKey)\n * //_result:\n *\n * // ...is equal to privB.computeSharedSecret(pubA).\n * sign2.computeSharedSecret(sign1.publicKey)\n * //_result:\n */\n computeSharedSecret(other) {\n const pubKey = SigningKey.computePublicKey(other);\n return hexlify(secp256k1.getSharedSecret(getBytesCopy(this.#privateKey), getBytes(pubKey), false));\n }\n /**\n * Compute the public key for %%key%%, optionally %%compressed%%.\n *\n * The %%key%% may be any type of key, a raw public key, a\n * compressed/uncompressed public key or private key.\n *\n * @example:\n * sign = new SigningKey(id(\"some-secret\"));\n *\n * // Compute the uncompressed public key for a private key\n * SigningKey.computePublicKey(sign.privateKey)\n * //_result:\n *\n * // Compute the compressed public key for a private key\n * SigningKey.computePublicKey(sign.privateKey, true)\n * //_result:\n *\n * // Compute the uncompressed public key\n * SigningKey.computePublicKey(sign.publicKey, false);\n * //_result:\n *\n * // Compute the Compressed a public key\n * SigningKey.computePublicKey(sign.publicKey, true);\n * //_result:\n */\n static computePublicKey(key, compressed) {\n let bytes = getBytes(key, \"key\");\n // private key\n if (bytes.length === 32) {\n const pubKey = secp256k1.getPublicKey(bytes, !!compressed);\n return hexlify(pubKey);\n }\n // raw public key; use uncompressed key with 0x04 prefix\n if (bytes.length === 64) {\n const pub = new Uint8Array(65);\n pub[0] = 0x04;\n pub.set(bytes, 1);\n bytes = pub;\n }\n const point = secp256k1.ProjectivePoint.fromHex(bytes);\n return hexlify(point.toRawBytes(compressed));\n }\n /**\n * Returns the public key for the private key which produced the\n * %%signature%% for the given %%digest%%.\n *\n * @example:\n * key = new SigningKey(id(\"some-secret\"))\n * digest = id(\"hello world\")\n * sig = key.sign(digest)\n *\n * // Notice the signer public key...\n * key.publicKey\n * //_result:\n *\n * // ...is equal to the recovered public key\n * SigningKey.recoverPublicKey(digest, sig)\n * //_result:\n *\n */\n static recoverPublicKey(digest, signature) {\n assertArgument(dataLength(digest) === 32, \"invalid digest length\", \"digest\", digest);\n const sig = Signature.from(signature);\n let secpSig = secp256k1.Signature.fromCompact(getBytesCopy(concat([sig.r, sig.s])));\n secpSig = secpSig.addRecoveryBit(sig.yParity);\n const pubKey = secpSig.recoverPublicKey(getBytesCopy(digest));\n assertArgument(pubKey != null, \"invalid signautre for digest\", \"signature\", signature);\n return \"0x\" + pubKey.toHex(false);\n }\n /**\n * Returns the point resulting from adding the ellipic curve points\n * %%p0%% and %%p1%%.\n *\n * This is not a common function most developers should require, but\n * can be useful for certain privacy-specific techniques.\n *\n * For example, it is used by [[HDNodeWallet]] to compute child\n * addresses from parent public keys and chain codes.\n */\n static addPoints(p0, p1, compressed) {\n const pub0 = secp256k1.ProjectivePoint.fromHex(SigningKey.computePublicKey(p0).substring(2));\n const pub1 = secp256k1.ProjectivePoint.fromHex(SigningKey.computePublicKey(p1).substring(2));\n return \"0x\" + pub0.add(pub1).toHex(!!compressed);\n }\n}\n","/**\n * Using strings in Ethereum (or any security-basd system) requires\n * additional care. These utilities attempt to mitigate some of the\n * safety issues as well as provide the ability to recover and analyse\n * strings.\n *\n * @_subsection api/utils:Strings and UTF-8 [about-strings]\n */\nimport { getBytes } from \"./data.js\";\nimport { assertArgument, assertNormalize } from \"./errors.js\";\nfunction errorFunc(reason, offset, bytes, output, badCodepoint) {\n assertArgument(false, `invalid codepoint at offset ${offset}; ${reason}`, \"bytes\", bytes);\n}\nfunction ignoreFunc(reason, offset, bytes, output, badCodepoint) {\n // If there is an invalid prefix (including stray continuation), skip any additional continuation bytes\n if (reason === \"BAD_PREFIX\" || reason === \"UNEXPECTED_CONTINUE\") {\n let i = 0;\n for (let o = offset + 1; o < bytes.length; o++) {\n if (bytes[o] >> 6 !== 0x02) {\n break;\n }\n i++;\n }\n return i;\n }\n // This byte runs us past the end of the string, so just jump to the end\n // (but the first byte was read already read and therefore skipped)\n if (reason === \"OVERRUN\") {\n return bytes.length - offset - 1;\n }\n // Nothing to skip\n return 0;\n}\nfunction replaceFunc(reason, offset, bytes, output, badCodepoint) {\n // Overlong representations are otherwise \"valid\" code points; just non-deistingtished\n if (reason === \"OVERLONG\") {\n assertArgument(typeof (badCodepoint) === \"number\", \"invalid bad code point for replacement\", \"badCodepoint\", badCodepoint);\n output.push(badCodepoint);\n return 0;\n }\n // Put the replacement character into the output\n output.push(0xfffd);\n // Otherwise, process as if ignoring errors\n return ignoreFunc(reason, offset, bytes, output, badCodepoint);\n}\n/**\n * A handful of popular, built-in UTF-8 error handling strategies.\n *\n * **``\"error\"``** - throws on ANY illegal UTF-8 sequence or\n * non-canonical (overlong) codepoints (this is the default)\n *\n * **``\"ignore\"``** - silently drops any illegal UTF-8 sequence\n * and accepts non-canonical (overlong) codepoints\n *\n * **``\"replace\"``** - replace any illegal UTF-8 sequence with the\n * UTF-8 replacement character (i.e. ``\"\\\\ufffd\"``) and accepts\n * non-canonical (overlong) codepoints\n *\n * @returns: Record<\"error\" | \"ignore\" | \"replace\", Utf8ErrorFunc>\n */\nexport const Utf8ErrorFuncs = Object.freeze({\n error: errorFunc,\n ignore: ignoreFunc,\n replace: replaceFunc\n});\n// http://stackoverflow.com/questions/13356493/decode-utf-8-with-javascript#13691499\nfunction getUtf8CodePoints(_bytes, onError) {\n if (onError == null) {\n onError = Utf8ErrorFuncs.error;\n }\n const bytes = getBytes(_bytes, \"bytes\");\n const result = [];\n let i = 0;\n // Invalid bytes are ignored\n while (i < bytes.length) {\n const c = bytes[i++];\n // 0xxx xxxx\n if (c >> 7 === 0) {\n result.push(c);\n continue;\n }\n // Multibyte; how many bytes left for this character?\n let extraLength = null;\n let overlongMask = null;\n // 110x xxxx 10xx xxxx\n if ((c & 0xe0) === 0xc0) {\n extraLength = 1;\n overlongMask = 0x7f;\n // 1110 xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf0) === 0xe0) {\n extraLength = 2;\n overlongMask = 0x7ff;\n // 1111 0xxx 10xx xxxx 10xx xxxx 10xx xxxx\n }\n else if ((c & 0xf8) === 0xf0) {\n extraLength = 3;\n overlongMask = 0xffff;\n }\n else {\n if ((c & 0xc0) === 0x80) {\n i += onError(\"UNEXPECTED_CONTINUE\", i - 1, bytes, result);\n }\n else {\n i += onError(\"BAD_PREFIX\", i - 1, bytes, result);\n }\n continue;\n }\n // Do we have enough bytes in our data?\n if (i - 1 + extraLength >= bytes.length) {\n i += onError(\"OVERRUN\", i - 1, bytes, result);\n continue;\n }\n // Remove the length prefix from the char\n let res = c & ((1 << (8 - extraLength - 1)) - 1);\n for (let j = 0; j < extraLength; j++) {\n let nextChar = bytes[i];\n // Invalid continuation byte\n if ((nextChar & 0xc0) != 0x80) {\n i += onError(\"MISSING_CONTINUE\", i, bytes, result);\n res = null;\n break;\n }\n ;\n res = (res << 6) | (nextChar & 0x3f);\n i++;\n }\n // See above loop for invalid continuation byte\n if (res === null) {\n continue;\n }\n // Maximum code point\n if (res > 0x10ffff) {\n i += onError(\"OUT_OF_RANGE\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Reserved for UTF-16 surrogate halves\n if (res >= 0xd800 && res <= 0xdfff) {\n i += onError(\"UTF16_SURROGATE\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n // Check for overlong sequences (more bytes than needed)\n if (res <= overlongMask) {\n i += onError(\"OVERLONG\", i - 1 - extraLength, bytes, result, res);\n continue;\n }\n result.push(res);\n }\n return result;\n}\n// http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array\n/**\n * Returns the UTF-8 byte representation of %%str%%.\n *\n * If %%form%% is specified, the string is normalized.\n */\nexport function toUtf8Bytes(str, form) {\n assertArgument(typeof (str) === \"string\", \"invalid string value\", \"str\", str);\n if (form != null) {\n assertNormalize(form);\n str = str.normalize(form);\n }\n let result = [];\n for (let i = 0; i < str.length; i++) {\n const c = str.charCodeAt(i);\n if (c < 0x80) {\n result.push(c);\n }\n else if (c < 0x800) {\n result.push((c >> 6) | 0xc0);\n result.push((c & 0x3f) | 0x80);\n }\n else if ((c & 0xfc00) == 0xd800) {\n i++;\n const c2 = str.charCodeAt(i);\n assertArgument(i < str.length && ((c2 & 0xfc00) === 0xdc00), \"invalid surrogate pair\", \"str\", str);\n // Surrogate Pair\n const pair = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff);\n result.push((pair >> 18) | 0xf0);\n result.push(((pair >> 12) & 0x3f) | 0x80);\n result.push(((pair >> 6) & 0x3f) | 0x80);\n result.push((pair & 0x3f) | 0x80);\n }\n else {\n result.push((c >> 12) | 0xe0);\n result.push(((c >> 6) & 0x3f) | 0x80);\n result.push((c & 0x3f) | 0x80);\n }\n }\n return new Uint8Array(result);\n}\n;\n//export \nfunction _toUtf8String(codePoints) {\n return codePoints.map((codePoint) => {\n if (codePoint <= 0xffff) {\n return String.fromCharCode(codePoint);\n }\n codePoint -= 0x10000;\n return String.fromCharCode((((codePoint >> 10) & 0x3ff) + 0xd800), ((codePoint & 0x3ff) + 0xdc00));\n }).join(\"\");\n}\n/**\n * Returns the string represented by the UTF-8 data %%bytes%%.\n *\n * When %%onError%% function is specified, it is called on UTF-8\n * errors allowing recovery using the [[Utf8ErrorFunc]] API.\n * (default: [error](Utf8ErrorFuncs))\n */\nexport function toUtf8String(bytes, onError) {\n return _toUtf8String(getUtf8CodePoints(bytes, onError));\n}\n/**\n * Returns the UTF-8 code-points for %%str%%.\n *\n * If %%form%% is specified, the string is normalized.\n */\nexport function toUtf8CodePoints(str, form) {\n return getUtf8CodePoints(toUtf8Bytes(str, form));\n}\n","import { keccak256 } from \"../crypto/index.js\";\nimport { toUtf8Bytes } from \"../utils/index.js\";\n/**\n * A simple hashing function which operates on UTF-8 strings to\n * compute an 32-byte identifier.\n *\n * This simply computes the [UTF-8 bytes](toUtf8Bytes) and computes\n * the [[keccak256]].\n *\n * @example:\n * id(\"hello world\")\n * //_result:\n */\nexport function id(value) {\n return keccak256(toUtf8Bytes(value));\n}\n","//import { TypedDataDomain, TypedDataField } from \"@ethersproject/providerabstract-signer\";\nimport { getAddress } from \"../address/index.js\";\nimport { keccak256 } from \"../crypto/index.js\";\nimport { recoverAddress } from \"../transaction/index.js\";\nimport { concat, defineProperties, getBigInt, getBytes, hexlify, isHexString, mask, toBeHex, toQuantity, toTwos, zeroPadValue, assertArgument } from \"../utils/index.js\";\nimport { id } from \"./id.js\";\nconst padding = new Uint8Array(32);\npadding.fill(0);\nconst BN__1 = BigInt(-1);\nconst BN_0 = BigInt(0);\nconst BN_1 = BigInt(1);\nconst BN_MAX_UINT256 = BigInt(\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\");\n;\n;\nfunction hexPadRight(value) {\n const bytes = getBytes(value);\n const padOffset = bytes.length % 32;\n if (padOffset) {\n return concat([bytes, padding.slice(padOffset)]);\n }\n return hexlify(bytes);\n}\nconst hexTrue = toBeHex(BN_1, 32);\nconst hexFalse = toBeHex(BN_0, 32);\nconst domainFieldTypes = {\n name: \"string\",\n version: \"string\",\n chainId: \"uint256\",\n verifyingContract: \"address\",\n salt: \"bytes32\"\n};\nconst domainFieldNames = [\n \"name\", \"version\", \"chainId\", \"verifyingContract\", \"salt\"\n];\nfunction checkString(key) {\n return function (value) {\n assertArgument(typeof (value) === \"string\", `invalid domain value for ${JSON.stringify(key)}`, `domain.${key}`, value);\n return value;\n };\n}\nconst domainChecks = {\n name: checkString(\"name\"),\n version: checkString(\"version\"),\n chainId: function (_value) {\n const value = getBigInt(_value, \"domain.chainId\");\n assertArgument(value >= 0, \"invalid chain ID\", \"domain.chainId\", _value);\n if (Number.isSafeInteger(value)) {\n return Number(value);\n }\n return toQuantity(value);\n },\n verifyingContract: function (value) {\n try {\n return getAddress(value).toLowerCase();\n }\n catch (error) { }\n assertArgument(false, `invalid domain value \"verifyingContract\"`, \"domain.verifyingContract\", value);\n },\n salt: function (value) {\n const bytes = getBytes(value, \"domain.salt\");\n assertArgument(bytes.length === 32, `invalid domain value \"salt\"`, \"domain.salt\", value);\n return hexlify(bytes);\n }\n};\nfunction getBaseEncoder(type) {\n // intXX and uintXX\n {\n const match = type.match(/^(u?)int(\\d+)$/);\n if (match) {\n const signed = (match[1] === \"\");\n const width = parseInt(match[2]);\n assertArgument(width % 8 === 0 && width !== 0 && width <= 256 && match[2] === String(width), \"invalid numeric width\", \"type\", type);\n const boundsUpper = mask(BN_MAX_UINT256, signed ? (width - 1) : width);\n const boundsLower = signed ? ((boundsUpper + BN_1) * BN__1) : BN_0;\n return function (_value) {\n const value = getBigInt(_value, \"value\");\n assertArgument(value >= boundsLower && value <= boundsUpper, `value out-of-bounds for ${type}`, \"value\", value);\n return toBeHex(signed ? toTwos(value, 256) : value, 32);\n };\n }\n }\n // bytesXX\n {\n const match = type.match(/^bytes(\\d+)$/);\n if (match) {\n const width = parseInt(match[1]);\n assertArgument(width !== 0 && width <= 32 && match[1] === String(width), \"invalid bytes width\", \"type\", type);\n return function (value) {\n const bytes = getBytes(value);\n assertArgument(bytes.length === width, `invalid length for ${type}`, \"value\", value);\n return hexPadRight(value);\n };\n }\n }\n switch (type) {\n case \"address\": return function (value) {\n return zeroPadValue(getAddress(value), 32);\n };\n case \"bool\": return function (value) {\n return ((!value) ? hexFalse : hexTrue);\n };\n case \"bytes\": return function (value) {\n return keccak256(value);\n };\n case \"string\": return function (value) {\n return id(value);\n };\n }\n return null;\n}\nfunction encodeType(name, fields) {\n return `${name}(${fields.map(({ name, type }) => (type + \" \" + name)).join(\",\")})`;\n}\n// foo[][3] => { base: \"foo\", index: \"[][3]\", array: {\n// base: \"foo\", prefix: \"foo[]\", count: 3 } }\nfunction splitArray(type) {\n const match = type.match(/^([^\\x5b]*)((\\x5b\\d*\\x5d)*)(\\x5b(\\d*)\\x5d)$/);\n if (match) {\n return {\n base: match[1],\n index: (match[2] + match[4]),\n array: {\n base: match[1],\n prefix: (match[1] + match[2]),\n count: (match[5] ? parseInt(match[5]) : -1),\n }\n };\n }\n return { base: type };\n}\n/**\n * A **TypedDataEncode** prepares and encodes [[link-eip-712]] payloads\n * for signed typed data.\n *\n * This is useful for those that wish to compute various components of a\n * typed data hash, primary types, or sub-components, but generally the\n * higher level [[Signer-signTypedData]] is more useful.\n */\nexport class TypedDataEncoder {\n /**\n * The primary type for the structured [[types]].\n *\n * This is derived automatically from the [[types]], since no\n * recursion is possible, once the DAG for the types is consturcted\n * internally, the primary type must be the only remaining type with\n * no parent nodes.\n */\n primaryType;\n #types;\n /**\n * The types.\n */\n get types() {\n return JSON.parse(this.#types);\n }\n #fullTypes;\n #encoderCache;\n /**\n * Create a new **TypedDataEncoder** for %%types%%.\n *\n * This performs all necessary checking that types are valid and\n * do not violate the [[link-eip-712]] structural constraints as\n * well as computes the [[primaryType]].\n */\n constructor(_types) {\n this.#fullTypes = new Map();\n this.#encoderCache = new Map();\n // Link struct types to their direct child structs\n const links = new Map();\n // Link structs to structs which contain them as a child\n const parents = new Map();\n // Link all subtypes within a given struct\n const subtypes = new Map();\n const types = {};\n Object.keys(_types).forEach((type) => {\n types[type] = _types[type].map(({ name, type }) => {\n // Normalize the base type (unless name conflict)\n let { base, index } = splitArray(type);\n if (base === \"int\" && !_types[\"int\"]) {\n base = \"int256\";\n }\n if (base === \"uint\" && !_types[\"uint\"]) {\n base = \"uint256\";\n }\n return { name, type: (base + (index || \"\")) };\n });\n links.set(type, new Set());\n parents.set(type, []);\n subtypes.set(type, new Set());\n });\n this.#types = JSON.stringify(types);\n for (const name in types) {\n const uniqueNames = new Set();\n for (const field of types[name]) {\n // Check each field has a unique name\n assertArgument(!uniqueNames.has(field.name), `duplicate variable name ${JSON.stringify(field.name)} in ${JSON.stringify(name)}`, \"types\", _types);\n uniqueNames.add(field.name);\n // Get the base type (drop any array specifiers)\n const baseType = splitArray(field.type).base;\n assertArgument(baseType !== name, `circular type reference to ${JSON.stringify(baseType)}`, \"types\", _types);\n // Is this a base encoding type?\n const encoder = getBaseEncoder(baseType);\n if (encoder) {\n continue;\n }\n assertArgument(parents.has(baseType), `unknown type ${JSON.stringify(baseType)}`, \"types\", _types);\n // Add linkage\n parents.get(baseType).push(name);\n links.get(name).add(baseType);\n }\n }\n // Deduce the primary type\n const primaryTypes = Array.from(parents.keys()).filter((n) => (parents.get(n).length === 0));\n assertArgument(primaryTypes.length !== 0, \"missing primary type\", \"types\", _types);\n assertArgument(primaryTypes.length === 1, `ambiguous primary types or unused types: ${primaryTypes.map((t) => (JSON.stringify(t))).join(\", \")}`, \"types\", _types);\n defineProperties(this, { primaryType: primaryTypes[0] });\n // Check for circular type references\n function checkCircular(type, found) {\n assertArgument(!found.has(type), `circular type reference to ${JSON.stringify(type)}`, \"types\", _types);\n found.add(type);\n for (const child of links.get(type)) {\n if (!parents.has(child)) {\n continue;\n }\n // Recursively check children\n checkCircular(child, found);\n // Mark all ancestors as having this decendant\n for (const subtype of found) {\n subtypes.get(subtype).add(child);\n }\n }\n found.delete(type);\n }\n checkCircular(this.primaryType, new Set());\n // Compute each fully describe type\n for (const [name, set] of subtypes) {\n const st = Array.from(set);\n st.sort();\n this.#fullTypes.set(name, encodeType(name, types[name]) + st.map((t) => encodeType(t, types[t])).join(\"\"));\n }\n }\n /**\n * Returnthe encoder for the specific %%type%%.\n */\n getEncoder(type) {\n let encoder = this.#encoderCache.get(type);\n if (!encoder) {\n encoder = this.#getEncoder(type);\n this.#encoderCache.set(type, encoder);\n }\n return encoder;\n }\n #getEncoder(type) {\n // Basic encoder type (address, bool, uint256, etc)\n {\n const encoder = getBaseEncoder(type);\n if (encoder) {\n return encoder;\n }\n }\n // Array\n const array = splitArray(type).array;\n if (array) {\n const subtype = array.prefix;\n const subEncoder = this.getEncoder(subtype);\n return (value) => {\n assertArgument(array.count === -1 || array.count === value.length, `array length mismatch; expected length ${array.count}`, \"value\", value);\n let result = value.map(subEncoder);\n if (this.#fullTypes.has(subtype)) {\n result = result.map(keccak256);\n }\n return keccak256(concat(result));\n };\n }\n // Struct\n const fields = this.types[type];\n if (fields) {\n const encodedType = id(this.#fullTypes.get(type));\n return (value) => {\n const values = fields.map(({ name, type }) => {\n const result = this.getEncoder(type)(value[name]);\n if (this.#fullTypes.has(type)) {\n return keccak256(result);\n }\n return result;\n });\n values.unshift(encodedType);\n return concat(values);\n };\n }\n assertArgument(false, `unknown type: ${type}`, \"type\", type);\n }\n /**\n * Return the full type for %%name%%.\n */\n encodeType(name) {\n const result = this.#fullTypes.get(name);\n assertArgument(result, `unknown type: ${JSON.stringify(name)}`, \"name\", name);\n return result;\n }\n /**\n * Return the encoded %%value%% for the %%type%%.\n */\n encodeData(type, value) {\n return this.getEncoder(type)(value);\n }\n /**\n * Returns the hash of %%value%% for the type of %%name%%.\n */\n hashStruct(name, value) {\n return keccak256(this.encodeData(name, value));\n }\n /**\n * Return the fulled encoded %%value%% for the [[types]].\n */\n encode(value) {\n return this.encodeData(this.primaryType, value);\n }\n /**\n * Return the hash of the fully encoded %%value%% for the [[types]].\n */\n hash(value) {\n return this.hashStruct(this.primaryType, value);\n }\n /**\n * @_ignore:\n */\n _visit(type, value, callback) {\n // Basic encoder type (address, bool, uint256, etc)\n {\n const encoder = getBaseEncoder(type);\n if (encoder) {\n return callback(type, value);\n }\n }\n // Array\n const array = splitArray(type).array;\n if (array) {\n assertArgument(array.count === -1 || array.count === value.length, `array length mismatch; expected length ${array.count}`, \"value\", value);\n return value.map((v) => this._visit(array.prefix, v, callback));\n }\n // Struct\n const fields = this.types[type];\n if (fields) {\n return fields.reduce((accum, { name, type }) => {\n accum[name] = this._visit(type, value[name], callback);\n return accum;\n }, {});\n }\n assertArgument(false, `unknown type: ${type}`, \"type\", type);\n }\n /**\n * Call %%calback%% for each value in %%value%%, passing the type and\n * component within %%value%%.\n *\n * This is useful for replacing addresses or other transformation that\n * may be desired on each component, based on its type.\n */\n visit(value, callback) {\n return this._visit(this.primaryType, value, callback);\n }\n /**\n * Create a new **TypedDataEncoder** for %%types%%.\n */\n static from(types) {\n return new TypedDataEncoder(types);\n }\n /**\n * Return the primary type for %%types%%.\n */\n static getPrimaryType(types) {\n return TypedDataEncoder.from(types).primaryType;\n }\n /**\n * Return the hashed struct for %%value%% using %%types%% and %%name%%.\n */\n static hashStruct(name, types, value) {\n return TypedDataEncoder.from(types).hashStruct(name, value);\n }\n /**\n * Return the domain hash for %%domain%%.\n */\n static hashDomain(domain) {\n const domainFields = [];\n for (const name in domain) {\n if (domain[name] == null) {\n continue;\n }\n const type = domainFieldTypes[name];\n assertArgument(type, `invalid typed-data domain key: ${JSON.stringify(name)}`, \"domain\", domain);\n domainFields.push({ name, type });\n }\n domainFields.sort((a, b) => {\n return domainFieldNames.indexOf(a.name) - domainFieldNames.indexOf(b.name);\n });\n return TypedDataEncoder.hashStruct(\"EIP712Domain\", { EIP712Domain: domainFields }, domain);\n }\n /**\n * Return the fully encoded [[link-eip-712]] %%value%% for %%types%% with %%domain%%.\n */\n static encode(domain, types, value) {\n return concat([\n \"0x1901\",\n TypedDataEncoder.hashDomain(domain),\n TypedDataEncoder.from(types).hash(value)\n ]);\n }\n /**\n * Return the hash of the fully encoded [[link-eip-712]] %%value%% for %%types%% with %%domain%%.\n */\n static hash(domain, types, value) {\n return keccak256(TypedDataEncoder.encode(domain, types, value));\n }\n // Replaces all address types with ENS names with their looked up address\n /**\n * Resolves to the value from resolving all addresses in %%value%% for\n * %%types%% and the %%domain%%.\n */\n static async resolveNames(domain, types, value, resolveName) {\n // Make a copy to isolate it from the object passed in\n domain = Object.assign({}, domain);\n // Allow passing null to ignore value\n for (const key in domain) {\n if (domain[key] == null) {\n delete domain[key];\n }\n }\n // Look up all ENS names\n const ensCache = {};\n // Do we need to look up the domain's verifyingContract?\n if (domain.verifyingContract && !isHexString(domain.verifyingContract, 20)) {\n ensCache[domain.verifyingContract] = \"0x\";\n }\n // We are going to use the encoder to visit all the base values\n const encoder = TypedDataEncoder.from(types);\n // Get a list of all the addresses\n encoder.visit(value, (type, value) => {\n if (type === \"address\" && !isHexString(value, 20)) {\n ensCache[value] = \"0x\";\n }\n return value;\n });\n // Lookup each name\n for (const name in ensCache) {\n ensCache[name] = await resolveName(name);\n }\n // Replace the domain verifyingContract if needed\n if (domain.verifyingContract && ensCache[domain.verifyingContract]) {\n domain.verifyingContract = ensCache[domain.verifyingContract];\n }\n // Replace all ENS names with their address\n value = encoder.visit(value, (type, value) => {\n if (type === \"address\" && ensCache[value]) {\n return ensCache[value];\n }\n return value;\n });\n return { domain, value };\n }\n /**\n * Returns the JSON-encoded payload expected by nodes which implement\n * the JSON-RPC [[link-eip-712]] method.\n */\n static getPayload(domain, types, value) {\n // Validate the domain fields\n TypedDataEncoder.hashDomain(domain);\n // Derive the EIP712Domain Struct reference type\n const domainValues = {};\n const domainTypes = [];\n domainFieldNames.forEach((name) => {\n const value = domain[name];\n if (value == null) {\n return;\n }\n domainValues[name] = domainChecks[name](value);\n domainTypes.push({ name, type: domainFieldTypes[name] });\n });\n const encoder = TypedDataEncoder.from(types);\n // Get the normalized types\n types = encoder.types;\n const typesWithDomain = Object.assign({}, types);\n assertArgument(typesWithDomain.EIP712Domain == null, \"types must not contain EIP712Domain type\", \"types.EIP712Domain\", types);\n typesWithDomain.EIP712Domain = domainTypes;\n // Validate the data structures and types\n encoder.encode(value);\n return {\n types: typesWithDomain,\n domain: domainValues,\n primaryType: encoder.primaryType,\n message: encoder.visit(value, (type, value) => {\n // bytes\n if (type.match(/^bytes(\\d*)/)) {\n return hexlify(getBytes(value));\n }\n // uint or int\n if (type.match(/^u?int/)) {\n return getBigInt(value).toString();\n }\n switch (type) {\n case \"address\":\n return value.toLowerCase();\n case \"bool\":\n return !!value;\n case \"string\":\n assertArgument(typeof (value) === \"string\", \"invalid string\", \"value\", value);\n return value;\n }\n assertArgument(false, \"unsupported type\", \"type\", type);\n })\n };\n }\n}\n/**\n * Compute the address used to sign the typed data for the %%signature%%.\n */\nexport function verifyTypedData(domain, types, value, signature) {\n return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);\n}\n","import { inject } from '@angular/core';\nimport { Capacitor } from '@capacitor/core';\nimport { MobileServices } from 'mobile-services';\nimport {\n CoinbaseRequestAccountsAction,\n CoinbaseSignTypedDataV4Action,\n} from 'mobile-services/src/models/coinbase-action';\nimport {\n CoinbaseResult,\n CoinbaseRequestAccountsResult,\n CoinbaseSignTypedDataV4Result,\n} from 'mobile-services/src/models/coinbase-result';\nimport { ProfileService } from '../../profile/profile.service';\nimport { ethers } from 'ethers';\nimport { Wallet } from 'src/app/model/wallet/wallet';\nimport { AnalyticsService } from '../../analytics/analytics.service';\nimport { PaymentCancelError } from './payment-cancel-error';\nimport { UsdcDepositData } from './usdc-deposit-data';\nimport { UsdcContractMessage, UsdcTypedData } from './usdc-typed-data';\nimport { PaymentRelinkError } from './payment-relink-error';\n\nexport class CoinbaseWalletPlatform {\n private profileService = inject(ProfileService);\n private analyticsService = inject(AnalyticsService);\n\n async initPayments(): Promise {\n if (!Capacitor.isNativePlatform()) {\n console.error('Coinbase payments not available on web');\n return;\n }\n\n try {\n await MobileServices.coinbaseInit();\n } catch (error) {\n this.analyticsService.handleError(error, 'Init Coinbase');\n }\n }\n\n async coinbaseHasWallet(): Promise {\n try {\n if (!Capacitor.isNativePlatform()) {\n return false;\n }\n const result = await MobileServices.coinbaseHasWallet();\n return result.hasWallet;\n } catch (error) {\n await this.analyticsService.handleError(error, 'Has Coinbase wallet');\n return false;\n }\n }\n\n async connect(wallet: Wallet): Promise {\n try {\n if (!Capacitor.isNativePlatform()) {\n throw new Error('Coinbase payments not available on web');\n }\n\n const requestAccountsAction: CoinbaseRequestAccountsAction = {\n type: 'request-accounts',\n };\n const response = await MobileServices.coinbaseInitiateHandshake({\n actions: [requestAccountsAction],\n });\n\n let coinbaseAddress: string | undefined = undefined;\n response.results.forEach((result) => {\n if (isRequestAccountsResult(result)) {\n // Always set address as lowercase for backend validation\n coinbaseAddress = result.value.toLowerCase();\n } else {\n throw new Error('Invalid response result');\n }\n });\n\n if (!coinbaseAddress) {\n throw new Error('Invalid polygon address');\n }\n\n await this.profileService.setPolygonAddress(wallet.id, coinbaseAddress);\n } catch (error) {\n if (error instanceof Error) {\n handleCoinbaseError(error);\n }\n throw new Error('Failed to connect to Coinbase Wallet');\n }\n }\n\n async authorizeTransfer(\n userAddress: string,\n usdcDepositData: UsdcDepositData,\n amountUsd: number,\n ): Promise<{ dataSignature: string; message: UsdcContractMessage }> {\n try {\n if (!Capacitor.isNativePlatform()) {\n throw new Error('Coinbase payments not available on web');\n }\n\n // Convert USD amount\n const amount = ethers.parseUnits(`${amountUsd}`, 6); // 0.1 USDC = 10000 units\n\n const typedDataJson: UsdcTypedData = {\n types: usdcDepositData.usdcContract.types,\n domain: usdcDepositData.usdcContract.domain,\n primaryType: 'TransferWithAuthorization',\n message: {\n from: userAddress,\n to: usdcDepositData.operatorAddress,\n value: amount.toString(),\n validAfter: 0, // Immediately valid\n validBefore: Math.floor(Date.now() / 1000) + 900, // Valid for an 15m\n nonce: ethers.hexlify(ethers.randomBytes(32)), // Unique nonce\n },\n };\n\n const signTypedDataV4Action: CoinbaseSignTypedDataV4Action = {\n type: 'sign-typed-data-v4',\n address: userAddress,\n typedDataJson: JSON.stringify(typedDataJson),\n };\n\n const response = await MobileServices.coinbaseMakeRequest({\n actions: [signTypedDataV4Action],\n });\n\n let dataSignature: string | undefined = undefined;\n response.results.forEach((result) => {\n if (isSignTypedDataV4Result(result)) {\n dataSignature = result.value;\n\n const verifiedAddress = verifyTypedData(typedDataJson, dataSignature);\n if (verifiedAddress.toLowerCase() !== userAddress.toLowerCase()) {\n console.error(`Data signature did not verify`);\n }\n } else {\n throw new Error('Invalid response result');\n }\n });\n if (dataSignature === undefined) {\n throw new Error('Invalid data signature');\n }\n return { dataSignature: dataSignature, message: typedDataJson.message };\n } catch (error) {\n if (error instanceof Error) {\n handleCoinbaseError(error);\n }\n throw new Error('Failed to connect to Coinbase Wallet');\n }\n }\n}\n\nfunction handleCoinbaseError(error: Error): never {\n const typedError = error as { code?: string; errorMessage?: string };\n if (typedError.code === 'REQUEST_DENIED') {\n throw new PaymentCancelError();\n } else if (\n typedError.code === 'SESSION_NOT_FOUND' ||\n typedError.code === 'MISSING_SYMMETRIC_KEY'\n ) {\n throw new PaymentRelinkError();\n }\n throw new Error(error.message);\n}\n\nfunction verifyTypedData(typedDataJson: UsdcTypedData, dataSignature: string) {\n const types = {\n TransferWithAuthorization: [\n { name: 'from', type: 'address' },\n { name: 'to', type: 'address' },\n { name: 'value', type: 'uint256' },\n { name: 'validAfter', type: 'uint256' },\n { name: 'validBefore', type: 'uint256' },\n { name: 'nonce', type: 'bytes32' },\n ],\n };\n return ethers.verifyTypedData(typedDataJson.domain, types, typedDataJson.message, dataSignature);\n}\n\nfunction isRequestAccountsResult(result: CoinbaseResult): result is CoinbaseRequestAccountsResult {\n return result.type === 'request-accounts';\n}\n\nfunction isSignTypedDataV4Result(result: CoinbaseResult): result is CoinbaseSignTypedDataV4Result {\n return result.type === 'sign-typed-data-v4';\n}\n","import { getAddress } from \"../address/index.js\";\nimport { keccak256, SigningKey } from \"../crypto/index.js\";\n/**\n * Returns the address for the %%key%%.\n *\n * The key may be any standard form of public key or a private key.\n */\nexport function computeAddress(key) {\n let pubkey;\n if (typeof (key) === \"string\") {\n pubkey = SigningKey.computePublicKey(key, false);\n }\n else {\n pubkey = key.publicKey;\n }\n return getAddress(keccak256(\"0x\" + pubkey.substring(4)).substring(26));\n}\n/**\n * Returns the recovered address for the private key that was\n * used to sign %%digest%% that resulted in %%signature%%.\n */\nexport function recoverAddress(digest, signature) {\n return computeAddress(SigningKey.recoverPublicKey(digest, signature));\n}\n","import { Injectable } from '@angular/core';\nimport { CoinbaseWalletPlatform } from './platforms/coinbase-wallet-platform';\nimport { Wallet } from 'src/app/model/wallet/wallet';\nimport { PaymentPlatform } from 'src/app/model/wallet/wallet-types';\nimport { UsdcDepositData } from './platforms/usdc-deposit-data';\nimport { UsdcContractMessage } from './platforms/usdc-typed-data';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class WalletPaymentService {\n private coinbaseWalletPlatform = new CoinbaseWalletPlatform();\n\n async initPayments(): Promise {\n this.coinbaseWalletPlatform.initPayments();\n }\n\n async connect(wallet: Wallet): Promise {\n if (wallet.isPolygonWallet()) {\n switch (wallet.paymentPlatform) {\n case PaymentPlatform.CoinbaseWalletMobileSdk:\n await this.coinbaseWalletPlatform.connect(wallet);\n break;\n default:\n throw Error('Unsupported payment platform');\n }\n }\n }\n\n async hasWalletInstalled(wallet: Wallet): Promise {\n if (wallet.isPolygonWallet()) {\n switch (wallet.paymentPlatform) {\n case PaymentPlatform.CoinbaseWalletMobileSdk:\n return await this.coinbaseWalletPlatform.coinbaseHasWallet();\n default:\n return false;\n }\n }\n return false;\n }\n\n async authorizeTransfer(\n userAddress: string,\n usdcDepositData: UsdcDepositData,\n amountUsd: number,\n ): Promise<{ dataSignature: string; message: UsdcContractMessage }> {\n return await this.coinbaseWalletPlatform.authorizeTransfer(\n userAddress,\n usdcDepositData,\n amountUsd,\n );\n }\n}\n","import { inject, Injectable } from '@angular/core';\nimport { Translation, TranslocoLoader } from '@jsverse/transloco';\nimport { HttpClient } from '@angular/common/http';\nimport { AnalyticsService } from 'src/app/core/services/analytics/analytics.service';\nimport { EventName } from 'src/app/core/services/analytics/event-names';\nimport { environment } from 'src/environments/environment';\n\n@Injectable({ providedIn: 'root' })\nexport class TranslocoHttpLoader implements TranslocoLoader {\n private http = inject(HttpClient);\n private analytics = inject(AnalyticsService);\n\n getTranslation(lang: string) {\n this.analytics.log(EventName.FetchTranslation);\n // Append a cache-busting query parameter with each build\n return this.http.get(`/assets/i18n/${lang}.json?b=${environment.build}`);\n }\n}\n","import { TranslocoTranspiler, DefaultTranspiler, TranspileParams } from '@jsverse/transloco';\n\nexport class TranslocoCustomTranspiler implements TranslocoTranspiler {\n defaultTranspiler: DefaultTranspiler = new DefaultTranspiler();\n\n transpile(params: TranspileParams): string {\n return this.defaultTranspiler.transpile(params);\n\n // Use for debugging\n //return `ŜŜ ${this.defaultTranspiler.transpile(params)} ŞŞ`;\n }\n}\n","import { provideTransloco, provideTranslocoTranspiler, TranslocoModule } from '@jsverse/transloco';\nimport { NgModule } from '@angular/core';\nimport { TranslocoHttpLoader } from './transloco-loader';\nimport { environment } from 'src/environments/environment';\nimport { TranslocoCustomTranspiler } from './transloco-custom-transpiler';\n\n@NgModule({\n exports: [TranslocoModule],\n providers: [\n provideTransloco({\n config: {\n availableLangs: ['en', 'pt_BR', 'fr', 'de', 'es', 'ru'],\n defaultLang: 'en',\n fallbackLang: 'en',\n missingHandler: {\n // It will use the first language set in the `fallbackLang` property\n useFallbackTranslation: true,\n },\n // Remove this option if your application doesn't support changing language in runtime.\n reRenderOnLangChange: true,\n prodMode: environment.production,\n },\n loader: TranslocoHttpLoader,\n }),\n provideTranslocoTranspiler(TranslocoCustomTranspiler),\n ],\n})\nexport class TranslocoRootModule {}\n","
\n \n
\n
\n
\n {{ nickName }}\n
\n
\n \n
{{ subtitle }}
\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
0\">\n
\n \n
\n {{ stat.label }}\n
\n
\n
\n {{ stat.score }}\n \n
\n
\n {{ stat.percentage }}\n
\n
\n
\n
\n
\n
\n
","import { Component, inject, Input, OnInit } from '@angular/core';\nimport { ModalController } from '@ionic/angular';\nimport { ApiResponseStats, UserStats } from 'src/app/core/api/wager-api';\nimport { OperatorService } from 'src/app/core/services/operator/operator.service';\nimport { PlayerStatsService } from 'src/app/core/services/player-stats/player-stats.service';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { PlayerStatsViewModal } from 'src/app/shared/types/stats';\nimport { calcIcon, calcIconColor } from 'src/app/shared/utils/stats.utils';\nimport { DropdownItem } from 'src/app/ui/drop-down-button/drop-down-button.component';\n\n@Component({\n selector: 'app-player-stats-drawer',\n templateUrl: './player-stats-drawer.component.html',\n styleUrls: ['./player-stats-drawer.component.scss'],\n})\nexport class PlayerStatsDrawerComponent implements OnInit {\n private modalController = inject(ModalController);\n private playerStatsService = inject(PlayerStatsService);\n OperatorService = OperatorService;\n\n @Input() userId!: string;\n @Input() gameId!: GameId;\n @Input() nickname!: string;\n\n currentGame: GameId = this.gameId;\n nickName = '...';\n pills: { label: string }[] = [];\n userStats!: UserStats;\n statsList: PlayerStatsViewModal[] = [];\n iconForGlobalRank = 'medal';\n colorForGlobalRank = '--white';\n subtitle!: string;\n unlockedGlobalRank = false;\n\n gameOptions: DropdownItem[] = [\n { id: GameId.Blackjack, label: 'Blackjack' },\n { id: GameId.Blocks, label: 'Blocks' },\n { id: GameId.Solitaire, label: 'Solitaire' },\n ];\n\n ngOnInit() {\n if (this.gameId) this.currentGame = this.gameId;\n if (!this.currentGame) this.currentGame = GameId.Solitaire;\n this.subtitle = '...';\n this.pills = this.playerStatsService.getInitialPillsData();\n this.statsList = this.playerStatsService.getInitialStatsListData();\n this.updateUserGameStatsData();\n }\n\n onGameChange(selectedId: string): void {\n if (this.currentGame === selectedId) return;\n this.currentGame = selectedId as GameId;\n this.updateUserGameStatsData();\n }\n\n onCloseClick(): void {\n this.modalController.dismiss();\n }\n\n private updatePills(): void {\n const pillsDetails: { label: string; value: number }[] = [\n { label: 'days', value: this.userStats.activeDays ?? 0 },\n { label: 'matches', value: this.userStats.completedRounds?.value ?? 0 },\n { label: 'wins', value: this.userStats.wonRounds?.value ?? 0 },\n ];\n\n this.pills = pillsDetails.map((item) => ({\n label: `${this.playerStatsService.getTranslation(item.label)} ${item.value}`,\n }));\n }\n\n private async getGameStats(userId: string, gameId: GameId): Promise {\n const job = this.playerStatsService.getGameStats(userId, gameId);\n job.showNoInternetRetry().showSpinner();\n job.addErrorHandler().showFatalError().reloadWindow();\n return await job.run();\n }\n\n private updateStatsList(): void {\n if (!this.userStats) return;\n\n this.statsList = this.playerStatsService.transformStatsList([\n {\n label: 'best-score',\n score: this.userStats?.bestScore?.value,\n percentage: this.userStats?.bestScore.top,\n },\n {\n label: 'avg-score',\n score: this.userStats?.averageScore?.value,\n percentage: this.userStats?.averageScore?.top,\n },\n {\n label: 'win-rate',\n score: this.userStats?.winRate?.value,\n percentage: this.userStats?.winRate?.top,\n isRate: true,\n },\n {\n label: 'completed-rounds',\n score: this.userStats?.completedRounds?.value,\n percentage: this.userStats?.completedRounds?.top,\n },\n {\n label: 'won-rounds',\n score: this.userStats?.wonRounds?.value,\n percentage: this.userStats?.wonRounds?.top,\n },\n {\n label: 'drawn-rounds',\n score: this.userStats?.drawnRounds?.value,\n percentage: this.userStats?.drawnRounds?.top,\n },\n {\n label: 'best-win-streak',\n score: this.userStats?.bestWinStreak?.value,\n percentage: this.userStats?.bestWinStreak?.top,\n },\n {\n label: 'won-amount',\n score: this.userStats?.wonAmount?.value,\n percentage: this.userStats?.wonAmount?.top,\n isAmount: true,\n },\n ]);\n }\n\n private async updateUserGameStatsData() {\n const response = await this.getGameStats(this.userId, this.currentGame);\n if (response?.data) {\n this.userStats = response.data;\n this.nickName = response.data.nick;\n this.unlockedGlobalRank = response.data.completedRounds.value >= 5;\n this.subtitle = this.unlockedGlobalRank\n ? this.playerStatsService.getTranslation('ranked-in-top', {\n globalRank: response.data.globalRank,\n })\n : this.playerStatsService.getTranslation('play-matches-global-rank');\n this.iconForGlobalRank = calcIcon(response.data.globalRank);\n this.colorForGlobalRank = calcIconColor(response.data.globalRank);\n this.updatePills();\n this.updateStatsList();\n }\n }\n}\n","export enum GameId {\n Solitaire = 'solitaire',\n Blocks = 'blocks',\n Blackjack = 'blackjack',\n}\n\nexport const CurrentlySupportedGames = [GameId.Blackjack, GameId.Blocks, GameId.Solitaire];\n","import { TranslocoService } from '@jsverse/transloco';\nimport { AnalyticsService } from 'src/app/core/services/analytics/analytics.service';\nimport { GameId } from './game-id';\n\nexport function gameIdToName(gameId: GameId, translocoService: TranslocoService): string {\n switch (gameId) {\n case GameId.Solitaire:\n return translocoService.translate('games.solitaire-name');\n case GameId.Blocks:\n return translocoService.translate('games.blocks-name');\n case GameId.Blackjack:\n return translocoService.translate('games.blackjack-name');\n default:\n console.error('gameIdToName: Unexpected game ID');\n return '';\n }\n}\n\nexport function gameIdToRulesTitle(\n gameId: GameId,\n translocoService: TranslocoService,\n analyticsService: AnalyticsService,\n): string {\n switch (gameId) {\n case GameId.Solitaire:\n return translocoService.translate('games.solitaire-rules');\n case GameId.Blocks:\n return translocoService.translate('games.blocks-rules');\n case GameId.Blackjack:\n return translocoService.translate('games.blackjack-rules');\n default:\n analyticsService.handleError('gameIdToRulesTitle: Unexpected game ID', 'GameId to rules');\n return '';\n }\n}\n","import { Room } from 'src/app/model/room/room';\n\nexport class RoomError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'RoomError';\n }\n\n static ThrowIfNull(room: Room | undefined | null): void {\n if (!room) {\n throw new RoomError('Room must exist to initialise this component or service');\n }\n }\n}\n","import { RoomModel } from './room.model';\nimport { environment } from 'src/environments/environment';\nimport { HashMap, TranslocoService } from '@jsverse/transloco';\nimport { Currency } from 'src/app/model/wallet/currency';\nimport { CurrencyPipe } from '@angular/common';\nimport { RoomResultStatus, RoomStatus } from 'src/app/shared/types/room-status';\nimport { RoomDisplayResult } from 'src/app/shared/types/room-display-result';\nimport { RoomError } from 'src/app/shared/errors/room-error';\nimport { isNullOrUndefined } from 'src/app/shared/utils/app.utils';\nimport { Round } from 'src/app/shared/types/round';\nimport { GameId } from '../game/game-id';\nimport { amountForCurrency } from '../wager/wager';\n\nexport class Room {\n constructor(\n readonly model: RoomModel,\n readonly id: string,\n readonly path: string,\n ) {}\n\n gameId(): GameId {\n return this.model.gameId;\n }\n\n logicVersion(): number {\n return this.model.logicVersion;\n }\n\n status(): RoomStatus {\n if (this.isProcessing()) {\n return RoomStatus.Processing;\n } else if (this.model.result === RoomDisplayResult.Cancelled) {\n return RoomStatus.Cancelled;\n } else if (this.model.result === RoomDisplayResult.Draw) {\n return RoomStatus.Draw;\n } else if (this.model.result === RoomDisplayResult.Lose) {\n return RoomStatus.Lost;\n } else if (this.model.result === RoomDisplayResult.Win) {\n return RoomStatus.Won;\n } else if (this.model.result === RoomDisplayResult.InProgress) {\n if (!this.hasOpponent()) {\n if (this.isExpired()) {\n return RoomStatus.Cancelled;\n }\n if (this.isRoundNotStarted()) {\n if (this.isStartRoundDeadlineExpired()) {\n return RoomStatus.Cancelled;\n }\n return RoomStatus.Start;\n }\n if (!this.isRoundFinished() && !this.isRoundDeadlineExpired()) {\n return RoomStatus.Finish;\n }\n return RoomStatus.Open;\n } else if (\n !this.isStartRoundDeadlineExpired() &&\n this.isRoundNotStarted() &&\n this.hasOpponentStarted() &&\n !this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.Start;\n } else if (\n !this.isStartRoundDeadlineExpired() &&\n this.isRoundNotStarted() &&\n this.hasOpponentNotStarted()\n ) {\n return RoomStatus.Start;\n } else if (\n this.isStartRoundDeadlineExpired() &&\n this.isRoundNotStarted() &&\n this.hasOpponentNotStarted()\n ) {\n return RoomStatus.Cancelled;\n } else if (\n this.isRoundNotStarted() &&\n this.isStartRoundDeadlineExpired() &&\n this.hasOpponentStarted() &&\n this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.Cancelled;\n } else if (\n this.isRoundNotStarted() &&\n !this.isStartRoundDeadlineExpired() &&\n this.hasOpponentStarted() &&\n this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.Start;\n } else if (this.isRoundStarted() && !this.isRoundDeadlineExpired()) {\n return RoomStatus.Finish;\n } else if (\n this.isRoundStarted() &&\n this.isRoundDeadlineExpired() &&\n this.hasOpponentNotStarted()\n ) {\n return RoomStatus.OpponentToStart;\n } else if (\n this.isRoundStarted() &&\n this.isRoundDeadlineExpired() &&\n this.hasOpponentStarted() &&\n this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.Cancelled;\n } else if (\n this.isRoundStarted() &&\n this.isRoundDeadlineExpired() &&\n this.hasOpponentStarted() &&\n !this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.OpponentToFinish;\n } else if (\n this.isRoundStarted() &&\n this.isRoundDeadlineExpired() &&\n this.hasOpponentFinished()\n ) {\n return RoomStatus.Lost;\n } else if (\n this.isRoundFinished() &&\n this.hasOpponentNotStarted() &&\n !this.isStartRoundDeadlineExpired()\n ) {\n return RoomStatus.OpponentToStart;\n } else if (\n this.isRoundFinished() &&\n this.hasOpponentNotStarted() &&\n this.isStartRoundDeadlineExpired()\n ) {\n return RoomStatus.Cancelled;\n } else if (\n this.isRoundFinished() &&\n this.hasOpponentStarted() &&\n !this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.OpponentToFinish;\n } else if (\n this.isRoundFinished() &&\n this.hasOpponentStarted() &&\n this.hasOpponentRoundExpired()\n ) {\n return RoomStatus.Won;\n } else if (\n !this.isStartRoundDeadlineExpired() &&\n this.isRoundNotStarted() &&\n this.hasOpponentFinished()\n ) {\n return RoomStatus.Start;\n }\n }\n console.error(`Cannot determine status for room ${this.id}`);\n return RoomStatus.Cancelled;\n }\n\n deadline(): number {\n switch (this.status()) {\n case RoomStatus.Cancelled:\n case RoomStatus.Draw:\n case RoomStatus.Lost:\n case RoomStatus.Won:\n return this.model.sortDate;\n case RoomStatus.Open:\n return this.model.joinDeadline; // todo wrong\n case RoomStatus.Start:\n return this.model.startRoundDeadline;\n case RoomStatus.Finish:\n if (!this.model.roundDeadline) {\n throw new RoomError('Expected a roundDeadline');\n }\n return this.model.roundDeadline;\n case RoomStatus.OpponentToStart:\n return this.model.startRoundDeadline;\n case RoomStatus.OpponentToFinish:\n if (!this.model.opponent?.roundDeadline) {\n throw new RoomError('Expected an opponent to have a roundDeadline');\n }\n return this.model.opponent?.roundDeadline;\n case RoomStatus.Processing:\n return this.model.roundDeadline ?? Date.now() - 1;\n default:\n throw new RoomError(`Unsupported RoomStatus: ${this.status()}`);\n }\n }\n\n score(): number | undefined {\n return this.model.score;\n }\n\n opponentScore(): number | undefined {\n return this.model.opponent?.score;\n }\n\n isProcessing(): boolean {\n if (\n isNullOrUndefined(this.model.roundDeadline) ||\n isNullOrUndefined(this.model.opponent) ||\n isNullOrUndefined(this.model.opponent?.roundDeadline)\n ) {\n return false;\n }\n\n if (!this.model.opponent?.roundDeadline) {\n return false;\n }\n\n const currentTime = Date.now();\n if (\n currentTime < this.model.roundDeadline ||\n currentTime < this.model.opponent?.roundDeadline\n ) {\n return false;\n }\n\n if (this.isInProgress()) {\n // It can take 60 seconds for the room to finish processing\n const processingBuffer = 60000;\n const time = Date.now() - processingBuffer;\n if (time < this.model.roundDeadline || time < this.model.opponent?.roundDeadline) {\n return true;\n }\n }\n return false;\n }\n\n isRoundNotStarted(): boolean {\n return this.model.roundState === Round.NotStarted;\n }\n\n isRoundStarted(): boolean {\n return this.model.roundState === Round.Started;\n }\n\n isRoundFinished(): boolean {\n return this.model.roundState === Round.Finished;\n }\n\n startRoundDeadline(): number {\n return this.model.startRoundDeadline;\n }\n\n invoice(): string | undefined {\n return this.model.opponent?.invoice;\n }\n\n hasOpponent(): boolean {\n return this.model.opponent?.nick !== undefined;\n }\n\n opponent(): string | undefined {\n return this.model.opponent?.nick;\n }\n\n opponentId(): string | undefined | null {\n return this.model.opponent?.userId;\n }\n\n bountyAmount(): number | undefined {\n return this.model.bounty?.amount;\n }\n\n bountyJackpot(): boolean | undefined {\n return this.model.bounty?.jackpot;\n }\n\n currency(): Currency {\n if (this.model.currency === 'USD') {\n return Currency.USD;\n } else if (this.model.currency === 'MCN') {\n return Currency.MCN;\n }\n return Currency.SAT;\n }\n\n entryFee(): number {\n return this.model.entryFee;\n }\n\n formattedEntryFee(currencyPipe: CurrencyPipe) {\n if (this.currency() === Currency.USD) {\n return currencyPipe.transform(this.entryFee() / 100, 'USD', 'symbol', '1.2-2');\n } else if (this.currency() === Currency.MCN) {\n return `${this.entryFee().toString()}`;\n }\n return `${this.entryFee().toString()} sats`;\n }\n\n url(): string {\n return `${environment.url}/${this.id}`;\n }\n\n isMatch(): boolean {\n return this.model.creationMethod === 'MATCH';\n }\n\n reward(): number {\n return this.model.reward;\n }\n\n formattedReward(currencyPipe: CurrencyPipe) {\n return amountForCurrency(this.currency(), this.reward(), currencyPipe);\n }\n\n formattedFee(currencyPipe: CurrencyPipe) {\n return amountForCurrency(this.currency(), this.entryFee(), currencyPipe);\n }\n\n sortDate(): number {\n return this.model.sortDate;\n }\n\n result(): RoomDisplayResult {\n return this.model.result;\n }\n\n isWon(): boolean {\n return this.result() === RoomDisplayResult.Win;\n }\n\n isLost(): boolean {\n return this.result() === RoomDisplayResult.Lose;\n }\n\n isDraw(): boolean {\n return this.result() === RoomDisplayResult.Draw;\n }\n\n isCancelled(): boolean {\n return this.result() === RoomDisplayResult.Cancelled;\n }\n\n isInProgress(): boolean {\n return this.result() === RoomDisplayResult.InProgress;\n }\n\n isExpired(): boolean {\n return this.model.joinDeadline < Date.now();\n }\n\n isStartRoundDeadlineExpired(): boolean {\n return this.model.startRoundDeadline < Date.now();\n }\n\n isRoundDeadlineExpired(): boolean {\n return (this.model.roundDeadline ?? 0) < Date.now();\n }\n\n hasOpponentNotStarted(): boolean {\n return this.model.opponent?.roundState === Round.NotStarted;\n }\n\n hasOpponentStarted(): boolean {\n return this.model.opponent?.roundState === Round.Started;\n }\n\n hasOpponentFinished(): boolean {\n return this.model.opponent?.roundState === Round.Finished;\n }\n\n hasOpponentRoundExpired(): boolean {\n if (this.model.opponent?.roundDeadline === undefined) {\n throw new RoomError('Round deadline does not exist!');\n }\n return this.model.opponent.roundDeadline < Date.now();\n }\n\n isFinished(): boolean {\n switch (this.result()) {\n case RoomDisplayResult.Cancelled:\n case RoomDisplayResult.Draw:\n case RoomDisplayResult.Lose:\n case RoomDisplayResult.Win:\n return true;\n }\n return false;\n }\n\n icon(): string {\n switch (this.status()) {\n case RoomStatus.Cancelled:\n return 'xmark-circle';\n case RoomStatus.Draw:\n return 'flag';\n case RoomStatus.Lost:\n return 'thumbs-down';\n case RoomStatus.Won:\n return 'trophy';\n case RoomStatus.Open:\n return 'hourglass';\n case RoomStatus.Start:\n case RoomStatus.Finish:\n return 'play';\n case RoomStatus.OpponentToStart:\n case RoomStatus.OpponentToFinish:\n return 'stopwatch';\n case RoomStatus.Processing:\n return 'processing';\n }\n }\n\n static statusColor(status: RoomStatus): string {\n switch (status) {\n case RoomStatus.Cancelled:\n return '--game-refund';\n case RoomStatus.Draw:\n return '--game-draw';\n case RoomStatus.Lost:\n return '--game-lose';\n case RoomStatus.Won:\n return '--game-win';\n case RoomStatus.Open:\n return '--yellow-500';\n case RoomStatus.Start:\n case RoomStatus.Finish:\n return '--yellow-500';\n case RoomStatus.OpponentToStart:\n case RoomStatus.OpponentToFinish:\n case RoomStatus.Processing:\n return '--blue-500';\n }\n }\n\n amountAscii(): string | undefined {\n const status = this.status();\n switch (status) {\n case RoomStatus.Cancelled:\n case RoomStatus.Draw:\n return '⏎';\n case RoomStatus.Lost:\n return '-';\n case RoomStatus.Won:\n return '+';\n default:\n return undefined;\n }\n }\n\n formattedStatusAmount(currencyPipe: CurrencyPipe) {\n switch (this.status()) {\n case RoomStatus.Cancelled:\n case RoomStatus.Draw:\n case RoomStatus.Lost:\n return this.formattedEntryFee(currencyPipe);\n case RoomStatus.Won:\n case RoomStatus.Open:\n case RoomStatus.Start:\n case RoomStatus.Finish:\n case RoomStatus.OpponentToStart:\n case RoomStatus.OpponentToFinish:\n return this.formattedReward(currencyPipe);\n case RoomStatus.Processing:\n default:\n return this.formattedReward(currencyPipe);\n }\n }\n\n statusText(translocoService: TranslocoService): string {\n const map: Record = {\n [RoomStatus.Cancelled]: 'shared.room.status-returned',\n [RoomStatus.Draw]: 'shared.room.status-draw',\n [RoomStatus.Lost]: 'shared.room.status-lost',\n [RoomStatus.Won]: 'shared.room.status-won',\n [RoomStatus.Open]: 'shared.room.status-to-win',\n [RoomStatus.Start]: 'shared.room.status-to-win',\n [RoomStatus.Finish]: 'shared.room.status-to-win',\n [RoomStatus.OpponentToStart]: 'shared.room.status-to-win',\n [RoomStatus.OpponentToFinish]: 'shared.room.status-to-win',\n [RoomStatus.Processing]: 'shared.room.status-processing',\n };\n\n const key = map[this.status()];\n if (!key) {\n console.error('unsupported room status');\n return '';\n }\n\n return translocoService.translate(key);\n }\n\n gameTitle(translocoService: TranslocoService) {\n const map: Record = {\n [GameId.Solitaire]: 'games.solitaire-name',\n [GameId.Blocks]: 'games.blocks-name',\n [GameId.Blackjack]: 'games.blackjack-name',\n };\n\n const key = map[this.gameId()];\n if (!key) {\n return 'Solitaire';\n }\n\n return translocoService.translate(key);\n }\n\n title(translocoService: TranslocoService): string {\n const opponentParams = () => ({ opponent: this.opponent() });\n\n const map: Record { key: string; params?: HashMap }> = {\n [RoomStatus.Cancelled]: () => ({ key: 'shared.room.title-cancelled' }),\n [RoomStatus.Draw]: () => ({ key: 'shared.room.title-draw', params: opponentParams() }),\n [RoomStatus.Lost]: () => ({ key: 'shared.room.title-lost', params: opponentParams() }),\n [RoomStatus.Won]: () => ({ key: 'shared.room.title-won', params: opponentParams() }),\n [RoomStatus.Open]: () => ({ key: 'shared.room.title-open' }),\n [RoomStatus.Start]: () =>\n this.isMatch()\n ? { key: 'shared.room.title-start-matched' }\n : { key: 'shared.room.title-start-opponent-matched', params: opponentParams() },\n [RoomStatus.Finish]: () =>\n this.hasOpponent()\n ? { key: 'shared.room.title-finish', params: opponentParams() }\n : { key: 'shared.room.title-finish-no-opponent' },\n [RoomStatus.OpponentToStart]: () => ({\n key: 'shared.room.title-opponent-start',\n params: opponentParams(),\n }),\n [RoomStatus.OpponentToFinish]: () => ({\n key: 'shared.room.title-opponent-finish',\n params: opponentParams(),\n }),\n [RoomStatus.Processing]: () => ({ key: 'shared.room.title-processing' }),\n };\n\n const translationData = map[this.status()]?.() || { key: '' };\n return translocoService.translate(translationData.key, translationData.params);\n }\n\n resultStatus(): RoomResultStatus {\n const status = this.status();\n if (status === RoomStatus.Open) {\n return RoomResultStatus.InPlay;\n } else if (status === RoomStatus.OpponentToStart || status === RoomStatus.OpponentToFinish) {\n return RoomResultStatus.InPlay;\n } else if (\n status === RoomStatus.Cancelled ||\n status === RoomStatus.Draw ||\n status === RoomStatus.Lost ||\n status === RoomStatus.Won\n ) {\n return RoomResultStatus.Result;\n } else if (status === RoomStatus.Processing) {\n return RoomResultStatus.Processing;\n } else if (status === RoomStatus.Finish || status === RoomStatus.Start) {\n return RoomResultStatus.Game;\n }\n throw new Error('Unsupported RoomResultStatus for ' + status);\n }\n}\n","import { CurrencyPipe } from '@angular/common';\nimport { Currency } from '../wallet/currency';\n\nexport interface WagerTier {\n tierId: string;\n currency: string;\n entryFee: number;\n reward: number;\n}\n\nexport function amountForCurrency(\n currency: Currency,\n amount: number,\n currencyPipe: CurrencyPipe,\n): string {\n // Helper function to determine if the number has a fractional part\n const isWholeNumber = (value: number): boolean => Math.floor(value) === value;\n\n if (currency === Currency.SAT) {\n return amount.toString();\n } else if (currency === Currency.MCN) {\n return `${amount.toString()}`;\n }\n\n // For USD or other currencies, adjust the format based on the fraction\n const format = isWholeNumber(amount / 100) ? '1.0-0' : '1.2-2';\n return currencyPipe.transform(amount / 100, 'USD', 'symbol', format) ?? '-';\n}\n","export enum Currency {\n USD = 'USD',\n BTC = 'BTC',\n SAT = 'SAT',\n MCN = 'MCN',\n}\n","export interface DefaultLightningWallet {\n networkName: string;\n lightningAddress: string;\n}\n\nexport interface DefaultPolygonWallet {\n networkName: string;\n walletName: string;\n polygonAddress: string;\n}\n\nexport type DefaultWallet = DefaultLightningWallet | DefaultPolygonWallet;\n\nexport function isDefaultLightningWallet(\n wallet: DefaultWallet | undefined,\n): wallet is DefaultLightningWallet {\n return wallet !== undefined && 'lightningAddress' in wallet;\n}\n\nexport function isDefaultPolygonWallet(\n wallet: DefaultWallet | undefined,\n): wallet is DefaultPolygonWallet {\n return wallet !== undefined && 'polygonAddress' in wallet;\n}\n","export enum WalletId {\n // Lightning wallets\n Alby = 'alby',\n //Amber = 'amber',\n //Bipa = 'bipa',\n Blink = 'blink',\n //Osmo = 'osmo',\n Pouch = 'pouch',\n //Primal = 'primal',\n SpeedWallet = 'speedwallet',\n Strike = 'strike',\n WalletOfSatoshi = 'wos',\n ZBD = 'zbd',\n\n // Polygon wallets\n CoinbaseWallet = 'cbwallet',\n}\n\nexport enum WalletConnect {\n LightningAddress,\n}\n\nexport enum WalletPay {\n Native,\n Extension,\n}\n\nexport enum PaymentPlatform {\n CoinbaseWalletMobileSdk,\n}\n\nexport enum WalletType {\n Polygon = 'polygon',\n Lightning = 'lightning',\n}\n\nexport enum SupportedPlatforms {\n Web = 1 << 0, // 1\n WebMobile = 1 << 1, // 2\n Native = 1 << 2, // 4\n}\n","import { WalletData } from './wallet-data';\nimport {\n WalletType,\n WalletId,\n WalletConnect,\n WalletPay,\n PaymentPlatform,\n SupportedPlatforms,\n} from './wallet-types';\n\nexport const WalletsConfig: WalletData[] = [\n {\n type: WalletType.Polygon,\n name: 'Coinbase Wallet',\n iconImg: 'coinbase-wallet-icon.png',\n id: WalletId.CoinbaseWallet,\n website: 'https://www.coinbase.com/en-gb/wallet',\n androidUrlScheme: 'cbwallet',\n iosUrlScheme: 'cbwallet',\n manualAddressInput: false,\n paymentPlatform: PaymentPlatform.CoinbaseWalletMobileSdk,\n supportedPlatforms: SupportedPlatforms.Native,\n },\n {\n type: WalletType.Lightning,\n name: 'Alby',\n iconImg: 'alby-icon.png',\n id: WalletId.Alby,\n lnAddressDomain: 'getalby.com',\n website: 'https://getalby.com',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Extension,\n supportedPlatforms: SupportedPlatforms.Web,\n },\n /*{\n type: WalletType.Lightning,\n name: 'Amber',\n iconImg: 'amber-icon.png',\n id: WalletId.Amber,\n lnAddressDomain: 'amber.app',\n website: 'https://amber.app',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'getamber',\n iosUrlScheme: 'getamber',\n androidLnurlScheme: 'getamber',\n iosLnurlScheme: 'getamber',\n mobile: true,\n },\n {\n type: WalletType.Lightning,\n name: 'Bipa',\n iconImg: 'bipa-icon.png',\n id: WalletId.Bipa,\n lnAddressDomain: 'bipa.app',\n website: 'https://bipa.app',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'bipa',\n iosUrlScheme: 'bipa.app.Bipa',\n androidLnurlScheme: 'bipa',\n iosLnurlScheme: 'bipa.app.Bipa',\n mobile: true,\n },*/\n {\n type: WalletType.Lightning,\n name: 'Blink',\n iconImg: 'blink-icon.png',\n id: WalletId.Blink,\n lnAddressDomain: 'blink.sv',\n website: 'https://www.blink.sv',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'bitcoinbeach',\n iosUrlScheme: 'bitcoinbeach',\n androidLnurlScheme: 'bitcoinbeach',\n iosLnurlScheme: 'bitcoinbeach',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n /*{\n type: WalletType.Lightning,\n name: 'Osmo',\n iconImg: 'osmo-icon.png',\n id: WalletId.Osmo,\n lnAddressDomain: 'osmo.money',\n website: 'https://osmowallet.com/',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'osmowallet',\n iosUrlScheme: 'osmowallet',\n androidLnurlScheme: 'osmowallet',\n iosLnurlScheme: 'osmowallet',\n mobile: true,\n },*/\n {\n type: WalletType.Lightning,\n name: 'Pouch',\n iconImg: 'pouch-icon.png',\n id: WalletId.Pouch,\n lnAddressDomain: 'pouch.ph',\n website: 'https://pouch.ph',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'pouch',\n iosUrlScheme: 'pouch',\n androidLnurlScheme: 'pouch',\n iosLnurlScheme: 'pouch',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n /*{\n type: WalletType.Lightning,\n name: 'Primal',\n iconImg: 'primal-icon.png',\n id: WalletId.Primal,\n lnAddressDomain: 'primal.net',\n website: 'https://primal.net',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'primal',\n iosUrlScheme: 'primal',\n androidLnurlScheme: 'primal',\n iosLnurlScheme: 'strprimalike',\n mobile: true,\n },*/\n {\n type: WalletType.Lightning,\n name: 'Speed Wallet',\n iconImg: 'speed-icon.png',\n id: WalletId.SpeedWallet,\n lnAddressDomain: 'speed.app',\n website: 'https://www.speed.app/',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'speedwallet',\n iosUrlScheme: 'speedwallet',\n androidLnurlScheme: 'speedwallet',\n universalLink: 'https://links.speed.app/clinch?address=',\n iosLnurlScheme: 'speedwallet',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n {\n type: WalletType.Lightning,\n name: 'Strike',\n iconImg: 'strike-icon.png',\n id: WalletId.Strike,\n lnAddressDomain: 'strike.me',\n website: 'https://strike.me',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'strike',\n iosUrlScheme: 'strike',\n androidLnurlScheme: 'strike',\n iosLnurlScheme: 'strike',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n {\n type: WalletType.Lightning,\n name: 'Wallet of Satoshi',\n iconImg: 'wos-icon.png',\n id: WalletId.WalletOfSatoshi,\n lnAddressDomain: 'walletofsatoshi.com',\n website: 'https://walletofsatoshi.com',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'walletofsatoshi',\n iosUrlScheme: 'walletofsatoshi',\n androidLnurlScheme: 'walletofsatoshi',\n iosLnurlScheme: 'walletofsatoshi',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n {\n type: WalletType.Lightning,\n name: 'ZBD',\n iconImg: 'zbd-icon.png',\n id: WalletId.ZBD,\n lnAddressDomain: 'zbd.gg',\n website: 'https://zbd.gg',\n walletConnect: WalletConnect.LightningAddress,\n walletPay: WalletPay.Native,\n androidUrlScheme: 'zebedee:lightning',\n iosUrlScheme: 'zebedee:lightning',\n androidLnurlScheme: 'zebedee:lightning',\n universalLink: 'https://zbd.gg/z/app/pay?invoice=',\n iosLnurlScheme: 'zebedee:lightning',\n supportedPlatforms:\n SupportedPlatforms.Native | SupportedPlatforms.Web | SupportedPlatforms.WebMobile,\n },\n];\n","import { z } from 'zod';\nimport { environment } from 'src/environments/environment';\nimport {\n PaymentPlatform,\n SupportedPlatforms,\n WalletConnect,\n WalletId,\n WalletType,\n} from './wallet-types';\nimport { Capacitor } from '@capacitor/core';\nimport { WalletData, LightningWalletData, PolygonWalletData } from './wallet-data';\nimport { WalletsConfig } from './wallets-config';\nimport { DefaultWallet, isDefaultLightningWallet, isDefaultPolygonWallet } from './default-wallet';\n\nconst ASSET_PATH = `${environment.imagesPath}/wallets/`;\n\nexport abstract class BaseWallet {\n protected constructor(protected readonly data: T) {}\n\n abstract get type(): WalletType;\n\n isLightningWallet(): this is BaseWallet {\n return this.data.type === WalletType.Lightning;\n }\n\n isPolygonWallet(): this is BaseWallet {\n return this.data.type === WalletType.Polygon;\n }\n\n /**\n * The identifier of the wallet.\n * @return the id.\n */\n get id(): WalletId {\n return this.data.id;\n }\n\n /**\n * The name of the wallet.\n * @return the name.\n */\n get name(): string {\n return this.data.name;\n }\n\n /**\n * The website of the wallet.\n * @return the website.\n */\n get website(): string {\n return this.data.website;\n }\n\n /**\n * @returns the url scheme to attempt to open on a native device\n */\n get nativeURLScheme(): string | undefined {\n return Capacitor.getPlatform() === 'ios' ? this.data.iosUrlScheme : this.data.androidUrlScheme;\n }\n\n /**\n * @returns the url scheme to attempt to open on a native device\n */\n get universalLink(): string | undefined {\n return this.data.universalLink;\n }\n\n /**\n * The url of the icon image of the wallet. Use in the HTML.\n * @return the url.\n */\n get icon(): string {\n return ASSET_PATH + this.data.iconImg;\n }\n\n /**\n * Returns whether this wallet is supported on web or mobile.\n * @return the url.\n */\n get supportedPlatforms(): SupportedPlatforms {\n return this.data.supportedPlatforms;\n }\n\n /**\n * The url of the wordmark logo image for the wallet.\n * @return the url.\n */\n get wordMarkUrl(): string {\n return ASSET_PATH + this.data.wordMarkImg;\n }\n\n /**\n * Gets all the wallets that are supported\n * @returns an array of wallets.\n */\n static all(): Wallet[] {\n return WalletsConfig.map((data) => {\n if (data.type === WalletType.Lightning) {\n return new LightningWallet(data);\n } else if (data.type === WalletType.Polygon) {\n return new PolygonWallet(data);\n }\n throw new Error('Unknown wallet type');\n });\n }\n\n /**\n * Gets all the wallets that are supported on a specific platform\n * @returns an array of wallets.\n */\n static allForPlatform(requestedPlatform: SupportedPlatforms): Wallet[] {\n const wallets = new Array();\n WalletsConfig.forEach((data) => {\n if (data.supportedPlatforms & requestedPlatform) {\n if (data.type === WalletType.Lightning) {\n wallets.push(new LightningWallet(data));\n } else if (data.type === WalletType.Polygon && !environment.telegram) {\n // TODO: Don't allow polygon wallets on Telegram yet\n wallets.push(new PolygonWallet(data));\n }\n }\n });\n return wallets;\n }\n\n /**\n * Gets a single wallet from an ID. Throws an error if wallet doesn't exist\n * @returns a wallet\n */\n static getWallet(id: WalletId): Wallet {\n const wallet = BaseWallet.all().find((wallets) => wallets.id === id);\n if (wallet !== undefined) {\n return wallet;\n }\n throw new Error(`Undefined wallet: ${id}`);\n }\n\n /**\n * Tries to find a single wallet that supports the current default wallet.\n * @returns a wallet or undefined if the wallet cannot be found\n */\n static getFromDefaultWallet(defaultWallet: DefaultWallet): Wallet {\n const found = BaseWallet.all().find((wallet) => {\n if (wallet.isLightningWallet() && isDefaultLightningWallet(defaultWallet)) {\n return defaultWallet.lightningAddress.endsWith(`@${wallet.lnAddressDomain}`);\n } else if (wallet.isPolygonWallet() && isDefaultPolygonWallet(defaultWallet)) {\n return defaultWallet.walletName === wallet.id;\n }\n return false;\n });\n if (found) {\n return found;\n }\n throw new Error(`Undefined wallet: ${JSON.stringify(defaultWallet)}`);\n }\n}\n\n/**\n * Class representing a lightning wallet, like Wallet of Satoshi, ZBD, etc\n */\nexport class LightningWallet extends BaseWallet {\n constructor(data: LightningWalletData) {\n super(data);\n }\n\n get type(): WalletType {\n return WalletType.Lightning;\n }\n\n get lnAddressDomain(): string {\n return this.data.lnAddressDomain;\n }\n\n get walletConnect(): WalletConnect {\n return this.data.walletConnect;\n }\n\n isValid(lightningAddress: string | undefined): boolean {\n const components = lightningAddress?.split('@', 2);\n return (\n lightningAddress !== undefined &&\n components?.length === 2 &&\n components?.[1] === this.lnAddressDomain\n );\n }\n}\n\n/**\n * Class representing a Polygon wallet, like Coinbase, etc\n */\nexport class PolygonWallet extends BaseWallet {\n constructor(data: PolygonWalletData) {\n super(data);\n }\n\n get type(): WalletType {\n return WalletType.Polygon;\n }\n\n get manualAddressInput(): boolean {\n return this.data.manualAddressInput;\n }\n\n get paymentPlatform(): PaymentPlatform {\n return this.data.paymentPlatform;\n }\n\n isValid(polygonAddress: string | undefined): boolean {\n const schema = z.string().regex(/^0x[a-f0-9]{40}$/g);\n return schema.safeParse(polygonAddress).success;\n }\n}\n\nexport type Wallet = LightningWallet | PolygonWallet;\n","export const PAGE = {\n GAME: 'game',\n PRACTICE_GAME: 'practice-game',\n FAQ: 'faq',\n SIGNIN: 'sign-in',\n DEMO_SIGNIN: 'demo-sign-in',\n ACCOUNT: 'account',\n RESULTS: 'results',\n EXPIRED: 'expired',\n SELECT_WALLET: 'select-wallet',\n LINK_WALLET: 'link-wallet',\n UNAVAILABLE: 'unavailable',\n TERMS: 'terms',\n PRIVACY: 'privacy',\n UPDATE_REQUIRED: 'update-required',\n OPEN_WALLET: 'open-wallet',\n CHOOSE_GAME: 'choose-game',\n TOURNAMENT: 'tournament',\n MATCH_OPTIONS: 'match-options',\n OPERATOR: 'operator',\n GEO_LOCATION_CHECK: 'geo-location-check',\n LOADING: '',\n SELECT_RULES: 'select-rules',\n GAME_RULES: 'game-rules',\n REFERRAL: 'referral',\n REFERRAL_TERMS: 'referral-terms',\n CHOOSE_LEADERBOARDS: 'choose-leaderboards',\n LEADERBOARDS: 'leaderboards',\n LEADERBOARD: 'leaderboard',\n LOG: 'log',\n TELEGRAM_ONBOARD: 'telegram-onboard',\n DEBUG_GAME: 'debug-game',\n LOCAL_GAME: 'local-game',\n STATISTICS: 'statistics',\n};\n\n// RULE - To avoid clashing with clinch ids, no 6 letter pages\n","export class CloudError extends Error {\n public code: string;\n\n constructor(message: string, code: string) {\n super(message);\n this.code = code;\n this.name = this.constructor.name;\n\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n","export enum RoomDisplayResult {\n InProgress = 'IN_PROGRESS',\n Win = 'WIN',\n Lose = 'LOSE',\n Draw = 'DRAW',\n Cancelled = 'CANCELLED',\n}\n","export enum RoomStatus {\n Start = 'start',\n Finish = 'finish',\n Open = 'open',\n OpponentToStart = 'opponentToStart',\n OpponentToFinish = 'opponentToFinish',\n Cancelled = 'cancelled',\n Draw = 'draw',\n Lost = 'lost',\n Won = 'won',\n Processing = 'processing',\n}\n\nexport enum RoomResultStatus {\n Expired,\n Game,\n InPlay,\n Result,\n Processing,\n}\n","export enum Round {\n NotStarted = 'NOT_STARTED',\n Started = 'STARTED',\n Finished = 'FINISHED',\n Expired = 'EXPIRED',\n}\n","import { Subscription, interval, take } from 'rxjs';\n\nexport class Countdown {\n private subscription: Subscription | undefined;\n\n start(endDate: number, updateCallback: (countDown: number, finished: boolean) => void): void {\n const milliseconds = endDate;\n if (milliseconds) {\n const currentDate = new Date();\n const futureDate = new Date(milliseconds);\n\n if (futureDate > currentDate) {\n const timeDifference = futureDate.getTime() - currentDate.getTime();\n const totalSeconds = Math.floor(timeDifference / 1000);\n this.subscription?.unsubscribe();\n updateCallback(totalSeconds, false);\n this.subscription = interval(1000)\n .pipe(take(totalSeconds))\n .subscribe((secondsPassed) => {\n const ended = secondsPassed >= totalSeconds;\n updateCallback(totalSeconds - secondsPassed, ended);\n if (ended) {\n this.subscription?.unsubscribe();\n }\n });\n } else {\n updateCallback(endDate, true);\n }\n }\n }\n\n stop(): void {\n this.subscription?.unsubscribe();\n }\n\n static asTimeLeft(remainingSeconds: number): string {\n if (remainingSeconds <= 0) {\n return '0m 0s';\n }\n\n const hours = Math.floor(remainingSeconds / 3600);\n const minutes = Math.floor((remainingSeconds % 3600) / 60);\n const seconds = remainingSeconds % 60;\n\n if (hours > 0) {\n return `${hours}h ${minutes}m ${seconds}s`;\n } else {\n return `${minutes}m ${seconds}s`;\n }\n }\n\n static asDate(unixTime: number): string {\n const date = new Date(unixTime);\n const day = date.getDate().toString().padStart(2, '0');\n const month = (date.getMonth() + 1).toString().padStart(2, '0');\n const year = date.getFullYear().toString().slice(-2);\n const hours = date.getHours().toString().padStart(2, '0');\n const minutes = date.getMinutes().toString().padStart(2, '0');\n return `${day}/${month}/${year} ${hours}:${minutes}`;\n }\n}\n\nexport function isNullOrUndefined(value: unknown): value is null | undefined {\n return value === null || value === undefined;\n}\n\nexport function isNotNullOrUndefined(value: unknown): value is null | undefined {\n return !isNullOrUndefined(value);\n}\n\nexport function isNil(value: T | null | undefined): value is T {\n return value === null || value === undefined;\n}\n\nexport function isNotNil(value: T | null | undefined): value is T {\n return value !== null && value !== undefined;\n}\n\nexport function isValidJSON(string: string): boolean {\n try {\n JSON.parse(string);\n return true;\n } catch (e) {\n return false;\n }\n}\n\nexport function filterNonAlphanumericExSpaces(text: string): string {\n return text.replace(/[^a-zA-Z0-9 ]+/g, '');\n}\n\nexport function filterNonAlphanumeric(text: string): string {\n return text.replace(/[^a-zA-Z0-9 ]+/g, '').replace(/\\s+/g, '');\n}\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseFirestore = registerPlugin('FirebaseFirestore', {\n web: () => import('./web').then(m => new m.FirebaseFirestoreWeb()),\n});\nexport * from './definitions';\nexport { FirebaseFirestore };\n","import { FirebaseFirestore } from '@capacitor-firebase/firestore';\nimport {\n QueryCompositeFilterConstraint,\n QueryNonFilterConstraint,\n AddDocumentSnapshotListenerCallbackEvent,\n DocumentData,\n} from '@capacitor-firebase/firestore';\nimport { Observable } from 'rxjs';\n\nexport async function getDoc(reference: string) {\n const { snapshot } = await FirebaseFirestore.getDocument({\n reference,\n });\n return snapshot;\n}\n\nexport async function addDocListener(\n reference: string,\n listener: (doc: AddDocumentSnapshotListenerCallbackEvent | null) => void,\n): Promise {\n const callbackId = await FirebaseFirestore.addDocumentSnapshotListener(\n {\n reference,\n },\n (event, error) => {\n if (error) {\n console.error(error);\n } else {\n listener(event);\n }\n },\n );\n return callbackId;\n}\n\nexport function addDocListenerObservable(\n reference: string,\n): Observable | null> {\n return new Observable((subscriber) => {\n let unsubscribe: (() => void) | undefined;\n\n FirebaseFirestore.addDocumentSnapshotListener({ reference }, (event, error) => {\n if (error) {\n subscriber.error(error);\n } else {\n subscriber.next(event);\n }\n })\n .then((callbackId) => {\n unsubscribe = () => {\n // Use the callbackId to remove the listener if necessary\n FirebaseFirestore.removeSnapshotListener({ callbackId });\n };\n })\n .catch((err) => subscriber.error(err));\n\n // Return the teardown logic\n return () => {\n if (unsubscribe) {\n unsubscribe();\n }\n };\n });\n}\n\nexport async function removeListener(callbackId: string) {\n await FirebaseFirestore.removeSnapshotListener({\n callbackId,\n });\n}\n\nexport async function getCollection(\n reference: string,\n compositeFilter?: QueryCompositeFilterConstraint,\n queryConstraints?: QueryNonFilterConstraint[],\n) {\n const { snapshots } = await FirebaseFirestore.getCollection({\n reference,\n compositeFilter,\n queryConstraints,\n });\n return snapshots;\n}\n","export class PromiseHolder {\n private resolveCallback?: (result: ResultType) => void;\n private rejectCallback?: (error: Error) => void;\n\n private promise?: Promise;\n\n // TODO: check this\n init() {\n this.setPromise(\n new Promise((resolve, reject) => {\n this.setup(resolve, reject);\n }),\n );\n }\n\n private setup(resolve: (result: ResultType) => void, reject: (error: Error) => void) {\n this.resolveCallback = resolve;\n this.rejectCallback = reject;\n }\n\n resolve(result: ResultType) {\n if (this.resolveCallback === undefined) {\n throw new Error('Resolve callback not set');\n }\n\n this.resolveCallback(result);\n }\n\n reject(error: Error) {\n if (this.rejectCallback === undefined) {\n throw new Error('Reject callback not set');\n }\n\n this.rejectCallback(error);\n }\n\n setPromise(promise: Promise) {\n this.promise = promise;\n }\n\n getPromise(): Promise {\n if (this.promise === undefined) {\n throw new Error('Promise not set');\n }\n\n return this.promise;\n }\n}\n","export function calcIcon(rankPercentage: number): string {\n if (rankPercentage >= 0 && rankPercentage <= 1) {\n return 'crown';\n } else if (rankPercentage > 1 && rankPercentage <= 5) {\n return 'crown';\n } else if (rankPercentage > 5 && rankPercentage <= 20) {\n return 'crown';\n } else if (rankPercentage > 20 && rankPercentage <= 40) {\n return 'medal';\n } else if (rankPercentage > 40 && rankPercentage <= 60) {\n return 'medal';\n } else if (rankPercentage > 60 && rankPercentage <= 80) {\n return 'medal';\n } else if (rankPercentage > 80 && rankPercentage <= 100) {\n return 'medal';\n }\n return 'medal';\n}\n\nexport function calcIconColor(rankPercentage: number): string {\n if (rankPercentage >= 0 && rankPercentage <= 1) {\n return '--gold-500';\n } else if (rankPercentage > 1 && rankPercentage <= 5) {\n return '--silver-500';\n } else if (rankPercentage > 5 && rankPercentage <= 20) {\n return '--bronze-500';\n } else if (rankPercentage > 20 && rankPercentage <= 40) {\n return '--gold-500';\n } else if (rankPercentage > 40 && rankPercentage <= 60) {\n return '--silver-500';\n } else if (rankPercentage > 60 && rankPercentage <= 80) {\n return '--bronze-500';\n } else if (rankPercentage > 80 && rankPercentage <= 100) {\n return '--white';\n }\n return '--white';\n}\n","export function asTimeLeft(remainingSeconds: number): string {\n if (remainingSeconds <= 0) {\n return '';\n }\n\n const days = Math.floor(remainingSeconds / 86400);\n const hours = Math.floor((remainingSeconds % 86400) / 3600);\n const minutes = Math.floor((remainingSeconds % 3600) / 60);\n const seconds = remainingSeconds % 60;\n\n if (days > 0) {\n return `${days}d ${hours}h`;\n } else if (hours > 0) {\n return `${hours}h ${minutes}m`;\n } else {\n return `${minutes}m ${seconds}s`;\n }\n}\n\nexport function calcIconColor(rank: number): string {\n if (rank === 1) {\n return '--gold-500';\n } else if (rank === 2) {\n return '--silver-500';\n } else if (rank === 3) {\n return '--bronze-500';\n }\n return '--grey-white';\n}\n\nexport function calcIcon(rank: number): string {\n if (rank === 1) {\n return 'crown-winner';\n }\n return 'winning-medal-award';\n}\n\nexport function getOrdinalSuffix(rank: number): string {\n if (rank % 10 === 1 && rank % 100 !== 11) return 'st';\n if (rank % 10 === 2 && rank % 100 !== 12) return 'nd';\n if (rank % 10 === 3 && rank % 100 !== 13) return 'rd';\n return 'th';\n}\n\nexport function getDateString(unixTime: number): string {\n const date = new Date(unixTime);\n const day = date.getDate().toString().padStart(2, '0');\n const month = (date.getMonth() + 1).toString().padStart(2, '0');\n const year = date.getFullYear().toString().slice(-2);\n return `${day}/${month}/${year}`;\n}\n\nexport const isWholeNumber = (value: number): boolean => Math.floor(value) === value;\n","","import { CurrencyPipe } from '@angular/common';\nimport { Component, inject, Input } from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-bounty-pill',\n templateUrl: './bounty-pill.component.html',\n styleUrls: ['./bounty-pill.component.scss'],\n})\nexport class BountyPillComponent {\n @Input() amount?: number;\n @Input() disabled = false;\n @Input() layout: 'hug' | 'fill' = 'hug';\n @Input() size: 'extra-small' | 'small' | 'medium' | 'large' = 'small';\n @Input() buttonBgColor?: string;\n\n themeService = inject(ThemeService);\n private currencyPipe = inject(CurrencyPipe);\n\n // TODO: refactor this to support MCN and other currencies once operator is enabled\n get formattedAmount(): string {\n if (this.amount === undefined) return '';\n const formattedValue =\n this.amount < 1\n ? `${Math.round(this.amount * 100)}¢`\n : this.currencyPipe.transform(\n this.amount,\n 'USD',\n 'symbol',\n this.amount % 1 === 0 ? '1.0-0' : '1.0-2',\n );\n\n return formattedValue ?? '';\n }\n}\n","\n \n \n \n \n \n \n\n \n \n {{ label }}\n \n\n \n \n \n \n \n \n\n \n \n \n \n\n \n\n","import {\n Component,\n Input,\n Output,\n EventEmitter,\n inject,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent {\n @Input() label?: string;\n @Input() icon?: string;\n @Input() iconPosition?: 'left' | 'right';\n @Input() disabled = false;\n @Input() loading = false;\n @Input() layout: 'hug' | 'fill' = 'hug';\n @Input() type: 'primary' | 'secondary' = 'primary';\n @Input() backgroundColor?: string;\n @Output() clickEvent = new EventEmitter();\n\n themeService = inject(ThemeService);\n\n get hasOutline(): boolean {\n return this.type === 'primary' && this.themeService.buttonConfig().primary.outline;\n }\n\n get iconPos(): string {\n return this.iconPosition ?? this.themeService.buttonConfig().iconPosition;\n }\n\n get backgroundStyle(): Record {\n if (!this.backgroundColor) {\n return {};\n }\n return { 'background-color': `var(${this.backgroundColor})` };\n }\n\n onClick(): void {\n if (!this.disabled) {\n this.clickEvent.emit();\n }\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, OnChanges, SimpleChanges } from '@angular/core';\n\n@Component({\n selector: 'app-currency-icon',\n templateUrl: './currency-icon.component.html',\n styleUrls: ['./currency-icon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CurrencyIconComponent implements OnChanges {\n @Input({ required: true }) icon!: string;\n @Input() sizeCss = '--icon-medium';\n\n src = '';\n style: Record = {\n color: 'var(--white-grey)',\n 'font-size': 'var(--icon-medium)',\n };\n\n ngOnChanges(_changes: SimpleChanges): void {\n this.updateSrc();\n this.updateStyle();\n }\n\n private updateSrc(): void {\n this.src = `assets/images/currency/${this.icon}.svg`;\n }\n\n private updateStyle(): void {\n this.style = {\n 'font-size': `var(${this.sizeCss})`,\n };\n }\n}\n","","
\n \n\n
    \n
  • \n \n {{ item.label }}\n \n\n \n
  • \n
\n
","import {\n Component,\n Input,\n Output,\n EventEmitter,\n inject,\n OnInit,\n HostListener,\n ElementRef,\n ChangeDetectionStrategy,\n ViewChild,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\nexport interface DropdownItem {\n id: string;\n label: string;\n}\n\n@Component({\n selector: 'app-drop-down-button',\n templateUrl: './drop-down-button.component.html',\n styleUrls: ['./drop-down-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropDownButtonComponent implements OnInit {\n @Input({ required: true }) items!: DropdownItem[];\n @Input({ required: true }) set selectedValue(value: string | null) {\n const selectedItem = this.items.find((item) => item.id === value);\n if (selectedItem) {\n this.label = selectedItem.label;\n }\n }\n\n @Output() selectionChange = new EventEmitter();\n @ViewChild('dropDownButton', { static: false }) dropDownButton!: ElementRef;\n @ViewChild('dropDownContainer', { static: false }) dropDownContainer!: ElementRef;\n\n themeService = inject(ThemeService);\n\n hasShadow = false;\n hasOutline = false;\n isOpen = false;\n isSelected = true;\n\n label = ''; // Label of the button\n\n constructor(private elementRef: ElementRef) {}\n\n ngOnInit() {\n this.hasShadow = this.themeService.buttonConfig().primary.shadow;\n }\n\n toggleMenu() {\n this.isOpen = !this.isOpen;\n\n if (this.isOpen) {\n setTimeout(() => this.adjustMenuPosition(), 0); // Ensure DOM updates before calculating\n }\n }\n\n private adjustMenuPosition() {\n const menu = document.querySelector('.dropdown-menu') as HTMLElement;\n const buttonRect = this.dropDownButton.nativeElement.getBoundingClientRect();\n const containerRect = this.dropDownContainer.nativeElement.getBoundingClientRect();\n\n if (menu && buttonRect && containerRect) {\n const viewportHeight = window.innerHeight;\n const viewportWidth = window.innerWidth;\n const menuHeight = menu.offsetHeight;\n const menuWidth = menu.offsetWidth;\n\n let left = 0;\n if (buttonRect.left + menuWidth > viewportWidth) {\n left = buttonRect.width - menuWidth; // Align to the right\n }\n\n let top = buttonRect.height;\n if (buttonRect.bottom + menuHeight > viewportHeight) {\n top = -menuHeight; // Position above\n }\n\n // Apply styles to position the menu\n menu.style.position = 'absolute';\n menu.style.top = `${top}px`;\n menu.style.left = `${left}px`;\n }\n }\n\n onItemClick(item: DropdownItem): void {\n this.label = item.label;\n this.isOpen = false;\n this.selectionChange.emit(item.id);\n }\n\n @HostListener('document:click', ['$event'])\n onOutsideClick(event: Event): void {\n if (!this.elementRef.nativeElement.contains(event.target)) {\n this.isOpen = false;\n }\n }\n}\n","import {\n Component,\n Input,\n OnInit,\n ChangeDetectionStrategy,\n inject,\n OnChanges,\n SimpleChanges,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\nimport { GameId } from 'src/app/model/game/game-id';\n\n@Component({\n selector: 'app-game-icon',\n templateUrl: './game-icon.component.html',\n styleUrls: ['./game-icon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GameIconComponent implements OnInit, OnChanges {\n @Input({ required: true }) game!: GameId;\n @Input() background?: boolean = false;\n private themeService = inject(ThemeService);\n src = '';\n gradientStyle = '';\n\n private readonly gradients: Record = {\n solitaire: 'linear-gradient(135deg, var(--pink-500), var(--orange-500))',\n blocks: 'linear-gradient(135deg, var(--indigo-700), var(--blue-600))',\n blackjack: 'linear-gradient(135deg, var(--green-300), var(--green-800))',\n };\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['game']) {\n this.updateIcon();\n }\n }\n\n ngOnInit(): void {\n this.src = `assets/images/${this.themeService.imagesFolder()}/${this.game}-icon.svg`;\n this.gradientStyle = this.background\n ? this.gradients[this.game] || 'linear-gradient(45deg, #CCCCCC, #AAAAAA)'\n : 'none';\n }\n\n private updateIcon(): void {\n this.src = `assets/images/${this.themeService.imagesFolder()}/${this.game}-icon.svg`;\n this.gradientStyle = this.background\n ? this.gradients[this.game] || 'linear-gradient(45deg, #CCCCCC, #AAAAAA)'\n : 'none';\n }\n}\n","
\n \"{{\n
\n","import { Component, inject, Input } from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-game-title',\n templateUrl: './game-title.component.html',\n styleUrls: ['./game-title.component.scss'],\n})\nexport class GameTitleComponent {\n @Input({ required: true }) title!: string;\n private themeService = inject(ThemeService);\n\n get capitalize(): boolean {\n return this.themeService.gameTitleConfig().capitalize;\n }\n\n get glowClass(): string {\n return this.themeService.gameTitleConfig().hasOutlineGlow ? 'outline-glow' : 'no-outline-glow';\n }\n}\n","\n
\n {{ title }}\n
\n","import {\n Component,\n Input,\n OnChanges,\n SimpleChanges,\n ChangeDetectionStrategy,\n inject,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-icon',\n templateUrl: './icon.component.html',\n styleUrls: ['./icon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IconComponent implements OnChanges {\n @Input({ required: true }) icon!: string;\n @Input({ required: true }) colorCss!: string;\n @Input() sizeCss = '--icon-medium';\n @Input() slot = 'start';\n\n private themeService = inject(ThemeService);\n\n src = '';\n style: Record = {\n color: 'var(--white-grey)',\n 'font-size': 'var(--icon-medium)',\n 'line-height': 'var(--icon-medium)',\n };\n\n divStyle: Record = {\n width: 'var(--icon-medium)',\n height: 'var(--icon-medium)',\n };\n\n ngOnChanges(_changes: SimpleChanges): void {\n this.updateSrc();\n this.updateStyle();\n this.updateDivStyle();\n }\n\n private updateSrc(): void {\n const size = this.sizeCss === '--icon-medium' || this.sizeCss === '--icon-small' ? '16' : '24';\n this.src = this.iconPath(this.icon, size);\n }\n\n private updateDivStyle(): void {\n this.divStyle = {\n width: `var(${this.sizeCss}`,\n height: `var(${this.sizeCss}`,\n };\n }\n\n private updateStyle(): void {\n this.style = {\n color: `var(${this.colorCss})`,\n 'font-size': `var(${this.sizeCss})`,\n 'line-height': `var(${this.sizeCss})`,\n };\n }\n\n private iconPath(name: string, size: string): string {\n return `assets/icons/${this.themeService.iconFolder()}/${name}/${size}.svg`;\n }\n}\n","
\n \n
\n","\n \n \n \n \n\n","import {\n Component,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n OnInit,\n} from '@angular/core';\n\n@Component({\n selector: 'app-nav-button',\n templateUrl: './nav-button.component.html',\n styleUrls: ['./nav-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavButtonComponent implements OnInit {\n @Input({ required: true }) icon?: string;\n @Input() hideBackground = false;\n @Input() size: 'large' | 'medium' = 'large';\n @Output() clickEvent = new EventEmitter();\n\n sizeCss = '--icon-x-large';\n\n ngOnInit(): void {\n this.sizeCss = this.size === 'large' ? '--icon-x-large' : '--icon-medium';\n }\n\n onClick(): void {\n this.clickEvent.emit();\n }\n}\n","import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-pill',\n templateUrl: './pill.component.html',\n styleUrls: ['./pill.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PillComponent {\n @Input({ required: true }) label!: string;\n themeService = inject(ThemeService);\n}\n","
\n {{ label }}\n
","import {\n Component,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n inject,\n OnInit,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-pill-tab-button',\n templateUrl: './pill-tab-button.component.html',\n styleUrls: ['./pill-tab-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PillTabButtonComponent implements OnInit {\n @Input({ required: true }) label!: string;\n @Input() isSelected = true;\n @Output() clickEvent = new EventEmitter();\n\n themeService = inject(ThemeService);\n\n hasShadow = false;\n hasOutline = false;\n\n ngOnInit() {\n this.hasShadow = this.themeService.buttonConfig().primary.shadow;\n }\n\n onClick(): void {\n this.clickEvent.emit();\n }\n}\n","\n","import {\n Component,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n inject,\n OnInit,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-tab-button',\n templateUrl: './tab-button.component.html',\n styleUrls: ['./tab-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TabButtonComponent implements OnInit {\n @Input({ required: true }) label!: string;\n @Input() isSelected = true;\n @Output() clickEvent = new EventEmitter();\n\n themeService = inject(ThemeService);\n\n hasShadow = false;\n\n ngOnInit() {\n this.hasShadow = this.themeService.buttonConfig().primary.shadow;\n }\n\n onClick(event: MouseEvent | TouchEvent): void {\n event.preventDefault();\n event.stopPropagation();\n this.clickEvent.emit();\n }\n}\n","\n\n","
\n \n \n \n \n \n \n \n \n\n
\n
\n","import {\n Component,\n Input,\n Output,\n EventEmitter,\n inject,\n ChangeDetectorRef,\n effect,\n} from '@angular/core';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\n\n@Component({\n selector: 'app-tab-bar',\n templateUrl: './tab-bar.component.html',\n styleUrls: ['./tab-bar.component.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TabBarComponent {\n @Input() tabs: { label: string; id: string }[] = [];\n @Input() buttonType: 'pill' | 'tab' = 'pill';\n @Input() selectedTabIndex = 0;\n @Output() tabSelected = new EventEmitter();\n\n private changeDetection = inject(ChangeDetectorRef);\n private themeService = inject(ThemeService);\n currentTheme = this.themeService.currentTheme;\n\n underlineTransform = 'translateX(0)';\n underlineWidth = '0px';\n circleRadius = '50px';\n shouldAnimate = false;\n\n constructor() {\n effect(() => {\n this.currentTheme();\n this.updateUnderline();\n this.shouldAnimate = true;\n });\n }\n\n get underlineStyle(): string {\n return this.themeService.tabConfig().style;\n }\n\n onTabClick(index: number): void {\n this.selectedTabIndex = index;\n this.tabSelected.emit(this.tabs[index].id);\n this.updateUnderline();\n }\n\n private updateUnderline(): void {\n const tabElements = Array.from(document.querySelectorAll('.tab-bar > *')).filter(\n (el) => !el.classList.contains('tab-bar__underline'),\n );\n\n if (tabElements.length > 0) {\n const selectedElement = tabElements[this.selectedTabIndex] as HTMLElement;\n\n if (selectedElement) {\n const { offsetLeft, offsetWidth } = selectedElement;\n this.underlineTransform =\n this.underlineStyle === 'circle'\n ? `translateX(${\n offsetLeft + offsetWidth / 2 - parseFloat(this.circleRadius) / 2\n }px) translateY(60%)`\n : `translateX(${offsetLeft}px)`;\n\n this.underlineWidth =\n this.underlineStyle === 'circle' ? this.circleRadius : `${offsetWidth}px`;\n\n this.changeDetection.markForCheck(); // Ensure change detection runs\n }\n }\n }\n}\n","// ui.module.ts\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { LoadingSpinnerComponent } from './loading-spinner/loading-spinner.component';\nimport { HeaderComponent } from './text/header/header.component';\nimport { FooterButtonComponent } from './footer-button/footer-button.component';\nimport { IconComponent } from './icon/icon.component';\nimport { FadeDotComponent } from './text/fade-dot/fade-dot.component';\nimport { CellButtonComponent } from './cell-button/cell-button.component';\nimport { PillComponent } from './pill/pill.component';\nimport { ButtonComponent } from './button/button.component';\nimport { NavButtonComponent } from './nav-button/nav-button.component';\nimport { SectionLabelComponent } from './section-label/section-label.component';\nimport { CardButtonComponent } from './card-button/card-button.component';\nimport { CurrencyButtonComponent } from './currency-button/currency-button.component';\nimport { CurrencyIconComponent } from './currency-icon/currency-icon.component';\nimport { GameIconComponent } from './game-icon/game-icon.component';\nimport { GameTitleComponent } from './game-title/game-title.component';\nimport { PillTabButtonComponent } from './pill-tab-button/pill-tab-button.component';\nimport { TabBarComponent } from './tab-bar/tab-bar.component';\nimport { TabButtonComponent } from './tab-button/tab-button.component';\nimport { DropDownButtonComponent } from './drop-down-button/drop-down-button.component';\nimport { PrizePillComponent } from './prize-pill/prize-pill.component';\nimport { StatusBadgeComponent } from './status-badge/status-badge.component';\nimport { TranslocoModule } from '@jsverse/transloco';\nimport { WagerCardComponent } from './wager-card/wager-card.component';\nimport { LeaderboardListCellComponent } from './leaderboard-list-cell/leaderboard-list-cell.component';\nimport { LeaderboardPreviewComponent } from './leaderboard-preview/leaderboard-preview.component';\nimport { WagerListComponent } from './wager-list/wager-list.component';\nimport { WaitingForPaymentDrawerComponent } from './drawers/waiting-for-payment-drawer/waiting-for-payment-drawer.component';\nimport { CheckPaymentsDrawerComponent } from './drawers/check-payments-drawer/check-payments-drawer.component';\nimport { PaymentDrawerComponent } from './drawers/payment-drawer/payment-drawer.component';\nimport { FreeDrawerComponent } from './drawers/free-drawer/free-drawer.component';\nimport { LightningWebPayTemplateComponent } from './templates/lightning-web-pay-template/lightning-web-pay-template.component';\nimport { LightningDemoPayTemplateComponent } from './templates/lightning-demo-pay-template/lightning-demo-pay-template.component';\nimport { LightningNativePayTemplateComponent } from './templates/lightning-native-pay-template/lightning-native-pay-template.component';\nimport { LightningOperatorPayTemplateComponent } from './templates/lightning-operator-pay-template/lightning-operator-pay-template.component';\nimport { PolygonPayTemplateComponent } from './templates/polygon-pay-template/polygon-pay-template.component';\nimport { OperatorPayTemplateComponent } from './templates/operator-pay-template/operator-pay-template.component';\nimport { QRCodeModule } from 'angularx-qrcode';\nimport { PipeModule } from '../core/pipes/pipes.module';\nimport { BountyPillComponent } from './bounty-pill/bounty-pill.component';\n\n@NgModule({\n imports: [IonicModule, CommonModule, PipeModule, TranslocoModule, QRCodeModule],\n declarations: [\n LoadingSpinnerComponent,\n HeaderComponent,\n FooterButtonComponent,\n IconComponent,\n FadeDotComponent,\n CellButtonComponent,\n PillComponent,\n ButtonComponent,\n NavButtonComponent,\n SectionLabelComponent,\n CardButtonComponent,\n CurrencyButtonComponent,\n CurrencyIconComponent,\n GameIconComponent,\n GameTitleComponent,\n PillTabButtonComponent,\n TabBarComponent,\n TabButtonComponent,\n DropDownButtonComponent,\n PrizePillComponent,\n StatusBadgeComponent,\n WagerCardComponent,\n LeaderboardListCellComponent,\n LeaderboardPreviewComponent,\n WagerListComponent,\n WaitingForPaymentDrawerComponent,\n CheckPaymentsDrawerComponent,\n PaymentDrawerComponent,\n FreeDrawerComponent,\n LightningWebPayTemplateComponent,\n LightningNativePayTemplateComponent,\n LightningDemoPayTemplateComponent,\n PolygonPayTemplateComponent,\n LightningOperatorPayTemplateComponent,\n OperatorPayTemplateComponent,\n BountyPillComponent,\n ],\n exports: [\n LoadingSpinnerComponent,\n HeaderComponent,\n FooterButtonComponent,\n FadeDotComponent,\n IconComponent,\n CellButtonComponent,\n PillComponent,\n ButtonComponent,\n NavButtonComponent,\n SectionLabelComponent,\n CardButtonComponent,\n CurrencyButtonComponent,\n CurrencyIconComponent,\n GameIconComponent,\n GameTitleComponent,\n PillTabButtonComponent,\n TabBarComponent,\n DropDownButtonComponent,\n PrizePillComponent,\n StatusBadgeComponent,\n WagerCardComponent,\n LeaderboardListCellComponent,\n LeaderboardPreviewComponent,\n WagerListComponent,\n WaitingForPaymentDrawerComponent,\n CheckPaymentsDrawerComponent,\n PaymentDrawerComponent,\n FreeDrawerComponent,\n LightningWebPayTemplateComponent,\n LightningNativePayTemplateComponent,\n LightningDemoPayTemplateComponent,\n PolygonPayTemplateComponent,\n LightningOperatorPayTemplateComponent,\n OperatorPayTemplateComponent,\n BountyPillComponent,\n ],\n})\nexport class UIModule {}\n","export const environment = {\n firebase: window.env.firebaseClientConfig,\n production: true,\n url: 'https://clinch.gg',\n wagerApi: window.env.wagerApi,\n walletApi: window.env.walletApi,\n telegramBotApi: window.env.telegramBotApi,\n imagesPath: '/assets/images',\n build: 170,\n chatKey: '6hwyg7fagb85',\n emailLinkRedirectUri: window.env.emailLinkRedirectUri,\n walletOpenUri: window.env.walletOpenUri,\n reviewerId: 'fm2PfIf4YDfAsxX9mn47iAlfbjj2',\n operator: window.env.operator,\n sandbox: window.env.sandbox,\n telegram: window.env.telegram,\n deployment: window.env.deployment,\n botUsername: window.env.botUsername,\n};\n","export function assertNever(x: never, message: string): never {\n throw new Error(`${message}`);\n}\n\nexport function delay(milliseconds: number): Promise {\n return new Promise((resolve) => {\n setTimeout(resolve, milliseconds);\n });\n}\n\nexport function createDimensionsMap(\n enumType: Record,\n dimensionMappingFn: (value: T) => D,\n): Record {\n return Object.values(enumType).reduce(\n (acc, value) => {\n acc[value] = dimensionMappingFn(value);\n return acc;\n },\n {} as Record,\n );\n}\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT } from '../semanticAttributes.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { getRootSpan, getActiveSpan } from '../utils/spanUtils.js';\n\n/**\n * Adds a measurement to the active transaction on the current global scope. You can optionally pass in a different span\n * as the 4th parameter.\n */\nfunction setMeasurement(name, value, unit, activeSpan = getActiveSpan()) {\n const rootSpan = activeSpan && getRootSpan(activeSpan);\n\n if (rootSpan) {\n DEBUG_BUILD && logger.log(`[Measurement] Setting measurement on root span: ${name} = ${value} ${unit}`);\n rootSpan.addEvent(name, {\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: value,\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: unit ,\n });\n }\n}\n\n/**\n * Convert timed events to measurements.\n */\nfunction timedEventsToMeasurements(events) {\n if (!events || events.length === 0) {\n return undefined;\n }\n\n const measurements = {};\n events.forEach(event => {\n const attributes = event.attributes || {};\n const unit = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT] ;\n const value = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE] ;\n\n if (typeof unit === 'string' && typeof value === 'number') {\n measurements[event.name] = { value, unit };\n }\n });\n\n return measurements;\n}\n\nexport { setMeasurement, timedEventsToMeasurements };\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 href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nfunction parseUrl(url) {\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 */\nfunction stripUrlQueryAndFragment(urlPath) {\n return (urlPath.split(/[?#]/, 1) )[0];\n}\n\n/**\n * Returns number of URL segments of a passed string URL.\n *\n * @deprecated This function will be removed in the next major version.\n */\n// TODO(v9): Hoist this function into the places where we use it. (as it stands only react router v6 instrumentation)\nfunction getNumberOfUrlSegments(url) {\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 name\n * see: https://develop.sentry.dev/sdk/data-handling/#structuring-data\n */\nfunction getSanitizedUrlString(url) {\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 // TODO: Use new URL global if it exists\n .replace(/(:80)$/, '')\n .replace(/(:443)$/, '')) ||\n '';\n\n return `${protocol ? `${protocol}://` : ''}${filteredHost}${path}`;\n}\n\nexport { getNumberOfUrlSegments, getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment };\n","import { GLOBAL_OBJ } from '@sentry/core';\n\nconst WINDOW = GLOBAL_OBJ\n\n;\n\nexport { WINDOW };\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n","const getRating = (value, thresholds) => {\n if (value > thresholds[1]) {\n return 'poor';\n }\n if (value > thresholds[0]) {\n return 'needs-improvement';\n }\n return 'good';\n};\n\nconst bindReporter = (\n callback,\n metric,\n thresholds,\n reportAllChanges,\n) => {\n let prevValue;\n let delta;\n return (forceReport) => {\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 metric.rating = getRating(metric.value, thresholds);\n callback(metric);\n }\n }\n }\n };\n};\n\nexport { bindReporter };\n","import { WINDOW } from '../../../types.js';\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\n\n// sentry-specific change:\n// add optional param to not check for responseStart (see comment below)\nconst getNavigationEntry = (checkResponseStart = true) => {\n const navigationEntry =\n WINDOW.performance && WINDOW.performance.getEntriesByType && WINDOW.performance.getEntriesByType('navigation')[0];\n // Check to ensure the `responseStart` property is present and valid.\n // In some cases no value is reported by the browser (for\n // privacy/security reasons), and in other cases (bugs) the value is\n // negative or is larger than the current page time. Ignore these cases:\n // https://github.com/GoogleChrome/web-vitals/issues/137\n // https://github.com/GoogleChrome/web-vitals/issues/162\n // https://github.com/GoogleChrome/web-vitals/issues/275\n if (\n // sentry-specific change:\n // We don't want to check for responseStart for our own use of `getNavigationEntry`\n !checkResponseStart ||\n (navigationEntry && navigationEntry.responseStart > 0 && navigationEntry.responseStart < performance.now())\n ) {\n return navigationEntry;\n }\n};\n\nexport { getNavigationEntry };\n","import { getNavigationEntry } from './getNavigationEntry.js';\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\n\nconst getActivationStart = () => {\n const navEntry = getNavigationEntry();\n return (navEntry && navEntry.activationStart) || 0;\n};\n\nexport { getActivationStart };\n","import { WINDOW } from '../../../types.js';\nimport { generateUniqueID } from './generateUniqueID.js';\nimport { getActivationStart } from './getActivationStart.js';\nimport { getNavigationEntry } from './getNavigationEntry.js';\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\nconst initMetric = (name, value) => {\n const navEntry = getNavigationEntry();\n let navigationType = 'navigate';\n\n if (navEntry) {\n if ((WINDOW.document && WINDOW.document.prerendering) || getActivationStart() > 0) {\n navigationType = 'prerender';\n } else if (WINDOW.document && WINDOW.document.wasDiscarded) {\n navigationType = 'restore';\n } else if (navEntry.type) {\n navigationType = navEntry.type.replace(/_/g, '-') ;\n }\n }\n\n // Use `entries` type specific for the metric.\n const entries = [];\n\n return {\n name,\n value: typeof value === 'undefined' ? -1 : value,\n rating: 'good' , // If needed, will be updated when reported. `const` to keep the type from widening to `string`.\n delta: 0,\n entries,\n id: generateUniqueID(),\n navigationType,\n };\n};\n\nexport { initMetric };\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 */\nconst generateUniqueID = () => {\n return `v4-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n\nexport { generateUniqueID };\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 * 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 */\nconst observe = (\n type,\n callback,\n opts,\n) => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n const po = new PerformanceObserver(list => {\n // Delay by a microtask to workaround a bug in Safari where the\n // callback is invoked immediately, rather than in a separate task.\n // See: https://github.com/GoogleChrome/web-vitals/issues/277\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n Promise.resolve().then(() => {\n callback(list.getEntries() );\n });\n });\n po.observe(\n Object.assign(\n {\n type,\n buffered: true,\n },\n opts || {},\n ) ,\n );\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n\nexport { observe };\n","import { WINDOW } from '../../../types.js';\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// Sentry-specific change:\n// This function's logic was NOT updated to web-vitals 4.2.4 but we continue\n// to use the web-vitals 3.5.2 due to us having stricter browser support.\n// PR with context that made the changes: https://github.com/GoogleChrome/web-vitals/pull/442/files#r1530492402\n// The PR removed listening to the `pagehide` event, in favour of only listening to `visibilitychange` event.\n// This is \"more correct\" but some browsers we still support (Safari 12.1-14.0) don't fully support `visibilitychange`\n// or have known bugs w.r.t the `visibilitychange` event.\n// TODO (v9): If we decide to drop support for Safari 12.1-14.0, we can use the logic from web-vitals 4.2.4\n// In this case, we also need to update the integration tests that currently trigger the `pagehide` event to\n// simulate the page being hidden.\nconst onHidden = (cb) => {\n const onHiddenOrPageHide = (event) => {\n if (event.type === 'pagehide' || (WINDOW.document && WINDOW.document.visibilityState === 'hidden')) {\n cb(event);\n }\n };\n\n if (WINDOW.document) {\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\nexport { onHidden };\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\nconst runOnce = (cb) => {\n let called = false;\n return () => {\n if (!called) {\n cb();\n called = true;\n }\n };\n};\n\nexport { runOnce };\n","import { WINDOW } from '../../../types.js';\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\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = () => {\n // If the document is hidden when this code runs, assume it was always\n // hidden and the page was loaded in the background, with the one exception\n // that visibility state is always 'hidden' during prerendering, so we have\n // to ignore that case until prerendering finishes (see: `prerenderingchange`\n // event logic below).\n return WINDOW.document.visibilityState === 'hidden' && !WINDOW.document.prerendering ? 0 : Infinity;\n};\n\nconst onVisibilityUpdate = (event) => {\n // If the document is 'hidden' and no previous hidden timestamp has been\n // set, update it based on the current event data.\n if (WINDOW.document.visibilityState === 'hidden' && firstHiddenTime > -1) {\n // If the event is a 'visibilitychange' event, it means the page was\n // visible prior to this change, so the event timestamp is the first\n // hidden time.\n // However, if the event is not a 'visibilitychange' event, then it must\n // be a 'prerenderingchange' event, and the fact that the document is\n // still 'hidden' from the above check means the tab was activated\n // in a background state and so has always been hidden.\n firstHiddenTime = event.type === 'visibilitychange' ? event.timeStamp : 0;\n\n // Remove all listeners now that a `firstHiddenTime` value has been set.\n removeChangeListeners();\n }\n};\n\nconst addChangeListeners = () => {\n addEventListener('visibilitychange', onVisibilityUpdate, true);\n // IMPORTANT: when a page is prerendering, its `visibilityState` is\n // 'hidden', so in order to account for cases where this module checks for\n // visibility during prerendering, an additional check after prerendering\n // completes is also required.\n addEventListener('prerenderingchange', onVisibilityUpdate, true);\n};\n\nconst removeChangeListeners = () => {\n removeEventListener('visibilitychange', onVisibilityUpdate, true);\n removeEventListener('prerenderingchange', onVisibilityUpdate, true);\n};\n\nconst getVisibilityWatcher = () => {\n if (WINDOW.document && 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 addChangeListeners();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n\nexport { getVisibilityWatcher };\n","import { WINDOW } from '../../../types.js';\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\n\nconst whenActivated = (callback) => {\n if (WINDOW.document && WINDOW.document.prerendering) {\n addEventListener('prerenderingchange', () => callback(), true);\n } else {\n callback();\n }\n};\n\nexport { whenActivated };\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { whenActivated } from './lib/whenActivated.js';\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/** Thresholds for FCP. See https://web.dev/articles/fcp#what_is_a_good_fcp_score */\nconst FCPThresholds = [1800, 3000];\n\n/**\n * Calculates the [FCP](https://web.dev/articles/fcp) value for the current page and\n * calls the `callback` function once the value is ready, along with the\n * relevant `paint` performance entry used to determine the value. The reported\n * value is a `DOMHighResTimeStamp`.\n */\nconst onFCP = (onReport, opts = {}) => {\n whenActivated(() => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FCP');\n let report;\n\n const handleEntries = (entries) => {\n entries.forEach(entry => {\n if (entry.name === 'first-contentful-paint') {\n po.disconnect();\n\n // Only report if the page wasn't hidden prior to the first paint.\n if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n // The activationStart reference is used because FCP should be\n // relative to page activation rather than navigation start if the\n // page was prerendered. But in cases where `activationStart` occurs\n // after the FCP, this time should be clamped at 0.\n metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n metric.entries.push(entry);\n report(true);\n }\n }\n });\n };\n\n const po = observe('paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric, FCPThresholds, opts.reportAllChanges);\n }\n });\n};\n\nexport { FCPThresholds, onFCP };\n","import { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { runOnce } from './lib/runOnce.js';\nimport { onFCP } from './onFCP.js';\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/** Thresholds for CLS. See https://web.dev/articles/cls#what_is_a_good_cls_score */\nconst CLSThresholds = [0.1, 0.25];\n\n/**\n * Calculates the [CLS](https://web.dev/articles/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/articles/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 */\nconst onCLS = (onReport, opts = {}) => {\n // Start monitoring FCP so we can only report CLS if FCP is also reported.\n // Note: this is done to match the current behavior of CrUX.\n onFCP(\n runOnce(() => {\n const metric = initMetric('CLS', 0);\n let report;\n\n let sessionValue = 0;\n let sessionEntries = [];\n\n const handleEntries = (entries) => {\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\n // and less than 5 seconds after the first entry in the session,\n // include the entry in the current session. Otherwise, start a new\n // session.\n if (\n sessionValue &&\n firstSessionEntry &&\n lastSessionEntry &&\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 });\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 report();\n }\n };\n\n const po = observe('layout-shift', handleEntries);\n if (po) {\n report = bindReporter(onReport, metric, CLSThresholds, opts.reportAllChanges);\n\n onHidden(() => {\n handleEntries(po.takeRecords() );\n report(true);\n });\n\n // Queue a task to report (if nothing else triggers a report first).\n // This allows CLS to be reported as soon as FCP fires when\n // `reportAllChanges` is true.\n setTimeout(report, 0);\n }\n }),\n );\n};\n\nexport { CLSThresholds, onCLS };\n","import { bindReporter } from './lib/bindReporter.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { runOnce } from './lib/runOnce.js';\nimport { whenActivated } from './lib/whenActivated.js';\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/** Thresholds for FID. See https://web.dev/articles/fid#what_is_a_good_fid_score */\nconst FIDThresholds = [100, 300];\n\n/**\n * Calculates the [FID](https://web.dev/articles/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 */\nconst onFID = (onReport, opts = {}) => {\n whenActivated(() => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntry = (entry) => {\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) => {\n (entries ).forEach(handleEntry);\n };\n\n const po = observe('first-input', handleEntries);\n\n report = bindReporter(onReport, metric, FIDThresholds, opts.reportAllChanges);\n\n if (po) {\n onHidden(\n runOnce(() => {\n handleEntries(po.takeRecords() );\n po.disconnect();\n }),\n );\n }\n });\n};\n\nexport { FIDThresholds, onFID };\n","import { observe } from '../observe.js';\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\n\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\n\nconst updateEstimate = (entries) => {\n entries.forEach(e => {\n if (e.interactionId) {\n minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n\n interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n }\n });\n};\n\nlet po;\n\n/**\n * Returns the `interactionCount` value using the native API (if available)\n * or the polyfill estimate in this module.\n */\nconst getInteractionCount = () => {\n return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\n\n/**\n * Feature detects native support or initializes the polyfill if needed.\n */\nconst initInteractionCountPolyfill = () => {\n if ('interactionCount' in performance || po) return;\n\n po = observe('event', updateEstimate, {\n type: 'event',\n buffered: true,\n durationThreshold: 0,\n } );\n};\n\nexport { getInteractionCount, initInteractionCountPolyfill };\n","import { getInteractionCount } from './polyfills/interactionCountPolyfill.js';\n\n/*\n * Copyright 2024 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// A list of longest interactions on the page (by latency) sorted so the\n// longest one is first. The list is at most MAX_INTERACTIONS_TO_CONSIDER long.\nconst longestInteractionList = [];\n\n// A mapping of longest interactions by their interaction ID.\n// This is used for faster lookup.\nconst longestInteractionMap = new Map();\n\n// The default `durationThreshold` used across this library for observing\n// `event` entries via PerformanceObserver.\nconst DEFAULT_DURATION_THRESHOLD = 40;\n\n// Used to store the interaction count after a bfcache restore, since p98\n// interaction latencies should only consider the current navigation.\nlet prevInteractionCount = 0;\n\n/**\n * Returns the interaction count since the last bfcache restore (or for the\n * full page lifecycle if there were no bfcache restores).\n */\nconst getInteractionCountForNavigation = () => {\n return getInteractionCount() - prevInteractionCount;\n};\n\n/**\n * Returns the estimated p98 longest interaction based on the stored\n * interaction candidates and the interaction count for the current page.\n */\nconst estimateP98LongestInteraction = () => {\n const candidateInteractionIndex = Math.min(\n longestInteractionList.length - 1,\n Math.floor(getInteractionCountForNavigation() / 50),\n );\n\n return longestInteractionList[candidateInteractionIndex];\n};\n\n// To prevent unnecessary memory usage on pages with lots of interactions,\n// store at most 10 of the longest interactions to consider as INP candidates.\nconst MAX_INTERACTIONS_TO_CONSIDER = 10;\n\n/**\n * A list of callback functions to run before each entry is processed.\n * Exposing this list allows the attribution build to hook into the\n * entry processing pipeline.\n */\nconst entryPreProcessingCallbacks = [];\n\n/**\n * Takes a performance entry and adds it to the list of worst interactions\n * if its duration is long enough to make it among the worst. If the\n * entry is part of an existing interaction, it is merged and the latency\n * and entries list is updated as needed.\n */\nconst processInteractionEntry = (entry) => {\n entryPreProcessingCallbacks.forEach(cb => cb(entry));\n\n // Skip further processing for entries that cannot be INP candidates.\n if (!(entry.interactionId || entry.entryType === 'first-input')) return;\n\n // The least-long of the 10 longest interactions.\n const minLongestInteraction = longestInteractionList[longestInteractionList.length - 1];\n\n const existingInteraction = longestInteractionMap.get(entry.interactionId);\n\n // Only process the entry if it's possibly one of the ten longest,\n // or if it's part of an existing interaction.\n if (\n existingInteraction ||\n longestInteractionList.length < MAX_INTERACTIONS_TO_CONSIDER ||\n (minLongestInteraction && entry.duration > minLongestInteraction.latency)\n ) {\n // If the interaction already exists, update it. Otherwise create one.\n if (existingInteraction) {\n // If the new entry has a longer duration, replace the old entries,\n // otherwise add to the array.\n if (entry.duration > existingInteraction.latency) {\n existingInteraction.entries = [entry];\n existingInteraction.latency = entry.duration;\n } else if (\n entry.duration === existingInteraction.latency &&\n entry.startTime === (existingInteraction.entries[0] && existingInteraction.entries[0].startTime)\n ) {\n existingInteraction.entries.push(entry);\n }\n } else {\n const interaction = {\n id: entry.interactionId,\n latency: entry.duration,\n entries: [entry],\n };\n longestInteractionMap.set(interaction.id, interaction);\n longestInteractionList.push(interaction);\n }\n\n // Sort the entries by latency (descending) and keep only the top ten.\n longestInteractionList.sort((a, b) => b.latency - a.latency);\n if (longestInteractionList.length > MAX_INTERACTIONS_TO_CONSIDER) {\n longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER).forEach(i => longestInteractionMap.delete(i.id));\n }\n }\n};\n\nexport { DEFAULT_DURATION_THRESHOLD, entryPreProcessingCallbacks, estimateP98LongestInteraction, longestInteractionList, longestInteractionMap, processInteractionEntry };\n","import { WINDOW } from '../../../types.js';\nimport { onHidden } from './onHidden.js';\nimport { runOnce } from './runOnce.js';\n\n/*\n * Copyright 2024 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/**\n * Runs the passed callback during the next idle period, or immediately\n * if the browser's visibility state is (or becomes) hidden.\n */\nconst whenIdle = (cb) => {\n const rIC = WINDOW.requestIdleCallback || WINDOW.setTimeout;\n\n let handle = -1;\n // eslint-disable-next-line no-param-reassign\n cb = runOnce(cb) ;\n // If the document is hidden, run the callback immediately, otherwise\n // race an idle callback with the next `visibilitychange` event.\n if (WINDOW.document && WINDOW.document.visibilityState === 'hidden') {\n cb();\n } else {\n handle = rIC(cb);\n onHidden(cb);\n }\n return handle;\n};\n\nexport { whenIdle };\n","import { WINDOW } from '../../types.js';\nimport { bindReporter } from './lib/bindReporter.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { DEFAULT_DURATION_THRESHOLD, processInteractionEntry, estimateP98LongestInteraction } from './lib/interactions.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { initInteractionCountPolyfill } from './lib/polyfills/interactionCountPolyfill.js';\nimport { whenActivated } from './lib/whenActivated.js';\nimport { whenIdle } from './lib/whenIdle.js';\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\n\n/** Thresholds for INP. See https://web.dev/articles/inp#what_is_a_good_inp_score */\nconst INPThresholds = [200, 500];\n\n/**\n * Calculates the [INP](https://web.dev/articles/inp) value for the current\n * page and calls the `callback` function once the value is ready, along with\n * the `event` performance entries reported for that interaction. The reported\n * value is a `DOMHighResTimeStamp`.\n *\n * A custom `durationThreshold` configuration option can optionally be passed to\n * control what `event-timing` entries are considered for INP reporting. The\n * default threshold is `40`, which means INP scores of less than 40 are\n * reported as 0. Note that this will not affect your 75th percentile INP value\n * unless that value is also less than 40 (well below the recommended\n * [good](https://web.dev/articles/inp#what_is_a_good_inp_score) threshold).\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:** INP 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 */\nconst onINP = (onReport, opts = {}) => {\n // Return if the browser doesn't support all APIs needed to measure INP.\n if (!('PerformanceEventTiming' in WINDOW && 'interactionId' in PerformanceEventTiming.prototype)) {\n return;\n }\n\n whenActivated(() => {\n // TODO(philipwalton): remove once the polyfill is no longer needed.\n initInteractionCountPolyfill();\n\n const metric = initMetric('INP');\n // eslint-disable-next-line prefer-const\n let report;\n\n const handleEntries = (entries) => {\n // Queue the `handleEntries()` callback in the next idle task.\n // This is needed to increase the chances that all event entries that\n // occurred between the user interaction and the next paint\n // have been dispatched. Note: there is currently an experiment\n // running in Chrome (EventTimingKeypressAndCompositionInteractionId)\n // 123+ that if rolled out fully may make this no longer necessary.\n whenIdle(() => {\n entries.forEach(processInteractionEntry);\n\n const inp = estimateP98LongestInteraction();\n\n if (inp && inp.latency !== metric.value) {\n metric.value = inp.latency;\n metric.entries = inp.entries;\n report();\n }\n });\n };\n\n const po = observe('event', handleEntries, {\n // Event Timing entries have their durations rounded to the nearest 8ms,\n // so a duration of 40ms would be any event that spans 2.5 or more frames\n // at 60Hz. This threshold is chosen to strike a balance between usefulness\n // and performance. Running this callback for any interaction that spans\n // just one or two frames is likely not worth the insight that could be\n // gained.\n durationThreshold: opts.durationThreshold != null ? opts.durationThreshold : DEFAULT_DURATION_THRESHOLD,\n });\n\n report = bindReporter(onReport, metric, INPThresholds, opts.reportAllChanges);\n\n if (po) {\n // Also observe entries of type `first-input`. This is useful in cases\n // where the first interaction is less than the `durationThreshold`.\n po.observe({ type: 'first-input', buffered: true });\n\n onHidden(() => {\n handleEntries(po.takeRecords() );\n report(true);\n });\n }\n });\n};\n\nexport { INPThresholds, onINP };\n","import { WINDOW } from '../../types.js';\nimport { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\nimport { runOnce } from './lib/runOnce.js';\nimport { whenActivated } from './lib/whenActivated.js';\nimport { whenIdle } from './lib/whenIdle.js';\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/** Thresholds for LCP. See https://web.dev/articles/lcp#what_is_a_good_lcp_score */\nconst LCPThresholds = [2500, 4000];\n\nconst reportedMetricIDs = {};\n\n/**\n * Calculates the [LCP](https://web.dev/articles/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 *\n * If the `reportAllChanges` configuration option is set to `true`, the\n * `callback` function will be called any time a new `largest-contentful-paint`\n * performance entry is dispatched, or once the final value of the metric has\n * been determined.\n */\nconst onLCP = (onReport, opts = {}) => {\n whenActivated(() => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report;\n\n const handleEntries = (entries) => {\n // If reportAllChanges is set then call this function for each entry,\n // otherwise only consider the last one.\n if (!opts.reportAllChanges) {\n // eslint-disable-next-line no-param-reassign\n entries = entries.slice(-1);\n }\n\n entries.forEach(entry => {\n // Only report if the page wasn't hidden prior to LCP.\n if (entry.startTime < visibilityWatcher.firstHiddenTime) {\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 pre-rendered. But in cases\n // where `activationStart` occurs after the LCP, this time should be\n // clamped at 0.\n metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n metric.entries = [entry];\n report();\n }\n });\n };\n\n const po = observe('largest-contentful-paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric, LCPThresholds, opts.reportAllChanges);\n\n const stopListening = runOnce(() => {\n if (!reportedMetricIDs[metric.id]) {\n handleEntries(po.takeRecords() );\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 // stops 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 // Wrap in a setTimeout so the callback is run in a separate task\n // to avoid extending the keyboard/click handler to reduce INP impact\n // https://github.com/GoogleChrome/web-vitals/issues/383\n if (WINDOW.document) {\n addEventListener(type, () => whenIdle(stopListening ), {\n once: true,\n capture: true,\n });\n }\n });\n\n onHidden(stopListening);\n }\n });\n};\n\nexport { LCPThresholds, onLCP };\n","import { WINDOW } from '../../types.js';\nimport { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getNavigationEntry } from './lib/getNavigationEntry.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { whenActivated } from './lib/whenActivated.js';\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/** Thresholds for TTFB. See https://web.dev/articles/ttfb#what_is_a_good_ttfb_score */\nconst TTFBThresholds = [800, 1800];\n\n/**\n * Runs in the next task after the page is done loading and/or prerendering.\n * @param callback\n */\nconst whenReady = (callback) => {\n if (WINDOW.document && WINDOW.document.prerendering) {\n whenActivated(() => whenReady(callback));\n } else if (WINDOW.document && WINDOW.document.readyState !== 'complete') {\n addEventListener('load', () => whenReady(callback), true);\n } else {\n // Queue a task so the callback runs after `loadEventEnd`.\n setTimeout(callback, 0);\n }\n};\n\n/**\n * Calculates the [TTFB](https://web.dev/articles/ttfb) value for the\n * current page and calls the `callback` function once the page has loaded,\n * along with the relevant `navigation` performance entry used to determine the\n * value. The reported value is a `DOMHighResTimeStamp`.\n *\n * Note, this function waits until after the page is loaded to call `callback`\n * in order to ensure all properties of the `navigation` entry are populated.\n * This is useful if you want to report on other metrics exposed by the\n * [Navigation Timing API](https://w3c.github.io/navigation-timing/). For\n * example, the TTFB metric starts from the page's [time\n * origin](https://www.w3.org/TR/hr-time-2/#sec-time-origin), which means it\n * includes time spent on DNS lookup, connection negotiation, network latency,\n * and server processing time.\n */\nconst onTTFB = (onReport, opts = {}) => {\n const metric = initMetric('TTFB');\n const report = bindReporter(onReport, metric, TTFBThresholds, opts.reportAllChanges);\n\n whenReady(() => {\n const navigationEntry = getNavigationEntry();\n\n if (navigationEntry) {\n // The activationStart reference is used because TTFB should be\n // relative to page activation rather than navigation start if the\n // page was prerendered. But in cases where `activationStart` occurs\n // after the first byte is received, this time should be clamped at 0.\n metric.value = Math.max(navigationEntry.responseStart - getActivationStart(), 0);\n\n metric.entries = [navigationEntry];\n report(true);\n }\n });\n};\n\nexport { TTFBThresholds, onTTFB };\n","import { logger, getFunctionName } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { onCLS } from './web-vitals/getCLS.js';\nimport { onFID } from './web-vitals/getFID.js';\nimport { onINP } from './web-vitals/getINP.js';\nimport { onLCP } from './web-vitals/getLCP.js';\nimport { observe } from './web-vitals/lib/observe.js';\nimport { onTTFB } from './web-vitals/onTTFB.js';\n\nconst handlers = {};\nconst instrumented = {};\n\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\n\n/**\n * Add a callback that will be triggered when a CLS metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for CLS when the cleanup callback is called.\n * This will lead to the CLS being finalized and frozen.\n */\nfunction addClsInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('cls', callback, instrumentCls, _previousCls, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a LCP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for LCP when the cleanup callback is called.\n * This will lead to the LCP being finalized and frozen.\n */\nfunction addLcpInstrumentationHandler(\n callback,\n stopOnCallback = false,\n) {\n return addMetricObserver('lcp', callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addFidInstrumentationHandler(callback) {\n return addMetricObserver('fid', callback, instrumentFid, _previousFid);\n}\n\n/**\n * Add a callback that will be triggered when a FID metric is available.\n */\nfunction addTtfbInstrumentationHandler(callback) {\n return addMetricObserver('ttfb', callback, instrumentTtfb, _previousTtfb);\n}\n\n/**\n * Add a callback that will be triggered when a INP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addInpInstrumentationHandler(\n callback,\n) {\n return addMetricObserver('inp', callback, instrumentInp, _previousInp);\n}\n\n/**\n * Add a callback that will be triggered when a performance observer is triggered,\n * and receives the entries of the observer.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\nfunction addPerformanceInstrumentationHandler(\n type,\n callback,\n) {\n addHandler(type, callback);\n\n if (!instrumented[type]) {\n instrumentPerformanceObserver(type);\n instrumented[type] = true;\n }\n\n return getCleanupCallback(type, callback);\n}\n\n/** Trigger all handlers of a given type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = handlers[type];\n\n if (!typeHandlers || !typeHandlers.length) {\n return;\n }\n\n for (const handler of typeHandlers) {\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\nfunction instrumentCls() {\n return onCLS(\n metric => {\n triggerHandlers('cls', {\n metric,\n });\n _previousCls = metric;\n },\n // We want the callback to be called whenever the CLS value updates.\n // By default, the callback is only called when the tab goes to the background.\n { reportAllChanges: true },\n );\n}\n\nfunction instrumentFid() {\n return onFID(metric => {\n triggerHandlers('fid', {\n metric,\n });\n _previousFid = metric;\n });\n}\n\nfunction instrumentLcp() {\n return onLCP(\n metric => {\n triggerHandlers('lcp', {\n metric,\n });\n _previousLcp = metric;\n },\n // We want the callback to be called whenever the LCP value updates.\n // By default, the callback is only called when the tab goes to the background.\n { reportAllChanges: true },\n );\n}\n\nfunction instrumentTtfb() {\n return onTTFB(metric => {\n triggerHandlers('ttfb', {\n metric,\n });\n _previousTtfb = metric;\n });\n}\n\nfunction instrumentInp() {\n return onINP(metric => {\n triggerHandlers('inp', {\n metric,\n });\n _previousInp = metric;\n });\n}\n\nfunction addMetricObserver(\n type,\n callback,\n instrumentFn,\n previousValue,\n stopOnCallback = false,\n) {\n addHandler(type, callback);\n\n let stopListening;\n\n if (!instrumented[type]) {\n stopListening = instrumentFn();\n instrumented[type] = true;\n }\n\n if (previousValue) {\n callback({ metric: previousValue });\n }\n\n return getCleanupCallback(type, callback, stopOnCallback ? stopListening : undefined);\n}\n\nfunction instrumentPerformanceObserver(type) {\n const options = {};\n\n // Special per-type options we want to use\n if (type === 'event') {\n options.durationThreshold = 0;\n }\n\n observe(\n type,\n entries => {\n triggerHandlers(type, { entries });\n },\n options,\n );\n}\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n// Get a callback which can be called to remove the instrumentation handler\nfunction getCleanupCallback(\n type,\n callback,\n stopListening,\n) {\n return () => {\n if (stopListening) {\n stopListening();\n }\n\n const typeHandlers = handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n const index = typeHandlers.indexOf(callback);\n if (index !== -1) {\n typeHandlers.splice(index, 1);\n }\n };\n}\n\n/**\n * Check if a PerformanceEntry is a PerformanceEventTiming by checking for the `duration` property.\n */\nfunction isPerformanceEventTiming(entry) {\n return 'duration' in entry;\n}\n\nexport { addClsInstrumentationHandler, addFidInstrumentationHandler, addInpInstrumentationHandler, addLcpInstrumentationHandler, addPerformanceInstrumentationHandler, addTtfbInstrumentationHandler, isPerformanceEventTiming };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../utils-hoist/logger.js';\n\n/**\n * Parse a sample rate from a given value.\n * This will either return a boolean or number sample rate, if the sample rate is valid (between 0 and 1).\n * If a string is passed, we try to convert it to a number.\n *\n * Any invalid sample rate will return `undefined`.\n */\nfunction parseSampleRate(sampleRate) {\n if (typeof sampleRate === 'boolean') {\n return Number(sampleRate);\n }\n\n const rate = typeof sampleRate === 'string' ? parseFloat(sampleRate) : sampleRate;\n if (typeof rate !== 'number' || isNaN(rate) || rate < 0 || rate > 1) {\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 sampleRate,\n )} of type ${JSON.stringify(typeof sampleRate)}.`,\n );\n return undefined;\n }\n\n return rate;\n}\n\nexport { parseSampleRate };\n","import { uuid4 } from '../utils-hoist/misc.js';\nimport { TRACE_FLAG_NONE } from '../utils/spanUtils.js';\n\n/**\n * A Sentry Span that is non-recording, meaning it will not be sent to Sentry.\n */\nclass SentryNonRecordingSpan {\n\n constructor(spanContext = {}) {\n this._traceId = spanContext.traceId || uuid4();\n this._spanId = spanContext.spanId || uuid4().substring(16);\n }\n\n /** @inheritdoc */\n spanContext() {\n return {\n spanId: this._spanId,\n traceId: this._traceId,\n traceFlags: TRACE_FLAG_NONE,\n };\n }\n\n /** @inheritdoc */\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n end(_timestamp) {}\n\n /** @inheritdoc */\n setAttribute(_key, _value) {\n return this;\n }\n\n /** @inheritdoc */\n setAttributes(_values) {\n return this;\n }\n\n /** @inheritdoc */\n setStatus(_status) {\n return this;\n }\n\n /** @inheritdoc */\n updateName(_name) {\n return this;\n }\n\n /** @inheritdoc */\n isRecording() {\n return false;\n }\n\n /** @inheritdoc */\n addEvent(\n _name,\n _attributesOrStartTime,\n _startTime,\n ) {\n return this;\n }\n\n /**\n * This should generally not be used,\n * but we need it for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n addLink(_link) {\n return this;\n }\n\n /**\n * This should generally not be used,\n * but we need it for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n addLinks(_links) {\n return this;\n }\n\n /**\n * This should generally not be used,\n * but we need it for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n recordException(_exception, _time) {\n // noop\n }\n}\n\nexport { SentryNonRecordingSpan };\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { consoleSandbox, logger } from './logger.js';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol) {\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 */\nfunction dsnToString(dsn, withPassword = false) {\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 or undefined if @param str is not a valid DSN string\n */\nfunction dsnFromString(str) {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n // This should be logged to the console\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.error(`Invalid Sentry Dsn: ${str}`);\n });\n return undefined;\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() ;\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 , publicKey });\n}\n\nfunction dsnFromComponents(components) {\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) {\n if (!DEBUG_BUILD) {\n return true;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents = ['protocol', 'publicKey', 'host', 'projectId'];\n const hasMissingRequiredComponent = requiredComponents.find(component => {\n if (!dsn[component]) {\n logger.error(`Invalid Sentry Dsn: ${component} missing`);\n return true;\n }\n return false;\n });\n\n if (hasMissingRequiredComponent) {\n return false;\n }\n\n if (!projectId.match(/^\\d+$/)) {\n logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n return false;\n }\n\n if (!isValidProtocol(protocol)) {\n logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n return false;\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);\n return false;\n }\n\n return true;\n}\n\n/**\n * Creates a valid Sentry Dsn object, identifying a Sentry instance and project.\n * @returns a valid DsnComponents object or `undefined` if @param from is an invalid DSN source\n */\nfunction makeDsn(from) {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n if (!components || !validateDsn(components)) {\n return undefined;\n }\n return components;\n}\n\nexport { dsnFromString, dsnToString, makeDsn };\n","import { dsnToString } from './dsn.js';\nimport { normalize } from './normalize.js';\nimport { dropUndefinedKeys } from './object.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\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 */\nfunction createEnvelope(headers, items = []) {\n return [headers, items] ;\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 */\nfunction addItemToEnvelope(envelope, newItem) {\n const [headers, items] = envelope;\n return [headers, [...items, newItem]] ;\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 *\n * If the callback returns true, the rest of the items will be skipped.\n */\nfunction forEachEnvelopeItem(\n envelope,\n callback,\n) {\n const envelopeItems = envelope[1];\n\n for (const envelopeItem of envelopeItems) {\n const envelopeItemType = envelopeItem[0].type;\n const result = callback(envelopeItem, envelopeItemType);\n\n if (result) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * Returns true if the envelope contains any of the given envelope item types\n */\nfunction envelopeContainsItemType(envelope, types) {\n return forEachEnvelopeItem(envelope, (_, type) => types.includes(type));\n}\n\n/**\n * Encode a string to UTF8 array.\n */\nfunction encodeUTF8(input) {\n return GLOBAL_OBJ.__SENTRY__ && GLOBAL_OBJ.__SENTRY__.encodePolyfill\n ? GLOBAL_OBJ.__SENTRY__.encodePolyfill(input)\n : new TextEncoder().encode(input);\n}\n\n/**\n * Decode a UTF8 array to string.\n */\nfunction decodeUTF8(input) {\n return GLOBAL_OBJ.__SENTRY__ && GLOBAL_OBJ.__SENTRY__.decodePolyfill\n ? GLOBAL_OBJ.__SENTRY__.decodePolyfill(input)\n : new TextDecoder().decode(input);\n}\n\n/**\n * Serializes an envelope.\n */\nfunction serializeEnvelope(envelope) {\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 = JSON.stringify(envHeaders);\n\n function append(next) {\n if (typeof parts === 'string') {\n parts = typeof next === 'string' ? parts + next : [encodeUTF8(parts), next];\n } else {\n parts.push(typeof next === 'string' ? encodeUTF8(next) : 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;\n try {\n stringifiedPayload = JSON.stringify(payload);\n } catch (e) {\n // In case, despite all our efforts to keep `payload` circular-dependency-free, `JSON.stringify()` 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) {\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\n/**\n * Parses an envelope\n */\nfunction parseEnvelope(env) {\n let buffer = typeof env === 'string' ? encodeUTF8(env) : env;\n\n function readBinary(length) {\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() {\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(decodeUTF8(readBinary(i))) ;\n }\n\n const envelopeHeader = readJson();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const items = [];\n\n while (buffer.length) {\n const itemHeader = readJson();\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 envelope item for a single span\n */\nfunction createSpanEnvelopeItem(spanJson) {\n const spanHeaders = {\n type: 'span',\n };\n\n return [spanHeaders, spanJson];\n}\n\n/**\n * Creates attachment envelope items\n */\nfunction createAttachmentEnvelopeItem(attachment) {\n const buffer = typeof attachment.data === 'string' ? encodeUTF8(attachment.data) : 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 = {\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 profile_chunk: 'profile',\n replay_event: 'replay',\n replay_recording: 'replay',\n check_in: 'monitor',\n feedback: 'feedback',\n span: 'span',\n statsd: 'metric_bucket',\n};\n\n/**\n * Maps the type of an envelope item to a data category.\n */\nfunction envelopeItemTypeToDataCategory(type) {\n return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\n\n/** Extracts the minimal SDK info from the metadata or an events */\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\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 */\nfunction createEventEnvelopeHeaders(\n event,\n sdkInfo,\n tunnel,\n dsn,\n) {\n const dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;\n return {\n event_id: event.event_id ,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n ...(dynamicSamplingContext && {\n trace: dropUndefinedKeys({ ...dynamicSamplingContext }),\n }),\n };\n}\n\nexport { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope };\n","import { addNonEnumerableProperty } from '../utils-hoist/object.js';\n\nconst SCOPE_ON_START_SPAN_FIELD = '_sentryScope';\nconst ISOLATION_SCOPE_ON_START_SPAN_FIELD = '_sentryIsolationScope';\n\n/** Store the scope & isolation scope for a span, which can the be used when it is finished. */\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n if (span) {\n addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n }\n}\n\n/**\n * Grabs the scope and isolation scope off a span that were active when the span was started.\n */\nfunction getCapturedScopesOnSpan(span) {\n return {\n scope: (span )[SCOPE_ON_START_SPAN_FIELD],\n isolationScope: (span )[ISOLATION_SCOPE_ON_START_SPAN_FIELD],\n };\n}\n\nexport { getCapturedScopesOnSpan, setCapturedScopesOnSpan };\n","import { getClient, getCurrentScope } from '../currentScopes.js';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { createSpanEnvelope } from '../envelope.js';\nimport { getMetricSummaryJsonForSpan } from '../metrics/metric-summary.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME } from '../semanticAttributes.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { uuid4 } from '../utils-hoist/misc.js';\nimport { dropUndefinedKeys } from '../utils-hoist/object.js';\nimport { timestampInSeconds } from '../utils-hoist/time.js';\nimport { TRACE_FLAG_SAMPLED, TRACE_FLAG_NONE, spanTimeInputToSeconds, getStatusMessage, getRootSpan, spanToJSON, getSpanDescendants, spanToTransactionTraceContext } from '../utils/spanUtils.js';\nimport { getDynamicSamplingContextFromSpan } from './dynamicSamplingContext.js';\nimport { logSpanEnd } from './logSpans.js';\nimport { timedEventsToMeasurements } from './measurement.js';\nimport { getCapturedScopesOnSpan } from './utils.js';\n\nconst MAX_SPAN_COUNT = 1000;\n\n/**\n * Span contains all data about a span\n */\nclass SentrySpan {\n\n /** Epoch timestamp in seconds when the span started. */\n\n /** Epoch timestamp in seconds when the span ended. */\n\n /** Internal keeper of the status */\n\n /** The timed events added to this span. */\n\n /** if true, treat span as a standalone span (not part of a transaction) */\n\n /**\n * You should never call the constructor manually, always use `Sentry.startSpan()`\n * or other span methods.\n * @internal\n * @hideconstructor\n * @hidden\n */\n constructor(spanContext = {}) {\n this._traceId = spanContext.traceId || uuid4();\n this._spanId = spanContext.spanId || uuid4().substring(16);\n this._startTime = spanContext.startTimestamp || timestampInSeconds();\n\n this._attributes = {};\n this.setAttributes({\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'manual',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,\n ...spanContext.attributes,\n });\n\n this._name = spanContext.name;\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.endTimestamp) {\n this._endTime = spanContext.endTimestamp;\n }\n\n this._events = [];\n\n this._isStandaloneSpan = spanContext.isStandalone;\n\n // If the span is already ended, ensure we finalize the span immediately\n if (this._endTime) {\n this._onSpanEnded();\n }\n }\n\n /**\n * This should generally not be used,\n * but it is needed for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n addLink(_link) {\n return this;\n }\n\n /**\n * This should generally not be used,\n * but it is needed for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n addLinks(_links) {\n return this;\n }\n\n /**\n * This should generally not be used,\n * but it is needed for being compliant with the OTEL Span interface.\n *\n * @hidden\n * @internal\n */\n recordException(_exception, _time) {\n // noop\n }\n\n /** @inheritdoc */\n spanContext() {\n const { _spanId: spanId, _traceId: traceId, _sampled: sampled } = this;\n return {\n spanId,\n traceId,\n traceFlags: sampled ? TRACE_FLAG_SAMPLED : TRACE_FLAG_NONE,\n };\n }\n\n /** @inheritdoc */\n setAttribute(key, value) {\n if (value === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._attributes[key];\n } else {\n this._attributes[key] = value;\n }\n\n return this;\n }\n\n /** @inheritdoc */\n setAttributes(attributes) {\n Object.keys(attributes).forEach(key => this.setAttribute(key, attributes[key]));\n return this;\n }\n\n /**\n * This should generally not be used,\n * but we need it for browser tracing where we want to adjust the start time afterwards.\n * USE THIS WITH CAUTION!\n *\n * @hidden\n * @internal\n */\n updateStartTime(timeInput) {\n this._startTime = spanTimeInputToSeconds(timeInput);\n }\n\n /**\n * @inheritDoc\n */\n setStatus(value) {\n this._status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n updateName(name) {\n this._name = name;\n this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, 'custom');\n return this;\n }\n\n /** @inheritdoc */\n end(endTimestamp) {\n // If already ended, skip\n if (this._endTime) {\n return;\n }\n\n this._endTime = spanTimeInputToSeconds(endTimestamp);\n logSpanEnd(this);\n\n this._onSpanEnded();\n }\n\n /**\n * Get JSON representation of this span.\n *\n * @hidden\n * @internal This method is purely for internal purposes and should not be used outside\n * of SDK code. If you need to get a JSON representation of a span,\n * use `spanToJSON(span)` instead.\n */\n getSpanJSON() {\n return dropUndefinedKeys({\n data: this._attributes,\n description: this._name,\n op: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP],\n parent_span_id: this._parentSpanId,\n span_id: this._spanId,\n start_timestamp: this._startTime,\n status: getStatusMessage(this._status),\n timestamp: this._endTime,\n trace_id: this._traceId,\n origin: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN] ,\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n profile_id: this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID] ,\n exclusive_time: this._attributes[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME] ,\n measurements: timedEventsToMeasurements(this._events),\n is_segment: (this._isStandaloneSpan && getRootSpan(this) === this) || undefined,\n segment_id: this._isStandaloneSpan ? getRootSpan(this).spanContext().spanId : undefined,\n });\n }\n\n /** @inheritdoc */\n isRecording() {\n return !this._endTime && !!this._sampled;\n }\n\n /**\n * @inheritdoc\n */\n addEvent(\n name,\n attributesOrStartTime,\n startTime,\n ) {\n DEBUG_BUILD && logger.log('[Tracing] Adding an event to span:', name);\n\n const time = isSpanTimeInput(attributesOrStartTime) ? attributesOrStartTime : startTime || timestampInSeconds();\n const attributes = isSpanTimeInput(attributesOrStartTime) ? {} : attributesOrStartTime || {};\n\n const event = {\n name,\n time: spanTimeInputToSeconds(time),\n attributes,\n };\n\n this._events.push(event);\n\n return this;\n }\n\n /**\n * This method should generally not be used,\n * but for now we need a way to publicly check if the `_isStandaloneSpan` flag is set.\n * USE THIS WITH CAUTION!\n * @internal\n * @hidden\n * @experimental\n */\n isStandaloneSpan() {\n return !!this._isStandaloneSpan;\n }\n\n /** Emit `spanEnd` when the span is ended. */\n _onSpanEnded() {\n const client = getClient();\n if (client) {\n client.emit('spanEnd', this);\n }\n\n // A segment span is basically the root span of a local span tree.\n // So for now, this is either what we previously refer to as the root span,\n // or a standalone span.\n const isSegmentSpan = this._isStandaloneSpan || this === getRootSpan(this);\n\n if (!isSegmentSpan) {\n return;\n }\n\n // if this is a standalone span, we send it immediately\n if (this._isStandaloneSpan) {\n if (this._sampled) {\n sendSpanEnvelope(createSpanEnvelope([this], client));\n } else {\n DEBUG_BUILD &&\n logger.log('[Tracing] Discarding standalone span because its trace was not chosen to be sampled.');\n if (client) {\n client.recordDroppedEvent('sample_rate', 'span');\n }\n }\n return;\n }\n\n const transactionEvent = this._convertSpanToTransaction();\n if (transactionEvent) {\n const scope = getCapturedScopesOnSpan(this).scope || getCurrentScope();\n scope.captureEvent(transactionEvent);\n }\n }\n\n /**\n * Finish the transaction & prepare the event to send to Sentry.\n */\n _convertSpanToTransaction() {\n // We can only convert finished spans\n if (!isFullFinishedSpan(spanToJSON(this))) {\n return undefined;\n }\n\n if (!this._name) {\n DEBUG_BUILD && logger.warn('Transaction has no name, falling back to ``.');\n this._name = '';\n }\n\n const { scope: capturedSpanScope, isolationScope: capturedSpanIsolationScope } = getCapturedScopesOnSpan(this);\n const scope = capturedSpanScope || getCurrentScope();\n const client = scope.getClient() || getClient();\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 // The transaction span itself as well as any potential standalone spans should be filtered out\n const finishedSpans = getSpanDescendants(this).filter(span => span !== this && !isStandaloneSpan(span));\n\n const spans = finishedSpans.map(span => spanToJSON(span)).filter(isFullFinishedSpan);\n\n const source = this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] ;\n\n const transaction = {\n contexts: {\n trace: spanToTransactionTraceContext(this),\n },\n spans:\n // spans.sort() mutates the array, but `spans` is already a copy so we can safely do this here\n // we do not use spans anymore after this point\n spans.length > MAX_SPAN_COUNT\n ? spans.sort((a, b) => a.start_timestamp - b.start_timestamp).slice(0, MAX_SPAN_COUNT)\n : spans,\n start_timestamp: this._startTime,\n timestamp: this._endTime,\n transaction: this._name,\n type: 'transaction',\n sdkProcessingMetadata: {\n capturedSpanScope,\n capturedSpanIsolationScope,\n ...dropUndefinedKeys({\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(this),\n }),\n },\n _metrics_summary: getMetricSummaryJsonForSpan(this),\n ...(source && {\n transaction_info: {\n source,\n },\n }),\n };\n\n const measurements = timedEventsToMeasurements(this._events);\n const hasMeasurements = measurements && Object.keys(measurements).length;\n\n if (hasMeasurements) {\n DEBUG_BUILD &&\n logger.log(\n '[Measurements] Adding measurements to transaction event',\n JSON.stringify(measurements, undefined, 2),\n );\n transaction.measurements = measurements;\n }\n\n return transaction;\n }\n}\n\nfunction isSpanTimeInput(value) {\n return (value && typeof value === 'number') || value instanceof Date || Array.isArray(value);\n}\n\n// We want to filter out any incomplete SpanJSON objects\nfunction isFullFinishedSpan(input) {\n return !!input.start_timestamp && !!input.timestamp && !!input.span_id && !!input.trace_id;\n}\n\n/** `SentrySpan`s can be sent as a standalone span rather than belonging to a transaction */\nfunction isStandaloneSpan(span) {\n return span instanceof SentrySpan && span.isStandaloneSpan();\n}\n\n/**\n * Sends a `SpanEnvelope`.\n *\n * Note: If the envelope's spans are dropped, e.g. via `beforeSendSpan`,\n * the envelope will not be sent either.\n */\nfunction sendSpanEnvelope(envelope) {\n const client = getClient();\n if (!client) {\n return;\n }\n\n const spanItems = envelope[1];\n if (!spanItems || spanItems.length === 0) {\n client.recordDroppedEvent('before_send', 'span');\n return;\n }\n\n // sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n client.sendEnvelope(envelope);\n}\n\nexport { SentrySpan };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { spanToJSON, spanIsSampled, getRootSpan } from '../utils/spanUtils.js';\n\n/**\n * Print a log message for a started span.\n */\nfunction logSpanStart(span) {\n if (!DEBUG_BUILD) return;\n\n const { description = '< unknown name >', op = '< unknown op >', parent_span_id: parentSpanId } = spanToJSON(span);\n const { spanId } = span.spanContext();\n\n const sampled = spanIsSampled(span);\n const rootSpan = getRootSpan(span);\n const isRootSpan = rootSpan === span;\n\n const header = `[Tracing] Starting ${sampled ? 'sampled' : 'unsampled'} ${isRootSpan ? 'root ' : ''}span`;\n\n const infoParts = [`op: ${op}`, `name: ${description}`, `ID: ${spanId}`];\n\n if (parentSpanId) {\n infoParts.push(`parent ID: ${parentSpanId}`);\n }\n\n if (!isRootSpan) {\n const { op, description } = spanToJSON(rootSpan);\n infoParts.push(`root ID: ${rootSpan.spanContext().spanId}`);\n if (op) {\n infoParts.push(`root op: ${op}`);\n }\n if (description) {\n infoParts.push(`root description: ${description}`);\n }\n }\n\n logger.log(`${header}\n ${infoParts.join('\\n ')}`);\n}\n\n/**\n * Print a log message for an ended span.\n */\nfunction logSpanEnd(span) {\n if (!DEBUG_BUILD) return;\n\n const { description = '< unknown name >', op = '< unknown op >' } = spanToJSON(span);\n const { spanId } = span.spanContext();\n const rootSpan = getRootSpan(span);\n const isRootSpan = rootSpan === span;\n\n const msg = `[Tracing] Finishing \"${op}\" ${isRootSpan ? 'root ' : ''}span \"${description}\" with ID ${spanId}`;\n logger.log(msg);\n}\n\nexport { logSpanEnd, logSpanStart };\n","import { getDynamicSamplingContextFromSpan } from './tracing/dynamicSamplingContext.js';\nimport { dsnToString } from './utils-hoist/dsn.js';\nimport { getSdkMetadataForEnvelopeHeader, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem } from './utils-hoist/envelope.js';\nimport { spanToJSON, showSpanDropWarning } from './utils/spanUtils.js';\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, sdkInfo) {\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 */\nfunction createSessionEnvelope(\n session,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n const envelopeHeaders = {\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n };\n\n const envelopeItem =\n 'aggregates' in session ? [{ type: 'sessions' }, session] : [{ type: 'session' }, session.toJSON()];\n\n return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\n\n/**\n * Create an Envelope from an event.\n */\nfunction createEventEnvelope(\n event,\n dsn,\n metadata,\n tunnel,\n) {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n\n /*\n Note: Due to TS, event.type may be `replay_event`, theoretically.\n In practice, we never call `createEventEnvelope` with `replay_event` type,\n and we'd have to adjust a looot of types to make this work properly.\n We want to avoid casting this around, as that could lead to bugs (e.g. when we add another type)\n So the safe choice is to really guard against the replay_event type here.\n */\n const eventType = event.type && event.type !== 'replay_event' ? 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 = [{ type: eventType }, event];\n return createEnvelope(envelopeHeaders, [eventItem]);\n}\n\n/**\n * Create envelope from Span item.\n *\n * Takes an optional client and runs spans through `beforeSendSpan` if available.\n */\nfunction createSpanEnvelope(spans, client) {\n function dscHasRequiredProps(dsc) {\n return !!dsc.trace_id && !!dsc.public_key;\n }\n\n // For the moment we'll obtain the DSC from the first span in the array\n // This might need to be changed if we permit sending multiple spans from\n // different segments in one envelope\n const dsc = getDynamicSamplingContextFromSpan(spans[0]);\n\n const dsn = client && client.getDsn();\n const tunnel = client && client.getOptions().tunnel;\n\n const headers = {\n sent_at: new Date().toISOString(),\n ...(dscHasRequiredProps(dsc) && { trace: dsc }),\n ...(!!tunnel && dsn && { dsn: dsnToString(dsn) }),\n };\n\n const beforeSendSpan = client && client.getOptions().beforeSendSpan;\n const convertToSpanJSON = beforeSendSpan\n ? (span) => {\n const spanJson = beforeSendSpan(spanToJSON(span) );\n if (!spanJson) {\n showSpanDropWarning();\n }\n return spanJson;\n }\n : (span) => spanToJSON(span);\n\n const items = [];\n for (const span of spans) {\n const spanJson = convertToSpanJSON(span);\n if (spanJson) {\n items.push(createSpanEnvelopeItem(spanJson));\n }\n }\n\n return createEnvelope(headers, items);\n}\n\nexport { createEventEnvelope, createSessionEnvelope, createSpanEnvelope };\n","import { getMainCarrier } from '../carrier.js';\nimport { withScope, getCurrentScope, getIsolationScope, getClient } from '../currentScopes.js';\nimport { getAsyncContextStrategy } from '../asyncContext/index.js';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from '../semanticAttributes.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { generateTraceId } from '../utils-hoist/propagationContext.js';\nimport { propagationContextFromHeaders } from '../utils-hoist/tracing.js';\nimport { handleCallbackErrors } from '../utils/handleCallbackErrors.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { _setSpanForScope, _getSpanForScope } from '../utils/spanOnScope.js';\nimport { spanToJSON, addChildSpanToSpan, spanIsSampled, spanTimeInputToSeconds, getRootSpan } from '../utils/spanUtils.js';\nimport { getDynamicSamplingContextFromSpan, freezeDscOnSpan } from './dynamicSamplingContext.js';\nimport { logSpanStart } from './logSpans.js';\nimport { sampleSpan } from './sampling.js';\nimport { SentryNonRecordingSpan } from './sentryNonRecordingSpan.js';\nimport { SentrySpan } from './sentrySpan.js';\nimport { SPAN_STATUS_ERROR } from './spanstatus.js';\nimport { setCapturedScopesOnSpan } from './utils.js';\n\nconst SUPPRESS_TRACING_KEY = '__SENTRY_SUPPRESS_TRACING__';\n\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.\n *\n * If you want to create a span that is not set as active, use {@link startInactiveSpan}.\n *\n * You'll always get a span passed to the callback,\n * it may just be a non-recording span if the span is not sampled or if tracing is disabled.\n */\nfunction startSpan(options, callback) {\n const acs = getAcs();\n if (acs.startSpan) {\n return acs.startSpan(options, callback);\n }\n\n const spanArguments = parseSentrySpanArguments(options);\n const { forceTransaction, parentSpan: customParentSpan } = options;\n\n return withScope(options.scope, () => {\n // If `options.parentSpan` is defined, we want to wrap the callback in `withActiveSpan`\n const wrapper = getActiveSpanWrapper(customParentSpan);\n\n return wrapper(() => {\n const scope = getCurrentScope();\n const parentSpan = getParentSpan(scope);\n\n const shouldSkipSpan = options.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? new SentryNonRecordingSpan()\n : createChildOrRootSpan({\n parentSpan,\n spanArguments,\n forceTransaction,\n scope,\n });\n\n _setSpanForScope(scope, activeSpan);\n\n return handleCallbackErrors(\n () => callback(activeSpan),\n () => {\n // Only update the span status if it hasn't been changed yet, and the span is not yet finished\n const { status } = spanToJSON(activeSpan);\n if (activeSpan.isRecording() && (!status || status === 'ok')) {\n activeSpan.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });\n }\n },\n () => activeSpan.end(),\n );\n });\n });\n}\n\n/**\n * Similar to `Sentry.startSpan`. Wraps a function with a transaction/span, but does not finish the span\n * after the function is done automatically. You'll have to call `span.end()` manually.\n *\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.\n *\n * You'll always get a span passed to the callback,\n * it may just be a non-recording span if the span is not sampled or if tracing is disabled.\n */\nfunction startSpanManual(options, callback) {\n const acs = getAcs();\n if (acs.startSpanManual) {\n return acs.startSpanManual(options, callback);\n }\n\n const spanArguments = parseSentrySpanArguments(options);\n const { forceTransaction, parentSpan: customParentSpan } = options;\n\n return withScope(options.scope, () => {\n // If `options.parentSpan` is defined, we want to wrap the callback in `withActiveSpan`\n const wrapper = getActiveSpanWrapper(customParentSpan);\n\n return wrapper(() => {\n const scope = getCurrentScope();\n const parentSpan = getParentSpan(scope);\n\n const shouldSkipSpan = options.onlyIfParent && !parentSpan;\n const activeSpan = shouldSkipSpan\n ? new SentryNonRecordingSpan()\n : createChildOrRootSpan({\n parentSpan,\n spanArguments,\n forceTransaction,\n scope,\n });\n\n _setSpanForScope(scope, activeSpan);\n\n function finishAndSetSpan() {\n activeSpan.end();\n }\n\n return handleCallbackErrors(\n () => callback(activeSpan, finishAndSetSpan),\n () => {\n // Only update the span status if it hasn't been changed yet, and the span is not yet finished\n const { status } = spanToJSON(activeSpan);\n if (activeSpan.isRecording() && (!status || status === 'ok')) {\n activeSpan.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });\n }\n },\n );\n });\n });\n}\n\n/**\n * Creates a span. This span is not set as active, so will not get automatic instrumentation spans\n * as children or be able to be accessed via `Sentry.getActiveSpan()`.\n *\n * If you want to create a span that is set as active, use {@link startSpan}.\n *\n * This function will always return a span,\n * it may just be a non-recording span if the span is not sampled or if tracing is disabled.\n */\nfunction startInactiveSpan(options) {\n const acs = getAcs();\n if (acs.startInactiveSpan) {\n return acs.startInactiveSpan(options);\n }\n\n const spanArguments = parseSentrySpanArguments(options);\n const { forceTransaction, parentSpan: customParentSpan } = options;\n\n // If `options.scope` is defined, we use this as as a wrapper,\n // If `options.parentSpan` is defined, we want to wrap the callback in `withActiveSpan`\n const wrapper = options.scope\n ? (callback) => withScope(options.scope, callback)\n : customParentSpan !== undefined\n ? (callback) => withActiveSpan(customParentSpan, callback)\n : (callback) => callback();\n\n return wrapper(() => {\n const scope = getCurrentScope();\n const parentSpan = getParentSpan(scope);\n\n const shouldSkipSpan = options.onlyIfParent && !parentSpan;\n\n if (shouldSkipSpan) {\n return new SentryNonRecordingSpan();\n }\n\n return createChildOrRootSpan({\n parentSpan,\n spanArguments,\n forceTransaction,\n scope,\n });\n });\n}\n\n/**\n * Continue a trace from `sentry-trace` and `baggage` values.\n * These values can be obtained from incoming request headers, or in the browser from ``\n * and `` HTML tags.\n *\n * Spans started with `startSpan`, `startSpanManual` and `startInactiveSpan`, within the callback will automatically\n * be attached to the incoming trace.\n */\nconst continueTrace = (\n {\n sentryTrace,\n baggage,\n }\n\n,\n callback,\n) => {\n return withScope(scope => {\n const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n scope.setPropagationContext(propagationContext);\n return callback();\n });\n};\n\n/**\n * Forks the current scope and sets the provided span as active span in the context of the provided callback. Can be\n * passed `null` to start an entirely new span tree.\n *\n * @param span Spans started in the context of the provided callback will be children of this span. If `null` is passed,\n * spans started within the callback will not be attached to a parent span.\n * @param callback Execution context in which the provided span will be active. Is passed the newly forked scope.\n * @returns the value returned from the provided callback function.\n */\nfunction withActiveSpan(span, callback) {\n const acs = getAcs();\n if (acs.withActiveSpan) {\n return acs.withActiveSpan(span, callback);\n }\n\n return withScope(scope => {\n _setSpanForScope(scope, span || undefined);\n return callback(scope);\n });\n}\n\n/** Suppress tracing in the given callback, ensuring no spans are generated inside of it. */\nfunction suppressTracing(callback) {\n const acs = getAcs();\n\n if (acs.suppressTracing) {\n return acs.suppressTracing(callback);\n }\n\n return withScope(scope => {\n scope.setSDKProcessingMetadata({ [SUPPRESS_TRACING_KEY]: true });\n return callback();\n });\n}\n\n/**\n * Starts a new trace for the duration of the provided callback. Spans started within the\n * callback will be part of the new trace instead of a potentially previously started trace.\n *\n * Important: Only use this function if you want to override the default trace lifetime and\n * propagation mechanism of the SDK for the duration and scope of the provided callback.\n * The newly created trace will also be the root of a new distributed trace, for example if\n * you make http requests within the callback.\n * This function might be useful if the operation you want to instrument should not be part\n * of a potentially ongoing trace.\n *\n * Default behavior:\n * - Server-side: A new trace is started for each incoming request.\n * - Browser: A new trace is started for each page our route. Navigating to a new route\n * or page will automatically create a new trace.\n */\nfunction startNewTrace(callback) {\n return withScope(scope => {\n scope.setPropagationContext({ traceId: generateTraceId() });\n DEBUG_BUILD && logger.info(`Starting a new trace with id ${scope.getPropagationContext().traceId}`);\n return withActiveSpan(null, callback);\n });\n}\n\nfunction createChildOrRootSpan({\n parentSpan,\n spanArguments,\n forceTransaction,\n scope,\n}\n\n) {\n if (!hasTracingEnabled()) {\n return new SentryNonRecordingSpan();\n }\n\n const isolationScope = getIsolationScope();\n\n let span;\n if (parentSpan && !forceTransaction) {\n span = _startChildSpan(parentSpan, scope, spanArguments);\n addChildSpanToSpan(parentSpan, span);\n } else if (parentSpan) {\n // If we forced a transaction but have a parent span, make sure to continue from the parent span, not the scope\n const dsc = getDynamicSamplingContextFromSpan(parentSpan);\n const { traceId, spanId: parentSpanId } = parentSpan.spanContext();\n const parentSampled = spanIsSampled(parentSpan);\n\n span = _startRootSpan(\n {\n traceId,\n parentSpanId,\n ...spanArguments,\n },\n scope,\n parentSampled,\n );\n\n freezeDscOnSpan(span, dsc);\n } else {\n const {\n traceId,\n dsc,\n parentSpanId,\n sampled: parentSampled,\n } = {\n ...isolationScope.getPropagationContext(),\n ...scope.getPropagationContext(),\n };\n\n span = _startRootSpan(\n {\n traceId,\n parentSpanId,\n ...spanArguments,\n },\n scope,\n parentSampled,\n );\n\n if (dsc) {\n freezeDscOnSpan(span, dsc);\n }\n }\n\n logSpanStart(span);\n\n setCapturedScopesOnSpan(span, scope, isolationScope);\n\n return span;\n}\n\n/**\n * This converts StartSpanOptions to SentrySpanArguments.\n * For the most part (for now) we accept the same options,\n * but some of them need to be transformed.\n */\nfunction parseSentrySpanArguments(options) {\n const exp = options.experimental || {};\n const initialCtx = {\n isStandalone: exp.standalone,\n ...options,\n };\n\n if (options.startTime) {\n const ctx = { ...initialCtx };\n ctx.startTimestamp = spanTimeInputToSeconds(options.startTime);\n delete ctx.startTime;\n return ctx;\n }\n\n return initialCtx;\n}\n\nfunction getAcs() {\n const carrier = getMainCarrier();\n return getAsyncContextStrategy(carrier);\n}\n\nfunction _startRootSpan(spanArguments, scope, parentSampled) {\n const client = getClient();\n const options = (client && client.getOptions()) || {};\n\n const { name = '', attributes } = spanArguments;\n const [sampled, sampleRate] = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY]\n ? [false]\n : sampleSpan(options, {\n name,\n parentSampled,\n attributes,\n transactionContext: {\n name,\n parentSampled,\n },\n });\n\n const rootSpan = new SentrySpan({\n ...spanArguments,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'custom',\n ...spanArguments.attributes,\n },\n sampled,\n });\n if (sampleRate !== undefined) {\n rootSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, sampleRate);\n }\n\n if (client) {\n client.emit('spanStart', rootSpan);\n }\n\n return rootSpan;\n}\n\n/**\n * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`.\n * This inherits the sampling decision from the parent span.\n */\nfunction _startChildSpan(parentSpan, scope, spanArguments) {\n const { spanId, traceId } = parentSpan.spanContext();\n const sampled = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] ? false : spanIsSampled(parentSpan);\n\n const childSpan = sampled\n ? new SentrySpan({\n ...spanArguments,\n parentSpanId: spanId,\n traceId,\n sampled,\n })\n : new SentryNonRecordingSpan({ traceId });\n\n addChildSpanToSpan(parentSpan, childSpan);\n\n const client = getClient();\n if (client) {\n client.emit('spanStart', childSpan);\n // If it has an endTimestamp, it's already ended\n if (spanArguments.endTimestamp) {\n client.emit('spanEnd', childSpan);\n }\n }\n\n return childSpan;\n}\n\nfunction getParentSpan(scope) {\n const span = _getSpanForScope(scope) ;\n\n if (!span) {\n return undefined;\n }\n\n const client = getClient();\n const options = client ? client.getOptions() : {};\n if (options.parentSpanIsAlwaysRootSpan) {\n return getRootSpan(span) ;\n }\n\n return span;\n}\n\nfunction getActiveSpanWrapper(parentSpan) {\n return parentSpan !== undefined\n ? (callback) => {\n return withActiveSpan(parentSpan, callback);\n }\n : (callback) => callback();\n}\n\nexport { continueTrace, startInactiveSpan, startNewTrace, startSpan, startSpanManual, suppressTracing, withActiveSpan };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { parseSampleRate } from '../utils/parseSampleRate.js';\n\n/**\n * Makes a sampling decision for the given options.\n *\n * Called every time a root span is created. Only root spans which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n */\nfunction sampleSpan(\n options,\n samplingContext,\n) {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n return [false];\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 } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n } else if (typeof options.tracesSampleRate !== 'undefined') {\n sampleRate = options.tracesSampleRate;\n } else {\n // When `enableTracing === true`, we use a sample rate of 100%\n sampleRate = 1;\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get.\n // (The only valid values are booleans or numbers between 0 and 1.)\n const parsedSampleRate = parseSampleRate(sampleRate);\n\n if (parsedSampleRate === undefined) {\n DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n return [false];\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 (!parsedSampleRate) {\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 return [false, parsedSampleRate];\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 const shouldSample = Math.random() < parsedSampleRate;\n\n // if we're not going to keep it, we're done\n if (!shouldSample) {\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 [false, parsedSampleRate];\n }\n\n return [true, parsedSampleRate];\n}\n\nexport { sampleSpan };\n","import { spanToJSON, withActiveSpan, startInactiveSpan, getClient, getCurrentScope } from '@sentry/core';\nimport { WINDOW } from '../types.js';\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value) {\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 */\nfunction startAndEndSpan(\n parentSpan,\n startTimeInSeconds,\n endTime,\n { ...ctx },\n) {\n const parentStartTime = spanToJSON(parentSpan).start_timestamp;\n if (parentStartTime && parentStartTime > startTimeInSeconds) {\n // We can only do this for SentrySpans...\n if (typeof (parentSpan ).updateStartTime === 'function') {\n (parentSpan ).updateStartTime(startTimeInSeconds);\n }\n }\n\n // The return value only exists for tests\n return withActiveSpan(parentSpan, () => {\n const span = startInactiveSpan({\n startTime: startTimeInSeconds,\n ...ctx,\n });\n\n if (span) {\n span.end(endTime);\n }\n\n return span;\n });\n}\n\n/**\n * Starts an inactive, standalone span used to send web vital values to Sentry.\n * DO NOT use this for arbitrary spans, as these spans require special handling\n * during ingestion to extract metrics.\n *\n * This function adds a bunch of attributes and data to the span that's shared\n * by all web vital standalone spans. However, you need to take care of adding\n * the actual web vital value as an event to the span. Also, you need to assign\n * a transaction name and some other values that are specific to the web vital.\n *\n * Ultimately, you also need to take care of ending the span to send it off.\n *\n * @param options\n *\n * @returns an inactive, standalone and NOT YET ended span\n */\nfunction startStandaloneWebVitalSpan(options) {\n const client = getClient();\n if (!client) {\n return;\n }\n\n const { name, transaction, attributes: passedAttributes, startTime } = options;\n\n const { release, environment } = client.getOptions();\n // We need to get the replay, user, and activeTransaction from the current scope\n // so that we can associate replay id, profile id, and a user display to the span\n const replay = client.getIntegrationByName('Replay');\n const replayId = replay && replay.getReplayId();\n\n const scope = getCurrentScope();\n\n const user = scope.getUser();\n const userDisplay = user !== undefined ? user.email || user.id || user.ip_address : undefined;\n\n let profileId;\n try {\n // @ts-expect-error skip optional chaining to save bundle size with try catch\n profileId = scope.getScopeData().contexts.profile.profile_id;\n } catch (e) {\n // do nothing\n }\n\n const attributes = {\n release,\n environment,\n\n user: userDisplay || undefined,\n profile_id: profileId || undefined,\n replay_id: replayId || undefined,\n\n transaction,\n\n // Web vital score calculation relies on the user agent to account for different\n // browsers setting different thresholds for what is considered a good/meh/bad value.\n // For example: Chrome vs. Chrome Mobile\n 'user_agent.original': WINDOW.navigator && WINDOW.navigator.userAgent,\n\n ...passedAttributes,\n };\n\n return startInactiveSpan({\n name,\n attributes,\n startTime,\n experimental: {\n standalone: true,\n },\n });\n}\n\n/** Get the browser performance API. */\nfunction getBrowserPerformanceAPI() {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n return WINDOW && WINDOW.addEventListener && WINDOW.performance;\n}\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nfunction msToSec(time) {\n return time / 1000;\n}\n\nexport { getBrowserPerformanceAPI, isMeasurementValue, msToSec, startAndEndSpan, startStandaloneWebVitalSpan };\n","import { browserPerformanceTimeOrigin, getActiveSpan, spanToJSON, setMeasurement, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, parseUrl, htmlTreeAsString, getComponentName } from '@sentry/core';\nimport { WINDOW } from '../types.js';\nimport { trackClsAsStandaloneSpan } from './cls.js';\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler } from './instrument.js';\nimport { getBrowserPerformanceAPI, msToSec, startAndEndSpan, isMeasurementValue } from './utils.js';\nimport { getActivationStart } from './web-vitals/lib/getActivationStart.js';\nimport { getNavigationEntry } from './web-vitals/lib/getNavigationEntry.js';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher.js';\n\nconst MAX_INT_AS_BYTES = 2147483647;\n\nlet _performanceCursor = 0;\n\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\n\n/**\n * Start tracking web vitals.\n * The callback returned by this function can be used to stop tracking & ensure all measurements are final & captured.\n *\n * @returns A function that forces web vitals collection\n */\nfunction startTrackingWebVitals({ recordClsStandaloneSpans }) {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n // @ts-expect-error we want to make sure all of these are available, even if TS is sure they are\n if (performance.mark) {\n WINDOW.performance.mark('sentry-tracing-init');\n }\n const fidCleanupCallback = _trackFID();\n const lcpCleanupCallback = _trackLCP();\n const ttfbCleanupCallback = _trackTtfb();\n const clsCleanupCallback = recordClsStandaloneSpans ? trackClsAsStandaloneSpan() : _trackCLS();\n\n return () => {\n fidCleanupCallback();\n lcpCleanupCallback();\n ttfbCleanupCallback();\n clsCleanupCallback && clsCleanupCallback();\n };\n }\n\n return () => undefined;\n}\n\n/**\n * Start tracking long tasks.\n */\nfunction startTrackingLongTasks() {\n addPerformanceInstrumentationHandler('longtask', ({ entries }) => {\n const parent = getActiveSpan();\n if (!parent) {\n return;\n }\n\n const { op: parentOp, start_timestamp: parentStartTimestamp } = spanToJSON(parent);\n\n for (const entry of entries) {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n if (parentOp === 'navigation' && parentStartTimestamp && startTime < parentStartTimestamp) {\n // Skip adding a span if the long task started before the navigation started.\n // `startAndEndSpan` will otherwise adjust the parent's start time to the span's start\n // time, potentially skewing the duration of the actual navigation as reported via our\n // routing instrumentations\n continue;\n }\n\n startAndEndSpan(parent, startTime, startTime + duration, {\n name: 'Main UI thread blocked',\n op: 'ui.long-task',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n }\n });\n}\n\n/**\n * Start tracking long animation frames.\n */\nfunction startTrackingLongAnimationFrames() {\n // NOTE: the current web-vitals version (3.5.2) does not support long-animation-frame, so\n // we directly observe `long-animation-frame` events instead of through the web-vitals\n // `observe` helper function.\n const observer = new PerformanceObserver(list => {\n const parent = getActiveSpan();\n if (!parent) {\n return;\n }\n for (const entry of list.getEntries() ) {\n if (!entry.scripts[0]) {\n continue;\n }\n\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n\n const { start_timestamp: parentStartTimestamp, op: parentOp } = spanToJSON(parent);\n\n if (parentOp === 'navigation' && parentStartTimestamp && startTime < parentStartTimestamp) {\n // Skip adding the span if the long animation frame started before the navigation started.\n // `startAndEndSpan` will otherwise adjust the parent's start time to the span's start\n // time, potentially skewing the duration of the actual navigation as reported via our\n // routing instrumentations\n continue;\n }\n\n const duration = msToSec(entry.duration);\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n };\n\n const initialScript = entry.scripts[0];\n const { invoker, invokerType, sourceURL, sourceFunctionName, sourceCharPosition } = initialScript;\n attributes['browser.script.invoker'] = invoker;\n attributes['browser.script.invoker_type'] = invokerType;\n if (sourceURL) {\n attributes['code.filepath'] = sourceURL;\n }\n if (sourceFunctionName) {\n attributes['code.function'] = sourceFunctionName;\n }\n if (sourceCharPosition !== -1) {\n attributes['browser.script.source_char_position'] = sourceCharPosition;\n }\n\n startAndEndSpan(parent, startTime, startTime + duration, {\n name: 'Main UI thread blocked',\n op: 'ui.long-animation-frame',\n attributes,\n });\n }\n });\n\n observer.observe({ type: 'long-animation-frame', buffered: true });\n}\n\n/**\n * Start tracking interaction events.\n */\nfunction startTrackingInteractions() {\n addPerformanceInstrumentationHandler('event', ({ entries }) => {\n const parent = getActiveSpan();\n if (!parent) {\n return;\n }\n for (const entry of entries) {\n if (entry.name === 'click') {\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(entry.duration);\n\n const spanOptions = {\n name: htmlTreeAsString(entry.target),\n op: `ui.interaction.${entry.name}`,\n startTime: startTime,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n };\n\n const componentName = getComponentName(entry.target);\n if (componentName) {\n spanOptions.attributes['ui.component_name'] = componentName;\n }\n\n startAndEndSpan(parent, startTime, startTime + duration, spanOptions);\n }\n }\n });\n}\n\n/**\n * Starts tracking the Cumulative Layout Shift on the current page and collects the value and last entry\n * to the `_measurements` object which ultimately is applied to the pageload span's measurements.\n */\nfunction _trackCLS() {\n return addClsInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1] ;\n if (!entry) {\n return;\n }\n _measurements['cls'] = { value: metric.value, unit: '' };\n _clsEntry = entry;\n }, true);\n}\n\n/** Starts tracking the Largest Contentful Paint on the current page. */\nfunction _trackLCP() {\n return addLcpInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n _measurements['lcp'] = { value: metric.value, unit: 'millisecond' };\n _lcpEntry = entry ;\n }, true);\n}\n\n/** Starts tracking the First Input Delay on the current page. */\nfunction _trackFID() {\n return addFidInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin );\n const startTime = msToSec(entry.startTime);\n _measurements['fid'] = { value: metric.value, unit: 'millisecond' };\n _measurements['mark.fid'] = { value: timeOrigin + startTime, unit: 'second' };\n });\n}\n\nfunction _trackTtfb() {\n return addTtfbInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1];\n if (!entry) {\n return;\n }\n\n _measurements['ttfb'] = { value: metric.value, unit: 'millisecond' };\n });\n}\n\n/** Add performance related spans to a transaction */\nfunction addPerformanceEntries(span, options) {\n const performance = getBrowserPerformanceAPI();\n if (!performance || !WINDOW.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n const performanceEntries = performance.getEntries();\n\n const { op, start_timestamp: transactionStartTime } = spanToJSON(span);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n performanceEntries.slice(_performanceCursor).forEach((entry) => {\n const startTime = msToSec(entry.startTime);\n const duration = msToSec(\n // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.\n // There is a SO post attempting to explain this, but it leaves one with open questions: https://stackoverflow.com/questions/23191918/peformance-getentries-and-negative-duration-display\n // The way we clamp the value is probably not accurate, since we have observed this happen for things that may take a while to load, like for example the replay worker.\n // TODO: Investigate why this happens and how to properly mitigate. For now, this is a workaround to prevent transactions being dropped due to negative duration spans.\n Math.max(0, entry.duration),\n );\n\n if (op === 'navigation' && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n _addNavigationSpans(span, entry, timeOrigin);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n _addMeasureSpans(span, 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 _measurements['fp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n _measurements['fcp'] = { value: entry.startTime, unit: 'millisecond' };\n }\n break;\n }\n case 'resource': {\n _addResourceSpans(span, entry, entry.name , startTime, duration, timeOrigin);\n break;\n }\n // Ignore other entry types.\n }\n });\n\n _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n\n _trackNavigator(span);\n\n // Measurements are only available for pageload transactions\n if (op === 'pageload') {\n _addTtfbRequestTimeToMeasurements(_measurements);\n\n const fidMark = _measurements['mark.fid'];\n if (fidMark && _measurements['fid']) {\n // create span for FID\n startAndEndSpan(span, fidMark.value, fidMark.value + msToSec(_measurements['fid'].value), {\n name: 'first input delay',\n op: 'ui.action',\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\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 // TODO: Check if the first condition is still necessary: `onCLS` already only fires once `onFCP` was called.\n if (!('fcp' in _measurements) || !options.recordClsOnPageloadSpan) {\n delete _measurements.cls;\n }\n\n Object.entries(_measurements).forEach(([measurementName, measurement]) => {\n setMeasurement(measurementName, measurement.value, measurement.unit);\n });\n\n // Set timeOrigin which denotes the timestamp which to base the LCP/FCP/FP/TTFB measurements on\n span.setAttribute('performance.timeOrigin', timeOrigin);\n\n // In prerendering scenarios, where a page might be prefetched and pre-rendered before the user clicks the link,\n // the navigation starts earlier than when the user clicks it. Web Vitals should always be based on the\n // user-perceived time, so they are not reported from the actual start of the navigation, but rather from the\n // time where the user actively started the navigation, for example by clicking a link.\n // This is user action is called \"activation\" and the time between navigation and activation is stored in\n // the `activationStart` attribute of the \"navigation\" PerformanceEntry.\n span.setAttribute('performance.activationStart', getActivationStart());\n\n _setWebVitalAttributes(span);\n }\n\n _lcpEntry = undefined;\n _clsEntry = undefined;\n _measurements = {};\n}\n\n/** Create measure related spans */\nfunction _addMeasureSpans(\n span,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n startTime,\n duration,\n timeOrigin,\n) {\n const navEntry = getNavigationEntry(false);\n const requestTime = msToSec(navEntry ? navEntry.requestStart : 0);\n // Because performance.measure accepts arbitrary timestamps it can produce\n // spans that happen before the browser even makes a request for the page.\n //\n // An example of this is the automatically generated Next.js-before-hydration\n // spans created by the Next.js framework.\n //\n // To prevent this we will pin the start timestamp to the request start time\n // This does make duration inaccurate, so if this does happen, we will add\n // an attribute to the span\n const measureStartTimestamp = timeOrigin + Math.max(startTime, requestTime);\n const startTimeStamp = timeOrigin + startTime;\n const measureEndTimestamp = startTimeStamp + duration;\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.resource.browser.metrics',\n };\n\n if (measureStartTimestamp !== startTimeStamp) {\n attributes['sentry.browser.measure_happened_before_request'] = true;\n attributes['sentry.browser.measure_start_time'] = measureStartTimestamp;\n }\n\n startAndEndSpan(span, measureStartTimestamp, measureEndTimestamp, {\n name: entry.name ,\n op: entry.entryType ,\n attributes,\n });\n\n return measureStartTimestamp;\n}\n\n/** Instrument navigation entries */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addNavigationSpans(span, entry, timeOrigin) {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n _addPerformanceNavigationTiming(span, entry, event, timeOrigin);\n });\n _addPerformanceNavigationTiming(span, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n _addPerformanceNavigationTiming(span, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n _addPerformanceNavigationTiming(span, entry, 'domainLookup', timeOrigin, 'DNS');\n _addRequest(span, entry, timeOrigin);\n}\n\n/** Create performance navigation related spans */\nfunction _addPerformanceNavigationTiming(\n span,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entry,\n event,\n timeOrigin,\n name,\n eventEnd,\n) {\n const end = eventEnd ? (entry[eventEnd] ) : (entry[`${event}End`] );\n const start = entry[`${event}Start`] ;\n if (!start || !end) {\n return;\n }\n startAndEndSpan(span, timeOrigin + msToSec(start), timeOrigin + msToSec(end), {\n op: `browser.${name || event}`,\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n}\n\n/** Create request and response related spans */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _addRequest(span, entry, timeOrigin) {\n const requestStartTimestamp = timeOrigin + msToSec(entry.requestStart );\n const responseEndTimestamp = timeOrigin + msToSec(entry.responseEnd );\n const responseStartTimestamp = timeOrigin + msToSec(entry.responseStart );\n if (entry.responseEnd) {\n // It is possible that we are collecting these metrics when the page hasn't finished loading yet, for example when the HTML slowly streams in.\n // In this case, ie. when the document request hasn't finished yet, `entry.responseEnd` will be 0.\n // In order not to produce faulty spans, where the end timestamp is before the start timestamp, we will only collect\n // these spans when the responseEnd value is available. The backend (Relay) would drop the entire span if it contained faulty spans.\n startAndEndSpan(span, requestStartTimestamp, responseEndTimestamp, {\n op: 'browser.request',\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n\n startAndEndSpan(span, responseStartTimestamp, responseEndTimestamp, {\n op: 'browser.response',\n name: entry.name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',\n },\n });\n }\n}\n\n/** Create resource-related spans */\nfunction _addResourceSpans(\n span,\n entry,\n resourceUrl,\n startTime,\n duration,\n timeOrigin,\n) {\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 const parsedUrl = parseUrl(resourceUrl);\n\n const attributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.resource.browser.metrics',\n };\n setResourceEntrySizeData(attributes, entry, 'transferSize', 'http.response_transfer_size');\n setResourceEntrySizeData(attributes, entry, 'encodedBodySize', 'http.response_content_length');\n setResourceEntrySizeData(attributes, entry, 'decodedBodySize', 'http.decoded_response_content_length');\n\n if (entry.deliveryType != null) {\n attributes['http.response_delivery_type'] = entry.deliveryType;\n }\n\n if ('renderBlockingStatus' in entry) {\n attributes['resource.render_blocking_status'] = entry.renderBlockingStatus;\n }\n if (parsedUrl.protocol) {\n attributes['url.scheme'] = parsedUrl.protocol.split(':').pop(); // the protocol returned by parseUrl includes a :, but OTEL spec does not, so we remove it.\n }\n\n if (parsedUrl.host) {\n attributes['server.address'] = parsedUrl.host;\n }\n\n attributes['url.same_origin'] = resourceUrl.includes(WINDOW.location.origin);\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n startAndEndSpan(span, startTimestamp, endTimestamp, {\n name: resourceUrl.replace(WINDOW.location.origin, ''),\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource.other',\n attributes,\n });\n}\n\n/**\n * Capture the information of the user agent.\n */\nfunction _trackNavigator(span) {\n const navigator = WINDOW.navigator ;\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n span.setAttribute('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n span.setAttribute('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 span.setAttribute('deviceMemory', `${navigator.deviceMemory} GB`);\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n span.setAttribute('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n}\n\n/** Add LCP / CLS data to span to allow debugging */\nfunction _setWebVitalAttributes(span) {\n if (_lcpEntry) {\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (_lcpEntry.element) {\n span.setAttribute('lcp.element', htmlTreeAsString(_lcpEntry.element));\n }\n\n if (_lcpEntry.id) {\n span.setAttribute('lcp.id', _lcpEntry.id);\n }\n\n if (_lcpEntry.url) {\n // Trim URL to the first 200 characters.\n span.setAttribute('lcp.url', _lcpEntry.url.trim().slice(0, 200));\n }\n\n if (_lcpEntry.loadTime != null) {\n // loadTime is the time of LCP that's related to receiving the LCP element response..\n span.setAttribute('lcp.loadTime', _lcpEntry.loadTime);\n }\n\n if (_lcpEntry.renderTime != null) {\n // renderTime is loadTime + rendering time\n // it's 0 if the LCP element is loaded from a 3rd party origin that doesn't send the\n // `Timing-Allow-Origin` header.\n span.setAttribute('lcp.renderTime', _lcpEntry.renderTime);\n }\n\n span.setAttribute('lcp.size', _lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (_clsEntry && _clsEntry.sources) {\n _clsEntry.sources.forEach((source, index) =>\n span.setAttribute(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n\nfunction setResourceEntrySizeData(\n attributes,\n entry,\n key,\n dataKey,\n) {\n const entryVal = entry[key];\n if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n attributes[dataKey] = entryVal;\n }\n}\n\n/**\n * Add ttfb request time information to measurements.\n *\n * ttfb information is added via vendored web vitals library.\n */\nfunction _addTtfbRequestTimeToMeasurements(_measurements) {\n const navEntry = getNavigationEntry(false);\n if (!navEntry) {\n return;\n }\n\n const { responseStart, requestStart } = navEntry;\n\n if (requestStart <= responseStart) {\n _measurements['ttfb.requestTime'] = {\n value: responseStart - requestStart,\n unit: 'millisecond',\n };\n }\n}\n\nexport { _addMeasureSpans, _addResourceSpans, addPerformanceEntries, startTrackingInteractions, startTrackingLongAnimationFrames, startTrackingLongTasks, startTrackingWebVitals };\n","import { getClient, getActiveSpan, getRootSpan, spanToJSON, logger, browserPerformanceTimeOrigin, getCurrentScope, htmlTreeAsString, dropUndefinedKeys, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { addClsInstrumentationHandler } from './instrument.js';\nimport { msToSec, startStandaloneWebVitalSpan } from './utils.js';\nimport { onHidden } from './web-vitals/lib/onHidden.js';\n\n/**\n * Starts tracking the Cumulative Layout Shift on the current page and collects the value once\n *\n * - the page visibility is hidden\n * - a navigation span is started (to stop CLS measurement for SPA soft navigations)\n *\n * Once either of these events triggers, the CLS value is sent as a standalone span and we stop\n * measuring CLS.\n */\nfunction trackClsAsStandaloneSpan() {\n let standaloneCLsValue = 0;\n let standaloneClsEntry;\n let pageloadSpanId;\n\n if (!supportsLayoutShift()) {\n return;\n }\n\n let sentSpan = false;\n function _collectClsOnce() {\n if (sentSpan) {\n return;\n }\n sentSpan = true;\n if (pageloadSpanId) {\n sendStandaloneClsSpan(standaloneCLsValue, standaloneClsEntry, pageloadSpanId);\n }\n cleanupClsHandler();\n }\n\n const cleanupClsHandler = addClsInstrumentationHandler(({ metric }) => {\n const entry = metric.entries[metric.entries.length - 1] ;\n if (!entry) {\n return;\n }\n standaloneCLsValue = metric.value;\n standaloneClsEntry = entry;\n }, true);\n\n // use pagehide event from web-vitals\n onHidden(() => {\n _collectClsOnce();\n });\n\n // Since the call chain of this function is synchronous and evaluates before the SDK client is created,\n // we need to wait with subscribing to a client hook until the client is created. Therefore, we defer\n // to the next tick after the SDK setup.\n setTimeout(() => {\n const client = getClient();\n\n if (!client) {\n return;\n }\n\n const unsubscribeStartNavigation = client.on('startNavigationSpan', () => {\n _collectClsOnce();\n unsubscribeStartNavigation && unsubscribeStartNavigation();\n });\n\n const activeSpan = getActiveSpan();\n const rootSpan = activeSpan && getRootSpan(activeSpan);\n const spanJSON = rootSpan && spanToJSON(rootSpan);\n if (spanJSON && spanJSON.op === 'pageload') {\n pageloadSpanId = rootSpan.spanContext().spanId;\n }\n }, 0);\n}\n\nfunction sendStandaloneClsSpan(clsValue, entry, pageloadSpanId) {\n DEBUG_BUILD && logger.log(`Sending CLS span (${clsValue})`);\n\n const startTime = msToSec((browserPerformanceTimeOrigin || 0) + ((entry && entry.startTime) || 0));\n const routeName = getCurrentScope().getScopeData().transactionName;\n\n const name = entry ? htmlTreeAsString(entry.sources[0] && entry.sources[0].node) : 'Layout shift';\n\n const attributes = dropUndefinedKeys({\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.cls',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.webvital.cls',\n [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: (entry && entry.duration) || 0,\n // attach the pageload span id to the CLS span so that we can link them in the UI\n 'sentry.pageload.span_id': pageloadSpanId,\n });\n\n const span = startStandaloneWebVitalSpan({\n name,\n transaction: routeName,\n attributes,\n startTime,\n });\n\n if (span) {\n span.addEvent('cls', {\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: '',\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: clsValue,\n });\n\n // LayoutShift performance entries always have a duration of 0, so we don't need to add `entry.duration` here\n // see: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/duration\n span.end(startTime);\n }\n}\n\nfunction supportsLayoutShift() {\n try {\n return PerformanceObserver.supportedEntryTypes.includes('layout-shift');\n } catch (e) {\n return false;\n }\n}\n\nexport { trackClsAsStandaloneSpan };\n","import { browserPerformanceTimeOrigin, getActiveSpan, getRootSpan, spanToJSON, getCurrentScope, htmlTreeAsString, dropUndefinedKeys, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from '@sentry/core';\nimport { addInpInstrumentationHandler, addPerformanceInstrumentationHandler, isPerformanceEventTiming } from './instrument.js';\nimport { getBrowserPerformanceAPI, msToSec, startStandaloneWebVitalSpan } from './utils.js';\n\nconst LAST_INTERACTIONS = [];\nconst INTERACTIONS_SPAN_MAP = new Map();\n\n/**\n * Start tracking INP webvital events.\n */\nfunction startTrackingINP() {\n const performance = getBrowserPerformanceAPI();\n if (performance && browserPerformanceTimeOrigin) {\n const inpCallback = _trackINP();\n\n return () => {\n inpCallback();\n };\n }\n\n return () => undefined;\n}\n\nconst INP_ENTRY_MAP = {\n click: 'click',\n pointerdown: 'click',\n pointerup: 'click',\n mousedown: 'click',\n mouseup: 'click',\n touchstart: 'click',\n touchend: 'click',\n mouseover: 'hover',\n mouseout: 'hover',\n mouseenter: 'hover',\n mouseleave: 'hover',\n pointerover: 'hover',\n pointerout: 'hover',\n pointerenter: 'hover',\n pointerleave: 'hover',\n dragstart: 'drag',\n dragend: 'drag',\n drag: 'drag',\n dragenter: 'drag',\n dragleave: 'drag',\n dragover: 'drag',\n drop: 'drag',\n keydown: 'press',\n keyup: 'press',\n keypress: 'press',\n input: 'press',\n};\n\n/** Starts tracking the Interaction to Next Paint on the current page. */\nfunction _trackINP() {\n return addInpInstrumentationHandler(({ metric }) => {\n if (metric.value == undefined) {\n return;\n }\n\n const entry = metric.entries.find(entry => entry.duration === metric.value && INP_ENTRY_MAP[entry.name]);\n\n if (!entry) {\n return;\n }\n\n const { interactionId } = entry;\n const interactionType = INP_ENTRY_MAP[entry.name];\n\n /** Build the INP span, create an envelope from the span, and then send the envelope */\n const startTime = msToSec((browserPerformanceTimeOrigin ) + entry.startTime);\n const duration = msToSec(metric.value);\n const activeSpan = getActiveSpan();\n const rootSpan = activeSpan ? getRootSpan(activeSpan) : undefined;\n\n // We first try to lookup the span from our INTERACTIONS_SPAN_MAP,\n // where we cache the route per interactionId\n const cachedSpan = interactionId != null ? INTERACTIONS_SPAN_MAP.get(interactionId) : undefined;\n\n const spanToUse = cachedSpan || rootSpan;\n\n // Else, we try to use the active span.\n // Finally, we fall back to look at the transactionName on the scope\n const routeName = spanToUse ? spanToJSON(spanToUse).description : getCurrentScope().getScopeData().transactionName;\n\n const name = htmlTreeAsString(entry.target);\n const attributes = dropUndefinedKeys({\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser.inp',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,\n [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: entry.duration,\n });\n\n const span = startStandaloneWebVitalSpan({\n name,\n transaction: routeName,\n attributes,\n startTime,\n });\n\n if (span) {\n span.addEvent('inp', {\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: 'millisecond',\n [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: metric.value,\n });\n\n span.end(startTime + duration);\n }\n });\n}\n\n/**\n * Register a listener to cache route information for INP interactions.\n * TODO(v9): `latestRoute` no longer needs to be passed in and will be removed in v9.\n */\nfunction registerInpInteractionListener(_latestRoute) {\n const handleEntries = ({ entries }) => {\n const activeSpan = getActiveSpan();\n const activeRootSpan = activeSpan && getRootSpan(activeSpan);\n\n entries.forEach(entry => {\n if (!isPerformanceEventTiming(entry) || !activeRootSpan) {\n return;\n }\n\n const interactionId = entry.interactionId;\n if (interactionId == null) {\n return;\n }\n\n // If the interaction was already recorded before, nothing more to do\n if (INTERACTIONS_SPAN_MAP.has(interactionId)) {\n return;\n }\n\n // We keep max. 10 interactions in the list, then remove the oldest one & clean up\n if (LAST_INTERACTIONS.length > 10) {\n const last = LAST_INTERACTIONS.shift() ;\n INTERACTIONS_SPAN_MAP.delete(last);\n }\n\n // We add the interaction to the list of recorded interactions\n // and store the span for this interaction\n LAST_INTERACTIONS.push(interactionId);\n INTERACTIONS_SPAN_MAP.set(interactionId, activeRootSpan);\n });\n };\n\n addPerformanceInstrumentationHandler('event', handleEntries);\n addPerformanceInstrumentationHandler('first-input', handleEntries);\n}\n\nexport { registerInpInteractionListener, startTrackingINP };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../logger.js';\nimport { getFunctionName } from '../stacktrace.js';\n\n// We keep the handlers globally\nconst handlers = {};\nconst instrumented = {};\n\n/** Add a handler function. */\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n (handlers[type] ).push(handler);\n}\n\n/**\n * Reset all instrumentation handlers.\n * This can be used by tests to ensure we have a clean slate of instrumentation handlers.\n */\nfunction resetInstrumentationHandlers() {\n Object.keys(handlers).forEach(key => {\n handlers[key ] = undefined;\n });\n}\n\n/** Maybe run an instrumentation function, unless it was already called. */\nfunction maybeInstrument(type, instrumentFn) {\n if (!instrumented[type]) {\n instrumented[type] = true;\n try {\n instrumentFn();\n } catch (e) {\n DEBUG_BUILD && logger.error(`Error while instrumenting ${type}`, e);\n }\n }\n}\n\n/** Trigger handlers for a given instrumentation type. */\nfunction triggerHandlers(type, data) {\n const typeHandlers = type && handlers[type];\n if (!typeHandlers) {\n return;\n }\n\n for (const handler of typeHandlers) {\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\nexport { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers };\n","import { GLOBAL_OBJ } from '../worldwide.js';\n\n// Based on https://github.com/angular/angular.js/pull/13945/files\n// The MIT License\n\n\nconst WINDOW = GLOBAL_OBJ ;\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsHistory() {\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 chromeVar = (WINDOW ).chrome;\n const isChromePackagedApp = chromeVar && chromeVar.app && chromeVar.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\nexport { supportsHistory };\n","import { addHandler, maybeInstrument, supportsHistory, triggerHandlers, fill } from '@sentry/core';\nimport { WINDOW } from '../types.js';\n\nlet lastHref;\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addHistoryInstrumentationHandler(handler) {\n const type = 'history';\n addHandler(type, handler);\n maybeInstrument(type, instrumentHistory);\n}\n\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = WINDOW.onpopstate;\n WINDOW.onpopstate = function ( ...args) {\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 const handlerData = { from, to };\n triggerHandlers('history', handlerData);\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 function historyReplacementFunction(originalHistoryFunction) {\n return function ( ...args) {\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 const handlerData = { from, to };\n triggerHandlers('history', handlerData);\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nexport { addHistoryInstrumentationHandler };\n","import { getClient, getCurrentScope } from '../currentScopes.js';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON } from '../semanticAttributes.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { timestampInSeconds } from '../utils-hoist/time.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { _setSpanForScope } from '../utils/spanOnScope.js';\nimport { getActiveSpan, spanTimeInputToSeconds, getSpanDescendants, spanToJSON, removeChildSpanFromSpan } from '../utils/spanUtils.js';\nimport { SentryNonRecordingSpan } from './sentryNonRecordingSpan.js';\nimport { SPAN_STATUS_ERROR } from './spanstatus.js';\nimport { startInactiveSpan } from './trace.js';\n\nconst TRACING_DEFAULTS = {\n idleTimeout: 1000,\n finalTimeout: 30000,\n childSpanTimeout: 15000,\n};\n\nconst FINISH_REASON_HEARTBEAT_FAILED = 'heartbeatFailed';\nconst FINISH_REASON_IDLE_TIMEOUT = 'idleTimeout';\nconst FINISH_REASON_FINAL_TIMEOUT = 'finalTimeout';\nconst FINISH_REASON_EXTERNAL_FINISH = 'externalFinish';\n\n/**\n * An idle span is a span that automatically finishes. It does this by tracking child spans as activities.\n * An idle span is always the active span.\n */\nfunction startIdleSpan(startSpanOptions, options = {}) {\n // Activities store a list of active spans\n const activities = new Map();\n\n // We should not use heartbeat if we finished a span\n let _finished = false;\n\n // Timer that tracks idleTimeout\n let _idleTimeoutID;\n\n // The reason why the span was finished\n let _finishReason = FINISH_REASON_EXTERNAL_FINISH;\n\n let _autoFinishAllowed = !options.disableAutoFinish;\n\n const _cleanupHooks = [];\n\n const {\n idleTimeout = TRACING_DEFAULTS.idleTimeout,\n finalTimeout = TRACING_DEFAULTS.finalTimeout,\n childSpanTimeout = TRACING_DEFAULTS.childSpanTimeout,\n beforeSpanEnd,\n } = options;\n\n const client = getClient();\n\n if (!client || !hasTracingEnabled()) {\n return new SentryNonRecordingSpan();\n }\n\n const scope = getCurrentScope();\n const previousActiveSpan = getActiveSpan();\n const span = _startIdleSpan(startSpanOptions);\n\n // We patch span.end to ensure we can run some things before the span is ended\n // eslint-disable-next-line @typescript-eslint/unbound-method\n span.end = new Proxy(span.end, {\n apply(target, thisArg, args) {\n if (beforeSpanEnd) {\n beforeSpanEnd(span);\n }\n\n // Just ensuring that this keeps working, even if we ever have more arguments here\n const [definedEndTimestamp, ...rest] = args;\n const timestamp = definedEndTimestamp || timestampInSeconds();\n const spanEndTimestamp = spanTimeInputToSeconds(timestamp);\n\n // Ensure we end with the last span timestamp, if possible\n const spans = getSpanDescendants(span).filter(child => child !== span);\n\n // If we have no spans, we just end, nothing else to do here\n if (!spans.length) {\n onIdleSpanEnded(spanEndTimestamp);\n return Reflect.apply(target, thisArg, [spanEndTimestamp, ...rest]);\n }\n\n const childEndTimestamps = spans\n .map(span => spanToJSON(span).timestamp)\n .filter(timestamp => !!timestamp) ;\n const latestSpanEndTimestamp = childEndTimestamps.length ? Math.max(...childEndTimestamps) : undefined;\n\n // In reality this should always exist here, but type-wise it may be undefined...\n const spanStartTimestamp = spanToJSON(span).start_timestamp;\n\n // The final endTimestamp should:\n // * Never be before the span start timestamp\n // * Be the latestSpanEndTimestamp, if there is one, and it is smaller than the passed span end timestamp\n // * Otherwise be the passed end timestamp\n // Final timestamp can never be after finalTimeout\n const endTimestamp = Math.min(\n spanStartTimestamp ? spanStartTimestamp + finalTimeout / 1000 : Infinity,\n Math.max(spanStartTimestamp || -Infinity, Math.min(spanEndTimestamp, latestSpanEndTimestamp || Infinity)),\n );\n\n onIdleSpanEnded(endTimestamp);\n return Reflect.apply(target, thisArg, [endTimestamp, ...rest]);\n },\n });\n\n /**\n * Cancels the existing idle timeout, if there is one.\n */\n function _cancelIdleTimeout() {\n if (_idleTimeoutID) {\n clearTimeout(_idleTimeoutID);\n _idleTimeoutID = undefined;\n }\n }\n\n /**\n * Restarts idle timeout, if there is no running idle timeout it will start one.\n */\n function _restartIdleTimeout(endTimestamp) {\n _cancelIdleTimeout();\n _idleTimeoutID = setTimeout(() => {\n if (!_finished && activities.size === 0 && _autoFinishAllowed) {\n _finishReason = FINISH_REASON_IDLE_TIMEOUT;\n span.end(endTimestamp);\n }\n }, idleTimeout);\n }\n\n /**\n * Restarts child span timeout, if there is none running it will start one.\n */\n function _restartChildSpanTimeout(endTimestamp) {\n _idleTimeoutID = setTimeout(() => {\n if (!_finished && _autoFinishAllowed) {\n _finishReason = FINISH_REASON_HEARTBEAT_FAILED;\n span.end(endTimestamp);\n }\n }, childSpanTimeout);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n function _pushActivity(spanId) {\n _cancelIdleTimeout();\n activities.set(spanId, true);\n\n const endTimestamp = timestampInSeconds();\n // We need to add the timeout here to have the real endtimestamp of the idle span\n // Remember timestampInSeconds is in seconds, timeout is in ms\n _restartChildSpanTimeout(endTimestamp + childSpanTimeout / 1000);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n function _popActivity(spanId) {\n if (activities.has(spanId)) {\n activities.delete(spanId);\n }\n\n if (activities.size === 0) {\n const endTimestamp = timestampInSeconds();\n // We need to add the timeout here to have the real endtimestamp of the idle span\n // Remember timestampInSeconds is in seconds, timeout is in ms\n _restartIdleTimeout(endTimestamp + idleTimeout / 1000);\n }\n }\n\n function onIdleSpanEnded(endTimestamp) {\n _finished = true;\n activities.clear();\n\n _cleanupHooks.forEach(cleanup => cleanup());\n\n _setSpanForScope(scope, previousActiveSpan);\n\n const spanJSON = spanToJSON(span);\n\n const { start_timestamp: startTimestamp } = spanJSON;\n // This should never happen, but to make TS happy...\n if (!startTimestamp) {\n return;\n }\n\n const attributes = spanJSON.data || {};\n if (!attributes[SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]) {\n span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, _finishReason);\n }\n\n logger.log(`[Tracing] Idle span \"${spanJSON.op}\" finished`);\n\n const childSpans = getSpanDescendants(span).filter(child => child !== span);\n\n let discardedSpans = 0;\n childSpans.forEach(childSpan => {\n // We cancel all pending spans with status \"cancelled\" to indicate the idle span was finished early\n if (childSpan.isRecording()) {\n childSpan.setStatus({ code: SPAN_STATUS_ERROR, message: 'cancelled' });\n childSpan.end(endTimestamp);\n DEBUG_BUILD &&\n logger.log('[Tracing] Cancelling span since span ended early', JSON.stringify(childSpan, undefined, 2));\n }\n\n const childSpanJSON = spanToJSON(childSpan);\n const { timestamp: childEndTimestamp = 0, start_timestamp: childStartTimestamp = 0 } = childSpanJSON;\n\n const spanStartedBeforeIdleSpanEnd = childStartTimestamp <= endTimestamp;\n\n // Add a delta with idle timeout so that we prevent false positives\n const timeoutWithMarginOfError = (finalTimeout + idleTimeout) / 1000;\n const spanEndedBeforeFinalTimeout = childEndTimestamp - childStartTimestamp <= timeoutWithMarginOfError;\n\n if (DEBUG_BUILD) {\n const stringifiedSpan = JSON.stringify(childSpan, undefined, 2);\n if (!spanStartedBeforeIdleSpanEnd) {\n logger.log('[Tracing] Discarding span since it happened after idle span was finished', stringifiedSpan);\n } else if (!spanEndedBeforeFinalTimeout) {\n logger.log('[Tracing] Discarding span since it finished after idle span final timeout', stringifiedSpan);\n }\n }\n\n if (!spanEndedBeforeFinalTimeout || !spanStartedBeforeIdleSpanEnd) {\n removeChildSpanFromSpan(span, childSpan);\n discardedSpans++;\n }\n });\n\n if (discardedSpans > 0) {\n span.setAttribute('sentry.idle_span_discarded_spans', discardedSpans);\n }\n }\n\n _cleanupHooks.push(\n client.on('spanStart', startedSpan => {\n // If we already finished the idle span,\n // or if this is the idle span itself being started,\n // or if the started span has already been closed,\n // we don't care about it for activity\n if (_finished || startedSpan === span || !!spanToJSON(startedSpan).timestamp) {\n return;\n }\n\n const allSpans = getSpanDescendants(span);\n\n // If the span that was just started is a child of the idle span, we should track it\n if (allSpans.includes(startedSpan)) {\n _pushActivity(startedSpan.spanContext().spanId);\n }\n }),\n );\n\n _cleanupHooks.push(\n client.on('spanEnd', endedSpan => {\n if (_finished) {\n return;\n }\n\n _popActivity(endedSpan.spanContext().spanId);\n }),\n );\n\n _cleanupHooks.push(\n client.on('idleSpanEnableAutoFinish', spanToAllowAutoFinish => {\n if (spanToAllowAutoFinish === span) {\n _autoFinishAllowed = true;\n _restartIdleTimeout();\n\n if (activities.size) {\n _restartChildSpanTimeout();\n }\n }\n }),\n );\n\n // We only start the initial idle timeout if we are not delaying the auto finish\n if (!options.disableAutoFinish) {\n _restartIdleTimeout();\n }\n\n setTimeout(() => {\n if (!_finished) {\n span.setStatus({ code: SPAN_STATUS_ERROR, message: 'deadline_exceeded' });\n _finishReason = FINISH_REASON_FINAL_TIMEOUT;\n span.end();\n }\n }, finalTimeout);\n\n return span;\n}\n\nfunction _startIdleSpan(options) {\n const span = startInactiveSpan(options);\n\n _setSpanForScope(getCurrentScope(), span);\n\n DEBUG_BUILD && logger.log('[Tracing] Started span is an idle span');\n\n return span;\n}\n\nexport { TRACING_DEFAULTS, startIdleSpan };\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './handlers.js';\n\nlet _oldOnErrorHandler = null;\n\n/**\n * Add an instrumentation handler for when an error is captured by the global error handler.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalErrorInstrumentationHandler(handler) {\n const type = 'error';\n addHandler(type, handler);\n maybeInstrument(type, instrumentError);\n}\n\nfunction instrumentError() {\n _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n\n GLOBAL_OBJ.onerror = function (\n msg,\n url,\n line,\n column,\n error,\n ) {\n const handlerData = {\n column,\n error,\n line,\n msg,\n url,\n };\n triggerHandlers('error', handlerData);\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 GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalErrorInstrumentationHandler };\n","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './handlers.js';\n\nlet _oldOnUnhandledRejectionHandler = null;\n\n/**\n * Add an instrumentation handler for when an unhandled promise rejection is captured.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addGlobalUnhandledRejectionInstrumentationHandler(\n handler,\n) {\n const type = 'unhandledrejection';\n addHandler(type, handler);\n maybeInstrument(type, instrumentUnhandledRejection);\n}\n\nfunction instrumentUnhandledRejection() {\n _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n\n GLOBAL_OBJ.onunhandledrejection = function (e) {\n const handlerData = e;\n triggerHandlers('unhandledrejection', handlerData);\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 GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalUnhandledRejectionInstrumentationHandler };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { addGlobalErrorInstrumentationHandler } from '../utils-hoist/instrument/globalError.js';\nimport { addGlobalUnhandledRejectionInstrumentationHandler } from '../utils-hoist/instrument/globalUnhandledRejection.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { getActiveSpan, getRootSpan } from '../utils/spanUtils.js';\nimport { SPAN_STATUS_ERROR } from './spanstatus.js';\n\nlet errorsInstrumented = false;\n\n/**\n * Ensure that global errors automatically set the active span status.\n */\nfunction registerSpanErrorInstrumentation() {\n if (errorsInstrumented) {\n return;\n }\n\n errorsInstrumented = true;\n addGlobalErrorInstrumentationHandler(errorCallback);\n addGlobalUnhandledRejectionInstrumentationHandler(errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active root span as failed\n */\nfunction errorCallback() {\n const activeSpan = getActiveSpan();\n const rootSpan = activeSpan && getRootSpan(activeSpan);\n if (rootSpan) {\n const message = 'internal_error';\n DEBUG_BUILD && logger.log(`[Tracing] Root span: ${message} -> Global error occurred`);\n rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message });\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\nexport { registerSpanErrorInstrumentation };\n","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nconst DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__);\n\nexport { DEBUG_BUILD };\n","import { GLOBAL_OBJ, getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty, withScope, addExceptionTypeValue, addExceptionMechanism, captureException } from '@sentry/core';\n\nconst WINDOW = GLOBAL_OBJ ;\n\nlet ignoreOnError = 0;\n\n/**\n * @hidden\n */\nfunction shouldIgnoreOnError() {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nfunction ignoreNextOnError() {\n // onerror should trigger before setTimeout\n ignoreOnError++;\n setTimeout(() => {\n ignoreOnError--;\n });\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\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 */\nfunction wrap(\n fn,\n options\n\n = {},\n) {\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 function isFunction(fn) {\n return typeof fn === 'function';\n }\n\n if (!isFunction(fn)) {\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 if (typeof wrapper === 'function') {\n return wrapper;\n } else {\n // If we find that the `__sentry_wrapped__` function is not a function at the time of accessing it, it means\n // that something messed with it. In that case we want to return the originally passed function.\n return fn;\n }\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 // Wrap the function itself\n // It is important that `sentryWrapped` is not an arrow function to preserve the context of `this`\n const sentryWrapped = function ( ...args) {\n try {\n // Also wrap arguments that are themselves functions\n const wrappedArguments = args.map(arg => 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 => {\n scope.addEventProcessor(event => {\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\n // Wrap the wrapped function in a proxy, to ensure any other properties of the original function remain available\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 (e2) {\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n }\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 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name');\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get() {\n return fn.name;\n },\n });\n }\n } catch (e3) {\n // This may throw if e.g. the descriptor does not exist, or a browser does not allow redefining `name`.\n // to save some bytes we simply try-catch this\n }\n\n return sentryWrapped;\n}\n\nexport { WINDOW, ignoreNextOnError, shouldIgnoreOnError, wrap };\n","import { addHandler, maybeInstrument, timestampInSeconds, isString, triggerHandlers } from '@sentry/core';\nimport { WINDOW } from '../types.js';\n\nconst SENTRY_XHR_DATA_KEY = '__sentry_xhr_v3__';\n\n/**\n * Add an instrumentation handler for when an XHR request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addXhrInstrumentationHandler(handler) {\n const type = 'xhr';\n addHandler(type, handler);\n maybeInstrument(type, instrumentXHR);\n}\n\n/** Exported only for tests. */\nfunction instrumentXHR() {\n if (!(WINDOW ).XMLHttpRequest) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n xhrproto.open = new Proxy(xhrproto.open, {\n apply(originalOpen, xhrOpenThisArg, xhrOpenArgArray) {\n const startTimestamp = timestampInSeconds() * 1000;\n\n // open() should always be called with two or more arguments\n // But to be on the safe side, we actually validate this and bail out if we don't have a method & url\n const method = isString(xhrOpenArgArray[0]) ? xhrOpenArgArray[0].toUpperCase() : undefined;\n const url = parseUrl(xhrOpenArgArray[1]);\n\n if (!method || !url) {\n return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n }\n\n xhrOpenThisArg[SENTRY_XHR_DATA_KEY] = {\n method,\n url,\n request_headers: {},\n };\n\n // if Sentry key appears in URL, don't capture it as a request\n if (method === 'POST' && url.match(/sentry_key/)) {\n xhrOpenThisArg.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = () => {\n // For whatever reason, this is not the same instance here as from the outer method\n const xhrInfo = xhrOpenThisArg[SENTRY_XHR_DATA_KEY];\n\n if (!xhrInfo) {\n return;\n }\n\n if (xhrOpenThisArg.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhrOpenThisArg.status;\n } catch (e) {\n /* do nothing */\n }\n\n const handlerData = {\n endTimestamp: timestampInSeconds() * 1000,\n startTimestamp,\n xhr: xhrOpenThisArg,\n };\n triggerHandlers('xhr', handlerData);\n }\n };\n\n if ('onreadystatechange' in xhrOpenThisArg && typeof xhrOpenThisArg.onreadystatechange === 'function') {\n xhrOpenThisArg.onreadystatechange = new Proxy(xhrOpenThisArg.onreadystatechange, {\n apply(originalOnreadystatechange, onreadystatechangeThisArg, onreadystatechangeArgArray) {\n onreadystatechangeHandler();\n return originalOnreadystatechange.apply(onreadystatechangeThisArg, onreadystatechangeArgArray);\n },\n });\n } else {\n xhrOpenThisArg.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 xhrOpenThisArg.setRequestHeader = new Proxy(xhrOpenThisArg.setRequestHeader, {\n apply(\n originalSetRequestHeader,\n setRequestHeaderThisArg,\n setRequestHeaderArgArray,\n ) {\n const [header, value] = setRequestHeaderArgArray;\n\n const xhrInfo = setRequestHeaderThisArg[SENTRY_XHR_DATA_KEY];\n\n if (xhrInfo && isString(header) && isString(value)) {\n xhrInfo.request_headers[header.toLowerCase()] = value;\n }\n\n return originalSetRequestHeader.apply(setRequestHeaderThisArg, setRequestHeaderArgArray);\n },\n });\n\n return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n },\n });\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n xhrproto.send = new Proxy(xhrproto.send, {\n apply(originalSend, sendThisArg, sendArgArray) {\n const sentryXhrData = sendThisArg[SENTRY_XHR_DATA_KEY];\n\n if (!sentryXhrData) {\n return originalSend.apply(sendThisArg, sendArgArray);\n }\n\n if (sendArgArray[0] !== undefined) {\n sentryXhrData.body = sendArgArray[0];\n }\n\n const handlerData = {\n startTimestamp: timestampInSeconds() * 1000,\n xhr: sendThisArg,\n };\n triggerHandlers('xhr', handlerData);\n\n return originalSend.apply(sendThisArg, sendArgArray);\n },\n });\n}\n\nfunction parseUrl(url) {\n if (isString(url)) {\n return url;\n }\n\n try {\n // url can be a string or URL\n // but since URL is not available in IE11, we do not check for it,\n // but simply assume it is an URL and return `toString()` from it (which returns the full URL)\n // If that fails, we just return undefined\n return (url ).toString();\n } catch (e2) {} // eslint-disable-line no-empty\n\n return undefined;\n}\n\nexport { SENTRY_XHR_DATA_KEY, addXhrInstrumentationHandler, instrumentXHR };\n","import { DEBUG_BUILD } from './debug-build.js';\nimport { logger } from './logger.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n\nconst WINDOW = GLOBAL_OBJ ;\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nfunction supportsErrorEvent() {\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 */\nfunction supportsDOMError() {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-expect-error 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 */\nfunction supportsDOMException() {\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 */\nfunction supportsFetch() {\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/**\n * isNative checks if the given function is a native implementation\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isNativeFunction(func) {\n return func && /^function\\s+\\w+\\(\\)\\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 */\nfunction supportsNativeFetch() {\n if (typeof EdgeRuntime === 'string') {\n return true;\n }\n\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 (isNativeFunction(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 ) === '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 = isNativeFunction(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 */\nfunction supportsReportingObserver() {\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 */\nfunction supportsReferrerPolicy() {\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' ,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\nexport { isNativeFunction, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver };\n","import { isError } from '../is.js';\nimport { fill, addNonEnumerableProperty } from '../object.js';\nimport { supportsNativeFetch } from '../supports.js';\nimport { timestampInSeconds } from '../time.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './handlers.js';\n\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addFetchInstrumentationHandler(\n handler,\n skipNativeFetchCheck,\n) {\n const type = 'fetch';\n addHandler(type, handler);\n maybeInstrument(type, () => instrumentFetch(undefined, skipNativeFetchCheck));\n}\n\n/**\n * Add an instrumentation handler for long-lived fetch requests, like consuming server-sent events (SSE) via fetch.\n * The handler will resolve the request body and emit the actual `endTimestamp`, so that the\n * span can be updated accordingly.\n *\n * Only used internally\n * @hidden\n */\nfunction addFetchEndInstrumentationHandler(handler) {\n const type = 'fetch-body-resolved';\n addHandler(type, handler);\n maybeInstrument(type, () => instrumentFetch(streamHandler));\n}\n\nfunction instrumentFetch(onFetchResolved, skipNativeFetchCheck = false) {\n if (skipNativeFetchCheck && !supportsNativeFetch()) {\n return;\n }\n\n fill(GLOBAL_OBJ, 'fetch', function (originalFetch) {\n return function (...args) {\n const { method, url } = parseFetchArgs(args);\n const handlerData = {\n args,\n fetchData: {\n method,\n url,\n },\n startTimestamp: timestampInSeconds() * 1000,\n };\n\n // if there is no callback, fetch is instrumented directly\n if (!onFetchResolved) {\n triggerHandlers('fetch', {\n ...handlerData,\n });\n }\n\n // We capture the stack right here and not in the Promise error callback because Safari (and probably other\n // browsers too) will wipe the stack trace up to this point, only leaving us with this file which is useless.\n\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the error, that was caused by your fetch call did not\n // have a stack trace, so the SDK backfilled the stack trace so\n // you can see which fetch call failed.\n const virtualStackTrace = new Error().stack;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(GLOBAL_OBJ, args).then(\n async (response) => {\n if (onFetchResolved) {\n onFetchResolved(response);\n } else {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: timestampInSeconds() * 1000,\n response,\n });\n }\n\n return response;\n },\n (error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: timestampInSeconds() * 1000,\n error,\n });\n\n if (isError(error) && error.stack === undefined) {\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the error, that was caused by your fetch call did not\n // have a stack trace, so the SDK backfilled the stack trace so\n // you can see which fetch call failed.\n error.stack = virtualStackTrace;\n addNonEnumerableProperty(error, 'framesToPop', 1);\n }\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\nasync function resolveResponse(res, onFinishedResolving) {\n if (res && res.body) {\n const body = res.body;\n const responseReader = body.getReader();\n\n // Define a maximum duration after which we just cancel\n const maxFetchDurationTimeout = setTimeout(\n () => {\n body.cancel().then(null, () => {\n // noop\n });\n },\n 90 * 1000, // 90s\n );\n\n let readingActive = true;\n while (readingActive) {\n let chunkTimeout;\n try {\n // abort reading if read op takes more than 5s\n chunkTimeout = setTimeout(() => {\n body.cancel().then(null, () => {\n // noop on error\n });\n }, 5000);\n\n // This .read() call will reject/throw when we abort due to timeouts through `body.cancel()`\n const { done } = await responseReader.read();\n\n clearTimeout(chunkTimeout);\n\n if (done) {\n onFinishedResolving();\n readingActive = false;\n }\n } catch (error) {\n readingActive = false;\n } finally {\n clearTimeout(chunkTimeout);\n }\n }\n\n clearTimeout(maxFetchDurationTimeout);\n\n responseReader.releaseLock();\n body.cancel().then(null, () => {\n // noop on error\n });\n }\n}\n\nfunction streamHandler(response) {\n // clone response for awaiting stream\n let clonedResponseForResolving;\n try {\n clonedResponseForResolving = response.clone();\n } catch (e) {\n return;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n resolveResponse(clonedResponseForResolving, () => {\n triggerHandlers('fetch-body-resolved', {\n endTimestamp: timestampInSeconds() * 1000,\n response,\n });\n });\n}\n\nfunction hasProp(obj, prop) {\n return !!obj && typeof obj === 'object' && !!(obj )[prop];\n}\n\nfunction getUrlFromResource(resource) {\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 * Exported for tests only.\n */\nfunction parseFetchArgs(fetchArgs) {\n if (fetchArgs.length === 0) {\n return { method: 'GET', url: '' };\n }\n\n if (fetchArgs.length === 2) {\n const [url, options] = fetchArgs ;\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 ),\n method: hasProp(arg, 'method') ? String(arg.method).toUpperCase() : 'GET',\n };\n}\n\nexport { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler, parseFetchArgs };\n","import { getAsyncContextStrategy } from '../asyncContext/index.js';\nimport { getMainCarrier } from '../carrier.js';\nimport { getClient, getCurrentScope } from '../currentScopes.js';\nimport { isEnabled } from '../exports.js';\nimport '../tracing/errors.js';\nimport '../utils-hoist/version.js';\nimport '../utils-hoist/debug-build.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport '../debug-build.js';\nimport '../utils-hoist/time.js';\nimport { getActiveSpan, spanToTraceHeader } from './spanUtils.js';\nimport { TRACEPARENT_REGEXP, generateSentryTraceHeader } from '../utils-hoist/tracing.js';\nimport { getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromScope } from '../tracing/dynamicSamplingContext.js';\nimport { dynamicSamplingContextToSentryBaggageHeader } from '../utils-hoist/baggage.js';\n\n/**\n * Extracts trace propagation data from the current span or from the client's scope (via transaction or propagation\n * context) and serializes it to `sentry-trace` and `baggage` values to strings. These values can be used to propagate\n * a trace via our tracing Http headers or Html `` tags.\n *\n * This function also applies some validation to the generated sentry-trace and baggage values to ensure that\n * only valid strings are returned.\n *\n * @returns an object with the tracing data values. The object keys are the name of the tracing key to be used as header\n * or meta tag name.\n */\nfunction getTraceData(options = {}) {\n const client = getClient();\n if (!isEnabled() || !client) {\n return {};\n }\n\n const carrier = getMainCarrier();\n const acs = getAsyncContextStrategy(carrier);\n if (acs.getTraceData) {\n return acs.getTraceData(options);\n }\n\n const scope = getCurrentScope();\n const span = options.span || getActiveSpan();\n const sentryTrace = span ? spanToTraceHeader(span) : scopeToTraceHeader(scope);\n const dsc = span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromScope(client, scope);\n const baggage = dynamicSamplingContextToSentryBaggageHeader(dsc);\n\n const isValidSentryTraceHeader = TRACEPARENT_REGEXP.test(sentryTrace);\n if (!isValidSentryTraceHeader) {\n logger.warn('Invalid sentry-trace data. Cannot generate trace data');\n return {};\n }\n\n return {\n 'sentry-trace': sentryTrace,\n baggage,\n };\n}\n\n/**\n * Get a sentry-trace header value for the given scope.\n */\nfunction scopeToTraceHeader(scope) {\n // TODO(v9): Use generateSpanId() instead of spanId\n // eslint-disable-next-line deprecation/deprecation\n const { traceId, sampled, spanId } = scope.getPropagationContext();\n return generateSentryTraceHeader(traceId, spanId, sampled);\n}\n\nexport { getTraceData };\n","import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP } from './semanticAttributes.js';\nimport './tracing/errors.js';\nimport { isInstanceOf } from './utils-hoist/is.js';\nimport './utils-hoist/version.js';\nimport './utils-hoist/debug-build.js';\nimport './utils-hoist/logger.js';\nimport './utils-hoist/time.js';\nimport './utils-hoist/syncpromise.js';\nimport { parseUrl } from './utils-hoist/url.js';\nimport { SENTRY_BAGGAGE_KEY_PREFIX } from './utils-hoist/baggage.js';\nimport './debug-build.js';\nimport { hasTracingEnabled } from './utils/hasTracingEnabled.js';\nimport { getActiveSpan } from './utils/spanUtils.js';\nimport { SentryNonRecordingSpan } from './tracing/sentryNonRecordingSpan.js';\nimport { setHttpStatus, SPAN_STATUS_ERROR } from './tracing/spanstatus.js';\nimport { startInactiveSpan } from './tracing/trace.js';\nimport { getTraceData } from './utils/traceData.js';\n\n/**\n * Create and track fetch request spans for usage in combination with `addFetchInstrumentationHandler`.\n *\n * @returns Span if a span was created, otherwise void.\n */\nfunction instrumentFetchRequest(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n spanOrigin = 'auto.http.browser',\n) {\n if (!handlerData.fetchData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = hasTracingEnabled() && shouldCreateSpan(handlerData.fetchData.url);\n\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n endSpan(span, handlerData);\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const { method, url } = handlerData.fetchData;\n\n const fullUrl = getFullURL(url);\n const host = fullUrl ? parseUrl(fullUrl).host : undefined;\n\n const hasParent = !!getActiveSpan();\n\n const span =\n shouldCreateSpanResult && hasParent\n ? startInactiveSpan({\n name: `${method} ${url}`,\n attributes: {\n url,\n type: 'fetch',\n 'http.method': method,\n 'http.url': fullUrl,\n 'server.address': host,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'http.client',\n },\n })\n : new SentryNonRecordingSpan();\n\n handlerData.fetchData.__span = span.spanContext().spanId;\n spans[span.spanContext().spanId] = span;\n\n if (shouldAttachHeaders(handlerData.fetchData.url)) {\n const request = handlerData.args[0];\n\n const options = handlerData.args[1] || {};\n\n const headers = _addTracingHeadersToFetchRequest(\n request,\n options,\n // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n // we do not want to use the span as base for the trace headers,\n // which means that the headers will be generated from the scope and the sampling decision is deferred\n hasTracingEnabled() && hasParent ? span : undefined,\n );\n if (headers) {\n // Ensure this is actually set, if no options have been passed previously\n handlerData.args[1] = options;\n options.headers = headers;\n }\n }\n\n return span;\n}\n\n/**\n * Adds sentry-trace and baggage headers to the various forms of fetch headers.\n */\nfunction _addTracingHeadersToFetchRequest(\n request,\n fetchOptionsObj\n\n,\n span,\n) {\n const traceHeaders = getTraceData({ span });\n const sentryTrace = traceHeaders['sentry-trace'];\n const baggage = traceHeaders.baggage;\n\n // Nothing to do, when we return undefined here, the original headers will be used\n if (!sentryTrace) {\n return undefined;\n }\n\n const headers = fetchOptionsObj.headers || (isRequest(request) ? request.headers : undefined);\n\n if (!headers) {\n return { ...traceHeaders };\n } else if (isHeaders(headers)) {\n const newHeaders = new Headers(headers);\n newHeaders.set('sentry-trace', sentryTrace);\n\n if (baggage) {\n const prevBaggageHeader = newHeaders.get('baggage');\n if (prevBaggageHeader) {\n const prevHeaderStrippedFromSentryBaggage = stripBaggageHeaderOfSentryBaggageValues(prevBaggageHeader);\n newHeaders.set(\n 'baggage',\n // If there are non-sentry entries (i.e. if the stripped string is non-empty/truthy) combine the stripped header and sentry baggage header\n // otherwise just set the sentry baggage header\n prevHeaderStrippedFromSentryBaggage ? `${prevHeaderStrippedFromSentryBaggage},${baggage}` : baggage,\n );\n } else {\n newHeaders.set('baggage', baggage);\n }\n }\n\n return newHeaders;\n } else if (Array.isArray(headers)) {\n const newHeaders = [\n ...headers\n // Remove any existing sentry-trace headers\n .filter(header => {\n return !(Array.isArray(header) && header[0] === 'sentry-trace');\n })\n // Get rid of previous sentry baggage values in baggage header\n .map(header => {\n if (Array.isArray(header) && header[0] === 'baggage' && typeof header[1] === 'string') {\n const [headerName, headerValue, ...rest] = header;\n return [headerName, stripBaggageHeaderOfSentryBaggageValues(headerValue), ...rest];\n } else {\n return header;\n }\n }),\n // Attach the new sentry-trace header\n ['sentry-trace', sentryTrace],\n ];\n\n if (baggage) {\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', baggage]);\n }\n\n return newHeaders ;\n } else {\n const existingBaggageHeader = 'baggage' in headers ? headers.baggage : undefined;\n let newBaggageHeaders = [];\n\n if (Array.isArray(existingBaggageHeader)) {\n newBaggageHeaders = existingBaggageHeader\n .map(headerItem =>\n typeof headerItem === 'string' ? stripBaggageHeaderOfSentryBaggageValues(headerItem) : headerItem,\n )\n .filter(headerItem => headerItem === '');\n } else if (existingBaggageHeader) {\n newBaggageHeaders.push(stripBaggageHeaderOfSentryBaggageValues(existingBaggageHeader));\n }\n\n if (baggage) {\n newBaggageHeaders.push(baggage);\n }\n\n return {\n ...(headers ),\n 'sentry-trace': sentryTrace,\n baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(',') : undefined,\n };\n }\n}\n\n/**\n * Adds sentry-trace and baggage headers to the various forms of fetch headers.\n *\n * @deprecated This function will not be exported anymore in v9.\n */\nfunction addTracingHeadersToFetchRequest(\n request,\n _client,\n _scope,\n fetchOptionsObj\n\n,\n span,\n) {\n return _addTracingHeadersToFetchRequest(request , fetchOptionsObj, span);\n}\n\nfunction getFullURL(url) {\n try {\n const parsed = new URL(url);\n return parsed.href;\n } catch (e) {\n return undefined;\n }\n}\n\nfunction endSpan(span, handlerData) {\n if (handlerData.response) {\n setHttpStatus(span, handlerData.response.status);\n\n const contentLength =\n handlerData.response && handlerData.response.headers && handlerData.response.headers.get('content-length');\n\n if (contentLength) {\n const contentLengthNum = parseInt(contentLength);\n if (contentLengthNum > 0) {\n span.setAttribute('http.response_content_length', contentLengthNum);\n }\n }\n } else if (handlerData.error) {\n span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });\n }\n span.end();\n}\n\nfunction stripBaggageHeaderOfSentryBaggageValues(baggageHeader) {\n return (\n baggageHeader\n .split(',')\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n .filter(baggageEntry => !baggageEntry.split('=')[0].startsWith(SENTRY_BAGGAGE_KEY_PREFIX))\n .join(',')\n );\n}\n\nfunction isRequest(request) {\n return typeof Request !== 'undefined' && isInstanceOf(request, Request);\n}\n\nfunction isHeaders(headers) {\n return typeof Headers !== 'undefined' && isInstanceOf(headers, Headers);\n}\n\nexport { addTracingHeadersToFetchRequest, instrumentFetchRequest };\n","import { addXhrInstrumentationHandler, addPerformanceInstrumentationHandler, SENTRY_XHR_DATA_KEY } from '@sentry-internal/browser-utils';\nimport { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler, instrumentFetchRequest, parseUrl, spanToJSON, browserPerformanceTimeOrigin, hasTracingEnabled, setHttpStatus, getActiveSpan, startInactiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SentryNonRecordingSpan, getTraceData, stringMatchesSomePattern } from '@sentry/core';\nimport { WINDOW } from '../helpers.js';\n\n/** Options for Request Instrumentation */\n\nconst responseToSpanId = new WeakMap();\nconst spanIdToEndTimestamp = new Map();\n\nconst defaultRequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n enableHTTPTimings: true,\n trackFetchStreamPerformance: false,\n};\n\n/** Registers span creators for xhr and fetch requests */\nfunction instrumentOutgoingRequests(client, _options) {\n const {\n traceFetch,\n traceXHR,\n trackFetchStreamPerformance,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n tracePropagationTargets,\n } = {\n traceFetch: defaultRequestInstrumentationOptions.traceFetch,\n traceXHR: defaultRequestInstrumentationOptions.traceXHR,\n trackFetchStreamPerformance: defaultRequestInstrumentationOptions.trackFetchStreamPerformance,\n ..._options,\n };\n\n const shouldCreateSpan =\n typeof shouldCreateSpanForRequest === 'function' ? shouldCreateSpanForRequest : (_) => true;\n\n const shouldAttachHeadersWithTargets = (url) => shouldAttachHeaders(url, tracePropagationTargets);\n\n const spans = {};\n\n if (traceFetch) {\n // Keeping track of http requests, whose body payloads resolved later than the initial resolved request\n // e.g. streaming using server sent events (SSE)\n client.addEventProcessor(event => {\n if (event.type === 'transaction' && event.spans) {\n event.spans.forEach(span => {\n if (span.op === 'http.client') {\n const updatedTimestamp = spanIdToEndTimestamp.get(span.span_id);\n if (updatedTimestamp) {\n span.timestamp = updatedTimestamp / 1000;\n spanIdToEndTimestamp.delete(span.span_id);\n }\n }\n });\n }\n return event;\n });\n\n if (trackFetchStreamPerformance) {\n addFetchEndInstrumentationHandler(handlerData => {\n if (handlerData.response) {\n const span = responseToSpanId.get(handlerData.response);\n if (span && handlerData.endTimestamp) {\n spanIdToEndTimestamp.set(span, handlerData.endTimestamp);\n }\n }\n });\n }\n\n addFetchInstrumentationHandler(handlerData => {\n const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n\n if (handlerData.response && handlerData.fetchData.__span) {\n responseToSpanId.set(handlerData.response, handlerData.fetchData.__span);\n }\n\n // We cannot use `window.location` in the generic fetch instrumentation,\n // but we need it for reliable `server.address` attribute.\n // so we extend this in here\n if (createdSpan) {\n const fullUrl = getFullURL(handlerData.fetchData.url);\n const host = fullUrl ? parseUrl(fullUrl).host : undefined;\n createdSpan.setAttributes({\n 'http.url': fullUrl,\n 'server.address': host,\n });\n }\n\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n\n if (traceXHR) {\n addXhrInstrumentationHandler(handlerData => {\n const createdSpan = xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n if (enableHTTPTimings && createdSpan) {\n addHTTPTimings(createdSpan);\n }\n });\n }\n}\n\nfunction isPerformanceResourceTiming(entry) {\n return (\n entry.entryType === 'resource' &&\n 'initiatorType' in entry &&\n typeof (entry ).nextHopProtocol === 'string' &&\n (entry.initiatorType === 'fetch' || entry.initiatorType === 'xmlhttprequest')\n );\n}\n\n/**\n * Creates a temporary observer to listen to the next fetch/xhr resourcing timings,\n * so that when timings hit their per-browser limit they don't need to be removed.\n *\n * @param span A span that has yet to be finished, must contain `url` on data.\n */\nfunction addHTTPTimings(span) {\n const { url } = spanToJSON(span).data || {};\n\n if (!url || typeof url !== 'string') {\n return;\n }\n\n const cleanup = addPerformanceInstrumentationHandler('resource', ({ entries }) => {\n entries.forEach(entry => {\n if (isPerformanceResourceTiming(entry) && entry.name.endsWith(url)) {\n const spanData = resourceTimingEntryToSpanData(entry);\n spanData.forEach(data => span.setAttribute(...data));\n // In the next tick, clean this handler up\n // We have to wait here because otherwise this cleans itself up before it is fully done\n setTimeout(cleanup);\n }\n });\n });\n}\n\n/**\n * Converts ALPN protocol ids to name and version.\n *\n * (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)\n * @param nextHopProtocol PerformanceResourceTiming.nextHopProtocol\n */\nfunction extractNetworkProtocol(nextHopProtocol) {\n let name = 'unknown';\n let version = 'unknown';\n let _name = '';\n for (const char of nextHopProtocol) {\n // http/1.1 etc.\n if (char === '/') {\n [name, version] = nextHopProtocol.split('/') ;\n break;\n }\n // h2, h3 etc.\n if (!isNaN(Number(char))) {\n name = _name === 'h' ? 'http' : _name;\n version = nextHopProtocol.split(_name)[1] ;\n break;\n }\n _name += char;\n }\n if (_name === nextHopProtocol) {\n // webrtc, ftp, etc.\n name = _name;\n }\n return { name, version };\n}\n\nfunction getAbsoluteTime(time = 0) {\n return ((browserPerformanceTimeOrigin || performance.timeOrigin) + time) / 1000;\n}\n\nfunction resourceTimingEntryToSpanData(resourceTiming) {\n const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);\n\n const timingSpanData = [];\n\n timingSpanData.push(['network.protocol.version', version], ['network.protocol.name', name]);\n\n if (!browserPerformanceTimeOrigin) {\n return timingSpanData;\n }\n return [\n ...timingSpanData,\n ['http.request.redirect_start', getAbsoluteTime(resourceTiming.redirectStart)],\n ['http.request.fetch_start', getAbsoluteTime(resourceTiming.fetchStart)],\n ['http.request.domain_lookup_start', getAbsoluteTime(resourceTiming.domainLookupStart)],\n ['http.request.domain_lookup_end', getAbsoluteTime(resourceTiming.domainLookupEnd)],\n ['http.request.connect_start', getAbsoluteTime(resourceTiming.connectStart)],\n ['http.request.secure_connection_start', getAbsoluteTime(resourceTiming.secureConnectionStart)],\n ['http.request.connection_end', getAbsoluteTime(resourceTiming.connectEnd)],\n ['http.request.request_start', getAbsoluteTime(resourceTiming.requestStart)],\n ['http.request.response_start', getAbsoluteTime(resourceTiming.responseStart)],\n ['http.request.response_end', getAbsoluteTime(resourceTiming.responseEnd)],\n ];\n}\n\n/**\n * A function that determines whether to attach tracing headers to a request.\n * We only export this function for testing purposes.\n */\nfunction shouldAttachHeaders(\n targetUrl,\n tracePropagationTargets,\n) {\n // window.location.href not being defined is an edge case in the browser but we need to handle it.\n // Potentially dangerous situations where it may not be defined: Browser Extensions, Web Workers, patching of the location obj\n const href = WINDOW.location && WINDOW.location.href;\n\n if (!href) {\n // If there is no window.location.origin, we default to only attaching tracing headers to relative requests, i.e. ones that start with `/`\n // BIG DISCLAIMER: Users can call URLs with a double slash (fetch(\"//example.com/api\")), this is a shorthand for \"send to the same protocol\",\n // so we need a to exclude those requests, because they might be cross origin.\n const isRelativeSameOriginRequest = !!targetUrl.match(/^\\/(?!\\/)/);\n if (!tracePropagationTargets) {\n return isRelativeSameOriginRequest;\n } else {\n return stringMatchesSomePattern(targetUrl, tracePropagationTargets);\n }\n } else {\n let resolvedUrl;\n let currentOrigin;\n\n // URL parsing may fail, we default to not attaching trace headers in that case.\n try {\n resolvedUrl = new URL(targetUrl, href);\n currentOrigin = new URL(href).origin;\n } catch (e) {\n return false;\n }\n\n const isSameOriginRequest = resolvedUrl.origin === currentOrigin;\n if (!tracePropagationTargets) {\n return isSameOriginRequest;\n } else {\n return (\n stringMatchesSomePattern(resolvedUrl.toString(), tracePropagationTargets) ||\n (isSameOriginRequest && stringMatchesSomePattern(resolvedUrl.pathname, tracePropagationTargets))\n );\n }\n }\n}\n\n/**\n * Create and track xhr request spans\n *\n * @returns Span if a span was created, otherwise void.\n */\nfunction xhrCallback(\n handlerData,\n shouldCreateSpan,\n shouldAttachHeaders,\n spans,\n) {\n const xhr = handlerData.xhr;\n const sentryXhrData = xhr && xhr[SENTRY_XHR_DATA_KEY];\n\n if (!xhr || xhr.__sentry_own_request__ || !sentryXhrData) {\n return undefined;\n }\n\n const shouldCreateSpanResult = hasTracingEnabled() && shouldCreateSpan(sentryXhrData.url);\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp && shouldCreateSpanResult) {\n const spanId = xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span && sentryXhrData.status_code !== undefined) {\n setHttpStatus(span, sentryXhrData.status_code);\n span.end();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return undefined;\n }\n\n const fullUrl = getFullURL(sentryXhrData.url);\n const host = fullUrl ? parseUrl(fullUrl).host : undefined;\n\n const hasParent = !!getActiveSpan();\n\n const span =\n shouldCreateSpanResult && hasParent\n ? startInactiveSpan({\n name: `${sentryXhrData.method} ${sentryXhrData.url}`,\n attributes: {\n type: 'xhr',\n 'http.method': sentryXhrData.method,\n 'http.url': fullUrl,\n url: sentryXhrData.url,\n 'server.address': host,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.browser',\n [SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'http.client',\n },\n })\n : new SentryNonRecordingSpan();\n\n xhr.__sentry_xhr_span_id__ = span.spanContext().spanId;\n spans[xhr.__sentry_xhr_span_id__] = span;\n\n if (shouldAttachHeaders(sentryXhrData.url)) {\n addTracingHeadersToXhrRequest(\n xhr,\n // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n // we do not want to use the span as base for the trace headers,\n // which means that the headers will be generated from the scope and the sampling decision is deferred\n hasTracingEnabled() && hasParent ? span : undefined,\n );\n }\n\n return span;\n}\n\nfunction addTracingHeadersToXhrRequest(xhr, span) {\n const { 'sentry-trace': sentryTrace, baggage } = getTraceData({ span });\n\n if (sentryTrace) {\n setHeaderOnXhr(xhr, sentryTrace, baggage);\n }\n}\n\nfunction setHeaderOnXhr(\n xhr,\n sentryTraceHeader,\n sentryBaggageHeader,\n) {\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader('sentry-trace', sentryTraceHeader);\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 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n xhr.setRequestHeader('baggage', sentryBaggageHeader);\n }\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n}\n\nfunction getFullURL(url) {\n try {\n // By adding a base URL to new URL(), this will also work for relative urls\n // If `url` is a full URL, the base URL is ignored anyhow\n const parsed = new URL(url, WINDOW.location.origin);\n return parsed.href;\n } catch (e2) {\n return undefined;\n }\n}\n\nexport { defaultRequestInstrumentationOptions, extractNetworkProtocol, instrumentOutgoingRequests, shouldAttachHeaders, xhrCallback };\n","import { startTrackingWebVitals, startTrackingINP, startTrackingLongAnimationFrames, startTrackingLongTasks, startTrackingInteractions, addHistoryInstrumentationHandler, registerInpInteractionListener, addPerformanceEntries } from '@sentry-internal/browser-utils';\nimport { TRACING_DEFAULTS, registerSpanErrorInstrumentation, GLOBAL_OBJ, getClient, propagationContextFromHeaders, getCurrentScope, spanToJSON, getRootSpan, spanIsSampled, getDynamicSamplingContextFromSpan, browserPerformanceTimeOrigin, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getActiveSpan, getIsolationScope, generateTraceId, getDomElement, startIdleSpan, logger, SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\nimport { registerBackgroundTabDetection } from './backgroundtab.js';\nimport { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './request.js';\n\n/* eslint-disable max-lines */\n\nconst BROWSER_TRACING_INTEGRATION_ID = 'BrowserTracing';\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n ...TRACING_DEFAULTS,\n instrumentNavigation: true,\n instrumentPageLoad: true,\n markBackgroundSpan: true,\n enableLongTask: true,\n enableLongAnimationFrame: true,\n enableInp: 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.\n *\n * We explicitly export the proper type here, as this has to be extended in some cases.\n */\nconst browserTracingIntegration = ((_options = {}) => {\n registerSpanErrorInstrumentation();\n\n const {\n enableInp,\n enableLongTask,\n enableLongAnimationFrame,\n _experiments: { enableInteractions, enableStandaloneClsSpans },\n beforeStartSpan,\n idleTimeout,\n finalTimeout,\n childSpanTimeout,\n markBackgroundSpan,\n traceFetch,\n traceXHR,\n trackFetchStreamPerformance,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n instrumentPageLoad,\n instrumentNavigation,\n } = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n };\n\n const _collectWebVitals = startTrackingWebVitals({ recordClsStandaloneSpans: enableStandaloneClsSpans || false });\n\n if (enableInp) {\n startTrackingINP();\n }\n\n if (\n enableLongAnimationFrame &&\n GLOBAL_OBJ.PerformanceObserver &&\n PerformanceObserver.supportedEntryTypes &&\n PerformanceObserver.supportedEntryTypes.includes('long-animation-frame')\n ) {\n startTrackingLongAnimationFrames();\n } else if (enableLongTask) {\n startTrackingLongTasks();\n }\n\n if (enableInteractions) {\n startTrackingInteractions();\n }\n\n const latestRoute = {\n name: undefined,\n source: undefined,\n };\n\n /** Create routing idle transaction. */\n function _createRouteSpan(client, startSpanOptions) {\n const isPageloadTransaction = startSpanOptions.op === 'pageload';\n\n const finalStartSpanOptions = beforeStartSpan\n ? beforeStartSpan(startSpanOptions)\n : startSpanOptions;\n\n const attributes = finalStartSpanOptions.attributes || {};\n\n // If `finalStartSpanOptions.name` is different than `startSpanOptions.name`\n // it is because `beforeStartSpan` set a custom name. Therefore we set the source to 'custom'.\n if (startSpanOptions.name !== finalStartSpanOptions.name) {\n attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] = 'custom';\n finalStartSpanOptions.attributes = attributes;\n }\n\n latestRoute.name = finalStartSpanOptions.name;\n latestRoute.source = attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n\n const idleSpan = startIdleSpan(finalStartSpanOptions, {\n idleTimeout,\n finalTimeout,\n childSpanTimeout,\n // should wait for finish signal if it's a pageload transaction\n disableAutoFinish: isPageloadTransaction,\n beforeSpanEnd: span => {\n _collectWebVitals();\n addPerformanceEntries(span, { recordClsOnPageloadSpan: !enableStandaloneClsSpans });\n },\n });\n\n function emitFinish() {\n if (['interactive', 'complete'].includes(WINDOW.document.readyState)) {\n client.emit('idleSpanEnableAutoFinish', idleSpan);\n }\n }\n\n if (isPageloadTransaction && WINDOW.document) {\n WINDOW.document.addEventListener('readystatechange', () => {\n emitFinish();\n });\n\n emitFinish();\n }\n\n return idleSpan;\n }\n\n return {\n name: BROWSER_TRACING_INTEGRATION_ID,\n afterAllSetup(client) {\n let activeSpan;\n let startingUrl = WINDOW.location && WINDOW.location.href;\n\n function maybeEndActiveSpan() {\n if (activeSpan && !spanToJSON(activeSpan).timestamp) {\n DEBUG_BUILD && logger.log(`[Tracing] Finishing current active span with op: ${spanToJSON(activeSpan).op}`);\n // If there's an open active span, we need to finish it before creating an new one.\n activeSpan.end();\n }\n }\n\n client.on('startNavigationSpan', startSpanOptions => {\n if (getClient() !== client) {\n return;\n }\n\n maybeEndActiveSpan();\n\n activeSpan = _createRouteSpan(client, {\n op: 'navigation',\n ...startSpanOptions,\n });\n });\n\n client.on('startPageLoadSpan', (startSpanOptions, traceOptions = {}) => {\n if (getClient() !== client) {\n return;\n }\n maybeEndActiveSpan();\n\n const sentryTrace = traceOptions.sentryTrace || getMetaContent('sentry-trace');\n const baggage = traceOptions.baggage || getMetaContent('baggage');\n\n const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n getCurrentScope().setPropagationContext(propagationContext);\n\n activeSpan = _createRouteSpan(client, {\n op: 'pageload',\n ...startSpanOptions,\n });\n });\n\n // A trace should to stay the consistent over the entire time span of one route.\n // Therefore, when the initial pageload or navigation root span ends, we update the\n // scope's propagation context to keep span-specific attributes like the `sampled` decision and\n // the dynamic sampling context valid, even after the root span has ended.\n // This ensures that the trace data is consistent for the entire duration of the route.\n client.on('spanEnd', span => {\n const op = spanToJSON(span).op;\n if (span !== getRootSpan(span) || (op !== 'navigation' && op !== 'pageload')) {\n return;\n }\n\n const scope = getCurrentScope();\n const oldPropagationContext = scope.getPropagationContext();\n\n scope.setPropagationContext({\n ...oldPropagationContext,\n sampled: oldPropagationContext.sampled !== undefined ? oldPropagationContext.sampled : spanIsSampled(span),\n dsc: oldPropagationContext.dsc || getDynamicSamplingContextFromSpan(span),\n });\n });\n\n if (WINDOW.location) {\n if (instrumentPageLoad) {\n startBrowserTracingPageLoadSpan(client, {\n name: WINDOW.location.pathname,\n // pageload should always start at timeOrigin (and needs to be in s, not ms)\n startTime: browserPerformanceTimeOrigin ? browserPerformanceTimeOrigin / 1000 : undefined,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.pageload.browser',\n },\n });\n }\n\n if (instrumentNavigation) {\n addHistoryInstrumentationHandler(({ to, from }) => {\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 startBrowserTracingNavigationSpan(client, {\n name: WINDOW.location.pathname,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.navigation.browser',\n },\n });\n }\n });\n }\n }\n\n if (markBackgroundSpan) {\n registerBackgroundTabDetection();\n }\n\n if (enableInteractions) {\n registerInteractionListener(idleTimeout, finalTimeout, childSpanTimeout, latestRoute);\n }\n\n if (enableInp) {\n registerInpInteractionListener();\n }\n\n instrumentOutgoingRequests(client, {\n traceFetch,\n traceXHR,\n trackFetchStreamPerformance,\n tracePropagationTargets: client.getOptions().tracePropagationTargets,\n shouldCreateSpanForRequest,\n enableHTTPTimings,\n });\n },\n };\n}) ;\n\n/**\n * Manually start a page load span.\n * This will only do something if a browser tracing integration integration has been setup.\n *\n * If you provide a custom `traceOptions` object, it will be used to continue the trace\n * instead of the default behavior, which is to look it up on the tags.\n */\nfunction startBrowserTracingPageLoadSpan(\n client,\n spanOptions,\n traceOptions,\n) {\n client.emit('startPageLoadSpan', spanOptions, traceOptions);\n\n getCurrentScope().setTransactionName(spanOptions.name);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'pageload' ? span : undefined;\n}\n\n/**\n * Manually start a navigation span.\n * This will only do something if a browser tracing integration has been setup.\n */\nfunction startBrowserTracingNavigationSpan(client, spanOptions) {\n getIsolationScope().setPropagationContext({ traceId: generateTraceId() });\n getCurrentScope().setPropagationContext({ traceId: generateTraceId() });\n\n client.emit('startNavigationSpan', spanOptions);\n\n getCurrentScope().setTransactionName(spanOptions.name);\n\n const span = getActiveSpan();\n const op = span && spanToJSON(span).op;\n return op === 'navigation' ? span : undefined;\n}\n\n/** Returns the value of a meta tag */\nfunction getMetaContent(metaName) {\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') : undefined;\n}\n\n/** Start listener for interaction transactions */\nfunction registerInteractionListener(\n idleTimeout,\n finalTimeout,\n childSpanTimeout,\n latestRoute,\n) {\n let inflightInteractionSpan;\n const registerInteractionTransaction = () => {\n const op = 'ui.action.click';\n\n const activeSpan = getActiveSpan();\n const rootSpan = activeSpan && getRootSpan(activeSpan);\n if (rootSpan) {\n const currentRootSpanOp = spanToJSON(rootSpan).op;\n if (['navigation', 'pageload'].includes(currentRootSpanOp )) {\n DEBUG_BUILD &&\n logger.warn(`[Tracing] Did not create ${op} span because a pageload or navigation span is in progress.`);\n return undefined;\n }\n }\n\n if (inflightInteractionSpan) {\n inflightInteractionSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, 'interactionInterrupted');\n inflightInteractionSpan.end();\n inflightInteractionSpan = undefined;\n }\n\n if (!latestRoute.name) {\n DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n return undefined;\n }\n\n inflightInteractionSpan = startIdleSpan(\n {\n name: latestRoute.name,\n op,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: latestRoute.source || 'url',\n },\n },\n {\n idleTimeout,\n finalTimeout,\n childSpanTimeout,\n },\n );\n };\n\n if (WINDOW.document) {\n addEventListener('click', registerInteractionTransaction, { once: false, capture: true });\n }\n}\n\nexport { BROWSER_TRACING_INTEGRATION_ID, browserTracingIntegration, getMetaContent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan };\n","import { getClient } from './currentScopes.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { logger } from './utils-hoist/logger.js';\n\nconst installedIntegrations = [];\n\n/** Map of integrations assigned to a client */\n\n/**\n * Remove duplicates from the given array, preferring the last instance of any duplicate. Not guaranteed to\n * preserve the order of integrations in the array.\n *\n * @private\n */\nfunction filterDuplicates(integrations) {\n const integrationsByName = {};\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 */\nfunction getIntegrationsToSetup(options) {\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;\n\n if (Array.isArray(userIntegrations)) {\n integrations = [...defaultIntegrations, ...userIntegrations];\n } else if (typeof userIntegrations === 'function') {\n const resolvedUserIntegrations = userIntegrations(defaultIntegrations);\n integrations = Array.isArray(resolvedUserIntegrations) ? resolvedUserIntegrations : [resolvedUserIntegrations];\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 */\nfunction setupIntegrations(client, integrations) {\n const integrationIndex = {};\n\n integrations.forEach(integration => {\n // guard against empty provided integrations\n if (integration) {\n setupIntegration(client, integration, integrationIndex);\n }\n });\n\n return integrationIndex;\n}\n\n/**\n * Execute the `afterAllSetup` hooks of the given integrations.\n */\nfunction afterSetupIntegrations(client, integrations) {\n for (const integration of integrations) {\n // guard against empty provided integrations\n if (integration && integration.afterAllSetup) {\n integration.afterAllSetup(client);\n }\n }\n}\n\n/** Setup a single integration. */\nfunction setupIntegration(client, integration, integrationIndex) {\n if (integrationIndex[integration.name]) {\n DEBUG_BUILD && logger.log(`Integration skipped because it was already installed: ${integration.name}`);\n return;\n }\n integrationIndex[integration.name] = integration;\n\n // `setupOnce` is only called the first time\n if (installedIntegrations.indexOf(integration.name) === -1 && typeof integration.setupOnce === 'function') {\n integration.setupOnce();\n installedIntegrations.push(integration.name);\n }\n\n // `setup` is run for each client\n if (integration.setup && typeof integration.setup === 'function') {\n integration.setup(client);\n }\n\n if (typeof integration.preprocessEvent === 'function') {\n const callback = integration.preprocessEvent.bind(integration) ;\n client.on('preprocessEvent', (event, hint) => callback(event, hint, client));\n }\n\n if (typeof integration.processEvent === 'function') {\n const callback = integration.processEvent.bind(integration) ;\n\n const processor = Object.assign((event, hint) => callback(event, hint, client), {\n id: integration.name,\n });\n\n client.addEventProcessor(processor);\n }\n\n DEBUG_BUILD && logger.log(`Integration installed: ${integration.name}`);\n}\n\n/** Add an integration to the current scope's client. */\nfunction addIntegration(integration) {\n const client = getClient();\n\n if (!client) {\n DEBUG_BUILD && logger.warn(`Cannot add integration \"${integration.name}\" because no SDK Client is available.`);\n return;\n }\n\n client.addIntegration(integration);\n}\n\n/**\n * Define an integration function that can be used to create an integration instance.\n * Note that this by design hides the implementation details of the integration, as they are considered internal.\n */\nfunction defineIntegration(fn) {\n return fn;\n}\n\nexport { addIntegration, afterSetupIntegrations, defineIntegration, getIntegrationsToSetup, installedIntegrations, setupIntegration, setupIntegrations };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { defineIntegration } from '../integration.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { getEventDescription } from '../utils-hoist/misc.js';\nimport { stringMatchesSomePattern } from '../utils-hoist/string.js';\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 = [\n /^Script error\\.?$/,\n /^Javascript error: Script error\\.? on line 0$/,\n /^ResizeObserver loop completed with undelivered notifications.$/, // The browser logs this when a ResizeObserver handler takes a bit longer. Usually this is not an actual issue though. It indicates slowness.\n /^Cannot redefine property: googletag$/, // This is thrown when google tag manager is used in combination with an ad blocker\n \"undefined is not an object (evaluating 'a.L')\", // Random error that happens but not actionable or noticeable to end-users.\n 'can\\'t redefine non-configurable property \"solana\"', // Probably a browser extension or custom browser (Brave) throwing this error\n \"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)\", // Error thrown by GTM, seemingly not affecting end-users\n \"Can't find variable: _AutofillCallbackHandler\", // Unactionable error in instagram webview https://developers.facebook.com/community/threads/320013549791141/\n];\n\n/** Options for the InboundFilters integration */\n\nconst INTEGRATION_NAME = 'InboundFilters';\nconst _inboundFiltersIntegration = ((options = {}) => {\n return {\n name: INTEGRATION_NAME,\n processEvent(event, _hint, client) {\n const clientOptions = client.getOptions();\n const mergedOptions = _mergeOptions(options, clientOptions);\n return _shouldDropEvent(event, mergedOptions) ? null : event;\n },\n };\n}) ;\n\nconst inboundFiltersIntegration = defineIntegration(_inboundFiltersIntegration);\n\nfunction _mergeOptions(\n internalOptions = {},\n clientOptions = {},\n) {\n return {\n allowUrls: [...(internalOptions.allowUrls || []), ...(clientOptions.allowUrls || [])],\n denyUrls: [...(internalOptions.denyUrls || []), ...(clientOptions.denyUrls || [])],\n ignoreErrors: [\n ...(internalOptions.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...(internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS),\n ],\n ignoreTransactions: [...(internalOptions.ignoreTransactions || []), ...(clientOptions.ignoreTransactions || [])],\n ignoreInternal: internalOptions.ignoreInternal !== undefined ? internalOptions.ignoreInternal : true,\n };\n}\n\nfunction _shouldDropEvent(event, options) {\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 (_isUselessError(event)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to not having an error message, error type or stacktrace.\\nEvent: ${getEventDescription(\n event,\n )}`,\n );\n return true;\n }\n if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n DEBUG_BUILD &&\n logger.warn(\n `Event dropped due to being matched by \\`ignoreTransactions\\` 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, ignoreErrors) {\n // If event.type, this is not an error\n if (event.type || !ignoreErrors || !ignoreErrors.length) {\n return false;\n }\n\n return _getPossibleEventMessages(event).some(message => stringMatchesSomePattern(message, ignoreErrors));\n}\n\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n if (event.type !== 'transaction' || !ignoreTransactions || !ignoreTransactions.length) {\n return false;\n }\n\n const name = event.transaction;\n return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\n\nfunction _isDeniedUrl(event, denyUrls) {\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, allowUrls) {\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) {\n const possibleMessages = [];\n\n if (event.message) {\n possibleMessages.push(event.message);\n }\n\n let lastException;\n try {\n // @ts-expect-error Try catching to save bundle size\n lastException = event.exception.values[event.exception.values.length - 1];\n } catch (e) {\n // try catching to save bundle size checking existence of variables\n }\n\n if (lastException) {\n if (lastException.value) {\n possibleMessages.push(lastException.value);\n if (lastException.type) {\n possibleMessages.push(`${lastException.type}: ${lastException.value}`);\n }\n }\n }\n\n return possibleMessages;\n}\n\nfunction _isSentryError(event) {\n try {\n // @ts-expect-error can't be a sentry error if undefined\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n return false;\n}\n\nfunction _getLastValidUrl(frames = []) {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n}\n\nfunction _getEventFilterUrl(event) {\n try {\n let frames;\n try {\n // @ts-expect-error 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\nfunction _isUselessError(event) {\n if (event.type) {\n // event is not an error\n return false;\n }\n\n // We only want to consider events for dropping that actually have recorded exception values.\n if (!event.exception || !event.exception.values || event.exception.values.length === 0) {\n return false;\n }\n\n return (\n // No top-level message\n !event.message &&\n // There are no exception values that have a stacktrace, a non-generic-Error type or value\n !event.exception.values.some(value => value.stacktrace || (value.type && value.type !== 'Error') || value.value)\n );\n}\n\nexport { inboundFiltersIntegration };\n","import { getClient } from '../currentScopes.js';\nimport { defineIntegration } from '../integration.js';\nimport { getOriginalFunction } from '../utils-hoist/object.js';\n\nlet originalFunctionToString;\n\nconst INTEGRATION_NAME = 'FunctionToString';\n\nconst SETUP_CLIENTS = new WeakMap();\n\nconst _functionToStringIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // intrinsics (like Function.prototype) might be immutable in some environments\n // e.g. Node with --frozen-intrinsics, XS (an embedded JavaScript engine) or SES (a JavaScript proposal)\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function ( ...args) {\n const originalFunction = getOriginalFunction(this);\n const context =\n SETUP_CLIENTS.has(getClient() ) && originalFunction !== undefined ? originalFunction : this;\n return originalFunctionToString.apply(context, args);\n };\n } catch (e) {\n // ignore errors here, just don't patch this\n }\n },\n setup(client) {\n SETUP_CLIENTS.set(client, true);\n },\n };\n}) ;\n\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * ```js\n * Sentry.init({\n * integrations: [\n * functionToStringIntegration(),\n * ],\n * });\n * ```\n */\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\n\nexport { functionToStringIntegration };\n","import { defineIntegration } from '../integration.js';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { getFramesFromEvent } from '../utils-hoist/stacktrace.js';\n\nconst INTEGRATION_NAME = 'Dedupe';\n\nconst _dedupeIntegration = (() => {\n let previousEvent;\n\n return {\n name: INTEGRATION_NAME,\n processEvent(currentEvent) {\n // We want to ignore any non-error type events, e.g. transactions or replays\n // These should never be deduped, and also not be compared against as _previousEvent.\n if (currentEvent.type) {\n return currentEvent;\n }\n\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, previousEvent)) {\n DEBUG_BUILD && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n return (previousEvent = currentEvent);\n },\n };\n}) ;\n\n/**\n * Deduplication filter.\n */\nconst dedupeIntegration = defineIntegration(_dedupeIntegration);\n\n/** only exported for tests. */\nfunction _shouldDropEvent(currentEvent, previousEvent) {\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\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\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\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\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\nfunction _isSameStacktrace(currentEvent, previousEvent) {\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 ;\n previousFrames = previousFrames ;\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 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const frameA = previousFrames[i];\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\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\nfunction _isSameFingerprint(currentEvent, previousEvent) {\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 ;\n previousFingerprint = previousFingerprint ;\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\nfunction _getExceptionFromEvent(event) {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\nexport { _shouldDropEvent, dedupeIntegration };\n","import { makeDsn, dsnToString } from './utils-hoist/dsn.js';\n\nconst SENTRY_API_VERSION = '7';\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn) {\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) {\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, sdkInfo) {\n const params = {\n sentry_version: SENTRY_API_VERSION,\n };\n\n if (dsn.publicKey) {\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n params.sentry_key = dsn.publicKey;\n }\n\n if (sdkInfo) {\n params.sentry_client = `${sdkInfo.name}/${sdkInfo.version}`;\n }\n\n return new URLSearchParams(params).toString();\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 */\nfunction getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel, sdkInfo) {\n return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\n\n/** Returns the url to the report dialog endpoint. */\nfunction getReportDialogEndpoint(\n dsnLike,\n dialogOptions\n\n,\n) {\n const dsn = makeDsn(dsnLike);\n if (!dsn) {\n return '';\n }\n\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 === 'onClose') {\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] )}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint };\n","/** An error emitted by Sentry SDKs and related utilities. */\nclass SentryError extends Error {\n /** Display name of this error instance. */\n\n constructor( message, logLevel = 'warn') {\n super(message);this.message = message;\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\nexport { SentryError };\n","import { getEnvelopeEndpointWithUrlEncodedAuth } from './api.js';\nimport { getTraceContextFromScope, getCurrentScope, getIsolationScope } from './currentScopes.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from './integration.js';\nimport { updateSession } from './session.js';\nimport { getDynamicSamplingContextFromScope } from './tracing/dynamicSamplingContext.js';\nimport { createClientReportEnvelope } from './utils-hoist/clientreport.js';\nimport { makeDsn, dsnToString } from './utils-hoist/dsn.js';\nimport { addItemToEnvelope, createAttachmentEnvelopeItem } from './utils-hoist/envelope.js';\nimport { SentryError } from './utils-hoist/error.js';\nimport { isPrimitive, isThenable, isPlainObject, isParameterizedString } from './utils-hoist/is.js';\nimport { logger, consoleSandbox } from './utils-hoist/logger.js';\nimport { uuid4, checkOrSetAlreadyCaught } from './utils-hoist/misc.js';\nimport { resolvedSyncPromise, SyncPromise, rejectedSyncPromise } from './utils-hoist/syncpromise.js';\nimport { parseSampleRate } from './utils/parseSampleRate.js';\nimport { prepareEvent } from './utils/prepareEvent.js';\nimport { showSpanDropWarning } from './utils/spanUtils.js';\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 {\n * public constructor(options: NodeOptions) {\n * super(options);\n * }\n *\n * // ...\n * }\n */\nclass BaseClient {\n /** Options passed to the SDK. */\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n\n /** Array of set up integrations. */\n\n /** Number of calls being processed */\n\n /** Holds flushable */\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n\n /**\n * Initializes this client instance.\n *\n * @param options Options for the client.\n */\n constructor(options) {\n this._options = options;\n this._integrations = {};\n this._numProcessing = 0;\n this._outcomes = {};\n this._hooks = {};\n this._eventProcessors = [];\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n } else {\n DEBUG_BUILD && logger.warn('No DSN provided, client will not send events.');\n }\n\n if (this._dsn) {\n const url = getEnvelopeEndpointWithUrlEncodedAuth(\n this._dsn,\n options.tunnel,\n options._metadata ? options._metadata.sdk : undefined,\n );\n this._transport = options.transport({\n tunnel: this._options.tunnel,\n recordDroppedEvent: this.recordDroppedEvent.bind(this),\n ...options.transportOptions,\n url,\n });\n }\n\n // TODO(v9): Remove this deprecation warning\n const tracingOptions = ['enableTracing', 'tracesSampleRate', 'tracesSampler'] ;\n const undefinedOption = tracingOptions.find(option => option in options && options[option] == undefined);\n if (undefinedOption) {\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.warn(\n `[Sentry] Deprecation warning: \\`${undefinedOption}\\` is set to undefined, which leads to tracing being enabled. In v9, a value of \\`undefined\\` will result in tracing being disabled.`,\n );\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n captureException(exception, hint, scope) {\n const eventId = uuid4();\n\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return eventId;\n }\n\n const hintWithEventId = {\n event_id: eventId,\n ...hint,\n };\n\n this._process(\n this.eventFromException(exception, hintWithEventId).then(event =>\n this._captureEvent(event, hintWithEventId, scope),\n ),\n );\n\n return hintWithEventId.event_id;\n }\n\n /**\n * @inheritDoc\n */\n captureMessage(\n message,\n level,\n hint,\n currentScope,\n ) {\n const hintWithEventId = {\n event_id: uuid4(),\n ...hint,\n };\n\n const eventMessage = isParameterizedString(message) ? message : String(message);\n\n const promisedEvent = isPrimitive(message)\n ? this.eventFromMessage(eventMessage, level, hintWithEventId)\n : this.eventFromException(message, hintWithEventId);\n\n this._process(promisedEvent.then(event => this._captureEvent(event, hintWithEventId, currentScope)));\n\n return hintWithEventId.event_id;\n }\n\n /**\n * @inheritDoc\n */\n captureEvent(event, hint, currentScope) {\n const eventId = uuid4();\n\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 eventId;\n }\n\n const hintWithEventId = {\n event_id: eventId,\n ...hint,\n };\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n\n this._process(this._captureEvent(event, hintWithEventId, capturedSpanScope || currentScope));\n\n return hintWithEventId.event_id;\n }\n\n /**\n * @inheritDoc\n */\n captureSession(session) {\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 getDsn() {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n getOptions() {\n return this._options;\n }\n\n /**\n * @see SdkMetadata\n *\n * @return The metadata of the SDK\n */\n getSdkMetadata() {\n return this._options._metadata;\n }\n\n /**\n * @inheritDoc\n */\n getTransport() {\n return this._transport;\n }\n\n /**\n * @inheritDoc\n */\n flush(timeout) {\n const transport = this._transport;\n if (transport) {\n this.emit('flush');\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 close(timeout) {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n this.emit('close');\n return result;\n });\n }\n\n /** Get all installed event processors. */\n getEventProcessors() {\n return this._eventProcessors;\n }\n\n /** @inheritDoc */\n addEventProcessor(eventProcessor) {\n this._eventProcessors.push(eventProcessor);\n }\n\n /** @inheritdoc */\n init() {\n if (\n this._isEnabled() ||\n // Force integrations to be setup even if no DSN was set when we have\n // Spotlight enabled. This is particularly important for browser as we\n // don't support the `spotlight` option there and rely on the users\n // adding the `spotlightBrowserIntegration()` to their integrations which\n // wouldn't get initialized with the check below when there's no DSN set.\n this._options.integrations.some(({ name }) => name.startsWith('Spotlight'))\n ) {\n this._setupIntegrations();\n }\n }\n\n /**\n * Gets an installed integration by its name.\n *\n * @returns The installed integration or `undefined` if no integration with that `name` was installed.\n */\n getIntegrationByName(integrationName) {\n return this._integrations[integrationName] ;\n }\n\n /**\n * @inheritDoc\n */\n addIntegration(integration) {\n const isAlreadyInstalled = this._integrations[integration.name];\n\n // This hook takes care of only installing if not already installed\n setupIntegration(this, integration, this._integrations);\n // Here we need to check manually to make sure to not run this multiple times\n if (!isAlreadyInstalled) {\n afterSetupIntegrations(this, [integration]);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendEvent(event, hint = {}) {\n this.emit('beforeSendEvent', event, hint);\n\n let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n\n for (const attachment of hint.attachments || []) {\n env = addItemToEnvelope(env, createAttachmentEnvelopeItem(attachment));\n }\n\n const promise = this.sendEnvelope(env);\n if (promise) {\n promise.then(sendResponse => this.emit('afterSendEvent', event, sendResponse), null);\n }\n }\n\n /**\n * @inheritDoc\n */\n sendSession(session) {\n const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n\n // sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.sendEnvelope(env);\n }\n\n /**\n * @inheritDoc\n */\n recordDroppedEvent(reason, category, eventOrCount) {\n if (this._options.sendClientReports) {\n // TODO v9: We do not need the `event` passed as third argument anymore, and can possibly remove this overload\n // If event is passed as third argument, we assume this is a count of 1\n const count = typeof eventOrCount === 'number' ? eventOrCount : 1;\n\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>>>`\n // With typescript 4.1 we could even use template literal types\n const key = `${reason}:${category}`;\n DEBUG_BUILD && logger.log(`Recording outcome: \"${key}\"${count > 1 ? ` (${count} times)` : ''}`);\n this._outcomes[key] = (this._outcomes[key] || 0) + count;\n }\n }\n\n // Keep on() & emit() signatures in sync with types' client.ts interface\n /* eslint-disable @typescript-eslint/unified-signatures */\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n on(hook, callback) {\n const hooks = (this._hooks[hook] = this._hooks[hook] || []);\n\n // @ts-expect-error We assume the types are correct\n hooks.push(callback);\n\n // This function returns a callback execution handler that, when invoked,\n // deregisters a callback. This is crucial for managing instances where callbacks\n // need to be unregistered to prevent self-referencing in callback closures,\n // ensuring proper garbage collection.\n return () => {\n // @ts-expect-error We assume the types are correct\n const cbIndex = hooks.indexOf(callback);\n if (cbIndex > -1) {\n hooks.splice(cbIndex, 1);\n }\n };\n }\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n emit(hook, ...rest) {\n const callbacks = this._hooks[hook];\n if (callbacks) {\n callbacks.forEach(callback => callback(...rest));\n }\n }\n\n /**\n * @inheritdoc\n */\n sendEnvelope(envelope) {\n this.emit('beforeEnvelope', envelope);\n\n if (this._isEnabled() && this._transport) {\n return this._transport.send(envelope).then(null, reason => {\n DEBUG_BUILD && logger.error('Error while sending envelope:', reason);\n return reason;\n });\n }\n\n DEBUG_BUILD && logger.error('Transport disabled');\n\n return resolvedSyncPromise({});\n }\n\n /* eslint-enable @typescript-eslint/unified-signatures */\n\n /** Setup integrations for this client. */\n _setupIntegrations() {\n const { integrations } = this._options;\n this._integrations = setupIntegrations(this, integrations);\n afterSetupIntegrations(this, integrations);\n }\n\n /** Updates existing session based on the provided event */\n _updateSessionFromEvent(session, event) {\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 _isClientDoneProcessing(timeout) {\n return new SyncPromise(resolve => {\n let ticked = 0;\n const tick = 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 transport is present. */\n _isEnabled() {\n return this.getOptions().enabled !== false && this._transport !== 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 currentScope A scope containing event metadata.\n * @returns A new event with more information.\n */\n _prepareEvent(\n event,\n hint,\n currentScope = getCurrentScope(),\n isolationScope = getIsolationScope(),\n ) {\n const options = this.getOptions();\n const integrations = Object.keys(this._integrations);\n if (!hint.integrations && integrations.length > 0) {\n hint.integrations = integrations;\n }\n\n this.emit('preprocessEvent', event, hint);\n\n if (!event.type) {\n isolationScope.setLastEventId(event.event_id || hint.event_id);\n }\n\n return prepareEvent(options, event, hint, currentScope, this, isolationScope).then(evt => {\n if (evt === null) {\n return evt;\n }\n\n evt.contexts = {\n trace: getTraceContextFromScope(currentScope),\n ...evt.contexts,\n };\n\n const dynamicSamplingContext = getDynamicSamplingContextFromScope(this, currentScope);\n\n evt.sdkProcessingMetadata = {\n dynamicSamplingContext,\n ...evt.sdkProcessingMetadata,\n };\n\n return evt;\n });\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 _captureEvent(event, hint = {}, scope) {\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 ;\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 currentScope 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 _processEvent(event, hint, currentScope) {\n const options = this.getOptions();\n const { sampleRate } = options;\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 const parsedSampleRate = typeof sampleRate === 'undefined' ? undefined : parseSampleRate(sampleRate);\n if (isError && typeof parsedSampleRate === 'number' && Math.random() > parsedSampleRate) {\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 const dataCategory = eventType === 'replay_event' ? 'replay' : eventType;\n\n const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n\n return this._prepareEvent(event, hint, currentScope, capturedSpanIsolationScope)\n .then(prepared => {\n if (prepared === null) {\n this.recordDroppedEvent('event_processor', dataCategory, event);\n throw new SentryError('An event processor returned `null`, will not send event.', 'log');\n }\n\n const isInternalException = hint.data && (hint.data ).__sentry__ === true;\n if (isInternalException) {\n return prepared;\n }\n\n const result = processBeforeSend(this, options, prepared, hint);\n return _validateBeforeSendResult(result, beforeSendLabel);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n this.recordDroppedEvent('before_send', dataCategory, event);\n if (isTransaction) {\n const spans = event.spans || [];\n // the transaction itself counts as one span, plus all the child spans that are added\n const spanCount = 1 + spans.length;\n this.recordDroppedEvent('before_send', 'span', spanCount);\n }\n throw new SentryError(`${beforeSendLabel} returned \\`null\\`, will not send event.`, 'log');\n }\n\n const session = currentScope && currentScope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n if (isTransaction) {\n const spanCountBefore =\n (processedEvent.sdkProcessingMetadata && processedEvent.sdkProcessingMetadata.spanCountBeforeProcessing) ||\n 0;\n const spanCountAfter = processedEvent.spans ? processedEvent.spans.length : 0;\n\n const droppedSpanCount = spanCountBefore - spanCountAfter;\n if (droppedSpanCount > 0) {\n this.recordDroppedEvent('before_send', 'span', droppedSpanCount);\n }\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 };\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,\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 _process(promise) {\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 * Clears outcomes on this client and returns them.\n */\n _clearOutcomes() {\n const outcomes = this._outcomes;\n this._outcomes = {};\n return Object.entries(outcomes).map(([key, quantity]) => {\n const [reason, category] = key.split(':') ;\n return {\n reason,\n category,\n quantity,\n };\n });\n }\n\n /**\n * Sends client reports as an envelope.\n */\n _flushOutcomes() {\n DEBUG_BUILD && logger.log('Flushing outcomes...');\n\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 // This is really the only place where we want to check for a DSN and only send outcomes then\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 envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n\n // sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.sendEnvelope(envelope);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\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,\n beforeSendLabel,\n) {\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 client,\n options,\n event,\n hint,\n) {\n const { beforeSend, beforeSendTransaction, beforeSendSpan } = options;\n\n if (isErrorEvent(event) && beforeSend) {\n return beforeSend(event, hint);\n }\n\n if (isTransactionEvent(event)) {\n if (event.spans && beforeSendSpan) {\n const processedSpans = [];\n for (const span of event.spans) {\n const processedSpan = beforeSendSpan(span);\n if (processedSpan) {\n processedSpans.push(processedSpan);\n } else {\n showSpanDropWarning();\n client.recordDroppedEvent('before_send', 'span');\n }\n }\n event.spans = processedSpans;\n }\n\n if (beforeSendTransaction) {\n if (event.spans) {\n // We store the # of spans before processing in SDK metadata,\n // so we can compare it afterwards to determine how many spans were dropped\n const spanCountBefore = event.spans.length;\n event.sdkProcessingMetadata = {\n ...event.sdkProcessingMetadata,\n spanCountBeforeProcessing: spanCountBefore,\n };\n }\n return beforeSendTransaction(event, hint);\n }\n }\n\n return event;\n}\n\nfunction isErrorEvent(event) {\n return event.type === undefined;\n}\n\nfunction isTransactionEvent(event) {\n return event.type === 'transaction';\n}\n\nexport { BaseClient };\n","import { createEnvelope } from './envelope.js';\nimport { dateTimestampInSeconds } from './time.js';\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 */\nfunction createClientReportEnvelope(\n discarded_events,\n dsn,\n timestamp,\n) {\n const clientReportItem = [\n { type: 'client_report' },\n {\n timestamp: timestamp || dateTimestampInSeconds(),\n discarded_events,\n },\n ];\n return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);\n}\n\nexport { createClientReportEnvelope };\n","import { SDK_VERSION } from '../utils-hoist/version.js';\n\n/**\n * A builder for the SDK metadata in the options for the SDK initialization.\n *\n * Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.\n * We don't extract it for bundle size reasons.\n * @see https://github.com/getsentry/sentry-javascript/pull/7404\n * @see https://github.com/getsentry/sentry-javascript/pull/4196\n *\n * If you make changes to this function consider updating the others as well.\n *\n * @param options SDK options object that gets mutated\n * @param names list of package names\n */\nfunction applySdkMetadata(options, name, names = [name], source = 'npm') {\n const metadata = options._metadata || {};\n\n if (!metadata.sdk) {\n metadata.sdk = {\n name: `sentry.javascript.${name}`,\n packages: names.map(name => ({\n name: `${source}:@sentry/${name}`,\n version: SDK_VERSION,\n })),\n version: SDK_VERSION,\n };\n }\n\n options._metadata = metadata;\n}\n\nexport { applySdkMetadata };\n","import { addExceptionMechanism, resolvedSyncPromise, isErrorEvent, isDOMError, isDOMException, addExceptionTypeValue, isError, isPlainObject, isEvent, isParameterizedString, getClient, normalizeToSize, extractExceptionKeysForMessage } from '@sentry/core';\n\n/**\n * This function creates an exception from a JavaScript Error\n */\nfunction exceptionFromError(stackParser, ex) {\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 = {\n type: extractType(ex),\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\nfunction eventFromPlainObject(\n stackParser,\n exception,\n syntheticException,\n isUnhandledRejection,\n) {\n const client = getClient();\n const normalizeDepth = client && client.getOptions().normalizeDepth;\n\n // If we can, we extract an exception from the object properties\n const errorFromProp = getErrorPropertyFromObject(exception);\n\n const extra = {\n __serialized__: normalizeToSize(exception, normalizeDepth),\n };\n\n if (errorFromProp) {\n return {\n exception: {\n values: [exceptionFromError(stackParser, errorFromProp)],\n },\n extra,\n };\n }\n\n const event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? 'UnhandledRejection' : 'Error',\n value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }),\n } ,\n ],\n },\n extra,\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 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values[0].stacktrace = { frames };\n }\n }\n\n return event;\n}\n\nfunction eventFromError(stackParser, ex) {\n return {\n exception: {\n values: [exceptionFromError(stackParser, ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nfunction parseStackFrames(\n stackParser,\n ex,\n) {\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 skipLines = getSkipFirstStackStringLines(ex);\n const framesToPop = getPopFirstTopFrames(ex);\n\n try {\n return stackParser(stacktrace, skipLines, framesToPop);\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\n/**\n * Certain known React errors contain links that would be falsely\n * parsed as frames. This function check for these errors and\n * returns number of the stack string lines to skip.\n */\nfunction getSkipFirstStackStringLines(ex) {\n if (ex && reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n\n return 0;\n}\n\n/**\n * If error has `framesToPop` property, it means that the\n * creator tells us the first x frames will be useless\n * and should be discarded. Typically error from wrapper function\n * which don't point to the actual location in the developer's code.\n *\n * Example: https://github.com/zertosh/invariant/blob/master/invariant.js#L46\n */\nfunction getPopFirstTopFrames(ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n return 0;\n}\n\n// https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Exception\n// @ts-expect-error - WebAssembly.Exception is a valid class\nfunction isWebAssemblyException(exception) {\n // Check for support\n // @ts-expect-error - WebAssembly.Exception is a valid class\n if (typeof WebAssembly !== 'undefined' && typeof WebAssembly.Exception !== 'undefined') {\n // @ts-expect-error - WebAssembly.Exception is a valid class\n return exception instanceof WebAssembly.Exception;\n } else {\n return false;\n }\n}\n\n/**\n * Extracts from errors what we use as the exception `type` in error events.\n *\n * Usually, this is the `name` property on Error objects but WASM errors need to be treated differently.\n */\nfunction extractType(ex) {\n const name = ex && ex.name;\n\n // The name for WebAssembly.Exception Errors needs to be extracted differently.\n // Context: https://github.com/getsentry/sentry-javascript/issues/13787\n if (!name && isWebAssemblyException(ex)) {\n // Emscripten sets array[type, message] to the \"message\" property on the WebAssembly.Exception object\n const hasTypeInMessage = ex.message && Array.isArray(ex.message) && ex.message.length == 2;\n return hasTypeInMessage ? ex.message[0] : 'WebAssembly.Exception';\n }\n\n return name;\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) {\n const message = ex && ex.message;\n\n if (!message) {\n return 'No error message';\n }\n\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n\n // Emscripten sets array[type, message] to the \"message\" property on the WebAssembly.Exception object\n if (isWebAssemblyException(ex) && Array.isArray(ex.message) && ex.message.length == 2) {\n return ex.message[1];\n }\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 */\nfunction eventFromException(\n stackParser,\n exception,\n hint,\n attachStacktrace,\n) {\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 */\nfunction eventFromMessage(\n stackParser,\n message,\n level = 'info',\n hint,\n attachStacktrace,\n) {\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 */\nfunction eventFromUnknownInput(\n stackParser,\n exception,\n syntheticException,\n attachStacktrace,\n isUnhandledRejection,\n) {\n let event;\n\n if (isErrorEvent(exception ) && (exception ).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception ;\n return eventFromError(stackParser, errorEvent.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) || isDOMException(exception )) {\n const domException = exception ;\n\n if ('stack' in (exception )) {\n event = eventFromError(stackParser, exception );\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 // eslint-disable-next-line deprecation/deprecation\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 ;\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 , syntheticException, attachStacktrace);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\nfunction eventFromString(\n stackParser,\n message,\n syntheticException,\n attachStacktrace,\n) {\n const event = {};\n\n if (attachStacktrace && syntheticException) {\n const frames = parseStackFrames(stackParser, syntheticException);\n if (frames.length) {\n event.exception = {\n values: [{ value: message, stacktrace: { frames } }],\n };\n }\n }\n\n if (isParameterizedString(message)) {\n const { __sentry_template_string__, __sentry_template_values__ } = message;\n\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__,\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nfunction getNonErrorObjectExceptionValue(\n exception,\n { isUnhandledRejection },\n) {\n const keys = extractExceptionKeysForMessage(exception);\n const captureType = isUnhandledRejection ? 'promise rejection' : 'exception';\n\n // Some ErrorEvent instances do not have an `error` property, which is why they are not handled before\n // We still want to try to get a decent message for these cases\n if (isErrorEvent(exception)) {\n return `Event \\`ErrorEvent\\` captured as ${captureType} with message \\`${exception.message}\\``;\n }\n\n if (isEvent(exception)) {\n const className = getObjectClassName(exception);\n return `Event \\`${className}\\` (type=${exception.type}) captured as ${captureType}`;\n }\n\n return `Object captured as ${captureType} with keys: ${keys}`;\n}\n\nfunction getObjectClassName(obj) {\n try {\n const prototype = Object.getPrototypeOf(obj);\n return prototype ? prototype.constructor.name : undefined;\n } catch (e) {\n // ignore errors here\n }\n}\n\n/** If a plain object has a property that is an `Error`, return this error. */\nfunction getErrorPropertyFromObject(obj) {\n for (const prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n const value = obj[prop];\n if (value instanceof Error) {\n return value;\n }\n }\n }\n\n return undefined;\n}\n\nexport { eventFromException, eventFromMessage, eventFromUnknownInput, exceptionFromError, extractMessage, extractType };\n","import { BaseClient, getSDKSource, applySdkMetadata, logger } from '@sentry/core';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { eventFromException, eventFromMessage } from './eventbuilder.js';\nimport { WINDOW } from './helpers.js';\nimport { createUserFeedbackEnvelope } from './userfeedback.js';\n\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see @sentry/core Options for more information.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nclass BrowserClient extends BaseClient {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n constructor(options) {\n const opts = {\n // We default this to true, as it is the safer scenario\n parentSpanIsAlwaysRootSpan: true,\n ...options,\n };\n const sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n applySdkMetadata(opts, 'browser', ['browser'], sdkSource);\n\n super(opts);\n\n if (opts.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 eventFromException(exception, hint) {\n return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n }\n\n /**\n * @inheritDoc\n */\n eventFromMessage(\n message,\n level = 'info',\n hint,\n ) {\n return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n }\n\n /**\n * Sends user feedback to Sentry.\n *\n * @deprecated Use `captureFeedback` instead.\n */\n captureUserFeedback(feedback) {\n if (!this._isEnabled()) {\n DEBUG_BUILD && logger.warn('SDK not enabled, will not capture user feedback.');\n return;\n }\n\n const envelope = createUserFeedbackEnvelope(feedback, {\n metadata: this.getSdkMetadata(),\n dsn: this.getDsn(),\n tunnel: this.getOptions().tunnel,\n });\n\n // sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.sendEnvelope(envelope);\n }\n\n /**\n * @inheritDoc\n */\n _prepareEvent(event, hint, scope) {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, hint, scope);\n }\n}\n\nexport { BrowserClient };\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\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nfunction isBrowserBundle() {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Get source of SDK.\n */\nfunction getSDKSource() {\n // This comment is used to identify this line in the CDN bundle build step and replace this with \"return 'cdn';\"\n /* __SENTRY_SDK_SOURCE__ */ return 'npm';\n}\n\nexport { getSDKSource, isBrowserBundle };\n","import { dsnToString, createEnvelope } from '@sentry/core';\n\n/**\n * Creates an envelope from a user feedback.\n */\nfunction createUserFeedbackEnvelope(\n feedback,\n {\n metadata,\n tunnel,\n dsn,\n }\n\n,\n) {\n const headers = {\n event_id: feedback.event_id,\n sent_at: new Date().toISOString(),\n ...(metadata &&\n metadata.sdk && {\n sdk: {\n name: metadata.sdk.name,\n version: metadata.sdk.version,\n },\n }),\n ...(!!tunnel && !!dsn && { dsn: dsnToString(dsn) }),\n };\n const item = createUserFeedbackEnvelopeItem(feedback);\n\n return createEnvelope(headers, [item]);\n}\n\nfunction createUserFeedbackEnvelopeItem(feedback) {\n const feedbackHeaders = {\n type: 'user_report',\n };\n return [feedbackHeaders, feedback];\n}\n\nexport { createUserFeedbackEnvelope };\n","import { addHandler, maybeInstrument, triggerHandlers, fill, addNonEnumerableProperty, uuid4 } from '@sentry/core';\nimport { WINDOW } from '../types.js';\n\nconst DEBOUNCE_DURATION = 1000;\n\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\n\n/**\n * Add an instrumentation handler for when a click or a keypress happens.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addClickKeypressInstrumentationHandler(handler) {\n const type = 'dom';\n addHandler(type, handler);\n maybeInstrument(type, instrumentDOM);\n}\n\n/** Exported for tests only. */\nfunction instrumentDOM() {\n if (!WINDOW.document) {\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) => {\n const globalObject = WINDOW ;\n const targetObj = globalObject[target];\n const proto = targetObj && targetObj.prototype;\n\n // eslint-disable-next-line no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener) {\n return function ( type, listener, options) {\n if (type === 'click' || type == 'keypress') {\n try {\n const handlers = (this.__sentry_instrumentation_handlers__ =\n this.__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 `addEventListeners` 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) {\n return function ( type, listener, options) {\n if (type === 'click' || type == 'keypress') {\n try {\n const handlers = this.__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 this.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListeners` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\n/**\n * Check whether the event is similar to the last captured one. For example, two click events on the same button.\n */\nfunction isSimilarToLastCapturedEvent(event) {\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (event.type !== lastCapturedEventType) {\n return false;\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 (!event.target || (event.target )._sentryId !== lastCapturedEventTargetId) {\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 // 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 true;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(eventType, target) {\n // We are only interested in filtering `keypress` events for now.\n if (eventType !== 'keypress') {\n return false;\n }\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\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n */\nfunction makeDOMEventHandler(\n handler,\n globalListener = false,\n) {\n return (event) => {\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 || event['_sentryCaptured']) {\n return;\n }\n\n const target = getEventTarget(event);\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event.type, target)) {\n return;\n }\n\n // Mark event as \"seen\"\n addNonEnumerableProperty(event, '_sentryCaptured', true);\n\n if (target && !target._sentryId) {\n // Add UUID to event target so we can identify if\n addNonEnumerableProperty(target, '_sentryId', uuid4());\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no last captured event, it means that we can safely capture the new event and store it for future comparisons.\n // If there is a last captured event, 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 if (!isSimilarToLastCapturedEvent(event)) {\n const handlerData = { event, name, global: globalListener };\n handler(handlerData);\n lastCapturedEventType = event.type;\n lastCapturedEventTargetId = target ? target._sentryId : undefined;\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 lastCapturedEventTargetId = undefined;\n lastCapturedEventType = undefined;\n }, DEBOUNCE_DURATION);\n };\n}\n\nfunction getEventTarget(event) {\n try {\n return event.target ;\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 return null;\n }\n}\n\nexport { addClickKeypressInstrumentationHandler, instrumentDOM };\n","import { CONSOLE_LEVELS, originalConsoleMethods } from '../logger.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './handlers.js';\n\n/**\n * Add an instrumentation handler for when a console.xxx method is called.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nfunction addConsoleInstrumentationHandler(handler) {\n const type = 'console';\n addHandler(type, handler);\n maybeInstrument(type, instrumentConsole);\n}\n\nfunction instrumentConsole() {\n if (!('console' in GLOBAL_OBJ)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level) {\n if (!(level in GLOBAL_OBJ.console)) {\n return;\n }\n\n fill(GLOBAL_OBJ.console, level, function (originalConsoleMethod) {\n originalConsoleMethods[level] = originalConsoleMethod;\n\n return function (...args) {\n const handlerData = { args, level };\n triggerHandlers('console', handlerData);\n\n const log = originalConsoleMethods[level];\n log && log.apply(GLOBAL_OBJ.console, args);\n };\n });\n });\n}\n\nexport { addConsoleInstrumentationHandler };\n","/**\n * @deprecated This variable has been deprecated and will be removed in the next major version.\n */\nconst validSeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug'];\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 */\nfunction severityLevelFromString(level) {\n return (\n level === 'warn' ? 'warning' : ['fatal', 'error', 'warning', 'log', 'info', 'debug'].includes(level) ? level : 'log'\n ) ;\n}\n\nexport { severityLevelFromString, validSeverityLevels };\n","/**\n * Determine a breadcrumb's log level (only `warning` or `error`) based on an HTTP status code.\n */\nfunction getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {\n // NOTE: undefined defaults to 'info' in Sentry\n if (statusCode === undefined) {\n return undefined;\n } else if (statusCode >= 400 && statusCode < 500) {\n return 'warning';\n } else if (statusCode >= 500) {\n return 'error';\n } else {\n return undefined;\n }\n}\n\nexport { getBreadcrumbLogLevelFromHttpStatusCode };\n","import { addClickKeypressInstrumentationHandler, addXhrInstrumentationHandler, addHistoryInstrumentationHandler, SENTRY_XHR_DATA_KEY } from '@sentry-internal/browser-utils';\nimport { defineIntegration, addConsoleInstrumentationHandler, addFetchInstrumentationHandler, getClient, addBreadcrumb, getEventDescription, logger, htmlTreeAsString, getComponentName, severityLevelFromString, safeJoin, getBreadcrumbLogLevelFromHttpStatusCode, parseUrl } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\n/* eslint-disable max-lines */\n\n\n/** maxStringLength gets capped to prevent 100 breadcrumbs exceeding 1MB event payload size */\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\n\nconst INTEGRATION_NAME = 'Breadcrumbs';\n\nconst _breadcrumbsIntegration = ((options = {}) => {\n const _options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n setup(client) {\n if (_options.console) {\n addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n }\n if (_options.dom) {\n addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n }\n if (_options.xhr) {\n addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n }\n if (_options.fetch) {\n addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n }\n if (_options.history) {\n addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n }\n if (_options.sentry) {\n client.on('beforeSendEvent', _getSentryBreadcrumbHandler(client));\n }\n },\n };\n}) ;\n\nconst breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\n\n/**\n * Adds a breadcrumb for Sentry events or transactions if this option is enabled.\n */\nfunction _getSentryBreadcrumbHandler(client) {\n return function addSentryBreadcrumb(event) {\n if (getClient() !== client) {\n return;\n }\n\n 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 * A HOC that creates 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 */\nfunction _getDomBreadcrumbHandler(\n client,\n dom,\n) {\n return function _innerDomBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let target;\n let componentName;\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 const event = handlerData.event ;\n const element = _isEvent(event) ? event.target : event;\n\n target = htmlTreeAsString(element, { keyAttrs, maxStringLength });\n componentName = getComponentName(element);\n } catch (e) {\n target = '';\n }\n\n if (target.length === 0) {\n return;\n }\n\n const breadcrumb = {\n category: `ui.${handlerData.name}`,\n message: target,\n };\n\n if (componentName) {\n breadcrumb.data = { 'ui.component_name': componentName };\n }\n\n addBreadcrumb(breadcrumb, {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\nfunction _getConsoleBreadcrumbHandler(client) {\n return function _consoleBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\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 addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n };\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\nfunction _getXhrBreadcrumbHandler(client) {\n return function _xhrBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];\n\n // We only capture complete, non-sentry requests\n if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n return;\n }\n\n const { method, url, status_code, body } = sentryXhrData;\n\n const data = {\n method,\n url,\n status_code,\n };\n\n const hint = {\n xhr: handlerData.xhr,\n input: body,\n startTimestamp,\n endTimestamp,\n };\n\n const level = getBreadcrumbLogLevelFromHttpStatusCode(status_code);\n\n addBreadcrumb(\n {\n category: 'xhr',\n data,\n type: 'http',\n level,\n },\n hint,\n );\n };\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\nfunction _getFetchBreadcrumbHandler(client) {\n return function _fetchBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n const { startTimestamp, endTimestamp } = handlerData;\n\n // We only capture complete fetch requests\n if (!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 const data = handlerData.fetchData;\n const hint = {\n data: handlerData.error,\n input: handlerData.args,\n startTimestamp,\n endTimestamp,\n };\n\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n level: 'error',\n type: 'http',\n },\n hint,\n );\n } else {\n const response = handlerData.response ;\n const data = {\n ...handlerData.fetchData,\n status_code: response && response.status,\n };\n const hint = {\n input: handlerData.args,\n response,\n startTimestamp,\n endTimestamp,\n };\n const level = getBreadcrumbLogLevelFromHttpStatusCode(data.status_code);\n\n addBreadcrumb(\n {\n category: 'fetch',\n data,\n type: 'http',\n level,\n },\n hint,\n );\n }\n };\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\nfunction _getHistoryBreadcrumbHandler(client) {\n return function _historyBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(WINDOW.location.href);\n let parsedFrom = from ? parseUrl(from) : undefined;\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom || !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 addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n };\n}\n\nfunction _isEvent(event) {\n return !!event && !!(event ).target;\n}\n\nexport { breadcrumbsIntegration };\n","import { defineIntegration, fill, getFunctionName, getOriginalFunction } from '@sentry/core';\nimport { WINDOW, wrap } from '../helpers.js';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'BroadcastChannel',\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 'SharedWorker',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\nconst INTEGRATION_NAME = 'BrowserApiErrors';\n\nconst _browserApiErrorsIntegration = ((options = {}) => {\n const _options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n // TODO: This currently only works for the first client this is setup\n // We may want to adjust this to check for client etc.\n setupOnce() {\n if (_options.setTimeout) {\n fill(WINDOW, 'setTimeout', _wrapTimeFunction);\n }\n\n if (_options.setInterval) {\n fill(WINDOW, 'setInterval', _wrapTimeFunction);\n }\n\n if (_options.requestAnimationFrame) {\n fill(WINDOW, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (_options.XMLHttpRequest && 'XMLHttpRequest' in WINDOW) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = _options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n },\n };\n}) ;\n\n/**\n * Wrap timer functions and event targets to catch errors and provide better meta data.\n */\nconst browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\n\nfunction _wrapTimeFunction(original) {\n return function ( ...args) {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: false,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\nfunction _wrapRAF(original) {\n return function ( callback) {\n return original.apply(this, [\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n }),\n ]);\n };\n}\n\nfunction _wrapXHR(originalSend) {\n return function ( ...args) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n fill(xhr, prop, function (original) {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: false,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before BrowserApiErrors, 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\nfunction _wrapEventTarget(target) {\n const globalObject = WINDOW ;\n const targetObj = globalObject[target];\n const proto = targetObj && targetObj.prototype;\n\n // eslint-disable-next-line no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original,)\n\n {\n return function ( eventName, fn, options) {\n try {\n if (isEventListenerObject(fn)) {\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: false,\n type: 'instrument',\n },\n });\n }\n } catch (e2) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.apply(this, [\n eventName,\n wrap(fn, {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: false,\n type: 'instrument',\n },\n }),\n options,\n ]);\n };\n });\n\n fill(proto, 'removeEventListener', function (originalRemoveEventListener,)\n\n {\n return function ( eventName, fn, options) {\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 try {\n const originalEventHandler = (fn ).__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, fn, options);\n };\n });\n}\n\nfunction isEventListenerObject(obj) {\n return typeof (obj ).handleEvent === 'function';\n}\n\nexport { browserApiErrorsIntegration };\n","import { defineIntegration, addGlobalErrorInstrumentationHandler, getClient, captureEvent, addGlobalUnhandledRejectionInstrumentationHandler, isPrimitive, isString, getLocationHref, UNKNOWN_FUNCTION, logger } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { eventFromUnknownInput } from '../eventbuilder.js';\nimport { shouldIgnoreOnError } from '../helpers.js';\n\nconst INTEGRATION_NAME = 'GlobalHandlers';\n\nconst _globalHandlersIntegration = ((options = {}) => {\n const _options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n Error.stackTraceLimit = 50;\n },\n setup(client) {\n if (_options.onerror) {\n _installGlobalOnErrorHandler(client);\n globalHandlerLog('onerror');\n }\n if (_options.onunhandledrejection) {\n _installGlobalOnUnhandledRejectionHandler(client);\n globalHandlerLog('onunhandledrejection');\n }\n },\n };\n}) ;\n\nconst globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\n\nfunction _installGlobalOnErrorHandler(client) {\n addGlobalErrorInstrumentationHandler(data => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const { msg, url, line, column, error } = data;\n\n const event = _enhanceEventWithInitialFrame(\n eventFromUnknownInput(stackParser, error || msg, undefined, attachStacktrace, false),\n url,\n line,\n column,\n );\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onerror',\n },\n });\n });\n}\n\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n addGlobalUnhandledRejectionInstrumentationHandler(e => {\n const { stackParser, attachStacktrace } = getOptions();\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n const error = _getUnhandledRejectionError(e );\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(stackParser, error, undefined, attachStacktrace, true);\n\n event.level = 'error';\n\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onunhandledrejection',\n },\n });\n });\n}\n\nfunction _getUnhandledRejectionError(error) {\n if (isPrimitive(error)) {\n return error;\n }\n\n // dig the object of the rejection out of known event types\n try {\n\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 (error )) {\n return (error ).reason;\n }\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 if ('detail' in (error ) && 'reason' in (error ).detail) {\n return (error ).detail.reason;\n }\n } catch (e2) {} // eslint-disable-line no-empty\n\n return error;\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) {\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// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\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: UNKNOWN_FUNCTION,\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type) {\n DEBUG_BUILD && logger.log(`Global Handler attached: ${type}`);\n}\n\nfunction getOptions() {\n const client = getClient();\n const options = (client && client.getOptions()) || {\n stackParser: () => [],\n attachStacktrace: false,\n };\n return options;\n}\n\nexport { globalHandlersIntegration };\n","import { defineIntegration } from '@sentry/core';\nimport { WINDOW } from '../helpers.js';\n\n/**\n * Collects information about HTTP request headers and\n * attaches them to the event.\n */\nconst httpContextIntegration = defineIntegration(() => {\n return {\n name: 'HttpContext',\n preprocessEvent(event) {\n // if none of the information we want exists, don't bother\n if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n return;\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 = { ...event.request, ...(url && { url }), headers };\n\n event.request = request;\n },\n };\n});\n\nexport { httpContextIntegration };\n","import { isInstanceOf } from './is.js';\nimport { truncate } from './string.js';\n\n/**\n * Creates exceptions inside `event.exception.values` for errors that are nested on properties based on the `key` parameter.\n */\nfunction applyAggregateErrorsToEvent(\n exceptionFromErrorImplementation,\n parser,\n maxValueLimit = 250,\n key,\n limit,\n event,\n hint,\n) {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return;\n }\n\n // Generally speaking the last item in `event.exception.values` is the exception originating from the original Error\n const originalException =\n event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : undefined;\n\n // We only create exception grouping if there is an exception in the event.\n if (originalException) {\n event.exception.values = truncateAggregateExceptions(\n aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n hint.originalException ,\n key,\n event.exception.values,\n originalException,\n 0,\n ),\n maxValueLimit,\n );\n }\n}\n\nfunction aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error,\n key,\n prevExceptions,\n exception,\n exceptionId,\n) {\n if (prevExceptions.length >= limit + 1) {\n return prevExceptions;\n }\n\n let newExceptions = [...prevExceptions];\n\n // Recursively call this function in order to walk down a chain of errors\n if (isInstanceOf(error[key], Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, error[key]);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n error[key],\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n\n // This will create exception grouping for AggregateErrors\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError\n if (Array.isArray(error.errors)) {\n error.errors.forEach((childError, i) => {\n if (isInstanceOf(childError, Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n const newException = exceptionFromErrorImplementation(parser, childError);\n const newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, `errors[${i}]`, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(\n exceptionFromErrorImplementation,\n parser,\n limit,\n childError,\n key,\n [newException, ...newExceptions],\n newException,\n newExceptionId,\n );\n }\n });\n }\n\n return newExceptions;\n}\n\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n ...(exception.type === 'AggregateError' && { is_exception_group: true }),\n exception_id: exceptionId,\n };\n}\n\nfunction applyExceptionGroupFieldsForChildException(\n exception,\n source,\n exceptionId,\n parentId,\n) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || { type: 'generic', handled: true };\n\n exception.mechanism = {\n ...exception.mechanism,\n type: 'chained',\n source,\n exception_id: exceptionId,\n parent_id: parentId,\n };\n}\n\n/**\n * Truncate the message (exception.value) of all exceptions in the event.\n * Because this event processor is ran after `applyClientOptions`,\n * we need to truncate the message of the added exceptions here.\n */\nfunction truncateAggregateExceptions(exceptions, maxValueLength) {\n return exceptions.map(exception => {\n if (exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n return exception;\n });\n}\n\nexport { applyAggregateErrorsToEvent };\n","import { defineIntegration, applyAggregateErrorsToEvent } from '@sentry/core';\nimport { exceptionFromError } from '../eventbuilder.js';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\nconst INTEGRATION_NAME = 'LinkedErrors';\n\nconst _linkedErrorsIntegration = ((options = {}) => {\n const limit = options.limit || DEFAULT_LIMIT;\n const key = options.key || DEFAULT_KEY;\n\n return {\n name: INTEGRATION_NAME,\n preprocessEvent(event, hint, client) {\n const options = client.getOptions();\n\n applyAggregateErrorsToEvent(\n // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n exceptionFromError,\n options.stackParser,\n options.maxValueLength,\n key,\n limit,\n event,\n hint,\n );\n },\n };\n}) ;\n\n/**\n * Aggregrate linked errors in an event.\n */\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n\nexport { linkedErrorsIntegration };\n","import { createStackParser, UNKNOWN_FUNCTION } from '@sentry/core';\n\n// This was originally forked from https://github.com/csnover/TraceKit, and was largely\n// re - written as part of raven - js.\n//\n// This code was later copied to the JavaScript mono - repo and further modified and\n// refactored over the years.\n\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, func, lineno, colno) {\n const frame = {\n filename,\n function: func === '' ? UNKNOWN_FUNCTION : func,\n in_app: true, // All browser frames are considered in_app\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// This regex matches frames that have no function name (ie. are at the top level of a module).\n// For example \"at http://localhost:5000//script.js:1:126\"\n// Frames _with_ function names usually look as follows: \"at commitLayoutEffects (react-dom.development.js:23426:1)\"\nconst chromeRegexNoFnName = /^\\s*at (\\S+?)(?::(\\d+))(?::(\\d+))\\s*$/i;\n\n// This regex matches all the frames that have a function name.\nconst chromeRegex =\n /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\n\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\n// We cannot call this variable `chrome` because it can conflict with global `chrome` variable in certain environments\n// See: https://github.com/getsentry/sentry-javascript/issues/6880\nconst chromeStackParserFn = line => {\n // If the stack line has no function name, we need to parse it differently\n const noFnParts = chromeRegexNoFnName.exec(line) ;\n\n if (noFnParts) {\n const [, filename, line, col] = noFnParts;\n return createFrame(filename, UNKNOWN_FUNCTION, +line, +col);\n }\n\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\nconst chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];\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*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nconst gecko = 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\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\n\nconst winjsRegex = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:[-a-z]+):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nconst winjs = 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\nconst winjsStackLineParser = [WINJS_PRIORITY, winjs];\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nconst opera10 = line => {\n const parts = opera10Regex.exec(line) ;\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nconst opera10StackLineParser = [OPERA10_PRIORITY, opera10];\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nconst opera11 = 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\nconst opera11StackLineParser = [OPERA11_PRIORITY, opera11];\n\nconst defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser];\n\nconst 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, filename) => {\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\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser };\n","import { isNativeFunction, logger } from '@sentry/core';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { WINDOW } from './types.js';\n\n/**\n * We generally want to use window.fetch / window.setTimeout.\n * However, in some cases this may be wrapped (e.g. by Zone.js for Angular),\n * so we try to get an unpatched version of this from a sandboxed iframe.\n */\n\nconst cachedImplementations = {};\n\n/**\n * Get the native implementation of a browser function.\n *\n * This can be used to ensure we get an unwrapped version of a function, in cases where a wrapped function can lead to problems.\n *\n * The following methods can be retrieved:\n * - `setTimeout`: This can be wrapped by e.g. Angular, causing change detection to be triggered.\n * - `fetch`: This can be wrapped by e.g. ad-blockers, causing an infinite loop when a request is blocked.\n */\nfunction getNativeImplementation(\n name,\n) {\n const cached = cachedImplementations[name];\n if (cached) {\n return cached;\n }\n\n let impl = WINDOW[name] ;\n\n // Fast path to avoid DOM I/O\n if (isNativeFunction(impl)) {\n return (cachedImplementations[name] = impl.bind(WINDOW) );\n }\n\n const document = WINDOW.document;\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[name]) {\n impl = contentWindow[name] ;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n // Could not create sandbox iframe, just use window.xxx\n DEBUG_BUILD && logger.warn(`Could not create sandbox iframe for ${name} check, bailing to window.${name}: `, e);\n }\n }\n\n // Sanity check: This _should_ not happen, but if it does, we just skip caching...\n // This can happen e.g. in tests where fetch may not be available in the env, or similar.\n if (!impl) {\n return impl;\n }\n\n return (cachedImplementations[name] = impl.bind(WINDOW) );\n}\n\n/** Clear a cached implementation. */\nfunction clearCachedImplementation(name) {\n cachedImplementations[name] = undefined;\n}\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 */\nfunction fetch(...rest) {\n return getNativeImplementation('fetch')(...rest);\n}\n\n/**\n * Get an unwrapped `setTimeout` method.\n * This ensures that even if e.g. Angular wraps `setTimeout`, we get the native implementation,\n * avoiding triggering change detection.\n */\nfunction setTimeout(...rest) {\n return getNativeImplementation('setTimeout')(...rest);\n}\n\nexport { clearCachedImplementation, fetch, getNativeImplementation, setTimeout };\n","import { SentryError } from './error.js';\nimport { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from './syncpromise.js';\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 */\nfunction makePromiseBuffer(limit) {\n const buffer = [];\n\n function isReady() {\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\n * @returns Removed promise.\n */\n function remove(task) {\n return buffer.splice(buffer.indexOf(task), 1)[0] || Promise.resolve(undefined);\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; In previous versions this used to be `task:\n * PromiseLike`, 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) {\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) {\n return new SyncPromise((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\nexport { makePromiseBuffer };\n","// Intentionally keeping the key broad, as we don't know for sure what rate limit headers get returned from backend\n\nconst 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 */\nfunction parseRetryAfterHeader(header, now = Date.now()) {\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 the given category is disabled until for rate limiting.\n * In case no category-specific limit is set but a general rate limit across all categories is active,\n * that time is returned.\n *\n * @return the time in ms that the category is disabled until or 0 if there's no active rate limit.\n */\nfunction disabledUntil(limits, dataCategory) {\n return limits[dataCategory] || limits.all || 0;\n}\n\n/**\n * Checks if a category is rate limited\n */\nfunction isRateLimited(limits, dataCategory, now = Date.now()) {\n return disabledUntil(limits, dataCategory) > now;\n}\n\n/**\n * Update ratelimits from incoming headers.\n *\n * @return the updated RateLimits object.\n */\nfunction updateRateLimits(\n limits,\n { statusCode, headers },\n now = Date.now(),\n) {\n const updatedRateLimits = {\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 *
,
,..\n * where each
is of the form\n * : : : : \n * where\n * is a delay in seconds\n * is the event type(s) (error, transaction, etc) being rate limited and is of the form\n * ;;...\n * is what's being limited (org, project, or key) - ignored by SDK\n * is an arbitrary string like \"org_quota\" - ignored by SDK\n * Semicolon-separated list of metric namespace identifiers. Defines which namespace(s) will be affected.\n * Only present if rate limit applies to the metric_bucket data category.\n */\n for (const limit of rateLimitHeader.trim().split(',')) {\n const [retryAfter, categories, , , namespaces] = limit.split(':', 5) ;\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 if (category === 'metric_bucket') {\n // namespaces will be present when category === 'metric_bucket'\n if (!namespaces || namespaces.split(';').includes('custom')) {\n updatedRateLimits[category] = now + delay;\n }\n } else {\n updatedRateLimits[category] = now + delay;\n }\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\nexport { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits };\n","import { DEBUG_BUILD } from '../debug-build.js';\nimport { forEachEnvelopeItem, envelopeItemTypeToDataCategory, createEnvelope, serializeEnvelope } from '../utils-hoist/envelope.js';\nimport { SentryError } from '../utils-hoist/error.js';\nimport { logger } from '../utils-hoist/logger.js';\nimport { makePromiseBuffer } from '../utils-hoist/promisebuffer.js';\nimport { isRateLimited, updateRateLimits } from '../utils-hoist/ratelimit.js';\nimport { resolvedSyncPromise } from '../utils-hoist/syncpromise.js';\n\nconst DEFAULT_TRANSPORT_BUFFER_SIZE = 64;\n\n/**\n * Creates an instance of a Sentry `Transport`\n *\n * @param options\n * @param makeRequest\n */\nfunction createTransport(\n options,\n makeRequest,\n buffer = makePromiseBuffer(\n options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE,\n ),\n) {\n let rateLimits = {};\n const flush = (timeout) => buffer.drain(timeout);\n\n function send(envelope) {\n const filteredEnvelopeItems = [];\n\n // Drop rate limited items from envelope\n forEachEnvelopeItem(envelope, (item, type) => {\n const dataCategory = envelopeItemTypeToDataCategory(type);\n if (isRateLimited(rateLimits, dataCategory)) {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent('ratelimit_backoff', dataCategory, 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 const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems );\n\n // Creates client report for each item in an envelope\n const recordEnvelopeLoss = (reason) => {\n forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n const event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);\n });\n };\n\n const requestTask = () =>\n makeRequest({ body: serializeEnvelope(filteredEnvelope) }).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 return response;\n },\n error => {\n recordEnvelopeLoss('network_error');\n throw 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, type) {\n if (type !== 'event' && type !== 'transaction') {\n return undefined;\n }\n\n return Array.isArray(item) ? (item )[1] : undefined;\n}\n\nexport { DEFAULT_TRANSPORT_BUFFER_SIZE, createTransport };\n","import { getNativeImplementation, clearCachedImplementation } from '@sentry-internal/browser-utils';\nimport { createTransport, rejectedSyncPromise } from '@sentry/core';\n\n/**\n * Creates a Transport that uses the Fetch API to send events to Sentry.\n */\nfunction makeFetchTransport(\n options,\n nativeFetch = getNativeImplementation('fetch'),\n) {\n let pendingBodySize = 0;\n let pendingCount = 0;\n\n function makeRequest(request) {\n const requestSize = request.body.length;\n pendingBodySize += requestSize;\n pendingCount++;\n\n const requestOptions = {\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. when finishing 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):\n // If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n // We will therefore only activate the flag when we're below that limit.\n // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n keepalive: pendingBodySize <= 60000 && pendingCount < 15,\n ...options.fetchOptions,\n };\n\n if (!nativeFetch) {\n clearCachedImplementation('fetch');\n return rejectedSyncPromise('No fetch implementation available');\n }\n\n try {\n // TODO: This may need a `suppressTracing` call in the future when we switch the browser SDK to OTEL\n return nativeFetch(options.url, requestOptions).then(response => {\n pendingBodySize -= requestSize;\n pendingCount--;\n return {\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 });\n } catch (e) {\n clearCachedImplementation('fetch');\n pendingBodySize -= requestSize;\n pendingCount--;\n return rejectedSyncPromise(e);\n }\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeFetchTransport };\n","import { addHistoryInstrumentationHandler } from '@sentry-internal/browser-utils';\nimport { inboundFiltersIntegration, functionToStringIntegration, dedupeIntegration, consoleSandbox, supportsFetch, logger, stackParserFromStackParserOptions, getIntegrationsToSetup, initAndBind, getCurrentScope, lastEventId, getReportDialogEndpoint, startSession, captureSession, getClient } from '@sentry/core';\nimport { BrowserClient } from './client.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { WINDOW } from './helpers.js';\nimport { breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nimport { browserApiErrorsIntegration } from './integrations/browserapierrors.js';\nimport { globalHandlersIntegration } from './integrations/globalhandlers.js';\nimport { httpContextIntegration } from './integrations/httpcontext.js';\nimport { linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport { defaultStackParser } from './stack-parsers.js';\nimport { makeFetchTransport } from './transports/fetch.js';\n\n/** Get the default integrations for the browser SDK. */\nfunction getDefaultIntegrations(_options) {\n /**\n * Note: Please make sure this stays in sync with Angular SDK, which re-exports\n * `getDefaultIntegrations` but with an adjusted set of integrations.\n */\n return [\n inboundFiltersIntegration(),\n functionToStringIntegration(),\n browserApiErrorsIntegration(),\n breadcrumbsIntegration(),\n globalHandlersIntegration(),\n linkedErrorsIntegration(),\n dedupeIntegration(),\n httpContextIntegration(),\n ];\n}\n\nfunction applyDefaultOptions(optionsArg = {}) {\n const defaultOptions = {\n defaultIntegrations: getDefaultIntegrations(),\n release:\n typeof __SENTRY_RELEASE__ === 'string' // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value\n ? __SENTRY_RELEASE__\n : WINDOW.SENTRY_RELEASE && WINDOW.SENTRY_RELEASE.id // This supports the variable that sentry-webpack-plugin injects\n ? WINDOW.SENTRY_RELEASE.id\n : undefined,\n autoSessionTracking: true,\n sendClientReports: true,\n };\n\n // TODO: Instead of dropping just `defaultIntegrations`, we should simply\n // call `dropUndefinedKeys` on the entire `optionsArg`.\n // However, for this to work we need to adjust the `hasTracingEnabled()` logic\n // first as it differentiates between `undefined` and the key not being in the object.\n if (optionsArg.defaultIntegrations == null) {\n delete optionsArg.defaultIntegrations;\n }\n\n return { ...defaultOptions, ...optionsArg };\n}\n\nfunction shouldShowBrowserExtensionError() {\n const windowWithMaybeExtension =\n typeof WINDOW.window !== 'undefined' && (WINDOW );\n if (!windowWithMaybeExtension) {\n // No need to show the error if we're not in a browser window environment (e.g. service workers)\n return false;\n }\n\n const extensionKey = windowWithMaybeExtension.chrome ? 'chrome' : 'browser';\n const extensionObject = windowWithMaybeExtension[extensionKey];\n\n const runtimeId = extensionObject && extensionObject.runtime && extensionObject.runtime.id;\n const href = (WINDOW.location && WINDOW.location.href) || '';\n\n const extensionProtocols = ['chrome-extension:', 'moz-extension:', 'ms-browser-extension:', 'safari-web-extension:'];\n\n // Running the SDK in a dedicated extension page and calling Sentry.init is fine; no risk of data leakage\n const isDedicatedExtensionPage =\n !!runtimeId && WINDOW === WINDOW.top && extensionProtocols.some(protocol => href.startsWith(`${protocol}//`));\n\n // Running the SDK in NW.js, which appears like a browser extension but isn't, is also fine\n // see: https://github.com/getsentry/sentry-javascript/issues/12668\n const isNWjs = typeof windowWithMaybeExtension.nw !== 'undefined';\n\n return !!runtimeId && !isDedicatedExtensionPage && !isNWjs;\n}\n\n/**\n * A magic string that build tooling can leverage in order to inject a release value into the SDK.\n */\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 { 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 */\nfunction init(browserOptions = {}) {\n const options = applyDefaultOptions(browserOptions);\n\n if (!options.skipBrowserExtensionCheck && shouldShowBrowserExtensionError()) {\n consoleSandbox(() => {\n // eslint-disable-next-line no-console\n console.error(\n '[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/',\n );\n });\n return;\n }\n\n if (DEBUG_BUILD) {\n if (!supportsFetch()) {\n logger.warn(\n 'No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.',\n );\n }\n }\n const clientOptions = {\n ...options,\n stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n integrations: getIntegrationsToSetup(options),\n transport: options.transport || makeFetchTransport,\n };\n\n const client = initAndBind(BrowserClient, clientOptions);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n\n return client;\n}\n\n/**\n * All properties the report dialog supports\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 */\nfunction showReportDialog(options = {}) {\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 scope = getCurrentScope();\n const client = scope.getClient();\n const dsn = client && client.getDsn();\n\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 const eventId = lastEventId();\n if (eventId) {\n options.eventId = eventId;\n }\n }\n\n const script = WINDOW.document.createElement('script');\n script.async = true;\n script.crossOrigin = 'anonymous';\n script.src = getReportDialogEndpoint(dsn, options);\n\n if (options.onLoad) {\n script.onload = options.onLoad;\n }\n\n const { onClose } = options;\n if (onClose) {\n const reportDialogClosedMessageHandler = (event) => {\n if (event.data === '__sentry_reportdialog_closed__') {\n try {\n onClose();\n } finally {\n WINDOW.removeEventListener('message', reportDialogClosedMessageHandler);\n }\n }\n };\n WINDOW.addEventListener('message', reportDialogClosedMessageHandler);\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 function is here to be API compatible with the loader.\n * @hidden\n */\nfunction forceLoad() {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nfunction onLoad(callback) {\n callback();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking() {\n if (typeof WINDOW.document === 'undefined') {\n DEBUG_BUILD && logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\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 startSession({ ignoreDuration: true });\n captureSession();\n\n // We want to create a session for every navigation as well\n addHistoryInstrumentationHandler(({ 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 startSession({ ignoreDuration: true });\n captureSession();\n }\n });\n}\n\n/**\n * Captures user feedback and sends it to Sentry.\n *\n * @deprecated Use `captureFeedback` instead.\n */\nfunction captureUserFeedback(feedback) {\n const client = getClient();\n if (client) {\n // eslint-disable-next-line deprecation/deprecation\n client.captureUserFeedback(feedback);\n }\n}\n\nexport { captureUserFeedback, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog };\n","import { getCurrentScope } from './currentScopes.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { logger, consoleSandbox } from './utils-hoist/logger.js';\n\n/** A class object that can instantiate Client objects. */\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 */\nfunction initAndBind(\n clientClass,\n options,\n) {\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 consoleSandbox(() => {\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 }\n const scope = getCurrentScope();\n scope.update(options.initialScope);\n\n const client = new clientClass(options);\n setCurrentClient(client);\n client.init();\n return client;\n}\n\n/**\n * Make the given client the current client.\n */\nfunction setCurrentClient(client) {\n getCurrentScope().setClient(client);\n}\n\nexport { initAndBind, setCurrentClient };\n","import { Capacitor } from '@capacitor/core';\n/**\n * Create a new CapacitorOption without any parameter that could crash the bridge (in short, not being a string, number or boolean).\n * some of the excluded parameters are: Integrations, app, vue, beforeSend, beforeBreadcrumb, integrations, defaultIntegrations, transport, tracesSampler.\n * @param options CapacitorOptions\n */\nexport function FilterNativeOptions(options) {\n return {\n // allowUrls: Only available on the JavaScript Layer.\n attachStacktrace: options.attachStacktrace,\n attachThreads: options.attachThreads,\n debug: options.debug,\n // denyUrls Only available on the JavaScript Layer.\n dist: options.dist,\n dsn: options.dsn,\n enabled: options.enabled,\n enableNdkScopeSync: options.enableNdkScopeSync,\n enableWatchdogTerminationTracking: options.enableWatchdogTerminationTracking,\n // TODO: Remove Capacitor V9\n // eslint-disable-next-line deprecation/deprecation\n enableTracing: options.enableTracing,\n environment: options.environment,\n // ignoreErrors: Only available on the JavaScript Layer.\n // ignoreTransactions: Only available on the JavaScript Layer.\n maxBreadcrumbs: options.maxBreadcrumbs,\n // maxValueLength: Only available on the JavaScript Layer.\n release: options.release,\n // replaysOnErrorSampleRate: Only handled on the JavaScript Layer.\n // replaysSessionSampleRate: Only handled on the JavaScript Layer.\n sampleRate: options.sampleRate,\n sendClientReports: options.sendClientReports,\n sendDefaultPii: options.sendDefaultPii,\n sessionTrackingIntervalMillis: options.sessionTrackingIntervalMillis,\n tracesSampleRate: options.tracesSampleRate,\n // tunnel: options.tunnel: Only handled on the JavaScript Layer.\n enableCaptureFailedRequests: options.enableCaptureFailedRequests,\n ...iOSParameters(options),\n };\n}\nfunction iOSParameters(options) {\n return Capacitor.getPlatform() === 'ios'\n ? {\n enableAppHangTracking: options.enableAppHangTracking,\n appHangTimeoutInterval: options.appHangTimeoutInterval,\n }\n : {};\n}\n","import { registerPlugin } from '@capacitor/core';\nconst SentryCapacitor = registerPlugin('SentryCapacitor');\nexport { SentryCapacitor };\n","import { getClient, normalize } from '@sentry/core';\nconst KEY = 'value';\n/**\n * Converts any input into a valid record with string keys.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function convertToNormalizedObject(data) {\n var _a;\n const options = (_a = getClient()) === null || _a === void 0 ? void 0 : _a.getOptions();\n const normalized = normalize(data, options === null || options === void 0 ? void 0 : options.normalizeDepth, options === null || options === void 0 ? void 0 : options.normalizeMaxBreadth);\n if (normalized === null || typeof normalized !== 'object') {\n return {\n [KEY]: normalized,\n };\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return normalized;\n }\n}\n","/* eslint-disable */\n/**\n * Convert a string to a byte array\n *\n * This is a utf8ToBytes function from the buffer module (with added types)\n * https://github.com/feross/buffer/blob/795bbb5bda1b39f1370ebd784bea6107b087e3a7/index.js#L1956\n *\n * License: MIT (https://github.com/feross/buffer)\n */\nexport function utf8ToBytes(string, units) {\n units = units || Infinity;\n let codePoint;\n const length = string.length;\n let leadSurrogate = null;\n const bytes = [];\n for (let i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\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)\n bytes.push(0xef, 0xbf, 0xbd);\n continue;\n }\n else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1)\n bytes.push(0xef, 0xbf, 0xbd);\n continue;\n }\n // valid lead\n leadSurrogate = codePoint;\n continue;\n }\n // 2 leads in a row\n if (codePoint < 0xdc00) {\n if ((units -= 3) > -1)\n bytes.push(0xef, 0xbf, 0xbd);\n leadSurrogate = codePoint;\n continue;\n }\n // valid surrogate pair\n codePoint =\n (((leadSurrogate - 0xd800) << 10) | (codePoint - 0xdc00)) + 0x10000;\n }\n else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1)\n bytes.push(0xef, 0xbf, 0xbd);\n }\n leadSurrogate = null;\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0)\n break;\n bytes.push(codePoint);\n }\n else if (codePoint < 0x800) {\n if ((units -= 2) < 0)\n break;\n bytes.push((codePoint >> 0x6) | 0xc0, (codePoint & 0x3f) | 0x80);\n }\n else if (codePoint < 0x10000) {\n if ((units -= 3) < 0)\n break;\n bytes.push((codePoint >> 0xc) | 0xe0, ((codePoint >> 0x6) & 0x3f) | 0x80, (codePoint & 0x3f) | 0x80);\n }\n else if (codePoint < 0x110000) {\n if ((units -= 4) < 0)\n break;\n bytes.push((codePoint >> 0x12) | 0xf0, ((codePoint >> 0xc) & 0x3f) | 0x80, ((codePoint >> 0x6) & 0x3f) | 0x80, (codePoint & 0x3f) | 0x80);\n }\n else {\n throw new Error('Invalid code point');\n }\n }\n return bytes;\n}\n","import { Capacitor } from '@capacitor/core';\nimport { dropUndefinedKeys, logger, SentryError } from '@sentry/core';\nimport { FilterNativeOptions } from './nativeOptions';\nimport { SentryCapacitor } from './plugin';\nimport { convertToNormalizedObject } from './utils/normalize';\nimport { utf8ToBytes } from './vendor';\n/**\n * Internal interface for calling native functions\n */\nexport const NATIVE = {\n /**\n * Sending the event over the bridge to native\n * @param event Event\n */\n async sendEnvelope(envelope) {\n if (!this.enableNative) {\n throw this._DisabledNativeError;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n const EOL = 10; // utf8ToBytes('\\n');\n const [envelopeHeader, envelopeItems] = envelope;\n const headerString = JSON.stringify(envelopeHeader);\n let envelopeBytes = utf8ToBytes(headerString);\n envelopeBytes.push(EOL);\n for (const rawItem of envelopeItems) {\n const [itemHeader, itemPayload] = this._processItem(rawItem);\n let bytesContentType;\n let bytesPayload = [];\n if (typeof itemPayload === 'string') {\n bytesContentType = 'text/plain';\n bytesPayload = utf8ToBytes(itemPayload);\n }\n else if (itemPayload instanceof Uint8Array) {\n bytesContentType =\n typeof itemHeader.content_type === 'string'\n ? itemHeader.content_type\n : 'application/octet-stream';\n bytesPayload = [...itemPayload];\n }\n else {\n bytesContentType = 'application/json';\n bytesPayload = utf8ToBytes(JSON.stringify(itemPayload));\n }\n // Content type is not inside BaseEnvelopeItemHeaders.\n itemHeader.content_type = bytesContentType;\n itemHeader.length = bytesPayload.length;\n const serializedItemHeader = JSON.stringify(itemHeader);\n envelopeBytes.push(...utf8ToBytes(serializedItemHeader));\n envelopeBytes.push(EOL);\n envelopeBytes = envelopeBytes.concat(bytesPayload);\n envelopeBytes.push(EOL);\n }\n let transportStatusCode = 200;\n await SentryCapacitor.captureEnvelope({ envelope: envelopeBytes }).then(_ => _, // We only want to know if it failed.\n // We only want to know if it failed.\n failed => {\n logger.error('Failed to capture Envelope: ', failed);\n transportStatusCode = 500;\n });\n return { statusCode: transportStatusCode };\n },\n /**\n * Starts native with the provided options\n * @param options CapacitorOptions\n */\n async initNativeSdk(options) {\n if (!options.dsn) {\n logger.warn('Warning: No DSN was provided. The Sentry SDK will be disabled. Native SDK will also not be initalized.');\n this.enableNative = false;\n return false;\n }\n if (!options.enableNative) {\n if (options.enableNativeNagger) {\n logger.warn('Note: Native Sentry SDK is disabled.');\n }\n this.enableNative = false;\n return false;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n // filter out all options that would crash native\n const filteredOptions = FilterNativeOptions(options);\n return SentryCapacitor.initNativeSdk({ options: filteredOptions });\n },\n /**\n * Fetches the device contexts. Not used on Android.\n */\n async fetchNativeDeviceContexts() {\n if (!this.enableNative) {\n throw this._DisabledNativeError;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n if (this.platform !== 'ios') {\n // Only ios uses deviceContexts, return an empty object.\n return {};\n }\n return SentryCapacitor.fetchNativeDeviceContexts();\n },\n /**\n * Fetches the release from native\n */\n async fetchNativeRelease() {\n if (!this.enableNative) {\n throw this._DisabledNativeError;\n }\n return SentryCapacitor.fetchNativeRelease();\n },\n async fetchNativeSdkInfo() {\n if (!this.enableNative) {\n throw this._DisabledNativeError;\n }\n return SentryCapacitor.fetchNativeSdkInfo();\n },\n /**\n * Triggers a native crash.\n * Use this only for testing purposes.\n */\n crash() {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n SentryCapacitor.crash();\n },\n /**\n * Sets the user in the native scope.\n * Passing null clears the user.\n * @param key string\n * @param value string\n */\n setUser(user) {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n // separate and serialze all non-default user keys.\n let defaultUserKeys = null;\n let otherUserKeys = null;\n if (user) {\n const { id, ip_address, email, username, ...otherKeys } = user;\n defaultUserKeys = dropUndefinedKeys(this._serializeObject({\n email,\n id,\n ip_address,\n username,\n }));\n otherUserKeys = dropUndefinedKeys(this._serializeObject(otherKeys));\n }\n SentryCapacitor.setUser({ defaultUserKeys, otherUserKeys });\n },\n /**\n * Sets a tag in the native module.\n * @param key string\n * @param value string\n */\n setTag(key, value) {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n const stringifiedValue = typeof value === 'string' ? value : JSON.stringify(value);\n SentryCapacitor.setTag({ key, value: stringifiedValue });\n },\n /**\n * Sets an extra in the native scope, will stringify\n * extra value if it isn't already a string.\n * @param key string\n * @param extra any\n */\n setExtra(key, extra) {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n // we stringify the extra as native only takes in strings.\n const stringifiedValue = typeof extra === 'string' ? extra : JSON.stringify(extra);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n SentryCapacitor.setExtra({ key, value: stringifiedValue });\n },\n /**\n * Adds breadcrumb to the native scope.\n * @param breadcrumb Breadcrumb\n */\n addBreadcrumb(breadcrumb) {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n SentryCapacitor.addBreadcrumb({\n ...breadcrumb,\n // Process and convert deprecated levels\n level: breadcrumb.level\n ? this._processLevel(breadcrumb.level)\n : undefined,\n data: breadcrumb.data\n ? convertToNormalizedObject(breadcrumb.data)\n : undefined,\n });\n },\n /**\n * Clears breadcrumbs on the native scope.\n */\n clearBreadcrumbs() {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n SentryCapacitor.clearBreadcrumbs();\n },\n /**\n * Closes the Native Layer SDK\n */\n closeNativeSdk() {\n if (!this.enableNative) {\n // Only log and avoid rejecting.\n logger.debug(this._DisabledNativeError);\n return Promise.resolve();\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n return SentryCapacitor.closeNativeSdk().then(() => {\n this.enableNative = false;\n });\n },\n /**\n * Sets context on the native scope. Not implemented in Android yet.\n * @param key string\n * @param context key-value map\n */\n setContext(key, context) {\n if (!this.enableNative) {\n return;\n }\n if (!this.isNativeClientAvailable()) {\n throw this._NativeClientError;\n }\n if (this.platform === 'android') {\n // setContext not available on the Android SDK yet.\n this.setExtra(key, context);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n SentryCapacitor.setContext({\n key,\n value: context !== null ? this._serializeObject(context) : null,\n });\n }\n },\n /**\n * Gets the event from envelopeItem and applies the level filter to the selected event.\n * @param data An envelope item containing the event.\n * @returns The event from envelopeItem or undefined.\n */\n _processItem(item) {\n if (NATIVE.platform === 'android') {\n const [itemHeader, itemPayload] = item;\n if (itemHeader.type == 'event' || itemHeader.type == 'transaction') {\n const event = this._processLevels(itemPayload);\n if ('message' in event) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore Android still uses the old message object, without this the serialization of events will break.\n event.message = { message: event.message };\n }\n /*\n We do this to avoid duplicate breadcrumbs on Android as sentry-android applies the breadcrumbs\n from the native scope onto every envelope sent through it. This scope will contain the breadcrumbs\n sent through the scope sync feature. This causes duplicate breadcrumbs.\n We then remove the breadcrumbs in all cases but if it is handled == false,\n this is a signal that the app would crash and android would lose the breadcrumbs by the time the app is restarted to read\n the envelope.\n Since unhandled errors from Javascript are not going to crash the App, we can't rely on the\n handled flag for filtering breadcrumbs.\n */\n if (event.breadcrumbs) {\n event.breadcrumbs = [];\n }\n return [itemHeader, event];\n }\n }\n return item;\n },\n /**\n * Serializes all values of root-level keys into strings.\n * @param data key-value map.\n * @returns An object where all root-level values are strings.\n */\n _serializeObject(data) {\n const serialized = {};\n Object.keys(data).forEach(dataKey => {\n const value = data[dataKey];\n serialized[dataKey] =\n typeof value === 'string' ? value : JSON.stringify(value);\n });\n return serialized;\n },\n /**\n * Convert js severity level in event.level and event.breadcrumbs to more widely supported levels.\n * @param event\n * @returns Event with more widely supported Severity level strings\n */\n _processLevels(event) {\n var _a;\n const processed = {\n ...event,\n level: event.level ? this._processLevel(event.level) : undefined,\n breadcrumbs: (_a = event.breadcrumbs) === null || _a === void 0 ? void 0 : _a.map(breadcrumb => ({\n ...breadcrumb,\n level: breadcrumb.level\n ? this._processLevel(breadcrumb.level)\n : undefined,\n })),\n };\n return processed;\n },\n /**\n * Convert js severity level which has critical and log to more widely supported levels.\n * @param level\n * @returns More widely supported Severity level strings\n */\n _processLevel(level) {\n if (level == 'log') {\n return 'debug';\n }\n else if (level == 'critical') {\n return 'fatal';\n }\n return level;\n },\n /**\n * Checks whether the SentryCapacitor module is loaded.\n */\n isModuleLoaded() {\n return !!SentryCapacitor;\n },\n /**\n * Checks whether the SentryCapacitor module is loaded and the native client is available\n */\n isNativeClientAvailable() {\n return (this.isModuleLoaded() && Capacitor.isPluginAvailable('SentryCapacitor'));\n },\n _DisabledNativeError: new SentryError('Native is disabled'),\n _NativeClientError: new SentryError(\"Native Client is not available, can't start on native.\"),\n enableNative: true,\n platform: Capacitor.getPlatform(),\n};\n","import { logger } from '@sentry/core';\nimport { NATIVE } from '../wrapper';\nconst INTEGRATION_NAME = 'DeviceContext';\nexport const deviceContextIntegration = () => {\n return {\n name: INTEGRATION_NAME,\n processEvent: processEvent,\n };\n};\nasync function processEvent(event) {\n try {\n const contexts = await NATIVE.fetchNativeDeviceContexts();\n const context = contexts['context'];\n event.contexts = { ...context, ...event.contexts };\n if ('user' in contexts) {\n const user = contexts['user'];\n if (!event.user) {\n event.user = { ...user };\n }\n }\n }\n catch (e) {\n logger.log(`Failed to get device context from native: ${e}`);\n }\n return event;\n}\n","const INTEGRATION_NAME = 'EventOrigin';\nexport const eventOriginIntegration = () => {\n return {\n name: INTEGRATION_NAME,\n preprocessEvent: processEvent,\n };\n};\nasync function processEvent(event) {\n var _a;\n event.tags = (_a = event.tags) !== null && _a !== void 0 ? _a : {};\n event.tags['event.origin'] = 'javascript';\n event.tags['event.environment'] = 'javascript';\n return event;\n}\n","import { NATIVE } from '../wrapper';\nconst INTEGRATION_NAME = 'Release';\nexport const nativeReleaseIntegration = () => {\n return {\n name: INTEGRATION_NAME,\n processEvent: processEvent,\n };\n};\nasync function processEvent(event, _, client) {\n const options = client.getOptions();\n /*\n Check for the release and dist in the options passed on init.\n Otherwise, we get the release and dist from the native package.\n */\n if (typeof (options === null || options === void 0 ? void 0 : options.release) === 'string') {\n event.release = options.release;\n }\n if (typeof (options === null || options === void 0 ? void 0 : options.dist) === 'string') {\n event.dist = options.dist;\n }\n if (event.release && event.dist) {\n return event;\n }\n try {\n const nativeRelease = await NATIVE.fetchNativeRelease();\n if (nativeRelease) {\n if (!event.release) {\n event.release = `${nativeRelease.id}@${nativeRelease.version}+${nativeRelease.build}`;\n }\n if (!event.dist) {\n event.dist = `${nativeRelease.build}`;\n }\n }\n }\n catch (_Oo) {\n // Something went wrong, we just continue\n }\n return event;\n}\n","// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript\n// https://github.com/calvinmetcalf/rollup-plugin-node-builtins/blob/63ab8aacd013767445ca299e468d9a60a95328d7/src/es6/path.js\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/** JSDoc */\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n let up = 0;\n for (let i = parts.length - 1; i >= 0; i--) {\n const last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nconst splitPathRe = /^(\\S+:\\\\|\\/?)([\\s\\S]*?)((?:\\.{1,2}|[^/\\\\]+?|)(\\.[^./\\\\]*|))(?:[/\\\\]*)$/;\n/** JSDoc */\nfunction splitPath(filename) {\n // Truncate files names greater than 1024 characters to avoid regex dos\n // https://github.com/getsentry/sentry-javascript/pull/8737#discussion_r1285719172\n const truncated = filename.length > 1024 ? `${filename.slice(-1024)}` : filename;\n const parts = splitPathRe.exec(truncated);\n return parts ? parts.slice(1) : [];\n}\n\n// path.resolve([from ...], to)\n// posix version\n/** JSDoc */\nfunction resolve(...args) {\n let resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n const path = i >= 0 ? args[i] : '/';\n\n // Skip empty entries\n if (!path) {\n continue;\n }\n\n resolvedPath = `${path}/${resolvedPath}`;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(\n resolvedPath.split('/').filter(p => !!p),\n !resolvedAbsolute,\n ).join('/');\n\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}\n\n/** JSDoc */\nfunction trim(arr) {\n let start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') {\n break;\n }\n }\n\n let end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') {\n break;\n }\n }\n\n if (start > end) {\n return [];\n }\n return arr.slice(start, end - start + 1);\n}\n\n// path.relative(from, to)\n// posix version\n/** JSDoc */\nfunction relative(from, to) {\n /* eslint-disable no-param-reassign */\n from = resolve(from).slice(1);\n to = resolve(to).slice(1);\n /* eslint-enable no-param-reassign */\n\n const fromParts = trim(from.split('/'));\n const toParts = trim(to.split('/'));\n\n const length = Math.min(fromParts.length, toParts.length);\n let samePartsLength = length;\n for (let i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n let outputParts = [];\n for (let i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n}\n\n// path.normalize(path)\n// posix version\n/** JSDoc */\nfunction normalizePath(path) {\n const isPathAbsolute = isAbsolute(path);\n const trailingSlash = path.slice(-1) === '/';\n\n // Normalize the path\n let normalizedPath = normalizeArray(\n path.split('/').filter(p => !!p),\n !isPathAbsolute,\n ).join('/');\n\n if (!normalizedPath && !isPathAbsolute) {\n normalizedPath = '.';\n }\n if (normalizedPath && trailingSlash) {\n normalizedPath += '/';\n }\n\n return (isPathAbsolute ? '/' : '') + normalizedPath;\n}\n\n// posix version\n/** JSDoc */\nfunction isAbsolute(path) {\n return path.charAt(0) === '/';\n}\n\n// posix version\n/** JSDoc */\nfunction join(...args) {\n return normalizePath(args.join('/'));\n}\n\n/** JSDoc */\nfunction dirname(path) {\n const result = splitPath(path);\n const root = result[0] || '';\n let dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.slice(0, dir.length - 1);\n }\n\n return root + dir;\n}\n\n/** JSDoc */\nfunction basename(path, ext) {\n let f = splitPath(path)[2] || '';\n if (ext && f.slice(ext.length * -1) === ext) {\n f = f.slice(0, f.length - ext.length);\n }\n return f;\n}\n\nexport { basename, dirname, isAbsolute, join, normalizePath, relative, resolve };\n","import { defineIntegration } from '../integration.js';\nimport { relative, basename } from '../utils-hoist/path.js';\nimport { GLOBAL_OBJ } from '../utils-hoist/worldwide.js';\n\nconst INTEGRATION_NAME = 'RewriteFrames';\n\n/**\n * Rewrite event frames paths.\n */\nconst rewriteFramesIntegration = defineIntegration((options = {}) => {\n const root = options.root;\n const prefix = options.prefix || 'app:///';\n\n const isBrowser = 'window' in GLOBAL_OBJ && GLOBAL_OBJ.window !== undefined;\n\n const iteratee = options.iteratee || generateIteratee({ isBrowser, root, prefix });\n\n /** Process an exception event. */\n function _processExceptionsEvent(event) {\n try {\n return {\n ...event,\n exception: {\n ...event.exception,\n // The check for this is performed inside `process` call itself, safe to skip here\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n values: event.exception.values.map(value => ({\n ...value,\n ...(value.stacktrace && { stacktrace: _processStacktrace(value.stacktrace) }),\n })),\n },\n };\n } catch (_oO) {\n return event;\n }\n }\n\n /** Process a stack trace. */\n function _processStacktrace(stacktrace) {\n return {\n ...stacktrace,\n frames: stacktrace && stacktrace.frames && stacktrace.frames.map(f => iteratee(f)),\n };\n }\n\n return {\n name: INTEGRATION_NAME,\n processEvent(originalEvent) {\n let processedEvent = originalEvent;\n\n if (originalEvent.exception && Array.isArray(originalEvent.exception.values)) {\n processedEvent = _processExceptionsEvent(processedEvent);\n }\n\n return processedEvent;\n },\n };\n});\n\n/**\n * Exported only for tests.\n */\nfunction generateIteratee({\n isBrowser,\n root,\n prefix,\n}\n\n) {\n return (frame) => {\n if (!frame.filename) {\n return frame;\n }\n\n // Determine if this is a Windows frame by checking for a Windows-style prefix such as `C:\\`\n const isWindowsFrame =\n /^[a-zA-Z]:\\\\/.test(frame.filename) ||\n // or the presence of a backslash without a forward slash (which are not allowed on Windows)\n (frame.filename.includes('\\\\') && !frame.filename.includes('/'));\n\n // Check if the frame filename begins with `/`\n const startsWithSlash = /^\\//.test(frame.filename);\n\n if (isBrowser) {\n if (root) {\n const oldFilename = frame.filename;\n if (oldFilename.indexOf(root) === 0) {\n frame.filename = oldFilename.replace(root, prefix);\n }\n }\n } else {\n if (isWindowsFrame || startsWithSlash) {\n const filename = isWindowsFrame\n ? frame.filename\n .replace(/^[a-zA-Z]:/, '') // remove Windows-style prefix\n .replace(/\\\\/g, '/') // replace all `\\\\` instances with `/`\n : frame.filename;\n const base = root ? relative(root, filename) : basename(filename);\n frame.filename = `${prefix}${base}`;\n }\n }\n\n return frame;\n };\n}\n\nexport { generateIteratee, rewriteFramesIntegration };\n","import { GLOBAL_OBJ } from '@sentry/core';\nexport const CAP_GLOBAL_OBJ = GLOBAL_OBJ;\n/**\n * Return the current webview url if found.\n */\nexport function getCurrentServerUrl() {\n return CAP_GLOBAL_OBJ.WEBVIEW_SERVER_URL;\n}\n","import { rewriteFramesIntegration as originalRewriteFramesIntegration, } from '@sentry/core';\nimport { getCurrentServerUrl } from '../utils/webViewUrl';\n/**\n * Create Capacitor default rewrite frames integration\n * which appends app:// to the beginning of the filename\n * and removes the local server url prefixes.\n */\nexport const capacitorRewriteFramesIntegration = () => {\n return originalRewriteFramesIntegration({\n iteratee: rewriteFramesIteratee,\n });\n};\n/**\n * Rewrites the filename of a stack frame for better readability.\n * - Removes server URL or localhost prefix.\n * - Adjusts for native code frames.\n * - Adds 'app://' prefix for non-http(s) frames.\n * - Sets 'in_app' flag to true for app frames, false for native frames.\n */\nfunction rewriteFramesIteratee(frame) {\n if (frame.filename) {\n const isReachableHost = /^https?:\\/\\//.test(frame.filename);\n const serverUrl = getCurrentServerUrl();\n if (serverUrl) {\n frame.filename = frame.filename.replace(serverUrl, '');\n }\n else {\n frame.filename = frame.filename\n .replace(/^https?:\\/\\/localhost(:\\d+)?/, '')\n .replace(/^capacitor:\\/\\/localhost(:\\d+)?/, '');\n }\n frame.filename = frame.filename.replace(/^ng:\\/\\//, '');\n const isNativeFrame = frame.filename === '[native code]' || frame.filename === 'native';\n if (!isNativeFrame) {\n // We don't need to use `app://` protocol for http(s) based hosts\n if (!isReachableHost) {\n // We always want to have a triple slash\n const filename = frame.filename.startsWith('/')\n ? frame.filename\n : `/${frame.filename}`;\n const appPrefix = 'app://';\n frame.filename = `${appPrefix}${filename}`;\n }\n frame.in_app = true;\n }\n else {\n frame.in_app = false;\n }\n }\n return frame;\n}\n","export const SDK_PACKAGE_NAME = 'npm:@sentry/capacitor';\nexport const SDK_NAME = 'sentry.javascript.capacitor';\nexport const SDK_VERSION = '1.2.0';\n","import { logger } from '@sentry/core';\nimport { SDK_NAME, SDK_VERSION } from '../version';\nimport { NATIVE } from '../wrapper';\nconst INTEGRATION_NAME = 'SdkInfo';\nlet NativeSdkPackage = null;\nexport const sdkInfoIntegration = () => {\n return {\n name: INTEGRATION_NAME,\n processEvent: processEvent,\n };\n};\nasync function processEvent(event) {\n // The native SDK info package here is only used on iOS as `beforeSend` is not called on `captureEnvelope`.\n // this._nativeSdkInfo should be defined a following time so this call won't always be awaited.\n if (NATIVE.platform === 'ios' && NativeSdkPackage === null) {\n try {\n NativeSdkPackage = await NATIVE.fetchNativeSdkInfo();\n }\n catch (_) {\n // If this fails, go ahead as usual as we would rather have the event be sent with a package missing.\n logger.warn('[SdkInfo] Native SDK Info retrieval failed...something could be wrong with your Sentry installation.');\n }\n }\n event.platform = event.platform || 'javascript';\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || SDK_NAME;\n event.sdk.version = event.sdk.version || SDK_VERSION;\n event.sdk.packages = [\n // default packages are added by baseclient and should not be added here\n ...(event.sdk.packages || []),\n ...((NativeSdkPackage && [NativeSdkPackage]) || []),\n {\n name: 'npm:@sentry/capacitor',\n version: SDK_VERSION,\n },\n ];\n return event;\n}\n","import { fill } from '@sentry/core';\n/**\n * The same as `import { fill } from '@sentry/core';` but with explicit types.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function fillTyped(source, name, replacement) {\n fill(source, name, replacement);\n}\n","import { DEFAULT_BREADCRUMB_LEVEL } from './breadcrumb';\nimport { fillTyped } from './utils/fill';\nimport { convertToNormalizedObject } from './utils/normalize';\nimport { NATIVE } from './wrapper';\n/**\n * This WeakMap is used to keep track of which scopes have been synced to the native SDKs.\n * This ensures that we don't double sync the same scope.\n */\nconst syncedToNativeMap = new WeakMap();\n/**\n * Hooks into the scope set methods and sync new data added to the given scope with the native SDKs.\n */\nexport function enableSyncToNative(scope) {\n if (syncedToNativeMap.has(scope)) {\n return;\n }\n syncedToNativeMap.set(scope, true);\n fillTyped(scope, 'setUser', original => (user) => {\n NATIVE.setUser(user);\n return original.call(scope, user);\n });\n fillTyped(scope, 'setTag', original => (key, value) => {\n NATIVE.setTag(key, value);\n return original.call(scope, key, value);\n });\n fillTyped(scope, 'setTags', original => (tags) => {\n // As native only has setTag, we just loop through each tag key.\n Object.keys(tags).forEach(key => {\n NATIVE.setTag(key, tags[key]);\n });\n return original.call(scope, tags);\n });\n fillTyped(scope, 'setExtras', original => (extras) => {\n Object.keys(extras).forEach(key => {\n NATIVE.setExtra(key, extras[key]);\n });\n return original.call(scope, extras);\n });\n fillTyped(scope, 'setExtra', original => (key, value) => {\n NATIVE.setExtra(key, value);\n return original.call(scope, key, value);\n });\n fillTyped(scope, 'addBreadcrumb', original => (breadcrumb, maxBreadcrumbs) => {\n const mergedBreadcrumb = {\n ...breadcrumb,\n level: breadcrumb.level || DEFAULT_BREADCRUMB_LEVEL,\n data: breadcrumb.data ? convertToNormalizedObject(breadcrumb.data) : undefined,\n };\n original.call(scope, mergedBreadcrumb, maxBreadcrumbs);\n const finalBreadcrumb = scope.getLastBreadcrumb();\n if (finalBreadcrumb) {\n NATIVE.addBreadcrumb(finalBreadcrumb);\n }\n return scope;\n });\n fillTyped(scope, 'clearBreadcrumbs', original => () => {\n NATIVE.clearBreadcrumbs();\n return original.call(scope);\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fillTyped(scope, 'setContext', original => (key, context) => {\n NATIVE.setContext(key, context);\n return original.call(scope, key, context);\n });\n}\n","export const DEFAULT_BREADCRUMB_LEVEL = 'info';\n","import { CAP_GLOBAL_OBJ } from '../utils/webViewUrl';\nimport { utf8ToBytes } from '../vendor';\nexport const useEncodePolyfill = () => {\n if (!CAP_GLOBAL_OBJ.__SENTRY__) {\n CAP_GLOBAL_OBJ.__SENTRY__ = {};\n }\n CAP_GLOBAL_OBJ.__SENTRY__.encodePolyfill = encodePolyfill;\n};\nexport const encodePolyfill = (text) => {\n const bytes = new Uint8Array(utf8ToBytes(text));\n return bytes;\n};\n","import { makePromiseBuffer } from '@sentry/core';\nimport { NATIVE } from '../wrapper';\nexport const DEFAULT_BUFFER_SIZE = 30;\n/** Native Transport class implementation */\nexport class NativeTransport {\n constructor(options = {}) {\n this._buffer = makePromiseBuffer(options.bufferSize || DEFAULT_BUFFER_SIZE);\n }\n /**\n * Sends the envelope to the Store endpoint in Sentry.\n *\n * @param envelope Envelope that should be sent to Sentry.\n */\n send(envelope) {\n return this._buffer.add(() => NATIVE.sendEnvelope(envelope));\n }\n /**\n * Wait for all envelopes to be sent or the timeout to expire, whichever comes first.\n *\n * @param timeout Maximum time in ms the transport should wait for envelopes to be flushed. Omitting this parameter will\n * cause the transport to wait until all events are sent before resolving the promise.\n * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n * still events in the queue when the timeout is reached.\n */\n flush(timeout) {\n return this._buffer.drain(timeout);\n }\n}\n/**\n * Creates a Native Transport.\n */\nexport function makeNativeTransport(options = {}) {\n return new NativeTransport(options);\n}\n/**\n * Creates a Native Transport factory if the native transport is available.\n */\nexport function makeNativeTransportFactory({ enableNative, }) {\n if (enableNative && NATIVE.isNativeClientAvailable()) {\n return makeNativeTransport;\n }\n return null;\n}\n","import { logger } from '@sentry/core';\n/**\n * Returns callback factory wrapped with try/catch\n * or the original passed value is it's not a function.\n *\n * If the factory fails original data are returned as it.\n * They might be partially modified by the failed function.\n */\nexport function safeFactory(danger, options = {}) {\n if (typeof danger === 'function') {\n return (...args) => {\n try {\n return danger(...args);\n }\n catch (error) {\n logger.error(options.loggerMessage\n ? options.loggerMessage\n : `The ${danger.name} callback threw an error`, error);\n return args[0];\n }\n };\n }\n else {\n return danger;\n }\n}\n/**\n * Returns sage tracesSampler that returns 0 if the original failed.\n */\nexport function safeTracesSampler(tracesSampler) {\n if (tracesSampler) {\n return (...args) => {\n try {\n return tracesSampler(...args);\n }\n catch (error) {\n logger.error('The tracesSampler callback threw an error', error);\n return 0;\n }\n };\n }\n else {\n return tracesSampler;\n }\n}\n","import * as Sentry from '@sentry/browser';\nimport { breadcrumbsIntegration, globalHandlersIntegration, linkedErrorsIntegration, httpContextIntegration, init as init$1, setContext, browserTracingIntegration as browserTracingIntegration$1, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, getClient, startBrowserTracingNavigationSpan, startInactiveSpan, getCurrentScope, getActiveSpan, getRootSpan } from '@sentry/browser';\nexport * from '@sentry/browser';\nimport * as i0 from '@angular/core';\nimport { VERSION, Injectable, Inject, Directive, Input, NgModule } from '@angular/core';\nimport { inboundFiltersIntegration, functionToStringIntegration, dedupeIntegration, applySdkMetadata, logger, isString, consoleSandbox, stripUrlQueryAndFragment, timestampInSeconds } from '@sentry/core';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport * as i1 from '@angular/router';\nimport { NavigationStart, ResolveEnd, NavigationEnd, NavigationCancel, NavigationError } from '@angular/router';\nimport { Subscription } from 'rxjs';\nimport { filter, tap } from 'rxjs/operators';\n\n/*\n * This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking\n * for users.\n *\n * We define \"magic strings\" like `__SENTRY_DEBUG__` that may get replaced with actual values during our, or the user's\n * build process. Take care when introducing new flags - they must not throw if they are not replaced. See the Debug\n * Build Flags section in CONTRIBUTING.md.\n */\n/** Flag that is true for debug builds, false otherwise. */\nconst IS_DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' ? true : __SENTRY_DEBUG__;\n\n/**\n * Get the default integrations for the Angular SDK.\n */\nfunction getDefaultIntegrations() {\n // Don't include the BrowserApiErrors integration as it interferes with the Angular SDK's `ErrorHandler`:\n // BrowserApiErrors would catch certain errors before they reach the `ErrorHandler` and\n // thus provide a lower fidelity error than what `SentryErrorHandler`\n // (see errorhandler.ts) would provide.\n //\n // see:\n // - https://github.com/getsentry/sentry-javascript/issues/5417#issuecomment-1453407097\n // - https://github.com/getsentry/sentry-javascript/issues/2744\n return [\n inboundFiltersIntegration(),\n functionToStringIntegration(),\n breadcrumbsIntegration(),\n globalHandlersIntegration(),\n linkedErrorsIntegration(),\n dedupeIntegration(),\n httpContextIntegration(),\n ];\n}\n/**\n * Inits the Angular SDK\n */\nfunction init(options) {\n const opts = {\n defaultIntegrations: getDefaultIntegrations(),\n ...options,\n };\n applySdkMetadata(opts, 'angular');\n checkAndSetAngularVersion();\n return init$1(opts);\n}\nfunction checkAndSetAngularVersion() {\n const ANGULAR_MINIMUM_VERSION = 14;\n const angularVersion = VERSION && VERSION.major ? parseInt(VERSION.major, 10) : undefined;\n if (angularVersion) {\n if (angularVersion < ANGULAR_MINIMUM_VERSION) {\n IS_DEBUG_BUILD &&\n logger.warn(`This Sentry SDK does not officially support Angular ${angularVersion}.`, `This SDK only supports Angular ${ANGULAR_MINIMUM_VERSION} and above.`, \"If you're using lower Angular versions, check the Angular Version Compatibility table in our docs: https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility.\", 'Otherwise, please consider upgrading your Angular version.');\n }\n setContext('angular', { version: angularVersion });\n }\n}\n\n// In Angular 17 and future versions, zoneless support is forthcoming.\n// Therefore, it's advisable to safely check whether the `run` function is\n// available in the `` context.\n// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\nconst isNgZoneEnabled = typeof Zone !== 'undefined' && Zone.root && Zone.root.run;\n/**\n * The function that does the same job as `NgZone.runOutsideAngular`.\n *\n * ⚠️ Note: All of the Sentry functionality called from inside the Angular\n * execution context must be wrapped in this function. Angular's rendering\n * relies on asynchronous tasks being scheduled within its execution context.\n * Since Sentry schedules tasks that do not interact with Angular's rendering,\n * it may prevent Angular from functioning reliably. Consequently, it may disrupt\n * processes such as server-side rendering or client-side hydration.\n */\nfunction runOutsideAngular(callback) {\n // Running the `callback` within the root execution context enables Angular\n // processes (such as SSR and hydration) to continue functioning normally without\n // timeouts and delays that could affect the user experience. This approach is\n // necessary because some of the Sentry functionality continues to run in the background.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return isNgZoneEnabled ? Zone.root.run(callback) : callback();\n}\n\n// https://github.com/angular/angular/blob/master/packages/core/src/util/errors.ts\nfunction tryToUnwrapZonejsError(error) {\n // TODO: once Angular14 is the minimum requirement ERROR_ORIGINAL_ERROR and\n // getOriginalError from error.ts can be used directly.\n return error && error.ngOriginalError\n ? error.ngOriginalError\n : error;\n}\nfunction extractHttpModuleError(error) {\n // The `error` property of http exception can be either an `Error` object, which we can use directly...\n if (isErrorOrErrorLikeObject(error.error)) {\n return error.error;\n }\n // ... or an`ErrorEvent`, which can provide us with the message but no stack...\n // guarding `ErrorEvent` against `undefined` as it's not defined in Node environments\n if (typeof ErrorEvent !== 'undefined' && error.error instanceof ErrorEvent && error.error.message) {\n return error.error.message;\n }\n // ...or the request body itself, which we can use as a message instead.\n if (typeof error.error === 'string') {\n return `Server returned code ${error.status} with body \"${error.error}\"`;\n }\n // If we don't have any detailed information, fallback to the request message itself.\n return error.message;\n}\nfunction isErrorOrErrorLikeObject(value) {\n if (value instanceof Error) {\n return true;\n }\n if (value === null || typeof value !== 'object') {\n return false;\n }\n const candidate = value;\n return (isString(candidate.name) &&\n isString(candidate.message) &&\n (undefined === candidate.stack || isString(candidate.stack)));\n}\n/**\n * Implementation of Angular's ErrorHandler provider that can be used as a drop-in replacement for the stock one.\n */\nclass SentryErrorHandler {\n constructor(options) {\n this._options = {\n logErrors: true,\n ...options,\n };\n }\n /**\n * Method executed when the injector is destroyed.\n */\n ngOnDestroy() {\n if (this._removeAfterSendEventListener) {\n this._removeAfterSendEventListener();\n }\n }\n /**\n * Method called for every value captured through the ErrorHandler\n */\n handleError(error) {\n const extractedError = this._extractError(error) || 'Handled unknown error';\n // Capture handled exception and send it to Sentry.\n const eventId = runOutsideAngular(() => Sentry.captureException(extractedError, {\n mechanism: { type: 'angular', handled: false },\n }));\n // When in development mode, log the error to console for immediate feedback.\n if (this._options.logErrors) {\n // eslint-disable-next-line no-console\n consoleSandbox(() => console.error(extractedError));\n }\n // Optionally show user dialog to provide details on what happened.\n if (this._options.showDialog) {\n const client = Sentry.getClient();\n if (client && !this._removeAfterSendEventListener) {\n this._removeAfterSendEventListener = client.on('afterSendEvent', (event) => {\n if (!event.type && event.event_id) {\n runOutsideAngular(() => {\n Sentry.showReportDialog({ ...this._options.dialogOptions, eventId: event.event_id });\n });\n }\n });\n }\n else if (!client) {\n runOutsideAngular(() => {\n Sentry.showReportDialog({ ...this._options.dialogOptions, eventId });\n });\n }\n }\n }\n /**\n * Used to pull a desired value that will be used to capture an event out of the raw value captured by ErrorHandler.\n */\n _extractError(error) {\n // Allow custom overrides of extracting function\n if (this._options.extractor) {\n const defaultExtractor = this._defaultExtractor.bind(this);\n return this._options.extractor(error, defaultExtractor);\n }\n return this._defaultExtractor(error);\n }\n /**\n * Default implementation of error extraction that handles default error wrapping, HTTP responses, ErrorEvent and few other known cases.\n */\n _defaultExtractor(errorCandidate) {\n const error = tryToUnwrapZonejsError(errorCandidate);\n // If it's http module error, extract as much information from it as we can.\n if (error instanceof HttpErrorResponse) {\n return extractHttpModuleError(error);\n }\n // We can handle messages and Error objects directly.\n if (typeof error === 'string' || isErrorOrErrorLikeObject(error)) {\n return error;\n }\n // Nothing was extracted, fallback to default error message.\n return null;\n }\n}\nSentryErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: SentryErrorHandler, deps: [{ token: 'errorHandlerOptions' }], target: i0.ɵɵFactoryTarget.Injectable });\nSentryErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: SentryErrorHandler, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: SentryErrorHandler, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: ['errorHandlerOptions']\n }] }]; } });\n/**\n * Factory function that creates an instance of a preconfigured ErrorHandler provider.\n */\nfunction createErrorHandler(config) {\n return new SentryErrorHandler(config);\n}\n\nconst ANGULAR_ROUTING_OP = 'ui.angular.routing';\nconst ANGULAR_INIT_OP = 'ui.angular.init';\nconst ANGULAR_OP = 'ui.angular';\n\nlet instrumentationInitialized;\n/**\n * A custom browser tracing integration for Angular.\n *\n * Use this integration in combination with `TraceService`\n */\nfunction browserTracingIntegration(options = {}) {\n // If the user opts out to set this up, we just don't initialize this.\n // That way, the TraceService will not actually do anything, functionally disabling this.\n if (options.instrumentNavigation !== false) {\n instrumentationInitialized = true;\n }\n return browserTracingIntegration$1({\n ...options,\n instrumentNavigation: false,\n });\n}\n/**\n * This function is extracted to make unit testing easier.\n */\nfunction _updateSpanAttributesForParametrizedUrl(route, span) {\n const attributes = (span && spanToJSON(span).data) || {};\n if (span && attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] === 'url') {\n span.updateName(route);\n span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, 'route');\n span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, `auto.${spanToJSON(span).op}.angular`);\n }\n}\n/**\n * Angular's Service responsible for hooking into Angular Router and tracking current navigation process.\n * Creates a new transaction for every route change and measures a duration of routing process.\n */\nclass TraceService {\n constructor(_router) {\n this._router = _router;\n this.navStart$ = this._router.events.pipe(filter((event) => event instanceof NavigationStart), tap(navigationEvent => {\n if (!instrumentationInitialized) {\n IS_DEBUG_BUILD &&\n logger.error('Angular integration has tracing enabled, but Tracing integration is not configured');\n return;\n }\n if (this._routingSpan) {\n this._routingSpan.end();\n this._routingSpan = null;\n }\n const client = getClient();\n const strippedUrl = stripUrlQueryAndFragment(navigationEvent.url);\n if (client) {\n // see comment in `_isPageloadOngoing` for rationale\n if (!this._isPageloadOngoing()) {\n runOutsideAngular(() => {\n startBrowserTracingNavigationSpan(client, {\n name: strippedUrl,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.navigation.angular',\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n },\n });\n });\n }\n else {\n // The first time we end up here, we set the pageload flag to false\n // Subsequent navigations are going to get their own navigation root span\n // even if the pageload root span is still ongoing.\n this._pageloadOngoing = false;\n }\n this._routingSpan =\n runOutsideAngular(() => startInactiveSpan({\n name: `${navigationEvent.url}`,\n op: ANGULAR_ROUTING_OP,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.angular',\n [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'url',\n url: strippedUrl,\n ...(navigationEvent.navigationTrigger && {\n navigationTrigger: navigationEvent.navigationTrigger,\n }),\n },\n })) || null;\n return;\n }\n }));\n // The ResolveEnd event is fired when the Angular router has resolved the URL and\n // the parameter<->value mapping. It holds the new resolved router state with\n // the mapping and the new URL.\n // Only After this event, the route is activated, meaning that the transaction\n // can be updated with the parameterized route name before e.g. the route's root\n // component is initialized. This should be early enough before outgoing requests\n // are made from the new route, with the exceptions of requests being made during\n // a navigation.\n this.resEnd$ = this._router.events.pipe(filter((event) => event instanceof ResolveEnd), tap(event => {\n const route = getParameterizedRouteFromSnapshot(event.state.root);\n if (route) {\n getCurrentScope().setTransactionName(route);\n }\n const activeSpan = getActiveSpan();\n const rootSpan = activeSpan && getRootSpan(activeSpan);\n _updateSpanAttributesForParametrizedUrl(route, rootSpan);\n }));\n this.navEnd$ = this._router.events.pipe(filter(event => event instanceof NavigationEnd || event instanceof NavigationCancel || event instanceof NavigationError), tap(() => {\n if (this._routingSpan) {\n runOutsideAngular(() => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this._routingSpan.end();\n });\n this._routingSpan = null;\n }\n }));\n this._routingSpan = null;\n this._pageloadOngoing = true;\n this._subscription = new Subscription();\n this._subscription.add(this.navStart$.subscribe());\n this._subscription.add(this.resEnd$.subscribe());\n this._subscription.add(this.navEnd$.subscribe());\n }\n /**\n * This is used to prevent memory leaks when the root view is created and destroyed multiple times,\n * since `subscribe` callbacks capture `this` and prevent many resources from being GC'd.\n */\n ngOnDestroy() {\n this._subscription.unsubscribe();\n }\n /**\n * We only _avoid_ creating a navigation root span in one case:\n *\n * There is an ongoing pageload span AND the router didn't yet emit the first navigation start event\n *\n * The first navigation start event will create the child routing span\n * and update the pageload root span name on ResolveEnd.\n *\n * There's an edge case we need to avoid here: If the router fires the first navigation start event\n * _after_ the pageload root span finished. This is why we check for the pageload root span.\n * Possible real-world scenario: Angular application and/or router is bootstrapped after the pageload\n * idle root span finished\n *\n * The overall rationale is:\n * - if we already avoided creating a navigation root span once, we don't avoid it again\n * (i.e. set `_pageloadOngoing` to `false`)\n * - if `_pageloadOngoing` is already `false`, create a navigation root span\n * - if there's no active/pageload root span, create a navigation root span\n * - only if there's an ongoing pageload root span AND `_pageloadOngoing` is still `true,\n * don't create a navigation root span\n */\n _isPageloadOngoing() {\n if (!this._pageloadOngoing) {\n // pageload is already finished, no need to update\n return false;\n }\n const activeSpan = getActiveSpan();\n if (!activeSpan) {\n this._pageloadOngoing = false;\n return false;\n }\n const rootSpan = getRootSpan(activeSpan);\n this._pageloadOngoing = spanToJSON(rootSpan).op === 'pageload';\n return this._pageloadOngoing;\n }\n}\nTraceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });\nTraceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceService, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Router }]; } });\nconst UNKNOWN_COMPONENT = 'unknown';\n/**\n * A directive that can be used to capture initialization lifecycle of the whole component.\n */\nclass TraceDirective {\n /**\n * Implementation of OnInit lifecycle method\n * @inheritdoc\n */\n ngOnInit() {\n if (!this.componentName) {\n this.componentName = UNKNOWN_COMPONENT;\n }\n if (getActiveSpan()) {\n this._tracingSpan = runOutsideAngular(() => startInactiveSpan({\n name: `<${this.componentName}>`,\n op: ANGULAR_INIT_OP,\n attributes: { [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.angular.trace_directive' },\n }));\n }\n }\n /**\n * Implementation of AfterViewInit lifecycle method\n * @inheritdoc\n */\n ngAfterViewInit() {\n if (this._tracingSpan) {\n runOutsideAngular(() => this._tracingSpan.end());\n }\n }\n}\nTraceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nTraceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"14.3.0\", type: TraceDirective, selector: \"[trace]\", inputs: { componentName: [\"trace\", \"componentName\"] }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceDirective, decorators: [{\n type: Directive,\n args: [{ selector: '[trace]' }]\n }], propDecorators: { componentName: [{\n type: Input,\n args: ['trace']\n }] } });\n/**\n * A module serves as a single compilation unit for the `TraceDirective` and can be re-used by any other module.\n */\nclass TraceModule {\n}\nTraceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nTraceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceModule, declarations: [TraceDirective], exports: [TraceDirective] });\nTraceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"14.3.0\", ngImport: i0, type: TraceModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [TraceDirective],\n exports: [TraceDirective],\n }]\n }] });\n/**\n * Decorator function that can be used to capture initialization lifecycle of the whole component.\n */\nfunction TraceClass(options) {\n let tracingSpan;\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n return target => {\n const originalOnInit = target.prototype.ngOnInit;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n target.prototype.ngOnInit = function (...args) {\n tracingSpan = runOutsideAngular(() => startInactiveSpan({\n onlyIfParent: true,\n name: `<${options && options.name ? options.name : 'unnamed'}>`,\n op: ANGULAR_INIT_OP,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.angular.trace_class_decorator',\n },\n }));\n if (originalOnInit) {\n return originalOnInit.apply(this, args);\n }\n };\n const originalAfterViewInit = target.prototype.ngAfterViewInit;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n target.prototype.ngAfterViewInit = function (...args) {\n if (tracingSpan) {\n runOutsideAngular(() => tracingSpan.end());\n }\n if (originalAfterViewInit) {\n return originalAfterViewInit.apply(this, args);\n }\n };\n };\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n}\n/**\n * Decorator function that can be used to capture a single lifecycle methods of the component.\n */\nfunction TraceMethod(options) {\n // eslint-disable-next-line @typescript-eslint/ban-types\n return (target, propertyKey, descriptor) => {\n const originalMethod = descriptor.value;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n descriptor.value = function (...args) {\n const now = timestampInSeconds();\n runOutsideAngular(() => {\n startInactiveSpan({\n onlyIfParent: true,\n name: `<${options && options.name ? options.name : 'unnamed'}>`,\n op: `${ANGULAR_OP}.${String(propertyKey)}`,\n startTime: now,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.angular.trace_method_decorator',\n },\n }).end(now);\n });\n if (originalMethod) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalMethod.apply(this, args);\n }\n };\n return descriptor;\n };\n}\n/**\n * Takes the parameterized route from a given ActivatedRouteSnapshot and concatenates the snapshot's\n * child route with its parent to produce the complete parameterized URL of the activated route.\n * This happens recursively until the last child (i.e. the end of the URL) is reached.\n *\n * @param route the ActivatedRouteSnapshot of which its path and its child's path is concatenated\n *\n * @returns the concatenated parameterized route string\n */\nfunction getParameterizedRouteFromSnapshot(route) {\n const parts = [];\n let currentRoute = route && route.firstChild;\n while (currentRoute) {\n const path = currentRoute && currentRoute.routeConfig && currentRoute.routeConfig.path;\n if (path === null || path === undefined) {\n break;\n }\n parts.push(path);\n currentRoute = currentRoute.firstChild;\n }\n const fullPath = parts.filter(part => part).join('/');\n return fullPath ? `/${fullPath}/` : '/';\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SentryErrorHandler, TraceClass, TraceDirective, TraceMethod, TraceModule, TraceService, browserTracingIntegration, createErrorHandler, getDefaultIntegrations, init };\n","import { isPlatformServer } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, PLATFORM_ID, NgModule } from '@angular/core';\nimport { Storage } from '@ionic/storage';\nexport { Storage } from '@ionic/storage';\n\nconst StorageConfigToken = new InjectionToken('STORAGE_CONFIG_TOKEN');\nclass NoopStorage extends Storage {\n constructor() {\n super();\n }\n async create() {\n return this;\n }\n async defineDriver() { }\n get driver() {\n return 'noop';\n }\n async get(key) {\n return null;\n }\n async set(key, value) { }\n async remove(key) { }\n async clear() { }\n async length() {\n return 0;\n }\n async keys() {\n return [];\n }\n // eslint-disable-next-line @typescript-eslint/ban-types\n async forEach(iteratorCallback) { }\n setEncryptionKey(key) { }\n}\nfunction provideStorage(platformId, storageConfig) {\n if (isPlatformServer(platformId)) {\n // When running in a server context return the NoopStorage\n return new NoopStorage();\n }\n return new Storage(storageConfig);\n}\nclass IonicStorageModule {\n static forRoot(storageConfig = null) {\n return {\n ngModule: IonicStorageModule,\n providers: [\n { provide: StorageConfigToken, useValue: storageConfig },\n {\n provide: Storage,\n useFactory: provideStorage,\n deps: [PLATFORM_ID, StorageConfigToken],\n },\n ],\n };\n }\n}\nIonicStorageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nIonicStorageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule });\nIonicStorageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule, decorators: [{\n type: NgModule\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IonicStorageModule, StorageConfigToken, provideStorage };\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseMessaging = registerPlugin('FirebaseMessaging', {\n web: () => import('./web').then(m => new m.FirebaseMessagingWeb()),\n});\nexport * from './definitions';\nexport { FirebaseMessaging };\n","import { Injectable, inject } from '@angular/core';\nimport { FirebaseMessaging } from '@capacitor-firebase/messaging';\nimport { Capacitor } from '@capacitor/core';\nimport { UserApi } from 'src/app/core/api/user-api';\nimport { AnalyticsService } from '../analytics/analytics.service';\nimport { HttpService } from '../http/http.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PushMessagingService {\n private httpService = inject(HttpService);\n private analyticsService = inject(AnalyticsService);\n\n constructor() {\n FirebaseMessaging.addListener('notificationReceived', (event) => {\n console.log('PushMessagingService: notificationReceived: ', { event });\n });\n FirebaseMessaging.addListener('notificationActionPerformed', (event) => {\n console.log('PushMessagingService: notificationActionPerformed: ', { event });\n });\n }\n\n async requestPermissions(): Promise {\n try {\n // Don't request for push notifications on web\n if (!Capacitor.isNativePlatform()) {\n return;\n }\n\n const { receive } = await FirebaseMessaging.requestPermissions();\n if (receive == 'granted') {\n const token = await this.getToken();\n await UserApi.request(this.httpService).setFcmToken(token);\n }\n } catch (error) {\n this.analyticsService.handleError(error, 'Request messaging permissions');\n }\n }\n\n private async getToken(): Promise {\n const { token } = await FirebaseMessaging.getToken();\n return token;\n }\n}\n","import { registerPlugin } from '@capacitor/core';\nconst App = registerPlugin('App', {\n web: () => import('./web').then(m => new m.AppWeb()),\n});\nexport * from './definitions';\nexport { App };\n","
\n \n
\n \n
\n
\n \"t('clinch-logo-alt')\"\n
\n
\n {{ gameName }}\n
\n
\n
\n
\n \n
\n
\n {{ balance }} \n \n \n
\n \n
\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport { OperatorService } from 'src/app/core/services/operator/operator.service';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\nimport { GameId } from 'src/app/model/game/game-id';\n\ninterface TabOption {\n label: string;\n id: string;\n}\n\n@Component({\n selector: 'app-navbar',\n templateUrl: './navbar.component.html',\n styleUrls: ['./navbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavbarComponent {\n @Input({ required: true }) gameName!: string;\n @Input({ required: true }) gameId!: GameId;\n @Input() tabs?: TabOption[];\n @Input() balance?: string;\n\n @Output() closeClicked = new EventEmitter();\n @Output() themeClicked = new EventEmitter();\n @Output() tabSelected = new EventEmitter();\n\n OperatorService = OperatorService;\n operatorService = inject(OperatorService);\n themeService = inject(ThemeService);\n\n currencyIcon = this.themeService.currencyIcon();\n\n onCloseClicked() {\n this.closeClicked.emit();\n }\n\n onThemeClicked() {\n this.themeClicked.emit();\n }\n\n onTabSelected(event: string) {\n this.tabSelected.emit(event);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'timeFormat',\n})\nexport class TimeFormatPipe implements PipeTransform {\n transform(seconds: number): string {\n const hours = Math.floor(seconds / 3600);\n const minutes = Math.floor((seconds % 3600) / 60);\n const remainingSeconds = Math.floor(seconds % 60);\n let result = '';\n\n if (hours > 0) {\n result += `${this.formatTimeUnit(hours)}h `;\n }\n if (minutes > 0 || hours > 0) {\n result += `${this.formatTimeUnit(minutes)}m `;\n }\n result += `${this.formatTimeUnit(remainingSeconds)}s`;\n\n return result;\n }\n\n private formatTimeUnit(unit: number): string {\n return unit.toString();\n }\n}\n","
\n \n
\n
\n \n {{ t('countdown-end-within') }}\n \n \n {{ formattedTournamentCountdown }}\n \n
\n
\n
\n vs \n \n {{ opponent }}\n \n \n
\n
\n\n
\n
\n {{ reward }}\n \n \n
\n
\n {{ score }}\n
\n
\n {{ t('countdown-ended') }}\n {{ countdown | timeFormat }}\n
\n
\n
\n
","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n OnInit,\n Output,\n} from '@angular/core';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\nimport { asTimeLeft } from 'src/app/shared/utils/tournament.utils';\n\n@Component({\n selector: 'app-game-score',\n templateUrl: './game-score.component.html',\n styleUrls: ['./game-score.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GameScoreComponent implements OnInit {\n @Input({ required: true }) opponent!: string;\n @Input() opponentId?: string;\n @Input() score?: string;\n @Input({ required: true }) reward!: string;\n @Input() inPlay = false;\n @Input() countdown?: number;\n @Input() tournamentCountdown?: number;\n @Input() bountyAmount?: number;\n\n @Output() opponentClicked = new EventEmitter();\n @Output() backClicked = new EventEmitter();\n\n private themeService = inject(ThemeService);\n translocoService = inject(TranslocoService);\n\n formattedTournamentCountdown: string | undefined;\n currencyIcon = this.themeService.currencyIcon();\n\n async ngOnInit() {\n if (this.tournamentCountdown) {\n this.formattedTournamentCountdown = asTimeLeft(this.tournamentCountdown);\n }\n }\n\n isEnded(): boolean {\n return this.countdown !== undefined && this.countdown <= 0;\n }\n\n onBackClicked() {\n this.backClicked.emit();\n }\n\n onOpponentClicked() {\n if (this.opponentId) {\n this.opponentClicked.emit(this.opponentId);\n }\n }\n\n getBountyAmount(): number | undefined {\n if (this.bountyAmount) return this.bountyAmount / 100;\n return undefined;\n }\n}\n","
\n \n
\n
\n \n
\n\n","import { Component, inject, OnInit, Output, EventEmitter } from '@angular/core';\nimport { Router, NavigationEnd } from '@angular/router';\nimport { PAGE } from 'src/app/routes';\nimport { GameScoreService } from 'src/app/core/services/game-score/game-score.service';\nimport { ThemeService } from 'src/app/core/services/theme/theme.service';\nimport { OperatorService } from 'src/app/core/services/operator/operator.service';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { GameId } from 'src/app/model/game/game-id';\nimport { ModalController, Platform } from '@ionic/angular';\nimport { PlayerStatsDrawerComponent } from '../results/player-stats-drawer/player-stats-drawer.component';\nimport { gameIdToName } from 'src/app/model/game/game-id.utils';\n\n@Component({\n selector: 'app-header',\n templateUrl: './app-header.component.html',\n styleUrls: ['./app-header.component.scss'],\n})\nexport class AppHeaderComponent implements OnInit {\n @Output() closeClicked = new EventEmitter();\n @Output() themeClicked = new EventEmitter();\n @Output() tabSelected = new EventEmitter();\n\n private router = inject(Router);\n private modalController = inject(ModalController);\n private platform = inject(Platform);\n\n operatorService = inject(OperatorService);\n translocoService = inject(TranslocoService);\n themeService = inject(ThemeService);\n gameScoreService = inject(GameScoreService);\n\n showGameScore = false;\n showNavbar = false;\n currentUrl: string | undefined;\n GameId = GameId;\n OperatorService = OperatorService;\n\n ngOnInit() {\n this.router.events.subscribe((event) => {\n if (event instanceof NavigationEnd) {\n this.currentUrl = event.url;\n const url = event.url;\n if (url) {\n this.updateShowGameScore(url);\n this.updateShowNavbar(url);\n }\n }\n });\n }\n\n private updateShowGameScore(url: string) {\n const gameRoutes = [\n `/${PAGE.GAME}`,\n `/${PAGE.PRACTICE_GAME}`,\n `/${PAGE.DEBUG_GAME}`,\n `/${PAGE.LOCAL_GAME}`,\n ];\n this.showGameScore = gameRoutes.some((route) => this.currentUrl?.startsWith(route));\n }\n\n private updateShowNavbar(url: string) {\n this.showNavbar = !(\n url.startsWith(`/?`) ||\n url === '/' ||\n url.startsWith(`/?redirect=true`) ||\n url === `/${PAGE.UNAVAILABLE}`\n );\n }\n\n get currencyIcon(): string | undefined {\n return this.themeService.currencyIcon();\n }\n\n get balance(): string | undefined {\n return this.operatorService.formattedBalance() ?? undefined;\n }\n\n get isDemo(): boolean {\n return OperatorService.IsDemo;\n }\n\n get tabs(): { label: string; id: string }[] {\n return [\n { label: this.translocoService.translate('tabs.play'), id: PAGE.CHOOSE_GAME },\n { label: this.translocoService.translate('tabs.results'), id: PAGE.RESULTS },\n { label: this.translocoService.translate('tabs.leaderboard'), id: PAGE.CHOOSE_LEADERBOARDS },\n { label: this.translocoService.translate('tabs.rules'), id: PAGE.SELECT_RULES },\n ];\n }\n\n get gameId(): GameId {\n return this.operatorService.gameId as GameId;\n }\n\n get gameName(): string {\n return gameIdToName(this.operatorService.gameId as GameId, this.translocoService);\n }\n\n onCloseClicked() {\n this.closeClicked.emit();\n }\n\n onThemeClicked() {\n this.themeClicked.emit();\n }\n\n onTabSelected(tabId: string) {\n this.tabSelected.emit(tabId);\n }\n\n onBackClicked() {\n window.location.href = '?redirect=true';\n }\n\n onOpponentClicked(opponentId: string) {\n this.openModal(opponentId);\n }\n\n private async openModal(userId: string) {\n const isMobile = this.platform.is('mobile');\n const modal = await this.modalController.create({\n component: PlayerStatsDrawerComponent,\n componentProps: { userId, gameId: this.operatorService.gameId },\n initialBreakpoint: isMobile ? 1 : undefined,\n breakpoints: isMobile ? [0, 1] : undefined,\n handle: false,\n backdropDismiss: false,\n cssClass: isMobile ? 'mobile-rounded-modal' : 'desktop-rounded-modal',\n });\n\n await modal.present();\n }\n}\n","\n
\n
\n
\n\n \n\n \n \n\n \n \n
\n \n\n
\n Choose a theme\n
\n\n \n\n \n\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n\n \n \n \n\n \n {{\n t('download-native-app') }}\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n\n \n
\n \n
\n \"t('clinch-logo-alt')\"\n
\n\n \n
\n \n
\n\n
\n\n\n \n \n \n
{{ t('clinches-button') }}
\n
\n
\n \n \n \n
{{ t('leaderboards-button') }}\n
\n
\n
\n \n \n \n
{{ t('chat-button') }}
\n
\n
\n \n \n \n
{{ t('profile-button') }}
\n
\n
\n \n \n \n
{{ t('rules-button') }}
\n
\n
\n \n \n \n
{{ t('friends-button') }}
\n
\n
\n \n \n \n
{{ t('download-native-app') }}\n
\n
\n
\n \n
\n \n
{{ t('get-started-button') }}\n
\n
\n
\n \n \n \n
{{ t('statistics') }}
\n
\n
\n
\n
\n\n
\n \n\n \n \n\n \n \n \n \n\n\n","import {\n Component,\n HostListener,\n OnInit,\n OnDestroy,\n inject,\n runInInjectionContext,\n effect,\n Injector,\n AfterViewInit,\n NgZone,\n ViewChild,\n} from '@angular/core';\nimport { NavigationStart, NavigationEnd, Router } from '@angular/router';\nimport { Subscription, filter } from 'rxjs';\nimport { PAGE } from './routes';\nimport { AlertController, IonModal, Platform } from '@ionic/angular';\nimport { environment } from 'src/environments/environment';\nimport { initializeApp, FirebaseOptions } from 'firebase/app';\nimport { Capacitor } from '@capacitor/core';\nimport { OperatorService } from './core/services/operator/operator.service';\nimport { EventName } from './core/services/analytics/event-names';\nimport { AuthService } from './core/services/auth/auth.service';\nimport { ProfileService } from './core/services/profile/profile.service';\nimport { AnalyticsService } from './core/services/analytics/analytics.service';\nimport { StorageService } from './core/services/storage/storage.service';\nimport { PushMessagingService } from './core/services/messaging/push-messaging.service';\nimport { LocalMessagingService } from './core/services/messaging/local-messaging.service';\nimport { PopupCampaignService } from './core/services/popup-campaign/popup-campaign.service';\nimport { DataLayerService } from './core/services/datalayer/datalayer.service';\nimport { UserStateService } from './core/services/user-state/user-state.service';\nimport { Theme, ThemeService } from './core/services/theme/theme.service';\nimport { InitService } from './core/services/init/init.service';\nimport { BootupService } from './core/services/bootup/bootup.service';\nimport { CapacitorUpdater } from '@capgo/capacitor-updater';\nimport { ActivityFeedService } from './core/services/activity-feed/activity-feed.service';\nimport { App, URLOpenListenerEvent } from '@capacitor/app';\nimport { CustomisationService } from './core/services/customisation/customisation.service';\nimport { WalletPaymentService } from './core/services/wallet-payment/wallet-payment.service';\nimport { LocationService } from './core/services/location/location.service';\nimport { TranslocoService } from '@jsverse/transloco';\nimport { isWebGlAvailable } from './shared/utils/window.utils';\nimport { GameId } from './model/game/game-id';\nimport { JobService } from './core/services/job/job.service';\nimport { Job } from './core/services/job/job';\nimport { SingularService } from './core/services/singular/singular.service';\nimport { TournamentService } from './core/services/tournament/tournament.service';\n\nconst HIDE_DOWNLOAD_BANNER_KEY = 'hide_download_banner_key';\n\n@Component({\n selector: 'app-root',\n templateUrl: 'app.component.html',\n styleUrls: ['app.component.scss'],\n})\nexport class AppComponent implements OnInit, AfterViewInit, OnDestroy {\n @ViewChild(IonModal) modal!: IonModal;\n\n EventName = EventName;\n\n private auth = inject(AuthService);\n private profileService = inject(ProfileService);\n private router = inject(Router);\n private platform = inject(Platform);\n private analyticsService = inject(AnalyticsService);\n private storageService = inject(StorageService);\n private pushMessagingService = inject(PushMessagingService);\n private localMessagingService = inject(LocalMessagingService);\n private popupCampaignService = inject(PopupCampaignService);\n private dataLayerService = inject(DataLayerService);\n private injector = inject(Injector);\n private initService = inject(InitService);\n private bootupService = inject(BootupService);\n private activityFeedService = inject(ActivityFeedService);\n private walletPaymentService = inject(WalletPaymentService);\n private ngZone = inject(NgZone);\n private locationService = inject(LocationService);\n private singularService = inject(SingularService);\n customisationService = inject(CustomisationService);\n operatorService = inject(OperatorService);\n userStateService = inject(UserStateService);\n private alertController = inject(AlertController);\n private translocoService = inject(TranslocoService);\n private jobService = inject(JobService);\n private tournamentService = inject(TournamentService);\n\n private watcherSubscription: Subscription | undefined;\n\n OperatorService = OperatorService;\n Theme = Theme;\n GameId = GameId;\n\n themeService = inject(ThemeService);\n mobileMode = false;\n menuOpen = false;\n showSidebar = false;\n PAGE = PAGE;\n isMobileWeb = false;\n isNativePlatform = false;\n canHideDownloadApp = true;\n showReferrals = false;\n showLeaderboards = false;\n showActivityFeed = false;\n unreadCount: string | undefined;\n currentUrl: string | undefined;\n previousUrl: string | undefined;\n\n operatorTabOptions?: { label: string; id: string }[];\n\n private async initialise() {\n this.analyticsService.log(EventName.AppConstructor);\n\n if (!OperatorService.IsDemo) {\n await this.initializeFirebase();\n await this.analyticsService.initialise();\n }\n\n const job = this.jobService.create(async () => {\n await this.bootupService.initialise();\n });\n job.showNoInternetRetry(Job.InfiniteRetry);\n job.addErrorHandler().showFatalError().reloadWindow();\n await job.runNoThrow();\n\n this.showReferrals = this.bootupService.isReferralsEnabled();\n this.showLeaderboards = this.bootupService.isLeaderboardsEnabled();\n this.showActivityFeed = this.bootupService.isActivityFeedEnabled();\n\n this.analyticsService.log(EventName.FirebaseInitialised);\n\n this.updateMobileMode();\n\n this.router.events\n .pipe(filter((event) => event instanceof NavigationStart))\n .subscribe(async (event) => {\n const navStartEvent = event as NavigationStart;\n if (navStartEvent.navigationTrigger === 'popstate' && this.previousUrl) {\n this.popupCampaignService.navButtonClicked(this.previousUrl);\n }\n });\n\n this.router.events\n .pipe(filter((event) => event instanceof NavigationEnd))\n .subscribe(async (event) => {\n const url = (event as NavigationEnd).url;\n this.currentUrl = url;\n this.previousUrl = url;\n const isLoggedIn = this.initService.initialised();\n this.canHideDownloadApp = await this.canHideDownloadBanner();\n this.showSidebar = AppComponent.canShowSidebar(url, isLoggedIn ?? false);\n });\n\n runInInjectionContext(this.injector, () => {\n effect(async () => {\n const initialised = this.initService.initialised();\n const locationAllowed = this.locationService.locationAllowed();\n\n if (initialised) {\n const isActivityFeedEnabled = await this.bootupService.isActivityFeedEnabled();\n if (isActivityFeedEnabled) {\n this.activityFeedService.initialize();\n }\n\n try {\n const supportsWebGL = isWebGlAvailable();\n this.analyticsService.log(EventName.SupportWebGl, { hasWebGl: supportsWebGL });\n } catch (error) {\n console.error(error);\n }\n }\n\n if (initialised && locationAllowed) {\n await this.pushMessagingService.requestPermissions();\n await this.localMessagingService.requestPermissions();\n }\n });\n });\n }\n\n async ngOnInit(): Promise {\n this.analyticsService.log(EventName.AppOnInit);\n await this.initialise();\n\n this.isMobileWeb = this.platform.is('mobile');\n this.isNativePlatform = Capacitor.isNativePlatform();\n this.dataLayerService.setPlatform(this.platform);\n\n if (this.isNativePlatform) {\n // Init Coinbase Wallet SDK\n this.walletPaymentService.initPayments();\n\n App.addListener('appUrlOpen', (event: URLOpenListenerEvent) => {\n this.ngZone.run(async () => {\n this.analyticsService.log(EventName.AppUrlOpen);\n\n const decodedUrl = decodeURIComponent(event.url);\n const params = new URL(decodedUrl).searchParams;\n const continueUrl = params.get('continueUrl');\n\n const hasEmailLinkUrl = await this.auth.isSignInWithEmailLink(decodedUrl).runNoThrow();\n if (hasEmailLinkUrl && continueUrl?.includes(PAGE.SIGNIN)) {\n this.analyticsService.log(EventName.NativeRedirectUrlLink);\n\n // Go back to the sign-in page, set the email link on auth service\n this.auth.setLastEmailLink(decodedUrl);\n\n // Navigate back, set some query parameters so it refreshes the page\n this.router.navigate([\n `${PAGE.SIGNIN}`,\n {\n emailLink: true,\n },\n ]);\n }\n });\n });\n }\n\n if (!OperatorService.IsActive) {\n try {\n await CapacitorUpdater.notifyAppReady();\n } catch (error) {\n this.analyticsService.handleError(error, 'Capacitor update notify ready');\n }\n }\n\n this.updateTranslations();\n\n // check for current route and start/stop the tournament card timer\n this.router.events\n .pipe(filter((event) => event instanceof NavigationStart))\n .subscribe((event) => {\n const navEvent = event as NavigationStart;\n this.tournamentService.navigationChanged(navEvent.url);\n });\n }\n\n private updateTranslations(): void {\n this.translocoService\n .selectTranslate([\n 'games.solitaire-name',\n 'games.blocks-name',\n 'games.blackjack-name',\n 'tabs.play',\n 'tabs.results',\n 'tabs.leaderboard',\n 'tabs.rules',\n ])\n .subscribe((translations) => {\n this.operatorTabOptions = [\n { label: translations[3], id: PAGE.CHOOSE_GAME },\n { label: translations[4], id: PAGE.RESULTS },\n { label: translations[5], id: PAGE.CHOOSE_LEADERBOARDS },\n { label: translations[6], id: PAGE.SELECT_RULES },\n ];\n });\n }\n\n ngOnDestroy(): void {\n App.removeAllListeners();\n this.watcherSubscription?.unsubscribe();\n }\n\n ngAfterViewInit() {\n this.analyticsService.log(EventName.AppView);\n }\n\n get currencyIcon(): string | undefined {\n return this.themeService.currencyIcon();\n }\n\n onTabSelected(tabId: string): void {\n if (tabId === PAGE.SELECT_RULES) {\n const gameId = this.operatorService.gameId;\n this.router.navigate([`${tabId}/${gameId}`]);\n } else {\n this.router.navigate([`${tabId}`]);\n }\n }\n\n onCloseClicked() {\n this.auth\n .signOut()\n .then(() => {\n this.operatorService.redirectToOperator();\n })\n .catch((error) => {\n this.analyticsService.handleError(error, 'App back to operator sign out');\n });\n }\n\n logout() {\n this.auth\n .signOut()\n .then(() => {\n this.router.navigate([PAGE.SIGNIN]);\n })\n .catch((error) => {\n this.analyticsService.handleError(error, 'App logout sign out');\n });\n }\n\n menuOpened() {\n this.menuOpen = true;\n this.analyticsService.log(EventName.SideMenuOpen);\n }\n\n menuClosed() {\n this.menuOpen = false;\n this.analyticsService.log(EventName.SideMenuClose);\n }\n\n showChat(): boolean {\n return !this.mobileMode && this.userStateService.onboarded;\n }\n\n operatorClose(): void {\n this.operatorService.redirectToOperator();\n }\n\n sideMenuPlayClick(): void {\n this.startClinchClick();\n }\n\n get backgroundImage(): string {\n if (this.themeService.hasBackgroundImg()) {\n return `url('/assets/images/${this.themeService.currentTheme()}/background.jpg')`;\n }\n return `none`;\n }\n\n async sideMenuInviteClick(): Promise {\n if (environment.telegram) {\n const link = await this.profileService.getTelegramLink();\n window.Telegram.WebApp.openTelegramLink(link);\n }\n }\n\n clinchesClick(): void {\n this.analyticsService.log(EventName.SideMenuClinchesClick);\n }\n\n gameId() {\n return this.operatorService.gameId as GameId;\n }\n\n async chatClick(): Promise {\n this.analyticsService.log(EventName.SideMenuChatClick);\n const alert = await this.alertController.create({\n header: this.translocoService.translate('app-component.join-chat-title'),\n message: this.translocoService.translate('app-component.join-chat-message'),\n cssClass: 'alert',\n buttons: [\n {\n text: this.translocoService.translate('app-component.join-chat-cancel'),\n role: 'cancel',\n cssClass: 'alert-button',\n },\n {\n text: this.translocoService.translate('app-component.join-chat-confirm'),\n cssClass: 'alert-button',\n handler: () => {\n alert.dismiss();\n window.open('https://t.me/clinchgg', '_blank');\n },\n },\n ],\n });\n alert.present();\n }\n\n profileClick(): void {\n this.analyticsService.log(EventName.SideMenuProfileClick);\n }\n\n rulesClick(): void {\n this.analyticsService.log(EventName.SideMenuRulesClick);\n }\n\n statsClick(): void {\n this.analyticsService.log(EventName.SideMenuStats);\n }\n\n tipsClick(): void {\n this.analyticsService.log(EventName.SideMenuTipsClick);\n }\n\n referralClick(): void {\n this.analyticsService.log(EventName.SideMenuReferralClick);\n }\n\n leaderboardsClick(): void {\n this.analyticsService.log(EventName.SideMenuLeaderboardsClick);\n }\n\n activityFeedClick(): void {\n this.analyticsService.log(EventName.SideMenuActivityFeedClick);\n }\n\n downloadAppClick(): void {\n this.analyticsService.log(EventName.SideMenuDownloadAppClick);\n if (environment.telegram) {\n window.Telegram.WebApp.openLink(\n 'https://clinch.gg/?wpsrc=Telegram&wpcn=telegram_link&utm_campaign=telegram_link&utm_source=Telegram&utm_medium=socials',\n { try_instant_view: false },\n );\n } else {\n this.singularService.openApp();\n }\n }\n\n logoutClick(): void {\n this.analyticsService.log(EventName.SideMenuLogoutClick);\n }\n\n privacyClick(): void {\n this.analyticsService.log(EventName.SideMenuPrivacyClick);\n }\n\n termsClick(): void {\n this.analyticsService.log(EventName.SideMenuTermsClick);\n }\n\n faqClick(): void {\n this.analyticsService.log(EventName.SideMenuFAQClick);\n }\n\n depositlessClick(): void {\n this.analyticsService.log(EventName.SideMenuDepositlessClick);\n }\n\n openAppDownloadClick(): void {\n this.analyticsService.log(EventName.OpenAppDownloadClick);\n this.hideDownloadBanner();\n }\n\n closeDownloadBannerClick(): void {\n this.analyticsService.log(EventName.CloseDownloadBannerClick);\n this.hideDownloadBanner();\n }\n\n @HostListener('window:resize', ['$event'])\n onResize(): void {\n this.updateMobileMode();\n }\n\n @HostListener('window:mouseout', ['$event'])\n onMouseOut(event: any) {\n // Check if the mouse is leaving the document area\n if (!event.relatedTarget && !event.toElement) {\n // Mouse is leaving the document area, trigger page view event\n this.popupCampaignService.leaveSiteDetected(this.router.url);\n }\n }\n\n isTelegram(): boolean {\n return environment.telegram;\n }\n\n isDownloadBannerVisible() {\n return (\n this.customisationService.isDownloadAppEnabled() &&\n !this.canHideDownloadApp &&\n !this.currentUrl?.startsWith(`/${PAGE.OPEN_WALLET}`) &&\n !this.currentUrl?.startsWith(`/${PAGE.SIGNIN}`)\n );\n }\n\n onThemeClicked() {\n this.modal.present();\n }\n\n onThemeCloseClick() {\n this.modal.dismiss();\n }\n\n async canDismiss(data?: unknown, role?: string) {\n return role !== 'gesture';\n }\n\n private updateMobileMode() {\n this.mobileMode = window.innerWidth < 992;\n }\n\n isMobile(): boolean {\n return this.platform.is('mobile');\n }\n\n private async canHideDownloadBanner(): Promise {\n const canHide = await this.storageService.getItem(HIDE_DOWNLOAD_BANNER_KEY);\n return canHide === 'hide';\n }\n\n private hideDownloadBanner() {\n this.canHideDownloadApp = true;\n this.storageService.setItem(HIDE_DOWNLOAD_BANNER_KEY, 'hide').catch((error) => {\n this.analyticsService.handleError(error, 'Hide download banner');\n });\n }\n\n private async initializeFirebase(): Promise {\n if (this.platform.is('capacitor')) {\n return;\n }\n initializeApp(environment.firebase as FirebaseOptions);\n }\n\n private async startClinchClick(): Promise {\n this.router.navigate([PAGE.CHOOSE_GAME]);\n }\n\n private static canShowSidebar(url: string, isLoggedIn: boolean): boolean {\n return !(\n url === `/${PAGE.GEO_LOCATION_CHECK}` ||\n url === `/${PAGE.OPERATOR}` ||\n url.startsWith(`/${PAGE.OPEN_WALLET}`) ||\n url.startsWith(`/${PAGE.SIGNIN}`) ||\n url.startsWith(`/?`) ||\n url === '/' ||\n url.startsWith(`/?redirect=true`) ||\n url.startsWith(`/${PAGE.GAME}/`) ||\n url.startsWith(`/${PAGE.PRACTICE_GAME}`) ||\n url === `/${PAGE.UPDATE_REQUIRED}` ||\n url === `/${PAGE.UNAVAILABLE}` ||\n url === `/${PAGE.DEMO_SIGNIN}` ||\n (url === `/${PAGE.PRIVACY}` && !isLoggedIn) ||\n (url === `/${PAGE.TERMS}` && !isLoggedIn)\n );\n }\n\n onHeaderCloseClicked() {\n this.onCloseClicked();\n }\n\n onHeaderThemeClicked() {\n this.onThemeClicked();\n }\n\n onHeaderTabSelected(tabId: string) {\n this.onTabSelected(tabId);\n }\n}\n","import type { WebLNProvider } from '@webbtc/webln-types';\n\nexport function isDesktop() {\n return window.innerWidth >= 768;\n}\n\nexport async function detectWebLNProvider(timeoutParam: number): Promise {\n const timeout = timeoutParam ?? 3000;\n const interval = 100;\n let handled = false;\n\n return new Promise((resolve) => {\n const weblnWindow = window as Window;\n if (weblnWindow.webln) {\n handleWebLN();\n } else {\n document.addEventListener('webln:ready', handleWebLN, { once: true });\n\n let i = 0;\n const checkInterval = setInterval(function () {\n if (weblnWindow.webln || i >= timeout / interval) {\n handleWebLN();\n clearInterval(checkInterval);\n }\n i++;\n }, interval);\n }\n\n async function handleWebLN() {\n if (handled) {\n return;\n }\n handled = true;\n\n document.removeEventListener('webln:ready', handleWebLN);\n\n resolve(weblnWindow.webln as WebLNProvider | null);\n }\n });\n}\n\nexport function isWebGlAvailable(): boolean {\n try {\n const canvas = document.createElement('canvas');\n return !!(\n window.WebGLRenderingContext &&\n (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'))\n );\n } catch (error) {\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { OperatorService } from '../services/operator/operator.service';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class OperatorGuard {\n private router = inject(Router);\n\n public async canActivate(): Promise {\n if (!OperatorService.IsActive) {\n return true;\n }\n this.router.navigate([PAGE.LOADING]);\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AuthService } from '../services/auth/auth.service';\nimport { AnalyticsService } from '../services/analytics/analytics.service';\nimport { OperatorService } from '../services/operator/operator.service';\nimport { EventName } from '../services/analytics/event-names';\nimport { PAGE } from 'src/app/routes';\nimport { environment } from 'src/environments/environment';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LoadingAuthGuard {\n private authService = inject(AuthService);\n private router = inject(Router);\n private analyticsService = inject(AnalyticsService);\n\n public async canActivate(): Promise {\n this.analyticsService.log(EventName.LoadingGuard);\n if (OperatorService.IsActive || environment.telegram || (await this.authService.userExists())) {\n return true;\n }\n\n this.router.navigate([`/${PAGE.SIGNIN}`]);\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { NavController } from '@ionic/angular';\nimport { LocationService } from '../services/location/location.service';\nimport { PAGE } from 'src/app/routes';\nimport { OperatorService } from '../services/operator/operator.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LocationBlockedGuard {\n private locationService = inject(LocationService);\n private navController = inject(NavController);\n\n public async canActivate(): Promise {\n if (OperatorService.IsActive) {\n return true;\n }\n\n const job = this.locationService.isCountryBlocked();\n job.showNoInternetRetry();\n job.addErrorHandler().reloadWindow();\n const isBlocked = await job.runNoThrow();\n\n if (isBlocked) {\n this.navController.navigateRoot(`/${PAGE.UNAVAILABLE}`);\n return false;\n }\n return true;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { BootupService } from '../services/bootup/bootup.service';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class NoUpdateRequiredGuard {\n private bootupService = inject(BootupService);\n private router = inject(Router);\n\n public async canActivate(): Promise {\n if (await this.bootupService.updateRequired()) {\n return true;\n }\n this.router.navigate([PAGE.LOADING]);\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AuthService } from '../services/auth/auth.service';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AuthGuard {\n private authService = inject(AuthService);\n private router = inject(Router);\n\n public async canActivate(): Promise {\n const job = this.authService.isAuthenticated();\n const isAuthenticated = await job.runNoThrow();\n\n if (isAuthenticated) {\n return true;\n }\n this.router.navigate([`/${PAGE.LOADING}`]);\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { NavController } from '@ionic/angular';\nimport { BootupService } from '../services/bootup/bootup.service';\nimport { PAGE } from 'src/app/routes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class UpdateRequiredGuard {\n private bootupService = inject(BootupService);\n private navController = inject(NavController);\n\n public async canActivate(): Promise {\n if (!(await this.bootupService.updateRequired())) {\n return true;\n }\n this.navController.navigateRoot(`/${PAGE.UPDATE_REQUIRED}`);\n return false;\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AuthService } from '../services/auth/auth.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class NoAuthGuard {\n private authService = inject(AuthService);\n private router = inject(Router);\n\n public async canActivate(): Promise {\n const job = this.authService.isAuthenticated();\n const isAuthenticated = await job.runNoThrow();\n if (isAuthenticated) {\n this.router.navigate([`/`]);\n return false;\n }\n return true;\n }\n}\n","import { inject } from '@angular/core';\nimport { CanActivateFn, Router } from '@angular/router';\nimport { LocationService } from '../services/location/location.service';\nimport { PAGE } from 'src/app/routes';\nimport { InitService } from '../services/init/init.service';\n\nexport const initialisedGuard: CanActivateFn = async () => {\n const initService = inject(InitService);\n const locationService = inject(LocationService);\n const router = inject(Router);\n\n if (initService.initialised()) {\n const job = locationService.isCountryBlocked();\n job.showNoInternetRetry();\n job.addErrorHandler().reloadWindow();\n const isBlocked = await job.runNoThrow();\n if (isBlocked) {\n router.navigate([PAGE.UNAVAILABLE]);\n return false;\n }\n return true;\n } else {\n router.navigate([PAGE.LOADING]);\n return false;\n }\n};\n","import { inject } from '@angular/core';\nimport { CanActivateFn, Router } from '@angular/router';\nimport { Capacitor } from '@capacitor/core';\nimport { LocationService } from '../services/location/location.service';\nimport { PAGE } from 'src/app/routes';\nimport { OperatorService } from '../services/operator/operator.service';\n\nexport const geoLocationGuard: CanActivateFn = async () => {\n const locationService = inject(LocationService);\n const router = inject(Router);\n\n if (OperatorService.IsActive) {\n return true;\n }\n\n // Don't worry about Locatation checking on web\n if (!Capacitor.isNativePlatform()) {\n return true;\n }\n\n // Don't worry about Locatation checking on android\n if (Capacitor.isNativePlatform() && Capacitor.getPlatform() === 'android') {\n return true;\n }\n\n if (await locationService.isLocationChecked()) {\n if (await locationService.isLocationBlocked()) {\n router.navigate([PAGE.UNAVAILABLE]);\n return false;\n }\n return true;\n }\n\n router.navigate([PAGE.GEO_LOCATION_CHECK]);\n return false;\n};\n","import { CanActivateFn, Router } from '@angular/router';\nimport { inject } from '@angular/core';\nimport { PAGE } from 'src/app/routes';\nimport { UserStateService } from '../services/user-state/user-state.service';\nimport { environment } from 'src/environments/environment';\n\nexport const onboardingGuard: CanActivateFn = () => {\n const onboarded = inject(UserStateService).onboarded;\n if (onboarded) {\n return true;\n } else {\n if (environment.telegram) {\n inject(Router).navigate([PAGE.TELEGRAM_ONBOARD]);\n return false;\n } else {\n inject(Router).navigate([PAGE.ACCOUNT]);\n return false;\n }\n }\n};\n","import { NgModule } from '@angular/core';\nimport { PreloadAllModules, RouterModule, Routes } from '@angular/router';\nimport { PAGE } from './routes';\nimport { OperatorGuard } from './core/guards/operator.guard';\nimport { LoadingAuthGuard } from './core/guards/loading-auth.guard';\nimport { LocationBlockedGuard } from './core/guards/location-blocked.guard';\nimport { NoUpdateRequiredGuard } from './core/guards/no-update-required.guard';\nimport { AuthGuard } from './core/guards/auth.guard';\nimport { UpdateRequiredGuard } from './core/guards/update-required.guard';\nimport { NoAuthGuard } from './core/guards/no-auth.guard';\nimport { initialisedGuard } from './core/guards/initialised.guard';\nimport { geoLocationGuard } from './core/guards/geo-location.guard';\nimport { onboardingGuard } from './core/guards/onboarding.guard';\nimport { chooseGameGuard } from './core/guards/choose-game.guard';\n\nconst routes: Routes = [\n {\n path: '',\n canActivate: [LoadingAuthGuard],\n loadChildren: () =>\n import('./features/loading/loading.module').then((m) => m.LoadingPageModule),\n },\n {\n path: PAGE.OPEN_WALLET,\n loadChildren: () =>\n import('./features/open-wallet/open-wallet.module').then((m) => m.OpenWalletPageModule),\n },\n {\n path: PAGE.UPDATE_REQUIRED,\n canActivate: [LocationBlockedGuard, NoUpdateRequiredGuard],\n loadChildren: () =>\n import('./features/update-required/update-required.module').then(\n (m) => m.UpdateRequiredPageModule,\n ),\n },\n {\n path: PAGE.LOG,\n loadChildren: () => import('./features/log/log.module').then((m) => m.LogPageModule),\n },\n {\n path: PAGE.DEBUG_GAME,\n loadChildren: () =>\n import('./features/debug-game/debug-game.module').then((m) => m.DebugGamePageModule),\n },\n {\n path: PAGE.GEO_LOCATION_CHECK,\n canActivate: [AuthGuard],\n loadChildren: () =>\n import('./features/geo-location/geo-location-check/geo-location-check.module').then(\n (m) => m.GeoLocationCheckPageModule,\n ),\n },\n {\n path: PAGE.SIGNIN,\n canActivate: [LocationBlockedGuard, UpdateRequiredGuard, NoAuthGuard, OperatorGuard],\n loadChildren: () =>\n import('./features/sign-in/oauth-sign-in/sign-in.module').then((m) => m.SignInPageModule),\n },\n {\n path: PAGE.DEMO_SIGNIN,\n canActivate: [NoAuthGuard, OperatorGuard],\n loadChildren: () =>\n import('./features/sign-in/demo-sign-in/demo-sign-in.module').then(\n (m) => m.DemoSignInPageModule,\n ),\n },\n {\n path: PAGE.RESULTS,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n onboardingGuard,\n ],\n loadChildren: () =>\n import('./features/results/results.module').then((m) => m.ResultsPageModule),\n },\n {\n path: PAGE.ACCOUNT,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/account/account.module').then((m) => m.AccountPageModule),\n },\n {\n path: `${PAGE.LINK_WALLET}/:id`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n OperatorGuard,\n ],\n loadChildren: () =>\n import('./features/wallet/link-wallet/link-wallet.module').then(\n (m) => m.LinkWalletPageModule,\n ),\n },\n {\n path: PAGE.REFERRAL,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n OperatorGuard,\n ],\n loadChildren: () =>\n import('./features/referrals/pages/referral/referral.module').then(\n (m) => m.ReferralPageModule,\n ),\n },\n {\n path: PAGE.REFERRAL_TERMS,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n OperatorGuard,\n ],\n loadChildren: () =>\n import('./features/referrals/pages/referral-terms/referral-terms.module').then(\n (m) => m.ReferralTermsPageModule,\n ),\n },\n {\n path: PAGE.SELECT_WALLET,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n OperatorGuard,\n ],\n loadChildren: () =>\n import('./features/wallet/select-wallet/select-wallet.module').then(\n (m) => m.SelectWalletPageModule,\n ),\n },\n {\n path: PAGE.TELEGRAM_ONBOARD,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n OperatorGuard,\n ],\n loadChildren: () =>\n import('./features/telegram-onboard/telegram-onboard.module').then(\n (m) => m.TelegramOnboardPageModule,\n ),\n },\n {\n path: PAGE.CHOOSE_LEADERBOARDS,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/leaderboards/choose-leaderboards.module').then(\n (m) => m.ChooseLeaderboardsPageModule,\n ),\n },\n {\n path: PAGE.STATISTICS,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () => import('./features/stats/stats.module').then((m) => m.StatsPageModule),\n },\n {\n path: `${PAGE.PRACTICE_GAME}/:gameId`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/game/practice-game/practice-game.module').then(\n (m) => m.PracticeGamePageModule,\n ),\n },\n {\n path: `${PAGE.LOCAL_GAME}/:gameId`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/game/local-game/local-game.module').then((m) => m.LocalGamePageModule),\n },\n {\n path: `${PAGE.GAME}/:id`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/game/paid-game/game.module').then((m) => m.GamePageModule),\n },\n {\n path: PAGE.UNAVAILABLE,\n loadChildren: () =>\n import('./features/unavailable/unavailable.module').then((m) => m.UnavailablePageModule),\n },\n {\n path: PAGE.PRIVACY,\n canActivate: [geoLocationGuard, LocationBlockedGuard, UpdateRequiredGuard, OperatorGuard],\n loadChildren: () =>\n import('./features/privacy/privacy.module').then((m) => m.PrivacyPageModule),\n },\n {\n path: PAGE.TERMS,\n canActivate: [geoLocationGuard, LocationBlockedGuard, UpdateRequiredGuard, OperatorGuard],\n loadChildren: () => import('./features/terms/terms.module').then((m) => m.TermsPageModule),\n },\n {\n path: PAGE.FAQ,\n canActivate: [geoLocationGuard, LocationBlockedGuard, UpdateRequiredGuard, OperatorGuard],\n loadChildren: () => import('./features/faq/faq.module').then((m) => m.FaqPageModule),\n },\n {\n path: PAGE.CHOOSE_GAME,\n canActivate: [\n chooseGameGuard,\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n onboardingGuard,\n ],\n loadChildren: () =>\n import('./features/choose-game/choose-game.module').then((m) => m.ChooseGamePageModule),\n },\n {\n path: `${PAGE.MATCH_OPTIONS}/:gameId`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n onboardingGuard,\n ],\n loadChildren: () =>\n import('./features/match-options/match-options.module').then((m) => m.MatchOptionsPageModule),\n },\n {\n path: `${PAGE.TOURNAMENT}/:tournamentId`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n onboardingGuard,\n ],\n loadChildren: () =>\n import('./features/tournament/tournament.module').then((m) => m.TournamentPageModule),\n },\n {\n path: `${PAGE.SELECT_RULES}/:gameId`,\n canActivate: [\n geoLocationGuard,\n LocationBlockedGuard,\n UpdateRequiredGuard,\n AuthGuard,\n initialisedGuard,\n ],\n loadChildren: () =>\n import('./features/rules/select-rules.module').then((m) => m.SelectRulesPageModule),\n },\n { path: '**', redirectTo: PAGE.RESULTS },\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })],\n exports: [RouterModule],\n})\nexport class AppRoutingModule {}\n","import { CanActivateFn, Router } from '@angular/router';\nimport { OperatorService } from '../services/operator/operator.service';\nimport { inject } from '@angular/core';\nimport { PAGE } from 'src/app/routes';\n\nexport const chooseGameGuard: CanActivateFn = async (_route, _state) => {\n if (!OperatorService.IsActive) {\n return true;\n }\n const operatorService = inject(OperatorService);\n const router = inject(Router);\n await router.navigate([`${PAGE.MATCH_OPTIONS}/${operatorService.gameId}`]);\n return false;\n};\n","import * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, InjectionToken, Inject, Directive, Input, Pipe, NgModule } from '@angular/core';\nimport { of, isObservable, forkJoin, concat, defer } from 'rxjs';\nimport { take, shareReplay, map, concatMap, switchMap } from 'rxjs/operators';\n\nclass TranslateLoader {\r\n}\r\n/**\r\n * This loader is just a placeholder that does nothing, in case you don't need a loader at all\r\n */\r\nclass TranslateFakeLoader extends TranslateLoader {\r\n getTranslation(lang) {\r\n return of({});\r\n }\r\n}\r\nTranslateFakeLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\r\nTranslateFakeLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeLoader });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeLoader, decorators: [{\r\n type: Injectable\r\n }] });\n\nclass MissingTranslationHandler {\r\n}\r\n/**\r\n * This handler is just a placeholder that does nothing, in case you don't need a missing translation handler at all\r\n */\r\nclass FakeMissingTranslationHandler {\r\n handle(params) {\r\n return params.key;\r\n }\r\n}\r\nFakeMissingTranslationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: FakeMissingTranslationHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\r\nFakeMissingTranslationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: FakeMissingTranslationHandler });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: FakeMissingTranslationHandler, decorators: [{\r\n type: Injectable\r\n }] });\n\n/* tslint:disable */\r\n/**\r\n * Determines if two objects or two values are equivalent.\r\n *\r\n * Two objects or values are considered equivalent if at least one of the following is true:\r\n *\r\n * * Both objects or values pass `===` comparison.\r\n * * Both objects or values are of the same type and all of their properties are equal by\r\n * comparing them with `equals`.\r\n *\r\n * @param o1 Object or value to compare.\r\n * @param o2 Object or value to compare.\r\n * @returns true if arguments are equal.\r\n */\r\nfunction equals(o1, o2) {\r\n if (o1 === o2)\r\n return true;\r\n if (o1 === null || o2 === null)\r\n return false;\r\n if (o1 !== o1 && o2 !== o2)\r\n return true; // NaN === NaN\r\n let t1 = typeof o1, t2 = typeof o2, length, key, keySet;\r\n if (t1 == t2 && t1 == 'object') {\r\n if (Array.isArray(o1)) {\r\n if (!Array.isArray(o2))\r\n return false;\r\n if ((length = o1.length) == o2.length) {\r\n for (key = 0; key < length; key++) {\r\n if (!equals(o1[key], o2[key]))\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n else {\r\n if (Array.isArray(o2)) {\r\n return false;\r\n }\r\n keySet = Object.create(null);\r\n for (key in o1) {\r\n if (!equals(o1[key], o2[key])) {\r\n return false;\r\n }\r\n keySet[key] = true;\r\n }\r\n for (key in o2) {\r\n if (!(key in keySet) && typeof o2[key] !== 'undefined') {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\n/* tslint:enable */\r\nfunction isDefined(value) {\r\n return typeof value !== 'undefined' && value !== null;\r\n}\r\nfunction isObject(item) {\r\n return (item && typeof item === 'object' && !Array.isArray(item));\r\n}\r\nfunction mergeDeep(target, source) {\r\n let output = Object.assign({}, target);\r\n if (isObject(target) && isObject(source)) {\r\n Object.keys(source).forEach((key) => {\r\n if (isObject(source[key])) {\r\n if (!(key in target)) {\r\n Object.assign(output, { [key]: source[key] });\r\n }\r\n else {\r\n output[key] = mergeDeep(target[key], source[key]);\r\n }\r\n }\r\n else {\r\n Object.assign(output, { [key]: source[key] });\r\n }\r\n });\r\n }\r\n return output;\r\n}\n\nclass TranslateParser {\r\n}\r\nclass TranslateDefaultParser extends TranslateParser {\r\n constructor() {\r\n super(...arguments);\r\n this.templateMatcher = /{{\\s?([^{}\\s]*)\\s?}}/g;\r\n }\r\n interpolate(expr, params) {\r\n let result;\r\n if (typeof expr === 'string') {\r\n result = this.interpolateString(expr, params);\r\n }\r\n else if (typeof expr === 'function') {\r\n result = this.interpolateFunction(expr, params);\r\n }\r\n else {\r\n // this should not happen, but an unrelated TranslateService test depends on it\r\n result = expr;\r\n }\r\n return result;\r\n }\r\n getValue(target, key) {\r\n let keys = typeof key === 'string' ? key.split('.') : [key];\r\n key = '';\r\n do {\r\n key += keys.shift();\r\n if (isDefined(target) && isDefined(target[key]) && (typeof target[key] === 'object' || !keys.length)) {\r\n target = target[key];\r\n key = '';\r\n }\r\n else if (!keys.length) {\r\n target = undefined;\r\n }\r\n else {\r\n key += '.';\r\n }\r\n } while (keys.length);\r\n return target;\r\n }\r\n interpolateFunction(fn, params) {\r\n return fn(params);\r\n }\r\n interpolateString(expr, params) {\r\n if (!params) {\r\n return expr;\r\n }\r\n return expr.replace(this.templateMatcher, (substring, b) => {\r\n let r = this.getValue(params, b);\r\n return isDefined(r) ? r : substring;\r\n });\r\n }\r\n}\r\nTranslateDefaultParser.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateDefaultParser, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\r\nTranslateDefaultParser.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateDefaultParser });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateDefaultParser, decorators: [{\r\n type: Injectable\r\n }] });\n\nclass TranslateCompiler {\r\n}\r\n/**\r\n * This compiler is just a placeholder that does nothing, in case you don't need a compiler at all\r\n */\r\nclass TranslateFakeCompiler extends TranslateCompiler {\r\n compile(value, lang) {\r\n return value;\r\n }\r\n compileTranslations(translations, lang) {\r\n return translations;\r\n }\r\n}\r\nTranslateFakeCompiler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeCompiler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\r\nTranslateFakeCompiler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeCompiler });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateFakeCompiler, decorators: [{\r\n type: Injectable\r\n }] });\n\nclass TranslateStore {\r\n constructor() {\r\n /**\r\n * The lang currently used\r\n */\r\n this.currentLang = this.defaultLang;\r\n /**\r\n * a list of translations per lang\r\n */\r\n this.translations = {};\r\n /**\r\n * an array of langs\r\n */\r\n this.langs = [];\r\n /**\r\n * An EventEmitter to listen to translation change events\r\n * onTranslationChange.subscribe((params: TranslationChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n this.onTranslationChange = new EventEmitter();\r\n /**\r\n * An EventEmitter to listen to lang change events\r\n * onLangChange.subscribe((params: LangChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n this.onLangChange = new EventEmitter();\r\n /**\r\n * An EventEmitter to listen to default lang change events\r\n * onDefaultLangChange.subscribe((params: DefaultLangChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n this.onDefaultLangChange = new EventEmitter();\r\n }\r\n}\n\nconst USE_STORE = new InjectionToken('USE_STORE');\r\nconst USE_DEFAULT_LANG = new InjectionToken('USE_DEFAULT_LANG');\r\nconst DEFAULT_LANGUAGE = new InjectionToken('DEFAULT_LANGUAGE');\r\nconst USE_EXTEND = new InjectionToken('USE_EXTEND');\r\nclass TranslateService {\r\n /**\r\n *\r\n * @param store an instance of the store (that is supposed to be unique)\r\n * @param currentLoader An instance of the loader currently used\r\n * @param compiler An instance of the compiler currently used\r\n * @param parser An instance of the parser currently used\r\n * @param missingTranslationHandler A handler for missing translations.\r\n * @param useDefaultLang whether we should use default language translation when current language translation is missing.\r\n * @param isolate whether this service should use the store or not\r\n * @param extend To make a child module extend (and use) translations from parent modules.\r\n * @param defaultLanguage Set the default language using configuration\r\n */\r\n constructor(store, currentLoader, compiler, parser, missingTranslationHandler, useDefaultLang = true, isolate = false, extend = false, defaultLanguage) {\r\n this.store = store;\r\n this.currentLoader = currentLoader;\r\n this.compiler = compiler;\r\n this.parser = parser;\r\n this.missingTranslationHandler = missingTranslationHandler;\r\n this.useDefaultLang = useDefaultLang;\r\n this.isolate = isolate;\r\n this.extend = extend;\r\n this.pending = false;\r\n this._onTranslationChange = new EventEmitter();\r\n this._onLangChange = new EventEmitter();\r\n this._onDefaultLangChange = new EventEmitter();\r\n this._langs = [];\r\n this._translations = {};\r\n this._translationRequests = {};\r\n /** set the default language from configuration */\r\n if (defaultLanguage) {\r\n this.setDefaultLang(defaultLanguage);\r\n }\r\n }\r\n /**\r\n * An EventEmitter to listen to translation change events\r\n * onTranslationChange.subscribe((params: TranslationChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n get onTranslationChange() {\r\n return this.isolate ? this._onTranslationChange : this.store.onTranslationChange;\r\n }\r\n /**\r\n * An EventEmitter to listen to lang change events\r\n * onLangChange.subscribe((params: LangChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n get onLangChange() {\r\n return this.isolate ? this._onLangChange : this.store.onLangChange;\r\n }\r\n /**\r\n * An EventEmitter to listen to default lang change events\r\n * onDefaultLangChange.subscribe((params: DefaultLangChangeEvent) => {\r\n * // do something\r\n * });\r\n */\r\n get onDefaultLangChange() {\r\n return this.isolate ? this._onDefaultLangChange : this.store.onDefaultLangChange;\r\n }\r\n /**\r\n * The default lang to fallback when translations are missing on the current lang\r\n */\r\n get defaultLang() {\r\n return this.isolate ? this._defaultLang : this.store.defaultLang;\r\n }\r\n set defaultLang(defaultLang) {\r\n if (this.isolate) {\r\n this._defaultLang = defaultLang;\r\n }\r\n else {\r\n this.store.defaultLang = defaultLang;\r\n }\r\n }\r\n /**\r\n * The lang currently used\r\n */\r\n get currentLang() {\r\n return this.isolate ? this._currentLang : this.store.currentLang;\r\n }\r\n set currentLang(currentLang) {\r\n if (this.isolate) {\r\n this._currentLang = currentLang;\r\n }\r\n else {\r\n this.store.currentLang = currentLang;\r\n }\r\n }\r\n /**\r\n * an array of langs\r\n */\r\n get langs() {\r\n return this.isolate ? this._langs : this.store.langs;\r\n }\r\n set langs(langs) {\r\n if (this.isolate) {\r\n this._langs = langs;\r\n }\r\n else {\r\n this.store.langs = langs;\r\n }\r\n }\r\n /**\r\n * a list of translations per lang\r\n */\r\n get translations() {\r\n return this.isolate ? this._translations : this.store.translations;\r\n }\r\n set translations(translations) {\r\n if (this.isolate) {\r\n this._translations = translations;\r\n }\r\n else {\r\n this.store.translations = translations;\r\n }\r\n }\r\n /**\r\n * Sets the default language to use as a fallback\r\n */\r\n setDefaultLang(lang) {\r\n if (lang === this.defaultLang) {\r\n return;\r\n }\r\n let pending = this.retrieveTranslations(lang);\r\n if (typeof pending !== \"undefined\") {\r\n // on init set the defaultLang immediately\r\n if (this.defaultLang == null) {\r\n this.defaultLang = lang;\r\n }\r\n pending.pipe(take(1))\r\n .subscribe((res) => {\r\n this.changeDefaultLang(lang);\r\n });\r\n }\r\n else { // we already have this language\r\n this.changeDefaultLang(lang);\r\n }\r\n }\r\n /**\r\n * Gets the default language used\r\n */\r\n getDefaultLang() {\r\n return this.defaultLang;\r\n }\r\n /**\r\n * Changes the lang currently used\r\n */\r\n use(lang) {\r\n // don't change the language if the language given is already selected\r\n if (lang === this.currentLang) {\r\n return of(this.translations[lang]);\r\n }\r\n let pending = this.retrieveTranslations(lang);\r\n if (typeof pending !== \"undefined\") {\r\n // on init set the currentLang immediately\r\n if (!this.currentLang) {\r\n this.currentLang = lang;\r\n }\r\n pending.pipe(take(1))\r\n .subscribe((res) => {\r\n this.changeLang(lang);\r\n });\r\n return pending;\r\n }\r\n else { // we have this language, return an Observable\r\n this.changeLang(lang);\r\n return of(this.translations[lang]);\r\n }\r\n }\r\n /**\r\n * Retrieves the given translations\r\n */\r\n retrieveTranslations(lang) {\r\n let pending;\r\n // if this language is unavailable or extend is true, ask for it\r\n if (typeof this.translations[lang] === \"undefined\" || this.extend) {\r\n this._translationRequests[lang] = this._translationRequests[lang] || this.getTranslation(lang);\r\n pending = this._translationRequests[lang];\r\n }\r\n return pending;\r\n }\r\n /**\r\n * Gets an object of translations for a given language with the current loader\r\n * and passes it through the compiler\r\n */\r\n getTranslation(lang) {\r\n this.pending = true;\r\n const loadingTranslations = this.currentLoader.getTranslation(lang).pipe(shareReplay(1), take(1));\r\n this.loadingTranslations = loadingTranslations.pipe(map((res) => this.compiler.compileTranslations(res, lang)), shareReplay(1), take(1));\r\n this.loadingTranslations\r\n .subscribe({\r\n next: (res) => {\r\n this.translations[lang] = this.extend && this.translations[lang] ? { ...res, ...this.translations[lang] } : res;\r\n this.updateLangs();\r\n this.pending = false;\r\n },\r\n error: (err) => {\r\n this.pending = false;\r\n }\r\n });\r\n return loadingTranslations;\r\n }\r\n /**\r\n * Manually sets an object of translations for a given language\r\n * after passing it through the compiler\r\n */\r\n setTranslation(lang, translations, shouldMerge = false) {\r\n translations = this.compiler.compileTranslations(translations, lang);\r\n if ((shouldMerge || this.extend) && this.translations[lang]) {\r\n this.translations[lang] = mergeDeep(this.translations[lang], translations);\r\n }\r\n else {\r\n this.translations[lang] = translations;\r\n }\r\n this.updateLangs();\r\n this.onTranslationChange.emit({ lang: lang, translations: this.translations[lang] });\r\n }\r\n /**\r\n * Returns an array of currently available langs\r\n */\r\n getLangs() {\r\n return this.langs;\r\n }\r\n /**\r\n * Add available langs\r\n */\r\n addLangs(langs) {\r\n langs.forEach((lang) => {\r\n if (this.langs.indexOf(lang) === -1) {\r\n this.langs.push(lang);\r\n }\r\n });\r\n }\r\n /**\r\n * Update the list of available langs\r\n */\r\n updateLangs() {\r\n this.addLangs(Object.keys(this.translations));\r\n }\r\n /**\r\n * Returns the parsed result of the translations\r\n */\r\n getParsedResult(translations, key, interpolateParams) {\r\n let res;\r\n if (key instanceof Array) {\r\n let result = {}, observables = false;\r\n for (let k of key) {\r\n result[k] = this.getParsedResult(translations, k, interpolateParams);\r\n if (isObservable(result[k])) {\r\n observables = true;\r\n }\r\n }\r\n if (observables) {\r\n const sources = key.map(k => isObservable(result[k]) ? result[k] : of(result[k]));\r\n return forkJoin(sources).pipe(map((arr) => {\r\n let obj = {};\r\n arr.forEach((value, index) => {\r\n obj[key[index]] = value;\r\n });\r\n return obj;\r\n }));\r\n }\r\n return result;\r\n }\r\n if (translations) {\r\n res = this.parser.interpolate(this.parser.getValue(translations, key), interpolateParams);\r\n }\r\n if (typeof res === \"undefined\" && this.defaultLang != null && this.defaultLang !== this.currentLang && this.useDefaultLang) {\r\n res = this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang], key), interpolateParams);\r\n }\r\n if (typeof res === \"undefined\") {\r\n let params = { key, translateService: this };\r\n if (typeof interpolateParams !== 'undefined') {\r\n params.interpolateParams = interpolateParams;\r\n }\r\n res = this.missingTranslationHandler.handle(params);\r\n }\r\n return typeof res !== \"undefined\" ? res : key;\r\n }\r\n /**\r\n * Gets the translated value of a key (or an array of keys)\r\n * @returns the translated key, or an object of translated keys\r\n */\r\n get(key, interpolateParams) {\r\n if (!isDefined(key) || !key.length) {\r\n throw new Error(`Parameter \"key\" required`);\r\n }\r\n // check if we are loading a new translation to use\r\n if (this.pending) {\r\n return this.loadingTranslations.pipe(concatMap((res) => {\r\n res = this.getParsedResult(res, key, interpolateParams);\r\n return isObservable(res) ? res : of(res);\r\n }));\r\n }\r\n else {\r\n let res = this.getParsedResult(this.translations[this.currentLang], key, interpolateParams);\r\n return isObservable(res) ? res : of(res);\r\n }\r\n }\r\n /**\r\n * Returns a stream of translated values of a key (or an array of keys) which updates\r\n * whenever the translation changes.\r\n * @returns A stream of the translated key, or an object of translated keys\r\n */\r\n getStreamOnTranslationChange(key, interpolateParams) {\r\n if (!isDefined(key) || !key.length) {\r\n throw new Error(`Parameter \"key\" required`);\r\n }\r\n return concat(defer(() => this.get(key, interpolateParams)), this.onTranslationChange.pipe(switchMap((event) => {\r\n const res = this.getParsedResult(event.translations, key, interpolateParams);\r\n if (typeof res.subscribe === 'function') {\r\n return res;\r\n }\r\n else {\r\n return of(res);\r\n }\r\n })));\r\n }\r\n /**\r\n * Returns a stream of translated values of a key (or an array of keys) which updates\r\n * whenever the language changes.\r\n * @returns A stream of the translated key, or an object of translated keys\r\n */\r\n stream(key, interpolateParams) {\r\n if (!isDefined(key) || !key.length) {\r\n throw new Error(`Parameter \"key\" required`);\r\n }\r\n return concat(defer(() => this.get(key, interpolateParams)), this.onLangChange.pipe(switchMap((event) => {\r\n const res = this.getParsedResult(event.translations, key, interpolateParams);\r\n return isObservable(res) ? res : of(res);\r\n })));\r\n }\r\n /**\r\n * Returns a translation instantly from the internal state of loaded translation.\r\n * All rules regarding the current language, the preferred language of even fallback languages will be used except any promise handling.\r\n */\r\n instant(key, interpolateParams) {\r\n if (!isDefined(key) || !key.length) {\r\n throw new Error(`Parameter \"key\" required`);\r\n }\r\n let res = this.getParsedResult(this.translations[this.currentLang], key, interpolateParams);\r\n if (isObservable(res)) {\r\n if (key instanceof Array) {\r\n let obj = {};\r\n key.forEach((value, index) => {\r\n obj[key[index]] = key[index];\r\n });\r\n return obj;\r\n }\r\n return key;\r\n }\r\n else {\r\n return res;\r\n }\r\n }\r\n /**\r\n * Sets the translated value of a key, after compiling it\r\n */\r\n set(key, value, lang = this.currentLang) {\r\n this.translations[lang][key] = this.compiler.compile(value, lang);\r\n this.updateLangs();\r\n this.onTranslationChange.emit({ lang: lang, translations: this.translations[lang] });\r\n }\r\n /**\r\n * Changes the current lang\r\n */\r\n changeLang(lang) {\r\n this.currentLang = lang;\r\n this.onLangChange.emit({ lang: lang, translations: this.translations[lang] });\r\n // if there is no default lang, use the one that we just set\r\n if (this.defaultLang == null) {\r\n this.changeDefaultLang(lang);\r\n }\r\n }\r\n /**\r\n * Changes the default lang\r\n */\r\n changeDefaultLang(lang) {\r\n this.defaultLang = lang;\r\n this.onDefaultLangChange.emit({ lang: lang, translations: this.translations[lang] });\r\n }\r\n /**\r\n * Allows to reload the lang file from the file\r\n */\r\n reloadLang(lang) {\r\n this.resetLang(lang);\r\n return this.getTranslation(lang);\r\n }\r\n /**\r\n * Deletes inner translation\r\n */\r\n resetLang(lang) {\r\n this._translationRequests[lang] = undefined;\r\n this.translations[lang] = undefined;\r\n }\r\n /**\r\n * Returns the language code name from the browser, e.g. \"de\"\r\n */\r\n getBrowserLang() {\r\n if (typeof window === 'undefined' || typeof window.navigator === 'undefined') {\r\n return undefined;\r\n }\r\n let browserLang = window.navigator.languages ? window.navigator.languages[0] : null;\r\n browserLang = browserLang || window.navigator.language || window.navigator.browserLanguage || window.navigator.userLanguage;\r\n if (typeof browserLang === 'undefined') {\r\n return undefined;\r\n }\r\n if (browserLang.indexOf('-') !== -1) {\r\n browserLang = browserLang.split('-')[0];\r\n }\r\n if (browserLang.indexOf('_') !== -1) {\r\n browserLang = browserLang.split('_')[0];\r\n }\r\n return browserLang;\r\n }\r\n /**\r\n * Returns the culture language code name from the browser, e.g. \"de-DE\"\r\n */\r\n getBrowserCultureLang() {\r\n if (typeof window === 'undefined' || typeof window.navigator === 'undefined') {\r\n return undefined;\r\n }\r\n let browserCultureLang = window.navigator.languages ? window.navigator.languages[0] : null;\r\n browserCultureLang = browserCultureLang || window.navigator.language || window.navigator.browserLanguage || window.navigator.userLanguage;\r\n return browserCultureLang;\r\n }\r\n}\r\nTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateService, deps: [{ token: TranslateStore }, { token: TranslateLoader }, { token: TranslateCompiler }, { token: TranslateParser }, { token: MissingTranslationHandler }, { token: USE_DEFAULT_LANG }, { token: USE_STORE }, { token: USE_EXTEND }, { token: DEFAULT_LANGUAGE }], target: i0.ɵɵFactoryTarget.Injectable });\r\nTranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateService });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateService, decorators: [{\r\n type: Injectable\r\n }], ctorParameters: function () { return [{ type: TranslateStore }, { type: TranslateLoader }, { type: TranslateCompiler }, { type: TranslateParser }, { type: MissingTranslationHandler }, { type: undefined, decorators: [{\r\n type: Inject,\r\n args: [USE_DEFAULT_LANG]\r\n }] }, { type: undefined, decorators: [{\r\n type: Inject,\r\n args: [USE_STORE]\r\n }] }, { type: undefined, decorators: [{\r\n type: Inject,\r\n args: [USE_EXTEND]\r\n }] }, { type: undefined, decorators: [{\r\n type: Inject,\r\n args: [DEFAULT_LANGUAGE]\r\n }] }]; } });\n\nclass TranslateDirective {\r\n constructor(translateService, element, _ref) {\r\n this.translateService = translateService;\r\n this.element = element;\r\n this._ref = _ref;\r\n // subscribe to onTranslationChange event, in case the translations of the current lang change\r\n if (!this.onTranslationChangeSub) {\r\n this.onTranslationChangeSub = this.translateService.onTranslationChange.subscribe((event) => {\r\n if (event.lang === this.translateService.currentLang) {\r\n this.checkNodes(true, event.translations);\r\n }\r\n });\r\n }\r\n // subscribe to onLangChange event, in case the language changes\r\n if (!this.onLangChangeSub) {\r\n this.onLangChangeSub = this.translateService.onLangChange.subscribe((event) => {\r\n this.checkNodes(true, event.translations);\r\n });\r\n }\r\n // subscribe to onDefaultLangChange event, in case the default language changes\r\n if (!this.onDefaultLangChangeSub) {\r\n this.onDefaultLangChangeSub = this.translateService.onDefaultLangChange.subscribe((event) => {\r\n this.checkNodes(true);\r\n });\r\n }\r\n }\r\n set translate(key) {\r\n if (key) {\r\n this.key = key;\r\n this.checkNodes();\r\n }\r\n }\r\n set translateParams(params) {\r\n if (!equals(this.currentParams, params)) {\r\n this.currentParams = params;\r\n this.checkNodes(true);\r\n }\r\n }\r\n ngAfterViewChecked() {\r\n this.checkNodes();\r\n }\r\n checkNodes(forceUpdate = false, translations) {\r\n let nodes = this.element.nativeElement.childNodes;\r\n // if the element is empty\r\n if (!nodes.length) {\r\n // we add the key as content\r\n this.setContent(this.element.nativeElement, this.key);\r\n nodes = this.element.nativeElement.childNodes;\r\n }\r\n for (let i = 0; i < nodes.length; ++i) {\r\n let node = nodes[i];\r\n if (node.nodeType === 3) { // node type 3 is a text node\r\n let key;\r\n if (forceUpdate) {\r\n node.lastKey = null;\r\n }\r\n if (isDefined(node.lookupKey)) {\r\n key = node.lookupKey;\r\n }\r\n else if (this.key) {\r\n key = this.key;\r\n }\r\n else {\r\n let content = this.getContent(node);\r\n let trimmedContent = content.trim();\r\n if (trimmedContent.length) {\r\n node.lookupKey = trimmedContent;\r\n // we want to use the content as a key, not the translation value\r\n if (content !== node.currentValue) {\r\n key = trimmedContent;\r\n // the content was changed from the user, we'll use it as a reference if needed\r\n node.originalContent = content || node.originalContent;\r\n }\r\n else if (node.originalContent) { // the content seems ok, but the lang has changed\r\n // the current content is the translation, not the key, use the last real content as key\r\n key = node.originalContent.trim();\r\n }\r\n else if (content !== node.currentValue) {\r\n // we want to use the content as a key, not the translation value\r\n key = trimmedContent;\r\n // the content was changed from the user, we'll use it as a reference if needed\r\n node.originalContent = content || node.originalContent;\r\n }\r\n }\r\n }\r\n this.updateValue(key, node, translations);\r\n }\r\n }\r\n }\r\n updateValue(key, node, translations) {\r\n if (key) {\r\n if (node.lastKey === key && this.lastParams === this.currentParams) {\r\n return;\r\n }\r\n this.lastParams = this.currentParams;\r\n let onTranslation = (res) => {\r\n if (res !== key) {\r\n node.lastKey = key;\r\n }\r\n if (!node.originalContent) {\r\n node.originalContent = this.getContent(node);\r\n }\r\n node.currentValue = isDefined(res) ? res : (node.originalContent || key);\r\n // we replace in the original content to preserve spaces that we might have trimmed\r\n this.setContent(node, this.key ? node.currentValue : node.originalContent.replace(key, node.currentValue));\r\n this._ref.markForCheck();\r\n };\r\n if (isDefined(translations)) {\r\n let res = this.translateService.getParsedResult(translations, key, this.currentParams);\r\n if (isObservable(res)) {\r\n res.subscribe({ next: onTranslation });\r\n }\r\n else {\r\n onTranslation(res);\r\n }\r\n }\r\n else {\r\n this.translateService.get(key, this.currentParams).subscribe(onTranslation);\r\n }\r\n }\r\n }\r\n getContent(node) {\r\n return isDefined(node.textContent) ? node.textContent : node.data;\r\n }\r\n setContent(node, content) {\r\n if (isDefined(node.textContent)) {\r\n node.textContent = content;\r\n }\r\n else {\r\n node.data = content;\r\n }\r\n }\r\n ngOnDestroy() {\r\n if (this.onLangChangeSub) {\r\n this.onLangChangeSub.unsubscribe();\r\n }\r\n if (this.onDefaultLangChangeSub) {\r\n this.onDefaultLangChangeSub.unsubscribe();\r\n }\r\n if (this.onTranslationChangeSub) {\r\n this.onTranslationChangeSub.unsubscribe();\r\n }\r\n }\r\n}\r\nTranslateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateDirective, deps: [{ token: TranslateService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });\r\nTranslateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"12.0.0\", version: \"13.0.0\", type: TranslateDirective, selector: \"[translate],[ngx-translate]\", inputs: { translate: \"translate\", translateParams: \"translateParams\" }, ngImport: i0 });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateDirective, decorators: [{\r\n type: Directive,\r\n args: [{\r\n selector: '[translate],[ngx-translate]'\r\n }]\r\n }], ctorParameters: function () { return [{ type: TranslateService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { translate: [{\r\n type: Input\r\n }], translateParams: [{\r\n type: Input\r\n }] } });\n\nclass TranslatePipe {\r\n constructor(translate, _ref) {\r\n this.translate = translate;\r\n this._ref = _ref;\r\n this.value = '';\r\n this.lastKey = null;\r\n this.lastParams = [];\r\n }\r\n updateValue(key, interpolateParams, translations) {\r\n let onTranslation = (res) => {\r\n this.value = res !== undefined ? res : key;\r\n this.lastKey = key;\r\n this._ref.markForCheck();\r\n };\r\n if (translations) {\r\n let res = this.translate.getParsedResult(translations, key, interpolateParams);\r\n if (isObservable(res.subscribe)) {\r\n res.subscribe(onTranslation);\r\n }\r\n else {\r\n onTranslation(res);\r\n }\r\n }\r\n this.translate.get(key, interpolateParams).subscribe(onTranslation);\r\n }\r\n transform(query, ...args) {\r\n if (!query || !query.length) {\r\n return query;\r\n }\r\n // if we ask another time for the same key, return the last value\r\n if (equals(query, this.lastKey) && equals(args, this.lastParams)) {\r\n return this.value;\r\n }\r\n let interpolateParams = undefined;\r\n if (isDefined(args[0]) && args.length) {\r\n if (typeof args[0] === 'string' && args[0].length) {\r\n // we accept objects written in the template such as {n:1}, {'n':1}, {n:'v'}\r\n // which is why we might need to change it to real JSON objects such as {\"n\":1} or {\"n\":\"v\"}\r\n let validArgs = args[0]\r\n .replace(/(\\')?([a-zA-Z0-9_]+)(\\')?(\\s)?:/g, '\"$2\":')\r\n .replace(/:(\\s)?(\\')(.*?)(\\')/g, ':\"$3\"');\r\n try {\r\n interpolateParams = JSON.parse(validArgs);\r\n }\r\n catch (e) {\r\n throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${args[0]}`);\r\n }\r\n }\r\n else if (typeof args[0] === 'object' && !Array.isArray(args[0])) {\r\n interpolateParams = args[0];\r\n }\r\n }\r\n // store the query, in case it changes\r\n this.lastKey = query;\r\n // store the params, in case they change\r\n this.lastParams = args;\r\n // set the value\r\n this.updateValue(query, interpolateParams);\r\n // if there is a subscription to onLangChange, clean it\r\n this._dispose();\r\n // subscribe to onTranslationChange event, in case the translations change\r\n if (!this.onTranslationChange) {\r\n this.onTranslationChange = this.translate.onTranslationChange.subscribe((event) => {\r\n if (this.lastKey && event.lang === this.translate.currentLang) {\r\n this.lastKey = null;\r\n this.updateValue(query, interpolateParams, event.translations);\r\n }\r\n });\r\n }\r\n // subscribe to onLangChange event, in case the language changes\r\n if (!this.onLangChange) {\r\n this.onLangChange = this.translate.onLangChange.subscribe((event) => {\r\n if (this.lastKey) {\r\n this.lastKey = null; // we want to make sure it doesn't return the same value until it's been updated\r\n this.updateValue(query, interpolateParams, event.translations);\r\n }\r\n });\r\n }\r\n // subscribe to onDefaultLangChange event, in case the default language changes\r\n if (!this.onDefaultLangChange) {\r\n this.onDefaultLangChange = this.translate.onDefaultLangChange.subscribe(() => {\r\n if (this.lastKey) {\r\n this.lastKey = null; // we want to make sure it doesn't return the same value until it's been updated\r\n this.updateValue(query, interpolateParams);\r\n }\r\n });\r\n }\r\n return this.value;\r\n }\r\n /**\r\n * Clean any existing subscription to change events\r\n */\r\n _dispose() {\r\n if (typeof this.onTranslationChange !== 'undefined') {\r\n this.onTranslationChange.unsubscribe();\r\n this.onTranslationChange = undefined;\r\n }\r\n if (typeof this.onLangChange !== 'undefined') {\r\n this.onLangChange.unsubscribe();\r\n this.onLangChange = undefined;\r\n }\r\n if (typeof this.onDefaultLangChange !== 'undefined') {\r\n this.onDefaultLangChange.unsubscribe();\r\n this.onDefaultLangChange = undefined;\r\n }\r\n }\r\n ngOnDestroy() {\r\n this._dispose();\r\n }\r\n}\r\nTranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslatePipe, deps: [{ token: TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });\r\nTranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslatePipe, name: \"translate\", pure: false });\r\nTranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslatePipe });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslatePipe, decorators: [{\r\n type: Injectable\r\n }, {\r\n type: Pipe,\r\n args: [{\r\n name: 'translate',\r\n pure: false // required to update the value when the promise is resolved\r\n }]\r\n }], ctorParameters: function () { return [{ type: TranslateService }, { type: i0.ChangeDetectorRef }]; } });\n\nclass TranslateModule {\r\n /**\r\n * Use this method in your root module to provide the TranslateService\r\n */\r\n static forRoot(config = {}) {\r\n return {\r\n ngModule: TranslateModule,\r\n providers: [\r\n config.loader || { provide: TranslateLoader, useClass: TranslateFakeLoader },\r\n config.compiler || { provide: TranslateCompiler, useClass: TranslateFakeCompiler },\r\n config.parser || { provide: TranslateParser, useClass: TranslateDefaultParser },\r\n config.missingTranslationHandler || { provide: MissingTranslationHandler, useClass: FakeMissingTranslationHandler },\r\n TranslateStore,\r\n { provide: USE_STORE, useValue: config.isolate },\r\n { provide: USE_DEFAULT_LANG, useValue: config.useDefaultLang },\r\n { provide: USE_EXTEND, useValue: config.extend },\r\n { provide: DEFAULT_LANGUAGE, useValue: config.defaultLanguage },\r\n TranslateService\r\n ]\r\n };\r\n }\r\n /**\r\n * Use this method in your other (non root) modules to import the directive/pipe\r\n */\r\n static forChild(config = {}) {\r\n return {\r\n ngModule: TranslateModule,\r\n providers: [\r\n config.loader || { provide: TranslateLoader, useClass: TranslateFakeLoader },\r\n config.compiler || { provide: TranslateCompiler, useClass: TranslateFakeCompiler },\r\n config.parser || { provide: TranslateParser, useClass: TranslateDefaultParser },\r\n config.missingTranslationHandler || { provide: MissingTranslationHandler, useClass: FakeMissingTranslationHandler },\r\n { provide: USE_STORE, useValue: config.isolate },\r\n { provide: USE_DEFAULT_LANG, useValue: config.useDefaultLang },\r\n { provide: USE_EXTEND, useValue: config.extend },\r\n { provide: DEFAULT_LANGUAGE, useValue: config.defaultLanguage },\r\n TranslateService\r\n ]\r\n };\r\n }\r\n}\r\nTranslateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\r\nTranslateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateModule, declarations: [TranslatePipe,\r\n TranslateDirective], exports: [TranslatePipe,\r\n TranslateDirective] });\r\nTranslateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateModule });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.0\", ngImport: i0, type: TranslateModule, decorators: [{\r\n type: NgModule,\r\n args: [{\r\n declarations: [\r\n TranslatePipe,\r\n TranslateDirective\r\n ],\r\n exports: [\r\n TranslatePipe,\r\n TranslateDirective\r\n ]\r\n }]\r\n }] });\n\n/**\r\n * Generated bundle index. Do not edit.\r\n */\n\nexport { DEFAULT_LANGUAGE, FakeMissingTranslationHandler, MissingTranslationHandler, TranslateCompiler, TranslateDefaultParser, TranslateDirective, TranslateFakeCompiler, TranslateFakeLoader, TranslateLoader, TranslateModule, TranslateParser, TranslatePipe, TranslateService, TranslateStore, USE_DEFAULT_LANG, USE_EXTEND, USE_STORE };\n","/**\n * @license Angular v16.2.9\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\n\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode &&\n `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode &&\n 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode &&\n `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode &&\n `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode &&\n `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode &&\n `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode &&\n `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.map(err => err.message).join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode &&\n `Unable to animate due to the following errors:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode &&\n `Unable to build the animation due to the following errors: ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed');\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode &&\n `Unable to create the animation due to the following errors:${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode &&\n `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode &&\n `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode &&\n `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode &&\n `Unable to process animations due to the following failed trigger transitions\\n ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode &&\n `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map(err => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = new Set([\n '-moz-outline-radius',\n '-moz-outline-radius-bottomleft',\n '-moz-outline-radius-bottomright',\n '-moz-outline-radius-topleft',\n '-moz-outline-radius-topright',\n '-ms-grid-columns',\n '-ms-grid-rows',\n '-webkit-line-clamp',\n '-webkit-text-fill-color',\n '-webkit-text-stroke',\n '-webkit-text-stroke-color',\n 'accent-color',\n 'all',\n 'backdrop-filter',\n 'background',\n 'background-color',\n 'background-position',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-width',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image-outset',\n 'border-image-slice',\n 'border-image-width',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-width',\n 'border-left',\n 'border-left-color',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-width',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-shadow',\n 'caret-color',\n 'clip',\n 'clip-path',\n 'color',\n 'column-count',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-width',\n 'column-width',\n 'columns',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-grow',\n 'flex-shrink',\n 'font',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'grid-column-gap',\n 'grid-gap',\n 'grid-row-gap',\n 'grid-template-columns',\n 'grid-template-rows',\n 'height',\n 'inline-size',\n 'input-security',\n 'inset',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'left',\n 'letter-spacing',\n 'line-clamp',\n 'line-height',\n 'margin',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'mask',\n 'mask-border',\n 'mask-position',\n 'mask-size',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-lines',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-width',\n 'padding',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'perspective',\n 'perspective-origin',\n 'right',\n 'rotate',\n 'row-gap',\n 'scale',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-coordinate',\n 'scroll-snap-destination',\n 'scrollbar-color',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'tab-size',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-indent',\n 'text-shadow',\n 'text-underline-offset',\n 'top',\n 'transform',\n 'transform-origin',\n 'translate',\n 'vertical-align',\n 'visibility',\n 'width',\n 'word-spacing',\n 'z-index',\n 'zoom',\n]);\n\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach(kf => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue =\n normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = \n/* @__PURE__ */ (() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? ('WebkitAppearance' in _CACHED_BODY.style) : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n */\nclass NoopAnimationDriver {\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationDriver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationDriver, decorators: [{\n type: Injectable\n }] });\n/**\n * @publicApi\n */\nclass AnimationDriver {\n static { this.NOOP = ( /* @__PURE__ */new NoopAnimationDriver()); }\n}\n\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ?\n timings :\n parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return { duration, delay, easing };\n}\nfunction copyObj(obj, destination = {}) {\n Object.keys(obj).forEach(prop => {\n destination[prop] = obj[prop];\n });\n return destination;\n}\nfunction convertToMap(obj) {\n const styleMap = new Map();\n Object.keys(obj).forEach(prop => {\n const val = obj[prop];\n styleMap.set(prop, val);\n });\n return styleMap;\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map(kf => convertToMap(kf));\n}\nfunction normalizeStyles(styles) {\n const normalizedStyles = new Map();\n if (Array.isArray(styles)) {\n styles.forEach(data => copyStyles(data, normalizedStyles));\n }\n else {\n copyStyles(styles, normalizedStyles);\n }\n return normalizedStyles;\n}\nfunction copyStyles(styles, destination = new Map(), backfill) {\n if (backfill) {\n for (let [prop, val] of backfill) {\n destination.set(prop, val);\n }\n }\n for (let [prop, val] of styles) {\n destination.set(prop, val);\n }\n return destination;\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach(varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = value.toString();\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nfunction iteratorToArray(iterator) {\n const arr = [];\n let item = iterator.next();\n while (!item.done) {\n arr.push(item.value);\n item = iterator.next();\n }\n return arr;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case 7 /* AnimationMetadataType.Trigger */:\n return visitor.visitTrigger(node, context);\n case 0 /* AnimationMetadataType.State */:\n return visitor.visitState(node, context);\n case 1 /* AnimationMetadataType.Transition */:\n return visitor.visitTransition(node, context);\n case 2 /* AnimationMetadataType.Sequence */:\n return visitor.visitSequence(node, context);\n case 3 /* AnimationMetadataType.Group */:\n return visitor.visitGroup(node, context);\n case 4 /* AnimationMetadataType.Animate */:\n return visitor.visitAnimate(node, context);\n case 5 /* AnimationMetadataType.Keyframes */:\n return visitor.visitKeyframes(node, context);\n case 6 /* AnimationMetadataType.Style */:\n return visitor.visitStyle(node, context);\n case 8 /* AnimationMetadataType.Reference */:\n return visitor.visitReference(node, context);\n case 9 /* AnimationMetadataType.AnimateChild */:\n return visitor.visitAnimateChild(node, context);\n case 10 /* AnimationMetadataType.AnimateRef */:\n return visitor.visitAnimateRef(node, context);\n case 11 /* AnimationMetadataType.Query */:\n return visitor.visitQuery(node, context);\n case 12 /* AnimationMetadataType.Stagger */:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\n\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\n\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach(str => parseInnerTransitionStr(str, expressions, errors));\n }\n else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\n\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = visitDslNode(this, normalizeAnimationEntry(metadata), context);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [...context.unsupportedCSSPropertiesFound.keys()]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = context.queryCount = 0;\n let depCount = context.depCount = 0;\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach(def => {\n this._resetContextStyleTimingState(context);\n if (def.type == 0 /* AnimationMetadataType.State */) {\n const stateDef = def;\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach(n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n }\n else if (def.type == 1 /* AnimationMetadataType.Transition */) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: 7 /* AnimationMetadataType.Trigger */,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach(style => {\n if (style instanceof Map) {\n style.forEach(value => {\n extractStyleParams(value).forEach(sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n const missingSubsArr = iteratorToArray(missingSubs.values());\n context.errors.push(invalidState(metadata.name, missingSubsArr));\n }\n }\n return {\n type: 0 /* AnimationMetadataType.State */,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: 1 /* AnimationMetadataType.Transition */,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitSequence(metadata, context) {\n return {\n type: 2 /* AnimationMetadataType.Sequence */,\n steps: metadata.steps.map(s => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map(step => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: 3 /* AnimationMetadataType.Group */,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == 5 /* AnimationMetadataType.Keyframes */) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n }\n else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: 4 /* AnimationMetadataType.Animate */,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n }\n else {\n styles.push(convertToMap(styleTuple));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach(styleData => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: 6 /* AnimationMetadataType.Style */,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach(tuple => {\n if (typeof tuple === 'string')\n return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, { startTime, endTime });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = { type: 5 /* AnimationMetadataType.Keyframes */, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map(styles => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: 8 /* AnimationMetadataType.Reference */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: 9 /* AnimationMetadataType.AnimateChild */,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: 10 /* AnimationMetadataType.AnimateRef */,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = (metadata.options || {});\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector =\n parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: 11 /* AnimationMetadataType.Query */,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full' ?\n { duration: 0, delay: 0, easing: 'full' } :\n resolveTiming(metadata.timings, context.errors, true);\n return {\n type: 12 /* AnimationMetadataType.Stagger */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = new Map();\n this.options = null;\n this.unsupportedCSSPropertiesFound = new Set();\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach(styleTuple => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n }\n else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = copyObj(options);\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n }\n else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\n\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\n\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map. The `copyStyles` method in util.ts\n * handles propagating that backfill map to the styles object.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter(timeline => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ?\n timelines.map(timeline => timeline.buildKeyframes()) :\n [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number' ?\n animationDelay :\n resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach(instruction => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime =\n Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == 6 /* AnimationMetadataType.Style */) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach(s => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach(s => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach(timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n visitAnimate(ast, context) {\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == 5 /* AnimationMetadataType.Keyframes */) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = (context.currentTimeline).duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach(step => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = (ast.options || {});\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === 6 /* AnimationMetadataType.Style */ ||\n (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach(name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = options['params'] = {};\n Object.keys(oldParams).forEach(name => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) { // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this.easing = null;\n this._previousKeyframe = new Map();\n this._currentKeyframe = new Map();\n this._keyframes = new Map();\n this._styleSummary = new Map();\n this._localTimelineStyles = new Map();\n this._pendingStyles = new Map();\n this._backFill = new Map();\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, { time: this.currentTime, value });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = (options && options.params) || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0)\n return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = copyStyles(keyframe, new Map(), this._backFill);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = copyStyles(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = copyStyles(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = copyStyles(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach(token => {\n if (token === '*') {\n allProperties = allProperties || allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n }\n else {\n copyStyles(token, styles);\n }\n });\n return styles;\n}\n\nclass Animation {\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (warnings.length) {\n warnValidation(warnings);\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n startingStyles;\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\n\n/**\n * @publicApi\n */\nclass AnimationStyleNormalizer {\n}\n/**\n * @publicApi\n */\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\n\nconst DIMENSIONAL_PROP_SET = new Set([\n 'width',\n 'height',\n 'minWidth',\n 'minHeight',\n 'maxWidth',\n 'maxHeight',\n 'left',\n 'top',\n 'bottom',\n 'right',\n 'fontSize',\n 'outlineWidth',\n 'outlineOffset',\n 'paddingTop',\n 'paddingLeft',\n 'paddingBottom',\n 'paddingRight',\n 'marginTop',\n 'marginLeft',\n 'marginBottom',\n 'marginRight',\n 'borderRadius',\n 'borderWidth',\n 'borderTopWidth',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderBottomWidth',\n 'textIndent',\n 'perspective'\n]);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\n\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\n\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay,\n };\n const timelines = skipAstBuild ?\n [] :\n buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach(tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach(tl => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach(prop => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach(prop => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n const queriedElementsList = iteratorToArray(queriedElements.values());\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing'\n ]);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({ keyframes }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach(keyframe => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n }\n else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` +\n ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\\n' +\n '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some(fn => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = copyObj(defaults);\n for (const key in userParams) {\n if (userParams.hasOwnProperty(key) && userParams[key] != null) {\n result[key] = userParams[key];\n }\n }\n return result;\n}\nclass AnimationStateStyles {\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = copyObj(this.defaultParams);\n Object.keys(params).forEach(key => {\n const value = params[key];\n if (value !== null) {\n combinedParams[key] = value;\n }\n });\n this.styles.styles.forEach(value => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\n\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n this.transitionFactories = [];\n this.states = new Map();\n ast.states.forEach(ast => {\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach(ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = { type: 2 /* AnimationMetadataType.Sequence */, steps: [], options: null };\n const transition = {\n type: 1 /* AnimationMetadataType.Transition */,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n }\n else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\n\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = new Map();\n this._playersById = new Map();\n this.players = [];\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n }\n else {\n if (warnings.length) {\n warnRegister(warnings);\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach(inst => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach(prop => styles.set(prop, null));\n });\n }\n else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map(i => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => { };\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = (args[0] || {});\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\n\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n const options = copyObj(input);\n delete options['value'];\n this.options = options;\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach(prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = new Map();\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = { name, phase, callback };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n }\n else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = new Map());\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach(player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach(stateMap => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter(entry => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach(player => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach(elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true));\n }\n else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach(elm => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach(listener => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n let parent = element;\n while (parent = parent.parentNode) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach(entry => {\n const player = entry.player;\n if (player.destroyed)\n return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((listener) => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n }\n else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach(p => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach(ns => {\n ns.players.forEach(player => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n }\n else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n this.afterFlush(() => { });\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => { };\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach(element => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach(player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach(player => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise(resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n }\n else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach(fn => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach(fn => fn());\n });\n }\n else {\n quietFns.forEach(fn => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach(node => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n allLeaveNodes.forEach(element => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach(entry => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues &&\n details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach(tl => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach(element => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach(instruction => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach(player => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach(entry => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach(player => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach(prevPlayer => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter(node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach(node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach(node => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach(entry => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach(player => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach(player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter(p => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach(player => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach(player => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter(player => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach(player => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map(timelineInstruction => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n .map(p => p.getRealPlayer()))\n .filter(p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach(player => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach(element => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = new Map();\n this.destroyed = false;\n this.parentPlayer = null;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach(element => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach(prop => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach(element => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach(root => rootMap.set(root, []));\n if (nodes.length == 0)\n return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n let root = localRootMap.get(node);\n if (root)\n return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) { // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) { // ngIf inside ngIf\n root = NULL_NODE;\n }\n else { // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach(node => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach(data => preEntry.add(data));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\nclass AnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [\n ...this._transitionEngine.players,\n ...this._timelineEngine.players,\n ];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n static { this.initialStylesByElement = ( /* @__PURE__ */new WeakMap()); }\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* SpecialCasedStylesState.Pending */;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map());\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\nclass WebAnimationsPlayer {\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = new Map();\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n this.domPlayer.addEventListener('finish', () => this._onFinish());\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach(frame => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return window.getComputedStyle(element)[prop];\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = previousPlayers.filter(player => player instanceof WebAnimationsPlayer);\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach(player => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map(styles => copyStyles(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, NoopAnimationDriver as ɵNoopAnimationDriver, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, containsElement as ɵcontainsElement, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty };\n","/**\n * @license Angular v16.2.9\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { ViewEncapsulation, Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport { AnimationBuilder, sequence, AnimationFactory } from '@angular/animations';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, ɵNoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\nclass BrowserAnimationBuilder extends AnimationBuilder {\n constructor(rootRenderer, doc) {\n super();\n this._nextAnimationId = 0;\n const typeData = { id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: { animation: [] } };\n this._renderer = rootRenderer.createRenderer(doc.body, typeData);\n }\n build(animation) {\n const id = this._nextAnimationId.toString();\n this._nextAnimationId++;\n const entry = Array.isArray(animation) ? sequence(animation) : animation;\n issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n return new BrowserAnimationFactory(id, this._renderer);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationBuilder }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\nclass BrowserAnimationFactory extends AnimationFactory {\n constructor(_id, _renderer) {\n super();\n this._id = _id;\n this._renderer = _renderer;\n }\n create(element, options) {\n return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n }\n}\nclass RendererAnimationPlayer {\n constructor(id, element, options, _renderer) {\n this.id = id;\n this.element = element;\n this._renderer = _renderer;\n this.parentPlayer = null;\n this._started = false;\n this.totalTime = 0;\n this._command('create', options);\n }\n _listen(eventName, callback) {\n return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n }\n _command(command, ...args) {\n return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n }\n onDone(fn) {\n this._listen('done', fn);\n }\n onStart(fn) {\n this._listen('start', fn);\n }\n onDestroy(fn) {\n this._listen('destroy', fn);\n }\n init() {\n this._command('init');\n }\n hasStarted() {\n return this._started;\n }\n play() {\n this._command('play');\n this._started = true;\n }\n pause() {\n this._command('pause');\n }\n restart() {\n this._command('restart');\n }\n finish() {\n this._command('finish');\n }\n destroy() {\n this._command('destroy');\n }\n reset() {\n this._command('reset');\n this._started = false;\n }\n setPosition(p) {\n this._command('setPosition', p);\n }\n getPosition() {\n return this._renderer.engine.players[+this.id]?.getPosition() ?? 0;\n }\n}\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n return renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass AnimationRendererFactory {\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n engine.onRemovalComplete = (element, delegate) => {\n // Note: if a component element has a leave animation, and a host leave animation,\n // the view engine will call `removeChild` for the parent\n // component renderer as well as for the child component renderer.\n // Therefore, we need to check if we already removed the element.\n const parentNode = delegate?.parentNode(element);\n if (parentNode) {\n delegate.removeChild(parentNode, element);\n }\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type || !type.data || !type.data['animation']) {\n let renderer = this._rendererCache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => this._rendererCache.delete(delegate);\n renderer =\n new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n this._rendererCache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n queueMicrotask(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n if (this._animationCallbacksBuffer.length == 0) {\n queueMicrotask(() => {\n this._zone.run(() => {\n this._animationCallbacksBuffer.forEach(tuple => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n this._animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: AnimationRendererFactory }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: AnimationRendererFactory, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });\nclass BaseAnimationRenderer {\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n }\n get data() {\n return this.delegate.data;\n }\n destroyNode(node) {\n this.delegate.destroyNode?.(node);\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.engine.afterFlushAnimationsDone(() => {\n // Call the renderer destroy method after the animations has finished as otherwise\n // styles will be removed too early which will cause an unstyled animation.\n queueMicrotask(() => {\n this.delegate.destroy();\n });\n });\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n }\n else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, event => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\n\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer, appRef) {\n super(doc.body, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: InjectableAnimationEngine }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: InjectableAnimationEngine, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.AnimationDriver }, { type: i1.ɵAnimationStyleNormalizer }, { type: i0.ApplicationRef }]; } });\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new AnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: AnimationBuilder, useClass: BrowserAnimationBuilder },\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine }, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: () => new ɵWebAnimationsDriver() },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: ɵNoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nclass BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS :\n BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: BrowserAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nclass NoopAnimationsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.9\", ngImport: i0, type: NoopAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of [dependency-injection providers](guide/glossary#provider)\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, BrowserAnimationBuilder as ɵBrowserAnimationBuilder, BrowserAnimationFactory as ɵBrowserAnimationFactory, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","import { Injectable } from '@angular/core';\nimport { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';\nimport { from, mergeMap, Observable } from 'rxjs';\nimport { Token } from '../services/auth/token';\nimport { DISCLOSE_SECRETS, DISCLOSURES } from '../api/dealer-api';\nimport {\n CREATE_INVOICE,\n DEFAULT_WALLET,\n DELETE_ACCOUNT,\n DEMO_PAY,\n DEPOSIT_STATUS,\n SET_LIGHTNING_ADDRESS,\n SET_POLYGON_ADDRESS,\n USDC_BALANCE,\n USDC_CREATE_DEPOSIT,\n USDC_DEPOSIT_DATA,\n USDC_RELAY_TRANSFER,\n} from '../api/jit-api';\nimport { NICK_ENDPOINT, FCM_TOKEN_ENDPOINT } from '../api/user-api';\nimport {\n FIND_MATCH,\n FINISH_ROUND,\n START_ROUND,\n PROVISIONAL_USER,\n PROFILE,\n TIERS,\n OPERATOR_DATA,\n GEOCODE,\n ROOMS,\n REFERRAL_GENERATE,\n REFERRAL_REDEEM,\n LEADERBOARDS,\n WAITING_OPPONENTS,\n ACTIVITY_FEED,\n PRACTICE_ROUNDS,\n TOURNAMENT_PUBLISHED,\n TOURNAMENTS,\n MINI_LEADERBOARD,\n LEADERBOARD,\n USERS,\n INVENTORY,\n SPIN_DAILY_SPINNER,\n SPIN_ROUND_SPINNER,\n} from '../api/wager-api';\nimport { OperatorService } from '../services/operator/operator.service';\n\n@Injectable()\nexport class AuthInterceptor implements HttpInterceptor {\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n if (OperatorService.IsDemo) {\n // if demo mode, don't add token\n return next.handle(request);\n }\n\n const authenticatedUrls = [\n DISCLOSE_SECRETS,\n DISCLOSURES,\n DEFAULT_WALLET,\n SET_LIGHTNING_ADDRESS,\n SET_POLYGON_ADDRESS,\n USDC_BALANCE,\n USDC_DEPOSIT_DATA,\n USDC_CREATE_DEPOSIT,\n USDC_RELAY_TRANSFER,\n CREATE_INVOICE,\n DEPOSIT_STATUS,\n DELETE_ACCOUNT,\n DEMO_PAY,\n FIND_MATCH,\n FINISH_ROUND,\n START_ROUND,\n PROVISIONAL_USER,\n PROFILE,\n TIERS,\n OPERATOR_DATA,\n GEOCODE,\n ROOMS,\n REFERRAL_GENERATE,\n REFERRAL_REDEEM,\n LEADERBOARDS,\n WAITING_OPPONENTS,\n ACTIVITY_FEED,\n PRACTICE_ROUNDS,\n NICK_ENDPOINT,\n FCM_TOKEN_ENDPOINT,\n TOURNAMENT_PUBLISHED,\n TOURNAMENTS,\n MINI_LEADERBOARD,\n LEADERBOARD,\n USERS,\n INVENTORY,\n SPIN_DAILY_SPINNER,\n SPIN_ROUND_SPINNER,\n ];\n\n if (authenticatedUrls.some((url) => request.url.includes(url))) {\n const forceRefresh = request.url.includes(PROVISIONAL_USER);\n\n return from(Token.get(forceRefresh)).pipe(\n mergeMap((token) => {\n if (token) {\n request = request.clone({\n setHeaders: { Authorization: `Bearer ${token}` },\n });\n }\n return next.handle(request);\n }),\n );\n }\n return next.handle(request);\n }\n}\n","export const TIERS_MOCK = {\n status: 200,\n body: {\n status: 200,\n msg: 'OK',\n data: [\n { tierId: 'bet25', currency: 'USD', entryFee: 30, reward: 50 },\n { tierId: 'bet50', currency: 'USD', entryFee: 60, reward: 100 },\n { tierId: 'bet100', currency: 'USD', entryFee: 120, reward: 200 },\n { tierId: 'bet250', currency: 'USD', entryFee: 300, reward: 500 },\n { tierId: 'bet500', currency: 'USD', entryFee: 600, reward: 1000 },\n { tierId: 'bet1000', currency: 'USD', entryFee: 1200, reward: 2000 },\n { tierId: 'bet2500', currency: 'USD', entryFee: 3000, reward: 5000 },\n { tierId: 'bet10000', currency: 'USD', entryFee: 12000, reward: 20000 },\n ],\n },\n};\n","export const PRACTICE_ROUNDS_SOLITAIRE_MOCK = [\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'kawaikea',\n opponentScore: 4180,\n secrets: [\n {\n index: 0,\n value: 46,\n },\n {\n index: 1,\n value: 6,\n },\n {\n index: 2,\n value: 16,\n },\n {\n index: 3,\n value: 19,\n },\n {\n index: 4,\n value: 11,\n },\n {\n index: 5,\n value: 36,\n },\n {\n index: 6,\n value: 26,\n },\n {\n index: 7,\n value: 30,\n },\n {\n index: 8,\n value: 0,\n },\n {\n index: 9,\n value: 7,\n },\n {\n index: 10,\n value: 4,\n },\n {\n index: 11,\n value: 14,\n },\n {\n index: 12,\n value: 43,\n },\n {\n index: 13,\n value: 40,\n },\n {\n index: 14,\n value: 22,\n },\n {\n index: 15,\n value: 2,\n },\n {\n index: 16,\n value: 41,\n },\n {\n index: 17,\n value: 51,\n },\n {\n index: 18,\n value: 12,\n },\n {\n index: 19,\n value: 32,\n },\n {\n index: 20,\n value: 47,\n },\n {\n index: 21,\n value: 9,\n },\n {\n index: 22,\n value: 1,\n },\n {\n index: 23,\n value: 49,\n },\n {\n index: 24,\n value: 31,\n },\n {\n index: 25,\n value: 48,\n },\n {\n index: 26,\n value: 35,\n },\n {\n index: 27,\n value: 25,\n },\n {\n index: 28,\n value: 37,\n },\n {\n index: 29,\n value: 15,\n },\n {\n index: 30,\n value: 42,\n },\n {\n index: 31,\n value: 13,\n },\n {\n index: 32,\n value: 44,\n },\n {\n index: 33,\n value: 33,\n },\n {\n index: 34,\n value: 27,\n },\n {\n index: 35,\n value: 28,\n },\n {\n index: 36,\n value: 3,\n },\n {\n index: 37,\n value: 50,\n },\n {\n index: 38,\n value: 8,\n },\n {\n index: 39,\n value: 45,\n },\n {\n index: 40,\n value: 18,\n },\n {\n index: 41,\n value: 21,\n },\n {\n index: 42,\n value: 20,\n },\n {\n index: 43,\n value: 38,\n },\n {\n index: 44,\n value: 17,\n },\n {\n index: 45,\n value: 10,\n },\n {\n index: 46,\n value: 5,\n },\n {\n index: 47,\n value: 34,\n },\n {\n index: 48,\n value: 24,\n },\n {\n index: 49,\n value: 39,\n },\n {\n index: 50,\n value: 29,\n },\n {\n index: 51,\n value: 23,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Katia Ticuta',\n opponentScore: 40,\n secrets: [\n {\n index: 0,\n value: 45,\n },\n {\n index: 1,\n value: 30,\n },\n {\n index: 2,\n value: 31,\n },\n {\n index: 3,\n value: 3,\n },\n {\n index: 4,\n value: 17,\n },\n {\n index: 5,\n value: 16,\n },\n {\n index: 6,\n value: 24,\n },\n {\n index: 7,\n value: 26,\n },\n {\n index: 8,\n value: 20,\n },\n {\n index: 9,\n value: 48,\n },\n {\n index: 10,\n value: 0,\n },\n {\n index: 11,\n value: 15,\n },\n {\n index: 12,\n value: 6,\n },\n {\n index: 13,\n value: 47,\n },\n {\n index: 14,\n value: 10,\n },\n {\n index: 15,\n value: 49,\n },\n {\n index: 16,\n value: 38,\n },\n {\n index: 17,\n value: 27,\n },\n {\n index: 18,\n value: 2,\n },\n {\n index: 19,\n value: 1,\n },\n {\n index: 20,\n value: 34,\n },\n {\n index: 21,\n value: 23,\n },\n {\n index: 22,\n value: 22,\n },\n {\n index: 23,\n value: 9,\n },\n {\n index: 24,\n value: 13,\n },\n {\n index: 25,\n value: 32,\n },\n {\n index: 26,\n value: 4,\n },\n {\n index: 27,\n value: 35,\n },\n {\n index: 28,\n value: 5,\n },\n {\n index: 29,\n value: 21,\n },\n {\n index: 30,\n value: 36,\n },\n {\n index: 31,\n value: 42,\n },\n {\n index: 32,\n value: 43,\n },\n {\n index: 33,\n value: 44,\n },\n {\n index: 34,\n value: 40,\n },\n {\n index: 35,\n value: 39,\n },\n {\n index: 36,\n value: 33,\n },\n {\n index: 37,\n value: 50,\n },\n {\n index: 38,\n value: 28,\n },\n {\n index: 39,\n value: 12,\n },\n {\n index: 40,\n value: 41,\n },\n {\n index: 41,\n value: 14,\n },\n {\n index: 42,\n value: 51,\n },\n {\n index: 43,\n value: 8,\n },\n {\n index: 44,\n value: 19,\n },\n {\n index: 45,\n value: 46,\n },\n {\n index: 46,\n value: 25,\n },\n {\n index: 47,\n value: 18,\n },\n {\n index: 48,\n value: 7,\n },\n {\n index: 49,\n value: 11,\n },\n {\n index: 50,\n value: 29,\n },\n {\n index: 51,\n value: 37,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'zebo',\n opponentScore: 3160,\n secrets: [\n {\n index: 0,\n value: 29,\n },\n {\n index: 1,\n value: 19,\n },\n {\n index: 2,\n value: 10,\n },\n {\n index: 3,\n value: 16,\n },\n {\n index: 4,\n value: 0,\n },\n {\n index: 5,\n value: 50,\n },\n {\n index: 6,\n value: 9,\n },\n {\n index: 7,\n value: 12,\n },\n {\n index: 8,\n value: 2,\n },\n {\n index: 9,\n value: 6,\n },\n {\n index: 10,\n value: 36,\n },\n {\n index: 11,\n value: 25,\n },\n {\n index: 12,\n value: 40,\n },\n {\n index: 13,\n value: 14,\n },\n {\n index: 14,\n value: 13,\n },\n {\n index: 15,\n value: 43,\n },\n {\n index: 16,\n value: 18,\n },\n {\n index: 17,\n value: 17,\n },\n {\n index: 18,\n value: 45,\n },\n {\n index: 19,\n value: 42,\n },\n {\n index: 20,\n value: 1,\n },\n {\n index: 21,\n value: 24,\n },\n {\n index: 22,\n value: 26,\n },\n {\n index: 23,\n value: 15,\n },\n {\n index: 24,\n value: 7,\n },\n {\n index: 25,\n value: 51,\n },\n {\n index: 26,\n value: 22,\n },\n {\n index: 27,\n value: 47,\n },\n {\n index: 28,\n value: 30,\n },\n {\n index: 29,\n value: 27,\n },\n {\n index: 30,\n value: 31,\n },\n {\n index: 31,\n value: 21,\n },\n {\n index: 32,\n value: 48,\n },\n {\n index: 33,\n value: 8,\n },\n {\n index: 34,\n value: 20,\n },\n {\n index: 35,\n value: 44,\n },\n {\n index: 36,\n value: 32,\n },\n {\n index: 37,\n value: 4,\n },\n {\n index: 38,\n value: 23,\n },\n {\n index: 39,\n value: 46,\n },\n {\n index: 40,\n value: 28,\n },\n {\n index: 41,\n value: 33,\n },\n {\n index: 42,\n value: 37,\n },\n {\n index: 43,\n value: 35,\n },\n {\n index: 44,\n value: 38,\n },\n {\n index: 45,\n value: 49,\n },\n {\n index: 46,\n value: 3,\n },\n {\n index: 47,\n value: 34,\n },\n {\n index: 48,\n value: 11,\n },\n {\n index: 49,\n value: 5,\n },\n {\n index: 50,\n value: 41,\n },\n {\n index: 51,\n value: 39,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Ben Millett',\n opponentScore: 3365,\n secrets: [\n {\n index: 0,\n value: 8,\n },\n {\n index: 1,\n value: 46,\n },\n {\n index: 2,\n value: 9,\n },\n {\n index: 3,\n value: 15,\n },\n {\n index: 4,\n value: 39,\n },\n {\n index: 5,\n value: 49,\n },\n {\n index: 6,\n value: 2,\n },\n {\n index: 7,\n value: 0,\n },\n {\n index: 8,\n value: 44,\n },\n {\n index: 9,\n value: 51,\n },\n {\n index: 10,\n value: 26,\n },\n {\n index: 11,\n value: 32,\n },\n {\n index: 12,\n value: 12,\n },\n {\n index: 13,\n value: 16,\n },\n {\n index: 14,\n value: 14,\n },\n {\n index: 15,\n value: 30,\n },\n {\n index: 16,\n value: 6,\n },\n {\n index: 17,\n value: 1,\n },\n {\n index: 18,\n value: 23,\n },\n {\n index: 19,\n value: 27,\n },\n {\n index: 20,\n value: 31,\n },\n {\n index: 21,\n value: 50,\n },\n {\n index: 22,\n value: 17,\n },\n {\n index: 23,\n value: 19,\n },\n {\n index: 24,\n value: 40,\n },\n {\n index: 25,\n value: 41,\n },\n {\n index: 26,\n value: 48,\n },\n {\n index: 27,\n value: 45,\n },\n {\n index: 28,\n value: 13,\n },\n {\n index: 29,\n value: 7,\n },\n {\n index: 30,\n value: 21,\n },\n {\n index: 31,\n value: 29,\n },\n {\n index: 32,\n value: 38,\n },\n {\n index: 33,\n value: 24,\n },\n {\n index: 34,\n value: 28,\n },\n {\n index: 35,\n value: 5,\n },\n {\n index: 36,\n value: 20,\n },\n {\n index: 37,\n value: 10,\n },\n {\n index: 38,\n value: 43,\n },\n {\n index: 39,\n value: 22,\n },\n {\n index: 40,\n value: 18,\n },\n {\n index: 41,\n value: 34,\n },\n {\n index: 42,\n value: 36,\n },\n {\n index: 43,\n value: 47,\n },\n {\n index: 44,\n value: 33,\n },\n {\n index: 45,\n value: 37,\n },\n {\n index: 46,\n value: 35,\n },\n {\n index: 47,\n value: 25,\n },\n {\n index: 48,\n value: 3,\n },\n {\n index: 49,\n value: 42,\n },\n {\n index: 50,\n value: 11,\n },\n {\n index: 51,\n value: 4,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'zebo',\n opponentScore: 3160,\n secrets: [\n {\n index: 0,\n value: 29,\n },\n {\n index: 1,\n value: 19,\n },\n {\n index: 2,\n value: 10,\n },\n {\n index: 3,\n value: 16,\n },\n {\n index: 4,\n value: 0,\n },\n {\n index: 5,\n value: 50,\n },\n {\n index: 6,\n value: 9,\n },\n {\n index: 7,\n value: 12,\n },\n {\n index: 8,\n value: 2,\n },\n {\n index: 9,\n value: 6,\n },\n {\n index: 10,\n value: 36,\n },\n {\n index: 11,\n value: 25,\n },\n {\n index: 12,\n value: 40,\n },\n {\n index: 13,\n value: 14,\n },\n {\n index: 14,\n value: 13,\n },\n {\n index: 15,\n value: 43,\n },\n {\n index: 16,\n value: 18,\n },\n {\n index: 17,\n value: 17,\n },\n {\n index: 18,\n value: 45,\n },\n {\n index: 19,\n value: 42,\n },\n {\n index: 20,\n value: 1,\n },\n {\n index: 21,\n value: 24,\n },\n {\n index: 22,\n value: 26,\n },\n {\n index: 23,\n value: 15,\n },\n {\n index: 24,\n value: 7,\n },\n {\n index: 25,\n value: 51,\n },\n {\n index: 26,\n value: 22,\n },\n {\n index: 27,\n value: 47,\n },\n {\n index: 28,\n value: 30,\n },\n {\n index: 29,\n value: 27,\n },\n {\n index: 30,\n value: 31,\n },\n {\n index: 31,\n value: 21,\n },\n {\n index: 32,\n value: 48,\n },\n {\n index: 33,\n value: 8,\n },\n {\n index: 34,\n value: 20,\n },\n {\n index: 35,\n value: 44,\n },\n {\n index: 36,\n value: 32,\n },\n {\n index: 37,\n value: 4,\n },\n {\n index: 38,\n value: 23,\n },\n {\n index: 39,\n value: 46,\n },\n {\n index: 40,\n value: 28,\n },\n {\n index: 41,\n value: 33,\n },\n {\n index: 42,\n value: 37,\n },\n {\n index: 43,\n value: 35,\n },\n {\n index: 44,\n value: 38,\n },\n {\n index: 45,\n value: 49,\n },\n {\n index: 46,\n value: 3,\n },\n {\n index: 47,\n value: 34,\n },\n {\n index: 48,\n value: 11,\n },\n {\n index: 49,\n value: 5,\n },\n {\n index: 50,\n value: 41,\n },\n {\n index: 51,\n value: 39,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Scott Rhoten',\n opponentScore: 60,\n secrets: [\n {\n index: 0,\n value: 15,\n },\n {\n index: 1,\n value: 32,\n },\n {\n index: 2,\n value: 6,\n },\n {\n index: 3,\n value: 4,\n },\n {\n index: 4,\n value: 38,\n },\n {\n index: 5,\n value: 0,\n },\n {\n index: 6,\n value: 10,\n },\n {\n index: 7,\n value: 9,\n },\n {\n index: 8,\n value: 21,\n },\n {\n index: 9,\n value: 3,\n },\n {\n index: 10,\n value: 5,\n },\n {\n index: 11,\n value: 50,\n },\n {\n index: 12,\n value: 22,\n },\n {\n index: 13,\n value: 12,\n },\n {\n index: 14,\n value: 41,\n },\n {\n index: 15,\n value: 13,\n },\n {\n index: 16,\n value: 25,\n },\n {\n index: 17,\n value: 16,\n },\n {\n index: 18,\n value: 33,\n },\n {\n index: 19,\n value: 18,\n },\n {\n index: 20,\n value: 35,\n },\n {\n index: 21,\n value: 8,\n },\n {\n index: 22,\n value: 51,\n },\n {\n index: 23,\n value: 30,\n },\n {\n index: 24,\n value: 39,\n },\n {\n index: 25,\n value: 47,\n },\n {\n index: 26,\n value: 27,\n },\n {\n index: 27,\n value: 37,\n },\n {\n index: 28,\n value: 23,\n },\n {\n index: 29,\n value: 40,\n },\n {\n index: 30,\n value: 19,\n },\n {\n index: 31,\n value: 48,\n },\n {\n index: 32,\n value: 11,\n },\n {\n index: 33,\n value: 28,\n },\n {\n index: 34,\n value: 31,\n },\n {\n index: 35,\n value: 20,\n },\n {\n index: 36,\n value: 36,\n },\n {\n index: 37,\n value: 45,\n },\n {\n index: 38,\n value: 49,\n },\n {\n index: 39,\n value: 7,\n },\n {\n index: 40,\n value: 1,\n },\n {\n index: 41,\n value: 44,\n },\n {\n index: 42,\n value: 46,\n },\n {\n index: 43,\n value: 17,\n },\n {\n index: 44,\n value: 43,\n },\n {\n index: 45,\n value: 26,\n },\n {\n index: 46,\n value: 34,\n },\n {\n index: 47,\n value: 2,\n },\n {\n index: 48,\n value: 29,\n },\n {\n index: 49,\n value: 24,\n },\n {\n index: 50,\n value: 42,\n },\n {\n index: 51,\n value: 14,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'a muse',\n opponentScore: 4210,\n secrets: [\n {\n index: 0,\n value: 16,\n },\n {\n index: 1,\n value: 6,\n },\n {\n index: 2,\n value: 2,\n },\n {\n index: 3,\n value: 22,\n },\n {\n index: 4,\n value: 10,\n },\n {\n index: 5,\n value: 50,\n },\n {\n index: 6,\n value: 21,\n },\n {\n index: 7,\n value: 45,\n },\n {\n index: 8,\n value: 17,\n },\n {\n index: 9,\n value: 4,\n },\n {\n index: 10,\n value: 37,\n },\n {\n index: 11,\n value: 26,\n },\n {\n index: 12,\n value: 14,\n },\n {\n index: 13,\n value: 23,\n },\n {\n index: 14,\n value: 51,\n },\n {\n index: 15,\n value: 15,\n },\n {\n index: 16,\n value: 30,\n },\n {\n index: 17,\n value: 44,\n },\n {\n index: 18,\n value: 25,\n },\n {\n index: 19,\n value: 39,\n },\n {\n index: 20,\n value: 34,\n },\n {\n index: 21,\n value: 48,\n },\n {\n index: 22,\n value: 32,\n },\n {\n index: 23,\n value: 49,\n },\n {\n index: 24,\n value: 28,\n },\n {\n index: 25,\n value: 0,\n },\n {\n index: 26,\n value: 27,\n },\n {\n index: 27,\n value: 7,\n },\n {\n index: 28,\n value: 46,\n },\n {\n index: 29,\n value: 41,\n },\n {\n index: 30,\n value: 19,\n },\n {\n index: 31,\n value: 47,\n },\n {\n index: 32,\n value: 24,\n },\n {\n index: 33,\n value: 33,\n },\n {\n index: 34,\n value: 8,\n },\n {\n index: 35,\n value: 29,\n },\n {\n index: 36,\n value: 42,\n },\n {\n index: 37,\n value: 35,\n },\n {\n index: 38,\n value: 1,\n },\n {\n index: 39,\n value: 13,\n },\n {\n index: 40,\n value: 12,\n },\n {\n index: 41,\n value: 5,\n },\n {\n index: 42,\n value: 3,\n },\n {\n index: 43,\n value: 11,\n },\n {\n index: 44,\n value: 43,\n },\n {\n index: 45,\n value: 36,\n },\n {\n index: 46,\n value: 40,\n },\n {\n index: 47,\n value: 9,\n },\n {\n index: 48,\n value: 38,\n },\n {\n index: 49,\n value: 31,\n },\n {\n index: 50,\n value: 18,\n },\n {\n index: 51,\n value: 20,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'PrestonsGirl ',\n opponentScore: 5015,\n secrets: [\n {\n index: 0,\n value: 51,\n },\n {\n index: 1,\n value: 45,\n },\n {\n index: 2,\n value: 46,\n },\n {\n index: 3,\n value: 0,\n },\n {\n index: 4,\n value: 30,\n },\n {\n index: 5,\n value: 22,\n },\n {\n index: 6,\n value: 19,\n },\n {\n index: 7,\n value: 2,\n },\n {\n index: 8,\n value: 21,\n },\n {\n index: 9,\n value: 12,\n },\n {\n index: 10,\n value: 24,\n },\n {\n index: 11,\n value: 4,\n },\n {\n index: 12,\n value: 43,\n },\n {\n index: 13,\n value: 37,\n },\n {\n index: 14,\n value: 14,\n },\n {\n index: 15,\n value: 40,\n },\n {\n index: 16,\n value: 15,\n },\n {\n index: 17,\n value: 23,\n },\n {\n index: 18,\n value: 13,\n },\n {\n index: 19,\n value: 41,\n },\n {\n index: 20,\n value: 33,\n },\n {\n index: 21,\n value: 34,\n },\n {\n index: 22,\n value: 7,\n },\n {\n index: 23,\n value: 31,\n },\n {\n index: 24,\n value: 47,\n },\n {\n index: 25,\n value: 48,\n },\n {\n index: 26,\n value: 9,\n },\n {\n index: 27,\n value: 28,\n },\n {\n index: 28,\n value: 42,\n },\n {\n index: 29,\n value: 44,\n },\n {\n index: 30,\n value: 38,\n },\n {\n index: 31,\n value: 5,\n },\n {\n index: 32,\n value: 49,\n },\n {\n index: 33,\n value: 10,\n },\n {\n index: 34,\n value: 3,\n },\n {\n index: 35,\n value: 36,\n },\n {\n index: 36,\n value: 29,\n },\n {\n index: 37,\n value: 35,\n },\n {\n index: 38,\n value: 25,\n },\n {\n index: 39,\n value: 39,\n },\n {\n index: 40,\n value: 16,\n },\n {\n index: 41,\n value: 27,\n },\n {\n index: 42,\n value: 18,\n },\n {\n index: 43,\n value: 17,\n },\n {\n index: 44,\n value: 8,\n },\n {\n index: 45,\n value: 50,\n },\n {\n index: 46,\n value: 20,\n },\n {\n index: 47,\n value: 11,\n },\n {\n index: 48,\n value: 1,\n },\n {\n index: 49,\n value: 32,\n },\n {\n index: 50,\n value: 6,\n },\n {\n index: 51,\n value: 26,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'katie',\n opponentScore: 195,\n secrets: [\n {\n index: 0,\n value: 24,\n },\n {\n index: 1,\n value: 28,\n },\n {\n index: 2,\n value: 26,\n },\n {\n index: 3,\n value: 16,\n },\n {\n index: 4,\n value: 42,\n },\n {\n index: 5,\n value: 31,\n },\n {\n index: 6,\n value: 45,\n },\n {\n index: 7,\n value: 2,\n },\n {\n index: 8,\n value: 48,\n },\n {\n index: 9,\n value: 17,\n },\n {\n index: 10,\n value: 13,\n },\n {\n index: 11,\n value: 12,\n },\n {\n index: 12,\n value: 3,\n },\n {\n index: 13,\n value: 38,\n },\n {\n index: 14,\n value: 30,\n },\n {\n index: 15,\n value: 4,\n },\n {\n index: 16,\n value: 46,\n },\n {\n index: 17,\n value: 35,\n },\n {\n index: 18,\n value: 11,\n },\n {\n index: 19,\n value: 43,\n },\n {\n index: 20,\n value: 36,\n },\n {\n index: 21,\n value: 14,\n },\n {\n index: 22,\n value: 44,\n },\n {\n index: 23,\n value: 40,\n },\n {\n index: 24,\n value: 5,\n },\n {\n index: 25,\n value: 51,\n },\n {\n index: 26,\n value: 32,\n },\n {\n index: 27,\n value: 33,\n },\n {\n index: 28,\n value: 29,\n },\n {\n index: 29,\n value: 41,\n },\n {\n index: 30,\n value: 1,\n },\n {\n index: 31,\n value: 6,\n },\n {\n index: 32,\n value: 49,\n },\n {\n index: 33,\n value: 37,\n },\n {\n index: 34,\n value: 8,\n },\n {\n index: 35,\n value: 19,\n },\n {\n index: 36,\n value: 10,\n },\n {\n index: 37,\n value: 27,\n },\n {\n index: 38,\n value: 22,\n },\n {\n index: 39,\n value: 20,\n },\n {\n index: 40,\n value: 23,\n },\n {\n index: 41,\n value: 9,\n },\n {\n index: 42,\n value: 21,\n },\n {\n index: 43,\n value: 7,\n },\n {\n index: 44,\n value: 0,\n },\n {\n index: 45,\n value: 25,\n },\n {\n index: 46,\n value: 50,\n },\n {\n index: 47,\n value: 15,\n },\n {\n index: 48,\n value: 39,\n },\n {\n index: 49,\n value: 18,\n },\n {\n index: 50,\n value: 34,\n },\n {\n index: 51,\n value: 47,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'kawaikea',\n opponentScore: 4180,\n secrets: [\n {\n index: 0,\n value: 46,\n },\n {\n index: 1,\n value: 6,\n },\n {\n index: 2,\n value: 16,\n },\n {\n index: 3,\n value: 19,\n },\n {\n index: 4,\n value: 11,\n },\n {\n index: 5,\n value: 36,\n },\n {\n index: 6,\n value: 26,\n },\n {\n index: 7,\n value: 30,\n },\n {\n index: 8,\n value: 0,\n },\n {\n index: 9,\n value: 7,\n },\n {\n index: 10,\n value: 4,\n },\n {\n index: 11,\n value: 14,\n },\n {\n index: 12,\n value: 43,\n },\n {\n index: 13,\n value: 40,\n },\n {\n index: 14,\n value: 22,\n },\n {\n index: 15,\n value: 2,\n },\n {\n index: 16,\n value: 41,\n },\n {\n index: 17,\n value: 51,\n },\n {\n index: 18,\n value: 12,\n },\n {\n index: 19,\n value: 32,\n },\n {\n index: 20,\n value: 47,\n },\n {\n index: 21,\n value: 9,\n },\n {\n index: 22,\n value: 1,\n },\n {\n index: 23,\n value: 49,\n },\n {\n index: 24,\n value: 31,\n },\n {\n index: 25,\n value: 48,\n },\n {\n index: 26,\n value: 35,\n },\n {\n index: 27,\n value: 25,\n },\n {\n index: 28,\n value: 37,\n },\n {\n index: 29,\n value: 15,\n },\n {\n index: 30,\n value: 42,\n },\n {\n index: 31,\n value: 13,\n },\n {\n index: 32,\n value: 44,\n },\n {\n index: 33,\n value: 33,\n },\n {\n index: 34,\n value: 27,\n },\n {\n index: 35,\n value: 28,\n },\n {\n index: 36,\n value: 3,\n },\n {\n index: 37,\n value: 50,\n },\n {\n index: 38,\n value: 8,\n },\n {\n index: 39,\n value: 45,\n },\n {\n index: 40,\n value: 18,\n },\n {\n index: 41,\n value: 21,\n },\n {\n index: 42,\n value: 20,\n },\n {\n index: 43,\n value: 38,\n },\n {\n index: 44,\n value: 17,\n },\n {\n index: 45,\n value: 10,\n },\n {\n index: 46,\n value: 5,\n },\n {\n index: 47,\n value: 34,\n },\n {\n index: 48,\n value: 24,\n },\n {\n index: 49,\n value: 39,\n },\n {\n index: 50,\n value: 29,\n },\n {\n index: 51,\n value: 23,\n },\n ],\n },\n },\n },\n];\n","export const PRACTICE_ROUNDS_BLOCKS_MOCK = [\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Ziggy9044',\n opponentScore: 7399,\n secrets: [\n {\n index: 0,\n value: 338277810,\n },\n {\n index: 1,\n value: 448930136,\n },\n {\n index: 2,\n value: 297119880,\n },\n {\n index: 3,\n value: 256988170,\n },\n {\n index: 4,\n value: 8977914,\n },\n {\n index: 5,\n value: 309631612,\n },\n {\n index: 6,\n value: 99229592,\n },\n {\n index: 7,\n value: 239189569,\n },\n {\n index: 8,\n value: 60567524,\n },\n {\n index: 9,\n value: 533076718,\n },\n {\n index: 10,\n value: 77786288,\n },\n {\n index: 11,\n value: 128729530,\n },\n {\n index: 12,\n value: 428840542,\n },\n {\n index: 13,\n value: 381281216,\n },\n {\n index: 14,\n value: 64187045,\n },\n {\n index: 15,\n value: 225863406,\n },\n {\n index: 16,\n value: 466032738,\n },\n {\n index: 17,\n value: 230969536,\n },\n {\n index: 18,\n value: 516681865,\n },\n {\n index: 19,\n value: 257936547,\n },\n {\n index: 20,\n value: 107435555,\n },\n {\n index: 21,\n value: 351395783,\n },\n {\n index: 22,\n value: 8417683,\n },\n {\n index: 23,\n value: 304212403,\n },\n {\n index: 24,\n value: 281775698,\n },\n {\n index: 25,\n value: 7484607,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Amenadiel Amenadiel',\n opponentScore: 5047,\n secrets: [\n {\n index: 0,\n value: 61968857,\n },\n {\n index: 1,\n value: 425232661,\n },\n {\n index: 2,\n value: 313233129,\n },\n {\n index: 3,\n value: 4812598,\n },\n {\n index: 4,\n value: 327494725,\n },\n {\n index: 5,\n value: 115759575,\n },\n {\n index: 6,\n value: 54572051,\n },\n {\n index: 7,\n value: 287946846,\n },\n {\n index: 8,\n value: 413996949,\n },\n {\n index: 9,\n value: 360221054,\n },\n {\n index: 10,\n value: 50826767,\n },\n {\n index: 11,\n value: 363141434,\n },\n {\n index: 12,\n value: 227840107,\n },\n {\n index: 13,\n value: 386693410,\n },\n {\n index: 14,\n value: 139414158,\n },\n {\n index: 15,\n value: 491901417,\n },\n {\n index: 16,\n value: 284980514,\n },\n {\n index: 17,\n value: 479127123,\n },\n {\n index: 18,\n value: 414331623,\n },\n {\n index: 19,\n value: 468461985,\n },\n {\n index: 20,\n value: 289352299,\n },\n {\n index: 21,\n value: 479799369,\n },\n {\n index: 22,\n value: 106757970,\n },\n {\n index: 23,\n value: 206702648,\n },\n {\n index: 24,\n value: 428728195,\n },\n {\n index: 25,\n value: 67592949,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'James Winfield',\n opponentScore: 6537,\n secrets: [\n {\n index: 0,\n value: 148178487,\n },\n {\n index: 1,\n value: 302290173,\n },\n {\n index: 2,\n value: 427074414,\n },\n {\n index: 3,\n value: 245844527,\n },\n {\n index: 4,\n value: 378603126,\n },\n {\n index: 5,\n value: 184421136,\n },\n {\n index: 6,\n value: 184273745,\n },\n {\n index: 7,\n value: 527484916,\n },\n {\n index: 8,\n value: 123531305,\n },\n {\n index: 9,\n value: 512496552,\n },\n {\n index: 10,\n value: 350600307,\n },\n {\n index: 11,\n value: 472274025,\n },\n {\n index: 12,\n value: 432975522,\n },\n {\n index: 13,\n value: 43727960,\n },\n {\n index: 14,\n value: 535507105,\n },\n {\n index: 15,\n value: 480844943,\n },\n {\n index: 16,\n value: 124286649,\n },\n {\n index: 17,\n value: 10582087,\n },\n {\n index: 18,\n value: 159045416,\n },\n {\n index: 19,\n value: 260876399,\n },\n {\n index: 20,\n value: 138976848,\n },\n {\n index: 21,\n value: 172109748,\n },\n {\n index: 22,\n value: 142837762,\n },\n {\n index: 23,\n value: 221101088,\n },\n {\n index: 24,\n value: 285289599,\n },\n {\n index: 25,\n value: 270076579,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'predator818',\n opponentScore: 13734,\n secrets: [\n {\n index: 0,\n value: 492387393,\n },\n {\n index: 1,\n value: 224928893,\n },\n {\n index: 2,\n value: 310204908,\n },\n {\n index: 3,\n value: 14161743,\n },\n {\n index: 4,\n value: 348828054,\n },\n {\n index: 5,\n value: 309914810,\n },\n {\n index: 6,\n value: 244521486,\n },\n {\n index: 7,\n value: 265525645,\n },\n {\n index: 8,\n value: 191086928,\n },\n {\n index: 9,\n value: 425383222,\n },\n {\n index: 10,\n value: 324375145,\n },\n {\n index: 11,\n value: 98488237,\n },\n {\n index: 12,\n value: 59354188,\n },\n {\n index: 13,\n value: 487910596,\n },\n {\n index: 14,\n value: 189499389,\n },\n {\n index: 15,\n value: 167561589,\n },\n {\n index: 16,\n value: 498631961,\n },\n {\n index: 17,\n value: 484495448,\n },\n {\n index: 18,\n value: 182441708,\n },\n {\n index: 19,\n value: 109787223,\n },\n {\n index: 20,\n value: 514189701,\n },\n {\n index: 21,\n value: 301054777,\n },\n {\n index: 22,\n value: 247271064,\n },\n {\n index: 23,\n value: 300287977,\n },\n {\n index: 24,\n value: 189036451,\n },\n {\n index: 25,\n value: 261520359,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'spencer alan Heywood',\n opponentScore: 6450,\n secrets: [\n {\n index: 0,\n value: 455679624,\n },\n {\n index: 1,\n value: 410577268,\n },\n {\n index: 2,\n value: 508372072,\n },\n {\n index: 3,\n value: 320692066,\n },\n {\n index: 4,\n value: 468332747,\n },\n {\n index: 5,\n value: 30387557,\n },\n {\n index: 6,\n value: 243979233,\n },\n {\n index: 7,\n value: 58839442,\n },\n {\n index: 8,\n value: 77782926,\n },\n {\n index: 9,\n value: 325000375,\n },\n {\n index: 10,\n value: 368463546,\n },\n {\n index: 11,\n value: 9351090,\n },\n {\n index: 12,\n value: 390677164,\n },\n {\n index: 13,\n value: 232521647,\n },\n {\n index: 14,\n value: 385192778,\n },\n {\n index: 15,\n value: 117188197,\n },\n {\n index: 16,\n value: 246524186,\n },\n {\n index: 17,\n value: 271237352,\n },\n {\n index: 18,\n value: 160200504,\n },\n {\n index: 19,\n value: 272590717,\n },\n {\n index: 20,\n value: 64076363,\n },\n {\n index: 21,\n value: 196538960,\n },\n {\n index: 22,\n value: 441546166,\n },\n {\n index: 23,\n value: 105747531,\n },\n {\n index: 24,\n value: 532314464,\n },\n {\n index: 25,\n value: 345190405,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Kendrab23',\n opponentScore: 8952,\n secrets: [\n {\n index: 0,\n value: 95584993,\n },\n {\n index: 1,\n value: 407859644,\n },\n {\n index: 2,\n value: 347905634,\n },\n {\n index: 3,\n value: 191726795,\n },\n {\n index: 4,\n value: 516102442,\n },\n {\n index: 5,\n value: 193352771,\n },\n {\n index: 6,\n value: 201701543,\n },\n {\n index: 7,\n value: 512147152,\n },\n {\n index: 8,\n value: 194772519,\n },\n {\n index: 9,\n value: 96407327,\n },\n {\n index: 10,\n value: 77159240,\n },\n {\n index: 11,\n value: 362805862,\n },\n {\n index: 12,\n value: 47646017,\n },\n {\n index: 13,\n value: 93950793,\n },\n {\n index: 14,\n value: 230357628,\n },\n {\n index: 15,\n value: 160603062,\n },\n {\n index: 16,\n value: 139227592,\n },\n {\n index: 17,\n value: 190883637,\n },\n {\n index: 18,\n value: 147816443,\n },\n {\n index: 19,\n value: 147282655,\n },\n {\n index: 20,\n value: 35175480,\n },\n {\n index: 21,\n value: 201417623,\n },\n {\n index: 22,\n value: 133804378,\n },\n {\n index: 23,\n value: 220701139,\n },\n {\n index: 24,\n value: 446480622,\n },\n {\n index: 25,\n value: 112066737,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Kendrab23',\n opponentScore: 8952,\n secrets: [\n {\n index: 0,\n value: 95584993,\n },\n {\n index: 1,\n value: 407859644,\n },\n {\n index: 2,\n value: 347905634,\n },\n {\n index: 3,\n value: 191726795,\n },\n {\n index: 4,\n value: 516102442,\n },\n {\n index: 5,\n value: 193352771,\n },\n {\n index: 6,\n value: 201701543,\n },\n {\n index: 7,\n value: 512147152,\n },\n {\n index: 8,\n value: 194772519,\n },\n {\n index: 9,\n value: 96407327,\n },\n {\n index: 10,\n value: 77159240,\n },\n {\n index: 11,\n value: 362805862,\n },\n {\n index: 12,\n value: 47646017,\n },\n {\n index: 13,\n value: 93950793,\n },\n {\n index: 14,\n value: 230357628,\n },\n {\n index: 15,\n value: 160603062,\n },\n {\n index: 16,\n value: 139227592,\n },\n {\n index: 17,\n value: 190883637,\n },\n {\n index: 18,\n value: 147816443,\n },\n {\n index: 19,\n value: 147282655,\n },\n {\n index: 20,\n value: 35175480,\n },\n {\n index: 21,\n value: 201417623,\n },\n {\n index: 22,\n value: 133804378,\n },\n {\n index: 23,\n value: 220701139,\n },\n {\n index: 24,\n value: 446480622,\n },\n {\n index: 25,\n value: 112066737,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Neer',\n opponentScore: 30058,\n secrets: [\n {\n index: 0,\n value: 125160682,\n },\n {\n index: 1,\n value: 5104278,\n },\n {\n index: 2,\n value: 34295493,\n },\n {\n index: 3,\n value: 329788648,\n },\n {\n index: 4,\n value: 444270873,\n },\n {\n index: 5,\n value: 118458232,\n },\n {\n index: 6,\n value: 124331470,\n },\n {\n index: 7,\n value: 12689394,\n },\n {\n index: 8,\n value: 532389681,\n },\n {\n index: 9,\n value: 397134716,\n },\n {\n index: 10,\n value: 191086675,\n },\n {\n index: 11,\n value: 213630840,\n },\n {\n index: 12,\n value: 39747735,\n },\n {\n index: 13,\n value: 319138638,\n },\n {\n index: 14,\n value: 428323766,\n },\n {\n index: 15,\n value: 128109073,\n },\n {\n index: 16,\n value: 494180609,\n },\n {\n index: 17,\n value: 319824335,\n },\n {\n index: 18,\n value: 273583050,\n },\n {\n index: 19,\n value: 139914057,\n },\n {\n index: 20,\n value: 191342411,\n },\n {\n index: 21,\n value: 506623648,\n },\n {\n index: 22,\n value: 341288729,\n },\n {\n index: 23,\n value: 232121262,\n },\n {\n index: 24,\n value: 360741129,\n },\n {\n index: 25,\n value: 29356977,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Chr Chr',\n opponentScore: 4966,\n secrets: [\n {\n index: 0,\n value: 202320243,\n },\n {\n index: 1,\n value: 40580155,\n },\n {\n index: 2,\n value: 303462635,\n },\n {\n index: 3,\n value: 447437508,\n },\n {\n index: 4,\n value: 421776322,\n },\n {\n index: 5,\n value: 323025721,\n },\n {\n index: 6,\n value: 104217696,\n },\n {\n index: 7,\n value: 444433452,\n },\n {\n index: 8,\n value: 395552932,\n },\n {\n index: 9,\n value: 145203775,\n },\n {\n index: 10,\n value: 130665701,\n },\n {\n index: 11,\n value: 316658854,\n },\n {\n index: 12,\n value: 487731405,\n },\n {\n index: 13,\n value: 150836824,\n },\n {\n index: 14,\n value: 184591275,\n },\n {\n index: 15,\n value: 204615275,\n },\n {\n index: 16,\n value: 315459885,\n },\n {\n index: 17,\n value: 477625954,\n },\n {\n index: 18,\n value: 150921534,\n },\n {\n index: 19,\n value: 249300770,\n },\n {\n index: 20,\n value: 328199192,\n },\n {\n index: 21,\n value: 127337437,\n },\n {\n index: 22,\n value: 287382473,\n },\n {\n index: 23,\n value: 12007501,\n },\n {\n index: 24,\n value: 475763903,\n },\n {\n index: 25,\n value: 476333137,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'holik',\n opponentScore: 6158,\n secrets: [\n {\n index: 0,\n value: 201719063,\n },\n {\n index: 1,\n value: 521938101,\n },\n {\n index: 2,\n value: 354904106,\n },\n {\n index: 3,\n value: 256236196,\n },\n {\n index: 4,\n value: 356678381,\n },\n {\n index: 5,\n value: 495025218,\n },\n {\n index: 6,\n value: 434570718,\n },\n {\n index: 7,\n value: 205468870,\n },\n {\n index: 8,\n value: 388398061,\n },\n {\n index: 9,\n value: 499080768,\n },\n {\n index: 10,\n value: 404120992,\n },\n {\n index: 11,\n value: 176748322,\n },\n {\n index: 12,\n value: 283533611,\n },\n {\n index: 13,\n value: 374371483,\n },\n {\n index: 14,\n value: 302727323,\n },\n {\n index: 15,\n value: 368030843,\n },\n {\n index: 16,\n value: 110569862,\n },\n {\n index: 17,\n value: 160771979,\n },\n {\n index: 18,\n value: 141181002,\n },\n {\n index: 19,\n value: 8308022,\n },\n {\n index: 20,\n value: 285352940,\n },\n {\n index: 21,\n value: 299367432,\n },\n {\n index: 22,\n value: 507858542,\n },\n {\n index: 23,\n value: 41525300,\n },\n {\n index: 24,\n value: 17544336,\n },\n {\n index: 25,\n value: 181474281,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Chr Chr',\n opponentScore: 4966,\n secrets: [\n {\n index: 0,\n value: 202320243,\n },\n {\n index: 1,\n value: 40580155,\n },\n {\n index: 2,\n value: 303462635,\n },\n {\n index: 3,\n value: 447437508,\n },\n {\n index: 4,\n value: 421776322,\n },\n {\n index: 5,\n value: 323025721,\n },\n {\n index: 6,\n value: 104217696,\n },\n {\n index: 7,\n value: 444433452,\n },\n {\n index: 8,\n value: 395552932,\n },\n {\n index: 9,\n value: 145203775,\n },\n {\n index: 10,\n value: 130665701,\n },\n {\n index: 11,\n value: 316658854,\n },\n {\n index: 12,\n value: 487731405,\n },\n {\n index: 13,\n value: 150836824,\n },\n {\n index: 14,\n value: 184591275,\n },\n {\n index: 15,\n value: 204615275,\n },\n {\n index: 16,\n value: 315459885,\n },\n {\n index: 17,\n value: 477625954,\n },\n {\n index: 18,\n value: 150921534,\n },\n {\n index: 19,\n value: 249300770,\n },\n {\n index: 20,\n value: 328199192,\n },\n {\n index: 21,\n value: 127337437,\n },\n {\n index: 22,\n value: 287382473,\n },\n {\n index: 23,\n value: 12007501,\n },\n {\n index: 24,\n value: 475763903,\n },\n {\n index: 25,\n value: 476333137,\n },\n ],\n },\n },\n },\n];\n","export const PRACTICE_ROUNDS_BLACKJACK_MOCK = [\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'takumar',\n opponentScore: 1610,\n secrets: [\n {\n index: 0,\n value: 69,\n },\n {\n index: 1,\n value: 58,\n },\n {\n index: 2,\n value: 32,\n },\n {\n index: 3,\n value: 103,\n },\n {\n index: 4,\n value: 0,\n },\n {\n index: 5,\n value: 76,\n },\n {\n index: 6,\n value: 19,\n },\n {\n index: 7,\n value: 100,\n },\n {\n index: 8,\n value: 89,\n },\n {\n index: 9,\n value: 52,\n },\n {\n index: 10,\n value: 70,\n },\n {\n index: 11,\n value: 22,\n },\n {\n index: 12,\n value: 5,\n },\n {\n index: 13,\n value: 79,\n },\n {\n index: 14,\n value: 38,\n },\n {\n index: 15,\n value: 30,\n },\n {\n index: 16,\n value: 27,\n },\n {\n index: 17,\n value: 53,\n },\n {\n index: 18,\n value: 61,\n },\n {\n index: 19,\n value: 85,\n },\n {\n index: 20,\n value: 102,\n },\n {\n index: 21,\n value: 18,\n },\n {\n index: 22,\n value: 86,\n },\n {\n index: 23,\n value: 7,\n },\n {\n index: 24,\n value: 8,\n },\n {\n index: 25,\n value: 51,\n },\n {\n index: 26,\n value: 47,\n },\n {\n index: 27,\n value: 97,\n },\n {\n index: 28,\n value: 98,\n },\n {\n index: 29,\n value: 36,\n },\n {\n index: 30,\n value: 67,\n },\n {\n index: 31,\n value: 81,\n },\n {\n index: 32,\n value: 49,\n },\n {\n index: 33,\n value: 57,\n },\n {\n index: 34,\n value: 66,\n },\n {\n index: 35,\n value: 48,\n },\n {\n index: 36,\n value: 3,\n },\n {\n index: 37,\n value: 16,\n },\n {\n index: 38,\n value: 14,\n },\n {\n index: 39,\n value: 75,\n },\n {\n index: 40,\n value: 12,\n },\n {\n index: 41,\n value: 65,\n },\n {\n index: 42,\n value: 1,\n },\n {\n index: 43,\n value: 101,\n },\n {\n index: 44,\n value: 88,\n },\n {\n index: 45,\n value: 63,\n },\n {\n index: 46,\n value: 13,\n },\n {\n index: 47,\n value: 77,\n },\n {\n index: 48,\n value: 87,\n },\n {\n index: 49,\n value: 15,\n },\n {\n index: 50,\n value: 40,\n },\n {\n index: 51,\n value: 73,\n },\n {\n index: 52,\n value: 17,\n },\n {\n index: 53,\n value: 11,\n },\n {\n index: 54,\n value: 74,\n },\n {\n index: 55,\n value: 83,\n },\n {\n index: 56,\n value: 44,\n },\n {\n index: 57,\n value: 9,\n },\n {\n index: 58,\n value: 62,\n },\n {\n index: 59,\n value: 80,\n },\n {\n index: 60,\n value: 21,\n },\n {\n index: 61,\n value: 20,\n },\n {\n index: 62,\n value: 26,\n },\n {\n index: 63,\n value: 94,\n },\n {\n index: 64,\n value: 99,\n },\n {\n index: 65,\n value: 42,\n },\n {\n index: 66,\n value: 43,\n },\n {\n index: 67,\n value: 54,\n },\n {\n index: 68,\n value: 82,\n },\n {\n index: 69,\n value: 84,\n },\n {\n index: 70,\n value: 93,\n },\n {\n index: 71,\n value: 60,\n },\n {\n index: 72,\n value: 24,\n },\n {\n index: 73,\n value: 31,\n },\n {\n index: 74,\n value: 59,\n },\n {\n index: 75,\n value: 29,\n },\n {\n index: 76,\n value: 10,\n },\n {\n index: 77,\n value: 23,\n },\n {\n index: 78,\n value: 56,\n },\n {\n index: 79,\n value: 72,\n },\n {\n index: 80,\n value: 92,\n },\n {\n index: 81,\n value: 35,\n },\n {\n index: 82,\n value: 95,\n },\n {\n index: 83,\n value: 34,\n },\n {\n index: 84,\n value: 4,\n },\n {\n index: 85,\n value: 55,\n },\n {\n index: 86,\n value: 28,\n },\n {\n index: 87,\n value: 46,\n },\n {\n index: 88,\n value: 6,\n },\n {\n index: 89,\n value: 45,\n },\n {\n index: 90,\n value: 33,\n },\n {\n index: 91,\n value: 90,\n },\n {\n index: 92,\n value: 37,\n },\n {\n index: 93,\n value: 39,\n },\n {\n index: 94,\n value: 96,\n },\n {\n index: 95,\n value: 50,\n },\n {\n index: 96,\n value: 25,\n },\n {\n index: 97,\n value: 71,\n },\n {\n index: 98,\n value: 78,\n },\n {\n index: 99,\n value: 64,\n },\n {\n index: 100,\n value: 68,\n },\n {\n index: 101,\n value: 91,\n },\n {\n index: 102,\n value: 41,\n },\n {\n index: 103,\n value: 2,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 1,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 1,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 1,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 1,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 1,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 1,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 1,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 1,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 0,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 1,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 1,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 1,\n },\n {\n index: 216,\n value: 1,\n },\n {\n index: 217,\n value: 0,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 1,\n },\n {\n index: 220,\n value: 0,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 1,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 0,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 1,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 1,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 1,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 1,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 1,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 1,\n },\n {\n index: 248,\n value: 1,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 1,\n },\n {\n index: 252,\n value: 1,\n },\n {\n index: 253,\n value: 1,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 1,\n },\n {\n index: 256,\n value: 1,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 0,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 1,\n },\n {\n index: 262,\n value: 1,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 0,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 1,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 0,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 1,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 0,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 1,\n },\n {\n index: 285,\n value: 1,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 1,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 0,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 1,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 1,\n },\n {\n index: 304,\n value: 1,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'player94622',\n opponentScore: 1240,\n secrets: [\n {\n index: 0,\n value: 49,\n },\n {\n index: 1,\n value: 26,\n },\n {\n index: 2,\n value: 3,\n },\n {\n index: 3,\n value: 30,\n },\n {\n index: 4,\n value: 20,\n },\n {\n index: 5,\n value: 79,\n },\n {\n index: 6,\n value: 53,\n },\n {\n index: 7,\n value: 99,\n },\n {\n index: 8,\n value: 13,\n },\n {\n index: 9,\n value: 46,\n },\n {\n index: 10,\n value: 67,\n },\n {\n index: 11,\n value: 77,\n },\n {\n index: 12,\n value: 56,\n },\n {\n index: 13,\n value: 94,\n },\n {\n index: 14,\n value: 40,\n },\n {\n index: 15,\n value: 88,\n },\n {\n index: 16,\n value: 24,\n },\n {\n index: 17,\n value: 10,\n },\n {\n index: 18,\n value: 82,\n },\n {\n index: 19,\n value: 15,\n },\n {\n index: 20,\n value: 103,\n },\n {\n index: 21,\n value: 72,\n },\n {\n index: 22,\n value: 100,\n },\n {\n index: 23,\n value: 89,\n },\n {\n index: 24,\n value: 85,\n },\n {\n index: 25,\n value: 5,\n },\n {\n index: 26,\n value: 76,\n },\n {\n index: 27,\n value: 87,\n },\n {\n index: 28,\n value: 78,\n },\n {\n index: 29,\n value: 102,\n },\n {\n index: 30,\n value: 62,\n },\n {\n index: 31,\n value: 63,\n },\n {\n index: 32,\n value: 41,\n },\n {\n index: 33,\n value: 58,\n },\n {\n index: 34,\n value: 47,\n },\n {\n index: 35,\n value: 14,\n },\n {\n index: 36,\n value: 59,\n },\n {\n index: 37,\n value: 73,\n },\n {\n index: 38,\n value: 43,\n },\n {\n index: 39,\n value: 32,\n },\n {\n index: 40,\n value: 22,\n },\n {\n index: 41,\n value: 34,\n },\n {\n index: 42,\n value: 80,\n },\n {\n index: 43,\n value: 96,\n },\n {\n index: 44,\n value: 52,\n },\n {\n index: 45,\n value: 95,\n },\n {\n index: 46,\n value: 69,\n },\n {\n index: 47,\n value: 70,\n },\n {\n index: 48,\n value: 65,\n },\n {\n index: 49,\n value: 23,\n },\n {\n index: 50,\n value: 92,\n },\n {\n index: 51,\n value: 12,\n },\n {\n index: 52,\n value: 8,\n },\n {\n index: 53,\n value: 21,\n },\n {\n index: 54,\n value: 2,\n },\n {\n index: 55,\n value: 83,\n },\n {\n index: 56,\n value: 36,\n },\n {\n index: 57,\n value: 51,\n },\n {\n index: 58,\n value: 28,\n },\n {\n index: 59,\n value: 55,\n },\n {\n index: 60,\n value: 86,\n },\n {\n index: 61,\n value: 35,\n },\n {\n index: 62,\n value: 74,\n },\n {\n index: 63,\n value: 61,\n },\n {\n index: 64,\n value: 48,\n },\n {\n index: 65,\n value: 93,\n },\n {\n index: 66,\n value: 31,\n },\n {\n index: 67,\n value: 84,\n },\n {\n index: 68,\n value: 27,\n },\n {\n index: 69,\n value: 44,\n },\n {\n index: 70,\n value: 4,\n },\n {\n index: 71,\n value: 9,\n },\n {\n index: 72,\n value: 17,\n },\n {\n index: 73,\n value: 16,\n },\n {\n index: 74,\n value: 38,\n },\n {\n index: 75,\n value: 25,\n },\n {\n index: 76,\n value: 18,\n },\n {\n index: 77,\n value: 75,\n },\n {\n index: 78,\n value: 29,\n },\n {\n index: 79,\n value: 37,\n },\n {\n index: 80,\n value: 19,\n },\n {\n index: 81,\n value: 71,\n },\n {\n index: 82,\n value: 0,\n },\n {\n index: 83,\n value: 39,\n },\n {\n index: 84,\n value: 97,\n },\n {\n index: 85,\n value: 1,\n },\n {\n index: 86,\n value: 66,\n },\n {\n index: 87,\n value: 33,\n },\n {\n index: 88,\n value: 98,\n },\n {\n index: 89,\n value: 90,\n },\n {\n index: 90,\n value: 91,\n },\n {\n index: 91,\n value: 57,\n },\n {\n index: 92,\n value: 11,\n },\n {\n index: 93,\n value: 64,\n },\n {\n index: 94,\n value: 101,\n },\n {\n index: 95,\n value: 7,\n },\n {\n index: 96,\n value: 45,\n },\n {\n index: 97,\n value: 54,\n },\n {\n index: 98,\n value: 60,\n },\n {\n index: 99,\n value: 6,\n },\n {\n index: 100,\n value: 42,\n },\n {\n index: 101,\n value: 50,\n },\n {\n index: 102,\n value: 81,\n },\n {\n index: 103,\n value: 68,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 1,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 1,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 1,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 1,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 1,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 1,\n },\n {\n index: 187,\n value: 1,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 1,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 1,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 0,\n },\n {\n index: 217,\n value: 0,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 1,\n },\n {\n index: 220,\n value: 0,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 0,\n },\n {\n index: 223,\n value: 1,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 1,\n },\n {\n index: 226,\n value: 0,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 1,\n },\n {\n index: 231,\n value: 1,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 1,\n },\n {\n index: 235,\n value: 1,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 1,\n },\n {\n index: 238,\n value: 1,\n },\n {\n index: 239,\n value: 1,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 1,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 1,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 1,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 1,\n },\n {\n index: 270,\n value: 1,\n },\n {\n index: 271,\n value: 1,\n },\n {\n index: 272,\n value: 1,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 0,\n },\n {\n index: 279,\n value: 1,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 1,\n },\n {\n index: 283,\n value: 1,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 1,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 1,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 0,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 1,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 0,\n },\n {\n index: 300,\n value: 1,\n },\n {\n index: 301,\n value: 1,\n },\n {\n index: 302,\n value: 1,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 0,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 1,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Gary Feagin',\n opponentScore: 390,\n secrets: [\n {\n index: 0,\n value: 11,\n },\n {\n index: 1,\n value: 92,\n },\n {\n index: 2,\n value: 69,\n },\n {\n index: 3,\n value: 45,\n },\n {\n index: 4,\n value: 7,\n },\n {\n index: 5,\n value: 102,\n },\n {\n index: 6,\n value: 40,\n },\n {\n index: 7,\n value: 36,\n },\n {\n index: 8,\n value: 65,\n },\n {\n index: 9,\n value: 99,\n },\n {\n index: 10,\n value: 24,\n },\n {\n index: 11,\n value: 3,\n },\n {\n index: 12,\n value: 46,\n },\n {\n index: 13,\n value: 14,\n },\n {\n index: 14,\n value: 35,\n },\n {\n index: 15,\n value: 53,\n },\n {\n index: 16,\n value: 101,\n },\n {\n index: 17,\n value: 54,\n },\n {\n index: 18,\n value: 72,\n },\n {\n index: 19,\n value: 85,\n },\n {\n index: 20,\n value: 57,\n },\n {\n index: 21,\n value: 52,\n },\n {\n index: 22,\n value: 82,\n },\n {\n index: 23,\n value: 17,\n },\n {\n index: 24,\n value: 2,\n },\n {\n index: 25,\n value: 41,\n },\n {\n index: 26,\n value: 95,\n },\n {\n index: 27,\n value: 4,\n },\n {\n index: 28,\n value: 66,\n },\n {\n index: 29,\n value: 70,\n },\n {\n index: 30,\n value: 49,\n },\n {\n index: 31,\n value: 79,\n },\n {\n index: 32,\n value: 22,\n },\n {\n index: 33,\n value: 27,\n },\n {\n index: 34,\n value: 32,\n },\n {\n index: 35,\n value: 1,\n },\n {\n index: 36,\n value: 42,\n },\n {\n index: 37,\n value: 91,\n },\n {\n index: 38,\n value: 87,\n },\n {\n index: 39,\n value: 86,\n },\n {\n index: 40,\n value: 75,\n },\n {\n index: 41,\n value: 18,\n },\n {\n index: 42,\n value: 19,\n },\n {\n index: 43,\n value: 34,\n },\n {\n index: 44,\n value: 103,\n },\n {\n index: 45,\n value: 60,\n },\n {\n index: 46,\n value: 13,\n },\n {\n index: 47,\n value: 28,\n },\n {\n index: 48,\n value: 61,\n },\n {\n index: 49,\n value: 73,\n },\n {\n index: 50,\n value: 21,\n },\n {\n index: 51,\n value: 50,\n },\n {\n index: 52,\n value: 90,\n },\n {\n index: 53,\n value: 93,\n },\n {\n index: 54,\n value: 20,\n },\n {\n index: 55,\n value: 71,\n },\n {\n index: 56,\n value: 74,\n },\n {\n index: 57,\n value: 5,\n },\n {\n index: 58,\n value: 29,\n },\n {\n index: 59,\n value: 51,\n },\n {\n index: 60,\n value: 84,\n },\n {\n index: 61,\n value: 9,\n },\n {\n index: 62,\n value: 0,\n },\n {\n index: 63,\n value: 56,\n },\n {\n index: 64,\n value: 8,\n },\n {\n index: 65,\n value: 16,\n },\n {\n index: 66,\n value: 10,\n },\n {\n index: 67,\n value: 31,\n },\n {\n index: 68,\n value: 68,\n },\n {\n index: 69,\n value: 83,\n },\n {\n index: 70,\n value: 48,\n },\n {\n index: 71,\n value: 55,\n },\n {\n index: 72,\n value: 23,\n },\n {\n index: 73,\n value: 77,\n },\n {\n index: 74,\n value: 100,\n },\n {\n index: 75,\n value: 15,\n },\n {\n index: 76,\n value: 62,\n },\n {\n index: 77,\n value: 67,\n },\n {\n index: 78,\n value: 63,\n },\n {\n index: 79,\n value: 64,\n },\n {\n index: 80,\n value: 30,\n },\n {\n index: 81,\n value: 44,\n },\n {\n index: 82,\n value: 76,\n },\n {\n index: 83,\n value: 98,\n },\n {\n index: 84,\n value: 38,\n },\n {\n index: 85,\n value: 94,\n },\n {\n index: 86,\n value: 89,\n },\n {\n index: 87,\n value: 80,\n },\n {\n index: 88,\n value: 12,\n },\n {\n index: 89,\n value: 47,\n },\n {\n index: 90,\n value: 43,\n },\n {\n index: 91,\n value: 37,\n },\n {\n index: 92,\n value: 58,\n },\n {\n index: 93,\n value: 81,\n },\n {\n index: 94,\n value: 59,\n },\n {\n index: 95,\n value: 39,\n },\n {\n index: 96,\n value: 26,\n },\n {\n index: 97,\n value: 33,\n },\n {\n index: 98,\n value: 96,\n },\n {\n index: 99,\n value: 6,\n },\n {\n index: 100,\n value: 88,\n },\n {\n index: 101,\n value: 97,\n },\n {\n index: 102,\n value: 78,\n },\n {\n index: 103,\n value: 25,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 1,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 1,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 1,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 1,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 1,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 1,\n },\n {\n index: 200,\n value: 1,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 1,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 1,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 1,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 1,\n },\n {\n index: 216,\n value: 0,\n },\n {\n index: 217,\n value: 0,\n },\n {\n index: 218,\n value: 1,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 0,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 1,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 0,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 0,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 1,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 1,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 1,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 1,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 1,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 1,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 1,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 1,\n },\n {\n index: 265,\n value: 0,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 1,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 1,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 1,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 1,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 1,\n },\n {\n index: 281,\n value: 1,\n },\n {\n index: 282,\n value: 1,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 1,\n },\n {\n index: 285,\n value: 0,\n },\n {\n index: 286,\n value: 1,\n },\n {\n index: 287,\n value: 1,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 1,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 1,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 1,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 1,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 0,\n },\n {\n index: 308,\n value: 1,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 1,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'hoopsjoe3',\n opponentScore: 700,\n secrets: [\n {\n index: 0,\n value: 58,\n },\n {\n index: 1,\n value: 21,\n },\n {\n index: 2,\n value: 5,\n },\n {\n index: 3,\n value: 25,\n },\n {\n index: 4,\n value: 57,\n },\n {\n index: 5,\n value: 85,\n },\n {\n index: 6,\n value: 38,\n },\n {\n index: 7,\n value: 53,\n },\n {\n index: 8,\n value: 40,\n },\n {\n index: 9,\n value: 64,\n },\n {\n index: 10,\n value: 69,\n },\n {\n index: 11,\n value: 68,\n },\n {\n index: 12,\n value: 63,\n },\n {\n index: 13,\n value: 101,\n },\n {\n index: 14,\n value: 37,\n },\n {\n index: 15,\n value: 87,\n },\n {\n index: 16,\n value: 48,\n },\n {\n index: 17,\n value: 42,\n },\n {\n index: 18,\n value: 22,\n },\n {\n index: 19,\n value: 10,\n },\n {\n index: 20,\n value: 77,\n },\n {\n index: 21,\n value: 30,\n },\n {\n index: 22,\n value: 33,\n },\n {\n index: 23,\n value: 74,\n },\n {\n index: 24,\n value: 61,\n },\n {\n index: 25,\n value: 99,\n },\n {\n index: 26,\n value: 31,\n },\n {\n index: 27,\n value: 49,\n },\n {\n index: 28,\n value: 24,\n },\n {\n index: 29,\n value: 43,\n },\n {\n index: 30,\n value: 56,\n },\n {\n index: 31,\n value: 16,\n },\n {\n index: 32,\n value: 19,\n },\n {\n index: 33,\n value: 44,\n },\n {\n index: 34,\n value: 32,\n },\n {\n index: 35,\n value: 102,\n },\n {\n index: 36,\n value: 7,\n },\n {\n index: 37,\n value: 62,\n },\n {\n index: 38,\n value: 50,\n },\n {\n index: 39,\n value: 18,\n },\n {\n index: 40,\n value: 6,\n },\n {\n index: 41,\n value: 95,\n },\n {\n index: 42,\n value: 91,\n },\n {\n index: 43,\n value: 66,\n },\n {\n index: 44,\n value: 26,\n },\n {\n index: 45,\n value: 78,\n },\n {\n index: 46,\n value: 80,\n },\n {\n index: 47,\n value: 54,\n },\n {\n index: 48,\n value: 70,\n },\n {\n index: 49,\n value: 17,\n },\n {\n index: 50,\n value: 41,\n },\n {\n index: 51,\n value: 92,\n },\n {\n index: 52,\n value: 98,\n },\n {\n index: 53,\n value: 23,\n },\n {\n index: 54,\n value: 83,\n },\n {\n index: 55,\n value: 82,\n },\n {\n index: 56,\n value: 4,\n },\n {\n index: 57,\n value: 11,\n },\n {\n index: 58,\n value: 13,\n },\n {\n index: 59,\n value: 45,\n },\n {\n index: 60,\n value: 67,\n },\n {\n index: 61,\n value: 96,\n },\n {\n index: 62,\n value: 27,\n },\n {\n index: 63,\n value: 75,\n },\n {\n index: 64,\n value: 3,\n },\n {\n index: 65,\n value: 15,\n },\n {\n index: 66,\n value: 73,\n },\n {\n index: 67,\n value: 9,\n },\n {\n index: 68,\n value: 34,\n },\n {\n index: 69,\n value: 29,\n },\n {\n index: 70,\n value: 60,\n },\n {\n index: 71,\n value: 65,\n },\n {\n index: 72,\n value: 88,\n },\n {\n index: 73,\n value: 72,\n },\n {\n index: 74,\n value: 36,\n },\n {\n index: 75,\n value: 52,\n },\n {\n index: 76,\n value: 8,\n },\n {\n index: 77,\n value: 55,\n },\n {\n index: 78,\n value: 103,\n },\n {\n index: 79,\n value: 59,\n },\n {\n index: 80,\n value: 89,\n },\n {\n index: 81,\n value: 2,\n },\n {\n index: 82,\n value: 79,\n },\n {\n index: 83,\n value: 100,\n },\n {\n index: 84,\n value: 76,\n },\n {\n index: 85,\n value: 20,\n },\n {\n index: 86,\n value: 86,\n },\n {\n index: 87,\n value: 46,\n },\n {\n index: 88,\n value: 14,\n },\n {\n index: 89,\n value: 51,\n },\n {\n index: 90,\n value: 0,\n },\n {\n index: 91,\n value: 97,\n },\n {\n index: 92,\n value: 90,\n },\n {\n index: 93,\n value: 35,\n },\n {\n index: 94,\n value: 84,\n },\n {\n index: 95,\n value: 94,\n },\n {\n index: 96,\n value: 71,\n },\n {\n index: 97,\n value: 28,\n },\n {\n index: 98,\n value: 12,\n },\n {\n index: 99,\n value: 93,\n },\n {\n index: 100,\n value: 81,\n },\n {\n index: 101,\n value: 47,\n },\n {\n index: 102,\n value: 1,\n },\n {\n index: 103,\n value: 39,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 1,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 1,\n },\n {\n index: 149,\n value: 1,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 1,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 1,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 1,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 1,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 1,\n },\n {\n index: 208,\n value: 0,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 1,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 1,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 0,\n },\n {\n index: 217,\n value: 1,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 1,\n },\n {\n index: 221,\n value: 1,\n },\n {\n index: 222,\n value: 1,\n },\n {\n index: 223,\n value: 1,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 1,\n },\n {\n index: 227,\n value: 1,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 1,\n },\n {\n index: 232,\n value: 1,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 1,\n },\n {\n index: 236,\n value: 1,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 1,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 1,\n },\n {\n index: 246,\n value: 1,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 0,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 1,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 0,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 1,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 1,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 0,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 1,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 1,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 0,\n },\n {\n index: 286,\n value: 1,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 1,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 1,\n },\n {\n index: 292,\n value: 1,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 1,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 0,\n },\n {\n index: 300,\n value: 1,\n },\n {\n index: 301,\n value: 1,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 1,\n },\n {\n index: 307,\n value: 0,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'Turdinthepunchbowl',\n opponentScore: 810,\n secrets: [\n {\n index: 0,\n value: 33,\n },\n {\n index: 1,\n value: 44,\n },\n {\n index: 2,\n value: 55,\n },\n {\n index: 3,\n value: 53,\n },\n {\n index: 4,\n value: 78,\n },\n {\n index: 5,\n value: 82,\n },\n {\n index: 6,\n value: 64,\n },\n {\n index: 7,\n value: 60,\n },\n {\n index: 8,\n value: 20,\n },\n {\n index: 9,\n value: 90,\n },\n {\n index: 10,\n value: 79,\n },\n {\n index: 11,\n value: 22,\n },\n {\n index: 12,\n value: 11,\n },\n {\n index: 13,\n value: 3,\n },\n {\n index: 14,\n value: 15,\n },\n {\n index: 15,\n value: 27,\n },\n {\n index: 16,\n value: 49,\n },\n {\n index: 17,\n value: 34,\n },\n {\n index: 18,\n value: 57,\n },\n {\n index: 19,\n value: 23,\n },\n {\n index: 20,\n value: 102,\n },\n {\n index: 21,\n value: 68,\n },\n {\n index: 22,\n value: 59,\n },\n {\n index: 23,\n value: 75,\n },\n {\n index: 24,\n value: 65,\n },\n {\n index: 25,\n value: 4,\n },\n {\n index: 26,\n value: 8,\n },\n {\n index: 27,\n value: 92,\n },\n {\n index: 28,\n value: 74,\n },\n {\n index: 29,\n value: 83,\n },\n {\n index: 30,\n value: 29,\n },\n {\n index: 31,\n value: 28,\n },\n {\n index: 32,\n value: 2,\n },\n {\n index: 33,\n value: 72,\n },\n {\n index: 34,\n value: 52,\n },\n {\n index: 35,\n value: 18,\n },\n {\n index: 36,\n value: 5,\n },\n {\n index: 37,\n value: 31,\n },\n {\n index: 38,\n value: 86,\n },\n {\n index: 39,\n value: 26,\n },\n {\n index: 40,\n value: 66,\n },\n {\n index: 41,\n value: 41,\n },\n {\n index: 42,\n value: 61,\n },\n {\n index: 43,\n value: 9,\n },\n {\n index: 44,\n value: 14,\n },\n {\n index: 45,\n value: 40,\n },\n {\n index: 46,\n value: 99,\n },\n {\n index: 47,\n value: 51,\n },\n {\n index: 48,\n value: 76,\n },\n {\n index: 49,\n value: 80,\n },\n {\n index: 50,\n value: 93,\n },\n {\n index: 51,\n value: 46,\n },\n {\n index: 52,\n value: 24,\n },\n {\n index: 53,\n value: 47,\n },\n {\n index: 54,\n value: 98,\n },\n {\n index: 55,\n value: 87,\n },\n {\n index: 56,\n value: 37,\n },\n {\n index: 57,\n value: 101,\n },\n {\n index: 58,\n value: 95,\n },\n {\n index: 59,\n value: 38,\n },\n {\n index: 60,\n value: 42,\n },\n {\n index: 61,\n value: 12,\n },\n {\n index: 62,\n value: 48,\n },\n {\n index: 63,\n value: 58,\n },\n {\n index: 64,\n value: 91,\n },\n {\n index: 65,\n value: 100,\n },\n {\n index: 66,\n value: 13,\n },\n {\n index: 67,\n value: 43,\n },\n {\n index: 68,\n value: 6,\n },\n {\n index: 69,\n value: 7,\n },\n {\n index: 70,\n value: 50,\n },\n {\n index: 71,\n value: 84,\n },\n {\n index: 72,\n value: 67,\n },\n {\n index: 73,\n value: 36,\n },\n {\n index: 74,\n value: 70,\n },\n {\n index: 75,\n value: 85,\n },\n {\n index: 76,\n value: 0,\n },\n {\n index: 77,\n value: 16,\n },\n {\n index: 78,\n value: 32,\n },\n {\n index: 79,\n value: 63,\n },\n {\n index: 80,\n value: 21,\n },\n {\n index: 81,\n value: 73,\n },\n {\n index: 82,\n value: 94,\n },\n {\n index: 83,\n value: 45,\n },\n {\n index: 84,\n value: 35,\n },\n {\n index: 85,\n value: 54,\n },\n {\n index: 86,\n value: 25,\n },\n {\n index: 87,\n value: 56,\n },\n {\n index: 88,\n value: 88,\n },\n {\n index: 89,\n value: 81,\n },\n {\n index: 90,\n value: 77,\n },\n {\n index: 91,\n value: 103,\n },\n {\n index: 92,\n value: 1,\n },\n {\n index: 93,\n value: 19,\n },\n {\n index: 94,\n value: 10,\n },\n {\n index: 95,\n value: 71,\n },\n {\n index: 96,\n value: 69,\n },\n {\n index: 97,\n value: 39,\n },\n {\n index: 98,\n value: 97,\n },\n {\n index: 99,\n value: 89,\n },\n {\n index: 100,\n value: 30,\n },\n {\n index: 101,\n value: 17,\n },\n {\n index: 102,\n value: 96,\n },\n {\n index: 103,\n value: 62,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 1,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 1,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 1,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 1,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 1,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 1,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 1,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 1,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 0,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 1,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 0,\n },\n {\n index: 217,\n value: 1,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 1,\n },\n {\n index: 220,\n value: 1,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 0,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 0,\n },\n {\n index: 227,\n value: 1,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 1,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 1,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 1,\n },\n {\n index: 251,\n value: 1,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 1,\n },\n {\n index: 256,\n value: 1,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 0,\n },\n {\n index: 260,\n value: 1,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 1,\n },\n {\n index: 264,\n value: 1,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 1,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 1,\n },\n {\n index: 270,\n value: 1,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 1,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 1,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 1,\n },\n {\n index: 282,\n value: 0,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 0,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 1,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 1,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 1,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 1,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 1,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 1,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 1,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'sososavage',\n opponentScore: 200,\n secrets: [\n {\n index: 0,\n value: 21,\n },\n {\n index: 1,\n value: 23,\n },\n {\n index: 2,\n value: 12,\n },\n {\n index: 3,\n value: 10,\n },\n {\n index: 4,\n value: 9,\n },\n {\n index: 5,\n value: 91,\n },\n {\n index: 6,\n value: 13,\n },\n {\n index: 7,\n value: 70,\n },\n {\n index: 8,\n value: 49,\n },\n {\n index: 9,\n value: 36,\n },\n {\n index: 10,\n value: 7,\n },\n {\n index: 11,\n value: 57,\n },\n {\n index: 12,\n value: 25,\n },\n {\n index: 13,\n value: 37,\n },\n {\n index: 14,\n value: 20,\n },\n {\n index: 15,\n value: 71,\n },\n {\n index: 16,\n value: 73,\n },\n {\n index: 17,\n value: 11,\n },\n {\n index: 18,\n value: 22,\n },\n {\n index: 19,\n value: 48,\n },\n {\n index: 20,\n value: 42,\n },\n {\n index: 21,\n value: 15,\n },\n {\n index: 22,\n value: 77,\n },\n {\n index: 23,\n value: 54,\n },\n {\n index: 24,\n value: 55,\n },\n {\n index: 25,\n value: 45,\n },\n {\n index: 26,\n value: 59,\n },\n {\n index: 27,\n value: 1,\n },\n {\n index: 28,\n value: 80,\n },\n {\n index: 29,\n value: 17,\n },\n {\n index: 30,\n value: 66,\n },\n {\n index: 31,\n value: 53,\n },\n {\n index: 32,\n value: 103,\n },\n {\n index: 33,\n value: 65,\n },\n {\n index: 34,\n value: 102,\n },\n {\n index: 35,\n value: 85,\n },\n {\n index: 36,\n value: 63,\n },\n {\n index: 37,\n value: 83,\n },\n {\n index: 38,\n value: 5,\n },\n {\n index: 39,\n value: 16,\n },\n {\n index: 40,\n value: 8,\n },\n {\n index: 41,\n value: 89,\n },\n {\n index: 42,\n value: 78,\n },\n {\n index: 43,\n value: 2,\n },\n {\n index: 44,\n value: 28,\n },\n {\n index: 45,\n value: 32,\n },\n {\n index: 46,\n value: 30,\n },\n {\n index: 47,\n value: 90,\n },\n {\n index: 48,\n value: 31,\n },\n {\n index: 49,\n value: 47,\n },\n {\n index: 50,\n value: 26,\n },\n {\n index: 51,\n value: 87,\n },\n {\n index: 52,\n value: 101,\n },\n {\n index: 53,\n value: 95,\n },\n {\n index: 54,\n value: 29,\n },\n {\n index: 55,\n value: 19,\n },\n {\n index: 56,\n value: 3,\n },\n {\n index: 57,\n value: 94,\n },\n {\n index: 58,\n value: 56,\n },\n {\n index: 59,\n value: 18,\n },\n {\n index: 60,\n value: 79,\n },\n {\n index: 61,\n value: 41,\n },\n {\n index: 62,\n value: 69,\n },\n {\n index: 63,\n value: 81,\n },\n {\n index: 64,\n value: 43,\n },\n {\n index: 65,\n value: 76,\n },\n {\n index: 66,\n value: 35,\n },\n {\n index: 67,\n value: 27,\n },\n {\n index: 68,\n value: 4,\n },\n {\n index: 69,\n value: 92,\n },\n {\n index: 70,\n value: 74,\n },\n {\n index: 71,\n value: 14,\n },\n {\n index: 72,\n value: 33,\n },\n {\n index: 73,\n value: 84,\n },\n {\n index: 74,\n value: 86,\n },\n {\n index: 75,\n value: 72,\n },\n {\n index: 76,\n value: 88,\n },\n {\n index: 77,\n value: 93,\n },\n {\n index: 78,\n value: 24,\n },\n {\n index: 79,\n value: 39,\n },\n {\n index: 80,\n value: 99,\n },\n {\n index: 81,\n value: 97,\n },\n {\n index: 82,\n value: 75,\n },\n {\n index: 83,\n value: 0,\n },\n {\n index: 84,\n value: 6,\n },\n {\n index: 85,\n value: 60,\n },\n {\n index: 86,\n value: 50,\n },\n {\n index: 87,\n value: 64,\n },\n {\n index: 88,\n value: 51,\n },\n {\n index: 89,\n value: 96,\n },\n {\n index: 90,\n value: 44,\n },\n {\n index: 91,\n value: 38,\n },\n {\n index: 92,\n value: 58,\n },\n {\n index: 93,\n value: 40,\n },\n {\n index: 94,\n value: 68,\n },\n {\n index: 95,\n value: 52,\n },\n {\n index: 96,\n value: 82,\n },\n {\n index: 97,\n value: 98,\n },\n {\n index: 98,\n value: 46,\n },\n {\n index: 99,\n value: 61,\n },\n {\n index: 100,\n value: 67,\n },\n {\n index: 101,\n value: 62,\n },\n {\n index: 102,\n value: 100,\n },\n {\n index: 103,\n value: 34,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 1,\n },\n {\n index: 110,\n value: 1,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 1,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 1,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 1,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 1,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 1,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 1,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 0,\n },\n {\n index: 209,\n value: 1,\n },\n {\n index: 210,\n value: 1,\n },\n {\n index: 211,\n value: 1,\n },\n {\n index: 212,\n value: 1,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 1,\n },\n {\n index: 217,\n value: 1,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 1,\n },\n {\n index: 221,\n value: 1,\n },\n {\n index: 222,\n value: 0,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 0,\n },\n {\n index: 225,\n value: 1,\n },\n {\n index: 226,\n value: 1,\n },\n {\n index: 227,\n value: 1,\n },\n {\n index: 228,\n value: 0,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 1,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 1,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 1,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 1,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 1,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 1,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 1,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 0,\n },\n {\n index: 265,\n value: 0,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 1,\n },\n {\n index: 274,\n value: 1,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 1,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 0,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 1,\n },\n {\n index: 285,\n value: 0,\n },\n {\n index: 286,\n value: 1,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 1,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 0,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 1,\n },\n {\n index: 295,\n value: 1,\n },\n {\n index: 296,\n value: 1,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 1,\n },\n {\n index: 310,\n value: 1,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'player21030',\n opponentScore: 2200,\n secrets: [\n {\n index: 0,\n value: 89,\n },\n {\n index: 1,\n value: 45,\n },\n {\n index: 2,\n value: 83,\n },\n {\n index: 3,\n value: 81,\n },\n {\n index: 4,\n value: 77,\n },\n {\n index: 5,\n value: 36,\n },\n {\n index: 6,\n value: 90,\n },\n {\n index: 7,\n value: 13,\n },\n {\n index: 8,\n value: 63,\n },\n {\n index: 9,\n value: 3,\n },\n {\n index: 10,\n value: 24,\n },\n {\n index: 11,\n value: 74,\n },\n {\n index: 12,\n value: 97,\n },\n {\n index: 13,\n value: 33,\n },\n {\n index: 14,\n value: 25,\n },\n {\n index: 15,\n value: 52,\n },\n {\n index: 16,\n value: 29,\n },\n {\n index: 17,\n value: 26,\n },\n {\n index: 18,\n value: 49,\n },\n {\n index: 19,\n value: 17,\n },\n {\n index: 20,\n value: 16,\n },\n {\n index: 21,\n value: 40,\n },\n {\n index: 22,\n value: 86,\n },\n {\n index: 23,\n value: 15,\n },\n {\n index: 24,\n value: 34,\n },\n {\n index: 25,\n value: 43,\n },\n {\n index: 26,\n value: 37,\n },\n {\n index: 27,\n value: 39,\n },\n {\n index: 28,\n value: 57,\n },\n {\n index: 29,\n value: 47,\n },\n {\n index: 30,\n value: 30,\n },\n {\n index: 31,\n value: 28,\n },\n {\n index: 32,\n value: 91,\n },\n {\n index: 33,\n value: 32,\n },\n {\n index: 34,\n value: 53,\n },\n {\n index: 35,\n value: 98,\n },\n {\n index: 36,\n value: 66,\n },\n {\n index: 37,\n value: 103,\n },\n {\n index: 38,\n value: 71,\n },\n {\n index: 39,\n value: 4,\n },\n {\n index: 40,\n value: 79,\n },\n {\n index: 41,\n value: 92,\n },\n {\n index: 42,\n value: 58,\n },\n {\n index: 43,\n value: 5,\n },\n {\n index: 44,\n value: 85,\n },\n {\n index: 45,\n value: 0,\n },\n {\n index: 46,\n value: 23,\n },\n {\n index: 47,\n value: 41,\n },\n {\n index: 48,\n value: 68,\n },\n {\n index: 49,\n value: 56,\n },\n {\n index: 50,\n value: 21,\n },\n {\n index: 51,\n value: 76,\n },\n {\n index: 52,\n value: 73,\n },\n {\n index: 53,\n value: 101,\n },\n {\n index: 54,\n value: 8,\n },\n {\n index: 55,\n value: 87,\n },\n {\n index: 56,\n value: 46,\n },\n {\n index: 57,\n value: 44,\n },\n {\n index: 58,\n value: 54,\n },\n {\n index: 59,\n value: 70,\n },\n {\n index: 60,\n value: 22,\n },\n {\n index: 61,\n value: 6,\n },\n {\n index: 62,\n value: 50,\n },\n {\n index: 63,\n value: 10,\n },\n {\n index: 64,\n value: 60,\n },\n {\n index: 65,\n value: 12,\n },\n {\n index: 66,\n value: 48,\n },\n {\n index: 67,\n value: 80,\n },\n {\n index: 68,\n value: 31,\n },\n {\n index: 69,\n value: 72,\n },\n {\n index: 70,\n value: 51,\n },\n {\n index: 71,\n value: 62,\n },\n {\n index: 72,\n value: 96,\n },\n {\n index: 73,\n value: 84,\n },\n {\n index: 74,\n value: 35,\n },\n {\n index: 75,\n value: 88,\n },\n {\n index: 76,\n value: 20,\n },\n {\n index: 77,\n value: 100,\n },\n {\n index: 78,\n value: 11,\n },\n {\n index: 79,\n value: 55,\n },\n {\n index: 80,\n value: 95,\n },\n {\n index: 81,\n value: 2,\n },\n {\n index: 82,\n value: 64,\n },\n {\n index: 83,\n value: 82,\n },\n {\n index: 84,\n value: 18,\n },\n {\n index: 85,\n value: 93,\n },\n {\n index: 86,\n value: 1,\n },\n {\n index: 87,\n value: 42,\n },\n {\n index: 88,\n value: 75,\n },\n {\n index: 89,\n value: 99,\n },\n {\n index: 90,\n value: 59,\n },\n {\n index: 91,\n value: 78,\n },\n {\n index: 92,\n value: 65,\n },\n {\n index: 93,\n value: 61,\n },\n {\n index: 94,\n value: 14,\n },\n {\n index: 95,\n value: 9,\n },\n {\n index: 96,\n value: 67,\n },\n {\n index: 97,\n value: 19,\n },\n {\n index: 98,\n value: 27,\n },\n {\n index: 99,\n value: 38,\n },\n {\n index: 100,\n value: 102,\n },\n {\n index: 101,\n value: 7,\n },\n {\n index: 102,\n value: 94,\n },\n {\n index: 103,\n value: 69,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 1,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 1,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 1,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 1,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 1,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 1,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 1,\n },\n {\n index: 196,\n value: 1,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 1,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 1,\n },\n {\n index: 213,\n value: 1,\n },\n {\n index: 214,\n value: 1,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 1,\n },\n {\n index: 217,\n value: 0,\n },\n {\n index: 218,\n value: 1,\n },\n {\n index: 219,\n value: 1,\n },\n {\n index: 220,\n value: 0,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 1,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 0,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 1,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 0,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 1,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 0,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 1,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 1,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 1,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 1,\n },\n {\n index: 264,\n value: 0,\n },\n {\n index: 265,\n value: 0,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 1,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 1,\n },\n {\n index: 271,\n value: 1,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 1,\n },\n {\n index: 274,\n value: 1,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 1,\n },\n {\n index: 279,\n value: 1,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 1,\n },\n {\n index: 283,\n value: 1,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 1,\n },\n {\n index: 286,\n value: 1,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 1,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 0,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 1,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 0,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 1,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 1,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 1,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'rgalexander216',\n opponentScore: 110,\n secrets: [\n {\n index: 0,\n value: 45,\n },\n {\n index: 1,\n value: 22,\n },\n {\n index: 2,\n value: 48,\n },\n {\n index: 3,\n value: 44,\n },\n {\n index: 4,\n value: 33,\n },\n {\n index: 5,\n value: 93,\n },\n {\n index: 6,\n value: 89,\n },\n {\n index: 7,\n value: 75,\n },\n {\n index: 8,\n value: 102,\n },\n {\n index: 9,\n value: 76,\n },\n {\n index: 10,\n value: 2,\n },\n {\n index: 11,\n value: 58,\n },\n {\n index: 12,\n value: 20,\n },\n {\n index: 13,\n value: 68,\n },\n {\n index: 14,\n value: 31,\n },\n {\n index: 15,\n value: 69,\n },\n {\n index: 16,\n value: 24,\n },\n {\n index: 17,\n value: 5,\n },\n {\n index: 18,\n value: 49,\n },\n {\n index: 19,\n value: 12,\n },\n {\n index: 20,\n value: 51,\n },\n {\n index: 21,\n value: 61,\n },\n {\n index: 22,\n value: 30,\n },\n {\n index: 23,\n value: 56,\n },\n {\n index: 24,\n value: 10,\n },\n {\n index: 25,\n value: 32,\n },\n {\n index: 26,\n value: 79,\n },\n {\n index: 27,\n value: 1,\n },\n {\n index: 28,\n value: 88,\n },\n {\n index: 29,\n value: 64,\n },\n {\n index: 30,\n value: 26,\n },\n {\n index: 31,\n value: 35,\n },\n {\n index: 32,\n value: 53,\n },\n {\n index: 33,\n value: 59,\n },\n {\n index: 34,\n value: 27,\n },\n {\n index: 35,\n value: 43,\n },\n {\n index: 36,\n value: 103,\n },\n {\n index: 37,\n value: 81,\n },\n {\n index: 38,\n value: 84,\n },\n {\n index: 39,\n value: 80,\n },\n {\n index: 40,\n value: 18,\n },\n {\n index: 41,\n value: 100,\n },\n {\n index: 42,\n value: 86,\n },\n {\n index: 43,\n value: 13,\n },\n {\n index: 44,\n value: 66,\n },\n {\n index: 45,\n value: 29,\n },\n {\n index: 46,\n value: 54,\n },\n {\n index: 47,\n value: 57,\n },\n {\n index: 48,\n value: 74,\n },\n {\n index: 49,\n value: 3,\n },\n {\n index: 50,\n value: 15,\n },\n {\n index: 51,\n value: 62,\n },\n {\n index: 52,\n value: 41,\n },\n {\n index: 53,\n value: 82,\n },\n {\n index: 54,\n value: 96,\n },\n {\n index: 55,\n value: 38,\n },\n {\n index: 56,\n value: 11,\n },\n {\n index: 57,\n value: 83,\n },\n {\n index: 58,\n value: 52,\n },\n {\n index: 59,\n value: 67,\n },\n {\n index: 60,\n value: 37,\n },\n {\n index: 61,\n value: 78,\n },\n {\n index: 62,\n value: 34,\n },\n {\n index: 63,\n value: 47,\n },\n {\n index: 64,\n value: 73,\n },\n {\n index: 65,\n value: 39,\n },\n {\n index: 66,\n value: 92,\n },\n {\n index: 67,\n value: 85,\n },\n {\n index: 68,\n value: 21,\n },\n {\n index: 69,\n value: 55,\n },\n {\n index: 70,\n value: 63,\n },\n {\n index: 71,\n value: 72,\n },\n {\n index: 72,\n value: 4,\n },\n {\n index: 73,\n value: 36,\n },\n {\n index: 74,\n value: 50,\n },\n {\n index: 75,\n value: 23,\n },\n {\n index: 76,\n value: 6,\n },\n {\n index: 77,\n value: 90,\n },\n {\n index: 78,\n value: 0,\n },\n {\n index: 79,\n value: 8,\n },\n {\n index: 80,\n value: 91,\n },\n {\n index: 81,\n value: 42,\n },\n {\n index: 82,\n value: 46,\n },\n {\n index: 83,\n value: 98,\n },\n {\n index: 84,\n value: 77,\n },\n {\n index: 85,\n value: 60,\n },\n {\n index: 86,\n value: 17,\n },\n {\n index: 87,\n value: 101,\n },\n {\n index: 88,\n value: 14,\n },\n {\n index: 89,\n value: 97,\n },\n {\n index: 90,\n value: 70,\n },\n {\n index: 91,\n value: 99,\n },\n {\n index: 92,\n value: 19,\n },\n {\n index: 93,\n value: 95,\n },\n {\n index: 94,\n value: 16,\n },\n {\n index: 95,\n value: 87,\n },\n {\n index: 96,\n value: 40,\n },\n {\n index: 97,\n value: 28,\n },\n {\n index: 98,\n value: 25,\n },\n {\n index: 99,\n value: 65,\n },\n {\n index: 100,\n value: 7,\n },\n {\n index: 101,\n value: 94,\n },\n {\n index: 102,\n value: 9,\n },\n {\n index: 103,\n value: 71,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 1,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 0,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 1,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 0,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 1,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 1,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 1,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 1,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 1,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 1,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 0,\n },\n {\n index: 209,\n value: 1,\n },\n {\n index: 210,\n value: 1,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 1,\n },\n {\n index: 215,\n value: 1,\n },\n {\n index: 216,\n value: 1,\n },\n {\n index: 217,\n value: 1,\n },\n {\n index: 218,\n value: 0,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 0,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 0,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 0,\n },\n {\n index: 226,\n value: 1,\n },\n {\n index: 227,\n value: 1,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 1,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 1,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 1,\n },\n {\n index: 237,\n value: 1,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 1,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 1,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 1,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 1,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 1,\n },\n {\n index: 264,\n value: 1,\n },\n {\n index: 265,\n value: 0,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 1,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 1,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 1,\n },\n {\n index: 282,\n value: 1,\n },\n {\n index: 283,\n value: 1,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 1,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 1,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 1,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 0,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 0,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 1,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 1,\n },\n {\n index: 307,\n value: 0,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 1,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'kawaikea',\n opponentScore: 860,\n secrets: [\n {\n index: 0,\n value: 62,\n },\n {\n index: 1,\n value: 7,\n },\n {\n index: 2,\n value: 59,\n },\n {\n index: 3,\n value: 71,\n },\n {\n index: 4,\n value: 10,\n },\n {\n index: 5,\n value: 80,\n },\n {\n index: 6,\n value: 92,\n },\n {\n index: 7,\n value: 47,\n },\n {\n index: 8,\n value: 72,\n },\n {\n index: 9,\n value: 37,\n },\n {\n index: 10,\n value: 63,\n },\n {\n index: 11,\n value: 29,\n },\n {\n index: 12,\n value: 22,\n },\n {\n index: 13,\n value: 83,\n },\n {\n index: 14,\n value: 78,\n },\n {\n index: 15,\n value: 8,\n },\n {\n index: 16,\n value: 102,\n },\n {\n index: 17,\n value: 77,\n },\n {\n index: 18,\n value: 34,\n },\n {\n index: 19,\n value: 30,\n },\n {\n index: 20,\n value: 41,\n },\n {\n index: 21,\n value: 85,\n },\n {\n index: 22,\n value: 35,\n },\n {\n index: 23,\n value: 50,\n },\n {\n index: 24,\n value: 33,\n },\n {\n index: 25,\n value: 40,\n },\n {\n index: 26,\n value: 90,\n },\n {\n index: 27,\n value: 20,\n },\n {\n index: 28,\n value: 70,\n },\n {\n index: 29,\n value: 65,\n },\n {\n index: 30,\n value: 88,\n },\n {\n index: 31,\n value: 9,\n },\n {\n index: 32,\n value: 87,\n },\n {\n index: 33,\n value: 60,\n },\n {\n index: 34,\n value: 21,\n },\n {\n index: 35,\n value: 86,\n },\n {\n index: 36,\n value: 66,\n },\n {\n index: 37,\n value: 0,\n },\n {\n index: 38,\n value: 23,\n },\n {\n index: 39,\n value: 89,\n },\n {\n index: 40,\n value: 76,\n },\n {\n index: 41,\n value: 5,\n },\n {\n index: 42,\n value: 56,\n },\n {\n index: 43,\n value: 58,\n },\n {\n index: 44,\n value: 31,\n },\n {\n index: 45,\n value: 103,\n },\n {\n index: 46,\n value: 1,\n },\n {\n index: 47,\n value: 43,\n },\n {\n index: 48,\n value: 3,\n },\n {\n index: 49,\n value: 81,\n },\n {\n index: 50,\n value: 57,\n },\n {\n index: 51,\n value: 28,\n },\n {\n index: 52,\n value: 12,\n },\n {\n index: 53,\n value: 6,\n },\n {\n index: 54,\n value: 94,\n },\n {\n index: 55,\n value: 91,\n },\n {\n index: 56,\n value: 48,\n },\n {\n index: 57,\n value: 49,\n },\n {\n index: 58,\n value: 93,\n },\n {\n index: 59,\n value: 11,\n },\n {\n index: 60,\n value: 68,\n },\n {\n index: 61,\n value: 99,\n },\n {\n index: 62,\n value: 4,\n },\n {\n index: 63,\n value: 79,\n },\n {\n index: 64,\n value: 74,\n },\n {\n index: 65,\n value: 15,\n },\n {\n index: 66,\n value: 32,\n },\n {\n index: 67,\n value: 25,\n },\n {\n index: 68,\n value: 61,\n },\n {\n index: 69,\n value: 95,\n },\n {\n index: 70,\n value: 96,\n },\n {\n index: 71,\n value: 75,\n },\n {\n index: 72,\n value: 45,\n },\n {\n index: 73,\n value: 26,\n },\n {\n index: 74,\n value: 54,\n },\n {\n index: 75,\n value: 69,\n },\n {\n index: 76,\n value: 17,\n },\n {\n index: 77,\n value: 27,\n },\n {\n index: 78,\n value: 73,\n },\n {\n index: 79,\n value: 42,\n },\n {\n index: 80,\n value: 24,\n },\n {\n index: 81,\n value: 55,\n },\n {\n index: 82,\n value: 39,\n },\n {\n index: 83,\n value: 97,\n },\n {\n index: 84,\n value: 44,\n },\n {\n index: 85,\n value: 84,\n },\n {\n index: 86,\n value: 101,\n },\n {\n index: 87,\n value: 52,\n },\n {\n index: 88,\n value: 16,\n },\n {\n index: 89,\n value: 64,\n },\n {\n index: 90,\n value: 36,\n },\n {\n index: 91,\n value: 51,\n },\n {\n index: 92,\n value: 2,\n },\n {\n index: 93,\n value: 82,\n },\n {\n index: 94,\n value: 19,\n },\n {\n index: 95,\n value: 100,\n },\n {\n index: 96,\n value: 67,\n },\n {\n index: 97,\n value: 18,\n },\n {\n index: 98,\n value: 13,\n },\n {\n index: 99,\n value: 38,\n },\n {\n index: 100,\n value: 53,\n },\n {\n index: 101,\n value: 98,\n },\n {\n index: 102,\n value: 14,\n },\n {\n index: 103,\n value: 46,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 1,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 1,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 1,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 0,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 0,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 1,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 0,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 0,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 1,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 0,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 1,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 0,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 1,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 1,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 1,\n },\n {\n index: 209,\n value: 0,\n },\n {\n index: 210,\n value: 0,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 1,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 0,\n },\n {\n index: 217,\n value: 1,\n },\n {\n index: 218,\n value: 1,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 1,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 0,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 1,\n },\n {\n index: 225,\n value: 1,\n },\n {\n index: 226,\n value: 0,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 0,\n },\n {\n index: 229,\n value: 0,\n },\n {\n index: 230,\n value: 1,\n },\n {\n index: 231,\n value: 1,\n },\n {\n index: 232,\n value: 0,\n },\n {\n index: 233,\n value: 0,\n },\n {\n index: 234,\n value: 1,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 1,\n },\n {\n index: 239,\n value: 1,\n },\n {\n index: 240,\n value: 1,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 1,\n },\n {\n index: 247,\n value: 1,\n },\n {\n index: 248,\n value: 1,\n },\n {\n index: 249,\n value: 0,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 0,\n },\n {\n index: 253,\n value: 1,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 0,\n },\n {\n index: 259,\n value: 0,\n },\n {\n index: 260,\n value: 1,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 1,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 1,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 0,\n },\n {\n index: 272,\n value: 1,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 1,\n },\n {\n index: 276,\n value: 1,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 0,\n },\n {\n index: 279,\n value: 1,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 0,\n },\n {\n index: 282,\n value: 0,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 0,\n },\n {\n index: 285,\n value: 0,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 1,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 0,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 1,\n },\n {\n index: 295,\n value: 0,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 1,\n },\n {\n index: 298,\n value: 1,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 0,\n },\n {\n index: 302,\n value: 0,\n },\n {\n index: 303,\n value: 1,\n },\n {\n index: 304,\n value: 0,\n },\n {\n index: 305,\n value: 0,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 0,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n {\n status: 200,\n body: {\n status: 200,\n msg: 'Practice round',\n data: {\n opponentName: 'El Belico',\n opponentScore: 100,\n secrets: [\n {\n index: 0,\n value: 61,\n },\n {\n index: 1,\n value: 37,\n },\n {\n index: 2,\n value: 89,\n },\n {\n index: 3,\n value: 1,\n },\n {\n index: 4,\n value: 44,\n },\n {\n index: 5,\n value: 6,\n },\n {\n index: 6,\n value: 73,\n },\n {\n index: 7,\n value: 53,\n },\n {\n index: 8,\n value: 87,\n },\n {\n index: 9,\n value: 16,\n },\n {\n index: 10,\n value: 77,\n },\n {\n index: 11,\n value: 19,\n },\n {\n index: 12,\n value: 25,\n },\n {\n index: 13,\n value: 45,\n },\n {\n index: 14,\n value: 90,\n },\n {\n index: 15,\n value: 18,\n },\n {\n index: 16,\n value: 93,\n },\n {\n index: 17,\n value: 48,\n },\n {\n index: 18,\n value: 33,\n },\n {\n index: 19,\n value: 4,\n },\n {\n index: 20,\n value: 64,\n },\n {\n index: 21,\n value: 102,\n },\n {\n index: 22,\n value: 80,\n },\n {\n index: 23,\n value: 2,\n },\n {\n index: 24,\n value: 36,\n },\n {\n index: 25,\n value: 76,\n },\n {\n index: 26,\n value: 79,\n },\n {\n index: 27,\n value: 86,\n },\n {\n index: 28,\n value: 99,\n },\n {\n index: 29,\n value: 67,\n },\n {\n index: 30,\n value: 81,\n },\n {\n index: 31,\n value: 50,\n },\n {\n index: 32,\n value: 83,\n },\n {\n index: 33,\n value: 5,\n },\n {\n index: 34,\n value: 72,\n },\n {\n index: 35,\n value: 47,\n },\n {\n index: 36,\n value: 96,\n },\n {\n index: 37,\n value: 52,\n },\n {\n index: 38,\n value: 55,\n },\n {\n index: 39,\n value: 98,\n },\n {\n index: 40,\n value: 58,\n },\n {\n index: 41,\n value: 101,\n },\n {\n index: 42,\n value: 92,\n },\n {\n index: 43,\n value: 39,\n },\n {\n index: 44,\n value: 9,\n },\n {\n index: 45,\n value: 95,\n },\n {\n index: 46,\n value: 42,\n },\n {\n index: 47,\n value: 91,\n },\n {\n index: 48,\n value: 20,\n },\n {\n index: 49,\n value: 60,\n },\n {\n index: 50,\n value: 22,\n },\n {\n index: 51,\n value: 62,\n },\n {\n index: 52,\n value: 94,\n },\n {\n index: 53,\n value: 21,\n },\n {\n index: 54,\n value: 57,\n },\n {\n index: 55,\n value: 78,\n },\n {\n index: 56,\n value: 7,\n },\n {\n index: 57,\n value: 103,\n },\n {\n index: 58,\n value: 13,\n },\n {\n index: 59,\n value: 31,\n },\n {\n index: 60,\n value: 43,\n },\n {\n index: 61,\n value: 15,\n },\n {\n index: 62,\n value: 17,\n },\n {\n index: 63,\n value: 49,\n },\n {\n index: 64,\n value: 27,\n },\n {\n index: 65,\n value: 30,\n },\n {\n index: 66,\n value: 85,\n },\n {\n index: 67,\n value: 40,\n },\n {\n index: 68,\n value: 8,\n },\n {\n index: 69,\n value: 14,\n },\n {\n index: 70,\n value: 0,\n },\n {\n index: 71,\n value: 46,\n },\n {\n index: 72,\n value: 69,\n },\n {\n index: 73,\n value: 23,\n },\n {\n index: 74,\n value: 56,\n },\n {\n index: 75,\n value: 34,\n },\n {\n index: 76,\n value: 100,\n },\n {\n index: 77,\n value: 12,\n },\n {\n index: 78,\n value: 26,\n },\n {\n index: 79,\n value: 97,\n },\n {\n index: 80,\n value: 28,\n },\n {\n index: 81,\n value: 68,\n },\n {\n index: 82,\n value: 84,\n },\n {\n index: 83,\n value: 82,\n },\n {\n index: 84,\n value: 51,\n },\n {\n index: 85,\n value: 65,\n },\n {\n index: 86,\n value: 66,\n },\n {\n index: 87,\n value: 88,\n },\n {\n index: 88,\n value: 3,\n },\n {\n index: 89,\n value: 74,\n },\n {\n index: 90,\n value: 70,\n },\n {\n index: 91,\n value: 10,\n },\n {\n index: 92,\n value: 29,\n },\n {\n index: 93,\n value: 38,\n },\n {\n index: 94,\n value: 75,\n },\n {\n index: 95,\n value: 59,\n },\n {\n index: 96,\n value: 11,\n },\n {\n index: 97,\n value: 24,\n },\n {\n index: 98,\n value: 41,\n },\n {\n index: 99,\n value: 35,\n },\n {\n index: 100,\n value: 32,\n },\n {\n index: 101,\n value: 63,\n },\n {\n index: 102,\n value: 54,\n },\n {\n index: 103,\n value: 71,\n },\n {\n index: 104,\n value: 0,\n },\n {\n index: 105,\n value: 0,\n },\n {\n index: 106,\n value: 0,\n },\n {\n index: 107,\n value: 0,\n },\n {\n index: 108,\n value: 0,\n },\n {\n index: 109,\n value: 0,\n },\n {\n index: 110,\n value: 0,\n },\n {\n index: 111,\n value: 0,\n },\n {\n index: 112,\n value: 0,\n },\n {\n index: 113,\n value: 0,\n },\n {\n index: 114,\n value: 0,\n },\n {\n index: 115,\n value: 0,\n },\n {\n index: 116,\n value: 0,\n },\n {\n index: 117,\n value: 0,\n },\n {\n index: 118,\n value: 0,\n },\n {\n index: 119,\n value: 0,\n },\n {\n index: 120,\n value: 0,\n },\n {\n index: 121,\n value: 0,\n },\n {\n index: 122,\n value: 0,\n },\n {\n index: 123,\n value: 0,\n },\n {\n index: 124,\n value: 0,\n },\n {\n index: 125,\n value: 0,\n },\n {\n index: 126,\n value: 0,\n },\n {\n index: 127,\n value: 0,\n },\n {\n index: 128,\n value: 0,\n },\n {\n index: 129,\n value: 0,\n },\n {\n index: 130,\n value: 0,\n },\n {\n index: 131,\n value: 0,\n },\n {\n index: 132,\n value: 0,\n },\n {\n index: 133,\n value: 0,\n },\n {\n index: 134,\n value: 0,\n },\n {\n index: 135,\n value: 0,\n },\n {\n index: 136,\n value: 0,\n },\n {\n index: 137,\n value: 0,\n },\n {\n index: 138,\n value: 0,\n },\n {\n index: 139,\n value: 0,\n },\n {\n index: 140,\n value: 0,\n },\n {\n index: 141,\n value: 1,\n },\n {\n index: 142,\n value: 0,\n },\n {\n index: 143,\n value: 0,\n },\n {\n index: 144,\n value: 0,\n },\n {\n index: 145,\n value: 0,\n },\n {\n index: 146,\n value: 0,\n },\n {\n index: 147,\n value: 1,\n },\n {\n index: 148,\n value: 0,\n },\n {\n index: 149,\n value: 0,\n },\n {\n index: 150,\n value: 0,\n },\n {\n index: 151,\n value: 1,\n },\n {\n index: 152,\n value: 0,\n },\n {\n index: 153,\n value: 0,\n },\n {\n index: 154,\n value: 0,\n },\n {\n index: 155,\n value: 0,\n },\n {\n index: 156,\n value: 0,\n },\n {\n index: 157,\n value: 0,\n },\n {\n index: 158,\n value: 0,\n },\n {\n index: 159,\n value: 1,\n },\n {\n index: 160,\n value: 0,\n },\n {\n index: 161,\n value: 0,\n },\n {\n index: 162,\n value: 1,\n },\n {\n index: 163,\n value: 0,\n },\n {\n index: 164,\n value: 0,\n },\n {\n index: 165,\n value: 0,\n },\n {\n index: 166,\n value: 0,\n },\n {\n index: 167,\n value: 0,\n },\n {\n index: 168,\n value: 0,\n },\n {\n index: 169,\n value: 0,\n },\n {\n index: 170,\n value: 0,\n },\n {\n index: 171,\n value: 0,\n },\n {\n index: 172,\n value: 0,\n },\n {\n index: 173,\n value: 0,\n },\n {\n index: 174,\n value: 1,\n },\n {\n index: 175,\n value: 0,\n },\n {\n index: 176,\n value: 0,\n },\n {\n index: 177,\n value: 0,\n },\n {\n index: 178,\n value: 0,\n },\n {\n index: 179,\n value: 0,\n },\n {\n index: 180,\n value: 0,\n },\n {\n index: 181,\n value: 0,\n },\n {\n index: 182,\n value: 1,\n },\n {\n index: 183,\n value: 0,\n },\n {\n index: 184,\n value: 0,\n },\n {\n index: 185,\n value: 0,\n },\n {\n index: 186,\n value: 0,\n },\n {\n index: 187,\n value: 0,\n },\n {\n index: 188,\n value: 0,\n },\n {\n index: 189,\n value: 1,\n },\n {\n index: 190,\n value: 0,\n },\n {\n index: 191,\n value: 0,\n },\n {\n index: 192,\n value: 0,\n },\n {\n index: 193,\n value: 0,\n },\n {\n index: 194,\n value: 0,\n },\n {\n index: 195,\n value: 0,\n },\n {\n index: 196,\n value: 0,\n },\n {\n index: 197,\n value: 0,\n },\n {\n index: 198,\n value: 0,\n },\n {\n index: 199,\n value: 0,\n },\n {\n index: 200,\n value: 0,\n },\n {\n index: 201,\n value: 0,\n },\n {\n index: 202,\n value: 0,\n },\n {\n index: 203,\n value: 0,\n },\n {\n index: 204,\n value: 0,\n },\n {\n index: 205,\n value: 0,\n },\n {\n index: 206,\n value: 0,\n },\n {\n index: 207,\n value: 0,\n },\n {\n index: 208,\n value: 1,\n },\n {\n index: 209,\n value: 1,\n },\n {\n index: 210,\n value: 1,\n },\n {\n index: 211,\n value: 0,\n },\n {\n index: 212,\n value: 0,\n },\n {\n index: 213,\n value: 0,\n },\n {\n index: 214,\n value: 0,\n },\n {\n index: 215,\n value: 0,\n },\n {\n index: 216,\n value: 1,\n },\n {\n index: 217,\n value: 0,\n },\n {\n index: 218,\n value: 1,\n },\n {\n index: 219,\n value: 0,\n },\n {\n index: 220,\n value: 1,\n },\n {\n index: 221,\n value: 0,\n },\n {\n index: 222,\n value: 1,\n },\n {\n index: 223,\n value: 0,\n },\n {\n index: 224,\n value: 0,\n },\n {\n index: 225,\n value: 1,\n },\n {\n index: 226,\n value: 0,\n },\n {\n index: 227,\n value: 0,\n },\n {\n index: 228,\n value: 1,\n },\n {\n index: 229,\n value: 1,\n },\n {\n index: 230,\n value: 0,\n },\n {\n index: 231,\n value: 0,\n },\n {\n index: 232,\n value: 1,\n },\n {\n index: 233,\n value: 1,\n },\n {\n index: 234,\n value: 0,\n },\n {\n index: 235,\n value: 0,\n },\n {\n index: 236,\n value: 0,\n },\n {\n index: 237,\n value: 0,\n },\n {\n index: 238,\n value: 0,\n },\n {\n index: 239,\n value: 1,\n },\n {\n index: 240,\n value: 0,\n },\n {\n index: 241,\n value: 0,\n },\n {\n index: 242,\n value: 0,\n },\n {\n index: 243,\n value: 0,\n },\n {\n index: 244,\n value: 0,\n },\n {\n index: 245,\n value: 0,\n },\n {\n index: 246,\n value: 0,\n },\n {\n index: 247,\n value: 0,\n },\n {\n index: 248,\n value: 0,\n },\n {\n index: 249,\n value: 1,\n },\n {\n index: 250,\n value: 0,\n },\n {\n index: 251,\n value: 0,\n },\n {\n index: 252,\n value: 1,\n },\n {\n index: 253,\n value: 0,\n },\n {\n index: 254,\n value: 0,\n },\n {\n index: 255,\n value: 0,\n },\n {\n index: 256,\n value: 0,\n },\n {\n index: 257,\n value: 0,\n },\n {\n index: 258,\n value: 1,\n },\n {\n index: 259,\n value: 1,\n },\n {\n index: 260,\n value: 0,\n },\n {\n index: 261,\n value: 0,\n },\n {\n index: 262,\n value: 0,\n },\n {\n index: 263,\n value: 0,\n },\n {\n index: 264,\n value: 0,\n },\n {\n index: 265,\n value: 1,\n },\n {\n index: 266,\n value: 0,\n },\n {\n index: 267,\n value: 0,\n },\n {\n index: 268,\n value: 0,\n },\n {\n index: 269,\n value: 0,\n },\n {\n index: 270,\n value: 0,\n },\n {\n index: 271,\n value: 1,\n },\n {\n index: 272,\n value: 0,\n },\n {\n index: 273,\n value: 0,\n },\n {\n index: 274,\n value: 0,\n },\n {\n index: 275,\n value: 0,\n },\n {\n index: 276,\n value: 0,\n },\n {\n index: 277,\n value: 0,\n },\n {\n index: 278,\n value: 0,\n },\n {\n index: 279,\n value: 0,\n },\n {\n index: 280,\n value: 0,\n },\n {\n index: 281,\n value: 1,\n },\n {\n index: 282,\n value: 0,\n },\n {\n index: 283,\n value: 0,\n },\n {\n index: 284,\n value: 1,\n },\n {\n index: 285,\n value: 1,\n },\n {\n index: 286,\n value: 0,\n },\n {\n index: 287,\n value: 0,\n },\n {\n index: 288,\n value: 0,\n },\n {\n index: 289,\n value: 0,\n },\n {\n index: 290,\n value: 0,\n },\n {\n index: 291,\n value: 0,\n },\n {\n index: 292,\n value: 1,\n },\n {\n index: 293,\n value: 0,\n },\n {\n index: 294,\n value: 0,\n },\n {\n index: 295,\n value: 1,\n },\n {\n index: 296,\n value: 0,\n },\n {\n index: 297,\n value: 1,\n },\n {\n index: 298,\n value: 0,\n },\n {\n index: 299,\n value: 1,\n },\n {\n index: 300,\n value: 0,\n },\n {\n index: 301,\n value: 1,\n },\n {\n index: 302,\n value: 1,\n },\n {\n index: 303,\n value: 0,\n },\n {\n index: 304,\n value: 1,\n },\n {\n index: 305,\n value: 1,\n },\n {\n index: 306,\n value: 0,\n },\n {\n index: 307,\n value: 1,\n },\n {\n index: 308,\n value: 0,\n },\n {\n index: 309,\n value: 1,\n },\n {\n index: 310,\n value: 0,\n },\n {\n index: 311,\n value: 0,\n },\n ],\n },\n },\n },\n];\n","export const WAITING_OPPONENTS_MOCK = {\n status: 200,\n body: {\n status: 200,\n msg: 'OK',\n data: {\n waitingOpponents: {\n bet1: Math.random() < 0.5,\n bet25: Math.random() < 0.5,\n bet50: Math.random() < 0.5,\n bet100: Math.random() < 0.5,\n bet250: Math.random() < 0.5,\n bet500: Math.random() < 0.5,\n bet1000: Math.random() < 0.5,\n bet2500: Math.random() < 0.5,\n bet10000: Math.random() < 0.5,\n },\n },\n },\n};\n","export const PROFILE_MOCK = {\n status: 200,\n body: {\n status: 200,\n msg: 'OK',\n data: {\n account: {\n nick: 'Player',\n },\n referral: {\n code: 'demo',\n serviceFeeDiscount: 10,\n serviceFeeShare: 10,\n bonusServiceFeeShare: 10,\n },\n referralStats: {\n referredPayers: 0,\n totalPaymentCents: 0,\n totalPaymentTransactions: 0,\n },\n bonusStats: {\n referredPayers: 0,\n totalPaymentCents: 0,\n totalPaymentTransactions: 0,\n },\n referralTiers: [\n {\n serviceFeeShare: 10,\n minReferredPayers: 10,\n },\n ],\n },\n },\n};\n","export const OPERATOR_DATA_MOCK = {\n status: 200,\n body: {\n data: {\n operatorId: 'demo',\n userId: 'demo',\n displayName: 'Player',\n },\n },\n};\n","export const ACTIVITY_FEED_BLOCKS_MOCK = {\n status: 200,\n body: {\n msg: 'Activity feed',\n status: 200,\n data: {\n serverTime: 1741604971363,\n activities: {\n '2025-03-10T05:19:00': {\n '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6': {\n createdAt: 1741583964356,\n activityId: '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6',\n data: {\n nick: 'Pedro Arenas',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:23:00': {\n '379a56b236f32fc120aac6f132881a48ee1d2d9d1489d4f3dd19ae3a33178f06': {\n createdAt: 1741584222999,\n activityId: '379a56b236f32fc120aac6f132881a48ee1d2d9d1489d4f3dd19ae3a33178f06',\n data: {\n gameId: 'blocks',\n loserNick: 'Pedro Arenas',\n loserScore: 5540,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'theMightynah',\n winnerScore: 8290,\n bounty: {\n amount: 200,\n jackpot: false,\n },\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:25:00': {\n '86b37331f84c870122c1f1144b321d41bb0c8e9efee955eb96a3e99e730d929c': {\n createdAt: 1741584323325,\n activityId: '86b37331f84c870122c1f1144b321d41bb0c8e9efee955eb96a3e99e730d929c',\n data: {\n gameId: 'blocks',\n loserNick: 'jortu bon',\n loserScore: 39390,\n reward: '$10.00',\n type: 'WIN',\n winnerNick: 'Artificial Intelligence',\n winnerScore: 75025,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:29:00': {\n ca8650212f95485f89d86e2be593f2bc7bade45cac1a2ccff937ff150fe58417: {\n createdAt: 1741584584536,\n activityId: 'ca8650212f95485f89d86e2be593f2bc7bade45cac1a2ccff937ff150fe58417',\n data: {\n gameId: 'blocks',\n loserNick: 'Artificial Intelligence',\n loserScore: 8458,\n reward: '$20.00',\n type: 'WIN',\n winnerNick: 'bitfish5',\n winnerScore: 24830,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:30:00': {\n '3b4877e10b0b72de2cbeccd641b46c074e3ea74149dc284bd673a42a85c25878': {\n createdAt: 1741584608816,\n activityId: '3b4877e10b0b72de2cbeccd641b46c074e3ea74149dc284bd673a42a85c25878',\n data: {\n gameId: 'blocks',\n loserNick: 'theMightynah',\n loserScore: 4018,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Cash Sharma',\n winnerScore: 13171,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:32:00': {\n '18d0ca403b52268eb7a18e611a64a1820c1ddebda59b7f90f278b2b1e3e75c8b': {\n createdAt: 1741584767168,\n activityId: '18d0ca403b52268eb7a18e611a64a1820c1ddebda59b7f90f278b2b1e3e75c8b',\n data: {\n gameId: 'blocks',\n loserNick: 'theMightynah',\n loserScore: 2947,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'littleminer',\n winnerScore: 7133,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:37:00': {\n '935f57bf09d331a264a8d0e23b536368d6ff6b90b1ba77f149ffd36d2f185baa': {\n createdAt: 1741585021978,\n activityId: '935f57bf09d331a264a8d0e23b536368d6ff6b90b1ba77f149ffd36d2f185baa',\n data: {\n gameId: 'blocks',\n loserNick: 'Pedro Arenas',\n loserScore: 3372,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Cash Sharma',\n winnerScore: 85126,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:52:00': {\n '81265fffb3cb5761c15160168670b91a46fb1f6776df81cfa1249c8eb4ac53e2': {\n createdAt: 1741585953830,\n activityId: '81265fffb3cb5761c15160168670b91a46fb1f6776df81cfa1249c8eb4ac53e2',\n data: {\n gameId: 'blocks',\n loserNick: 'theMightynah',\n loserScore: 467,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Kendrab23',\n winnerScore: 2320,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:57:00': {\n '173f888c6919a7b84b53d9e28fbc4acf2b5f0d92c6681841fa4fb6a7f90fb349': {\n createdAt: 1741586256615,\n activityId: '173f888c6919a7b84b53d9e28fbc4acf2b5f0d92c6681841fa4fb6a7f90fb349',\n data: {\n nick: 'katsi',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:21:00': {\n bc947a182e5da2e7e34a6cbcb5323cf8eca785e476be6f845c6370796f9e90d3: {\n createdAt: 1741587683915,\n activityId: 'bc947a182e5da2e7e34a6cbcb5323cf8eca785e476be6f845c6370796f9e90d3',\n data: {\n gameId: 'blocks',\n loserNick: 'Annamaria Czibor',\n loserScore: 7344,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Cash Sharma',\n winnerScore: 23458,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:26:00': {\n e537de30f9251343d4122fe6941dd22d50c03c7ee7052adb6b90eb419c743d74: {\n createdAt: 1741587962631,\n activityId: 'e537de30f9251343d4122fe6941dd22d50c03c7ee7052adb6b90eb419c743d74',\n data: {\n nick: 'sauceboss',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:28:00': {\n f67e86d599c4389da3f492fda5be1dc4e4842f48abc012a13a6548aa0ffb5491: {\n createdAt: 1741588106642,\n activityId: 'f67e86d599c4389da3f492fda5be1dc4e4842f48abc012a13a6548aa0ffb5491',\n data: {\n gameId: 'blocks',\n loserNick: 'tripl3Cs423',\n loserScore: 9317,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'jortu bon',\n winnerScore: 70603,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:30:00': {\n '38adae8d401a760e6c9de79f300193bcd0423eee5f2930549c170709e7b82e4e': {\n createdAt: 1741588248808,\n activityId: '38adae8d401a760e6c9de79f300193bcd0423eee5f2930549c170709e7b82e4e',\n data: {\n gameId: 'blocks',\n loserNick: 'jortu bon',\n loserScore: 6290,\n reward: '$1.00',\n type: 'WIN',\n winnerNick: 'Kendrab23',\n winnerScore: 11432,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:32:00': {\n '87627b3b5f9fdd46b1e90b741c77ee5f723136fb3d2b915775febe2e59e151e6': {\n createdAt: 1741588339191,\n activityId: '87627b3b5f9fdd46b1e90b741c77ee5f723136fb3d2b915775febe2e59e151e6',\n data: {\n nick: 'Taylor Leaird',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:35:00': {\n e817845a9d49887613b2ee4c7179defe29cc4be21f053aa534b71b00332aaf21: {\n createdAt: 1741588534978,\n activityId: 'e817845a9d49887613b2ee4c7179defe29cc4be21f053aa534b71b00332aaf21',\n data: {\n nick: 'player2568',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:58:00': {\n a80a0cfb018181a89fcc323a4fedcfda231204c86b43d91b4efe2ab305a6722e: {\n createdAt: 1741589885196,\n activityId: 'a80a0cfb018181a89fcc323a4fedcfda231204c86b43d91b4efe2ab305a6722e',\n data: {\n gameId: 'blocks',\n loserNick: 'player2568',\n loserScore: 30502,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Cash Sharma',\n winnerScore: 94719,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:00:00': {\n '099724b8d258f2c1d0c271be8d66fcfb6b46e7f00ae709bb2aa961d0fbff9576': {\n createdAt: 1741590018167,\n activityId: '099724b8d258f2c1d0c271be8d66fcfb6b46e7f00ae709bb2aa961d0fbff9576',\n data: {\n gameId: 'blocks',\n loserNick: 'RcEverSauce',\n loserScore: 5326,\n reward: '$2.00',\n type: 'WIN',\n winnerNick: 'jortu bon',\n winnerScore: 85868,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:03:00': {\n '494c41c1b8f8cfbd42117d332d1417c546d473d706a0299484a9b92ef5c57ded': {\n createdAt: 1741590215380,\n activityId: '494c41c1b8f8cfbd42117d332d1417c546d473d706a0299484a9b92ef5c57ded',\n data: {\n gameId: 'blocks',\n loserNick: 'RcEverSauce',\n loserScore: 16404,\n reward: '$1.00',\n type: 'WIN',\n winnerNick: 'player2568',\n winnerScore: 24219,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:04:00': {\n '1fc11466b9f76a76a039d623284389c92b06a355a2929341cabc7db5fa9c6076': {\n createdAt: 1741590280581,\n activityId: '1fc11466b9f76a76a039d623284389c92b06a355a2929341cabc7db5fa9c6076',\n data: {\n nick: 'quite ',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n baee5d71ad36956d9ff6caae2c35319c5c3a58b4ab69b131f3cdfb2fe6115328: {\n createdAt: 1741590268462,\n activityId: 'baee5d71ad36956d9ff6caae2c35319c5c3a58b4ab69b131f3cdfb2fe6115328',\n data: {\n nick: 'uwildie2',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:18:00': {\n fdb9dab197c893bbebb4be24290ec009fed1e355234b27efef8db4a3733a3ce2: {\n createdAt: 1741591134143,\n activityId: 'fdb9dab197c893bbebb4be24290ec009fed1e355234b27efef8db4a3733a3ce2',\n data: {\n gameId: 'blocks',\n loserNick: 'uwildie2',\n loserScore: 78,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Golden Pepe',\n winnerScore: 1625,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:30:00': {\n e069f61f73e5b731138699b38ce73ba1f8c65f1cc188308dcf3f5f8840210c5c: {\n createdAt: 1741591822180,\n activityId: 'e069f61f73e5b731138699b38ce73ba1f8c65f1cc188308dcf3f5f8840210c5c',\n data: {\n gameId: 'blocks',\n loserNick: 'quite ',\n loserScore: 3201,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'lou dog 505',\n winnerScore: 4528,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:35:00': {\n '6b13604e1d6338cd769a4c5bc35a5cc7a8256c2a7d889bb19d4a9088327bedd5': {\n createdAt: 1741592141102,\n activityId: '6b13604e1d6338cd769a4c5bc35a5cc7a8256c2a7d889bb19d4a9088327bedd5',\n data: {\n gameId: 'blocks',\n loserNick: 'lou dog 505',\n loserScore: 2968,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'gussss',\n winnerScore: 21816,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:37:00': {\n '4f73780e30172880387824d7e69f0e62a542e8e241177596e74f0cbadf2198d0': {\n createdAt: 1741592241601,\n activityId: '4f73780e30172880387824d7e69f0e62a542e8e241177596e74f0cbadf2198d0',\n data: {\n gameId: 'blocks',\n loserNick: 'Rubocop32',\n loserScore: 116435,\n reward: '$20.00',\n type: 'WIN',\n winnerNick: 'Rexdentron',\n winnerScore: 119257,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:43:00': {\n c172cd3c8ccd7b40f1b237670e5c537742fbbc875c9c3f2bb0353adacd6f87d8: {\n createdAt: 1741592603290,\n activityId: 'c172cd3c8ccd7b40f1b237670e5c537742fbbc875c9c3f2bb0353adacd6f87d8',\n data: {\n gameId: 'blocks',\n loserNick: 'lala ',\n loserScore: 2687,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'lou dog 505',\n winnerScore: 3716,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n ecd1ac5e72f73fc0efa0d57bf142f0db2a044aac1892c404066b436f6699e14e: {\n createdAt: 1741592624450,\n activityId: 'ecd1ac5e72f73fc0efa0d57bf142f0db2a044aac1892c404066b436f6699e14e',\n data: {\n gameId: 'blocks',\n loserNick: 'Rubocop32',\n loserScore: 76999,\n reward: '$10.00',\n type: 'WIN',\n winnerNick: 'Rexdentron',\n winnerScore: 133745,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T07:51:00': {\n '15f33d622a31fc5b84aa2442ec3bdb47e9a805bf0b4e7d75d368056c0f287c4a': {\n createdAt: 1741593110249,\n activityId: '15f33d622a31fc5b84aa2442ec3bdb47e9a805bf0b4e7d75d368056c0f287c4a',\n data: {\n nick: 'NWM KING',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:01:00': {\n b8dd38ad7d7ce941e2b39d1b88ea508c161a69fabdbe4acfd78cd567e65ff122: {\n createdAt: 1741593665534,\n activityId: 'b8dd38ad7d7ce941e2b39d1b88ea508c161a69fabdbe4acfd78cd567e65ff122',\n data: {\n nick: 'player48321',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:09:00': {\n '25b5189e1257716124d88c55f874edbc21a06f9a255cb953950a920459991c62': {\n createdAt: 1741594190715,\n activityId: '25b5189e1257716124d88c55f874edbc21a06f9a255cb953950a920459991c62',\n data: {\n gameId: 'blocks',\n loserNick: '22heshang',\n loserScore: 13299,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Cash Sharma',\n winnerScore: 91544,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:15:00': {\n '34bc211488d8292ac6d43e30e5237e9eeb832e16806e89f56b43bc4e975ce1a6': {\n createdAt: 1741594503445,\n activityId: '34bc211488d8292ac6d43e30e5237e9eeb832e16806e89f56b43bc4e975ce1a6',\n data: {\n nick: 'Dijana Radisic Sosic',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:30:00': {\n feac618df89d3d9ab6f1c5c1c33230c9b8deb50b9a682736fda5c2f00dd16848: {\n createdAt: 1741595426801,\n activityId: 'feac618df89d3d9ab6f1c5c1c33230c9b8deb50b9a682736fda5c2f00dd16848',\n data: {\n gameId: 'blocks',\n loserNick: 'Brittney Morein',\n loserScore: 7129,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: '22heshang',\n winnerScore: 10101,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:37:00': {\n '3364ec73e383c81111161fd4cf6f739b84be42435a80c28386485f2fcbdf89e3': {\n createdAt: 1741595830815,\n activityId: '3364ec73e383c81111161fd4cf6f739b84be42435a80c28386485f2fcbdf89e3',\n data: {\n gameId: 'blocks',\n loserNick: '22heshang',\n loserScore: 3898,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Brittney Morein',\n winnerScore: 25718,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:39:00': {\n ebc98a0b5f0d4caf0de42dcc1a2ac7373805f81a3375a833cae7038dd8de6813: {\n createdAt: 1741595954169,\n activityId: 'ebc98a0b5f0d4caf0de42dcc1a2ac7373805f81a3375a833cae7038dd8de6813',\n data: {\n gameId: 'blocks',\n loserNick: '22heshang',\n loserScore: 528,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'MGBE',\n winnerScore: 88795,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:40:00': {\n fb2c61a59804ad2838bdcf9853abc459f97e59f7aa433ac5bb0a224169fcdbde: {\n createdAt: 1741596057228,\n activityId: 'fb2c61a59804ad2838bdcf9853abc459f97e59f7aa433ac5bb0a224169fcdbde',\n data: {\n gameId: 'blocks',\n loserNick: '22heshang',\n loserScore: 25163,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'tten',\n winnerScore: 58534,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:43:00': {\n fd5c3bf6143d55d10f23d0ad1c7b258099166499f89165b25f584d33a4eac726: {\n createdAt: 1741596206031,\n activityId: 'fd5c3bf6143d55d10f23d0ad1c7b258099166499f89165b25f584d33a4eac726',\n data: {\n gameId: 'blocks',\n loserNick: 'MGBE',\n loserScore: 6593,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'leokim',\n winnerScore: 181364,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:44:00': {\n e307d2b5704eb84dc5a961f2316ce7e1e674a771032a66cd201d724561da428c: {\n createdAt: 1741596241361,\n activityId: 'e307d2b5704eb84dc5a961f2316ce7e1e674a771032a66cd201d724561da428c',\n data: {\n gameId: 'blocks',\n loserNick: '22heshang',\n loserScore: 5972,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'WhiteGangsta',\n winnerScore: 6363,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T08:51:00': {\n '3c370b0431373b2d420a3081d86781d39c5199432a8b8f9f2bdfa074e866b447': {\n createdAt: 1741596676019,\n activityId: '3c370b0431373b2d420a3081d86781d39c5199432a8b8f9f2bdfa074e866b447',\n data: {\n gameId: 'blocks',\n loserNick: 'Brittney Morein',\n loserScore: 2229,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: '22heshang',\n winnerScore: 27844,\n },\n gameTag: 'blocks',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n },\n },\n },\n};\n\nexport const ACTIVITY_FEED_SOLITAIRE_MOCK = {\n status: 200,\n body: {\n msg: 'Activity feed',\n status: 200,\n data: {\n serverTime: 1741605349406,\n activities: {\n '2025-03-10T05:18:00': {\n '8447cbfd33ec43a8488fed50ca0e3f0ea838c42c8caeda7298541f22789cabd9': {\n createdAt: 1741583923637,\n activityId: '8447cbfd33ec43a8488fed50ca0e3f0ea838c42c8caeda7298541f22789cabd9',\n data: {\n gameId: 'solitaire',\n loserNick: 'player21281',\n loserScore: 110,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Bieganiec',\n winnerScore: 245,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:19:00': {\n '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6': {\n createdAt: 1741583964356,\n activityId: '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6',\n data: {\n nick: 'Pedro Arenas',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:23:00': {\n '948261a4889027a386cbb5101a50445fcd9f03cf40d2c24058e7e2f49219ff0d': {\n createdAt: 1741584198403,\n activityId: '948261a4889027a386cbb5101a50445fcd9f03cf40d2c24058e7e2f49219ff0d',\n data: {\n gameId: 'solitaire',\n loserNick: 'a muse',\n loserScore: 565,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'player43374',\n winnerScore: 840,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:27:00': {\n aad313a31ed1133d79ceb480215453cbc563362947d608cc1346dff312a8917c: {\n createdAt: 1741584470239,\n activityId: 'aad313a31ed1133d79ceb480215453cbc563362947d608cc1346dff312a8917c',\n data: {\n gameId: 'solitaire',\n loserNick: 'rgalexander216',\n loserScore: 3700,\n reward: '$2.00',\n type: 'WIN',\n winnerNick: 'godneverdie',\n winnerScore: 3720,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:28:00': {\n a04119cb7a930060faeda1ed25e28699cba5c08d8b11d98969f49af77399971d: {\n createdAt: 1741584516551,\n activityId: 'a04119cb7a930060faeda1ed25e28699cba5c08d8b11d98969f49af77399971d',\n data: {\n gameId: 'solitaire',\n loserNick: 'suckmydiesel',\n loserScore: 4995,\n reward: '$2.00',\n type: 'WIN',\n winnerNick: 'rgalexander216',\n winnerScore: 5360,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:32:00': {\n '7be4cef9e143805fb4ed478ef533d2b16d52a9a89481277886c5eb1166a629f0': {\n createdAt: 1741584753864,\n activityId: '7be4cef9e143805fb4ed478ef533d2b16d52a9a89481277886c5eb1166a629f0',\n data: {\n gameId: 'solitaire',\n loserNick: 'a muse',\n loserScore: 100,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'godneverdie',\n winnerScore: 225,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:36:00': {\n '14f758f69f2adde72a50f165cd14a4f0be5d7c138fa6de27604db2d9706f2615': {\n createdAt: 1741585008222,\n activityId: '14f758f69f2adde72a50f165cd14a4f0be5d7c138fa6de27604db2d9706f2615',\n data: {\n gameId: 'solitaire',\n loserNick: 'rgalexander216',\n loserScore: 2725,\n reward: '$2.00',\n type: 'WIN',\n winnerNick: 'littleminer',\n winnerScore: 4535,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:39:00': {\n e165103e3097e504677cdcc5b20ffccf5b9a83cca5161df7d3bc627c85858c37: {\n createdAt: 1741585160745,\n activityId: 'e165103e3097e504677cdcc5b20ffccf5b9a83cca5161df7d3bc627c85858c37',\n data: {\n gameId: 'solitaire',\n loserNick: 'player70664',\n loserScore: 90,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'godneverdie',\n winnerScore: 195,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:43:00': {\n '6a28fd2ae70dd5e5e3b45fa47d8790fad9ffd2425cc455ef0f365b0724326d7b': {\n createdAt: 1741585439579,\n activityId: '6a28fd2ae70dd5e5e3b45fa47d8790fad9ffd2425cc455ef0f365b0724326d7b',\n data: {\n gameId: 'solitaire',\n loserNick: 'godneverdie',\n loserScore: 3105,\n reward: '$2.00',\n type: 'WIN',\n winnerNick: 'rgalexander216',\n winnerScore: 4365,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:57:00': {\n '173f888c6919a7b84b53d9e28fbc4acf2b5f0d92c6681841fa4fb6a7f90fb349': {\n createdAt: 1741586256615,\n activityId: '173f888c6919a7b84b53d9e28fbc4acf2b5f0d92c6681841fa4fb6a7f90fb349',\n data: {\n nick: 'katsi',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:04:00': {\n '0ecac709fcc6bc8d402220b742e7dea85996577386dc265cf2362f3c6208696f': {\n createdAt: 1741586667620,\n activityId: '0ecac709fcc6bc8d402220b742e7dea85996577386dc265cf2362f3c6208696f',\n data: {\n gameId: 'solitaire',\n loserNick: 'jas0615',\n loserScore: 3245,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'SEKAI',\n winnerScore: 4115,\n },\n gameTag: 'solitaire',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T06:26:00': {\n e537de30f9251343d4122fe6941dd22d50c03c7ee7052adb6b90eb419c743d74: {\n createdAt: 1741587962631,\n activityId: 'e537de30f9251343d4122fe6941dd22d50c03c7ee7052adb6b90eb419c743d74',\n data: {\n nick: 'sauceboss',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n },\n },\n },\n};\n\nexport const ACTIVITY_FEED_BLACKJACK_MOCK = {\n status: 200,\n body: {\n msg: 'Activity feed',\n status: 200,\n data: {\n serverTime: 1741605503007,\n activities: {\n '2025-03-10T05:19:00': {\n '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6': {\n createdAt: 1741583964356,\n activityId: '1363b7516ed2ca2db7e284cc07a2833ea95f6110022adf71fef80573d345ede6',\n data: {\n nick: 'Pedro Arenas',\n type: 'NEW_PLAYER',\n },\n gameTag: '',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:23:00': {\n b75ffe7a5684d25c0e4244be7df7d98390f064e2778205c44dc096dd4aa0212a: {\n createdAt: 1741584189715,\n activityId: 'b75ffe7a5684d25c0e4244be7df7d98390f064e2778205c44dc096dd4aa0212a',\n data: {\n gameId: 'blackjack',\n loserNick: 'ewe',\n loserScore: 1202,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'bettorbrady',\n winnerScore: 14650,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:27:00': {\n a30032c4237d85d414da664d8ff2862494beff2b7761e1490e126cdd10e6bfc3: {\n createdAt: 1741584472568,\n activityId: 'a30032c4237d85d414da664d8ff2862494beff2b7761e1490e126cdd10e6bfc3',\n data: {\n gameId: 'blackjack',\n loserNick: 'bettorbrady',\n loserScore: 960,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'ewe',\n winnerScore: 964,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:30:00': {\n '185453c222f001142bd59de72314d5dfb4466a4c59b0174653018c7872464663': {\n createdAt: 1741584611810,\n activityId: '185453c222f001142bd59de72314d5dfb4466a4c59b0174653018c7872464663',\n data: {\n gameId: 'blackjack',\n loserNick: 'Jeremy Johnson',\n loserScore: 1000,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Clifford LaBelle',\n winnerScore: 1055,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:31:00': {\n '24d557d3f32bbeddeb592b29af48bf5cd516b7412c979d74d7a07cac63fd4b6c': {\n createdAt: 1741584709555,\n activityId: '24d557d3f32bbeddeb592b29af48bf5cd516b7412c979d74d7a07cac63fd4b6c',\n data: {\n gameId: 'blackjack',\n loserNick: 'ewe',\n loserScore: 933,\n reward: '$10.00',\n type: 'WIN',\n winnerNick: 'jdhooghe',\n winnerScore: 2500,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:32:00': {\n '2a2950f64f4028590d175b607e6457cd514f3a2e1d1cac2ad4f15b0f3aa954c5': {\n createdAt: 1741584720832,\n activityId: '2a2950f64f4028590d175b607e6457cd514f3a2e1d1cac2ad4f15b0f3aa954c5',\n data: {\n gameId: 'blackjack',\n loserNick: 'PrestonR13',\n loserScore: 150,\n reward: '$1.00',\n type: 'WIN',\n winnerNick: 'Nick Gordyn',\n winnerScore: 2320,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n '78cd373691dde5f39075cc94c5aab7cb0896d403b61de057da939b7ceb68db5e': {\n createdAt: 1741584768493,\n activityId: '78cd373691dde5f39075cc94c5aab7cb0896d403b61de057da939b7ceb68db5e',\n data: {\n gameId: 'blackjack',\n loserNick: 'bettorbrady',\n loserScore: 5,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'operator88',\n winnerScore: 1255,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:33:00': {\n f2d2056a220ef1ecb84a260d09f6fd61dde888463b31f46d3c45dc854048a44b: {\n createdAt: 1741584812221,\n activityId: 'f2d2056a220ef1ecb84a260d09f6fd61dde888463b31f46d3c45dc854048a44b',\n data: {\n gameId: 'blackjack',\n loserNick: 'Clifford LaBelle',\n loserScore: 540,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'James Winfield',\n winnerScore: 1330,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:34:00': {\n '7a18ab5a562f03b3859506425cdf70addc39e8ed61f3bdfb2a37d21290711513': {\n createdAt: 1741584882475,\n activityId: '7a18ab5a562f03b3859506425cdf70addc39e8ed61f3bdfb2a37d21290711513',\n data: {\n gameId: 'blackjack',\n loserNick: 'operator88',\n loserScore: 0,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'bettorbrady',\n winnerScore: 890,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n f12e4bd44b8105ac3731de42e9ffacaeb8cd7f37293d9111ee42f416d24d5ec9: {\n createdAt: 1741584853451,\n activityId: 'f12e4bd44b8105ac3731de42e9ffacaeb8cd7f37293d9111ee42f416d24d5ec9',\n data: {\n gameId: 'blackjack',\n loserNick: 'bettorbrady',\n loserScore: 0,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'operator88',\n winnerScore: 100,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:35:00': {\n '2ab7d2b4d7ead66d846cd21988a9a9d1f80fbc9fa4bb971fe1e269d93abae80e': {\n createdAt: 1741584913712,\n activityId: '2ab7d2b4d7ead66d846cd21988a9a9d1f80fbc9fa4bb971fe1e269d93abae80e',\n data: {\n gameId: 'blackjack',\n loserNick: 'jdhooghe',\n loserScore: 0,\n reward: '$10.00',\n type: 'WIN',\n winnerNick: 'operator88',\n winnerScore: 2000,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:36:00': {\n '5cfd2e76f3eb5e2ed84f1fe9df1adb471b7360d3d8bed4f3d38f2f475c6629f0': {\n createdAt: 1741584996501,\n activityId: '5cfd2e76f3eb5e2ed84f1fe9df1adb471b7360d3d8bed4f3d38f2f475c6629f0',\n data: {\n gameId: 'blackjack',\n loserNick: 'patrickcoyne83',\n loserScore: 1010,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'bettorbrady',\n winnerScore: 1900,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n '2025-03-10T05:37:00': {\n '76404a26755cf0c5c930c71b7858cd1bb9ceb5753206909d77bb111c3d69cade': {\n createdAt: 1741585071879,\n activityId: '76404a26755cf0c5c930c71b7858cd1bb9ceb5753206909d77bb111c3d69cade',\n data: {\n gameId: 'blackjack',\n loserNick: 'Nick Gordyn',\n loserScore: 0,\n reward: '$0.50',\n type: 'WIN',\n winnerNick: 'Clifford LaBelle',\n winnerScore: 570,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n e8c32a30a7833819ff4b28a6ef8849d65d2b86a34e39fe2c85f9855807becea8: {\n createdAt: 1741585062509,\n activityId: 'e8c32a30a7833819ff4b28a6ef8849d65d2b86a34e39fe2c85f9855807becea8',\n data: {\n gameId: 'blackjack',\n loserNick: 'bettorbrady',\n loserScore: 100,\n reward: '$50.00',\n type: 'WIN',\n winnerNick: 'operator88',\n winnerScore: 1540,\n },\n gameTag: 'blackjack',\n tags: ['thndr', 'betopenly', 'fakebet', 'speed', 'telegram', 'slice'],\n },\n },\n },\n },\n },\n};\n","export const LEADERBOARD_MOSTWINS_1DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741611608459,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 86,\n rank: 61,\n value: 1,\n },\n '1990c411-0090-4779-abe9-f76c9ef06943': {\n nick: 'Duncan Rushing',\n operatorId: 'speed',\n position: 76,\n rank: 61,\n value: 1,\n },\n '2UXKtKldCtUSajNQMrr0Em5hvfR2': {\n nick: 'Dat Nguyen',\n operatorId: 'THNDR',\n position: 39,\n rank: 39,\n value: 2,\n },\n '2b1c7f73-b210-47ef-8152-ac1810a8d490': {\n nick: 'Laura Hopstaken',\n operatorId: 'speed',\n position: 99,\n rank: 61,\n value: 1,\n },\n '2eb3ca69-4b96-4f6c-9b35-7657d263a419': {\n nick: 'p00kiebaby',\n operatorId: 'telegram',\n position: 85,\n rank: 61,\n value: 1,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 16,\n rank: 16,\n value: 7,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 26,\n rank: 25,\n value: 4,\n },\n '35044969-6f82-4ea6-8773-fbeee4c03544': {\n nick: 'Shahryar Eslami Moghaddam',\n operatorId: 'speed',\n position: 82,\n rank: 61,\n value: 1,\n },\n '42280e00-0e2d-41a9-aaac-05e9c0b84826': {\n nick: 'Passiveuro',\n operatorId: 'telegram',\n position: 59,\n rank: 39,\n value: 2,\n },\n '42f20c5c-c75a-4515-97c0-98ba62487d26': {\n nick: 'Tracey Morrison',\n operatorId: 'speed',\n position: 48,\n rank: 39,\n value: 2,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 13,\n rank: 12,\n value: 8,\n },\n '46PjSe8BRbUKqhUFefslwGWDTzI2': {\n nick: 'ChickieDee',\n operatorId: 'THNDR',\n position: 74,\n rank: 61,\n value: 1,\n },\n '471ed25d-5f49-43fa-8168-dc60aca5bb0a': {\n nick: 'Brokk Beam',\n operatorId: 'speed',\n position: 65,\n rank: 61,\n value: 1,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 23,\n rank: 21,\n value: 5,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 79,\n rank: 61,\n value: 1,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 33,\n rank: 33,\n value: 3,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 6,\n rank: 6,\n value: 16,\n },\n '5d54f9d2-e7d6-41f7-a60d-4469af688ef3': {\n nick: 'Samuel Yilak',\n operatorId: 'speed',\n position: 97,\n rank: 61,\n value: 1,\n },\n '5sFdUGZOOnZEDRkw2WXAeBXdsmF2': {\n nick: 'savinghumanity',\n operatorId: 'THNDR',\n position: 72,\n rank: 61,\n value: 1,\n },\n '699f6481-94c1-4a51-9680-c3b18abcac8c': {\n nick: 'Airavat01',\n operatorId: 'telegram',\n position: 83,\n rank: 61,\n value: 1,\n },\n '6f9538d7-19ff-427d-b910-070f347f5785': {\n nick: 'Paul Sedov',\n operatorId: 'speed',\n position: 54,\n rank: 39,\n value: 2,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 5,\n rank: 4,\n value: 17,\n },\n '754a6395-04f9-4d0d-a9fc-4cef356edae3': {\n nick: 'lukep2002',\n operatorId: 'betopenly',\n position: 36,\n rank: 33,\n value: 3,\n },\n '86c32412-7374-49d1-a9d7-0ecfb4630127': {\n nick: 'Dheyaisgavidia',\n operatorId: 'telegram',\n position: 24,\n rank: 21,\n value: 5,\n },\n '877628a5-7dae-445b-b698-567459c035a9': {\n nick: 'Kevin Zuhaus',\n operatorId: 'speed',\n position: 95,\n rank: 61,\n value: 1,\n },\n '892383d9-10e4-40bd-bdda-922b296f9bec': {\n nick: 'Kody Laurent',\n operatorId: 'speed',\n position: 20,\n rank: 18,\n value: 6,\n },\n '8Jdg8uC8SGP0T5divdQe1WxPobN2': {\n nick: 'sanyeo',\n operatorId: 'THNDR',\n position: 73,\n rank: 61,\n value: 1,\n },\n '8a70ecfe-7dd7-47c9-bc63-d9a38f3dc7ed': {\n nick: 'JeyG Gluch',\n operatorId: 'speed',\n position: 43,\n rank: 39,\n value: 2,\n },\n '980098ad-a54b-49d9-8717-13926a770425': {\n nick: 'William Hecimovich',\n operatorId: 'speed',\n position: 60,\n rank: 39,\n value: 2,\n },\n '9Y7FojpTt0XkYW1RoufrOvV2sgI2': {\n nick: 'quite ',\n operatorId: 'THNDR',\n position: 41,\n rank: 39,\n value: 2,\n },\n '9oPTDONwyvXcifEZO2BJG9rbZeP2': {\n nick: 'serberuz',\n operatorId: 'THNDR',\n position: 15,\n rank: 12,\n value: 8,\n },\n A8OIhvNl2eV87S7o8RmrOOr2eLl2: {\n nick: 'DabroX',\n operatorId: 'THNDR',\n position: 22,\n rank: 21,\n value: 5,\n },\n AR1fJqJZqLSHFt9UtBQELu9J2C42: {\n nick: 'GA99Y',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 9,\n },\n AS7GV1EVBDQayArH5bPzaAXfMSs1: {\n nick: 'larame413',\n operatorId: 'THNDR',\n position: 52,\n rank: 39,\n value: 2,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 30,\n rank: 25,\n value: 4,\n },\n BIMH6yaAn7NapBRCl03x7na5Ji73: {\n nick: 'random39',\n operatorId: 'THNDR',\n position: 84,\n rank: 61,\n value: 1,\n },\n BUPhdpHpquSC3I3EPnRiisQHAhh1: {\n nick: 'thomsolodev',\n operatorId: 'THNDR',\n position: 32,\n rank: 25,\n value: 4,\n },\n DqOwlFWF9pgD6V3Rf2iZH8SYhW02: {\n nick: 'boby',\n operatorId: 'THNDR',\n position: 89,\n rank: 61,\n value: 1,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 29,\n rank: 25,\n value: 4,\n },\n DuTSHjO8XrZBLxkoPt6v6x6Xp9n1: {\n nick: '1ll',\n operatorId: 'THNDR',\n position: 47,\n rank: 39,\n value: 2,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 10,\n rank: 10,\n value: 10,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 12,\n },\n Em3mJ9Y8ePdPLtQZnJ6prqAWxWf2: {\n nick: 'lala ',\n operatorId: 'THNDR',\n position: 40,\n rank: 39,\n value: 2,\n },\n J9krVBUj4zdkwNDqPWv913KMsFY2: {\n nick: 'jahdidit',\n operatorId: 'THNDR',\n position: 51,\n rank: 39,\n value: 2,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 55,\n rank: 39,\n value: 2,\n },\n MqL8KlOXGNajWFThPljAFpLiipX2: {\n nick: 'Running',\n operatorId: 'THNDR',\n position: 17,\n rank: 16,\n value: 7,\n },\n NVaHlioPCZM4HqkMbPIO9MufcGN2: {\n nick: 'jas0615',\n operatorId: 'THNDR',\n position: 81,\n rank: 61,\n value: 1,\n },\n PSc4nkg5E8MmM8lzeNKCgYV1bOY2: {\n nick: 'Vinybergamo',\n operatorId: 'THNDR',\n position: 93,\n rank: 61,\n value: 1,\n },\n Qlh5bdY7u6chZ8ttXuAqjUvaw323: {\n nick: 'SEKAI',\n operatorId: 'THNDR',\n position: 44,\n rank: 39,\n value: 2,\n },\n RwWxnCZrXVed2Unj4EbINAQ55TC3: {\n nick: 'uwildie2',\n operatorId: 'THNDR',\n position: 75,\n rank: 61,\n value: 1,\n },\n T3aOJwMSzjQsfDu0TzTLZFDfE6G2: {\n nick: 'Taetay420 ',\n operatorId: 'THNDR',\n position: 70,\n rank: 61,\n value: 1,\n },\n TjqSO6wWUPgRhAHkk6uKf0XC5ve2: {\n nick: 'gjoy ali',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 5,\n },\n UPAdHYrMNde83CQM1QbOPVo4i1o2: {\n nick: 'Bieganiec',\n operatorId: 'THNDR',\n position: 78,\n rank: 61,\n value: 1,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 50,\n rank: 39,\n value: 2,\n },\n VQCcQDtIKgTuJb8S0zBo7TARmxl2: {\n nick: 'kawaikea',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 8,\n },\n XVIggAUsLugui5MBMzna8bOmIqK2: {\n nick: 'MollyQue',\n operatorId: 'THNDR',\n position: 62,\n rank: 61,\n value: 1,\n },\n Y9WNeztb3UNdueuYgKSDObJftua2: {\n nick: 'moonp1e88 ',\n operatorId: 'THNDR',\n position: 66,\n rank: 61,\n value: 1,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 31,\n rank: 25,\n value: 4,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 42,\n rank: 39,\n value: 2,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 54,\n },\n 'a0dbf0bb-65bf-442a-81e4-f04d6de319e8': {\n nick: 'player42964',\n operatorId: 'telegram',\n position: 92,\n rank: 61,\n value: 1,\n },\n 'a9863cef-a685-42c3-872b-aea054ad02d8': {\n nick: 'Jsurkes',\n operatorId: 'telegram',\n position: 94,\n rank: 61,\n value: 1,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 28,\n rank: 25,\n value: 4,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 61,\n rank: 61,\n value: 1,\n },\n btN5UEmd1wVf9DSPFLF2GigzaP03: {\n nick: 'theMightynah',\n operatorId: 'THNDR',\n position: 19,\n rank: 18,\n value: 6,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 25,\n rank: 25,\n value: 4,\n },\n 'd3fad122-0682-41fd-8f55-0f5e6460bed5': {\n nick: 'OSWIL ADONIYAS SOTO REVOLORIO',\n operatorId: 'speed',\n position: 46,\n rank: 39,\n value: 2,\n },\n 'd70cd470-e589-4075-9a76-42e20da006cd': {\n nick: 'player92633',\n operatorId: 'telegram',\n position: 4,\n rank: 4,\n value: 17,\n },\n 'd8c132b6-b0dd-4b2c-a54b-d0b3bd214169': {\n nick: 'Luis Enrique Hernandez',\n operatorId: 'speed',\n position: 49,\n rank: 39,\n value: 2,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 34,\n rank: 33,\n value: 3,\n },\n 'def07f6c-e89b-4ccd-bb53-4b35f7945d1d': {\n nick: 'lulu74100',\n operatorId: 'telegram',\n position: 100,\n rank: 61,\n value: 1,\n },\n 'e46d0efc-bedb-41d7-ab9b-7bcc90c190e2': {\n nick: 'Redi 5A',\n operatorId: 'speed',\n position: 98,\n rank: 61,\n value: 1,\n },\n 'e800b00b-76d7-484c-8799-9aea34102c5b': {\n nick: 'Robert Titze',\n operatorId: 'speed',\n position: 90,\n rank: 61,\n value: 1,\n },\n eOAV5NVHQmVnL3Pl6fryQ7C3O0C3: {\n nick: 'jeaclaphi',\n operatorId: 'THNDR',\n position: 37,\n rank: 33,\n value: 3,\n },\n 'ebba3541-dddd-402c-a490-a187f976615f': {\n nick: 'Vincent Munoz',\n operatorId: 'speed',\n position: 91,\n rank: 61,\n value: 1,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 2,\n rank: 2,\n value: 33,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 88,\n rank: 61,\n value: 1,\n },\n 'f52402da-f5b0-41cc-bb18-1fb7d8164dbe': {\n nick: 'player66627',\n operatorId: 'telegram',\n position: 57,\n rank: 39,\n value: 2,\n },\n 'f5d3c9b7-0bd9-46ae-85a7-d362f5c9cd6e': {\n nick: 'Jessie Riddle',\n operatorId: 'speed',\n position: 69,\n rank: 61,\n value: 1,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 14,\n rank: 12,\n value: 8,\n },\n fXFhQ9zDqwZhaqoJTzYSWDoMjn52: {\n nick: 'player2568',\n operatorId: 'THNDR',\n position: 77,\n rank: 61,\n value: 1,\n },\n 'fbb1c655-9a77-4904-b8d5-1aa516a35127': {\n nick: 'Jeremy Johnson',\n operatorId: 'speed',\n position: 45,\n rank: 39,\n value: 2,\n },\n 'fe050371-7080-4d65-b911-1ea479d242ae': {\n nick: 'Chiman Jerome',\n operatorId: 'speed',\n position: 35,\n rank: 33,\n value: 3,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 27,\n rank: 25,\n value: 4,\n },\n ixSu7EbpUhbswPZZuRY8cTzoBwy2: {\n nick: 'mailla888',\n operatorId: 'THNDR',\n position: 38,\n rank: 33,\n value: 3,\n },\n m71e9TEHcQVI6gNtKnOA9V8uKCc2: {\n nick: 'Nat',\n operatorId: 'THNDR',\n position: 53,\n rank: 39,\n value: 2,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 6,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 56,\n rank: 39,\n value: 2,\n },\n p3ygX7hM2ySITzvqblh5aQv7lxz1: {\n nick: 'prettylady85 ',\n operatorId: 'THNDR',\n position: 71,\n rank: 61,\n value: 1,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 7,\n rank: 7,\n value: 15,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 64,\n rank: 61,\n value: 1,\n },\n qpgdvttycFQIv9fZJOIHGytNznO2: {\n nick: 'mwg',\n operatorId: 'THNDR',\n position: 58,\n rank: 39,\n value: 2,\n },\n r9pPvrYvbWZEo2ZFtXnmEEjyifN2: {\n nick: 'DeeRugs',\n operatorId: 'THNDR',\n position: 63,\n rank: 61,\n value: 1,\n },\n rzGu7cLdufZu7neHj72ioj4lqmt2: {\n nick: 'harlsbishhh96',\n operatorId: 'THNDR',\n position: 87,\n rank: 61,\n value: 1,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 19,\n },\n tR64VxeOkaPQpJTmzWFYWGWe35k2: {\n nick: 'Scammer',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 11,\n },\n vyjpq2S6S6YSRu5kaBl6OYR4ae42: {\n nick: 'CryptoMeow',\n operatorId: 'THNDR',\n position: 96,\n rank: 61,\n value: 1,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 67,\n rank: 61,\n value: 1,\n },\n x9VO8NZNT9QRnpxpKImdBk1gtVi1: {\n nick: 'Twiztidcrypto',\n operatorId: 'THNDR',\n position: 68,\n rank: 61,\n value: 1,\n },\n xzAT9NH68HPeTE1vmEjulAsl1X33: {\n nick: 'BlockRock',\n operatorId: 'THNDR',\n position: 80,\n rank: 61,\n value: 1,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTWINS_7DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 62,\n rank: 61,\n value: 10,\n },\n '0fc87d3c-b113-471d-b1b8-fcb8ffb0c147': {\n nick: 'player26129',\n operatorId: 'telegram',\n position: 86,\n rank: 75,\n value: 7,\n },\n '1ca18461-1a7f-4889-b084-57365f879290': {\n nick: 'Jayjay Garcia',\n operatorId: 'speed',\n position: 68,\n rank: 67,\n value: 9,\n },\n '1dacdc28-62c9-46e5-97bb-a8695195f333': {\n nick: 'Pedro Oliveira',\n operatorId: 'speed',\n position: 26,\n rank: 23,\n value: 25,\n },\n '21902c78-d99e-45e7-b050-f1ac3e37807b': {\n nick: 'Flemmon Cochran',\n operatorId: 'speed',\n position: 59,\n rank: 56,\n value: 11,\n },\n '295k0YwRKFSfT9V2RYC3S10FgCk2': {\n nick: 'Ziggy9044',\n operatorId: 'THNDR',\n position: 43,\n rank: 42,\n value: 14,\n },\n '2OG2GPZLspQajQxzIcBsTvVy6XH2': {\n nick: 'Rai',\n operatorId: 'THNDR',\n position: 66,\n rank: 61,\n value: 10,\n },\n '2UXKtKldCtUSajNQMrr0Em5hvfR2': {\n nick: 'Dat Nguyen',\n operatorId: 'THNDR',\n position: 75,\n rank: 75,\n value: 7,\n },\n '2defb36e-e698-4679-800b-be052c7e174a': {\n nick: 'Erin Hagg',\n operatorId: 'speed',\n position: 93,\n rank: 87,\n value: 6,\n },\n '2f695159-4099-4b89-b38e-1468dd7cfc95': {\n nick: 'jbrug420',\n operatorId: 'betopenly',\n position: 52,\n rank: 46,\n value: 12,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 13,\n rank: 13,\n value: 37,\n },\n '2qsJppEJzRdvljATq5tYTtdAeyF3': {\n nick: 'AngryKat1 ',\n operatorId: 'THNDR',\n position: 58,\n rank: 56,\n value: 11,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 7,\n rank: 7,\n value: 47,\n },\n '3bnFOv8BG2cN2nNZMEl3oy5ebMz2': {\n nick: 'MGBE',\n operatorId: 'THNDR',\n position: 94,\n rank: 87,\n value: 6,\n },\n '3ea87329-d5f2-41aa-b593-8246480cebe4': {\n nick: 'player59273',\n operatorId: 'telegram',\n position: 80,\n rank: 75,\n value: 7,\n },\n '42280e00-0e2d-41a9-aaac-05e9c0b84826': {\n nick: 'Passiveuro',\n operatorId: 'telegram',\n position: 89,\n rank: 87,\n value: 6,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 8,\n rank: 7,\n value: 47,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 29,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 20,\n rank: 19,\n value: 30,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 23,\n rank: 23,\n value: 25,\n },\n '6Fm0l4fZNiY7nFsqEOnmWdOWvEk1': {\n nick: 'kekiel0021300',\n operatorId: 'THNDR',\n position: 55,\n rank: 46,\n value: 12,\n },\n '6tBeqBz9iNS6I5MIGK6arVhuLOX2': {\n nick: 'We444072889',\n operatorId: 'THNDR',\n position: 77,\n rank: 75,\n value: 7,\n },\n '70027afc-c3fa-4933-b810-fe0b2167a24a': {\n nick: 'Lucas Henssler',\n operatorId: 'speed',\n position: 97,\n rank: 87,\n value: 6,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 5,\n rank: 5,\n value: 70,\n },\n '754a6395-04f9-4d0d-a9fc-4cef356edae3': {\n nick: 'lukep2002',\n operatorId: 'betopenly',\n position: 38,\n rank: 38,\n value: 17,\n },\n '791ac21c-bc5b-4f2a-9e44-11dd2b672bac': {\n nick: 'Roneil Cayetano',\n operatorId: 'speed',\n position: 78,\n rank: 75,\n value: 7,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 12,\n rank: 11,\n value: 39,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 84,\n rank: 75,\n value: 7,\n },\n '86c32412-7374-49d1-a9d7-0ecfb4630127': {\n nick: 'Dheyaisgavidia',\n operatorId: 'telegram',\n position: 88,\n rank: 87,\n value: 6,\n },\n '877628a5-7dae-445b-b698-567459c035a9': {\n nick: 'Kevin Zuhaus',\n operatorId: 'speed',\n position: 72,\n rank: 69,\n value: 8,\n },\n '892383d9-10e4-40bd-bdda-922b296f9bec': {\n nick: 'Kody Laurent',\n operatorId: 'speed',\n position: 91,\n rank: 87,\n value: 6,\n },\n '9Y7FojpTt0XkYW1RoufrOvV2sgI2': {\n nick: 'quite ',\n operatorId: 'THNDR',\n position: 99,\n rank: 99,\n value: 5,\n },\n '9d9d67d7-88c0-4c96-b5d3-03d0d7cea8a8': {\n nick: 'Farshad Hajinejad',\n operatorId: 'speed',\n position: 31,\n rank: 29,\n value: 22,\n },\n '9oPTDONwyvXcifEZO2BJG9rbZeP2': {\n nick: 'serberuz',\n operatorId: 'THNDR',\n position: 71,\n rank: 69,\n value: 8,\n },\n A8OIhvNl2eV87S7o8RmrOOr2eLl2: {\n nick: 'DabroX',\n operatorId: 'THNDR',\n position: 22,\n rank: 22,\n value: 26,\n },\n AR1fJqJZqLSHFt9UtBQELu9J2C42: {\n nick: 'GA99Y',\n operatorId: 'THNDR',\n position: 47,\n rank: 46,\n value: 12,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 35,\n rank: 35,\n value: 20,\n },\n BIMH6yaAn7NapBRCl03x7na5Ji73: {\n nick: 'random39',\n operatorId: 'THNDR',\n position: 70,\n rank: 69,\n value: 8,\n },\n BXVUCyEqCpXrcUki8yfi54KGnsK2: {\n nick: 'ryguy',\n operatorId: 'THNDR',\n position: 53,\n rank: 46,\n value: 12,\n },\n D6ZUd5lTRoMmsFEYJLaEwQuEvlN2: {\n nick: 'Mafan1982',\n operatorId: 'THNDR',\n position: 98,\n rank: 87,\n value: 6,\n },\n DDvKjZX7HJcwzoE5pg3NfjAERIv1: {\n nick: 'PrestonsGirl ',\n operatorId: 'THNDR',\n position: 41,\n rank: 41,\n value: 16,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 63,\n rank: 61,\n value: 10,\n },\n E8xWOaODAmdoTjE9ybmBf7KRqYF3: {\n nick: 'Ondracoin33 ',\n operatorId: 'THNDR',\n position: 44,\n rank: 42,\n value: 14,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 46,\n },\n EVyM1oeCRCVVbO9OqPAedE52Mck2: {\n nick: 'puerto',\n operatorId: 'THNDR',\n position: 82,\n rank: 75,\n value: 7,\n },\n Eb1dnspHYUSrNEB2ZzLXrE0cDGk2: {\n nick: 'Dik',\n operatorId: 'THNDR',\n position: 64,\n rank: 61,\n value: 10,\n },\n HH3QVer20pSQ3u6YN3ikWipDi2N2: {\n nick: 'yukselcet',\n operatorId: 'THNDR',\n position: 79,\n rank: 75,\n value: 7,\n },\n HSvrg5cGIjRayV4leACZIuI0mVx1: {\n nick: 'Roseline292',\n operatorId: 'THNDR',\n position: 33,\n rank: 33,\n value: 21,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 24,\n rank: 23,\n value: 25,\n },\n KiOEvN2HmFSmybQ4ZN9c3FeJwNN2: {\n nick: 'baes',\n operatorId: 'THNDR',\n position: 85,\n rank: 75,\n value: 7,\n },\n LhoQSyiO1ZPeJrQSgHMXxDhOshw1: {\n nick: 'Louie22',\n operatorId: 'THNDR',\n position: 32,\n rank: 29,\n value: 22,\n },\n MqL8KlOXGNajWFThPljAFpLiipX2: {\n nick: 'Running',\n operatorId: 'THNDR',\n position: 76,\n rank: 75,\n value: 7,\n },\n PSc4nkg5E8MmM8lzeNKCgYV1bOY2: {\n nick: 'Vinybergamo',\n operatorId: 'THNDR',\n position: 90,\n rank: 87,\n value: 6,\n },\n S1CP9f9tTHYHiFysaphIIetuzHW2: {\n nick: 'ogsythses',\n operatorId: 'THNDR',\n position: 25,\n rank: 23,\n value: 25,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 37,\n rank: 37,\n value: 18,\n },\n TUiqA4Q6EaTCwRVJuYCzUDgvLSC3: {\n nick: 'Xtypicalboy',\n operatorId: 'THNDR',\n position: 28,\n rank: 28,\n value: 23,\n },\n Tca2vWT3mqUKzfPjSCh3KkRgwf83: {\n nick: 'ashelk12',\n operatorId: 'THNDR',\n position: 49,\n rank: 46,\n value: 12,\n },\n TjqSO6wWUPgRhAHkk6uKf0XC5ve2: {\n nick: 'gjoy ali',\n operatorId: 'THNDR',\n position: 100,\n rank: 99,\n value: 5,\n },\n UPAdHYrMNde83CQM1QbOPVo4i1o2: {\n nick: 'Bieganiec',\n operatorId: 'THNDR',\n position: 69,\n rank: 69,\n value: 8,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 16,\n rank: 16,\n value: 34,\n },\n VQCcQDtIKgTuJb8S0zBo7TARmxl2: {\n nick: 'kawaikea',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 19,\n },\n Yvi8ALOpPrWW86pg85iX6O7xd493: {\n nick: 'peterson3223',\n operatorId: 'THNDR',\n position: 95,\n rank: 87,\n value: 6,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 30,\n rank: 29,\n value: 22,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 46,\n rank: 46,\n value: 12,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 138,\n },\n 'a1bafd95-f9c1-48e3-b2d0-1bd807764685': {\n nick: 'ali marada',\n operatorId: 'speed',\n position: 60,\n rank: 56,\n value: 11,\n },\n 'a229f554-3d73-4e46-84ba-94d9560b53d2': {\n nick: 'Scott Rhoten',\n operatorId: 'speed',\n position: 83,\n rank: 75,\n value: 7,\n },\n 'a9863cef-a685-42c3-872b-aea054ad02d8': {\n nick: 'Jsurkes',\n operatorId: 'telegram',\n position: 39,\n rank: 38,\n value: 17,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 57,\n rank: 56,\n value: 11,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 45,\n rank: 45,\n value: 13,\n },\n btN5UEmd1wVf9DSPFLF2GigzaP03: {\n nick: 'theMightynah',\n operatorId: 'THNDR',\n position: 87,\n rank: 87,\n value: 6,\n },\n 'c3336823-eef0-4454-ac85-f25b9217e099': {\n nick: 'player84696',\n operatorId: 'telegram',\n position: 96,\n rank: 87,\n value: 6,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 42,\n rank: 42,\n value: 14,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 34,\n rank: 33,\n value: 21,\n },\n 'd70cd470-e589-4075-9a76-42e20da006cd': {\n nick: 'player99966',\n operatorId: 'telegram',\n position: 10,\n rank: 10,\n value: 42,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 61,\n rank: 61,\n value: 10,\n },\n dhRg94DlEdRvFHiXuNTNNeHVDBV2: {\n nick: 'PainKiller',\n operatorId: 'THNDR',\n position: 67,\n rank: 67,\n value: 9,\n },\n 'e8fc3e24-5a86-407e-890c-95ff3009b2ee': {\n nick: 'Omid ariya',\n operatorId: 'speed',\n position: 54,\n rank: 46,\n value: 12,\n },\n 'e958b29d-7cae-4ef2-b360-f5e52f131caa': {\n nick: 'Akos Pinter',\n operatorId: 'speed',\n position: 51,\n rank: 46,\n value: 12,\n },\n eOAV5NVHQmVnL3Pl6fryQ7C3O0C3: {\n nick: 'jeaclaphi',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 31,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 2,\n rank: 2,\n value: 108,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 6,\n rank: 6,\n value: 55,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 56,\n rank: 56,\n value: 11,\n },\n 'f8d8cab0-22c1-41aa-aad4-50e3fe759d9f': {\n nick: 'Katia Ticuta',\n operatorId: 'speed',\n position: 81,\n rank: 75,\n value: 7,\n },\n 'fcc82108-0f0f-4983-83e9-eda9470abc46': {\n nick: 'James Stavros II',\n operatorId: 'speed',\n position: 74,\n rank: 69,\n value: 8,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 15,\n rank: 14,\n value: 36,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 39,\n },\n mnC7qAmth4PsCcsyfqlXCiADlhr1: {\n nick: 'Elu4454',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 36,\n },\n nP60EyRrzqey5mKWNVujhd7WvP72: {\n nick: 'arvo75 ',\n operatorId: 'THNDR',\n position: 73,\n rank: 69,\n value: 8,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 22,\n },\n pFHblNG3yyPrtOCq4Zwb4CYvFdB3: {\n nick: 'amaleshko',\n operatorId: 'THNDR',\n position: 48,\n rank: 46,\n value: 12,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 4,\n rank: 4,\n value: 73,\n },\n pmHdAvn3G0Q9ZmazYNvuGxDFBEA2: {\n nick: 'nacho',\n operatorId: 'THNDR',\n position: 92,\n rank: 87,\n value: 6,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 32,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 100,\n },\n skgHapOl78YI5kbUTU4hnfZZeCt1: {\n nick: 'ustn26',\n operatorId: 'THNDR',\n position: 65,\n rank: 61,\n value: 10,\n },\n tR64VxeOkaPQpJTmzWFYWGWe35k2: {\n nick: 'Scammer',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 30,\n },\n vbeiYxytClOFdnTKBK28l05yP7F3: {\n nick: 'Katie',\n operatorId: 'THNDR',\n position: 40,\n rank: 38,\n value: 17,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 50,\n rank: 46,\n value: 12,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 27,\n rank: 27,\n value: 24,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTWINS_30DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 2,\n rank: 2,\n value: 296,\n },\n '124be09a-fff4-4374-ae3e-8dc032702697': {\n nick: 'kostya nnn',\n operatorId: 'speed',\n position: 53,\n rank: 52,\n value: 53,\n },\n '1ca18461-1a7f-4889-b084-57365f879290': {\n nick: 'Jayjay Garcia',\n operatorId: 'speed',\n position: 39,\n rank: 38,\n value: 64,\n },\n '1d9f64b7-eeaa-4d25-9335-bb701bebfe70': {\n nick: 'conch',\n operatorId: 'betopenly',\n position: 56,\n rank: 55,\n value: 50,\n },\n '1dacdc28-62c9-46e5-97bb-a8695195f333': {\n nick: 'Pedro Oliveira',\n operatorId: 'speed',\n position: 52,\n rank: 52,\n value: 53,\n },\n '21902c78-d99e-45e7-b050-f1ac3e37807b': {\n nick: 'Flemmon Cochran',\n operatorId: 'speed',\n position: 15,\n rank: 15,\n value: 119,\n },\n '225f86af-d71b-467d-bff4-44b9fff35204': {\n nick: 'Logan Elberson',\n operatorId: 'speed',\n position: 71,\n rank: 70,\n value: 40,\n },\n '295k0YwRKFSfT9V2RYC3S10FgCk2': {\n nick: 'Ziggy9044',\n operatorId: 'THNDR',\n position: 97,\n rank: 96,\n value: 29,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 38,\n rank: 38,\n value: 64,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 7,\n rank: 7,\n value: 219,\n },\n '3cd545b4-5cef-4030-b598-ac9650f3032a': {\n nick: 'Gavin Livesey',\n operatorId: 'speed',\n position: 45,\n rank: 45,\n value: 56,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 5,\n rank: 5,\n value: 225,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 35,\n rank: 34,\n value: 68,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 90,\n rank: 89,\n value: 30,\n },\n '58f0cdf9-62a5-4516-b147-562ebd9e6925': {\n nick: 'wolfpack_trivia',\n operatorId: 'telegram',\n position: 79,\n rank: 78,\n value: 34,\n },\n '5Mzv0biDtURWH4EydiX8gIHpxWC3': {\n nick: 'RcEverSauce',\n operatorId: 'THNDR',\n position: 37,\n rank: 37,\n value: 65,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 69,\n rank: 69,\n value: 41,\n },\n '5dd4ad6c-98f0-413e-87ec-762f7b954957': {\n nick: 'Donnell Schneider',\n operatorId: 'speed',\n position: 100,\n rank: 96,\n value: 29,\n },\n '5fc5b679-0c9e-42da-ab0e-70a94e17e3e3': {\n nick: 'Luis Espinoza',\n operatorId: 'speed',\n position: 46,\n rank: 45,\n value: 56,\n },\n '5jNmL86kHiNoVmH8V2a0CSj44Ys2': {\n nick: 'luzpurazo02',\n operatorId: 'THNDR',\n position: 28,\n rank: 28,\n value: 76,\n },\n '661edc86-6229-44dd-87b3-0d072132cd98': {\n nick: 'Kevin Cesar',\n operatorId: 'speed',\n position: 80,\n rank: 78,\n value: 34,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 4,\n rank: 4,\n value: 271,\n },\n '7SxpldVWl9Yd0cmtMqOopOzaplD2': {\n nick: 'Jefe',\n operatorId: 'THNDR',\n position: 57,\n rank: 57,\n value: 48,\n },\n '7c9c87b4-b522-4689-8af2-9b889bb31bc3': {\n nick: 'mattford',\n operatorId: 'betopenly',\n position: 26,\n rank: 26,\n value: 84,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 32,\n rank: 32,\n value: 70,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 30,\n rank: 30,\n value: 74,\n },\n '86c32412-7374-49d1-a9d7-0ecfb4630127': {\n nick: 'Dheyaisgavidia',\n operatorId: 'telegram',\n position: 42,\n rank: 42,\n value: 61,\n },\n '898396f6-c68d-4e22-8ab2-51a73b9c151e': {\n nick: 'Ashleydamaniac Ashleydamaniac',\n operatorId: 'speed',\n position: 99,\n rank: 96,\n value: 29,\n },\n '8NkSyaqCHFbnrHdqu2hTdbAvIdp1': {\n nick: 'mamba mentality',\n operatorId: 'THNDR',\n position: 74,\n rank: 74,\n value: 39,\n },\n '9d9d67d7-88c0-4c96-b5d3-03d0d7cea8a8': {\n nick: 'Farshad Hajinejad',\n operatorId: 'speed',\n position: 33,\n rank: 33,\n value: 69,\n },\n A8OIhvNl2eV87S7o8RmrOOr2eLl2: {\n nick: 'DabroX',\n operatorId: 'THNDR',\n position: 96,\n rank: 96,\n value: 29,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 91,\n rank: 89,\n value: 30,\n },\n D6ZUd5lTRoMmsFEYJLaEwQuEvlN2: {\n nick: 'Mafan1982',\n operatorId: 'THNDR',\n position: 93,\n rank: 89,\n value: 30,\n },\n DDvKjZX7HJcwzoE5pg3NfjAERIv1: {\n nick: 'PrestonsGirl ',\n operatorId: 'THNDR',\n position: 49,\n rank: 47,\n value: 55,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 122,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 65,\n rank: 64,\n value: 44,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 117,\n },\n EVyM1oeCRCVVbO9OqPAedE52Mck2: {\n nick: 'puerto',\n operatorId: 'THNDR',\n position: 13,\n rank: 13,\n value: 127,\n },\n Eb1dnspHYUSrNEB2ZzLXrE0cDGk2: {\n nick: 'Dik',\n operatorId: 'THNDR',\n position: 62,\n rank: 61,\n value: 45,\n },\n ExEDXBkkpOMHLz2F1KVehXnWPQk2: {\n nick: 'ela7373',\n operatorId: 'THNDR',\n position: 83,\n rank: 81,\n value: 33,\n },\n Fj0SHclZIDapRYmq9FXThI9z6B73: {\n nick: 'Tecky42',\n operatorId: 'THNDR',\n position: 60,\n rank: 60,\n value: 46,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 10,\n rank: 10,\n value: 190,\n },\n KCby6YRbgJZ6xV7XFWd6ltx3Ppf2: {\n nick: 'bagkoyy',\n operatorId: 'THNDR',\n position: 36,\n rank: 34,\n value: 68,\n },\n KiOEvN2HmFSmybQ4ZN9c3FeJwNN2: {\n nick: 'baes',\n operatorId: 'THNDR',\n position: 98,\n rank: 96,\n value: 29,\n },\n LhoQSyiO1ZPeJrQSgHMXxDhOshw1: {\n nick: 'Louie22',\n operatorId: 'THNDR',\n position: 24,\n rank: 24,\n value: 91,\n },\n MqL8KlOXGNajWFThPljAFpLiipX2: {\n nick: 'Running',\n operatorId: 'THNDR',\n position: 87,\n rank: 87,\n value: 31,\n },\n NHezp26RNOdWX1KZMgpCyzw57Mn1: {\n nick: 'ProfessorSyma',\n operatorId: 'THNDR',\n position: 59,\n rank: 57,\n value: 48,\n },\n OBvLyuG4l3ecP4zQaah1naAnNpy1: {\n nick: 'WhiteGangsta',\n operatorId: 'THNDR',\n position: 76,\n rank: 76,\n value: 36,\n },\n QOiTTYATaXShTSMQOt8MCcclV5n2: {\n nick: 'BadRabbit83',\n operatorId: 'THNDR',\n position: 95,\n rank: 89,\n value: 30,\n },\n Qtpru0X7cITeeccjSGVlZlZhASR2: {\n nick: 'sharlie98',\n operatorId: 'THNDR',\n position: 82,\n rank: 81,\n value: 33,\n },\n RBqDRktOYRaONpnrdbA3kgoZG1w2: {\n nick: 'bigchungus',\n operatorId: 'THNDR',\n position: 25,\n rank: 25,\n value: 86,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 50,\n rank: 50,\n value: 54,\n },\n T9oKlTDPOQVuVrsfy70Je17RPci2: {\n nick: 'roxie',\n operatorId: 'THNDR',\n position: 85,\n rank: 84,\n value: 32,\n },\n TUiqA4Q6EaTCwRVJuYCzUDgvLSC3: {\n nick: 'Xtypicalboy',\n operatorId: 'THNDR',\n position: 67,\n rank: 64,\n value: 44,\n },\n TjqSO6wWUPgRhAHkk6uKf0XC5ve2: {\n nick: 'gjoy ali',\n operatorId: 'THNDR',\n position: 81,\n rank: 81,\n value: 33,\n },\n UPAdHYrMNde83CQM1QbOPVo4i1o2: {\n nick: 'Bieganiec',\n operatorId: 'THNDR',\n position: 78,\n rank: 78,\n value: 34,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 113,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 40,\n rank: 40,\n value: 63,\n },\n ZMTLpjA302MAfCMB2ZUdHuvAlBp2: {\n nick: 'spideman',\n operatorId: 'THNDR',\n position: 48,\n rank: 47,\n value: 55,\n },\n ZP1PfEawyDcVCtIwqCFuGuFmP1U2: {\n nick: 'la mera verga',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 107,\n },\n ZW6WFa6spcacIjZDIrNyCXkICx12: {\n nick: 'shabnam ',\n operatorId: 'THNDR',\n position: 77,\n rank: 77,\n value: 35,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 41,\n rank: 41,\n value: 62,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 323,\n },\n a4y5fBgpd1RK83yF9Nh2C1IBv4i2: {\n nick: 'prabinchd',\n operatorId: 'THNDR',\n position: 88,\n rank: 87,\n value: 31,\n },\n 'a9863cef-a685-42c3-872b-aea054ad02d8': {\n nick: 'Jsurkes',\n operatorId: 'telegram',\n position: 61,\n rank: 61,\n value: 45,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 84,\n rank: 84,\n value: 32,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 43,\n rank: 43,\n value: 59,\n },\n b02uR9KB8tYrSNLLLFDV7MV2vWL2: {\n nick: 'afshin',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 139,\n },\n 'bba0b072-830d-4976-870b-6db6da04b19e': {\n nick: 'Shawn Dunlap',\n operatorId: 'speed',\n position: 94,\n rank: 89,\n value: 30,\n },\n 'c8e102a7-3b11-4749-a03f-f722828e27f5': {\n nick: 'Daniarmando',\n operatorId: 'telegram',\n position: 23,\n rank: 23,\n value: 94,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 20,\n rank: 20,\n value: 106,\n },\n 'ceca90a3-6ac2-476b-b5f5-8aadf250a220': {\n nick: 'ferrari16',\n operatorId: 'betopenly',\n position: 44,\n rank: 44,\n value: 58,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 75,\n },\n cphOez7gHeUlEKuROglUHJOqy8m2: {\n nick: 'Eve369',\n operatorId: 'THNDR',\n position: 63,\n rank: 61,\n value: 45,\n },\n 'd70cd470-e589-4075-9a76-42e20da006cd': {\n nick: 'player99966',\n operatorId: 'telegram',\n position: 64,\n rank: 64,\n value: 44,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 70,\n rank: 70,\n value: 40,\n },\n 'e2746fef-0396-40e3-93e6-63f22f37d3fe': {\n nick: 'player67918',\n operatorId: 'telegram',\n position: 92,\n rank: 89,\n value: 30,\n },\n 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a': {\n nick: 'justint24',\n operatorId: 'betopenly',\n position: 72,\n rank: 70,\n value: 40,\n },\n eOAV5NVHQmVnL3Pl6fryQ7C3O0C3: {\n nick: 'jeaclaphi',\n operatorId: 'THNDR',\n position: 66,\n rank: 64,\n value: 44,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 8,\n rank: 8,\n value: 209,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 47,\n rank: 47,\n value: 55,\n },\n 'faf8c5db-ed3e-43b5-8ef1-e094d67f585b': {\n nick: 'Jason Broderick',\n operatorId: 'speed',\n position: 16,\n rank: 16,\n value: 118,\n },\n 'fb064219-c0d4-4ae5-9734-c9193a1b3eef': {\n nick: 'player36996',\n operatorId: 'telegram',\n position: 58,\n rank: 57,\n value: 48,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 31,\n rank: 31,\n value: 71,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 200,\n },\n hbtZNCdpAUT1e5vvhVAVpTvdKtx2: {\n nick: 'KassieTheMando',\n operatorId: 'THNDR',\n position: 75,\n rank: 75,\n value: 38,\n },\n iSktZeq7olZipQvAsBwPQ0kVQCk1: {\n nick: 'kball',\n operatorId: 'THNDR',\n position: 73,\n rank: 70,\n value: 40,\n },\n j1Z1WPziqYXZmsCqL8RrS2C4ED32: {\n nick: 'COFFI',\n operatorId: 'THNDR',\n position: 68,\n rank: 68,\n value: 43,\n },\n lTFxkD8kb4cU31Xucj8e7FIYfAk2: {\n nick: 'lulo',\n operatorId: 'THNDR',\n position: 51,\n rank: 50,\n value: 54,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 153,\n },\n mnC7qAmth4PsCcsyfqlXCiADlhr1: {\n nick: 'Elu4454',\n operatorId: 'THNDR',\n position: 55,\n rank: 55,\n value: 50,\n },\n nuAygUHipvZoxHisDuv4GCk2mHe2: {\n nick: 'diyann',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 104,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 6,\n rank: 6,\n value: 223,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 34,\n rank: 34,\n value: 68,\n },\n qRmDm0SvbuYwfg7o9OCGNP8oCkJ2: {\n nick: 'Lixeeer',\n operatorId: 'THNDR',\n position: 86,\n rank: 84,\n value: 32,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 292,\n },\n tR64VxeOkaPQpJTmzWFYWGWe35k2: {\n nick: 'Scammer',\n operatorId: 'THNDR',\n position: 89,\n rank: 89,\n value: 30,\n },\n vbeiYxytClOFdnTKBK28l05yP7F3: {\n nick: 'Katie',\n operatorId: 'THNDR',\n position: 54,\n rank: 54,\n value: 51,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 22,\n rank: 22,\n value: 101,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 27,\n rank: 27,\n value: 83,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTWINS_ALLTIME = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 40,\n rank: 40,\n value: 318,\n },\n '1RZxIeoT5aOdCMyXEL1s6BrwQ2W2': {\n nick: 'skeelodripp',\n operatorId: 'THNDR',\n position: 91,\n rank: 91,\n value: 169,\n },\n '1d9f64b7-eeaa-4d25-9335-bb701bebfe70': {\n nick: 'conch',\n operatorId: 'betopenly',\n position: 39,\n rank: 39,\n value: 321,\n },\n '1f73e8e2-6a83-48ac-9698-1efe066c7311': {\n nick: 'ypalermo',\n operatorId: 'betopenly',\n position: 50,\n rank: 50,\n value: 272,\n },\n '22dbe726-a700-4dc2-8e81-9456f822ff4a': {\n nick: 'paulelias',\n operatorId: 'betopenly',\n position: 16,\n rank: 16,\n value: 738,\n },\n '2bigJaMNqcUKEZdjTpiIRQSyvjE3': {\n nick: 'rafaelpac',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 940,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 15,\n rank: 15,\n value: 781,\n },\n '3390a43f-c304-40d8-b38f-4d53321a3848': {\n nick: 'Crypto Keeper',\n operatorId: 'speed',\n position: 72,\n rank: 70,\n value: 201,\n },\n '44oOsdt9pCNXdfCjRK349seqID42': {\n nick: 'Franklin Saint',\n operatorId: 'THNDR',\n position: 67,\n rank: 66,\n value: 209,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 22,\n rank: 22,\n value: 477,\n },\n '4DVMucyDaTWO8ERtpEoatTqEBr52': {\n nick: 'D0G3',\n operatorId: 'THNDR',\n position: 35,\n rank: 35,\n value: 352,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 81,\n rank: 81,\n value: 182,\n },\n '58f0cdf9-62a5-4516-b147-562ebd9e6925': {\n nick: 'wolfpack_trivia',\n operatorId: 'telegram',\n position: 70,\n rank: 70,\n value: 201,\n },\n '5Mzv0biDtURWH4EydiX8gIHpxWC3': {\n nick: 'RcEverSauce',\n operatorId: 'THNDR',\n position: 63,\n rank: 63,\n value: 216,\n },\n '5dd4ad6c-98f0-413e-87ec-762f7b954957': {\n nick: 'Donnell Schneider',\n operatorId: 'speed',\n position: 86,\n rank: 86,\n value: 176,\n },\n '5jNmL86kHiNoVmH8V2a0CSj44Ys2': {\n nick: 'luzpurazo02',\n operatorId: 'THNDR',\n position: 4,\n rank: 4,\n value: 1157,\n },\n '661edc86-6229-44dd-87b3-0d072132cd98': {\n nick: 'Kevin Cesar',\n operatorId: 'speed',\n position: 94,\n rank: 94,\n value: 166,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 10,\n rank: 10,\n value: 1060,\n },\n '7c9c87b4-b522-4689-8af2-9b889bb31bc3': {\n nick: 'mattford',\n operatorId: 'betopenly',\n position: 23,\n rank: 23,\n value: 466,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 69,\n rank: 69,\n value: 206,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 82,\n rank: 81,\n value: 182,\n },\n '7tfVggLBeTgKDQ0nLdAxwxEGrWn1': {\n nick: 'Shutupandtakemymoney',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 2569,\n },\n '9aOtaNYDdUXyLF9penLFfF2LASv1': {\n nick: 'choppedliver',\n operatorId: 'THNDR',\n position: 65,\n rank: 65,\n value: 210,\n },\n '9w2z8liWEhOYZeVNiHrFIg54z0z1': {\n nick: 'colinmwest16',\n operatorId: 'THNDR',\n position: 77,\n rank: 76,\n value: 193,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 49,\n rank: 49,\n value: 273,\n },\n BDj1hHMAFVXMIvbpp8AmMKTfI4x1: {\n nick: 'JankBella',\n operatorId: 'THNDR',\n position: 89,\n rank: 89,\n value: 171,\n },\n BMglpUv6WmhL4ul8NRRTqOfZb9v1: {\n nick: 'xaero10',\n operatorId: 'THNDR',\n position: 85,\n rank: 84,\n value: 181,\n },\n BOtfcwSyNZWtBLDnk4xPYb2uqWT2: {\n nick: 'jeepgirl15',\n operatorId: 'THNDR',\n position: 92,\n rank: 91,\n value: 169,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 7,\n rank: 7,\n value: 1105,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 1004,\n },\n FDVuzw15HmYz5GyLVHy1JuMlGT33: {\n nick: 'Connor',\n operatorId: 'THNDR',\n position: 55,\n rank: 54,\n value: 261,\n },\n Fj0SHclZIDapRYmq9FXThI9z6B73: {\n nick: 'Tecky42',\n operatorId: 'THNDR',\n position: 26,\n rank: 26,\n value: 451,\n },\n GCuLSzNyeIMdtFwffzpCoCDRVPv1: {\n nick: 'harro',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 649,\n },\n HN4cjQOv0vSDMhmVEo2glGZFx9q1: {\n nick: 'nido76',\n operatorId: 'THNDR',\n position: 90,\n rank: 90,\n value: 170,\n },\n HSvrg5cGIjRayV4leACZIuI0mVx1: {\n nick: 'Roseline292',\n operatorId: 'THNDR',\n position: 95,\n rank: 95,\n value: 164,\n },\n IcvXSN5IGhMuc8Bjr15wTMUyRbj2: {\n nick: 'Bellesbeastzbdgg',\n operatorId: 'THNDR',\n position: 60,\n rank: 60,\n value: 230,\n },\n J0s1JgE9TfVJHCOHIoj3YrldPqn1: {\n nick: 'wgtbraz zdb gg',\n operatorId: 'THNDR',\n position: 41,\n rank: 40,\n value: 318,\n },\n JQCDZLR2P3fGQNKEQvUpF5Zc7if2: {\n nick: 'R aven',\n operatorId: 'THNDR',\n position: 68,\n rank: 68,\n value: 207,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 6,\n rank: 6,\n value: 1112,\n },\n KaP60cM3xuVOG0sa0kVPo67yKVq1: {\n nick: 'duyduy',\n operatorId: 'THNDR',\n position: 25,\n rank: 25,\n value: 452,\n },\n LjAvwnY7DSb7FdzT7Xonp0ewjuy1: {\n nick: 'h1gher',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 626,\n },\n NHezp26RNOdWX1KZMgpCyzw57Mn1: {\n nick: 'ProfessorSyma',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 1079,\n },\n OBvLyuG4l3ecP4zQaah1naAnNpy1: {\n nick: 'WhiteGangsta',\n operatorId: 'THNDR',\n position: 54,\n rank: 54,\n value: 261,\n },\n SEBv7fxqZANK4o5EisBNm6Wjm0r2: {\n nick: 'Hustlegod666',\n operatorId: 'THNDR',\n position: 61,\n rank: 61,\n value: 223,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 93,\n rank: 93,\n value: 167,\n },\n TUiqA4Q6EaTCwRVJuYCzUDgvLSC3: {\n nick: 'Xtypicalboy',\n operatorId: 'THNDR',\n position: 45,\n rank: 45,\n value: 303,\n },\n Tl9dDwvCSjOjsKZQqB7eXv0Laho2: {\n nick: 'brotoshi',\n operatorId: 'THNDR',\n position: 48,\n rank: 48,\n value: 281,\n },\n TwgWSWsqIrdx27z1Hvlb0EEaB3u1: {\n nick: 'raim1',\n operatorId: 'THNDR',\n position: 58,\n rank: 58,\n value: 239,\n },\n UPAdHYrMNde83CQM1QbOPVo4i1o2: {\n nick: 'Bieganiec',\n operatorId: 'THNDR',\n position: 43,\n rank: 43,\n value: 306,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 1103,\n },\n VX0ESW2LEjdNEg1R1Wra4VvG7xj2: {\n nick: 'SlipperyDolphin',\n operatorId: 'THNDR',\n position: 80,\n rank: 80,\n value: 186,\n },\n WSQViTjAPtZzLcFl35AADFAaVmB2: {\n nick: 'Jimba',\n operatorId: 'THNDR',\n position: 78,\n rank: 78,\n value: 192,\n },\n WpE6NazvARfqiqxLhvBgCtrzHID3: {\n nick: 'Deborah',\n operatorId: 'THNDR',\n position: 71,\n rank: 70,\n value: 201,\n },\n YjPZOYpdJOYEhjQgeNmfORFUjqE3: {\n nick: 'kylieky',\n operatorId: 'THNDR',\n position: 44,\n rank: 44,\n value: 305,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 84,\n rank: 84,\n value: 181,\n },\n ZP1PfEawyDcVCtIwqCFuGuFmP1U2: {\n nick: 'la mera verga',\n operatorId: 'THNDR',\n position: 76,\n rank: 76,\n value: 193,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 38,\n rank: 38,\n value: 323,\n },\n aEQF5MSwwAPC0v1MTbbjs1vqskK2: {\n nick: 'tilin',\n operatorId: 'THNDR',\n position: 2,\n rank: 2,\n value: 2010,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 98,\n rank: 98,\n value: 161,\n },\n boPrmOMP9NNdALE3UaYAPrqPvJs1: {\n nick: 'Arkhen',\n operatorId: 'THNDR',\n position: 46,\n rank: 46,\n value: 294,\n },\n 'c07a5ee3-26a7-44eb-b0b2-f088df935edb': {\n nick: 'Dat Nguyen',\n operatorId: 'speed',\n position: 51,\n rank: 51,\n value: 271,\n },\n 'c8e102a7-3b11-4749-a03f-f722828e27f5': {\n nick: 'Daniarmando',\n operatorId: 'telegram',\n position: 97,\n rank: 97,\n value: 162,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 31,\n rank: 31,\n value: 385,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 59,\n rank: 59,\n value: 231,\n },\n cpe6vtDd1TYuxM7wwapCGPd5zMr2: {\n nick: 'Radentor',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 606,\n },\n 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a': {\n nick: 'justint24',\n operatorId: 'betopenly',\n position: 56,\n rank: 56,\n value: 256,\n },\n 'e5bf14b2-6c34-4fe1-99bf-831b98c3860e': {\n nick: 'dasauce8063',\n operatorId: 'betopenly',\n position: 88,\n rank: 87,\n value: 173,\n },\n 'ea5cf715-7efd-4b60-afc5-8e449ae842aa': {\n nick: 'kisjugbe',\n operatorId: 'betopenly',\n position: 34,\n rank: 34,\n value: 364,\n },\n 'eaf6c455-0472-4a0a-9770-0b11878864e2': {\n nick: 'trodabaugh',\n operatorId: 'betopenly',\n position: 21,\n rank: 21,\n value: 573,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 66,\n rank: 66,\n value: 209,\n },\n 'f3bacf77-fae7-4598-b3b2-a47f6a692f82': {\n nick: 'Luzpurazo',\n operatorId: 'telegram',\n position: 99,\n rank: 98,\n value: 161,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 30,\n rank: 30,\n value: 404,\n },\n fFUyVXARbnQduTEIEqAlbwn08eP2: {\n nick: 'PazZay',\n operatorId: 'THNDR',\n position: 28,\n rank: 28,\n value: 438,\n },\n 'fcea4bc7-582a-4993-9b72-7b2d0a37c9ed': {\n nick: 'midamikx',\n operatorId: 'telegram',\n position: 75,\n rank: 75,\n value: 195,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 74,\n rank: 74,\n value: 198,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 33,\n rank: 33,\n value: 371,\n },\n guB7L44EhvYyDhUqXU2LJqYkMyt1: {\n nick: 'guoy',\n operatorId: 'THNDR',\n position: 96,\n rank: 95,\n value: 164,\n },\n hxld3PnZksN6N7HFXHXZV2g45Sg2: {\n nick: 'eldiablobo',\n operatorId: 'THNDR',\n position: 83,\n rank: 81,\n value: 182,\n },\n iMRdj6gJwwbvW5TFgGrPyfE2K9V2: {\n nick: 'yeah eyae hayeah',\n operatorId: 'THNDR',\n position: 27,\n rank: 26,\n value: 451,\n },\n iSktZeq7olZipQvAsBwPQ0kVQCk1: {\n nick: 'kball',\n operatorId: 'THNDR',\n position: 24,\n rank: 24,\n value: 459,\n },\n j1Z1WPziqYXZmsCqL8RrS2C4ED32: {\n nick: 'COFFI',\n operatorId: 'THNDR',\n position: 32,\n rank: 31,\n value: 385,\n },\n lTrOWSqeYaS0liznnofgXOnqCgU2: {\n nick: 'Fery',\n operatorId: 'THNDR',\n position: 100,\n rank: 98,\n value: 161,\n },\n m71e9TEHcQVI6gNtKnOA9V8uKCc2: {\n nick: 'Nat',\n operatorId: 'THNDR',\n position: 20,\n rank: 20,\n value: 586,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 1350,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 345,\n },\n oEXGvwgloVSRJ7aqM48jRry0gp52: {\n nick: 'Lucky4aWhile',\n operatorId: 'THNDR',\n position: 53,\n rank: 53,\n value: 262,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 412,\n },\n pNzsBfAMula1p9k6CutPq8EU7u92: {\n nick: 'whyiodda',\n operatorId: 'THNDR',\n position: 73,\n rank: 73,\n value: 199,\n },\n qRmDm0SvbuYwfg7o9OCGNP8oCkJ2: {\n nick: 'Lixeeer',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 787,\n },\n qTQo8HlhuuPhuzs0wum37pdDWTN2: {\n nick: 'miina',\n operatorId: 'THNDR',\n position: 62,\n rank: 62,\n value: 217,\n },\n qpgdvttycFQIv9fZJOIHGytNznO2: {\n nick: 'mwg',\n operatorId: 'THNDR',\n position: 13,\n rank: 13,\n value: 866,\n },\n rzGu7cLdufZu7neHj72ioj4lqmt2: {\n nick: 'harlsbishhh96',\n operatorId: 'THNDR',\n position: 87,\n rank: 87,\n value: 173,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 47,\n rank: 47,\n value: 292,\n },\n s8CuwoXVfKajUoHKYthX7Apvcz92: {\n nick: 'ralf',\n operatorId: 'THNDR',\n position: 52,\n rank: 52,\n value: 267,\n },\n sU0QcGkr0Pe60tUwItFdb1STzgn1: {\n nick: 'jennadeea',\n operatorId: 'THNDR',\n position: 79,\n rank: 78,\n value: 192,\n },\n tjXxUidlZwbToR6S47KozoKBezC2: {\n nick: 'cowmaster',\n operatorId: 'THNDR',\n position: 57,\n rank: 57,\n value: 254,\n },\n tuYwO79Tp8UtcStvinSrcRJ4lT02: {\n nick: 'BFC1903',\n operatorId: 'THNDR',\n position: 64,\n rank: 64,\n value: 212,\n },\n uwDvADYKOLNmQJ9WX83SXUmjA0i1: {\n nick: 'Lavalava',\n operatorId: 'THNDR',\n position: 42,\n rank: 42,\n value: 308,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 5,\n rank: 5,\n value: 1119,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 37,\n rank: 37,\n value: 333,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTMONEY_1DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 90,\n rank: 72,\n value: 0.5,\n },\n '1990c411-0090-4779-abe9-f76c9ef06943': {\n nick: 'Duncan Rushing',\n operatorId: 'speed',\n position: 84,\n rank: 72,\n value: 0.5,\n },\n '2UXKtKldCtUSajNQMrr0Em5hvfR2': {\n nick: 'Dat Nguyen',\n operatorId: 'THNDR',\n position: 61,\n rank: 61,\n value: 1,\n },\n '2eb3ca69-4b96-4f6c-9b35-7657d263a419': {\n nick: 'p00kiebaby',\n operatorId: 'telegram',\n position: 67,\n rank: 61,\n value: 1,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 13,\n rank: 13,\n value: 14,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 4,\n rank: 4,\n value: 80,\n },\n '35044969-6f82-4ea6-8773-fbeee4c03544': {\n nick: 'Shahryar Eslami Moghaddam',\n operatorId: 'speed',\n position: 88,\n rank: 72,\n value: 0.5,\n },\n '42280e00-0e2d-41a9-aaac-05e9c0b84826': {\n nick: 'Passiveuro',\n operatorId: 'telegram',\n position: 59,\n rank: 54,\n value: 1.5,\n },\n '42f20c5c-c75a-4515-97c0-98ba62487d26': {\n nick: 'Tracey Morrison',\n operatorId: 'speed',\n position: 10,\n rank: 10,\n value: 25,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 22,\n rank: 22,\n value: 7,\n },\n '46PjSe8BRbUKqhUFefslwGWDTzI2': {\n nick: 'ChickieDee',\n operatorId: 'THNDR',\n position: 63,\n rank: 61,\n value: 1,\n },\n '471ed25d-5f49-43fa-8168-dc60aca5bb0a': {\n nick: 'Brokk Beam',\n operatorId: 'speed',\n position: 76,\n rank: 72,\n value: 0.5,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 24,\n rank: 22,\n value: 7,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 64,\n rank: 61,\n value: 1,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 48,\n rank: 47,\n value: 2,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 5,\n rank: 5,\n value: 63,\n },\n '5d54f9d2-e7d6-41f7-a60d-4469af688ef3': {\n nick: 'Samuel Yilak',\n operatorId: 'speed',\n position: 99,\n rank: 72,\n value: 0.5,\n },\n '5sFdUGZOOnZEDRkw2WXAeBXdsmF2': {\n nick: 'savinghumanity',\n operatorId: 'THNDR',\n position: 81,\n rank: 72,\n value: 0.5,\n },\n '699f6481-94c1-4a51-9680-c3b18abcac8c': {\n nick: 'Airavat01',\n operatorId: 'telegram',\n position: 89,\n rank: 72,\n value: 0.5,\n },\n '6f9538d7-19ff-427d-b910-070f347f5785': {\n nick: 'Paul Sedov',\n operatorId: 'speed',\n position: 58,\n rank: 54,\n value: 1.5,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 17,\n rank: 17,\n value: 10.5,\n },\n '754a6395-04f9-4d0d-a9fc-4cef356edae3': {\n nick: 'lukep2002',\n operatorId: 'betopenly',\n position: 28,\n rank: 26,\n value: 6,\n },\n '86c32412-7374-49d1-a9d7-0ecfb4630127': {\n nick: 'Dheyaisgavidia',\n operatorId: 'telegram',\n position: 45,\n rank: 44,\n value: 2.5,\n },\n '877628a5-7dae-445b-b698-567459c035a9': {\n nick: 'Kevin Zuhaus',\n operatorId: 'speed',\n position: 97,\n rank: 72,\n value: 0.5,\n },\n '892383d9-10e4-40bd-bdda-922b296f9bec': {\n nick: 'Kody Laurent',\n operatorId: 'speed',\n position: 35,\n rank: 32,\n value: 5,\n },\n '8Jdg8uC8SGP0T5divdQe1WxPobN2': {\n nick: 'sanyeo',\n operatorId: 'THNDR',\n position: 82,\n rank: 72,\n value: 0.5,\n },\n '8a70ecfe-7dd7-47c9-bc63-d9a38f3dc7ed': {\n nick: 'JeyG Gluch',\n operatorId: 'speed',\n position: 41,\n rank: 40,\n value: 3,\n },\n '980098ad-a54b-49d9-8717-13926a770425': {\n nick: 'William Hecimovich',\n operatorId: 'speed',\n position: 71,\n rank: 61,\n value: 1,\n },\n '9Y7FojpTt0XkYW1RoufrOvV2sgI2': {\n nick: 'quite ',\n operatorId: 'THNDR',\n position: 38,\n rank: 38,\n value: 3.5,\n },\n '9oPTDONwyvXcifEZO2BJG9rbZeP2': {\n nick: 'serberuz',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 15,\n },\n A8OIhvNl2eV87S7o8RmrOOr2eLl2: {\n nick: 'DabroX',\n operatorId: 'THNDR',\n position: 42,\n rank: 40,\n value: 3,\n },\n AR1fJqJZqLSHFt9UtBQELu9J2C42: {\n nick: 'GA99Y',\n operatorId: 'THNDR',\n position: 31,\n rank: 29,\n value: 5.5,\n },\n AS7GV1EVBDQayArH5bPzaAXfMSs1: {\n nick: 'larame413',\n operatorId: 'THNDR',\n position: 51,\n rank: 47,\n value: 2,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 35,\n },\n BIMH6yaAn7NapBRCl03x7na5Ji73: {\n nick: 'random39',\n operatorId: 'THNDR',\n position: 50,\n rank: 47,\n value: 2,\n },\n BUPhdpHpquSC3I3EPnRiisQHAhh1: {\n nick: 'thomsolodev',\n operatorId: 'THNDR',\n position: 53,\n rank: 47,\n value: 2,\n },\n DqOwlFWF9pgD6V3Rf2iZH8SYhW02: {\n nick: 'boby',\n operatorId: 'THNDR',\n position: 92,\n rank: 72,\n value: 0.5,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 9,\n },\n DuTSHjO8XrZBLxkoPt6v6x6Xp9n1: {\n nick: '1ll',\n operatorId: 'THNDR',\n position: 7,\n rank: 7,\n value: 40,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 27,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 497.5,\n },\n Em3mJ9Y8ePdPLtQZnJ6prqAWxWf2: {\n nick: 'lala ',\n operatorId: 'THNDR',\n position: 54,\n rank: 54,\n value: 1.5,\n },\n J9krVBUj4zdkwNDqPWv913KMsFY2: {\n nick: 'jahdidit',\n operatorId: 'THNDR',\n position: 49,\n rank: 47,\n value: 2,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 30,\n rank: 29,\n value: 5.5,\n },\n MqL8KlOXGNajWFThPljAFpLiipX2: {\n nick: 'Running',\n operatorId: 'THNDR',\n position: 39,\n rank: 38,\n value: 3.5,\n },\n NVaHlioPCZM4HqkMbPIO9MufcGN2: {\n nick: 'jas0615',\n operatorId: 'THNDR',\n position: 87,\n rank: 72,\n value: 0.5,\n },\n PSc4nkg5E8MmM8lzeNKCgYV1bOY2: {\n nick: 'Vinybergamo',\n operatorId: 'THNDR',\n position: 95,\n rank: 72,\n value: 0.5,\n },\n Qlh5bdY7u6chZ8ttXuAqjUvaw323: {\n nick: 'SEKAI',\n operatorId: 'THNDR',\n position: 55,\n rank: 54,\n value: 1.5,\n },\n RwWxnCZrXVed2Unj4EbINAQ55TC3: {\n nick: 'uwildie2',\n operatorId: 'THNDR',\n position: 83,\n rank: 72,\n value: 0.5,\n },\n T3aOJwMSzjQsfDu0TzTLZFDfE6G2: {\n nick: 'Taetay420 ',\n operatorId: 'THNDR',\n position: 79,\n rank: 72,\n value: 0.5,\n },\n TjqSO6wWUPgRhAHkk6uKf0XC5ve2: {\n nick: 'gjoy ali',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 5.5,\n },\n UPAdHYrMNde83CQM1QbOPVo4i1o2: {\n nick: 'Bieganiec',\n operatorId: 'THNDR',\n position: 86,\n rank: 72,\n value: 0.5,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 23,\n rank: 22,\n value: 7,\n },\n VQCcQDtIKgTuJb8S0zBo7TARmxl2: {\n nick: 'kawaikea',\n operatorId: 'THNDR',\n position: 15,\n rank: 15,\n value: 12.5,\n },\n XVIggAUsLugui5MBMzna8bOmIqK2: {\n nick: 'MollyQue',\n operatorId: 'THNDR',\n position: 74,\n rank: 72,\n value: 0.5,\n },\n Y9WNeztb3UNdueuYgKSDObJftua2: {\n nick: 'moonp1e88 ',\n operatorId: 'THNDR',\n position: 62,\n rank: 61,\n value: 1,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 52,\n rank: 47,\n value: 2,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 40,\n rank: 40,\n value: 3,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 6,\n rank: 6,\n value: 58.5,\n },\n 'a0dbf0bb-65bf-442a-81e4-f04d6de319e8': {\n nick: 'player42964',\n operatorId: 'telegram',\n position: 94,\n rank: 72,\n value: 0.5,\n },\n 'a9863cef-a685-42c3-872b-aea054ad02d8': {\n nick: 'Jsurkes',\n operatorId: 'telegram',\n position: 96,\n rank: 72,\n value: 0.5,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 34,\n rank: 32,\n value: 5,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 32,\n rank: 32,\n value: 5,\n },\n 'bb036b78-6a35-45ed-b87e-481cd6032d2c': {\n nick: 'Palim778',\n operatorId: 'telegram',\n position: 73,\n rank: 72,\n value: 0.5,\n },\n btN5UEmd1wVf9DSPFLF2GigzaP03: {\n nick: 'theMightynah',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 13,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 4.5,\n },\n 'd3fad122-0682-41fd-8f55-0f5e6460bed5': {\n nick: 'OSWIL ADONIYAS SOTO REVOLORIO',\n operatorId: 'speed',\n position: 56,\n rank: 54,\n value: 1.5,\n },\n 'd70cd470-e589-4075-9a76-42e20da006cd': {\n nick: 'player99966',\n operatorId: 'telegram',\n position: 19,\n rank: 18,\n value: 9.5,\n },\n 'd8c132b6-b0dd-4b2c-a54b-d0b3bd214169': {\n nick: 'Luis Enrique Hernandez',\n operatorId: 'speed',\n position: 66,\n rank: 61,\n value: 1,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 27,\n rank: 26,\n value: 6,\n },\n 'e46d0efc-bedb-41d7-ab9b-7bcc90c190e2': {\n nick: 'Redi 5A',\n operatorId: 'speed',\n position: 100,\n rank: 72,\n value: 0.5,\n },\n 'e678f4b3-3945-4865-898e-2d39f4a23595': {\n nick: 'MFnOGMasterD',\n operatorId: 'telegram',\n position: 72,\n rank: 72,\n value: 0.5,\n },\n 'e800b00b-76d7-484c-8799-9aea34102c5b': {\n nick: 'Robert Titze',\n operatorId: 'speed',\n position: 69,\n rank: 61,\n value: 1,\n },\n eOAV5NVHQmVnL3Pl6fryQ7C3O0C3: {\n nick: 'jeaclaphi',\n operatorId: 'THNDR',\n position: 60,\n rank: 54,\n value: 1.5,\n },\n 'ebba3541-dddd-402c-a490-a187f976615f': {\n nick: 'Vincent Munoz',\n operatorId: 'speed',\n position: 93,\n rank: 72,\n value: 0.5,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 2,\n rank: 2,\n value: 110,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 26,\n rank: 26,\n value: 6,\n },\n 'f52402da-f5b0-41cc-bb18-1fb7d8164dbe': {\n nick: 'player66627',\n operatorId: 'telegram',\n position: 70,\n rank: 61,\n value: 1,\n },\n 'f5d3c9b7-0bd9-46ae-85a7-d362f5c9cd6e': {\n nick: 'Jessie Riddle',\n operatorId: 'speed',\n position: 78,\n rank: 72,\n value: 0.5,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 3,\n rank: 3,\n value: 82.5,\n },\n fXFhQ9zDqwZhaqoJTzYSWDoMjn52: {\n nick: 'player2568',\n operatorId: 'THNDR',\n position: 85,\n rank: 72,\n value: 0.5,\n },\n 'fbb1c655-9a77-4904-b8d5-1aa516a35127': {\n nick: 'Jeremy Johnson',\n operatorId: 'speed',\n position: 44,\n rank: 44,\n value: 2.5,\n },\n 'fe050371-7080-4d65-b911-1ea479d242ae': {\n nick: 'Chiman Jerome',\n operatorId: 'speed',\n position: 57,\n rank: 54,\n value: 1.5,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 37,\n rank: 36,\n value: 4.5,\n },\n ixSu7EbpUhbswPZZuRY8cTzoBwy2: {\n nick: 'mailla888',\n operatorId: 'THNDR',\n position: 43,\n rank: 40,\n value: 3,\n },\n m71e9TEHcQVI6gNtKnOA9V8uKCc2: {\n nick: 'Nat',\n operatorId: 'THNDR',\n position: 46,\n rank: 44,\n value: 2.5,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 20,\n rank: 18,\n value: 9.5,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 68,\n rank: 61,\n value: 1,\n },\n p3ygX7hM2ySITzvqblh5aQv7lxz1: {\n nick: 'prettylady85 ',\n operatorId: 'THNDR',\n position: 80,\n rank: 72,\n value: 0.5,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 9.5,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 47,\n rank: 47,\n value: 2,\n },\n qpgdvttycFQIv9fZJOIHGytNznO2: {\n nick: 'mwg',\n operatorId: 'THNDR',\n position: 25,\n rank: 22,\n value: 7,\n },\n r9pPvrYvbWZEo2ZFtXnmEEjyifN2: {\n nick: 'DeeRugs',\n operatorId: 'THNDR',\n position: 75,\n rank: 72,\n value: 0.5,\n },\n rzGu7cLdufZu7neHj72ioj4lqmt2: {\n nick: 'harlsbishhh96',\n operatorId: 'THNDR',\n position: 91,\n rank: 72,\n value: 0.5,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 18.5,\n },\n tR64VxeOkaPQpJTmzWFYWGWe35k2: {\n nick: 'Scammer',\n operatorId: 'THNDR',\n position: 16,\n rank: 15,\n value: 12.5,\n },\n vyjpq2S6S6YSRu5kaBl6OYR4ae42: {\n nick: 'CryptoMeow',\n operatorId: 'THNDR',\n position: 98,\n rank: 72,\n value: 0.5,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 77,\n rank: 72,\n value: 0.5,\n },\n x9VO8NZNT9QRnpxpKImdBk1gtVi1: {\n nick: 'Twiztidcrypto',\n operatorId: 'THNDR',\n position: 33,\n rank: 32,\n value: 5,\n },\n xzAT9NH68HPeTE1vmEjulAsl1X33: {\n nick: 'BlockRock',\n operatorId: 'THNDR',\n position: 65,\n rank: 61,\n value: 1,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTMONEY_7DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 81,\n rank: 81,\n value: 7,\n },\n '0fc87d3c-b113-471d-b1b8-fcb8ffb0c147': {\n nick: 'player26129',\n operatorId: 'telegram',\n position: 38,\n rank: 36,\n value: 25,\n },\n '1d9f64b7-eeaa-4d25-9335-bb701bebfe70': {\n nick: 'conch',\n operatorId: 'betopenly',\n position: 6,\n rank: 6,\n value: 210,\n },\n '1dacdc28-62c9-46e5-97bb-a8695195f333': {\n nick: 'Pedro Oliveira',\n operatorId: 'speed',\n position: 50,\n rank: 50,\n value: 16.5,\n },\n '21902c78-d99e-45e7-b050-f1ac3e37807b': {\n nick: 'Flemmon Cochran',\n operatorId: 'speed',\n position: 77,\n rank: 76,\n value: 7.5,\n },\n '295k0YwRKFSfT9V2RYC3S10FgCk2': {\n nick: 'Ziggy9044',\n operatorId: 'THNDR',\n position: 73,\n rank: 72,\n value: 8,\n },\n '2OG2GPZLspQajQxzIcBsTvVy6XH2': {\n nick: 'Rai',\n operatorId: 'THNDR',\n position: 57,\n rank: 57,\n value: 12.5,\n },\n '2f695159-4099-4b89-b38e-1468dd7cfc95': {\n nick: 'jbrug420',\n operatorId: 'betopenly',\n position: 5,\n rank: 5,\n value: 240,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 16,\n rank: 16,\n value: 74,\n },\n '2qsJppEJzRdvljATq5tYTtdAeyF3': {\n nick: 'AngryKat1 ',\n operatorId: 'THNDR',\n position: 93,\n rank: 91,\n value: 5.5,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 2,\n rank: 2,\n value: 790,\n },\n '42f20c5c-c75a-4515-97c0-98ba62487d26': {\n nick: 'Tracey Morrison',\n operatorId: 'speed',\n position: 37,\n rank: 36,\n value: 25,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 22,\n rank: 22,\n value: 48,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 32,\n rank: 32,\n value: 28,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 49,\n rank: 49,\n value: 17,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 24,\n rank: 24,\n value: 46,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 90.5,\n },\n '5e4bc49a-367e-42ac-aea5-612e41f33d2b': {\n nick: 'a muse',\n operatorId: 'speed',\n position: 78,\n rank: 76,\n value: 7.5,\n },\n '6788efd1-2cef-453f-ae08-53a067ab3c76': {\n nick: 'Georgii LupuliAk',\n operatorId: 'speed',\n position: 52,\n rank: 51,\n value: 15,\n },\n '6Fm0l4fZNiY7nFsqEOnmWdOWvEk1': {\n nick: 'kekiel0021300',\n operatorId: 'THNDR',\n position: 30,\n rank: 30,\n value: 33,\n },\n '6dmlAb7aL8gTqWPDM82RHV5ppPB2': {\n nick: 'Luffy96 ',\n operatorId: 'THNDR',\n position: 99,\n rank: 91,\n value: 5.5,\n },\n '6tBeqBz9iNS6I5MIGK6arVhuLOX2': {\n nick: 'We444072889',\n operatorId: 'THNDR',\n position: 66,\n rank: 66,\n value: 9,\n },\n '70027afc-c3fa-4933-b810-fe0b2167a24a': {\n nick: 'Lucas Henssler',\n operatorId: 'speed',\n position: 79,\n rank: 76,\n value: 7.5,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 11,\n rank: 11,\n value: 110,\n },\n '754a6395-04f9-4d0d-a9fc-4cef356edae3': {\n nick: 'lukep2002',\n operatorId: 'betopenly',\n position: 25,\n rank: 25,\n value: 42,\n },\n '791ac21c-bc5b-4f2a-9e44-11dd2b672bac': {\n nick: 'Roneil Cayetano',\n operatorId: 'speed',\n position: 89,\n rank: 89,\n value: 6,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 98,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 26,\n rank: 25,\n value: 42,\n },\n '7kFibKihfwcOikCCBsFDduclW2C3': {\n nick: 'jeondongcheol',\n operatorId: 'THNDR',\n position: 74,\n rank: 72,\n value: 8,\n },\n '816b27ed-1c8d-4b92-a9b9-e1da8ff72f72': {\n nick: 'Connor Anderson',\n operatorId: 'speed',\n position: 97,\n rank: 91,\n value: 5.5,\n },\n '877628a5-7dae-445b-b698-567459c035a9': {\n nick: 'Kevin Zuhaus',\n operatorId: 'speed',\n position: 92,\n rank: 91,\n value: 5.5,\n },\n '8Ab45eKYi9af6P2kJ20XrzR9HoL2': {\n nick: 'Radev',\n operatorId: 'THNDR',\n position: 96,\n rank: 91,\n value: 5.5,\n },\n '8Jdg8uC8SGP0T5divdQe1WxPobN2': {\n nick: 'sanyeo',\n operatorId: 'THNDR',\n position: 100,\n rank: 100,\n value: 5,\n },\n '9d9d67d7-88c0-4c96-b5d3-03d0d7cea8a8': {\n nick: 'Farshad Hajinejad',\n operatorId: 'speed',\n position: 55,\n rank: 55,\n value: 13.5,\n },\n '9oPTDONwyvXcifEZO2BJG9rbZeP2': {\n nick: 'serberuz',\n operatorId: 'THNDR',\n position: 51,\n rank: 51,\n value: 15,\n },\n A8OIhvNl2eV87S7o8RmrOOr2eLl2: {\n nick: 'DabroX',\n operatorId: 'THNDR',\n position: 41,\n rank: 39,\n value: 23.5,\n },\n AR1fJqJZqLSHFt9UtBQELu9J2C42: {\n nick: 'GA99Y',\n operatorId: 'THNDR',\n position: 69,\n rank: 69,\n value: 8.5,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 15,\n rank: 15,\n value: 78.5,\n },\n BIMH6yaAn7NapBRCl03x7na5Ji73: {\n nick: 'random39',\n operatorId: 'THNDR',\n position: 44,\n rank: 44,\n value: 19.5,\n },\n BXVUCyEqCpXrcUki8yfi54KGnsK2: {\n nick: 'ryguy',\n operatorId: 'THNDR',\n position: 80,\n rank: 76,\n value: 7.5,\n },\n DDvKjZX7HJcwzoE5pg3NfjAERIv1: {\n nick: 'PrestonsGirl ',\n operatorId: 'THNDR',\n position: 70,\n rank: 69,\n value: 8.5,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 60,\n rank: 60,\n value: 11,\n },\n DuTSHjO8XrZBLxkoPt6v6x6Xp9n1: {\n nick: '1ll',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 50,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 33,\n rank: 33,\n value: 27,\n },\n E8xWOaODAmdoTjE9ybmBf7KRqYF3: {\n nick: 'Ondracoin33 ',\n operatorId: 'THNDR',\n position: 67,\n rank: 66,\n value: 9,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 1938.5,\n },\n Fzx6iXUiHDWJ71nrI90ZdY1wZNr2: {\n nick: 'orangepillee',\n operatorId: 'THNDR',\n position: 75,\n rank: 72,\n value: 8,\n },\n HSvrg5cGIjRayV4leACZIuI0mVx1: {\n nick: 'Roseline292',\n operatorId: 'THNDR',\n position: 59,\n rank: 58,\n value: 11.5,\n },\n HU69q4yyxYhJ78MRS3trLV63UUT2: {\n nick: 'sleekhamster',\n operatorId: 'THNDR',\n position: 86,\n rank: 81,\n value: 7,\n },\n JQCDZLR2P3fGQNKEQvUpF5Zc7if2: {\n nick: 'R aven',\n operatorId: 'THNDR',\n position: 98,\n rank: 91,\n value: 5.5,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 20,\n rank: 20,\n value: 58.5,\n },\n LhoQSyiO1ZPeJrQSgHMXxDhOshw1: {\n nick: 'Louie22',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 37.5,\n },\n S1CP9f9tTHYHiFysaphIIetuzHW2: {\n nick: 'ogsythses',\n operatorId: 'THNDR',\n position: 53,\n rank: 53,\n value: 14.5,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 42,\n rank: 42,\n value: 22.5,\n },\n TUiqA4Q6EaTCwRVJuYCzUDgvLSC3: {\n nick: 'Xtypicalboy',\n operatorId: 'THNDR',\n position: 46,\n rank: 46,\n value: 19,\n },\n Tca2vWT3mqUKzfPjSCh3KkRgwf83: {\n nick: 'ashelk12',\n operatorId: 'THNDR',\n position: 65,\n rank: 65,\n value: 10,\n },\n TjqSO6wWUPgRhAHkk6uKf0XC5ve2: {\n nick: 'gjoy ali',\n operatorId: 'THNDR',\n position: 91,\n rank: 91,\n value: 5.5,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 7,\n rank: 7,\n value: 169,\n },\n VQCcQDtIKgTuJb8S0zBo7TARmxl2: {\n nick: 'kawaikea',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 25,\n },\n Yvi8ALOpPrWW86pg85iX6O7xd493: {\n nick: 'peterson3223',\n operatorId: 'THNDR',\n position: 94,\n rank: 91,\n value: 5.5,\n },\n Z8w76Fyin8hT5MtDJfl9YJ8qmoZ2: {\n nick: 'kheefleek ',\n operatorId: 'THNDR',\n position: 62,\n rank: 60,\n value: 11,\n },\n ZMTLpjA302MAfCMB2ZUdHuvAlBp2: {\n nick: 'spideman',\n operatorId: 'THNDR',\n position: 84,\n rank: 81,\n value: 7,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 31,\n rank: 31,\n value: 29,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 141.5,\n },\n 'a1bafd95-f9c1-48e3-b2d0-1bd807764685': {\n nick: 'ali marada',\n operatorId: 'speed',\n position: 87,\n rank: 87,\n value: 6.5,\n },\n 'a9863cef-a685-42c3-872b-aea054ad02d8': {\n nick: 'Jsurkes',\n operatorId: 'telegram',\n position: 63,\n rank: 60,\n value: 11,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 48,\n rank: 47,\n value: 18,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 27,\n rank: 27,\n value: 41,\n },\n btN5UEmd1wVf9DSPFLF2GigzaP03: {\n nick: 'theMightynah',\n operatorId: 'THNDR',\n position: 56,\n rank: 56,\n value: 13,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 34,\n rank: 34,\n value: 26,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 68.5,\n },\n 'd70cd470-e589-4075-9a76-42e20da006cd': {\n nick: 'player99966',\n operatorId: 'telegram',\n position: 40,\n rank: 39,\n value: 23.5,\n },\n d8CLFt4yg8VKrztSQGBloGkTa3g1: {\n nick: 'Derfette',\n operatorId: 'THNDR',\n position: 83,\n rank: 81,\n value: 7,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 35,\n rank: 35,\n value: 25.5,\n },\n dhRg94DlEdRvFHiXuNTNNeHVDBV2: {\n nick: 'PainKiller',\n operatorId: 'THNDR',\n position: 95,\n rank: 91,\n value: 5.5,\n },\n 'e1259244-ddab-4a4c-874e-2fc8eb4592a0': {\n nick: 'Jovie Ace Radoc',\n operatorId: 'speed',\n position: 58,\n rank: 58,\n value: 11.5,\n },\n 'e8fc3e24-5a86-407e-890c-95ff3009b2ee': {\n nick: 'Omid ariya',\n operatorId: 'speed',\n position: 90,\n rank: 89,\n value: 6,\n },\n 'e958b29d-7cae-4ef2-b360-f5e52f131caa': {\n nick: 'Akos Pinter',\n operatorId: 'speed',\n position: 88,\n rank: 87,\n value: 6.5,\n },\n eOAV5NVHQmVnL3Pl6fryQ7C3O0C3: {\n nick: 'jeaclaphi',\n operatorId: 'THNDR',\n position: 45,\n rank: 44,\n value: 19.5,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 4,\n rank: 4,\n value: 312,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 10,\n rank: 10,\n value: 126,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 13,\n rank: 13,\n value: 95,\n },\n 'fcc82108-0f0f-4983-83e9-eda9470abc46': {\n nick: 'James Stavros II',\n operatorId: 'speed',\n position: 68,\n rank: 66,\n value: 9,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 452.5,\n },\n jBKWmUfEzkNLX2UaCMd0i7dMkNF2: {\n nick: 'GBleezy',\n operatorId: 'THNDR',\n position: 71,\n rank: 69,\n value: 8.5,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 70.5,\n },\n mnC7qAmth4PsCcsyfqlXCiADlhr1: {\n nick: 'Elu4454',\n operatorId: 'THNDR',\n position: 28,\n rank: 28,\n value: 38,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 61,\n rank: 60,\n value: 11,\n },\n oisvSc32PxW85NRMBCeBnFjAkAv2: {\n nick: 'gizmodeus',\n operatorId: 'THNDR',\n position: 64,\n rank: 60,\n value: 11,\n },\n pFHblNG3yyPrtOCq4Zwb4CYvFdB3: {\n nick: 'amaleshko',\n operatorId: 'THNDR',\n position: 76,\n rank: 76,\n value: 7.5,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 23,\n rank: 23,\n value: 46.5,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 73,\n },\n qpgdvttycFQIv9fZJOIHGytNznO2: {\n nick: 'mwg',\n operatorId: 'THNDR',\n position: 82,\n rank: 81,\n value: 7,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 128,\n },\n skgHapOl78YI5kbUTU4hnfZZeCt1: {\n nick: 'ustn26',\n operatorId: 'THNDR',\n position: 85,\n rank: 81,\n value: 7,\n },\n tR64VxeOkaPQpJTmzWFYWGWe35k2: {\n nick: 'Scammer',\n operatorId: 'THNDR',\n position: 39,\n rank: 39,\n value: 23.5,\n },\n vbeiYxytClOFdnTKBK28l05yP7F3: {\n nick: 'Katie',\n operatorId: 'THNDR',\n position: 54,\n rank: 54,\n value: 14,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 43,\n rank: 43,\n value: 21.5,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 47,\n rank: 47,\n value: 18,\n },\n x9VO8NZNT9QRnpxpKImdBk1gtVi1: {\n nick: 'Twiztidcrypto',\n operatorId: 'THNDR',\n position: 72,\n rank: 72,\n value: 8,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTMONEY_30DAY = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '072QdZ88oXdxRDekQbeqr5PIBCN2': {\n nick: 'Rubocop32',\n operatorId: 'THNDR',\n position: 95,\n rank: 95,\n value: 40,\n },\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 20,\n rank: 20,\n value: 264.5,\n },\n '0PKCBsyGNdMBmavsyZ0y9y2wjGK2': {\n nick: 'SJJMR',\n operatorId: 'THNDR',\n position: 22,\n rank: 22,\n value: 257,\n },\n '0a601196-0273-4a00-98a7-cf620289459c': {\n nick: 'Artificial Intelligence',\n operatorId: 'speed',\n position: 77,\n rank: 77,\n value: 56.5,\n },\n '124be09a-fff4-4374-ae3e-8dc032702697': {\n nick: 'kostya nnn',\n operatorId: 'speed',\n position: 89,\n rank: 88,\n value: 45,\n },\n '1ca18461-1a7f-4889-b084-57365f879290': {\n nick: 'Jayjay Garcia',\n operatorId: 'speed',\n position: 90,\n rank: 90,\n value: 44,\n },\n '1d9f64b7-eeaa-4d25-9335-bb701bebfe70': {\n nick: 'conch',\n operatorId: 'betopenly',\n position: 4,\n rank: 4,\n value: 812,\n },\n '1dacdc28-62c9-46e5-97bb-a8695195f333': {\n nick: 'Pedro Oliveira',\n operatorId: 'speed',\n position: 85,\n rank: 85,\n value: 48,\n },\n '21902c78-d99e-45e7-b050-f1ac3e37807b': {\n nick: 'Flemmon Cochran',\n operatorId: 'speed',\n position: 43,\n rank: 43,\n value: 129,\n },\n '225f86af-d71b-467d-bff4-44b9fff35204': {\n nick: 'Logan Elberson',\n operatorId: 'speed',\n position: 97,\n rank: 97,\n value: 38,\n },\n '2f695159-4099-4b89-b38e-1468dd7cfc95': {\n nick: 'jbrug420',\n operatorId: 'betopenly',\n position: 24,\n rank: 24,\n value: 242,\n },\n '2f9ccb6c-fea1-46c4-bcb3-0214c4abaf04': {\n nick: 'chessfan777',\n operatorId: 'betopenly',\n position: 44,\n rank: 44,\n value: 128,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 2,\n rank: 2,\n value: 2610,\n },\n '363e66f5-f6dc-439a-a7df-8e0dedffdab8': {\n nick: 'Matthieu Marquette',\n operatorId: 'speed',\n position: 96,\n rank: 96,\n value: 39,\n },\n '3cd545b4-5cef-4030-b598-ac9650f3032a': {\n nick: 'Gavin Livesey',\n operatorId: 'speed',\n position: 92,\n rank: 92,\n value: 42.5,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 28,\n rank: 28,\n value: 205.5,\n },\n '49eee239-a165-40c7-abcf-9a3e0a186258': {\n nick: 'mattwalker233',\n operatorId: 'betopenly',\n position: 75,\n rank: 75,\n value: 58,\n },\n '4I7HWcHGprVlEzbKOdrxCKAp49x1': {\n nick: 'Kendrab23',\n operatorId: 'THNDR',\n position: 59,\n rank: 59,\n value: 95.5,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 55,\n rank: 55,\n value: 114,\n },\n '4aa0ed64-17d4-42ac-80dc-9276c6b261e5': {\n nick: 'James Ferrell',\n operatorId: 'speed',\n position: 87,\n rank: 87,\n value: 46,\n },\n '4fd076ff-c2fd-4918-bc17-b01a9f89781b': {\n nick: 'Malibongwe Darkness',\n operatorId: 'speed',\n position: 61,\n rank: 61,\n value: 88,\n },\n '58f0cdf9-62a5-4516-b147-562ebd9e6925': {\n nick: 'wolfpack_trivia',\n operatorId: 'telegram',\n position: 80,\n rank: 80,\n value: 54,\n },\n '5Mzv0biDtURWH4EydiX8gIHpxWC3': {\n nick: 'RcEverSauce',\n operatorId: 'THNDR',\n position: 30,\n rank: 30,\n value: 178.5,\n },\n '5QfuKqzJ77cjIzIMpbirJPKig8w2': {\n nick: 'BtceXMasteR',\n operatorId: 'THNDR',\n position: 47,\n rank: 47,\n value: 126.5,\n },\n '5fc5b679-0c9e-42da-ab0e-70a94e17e3e3': {\n nick: 'Luis Espinoza',\n operatorId: 'speed',\n position: 86,\n rank: 86,\n value: 46.5,\n },\n '5jNmL86kHiNoVmH8V2a0CSj44Ys2': {\n nick: 'luzpurazo02',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 376.5,\n },\n '661edc86-6229-44dd-87b3-0d072132cd98': {\n nick: 'Kevin Cesar',\n operatorId: 'speed',\n position: 73,\n rank: 73,\n value: 65,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 15,\n rank: 15,\n value: 339,\n },\n '754a6395-04f9-4d0d-a9fc-4cef356edae3': {\n nick: 'lukep2002',\n operatorId: 'betopenly',\n position: 93,\n rank: 93,\n value: 42,\n },\n '79d3cb1b-218b-4258-b38f-bb856d8c859b': {\n nick: 'lilmissthing',\n operatorId: 'betopenly',\n position: 66,\n rank: 66,\n value: 78,\n },\n '7SxpldVWl9Yd0cmtMqOopOzaplD2': {\n nick: 'Jefe',\n operatorId: 'THNDR',\n position: 10,\n rank: 10,\n value: 419,\n },\n '7c9c87b4-b522-4689-8af2-9b889bb31bc3': {\n nick: 'mattford',\n operatorId: 'betopenly',\n position: 13,\n rank: 13,\n value: 368,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 261,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 6,\n rank: 6,\n value: 732,\n },\n '7kFibKihfwcOikCCBsFDduclW2C3': {\n nick: 'jeondongcheol',\n operatorId: 'THNDR',\n position: 100,\n rank: 100,\n value: 36.5,\n },\n '82a0396c-0368-4c2f-aa93-a2fb5abbd873': {\n nick: 'K Sathosi',\n operatorId: 'speed',\n position: 46,\n rank: 44,\n value: 128,\n },\n '86c32412-7374-49d1-a9d7-0ecfb4630127': {\n nick: 'Dheyaisgavidia',\n operatorId: 'telegram',\n position: 50,\n rank: 50,\n value: 122,\n },\n '8NkSyaqCHFbnrHdqu2hTdbAvIdp1': {\n nick: 'mamba mentality',\n operatorId: 'THNDR',\n position: 91,\n rank: 91,\n value: 43.5,\n },\n '8OZsOXfGwkVaABjaAxKdsFYvPnt1': {\n nick: 'adedede',\n operatorId: 'THNDR',\n position: 82,\n rank: 82,\n value: 51,\n },\n '8UMAWbAqTOPcuPJiv3z8vNDjdfN2': {\n nick: 'BOTNIQ',\n operatorId: 'THNDR',\n position: 76,\n rank: 76,\n value: 57,\n },\n '9d9d67d7-88c0-4c96-b5d3-03d0d7cea8a8': {\n nick: 'Farshad Hajinejad',\n operatorId: 'speed',\n position: 88,\n rank: 88,\n value: 45,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 54,\n rank: 54,\n value: 115,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 306,\n },\n DuTSHjO8XrZBLxkoPt6v6x6Xp9n1: {\n nick: '1ll',\n operatorId: 'THNDR',\n position: 83,\n rank: 83,\n value: 50,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 32,\n rank: 32,\n value: 166,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 4884,\n },\n EVyM1oeCRCVVbO9OqPAedE52Mck2: {\n nick: 'puerto',\n operatorId: 'THNDR',\n position: 34,\n rank: 34,\n value: 157.5,\n },\n Eb1dnspHYUSrNEB2ZzLXrE0cDGk2: {\n nick: 'Dik',\n operatorId: 'THNDR',\n position: 94,\n rank: 94,\n value: 41.5,\n },\n Fzx6iXUiHDWJ71nrI90ZdY1wZNr2: {\n nick: 'orangepillee',\n operatorId: 'THNDR',\n position: 68,\n rank: 68,\n value: 72,\n },\n J9krVBUj4zdkwNDqPWv913KMsFY2: {\n nick: 'jahdidit',\n operatorId: 'THNDR',\n position: 45,\n rank: 44,\n value: 128,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 497,\n },\n KCby6YRbgJZ6xV7XFWd6ltx3Ppf2: {\n nick: 'bagkoyy',\n operatorId: 'THNDR',\n position: 67,\n rank: 67,\n value: 75.5,\n },\n LhoQSyiO1ZPeJrQSgHMXxDhOshw1: {\n nick: 'Louie22',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 192.5,\n },\n NHezp26RNOdWX1KZMgpCyzw57Mn1: {\n nick: 'ProfessorSyma',\n operatorId: 'THNDR',\n position: 81,\n rank: 81,\n value: 51.5,\n },\n OBvLyuG4l3ecP4zQaah1naAnNpy1: {\n nick: 'WhiteGangsta',\n operatorId: 'THNDR',\n position: 60,\n rank: 60,\n value: 89,\n },\n RBqDRktOYRaONpnrdbA3kgoZG1w2: {\n nick: 'bigchungus',\n operatorId: 'THNDR',\n position: 70,\n rank: 70,\n value: 68,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 42,\n rank: 42,\n value: 130,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 5,\n rank: 5,\n value: 749,\n },\n ZMTLpjA302MAfCMB2ZUdHuvAlBp2: {\n nick: 'spideman',\n operatorId: 'THNDR',\n position: 16,\n rank: 16,\n value: 308.5,\n },\n ZP1PfEawyDcVCtIwqCFuGuFmP1U2: {\n nick: 'la mera verga',\n operatorId: 'THNDR',\n position: 51,\n rank: 51,\n value: 118,\n },\n Zaqo7osp1fgDHKV1xqq7vRAzl6k2: {\n nick: 'maxpow',\n operatorId: 'THNDR',\n position: 56,\n rank: 56,\n value: 103.5,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 14,\n rank: 14,\n value: 339.5,\n },\n 'a1ed0c26-aaf5-4449-9910-625bf85a81ea': {\n nick: 'zebo',\n operatorId: 'betopenly',\n position: 27,\n rank: 27,\n value: 208,\n },\n aEQF5MSwwAPC0v1MTbbjs1vqskK2: {\n nick: 'tilin',\n operatorId: 'THNDR',\n position: 52,\n rank: 52,\n value: 117,\n },\n aQ4boibSzZgJhL1hr0YQ8dTaFEX2: {\n nick: 'spacekais',\n operatorId: 'THNDR',\n position: 78,\n rank: 78,\n value: 55.5,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 25,\n rank: 25,\n value: 222,\n },\n b02uR9KB8tYrSNLLLFDV7MV2vWL2: {\n nick: 'afshin',\n operatorId: 'THNDR',\n position: 40,\n rank: 40,\n value: 135.5,\n },\n 'b0ebb43a-9835-4e67-ba2c-4e0930ef911f': {\n nick: 'Austin Villella',\n operatorId: 'speed',\n position: 72,\n rank: 72,\n value: 66,\n },\n 'bba0b072-830d-4976-870b-6db6da04b19e': {\n nick: 'Shawn Dunlap',\n operatorId: 'speed',\n position: 65,\n rank: 65,\n value: 81.5,\n },\n 'c07a5ee3-26a7-44eb-b0b2-f088df935edb': {\n nick: 'Dat Nguyen',\n operatorId: 'speed',\n position: 64,\n rank: 64,\n value: 83.5,\n },\n 'c8e102a7-3b11-4749-a03f-f722828e27f5': {\n nick: 'Daniarmando',\n operatorId: 'telegram',\n position: 69,\n rank: 69,\n value: 71,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 283.5,\n },\n 'ceca90a3-6ac2-476b-b5f5-8aadf250a220': {\n nick: 'ferrari16',\n operatorId: 'betopenly',\n position: 35,\n rank: 35,\n value: 156,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 23,\n rank: 23,\n value: 249,\n },\n cpe6vtDd1TYuxM7wwapCGPd5zMr2: {\n nick: 'Radentor',\n operatorId: 'THNDR',\n position: 39,\n rank: 39,\n value: 138.5,\n },\n 'd54eb816-dcbc-4d12-8083-408681a4a8b7': {\n nick: 'Kelly Moon',\n operatorId: 'speed',\n position: 49,\n rank: 49,\n value: 125,\n },\n 'ddb64a25-32bc-4d73-9984-9f23fad233b6': {\n nick: 'justthatdude22',\n operatorId: 'speed',\n position: 71,\n rank: 71,\n value: 67,\n },\n 'dfd85ba2-de70-41ad-91b5-e76c8b8a4b31': {\n nick: 'youwinuyen',\n operatorId: 'betopenly',\n position: 37,\n rank: 37,\n value: 142,\n },\n 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a': {\n nick: 'justint24',\n operatorId: 'betopenly',\n position: 9,\n rank: 9,\n value: 432,\n },\n 'e48c5007-8874-4cdd-93aa-b19b05f587a7': {\n nick: 'structo',\n operatorId: 'betopenly',\n position: 58,\n rank: 58,\n value: 98,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 7,\n rank: 7,\n value: 642,\n },\n 'f067b3f1-3620-4ea9-ac84-18de42911edf': {\n nick: 'neckfoot',\n operatorId: 'betopenly',\n position: 48,\n rank: 48,\n value: 126,\n },\n 'f7f1964a-137c-45ba-a5cf-d782ecd57548': {\n nick: 'player93632',\n operatorId: 'telegram',\n position: 74,\n rank: 74,\n value: 64.5,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 41,\n rank: 41,\n value: 131,\n },\n 'faf8c5db-ed3e-43b5-8ef1-e094d67f585b': {\n nick: 'Jason Broderick',\n operatorId: 'speed',\n position: 38,\n rank: 38,\n value: 140,\n },\n 'fd88225d-c296-472e-8ab5-bcec8dcaf8ae': {\n nick: 'Haley Robison',\n operatorId: 'speed',\n position: 98,\n rank: 98,\n value: 37.5,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 33,\n rank: 33,\n value: 158,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 3,\n rank: 3,\n value: 1138,\n },\n lTFxkD8kb4cU31Xucj8e7FIYfAk2: {\n nick: 'lulo',\n operatorId: 'THNDR',\n position: 63,\n rank: 62,\n value: 85,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 300,\n },\n mnC7qAmth4PsCcsyfqlXCiADlhr1: {\n nick: 'Elu4454',\n operatorId: 'THNDR',\n position: 84,\n rank: 84,\n value: 49,\n },\n nuAygUHipvZoxHisDuv4GCk2mHe2: {\n nick: 'diyann',\n operatorId: 'THNDR',\n position: 57,\n rank: 57,\n value: 101,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 31,\n rank: 31,\n value: 175.5,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 26,\n rank: 26,\n value: 210,\n },\n qRmDm0SvbuYwfg7o9OCGNP8oCkJ2: {\n nick: 'Lixeeer',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 144.5,\n },\n rUKCFNYcroWblcf61IMxAkH1kXh1: {\n nick: 'El Belico',\n operatorId: 'THNDR',\n position: 62,\n rank: 62,\n value: 85,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 12,\n rank: 12,\n value: 373.5,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 53,\n rank: 53,\n value: 116,\n },\n wIAi000qCseXDvrKi8DrUZJsOnF3: {\n nick: 'mamitos',\n operatorId: 'THNDR',\n position: 99,\n rank: 98,\n value: 37.5,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 79,\n rank: 79,\n value: 55,\n },\n },\n },\n },\n};\n\nexport const LEADERBOARD_MOSTMONEY_ALLTIME = {\n status: 200,\n body: {\n status: 200,\n msg: 'Leaderboard',\n data: {\n lastUpdated: 1741615204776,\n leaderboardData: {\n '0ANFbHbkKXgv2ss6NJ1oLB5jxli2': {\n nick: 'Woo',\n operatorId: 'THNDR',\n position: 88,\n rank: 88,\n value: 289.5,\n },\n '0PKCBsyGNdMBmavsyZ0y9y2wjGK2': {\n nick: 'SJJMR',\n operatorId: 'THNDR',\n position: 33,\n rank: 33,\n value: 1096.5,\n },\n '1d9f64b7-eeaa-4d25-9335-bb701bebfe70': {\n nick: 'conch',\n operatorId: 'betopenly',\n position: 2,\n rank: 2,\n value: 17642,\n },\n '1f73e8e2-6a83-48ac-9698-1efe066c7311': {\n nick: 'ypalermo',\n operatorId: 'betopenly',\n position: 3,\n rank: 3,\n value: 17404,\n },\n '221426fa-99a2-44ca-ad3a-bc46731f854d': {\n nick: 'ltlmoney',\n operatorId: 'betopenly',\n position: 79,\n rank: 79,\n value: 310,\n },\n '22dbe726-a700-4dc2-8e81-9456f822ff4a': {\n nick: 'paulelias',\n operatorId: 'betopenly',\n position: 14,\n rank: 14,\n value: 3604,\n },\n '2bigJaMNqcUKEZdjTpiIRQSyvjE3': {\n nick: 'rafaelpac',\n operatorId: 'THNDR',\n position: 51,\n rank: 51,\n value: 617.4800000000001,\n },\n '2f695159-4099-4b89-b38e-1468dd7cfc95': {\n nick: 'jbrug420',\n operatorId: 'betopenly',\n position: 98,\n rank: 98,\n value: 242,\n },\n '3250050e-ad3a-4d06-b779-bcc1b532dfe0': {\n nick: 'PazZayy',\n operatorId: 'telegram',\n position: 6,\n rank: 6,\n value: 7769,\n },\n '3QAxWGj1sXRgi1ZTKfUjQQ3GLuU2': {\n nick: 'Bignug',\n operatorId: 'THNDR',\n position: 99,\n rank: 99,\n value: 240.5,\n },\n '46938e4c-bc24-45cd-9b93-460eef349086': {\n nick: 'Neshdan',\n operatorId: 'telegram',\n position: 74,\n rank: 74,\n value: 351,\n },\n '4DVMucyDaTWO8ERtpEoatTqEBr52': {\n nick: 'D0G3',\n operatorId: 'THNDR',\n position: 59,\n rank: 59,\n value: 515.5,\n },\n '4W29W8plWNgZb3jFon56OFgNSHJ3': {\n nick: 'suckmydiesel',\n operatorId: 'THNDR',\n position: 39,\n rank: 39,\n value: 823.5,\n },\n '5Mzv0biDtURWH4EydiX8gIHpxWC3': {\n nick: 'RcEverSauce',\n operatorId: 'THNDR',\n position: 67,\n rank: 67,\n value: 439,\n },\n '5jNmL86kHiNoVmH8V2a0CSj44Ys2': {\n nick: 'luzpurazo02',\n operatorId: 'THNDR',\n position: 15,\n rank: 15,\n value: 3579.5,\n },\n '6924b090-175c-40dc-a978-0fdf3bd7f850': {\n nick: 'mikek2057',\n operatorId: 'betopenly',\n position: 52,\n rank: 52,\n value: 608,\n },\n '71fcc902-113d-4a36-8f6d-3b7e9f84d50c': {\n nick: 'OmarCripto86',\n operatorId: 'telegram',\n position: 28,\n rank: 28,\n value: 1294.5,\n },\n '7SxpldVWl9Yd0cmtMqOopOzaplD2': {\n nick: 'Jefe',\n operatorId: 'THNDR',\n position: 63,\n rank: 63,\n value: 458,\n },\n '7c9c87b4-b522-4689-8af2-9b889bb31bc3': {\n nick: 'mattford',\n operatorId: 'betopenly',\n position: 22,\n rank: 22,\n value: 1852,\n },\n '7hJKmzdLguYHE8XsshEA1t6xLCM2': {\n nick: 'Maco0404',\n operatorId: 'THNDR',\n position: 45,\n rank: 45,\n value: 738,\n },\n '7iy1eIPdxxZkmVFi9IcNsIXUc3x1': {\n nick: 'ww815',\n operatorId: 'THNDR',\n position: 29,\n rank: 29,\n value: 1282,\n },\n '7tfVggLBeTgKDQ0nLdAxwxEGrWn1': {\n nick: 'Shutupandtakemymoney',\n operatorId: 'THNDR',\n position: 23,\n rank: 23,\n value: 1575.8000000000002,\n },\n '8NkSyaqCHFbnrHdqu2hTdbAvIdp1': {\n nick: 'mamba mentality',\n operatorId: 'THNDR',\n position: 89,\n rank: 89,\n value: 288.78000000000003,\n },\n '8UMAWbAqTOPcuPJiv3z8vNDjdfN2': {\n nick: 'BOTNIQ',\n operatorId: 'THNDR',\n position: 95,\n rank: 95,\n value: 248.5,\n },\n '8xODgRyjLONd88fqcPoeyawK2QI3': {\n nick: 'imk2022',\n operatorId: 'THNDR',\n position: 84,\n rank: 84,\n value: 302.5,\n },\n '985e1e39-dd4e-40eb-a673-4da93d8d2365': {\n nick: 'pulkitrampa',\n operatorId: 'betopenly',\n position: 20,\n rank: 20,\n value: 1920,\n },\n B7W0BEKPOFfKcyuxHBO4S2tNqIU2: {\n nick: 'RuegoOhYXZqqh7',\n operatorId: 'THNDR',\n position: 55,\n rank: 55,\n value: 561.5,\n },\n BG91lF38izThS1eBJ0kklLeCmeI3: {\n nick: 'Cryptonator',\n operatorId: 'THNDR',\n position: 60,\n rank: 60,\n value: 505.7000000000001,\n },\n BIMH6yaAn7NapBRCl03x7na5Ji73: {\n nick: 'random39',\n operatorId: 'THNDR',\n position: 78,\n rank: 78,\n value: 316.5,\n },\n DquvTqsjUWhHmfwDxweisAaVbSs1: {\n nick: 'Jason B',\n operatorId: 'THNDR',\n position: 76,\n rank: 76,\n value: 338,\n },\n E3PPyFdgU2cCYUQ02Gk35OHSHbo2: {\n nick: 'richmondtina',\n operatorId: 'THNDR',\n position: 35,\n rank: 35,\n value: 1023.5,\n },\n EH28THF8y1gU8fM89ykJJkmYP9T2: {\n nick: 'Rexdentron',\n operatorId: 'THNDR',\n position: 1,\n rank: 1,\n value: 35283,\n },\n Fj0SHclZIDapRYmq9FXThI9z6B73: {\n nick: 'Tecky42',\n operatorId: 'THNDR',\n position: 77,\n rank: 77,\n value: 333.5,\n },\n GCuLSzNyeIMdtFwffzpCoCDRVPv1: {\n nick: 'harro',\n operatorId: 'THNDR',\n position: 40,\n rank: 40,\n value: 797.5,\n },\n HN4cjQOv0vSDMhmVEo2glGZFx9q1: {\n nick: 'nido76',\n operatorId: 'THNDR',\n position: 71,\n rank: 71,\n value: 407,\n },\n IcvXSN5IGhMuc8Bjr15wTMUyRbj2: {\n nick: 'Bellesbeastzbdgg',\n operatorId: 'THNDR',\n position: 86,\n rank: 86,\n value: 298.5,\n },\n JqiNCGXjkaMqEYFPOYCaW0qcYfl1: {\n nick: 'privateprinzesska',\n operatorId: 'THNDR',\n position: 8,\n rank: 8,\n value: 5520.5,\n },\n LhoQSyiO1ZPeJrQSgHMXxDhOshw1: {\n nick: 'Louie22',\n operatorId: 'THNDR',\n position: 57,\n rank: 57,\n value: 517,\n },\n LjAvwnY7DSb7FdzT7Xonp0ewjuy1: {\n nick: 'h1gher',\n operatorId: 'THNDR',\n position: 16,\n rank: 16,\n value: 3030.5,\n },\n NHezp26RNOdWX1KZMgpCyzw57Mn1: {\n nick: 'ProfessorSyma',\n operatorId: 'THNDR',\n position: 19,\n rank: 19,\n value: 2227.1800000000003,\n },\n OBvLyuG4l3ecP4zQaah1naAnNpy1: {\n nick: 'WhiteGangsta',\n operatorId: 'THNDR',\n position: 62,\n rank: 62,\n value: 485.5,\n },\n SZNpkP4YeYM6emUlJJcPuvlKJE72: {\n nick: 'Rhea',\n operatorId: 'THNDR',\n position: 47,\n rank: 47,\n value: 687,\n },\n Tl9dDwvCSjOjsKZQqB7eXv0Laho2: {\n nick: 'brotoshi',\n operatorId: 'THNDR',\n position: 53,\n rank: 53,\n value: 571,\n },\n TwgWSWsqIrdx27z1Hvlb0EEaB3u1: {\n nick: 'raim1',\n operatorId: 'THNDR',\n position: 50,\n rank: 50,\n value: 634,\n },\n VQ21Q4670YhnSk3GrAM6pbLQ6kq2: {\n nick: 'MonkeyMan',\n operatorId: 'THNDR',\n position: 11,\n rank: 11,\n value: 4422,\n },\n YjPZOYpdJOYEhjQgeNmfORFUjqE3: {\n nick: 'kylieky',\n operatorId: 'THNDR',\n position: 96,\n rank: 96,\n value: 248.3,\n },\n ZMTLpjA302MAfCMB2ZUdHuvAlBp2: {\n nick: 'spideman',\n operatorId: 'THNDR',\n position: 81,\n rank: 81,\n value: 308.5,\n },\n ZP1PfEawyDcVCtIwqCFuGuFmP1U2: {\n nick: 'la mera verga',\n operatorId: 'THNDR',\n position: 93,\n rank: 93,\n value: 255.5,\n },\n ZkoCf7kXVDfowrts5pSLfjNCVFr2: {\n nick: 'godneverdie',\n operatorId: 'THNDR',\n position: 75,\n rank: 75,\n value: 339.5,\n },\n 'a1ed0c26-aaf5-4449-9910-625bf85a81ea': {\n nick: 'zebo',\n operatorId: 'betopenly',\n position: 85,\n rank: 85,\n value: 300,\n },\n aEQF5MSwwAPC0v1MTbbjs1vqskK2: {\n nick: 'tilin',\n operatorId: 'THNDR',\n position: 10,\n rank: 10,\n value: 4541,\n },\n 'aefd3fb3-65ed-4832-a630-acb913053ffb': {\n nick: 'Lucas Hubbard',\n operatorId: 'speed',\n position: 69,\n rank: 69,\n value: 420,\n },\n bOJKFpQsSiUOaFJsDMIGp1Yjv6Z2: {\n nick: 'Jimmywpu1',\n operatorId: 'THNDR',\n position: 46,\n rank: 46,\n value: 700,\n },\n 'bc395208-8a6e-4ebd-a519-6c9d57855c9c': {\n nick: 'rhrn1998',\n operatorId: 'telegram',\n position: 92,\n rank: 92,\n value: 259.5,\n },\n 'c07a5ee3-26a7-44eb-b0b2-f088df935edb': {\n nick: 'Dat Nguyen',\n operatorId: 'speed',\n position: 54,\n rank: 54,\n value: 569.5,\n },\n 'c9b6a78a-0276-4104-bf29-243a35249017': {\n nick: 'j20dunn',\n operatorId: 'betopenly',\n position: 44,\n rank: 44,\n value: 768,\n },\n cLVJXQObd7Q7CTYRJT0asGIG4ub2: {\n nick: 'leokim',\n operatorId: 'THNDR',\n position: 43,\n rank: 43,\n value: 769.5,\n },\n 'cc6f4442-6e59-4b4a-a5d6-5b3c3b331d94': {\n nick: 'thomasm06',\n operatorId: 'betopenly',\n position: 48,\n rank: 48,\n value: 664,\n },\n 'cda2a6d9-0770-4a3a-9155-3d9f41b3dd95': {\n nick: 'nickps',\n operatorId: 'betopenly',\n position: 5,\n rank: 5,\n value: 8280,\n },\n ceeWs4u2PaMHUifqGrcjwtEPVpe2: {\n nick: 'Maco04',\n operatorId: 'THNDR',\n position: 36,\n rank: 36,\n value: 971,\n },\n cpe6vtDd1TYuxM7wwapCGPd5zMr2: {\n nick: 'Radentor',\n operatorId: 'THNDR',\n position: 9,\n rank: 9,\n value: 4804.400000000001,\n },\n 'd54eb816-dcbc-4d12-8083-408681a4a8b7': {\n nick: 'Kelly Moon',\n operatorId: 'speed',\n position: 37,\n rank: 37,\n value: 938.5,\n },\n 'da352494-7278-49db-903a-d338e0eaa5c0': {\n nick: 'squirrly',\n operatorId: 'betopenly',\n position: 27,\n rank: 27,\n value: 1308,\n },\n 'dfd85ba2-de70-41ad-91b5-e76c8b8a4b31': {\n nick: 'youwinuyen',\n operatorId: 'betopenly',\n position: 58,\n rank: 58,\n value: 516,\n },\n 'e466aec5-c2d8-4d4a-aa1d-b69b985c3f6a': {\n nick: 'justint24',\n operatorId: 'betopenly',\n position: 12,\n rank: 12,\n value: 4360,\n },\n 'e5bf14b2-6c34-4fe1-99bf-831b98c3860e': {\n nick: 'dasauce8063',\n operatorId: 'betopenly',\n position: 64,\n rank: 64,\n value: 450,\n },\n 'ea5cf715-7efd-4b60-afc5-8e449ae842aa': {\n nick: 'kisjugbe',\n operatorId: 'betopenly',\n position: 13,\n rank: 13,\n value: 3652,\n },\n 'eaf6c455-0472-4a0a-9770-0b11878864e2': {\n nick: 'trodabaugh',\n operatorId: 'betopenly',\n position: 7,\n rank: 7,\n value: 5874,\n },\n 'ed515bf0-75ed-4319-a22c-7712aa182791': {\n nick: 'rgalexander216',\n operatorId: 'betopenly',\n position: 49,\n rank: 49,\n value: 642,\n },\n 'f3bacf77-fae7-4598-b3b2-a47f6a692f82': {\n nick: 'Luzpurazo',\n operatorId: 'telegram',\n position: 56,\n rank: 56,\n value: 536.5,\n },\n 'f84f0522-8325-4b53-903d-b04230e14eda': {\n nick: 'Rexdentron',\n operatorId: 'telegram',\n position: 4,\n rank: 4,\n value: 9266.5,\n },\n fFUyVXARbnQduTEIEqAlbwn08eP2: {\n nick: 'PazZay',\n operatorId: 'THNDR',\n position: 38,\n rank: 38,\n value: 827,\n },\n 'fcea4bc7-582a-4993-9b72-7b2d0a37c9ed': {\n nick: 'midamikx',\n operatorId: 'telegram',\n position: 83,\n rank: 83,\n value: 307.5,\n },\n gf1spz6Jmsg3wMycVm7RyMKERNs1: {\n nick: 'littleminer',\n operatorId: 'THNDR',\n position: 87,\n rank: 87,\n value: 292.5,\n },\n gfo53QJFheeg3czzp2zI6OuLFWk2: {\n nick: '1000 is not enough',\n operatorId: 'THNDR',\n position: 25,\n rank: 25,\n value: 1362.5,\n },\n hxld3PnZksN6N7HFXHXZV2g45Sg2: {\n nick: 'eldiablobo',\n operatorId: 'THNDR',\n position: 65,\n rank: 65,\n value: 448.5,\n },\n iMRdj6gJwwbvW5TFgGrPyfE2K9V2: {\n nick: 'yeah eyae hayeah',\n operatorId: 'THNDR',\n position: 66,\n rank: 66,\n value: 445.5,\n },\n iSktZeq7olZipQvAsBwPQ0kVQCk1: {\n nick: 'kball',\n operatorId: 'THNDR',\n position: 21,\n rank: 21,\n value: 1880.5,\n },\n m71e9TEHcQVI6gNtKnOA9V8uKCc2: {\n nick: 'Nat',\n operatorId: 'THNDR',\n position: 68,\n rank: 68,\n value: 438.62,\n },\n mRPtWnlvv2ZZX1LOKMw9EeV8PX03: {\n nick: 'Cola90',\n operatorId: 'THNDR',\n position: 82,\n rank: 82,\n value: 308,\n },\n meK5vW1SDdUv5ZK7idQyWHqXYKR2: {\n nick: 'wso18',\n operatorId: 'THNDR',\n position: 24,\n rank: 24,\n value: 1363,\n },\n nToQ1lWacwVaiZ10wmzaXUYd1dS2: {\n nick: 'gastongg5',\n operatorId: 'THNDR',\n position: 70,\n rank: 70,\n value: 414.14000000000004,\n },\n oEXGvwgloVSRJ7aqM48jRry0gp52: {\n nick: 'Lucky4aWhile',\n operatorId: 'THNDR',\n position: 31,\n rank: 31,\n value: 1148.5,\n },\n p8GyX01GGRZVQX2a0ih3OVegt1j2: {\n nick: 'kokojamboo',\n operatorId: 'THNDR',\n position: 30,\n rank: 30,\n value: 1165.5,\n },\n pJEGDyOweoTEKlJ0NsALblBYgpb2: {\n nick: 'Diegote',\n operatorId: 'THNDR',\n position: 80,\n rank: 80,\n value: 309.5,\n },\n pNzsBfAMula1p9k6CutPq8EU7u92: {\n nick: 'whyiodda',\n operatorId: 'THNDR',\n position: 94,\n rank: 93,\n value: 255.5,\n },\n qENvX9vRToPBnFcTB5d69zq8Vog1: {\n nick: 'b3snakes',\n operatorId: 'THNDR',\n position: 61,\n rank: 61,\n value: 488,\n },\n qRmDm0SvbuYwfg7o9OCGNP8oCkJ2: {\n nick: 'Lixeeer',\n operatorId: 'THNDR',\n position: 18,\n rank: 18,\n value: 2668.5,\n },\n qpgdvttycFQIv9fZJOIHGytNznO2: {\n nick: 'mwg',\n operatorId: 'THNDR',\n position: 17,\n rank: 17,\n value: 2775,\n },\n rUKCFNYcroWblcf61IMxAkH1kXh1: {\n nick: 'El Belico',\n operatorId: 'THNDR',\n position: 32,\n rank: 32,\n value: 1132.5,\n },\n s0Qlml5rUfftTdPvAOEfBeaGslT2: {\n nick: 'katie',\n operatorId: 'THNDR',\n position: 73,\n rank: 73,\n value: 373.5,\n },\n s8CuwoXVfKajUoHKYthX7Apvcz92: {\n nick: 'ralf',\n operatorId: 'THNDR',\n position: 42,\n rank: 42,\n value: 771,\n },\n sU0QcGkr0Pe60tUwItFdb1STzgn1: {\n nick: 'jennadeea',\n operatorId: 'THNDR',\n position: 72,\n rank: 72,\n value: 405.5,\n },\n tjXxUidlZwbToR6S47KozoKBezC2: {\n nick: 'cowmaster',\n operatorId: 'THNDR',\n position: 41,\n rank: 41,\n value: 796,\n },\n uwDvADYKOLNmQJ9WX83SXUmjA0i1: {\n nick: 'Lavalava',\n operatorId: 'THNDR',\n position: 90,\n rank: 90,\n value: 274.5,\n },\n vfrqXxPqY9WZPSbem0Clz8vyRTn1: {\n nick: 'passie',\n operatorId: 'THNDR',\n position: 34,\n rank: 34,\n value: 1048,\n },\n wVsUPJzFsAYPGDMfyVFIXUJLeap1: {\n nick: 'jaflowers515',\n operatorId: 'THNDR',\n position: 97,\n rank: 97,\n value: 246.20000000000002,\n },\n wwACEIvG3LWbirz1Axs5XM0RDyh2: {\n nick: 'DemonaZA',\n operatorId: 'THNDR',\n position: 91,\n rank: 91,\n value: 268,\n },\n xCuf2JIaZMga2lKEiIsqp3VfFoP2: {\n nick: 'wowza',\n operatorId: 'THNDR',\n position: 26,\n rank: 26,\n value: 1332.5,\n },\n yDAwydl9hKhXwGRnNGndzGKc8Rw1: {\n nick: 'Bulldogge',\n operatorId: 'THNDR',\n position: 100,\n rank: 100,\n value: 240,\n },\n },\n },\n },\n};\n","import { Injectable } from '@angular/core';\nimport {\n HttpInterceptor,\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpResponse,\n} from '@angular/common/http';\nimport { OperatorService } from '../services/operator/operator.service';\nimport { Observable, of } from 'rxjs';\nimport {\n ACTIVITY_FEED,\n LEADERBOARDS,\n OPERATOR_DATA,\n PRACTICE_ROUNDS,\n PROFILE,\n ROOMS,\n TIERS,\n TOURNAMENTS,\n WAITING_OPPONENTS,\n} from '../api/wager-api';\nimport { TIERS_MOCK } from './mock-responses/tiers.mock';\nimport { PRACTICE_ROUNDS_SOLITAIRE_MOCK } from './mock-responses/practice-rounds-solitaire.mock';\nimport { PRACTICE_ROUNDS_BLOCKS_MOCK } from './mock-responses/practice-rounds-blocks.mock';\nimport { PRACTICE_ROUNDS_BLACKJACK_MOCK } from './mock-responses/practice-rounds-blackjack.mock';\nimport { WAITING_OPPONENTS_MOCK } from './mock-responses/waiting-opponents.mock';\nimport { PROFILE_MOCK } from './mock-responses/profile.mock';\nimport { OPERATOR_DATA_MOCK } from './mock-responses/operator-data.mock';\nimport {\n ACTIVITY_FEED_BLACKJACK_MOCK,\n ACTIVITY_FEED_BLOCKS_MOCK,\n ACTIVITY_FEED_SOLITAIRE_MOCK,\n} from './mock-responses/activiy-feed.mock';\nimport {\n LEADERBOARD_MOSTMONEY_1DAY,\n LEADERBOARD_MOSTMONEY_30DAY,\n LEADERBOARD_MOSTMONEY_7DAY,\n LEADERBOARD_MOSTMONEY_ALLTIME,\n LEADERBOARD_MOSTWINS_1DAY,\n LEADERBOARD_MOSTWINS_30DAY,\n LEADERBOARD_MOSTWINS_7DAY,\n LEADERBOARD_MOSTWINS_ALLTIME,\n} from './mock-responses/leaderboards.mock';\nimport {\n LeaderboardPeriodType,\n LeaderboardType,\n} from '../services/leaderboards/models/leaderboard-metadata';\n\n@Injectable()\nexport class DemoInterceptor implements HttpInterceptor {\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n if (!OperatorService.IsDemo) {\n return next.handle(request);\n }\n\n try {\n const mockResponse = this.mockResponseForUrl(request.url);\n return of(mockResponse);\n } catch (error) {\n return next.handle(request);\n }\n }\n\n private mockResponseForUrl(url: string) {\n if (url.includes(OPERATOR_DATA)) {\n return new HttpResponse(OPERATOR_DATA_MOCK);\n }\n if (url.includes(PROFILE)) {\n return new HttpResponse(PROFILE_MOCK);\n }\n if (url.includes(TIERS)) {\n return new HttpResponse(TIERS_MOCK);\n }\n if (url.includes(WAITING_OPPONENTS)) {\n return new HttpResponse(WAITING_OPPONENTS_MOCK);\n }\n if (url.includes(ROOMS) && url.includes(TOURNAMENTS)) {\n return new HttpResponse({\n status: 200,\n body: {\n status: 200,\n msg: 'Room tournaments',\n data: undefined,\n },\n });\n }\n if (url.includes(LEADERBOARDS)) {\n if (url.includes(LeaderboardType.MostWins)) {\n if (url.includes(LeaderboardPeriodType.Daily)) {\n return new HttpResponse(LEADERBOARD_MOSTWINS_1DAY);\n }\n if (url.includes(LeaderboardPeriodType.Weekly)) {\n return new HttpResponse(LEADERBOARD_MOSTWINS_7DAY);\n }\n if (url.includes(LeaderboardPeriodType.Monthly)) {\n return new HttpResponse(LEADERBOARD_MOSTWINS_30DAY);\n }\n if (url.includes(LeaderboardPeriodType.AllTime)) {\n return new HttpResponse(LEADERBOARD_MOSTWINS_ALLTIME);\n }\n } else if (url.includes(LeaderboardType.MostMoneyWon)) {\n if (url.includes(LeaderboardPeriodType.Daily)) {\n return new HttpResponse(LEADERBOARD_MOSTMONEY_1DAY);\n }\n if (url.includes(LeaderboardPeriodType.Weekly)) {\n return new HttpResponse(LEADERBOARD_MOSTMONEY_7DAY);\n }\n if (url.includes(LeaderboardPeriodType.Monthly)) {\n return new HttpResponse(LEADERBOARD_MOSTMONEY_30DAY);\n }\n if (url.includes(LeaderboardPeriodType.AllTime)) {\n return new HttpResponse(LEADERBOARD_MOSTMONEY_ALLTIME);\n }\n }\n }\n if (url.includes(ACTIVITY_FEED)) {\n let activityMock: any;\n if (url.includes('solitaire')) {\n activityMock = ACTIVITY_FEED_SOLITAIRE_MOCK;\n } else if (url.includes('blocks')) {\n activityMock = ACTIVITY_FEED_BLOCKS_MOCK;\n } else if (url.includes('blackjack')) {\n activityMock = ACTIVITY_FEED_BLACKJACK_MOCK;\n }\n if (activityMock) {\n this.updateActivityFeedDates(activityMock);\n return new HttpResponse(activityMock);\n }\n }\n if (url.includes(PRACTICE_ROUNDS)) {\n if (url.includes('solitaire')) {\n const randomIndex = this.getRandomIndex(PRACTICE_ROUNDS_SOLITAIRE_MOCK);\n return new HttpResponse(PRACTICE_ROUNDS_SOLITAIRE_MOCK[randomIndex]);\n } else if (url.includes('blocks')) {\n const randomIndex = this.getRandomIndex(PRACTICE_ROUNDS_BLOCKS_MOCK);\n return new HttpResponse(PRACTICE_ROUNDS_BLOCKS_MOCK[randomIndex]);\n } else if (url.includes('blackjack')) {\n const randomIndex = this.getRandomIndex(PRACTICE_ROUNDS_BLACKJACK_MOCK);\n return new HttpResponse(PRACTICE_ROUNDS_BLACKJACK_MOCK[randomIndex]);\n }\n }\n\n throw new Error(`No mock response for url: ${url}`);\n }\n\n private getRandomIndex(array: T[]): number {\n return Math.floor(Math.random() * array.length);\n }\n\n /**\n * Iterates over each activity record and updates its createdAt timestamp\n * to have today's date while keeping the original time.\n */\n private updateActivityFeedDates(activityFeed: any): void {\n if (activityFeed && activityFeed.body.data && activityFeed.body.data.activities) {\n Object.keys(activityFeed.body.data.activities).forEach((timeKey) => {\n const activityGroup = activityFeed.body.data.activities[timeKey];\n Object.keys(activityGroup).forEach((activityKey) => {\n const activity = activityGroup[activityKey];\n if (activity.createdAt) {\n const originalDate = new Date(activity.createdAt);\n const now = new Date();\n // Create a new Date with today's date and the original time\n const updatedDate = new Date(\n now.getFullYear(),\n now.getMonth(),\n now.getDate(),\n originalDate.getHours(),\n originalDate.getMinutes(),\n originalDate.getSeconds(),\n originalDate.getMilliseconds(),\n );\n activity.createdAt = updatedDate.getTime();\n }\n });\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { UIModule } from 'src/app/ui/ui.module';\nimport { TranslocoRootModule } from 'src/app/core/translation/transloco-root.module';\nimport { CommonModule } from '@angular/common';\nimport { SpinnersComponent } from './spinners.component';\n\n@NgModule({\n imports: [CommonModule, FormsModule, IonicModule, UIModule, TranslocoRootModule],\n declarations: [SpinnersComponent],\n})\nexport class SpinnersModule {}\n","import * as Sentry from '@sentry/capacitor';\nimport * as SentryAngular from '@sentry/angular';\n\nimport { APP_INITIALIZER, ErrorHandler, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { Router, RouteReuseStrategy } from '@angular/router';\nimport { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';\nimport { IonicModule, IonicRouteStrategy } from '@ionic/angular';\nimport { IonicStorageModule } from '@ionic/storage-angular';\nimport { AppComponent } from './app.component';\nimport { AppRoutingModule } from './app-routing.module';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { TranslocoRootModule } from './core/translation/transloco-root.module';\nimport { UIModule } from './ui/ui.module';\nimport { CurrencyPipe } from '@angular/common';\nimport { TranslationService } from './core/services/translation/translation.service';\nimport { InitService } from './core/services/init/init.service';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { DepositWatcherService } from './core/services/deposit/deposit-watcher.service';\nimport { SingularService } from './core/services/singular/singular.service';\nimport { AuthInterceptor } from './core/interceptors/auth.interceptor';\nimport { DemoInterceptor } from './core/interceptors/demo.interceptor';\nimport config from 'capacitor.config';\nimport { environment } from 'src/environments/environment';\nimport { AppHeaderComponent } from './features/app-header/app-header.component';\nimport { GameScoreComponent } from './features/app-header/game-score/game-score.component';\nimport { PipeModule } from './core/pipes/pipes.module';\nimport { NavbarComponent } from './features/app-header/navbar/navbar.component';\nimport { SpinnersModule } from './features/spinners/spinners.module';\n\nexport function initializeTranslation(translationService: TranslationService) {\n return () => translationService.preloadLanguage();\n}\n\nSentry.init(\n {\n dsn: 'https://ab8adf37d58f465a6f14722ba1ef5f23@o4508852223737856.ingest.us.sentry.io/4508925878534144',\n release: `clinch@${config.plugins?.['CapacitorUpdater']?.['version']}`,\n environment: environment.production ? 'production' : 'sandbox',\n dist: `${environment.build}`,\n integrations: [Sentry.browserTracingIntegration()],\n tracesSampleRate: environment.production ? 0.1 : 1.0,\n tracePropagationTargets: ['localhost', /^https:\\/\\/play\\.clinch\\.gg\\//],\n debug: false,\n },\n // Forward the init method from @sentry/angular\n SentryAngular.init,\n);\n\n@NgModule({\n declarations: [AppComponent, AppHeaderComponent, NavbarComponent, GameScoreComponent],\n imports: [\n BrowserModule,\n IonicModule.forRoot({\n rippleEffect: true,\n mode: 'md',\n }),\n IonicStorageModule.forRoot(),\n AppRoutingModule,\n UIModule,\n HttpClientModule,\n TranslateModule.forRoot(),\n TranslocoRootModule,\n BrowserAnimationsModule,\n SpinnersModule,\n PipeModule,\n ],\n providers: [\n { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },\n { provide: ErrorHandler, useValue: SentryAngular.createErrorHandler() },\n TranslationService,\n CurrencyPipe,\n {\n provide: SentryAngular.TraceService,\n deps: [Router],\n },\n {\n provide: APP_INITIALIZER,\n useFactory: initializeTranslation,\n deps: [TranslationService, SentryAngular.TraceService],\n multi: true,\n },\n { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },\n { provide: HTTP_INTERCEPTORS, useClass: DemoInterceptor, multi: true },\n ],\n bootstrap: [AppComponent],\n})\nexport class AppModule {\n constructor(\n private initService: InitService,\n private depositWatcher: DepositWatcherService,\n private singularService: SingularService,\n ) {}\n}\n","import { init as browserInit } from '@sentry/browser';\nimport { getClient, getGlobalScope, getIntegrationsToSetup, getIsolationScope, logger } from '@sentry/core';\nimport { getDefaultIntegrations } from './integrations/default';\nimport { enableSyncToNative } from './scopeSync';\nimport { useEncodePolyfill } from './transports/encodePolyfill';\nimport { DEFAULT_BUFFER_SIZE, makeNativeTransport } from './transports/native';\nimport { safeFactory } from './utils/safeFactory';\nimport { IsTextEncoderAvailable } from './utils/textEncoder';\nimport { NATIVE } from './wrapper';\n/**\n * Initializes the Capacitor SDK alongside a sibling Sentry SDK\n * @param options Options for the SDK\n * @param originalInit The init function of the sibling SDK, leave blank to initialize with `@sentry/browser`\n */\nexport function init(passedOptions, originalInit = browserInit) {\n var _a, _b, _c;\n const finalOptions = {\n enableAutoSessionTracking: true,\n enableWatchdogTerminationTracking: true,\n enableCaptureFailedRequests: false,\n ...passedOptions,\n };\n if (finalOptions.enabled === false || NATIVE.platform === 'web') {\n finalOptions.enableNative = false;\n finalOptions.enableNativeNagger = false;\n }\n else {\n // keep the original value if user defined it.\n (_a = finalOptions.enableNativeNagger) !== null && _a !== void 0 ? _a : (finalOptions.enableNativeNagger = true);\n (_b = finalOptions.enableNative) !== null && _b !== void 0 ? _b : (finalOptions.enableNative = true);\n }\n // const capacitorHub = new Hub(undefined, new CapacitorScope());\n // makeMain(capacitorHub);\n const defaultIntegrations = passedOptions.defaultIntegrations === undefined\n ? getDefaultIntegrations(passedOptions)\n : passedOptions.defaultIntegrations;\n finalOptions.integrations = getIntegrationsToSetup({\n integrations: safeFactory(passedOptions.integrations, {\n loggerMessage: 'The integrations threw an error',\n }),\n defaultIntegrations,\n });\n if (finalOptions.enableNative &&\n !passedOptions.transport &&\n NATIVE.platform !== 'web') {\n finalOptions.transport = passedOptions.transport || makeNativeTransport;\n finalOptions.transportOptions = {\n ...((_c = passedOptions.transportOptions) !== null && _c !== void 0 ? _c : {}),\n bufferSize: DEFAULT_BUFFER_SIZE,\n };\n }\n if (!IsTextEncoderAvailable()) {\n useEncodePolyfill();\n }\n if (finalOptions.enableNative) {\n enableSyncToNative(getGlobalScope());\n enableSyncToNative(getIsolationScope());\n }\n const browserOptions = {\n ...finalOptions,\n autoSessionTracking: NATIVE.platform === 'web' && finalOptions.enableAutoSessionTracking,\n };\n const mobileOptions = {\n ...finalOptions,\n enableAutoSessionTracking: NATIVE.platform !== 'web' && finalOptions.enableAutoSessionTracking,\n };\n // We first initialize the NATIVE SDK to avoid the Javascript SDK to invoke any\n // feature from the NATIVE SDK without the options being set.\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n void NATIVE.initNativeSdk(mobileOptions);\n originalInit(browserOptions);\n}\n/**\n * Closes the SDK, stops sending events.\n */\nexport async function close() {\n try {\n const client = getClient();\n if (client) {\n await client.close();\n await NATIVE.closeNativeSdk();\n }\n }\n catch (e) {\n logger.error('Failed to close the SDK');\n }\n}\n/**\n * If native client is available it will trigger a native crash\n * Use this only for testing purposes\n */\nexport function nativeCrash() {\n NATIVE.crash();\n}\n","import { deviceContextIntegration } from './devicecontext';\nimport { eventOriginIntegration } from './eventorigin';\nimport { nativeReleaseIntegration } from './release';\nimport { capacitorRewriteFramesIntegration } from './rewriteframes';\nimport { sdkInfoIntegration } from './sdkinfo';\n/**\n * Returns the default Capacitor integrations based on the current environment.\n */\nexport function getDefaultIntegrations(options) {\n const integrations = [];\n integrations.push(capacitorRewriteFramesIntegration());\n integrations.push(nativeReleaseIntegration());\n integrations.push(eventOriginIntegration());\n integrations.push(sdkInfoIntegration());\n if (options.enableNative) {\n integrations.push(deviceContextIntegration());\n }\n return integrations;\n}\n","export const IsTextEncoderAvailable = () => {\n return typeof TextEncoder !== 'undefined';\n};\n","import { getActiveSpan, getRootSpan, spanToJSON, logger, SPAN_STATUS_ERROR } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nfunction registerBackgroundTabDetection() {\n if (WINDOW && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', () => {\n const activeSpan = getActiveSpan();\n if (!activeSpan) {\n return;\n }\n\n const rootSpan = getRootSpan(activeSpan);\n\n if (WINDOW.document.hidden && rootSpan) {\n const cancelledStatus = 'cancelled';\n\n const { op, status } = spanToJSON(rootSpan);\n\n if (DEBUG_BUILD) {\n logger.log(`[Tracing] Transaction: ${cancelledStatus} -> since tab moved to the background, op: ${op}`);\n }\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 (!status) {\n rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message: cancelledStatus });\n }\n\n rootSpan.setAttribute('sentry.cancellation_reason', 'document.hidden');\n rootSpan.end();\n }\n });\n } else {\n DEBUG_BUILD && logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n\nexport { registerBackgroundTabDetection };\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\n// Preload modules to prevent loading chunk failed error when offline\nimport '@ionic/core/dist/esm/ion-alert.entry.js';\nimport '@ionic/core/dist/esm/ion-loading.entry.js';\nimport '@ionic/core/dist/esm/ion-modal.entry.js';\nimport '@ionic/core/dist/esm/ion-toast.entry.js';\nimport '@ionic/core/dist/esm/ion-action-sheet.entry.js';\nimport '@ionic/core/dist/esm/ion-popover.entry.js';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic()\n .bootstrapModule(AppModule)\n .catch((err) => console.log(err));\n","/**\n * @since 6.0.0\n */\nexport var ConsentType;\n(function (ConsentType) {\n /**\n * @since 6.0.0\n */\n ConsentType[\"AdPersonalization\"] = \"AD_PERSONALIZATION\";\n /**\n * @since 6.0.0\n */\n ConsentType[\"AdStorage\"] = \"AD_STORAGE\";\n /**\n * @since 6.0.0\n */\n ConsentType[\"AdUserData\"] = \"AD_USER_DATA\";\n /**\n * @since 6.0.0\n */\n ConsentType[\"AnalyticsStorage\"] = \"ANALYTICS_STORAGE\";\n /**\n * @since 6.0.0\n */\n ConsentType[\"FunctionalityStorage\"] = \"FUNCTIONALITY_STORAGE\";\n /**\n * @since 6.0.0\n */\n ConsentType[\"PersonalizationStorage\"] = \"PERSONALIZATION_STORAGE\";\n})(ConsentType || (ConsentType = {}));\n/**\n * @since 6.0.0\n */\nexport var ConsentStatus;\n(function (ConsentStatus) {\n /**\n * @since 6.0.0\n */\n ConsentStatus[\"Granted\"] = \"GRANTED\";\n /**\n * @since 6.0.0\n */\n ConsentStatus[\"Denied\"] = \"DENIED\";\n})(ConsentStatus || (ConsentStatus = {}));\n","/// \n/**\n * @since 5.2.0\n */\nexport var Persistence;\n(function (Persistence) {\n /**\n * Long term persistence using IndexedDB.\n *\n * @since 5.2.0\n */\n Persistence[\"IndexedDbLocal\"] = \"INDEXED_DB_LOCAL\";\n /**\n * No persistence.\n *\n * @since 5.2.0\n */\n Persistence[\"InMemory\"] = \"IN_MEMORY\";\n /**\n * Long term persistence using local storage.\n *\n * @since 5.2.0\n */\n Persistence[\"BrowserLocal\"] = \"BROWSER_LOCAL\";\n /**\n * Temporary persistence using session storage.\n *\n * @since 5.2.0\n */\n Persistence[\"BrowserSession\"] = \"BROWSER_SESSION\";\n})(Persistence || (Persistence = {}));\nexport var ProviderId;\n(function (ProviderId) {\n ProviderId[\"APPLE\"] = \"apple.com\";\n ProviderId[\"FACEBOOK\"] = \"facebook.com\";\n ProviderId[\"GAME_CENTER\"] = \"gc.apple.com\";\n ProviderId[\"GITHUB\"] = \"github.com\";\n ProviderId[\"GOOGLE\"] = \"google.com\";\n ProviderId[\"MICROSOFT\"] = \"microsoft.com\";\n ProviderId[\"PLAY_GAMES\"] = \"playgames.google.com\";\n ProviderId[\"TWITTER\"] = \"twitter.com\";\n ProviderId[\"YAHOO\"] = \"yahoo.com\";\n ProviderId[\"PASSWORD\"] = \"password\";\n ProviderId[\"PHONE\"] = \"phone\";\n})(ProviderId || (ProviderId = {}));\n","import { registerPlugin } from '@capacitor/core';\nconst FirebaseAuthentication = registerPlugin('FirebaseAuthentication', {\n web: () => import('./web').then(m => new m.FirebaseAuthenticationWeb()),\n});\nexport * from './definitions';\nexport { FirebaseAuthentication };\n","/*! Capacitor: https://capacitorjs.com/ - MIT License */\nconst createCapacitorPlatforms = (win) => {\n const defaultPlatformMap = new Map();\n defaultPlatformMap.set('web', { name: 'web' });\n const capPlatforms = win.CapacitorPlatforms || {\n currentPlatform: { name: 'web' },\n platforms: defaultPlatformMap,\n };\n const addPlatform = (name, platform) => {\n capPlatforms.platforms.set(name, platform);\n };\n const setPlatform = (name) => {\n if (capPlatforms.platforms.has(name)) {\n capPlatforms.currentPlatform = capPlatforms.platforms.get(name);\n }\n };\n capPlatforms.addPlatform = addPlatform;\n capPlatforms.setPlatform = setPlatform;\n return capPlatforms;\n};\nconst initPlatforms = (win) => (win.CapacitorPlatforms = createCapacitorPlatforms(win));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst CapacitorPlatforms = /*#__PURE__*/ initPlatforms((typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {}));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst addPlatform = CapacitorPlatforms.addPlatform;\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst setPlatform = CapacitorPlatforms.setPlatform;\n\nconst legacyRegisterWebPlugin = (cap, webPlugin) => {\n var _a;\n const config = webPlugin.config;\n const Plugins = cap.Plugins;\n if (!(config === null || config === void 0 ? void 0 : config.name)) {\n // TODO: add link to upgrade guide\n throw new Error(`Capacitor WebPlugin is using the deprecated \"registerWebPlugin()\" function, but without the config. Please use \"registerPlugin()\" instead to register this web plugin.\"`);\n }\n // TODO: add link to upgrade guide\n console.warn(`Capacitor plugin \"${config.name}\" is using the deprecated \"registerWebPlugin()\" function`);\n if (!Plugins[config.name] || ((_a = config === null || config === void 0 ? void 0 : config.platforms) === null || _a === void 0 ? void 0 : _a.includes(cap.getPlatform()))) {\n // Add the web plugin into the plugins registry if there already isn't\n // an existing one. If it doesn't already exist, that means\n // there's no existing native implementation for it.\n // - OR -\n // If we already have a plugin registered (meaning it was defined in the native layer),\n // then we should only overwrite it if the corresponding web plugin activates on\n // a certain platform. For example: Geolocation uses the WebPlugin on Android but not iOS\n Plugins[config.name] = webPlugin;\n }\n};\n\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\nclass CapacitorException extends Error {\n constructor(message, code, data) {\n super(message);\n this.message = message;\n this.code = code;\n this.data = data;\n }\n}\nconst getPlatformId = (win) => {\n var _a, _b;\n if (win === null || win === void 0 ? void 0 : win.androidBridge) {\n return 'android';\n }\n else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {\n return 'ios';\n }\n else {\n return 'web';\n }\n};\n\nconst createCapacitor = (win) => {\n var _a, _b, _c, _d, _e;\n const capCustomPlatform = win.CapacitorCustomPlatform || null;\n const cap = win.Capacitor || {};\n const Plugins = (cap.Plugins = cap.Plugins || {});\n /**\n * @deprecated Use `capCustomPlatform` instead, default functions like registerPlugin will function with the new object.\n */\n const capPlatforms = win.CapacitorPlatforms;\n const defaultGetPlatform = () => {\n return capCustomPlatform !== null\n ? capCustomPlatform.name\n : getPlatformId(win);\n };\n const getPlatform = ((_a = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _a === void 0 ? void 0 : _a.getPlatform) || defaultGetPlatform;\n const defaultIsNativePlatform = () => getPlatform() !== 'web';\n const isNativePlatform = ((_b = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _b === void 0 ? void 0 : _b.isNativePlatform) || defaultIsNativePlatform;\n const defaultIsPluginAvailable = (pluginName) => {\n const plugin = registeredPlugins.get(pluginName);\n if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {\n // JS implementation available for the current platform.\n return true;\n }\n if (getPluginHeader(pluginName)) {\n // Native implementation available.\n return true;\n }\n return false;\n };\n const isPluginAvailable = ((_c = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _c === void 0 ? void 0 : _c.isPluginAvailable) ||\n defaultIsPluginAvailable;\n const defaultGetPluginHeader = (pluginName) => { var _a; return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find(h => h.name === pluginName); };\n const getPluginHeader = ((_d = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _d === void 0 ? void 0 : _d.getPluginHeader) || defaultGetPluginHeader;\n const handleError = (err) => win.console.error(err);\n const pluginMethodNoop = (_target, prop, pluginName) => {\n return Promise.reject(`${pluginName} does not have an implementation of \"${prop}\".`);\n };\n const registeredPlugins = new Map();\n const defaultRegisterPlugin = (pluginName, jsImplementations = {}) => {\n const registeredPlugin = registeredPlugins.get(pluginName);\n if (registeredPlugin) {\n console.warn(`Capacitor plugin \"${pluginName}\" already registered. Cannot register plugins twice.`);\n return registeredPlugin.proxy;\n }\n const platform = getPlatform();\n const pluginHeader = getPluginHeader(pluginName);\n let jsImplementation;\n const loadPluginImplementation = async () => {\n if (!jsImplementation && platform in jsImplementations) {\n jsImplementation =\n typeof jsImplementations[platform] === 'function'\n ? (jsImplementation = await jsImplementations[platform]())\n : (jsImplementation = jsImplementations[platform]);\n }\n else if (capCustomPlatform !== null &&\n !jsImplementation &&\n 'web' in jsImplementations) {\n jsImplementation =\n typeof jsImplementations['web'] === 'function'\n ? (jsImplementation = await jsImplementations['web']())\n : (jsImplementation = jsImplementations['web']);\n }\n return jsImplementation;\n };\n const createPluginMethod = (impl, prop) => {\n var _a, _b;\n if (pluginHeader) {\n const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find(m => prop === m.name);\n if (methodHeader) {\n if (methodHeader.rtype === 'promise') {\n return (options) => cap.nativePromise(pluginName, prop.toString(), options);\n }\n else {\n return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);\n }\n }\n else if (impl) {\n return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);\n }\n }\n else if (impl) {\n return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);\n }\n else {\n throw new CapacitorException(`\"${pluginName}\" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n };\n const createPluginMethodWrapper = (prop) => {\n let remove;\n const wrapper = (...args) => {\n const p = loadPluginImplementation().then(impl => {\n const fn = createPluginMethod(impl, prop);\n if (fn) {\n const p = fn(...args);\n remove = p === null || p === void 0 ? void 0 : p.remove;\n return p;\n }\n else {\n throw new CapacitorException(`\"${pluginName}.${prop}()\" is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n });\n if (prop === 'addListener') {\n p.remove = async () => remove();\n }\n return p;\n };\n // Some flair ✨\n wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;\n Object.defineProperty(wrapper, 'name', {\n value: prop,\n writable: false,\n configurable: false,\n });\n return wrapper;\n };\n const addListener = createPluginMethodWrapper('addListener');\n const removeListener = createPluginMethodWrapper('removeListener');\n const addListenerNative = (eventName, callback) => {\n const call = addListener({ eventName }, callback);\n const remove = async () => {\n const callbackId = await call;\n removeListener({\n eventName,\n callbackId,\n }, callback);\n };\n const p = new Promise(resolve => call.then(() => resolve({ remove })));\n p.remove = async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n };\n return p;\n };\n const proxy = new Proxy({}, {\n get(_, prop) {\n switch (prop) {\n // https://github.com/facebook/react/issues/20030\n case '$$typeof':\n return undefined;\n case 'toJSON':\n return () => ({});\n case 'addListener':\n return pluginHeader ? addListenerNative : addListener;\n case 'removeListener':\n return removeListener;\n default:\n return createPluginMethodWrapper(prop);\n }\n },\n });\n Plugins[pluginName] = proxy;\n registeredPlugins.set(pluginName, {\n name: pluginName,\n proxy,\n platforms: new Set([\n ...Object.keys(jsImplementations),\n ...(pluginHeader ? [platform] : []),\n ]),\n });\n return proxy;\n };\n const registerPlugin = ((_e = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _e === void 0 ? void 0 : _e.registerPlugin) || defaultRegisterPlugin;\n // Add in convertFileSrc for web, it will already be available in native context\n if (!cap.convertFileSrc) {\n cap.convertFileSrc = filePath => filePath;\n }\n cap.getPlatform = getPlatform;\n cap.handleError = handleError;\n cap.isNativePlatform = isNativePlatform;\n cap.isPluginAvailable = isPluginAvailable;\n cap.pluginMethodNoop = pluginMethodNoop;\n cap.registerPlugin = registerPlugin;\n cap.Exception = CapacitorException;\n cap.DEBUG = !!cap.DEBUG;\n cap.isLoggingEnabled = !!cap.isLoggingEnabled;\n // Deprecated props\n cap.platform = cap.getPlatform();\n cap.isNative = cap.isNativePlatform();\n return cap;\n};\nconst initCapacitorGlobal = (win) => (win.Capacitor = createCapacitor(win));\n\nconst Capacitor = /*#__PURE__*/ initCapacitorGlobal(typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {});\nconst registerPlugin = Capacitor.registerPlugin;\n/**\n * @deprecated Provided for backwards compatibility for Capacitor v2 plugins.\n * Capacitor v3 plugins should import the plugin directly. This \"Plugins\"\n * export is deprecated in v3, and will be removed in v4.\n */\nconst Plugins = Capacitor.Plugins;\n/**\n * Provided for backwards compatibility. Use the registerPlugin() API\n * instead, and provide the web plugin as the \"web\" implmenetation.\n * For example\n *\n * export const Example = registerPlugin('Example', {\n * web: () => import('./web').then(m => new m.Example())\n * })\n *\n * @deprecated Deprecated in v3, will be removed from v4.\n */\nconst registerWebPlugin = (plugin) => legacyRegisterWebPlugin(Capacitor, plugin);\n\n/**\n * Base class web plugins should extend.\n */\nclass WebPlugin {\n constructor(config) {\n this.listeners = {};\n this.retainedEventArguments = {};\n this.windowListeners = {};\n if (config) {\n // TODO: add link to upgrade guide\n console.warn(`Capacitor WebPlugin \"${config.name}\" config object was deprecated in v3 and will be removed in v4.`);\n this.config = config;\n }\n }\n addListener(eventName, listenerFunc) {\n let firstListener = false;\n const listeners = this.listeners[eventName];\n if (!listeners) {\n this.listeners[eventName] = [];\n firstListener = true;\n }\n this.listeners[eventName].push(listenerFunc);\n // If we haven't added a window listener for this event and it requires one,\n // go ahead and add it\n const windowListener = this.windowListeners[eventName];\n if (windowListener && !windowListener.registered) {\n this.addWindowListener(windowListener);\n }\n if (firstListener) {\n this.sendRetainedArgumentsForEvent(eventName);\n }\n const remove = async () => this.removeListener(eventName, listenerFunc);\n const p = Promise.resolve({ remove });\n return p;\n }\n async removeAllListeners() {\n this.listeners = {};\n for (const listener in this.windowListeners) {\n this.removeWindowListener(this.windowListeners[listener]);\n }\n this.windowListeners = {};\n }\n notifyListeners(eventName, data, retainUntilConsumed) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n if (retainUntilConsumed) {\n let args = this.retainedEventArguments[eventName];\n if (!args) {\n args = [];\n }\n args.push(data);\n this.retainedEventArguments[eventName] = args;\n }\n return;\n }\n listeners.forEach(listener => listener(data));\n }\n hasListeners(eventName) {\n return !!this.listeners[eventName].length;\n }\n registerWindowListener(windowEventName, pluginEventName) {\n this.windowListeners[pluginEventName] = {\n registered: false,\n windowEventName,\n pluginEventName,\n handler: event => {\n this.notifyListeners(pluginEventName, event);\n },\n };\n }\n unimplemented(msg = 'not implemented') {\n return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);\n }\n unavailable(msg = 'not available') {\n return new Capacitor.Exception(msg, ExceptionCode.Unavailable);\n }\n async removeListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(listenerFunc);\n this.listeners[eventName].splice(index, 1);\n // If there are no more listeners for this type of event,\n // remove the window listener\n if (!this.listeners[eventName].length) {\n this.removeWindowListener(this.windowListeners[eventName]);\n }\n }\n addWindowListener(handle) {\n window.addEventListener(handle.windowEventName, handle.handler);\n handle.registered = true;\n }\n removeWindowListener(handle) {\n if (!handle) {\n return;\n }\n window.removeEventListener(handle.windowEventName, handle.handler);\n handle.registered = false;\n }\n sendRetainedArgumentsForEvent(eventName) {\n const args = this.retainedEventArguments[eventName];\n if (!args) {\n return;\n }\n delete this.retainedEventArguments[eventName];\n args.forEach(arg => {\n this.notifyListeners(eventName, arg);\n });\n }\n}\n\nconst WebView = /*#__PURE__*/ registerPlugin('WebView');\n/******** END WEB VIEW PLUGIN ********/\n/******** COOKIES PLUGIN ********/\n/**\n * Safely web encode a string value (inspired by js-cookie)\n * @param str The string value to encode\n */\nconst encode = (str) => encodeURIComponent(str)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n/**\n * Safely web decode a string value (inspired by js-cookie)\n * @param str The string value to decode\n */\nconst decode = (str) => str.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\nclass CapacitorCookiesPluginWeb extends WebPlugin {\n async getCookies() {\n const cookies = document.cookie;\n const cookieMap = {};\n cookies.split(';').forEach(cookie => {\n if (cookie.length <= 0)\n return;\n // Replace first \"=\" with CAP_COOKIE to prevent splitting on additional \"=\"\n let [key, value] = cookie.replace(/=/, 'CAP_COOKIE').split('CAP_COOKIE');\n key = decode(key).trim();\n value = decode(value).trim();\n cookieMap[key] = value;\n });\n return cookieMap;\n }\n async setCookie(options) {\n try {\n // Safely Encoded Key/Value\n const encodedKey = encode(options.key);\n const encodedValue = encode(options.value);\n // Clean & sanitize options\n const expires = `; expires=${(options.expires || '').replace('expires=', '')}`; // Default is \"; expires=\"\n const path = (options.path || '/').replace('path=', ''); // Default is \"path=/\"\n const domain = options.url != null && options.url.length > 0\n ? `domain=${options.url}`\n : '';\n document.cookie = `${encodedKey}=${encodedValue || ''}${expires}; path=${path}; ${domain};`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async deleteCookie(options) {\n try {\n document.cookie = `${options.key}=; Max-Age=0`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearCookies() {\n try {\n const cookies = document.cookie.split(';') || [];\n for (const cookie of cookies) {\n document.cookie = cookie\n .replace(/^ +/, '')\n .replace(/=.*/, `=;expires=${new Date().toUTCString()};path=/`);\n }\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearAllCookies() {\n try {\n await this.clearCookies();\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n}\nconst CapacitorCookies = registerPlugin('CapacitorCookies', {\n web: () => new CapacitorCookiesPluginWeb(),\n});\n// UTILITY FUNCTIONS\n/**\n * Read in a Blob value and return it as a base64 string\n * @param blob The blob value to convert to a base64 string\n */\nconst readBlobAsBase64 = async (blob) => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n const base64String = reader.result;\n // remove prefix \"data:application/pdf;base64,\"\n resolve(base64String.indexOf(',') >= 0\n ? base64String.split(',')[1]\n : base64String);\n };\n reader.onerror = (error) => reject(error);\n reader.readAsDataURL(blob);\n});\n/**\n * Normalize an HttpHeaders map by lowercasing all of the values\n * @param headers The HttpHeaders object to normalize\n */\nconst normalizeHttpHeaders = (headers = {}) => {\n const originalKeys = Object.keys(headers);\n const loweredKeys = Object.keys(headers).map(k => k.toLocaleLowerCase());\n const normalized = loweredKeys.reduce((acc, key, index) => {\n acc[key] = headers[originalKeys[index]];\n return acc;\n }, {});\n return normalized;\n};\n/**\n * Builds a string of url parameters that\n * @param params A map of url parameters\n * @param shouldEncode true if you should encodeURIComponent() the values (true by default)\n */\nconst buildUrlParams = (params, shouldEncode = true) => {\n if (!params)\n return null;\n const output = Object.entries(params).reduce((accumulator, entry) => {\n const [key, value] = entry;\n let encodedValue;\n let item;\n if (Array.isArray(value)) {\n item = '';\n value.forEach(str => {\n encodedValue = shouldEncode ? encodeURIComponent(str) : str;\n item += `${key}=${encodedValue}&`;\n });\n // last character will always be \"&\" so slice it off\n item.slice(0, -1);\n }\n else {\n encodedValue = shouldEncode ? encodeURIComponent(value) : value;\n item = `${key}=${encodedValue}`;\n }\n return `${accumulator}&${item}`;\n }, '');\n // Remove initial \"&\" from the reduce\n return output.substr(1);\n};\n/**\n * Build the RequestInit object based on the options passed into the initial request\n * @param options The Http plugin options\n * @param extra Any extra RequestInit values\n */\nconst buildRequestInit = (options, extra = {}) => {\n const output = Object.assign({ method: options.method || 'GET', headers: options.headers }, extra);\n // Get the content-type\n const headers = normalizeHttpHeaders(options.headers);\n const type = headers['content-type'] || '';\n // If body is already a string, then pass it through as-is.\n if (typeof options.data === 'string') {\n output.body = options.data;\n }\n // Build request initializers based off of content-type\n else if (type.includes('application/x-www-form-urlencoded')) {\n const params = new URLSearchParams();\n for (const [key, value] of Object.entries(options.data || {})) {\n params.set(key, value);\n }\n output.body = params.toString();\n }\n else if (type.includes('multipart/form-data') ||\n options.data instanceof FormData) {\n const form = new FormData();\n if (options.data instanceof FormData) {\n options.data.forEach((value, key) => {\n form.append(key, value);\n });\n }\n else {\n for (const key of Object.keys(options.data)) {\n form.append(key, options.data[key]);\n }\n }\n output.body = form;\n const headers = new Headers(output.headers);\n headers.delete('content-type'); // content-type will be set by `window.fetch` to includy boundary\n output.headers = headers;\n }\n else if (type.includes('application/json') ||\n typeof options.data === 'object') {\n output.body = JSON.stringify(options.data);\n }\n return output;\n};\n// WEB IMPLEMENTATION\nclass CapacitorHttpPluginWeb extends WebPlugin {\n /**\n * Perform an Http request given a set of options\n * @param options Options to build the HTTP request\n */\n async request(options) {\n const requestInit = buildRequestInit(options, options.webFetchExtra);\n const urlParams = buildUrlParams(options.params, options.shouldEncodeUrlParams);\n const url = urlParams ? `${options.url}?${urlParams}` : options.url;\n const response = await fetch(url, requestInit);\n const contentType = response.headers.get('content-type') || '';\n // Default to 'text' responseType so no parsing happens\n let { responseType = 'text' } = response.ok ? options : {};\n // If the response content-type is json, force the response to be json\n if (contentType.includes('application/json')) {\n responseType = 'json';\n }\n let data;\n let blob;\n switch (responseType) {\n case 'arraybuffer':\n case 'blob':\n blob = await response.blob();\n data = await readBlobAsBase64(blob);\n break;\n case 'json':\n data = await response.json();\n break;\n case 'document':\n case 'text':\n default:\n data = await response.text();\n }\n // Convert fetch headers to Capacitor HttpHeaders\n const headers = {};\n response.headers.forEach((value, key) => {\n headers[key] = value;\n });\n return {\n data,\n headers,\n status: response.status,\n url: response.url,\n };\n }\n /**\n * Perform an Http GET request given a set of options\n * @param options Options to build the HTTP request\n */\n async get(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'GET' }));\n }\n /**\n * Perform an Http POST request given a set of options\n * @param options Options to build the HTTP request\n */\n async post(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'POST' }));\n }\n /**\n * Perform an Http PUT request given a set of options\n * @param options Options to build the HTTP request\n */\n async put(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PUT' }));\n }\n /**\n * Perform an Http PATCH request given a set of options\n * @param options Options to build the HTTP request\n */\n async patch(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PATCH' }));\n }\n /**\n * Perform an Http DELETE request given a set of options\n * @param options Options to build the HTTP request\n */\n async delete(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'DELETE' }));\n }\n}\nconst CapacitorHttp = registerPlugin('CapacitorHttp', {\n web: () => new CapacitorHttpPluginWeb(),\n});\n/******** END HTTP PLUGIN ********/\n\nexport { Capacitor, CapacitorCookies, CapacitorException, CapacitorHttp, CapacitorPlatforms, ExceptionCode, Plugins, WebPlugin, WebView, addPlatform, buildRequestInit, registerPlugin, registerWebPlugin, setPlatform };\n","/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at https://mozilla.org/MPL/2.0/.\n */\nimport { registerPlugin } from \"@capacitor/core\";\nconst CapacitorUpdater = registerPlugin(\"CapacitorUpdater\", {\n web: () => import(\"./web\").then((m) => new m.CapacitorUpdaterWeb()),\n});\nexport * from \"./definitions\";\nexport { CapacitorUpdater };\n","/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * @fileoverview Firebase constants. Some of these (@defines) can be overridden at compile-time.\r\n */\r\nconst CONSTANTS = {\r\n /**\r\n * @define {boolean} Whether this is the client Node.js SDK.\r\n */\r\n NODE_CLIENT: false,\r\n /**\r\n * @define {boolean} Whether this is the Admin Node.js SDK.\r\n */\r\n NODE_ADMIN: false,\r\n /**\r\n * Firebase SDK Version\r\n */\r\n SDK_VERSION: '${JSCORE_VERSION}'\r\n};\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Throws an error if the provided assertion is falsy\r\n */\r\nconst assert = function (assertion, message) {\r\n if (!assertion) {\r\n throw assertionError(message);\r\n }\r\n};\r\n/**\r\n * Returns an Error object suitable for throwing.\r\n */\r\nconst assertionError = function (message) {\r\n return new Error('Firebase Database (' +\r\n CONSTANTS.SDK_VERSION +\r\n ') INTERNAL ASSERT FAILED: ' +\r\n message);\r\n};\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst stringToByteArray$1 = function (str) {\r\n // TODO(user): Use native implementations if/when available\r\n const out = [];\r\n let p = 0;\r\n for (let i = 0; i < str.length; i++) {\r\n let c = str.charCodeAt(i);\r\n if (c < 128) {\r\n out[p++] = c;\r\n }\r\n else if (c < 2048) {\r\n out[p++] = (c >> 6) | 192;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n else if ((c & 0xfc00) === 0xd800 &&\r\n i + 1 < str.length &&\r\n (str.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {\r\n // Surrogate Pair\r\n c = 0x10000 + ((c & 0x03ff) << 10) + (str.charCodeAt(++i) & 0x03ff);\r\n out[p++] = (c >> 18) | 240;\r\n out[p++] = ((c >> 12) & 63) | 128;\r\n out[p++] = ((c >> 6) & 63) | 128;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n else {\r\n out[p++] = (c >> 12) | 224;\r\n out[p++] = ((c >> 6) & 63) | 128;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n }\r\n return out;\r\n};\r\n/**\r\n * Turns an array of numbers into the string given by the concatenation of the\r\n * characters to which the numbers correspond.\r\n * @param bytes Array of numbers representing characters.\r\n * @return Stringification of the array.\r\n */\r\nconst byteArrayToString = function (bytes) {\r\n // TODO(user): Use native implementations if/when available\r\n const out = [];\r\n let pos = 0, c = 0;\r\n while (pos < bytes.length) {\r\n const c1 = bytes[pos++];\r\n if (c1 < 128) {\r\n out[c++] = String.fromCharCode(c1);\r\n }\r\n else if (c1 > 191 && c1 < 224) {\r\n const c2 = bytes[pos++];\r\n out[c++] = String.fromCharCode(((c1 & 31) << 6) | (c2 & 63));\r\n }\r\n else if (c1 > 239 && c1 < 365) {\r\n // Surrogate Pair\r\n const c2 = bytes[pos++];\r\n const c3 = bytes[pos++];\r\n const c4 = bytes[pos++];\r\n const u = (((c1 & 7) << 18) | ((c2 & 63) << 12) | ((c3 & 63) << 6) | (c4 & 63)) -\r\n 0x10000;\r\n out[c++] = String.fromCharCode(0xd800 + (u >> 10));\r\n out[c++] = String.fromCharCode(0xdc00 + (u & 1023));\r\n }\r\n else {\r\n const c2 = bytes[pos++];\r\n const c3 = bytes[pos++];\r\n out[c++] = String.fromCharCode(((c1 & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\r\n }\r\n }\r\n return out.join('');\r\n};\r\n// We define it as an object literal instead of a class because a class compiled down to es5 can't\r\n// be treeshaked. https://github.com/rollup/rollup/issues/1691\r\n// Static lookup maps, lazily populated by init_()\r\nconst base64 = {\r\n /**\r\n * Maps bytes to characters.\r\n */\r\n byteToCharMap_: null,\r\n /**\r\n * Maps characters to bytes.\r\n */\r\n charToByteMap_: null,\r\n /**\r\n * Maps bytes to websafe characters.\r\n * @private\r\n */\r\n byteToCharMapWebSafe_: null,\r\n /**\r\n * Maps websafe characters to bytes.\r\n * @private\r\n */\r\n charToByteMapWebSafe_: null,\r\n /**\r\n * Our default alphabet, shared between\r\n * ENCODED_VALS and ENCODED_VALS_WEBSAFE\r\n */\r\n ENCODED_VALS_BASE: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' + 'abcdefghijklmnopqrstuvwxyz' + '0123456789',\r\n /**\r\n * Our default alphabet. Value 64 (=) is special; it means \"nothing.\"\r\n */\r\n get ENCODED_VALS() {\r\n return this.ENCODED_VALS_BASE + '+/=';\r\n },\r\n /**\r\n * Our websafe alphabet.\r\n */\r\n get ENCODED_VALS_WEBSAFE() {\r\n return this.ENCODED_VALS_BASE + '-_.';\r\n },\r\n /**\r\n * Whether this browser supports the atob and btoa functions. This extension\r\n * started at Mozilla but is now implemented by many browsers. We use the\r\n * ASSUME_* variables to avoid pulling in the full useragent detection library\r\n * but still allowing the standard per-browser compilations.\r\n *\r\n */\r\n HAS_NATIVE_SUPPORT: typeof atob === 'function',\r\n /**\r\n * Base64-encode an array of bytes.\r\n *\r\n * @param input An array of bytes (numbers with\r\n * value in [0, 255]) to encode.\r\n * @param webSafe Boolean indicating we should use the\r\n * alternative alphabet.\r\n * @return The base64 encoded string.\r\n */\r\n encodeByteArray(input, webSafe) {\r\n if (!Array.isArray(input)) {\r\n throw Error('encodeByteArray takes an array as a parameter');\r\n }\r\n this.init_();\r\n const byteToCharMap = webSafe\r\n ? this.byteToCharMapWebSafe_\r\n : this.byteToCharMap_;\r\n const output = [];\r\n for (let i = 0; i < input.length; i += 3) {\r\n const byte1 = input[i];\r\n const haveByte2 = i + 1 < input.length;\r\n const byte2 = haveByte2 ? input[i + 1] : 0;\r\n const haveByte3 = i + 2 < input.length;\r\n const byte3 = haveByte3 ? input[i + 2] : 0;\r\n const outByte1 = byte1 >> 2;\r\n const outByte2 = ((byte1 & 0x03) << 4) | (byte2 >> 4);\r\n let outByte3 = ((byte2 & 0x0f) << 2) | (byte3 >> 6);\r\n let outByte4 = byte3 & 0x3f;\r\n if (!haveByte3) {\r\n outByte4 = 64;\r\n if (!haveByte2) {\r\n outByte3 = 64;\r\n }\r\n }\r\n output.push(byteToCharMap[outByte1], byteToCharMap[outByte2], byteToCharMap[outByte3], byteToCharMap[outByte4]);\r\n }\r\n return output.join('');\r\n },\r\n /**\r\n * Base64-encode a string.\r\n *\r\n * @param input A string to encode.\r\n * @param webSafe If true, we should use the\r\n * alternative alphabet.\r\n * @return The base64 encoded string.\r\n */\r\n encodeString(input, webSafe) {\r\n // Shortcut for Mozilla browsers that implement\r\n // a native base64 encoder in the form of \"btoa/atob\"\r\n if (this.HAS_NATIVE_SUPPORT && !webSafe) {\r\n return btoa(input);\r\n }\r\n return this.encodeByteArray(stringToByteArray$1(input), webSafe);\r\n },\r\n /**\r\n * Base64-decode a string.\r\n *\r\n * @param input to decode.\r\n * @param webSafe True if we should use the\r\n * alternative alphabet.\r\n * @return string representing the decoded value.\r\n */\r\n decodeString(input, webSafe) {\r\n // Shortcut for Mozilla browsers that implement\r\n // a native base64 encoder in the form of \"btoa/atob\"\r\n if (this.HAS_NATIVE_SUPPORT && !webSafe) {\r\n return atob(input);\r\n }\r\n return byteArrayToString(this.decodeStringToByteArray(input, webSafe));\r\n },\r\n /**\r\n * Base64-decode a string.\r\n *\r\n * In base-64 decoding, groups of four characters are converted into three\r\n * bytes. If the encoder did not apply padding, the input length may not\r\n * be a multiple of 4.\r\n *\r\n * In this case, the last group will have fewer than 4 characters, and\r\n * padding will be inferred. If the group has one or two characters, it decodes\r\n * to one byte. If the group has three characters, it decodes to two bytes.\r\n *\r\n * @param input Input to decode.\r\n * @param webSafe True if we should use the web-safe alphabet.\r\n * @return bytes representing the decoded value.\r\n */\r\n decodeStringToByteArray(input, webSafe) {\r\n this.init_();\r\n const charToByteMap = webSafe\r\n ? this.charToByteMapWebSafe_\r\n : this.charToByteMap_;\r\n const output = [];\r\n for (let i = 0; i < input.length;) {\r\n const byte1 = charToByteMap[input.charAt(i++)];\r\n const haveByte2 = i < input.length;\r\n const byte2 = haveByte2 ? charToByteMap[input.charAt(i)] : 0;\r\n ++i;\r\n const haveByte3 = i < input.length;\r\n const byte3 = haveByte3 ? charToByteMap[input.charAt(i)] : 64;\r\n ++i;\r\n const haveByte4 = i < input.length;\r\n const byte4 = haveByte4 ? charToByteMap[input.charAt(i)] : 64;\r\n ++i;\r\n if (byte1 == null || byte2 == null || byte3 == null || byte4 == null) {\r\n throw new DecodeBase64StringError();\r\n }\r\n const outByte1 = (byte1 << 2) | (byte2 >> 4);\r\n output.push(outByte1);\r\n if (byte3 !== 64) {\r\n const outByte2 = ((byte2 << 4) & 0xf0) | (byte3 >> 2);\r\n output.push(outByte2);\r\n if (byte4 !== 64) {\r\n const outByte3 = ((byte3 << 6) & 0xc0) | byte4;\r\n output.push(outByte3);\r\n }\r\n }\r\n }\r\n return output;\r\n },\r\n /**\r\n * Lazy static initialization function. Called before\r\n * accessing any of the static map variables.\r\n * @private\r\n */\r\n init_() {\r\n if (!this.byteToCharMap_) {\r\n this.byteToCharMap_ = {};\r\n this.charToByteMap_ = {};\r\n this.byteToCharMapWebSafe_ = {};\r\n this.charToByteMapWebSafe_ = {};\r\n // We want quick mappings back and forth, so we precompute two maps.\r\n for (let i = 0; i < this.ENCODED_VALS.length; i++) {\r\n this.byteToCharMap_[i] = this.ENCODED_VALS.charAt(i);\r\n this.charToByteMap_[this.byteToCharMap_[i]] = i;\r\n this.byteToCharMapWebSafe_[i] = this.ENCODED_VALS_WEBSAFE.charAt(i);\r\n this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[i]] = i;\r\n // Be forgiving when decoding and correctly decode both encodings.\r\n if (i >= this.ENCODED_VALS_BASE.length) {\r\n this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(i)] = i;\r\n this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(i)] = i;\r\n }\r\n }\r\n }\r\n }\r\n};\r\n/**\r\n * An error encountered while decoding base64 string.\r\n */\r\nclass DecodeBase64StringError extends Error {\r\n constructor() {\r\n super(...arguments);\r\n this.name = 'DecodeBase64StringError';\r\n }\r\n}\r\n/**\r\n * URL-safe base64 encoding\r\n */\r\nconst base64Encode = function (str) {\r\n const utf8Bytes = stringToByteArray$1(str);\r\n return base64.encodeByteArray(utf8Bytes, true);\r\n};\r\n/**\r\n * URL-safe base64 encoding (without \".\" padding in the end).\r\n * e.g. Used in JSON Web Token (JWT) parts.\r\n */\r\nconst base64urlEncodeWithoutPadding = function (str) {\r\n // Use base64url encoding and remove padding in the end (dot characters).\r\n return base64Encode(str).replace(/\\./g, '');\r\n};\r\n/**\r\n * URL-safe base64 decoding\r\n *\r\n * NOTE: DO NOT use the global atob() function - it does NOT support the\r\n * base64Url variant encoding.\r\n *\r\n * @param str To be decoded\r\n * @return Decoded result, if possible\r\n */\r\nconst base64Decode = function (str) {\r\n try {\r\n return base64.decodeString(str, true);\r\n }\r\n catch (e) {\r\n console.error('base64Decode failed: ', e);\r\n }\r\n return null;\r\n};\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Do a deep-copy of basic JavaScript Objects or Arrays.\r\n */\r\nfunction deepCopy(value) {\r\n return deepExtend(undefined, value);\r\n}\r\n/**\r\n * Copy properties from source to target (recursively allows extension\r\n * of Objects and Arrays). Scalar values in the target are over-written.\r\n * If target is undefined, an object of the appropriate type will be created\r\n * (and returned).\r\n *\r\n * We recursively copy all child properties of plain Objects in the source- so\r\n * that namespace- like dictionaries are merged.\r\n *\r\n * Note that the target can be a function, in which case the properties in\r\n * the source Object are copied onto it as static properties of the Function.\r\n *\r\n * Note: we don't merge __proto__ to prevent prototype pollution\r\n */\r\nfunction deepExtend(target, source) {\r\n if (!(source instanceof Object)) {\r\n return source;\r\n }\r\n switch (source.constructor) {\r\n case Date:\r\n // Treat Dates like scalars; if the target date object had any child\r\n // properties - they will be lost!\r\n const dateValue = source;\r\n return new Date(dateValue.getTime());\r\n case Object:\r\n if (target === undefined) {\r\n target = {};\r\n }\r\n break;\r\n case Array:\r\n // Always copy the array source and overwrite the target.\r\n target = [];\r\n break;\r\n default:\r\n // Not a plain Object - treat it as a scalar.\r\n return source;\r\n }\r\n for (const prop in source) {\r\n // use isValidKey to guard against prototype pollution. See https://snyk.io/vuln/SNYK-JS-LODASH-450202\r\n if (!source.hasOwnProperty(prop) || !isValidKey(prop)) {\r\n continue;\r\n }\r\n target[prop] = deepExtend(target[prop], source[prop]);\r\n }\r\n return target;\r\n}\r\nfunction isValidKey(key) {\r\n return key !== '__proto__';\r\n}\n\n/**\r\n * @license\r\n * Copyright 2022 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Polyfill for `globalThis` object.\r\n * @returns the `globalThis` object for the given environment.\r\n * @public\r\n */\r\nfunction getGlobal() {\r\n if (typeof self !== 'undefined') {\r\n return self;\r\n }\r\n if (typeof window !== 'undefined') {\r\n return window;\r\n }\r\n if (typeof global !== 'undefined') {\r\n return global;\r\n }\r\n throw new Error('Unable to locate global object.');\r\n}\n\n/**\r\n * @license\r\n * Copyright 2022 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst getDefaultsFromGlobal = () => getGlobal().__FIREBASE_DEFAULTS__;\r\n/**\r\n * Attempt to read defaults from a JSON string provided to\r\n * process(.)env(.)__FIREBASE_DEFAULTS__ or a JSON file whose path is in\r\n * process(.)env(.)__FIREBASE_DEFAULTS_PATH__\r\n * The dots are in parens because certain compilers (Vite?) cannot\r\n * handle seeing that variable in comments.\r\n * See https://github.com/firebase/firebase-js-sdk/issues/6838\r\n */\r\nconst getDefaultsFromEnvVariable = () => {\r\n if (typeof process === 'undefined' || typeof process.env === 'undefined') {\r\n return;\r\n }\r\n const defaultsJsonString = process.env.__FIREBASE_DEFAULTS__;\r\n if (defaultsJsonString) {\r\n return JSON.parse(defaultsJsonString);\r\n }\r\n};\r\nconst getDefaultsFromCookie = () => {\r\n if (typeof document === 'undefined') {\r\n return;\r\n }\r\n let match;\r\n try {\r\n match = document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/);\r\n }\r\n catch (e) {\r\n // Some environments such as Angular Universal SSR have a\r\n // `document` object but error on accessing `document.cookie`.\r\n return;\r\n }\r\n const decoded = match && base64Decode(match[1]);\r\n return decoded && JSON.parse(decoded);\r\n};\r\n/**\r\n * Get the __FIREBASE_DEFAULTS__ object. It checks in order:\r\n * (1) if such an object exists as a property of `globalThis`\r\n * (2) if such an object was provided on a shell environment variable\r\n * (3) if such an object exists in a cookie\r\n * @public\r\n */\r\nconst getDefaults = () => {\r\n try {\r\n return (getDefaultsFromGlobal() ||\r\n getDefaultsFromEnvVariable() ||\r\n getDefaultsFromCookie());\r\n }\r\n catch (e) {\r\n /**\r\n * Catch-all for being unable to get __FIREBASE_DEFAULTS__ due\r\n * to any environment case we have not accounted for. Log to\r\n * info instead of swallowing so we can find these unknown cases\r\n * and add paths for them if needed.\r\n */\r\n console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);\r\n return;\r\n }\r\n};\r\n/**\r\n * Returns emulator host stored in the __FIREBASE_DEFAULTS__ object\r\n * for the given product.\r\n * @returns a URL host formatted like `127.0.0.1:9999` or `[::1]:4000` if available\r\n * @public\r\n */\r\nconst getDefaultEmulatorHost = (productName) => { var _a, _b; return (_b = (_a = getDefaults()) === null || _a === void 0 ? void 0 : _a.emulatorHosts) === null || _b === void 0 ? void 0 : _b[productName]; };\r\n/**\r\n * Returns emulator hostname and port stored in the __FIREBASE_DEFAULTS__ object\r\n * for the given product.\r\n * @returns a pair of hostname and port like `[\"::1\", 4000]` if available\r\n * @public\r\n */\r\nconst getDefaultEmulatorHostnameAndPort = (productName) => {\r\n const host = getDefaultEmulatorHost(productName);\r\n if (!host) {\r\n return undefined;\r\n }\r\n const separatorIndex = host.lastIndexOf(':'); // Finding the last since IPv6 addr also has colons.\r\n if (separatorIndex <= 0 || separatorIndex + 1 === host.length) {\r\n throw new Error(`Invalid host ${host} with no separate hostname and port!`);\r\n }\r\n // eslint-disable-next-line no-restricted-globals\r\n const port = parseInt(host.substring(separatorIndex + 1), 10);\r\n if (host[0] === '[') {\r\n // Bracket-quoted `[ipv6addr]:port` => return \"ipv6addr\" (without brackets).\r\n return [host.substring(1, separatorIndex - 1), port];\r\n }\r\n else {\r\n return [host.substring(0, separatorIndex), port];\r\n }\r\n};\r\n/**\r\n * Returns Firebase app config stored in the __FIREBASE_DEFAULTS__ object.\r\n * @public\r\n */\r\nconst getDefaultAppConfig = () => { var _a; return (_a = getDefaults()) === null || _a === void 0 ? void 0 : _a.config; };\r\n/**\r\n * Returns an experimental setting on the __FIREBASE_DEFAULTS__ object (properties\r\n * prefixed by \"_\")\r\n * @public\r\n */\r\nconst getExperimentalSetting = (name) => { var _a; return (_a = getDefaults()) === null || _a === void 0 ? void 0 : _a[`_${name}`]; };\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass Deferred {\r\n constructor() {\r\n this.reject = () => { };\r\n this.resolve = () => { };\r\n this.promise = new Promise((resolve, reject) => {\r\n this.resolve = resolve;\r\n this.reject = reject;\r\n });\r\n }\r\n /**\r\n * Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around\r\n * invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback\r\n * and returns a node-style callback which will resolve or reject the Deferred's promise.\r\n */\r\n wrapCallback(callback) {\r\n return (error, value) => {\r\n if (error) {\r\n this.reject(error);\r\n }\r\n else {\r\n this.resolve(value);\r\n }\r\n if (typeof callback === 'function') {\r\n // Attaching noop handler just in case developer wasn't expecting\r\n // promises\r\n this.promise.catch(() => { });\r\n // Some of our callbacks don't expect a value and our own tests\r\n // assert that the parameter length is 1\r\n if (callback.length === 1) {\r\n callback(error);\r\n }\r\n else {\r\n callback(error, value);\r\n }\r\n }\r\n };\r\n }\r\n}\n\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction createMockUserToken(token, projectId) {\r\n if (token.uid) {\r\n throw new Error('The \"uid\" field is no longer supported by mockUserToken. Please use \"sub\" instead for Firebase Auth User ID.');\r\n }\r\n // Unsecured JWTs use \"none\" as the algorithm.\r\n const header = {\r\n alg: 'none',\r\n type: 'JWT'\r\n };\r\n const project = projectId || 'demo-project';\r\n const iat = token.iat || 0;\r\n const sub = token.sub || token.user_id;\r\n if (!sub) {\r\n throw new Error(\"mockUserToken must contain 'sub' or 'user_id' field!\");\r\n }\r\n const payload = Object.assign({ \r\n // Set all required fields to decent defaults\r\n iss: `https://securetoken.google.com/${project}`, aud: project, iat, exp: iat + 3600, auth_time: iat, sub, user_id: sub, firebase: {\r\n sign_in_provider: 'custom',\r\n identities: {}\r\n } }, token);\r\n // Unsecured JWTs use the empty string as a signature.\r\n const signature = '';\r\n return [\r\n base64urlEncodeWithoutPadding(JSON.stringify(header)),\r\n base64urlEncodeWithoutPadding(JSON.stringify(payload)),\r\n signature\r\n ].join('.');\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Returns navigator.userAgent string or '' if it's not defined.\r\n * @return user agent string\r\n */\r\nfunction getUA() {\r\n if (typeof navigator !== 'undefined' &&\r\n typeof navigator['userAgent'] === 'string') {\r\n return navigator['userAgent'];\r\n }\r\n else {\r\n return '';\r\n }\r\n}\r\n/**\r\n * Detect Cordova / PhoneGap / Ionic frameworks on a mobile device.\r\n *\r\n * Deliberately does not rely on checking `file://` URLs (as this fails PhoneGap\r\n * in the Ripple emulator) nor Cordova `onDeviceReady`, which would normally\r\n * wait for a callback.\r\n */\r\nfunction isMobileCordova() {\r\n return (typeof window !== 'undefined' &&\r\n // @ts-ignore Setting up an broadly applicable index signature for Window\r\n // just to deal with this case would probably be a bad idea.\r\n !!(window['cordova'] || window['phonegap'] || window['PhoneGap']) &&\r\n /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(getUA()));\r\n}\r\n/**\r\n * Detect Node.js.\r\n *\r\n * @return true if Node.js environment is detected or specified.\r\n */\r\n// Node detection logic from: https://github.com/iliakan/detect-node/\r\nfunction isNode() {\r\n var _a;\r\n const forceEnvironment = (_a = getDefaults()) === null || _a === void 0 ? void 0 : _a.forceEnvironment;\r\n if (forceEnvironment === 'node') {\r\n return true;\r\n }\r\n else if (forceEnvironment === 'browser') {\r\n return false;\r\n }\r\n try {\r\n return (Object.prototype.toString.call(global.process) === '[object process]');\r\n }\r\n catch (e) {\r\n return false;\r\n }\r\n}\r\n/**\r\n * Detect Browser Environment\r\n */\r\nfunction isBrowser() {\r\n return typeof self === 'object' && self.self === self;\r\n}\r\nfunction isBrowserExtension() {\r\n const runtime = typeof chrome === 'object'\r\n ? chrome.runtime\r\n : typeof browser === 'object'\r\n ? browser.runtime\r\n : undefined;\r\n return typeof runtime === 'object' && runtime.id !== undefined;\r\n}\r\n/**\r\n * Detect React Native.\r\n *\r\n * @return true if ReactNative environment is detected.\r\n */\r\nfunction isReactNative() {\r\n return (typeof navigator === 'object' && navigator['product'] === 'ReactNative');\r\n}\r\n/** Detects Electron apps. */\r\nfunction isElectron() {\r\n return getUA().indexOf('Electron/') >= 0;\r\n}\r\n/** Detects Internet Explorer. */\r\nfunction isIE() {\r\n const ua = getUA();\r\n return ua.indexOf('MSIE ') >= 0 || ua.indexOf('Trident/') >= 0;\r\n}\r\n/** Detects Universal Windows Platform apps. */\r\nfunction isUWP() {\r\n return getUA().indexOf('MSAppHost/') >= 0;\r\n}\r\n/**\r\n * Detect whether the current SDK build is the Node version.\r\n *\r\n * @return true if it's the Node SDK build.\r\n */\r\nfunction isNodeSdk() {\r\n return CONSTANTS.NODE_CLIENT === true || CONSTANTS.NODE_ADMIN === true;\r\n}\r\n/** Returns true if we are running in Safari. */\r\nfunction isSafari() {\r\n return (!isNode() &&\r\n !!navigator.userAgent &&\r\n navigator.userAgent.includes('Safari') &&\r\n !navigator.userAgent.includes('Chrome'));\r\n}\r\n/**\r\n * This method checks if indexedDB is supported by current browser/service worker context\r\n * @return true if indexedDB is supported by current browser/service worker context\r\n */\r\nfunction isIndexedDBAvailable() {\r\n try {\r\n return typeof indexedDB === 'object';\r\n }\r\n catch (e) {\r\n return false;\r\n }\r\n}\r\n/**\r\n * This method validates browser/sw context for indexedDB by opening a dummy indexedDB database and reject\r\n * if errors occur during the database open operation.\r\n *\r\n * @throws exception if current browser/sw context can't run idb.open (ex: Safari iframe, Firefox\r\n * private browsing)\r\n */\r\nfunction validateIndexedDBOpenable() {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n let preExist = true;\r\n const DB_CHECK_NAME = 'validate-browser-context-for-indexeddb-analytics-module';\r\n const request = self.indexedDB.open(DB_CHECK_NAME);\r\n request.onsuccess = () => {\r\n request.result.close();\r\n // delete database only when it doesn't pre-exist\r\n if (!preExist) {\r\n self.indexedDB.deleteDatabase(DB_CHECK_NAME);\r\n }\r\n resolve(true);\r\n };\r\n request.onupgradeneeded = () => {\r\n preExist = false;\r\n };\r\n request.onerror = () => {\r\n var _a;\r\n reject(((_a = request.error) === null || _a === void 0 ? void 0 : _a.message) || '');\r\n };\r\n }\r\n catch (error) {\r\n reject(error);\r\n }\r\n });\r\n}\r\n/**\r\n *\r\n * This method checks whether cookie is enabled within current browser\r\n * @return true if cookie is enabled within current browser\r\n */\r\nfunction areCookiesEnabled() {\r\n if (typeof navigator === 'undefined' || !navigator.cookieEnabled) {\r\n return false;\r\n }\r\n return true;\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * @fileoverview Standardized Firebase Error.\r\n *\r\n * Usage:\r\n *\r\n * // Typescript string literals for type-safe codes\r\n * type Err =\r\n * 'unknown' |\r\n * 'object-not-found'\r\n * ;\r\n *\r\n * // Closure enum for type-safe error codes\r\n * // at-enum {string}\r\n * var Err = {\r\n * UNKNOWN: 'unknown',\r\n * OBJECT_NOT_FOUND: 'object-not-found',\r\n * }\r\n *\r\n * let errors: Map = {\r\n * 'generic-error': \"Unknown error\",\r\n * 'file-not-found': \"Could not find file: {$file}\",\r\n * };\r\n *\r\n * // Type-safe function - must pass a valid error code as param.\r\n * let error = new ErrorFactory('service', 'Service', errors);\r\n *\r\n * ...\r\n * throw error.create(Err.GENERIC);\r\n * ...\r\n * throw error.create(Err.FILE_NOT_FOUND, {'file': fileName});\r\n * ...\r\n * // Service: Could not file file: foo.txt (service/file-not-found).\r\n *\r\n * catch (e) {\r\n * assert(e.message === \"Could not find file: foo.txt.\");\r\n * if ((e as FirebaseError)?.code === 'service/file-not-found') {\r\n * console.log(\"Could not read file: \" + e['file']);\r\n * }\r\n * }\r\n */\r\nconst ERROR_NAME = 'FirebaseError';\r\n// Based on code from:\r\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Custom_Error_Types\r\nclass FirebaseError extends Error {\r\n constructor(\r\n /** The error code for this error. */\r\n code, message, \r\n /** Custom data for this error. */\r\n customData) {\r\n super(message);\r\n this.code = code;\r\n this.customData = customData;\r\n /** The custom name for all FirebaseErrors. */\r\n this.name = ERROR_NAME;\r\n // Fix For ES5\r\n // https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work\r\n Object.setPrototypeOf(this, FirebaseError.prototype);\r\n // Maintains proper stack trace for where our error was thrown.\r\n // Only available on V8.\r\n if (Error.captureStackTrace) {\r\n Error.captureStackTrace(this, ErrorFactory.prototype.create);\r\n }\r\n }\r\n}\r\nclass ErrorFactory {\r\n constructor(service, serviceName, errors) {\r\n this.service = service;\r\n this.serviceName = serviceName;\r\n this.errors = errors;\r\n }\r\n create(code, ...data) {\r\n const customData = data[0] || {};\r\n const fullCode = `${this.service}/${code}`;\r\n const template = this.errors[code];\r\n const message = template ? replaceTemplate(template, customData) : 'Error';\r\n // Service Name: Error message (service/code).\r\n const fullMessage = `${this.serviceName}: ${message} (${fullCode}).`;\r\n const error = new FirebaseError(fullCode, fullMessage, customData);\r\n return error;\r\n }\r\n}\r\nfunction replaceTemplate(template, data) {\r\n return template.replace(PATTERN, (_, key) => {\r\n const value = data[key];\r\n return value != null ? String(value) : `<${key}?>`;\r\n });\r\n}\r\nconst PATTERN = /\\{\\$([^}]+)}/g;\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Evaluates a JSON string into a javascript object.\r\n *\r\n * @param {string} str A string containing JSON.\r\n * @return {*} The javascript object representing the specified JSON.\r\n */\r\nfunction jsonEval(str) {\r\n return JSON.parse(str);\r\n}\r\n/**\r\n * Returns JSON representing a javascript object.\r\n * @param {*} data Javascript object to be stringified.\r\n * @return {string} The JSON contents of the object.\r\n */\r\nfunction stringify(data) {\r\n return JSON.stringify(data);\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Decodes a Firebase auth. token into constituent parts.\r\n *\r\n * Notes:\r\n * - May return with invalid / incomplete claims if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\r\nconst decode = function (token) {\r\n let header = {}, claims = {}, data = {}, signature = '';\r\n try {\r\n const parts = token.split('.');\r\n header = jsonEval(base64Decode(parts[0]) || '');\r\n claims = jsonEval(base64Decode(parts[1]) || '');\r\n signature = parts[2];\r\n data = claims['d'] || {};\r\n delete claims['d'];\r\n }\r\n catch (e) { }\r\n return {\r\n header,\r\n claims,\r\n data,\r\n signature\r\n };\r\n};\r\n/**\r\n * Decodes a Firebase auth. token and checks the validity of its time-based claims. Will return true if the\r\n * token is within the time window authorized by the 'nbf' (not-before) and 'iat' (issued-at) claims.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\r\nconst isValidTimestamp = function (token) {\r\n const claims = decode(token).claims;\r\n const now = Math.floor(new Date().getTime() / 1000);\r\n let validSince = 0, validUntil = 0;\r\n if (typeof claims === 'object') {\r\n if (claims.hasOwnProperty('nbf')) {\r\n validSince = claims['nbf'];\r\n }\r\n else if (claims.hasOwnProperty('iat')) {\r\n validSince = claims['iat'];\r\n }\r\n if (claims.hasOwnProperty('exp')) {\r\n validUntil = claims['exp'];\r\n }\r\n else {\r\n // token will expire after 24h by default\r\n validUntil = validSince + 86400;\r\n }\r\n }\r\n return (!!now &&\r\n !!validSince &&\r\n !!validUntil &&\r\n now >= validSince &&\r\n now <= validUntil);\r\n};\r\n/**\r\n * Decodes a Firebase auth. token and returns its issued at time if valid, null otherwise.\r\n *\r\n * Notes:\r\n * - May return null if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\r\nconst issuedAtTime = function (token) {\r\n const claims = decode(token).claims;\r\n if (typeof claims === 'object' && claims.hasOwnProperty('iat')) {\r\n return claims['iat'];\r\n }\r\n return null;\r\n};\r\n/**\r\n * Decodes a Firebase auth. token and checks the validity of its format. Expects a valid issued-at time.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\r\nconst isValidFormat = function (token) {\r\n const decoded = decode(token), claims = decoded.claims;\r\n return !!claims && typeof claims === 'object' && claims.hasOwnProperty('iat');\r\n};\r\n/**\r\n * Attempts to peer into an auth token and determine if it's an admin auth token by looking at the claims portion.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\r\nconst isAdmin = function (token) {\r\n const claims = decode(token).claims;\r\n return typeof claims === 'object' && claims['admin'] === true;\r\n};\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction contains(obj, key) {\r\n return Object.prototype.hasOwnProperty.call(obj, key);\r\n}\r\nfunction safeGet(obj, key) {\r\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\r\n return obj[key];\r\n }\r\n else {\r\n return undefined;\r\n }\r\n}\r\nfunction isEmpty(obj) {\r\n for (const key in obj) {\r\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nfunction map(obj, fn, contextObj) {\r\n const res = {};\r\n for (const key in obj) {\r\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\r\n res[key] = fn.call(contextObj, obj[key], key, obj);\r\n }\r\n }\r\n return res;\r\n}\r\n/**\r\n * Deep equal two objects. Support Arrays and Objects.\r\n */\r\nfunction deepEqual(a, b) {\r\n if (a === b) {\r\n return true;\r\n }\r\n const aKeys = Object.keys(a);\r\n const bKeys = Object.keys(b);\r\n for (const k of aKeys) {\r\n if (!bKeys.includes(k)) {\r\n return false;\r\n }\r\n const aProp = a[k];\r\n const bProp = b[k];\r\n if (isObject(aProp) && isObject(bProp)) {\r\n if (!deepEqual(aProp, bProp)) {\r\n return false;\r\n }\r\n }\r\n else if (aProp !== bProp) {\r\n return false;\r\n }\r\n }\r\n for (const k of bKeys) {\r\n if (!aKeys.includes(k)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nfunction isObject(thing) {\r\n return thing !== null && typeof thing === 'object';\r\n}\n\n/**\r\n * @license\r\n * Copyright 2022 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Rejects if the given promise doesn't resolve in timeInMS milliseconds.\r\n * @internal\r\n */\r\nfunction promiseWithTimeout(promise, timeInMS = 2000) {\r\n const deferredPromise = new Deferred();\r\n setTimeout(() => deferredPromise.reject('timeout!'), timeInMS);\r\n promise.then(deferredPromise.resolve, deferredPromise.reject);\r\n return deferredPromise.promise;\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Returns a querystring-formatted string (e.g. &arg=val&arg2=val2) from a\r\n * params object (e.g. {arg: 'val', arg2: 'val2'})\r\n * Note: You must prepend it with ? when adding it to a URL.\r\n */\r\nfunction querystring(querystringParams) {\r\n const params = [];\r\n for (const [key, value] of Object.entries(querystringParams)) {\r\n if (Array.isArray(value)) {\r\n value.forEach(arrayVal => {\r\n params.push(encodeURIComponent(key) + '=' + encodeURIComponent(arrayVal));\r\n });\r\n }\r\n else {\r\n params.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));\r\n }\r\n }\r\n return params.length ? '&' + params.join('&') : '';\r\n}\r\n/**\r\n * Decodes a querystring (e.g. ?arg=val&arg2=val2) into a params object\r\n * (e.g. {arg: 'val', arg2: 'val2'})\r\n */\r\nfunction querystringDecode(querystring) {\r\n const obj = {};\r\n const tokens = querystring.replace(/^\\?/, '').split('&');\r\n tokens.forEach(token => {\r\n if (token) {\r\n const [key, value] = token.split('=');\r\n obj[decodeURIComponent(key)] = decodeURIComponent(value);\r\n }\r\n });\r\n return obj;\r\n}\r\n/**\r\n * Extract the query string part of a URL, including the leading question mark (if present).\r\n */\r\nfunction extractQuerystring(url) {\r\n const queryStart = url.indexOf('?');\r\n if (!queryStart) {\r\n return '';\r\n }\r\n const fragmentStart = url.indexOf('#', queryStart);\r\n return url.substring(queryStart, fragmentStart > 0 ? fragmentStart : undefined);\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * @fileoverview SHA-1 cryptographic hash.\r\n * Variable names follow the notation in FIPS PUB 180-3:\r\n * http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf.\r\n *\r\n * Usage:\r\n * var sha1 = new sha1();\r\n * sha1.update(bytes);\r\n * var hash = sha1.digest();\r\n *\r\n * Performance:\r\n * Chrome 23: ~400 Mbit/s\r\n * Firefox 16: ~250 Mbit/s\r\n *\r\n */\r\n/**\r\n * SHA-1 cryptographic hash constructor.\r\n *\r\n * The properties declared here are discussed in the above algorithm document.\r\n * @constructor\r\n * @final\r\n * @struct\r\n */\r\nclass Sha1 {\r\n constructor() {\r\n /**\r\n * Holds the previous values of accumulated variables a-e in the compress_\r\n * function.\r\n * @private\r\n */\r\n this.chain_ = [];\r\n /**\r\n * A buffer holding the partially computed hash result.\r\n * @private\r\n */\r\n this.buf_ = [];\r\n /**\r\n * An array of 80 bytes, each a part of the message to be hashed. Referred to\r\n * as the message schedule in the docs.\r\n * @private\r\n */\r\n this.W_ = [];\r\n /**\r\n * Contains data needed to pad messages less than 64 bytes.\r\n * @private\r\n */\r\n this.pad_ = [];\r\n /**\r\n * @private {number}\r\n */\r\n this.inbuf_ = 0;\r\n /**\r\n * @private {number}\r\n */\r\n this.total_ = 0;\r\n this.blockSize = 512 / 8;\r\n this.pad_[0] = 128;\r\n for (let i = 1; i < this.blockSize; ++i) {\r\n this.pad_[i] = 0;\r\n }\r\n this.reset();\r\n }\r\n reset() {\r\n this.chain_[0] = 0x67452301;\r\n this.chain_[1] = 0xefcdab89;\r\n this.chain_[2] = 0x98badcfe;\r\n this.chain_[3] = 0x10325476;\r\n this.chain_[4] = 0xc3d2e1f0;\r\n this.inbuf_ = 0;\r\n this.total_ = 0;\r\n }\r\n /**\r\n * Internal compress helper function.\r\n * @param buf Block to compress.\r\n * @param offset Offset of the block in the buffer.\r\n * @private\r\n */\r\n compress_(buf, offset) {\r\n if (!offset) {\r\n offset = 0;\r\n }\r\n const W = this.W_;\r\n // get 16 big endian words\r\n if (typeof buf === 'string') {\r\n for (let i = 0; i < 16; i++) {\r\n // TODO(user): [bug 8140122] Recent versions of Safari for Mac OS and iOS\r\n // have a bug that turns the post-increment ++ operator into pre-increment\r\n // during JIT compilation. We have code that depends heavily on SHA-1 for\r\n // correctness and which is affected by this bug, so I've removed all uses\r\n // of post-increment ++ in which the result value is used. We can revert\r\n // this change once the Safari bug\r\n // (https://bugs.webkit.org/show_bug.cgi?id=109036) has been fixed and\r\n // most clients have been updated.\r\n W[i] =\r\n (buf.charCodeAt(offset) << 24) |\r\n (buf.charCodeAt(offset + 1) << 16) |\r\n (buf.charCodeAt(offset + 2) << 8) |\r\n buf.charCodeAt(offset + 3);\r\n offset += 4;\r\n }\r\n }\r\n else {\r\n for (let i = 0; i < 16; i++) {\r\n W[i] =\r\n (buf[offset] << 24) |\r\n (buf[offset + 1] << 16) |\r\n (buf[offset + 2] << 8) |\r\n buf[offset + 3];\r\n offset += 4;\r\n }\r\n }\r\n // expand to 80 words\r\n for (let i = 16; i < 80; i++) {\r\n const t = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\r\n W[i] = ((t << 1) | (t >>> 31)) & 0xffffffff;\r\n }\r\n let a = this.chain_[0];\r\n let b = this.chain_[1];\r\n let c = this.chain_[2];\r\n let d = this.chain_[3];\r\n let e = this.chain_[4];\r\n let f, k;\r\n // TODO(user): Try to unroll this loop to speed up the computation.\r\n for (let i = 0; i < 80; i++) {\r\n if (i < 40) {\r\n if (i < 20) {\r\n f = d ^ (b & (c ^ d));\r\n k = 0x5a827999;\r\n }\r\n else {\r\n f = b ^ c ^ d;\r\n k = 0x6ed9eba1;\r\n }\r\n }\r\n else {\r\n if (i < 60) {\r\n f = (b & c) | (d & (b | c));\r\n k = 0x8f1bbcdc;\r\n }\r\n else {\r\n f = b ^ c ^ d;\r\n k = 0xca62c1d6;\r\n }\r\n }\r\n const t = (((a << 5) | (a >>> 27)) + f + e + k + W[i]) & 0xffffffff;\r\n e = d;\r\n d = c;\r\n c = ((b << 30) | (b >>> 2)) & 0xffffffff;\r\n b = a;\r\n a = t;\r\n }\r\n this.chain_[0] = (this.chain_[0] + a) & 0xffffffff;\r\n this.chain_[1] = (this.chain_[1] + b) & 0xffffffff;\r\n this.chain_[2] = (this.chain_[2] + c) & 0xffffffff;\r\n this.chain_[3] = (this.chain_[3] + d) & 0xffffffff;\r\n this.chain_[4] = (this.chain_[4] + e) & 0xffffffff;\r\n }\r\n update(bytes, length) {\r\n // TODO(johnlenz): tighten the function signature and remove this check\r\n if (bytes == null) {\r\n return;\r\n }\r\n if (length === undefined) {\r\n length = bytes.length;\r\n }\r\n const lengthMinusBlock = length - this.blockSize;\r\n let n = 0;\r\n // Using local instead of member variables gives ~5% speedup on Firefox 16.\r\n const buf = this.buf_;\r\n let inbuf = this.inbuf_;\r\n // The outer while loop should execute at most twice.\r\n while (n < length) {\r\n // When we have no data in the block to top up, we can directly process the\r\n // input buffer (assuming it contains sufficient data). This gives ~25%\r\n // speedup on Chrome 23 and ~15% speedup on Firefox 16, but requires that\r\n // the data is provided in large chunks (or in multiples of 64 bytes).\r\n if (inbuf === 0) {\r\n while (n <= lengthMinusBlock) {\r\n this.compress_(bytes, n);\r\n n += this.blockSize;\r\n }\r\n }\r\n if (typeof bytes === 'string') {\r\n while (n < length) {\r\n buf[inbuf] = bytes.charCodeAt(n);\r\n ++inbuf;\r\n ++n;\r\n if (inbuf === this.blockSize) {\r\n this.compress_(buf);\r\n inbuf = 0;\r\n // Jump to the outer loop so we use the full-block optimization.\r\n break;\r\n }\r\n }\r\n }\r\n else {\r\n while (n < length) {\r\n buf[inbuf] = bytes[n];\r\n ++inbuf;\r\n ++n;\r\n if (inbuf === this.blockSize) {\r\n this.compress_(buf);\r\n inbuf = 0;\r\n // Jump to the outer loop so we use the full-block optimization.\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n this.inbuf_ = inbuf;\r\n this.total_ += length;\r\n }\r\n /** @override */\r\n digest() {\r\n const digest = [];\r\n let totalBits = this.total_ * 8;\r\n // Add pad 0x80 0x00*.\r\n if (this.inbuf_ < 56) {\r\n this.update(this.pad_, 56 - this.inbuf_);\r\n }\r\n else {\r\n this.update(this.pad_, this.blockSize - (this.inbuf_ - 56));\r\n }\r\n // Add # bits.\r\n for (let i = this.blockSize - 1; i >= 56; i--) {\r\n this.buf_[i] = totalBits & 255;\r\n totalBits /= 256; // Don't use bit-shifting here!\r\n }\r\n this.compress_(this.buf_);\r\n let n = 0;\r\n for (let i = 0; i < 5; i++) {\r\n for (let j = 24; j >= 0; j -= 8) {\r\n digest[n] = (this.chain_[i] >> j) & 255;\r\n ++n;\r\n }\r\n }\r\n return digest;\r\n }\r\n}\n\n/**\r\n * Helper to make a Subscribe function (just like Promise helps make a\r\n * Thenable).\r\n *\r\n * @param executor Function which can make calls to a single Observer\r\n * as a proxy.\r\n * @param onNoObservers Callback when count of Observers goes to zero.\r\n */\r\nfunction createSubscribe(executor, onNoObservers) {\r\n const proxy = new ObserverProxy(executor, onNoObservers);\r\n return proxy.subscribe.bind(proxy);\r\n}\r\n/**\r\n * Implement fan-out for any number of Observers attached via a subscribe\r\n * function.\r\n */\r\nclass ObserverProxy {\r\n /**\r\n * @param executor Function which can make calls to a single Observer\r\n * as a proxy.\r\n * @param onNoObservers Callback when count of Observers goes to zero.\r\n */\r\n constructor(executor, onNoObservers) {\r\n this.observers = [];\r\n this.unsubscribes = [];\r\n this.observerCount = 0;\r\n // Micro-task scheduling by calling task.then().\r\n this.task = Promise.resolve();\r\n this.finalized = false;\r\n this.onNoObservers = onNoObservers;\r\n // Call the executor asynchronously so subscribers that are called\r\n // synchronously after the creation of the subscribe function\r\n // can still receive the very first value generated in the executor.\r\n this.task\r\n .then(() => {\r\n executor(this);\r\n })\r\n .catch(e => {\r\n this.error(e);\r\n });\r\n }\r\n next(value) {\r\n this.forEachObserver((observer) => {\r\n observer.next(value);\r\n });\r\n }\r\n error(error) {\r\n this.forEachObserver((observer) => {\r\n observer.error(error);\r\n });\r\n this.close(error);\r\n }\r\n complete() {\r\n this.forEachObserver((observer) => {\r\n observer.complete();\r\n });\r\n this.close();\r\n }\r\n /**\r\n * Subscribe function that can be used to add an Observer to the fan-out list.\r\n *\r\n * - We require that no event is sent to a subscriber sychronously to their\r\n * call to subscribe().\r\n */\r\n subscribe(nextOrObserver, error, complete) {\r\n let observer;\r\n if (nextOrObserver === undefined &&\r\n error === undefined &&\r\n complete === undefined) {\r\n throw new Error('Missing Observer.');\r\n }\r\n // Assemble an Observer object when passed as callback functions.\r\n if (implementsAnyMethods(nextOrObserver, [\r\n 'next',\r\n 'error',\r\n 'complete'\r\n ])) {\r\n observer = nextOrObserver;\r\n }\r\n else {\r\n observer = {\r\n next: nextOrObserver,\r\n error,\r\n complete\r\n };\r\n }\r\n if (observer.next === undefined) {\r\n observer.next = noop;\r\n }\r\n if (observer.error === undefined) {\r\n observer.error = noop;\r\n }\r\n if (observer.complete === undefined) {\r\n observer.complete = noop;\r\n }\r\n const unsub = this.unsubscribeOne.bind(this, this.observers.length);\r\n // Attempt to subscribe to a terminated Observable - we\r\n // just respond to the Observer with the final error or complete\r\n // event.\r\n if (this.finalized) {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.task.then(() => {\r\n try {\r\n if (this.finalError) {\r\n observer.error(this.finalError);\r\n }\r\n else {\r\n observer.complete();\r\n }\r\n }\r\n catch (e) {\r\n // nothing\r\n }\r\n return;\r\n });\r\n }\r\n this.observers.push(observer);\r\n return unsub;\r\n }\r\n // Unsubscribe is synchronous - we guarantee that no events are sent to\r\n // any unsubscribed Observer.\r\n unsubscribeOne(i) {\r\n if (this.observers === undefined || this.observers[i] === undefined) {\r\n return;\r\n }\r\n delete this.observers[i];\r\n this.observerCount -= 1;\r\n if (this.observerCount === 0 && this.onNoObservers !== undefined) {\r\n this.onNoObservers(this);\r\n }\r\n }\r\n forEachObserver(fn) {\r\n if (this.finalized) {\r\n // Already closed by previous event....just eat the additional values.\r\n return;\r\n }\r\n // Since sendOne calls asynchronously - there is no chance that\r\n // this.observers will become undefined.\r\n for (let i = 0; i < this.observers.length; i++) {\r\n this.sendOne(i, fn);\r\n }\r\n }\r\n // Call the Observer via one of it's callback function. We are careful to\r\n // confirm that the observe has not been unsubscribed since this asynchronous\r\n // function had been queued.\r\n sendOne(i, fn) {\r\n // Execute the callback asynchronously\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.task.then(() => {\r\n if (this.observers !== undefined && this.observers[i] !== undefined) {\r\n try {\r\n fn(this.observers[i]);\r\n }\r\n catch (e) {\r\n // Ignore exceptions raised in Observers or missing methods of an\r\n // Observer.\r\n // Log error to console. b/31404806\r\n if (typeof console !== 'undefined' && console.error) {\r\n console.error(e);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n close(err) {\r\n if (this.finalized) {\r\n return;\r\n }\r\n this.finalized = true;\r\n if (err !== undefined) {\r\n this.finalError = err;\r\n }\r\n // Proxy is no longer needed - garbage collect references\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.task.then(() => {\r\n this.observers = undefined;\r\n this.onNoObservers = undefined;\r\n });\r\n }\r\n}\r\n/** Turn synchronous function into one called asynchronously. */\r\n// eslint-disable-next-line @typescript-eslint/ban-types\r\nfunction async(fn, onError) {\r\n return (...args) => {\r\n Promise.resolve(true)\r\n .then(() => {\r\n fn(...args);\r\n })\r\n .catch((error) => {\r\n if (onError) {\r\n onError(error);\r\n }\r\n });\r\n };\r\n}\r\n/**\r\n * Return true if the object passed in implements any of the named methods.\r\n */\r\nfunction implementsAnyMethods(obj, methods) {\r\n if (typeof obj !== 'object' || obj === null) {\r\n return false;\r\n }\r\n for (const method of methods) {\r\n if (method in obj && typeof obj[method] === 'function') {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nfunction noop() {\r\n // do nothing\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Check to make sure the appropriate number of arguments are provided for a public function.\r\n * Throws an error if it fails.\r\n *\r\n * @param fnName The function name\r\n * @param minCount The minimum number of arguments to allow for the function call\r\n * @param maxCount The maximum number of argument to allow for the function call\r\n * @param argCount The actual number of arguments provided.\r\n */\r\nconst validateArgCount = function (fnName, minCount, maxCount, argCount) {\r\n let argError;\r\n if (argCount < minCount) {\r\n argError = 'at least ' + minCount;\r\n }\r\n else if (argCount > maxCount) {\r\n argError = maxCount === 0 ? 'none' : 'no more than ' + maxCount;\r\n }\r\n if (argError) {\r\n const error = fnName +\r\n ' failed: Was called with ' +\r\n argCount +\r\n (argCount === 1 ? ' argument.' : ' arguments.') +\r\n ' Expects ' +\r\n argError +\r\n '.';\r\n throw new Error(error);\r\n }\r\n};\r\n/**\r\n * Generates a string to prefix an error message about failed argument validation\r\n *\r\n * @param fnName The function name\r\n * @param argName The name of the argument\r\n * @return The prefix to add to the error thrown for validation.\r\n */\r\nfunction errorPrefix(fnName, argName) {\r\n return `${fnName} failed: ${argName} argument `;\r\n}\r\n/**\r\n * @param fnName\r\n * @param argumentNumber\r\n * @param namespace\r\n * @param optional\r\n */\r\nfunction validateNamespace(fnName, namespace, optional) {\r\n if (optional && !namespace) {\r\n return;\r\n }\r\n if (typeof namespace !== 'string') {\r\n //TODO: I should do more validation here. We only allow certain chars in namespaces.\r\n throw new Error(errorPrefix(fnName, 'namespace') + 'must be a valid firebase namespace.');\r\n }\r\n}\r\nfunction validateCallback(fnName, argumentName, \r\n// eslint-disable-next-line @typescript-eslint/ban-types\r\ncallback, optional) {\r\n if (optional && !callback) {\r\n return;\r\n }\r\n if (typeof callback !== 'function') {\r\n throw new Error(errorPrefix(fnName, argumentName) + 'must be a valid function.');\r\n }\r\n}\r\nfunction validateContextObject(fnName, argumentName, context, optional) {\r\n if (optional && !context) {\r\n return;\r\n }\r\n if (typeof context !== 'object' || context === null) {\r\n throw new Error(errorPrefix(fnName, argumentName) + 'must be a valid context object.');\r\n }\r\n}\n\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n// Code originally came from goog.crypt.stringToUtf8ByteArray, but for some reason they\r\n// automatically replaced '\\r\\n' with '\\n', and they didn't handle surrogate pairs,\r\n// so it's been modified.\r\n// Note that not all Unicode characters appear as single characters in JavaScript strings.\r\n// fromCharCode returns the UTF-16 encoding of a character - so some Unicode characters\r\n// use 2 characters in Javascript. All 4-byte UTF-8 characters begin with a first\r\n// character in the range 0xD800 - 0xDBFF (the first character of a so-called surrogate\r\n// pair).\r\n// See http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3\r\n/**\r\n * @param {string} str\r\n * @return {Array}\r\n */\r\nconst stringToByteArray = function (str) {\r\n const out = [];\r\n let p = 0;\r\n for (let i = 0; i < str.length; i++) {\r\n let c = str.charCodeAt(i);\r\n // Is this the lead surrogate in a surrogate pair?\r\n if (c >= 0xd800 && c <= 0xdbff) {\r\n const high = c - 0xd800; // the high 10 bits.\r\n i++;\r\n assert(i < str.length, 'Surrogate pair missing trail surrogate.');\r\n const low = str.charCodeAt(i) - 0xdc00; // the low 10 bits.\r\n c = 0x10000 + (high << 10) + low;\r\n }\r\n if (c < 128) {\r\n out[p++] = c;\r\n }\r\n else if (c < 2048) {\r\n out[p++] = (c >> 6) | 192;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n else if (c < 65536) {\r\n out[p++] = (c >> 12) | 224;\r\n out[p++] = ((c >> 6) & 63) | 128;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n else {\r\n out[p++] = (c >> 18) | 240;\r\n out[p++] = ((c >> 12) & 63) | 128;\r\n out[p++] = ((c >> 6) & 63) | 128;\r\n out[p++] = (c & 63) | 128;\r\n }\r\n }\r\n return out;\r\n};\r\n/**\r\n * Calculate length without actually converting; useful for doing cheaper validation.\r\n * @param {string} str\r\n * @return {number}\r\n */\r\nconst stringLength = function (str) {\r\n let p = 0;\r\n for (let i = 0; i < str.length; i++) {\r\n const c = str.charCodeAt(i);\r\n if (c < 128) {\r\n p++;\r\n }\r\n else if (c < 2048) {\r\n p += 2;\r\n }\r\n else if (c >= 0xd800 && c <= 0xdbff) {\r\n // Lead surrogate of a surrogate pair. The pair together will take 4 bytes to represent.\r\n p += 4;\r\n i++; // skip trail surrogate.\r\n }\r\n else {\r\n p += 3;\r\n }\r\n }\r\n return p;\r\n};\n\n/**\r\n * @license\r\n * Copyright 2022 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Copied from https://stackoverflow.com/a/2117523\r\n * Generates a new uuid.\r\n * @public\r\n */\r\nconst uuidv4 = function () {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\r\n const r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;\r\n return v.toString(16);\r\n });\r\n};\n\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * The amount of milliseconds to exponentially increase.\r\n */\r\nconst DEFAULT_INTERVAL_MILLIS = 1000;\r\n/**\r\n * The factor to backoff by.\r\n * Should be a number greater than 1.\r\n */\r\nconst DEFAULT_BACKOFF_FACTOR = 2;\r\n/**\r\n * The maximum milliseconds to increase to.\r\n *\r\n *

Visible for testing\r\n */\r\nconst MAX_VALUE_MILLIS = 4 * 60 * 60 * 1000; // Four hours, like iOS and Android.\r\n/**\r\n * The percentage of backoff time to randomize by.\r\n * See\r\n * http://go/safe-client-behavior#step-1-determine-the-appropriate-retry-interval-to-handle-spike-traffic\r\n * for context.\r\n *\r\n *

Visible for testing\r\n */\r\nconst RANDOM_FACTOR = 0.5;\r\n/**\r\n * Based on the backoff method from\r\n * https://github.com/google/closure-library/blob/master/closure/goog/math/exponentialbackoff.js.\r\n * Extracted here so we don't need to pass metadata and a stateful ExponentialBackoff object around.\r\n */\r\nfunction calculateBackoffMillis(backoffCount, intervalMillis = DEFAULT_INTERVAL_MILLIS, backoffFactor = DEFAULT_BACKOFF_FACTOR) {\r\n // Calculates an exponentially increasing value.\r\n // Deviation: calculates value from count and a constant interval, so we only need to save value\r\n // and count to restore state.\r\n const currBaseValue = intervalMillis * Math.pow(backoffFactor, backoffCount);\r\n // A random \"fuzz\" to avoid waves of retries.\r\n // Deviation: randomFactor is required.\r\n const randomWait = Math.round(\r\n // A fraction of the backoff value to add/subtract.\r\n // Deviation: changes multiplication order to improve readability.\r\n RANDOM_FACTOR *\r\n currBaseValue *\r\n // A random float (rounded to int by Math.round above) in the range [-1, 1]. Determines\r\n // if we add or subtract.\r\n (Math.random() - 0.5) *\r\n 2);\r\n // Limits backoff to max to avoid effectively permanent backoff.\r\n return Math.min(MAX_VALUE_MILLIS, currBaseValue + randomWait);\r\n}\n\n/**\r\n * @license\r\n * Copyright 2020 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Provide English ordinal letters after a number\r\n */\r\nfunction ordinal(i) {\r\n if (!Number.isFinite(i)) {\r\n return `${i}`;\r\n }\r\n return i + indicator(i);\r\n}\r\nfunction indicator(i) {\r\n i = Math.abs(i);\r\n const cent = i % 100;\r\n if (cent >= 10 && cent <= 20) {\r\n return 'th';\r\n }\r\n const dec = i % 10;\r\n if (dec === 1) {\r\n return 'st';\r\n }\r\n if (dec === 2) {\r\n return 'nd';\r\n }\r\n if (dec === 3) {\r\n return 'rd';\r\n }\r\n return 'th';\r\n}\n\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nfunction getModularInstance(service) {\r\n if (service && service._delegate) {\r\n return service._delegate;\r\n }\r\n else {\r\n return service;\r\n }\r\n}\n\nexport { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getDefaultAppConfig, getDefaultEmulatorHost, getDefaultEmulatorHostnameAndPort, getDefaults, getExperimentalSetting, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, uuidv4, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst transitionEndAsync = (el, expectedDuration = 0) => {\n return new Promise((resolve) => {\n transitionEnd(el, expectedDuration, resolve);\n });\n};\n/**\n * Allows developer to wait for a transition\n * to finish and fallback to a timer if the\n * transition is cancelled or otherwise\n * never finishes. Also see transitionEndAsync\n * which is an await-able version of this.\n */\nconst transitionEnd = (el, expectedDuration = 0, callback) => {\n let unRegTrans;\n let animationTimeout;\n const opts = { passive: true };\n const ANIMATION_FALLBACK_TIMEOUT = 500;\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (ev === undefined || el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.addEventListener('transitionend', onTransitionEnd, opts);\n animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);\n unRegTrans = () => {\n if (animationTimeout) {\n clearTimeout(animationTimeout);\n animationTimeout = undefined;\n }\n el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.removeEventListener('transitionend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\n/**\n * Waits for a component to be ready for\n * both custom element and non-custom element builds.\n * If non-custom element build, el.componentOnReady\n * will be used.\n * For custom element builds, we wait a frame\n * so that the inner contents of the component\n * have a chance to render.\n *\n * Use this utility rather than calling\n * el.componentOnReady yourself.\n */\nconst componentOnReady = (el, callback) => {\n if (el.componentOnReady) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n el.componentOnReady().then((resolvedEl) => callback(resolvedEl));\n }\n else {\n raf(() => callback(el));\n }\n};\n/**\n * This functions checks if a Stencil component is using\n * the lazy loaded build of Stencil. Returns `true` if\n * the component is lazy loaded. Returns `false` otherwise.\n */\nconst hasLazyBuild = (stencilEl) => {\n return stencilEl.componentOnReady !== undefined;\n};\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach((attr) => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n/**\n * List of available ARIA attributes + `role`.\n * Removed deprecated attributes.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes\n */\nconst ariaAttributes = [\n 'role',\n 'aria-activedescendant',\n 'aria-atomic',\n 'aria-autocomplete',\n 'aria-braillelabel',\n 'aria-brailleroledescription',\n 'aria-busy',\n 'aria-checked',\n 'aria-colcount',\n 'aria-colindex',\n 'aria-colindextext',\n 'aria-colspan',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-description',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-flowto',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-level',\n 'aria-live',\n 'aria-multiline',\n 'aria-multiselectable',\n 'aria-orientation',\n 'aria-owns',\n 'aria-placeholder',\n 'aria-posinset',\n 'aria-pressed',\n 'aria-readonly',\n 'aria-relevant',\n 'aria-required',\n 'aria-roledescription',\n 'aria-rowcount',\n 'aria-rowindex',\n 'aria-rowindextext',\n 'aria-rowspan',\n 'aria-selected',\n 'aria-setsize',\n 'aria-sort',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n];\n/**\n * Returns an array of aria attributes that should be copied from\n * the shadow host element to a target within the light DOM.\n * @param el The element that the attributes should be copied from.\n * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.\n * Use this in instances where we manually specify aria attributes on the `` element.\n */\nconst inheritAriaAttributes = (el, ignoreList) => {\n let attributesToInherit = ariaAttributes;\n if (ignoreList && ignoreList.length > 0) {\n attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));\n }\n return inheritAttributes(el, attributesToInherit);\n};\nconst addEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const ael = config.get('_ael');\n if (ael) {\n return ael(el, eventName, callback, opts);\n }\n else if (config._ael) {\n return config._ael(el, eventName, callback, opts);\n }\n }\n }\n return el.addEventListener(eventName, callback, opts);\n};\nconst removeEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const rel = config.get('_rel');\n if (rel) {\n return rel(el, eventName, callback, opts);\n }\n else if (config._rel) {\n return config._rel(el, eventName, callback, opts);\n }\n }\n }\n return el.removeEventListener(eventName, callback, opts);\n};\n/**\n * Gets the root context of a shadow dom element\n * On newer browsers this will be the shadowRoot,\n * but for older browser this may just be the\n * element itself.\n *\n * Useful for whenever you need to explicitly\n * do \"myElement.shadowRoot!.querySelector(...)\".\n */\nconst getElementRoot = (el, fallback = el) => {\n return el.shadowRoot || fallback;\n};\n/**\n * Patched version of requestAnimationFrame that avoids ngzone\n * Use only when you know ngzone should not run\n */\nconst raf = (h) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(h);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(h);\n }\n return setTimeout(h);\n};\nconst hasShadowDom = (el) => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\nconst findItemLabel = (componentEl) => {\n const itemEl = componentEl.closest('ion-item');\n if (itemEl) {\n return itemEl.querySelector('ion-label');\n }\n return null;\n};\nconst focusElement = (el) => {\n el.focus();\n /**\n * When programmatically focusing an element,\n * the focus-visible utility will not run because\n * it is expecting a keyboard event to have triggered this;\n * however, there are times when we need to manually control\n * this behavior so we call the `setFocus` method on ion-app\n * which will let us explicitly set the elements to focus.\n */\n if (el.classList.contains('ion-focusable')) {\n const app = el.closest('ion-app');\n if (app) {\n app.setFocus([el]);\n }\n }\n};\n/**\n * This method is used for Ionic's input components that use Shadow DOM. In\n * order to properly label the inputs to work with screen readers, we need\n * to get the text content of the label outside of the shadow root and pass\n * it to the input inside of the shadow root.\n *\n * Referencing label elements by id from outside of the component is\n * impossible due to the shadow boundary, read more here:\n * https://developer.salesforce.com/blogs/2020/01/accessibility-for-web-components.html\n *\n * @param componentEl The shadow element that needs the aria label\n * @param inputId The unique identifier for the input\n */\nconst getAriaLabel = (componentEl, inputId) => {\n let labelText;\n // If the user provides their own label via the aria-labelledby attr\n // we should use that instead of looking for an ion-label\n const labelledBy = componentEl.getAttribute('aria-labelledby');\n // Grab the id off of the component in case they are using\n // a custom label using the label element\n const componentId = componentEl.id;\n let labelId = labelledBy !== null && labelledBy.trim() !== '' ? labelledBy : inputId + '-lbl';\n let label = labelledBy !== null && labelledBy.trim() !== '' ? document.getElementById(labelledBy) : findItemLabel(componentEl);\n if (label) {\n if (labelledBy === null) {\n label.id = labelId;\n }\n labelText = label.textContent;\n label.setAttribute('aria-hidden', 'true');\n // if there is no label, check to see if the user has provided\n // one by setting an id on the component and using the label element\n }\n else if (componentId.trim() !== '') {\n label = document.querySelector(`label[for=\"${componentId}\"]`);\n if (label) {\n if (label.id !== '') {\n labelId = label.id;\n }\n else {\n label.id = labelId = `${componentId}-lbl`;\n }\n labelText = label.textContent;\n }\n }\n return { label, labelId, labelText };\n};\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nconst renderHiddenInput = (always, container, name, value, disabled) => {\n if (always || hasShadowDom(container)) {\n let input = container.querySelector('input.aux-input');\n if (!input) {\n input = container.ownerDocument.createElement('input');\n input.type = 'hidden';\n input.classList.add('aux-input');\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || '';\n }\n};\nconst clamp = (min, n, max) => {\n return Math.max(min, Math.min(n, max));\n};\nconst assert = (actual, reason) => {\n if (!actual) {\n const message = 'ASSERT: ' + reason;\n console.error(message);\n debugger; // eslint-disable-line\n throw new Error(message);\n }\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\nconst pointerCoord = (ev) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n return { x: touch.clientX, y: touch.clientY };\n }\n if (ev.pageX !== undefined) {\n return { x: ev.pageX, y: ev.pageY };\n }\n }\n return { x: 0, y: 0 };\n};\n/**\n * @hidden\n * Given a side, return if it should be on the end\n * based on the value of dir\n * @param side the side\n * @param isRTL whether the application dir is rtl\n */\nconst isEndSide = (side) => {\n const isRTL = document.dir === 'rtl';\n switch (side) {\n case 'start':\n return isRTL;\n case 'end':\n return !isRTL;\n default:\n throw new Error(`\"${side}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`);\n }\n};\nconst debounceEvent = (event, wait) => {\n const original = event._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n };\n};\nconst debounce = (func, wait = 0) => {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n/**\n * Check whether the two string maps are shallow equal.\n *\n * undefined is treated as an empty map.\n *\n * @returns whether the keys are the same and the values are shallow equal.\n */\nconst shallowEqualStringMap = (map1, map2) => {\n map1 !== null && map1 !== void 0 ? map1 : (map1 = {});\n map2 !== null && map2 !== void 0 ? map2 : (map2 = {});\n if (map1 === map2) {\n return true;\n }\n const keys1 = Object.keys(map1);\n if (keys1.length !== Object.keys(map2).length) {\n return false;\n }\n for (const k1 of keys1) {\n if (!(k1 in map2)) {\n return false;\n }\n if (map1[k1] !== map2[k1]) {\n return false;\n }\n }\n return true;\n};\n\nexport { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, getAriaLabel as j, findItemLabel as k, hasLazyBuild as l, clamp as m, debounceEvent as n, isEndSide as o, assert as p, debounce as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u, pointerCoord as v };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { writeTask, Build } from '@stencil/core/internal/client';\nimport { r as raf } from './helpers.js';\n\nconst LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nconst LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nconst LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nconst LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nconst LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n\nconst iosTransitionAnimation = () => import('./ios.transition.js');\nconst mdTransitionAnimation = () => import('./md.transition.js');\n// TODO(FW-2832): types\nconst transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n beforeTransition(opts);\n runTransition(opts).then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n });\n });\n });\n};\nconst beforeTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n setZIndex(enteringEl, leavingEl, opts.direction);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n await waitForReady(opts, false);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n if (deep) {\n await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);\n }\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nconst lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\n/**\n * Wait two request animation frame loops.\n * This allows the framework implementations enough time to mount\n * the user-defined contents. This is often needed when using inline\n * modals and popovers that accept user components. For popover,\n * the contents must be mounted for the popover to be sized correctly.\n * For modals, the contents must be mounted for iOS to run the\n * transition correctly.\n *\n * On Angular and React, a single raf is enough time, but for Vue\n * we need to wait two rafs. As a result we are using two rafs for\n * all frameworks to ensure contents are mounted.\n */\nconst waitForMount = () => {\n return new Promise((resolve) => raf(() => raf(() => resolve())));\n};\nconst deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nconst setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\nconst getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n\nexport { LIFECYCLE_WILL_ENTER as L, LIFECYCLE_DID_ENTER as a, LIFECYCLE_WILL_LEAVE as b, LIFECYCLE_DID_LEAVE as c, LIFECYCLE_WILL_UNLOAD as d, deepReady as e, getIonPageElement as g, lifecycle as l, setPageHidden as s, transition as t, waitForMount as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as win } from './index-7a14ecec.js';\nimport { r as raf } from './helpers-3379ba19.js';\n\nlet animationPrefix;\n/**\n * Web Animations requires hyphenated CSS properties\n * to be written in camelCase when animating\n */\nconst processKeyframes = (keyframes) => {\n keyframes.forEach((keyframe) => {\n for (const key in keyframe) {\n // eslint-disable-next-line no-prototype-builtins\n if (keyframe.hasOwnProperty(key)) {\n const value = keyframe[key];\n if (key === 'easing') {\n const newKey = 'animation-timing-function';\n keyframe[newKey] = value;\n delete keyframe[key];\n }\n else {\n const newKey = convertCamelCaseToHypen(key);\n if (newKey !== key) {\n keyframe[newKey] = value;\n delete keyframe[key];\n }\n }\n }\n }\n });\n return keyframes;\n};\nconst convertCamelCaseToHypen = (str) => {\n return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n};\nconst getAnimationPrefix = (el) => {\n if (animationPrefix === undefined) {\n const supportsUnprefixed = el.style.animationName !== undefined;\n const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;\n animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';\n }\n return animationPrefix;\n};\nconst setStyleProperty = (element, propertyName, value) => {\n const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';\n element.style.setProperty(prefix + propertyName, value);\n};\nconst removeStyleProperty = (element, propertyName) => {\n const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';\n element.style.removeProperty(prefix + propertyName);\n};\nconst animationEnd = (el, callback) => {\n let unRegTrans;\n const opts = { passive: true };\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitAnimationEnd', onTransitionEnd, opts);\n el.addEventListener('animationend', onTransitionEnd, opts);\n unRegTrans = () => {\n el.removeEventListener('webkitAnimationEnd', onTransitionEnd, opts);\n el.removeEventListener('animationend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\n// TODO(FW-2832): type\nconst generateKeyframeRules = (keyframes = []) => {\n return keyframes\n .map((keyframe) => {\n const offset = keyframe.offset;\n const frameString = [];\n for (const property in keyframe) {\n // eslint-disable-next-line no-prototype-builtins\n if (keyframe.hasOwnProperty(property) && property !== 'offset') {\n frameString.push(`${property}: ${keyframe[property]};`);\n }\n }\n return `${offset * 100}% { ${frameString.join(' ')} }`;\n })\n .join(' ');\n};\nconst keyframeIds = [];\nconst generateKeyframeName = (keyframeRules) => {\n let index = keyframeIds.indexOf(keyframeRules);\n if (index < 0) {\n index = keyframeIds.push(keyframeRules) - 1;\n }\n return `ion-animation-${index}`;\n};\nconst getStyleContainer = (element) => {\n // getRootNode is not always available in SSR environments.\n // TODO(FW-2832): types\n const rootNode = element.getRootNode !== undefined ? element.getRootNode() : element;\n return rootNode.head || rootNode;\n};\nconst createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {\n var _a;\n const styleContainer = getStyleContainer(element);\n const keyframePrefix = getAnimationPrefix(element);\n const existingStylesheet = styleContainer.querySelector('#' + keyframeName);\n if (existingStylesheet) {\n return existingStylesheet;\n }\n const stylesheet = ((_a = element.ownerDocument) !== null && _a !== void 0 ? _a : document).createElement('style');\n stylesheet.id = keyframeName;\n stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;\n styleContainer.appendChild(stylesheet);\n return stylesheet;\n};\nconst addClassToArray = (classes = [], className) => {\n if (className !== undefined) {\n const classNameToAppend = Array.isArray(className) ? className : [className];\n return [...classes, ...classNameToAppend];\n }\n return classes;\n};\n\nconst createAnimation = (animationId) => {\n let _delay;\n let _duration;\n let _easing;\n let _iterations;\n let _fill;\n let _direction;\n let _keyframes = [];\n let beforeAddClasses = [];\n let beforeRemoveClasses = [];\n let initialized = false;\n let parentAnimation;\n let beforeStylesValue = {};\n let afterAddClasses = [];\n let afterRemoveClasses = [];\n let afterStylesValue = {};\n let numAnimationsRunning = 0;\n let shouldForceLinearEasing = false;\n let shouldForceSyncPlayback = false;\n let cssAnimationsTimerFallback;\n let forceDirectionValue;\n let forceDurationValue;\n let forceDelayValue;\n let willComplete = true;\n let finished = false;\n let shouldCalculateNumAnimations = true;\n let keyframeName;\n let ani;\n let paused = false;\n const id = animationId;\n const onFinishCallbacks = [];\n const onFinishOneTimeCallbacks = [];\n const onStopOneTimeCallbacks = [];\n const elements = [];\n const childAnimations = [];\n const stylesheets = [];\n const _beforeAddReadFunctions = [];\n const _beforeAddWriteFunctions = [];\n const _afterAddReadFunctions = [];\n const _afterAddWriteFunctions = [];\n const webAnimations = [];\n const supportsAnimationEffect = typeof AnimationEffect === 'function' ||\n (win !== undefined && typeof win.AnimationEffect === 'function');\n const supportsWebAnimations = typeof Element === 'function' &&\n typeof Element.prototype.animate === 'function' &&\n supportsAnimationEffect;\n const ANIMATION_END_FALLBACK_PADDING_MS = 100;\n const getWebAnimations = () => {\n return webAnimations;\n };\n const destroy = (clearStyleSheets) => {\n childAnimations.forEach((childAnimation) => {\n childAnimation.destroy(clearStyleSheets);\n });\n cleanUp(clearStyleSheets);\n elements.length = 0;\n childAnimations.length = 0;\n _keyframes.length = 0;\n clearOnFinish();\n initialized = false;\n shouldCalculateNumAnimations = true;\n return ani;\n };\n /**\n * Cancels any Web Animations, removes\n * any animation properties from the\n * animation's elements, and removes the\n * animation's stylesheets from the DOM.\n */\n const cleanUp = (clearStyleSheets) => {\n cleanUpElements();\n if (clearStyleSheets) {\n cleanUpStyleSheets();\n }\n };\n const resetFlags = () => {\n shouldForceLinearEasing = false;\n shouldForceSyncPlayback = false;\n shouldCalculateNumAnimations = true;\n forceDirectionValue = undefined;\n forceDurationValue = undefined;\n forceDelayValue = undefined;\n numAnimationsRunning = 0;\n finished = false;\n willComplete = true;\n paused = false;\n };\n const isRunning = () => {\n return numAnimationsRunning !== 0 && !paused;\n };\n /**\n * @internal\n * Remove a callback from a chosen callback array\n * @param callbackToRemove: A reference to the callback that should be removed\n * @param callbackObjects: An array of callbacks that callbackToRemove should be removed from.\n */\n const clearCallback = (callbackToRemove, callbackObjects) => {\n const index = callbackObjects.findIndex((callbackObject) => callbackObject.c === callbackToRemove);\n if (index > -1) {\n callbackObjects.splice(index, 1);\n }\n };\n /**\n * @internal\n * Add a callback to be fired when an animation is stopped/cancelled.\n * @param callback: A reference to the callback that should be fired\n * @param opts: Any options associated with this particular callback\n */\n const onStop = (callback, opts) => {\n onStopOneTimeCallbacks.push({ c: callback, o: opts });\n return ani;\n };\n const onFinish = (callback, opts) => {\n const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;\n callbacks.push({ c: callback, o: opts });\n return ani;\n };\n const clearOnFinish = () => {\n onFinishCallbacks.length = 0;\n onFinishOneTimeCallbacks.length = 0;\n return ani;\n };\n /**\n * Cancels any Web Animations and removes\n * any animation properties from the\n * the animation's elements.\n */\n const cleanUpElements = () => {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.cancel();\n });\n webAnimations.length = 0;\n }\n else {\n const elementsArray = elements.slice();\n raf(() => {\n elementsArray.forEach((element) => {\n removeStyleProperty(element, 'animation-name');\n removeStyleProperty(element, 'animation-duration');\n removeStyleProperty(element, 'animation-timing-function');\n removeStyleProperty(element, 'animation-iteration-count');\n removeStyleProperty(element, 'animation-delay');\n removeStyleProperty(element, 'animation-play-state');\n removeStyleProperty(element, 'animation-fill-mode');\n removeStyleProperty(element, 'animation-direction');\n });\n });\n }\n };\n /**\n * Removes the animation's stylesheets\n * from the DOM.\n */\n const cleanUpStyleSheets = () => {\n stylesheets.forEach((stylesheet) => {\n /**\n * When sharing stylesheets, it's possible\n * for another animation to have already\n * cleaned up a particular stylesheet\n */\n if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {\n stylesheet.parentNode.removeChild(stylesheet);\n }\n });\n stylesheets.length = 0;\n };\n const beforeAddRead = (readFn) => {\n _beforeAddReadFunctions.push(readFn);\n return ani;\n };\n const beforeAddWrite = (writeFn) => {\n _beforeAddWriteFunctions.push(writeFn);\n return ani;\n };\n const afterAddRead = (readFn) => {\n _afterAddReadFunctions.push(readFn);\n return ani;\n };\n const afterAddWrite = (writeFn) => {\n _afterAddWriteFunctions.push(writeFn);\n return ani;\n };\n const beforeAddClass = (className) => {\n beforeAddClasses = addClassToArray(beforeAddClasses, className);\n return ani;\n };\n const beforeRemoveClass = (className) => {\n beforeRemoveClasses = addClassToArray(beforeRemoveClasses, className);\n return ani;\n };\n /**\n * Set CSS inline styles to the animation's\n * elements before the animation begins.\n */\n const beforeStyles = (styles = {}) => {\n beforeStylesValue = styles;\n return ani;\n };\n /**\n * Clear CSS inline styles from the animation's\n * elements before the animation begins.\n */\n const beforeClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n beforeStylesValue[property] = '';\n }\n return ani;\n };\n const afterAddClass = (className) => {\n afterAddClasses = addClassToArray(afterAddClasses, className);\n return ani;\n };\n const afterRemoveClass = (className) => {\n afterRemoveClasses = addClassToArray(afterRemoveClasses, className);\n return ani;\n };\n const afterStyles = (styles = {}) => {\n afterStylesValue = styles;\n return ani;\n };\n const afterClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n afterStylesValue[property] = '';\n }\n return ani;\n };\n const getFill = () => {\n if (_fill !== undefined) {\n return _fill;\n }\n if (parentAnimation) {\n return parentAnimation.getFill();\n }\n return 'both';\n };\n const getDirection = () => {\n if (forceDirectionValue !== undefined) {\n return forceDirectionValue;\n }\n if (_direction !== undefined) {\n return _direction;\n }\n if (parentAnimation) {\n return parentAnimation.getDirection();\n }\n return 'normal';\n };\n const getEasing = () => {\n if (shouldForceLinearEasing) {\n return 'linear';\n }\n if (_easing !== undefined) {\n return _easing;\n }\n if (parentAnimation) {\n return parentAnimation.getEasing();\n }\n return 'linear';\n };\n const getDuration = () => {\n if (shouldForceSyncPlayback) {\n return 0;\n }\n if (forceDurationValue !== undefined) {\n return forceDurationValue;\n }\n if (_duration !== undefined) {\n return _duration;\n }\n if (parentAnimation) {\n return parentAnimation.getDuration();\n }\n return 0;\n };\n const getIterations = () => {\n if (_iterations !== undefined) {\n return _iterations;\n }\n if (parentAnimation) {\n return parentAnimation.getIterations();\n }\n return 1;\n };\n const getDelay = () => {\n if (forceDelayValue !== undefined) {\n return forceDelayValue;\n }\n if (_delay !== undefined) {\n return _delay;\n }\n if (parentAnimation) {\n return parentAnimation.getDelay();\n }\n return 0;\n };\n const getKeyframes = () => {\n return _keyframes;\n };\n const direction = (animationDirection) => {\n _direction = animationDirection;\n update(true);\n return ani;\n };\n const fill = (animationFill) => {\n _fill = animationFill;\n update(true);\n return ani;\n };\n const delay = (animationDelay) => {\n _delay = animationDelay;\n update(true);\n return ani;\n };\n const easing = (animationEasing) => {\n _easing = animationEasing;\n update(true);\n return ani;\n };\n const duration = (animationDuration) => {\n /**\n * CSS Animation Durations of 0ms work fine on Chrome\n * but do not run on Safari, so force it to 1ms to\n * get it to run on both platforms.\n */\n if (!supportsWebAnimations && animationDuration === 0) {\n animationDuration = 1;\n }\n _duration = animationDuration;\n update(true);\n return ani;\n };\n const iterations = (animationIterations) => {\n _iterations = animationIterations;\n update(true);\n return ani;\n };\n const parent = (animation) => {\n parentAnimation = animation;\n return ani;\n };\n const addElement = (el) => {\n if (el != null) {\n if (el.nodeType === 1) {\n elements.push(el);\n }\n else if (el.length >= 0) {\n for (let i = 0; i < el.length; i++) {\n elements.push(el[i]);\n }\n }\n else {\n console.error('Invalid addElement value');\n }\n }\n return ani;\n };\n const addAnimation = (animationToAdd) => {\n if (animationToAdd != null) {\n if (Array.isArray(animationToAdd)) {\n for (const animation of animationToAdd) {\n animation.parent(ani);\n childAnimations.push(animation);\n }\n }\n else {\n animationToAdd.parent(ani);\n childAnimations.push(animationToAdd);\n }\n }\n return ani;\n };\n const keyframes = (keyframeValues) => {\n const different = _keyframes !== keyframeValues;\n _keyframes = keyframeValues;\n if (different) {\n updateKeyframes(_keyframes);\n }\n return ani;\n };\n const updateKeyframes = (keyframeValues) => {\n if (supportsWebAnimations) {\n getWebAnimations().forEach((animation) => {\n if (animation.effect.setKeyframes) {\n animation.effect.setKeyframes(keyframeValues);\n }\n else {\n const newEffect = new KeyframeEffect(animation.effect.target, keyframeValues, animation.effect.getTiming());\n animation.effect = newEffect;\n }\n });\n }\n else {\n initializeCSSAnimation();\n }\n };\n /**\n * Run all \"before\" animation hooks.\n */\n const beforeAnimation = () => {\n // Runs all before read callbacks\n _beforeAddReadFunctions.forEach((callback) => callback());\n // Runs all before write callbacks\n _beforeAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation runs\n const addClasses = beforeAddClasses;\n const removeClasses = beforeRemoveClasses;\n const styles = beforeStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n };\n /**\n * Run all \"after\" animation hooks.\n */\n const afterAnimation = () => {\n clearCSSAnimationsTimeout();\n // Runs all after read callbacks\n _afterAddReadFunctions.forEach((callback) => callback());\n // Runs all after write callbacks\n _afterAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation ends\n const currentStep = willComplete ? 1 : 0;\n const addClasses = afterAddClasses;\n const removeClasses = afterRemoveClasses;\n const styles = afterStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n onFinishCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.length = 0;\n shouldCalculateNumAnimations = true;\n if (willComplete) {\n finished = true;\n }\n willComplete = true;\n };\n const animationFinish = () => {\n if (numAnimationsRunning === 0) {\n return;\n }\n numAnimationsRunning--;\n if (numAnimationsRunning === 0) {\n afterAnimation();\n if (parentAnimation) {\n parentAnimation.animationFinish();\n }\n }\n };\n const initializeCSSAnimation = (toggleAnimationName = true) => {\n cleanUpStyleSheets();\n const processedKeyframes = processKeyframes(_keyframes);\n elements.forEach((element) => {\n if (processedKeyframes.length > 0) {\n const keyframeRules = generateKeyframeRules(processedKeyframes);\n keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);\n const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);\n stylesheets.push(stylesheet);\n setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);\n setStyleProperty(element, 'animation-timing-function', getEasing());\n setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);\n setStyleProperty(element, 'animation-fill-mode', getFill());\n setStyleProperty(element, 'animation-direction', getDirection());\n const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();\n setStyleProperty(element, 'animation-iteration-count', iterationsCount);\n setStyleProperty(element, 'animation-play-state', 'paused');\n if (toggleAnimationName) {\n setStyleProperty(element, 'animation-name', `${stylesheet.id}-alt`);\n }\n raf(() => {\n setStyleProperty(element, 'animation-name', stylesheet.id || null);\n });\n }\n });\n };\n const initializeWebAnimation = () => {\n elements.forEach((element) => {\n const animation = element.animate(_keyframes, {\n id,\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n animation.pause();\n webAnimations.push(animation);\n });\n if (webAnimations.length > 0) {\n webAnimations[0].onfinish = () => {\n animationFinish();\n };\n }\n };\n const initializeAnimation = (toggleAnimationName = true) => {\n beforeAnimation();\n if (_keyframes.length > 0) {\n if (supportsWebAnimations) {\n initializeWebAnimation();\n }\n else {\n initializeCSSAnimation(toggleAnimationName);\n }\n }\n initialized = true;\n };\n const setAnimationStep = (step) => {\n step = Math.min(Math.max(step, 0), 0.9999);\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;\n animation.pause();\n });\n }\n else {\n const animationDuration = `-${getDuration() * step}ms`;\n elements.forEach((element) => {\n if (_keyframes.length > 0) {\n setStyleProperty(element, 'animation-delay', animationDuration);\n setStyleProperty(element, 'animation-play-state', 'paused');\n }\n });\n }\n };\n const updateWebAnimation = (step) => {\n webAnimations.forEach((animation) => {\n animation.effect.updateTiming({\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n });\n if (step !== undefined) {\n setAnimationStep(step);\n }\n };\n const updateCSSAnimation = (toggleAnimationName = true, step) => {\n raf(() => {\n elements.forEach((element) => {\n setStyleProperty(element, 'animation-name', keyframeName || null);\n setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);\n setStyleProperty(element, 'animation-timing-function', getEasing());\n setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);\n setStyleProperty(element, 'animation-fill-mode', getFill() || null);\n setStyleProperty(element, 'animation-direction', getDirection() || null);\n const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();\n setStyleProperty(element, 'animation-iteration-count', iterationsCount);\n if (toggleAnimationName) {\n setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);\n }\n raf(() => {\n setStyleProperty(element, 'animation-name', keyframeName || null);\n });\n });\n });\n };\n const update = (deep = false, toggleAnimationName = true, step) => {\n if (deep) {\n childAnimations.forEach((animation) => {\n animation.update(deep, toggleAnimationName, step);\n });\n }\n if (supportsWebAnimations) {\n updateWebAnimation(step);\n }\n else {\n updateCSSAnimation(toggleAnimationName, step);\n }\n return ani;\n };\n const progressStart = (forceLinearEasing = false, step) => {\n childAnimations.forEach((animation) => {\n animation.progressStart(forceLinearEasing, step);\n });\n pauseAnimation();\n shouldForceLinearEasing = forceLinearEasing;\n if (!initialized) {\n initializeAnimation();\n }\n update(false, true, step);\n return ani;\n };\n const progressStep = (step) => {\n childAnimations.forEach((animation) => {\n animation.progressStep(step);\n });\n setAnimationStep(step);\n return ani;\n };\n const progressEnd = (playTo, step, dur) => {\n shouldForceLinearEasing = false;\n childAnimations.forEach((animation) => {\n animation.progressEnd(playTo, step, dur);\n });\n if (dur !== undefined) {\n forceDurationValue = dur;\n }\n finished = false;\n willComplete = true;\n if (playTo === 0) {\n forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';\n if (forceDirectionValue === 'reverse') {\n willComplete = false;\n }\n if (supportsWebAnimations) {\n update();\n setAnimationStep(1 - step);\n }\n else {\n forceDelayValue = (1 - step) * getDuration() * -1;\n update(false, false);\n }\n }\n else if (playTo === 1) {\n if (supportsWebAnimations) {\n update();\n setAnimationStep(step);\n }\n else {\n forceDelayValue = step * getDuration() * -1;\n update(false, false);\n }\n }\n if (playTo !== undefined) {\n onFinish(() => {\n forceDurationValue = undefined;\n forceDirectionValue = undefined;\n forceDelayValue = undefined;\n }, {\n oneTimeCallback: true,\n });\n if (!parentAnimation) {\n play();\n }\n }\n return ani;\n };\n const pauseAnimation = () => {\n if (initialized) {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.pause();\n });\n }\n else {\n elements.forEach((element) => {\n setStyleProperty(element, 'animation-play-state', 'paused');\n });\n }\n paused = true;\n }\n };\n const pause = () => {\n childAnimations.forEach((animation) => {\n animation.pause();\n });\n pauseAnimation();\n return ani;\n };\n const onAnimationEndFallback = () => {\n cssAnimationsTimerFallback = undefined;\n animationFinish();\n };\n const clearCSSAnimationsTimeout = () => {\n if (cssAnimationsTimerFallback) {\n clearTimeout(cssAnimationsTimerFallback);\n }\n };\n const playCSSAnimations = () => {\n clearCSSAnimationsTimeout();\n raf(() => {\n elements.forEach((element) => {\n if (_keyframes.length > 0) {\n setStyleProperty(element, 'animation-play-state', 'running');\n }\n });\n });\n if (_keyframes.length === 0 || elements.length === 0) {\n animationFinish();\n }\n else {\n /**\n * This is a catchall in the event that a CSS Animation did not finish.\n * The Web Animations API has mechanisms in place for preventing this.\n * CSS Animations will not fire an `animationend` event\n * for elements with `display: none`. The Web Animations API\n * accounts for this, but using raw CSS Animations requires\n * this workaround.\n */\n const animationDelay = getDelay() || 0;\n const animationDuration = getDuration() || 0;\n const animationIterations = getIterations() || 1;\n // No need to set a timeout when animation has infinite iterations\n if (isFinite(animationIterations)) {\n cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);\n }\n animationEnd(elements[0], () => {\n clearCSSAnimationsTimeout();\n /**\n * Ensure that clean up\n * is always done a frame\n * before the onFinish handlers\n * are fired. Otherwise, there\n * may be flickering if a new\n * animation is started on the same\n * element too quickly\n */\n raf(() => {\n clearCSSAnimationPlayState();\n raf(animationFinish);\n });\n });\n }\n };\n const clearCSSAnimationPlayState = () => {\n elements.forEach((element) => {\n removeStyleProperty(element, 'animation-duration');\n removeStyleProperty(element, 'animation-delay');\n removeStyleProperty(element, 'animation-play-state');\n });\n };\n const playWebAnimations = () => {\n webAnimations.forEach((animation) => {\n animation.play();\n });\n if (_keyframes.length === 0 || elements.length === 0) {\n animationFinish();\n }\n };\n const resetAnimation = () => {\n if (supportsWebAnimations) {\n setAnimationStep(0);\n updateWebAnimation();\n }\n else {\n updateCSSAnimation();\n }\n };\n const play = (opts) => {\n return new Promise((resolve) => {\n if (opts === null || opts === void 0 ? void 0 : opts.sync) {\n shouldForceSyncPlayback = true;\n onFinish(() => (shouldForceSyncPlayback = false), { oneTimeCallback: true });\n }\n if (!initialized) {\n initializeAnimation();\n }\n if (finished) {\n resetAnimation();\n finished = false;\n }\n if (shouldCalculateNumAnimations) {\n numAnimationsRunning = childAnimations.length + 1;\n shouldCalculateNumAnimations = false;\n }\n /**\n * When one of these callbacks fires we\n * need to clear the other's callback otherwise\n * you can potentially get these callbacks\n * firing multiple times if the play method\n * is subsequently called.\n * Example:\n * animation.play() (onStop and onFinish callbacks are registered)\n * animation.stop() (onStop callback is fired, onFinish is not)\n * animation.play() (onStop and onFinish callbacks are registered)\n * Total onStop callbacks: 1\n * Total onFinish callbacks: 2\n */\n const onStopCallback = () => {\n clearCallback(onFinishCallback, onFinishOneTimeCallbacks);\n resolve();\n };\n const onFinishCallback = () => {\n clearCallback(onStopCallback, onStopOneTimeCallbacks);\n resolve();\n };\n /**\n * The play method resolves when an animation\n * run either finishes or is cancelled.\n */\n onFinish(onFinishCallback, { oneTimeCallback: true });\n onStop(onStopCallback, { oneTimeCallback: true });\n childAnimations.forEach((animation) => {\n animation.play();\n });\n if (supportsWebAnimations) {\n playWebAnimations();\n }\n else {\n playCSSAnimations();\n }\n paused = false;\n });\n };\n /**\n * Stops an animation and resets it state to the\n * beginning. This does not fire any onFinish\n * callbacks because the animation did not finish.\n * However, since the animation was not destroyed\n * (i.e. the animation could run again) we do not\n * clear the onFinish callbacks.\n */\n const stop = () => {\n childAnimations.forEach((animation) => {\n animation.stop();\n });\n if (initialized) {\n cleanUpElements();\n initialized = false;\n }\n resetFlags();\n onStopOneTimeCallbacks.forEach((onStopCallback) => onStopCallback.c(0, ani));\n onStopOneTimeCallbacks.length = 0;\n };\n const from = (property, value) => {\n const firstFrame = _keyframes[0];\n if (firstFrame !== undefined && (firstFrame.offset === undefined || firstFrame.offset === 0)) {\n firstFrame[property] = value;\n }\n else {\n _keyframes = [{ offset: 0, [property]: value }, ..._keyframes];\n }\n return ani;\n };\n const to = (property, value) => {\n const lastFrame = _keyframes[_keyframes.length - 1];\n if (lastFrame !== undefined && (lastFrame.offset === undefined || lastFrame.offset === 1)) {\n lastFrame[property] = value;\n }\n else {\n _keyframes = [..._keyframes, { offset: 1, [property]: value }];\n }\n return ani;\n };\n const fromTo = (property, fromValue, toValue) => {\n return from(property, fromValue).to(property, toValue);\n };\n return (ani = {\n parentAnimation,\n elements,\n childAnimations,\n id,\n animationFinish,\n from,\n to,\n fromTo,\n parent,\n play,\n pause,\n stop,\n destroy,\n keyframes,\n addAnimation,\n addElement,\n update,\n fill,\n direction,\n iterations,\n duration,\n easing,\n delay,\n getWebAnimations,\n getKeyframes,\n getFill,\n getDirection,\n getDelay,\n getIterations,\n getEasing,\n getDuration,\n afterAddRead,\n afterAddWrite,\n afterClearStyles,\n afterStyles,\n afterRemoveClass,\n afterAddClass,\n beforeAddRead,\n beforeAddWrite,\n beforeClearStyles,\n beforeStyles,\n beforeRemoveClass,\n beforeAddClass,\n onFinish,\n isRunning,\n progressStart,\n progressStep,\n progressEnd,\n });\n};\n\nexport { createAnimation as c };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as writeTask } from './index-b49b173c.js';\nimport { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-1243b917.js';\nimport { createGesture } from './index-ff313b19.js';\n\nconst createButtonActiveGesture = (el, isButton) => {\n let currentTouchedButton;\n let initialTouchedButton;\n const activateButtonAtPoint = (x, y, hapticFeedbackFn) => {\n if (typeof document === 'undefined') {\n return;\n }\n const target = document.elementFromPoint(x, y);\n if (!target || !isButton(target)) {\n clearActiveButton();\n return;\n }\n if (target !== currentTouchedButton) {\n clearActiveButton();\n setActiveButton(target, hapticFeedbackFn);\n }\n };\n const setActiveButton = (button, hapticFeedbackFn) => {\n currentTouchedButton = button;\n if (!initialTouchedButton) {\n initialTouchedButton = currentTouchedButton;\n }\n const buttonToModify = currentTouchedButton;\n writeTask(() => buttonToModify.classList.add('ion-activated'));\n hapticFeedbackFn();\n };\n const clearActiveButton = (dispatchClick = false) => {\n if (!currentTouchedButton) {\n return;\n }\n const buttonToModify = currentTouchedButton;\n writeTask(() => buttonToModify.classList.remove('ion-activated'));\n /**\n * Clicking on one button, but releasing on another button\n * does not dispatch a click event in browsers, so we\n * need to do it manually here. Some browsers will\n * dispatch a click if clicking on one button, dragging over\n * another button, and releasing on the original button. In that\n * case, we need to make sure we do not cause a double click there.\n */\n if (dispatchClick && initialTouchedButton !== currentTouchedButton) {\n currentTouchedButton.click();\n }\n currentTouchedButton = undefined;\n };\n return createGesture({\n el,\n gestureName: 'buttonActiveDrag',\n threshold: 0,\n onStart: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, hapticSelectionStart),\n onMove: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, hapticSelectionChanged),\n onEnd: () => {\n clearActiveButton(true);\n hapticSelectionEnd();\n initialTouchedButton = undefined;\n },\n });\n};\n\nexport { createButtonActiveGesture as c };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as win } from './index-7a14ecec.js';\n\nconst getCapacitor = () => {\n if (win !== undefined) {\n return win.Capacitor;\n }\n return undefined;\n};\n\nexport { getCapacitor as g };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Does a simple sanitization of all elements\n * in an untrusted string\n */\nconst sanitizeDOMString = (untrustedString) => {\n try {\n if (untrustedString instanceof IonicSafeString) {\n return untrustedString.value;\n }\n if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {\n return untrustedString;\n }\n /**\n * onload is fired when appending to a document\n * fragment in Chrome. If a string\n * contains onload then we should not\n * attempt to add this to the fragment.\n */\n if (untrustedString.includes('onload=')) {\n return '';\n }\n /**\n * Create a document fragment\n * separate from the main DOM,\n * create a div to do our work in\n */\n const documentFragment = document.createDocumentFragment();\n const workingDiv = document.createElement('div');\n documentFragment.appendChild(workingDiv);\n workingDiv.innerHTML = untrustedString;\n /**\n * Remove any elements\n * that are blocked\n */\n blockedTags.forEach((blockedTag) => {\n const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);\n for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {\n const element = getElementsToRemove[elementIndex];\n if (element.parentNode) {\n element.parentNode.removeChild(element);\n }\n else {\n documentFragment.removeChild(element);\n }\n /**\n * We still need to sanitize\n * the children of this element\n * as they are left behind\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < childElements.length; childIndex++) {\n sanitizeElement(childElements[childIndex]);\n }\n }\n });\n /**\n * Go through remaining elements and remove\n * non-allowed attribs\n */\n // IE does not support .children on document fragments, only .childNodes\n const dfChildren = getElementChildren(documentFragment);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {\n sanitizeElement(dfChildren[childIndex]);\n }\n // Append document fragment to div\n const fragmentDiv = document.createElement('div');\n fragmentDiv.appendChild(documentFragment);\n // First child is always the div we did our work in\n const getInnerDiv = fragmentDiv.querySelector('div');\n return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;\n }\n catch (err) {\n console.error(err);\n return '';\n }\n};\n/**\n * Clean up current element based on allowed attributes\n * and then recursively dig down into any child elements to\n * clean those up as well\n */\n// TODO(FW-2832): type (using Element triggers other type errors as well)\nconst sanitizeElement = (element) => {\n // IE uses childNodes, so ignore nodes that are not elements\n if (element.nodeType && element.nodeType !== 1) {\n return;\n }\n /**\n * If attributes is not a NamedNodeMap\n * then we should remove the element entirely.\n * This helps avoid DOM Clobbering attacks where\n * attributes is overridden.\n */\n if (typeof NamedNodeMap !== 'undefined' && !(element.attributes instanceof NamedNodeMap)) {\n element.remove();\n return;\n }\n for (let i = element.attributes.length - 1; i >= 0; i--) {\n const attribute = element.attributes.item(i);\n const attributeName = attribute.name;\n // remove non-allowed attribs\n if (!allowedAttributes.includes(attributeName.toLowerCase())) {\n element.removeAttribute(attributeName);\n continue;\n }\n // clean up any allowed attribs\n // that attempt to do any JS funny-business\n const attributeValue = attribute.value;\n /**\n * We also need to check the property value\n * as javascript: can allow special characters\n * such as and still be valid (i.e. java script)\n */\n const propertyValue = element[attributeName];\n /* eslint-disable */\n if ((attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) ||\n (propertyValue != null && propertyValue.toLowerCase().includes('javascript:'))) {\n element.removeAttribute(attributeName);\n }\n /* eslint-enable */\n }\n /**\n * Sanitize any nested children\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let i = 0; i < childElements.length; i++) {\n sanitizeElement(childElements[i]);\n }\n};\n/**\n * IE doesn't always support .children\n * so we revert to .childNodes instead\n */\n// TODO(FW-2832): type\nconst getElementChildren = (el) => {\n return el.children != null ? el.children : el.childNodes;\n};\nconst isSanitizerEnabled = () => {\n var _a;\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n if (config.get) {\n return config.get('sanitizerEnabled', true);\n }\n else {\n return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;\n }\n }\n return true;\n};\nconst allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];\nconst blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];\nclass IonicSafeString {\n constructor(value) {\n this.value = value;\n }\n}\n\nconst setupConfig = (config) => {\n const win = window;\n const Ionic = win.Ionic;\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {\n return;\n }\n win.Ionic = win.Ionic || {};\n win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);\n return win.Ionic.config;\n};\nconst getMode = () => {\n var _a;\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n if (config.mode) {\n return config.mode;\n }\n else {\n return config.get('mode');\n }\n }\n return 'md';\n};\nconst ENABLE_HTML_CONTENT_DEFAULT = false;\n\nexport { ENABLE_HTML_CONTENT_DEFAULT as E, IonicSafeString as I, sanitizeDOMString as a, getMode as g, setupConfig as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Based on:\n * https://stackoverflow.com/questions/7348009/y-coordinate-for-a-given-x-cubic-bezier\n * https://math.stackexchange.com/questions/26846/is-there-an-explicit-form-for-cubic-b%C3%A9zier-curves\n */\n/**\n * EXPERIMENTAL\n * Given a cubic-bezier curve, get the x value (time) given\n * the y value (progression).\n * Ex: cubic-bezier(0.32, 0.72, 0, 1);\n * P0: (0, 0)\n * P1: (0.32, 0.72)\n * P2: (0, 1)\n * P3: (1, 1)\n *\n * If you give a cubic bezier curve that never reaches the\n * provided progression, this function will return an empty array.\n */\nconst getTimeGivenProgression = (p0, p1, p2, p3, progression) => {\n return solveCubicBezier(p0[1], p1[1], p2[1], p3[1], progression).map((tValue) => {\n return solveCubicParametricEquation(p0[0], p1[0], p2[0], p3[0], tValue);\n });\n};\n/**\n * Solve a cubic equation in one dimension (time)\n */\nconst solveCubicParametricEquation = (p0, p1, p2, p3, t) => {\n const partA = 3 * p1 * Math.pow(t - 1, 2);\n const partB = -3 * p2 * t + 3 * p2 + p3 * t;\n const partC = p0 * Math.pow(t - 1, 3);\n return t * (partA + t * partB) - partC;\n};\n/**\n * Find the `t` value for a cubic bezier using Cardano's formula\n */\nconst solveCubicBezier = (p0, p1, p2, p3, refPoint) => {\n p0 -= refPoint;\n p1 -= refPoint;\n p2 -= refPoint;\n p3 -= refPoint;\n const roots = solveCubicEquation(p3 - 3 * p2 + 3 * p1 - p0, 3 * p2 - 6 * p1 + 3 * p0, 3 * p1 - 3 * p0, p0);\n return roots.filter((root) => root >= 0 && root <= 1);\n};\nconst solveQuadraticEquation = (a, b, c) => {\n const discriminant = b * b - 4 * a * c;\n if (discriminant < 0) {\n return [];\n }\n else {\n return [(-b + Math.sqrt(discriminant)) / (2 * a), (-b - Math.sqrt(discriminant)) / (2 * a)];\n }\n};\nconst solveCubicEquation = (a, b, c, d) => {\n if (a === 0) {\n return solveQuadraticEquation(b, c, d);\n }\n b /= a;\n c /= a;\n d /= a;\n const p = (3 * c - b * b) / 3;\n const q = (2 * b * b * b - 9 * b * c + 27 * d) / 27;\n if (p === 0) {\n return [Math.pow(-q, 1 / 3)];\n }\n else if (q === 0) {\n return [Math.sqrt(-p), -Math.sqrt(-p)];\n }\n const discriminant = Math.pow(q / 2, 2) + Math.pow(p / 3, 3);\n if (discriminant === 0) {\n return [Math.pow(q / 2, 1 / 2) - b / 3];\n }\n else if (discriminant > 0) {\n return [\n Math.pow(-(q / 2) + Math.sqrt(discriminant), 1 / 3) - Math.pow(q / 2 + Math.sqrt(discriminant), 1 / 3) - b / 3,\n ];\n }\n const r = Math.sqrt(Math.pow(-(p / 3), 3));\n const phi = Math.acos(-(q / (2 * Math.sqrt(Math.pow(-(p / 3), 3)))));\n const s = 2 * Math.pow(r, 1 / 3);\n return [\n s * Math.cos(phi / 3) - b / 3,\n s * Math.cos((phi + 2 * Math.PI) / 3) - b / 3,\n s * Math.cos((phi + 4 * Math.PI) / 3) - b / 3,\n ];\n};\n\nexport { getTimeGivenProgression as g };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as componentOnReady } from './helpers-3379ba19.js';\n\n// TODO(FW-2832): types\nconst attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {\n var _a;\n if (delegate) {\n return delegate.attachViewToDom(container, component, componentProps, cssClasses);\n }\n if (!inline && typeof component !== 'string' && !(component instanceof HTMLElement)) {\n throw new Error('framework delegate is missing');\n }\n const el = typeof component === 'string' ? (_a = container.ownerDocument) === null || _a === void 0 ? void 0 : _a.createElement(component) : component;\n if (cssClasses) {\n cssClasses.forEach((c) => el.classList.add(c));\n }\n if (componentProps) {\n Object.assign(el, componentProps);\n }\n container.appendChild(el);\n await new Promise((resolve) => componentOnReady(el, resolve));\n return el;\n};\nconst detachComponent = (delegate, element) => {\n if (element) {\n if (delegate) {\n const container = element.parentElement;\n return delegate.removeViewFromDom(container, element);\n }\n element.remove();\n }\n return Promise.resolve();\n};\nconst CoreDelegate = () => {\n let BaseComponent;\n let Reference;\n const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {\n var _a, _b;\n BaseComponent = parentElement;\n let ChildComponent;\n /**\n * If passing in a component via the `component` props\n * we need to append it inside of our overlay component.\n */\n if (userComponent) {\n /**\n * If passing in the tag name, create\n * the element otherwise just get a reference\n * to the component.\n */\n const el = typeof userComponent === 'string' ? (_a = BaseComponent.ownerDocument) === null || _a === void 0 ? void 0 : _a.createElement(userComponent) : userComponent;\n /**\n * Add any css classes passed in\n * via the cssClasses prop on the overlay.\n */\n cssClasses.forEach((c) => el.classList.add(c));\n /**\n * Add any props passed in\n * via the componentProps prop on the overlay.\n */\n Object.assign(el, userComponentProps);\n /**\n * Finally, append the component\n * inside of the overlay component.\n */\n BaseComponent.appendChild(el);\n ChildComponent = el;\n await new Promise((resolve) => componentOnReady(el, resolve));\n }\n else if (BaseComponent.children.length > 0 &&\n (BaseComponent.tagName === 'ION-MODAL' || BaseComponent.tagName === 'ION-POPOVER')) {\n /**\n * The delegate host wrapper el is only needed for modals and popovers\n * because they allow the dev to provide custom content to the overlay.\n */\n const root = (ChildComponent = BaseComponent.children[0]);\n if (!root.classList.contains('ion-delegate-host')) {\n /**\n * If the root element is not a delegate host, it means\n * that the overlay has not been presented yet and we need\n * to create the containing element with the specified classes.\n */\n const el = (_b = BaseComponent.ownerDocument) === null || _b === void 0 ? void 0 : _b.createElement('div');\n // Add a class to track if the root element was created by the delegate.\n el.classList.add('ion-delegate-host');\n cssClasses.forEach((c) => el.classList.add(c));\n // Move each child from the original template to the new parent element.\n el.append(...BaseComponent.children);\n // Append the new parent element to the original parent element.\n BaseComponent.appendChild(el);\n /**\n * Update the ChildComponent to be the\n * newly created div in the event that one\n * does not already exist.\n */\n ChildComponent = el;\n }\n }\n /**\n * Get the root of the app and\n * add the overlay there.\n */\n const app = document.querySelector('ion-app') || document.body;\n /**\n * Create a placeholder comment so that\n * we can return this component to where\n * it was previously.\n */\n Reference = document.createComment('ionic teleport');\n BaseComponent.parentNode.insertBefore(Reference, BaseComponent);\n app.appendChild(BaseComponent);\n /**\n * We return the child component rather than the overlay\n * reference itself since modal and popover will\n * use this to wait for any Ionic components in the child view\n * to be ready (i.e. componentOnReady) when using the\n * lazy loaded component bundle.\n *\n * However, we fall back to returning BaseComponent\n * in the event that a modal or popover is presented\n * with no child content.\n */\n return ChildComponent !== null && ChildComponent !== void 0 ? ChildComponent : BaseComponent;\n };\n const removeViewFromDom = () => {\n /**\n * Return component to where it was previously in the DOM.\n */\n if (BaseComponent && Reference) {\n Reference.parentNode.insertBefore(BaseComponent, Reference);\n Reference.remove();\n }\n return Promise.resolve();\n };\n return { attachViewToDom, removeViewFromDom };\n};\n\nexport { CoreDelegate as C, attachComponent as a, detachComponent as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nclass GestureController {\n constructor() {\n this.gestureId = 0;\n this.requestedStart = new Map();\n this.disabledGestures = new Map();\n this.disabledScroll = new Set();\n }\n /**\n * Creates a gesture delegate based on the GestureConfig passed\n */\n createGesture(config) {\n var _a;\n return new GestureDelegate(this, this.newID(), config.name, (_a = config.priority) !== null && _a !== void 0 ? _a : 0, !!config.disableScroll);\n }\n /**\n * Creates a blocker that will block any other gesture events from firing. Set in the ion-gesture component.\n */\n createBlocker(opts = {}) {\n return new BlockerDelegate(this, this.newID(), opts.disable, !!opts.disableScroll);\n }\n start(gestureName, id, priority) {\n if (!this.canStart(gestureName)) {\n this.requestedStart.delete(id);\n return false;\n }\n this.requestedStart.set(id, priority);\n return true;\n }\n capture(gestureName, id, priority) {\n if (!this.start(gestureName, id, priority)) {\n return false;\n }\n const requestedStart = this.requestedStart;\n let maxPriority = -10000;\n requestedStart.forEach((value) => {\n maxPriority = Math.max(maxPriority, value);\n });\n if (maxPriority === priority) {\n this.capturedId = id;\n requestedStart.clear();\n const event = new CustomEvent('ionGestureCaptured', { detail: { gestureName } });\n document.dispatchEvent(event);\n return true;\n }\n requestedStart.delete(id);\n return false;\n }\n release(id) {\n this.requestedStart.delete(id);\n if (this.capturedId === id) {\n this.capturedId = undefined;\n }\n }\n disableGesture(gestureName, id) {\n let set = this.disabledGestures.get(gestureName);\n if (set === undefined) {\n set = new Set();\n this.disabledGestures.set(gestureName, set);\n }\n set.add(id);\n }\n enableGesture(gestureName, id) {\n const set = this.disabledGestures.get(gestureName);\n if (set !== undefined) {\n set.delete(id);\n }\n }\n disableScroll(id) {\n this.disabledScroll.add(id);\n if (this.disabledScroll.size === 1) {\n document.body.classList.add(BACKDROP_NO_SCROLL);\n }\n }\n enableScroll(id) {\n this.disabledScroll.delete(id);\n if (this.disabledScroll.size === 0) {\n document.body.classList.remove(BACKDROP_NO_SCROLL);\n }\n }\n canStart(gestureName) {\n if (this.capturedId !== undefined) {\n // a gesture already captured\n return false;\n }\n if (this.isDisabled(gestureName)) {\n return false;\n }\n return true;\n }\n isCaptured() {\n return this.capturedId !== undefined;\n }\n isScrollDisabled() {\n return this.disabledScroll.size > 0;\n }\n isDisabled(gestureName) {\n const disabled = this.disabledGestures.get(gestureName);\n if (disabled && disabled.size > 0) {\n return true;\n }\n return false;\n }\n newID() {\n this.gestureId++;\n return this.gestureId;\n }\n}\nclass GestureDelegate {\n constructor(ctrl, id, name, priority, disableScroll) {\n this.id = id;\n this.name = name;\n this.disableScroll = disableScroll;\n this.priority = priority * 1000000 + id;\n this.ctrl = ctrl;\n }\n canStart() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.canStart(this.name);\n }\n start() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.start(this.name, this.id, this.priority);\n }\n capture() {\n if (!this.ctrl) {\n return false;\n }\n const captured = this.ctrl.capture(this.name, this.id, this.priority);\n if (captured && this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n return captured;\n }\n release() {\n if (this.ctrl) {\n this.ctrl.release(this.id);\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n }\n destroy() {\n this.release();\n this.ctrl = undefined;\n }\n}\nclass BlockerDelegate {\n constructor(ctrl, id, disable, disableScroll) {\n this.id = id;\n this.disable = disable;\n this.disableScroll = disableScroll;\n this.ctrl = ctrl;\n }\n block() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.disableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n }\n unblock() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.enableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n destroy() {\n this.unblock();\n this.ctrl = undefined;\n }\n}\nconst BACKDROP_NO_SCROLL = 'backdrop-no-scroll';\nconst GESTURE_CONTROLLER = new GestureController();\n\nexport { GESTURE_CONTROLLER as G };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { g as getCapacitor } from './capacitor-b4979570.js';\n\nvar ImpactStyle;\n(function (ImpactStyle) {\n /**\n * A collision between large, heavy user interface elements\n *\n * @since 1.0.0\n */\n ImpactStyle[\"Heavy\"] = \"HEAVY\";\n /**\n * A collision between moderately sized user interface elements\n *\n * @since 1.0.0\n */\n ImpactStyle[\"Medium\"] = \"MEDIUM\";\n /**\n * A collision between small, light user interface elements\n *\n * @since 1.0.0\n */\n ImpactStyle[\"Light\"] = \"LIGHT\";\n})(ImpactStyle || (ImpactStyle = {}));\nvar NotificationType;\n(function (NotificationType) {\n /**\n * A notification feedback type indicating that a task has completed successfully\n *\n * @since 1.0.0\n */\n NotificationType[\"Success\"] = \"SUCCESS\";\n /**\n * A notification feedback type indicating that a task has produced a warning\n *\n * @since 1.0.0\n */\n NotificationType[\"Warning\"] = \"WARNING\";\n /**\n * A notification feedback type indicating that a task has failed\n *\n * @since 1.0.0\n */\n NotificationType[\"Error\"] = \"ERROR\";\n})(NotificationType || (NotificationType = {}));\nconst HapticEngine = {\n getEngine() {\n const tapticEngine = window.TapticEngine;\n if (tapticEngine) {\n // Cordova\n // TODO FW-4707 - Remove this in Ionic 8\n return tapticEngine;\n }\n const capacitor = getCapacitor();\n if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('Haptics')) {\n // Capacitor\n return capacitor.Plugins.Haptics;\n }\n return undefined;\n },\n available() {\n const engine = this.getEngine();\n if (!engine) {\n return false;\n }\n const capacitor = getCapacitor();\n /**\n * Developers can manually import the\n * Haptics plugin in their app which will cause\n * getEngine to return the Haptics engine. However,\n * the Haptics engine will throw an error if\n * used in a web browser that does not support\n * the Vibrate API. This check avoids that error\n * if the browser does not support the Vibrate API.\n */\n if ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.getPlatform()) === 'web') {\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n return typeof navigator !== 'undefined' && navigator.vibrate !== undefined;\n }\n return true;\n },\n isCordova() {\n return window.TapticEngine !== undefined;\n },\n isCapacitor() {\n return getCapacitor() !== undefined;\n },\n impact(options) {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n /**\n * To provide backwards compatibility with Cordova apps,\n * we convert the style to lowercase.\n *\n * TODO: FW-4707 - Remove this in Ionic 8\n */\n const style = this.isCapacitor() ? options.style : options.style.toLowerCase();\n engine.impact({ style });\n },\n notification(options) {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n /**\n * To provide backwards compatibility with Cordova apps,\n * we convert the style to lowercase.\n *\n * TODO: FW-4707 - Remove this in Ionic 8\n */\n const type = this.isCapacitor() ? options.type : options.type.toLowerCase();\n engine.notification({ type });\n },\n selection() {\n /**\n * To provide backwards compatibility with Cordova apps,\n * we convert the style to lowercase.\n *\n * TODO: FW-4707 - Remove this in Ionic 8\n */\n const style = this.isCapacitor() ? ImpactStyle.Light : 'light';\n this.impact({ style });\n },\n selectionStart() {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n if (this.isCapacitor()) {\n engine.selectionStart();\n }\n else {\n engine.gestureSelectionStart();\n }\n },\n selectionChanged() {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n if (this.isCapacitor()) {\n engine.selectionChanged();\n }\n else {\n engine.gestureSelectionChanged();\n }\n },\n selectionEnd() {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n if (this.isCapacitor()) {\n engine.selectionEnd();\n }\n else {\n engine.gestureSelectionEnd();\n }\n },\n};\n/**\n * Check to see if the Haptic Plugin is available\n * @return Returns `true` or false if the plugin is available\n */\nconst hapticAvailable = () => {\n return HapticEngine.available();\n};\n/**\n * Trigger a selection changed haptic event. Good for one-time events\n * (not for gestures)\n */\nconst hapticSelection = () => {\n hapticAvailable() && HapticEngine.selection();\n};\n/**\n * Tell the haptic engine that a gesture for a selection change is starting.\n */\nconst hapticSelectionStart = () => {\n hapticAvailable() && HapticEngine.selectionStart();\n};\n/**\n * Tell the haptic engine that a selection changed during a gesture.\n */\nconst hapticSelectionChanged = () => {\n hapticAvailable() && HapticEngine.selectionChanged();\n};\n/**\n * Tell the haptic engine we are done with a gesture. This needs to be\n * called lest resources are not properly recycled.\n */\nconst hapticSelectionEnd = () => {\n hapticAvailable() && HapticEngine.selectionEnd();\n};\n/**\n * Use this to indicate success/failure/warning to the user.\n * options should be of the type `{ style: ImpactStyle.LIGHT }` (or `MEDIUM`/`HEAVY`)\n */\nconst hapticImpact = (options) => {\n hapticAvailable() && HapticEngine.impact(options);\n};\n\nexport { ImpactStyle as I, hapticSelectionStart as a, hapticSelectionChanged as b, hapticSelection as c, hapticImpact as d, hapticSelectionEnd as h };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * When hardwareBackButton: false in config,\n * we need to make sure we also block the default\n * webview behavior. If we don't then it will be\n * possible for users to navigate backward while\n * an overlay is still open. Additionally, it will\n * give the appearance that the hardwareBackButton\n * config is not working as the page transition\n * will still happen.\n */\nconst blockHardwareBackButton = () => {\n document.addEventListener('backbutton', () => { }); // eslint-disable-line\n};\nconst startHardwareBackButton = () => {\n const doc = document;\n let busy = false;\n doc.addEventListener('backbutton', () => {\n if (busy) {\n return;\n }\n let index = 0;\n let handlers = [];\n const ev = new CustomEvent('ionBackButton', {\n bubbles: false,\n detail: {\n register(priority, handler) {\n handlers.push({ priority, handler, id: index++ });\n },\n },\n });\n doc.dispatchEvent(ev);\n const executeAction = async (handlerRegister) => {\n try {\n if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {\n const result = handlerRegister.handler(processHandlers);\n if (result != null) {\n await result;\n }\n }\n }\n catch (e) {\n console.error(e);\n }\n };\n const processHandlers = () => {\n if (handlers.length > 0) {\n let selectedHandler = {\n priority: Number.MIN_SAFE_INTEGER,\n handler: () => undefined,\n id: -1,\n };\n handlers.forEach((handler) => {\n if (handler.priority >= selectedHandler.priority) {\n selectedHandler = handler;\n }\n });\n busy = true;\n handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);\n executeAction(selectedHandler).then(() => (busy = false));\n }\n };\n processHandlers();\n });\n};\nconst OVERLAY_BACK_BUTTON_PRIORITY = 100;\nconst MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays\n\nexport { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, startHardwareBackButton };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst transitionEndAsync = (el, expectedDuration = 0) => {\n return new Promise((resolve) => {\n transitionEnd(el, expectedDuration, resolve);\n });\n};\n/**\n * Allows developer to wait for a transition\n * to finish and fallback to a timer if the\n * transition is cancelled or otherwise\n * never finishes. Also see transitionEndAsync\n * which is an await-able version of this.\n */\nconst transitionEnd = (el, expectedDuration = 0, callback) => {\n let unRegTrans;\n let animationTimeout;\n const opts = { passive: true };\n const ANIMATION_FALLBACK_TIMEOUT = 500;\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (ev === undefined || el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.addEventListener('transitionend', onTransitionEnd, opts);\n animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);\n unRegTrans = () => {\n if (animationTimeout) {\n clearTimeout(animationTimeout);\n animationTimeout = undefined;\n }\n el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.removeEventListener('transitionend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\n/**\n * Waits for a component to be ready for\n * both custom element and non-custom element builds.\n * If non-custom element build, el.componentOnReady\n * will be used.\n * For custom element builds, we wait a frame\n * so that the inner contents of the component\n * have a chance to render.\n *\n * Use this utility rather than calling\n * el.componentOnReady yourself.\n */\nconst componentOnReady = (el, callback) => {\n if (el.componentOnReady) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n el.componentOnReady().then((resolvedEl) => callback(resolvedEl));\n }\n else {\n raf(() => callback(el));\n }\n};\n/**\n * This functions checks if a Stencil component is using\n * the lazy loaded build of Stencil. Returns `true` if\n * the component is lazy loaded. Returns `false` otherwise.\n */\nconst hasLazyBuild = (stencilEl) => {\n return stencilEl.componentOnReady !== undefined;\n};\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach((attr) => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n/**\n * List of available ARIA attributes + `role`.\n * Removed deprecated attributes.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes\n */\nconst ariaAttributes = [\n 'role',\n 'aria-activedescendant',\n 'aria-atomic',\n 'aria-autocomplete',\n 'aria-braillelabel',\n 'aria-brailleroledescription',\n 'aria-busy',\n 'aria-checked',\n 'aria-colcount',\n 'aria-colindex',\n 'aria-colindextext',\n 'aria-colspan',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-description',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-flowto',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-level',\n 'aria-live',\n 'aria-multiline',\n 'aria-multiselectable',\n 'aria-orientation',\n 'aria-owns',\n 'aria-placeholder',\n 'aria-posinset',\n 'aria-pressed',\n 'aria-readonly',\n 'aria-relevant',\n 'aria-required',\n 'aria-roledescription',\n 'aria-rowcount',\n 'aria-rowindex',\n 'aria-rowindextext',\n 'aria-rowspan',\n 'aria-selected',\n 'aria-setsize',\n 'aria-sort',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n];\n/**\n * Returns an array of aria attributes that should be copied from\n * the shadow host element to a target within the light DOM.\n * @param el The element that the attributes should be copied from.\n * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.\n * Use this in instances where we manually specify aria attributes on the `` element.\n */\nconst inheritAriaAttributes = (el, ignoreList) => {\n let attributesToInherit = ariaAttributes;\n if (ignoreList && ignoreList.length > 0) {\n attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));\n }\n return inheritAttributes(el, attributesToInherit);\n};\nconst addEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const ael = config.get('_ael');\n if (ael) {\n return ael(el, eventName, callback, opts);\n }\n else if (config._ael) {\n return config._ael(el, eventName, callback, opts);\n }\n }\n }\n return el.addEventListener(eventName, callback, opts);\n};\nconst removeEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const rel = config.get('_rel');\n if (rel) {\n return rel(el, eventName, callback, opts);\n }\n else if (config._rel) {\n return config._rel(el, eventName, callback, opts);\n }\n }\n }\n return el.removeEventListener(eventName, callback, opts);\n};\n/**\n * Gets the root context of a shadow dom element\n * On newer browsers this will be the shadowRoot,\n * but for older browser this may just be the\n * element itself.\n *\n * Useful for whenever you need to explicitly\n * do \"myElement.shadowRoot!.querySelector(...)\".\n */\nconst getElementRoot = (el, fallback = el) => {\n return el.shadowRoot || fallback;\n};\n/**\n * Patched version of requestAnimationFrame that avoids ngzone\n * Use only when you know ngzone should not run\n */\nconst raf = (h) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(h);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(h);\n }\n return setTimeout(h);\n};\nconst hasShadowDom = (el) => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\nconst findItemLabel = (componentEl) => {\n const itemEl = componentEl.closest('ion-item');\n if (itemEl) {\n return itemEl.querySelector('ion-label');\n }\n return null;\n};\nconst focusElement = (el) => {\n el.focus();\n /**\n * When programmatically focusing an element,\n * the focus-visible utility will not run because\n * it is expecting a keyboard event to have triggered this;\n * however, there are times when we need to manually control\n * this behavior so we call the `setFocus` method on ion-app\n * which will let us explicitly set the elements to focus.\n */\n if (el.classList.contains('ion-focusable')) {\n const app = el.closest('ion-app');\n if (app) {\n app.setFocus([el]);\n }\n }\n};\n/**\n * This method is used for Ionic's input components that use Shadow DOM. In\n * order to properly label the inputs to work with screen readers, we need\n * to get the text content of the label outside of the shadow root and pass\n * it to the input inside of the shadow root.\n *\n * Referencing label elements by id from outside of the component is\n * impossible due to the shadow boundary, read more here:\n * https://developer.salesforce.com/blogs/2020/01/accessibility-for-web-components.html\n *\n * @param componentEl The shadow element that needs the aria label\n * @param inputId The unique identifier for the input\n */\nconst getAriaLabel = (componentEl, inputId) => {\n let labelText;\n // If the user provides their own label via the aria-labelledby attr\n // we should use that instead of looking for an ion-label\n const labelledBy = componentEl.getAttribute('aria-labelledby');\n // Grab the id off of the component in case they are using\n // a custom label using the label element\n const componentId = componentEl.id;\n let labelId = labelledBy !== null && labelledBy.trim() !== '' ? labelledBy : inputId + '-lbl';\n let label = labelledBy !== null && labelledBy.trim() !== '' ? document.getElementById(labelledBy) : findItemLabel(componentEl);\n if (label) {\n if (labelledBy === null) {\n label.id = labelId;\n }\n labelText = label.textContent;\n label.setAttribute('aria-hidden', 'true');\n // if there is no label, check to see if the user has provided\n // one by setting an id on the component and using the label element\n }\n else if (componentId.trim() !== '') {\n label = document.querySelector(`label[for=\"${componentId}\"]`);\n if (label) {\n if (label.id !== '') {\n labelId = label.id;\n }\n else {\n label.id = labelId = `${componentId}-lbl`;\n }\n labelText = label.textContent;\n }\n }\n return { label, labelId, labelText };\n};\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nconst renderHiddenInput = (always, container, name, value, disabled) => {\n if (always || hasShadowDom(container)) {\n let input = container.querySelector('input.aux-input');\n if (!input) {\n input = container.ownerDocument.createElement('input');\n input.type = 'hidden';\n input.classList.add('aux-input');\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || '';\n }\n};\nconst clamp = (min, n, max) => {\n return Math.max(min, Math.min(n, max));\n};\nconst assert = (actual, reason) => {\n if (!actual) {\n const message = 'ASSERT: ' + reason;\n console.error(message);\n debugger; // eslint-disable-line\n throw new Error(message);\n }\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\nconst pointerCoord = (ev) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n return { x: touch.clientX, y: touch.clientY };\n }\n if (ev.pageX !== undefined) {\n return { x: ev.pageX, y: ev.pageY };\n }\n }\n return { x: 0, y: 0 };\n};\n/**\n * @hidden\n * Given a side, return if it should be on the end\n * based on the value of dir\n * @param side the side\n * @param isRTL whether the application dir is rtl\n */\nconst isEndSide = (side) => {\n const isRTL = document.dir === 'rtl';\n switch (side) {\n case 'start':\n return isRTL;\n case 'end':\n return !isRTL;\n default:\n throw new Error(`\"${side}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`);\n }\n};\nconst debounceEvent = (event, wait) => {\n const original = event._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n };\n};\nconst debounce = (func, wait = 0) => {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n/**\n * Check whether the two string maps are shallow equal.\n *\n * undefined is treated as an empty map.\n *\n * @returns whether the keys are the same and the values are shallow equal.\n */\nconst shallowEqualStringMap = (map1, map2) => {\n map1 !== null && map1 !== void 0 ? map1 : (map1 = {});\n map2 !== null && map2 !== void 0 ? map2 : (map2 = {});\n if (map1 === map2) {\n return true;\n }\n const keys1 = Object.keys(map1);\n if (keys1.length !== Object.keys(map2).length) {\n return false;\n }\n for (const k1 of keys1) {\n if (!(k1 in map2)) {\n return false;\n }\n if (map1[k1] !== map2[k1]) {\n return false;\n }\n }\n return true;\n};\n\nexport { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, getAriaLabel as e, focusElement as f, getElementRoot as g, findItemLabel as h, inheritAriaAttributes as i, debounceEvent as j, inheritAttributes as k, clamp as l, hasLazyBuild as m, hasShadowDom as n, assert as o, isEndSide as p, debounce as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u, pointerCoord as v };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Logs a warning to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n */\nconst printIonWarning = (message, ...params) => {\n return console.warn(`[Ionic Warning]: ${message}`, ...params);\n};\n/*\n * Logs an error to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n * @param params - Additional arguments to supply to the console.error.\n */\nconst printIonError = (message, ...params) => {\n return console.error(`[Ionic Error]: ${message}`, ...params);\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within a specific selector.\n *\n * @param el The web component element this is requiring the element.\n * @param targetSelectors The selector or selectors that were not found.\n */\nconst printRequiredElementError = (el, ...targetSelectors) => {\n return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);\n};\n\nexport { printIonError as a, printRequiredElementError as b, printIonWarning as p };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as componentOnReady } from './helpers-3379ba19.js';\nimport { b as printRequiredElementError } from './index-595d62c9.js';\n\nconst ION_CONTENT_TAG_NAME = 'ION-CONTENT';\nconst ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';\nconst ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';\n/**\n * Selector used for implementations reliant on `` for scroll event changes.\n *\n * Developers should use the `.ion-content-scroll-host` selector to target the element emitting\n * scroll events. With virtual scroll implementations this will be the host element for\n * the scroll viewport.\n */\nconst ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;\nconst isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;\n/**\n * Waits for the element host fully initialize before\n * returning the inner scroll element.\n *\n * For `ion-content` the scroll target will be the result\n * of the `getScrollElement` function.\n *\n * For custom implementations it will be the element host\n * or a selector within the host, if supplied through `scrollTarget`.\n */\nconst getScrollElement = async (el) => {\n if (isIonContent(el)) {\n await new Promise((resolve) => componentOnReady(el, resolve));\n return el.getScrollElement();\n }\n return el;\n};\n/**\n * Queries the element matching the selector for IonContent.\n * See ION_CONTENT_SELECTOR for the selector used.\n */\nconst findIonContent = (el) => {\n /**\n * First we try to query the custom scroll host selector in cases where\n * the implementation is using an outer `ion-content` with an inner custom\n * scroll container.\n */\n const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);\n if (customContentHost) {\n return customContentHost;\n }\n return el.querySelector(ION_CONTENT_SELECTOR);\n};\n/**\n * Queries the closest element matching the selector for IonContent.\n */\nconst findClosestIonContent = (el) => {\n return el.closest(ION_CONTENT_SELECTOR);\n};\n/**\n * Scrolls to the top of the element. If an `ion-content` is found, it will scroll\n * using the public API `scrollToTop` with a duration.\n */\n// TODO(FW-2832): type\nconst scrollToTop = (el, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollToTop(durationMs);\n }\n return Promise.resolve(el.scrollTo({\n top: 0,\n left: 0,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll\n * using the public API `scrollByPoint` with a duration.\n */\nconst scrollByPoint = (el, x, y, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollByPoint(x, y, durationMs);\n }\n return Promise.resolve(el.scrollBy({\n top: y,\n left: x,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within either the `ion-content` selector or the `.ion-content-scroll-host` class.\n */\nconst printIonContentErrorMsg = (el) => {\n return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);\n};\n/**\n * Several components in Ionic need to prevent scrolling\n * during a gesture (card modal, range, item sliding, etc).\n * Use this utility to account for ion-content and custom content hosts.\n */\nconst disableContentScrollY = (contentEl) => {\n if (isIonContent(contentEl)) {\n const ionContent = contentEl;\n const initialScrollY = ionContent.scrollY;\n ionContent.scrollY = false;\n /**\n * This should be passed into resetContentScrollY\n * so that we can revert ion-content's scrollY to the\n * correct state. For example, if scrollY = false\n * initially, we do not want to enable scrolling\n * when we call resetContentScrollY.\n */\n return initialScrollY;\n }\n else {\n contentEl.style.setProperty('overflow', 'hidden');\n return true;\n }\n};\nconst resetContentScrollY = (contentEl, initialScrollY) => {\n if (isIonContent(contentEl)) {\n contentEl.scrollY = initialScrollY;\n }\n else {\n contentEl.style.removeProperty('overflow');\n }\n};\n\nexport { ION_CONTENT_CLASS_SELECTOR as I, findIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findClosestIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * When accessing the document or window, it is important\n * to account for SSR applications where the\n * window is not available. Code that accesses\n * window when it is not available will crash.\n * Even checking if `window === undefined` will cause\n * apps to crash in SSR.\n *\n * Use win below to access an SSR-safe version\n * of the window.\n *\n * Example 1:\n * Before:\n * if (window.innerWidth > 768) { ... }\n *\n * After:\n * import { win } from 'path/to/this/file';\n * if (win?.innerWidth > 768) { ... }\n *\n * Note: Code inside of this if-block will\n * not run in an SSR environment.\n */\nconst win = typeof window !== 'undefined' ? window : undefined;\nconst doc = typeof document !== 'undefined' ? document : undefined;\n\nexport { doc as d, win as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as writeTask, B as Build } from './index-b49b173c.js';\nimport { r as raf } from './helpers-3379ba19.js';\n\nconst LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nconst LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nconst LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nconst LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nconst LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n\nconst iosTransitionAnimation = () => import('./ios.transition-a86d7bbe.js');\nconst mdTransitionAnimation = () => import('./md.transition-365ef6b6.js');\n// TODO(FW-2832): types\nconst transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n beforeTransition(opts);\n runTransition(opts).then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n });\n });\n });\n};\nconst beforeTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n setZIndex(enteringEl, leavingEl, opts.direction);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n await waitForReady(opts, false);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n if (deep) {\n await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);\n }\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nconst lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\n/**\n * Wait two request animation frame loops.\n * This allows the framework implementations enough time to mount\n * the user-defined contents. This is often needed when using inline\n * modals and popovers that accept user components. For popover,\n * the contents must be mounted for the popover to be sized correctly.\n * For modals, the contents must be mounted for iOS to run the\n * transition correctly.\n *\n * On Angular and React, a single raf is enough time, but for Vue\n * we need to wait two rafs. As a result we are using two rafs for\n * all frameworks to ensure contents are mounted.\n */\nconst waitForMount = () => {\n return new Promise((resolve) => raf(() => raf(() => resolve())));\n};\nconst deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nconst setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\nconst getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n\nexport { LIFECYCLE_WILL_ENTER as L, LIFECYCLE_DID_ENTER as a, LIFECYCLE_WILL_LEAVE as b, LIFECYCLE_DID_LEAVE as c, LIFECYCLE_WILL_UNLOAD as d, deepReady as e, getIonPageElement as g, lifecycle as l, setPageHidden as s, transition as t, waitForMount as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst NAMESPACE = 'ionic';\n\n/**\n * Virtual DOM patching algorithm based on Snabbdom by\n * Simon Friis Vindum (@paldepind)\n * Licensed under the MIT License\n * https://github.com/snabbdom/snabbdom/blob/master/LICENSE\n *\n * Modified for Stencil's renderer and slot projection\n */\nlet scopeId;\nlet contentRef;\nlet hostTagName;\nlet useNativeShadowDom = false;\nlet checkSlotFallbackVisibility = false;\nlet checkSlotRelocate = false;\nlet isSvgMode = false;\nlet queuePending = false;\nconst Build = {\n isDev: false,\n isBrowser: true,\n isServer: false,\n isTesting: false,\n};\nconst getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst createTime = (fnName, tagName = '') => {\n {\n return () => {\n return;\n };\n }\n};\nconst uniqueTime = (key, measureText) => {\n {\n return () => {\n return;\n };\n }\n};\nconst CONTENT_REF_ID = 'r';\nconst ORG_LOCATION_ID = 'o';\nconst SLOT_NODE_ID = 's';\nconst TEXT_NODE_ID = 't';\nconst HYDRATE_ID = 's-id';\nconst HYDRATED_STYLE_ID = 'sty-id';\nconst HYDRATE_CHILD_ID = 'c-id';\nconst HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';\nconst XLINK_NS = 'http://www.w3.org/1999/xlink';\n/**\n * Default style mode id\n */\n/**\n * Reusable empty obj/array\n * Don't add values to these!!\n */\nconst EMPTY_OBJ = {};\n/**\n * Namespaces\n */\nconst SVG_NS = 'http://www.w3.org/2000/svg';\nconst HTML_NS = 'http://www.w3.org/1999/xhtml';\nconst isDef = (v) => v != null;\n/**\n * Check whether a value is a 'complex type', defined here as an object or a\n * function.\n *\n * @param o the value to check\n * @returns whether it's a complex type or not\n */\nconst isComplexType = (o) => {\n // https://jsperf.com/typeof-fn-object/5\n o = typeof o;\n return o === 'object' || o === 'function';\n};\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n/**\n * Production h() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;\nconst h = (nodeName, vnodeData, ...children) => {\n let child = null;\n let key = null;\n let slotName = null;\n let simple = false;\n let lastSimple = false;\n const vNodeChildren = [];\n const walk = (c) => {\n for (let i = 0; i < c.length; i++) {\n child = c[i];\n if (Array.isArray(child)) {\n walk(child);\n }\n else if (child != null && typeof child !== 'boolean') {\n if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {\n child = String(child);\n }\n if (simple && lastSimple) {\n // If the previous child was simple (string), we merge both\n vNodeChildren[vNodeChildren.length - 1].$text$ += child;\n }\n else {\n // Append a new vNode, if it's text, we create a text vNode\n vNodeChildren.push(simple ? newVNode(null, child) : child);\n }\n lastSimple = simple;\n }\n }\n };\n walk(children);\n if (vnodeData) {\n if (vnodeData.key) {\n key = vnodeData.key;\n }\n if (vnodeData.name) {\n slotName = vnodeData.name;\n }\n // normalize class / className attributes\n {\n const classData = vnodeData.className || vnodeData.class;\n if (classData) {\n vnodeData.class =\n typeof classData !== 'object'\n ? classData\n : Object.keys(classData)\n .filter((k) => classData[k])\n .join(' ');\n }\n }\n }\n if (typeof nodeName === 'function') {\n // nodeName is a functional component\n return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);\n }\n const vnode = newVNode(nodeName, null);\n vnode.$attrs$ = vnodeData;\n if (vNodeChildren.length > 0) {\n vnode.$children$ = vNodeChildren;\n }\n {\n vnode.$key$ = key;\n }\n {\n vnode.$name$ = slotName;\n }\n return vnode;\n};\n/**\n * A utility function for creating a virtual DOM node from a tag and some\n * possible text content.\n *\n * @param tag the tag for this element\n * @param text possible text content for the node\n * @returns a newly-minted virtual DOM node\n */\nconst newVNode = (tag, text) => {\n const vnode = {\n $flags$: 0,\n $tag$: tag,\n $text$: text,\n $elm$: null,\n $children$: null,\n };\n {\n vnode.$attrs$ = null;\n }\n {\n vnode.$key$ = null;\n }\n {\n vnode.$name$ = null;\n }\n return vnode;\n};\nconst Host = {};\n/**\n * Check whether a given node is a Host node or not\n *\n * @param node the virtual DOM node to check\n * @returns whether it's a Host node or not\n */\nconst isHost = (node) => node && node.$tag$ === Host;\n/**\n * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.\n *\n * Note that these functions convert from {@link d.VNode} to\n * {@link d.ChildNode} to give functional component developers a friendly\n * interface.\n */\nconst vdomFnUtils = {\n forEach: (children, cb) => children.map(convertToPublic).forEach(cb),\n map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),\n};\n/**\n * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a\n * friendlier public interface (hence, 'convertToPublic').\n *\n * @param node the virtual DOM node to convert\n * @returns a converted child node\n */\nconst convertToPublic = (node) => ({\n vattrs: node.$attrs$,\n vchildren: node.$children$,\n vkey: node.$key$,\n vname: node.$name$,\n vtag: node.$tag$,\n vtext: node.$text$,\n});\n/**\n * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in\n * order to use the resulting object in the virtual DOM. The initial object was\n * likely created as part of presenting a public API, so converting it back\n * involved making it 'private' again (hence, `convertToPrivate`).\n *\n * @param node the child node to convert\n * @returns a converted virtual DOM node\n */\nconst convertToPrivate = (node) => {\n if (typeof node.vtag === 'function') {\n const vnodeData = Object.assign({}, node.vattrs);\n if (node.vkey) {\n vnodeData.key = node.vkey;\n }\n if (node.vname) {\n vnodeData.name = node.vname;\n }\n return h(node.vtag, vnodeData, ...(node.vchildren || []));\n }\n const vnode = newVNode(node.vtag, node.vtext);\n vnode.$attrs$ = node.vattrs;\n vnode.$children$ = node.vchildren;\n vnode.$key$ = node.vkey;\n vnode.$name$ = node.vname;\n return vnode;\n};\nconst initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {\n const endHydrate = createTime('hydrateClient', tagName);\n const shadowRoot = hostElm.shadowRoot;\n const childRenderNodes = [];\n const slotNodes = [];\n const shadowRootNodes = shadowRoot ? [] : null;\n const vnode = (hostRef.$vnode$ = newVNode(tagName, null));\n if (!plt.$orgLocNodes$) {\n initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));\n }\n hostElm[HYDRATE_ID] = hostId;\n hostElm.removeAttribute(HYDRATE_ID);\n clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);\n childRenderNodes.map((c) => {\n const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;\n const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);\n const node = c.$elm$;\n if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {\n orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);\n }\n if (!shadowRoot) {\n node['s-hn'] = tagName;\n if (orgLocationNode) {\n node['s-ol'] = orgLocationNode;\n node['s-ol']['s-nr'] = node;\n }\n }\n plt.$orgLocNodes$.delete(orgLocationId);\n });\n if (shadowRoot) {\n shadowRootNodes.map((shadowRootNode) => {\n if (shadowRootNode) {\n shadowRoot.appendChild(shadowRootNode);\n }\n });\n }\n endHydrate();\n};\nconst clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {\n let childNodeType;\n let childIdSplt;\n let childVNode;\n let i;\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childNodeType = node.getAttribute(HYDRATE_CHILD_ID);\n if (childNodeType) {\n // got the node data from the element's attribute\n // `${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = childNodeType.split('.');\n if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[0],\n $nodeId$: childIdSplt[1],\n $depth$: childIdSplt[2],\n $index$: childIdSplt[3],\n $tag$: node.tagName.toLowerCase(),\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $text$: null,\n };\n childRenderNodes.push(childVNode);\n node.removeAttribute(HYDRATE_CHILD_ID);\n // this is a new child vnode\n // so ensure its parent vnode has the vchildren array\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n // add our child vnode to a specific index of the vnode's children\n parentVNode.$children$[childVNode.$index$] = childVNode;\n // this is now the new parent vnode for all the next child checks\n parentVNode = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n // recursively drill down, end to start so we can remove nodes\n for (i = node.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);\n }\n if (node.shadowRoot) {\n // keep drilling down through the shadow root nodes\n for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);\n }\n }\n }\n else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {\n // comment node for either the host id or a 0 host id\n childNodeType = childIdSplt[0];\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[1],\n $nodeId$: childIdSplt[2],\n $depth$: childIdSplt[3],\n $index$: childIdSplt[4],\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $tag$: null,\n $text$: null,\n };\n if (childNodeType === TEXT_NODE_ID) {\n childVNode.$elm$ = node.nextSibling;\n if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {\n childVNode.$text$ = childVNode.$elm$.textContent;\n childRenderNodes.push(childVNode);\n // remove the text comment since it's no longer needed\n node.remove();\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n else if (childVNode.$hostId$ === hostId) {\n // this comment node is specifically for this host id\n if (childNodeType === SLOT_NODE_ID) {\n // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;\n childVNode.$tag$ = 'slot';\n if (childIdSplt[5]) {\n node['s-sn'] = childVNode.$name$ = childIdSplt[5];\n }\n else {\n node['s-sn'] = '';\n }\n node['s-sr'] = true;\n if (shadowRootNodes) {\n // browser support shadowRoot and this is a shadow dom component\n // create an actual slot element\n childVNode.$elm$ = doc.createElement(childVNode.$tag$);\n if (childVNode.$name$) {\n // add the slot name attribute\n childVNode.$elm$.setAttribute('name', childVNode.$name$);\n }\n // insert the new slot element before the slot comment\n node.parentNode.insertBefore(childVNode.$elm$, node);\n // remove the slot comment since it's not needed for shadow\n node.remove();\n if (childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n slotNodes.push(childVNode);\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n }\n else if (childNodeType === CONTENT_REF_ID) {\n // `${CONTENT_REF_ID}.${hostId}`;\n if (shadowRootNodes) {\n // remove the content ref comment since it's not needed for shadow\n node.remove();\n }\n else {\n hostElm['s-cr'] = node;\n node['s-cn'] = true;\n }\n }\n }\n }\n }\n else if (parentVNode && parentVNode.$tag$ === 'style') {\n const vnode = newVNode(null, node.textContent);\n vnode.$elm$ = node;\n vnode.$index$ = '0';\n parentVNode.$children$ = [vnode];\n }\n};\nconst initializeDocumentHydrate = (node, orgLocNodes) => {\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n let i = 0;\n for (; i < node.childNodes.length; i++) {\n initializeDocumentHydrate(node.childNodes[i], orgLocNodes);\n }\n if (node.shadowRoot) {\n for (i = 0; i < node.shadowRoot.childNodes.length; i++) {\n initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);\n }\n }\n }\n else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n const childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[0] === ORG_LOCATION_ID) {\n orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);\n node.nodeValue = '';\n // useful to know if the original location is\n // the root light-dom of a shadow dom component\n node['s-en'] = childIdSplt[3];\n }\n }\n};\n// Private\nconst computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);\n// Public\nconst setMode = (handler) => modeResolutionChain.push(handler);\nconst getMode = (ref) => getHostRef(ref).$modeName$;\n/**\n * Parse a new property value for a given property type.\n *\n * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,\n * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:\n * 1. `any`, the type given to `propValue` in the function signature\n * 2. the type stored from `propType`.\n *\n * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.\n *\n * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to\n * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is\n * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.\n * ```tsx\n * \n * ```\n *\n * HTML prop values on the other hand, will always a string\n *\n * @param propValue the new value to coerce to some type\n * @param propType the type of the prop, expressed as a binary number\n * @returns the parsed/coerced value\n */\nconst parsePropertyValue = (propValue, propType) => {\n // ensure this value is of the correct prop type\n if (propValue != null && !isComplexType(propValue)) {\n if (propType & 4 /* MEMBER_FLAGS.Boolean */) {\n // per the HTML spec, any string value means it is a boolean true value\n // but we'll cheat here and say that the string \"false\" is the boolean false\n return propValue === 'false' ? false : propValue === '' || !!propValue;\n }\n if (propType & 2 /* MEMBER_FLAGS.Number */) {\n // force it to be a number\n return parseFloat(propValue);\n }\n if (propType & 1 /* MEMBER_FLAGS.String */) {\n // could have been passed as a number or boolean\n // but we still want it as a string\n return String(propValue);\n }\n // redundant return here for better minification\n return propValue;\n }\n // not sure exactly what type we want\n // so no need to change to a different type\n return propValue;\n};\nconst getElement = (ref) => (getHostRef(ref).$hostElement$ );\nconst createEvent = (ref, name, flags) => {\n const elm = getElement(ref);\n return {\n emit: (detail) => {\n return emitEvent(elm, name, {\n bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),\n composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),\n cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),\n detail,\n });\n },\n };\n};\n/**\n * Helper function to create & dispatch a custom Event on a provided target\n * @param elm the target of the Event\n * @param name the name to give the custom Event\n * @param opts options for configuring a custom Event\n * @returns the custom Event\n */\nconst emitEvent = (elm, name, opts) => {\n const ev = plt.ce(name, opts);\n elm.dispatchEvent(ev);\n return ev;\n};\nconst rootAppliedStyles = /*@__PURE__*/ new WeakMap();\nconst registerStyle = (scopeId, cssText, allowCS) => {\n let style = styles.get(scopeId);\n if (supportsConstructableStylesheets && allowCS) {\n style = (style || new CSSStyleSheet());\n if (typeof style === 'string') {\n style = cssText;\n }\n else {\n style.replaceSync(cssText);\n }\n }\n else {\n style = cssText;\n }\n styles.set(scopeId, style);\n};\nconst addStyle = (styleContainerNode, cmpMeta, mode) => {\n var _a;\n const scopeId = getScopeId(cmpMeta, mode);\n const style = styles.get(scopeId);\n // if an element is NOT connected then getRootNode() will return the wrong root node\n // so the fallback is to always use the document for the root node in those cases\n styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;\n if (style) {\n if (typeof style === 'string') {\n styleContainerNode = styleContainerNode.head || styleContainerNode;\n let appliedStyles = rootAppliedStyles.get(styleContainerNode);\n let styleElm;\n if (!appliedStyles) {\n rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));\n }\n if (!appliedStyles.has(scopeId)) {\n if (styleContainerNode.host &&\n (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}=\"${scopeId}\"]`))) {\n // This is only happening on native shadow-dom, do not needs CSS var shim\n styleElm.innerHTML = style;\n }\n else {\n styleElm = doc.createElement('style');\n styleElm.innerHTML = style;\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n styleElm.setAttribute('nonce', nonce);\n }\n styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));\n }\n if (appliedStyles) {\n appliedStyles.add(scopeId);\n }\n }\n }\n else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {\n styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];\n }\n }\n return scopeId;\n};\nconst attachStyles = (hostRef) => {\n const cmpMeta = hostRef.$cmpMeta$;\n const elm = hostRef.$hostElement$;\n const flags = cmpMeta.$flags$;\n const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);\n const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$);\n if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n // DOM WRITE!!\n elm['s-sc'] = scopeId;\n elm.classList.add(scopeId + '-h');\n if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n elm.classList.add(scopeId + '-s');\n }\n }\n endAttachStyles();\n};\nconst getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* CMP_FLAGS.hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);\nconst convertScopedToShadow = (css) => css.replace(/\\/\\*!@([^\\/]+)\\*\\/[^\\{]+\\{/g, '$1{');\n/**\n * Production setAccessor() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n/**\n * When running a VDom render set properties present on a VDom node onto the\n * corresponding HTML element.\n *\n * Note that this function has special functionality for the `class`,\n * `style`, `key`, and `ref` attributes, as well as event handlers (like\n * `onClick`, etc). All others are just passed through as-is.\n *\n * @param elm the HTMLElement onto which attributes should be set\n * @param memberName the name of the attribute to set\n * @param oldValue the old value for the attribute\n * @param newValue the new value for the attribute\n * @param isSvg whether we're in an svg context or not\n * @param flags bitflags for Vdom variables\n */\nconst setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {\n if (oldValue !== newValue) {\n let isProp = isMemberInElement(elm, memberName);\n let ln = memberName.toLowerCase();\n if (memberName === 'class') {\n const classList = elm.classList;\n const oldClasses = parseClassList(oldValue);\n const newClasses = parseClassList(newValue);\n classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));\n classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));\n }\n else if (memberName === 'style') {\n // update style attribute, css properties and values\n {\n for (const prop in oldValue) {\n if (!newValue || newValue[prop] == null) {\n if (prop.includes('-')) {\n elm.style.removeProperty(prop);\n }\n else {\n elm.style[prop] = '';\n }\n }\n }\n }\n for (const prop in newValue) {\n if (!oldValue || newValue[prop] !== oldValue[prop]) {\n if (prop.includes('-')) {\n elm.style.setProperty(prop, newValue[prop]);\n }\n else {\n elm.style[prop] = newValue[prop];\n }\n }\n }\n }\n else if (memberName === 'key')\n ;\n else if (memberName === 'ref') {\n // minifier will clean this up\n if (newValue) {\n newValue(elm);\n }\n }\n else if ((!isProp ) &&\n memberName[0] === 'o' &&\n memberName[1] === 'n') {\n // Event Handlers\n // so if the member name starts with \"on\" and the 3rd characters is\n // a capital letter, and it's not already a member on the element,\n // then we're assuming it's an event listener\n if (memberName[2] === '-') {\n // on- prefixed events\n // allows to be explicit about the dom event to listen without any magic\n // under the hood:\n // // listens for \"click\"\n // // listens for \"Click\"\n // // listens for \"ionChange\"\n // // listens for \"EVENTS\"\n memberName = memberName.slice(3);\n }\n else if (isMemberInElement(win, ln)) {\n // standard event\n // the JSX attribute could have been \"onMouseOver\" and the\n // member name \"onmouseover\" is on the window's prototype\n // so let's add the listener \"mouseover\", which is all lowercased\n memberName = ln.slice(2);\n }\n else {\n // custom event\n // the JSX attribute could have been \"onMyCustomEvent\"\n // so let's trim off the \"on\" prefix and lowercase the first character\n // and add the listener \"myCustomEvent\"\n // except for the first character, we keep the event name case\n memberName = ln[2] + memberName.slice(3);\n }\n if (oldValue) {\n plt.rel(elm, memberName, oldValue, false);\n }\n if (newValue) {\n plt.ael(elm, memberName, newValue, false);\n }\n }\n else {\n // Set property if it exists and it's not a SVG\n const isComplex = isComplexType(newValue);\n if ((isProp || (isComplex && newValue !== null)) && !isSvg) {\n try {\n if (!elm.tagName.includes('-')) {\n const n = newValue == null ? '' : newValue;\n // Workaround for Safari, moving the caret when re-assigning the same valued\n if (memberName === 'list') {\n isProp = false;\n }\n else if (oldValue == null || elm[memberName] != n) {\n elm[memberName] = n;\n }\n }\n else {\n elm[memberName] = newValue;\n }\n }\n catch (e) { }\n }\n /**\n * Need to manually update attribute if:\n * - memberName is not an attribute\n * - if we are rendering the host element in order to reflect attribute\n * - if it's a SVG, since properties might not work in \n * - if the newValue is null/undefined or 'false'.\n */\n let xlink = false;\n {\n if (ln !== (ln = ln.replace(/^xlink\\:?/, ''))) {\n memberName = ln;\n xlink = true;\n }\n }\n if (newValue == null || newValue === false) {\n if (newValue !== false || elm.getAttribute(memberName) === '') {\n if (xlink) {\n elm.removeAttributeNS(XLINK_NS, memberName);\n }\n else {\n elm.removeAttribute(memberName);\n }\n }\n }\n else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {\n newValue = newValue === true ? '' : newValue;\n if (xlink) {\n elm.setAttributeNS(XLINK_NS, memberName, newValue);\n }\n else {\n elm.setAttribute(memberName, newValue);\n }\n }\n }\n }\n};\nconst parseClassListRegex = /\\s/;\nconst parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));\nconst updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {\n // if the element passed in is a shadow root, which is a document fragment\n // then we want to be adding attrs/props to the shadow root's \"host\" element\n // if it's not a shadow root, then we add attrs/props to the same element\n const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host\n ? newVnode.$elm$.host\n : newVnode.$elm$;\n const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;\n const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;\n {\n // remove attributes no longer present on the vnode by setting them to undefined\n for (memberName in oldVnodeAttrs) {\n if (!(memberName in newVnodeAttrs)) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);\n }\n }\n }\n // add new & update changed attributes\n for (memberName in newVnodeAttrs) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);\n }\n};\n/**\n * Create a DOM Node corresponding to one of the children of a given VNode.\n *\n * @param oldParentVNode the parent VNode from the previous render\n * @param newParentVNode the parent VNode from the current render\n * @param childIndex the index of the VNode, in the _new_ parent node's\n * children, for which we will create a new DOM node\n * @param parentElm the parent DOM node which our new node will be a child of\n * @returns the newly created node\n */\nconst createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {\n // tslint:disable-next-line: prefer-const\n const newVNode = newParentVNode.$children$[childIndex];\n let i = 0;\n let elm;\n let childNode;\n let oldVNode;\n if (!useNativeShadowDom) {\n // remember for later we need to check to relocate nodes\n checkSlotRelocate = true;\n if (newVNode.$tag$ === 'slot') {\n if (scopeId) {\n // scoped css needs to add its scoped id to the parent element\n parentElm.classList.add(scopeId + '-s');\n }\n newVNode.$flags$ |= newVNode.$children$\n ? // slot element has fallback content\n 2 /* VNODE_FLAGS.isSlotFallback */\n : // slot element does not have fallback content\n 1 /* VNODE_FLAGS.isSlotReference */;\n }\n }\n if (newVNode.$text$ !== null) {\n // create text node\n elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);\n }\n else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {\n // create a slot reference node\n elm = newVNode.$elm$ =\n doc.createTextNode('');\n }\n else {\n if (!isSvgMode) {\n isSvgMode = newVNode.$tag$ === 'svg';\n }\n // create element\n elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */\n ? 'slot-fb'\n : newVNode.$tag$)\n );\n if (isSvgMode && newVNode.$tag$ === 'foreignObject') {\n isSvgMode = false;\n }\n // add css classes, attrs, props, listeners, etc.\n {\n updateElement(null, newVNode, isSvgMode);\n }\n if (isDef(scopeId) && elm['s-si'] !== scopeId) {\n // if there is a scopeId and this is the initial render\n // then let's add the scopeId as a css class\n elm.classList.add((elm['s-si'] = scopeId));\n }\n if (newVNode.$children$) {\n for (i = 0; i < newVNode.$children$.length; ++i) {\n // create the node\n childNode = createElm(oldParentVNode, newVNode, i, elm);\n // return node could have been null\n if (childNode) {\n // append our new node\n elm.appendChild(childNode);\n }\n }\n }\n {\n if (newVNode.$tag$ === 'svg') {\n // Only reset the SVG context when we're exiting element\n isSvgMode = false;\n }\n else if (elm.tagName === 'foreignObject') {\n // Reenter SVG context when we're exiting element\n isSvgMode = true;\n }\n }\n }\n {\n elm['s-hn'] = hostTagName;\n if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {\n // remember the content reference comment\n elm['s-sr'] = true;\n // remember the content reference comment\n elm['s-cr'] = contentRef;\n // remember the slot name, or empty string for default slot\n elm['s-sn'] = newVNode.$name$ || '';\n // check if we've got an old vnode for this slot\n oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];\n if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {\n // we've got an old slot vnode and the wrapper is being replaced\n // so let's move the old slot content back to it's original location\n putBackInOriginalLocation(oldParentVNode.$elm$, false);\n }\n }\n }\n return elm;\n};\nconst putBackInOriginalLocation = (parentElm, recursive) => {\n plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n const oldSlotChildNodes = parentElm.childNodes;\n for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {\n const childNode = oldSlotChildNodes[i];\n if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {\n // // this child node in the old element is from another component\n // // remove this node from the old slot's parent\n // childNode.remove();\n // and relocate it back to it's original location\n parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));\n // remove the old original location comment entirely\n // later on the patch function will know what to do\n // and move this to the correct spot if need be\n childNode['s-ol'].remove();\n childNode['s-ol'] = undefined;\n checkSlotRelocate = true;\n }\n if (recursive) {\n putBackInOriginalLocation(childNode, recursive);\n }\n }\n plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n};\n/**\n * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and\n * add them to the DOM in the appropriate place.\n *\n * @param parentElm the DOM node which should be used as a parent for the new\n * DOM nodes\n * @param before a child of the `parentElm` which the new children should be\n * inserted before (optional)\n * @param parentVNode the parent virtual DOM node\n * @param vnodes the new child virtual DOM nodes to produce DOM nodes for\n * @param startIdx the index in the child virtual DOM nodes at which to start\n * creating DOM nodes (inclusive)\n * @param endIdx the index in the child virtual DOM nodes at which to stop\n * creating DOM nodes (inclusive)\n */\nconst addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {\n let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);\n let childNode;\n if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {\n containerElm = containerElm.shadowRoot;\n }\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnodes[startIdx]) {\n childNode = createElm(null, parentVNode, startIdx, parentElm);\n if (childNode) {\n vnodes[startIdx].$elm$ = childNode;\n containerElm.insertBefore(childNode, referenceNode(before) );\n }\n }\n }\n};\n/**\n * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.\n * This can be used to, for instance, clean up after a list of children which\n * should no longer be shown.\n *\n * This function also handles some of Stencil's slot relocation logic.\n *\n * @param vnodes a list of virtual DOM nodes to remove\n * @param startIdx the index at which to start removing nodes (inclusive)\n * @param endIdx the index at which to stop removing nodes (inclusive)\n */\nconst removeVnodes = (vnodes, startIdx, endIdx) => {\n for (let index = startIdx; index <= endIdx; ++index) {\n const vnode = vnodes[index];\n if (vnode) {\n const elm = vnode.$elm$;\n nullifyVNodeRefs(vnode);\n if (elm) {\n {\n // we're removing this element\n // so it's possible we need to show slot fallback content now\n checkSlotFallbackVisibility = true;\n if (elm['s-ol']) {\n // remove the original location comment\n elm['s-ol'].remove();\n }\n else {\n // it's possible that child nodes of the node\n // that's being removed are slot nodes\n putBackInOriginalLocation(elm, true);\n }\n }\n // remove the vnode's element from the dom\n elm.remove();\n }\n }\n }\n};\n/**\n * Reconcile the children of a new VNode with the children of an old VNode by\n * traversing the two collections of children, identifying nodes that are\n * conserved or changed, calling out to `patch` to make any necessary\n * updates to the DOM, and rearranging DOM nodes as needed.\n *\n * The algorithm for reconciling children works by analyzing two 'windows' onto\n * the two arrays of children (`oldCh` and `newCh`). We keep track of the\n * 'windows' by storing start and end indices and references to the\n * corresponding array entries. Initially the two 'windows' are basically equal\n * to the entire array, but we progressively narrow the windows until there are\n * no children left to update by doing the following:\n *\n * 1. Skip any `null` entries at the beginning or end of the two arrays, so\n * that if we have an initial array like the following we'll end up dealing\n * only with a window bounded by the highlighted elements:\n *\n * [null, null, VNode1 , ... , VNode2, null, null]\n * ^^^^^^ ^^^^^^\n *\n * 2. Check to see if the elements at the head and tail positions are equal\n * across the windows. This will basically detect elements which haven't\n * been added, removed, or changed position, i.e. if you had the following\n * VNode elements (represented as HTML):\n *\n * oldVNode: `

HEY

`\n * newVNode: `

THERE

`\n *\n * Then when comparing the children of the `
` tag we check the equality\n * of the VNodes corresponding to the `

` tags and, since they are the\n * same tag in the same position, we'd be able to avoid completely\n * re-rendering the subtree under them with a new DOM element and would just\n * call out to `patch` to handle reconciling their children and so on.\n *\n * 3. Check, for both windows, to see if the element at the beginning of the\n * window corresponds to the element at the end of the other window. This is\n * a heuristic which will let us identify _some_ situations in which\n * elements have changed position, for instance it _should_ detect that the\n * children nodes themselves have not changed but merely moved in the\n * following example:\n *\n * oldVNode: `

`\n * newVNode: `
`\n *\n * If we find cases like this then we also need to move the concrete DOM\n * elements corresponding to the moved children to write the re-order to the\n * DOM.\n *\n * 4. Finally, if VNodes have the `key` attribute set on them we check for any\n * nodes in the old children which have the same key as the first element in\n * our window on the new children. If we find such a node we handle calling\n * out to `patch`, moving relevant DOM nodes, and so on, in accordance with\n * what we find.\n *\n * Finally, once we've narrowed our 'windows' to the point that either of them\n * collapse (i.e. they have length 0) we then handle any remaining VNode\n * insertion or deletion that needs to happen to get a DOM state that correctly\n * reflects the new child VNodes. If, for instance, after our window on the old\n * children has collapsed we still have more nodes on the new children that\n * we haven't dealt with yet then we need to add them, or if the new children\n * collapse but we still have unhandled _old_ children then we need to make\n * sure the corresponding DOM nodes are removed.\n *\n * @param parentElm the node into which the parent VNode is rendered\n * @param oldCh the old children of the parent node\n * @param newVNode the new VNode which will replace the parent\n * @param newCh the new children of the parent node\n */\nconst updateChildren = (parentElm, oldCh, newVNode, newCh) => {\n let oldStartIdx = 0;\n let newStartIdx = 0;\n let idxInOld = 0;\n let i = 0;\n let oldEndIdx = oldCh.length - 1;\n let oldStartVnode = oldCh[0];\n let oldEndVnode = oldCh[oldEndIdx];\n let newEndIdx = newCh.length - 1;\n let newStartVnode = newCh[0];\n let newEndVnode = newCh[newEndIdx];\n let node;\n let elmToMove;\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n if (oldStartVnode == null) {\n // VNode might have been moved left\n oldStartVnode = oldCh[++oldStartIdx];\n }\n else if (oldEndVnode == null) {\n oldEndVnode = oldCh[--oldEndIdx];\n }\n else if (newStartVnode == null) {\n newStartVnode = newCh[++newStartIdx];\n }\n else if (newEndVnode == null) {\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newStartVnode)) {\n // if the start nodes are the same then we should patch the new VNode\n // onto the old one, and increment our `newStartIdx` and `oldStartIdx`\n // indices to reflect that. We don't need to move any DOM Nodes around\n // since things are matched up in order.\n patch(oldStartVnode, newStartVnode);\n oldStartVnode = oldCh[++oldStartIdx];\n newStartVnode = newCh[++newStartIdx];\n }\n else if (isSameVnode(oldEndVnode, newEndVnode)) {\n // likewise, if the end nodes are the same we patch new onto old and\n // decrement our end indices, and also likewise in this case we don't\n // need to move any DOM Nodes.\n patch(oldEndVnode, newEndVnode);\n oldEndVnode = oldCh[--oldEndIdx];\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newEndVnode)) {\n // case: \"Vnode moved right\"\n //\n // We've found that the last node in our window on the new children is\n // the same VNode as the _first_ node in our window on the old children\n // we're dealing with now. Visually, this is the layout of these two\n // nodes:\n //\n // newCh: [..., newStartVnode , ... , newEndVnode , ...]\n // ^^^^^^^^^^^\n // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]\n // ^^^^^^^^^^^^^\n //\n // In this situation we need to patch `newEndVnode` onto `oldStartVnode`\n // and move the DOM element for `oldStartVnode`.\n if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {\n putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);\n }\n patch(oldStartVnode, newEndVnode);\n // We need to move the element for `oldStartVnode` into a position which\n // will be appropriate for `newEndVnode`. For this we can use\n // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a\n // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for\n // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:\n //\n // \n // \n // \n // \n // \n // \n // ```\n // In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback\n // will be called with `newValue = \"some-value\"` and will set the shadowed property (this.someAttribute = \"another-value\")\n // to the value that was set inline i.e. \"some-value\" from above example. When\n // the connectedCallback attempts to un-shadow it will use \"some-value\" as the initial value rather than \"another-value\"\n //\n // The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed\n // by connectedCallback as this attributeChangedCallback will not fire.\n //\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n //\n // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to\n // properties here given that this goes against best practices outlined here\n // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n }\n else if (prototype.hasOwnProperty(propName) &&\n typeof this[propName] === 'number' &&\n this[propName] == newValue) {\n // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native\n // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in\n // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.\n return;\n }\n else if (propName == null) {\n // At this point we should know this is not a \"member\", so we can treat it like watching an attribute\n // on a vanilla web component\n const hostRef = getHostRef(this);\n const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;\n // We only want to trigger the callback(s) if:\n // 1. The instance is ready\n // 2. The watchers are ready\n // 3. The value has changed\n if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&\n flags & 128 /* HOST_FLAGS.isWatchReady */ &&\n newValue !== oldValue) {\n const instance = hostRef.$lazyInstance$ ;\n const entry = cmpMeta.$watchers$[attrName];\n entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {\n if (instance[callbackName] != null) {\n instance[callbackName].call(instance, newValue, oldValue, attrName);\n }\n });\n }\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // Create an array of attributes to observe\n // This list in comprised of all strings used within a `@Watch()` decorator\n // on a component as well as any Stencil-specific \"members\" (`@Prop()`s and `@State()`s).\n // As such, there is no way to guarantee type-safety here that a user hasn't entered\n // an invalid attribute.\n Cstr.observedAttributes = Array.from(new Set([\n ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),\n ...members\n .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)\n .map(([propName, m]) => {\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {\n cmpMeta.$attrsToReflect$.push([propName, attrName]);\n }\n return attrName;\n }),\n ]));\n }\n }\n return Cstr;\n};\n/**\n * Initialize a Stencil component given a reference to its host element, its\n * runtime bookkeeping data structure, runtime metadata about the component,\n * and (optionally) an HMR version ID.\n *\n * @param elm a host element\n * @param hostRef the element's runtime bookkeeping object\n * @param cmpMeta runtime metadata for the Stencil component\n * @param hmrVersionId an (optional) HMR version ID\n */\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {\n let Cstr;\n // initializeComponent\n if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {\n // Let the runtime know that the component has been initialized\n hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;\n {\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime();\n Cstr = await Cstr;\n endLoad();\n }\n if (!Cstr.isProxied) {\n // we've never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n {\n hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n }\n catch (e) {\n consoleError(e);\n }\n {\n hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;\n }\n {\n hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n if (Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n if (typeof style !== 'string') {\n style = style[(hostRef.$modeName$ = computeMode(elm))];\n }\n const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (ancestorComponent && ancestorComponent['s-rc']) {\n // this is the initial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n }\n else {\n schedule();\n }\n};\nconst fireConnectedCallback = (instance) => {\n {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;\n let hostId;\n {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n const scopeId = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'))\n ;\n elm.classList.remove(scopeId + '-h', scopeId + '-s');\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (!hostId) {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {\n setContentReference(elm);\n }\n }\n {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&\n ancestorComponent.hasAttribute('s-id') &&\n ancestorComponent['s-p']) ||\n ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n }\n else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);\n // fire off connectedCallback() on component instance\n if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));\n }\n }\n endConnected();\n }\n};\nconst setContentReference = (elm) => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = (elm['s-cr'] = doc.createComment(''));\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectInstance = (instance) => {\n {\n safeCall(instance, 'disconnectedCallback');\n }\n};\nconst disconnectedCallback = async (elm) => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map((rmListener) => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {\n disconnectInstance(hostRef.$lazyInstance$);\n }\n else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));\n }\n }\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n var _a;\n const endBootstrap = createTime();\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');\n const visibilityStyle = /*@__PURE__*/ doc.createElement('style');\n const deferredConnectedCallbacks = [];\n const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);\n let appLoadFallback;\n let isBootstrapping = true;\n let i = 0;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n {\n // If the app is already hydrated there is not point to disable the\n // async queue. This will improve the first input delay\n plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;\n }\n {\n for (; i < styles.length; i++) {\n registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);\n }\n }\n lazyBundles.map((lazyBundle) => {\n lazyBundle[1].map((compactMeta) => {\n var _a;\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3],\n };\n {\n cmpMeta.$members$ = compactMeta[2];\n }\n {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n {\n cmpMeta.$attrsToReflect$ = [];\n }\n {\n cmpMeta.$watchers$ = (_a = compactMeta[4]) !== null && _a !== void 0 ? _a : {};\n }\n const tagName = cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n {\n {\n self.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),\n });\n }\n }\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n }\n else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));\n }\n });\n });\n {\n visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;\n visibilityStyle.setAttribute('data-styles', '');\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n visibilityStyle.setAttribute('nonce', nonce);\n }\n head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map((host) => host.connectedCallback());\n }\n else {\n {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {\n if (listeners) {\n listeners.map(([flags, name, method]) => {\n const target = getHostListenerTarget(elm, flags) ;\n const handler = hostListenerProxy(hostRef, method);\n const opts = hostListenerOpts(flags);\n plt.ael(target, name, handler, opts);\n (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));\n });\n }\n};\nconst hostListenerProxy = (hostRef, methodName) => (ev) => {\n try {\n {\n if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {\n // instance is ready, let's call it's member method for this event\n hostRef.$lazyInstance$[methodName](ev);\n }\n else {\n (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);\n }\n }\n }\n catch (e) {\n consoleError(e);\n }\n};\nconst getHostListenerTarget = (elm, flags) => {\n if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)\n return doc;\n if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)\n return win;\n if (flags & 16 /* LISTENER_FLAGS.TargetBody */)\n return doc.body;\n return elm;\n};\n// prettier-ignore\nconst hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;\n/**\n * Assigns the given value to the nonce property on the runtime platform object.\n * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.\n * @param nonce The value to be assigned to the platform nonce property.\n * @returns void\n */\nconst setNonce = (nonce) => (plt.$nonce$ = nonce);\n/**\n * A WeakMap mapping runtime component references to their corresponding host reference\n * instances.\n */\nconst hostRefs = /*@__PURE__*/ new WeakMap();\n/**\n * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}\n *\n * @param ref the runtime ref of interest\n * @returns the Host reference (if found) or undefined\n */\nconst getHostRef = (ref) => hostRefs.get(ref);\n/**\n * Register a lazy instance with the {@link hostRefs} object so it's\n * corresponding {@link d.HostRef} can be retrieved later.\n *\n * @param lazyInstance the lazy instance of interest\n * @param hostRef that instances `HostRef` object\n * @returns a reference to the host ref WeakMap\n */\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);\n/**\n * Register a host element for a Stencil component, setting up various metadata\n * and callbacks based on {@link BUILD} flags as well as the component's runtime\n * metadata.\n *\n * @param hostElement the host element to register\n * @param cmpMeta runtime metadata for that component\n * @returns a reference to the host ref WeakMap\n */\nconst registerHost = (hostElement, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: hostElement,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map(),\n };\n {\n hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));\n }\n {\n hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));\n hostElement['s-p'] = [];\n hostElement['s-rc'] = [];\n }\n addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$);\n return hostRefs.set(hostElement, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (0, console.error)(e, el);\nconst cmpModules = /*@__PURE__*/ new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n const module = cmpModules.get(bundleId) ;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(\n /* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${''}`).then((importedModule) => {\n {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = /*@__PURE__*/ new Map();\nconst modeResolutionChain = [];\nconst win = typeof window !== 'undefined' ? window : {};\nconst doc = win.document || { head: {} };\nconst plt = {\n $flags$: 0,\n $resourcesUrl$: '',\n jmp: (h) => h(),\n raf: (h) => requestAnimationFrame(h),\n ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),\n rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),\n ce: (eventName, opts) => new CustomEvent(eventName, opts),\n};\nconst setPlatformHelpers = (helpers) => {\n Object.assign(plt, helpers);\n};\nconst supportsShadow = \n// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\ntrue;\nconst promiseResolve = (v) => Promise.resolve(v);\nconst supportsConstructableStylesheets = /*@__PURE__*/ (() => {\n try {\n new CSSStyleSheet();\n return typeof new CSSStyleSheet().replaceSync === 'function';\n }\n catch (e) { }\n return false;\n })()\n ;\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {\n nextTick(flush);\n }\n else {\n plt.raf(flush);\n }\n }\n};\nconst consume = (queue) => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n }\n catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst flush = () => {\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n {\n consume(queueDomWrites);\n if ((queuePending = queueDomReads.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);\nconst readTask = /*@__PURE__*/ queueTask(queueDomReads, false);\nconst writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);\n\nexport { Build as B, Host as H, setPlatformHelpers as a, bootstrapLazy as b, setMode as c, createEvent as d, readTask as e, getElement as f, getMode as g, h, forceUpdate as i, getAssetPath as j, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { p as printIonWarning } from './index-595d62c9.js';\nimport { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-39299f84.js';\nimport { c as componentOnReady } from './helpers-3379ba19.js';\nimport { b as getIonMode } from './ionic-global-246ca78f.js';\nimport { c as createAnimation } from './animation-92066c62.js';\n\n/**\n * baseAnimation\n * Base class which is extended by the various types. Each\n * type will provide their own animations for open and close\n * and registers itself with Menu.\n */\nconst baseAnimation = (isIos) => {\n // https://material.io/guidelines/motion/movement.html#movement-movement-in-out-of-screen-bounds\n // https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves\n /**\n * \"Apply the sharp curve to items temporarily leaving the screen that may return\n * from the same exit point. When they return, use the deceleration curve. On mobile,\n * this transition typically occurs over 300ms\" -- MD Motion Guide\n */\n return createAnimation().duration(isIos ? 400 : 300);\n};\n\n/**\n * Menu Overlay Type\n * The menu slides over the content. The content\n * itself, which is under the menu, does not move.\n */\nconst menuOverlayAnimation = (menu) => {\n let closedX;\n let openedX;\n const width = menu.width + 8;\n const menuAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n if (menu.isEndSide) {\n // right side\n closedX = width + 'px';\n openedX = '0px';\n }\n else {\n // left side\n closedX = -width + 'px';\n openedX = '0px';\n }\n menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);\n const mode = getIonMode(menu);\n const isIos = mode === 'ios';\n const opacity = isIos ? 0.2 : 0.25;\n backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);\n return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);\n};\n\n/**\n * Menu Push Type\n * The content slides over to reveal the menu underneath.\n * The menu itself also slides over to reveal its bad self.\n */\nconst menuPushAnimation = (menu) => {\n let contentOpenedX;\n let menuClosedX;\n const mode = getIonMode(menu);\n const width = menu.width;\n if (menu.isEndSide) {\n contentOpenedX = -width + 'px';\n menuClosedX = width + 'px';\n }\n else {\n contentOpenedX = width + 'px';\n menuClosedX = -width + 'px';\n }\n const menuAnimation = createAnimation()\n .addElement(menu.menuInnerEl)\n .fromTo('transform', `translateX(${menuClosedX})`, 'translateX(0px)');\n const contentAnimation = createAnimation()\n .addElement(menu.contentEl)\n .fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);\n const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);\n return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);\n};\n\n/**\n * Menu Reveal Type\n * The content slides over to reveal the menu underneath.\n * The menu itself, which is under the content, does not move.\n */\nconst menuRevealAnimation = (menu) => {\n const mode = getIonMode(menu);\n const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';\n const contentOpen = createAnimation()\n .addElement(menu.contentEl) // REVIEW\n .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);\n return baseAnimation(mode === 'ios').addAnimation(contentOpen);\n};\n\nconst createMenuController = () => {\n const menuAnimations = new Map();\n const menus = [];\n const open = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.open();\n }\n return false;\n };\n const close = async (menu) => {\n const menuEl = await (menu !== undefined ? get(menu, true) : getOpen());\n if (menuEl !== undefined) {\n return menuEl.close();\n }\n return false;\n };\n const toggle = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.toggle();\n }\n return false;\n };\n const enable = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.disabled = !shouldEnable;\n }\n return menuEl;\n };\n const swipeGesture = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.swipeGesture = shouldEnable;\n }\n return menuEl;\n };\n const isOpen = async (menu) => {\n if (menu != null) {\n const menuEl = await get(menu);\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n return menuEl !== undefined && menuEl.isOpen();\n }\n else {\n const menuEl = await getOpen();\n return menuEl !== undefined;\n }\n };\n const isEnabled = async (menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n return !menuEl.disabled;\n }\n return false;\n };\n /**\n * Finds and returns the menu specified by \"menu\" if registered.\n * @param menu - The side or ID of the desired menu\n * @param logOnMultipleSideMenus - If true, this function will log a warning\n * if \"menu\" is a side but multiple menus on the same side were found. Since this function\n * is used in multiple places, we default this log to false so that the calling\n * functions can choose whether or not it is appropriate to log this warning.\n */\n const get = async (menu, logOnMultipleSideMenus = false) => {\n await waitUntilReady();\n if (menu === 'start' || menu === 'end') {\n // there could be more than one menu on the same side\n // so first try to get the enabled one\n const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);\n if (menuRefs.length >= 1) {\n if (menuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));\n }\n return menuRefs[0].el;\n }\n // didn't find a menu side that is enabled\n // so try to get the first menu side found\n const sideMenuRefs = menus.filter((m) => m.side === menu);\n if (sideMenuRefs.length >= 1) {\n if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));\n }\n return sideMenuRefs[0].el;\n }\n }\n else if (menu != null) {\n // the menuId was not left or right\n // so try to get the menu by its \"id\"\n return find((m) => m.menuId === menu);\n }\n // return the first enabled menu\n const menuEl = find((m) => !m.disabled);\n if (menuEl) {\n return menuEl;\n }\n // get the first menu in the array, if one exists\n return menus.length > 0 ? menus[0].el : undefined;\n };\n /**\n * Get the instance of the opened menu. Returns `null` if a menu is not found.\n */\n const getOpen = async () => {\n await waitUntilReady();\n return _getOpenSync();\n };\n /**\n * Get all menu instances.\n */\n const getMenus = async () => {\n await waitUntilReady();\n return getMenusSync();\n };\n /**\n * Get whether or not a menu is animating. Returns `true` if any\n * menu is currently animating.\n */\n const isAnimating = async () => {\n await waitUntilReady();\n return isAnimatingSync();\n };\n const registerAnimation = (name, animation) => {\n menuAnimations.set(name, animation);\n };\n const _register = (menu) => {\n if (menus.indexOf(menu) < 0) {\n menus.push(menu);\n }\n };\n const _unregister = (menu) => {\n const index = menus.indexOf(menu);\n if (index > -1) {\n menus.splice(index, 1);\n }\n };\n const _setOpen = async (menu, shouldOpen, animated) => {\n if (isAnimatingSync()) {\n return false;\n }\n if (shouldOpen) {\n const openedMenu = await getOpen();\n if (openedMenu && menu.el !== openedMenu) {\n await openedMenu.setOpen(false, false);\n }\n }\n return menu._setOpen(shouldOpen, animated);\n };\n const _createAnimation = (type, menuCmp) => {\n const animationBuilder = menuAnimations.get(type); // TODO(FW-2832): type\n if (!animationBuilder) {\n throw new Error('animation not registered');\n }\n const animation = animationBuilder(menuCmp);\n return animation;\n };\n const _getOpenSync = () => {\n return find((m) => m._isOpen);\n };\n const getMenusSync = () => {\n return menus.map((menu) => menu.el);\n };\n const isAnimatingSync = () => {\n return menus.some((menu) => menu.isAnimating);\n };\n const find = (predicate) => {\n const instance = menus.find(predicate);\n if (instance !== undefined) {\n return instance.el;\n }\n return undefined;\n };\n const waitUntilReady = () => {\n return Promise.all(Array.from(document.querySelectorAll('ion-menu')).map((menu) => new Promise((resolve) => componentOnReady(menu, resolve))));\n };\n registerAnimation('reveal', menuRevealAnimation);\n registerAnimation('push', menuPushAnimation);\n registerAnimation('overlay', menuOverlayAnimation);\n if (typeof document !== 'undefined') {\n document.addEventListener('ionBackButton', (ev) => {\n // TODO(FW-2832): type\n const openMenu = _getOpenSync();\n if (openMenu) {\n ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {\n return openMenu.close();\n });\n }\n });\n }\n return {\n registerAnimation,\n get,\n getMenus,\n getOpen,\n isEnabled,\n swipeGesture,\n isAnimating,\n isOpen,\n enable,\n toggle,\n close,\n open,\n _getOpenSync,\n _createAnimation,\n _register,\n _unregister,\n _setOpen,\n };\n};\nconst menuController = /*@__PURE__*/ createMenuController();\n\nexport { menuController as m };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { G as GESTURE_CONTROLLER } from './gesture-controller-0fa396c4.js';\nexport { G as GESTURE_CONTROLLER } from './gesture-controller-0fa396c4.js';\n\nconst addEventListener = (el, // TODO(FW-2832): type\neventName, callback, opts) => {\n // use event listener options when supported\n // otherwise it's just a boolean for the \"capture\" arg\n const listenerOpts = supportsPassive(el)\n ? {\n capture: !!opts.capture,\n passive: !!opts.passive,\n }\n : !!opts.capture;\n let add;\n let remove;\n if (el['__zone_symbol__addEventListener']) {\n add = '__zone_symbol__addEventListener';\n remove = '__zone_symbol__removeEventListener';\n }\n else {\n add = 'addEventListener';\n remove = 'removeEventListener';\n }\n el[add](eventName, callback, listenerOpts);\n return () => {\n el[remove](eventName, callback, listenerOpts);\n };\n};\nconst supportsPassive = (node) => {\n if (_sPassive === undefined) {\n try {\n const opts = Object.defineProperty({}, 'passive', {\n get: () => {\n _sPassive = true;\n },\n });\n node.addEventListener('optsTest', () => {\n return;\n }, opts);\n }\n catch (e) {\n _sPassive = false;\n }\n }\n return !!_sPassive;\n};\nlet _sPassive;\n\nconst MOUSE_WAIT = 2000;\n// TODO(FW-2832): types\nconst createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {\n let rmTouchStart;\n let rmTouchMove;\n let rmTouchEnd;\n let rmTouchCancel;\n let rmMouseStart;\n let rmMouseMove;\n let rmMouseUp;\n let lastTouchEvent = 0;\n const handleTouchStart = (ev) => {\n lastTouchEvent = Date.now() + MOUSE_WAIT;\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmTouchMove && pointerMove) {\n rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);\n }\n /**\n * Events are dispatched on the element that is tapped and bubble up to\n * the reference element in the gesture. In the event that the element this\n * event was first dispatched on is removed from the DOM, the event will no\n * longer bubble up to our reference element. This leaves the gesture in an\n * unusable state. To account for this, the touchend and touchcancel listeners\n * should be added to the event target so that they still fire even if the target\n * is removed from the DOM.\n */\n if (!rmTouchEnd) {\n rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);\n }\n if (!rmTouchCancel) {\n rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);\n }\n };\n const handleMouseDown = (ev) => {\n if (lastTouchEvent > Date.now()) {\n return;\n }\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmMouseMove && pointerMove) {\n rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);\n }\n if (!rmMouseUp) {\n rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);\n }\n };\n const handleTouchEnd = (ev) => {\n stopTouch();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const handleMouseUp = (ev) => {\n stopMouse();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const stopTouch = () => {\n if (rmTouchMove) {\n rmTouchMove();\n }\n if (rmTouchEnd) {\n rmTouchEnd();\n }\n if (rmTouchCancel) {\n rmTouchCancel();\n }\n rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;\n };\n const stopMouse = () => {\n if (rmMouseMove) {\n rmMouseMove();\n }\n if (rmMouseUp) {\n rmMouseUp();\n }\n rmMouseMove = rmMouseUp = undefined;\n };\n const stop = () => {\n stopTouch();\n stopMouse();\n };\n const enable = (isEnabled = true) => {\n if (!isEnabled) {\n if (rmTouchStart) {\n rmTouchStart();\n }\n if (rmMouseStart) {\n rmMouseStart();\n }\n rmTouchStart = rmMouseStart = undefined;\n stop();\n }\n else {\n if (!rmTouchStart) {\n rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);\n }\n if (!rmMouseStart) {\n rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);\n }\n }\n };\n const destroy = () => {\n enable(false);\n pointerUp = pointerMove = pointerDown = undefined;\n };\n return {\n enable,\n stop,\n destroy,\n };\n};\nconst getDocument = (node) => {\n return node instanceof Document ? node : node.ownerDocument;\n};\n\nconst createPanRecognizer = (direction, thresh, maxAngle) => {\n const radians = maxAngle * (Math.PI / 180);\n const isDirX = direction === 'x';\n const maxCosine = Math.cos(radians);\n const threshold = thresh * thresh;\n let startX = 0;\n let startY = 0;\n let dirty = false;\n let isPan = 0;\n return {\n start(x, y) {\n startX = x;\n startY = y;\n isPan = 0;\n dirty = true;\n },\n detect(x, y) {\n if (!dirty) {\n return false;\n }\n const deltaX = x - startX;\n const deltaY = y - startY;\n const distance = deltaX * deltaX + deltaY * deltaY;\n if (distance < threshold) {\n return false;\n }\n const hypotenuse = Math.sqrt(distance);\n const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;\n if (cosine > maxCosine) {\n isPan = 1;\n }\n else if (cosine < -maxCosine) {\n isPan = -1;\n }\n else {\n isPan = 0;\n }\n dirty = false;\n return true;\n },\n isGesture() {\n return isPan !== 0;\n },\n getDirection() {\n return isPan;\n },\n };\n};\n\n// TODO(FW-2832): types\nconst createGesture = (config) => {\n let hasCapturedPan = false;\n let hasStartedPan = false;\n let hasFiredStart = true;\n let isMoveQueued = false;\n const finalConfig = Object.assign({ disableScroll: false, direction: 'x', gesturePriority: 0, passive: true, maxAngle: 40, threshold: 10 }, config);\n const canStart = finalConfig.canStart;\n const onWillStart = finalConfig.onWillStart;\n const onStart = finalConfig.onStart;\n const onEnd = finalConfig.onEnd;\n const notCaptured = finalConfig.notCaptured;\n const onMove = finalConfig.onMove;\n const threshold = finalConfig.threshold;\n const passive = finalConfig.passive;\n const blurOnStart = finalConfig.blurOnStart;\n const detail = {\n type: 'pan',\n startX: 0,\n startY: 0,\n startTime: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n currentTime: 0,\n event: undefined,\n data: undefined,\n };\n const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);\n const gesture = GESTURE_CONTROLLER.createGesture({\n name: config.gestureName,\n priority: config.gesturePriority,\n disableScroll: config.disableScroll,\n });\n const pointerDown = (ev) => {\n const timeStamp = now(ev);\n if (hasStartedPan || !hasFiredStart) {\n return false;\n }\n updateDetail(ev, detail);\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime = timeStamp;\n detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;\n detail.event = ev;\n // Check if gesture can start\n if (canStart && canStart(detail) === false) {\n return false;\n }\n // Release fallback\n gesture.release();\n // Start gesture\n if (!gesture.start()) {\n return false;\n }\n hasStartedPan = true;\n if (threshold === 0) {\n return tryToCapturePan();\n }\n pan.start(detail.startX, detail.startY);\n return true;\n };\n const pointerMove = (ev) => {\n // fast path, if gesture is currently captured\n // do minimum job to get user-land even dispatched\n if (hasCapturedPan) {\n if (!isMoveQueued && hasFiredStart) {\n isMoveQueued = true;\n calcGestureData(detail, ev);\n requestAnimationFrame(fireOnMove);\n }\n return;\n }\n // gesture is currently being detected\n calcGestureData(detail, ev);\n if (pan.detect(detail.currentX, detail.currentY)) {\n if (!pan.isGesture() || !tryToCapturePan()) {\n abortGesture();\n }\n }\n };\n const fireOnMove = () => {\n // Since fireOnMove is called inside a RAF, onEnd() might be called,\n // we must double check hasCapturedPan\n if (!hasCapturedPan) {\n return;\n }\n isMoveQueued = false;\n if (onMove) {\n onMove(detail);\n }\n };\n const tryToCapturePan = () => {\n if (!gesture.capture()) {\n return false;\n }\n hasCapturedPan = true;\n hasFiredStart = false;\n // reset start position since the real user-land event starts here\n // If the pan detector threshold is big, not resetting the start position\n // will cause a jump in the animation equal to the detector threshold.\n // the array of positions used to calculate the gesture velocity does not\n // need to be cleaned, more points in the positions array always results in a\n // more accurate value of the velocity.\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime;\n if (onWillStart) {\n onWillStart(detail).then(fireOnStart);\n }\n else {\n fireOnStart();\n }\n return true;\n };\n const blurActiveElement = () => {\n if (typeof document !== 'undefined') {\n const activeElement = document.activeElement;\n if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {\n activeElement.blur();\n }\n }\n };\n const fireOnStart = () => {\n if (blurOnStart) {\n blurActiveElement();\n }\n if (onStart) {\n onStart(detail);\n }\n hasFiredStart = true;\n };\n const reset = () => {\n hasCapturedPan = false;\n hasStartedPan = false;\n isMoveQueued = false;\n hasFiredStart = true;\n gesture.release();\n };\n // END *************************\n const pointerUp = (ev) => {\n const tmpHasCaptured = hasCapturedPan;\n const tmpHasFiredStart = hasFiredStart;\n reset();\n if (!tmpHasFiredStart) {\n return;\n }\n calcGestureData(detail, ev);\n // Try to capture press\n if (tmpHasCaptured) {\n if (onEnd) {\n onEnd(detail);\n }\n return;\n }\n // Not captured any event\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {\n capture: false,\n passive,\n });\n const abortGesture = () => {\n reset();\n pointerEvents.stop();\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n return {\n enable(enable = true) {\n if (!enable) {\n if (hasCapturedPan) {\n pointerUp(undefined);\n }\n reset();\n }\n pointerEvents.enable(enable);\n },\n destroy() {\n gesture.destroy();\n pointerEvents.destroy();\n },\n };\n};\nconst calcGestureData = (detail, ev) => {\n if (!ev) {\n return;\n }\n const prevX = detail.currentX;\n const prevY = detail.currentY;\n const prevT = detail.currentTime;\n updateDetail(ev, detail);\n const currentX = detail.currentX;\n const currentY = detail.currentY;\n const timestamp = (detail.currentTime = now(ev));\n const timeDelta = timestamp - prevT;\n if (timeDelta > 0 && timeDelta < 100) {\n const velocityX = (currentX - prevX) / timeDelta;\n const velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n detail.event = ev;\n};\nconst updateDetail = (ev, detail) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n let x = 0;\n let y = 0;\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n x = touch.clientX;\n y = touch.clientY;\n }\n else if (ev.pageX !== undefined) {\n x = ev.pageX;\n y = ev.pageY;\n }\n }\n detail.currentX = x;\n detail.currentY = y;\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\n\nexport { createGesture };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, e as readTask, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { c as createButtonActiveGesture } from './button-active-d926d4f4.js';\nimport { r as raf } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-cec6bac8.js';\nimport { g as getClassMap } from './theme-17531cdf.js';\nimport { b as getIonMode } from './ionic-global-246ca78f.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport './haptic-1243b917.js';\nimport './capacitor-b4979570.js';\nimport './index-7a14ecec.js';\nimport './index-ff313b19.js';\nimport './gesture-controller-0fa396c4.js';\nimport './framework-delegate-aa433dea.js';\nimport './hardware-back-button-39299f84.js';\nimport './index-595d62c9.js';\n\n/**\n * iOS Action Sheet Enter Animation\n */\nconst iosEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation\n .addElement(baseEl.querySelector('.action-sheet-wrapper'))\n .fromTo('transform', 'translateY(100%)', 'translateY(0%)');\n return baseAnimation\n .addElement(baseEl)\n .easing('cubic-bezier(.36,.66,.04,1)')\n .duration(400)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Action Sheet Leave Animation\n */\nconst iosLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation\n .addElement(baseEl.querySelector('.action-sheet-wrapper'))\n .fromTo('transform', 'translateY(0%)', 'translateY(100%)');\n return baseAnimation\n .addElement(baseEl)\n .easing('cubic-bezier(.36,.66,.04,1)')\n .duration(450)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * MD Action Sheet Enter Animation\n */\nconst mdEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation\n .addElement(baseEl.querySelector('.action-sheet-wrapper'))\n .fromTo('transform', 'translateY(100%)', 'translateY(0%)');\n return baseAnimation\n .addElement(baseEl)\n .easing('cubic-bezier(.36,.66,.04,1)')\n .duration(400)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * MD Action Sheet Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation\n .addElement(baseEl.querySelector('.action-sheet-wrapper'))\n .fromTo('transform', 'translateY(0%)', 'translateY(100%)');\n return baseAnimation\n .addElement(baseEl)\n .easing('cubic-bezier(.36,.66,.04,1)')\n .duration(450)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst actionSheetIosCss = \".sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100vh;max-height:100dvh}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}\";\n\nconst actionSheetMdCss = \".sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100vh;max-height:100dvh}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}\";\n\nconst ActionSheet = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionActionSheetDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionActionSheetWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionActionSheetWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionActionSheetDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.presented = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.dispatchCancelHandler = (ev) => {\n const role = ev.detail.role;\n if (isCancel(role)) {\n const cancelButton = this.getButtons().find((b) => b.role === 'cancel');\n this.callButtonHandler(cancelButton);\n }\n };\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.buttons = [];\n this.cssClass = undefined;\n this.backdropDismiss = true;\n this.header = undefined;\n this.subHeader = undefined;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n /**\n * Present the action sheet overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n await this.delegateController.attachViewToDom();\n await present(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);\n unlock();\n }\n /**\n * Dismiss the action sheet overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the action sheet.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the action sheet.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n */\n async dismiss(data, role) {\n const unlock = await this.lockController.lock();\n const dismissed = await dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation, mdLeaveAnimation);\n if (dismissed) {\n this.delegateController.removeViewFromDom();\n }\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the action sheet did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionActionSheetDidDismiss');\n }\n /**\n * Returns a promise that resolves when the action sheet will dismiss.\n *\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionActionSheetWillDismiss');\n }\n async buttonClick(button) {\n const role = button.role;\n if (isCancel(role)) {\n return this.dismiss(button.data, role);\n }\n const shouldDismiss = await this.callButtonHandler(button);\n if (shouldDismiss) {\n return this.dismiss(button.data, button.role);\n }\n return Promise.resolve();\n }\n async callButtonHandler(button) {\n if (button) {\n // a handler has been provided, execute it\n // pass the handler the values from the inputs\n const rtn = await safeCall(button.handler);\n if (rtn === false) {\n // if the return value of the handler is false then do not dismiss\n return false;\n }\n }\n return true;\n }\n getButtons() {\n return this.buttons.map((b) => {\n return typeof b === 'string' ? { text: b } : b;\n });\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n disconnectedCallback() {\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n this.triggerController.removeClickListener();\n }\n componentWillLoad() {\n setOverlayId(this.el);\n }\n componentDidLoad() {\n /**\n * Only create gesture if:\n * 1. A gesture does not already exist\n * 2. App is running in iOS mode\n * 3. A wrapper ref exists\n * 4. A group ref exists\n */\n const { groupEl, wrapperEl } = this;\n if (!this.gesture && getIonMode(this) === 'ios' && wrapperEl && groupEl) {\n readTask(() => {\n const isScrollable = groupEl.scrollHeight > groupEl.clientHeight;\n if (!isScrollable) {\n this.gesture = createButtonActiveGesture(wrapperEl, (refEl) => refEl.classList.contains('action-sheet-button'));\n this.gesture.enable(true);\n }\n });\n }\n /**\n * If action sheet was rendered with isOpen=\"true\"\n * then we should open action sheet immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n }\n render() {\n const { header, htmlAttributes, overlayIndex } = this;\n const mode = getIonMode(this);\n const allButtons = this.getButtons();\n const cancelButton = allButtons.find((b) => b.role === 'cancel');\n const buttons = allButtons.filter((b) => b.role !== 'cancel');\n const headerID = `action-sheet-${overlayIndex}-header`;\n return (h(Host, Object.assign({ role: \"dialog\", \"aria-modal\": \"true\", \"aria-labelledby\": header !== undefined ? headerID : null, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${20000 + this.overlayIndex}`,\n }, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h(\"ion-backdrop\", { tappable: this.backdropDismiss }), h(\"div\", { tabindex: \"0\" }), h(\"div\", { class: \"action-sheet-wrapper ion-overlay-wrapper\", ref: (el) => (this.wrapperEl = el) }, h(\"div\", { class: \"action-sheet-container\" }, h(\"div\", { class: \"action-sheet-group\", ref: (el) => (this.groupEl = el) }, header !== undefined && (h(\"div\", { id: headerID, class: {\n 'action-sheet-title': true,\n 'action-sheet-has-sub-title': this.subHeader !== undefined,\n } }, header, this.subHeader && h(\"div\", { class: \"action-sheet-sub-title\" }, this.subHeader))), buttons.map((b) => (h(\"button\", Object.assign({}, b.htmlAttributes, { type: \"button\", id: b.id, class: buttonClass(b), onClick: () => this.buttonClick(b) }), h(\"span\", { class: \"action-sheet-button-inner\" }, b.icon && h(\"ion-icon\", { icon: b.icon, \"aria-hidden\": \"true\", lazy: false, class: \"action-sheet-icon\" }), b.text), mode === 'md' && h(\"ion-ripple-effect\", null))))), cancelButton && (h(\"div\", { class: \"action-sheet-group action-sheet-group-cancel\" }, h(\"button\", Object.assign({}, cancelButton.htmlAttributes, { type: \"button\", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h(\"span\", { class: \"action-sheet-button-inner\" }, cancelButton.icon && (h(\"ion-icon\", { icon: cancelButton.icon, \"aria-hidden\": \"true\", lazy: false, class: \"action-sheet-icon\" })), cancelButton.text), mode === 'md' && h(\"ion-ripple-effect\", null)))))), h(\"div\", { tabindex: \"0\" })));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }; }\n};\nconst buttonClass = (button) => {\n return Object.assign({ 'action-sheet-button': true, 'ion-activatable': true, 'ion-focusable': true, [`action-sheet-${button.role}`]: button.role !== undefined }, getClassMap(button.cssClass));\n};\nActionSheet.style = {\n ios: actionSheetIosCss,\n md: actionSheetMdCss\n};\n\nexport { ActionSheet as ion_action_sheet };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, i as forceUpdate, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-96c9ace3.js';\nimport { c as createButtonActiveGesture } from './button-active-d926d4f4.js';\nimport { r as raf } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-cec6bac8.js';\nimport { g as getClassMap } from './theme-17531cdf.js';\nimport { c as config, b as getIonMode } from './ionic-global-246ca78f.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport './haptic-1243b917.js';\nimport './capacitor-b4979570.js';\nimport './index-7a14ecec.js';\nimport './index-ff313b19.js';\nimport './gesture-controller-0fa396c4.js';\nimport './framework-delegate-aa433dea.js';\nimport './hardware-back-button-39299f84.js';\nimport './index-595d62c9.js';\n\n/**\n * iOS Alert Enter Animation\n */\nconst iosEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([\n { offset: 0, opacity: '0.01', transform: 'scale(1.1)' },\n { offset: 1, opacity: '1', transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Alert Leave Animation\n */\nconst iosLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([\n { offset: 0, opacity: 0.99, transform: 'scale(1)' },\n { offset: 1, opacity: 0, transform: 'scale(0.9)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Alert Enter Animation\n */\nconst mdEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([\n { offset: 0, opacity: '0.01', transform: 'scale(0.9)' },\n { offset: 1, opacity: '1', transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(150)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Alert Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).fromTo('opacity', 0.99, 0);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(150)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst alertIosCss = \".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.5rem, 66px);height:min(1.5rem, 66px);border-width:0.0625rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.5rem, 66px) / 6);position:absolute;width:calc(min(1.5rem, 66px) / 6 + 1px);height:calc(min(1.5rem, 66px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.0625rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.5rem, 66px) / 3 + 1px)}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}\";\n\nconst alertMdCss = \".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{max-height:266px;font-size:1rem}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}\";\n\nconst Alert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionAlertDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionAlertWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionAlertWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionAlertDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);\n this.processedInputs = [];\n this.processedButtons = [];\n this.presented = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.dispatchCancelHandler = (ev) => {\n const role = ev.detail.role;\n if (isCancel(role)) {\n const cancelButton = this.processedButtons.find((b) => b.role === 'cancel');\n this.callButtonHandler(cancelButton);\n }\n };\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.cssClass = undefined;\n this.header = undefined;\n this.subHeader = undefined;\n this.message = undefined;\n this.buttons = [];\n this.inputs = [];\n this.backdropDismiss = true;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n onKeydown(ev) {\n const inputTypes = new Set(this.processedInputs.map((i) => i.type));\n /**\n * Based on keyboard navigation requirements, the\n * checkbox should not respond to the enter keydown event.\n */\n if (inputTypes.has('checkbox') && ev.key === 'Enter') {\n ev.preventDefault();\n return;\n }\n // The only inputs we want to navigate between using arrow keys are the radios\n // ignore the keydown event if it is not on a radio button\n if (!inputTypes.has('radio') ||\n (ev.target && !this.el.contains(ev.target)) ||\n ev.target.classList.contains('alert-button')) {\n return;\n }\n // Get all radios inside of the radio group and then\n // filter out disabled radios since we need to skip those\n const query = this.el.querySelectorAll('.alert-radio');\n const radios = Array.from(query).filter((radio) => !radio.disabled);\n // The focused radio is the one that shares the same id as\n // the event target\n const index = radios.findIndex((radio) => radio.id === ev.target.id);\n // We need to know what the next radio element should\n // be in order to change the focus\n let nextEl;\n // If hitting arrow down or arrow right, move to the next radio\n // If we're on the last radio, move to the first radio\n if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {\n nextEl = index === radios.length - 1 ? radios[0] : radios[index + 1];\n }\n // If hitting arrow up or arrow left, move to the previous radio\n // If we're on the first radio, move to the last radio\n if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {\n nextEl = index === 0 ? radios[radios.length - 1] : radios[index - 1];\n }\n if (nextEl && radios.includes(nextEl)) {\n const nextProcessed = this.processedInputs.find((input) => input.id === (nextEl === null || nextEl === void 0 ? void 0 : nextEl.id));\n if (nextProcessed) {\n this.rbClick(nextProcessed);\n nextEl.focus();\n }\n }\n }\n buttonsChanged() {\n const buttons = this.buttons;\n this.processedButtons = buttons.map((btn) => {\n return typeof btn === 'string' ? { text: btn, role: btn.toLowerCase() === 'cancel' ? 'cancel' : undefined } : btn;\n });\n }\n inputsChanged() {\n const inputs = this.inputs;\n // Get the first input that is not disabled and the checked one\n // If an enabled checked input exists, set it to be the focusable input\n // otherwise we default to focus the first input\n // This will only be used when the input is type radio\n const first = inputs.find((input) => !input.disabled);\n const checked = inputs.find((input) => input.checked && !input.disabled);\n const focusable = checked || first;\n // An alert can be created with several different inputs. Radios,\n // checkboxes and inputs are all accepted, but they cannot be mixed.\n const inputTypes = new Set(inputs.map((i) => i.type));\n if (inputTypes.has('checkbox') && inputTypes.has('radio')) {\n console.warn(`Alert cannot mix input types: ${Array.from(inputTypes.values()).join('/')}. Please see alert docs for more info.`);\n }\n this.inputType = inputTypes.values().next().value;\n this.processedInputs = inputs.map((i, index) => {\n var _a;\n return ({\n type: i.type || 'text',\n name: i.name || `${index}`,\n placeholder: i.placeholder || '',\n value: i.value,\n label: i.label,\n checked: !!i.checked,\n disabled: !!i.disabled,\n id: i.id || `alert-input-${this.overlayIndex}-${index}`,\n handler: i.handler,\n min: i.min,\n max: i.max,\n cssClass: (_a = i.cssClass) !== null && _a !== void 0 ? _a : '',\n attributes: i.attributes || {},\n tabindex: i.type === 'radio' && i !== focusable ? -1 : 0,\n });\n });\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n componentWillLoad() {\n setOverlayId(this.el);\n this.inputsChanged();\n this.buttonsChanged();\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n }\n componentDidLoad() {\n /**\n * Only create gesture if:\n * 1. A gesture does not already exist\n * 2. App is running in iOS mode\n * 3. A wrapper ref exists\n */\n if (!this.gesture && getIonMode(this) === 'ios' && this.wrapperEl) {\n this.gesture = createButtonActiveGesture(this.wrapperEl, (refEl) => refEl.classList.contains('alert-button'));\n this.gesture.enable(true);\n }\n /**\n * If alert was rendered with isOpen=\"true\"\n * then we should open alert immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n }\n /**\n * Present the alert overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n await this.delegateController.attachViewToDom();\n await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation);\n unlock();\n }\n /**\n * Dismiss the alert overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the alert.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the alert.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n */\n async dismiss(data, role) {\n const unlock = await this.lockController.lock();\n const dismissed = await dismiss(this, data, role, 'alertLeave', iosLeaveAnimation, mdLeaveAnimation);\n if (dismissed) {\n this.delegateController.removeViewFromDom();\n }\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the alert did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionAlertDidDismiss');\n }\n /**\n * Returns a promise that resolves when the alert will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionAlertWillDismiss');\n }\n rbClick(selectedInput) {\n for (const input of this.processedInputs) {\n input.checked = input === selectedInput;\n input.tabindex = input === selectedInput ? 0 : -1;\n }\n this.activeId = selectedInput.id;\n safeCall(selectedInput.handler, selectedInput);\n forceUpdate(this);\n }\n cbClick(selectedInput) {\n selectedInput.checked = !selectedInput.checked;\n safeCall(selectedInput.handler, selectedInput);\n forceUpdate(this);\n }\n async buttonClick(button) {\n const role = button.role;\n const values = this.getValues();\n if (isCancel(role)) {\n return this.dismiss({ values }, role);\n }\n const returnData = await this.callButtonHandler(button, values);\n if (returnData !== false) {\n return this.dismiss(Object.assign({ values }, returnData), button.role);\n }\n return false;\n }\n async callButtonHandler(button, data) {\n if (button === null || button === void 0 ? void 0 : button.handler) {\n // a handler has been provided, execute it\n // pass the handler the values from the inputs\n const returnData = await safeCall(button.handler, data);\n if (returnData === false) {\n // if the return value of the handler is false then do not dismiss\n return false;\n }\n if (typeof returnData === 'object') {\n return returnData;\n }\n }\n return {};\n }\n getValues() {\n if (this.processedInputs.length === 0) {\n // this is an alert without any options/inputs at all\n return undefined;\n }\n if (this.inputType === 'radio') {\n // this is an alert with radio buttons (single value select)\n // return the one value which is checked, otherwise undefined\n const checkedInput = this.processedInputs.find((i) => !!i.checked);\n return checkedInput ? checkedInput.value : undefined;\n }\n if (this.inputType === 'checkbox') {\n // this is an alert with checkboxes (multiple value select)\n // return an array of all the checked values\n return this.processedInputs.filter((i) => i.checked).map((i) => i.value);\n }\n // this is an alert with text inputs\n // return an object of all the values with the input name as the key\n const values = {};\n this.processedInputs.forEach((i) => {\n values[i.name] = i.value || '';\n });\n return values;\n }\n renderAlertInputs() {\n switch (this.inputType) {\n case 'checkbox':\n return this.renderCheckbox();\n case 'radio':\n return this.renderRadio();\n default:\n return this.renderInput();\n }\n }\n renderCheckbox() {\n const inputs = this.processedInputs;\n const mode = getIonMode(this);\n if (inputs.length === 0) {\n return null;\n }\n return (h(\"div\", { class: \"alert-checkbox-group\" }, inputs.map((i) => (h(\"button\", { type: \"button\", onClick: () => this.cbClick(i), \"aria-checked\": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: \"checkbox\", class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, h(\"div\", { class: \"alert-button-inner\" }, h(\"div\", { class: \"alert-checkbox-icon\" }, h(\"div\", { class: \"alert-checkbox-inner\" })), h(\"div\", { class: \"alert-checkbox-label\" }, i.label)), mode === 'md' && h(\"ion-ripple-effect\", null))))));\n }\n renderRadio() {\n const inputs = this.processedInputs;\n if (inputs.length === 0) {\n return null;\n }\n return (h(\"div\", { class: \"alert-radio-group\", role: \"radiogroup\", \"aria-activedescendant\": this.activeId }, inputs.map((i) => (h(\"button\", { type: \"button\", onClick: () => this.rbClick(i), \"aria-checked\": `${i.checked}`, disabled: i.disabled, id: i.id, tabIndex: i.tabindex, class: Object.assign(Object.assign({}, getClassMap(i.cssClass)), { 'alert-radio-button': true, 'alert-tappable': true, 'alert-radio': true, 'ion-focusable': true, 'alert-radio-button-disabled': i.disabled || false }), role: \"radio\" }, h(\"div\", { class: \"alert-button-inner\" }, h(\"div\", { class: \"alert-radio-icon\" }, h(\"div\", { class: \"alert-radio-inner\" })), h(\"div\", { class: \"alert-radio-label\" }, i.label)))))));\n }\n renderInput() {\n const inputs = this.processedInputs;\n if (inputs.length === 0) {\n return null;\n }\n return (h(\"div\", { class: \"alert-input-group\" }, inputs.map((i) => {\n var _a, _b, _c, _d;\n if (i.type === 'textarea') {\n return (h(\"div\", { class: \"alert-input-wrapper\" }, h(\"textarea\", Object.assign({ placeholder: i.placeholder, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_b = (_a = i.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : i.disabled, class: inputClass(i), onInput: (e) => {\n var _a;\n i.value = e.target.value;\n if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {\n i.attributes.onInput(e);\n }\n } }))));\n }\n else {\n return (h(\"div\", { class: \"alert-input-wrapper\" }, h(\"input\", Object.assign({ placeholder: i.placeholder, type: i.type, min: i.min, max: i.max, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_d = (_c = i.attributes) === null || _c === void 0 ? void 0 : _c.disabled) !== null && _d !== void 0 ? _d : i.disabled, class: inputClass(i), onInput: (e) => {\n var _a;\n i.value = e.target.value;\n if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {\n i.attributes.onInput(e);\n }\n } }))));\n }\n })));\n }\n renderAlertButtons() {\n const buttons = this.processedButtons;\n const mode = getIonMode(this);\n const alertButtonGroupClass = {\n 'alert-button-group': true,\n 'alert-button-group-vertical': buttons.length > 2,\n };\n return (h(\"div\", { class: alertButtonGroupClass }, buttons.map((button) => (h(\"button\", Object.assign({}, button.htmlAttributes, { type: \"button\", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), h(\"span\", { class: \"alert-button-inner\" }, button.text), mode === 'md' && h(\"ion-ripple-effect\", null))))));\n }\n renderAlertMessage(msgId) {\n const { customHTMLEnabled, message } = this;\n if (customHTMLEnabled) {\n return h(\"div\", { id: msgId, class: \"alert-message\", innerHTML: sanitizeDOMString(message) });\n }\n return (h(\"div\", { id: msgId, class: \"alert-message\" }, message));\n }\n render() {\n const { overlayIndex, header, subHeader, message, htmlAttributes } = this;\n const mode = getIonMode(this);\n const hdrId = `alert-${overlayIndex}-hdr`;\n const subHdrId = `alert-${overlayIndex}-sub-hdr`;\n const msgId = `alert-${overlayIndex}-msg`;\n const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';\n /**\n * If the header is defined, use that. Otherwise, fall back to the subHeader.\n * If neither is defined, don't set aria-labelledby.\n */\n const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;\n return (h(Host, Object.assign({ role: role, \"aria-modal\": \"true\", \"aria-labelledby\": ariaLabelledBy, \"aria-describedby\": message !== undefined ? msgId : null, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${20000 + overlayIndex}`,\n }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h(\"ion-backdrop\", { tappable: this.backdropDismiss }), h(\"div\", { tabindex: \"0\" }), h(\"div\", { class: \"alert-wrapper ion-overlay-wrapper\", ref: (el) => (this.wrapperEl = el) }, h(\"div\", { class: \"alert-head\" }, header && (h(\"h2\", { id: hdrId, class: \"alert-title\" }, header)), subHeader && (h(\"h2\", { id: subHdrId, class: \"alert-sub-title\" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h(\"div\", { tabindex: \"0\" })));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"],\n \"buttons\": [\"buttonsChanged\"],\n \"inputs\": [\"inputsChanged\"]\n }; }\n};\nconst inputClass = (input) => {\n var _a, _b, _c;\n return Object.assign(Object.assign({ 'alert-input': true, 'alert-input-disabled': ((_b = (_a = input.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : input.disabled) || false }, getClassMap(input.cssClass)), getClassMap(input.attributes ? (_c = input.attributes.class) === null || _c === void 0 ? void 0 : _c.toString() : ''));\n};\nconst buttonClass = (button) => {\n return Object.assign({ 'alert-button': true, 'ion-focusable': true, 'ion-activatable': true, [`alert-button-role-${button.role}`]: button.role !== undefined }, getClassMap(button.cssClass));\n};\nAlert.style = {\n ios: alertIosCss,\n md: alertMdCss\n};\n\nexport { Alert as ion_alert };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-96c9ace3.js';\nimport { r as raf } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays-cec6bac8.js';\nimport { g as getClassMap } from './theme-17531cdf.js';\nimport { c as config, b as getIonMode } from './ionic-global-246ca78f.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport './index-7a14ecec.js';\nimport './framework-delegate-aa433dea.js';\nimport './hardware-back-button-39299f84.js';\nimport './index-595d62c9.js';\n\n/**\n * iOS Loading Enter Animation\n */\nconst iosEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.01, transform: 'scale(1.1)' },\n { offset: 1, opacity: 1, transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Loading Leave Animation\n */\nconst iosLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.99, transform: 'scale(1)' },\n { offset: 1, opacity: 0, transform: 'scale(0.9)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Enter Animation\n */\nconst mdEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.01, transform: 'scale(1.1)' },\n { offset: 1, opacity: 1, transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.99, transform: 'scale(1)' },\n { offset: 1, opacity: 0, transform: 'scale(0.9)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst loadingIosCss = \".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}\";\n\nconst loadingMdCss = \".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}\";\n\nconst Loading = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionLoadingDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionLoadingWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionLoadingWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionLoadingDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);\n this.presented = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.message = undefined;\n this.cssClass = undefined;\n this.duration = 0;\n this.backdropDismiss = false;\n this.showBackdrop = true;\n this.spinner = undefined;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n componentWillLoad() {\n if (this.spinner === undefined) {\n const mode = getIonMode(this);\n this.spinner = config.get('loadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));\n }\n setOverlayId(this.el);\n }\n componentDidLoad() {\n /**\n * If loading indicator was rendered with isOpen=\"true\"\n * then we should open loading indicator immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n }\n /**\n * Present the loading overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n await this.delegateController.attachViewToDom();\n await present(this, 'loadingEnter', iosEnterAnimation, mdEnterAnimation);\n if (this.duration > 0) {\n this.durationTimeout = setTimeout(() => this.dismiss(), this.duration + 10);\n }\n unlock();\n }\n /**\n * Dismiss the loading overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the loading.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the loading.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n */\n async dismiss(data, role) {\n const unlock = await this.lockController.lock();\n if (this.durationTimeout) {\n clearTimeout(this.durationTimeout);\n }\n const dismissed = await dismiss(this, data, role, 'loadingLeave', iosLeaveAnimation, mdLeaveAnimation);\n if (dismissed) {\n this.delegateController.removeViewFromDom();\n }\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the loading did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionLoadingDidDismiss');\n }\n /**\n * Returns a promise that resolves when the loading will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionLoadingWillDismiss');\n }\n renderLoadingMessage(msgId) {\n const { customHTMLEnabled, message } = this;\n if (customHTMLEnabled) {\n return h(\"div\", { class: \"loading-content\", id: msgId, innerHTML: sanitizeDOMString(message) });\n }\n return (h(\"div\", { class: \"loading-content\", id: msgId }, message));\n }\n render() {\n const { message, spinner, htmlAttributes, overlayIndex } = this;\n const mode = getIonMode(this);\n const msgId = `loading-${overlayIndex}-msg`;\n /**\n * If the message is defined, use that as the label.\n * Otherwise, don't set aria-labelledby.\n */\n const ariaLabelledBy = message !== undefined ? msgId : null;\n return (h(Host, Object.assign({ role: \"dialog\", \"aria-modal\": \"true\", \"aria-labelledby\": ariaLabelledBy, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${40000 + this.overlayIndex}`,\n }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h(\"ion-backdrop\", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h(\"div\", { tabindex: \"0\" }), h(\"div\", { class: \"loading-wrapper ion-overlay-wrapper\" }, spinner && (h(\"div\", { class: \"loading-spinner\" }, h(\"ion-spinner\", { name: spinner, \"aria-hidden\": \"true\" }))), message !== undefined && this.renderLoadingMessage(msgId)), h(\"div\", { tabindex: \"0\" })));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }; }\n};\nLoading.style = {\n ios: loadingIosCss,\n md: loadingMdCss\n};\n\nexport { Loading as ion_loading };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, w as writeTask, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { f as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, a as findIonContent, p as printIonContentErrorMsg } from './index-746a238e.js';\nimport { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-aa433dea.js';\nimport { g as getElementRoot, l as clamp, r as raf, k as inheritAttributes, m as hasLazyBuild } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { p as printIonWarning } from './index-595d62c9.js';\nimport { g as getCapacitor } from './capacitor-b4979570.js';\nimport { G as GESTURE, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, n as activeAnimations, g as dismiss, h as eventMethod } from './overlays-cec6bac8.js';\nimport { g as getClassMap } from './theme-17531cdf.js';\nimport { e as deepReady, w as waitForMount } from './index-7d2b2808.js';\nimport { b as getIonMode, c as config } from './ionic-global-246ca78f.js';\nimport { KEYBOARD_DID_OPEN } from './keyboard-b551279d.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport { g as getTimeGivenProgression } from './cubic-bezier-66542bc5.js';\nimport { createGesture } from './index-ff313b19.js';\nimport { w as win } from './index-7a14ecec.js';\nimport './hardware-back-button-39299f84.js';\nimport './keyboard-b063f012.js';\nimport './gesture-controller-0fa396c4.js';\n\nvar Style;\n(function (Style) {\n Style[\"Dark\"] = \"DARK\";\n Style[\"Light\"] = \"LIGHT\";\n Style[\"Default\"] = \"DEFAULT\";\n})(Style || (Style = {}));\nconst StatusBar = {\n getEngine() {\n const capacitor = getCapacitor();\n if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('StatusBar')) {\n return capacitor.Plugins.StatusBar;\n }\n return undefined;\n },\n // TODO FW-4696 Remove supportDefaultStatusBarStyle in Ionic v8\n supportsDefaultStatusBarStyle() {\n const capacitor = getCapacitor();\n /**\n * The 'DEFAULT' status bar style was added\n * to the @capacitor/status-bar plugin in Capacitor 3.\n * PluginHeaders is only supported in Capacitor 3+,\n * so we can use this to detect Capacitor 3.\n */\n return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.PluginHeaders);\n },\n setStyle(options) {\n const engine = this.getEngine();\n if (!engine) {\n return;\n }\n engine.setStyle(options);\n },\n getStyle: async function () {\n const engine = this.getEngine();\n if (!engine) {\n return Style.Default;\n }\n const { style } = await engine.getInfo();\n return style;\n },\n};\n\n/**\n * Use y = mx + b to\n * figure out the backdrop value\n * at a particular x coordinate. This\n * is useful when the backdrop does\n * not begin to fade in until after\n * the 0 breakpoint.\n */\nconst getBackdropValueForSheet = (x, backdropBreakpoint) => {\n /**\n * We will use these points:\n * (backdropBreakpoint, 0)\n * (maxBreakpoint, 1)\n * We know that at the beginning breakpoint,\n * the backdrop will be hidden. We also\n * know that at the maxBreakpoint, the backdrop\n * must be fully visible. maxBreakpoint should\n * always be 1 even if the maximum value\n * of the breakpoints array is not 1 since\n * the animation runs from a progress of 0\n * to a progress of 1.\n * m = (y2 - y1) / (x2 - x1)\n *\n * This is simplified from:\n * m = (1 - 0) / (maxBreakpoint - backdropBreakpoint)\n *\n * If the backdropBreakpoint is 1, we return 0 as the\n * backdrop is completely hidden.\n *\n */\n if (backdropBreakpoint === 1) {\n return 0;\n }\n const slope = 1 / (1 - backdropBreakpoint);\n /**\n * From here, compute b which is\n * the backdrop opacity if the offset\n * is 0. If the backdrop does not\n * begin to fade in until after the\n * 0 breakpoint, this b value will be\n * negative. This is fine as we never pass\n * b directly into the animation keyframes.\n * b = y - mx\n * Use a known point: (backdropBreakpoint, 0)\n * This is simplified from:\n * b = 0 - (backdropBreakpoint * slope)\n */\n const b = -(backdropBreakpoint * slope);\n /**\n * Finally, we can now determine the\n * backdrop offset given an arbitrary\n * gesture offset.\n */\n return x * slope + b;\n};\n/**\n * The tablet/desktop card modal activates\n * when the window width is >= 768.\n * At that point, the presenting element\n * is not transformed, so we do not need to\n * adjust the status bar color.\n *\n * Note: We check supportsDefaultStatusBarStyle so that\n * Capacitor <= 2 users do not get their status bar\n * stuck in an inconsistent state due to a lack of\n * support for Style.Default.\n */\nconst setCardStatusBarDark = () => {\n // TODO FW-4696 Remove supportDefaultStatusBarStyle in Ionic v8\n if (!win || win.innerWidth >= 768 || !StatusBar.supportsDefaultStatusBarStyle()) {\n return;\n }\n StatusBar.setStyle({ style: Style.Dark });\n};\nconst setCardStatusBarDefault = (defaultStyle = Style.Default) => {\n // TODO FW-4696 Remove supportDefaultStatusBarStyle in Ionic v8\n if (!win || win.innerWidth >= 768 || !StatusBar.supportsDefaultStatusBarStyle()) {\n return;\n }\n StatusBar.setStyle({ style: defaultStyle });\n};\n\nconst handleCanDismiss = async (el, animation) => {\n /**\n * If canDismiss is not a function\n * then we can return early. If canDismiss is `true`,\n * then canDismissBlocksGesture is `false` as canDismiss\n * will never interrupt the gesture. As a result,\n * this code block is never reached. If canDismiss is `false`,\n * then we never dismiss.\n */\n if (typeof el.canDismiss !== 'function') {\n return;\n }\n /**\n * Run the canDismiss callback.\n * If the function returns `true`,\n * then we can proceed with dismiss.\n */\n const shouldDismiss = await el.canDismiss(undefined, GESTURE);\n if (!shouldDismiss) {\n return;\n }\n /**\n * If canDismiss resolved after the snap\n * back animation finished, we can\n * dismiss immediately.\n *\n * If canDismiss resolved before the snap\n * back animation finished, we need to\n * wait until the snap back animation is\n * done before dismissing.\n */\n if (animation.isRunning()) {\n animation.onFinish(() => {\n el.dismiss(undefined, 'handler');\n }, { oneTimeCallback: true });\n }\n else {\n el.dismiss(undefined, 'handler');\n }\n};\n/**\n * This function lets us simulate a realistic spring-like animation\n * when swiping down on the modal.\n * There are two forces that we need to use to compute the spring physics:\n *\n * 1. Stiffness, k: This is a measure of resistance applied a spring.\n * 2. Dampening, c: This value has the effect of reducing or preventing oscillation.\n *\n * Using these two values, we can calculate the Spring Force and the Dampening Force\n * to compute the total force applied to a spring.\n *\n * Spring Force: This force pulls a spring back into its equilibrium position.\n * Hooke's Law tells us that that spring force (FS) = kX.\n * k is the stiffness of a spring, and X is the displacement of the spring from its\n * equilibrium position. In this case, it is the amount by which the free end\n * of a spring was displaced (stretched/pushed) from its \"relaxed\" position.\n *\n * Dampening Force: This force slows down motion. Without it, a spring would oscillate forever.\n * The dampening force, FD, can be found via this formula: FD = -cv\n * where c the dampening value and v is velocity.\n *\n * Therefore, the resulting force that is exerted on the block is:\n * F = FS + FD = -kX - cv\n *\n * Newton's 2nd Law tells us that F = ma:\n * ma = -kX - cv.\n *\n * For Ionic's purposes, we can assume that m = 1:\n * a = -kX - cv\n *\n * Imagine a block attached to the end of a spring. At equilibrium\n * the block is at position x = 1.\n * Pressing on the block moves it to position x = 0;\n * So, to calculate the displacement, we need to take the\n * current position and subtract the previous position from it.\n * X = x - x0 = 0 - 1 = -1.\n *\n * For Ionic's purposes, we are only pushing on the spring modal\n * so we have a max position of 1.\n * As a result, we can expand displacement to this formula:\n * X = x - 1\n *\n * a = -k(x - 1) - cv\n *\n * We can represent the motion of something as a function of time: f(t) = x.\n * The derivative of position gives us the velocity: f'(t)\n * The derivative of the velocity gives us the acceleration: f''(t)\n *\n * We can substitute the formula above with these values:\n *\n * f\"(t) = -k * (f(t) - 1) - c * f'(t)\n *\n * This is called a differential equation.\n *\n * We know that at t = 0, we are at x = 0 because the modal does not move: f(0) = 0\n * This means our velocity is also zero: f'(0) = 0.\n *\n * We can cheat a bit and plug the formula into Wolfram Alpha.\n * However, we need to pick stiffness and dampening values:\n * k = 0.57\n * c = 15\n *\n * I picked these as they are fairly close to native iOS's spring effect\n * with the modal.\n *\n * What we plug in is this: f(0) = 0; f'(0) = 0; f''(t) = -0.57(f(t) - 1) - 15f'(t)\n *\n * The result is a formula that lets us calculate the acceleration\n * for a given time t.\n * Note: This is the approximate form of the solution. Wolfram Alpha will\n * give you a complex differential equation too.\n */\nconst calculateSpringStep = (t) => {\n return 0.00255275 * 2.71828 ** (-14.9619 * t) - 1.00255 * 2.71828 ** (-0.0380968 * t) + 1;\n};\n\n// Defaults for the card swipe animation\nconst SwipeToCloseDefaults = {\n MIN_PRESENTING_SCALE: 0.93,\n};\nconst createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) => {\n /**\n * The step value at which a card modal\n * is eligible for dismissing via gesture.\n */\n const DISMISS_THRESHOLD = 0.5;\n const height = el.offsetHeight;\n let isOpen = false;\n let canDismissBlocksGesture = false;\n let contentEl = null;\n let scrollEl = null;\n const canDismissMaxStep = 0.2;\n let initialScrollY = true;\n let lastStep = 0;\n const getScrollY = () => {\n if (contentEl && isIonContent(contentEl)) {\n return contentEl.scrollY;\n /**\n * Custom scroll containers are intended to be\n * used with virtual scrolling, so we assume\n * there is scrolling in this case.\n */\n }\n else {\n return true;\n }\n };\n const canStart = (detail) => {\n const target = detail.event.target;\n if (target === null || !target.closest) {\n return true;\n }\n /**\n * If we are swiping on the content,\n * swiping should only be possible if\n * the content is scrolled all the way\n * to the top so that we do not interfere\n * with scrolling.\n *\n * We cannot assume that the `ion-content`\n * target will remain consistent between\n * swipes. For example, when using\n * ion-nav within a card modal it is\n * possible to swipe, push a view, and then\n * swipe again. The target content will not\n * be the same between swipes.\n */\n contentEl = findClosestIonContent(target);\n if (contentEl) {\n /**\n * The card should never swipe to close\n * on the content with a refresher.\n * Note: We cannot solve this by making the\n * swipeToClose gesture have a higher priority\n * than the refresher gesture as the iOS native\n * refresh gesture uses a scroll listener in\n * addition to a gesture.\n *\n * Note: Do not use getScrollElement here\n * because we need this to be a synchronous\n * operation, and getScrollElement is\n * asynchronous.\n */\n if (isIonContent(contentEl)) {\n const root = getElementRoot(contentEl);\n scrollEl = root.querySelector('.inner-scroll');\n }\n else {\n scrollEl = contentEl;\n }\n const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');\n return !hasRefresherInContent && scrollEl.scrollTop === 0;\n }\n /**\n * Card should be swipeable on all\n * parts of the modal except for the footer.\n */\n const footer = target.closest('ion-footer');\n if (footer === null) {\n return true;\n }\n return false;\n };\n const onStart = (detail) => {\n const { deltaY } = detail;\n /**\n * Get the initial scrollY value so\n * that we can correctly reset the scrollY\n * prop when the gesture ends.\n */\n initialScrollY = getScrollY();\n /**\n * If canDismiss is anything other than `true`\n * then users should be able to swipe down\n * until a threshold is hit. At that point,\n * the card modal should not proceed any further.\n * TODO (FW-937)\n * Remove undefined check\n */\n canDismissBlocksGesture = el.canDismiss !== undefined && el.canDismiss !== true;\n /**\n * If we are pulling down, then\n * it is possible we are pulling on the\n * content. We do not want scrolling to\n * happen at the same time as the gesture.\n */\n if (deltaY > 0 && contentEl) {\n disableContentScrollY(contentEl);\n }\n animation.progressStart(true, isOpen ? 1 : 0);\n };\n const onMove = (detail) => {\n const { deltaY } = detail;\n /**\n * If we are pulling down, then\n * it is possible we are pulling on the\n * content. We do not want scrolling to\n * happen at the same time as the gesture.\n */\n if (deltaY > 0 && contentEl) {\n disableContentScrollY(contentEl);\n }\n /**\n * If we are swiping on the content\n * then the swipe gesture should only\n * happen if we are pulling down.\n *\n * However, if we pull up and\n * then down such that the scroll position\n * returns to 0, we should be able to swipe\n * the card.\n */\n const step = detail.deltaY / height;\n /**\n * Check if user is swiping down and\n * if we have a canDismiss value that\n * should block the gesture from\n * proceeding,\n */\n const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;\n /**\n * If we are blocking the gesture from dismissing,\n * set the max step value so that the sheet cannot be\n * completely hidden.\n */\n const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;\n /**\n * If we are blocking the gesture from\n * dismissing, calculate the spring modifier value\n * this will be added to the starting breakpoint\n * value to give the gesture a spring-like feeling.\n * Note that the starting breakpoint is always 0,\n * so we omit adding 0 to the result.\n */\n const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;\n const clampedStep = clamp(0.0001, processedStep, maxStep);\n animation.progressStep(clampedStep);\n /**\n * When swiping down half way, the status bar style\n * should be reset to its default value.\n *\n * We track lastStep so that we do not fire these\n * functions on every onMove, only when the user has\n * crossed a certain threshold.\n */\n if (clampedStep >= DISMISS_THRESHOLD && lastStep < DISMISS_THRESHOLD) {\n setCardStatusBarDefault(statusBarStyle);\n /**\n * However, if we swipe back up, then the\n * status bar style should be set to have light\n * text on a dark background.\n */\n }\n else if (clampedStep < DISMISS_THRESHOLD && lastStep >= DISMISS_THRESHOLD) {\n setCardStatusBarDark();\n }\n lastStep = clampedStep;\n };\n const onEnd = (detail) => {\n const velocity = detail.velocityY;\n const step = detail.deltaY / height;\n const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;\n const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;\n const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;\n const clampedStep = clamp(0.0001, processedStep, maxStep);\n const threshold = (detail.deltaY + velocity * 1000) / height;\n /**\n * If canDismiss blocks\n * the swipe gesture, then the\n * animation can never complete until\n * canDismiss is checked.\n */\n const shouldComplete = !isAttemptingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;\n let newStepValue = shouldComplete ? -0.001 : 0.001;\n if (!shouldComplete) {\n animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');\n newStepValue += getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];\n }\n else {\n animation.easing('cubic-bezier(0.32, 0.72, 0, 1)');\n newStepValue += getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], clampedStep)[0];\n }\n const duration = shouldComplete\n ? computeDuration(step * height, velocity)\n : computeDuration((1 - clampedStep) * height, velocity);\n isOpen = shouldComplete;\n gesture.enable(false);\n if (contentEl) {\n resetContentScrollY(contentEl, initialScrollY);\n }\n animation\n .onFinish(() => {\n if (!shouldComplete) {\n gesture.enable(true);\n }\n })\n .progressEnd(shouldComplete ? 1 : 0, newStepValue, duration);\n /**\n * If the canDismiss value blocked the gesture\n * from proceeding, then we should ignore whatever\n * shouldComplete is. Whether or not the modal\n * animation should complete is now determined by\n * canDismiss.\n *\n * If the user swiped >25% of the way\n * to the max step, then we should\n * check canDismiss. 25% was chosen\n * to avoid accidental swipes.\n */\n if (isAttemptingDismissWithCanDismiss && clampedStep > maxStep / 4) {\n handleCanDismiss(el, animation);\n }\n else if (shouldComplete) {\n onDismiss();\n }\n };\n const gesture = createGesture({\n el,\n gestureName: 'modalSwipeToClose',\n gesturePriority: 39,\n direction: 'y',\n threshold: 10,\n canStart,\n onStart,\n onMove,\n onEnd,\n });\n return gesture;\n};\nconst computeDuration = (remaining, velocity) => {\n return clamp(400, remaining / Math.abs(velocity * 1.1), 500);\n};\n\nconst createSheetEnterAnimation = (opts) => {\n const { currentBreakpoint, backdropBreakpoint } = opts;\n /**\n * If the backdropBreakpoint is undefined, then the backdrop\n * should always fade in. If the backdropBreakpoint came before the\n * current breakpoint, then the backdrop should be fading in.\n */\n const shouldShowBackdrop = backdropBreakpoint === undefined || backdropBreakpoint < currentBreakpoint;\n const initialBackdrop = shouldShowBackdrop ? `calc(var(--backdrop-opacity) * ${currentBreakpoint})` : '0';\n const backdropAnimation = createAnimation('backdropAnimation').fromTo('opacity', 0, initialBackdrop);\n if (shouldShowBackdrop) {\n backdropAnimation\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n }\n const wrapperAnimation = createAnimation('wrapperAnimation').keyframes([\n { offset: 0, opacity: 1, transform: 'translateY(100%)' },\n { offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },\n ]);\n return { wrapperAnimation, backdropAnimation };\n};\nconst createSheetLeaveAnimation = (opts) => {\n const { currentBreakpoint, backdropBreakpoint } = opts;\n /**\n * Backdrop does not always fade in from 0 to 1 if backdropBreakpoint\n * is defined, so we need to account for that offset by figuring out\n * what the current backdrop value should be.\n */\n const backdropValue = `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(currentBreakpoint, backdropBreakpoint)})`;\n const defaultBackdrop = [\n { offset: 0, opacity: backdropValue },\n { offset: 1, opacity: 0 },\n ];\n const customBackdrop = [\n { offset: 0, opacity: backdropValue },\n { offset: backdropBreakpoint, opacity: 0 },\n { offset: 1, opacity: 0 },\n ];\n const backdropAnimation = createAnimation('backdropAnimation').keyframes(backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop);\n const wrapperAnimation = createAnimation('wrapperAnimation').keyframes([\n { offset: 0, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },\n { offset: 1, opacity: 1, transform: `translateY(100%)` },\n ]);\n return { wrapperAnimation, backdropAnimation };\n};\n\nconst createEnterAnimation$1 = () => {\n const backdropAnimation = createAnimation()\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n const wrapperAnimation = createAnimation().fromTo('transform', 'translateY(100vh)', 'translateY(0vh)');\n return { backdropAnimation, wrapperAnimation };\n};\n/**\n * iOS Modal Enter Animation for the Card presentation style\n */\nconst iosEnterAnimation = (baseEl, opts) => {\n const { presentingEl, currentBreakpoint } = opts;\n const root = getElementRoot(baseEl);\n const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation$1();\n backdropAnimation.addElement(root.querySelector('ion-backdrop'));\n wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });\n const baseAnimation = createAnimation('entering-base')\n .addElement(baseEl)\n .easing('cubic-bezier(0.32,0.72,0,1)')\n .duration(500)\n .addAnimation(wrapperAnimation);\n if (presentingEl) {\n const isMobile = window.innerWidth < 768;\n const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;\n const presentingElRoot = getElementRoot(presentingEl);\n const presentingAnimation = createAnimation().beforeStyles({\n transform: 'translateY(0)',\n 'transform-origin': 'top center',\n overflow: 'hidden',\n });\n const bodyEl = document.body;\n if (isMobile) {\n /**\n * Fallback for browsers that does not support `max()` (ex: Firefox)\n * No need to worry about statusbar padding since engines like Gecko\n * are not used as the engine for standalone Cordova/Capacitor apps\n */\n const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';\n const modalTransform = hasCardModal ? '-10px' : transformOffset;\n const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;\n const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;\n presentingAnimation\n .afterStyles({\n transform: finalTransform,\n })\n .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))\n .addElement(presentingEl)\n .keyframes([\n { offset: 0, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },\n { offset: 1, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },\n ]);\n baseAnimation.addAnimation(presentingAnimation);\n }\n else {\n baseAnimation.addAnimation(backdropAnimation);\n if (!hasCardModal) {\n wrapperAnimation.fromTo('opacity', '0', '1');\n }\n else {\n const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;\n const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;\n presentingAnimation\n .afterStyles({\n transform: finalTransform,\n })\n .addElement(presentingElRoot.querySelector('.modal-wrapper'))\n .keyframes([\n { offset: 0, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },\n { offset: 1, filter: 'contrast(0.85)', transform: finalTransform },\n ]);\n const shadowAnimation = createAnimation()\n .afterStyles({\n transform: finalTransform,\n })\n .addElement(presentingElRoot.querySelector('.modal-shadow'))\n .keyframes([\n { offset: 0, opacity: '1', transform: 'translateY(0) scale(1)' },\n { offset: 1, opacity: '0', transform: finalTransform },\n ]);\n baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);\n }\n }\n }\n else {\n baseAnimation.addAnimation(backdropAnimation);\n }\n return baseAnimation;\n};\n\nconst createLeaveAnimation$1 = () => {\n const backdropAnimation = createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);\n const wrapperAnimation = createAnimation().fromTo('transform', 'translateY(0vh)', 'translateY(100vh)');\n return { backdropAnimation, wrapperAnimation };\n};\n/**\n * iOS Modal Leave Animation\n */\nconst iosLeaveAnimation = (baseEl, opts, duration = 500) => {\n const { presentingEl, currentBreakpoint } = opts;\n const root = getElementRoot(baseEl);\n const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation$1();\n backdropAnimation.addElement(root.querySelector('ion-backdrop'));\n wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });\n const baseAnimation = createAnimation('leaving-base')\n .addElement(baseEl)\n .easing('cubic-bezier(0.32,0.72,0,1)')\n .duration(duration)\n .addAnimation(wrapperAnimation);\n if (presentingEl) {\n const isMobile = window.innerWidth < 768;\n const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;\n const presentingElRoot = getElementRoot(presentingEl);\n const presentingAnimation = createAnimation()\n .beforeClearStyles(['transform'])\n .afterClearStyles(['transform'])\n .onFinish((currentStep) => {\n // only reset background color if this is the last card-style modal\n if (currentStep !== 1) {\n return;\n }\n presentingEl.style.setProperty('overflow', '');\n const numModals = Array.from(bodyEl.querySelectorAll('ion-modal:not(.overlay-hidden)')).filter((m) => m.presentingElement !== undefined).length;\n if (numModals <= 1) {\n bodyEl.style.setProperty('background-color', '');\n }\n });\n const bodyEl = document.body;\n if (isMobile) {\n const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';\n const modalTransform = hasCardModal ? '-10px' : transformOffset;\n const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;\n const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;\n presentingAnimation.addElement(presentingEl).keyframes([\n { offset: 0, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },\n { offset: 1, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },\n ]);\n baseAnimation.addAnimation(presentingAnimation);\n }\n else {\n baseAnimation.addAnimation(backdropAnimation);\n if (!hasCardModal) {\n wrapperAnimation.fromTo('opacity', '1', '0');\n }\n else {\n const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;\n const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;\n presentingAnimation\n .addElement(presentingElRoot.querySelector('.modal-wrapper'))\n .afterStyles({\n transform: 'translate3d(0, 0, 0)',\n })\n .keyframes([\n { offset: 0, filter: 'contrast(0.85)', transform: finalTransform },\n { offset: 1, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },\n ]);\n const shadowAnimation = createAnimation()\n .addElement(presentingElRoot.querySelector('.modal-shadow'))\n .afterStyles({\n transform: 'translateY(0) scale(1)',\n })\n .keyframes([\n { offset: 0, opacity: '0', transform: finalTransform },\n { offset: 1, opacity: '1', transform: 'translateY(0) scale(1)' },\n ]);\n baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);\n }\n }\n }\n else {\n baseAnimation.addAnimation(backdropAnimation);\n }\n return baseAnimation;\n};\n\nconst createEnterAnimation = () => {\n const backdropAnimation = createAnimation()\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n const wrapperAnimation = createAnimation().keyframes([\n { offset: 0, opacity: 0.01, transform: 'translateY(40px)' },\n { offset: 1, opacity: 1, transform: `translateY(0px)` },\n ]);\n return { backdropAnimation, wrapperAnimation };\n};\n/**\n * Md Modal Enter Animation\n */\nconst mdEnterAnimation = (baseEl, opts) => {\n const { currentBreakpoint } = opts;\n const root = getElementRoot(baseEl);\n const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation();\n backdropAnimation.addElement(root.querySelector('ion-backdrop'));\n wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));\n return createAnimation()\n .addElement(baseEl)\n .easing('cubic-bezier(0.36,0.66,0.04,1)')\n .duration(280)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst createLeaveAnimation = () => {\n const backdropAnimation = createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);\n const wrapperAnimation = createAnimation().keyframes([\n { offset: 0, opacity: 0.99, transform: `translateY(0px)` },\n { offset: 1, opacity: 0, transform: 'translateY(40px)' },\n ]);\n return { backdropAnimation, wrapperAnimation };\n};\n/**\n * Md Modal Leave Animation\n */\nconst mdLeaveAnimation = (baseEl, opts) => {\n const { currentBreakpoint } = opts;\n const root = getElementRoot(baseEl);\n const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation();\n backdropAnimation.addElement(root.querySelector('ion-backdrop'));\n wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));\n return createAnimation()\n .easing('cubic-bezier(0.47,0,0.745,0.715)')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], getCurrentBreakpoint, onDismiss, onBreakpointChange) => {\n // Defaults for the sheet swipe animation\n const defaultBackdrop = [\n { offset: 0, opacity: 'var(--backdrop-opacity)' },\n { offset: 1, opacity: 0.01 },\n ];\n const customBackdrop = [\n { offset: 0, opacity: 'var(--backdrop-opacity)' },\n { offset: 1 - backdropBreakpoint, opacity: 0 },\n { offset: 1, opacity: 0 },\n ];\n const SheetDefaults = {\n WRAPPER_KEYFRAMES: [\n { offset: 0, transform: 'translateY(0%)' },\n { offset: 1, transform: 'translateY(100%)' },\n ],\n BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,\n };\n const contentEl = baseEl.querySelector('ion-content');\n const height = wrapperEl.clientHeight;\n let currentBreakpoint = initialBreakpoint;\n let offset = 0;\n let canDismissBlocksGesture = false;\n const canDismissMaxStep = 0.95;\n const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');\n const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');\n const maxBreakpoint = breakpoints[breakpoints.length - 1];\n const minBreakpoint = breakpoints[0];\n const enableBackdrop = () => {\n baseEl.style.setProperty('pointer-events', 'auto');\n backdropEl.style.setProperty('pointer-events', 'auto');\n /**\n * When the backdrop is enabled, elements such\n * as inputs should not be focusable outside\n * the sheet.\n */\n baseEl.classList.remove('ion-disable-focus-trap');\n };\n const disableBackdrop = () => {\n baseEl.style.setProperty('pointer-events', 'none');\n backdropEl.style.setProperty('pointer-events', 'none');\n /**\n * When the backdrop is enabled, elements such\n * as inputs should not be focusable outside\n * the sheet.\n * Adding this class disables focus trapping\n * for the sheet temporarily.\n */\n baseEl.classList.add('ion-disable-focus-trap');\n };\n /**\n * After the entering animation completes,\n * we need to set the animation to go from\n * offset 0 to offset 1 so that users can\n * swipe in any direction. We then set the\n * animation offset to the current breakpoint\n * so there is no flickering.\n */\n if (wrapperAnimation && backdropAnimation) {\n wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);\n backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);\n animation.progressStart(true, 1 - currentBreakpoint);\n /**\n * If backdrop is not enabled, then content\n * behind modal should be clickable. To do this, we need\n * to remove pointer-events from ion-modal as a whole.\n * ion-backdrop and .modal-wrapper always have pointer-events: auto\n * applied, so the modal content can still be interacted with.\n */\n const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint;\n if (shouldEnableBackdrop) {\n enableBackdrop();\n }\n else {\n disableBackdrop();\n }\n }\n if (contentEl && currentBreakpoint !== maxBreakpoint) {\n contentEl.scrollY = false;\n }\n const canStart = (detail) => {\n /**\n * If the sheet is fully expanded and\n * the user is swiping on the content,\n * the gesture should not start to\n * allow for scrolling on the content.\n */\n const content = detail.event.target.closest('ion-content');\n currentBreakpoint = getCurrentBreakpoint();\n if (currentBreakpoint === 1 && content) {\n return false;\n }\n return true;\n };\n const onStart = () => {\n /**\n * If canDismiss is anything other than `true`\n * then users should be able to swipe down\n * until a threshold is hit. At that point,\n * the card modal should not proceed any further.\n *\n * canDismiss is never fired via gesture if there is\n * no 0 breakpoint. However, it can be fired if the user\n * presses Esc or the hardware back button.\n * TODO (FW-937)\n * Remove undefined check\n */\n canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;\n /**\n * If swiping on the content\n * we should disable scrolling otherwise\n * the sheet will expand and the content will scroll.\n */\n if (contentEl) {\n contentEl.scrollY = false;\n }\n raf(() => {\n /**\n * Dismisses the open keyboard when the sheet drag gesture is started.\n * Sets the focus onto the modal element.\n */\n baseEl.focus();\n });\n animation.progressStart(true, 1 - currentBreakpoint);\n };\n const onMove = (detail) => {\n /**\n * Given the change in gesture position on the Y axis,\n * compute where the offset of the animation should be\n * relative to where the user dragged.\n */\n const initialStep = 1 - currentBreakpoint;\n const secondToLastBreakpoint = breakpoints.length > 1 ? 1 - breakpoints[1] : undefined;\n const step = initialStep + detail.deltaY / height;\n const isAttemptingDismissWithCanDismiss = secondToLastBreakpoint !== undefined && step >= secondToLastBreakpoint && canDismissBlocksGesture;\n /**\n * If we are blocking the gesture from dismissing,\n * set the max step value so that the sheet cannot be\n * completely hidden.\n */\n const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;\n /**\n * If we are blocking the gesture from\n * dismissing, calculate the spring modifier value\n * this will be added to the starting breakpoint\n * value to give the gesture a spring-like feeling.\n * Note that when isAttemptingDismissWithCanDismiss is true,\n * the modifier is always added to the breakpoint that\n * appears right after the 0 breakpoint.\n *\n * Note that this modifier is essentially the progression\n * between secondToLastBreakpoint and maxStep which is\n * why we subtract secondToLastBreakpoint. This lets us get\n * the result as a value from 0 to 1.\n */\n const processedStep = isAttemptingDismissWithCanDismiss && secondToLastBreakpoint !== undefined\n ? secondToLastBreakpoint +\n calculateSpringStep((step - secondToLastBreakpoint) / (maxStep - secondToLastBreakpoint))\n : step;\n offset = clamp(0.0001, processedStep, maxStep);\n animation.progressStep(offset);\n };\n const onEnd = (detail) => {\n /**\n * When the gesture releases, we need to determine\n * the closest breakpoint to snap to.\n */\n const velocity = detail.velocityY;\n const threshold = (detail.deltaY + velocity * 350) / height;\n const diff = currentBreakpoint - threshold;\n const closest = breakpoints.reduce((a, b) => {\n return Math.abs(b - diff) < Math.abs(a - diff) ? b : a;\n });\n moveSheetToBreakpoint({\n breakpoint: closest,\n breakpointOffset: offset,\n canDismiss: canDismissBlocksGesture,\n /**\n * The swipe is user-driven, so we should\n * always animate when the gesture ends.\n */\n animated: true,\n });\n };\n const moveSheetToBreakpoint = (options) => {\n const { breakpoint, canDismiss, breakpointOffset, animated } = options;\n /**\n * canDismiss should only prevent snapping\n * when users are trying to dismiss. If canDismiss\n * is present but the user is trying to swipe upwards,\n * we should allow that to happen,\n */\n const shouldPreventDismiss = canDismiss && breakpoint === 0;\n const snapToBreakpoint = shouldPreventDismiss ? currentBreakpoint : breakpoint;\n const shouldRemainOpen = snapToBreakpoint !== 0;\n currentBreakpoint = 0;\n /**\n * Update the animation so that it plays from\n * the last offset to the closest snap point.\n */\n if (wrapperAnimation && backdropAnimation) {\n wrapperAnimation.keyframes([\n { offset: 0, transform: `translateY(${breakpointOffset * 100}%)` },\n { offset: 1, transform: `translateY(${(1 - snapToBreakpoint) * 100}%)` },\n ]);\n backdropAnimation.keyframes([\n {\n offset: 0,\n opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(1 - breakpointOffset, backdropBreakpoint)})`,\n },\n {\n offset: 1,\n opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,\n },\n ]);\n animation.progressStep(0);\n }\n /**\n * Gesture should remain disabled until the\n * snapping animation completes.\n */\n gesture.enable(false);\n if (shouldPreventDismiss) {\n handleCanDismiss(baseEl, animation);\n }\n else if (!shouldRemainOpen) {\n onDismiss();\n }\n return new Promise((resolve) => {\n animation\n .onFinish(() => {\n if (shouldRemainOpen) {\n /**\n * Once the snapping animation completes,\n * we need to reset the animation to go\n * from 0 to 1 so users can swipe in any direction.\n * We then set the animation offset to the current\n * breakpoint so that it starts at the snapped position.\n */\n if (wrapperAnimation && backdropAnimation) {\n raf(() => {\n wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);\n backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);\n animation.progressStart(true, 1 - snapToBreakpoint);\n currentBreakpoint = snapToBreakpoint;\n onBreakpointChange(currentBreakpoint);\n /**\n * If the sheet is fully expanded, we can safely\n * enable scrolling again.\n */\n if (contentEl && currentBreakpoint === breakpoints[breakpoints.length - 1]) {\n contentEl.scrollY = true;\n }\n /**\n * Backdrop should become enabled\n * after the backdropBreakpoint value\n */\n const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint;\n if (shouldEnableBackdrop) {\n enableBackdrop();\n }\n else {\n disableBackdrop();\n }\n gesture.enable(true);\n resolve();\n });\n }\n else {\n gesture.enable(true);\n resolve();\n }\n }\n else {\n resolve();\n }\n /**\n * This must be a one time callback\n * otherwise a new callback will\n * be added every time onEnd runs.\n */\n }, { oneTimeCallback: true })\n .progressEnd(1, 0, animated ? 500 : 0);\n });\n };\n const gesture = createGesture({\n el: wrapperEl,\n gestureName: 'modalSheet',\n gesturePriority: 40,\n direction: 'y',\n threshold: 10,\n canStart,\n onStart,\n onMove,\n onEnd,\n });\n return {\n gesture,\n moveSheetToBreakpoint,\n };\n};\n\nconst modalIosCss = \":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\\\"\\\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}\";\n\nconst modalMdCss = \":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\\\"\\\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}\";\n\nconst Modal = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionModalDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionModalWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionModalWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionModalDidDismiss\", 7);\n this.ionBreakpointDidChange = createEvent(this, \"ionBreakpointDidChange\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.ionMount = createEvent(this, \"ionMount\", 7);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.coreDelegate = CoreDelegate();\n this.isSheetModal = false;\n this.inheritedAttributes = {};\n this.inline = false;\n // Whether or not modal is being dismissed via gesture\n this.gestureAnimationDismissing = false;\n this.onHandleClick = () => {\n const { sheetTransition, handleBehavior } = this;\n if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {\n /**\n * The sheet modal should not advance to the next breakpoint\n * if the handle behavior is not `cycle` or if the handle\n * is clicked while the sheet is moving to a breakpoint.\n */\n return;\n }\n this.moveToNextBreakpoint();\n };\n this.onBackdropTap = () => {\n const { sheetTransition } = this;\n if (sheetTransition !== undefined) {\n /**\n * When the handle is double clicked at the largest breakpoint,\n * it will start to move to the first breakpoint. While transitioning,\n * the backdrop will often receive the second click. We prevent the\n * backdrop from dismissing the modal while moving between breakpoints.\n */\n return;\n }\n this.dismiss(undefined, BACKDROP);\n };\n this.onLifecycle = (modalEvent) => {\n const el = this.usersElement;\n const name = LIFECYCLE_MAP[modalEvent.type];\n if (el && name) {\n const ev = new CustomEvent(name, {\n bubbles: false,\n cancelable: false,\n detail: modalEvent.detail,\n });\n el.dispatchEvent(ev);\n }\n };\n this.presented = false;\n this.hasController = false;\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.breakpoints = undefined;\n this.initialBreakpoint = undefined;\n this.backdropBreakpoint = 0;\n this.handle = undefined;\n this.handleBehavior = 'none';\n this.component = undefined;\n this.componentProps = undefined;\n this.cssClass = undefined;\n this.backdropDismiss = true;\n this.showBackdrop = true;\n this.animated = true;\n this.presentingElement = undefined;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n this.keepContentsMounted = false;\n this.canDismiss = true;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n breakpointsChanged(breakpoints) {\n if (breakpoints !== undefined) {\n this.sortedBreakpoints = breakpoints.sort((a, b) => a - b);\n }\n }\n connectedCallback() {\n const { el } = this;\n prepareOverlay(el);\n this.triggerChanged();\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n }\n componentWillLoad() {\n const { breakpoints, initialBreakpoint, el } = this;\n const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);\n this.inheritedAttributes = inheritAttributes(el, ['aria-label', 'role']);\n if (isSheetModal) {\n this.currentBreakpoint = this.initialBreakpoint;\n }\n if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {\n printIonWarning('Your breakpoints array must include the initialBreakpoint value.');\n }\n setOverlayId(el);\n }\n componentDidLoad() {\n /**\n * If modal was rendered with isOpen=\"true\"\n * then we should open modal immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n this.breakpointsChanged(this.breakpoints);\n }\n /**\n * Determines whether or not an overlay\n * is being used inline or via a controller/JS\n * and returns the correct delegate.\n * By default, subsequent calls to getDelegate\n * will use a cached version of the delegate.\n * This is useful for calling dismiss after\n * present so that the correct delegate is given.\n */\n getDelegate(force = false) {\n if (this.workingDelegate && !force) {\n return {\n delegate: this.workingDelegate,\n inline: this.inline,\n };\n }\n /**\n * If using overlay inline\n * we potentially need to use the coreDelegate\n * so that this works in vanilla JS apps.\n * If a developer has presented this component\n * via a controller, then we can assume\n * the component is already in the\n * correct place.\n */\n const parentEl = this.el.parentNode;\n const inline = (this.inline = parentEl !== null && !this.hasController);\n const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);\n return { inline, delegate };\n }\n /**\n * Determines whether or not the\n * modal is allowed to dismiss based\n * on the state of the canDismiss prop.\n */\n async checkCanDismiss(data, role) {\n const { canDismiss } = this;\n if (typeof canDismiss === 'function') {\n return canDismiss(data, role);\n }\n return canDismiss;\n }\n /**\n * Present the modal overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n if (this.presented) {\n unlock();\n return;\n }\n const { presentingElement, el } = this;\n /**\n * If the modal is presented multiple times (inline modals), we\n * need to reset the current breakpoint to the initial breakpoint.\n */\n this.currentBreakpoint = this.initialBreakpoint;\n const { inline, delegate } = this.getDelegate(true);\n /**\n * Emit ionMount so JS Frameworks have an opportunity\n * to add the child component to the DOM. The child\n * component will be assigned to this.usersElement below.\n */\n this.ionMount.emit();\n this.usersElement = await attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);\n /**\n * When using the lazy loaded build of Stencil, we need to wait\n * for every Stencil component instance to be ready before presenting\n * otherwise there can be a flash of unstyled content. With the\n * custom elements bundle we need to wait for the JS framework\n * mount the inner contents of the overlay otherwise WebKit may\n * get the transition incorrect.\n */\n if (hasLazyBuild(el)) {\n await deepReady(this.usersElement);\n /**\n * If keepContentsMounted=\"true\" then the\n * JS Framework has already mounted the inner\n * contents so there is no need to wait.\n * Otherwise, we need to wait for the JS\n * Framework to mount the inner contents\n * of this component.\n */\n }\n else if (!this.keepContentsMounted) {\n await waitForMount();\n }\n writeTask(() => this.el.classList.add('show-modal'));\n const hasCardModal = presentingElement !== undefined;\n /**\n * We need to change the status bar at the\n * start of the animation so that it completes\n * by the time the card animation is done.\n */\n if (hasCardModal && getIonMode(this) === 'ios') {\n // Cache the original status bar color before the modal is presented\n this.statusBarStyle = await StatusBar.getStyle();\n setCardStatusBarDark();\n }\n await present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {\n presentingEl: presentingElement,\n currentBreakpoint: this.initialBreakpoint,\n backdropBreakpoint: this.backdropBreakpoint,\n });\n /* tslint:disable-next-line */\n if (typeof window !== 'undefined') {\n /**\n * This needs to be setup before any\n * non-transition async work so it can be dereferenced\n * in the dismiss method. The dismiss method\n * only waits for the entering transition\n * to finish. It does not wait for all of the `present`\n * method to resolve.\n */\n this.keyboardOpenCallback = () => {\n if (this.gesture) {\n /**\n * When the native keyboard is opened and the webview\n * is resized, the gesture implementation will become unresponsive\n * and enter a free-scroll mode.\n *\n * When the keyboard is opened, we disable the gesture for\n * a single frame and re-enable once the contents have repositioned\n * from the keyboard placement.\n */\n this.gesture.enable(false);\n raf(() => {\n if (this.gesture) {\n this.gesture.enable(true);\n }\n });\n }\n };\n window.addEventListener(KEYBOARD_DID_OPEN, this.keyboardOpenCallback);\n }\n if (this.isSheetModal) {\n this.initSheetGesture();\n }\n else if (hasCardModal) {\n this.initSwipeToClose();\n }\n unlock();\n }\n initSwipeToClose() {\n var _a;\n if (getIonMode(this) !== 'ios') {\n return;\n }\n const { el } = this;\n // All of the elements needed for the swipe gesture\n // should be in the DOM and referenced by now, except\n // for the presenting el\n const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation);\n const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));\n const contentEl = findIonContent(el);\n if (!contentEl) {\n printIonContentErrorMsg(el);\n return;\n }\n const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;\n this.gesture = createSwipeToCloseGesture(el, ani, statusBarStyle, () => {\n /**\n * While the gesture animation is finishing\n * it is possible for a user to tap the backdrop.\n * This would result in the dismiss animation\n * being played again. Typically this is avoided\n * by setting `presented = false` on the overlay\n * component; however, we cannot do that here as\n * that would prevent the element from being\n * removed from the DOM.\n */\n this.gestureAnimationDismissing = true;\n /**\n * Reset the status bar style as the dismiss animation\n * starts otherwise the status bar will be the wrong\n * color for the duration of the dismiss animation.\n * The dismiss method does this as well, but\n * in this case it's only called once the animation\n * has finished.\n */\n setCardStatusBarDefault(this.statusBarStyle);\n this.animation.onFinish(async () => {\n await this.dismiss(undefined, GESTURE);\n this.gestureAnimationDismissing = false;\n });\n });\n this.gesture.enable(true);\n }\n initSheetGesture() {\n const { wrapperEl, initialBreakpoint, backdropBreakpoint } = this;\n if (!wrapperEl || initialBreakpoint === undefined) {\n return;\n }\n const animationBuilder = this.enterAnimation || config.get('modalEnter', iosEnterAnimation);\n const ani = (this.animation = animationBuilder(this.el, {\n presentingEl: this.presentingElement,\n currentBreakpoint: initialBreakpoint,\n backdropBreakpoint,\n }));\n ani.progressStart(true, 1);\n const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {\n if (this.currentBreakpoint !== breakpoint) {\n this.currentBreakpoint = breakpoint;\n this.ionBreakpointDidChange.emit({ breakpoint });\n }\n });\n this.gesture = gesture;\n this.moveSheetToBreakpoint = moveSheetToBreakpoint;\n this.gesture.enable(true);\n }\n sheetOnDismiss() {\n /**\n * While the gesture animation is finishing\n * it is possible for a user to tap the backdrop.\n * This would result in the dismiss animation\n * being played again. Typically this is avoided\n * by setting `presented = false` on the overlay\n * component; however, we cannot do that here as\n * that would prevent the element from being\n * removed from the DOM.\n */\n this.gestureAnimationDismissing = true;\n this.animation.onFinish(async () => {\n this.currentBreakpoint = 0;\n this.ionBreakpointDidChange.emit({ breakpoint: this.currentBreakpoint });\n await this.dismiss(undefined, GESTURE);\n this.gestureAnimationDismissing = false;\n });\n }\n /**\n * Dismiss the modal overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.\n */\n async dismiss(data, role) {\n var _a;\n if (this.gestureAnimationDismissing && role !== GESTURE) {\n return false;\n }\n /**\n * Because the canDismiss check below is async,\n * we need to claim a lock before the check happens,\n * in case the dismiss transition does run.\n */\n const unlock = await this.lockController.lock();\n /**\n * If a canDismiss handler is responsible\n * for calling the dismiss method, we should\n * not run the canDismiss check again.\n */\n if (role !== 'handler' && !(await this.checkCanDismiss(data, role))) {\n unlock();\n return false;\n }\n const { presentingElement } = this;\n /**\n * We need to start the status bar change\n * before the animation so that the change\n * finishes when the dismiss animation does.\n */\n const hasCardModal = presentingElement !== undefined;\n if (hasCardModal && getIonMode(this) === 'ios') {\n setCardStatusBarDefault(this.statusBarStyle);\n }\n /* tslint:disable-next-line */\n if (typeof window !== 'undefined' && this.keyboardOpenCallback) {\n window.removeEventListener(KEYBOARD_DID_OPEN, this.keyboardOpenCallback);\n this.keyboardOpenCallback = undefined;\n }\n const enteringAnimation = activeAnimations.get(this) || [];\n const dismissed = await dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {\n presentingEl: presentingElement,\n currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,\n backdropBreakpoint: this.backdropBreakpoint,\n });\n if (dismissed) {\n const { delegate } = this.getDelegate();\n await detachComponent(delegate, this.usersElement);\n writeTask(() => this.el.classList.remove('show-modal'));\n if (this.animation) {\n this.animation.destroy();\n }\n if (this.gesture) {\n this.gesture.destroy();\n }\n enteringAnimation.forEach((ani) => ani.destroy());\n }\n this.currentBreakpoint = undefined;\n this.animation = undefined;\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the modal did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionModalDidDismiss');\n }\n /**\n * Returns a promise that resolves when the modal will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionModalWillDismiss');\n }\n /**\n * Move a sheet style modal to a specific breakpoint. The breakpoint value must\n * be a value defined in your `breakpoints` array.\n */\n async setCurrentBreakpoint(breakpoint) {\n if (!this.isSheetModal) {\n printIonWarning('setCurrentBreakpoint is only supported on sheet modals.');\n return;\n }\n if (!this.breakpoints.includes(breakpoint)) {\n printIonWarning(`Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);\n return;\n }\n const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;\n if (currentBreakpoint === breakpoint) {\n return;\n }\n if (moveSheetToBreakpoint) {\n this.sheetTransition = moveSheetToBreakpoint({\n breakpoint,\n breakpointOffset: 1 - currentBreakpoint,\n canDismiss: canDismiss !== undefined && canDismiss !== true && breakpoints[0] === 0,\n animated,\n });\n await this.sheetTransition;\n this.sheetTransition = undefined;\n }\n }\n /**\n * Returns the current breakpoint of a sheet style modal\n */\n async getCurrentBreakpoint() {\n return this.currentBreakpoint;\n }\n async moveToNextBreakpoint() {\n const { breakpoints, currentBreakpoint } = this;\n if (!breakpoints || currentBreakpoint == null) {\n /**\n * If the modal does not have breakpoints and/or the current\n * breakpoint is not set, we can't move to the next breakpoint.\n */\n return false;\n }\n const allowedBreakpoints = breakpoints.filter((b) => b !== 0);\n const currentBreakpointIndex = allowedBreakpoints.indexOf(currentBreakpoint);\n const nextBreakpointIndex = (currentBreakpointIndex + 1) % allowedBreakpoints.length;\n const nextBreakpoint = allowedBreakpoints[nextBreakpointIndex];\n /**\n * Sets the current breakpoint to the next available breakpoint.\n * If the current breakpoint is the last breakpoint, we set the current\n * breakpoint to the first non-zero breakpoint to avoid dismissing the sheet.\n */\n await this.setCurrentBreakpoint(nextBreakpoint);\n return true;\n }\n render() {\n const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes } = this;\n const showHandle = handle !== false && isSheetModal;\n const mode = getIonMode(this);\n const isCardModal = presentingElement !== undefined && mode === 'ios';\n const isHandleCycle = handleBehavior === 'cycle';\n return (h(Host, Object.assign({ \"no-router\": true, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${20000 + this.overlayIndex}`,\n }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h(\"ion-backdrop\", { ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: \"backdrop\" }), mode === 'ios' && h(\"div\", { class: \"modal-shadow\" }), h(\"div\", Object.assign({\n /*\n role and aria-modal must be used on the\n same element. They must also be set inside the\n shadow DOM otherwise ion-button will not be highlighted\n when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134\n */\n role: \"dialog\"\n }, inheritedAttributes, { \"aria-modal\": \"true\", class: \"modal-wrapper ion-overlay-wrapper\", part: \"content\", ref: (el) => (this.wrapperEl = el) }), showHandle && (h(\"button\", { class: \"modal-handle\",\n // Prevents the handle from receiving keyboard focus when it does not cycle\n tabIndex: !isHandleCycle ? -1 : 0, \"aria-label\": \"Activate to adjust the size of the dialog overlaying the screen\", onClick: isHandleCycle ? this.onHandleClick : undefined, part: \"handle\" })), h(\"slot\", null))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }; }\n};\nconst LIFECYCLE_MAP = {\n ionModalDidPresent: 'ionViewDidEnter',\n ionModalWillPresent: 'ionViewWillEnter',\n ionModalWillDismiss: 'ionViewWillLeave',\n ionModalDidDismiss: 'ionViewDidLeave',\n};\nModal.style = {\n ios: modalIosCss,\n md: modalMdCss\n};\n\nexport { Modal as ion_modal };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-aa433dea.js';\nimport { r as raf, g as getElementRoot, a as addEventListener, m as hasLazyBuild } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { p as printIonWarning } from './index-595d62c9.js';\nimport { B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, o as focusFirstDescendant, g as dismiss, h as eventMethod } from './overlays-cec6bac8.js';\nimport { b as getIonMode, a as isPlatform } from './ionic-global-246ca78f.js';\nimport { g as getClassMap } from './theme-17531cdf.js';\nimport { e as deepReady, w as waitForMount } from './index-7d2b2808.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport './index-7a14ecec.js';\nimport './hardware-back-button-39299f84.js';\n\n/**\n * Returns the dimensions of the popover\n * arrow on `ios` mode. If arrow is disabled\n * returns (0, 0).\n */\nconst getArrowDimensions = (arrowEl) => {\n if (!arrowEl) {\n return { arrowWidth: 0, arrowHeight: 0 };\n }\n const { width, height } = arrowEl.getBoundingClientRect();\n return { arrowWidth: width, arrowHeight: height };\n};\n/**\n * Returns the recommended dimensions of the popover\n * that takes into account whether or not the width\n * should match the trigger width.\n */\nconst getPopoverDimensions = (size, contentEl, triggerEl) => {\n const contentDimentions = contentEl.getBoundingClientRect();\n const contentHeight = contentDimentions.height;\n let contentWidth = contentDimentions.width;\n if (size === 'cover' && triggerEl) {\n const triggerDimensions = triggerEl.getBoundingClientRect();\n contentWidth = triggerDimensions.width;\n }\n return {\n contentWidth,\n contentHeight,\n };\n};\nconst configureDismissInteraction = (triggerEl, triggerAction, popoverEl, parentPopoverEl) => {\n let dismissCallbacks = [];\n const root = getElementRoot(parentPopoverEl);\n const parentContentEl = root.querySelector('.popover-content');\n switch (triggerAction) {\n case 'hover':\n dismissCallbacks = [\n {\n /**\n * Do not use mouseover here\n * as this will causes the event to\n * be dispatched on each underlying\n * element rather than on the popover\n * content as a whole.\n */\n eventName: 'mouseenter',\n callback: (ev) => {\n /**\n * Do not dismiss the popover is we\n * are hovering over its trigger.\n * This would be easier if we used mouseover\n * but this would cause the event to be dispatched\n * more often than we would like, potentially\n * causing performance issues.\n */\n const element = document.elementFromPoint(ev.clientX, ev.clientY);\n if (element === triggerEl) {\n return;\n }\n popoverEl.dismiss(undefined, undefined, false);\n },\n },\n ];\n break;\n case 'context-menu':\n case 'click':\n default:\n dismissCallbacks = [\n {\n eventName: 'click',\n callback: (ev) => {\n /**\n * Do not dismiss the popover is we\n * are hovering over its trigger.\n */\n const target = ev.target;\n const closestTrigger = target.closest('[data-ion-popover-trigger]');\n if (closestTrigger === triggerEl) {\n /**\n * stopPropagation here so if the\n * popover has dismissOnSelect=\"true\"\n * the popover does not dismiss since\n * we just clicked a trigger element.\n */\n ev.stopPropagation();\n return;\n }\n popoverEl.dismiss(undefined, undefined, false);\n },\n },\n ];\n break;\n }\n dismissCallbacks.forEach(({ eventName, callback }) => parentContentEl.addEventListener(eventName, callback));\n return () => {\n dismissCallbacks.forEach(({ eventName, callback }) => parentContentEl.removeEventListener(eventName, callback));\n };\n};\n/**\n * Configures the triggerEl to respond\n * to user interaction based upon the triggerAction\n * prop that devs have defined.\n */\nconst configureTriggerInteraction = (triggerEl, triggerAction, popoverEl) => {\n let triggerCallbacks = [];\n /**\n * Based upon the kind of trigger interaction\n * the user wants, we setup the correct event\n * listeners.\n */\n switch (triggerAction) {\n case 'hover':\n let hoverTimeout;\n triggerCallbacks = [\n {\n eventName: 'mouseenter',\n callback: async (ev) => {\n ev.stopPropagation();\n if (hoverTimeout) {\n clearTimeout(hoverTimeout);\n }\n /**\n * Hovering over a trigger should not\n * immediately open the next popover.\n */\n hoverTimeout = setTimeout(() => {\n raf(() => {\n popoverEl.presentFromTrigger(ev);\n hoverTimeout = undefined;\n });\n }, 100);\n },\n },\n {\n eventName: 'mouseleave',\n callback: (ev) => {\n if (hoverTimeout) {\n clearTimeout(hoverTimeout);\n }\n /**\n * If mouse is over another popover\n * that is not this popover then we should\n * close this popover.\n */\n const target = ev.relatedTarget;\n if (!target) {\n return;\n }\n if (target.closest('ion-popover') !== popoverEl) {\n popoverEl.dismiss(undefined, undefined, false);\n }\n },\n },\n {\n /**\n * stopPropagation here prevents the popover\n * from dismissing when dismiss-on-select=\"true\".\n */\n eventName: 'click',\n callback: (ev) => ev.stopPropagation(),\n },\n {\n eventName: 'ionPopoverActivateTrigger',\n callback: (ev) => popoverEl.presentFromTrigger(ev, true),\n },\n ];\n break;\n case 'context-menu':\n triggerCallbacks = [\n {\n eventName: 'contextmenu',\n callback: (ev) => {\n /**\n * Prevents the platform context\n * menu from appearing.\n */\n ev.preventDefault();\n popoverEl.presentFromTrigger(ev);\n },\n },\n {\n eventName: 'click',\n callback: (ev) => ev.stopPropagation(),\n },\n {\n eventName: 'ionPopoverActivateTrigger',\n callback: (ev) => popoverEl.presentFromTrigger(ev, true),\n },\n ];\n break;\n case 'click':\n default:\n triggerCallbacks = [\n {\n /**\n * Do not do a stopPropagation() here\n * because if you had two click triggers\n * then clicking the first trigger and then\n * clicking the second trigger would not cause\n * the first popover to dismiss.\n */\n eventName: 'click',\n callback: (ev) => popoverEl.presentFromTrigger(ev),\n },\n {\n eventName: 'ionPopoverActivateTrigger',\n callback: (ev) => popoverEl.presentFromTrigger(ev, true),\n },\n ];\n break;\n }\n triggerCallbacks.forEach(({ eventName, callback }) => triggerEl.addEventListener(eventName, callback));\n triggerEl.setAttribute('data-ion-popover-trigger', 'true');\n return () => {\n triggerCallbacks.forEach(({ eventName, callback }) => triggerEl.removeEventListener(eventName, callback));\n triggerEl.removeAttribute('data-ion-popover-trigger');\n };\n};\n/**\n * Returns the index of an ion-item in an array of ion-items.\n */\nconst getIndexOfItem = (items, item) => {\n if (!item || item.tagName !== 'ION-ITEM') {\n return -1;\n }\n return items.findIndex((el) => el === item);\n};\n/**\n * Given an array of elements and a currently focused ion-item\n * returns the next ion-item relative to the focused one or\n * undefined.\n */\nconst getNextItem = (items, currentItem) => {\n const currentItemIndex = getIndexOfItem(items, currentItem);\n return items[currentItemIndex + 1];\n};\n/**\n * Given an array of elements and a currently focused ion-item\n * returns the previous ion-item relative to the focused one or\n * undefined.\n */\nconst getPrevItem = (items, currentItem) => {\n const currentItemIndex = getIndexOfItem(items, currentItem);\n return items[currentItemIndex - 1];\n};\n/** Focus the internal button of the ion-item */\nconst focusItem = (item) => {\n const root = getElementRoot(item);\n const button = root.querySelector('button');\n if (button) {\n raf(() => button.focus());\n }\n};\n/**\n * Returns `true` if `el` has been designated\n * as a trigger element for an ion-popover.\n */\nconst isTriggerElement = (el) => el.hasAttribute('data-ion-popover-trigger');\nconst configureKeyboardInteraction = (popoverEl) => {\n const callback = async (ev) => {\n var _a;\n const activeElement = document.activeElement;\n let items = [];\n const targetTagName = (_a = ev.target) === null || _a === void 0 ? void 0 : _a.tagName;\n /**\n * Only handle custom keyboard interactions for the host popover element\n * and children ion-item elements.\n */\n if (targetTagName !== 'ION-POPOVER' && targetTagName !== 'ION-ITEM') {\n return;\n }\n /**\n * Complex selectors with :not() are :not supported\n * in older versions of Chromium so we need to do a\n * try/catch here so errors are not thrown.\n */\n try {\n /**\n * Select all ion-items that are not children of child popovers.\n * i.e. only select ion-item elements that are part of this popover\n */\n items = Array.from(popoverEl.querySelectorAll('ion-item:not(ion-popover ion-popover *):not([disabled])'));\n /* eslint-disable-next-line */\n }\n catch (_b) { }\n switch (ev.key) {\n /**\n * If we are in a child popover\n * then pressing the left arrow key\n * should close this popover and move\n * focus to the popover that presented\n * this one.\n */\n case 'ArrowLeft':\n const parentPopover = await popoverEl.getParentPopover();\n if (parentPopover) {\n popoverEl.dismiss(undefined, undefined, false);\n }\n break;\n /**\n * ArrowDown should move focus to the next focusable ion-item.\n */\n case 'ArrowDown':\n // Disable movement/scroll with keyboard\n ev.preventDefault();\n const nextItem = getNextItem(items, activeElement);\n if (nextItem !== undefined) {\n focusItem(nextItem);\n }\n break;\n /**\n * ArrowUp should move focus to the previous focusable ion-item.\n */\n case 'ArrowUp':\n // Disable movement/scroll with keyboard\n ev.preventDefault();\n const prevItem = getPrevItem(items, activeElement);\n if (prevItem !== undefined) {\n focusItem(prevItem);\n }\n break;\n /**\n * Home should move focus to the first focusable ion-item.\n */\n case 'Home':\n ev.preventDefault();\n const firstItem = items[0];\n if (firstItem !== undefined) {\n focusItem(firstItem);\n }\n break;\n /**\n * End should move focus to the last focusable ion-item.\n */\n case 'End':\n ev.preventDefault();\n const lastItem = items[items.length - 1];\n if (lastItem !== undefined) {\n focusItem(lastItem);\n }\n break;\n /**\n * ArrowRight, Spacebar, or Enter should activate\n * the currently focused trigger item to open a\n * popover if the element is a trigger item.\n */\n case 'ArrowRight':\n case ' ':\n case 'Enter':\n if (activeElement && isTriggerElement(activeElement)) {\n const rightEvent = new CustomEvent('ionPopoverActivateTrigger');\n activeElement.dispatchEvent(rightEvent);\n }\n break;\n }\n };\n popoverEl.addEventListener('keydown', callback);\n return () => popoverEl.removeEventListener('keydown', callback);\n};\n/**\n * Positions a popover by taking into account\n * the reference point, preferred side, alignment\n * and viewport dimensions.\n */\nconst getPopoverPosition = (isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, triggerEl, event) => {\n var _a;\n let referenceCoordinates = {\n top: 0,\n left: 0,\n width: 0,\n height: 0,\n };\n /**\n * Calculate position relative to the\n * x-y coordinates in the event that\n * was passed in\n */\n switch (reference) {\n case 'event':\n if (!event) {\n return defaultPosition;\n }\n const mouseEv = event;\n referenceCoordinates = {\n top: mouseEv.clientY,\n left: mouseEv.clientX,\n width: 1,\n height: 1,\n };\n break;\n /**\n * Calculate position relative to the bounding\n * box on either the trigger element\n * specified via the `trigger` prop or\n * the target specified on the event\n * that was passed in.\n */\n case 'trigger':\n default:\n const customEv = event;\n /**\n * ionShadowTarget is used when we need to align the\n * popover with an element inside of the shadow root\n * of an Ionic component. Ex: Presenting a popover\n * by clicking on the collapsed indicator inside\n * of `ion-breadcrumb` and centering it relative\n * to the indicator rather than `ion-breadcrumb`\n * as a whole.\n */\n const actualTriggerEl = (triggerEl ||\n ((_a = customEv === null || customEv === void 0 ? void 0 : customEv.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) ||\n (customEv === null || customEv === void 0 ? void 0 : customEv.target));\n if (!actualTriggerEl) {\n return defaultPosition;\n }\n const triggerBoundingBox = actualTriggerEl.getBoundingClientRect();\n referenceCoordinates = {\n top: triggerBoundingBox.top,\n left: triggerBoundingBox.left,\n width: triggerBoundingBox.width,\n height: triggerBoundingBox.height,\n };\n break;\n }\n /**\n * Get top/left offset that would allow\n * popover to be positioned on the\n * preferred side of the reference.\n */\n const coordinates = calculatePopoverSide(side, referenceCoordinates, contentWidth, contentHeight, arrowWidth, arrowHeight, isRTL);\n /**\n * Get the top/left adjustments that\n * would allow the popover content\n * to have the correct alignment.\n */\n const alignedCoordinates = calculatePopoverAlign(align, side, referenceCoordinates, contentWidth, contentHeight);\n const top = coordinates.top + alignedCoordinates.top;\n const left = coordinates.left + alignedCoordinates.left;\n const { arrowTop, arrowLeft } = calculateArrowPosition(side, arrowWidth, arrowHeight, top, left, contentWidth, contentHeight, isRTL);\n const { originX, originY } = calculatePopoverOrigin(side, align, isRTL);\n return { top, left, referenceCoordinates, arrowTop, arrowLeft, originX, originY };\n};\n/**\n * Determines the transform-origin\n * of the popover animation so that it\n * is in line with what the side and alignment\n * prop values are. Currently only used\n * with the MD animation.\n */\nconst calculatePopoverOrigin = (side, align, isRTL) => {\n switch (side) {\n case 'top':\n return { originX: getOriginXAlignment(align), originY: 'bottom' };\n case 'bottom':\n return { originX: getOriginXAlignment(align), originY: 'top' };\n case 'left':\n return { originX: 'right', originY: getOriginYAlignment(align) };\n case 'right':\n return { originX: 'left', originY: getOriginYAlignment(align) };\n case 'start':\n return { originX: isRTL ? 'left' : 'right', originY: getOriginYAlignment(align) };\n case 'end':\n return { originX: isRTL ? 'right' : 'left', originY: getOriginYAlignment(align) };\n }\n};\nconst getOriginXAlignment = (align) => {\n switch (align) {\n case 'start':\n return 'left';\n case 'center':\n return 'center';\n case 'end':\n return 'right';\n }\n};\nconst getOriginYAlignment = (align) => {\n switch (align) {\n case 'start':\n return 'top';\n case 'center':\n return 'center';\n case 'end':\n return 'bottom';\n }\n};\n/**\n * Calculates where the arrow positioning\n * should be relative to the popover content.\n */\nconst calculateArrowPosition = (side, arrowWidth, arrowHeight, top, left, contentWidth, contentHeight, isRTL) => {\n /**\n * Note: When side is left, right, start, or end, the arrow is\n * been rotated using a `transform`, so to move the arrow up or down\n * by its dimension, you need to use `arrowWidth`.\n */\n const leftPosition = {\n arrowTop: top + contentHeight / 2 - arrowWidth / 2,\n arrowLeft: left + contentWidth - arrowWidth / 2,\n };\n /**\n * Move the arrow to the left by arrowWidth and then\n * again by half of its width because we have rotated\n * the arrow using a transform.\n */\n const rightPosition = { arrowTop: top + contentHeight / 2 - arrowWidth / 2, arrowLeft: left - arrowWidth * 1.5 };\n switch (side) {\n case 'top':\n return { arrowTop: top + contentHeight, arrowLeft: left + contentWidth / 2 - arrowWidth / 2 };\n case 'bottom':\n return { arrowTop: top - arrowHeight, arrowLeft: left + contentWidth / 2 - arrowWidth / 2 };\n case 'left':\n return leftPosition;\n case 'right':\n return rightPosition;\n case 'start':\n return isRTL ? rightPosition : leftPosition;\n case 'end':\n return isRTL ? leftPosition : rightPosition;\n default:\n return { arrowTop: 0, arrowLeft: 0 };\n }\n};\n/**\n * Calculates the required top/left\n * values needed to position the popover\n * content on the side specified in the\n * `side` prop.\n */\nconst calculatePopoverSide = (side, triggerBoundingBox, contentWidth, contentHeight, arrowWidth, arrowHeight, isRTL) => {\n const sideLeft = {\n top: triggerBoundingBox.top,\n left: triggerBoundingBox.left - contentWidth - arrowWidth,\n };\n const sideRight = {\n top: triggerBoundingBox.top,\n left: triggerBoundingBox.left + triggerBoundingBox.width + arrowWidth,\n };\n switch (side) {\n case 'top':\n return {\n top: triggerBoundingBox.top - contentHeight - arrowHeight,\n left: triggerBoundingBox.left,\n };\n case 'right':\n return sideRight;\n case 'bottom':\n return {\n top: triggerBoundingBox.top + triggerBoundingBox.height + arrowHeight,\n left: triggerBoundingBox.left,\n };\n case 'left':\n return sideLeft;\n case 'start':\n return isRTL ? sideRight : sideLeft;\n case 'end':\n return isRTL ? sideLeft : sideRight;\n }\n};\n/**\n * Calculates the required top/left\n * offset values needed to provide the\n * correct alignment regardless while taking\n * into account the side the popover is on.\n */\nconst calculatePopoverAlign = (align, side, triggerBoundingBox, contentWidth, contentHeight) => {\n switch (align) {\n case 'center':\n return calculatePopoverCenterAlign(side, triggerBoundingBox, contentWidth, contentHeight);\n case 'end':\n return calculatePopoverEndAlign(side, triggerBoundingBox, contentWidth, contentHeight);\n case 'start':\n default:\n return { top: 0, left: 0 };\n }\n};\n/**\n * Calculate the end alignment for\n * the popover. If side is on the x-axis\n * then the align values refer to the top\n * and bottom margins of the content.\n * If side is on the y-axis then the\n * align values refer to the left and right\n * margins of the content.\n */\nconst calculatePopoverEndAlign = (side, triggerBoundingBox, contentWidth, contentHeight) => {\n switch (side) {\n case 'start':\n case 'end':\n case 'left':\n case 'right':\n return {\n top: -(contentHeight - triggerBoundingBox.height),\n left: 0,\n };\n case 'top':\n case 'bottom':\n default:\n return {\n top: 0,\n left: -(contentWidth - triggerBoundingBox.width),\n };\n }\n};\n/**\n * Calculate the center alignment for\n * the popover. If side is on the x-axis\n * then the align values refer to the top\n * and bottom margins of the content.\n * If side is on the y-axis then the\n * align values refer to the left and right\n * margins of the content.\n */\nconst calculatePopoverCenterAlign = (side, triggerBoundingBox, contentWidth, contentHeight) => {\n switch (side) {\n case 'start':\n case 'end':\n case 'left':\n case 'right':\n return {\n top: -(contentHeight / 2 - triggerBoundingBox.height / 2),\n left: 0,\n };\n case 'top':\n case 'bottom':\n default:\n return {\n top: 0,\n left: -(contentWidth / 2 - triggerBoundingBox.width / 2),\n };\n }\n};\n/**\n * Adjusts popover positioning coordinates\n * such that popover does not appear offscreen\n * or overlapping safe area bounds.\n */\nconst calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyWidth, bodyHeight, contentWidth, contentHeight, safeAreaMargin, contentOriginX, contentOriginY, triggerCoordinates, coordArrowTop = 0, coordArrowLeft = 0, arrowHeight = 0) => {\n let arrowTop = coordArrowTop;\n const arrowLeft = coordArrowLeft;\n let left = coordLeft;\n let top = coordTop;\n let bottom;\n let originX = contentOriginX;\n let originY = contentOriginY;\n let checkSafeAreaLeft = false;\n let checkSafeAreaRight = false;\n const triggerTop = triggerCoordinates\n ? triggerCoordinates.top + triggerCoordinates.height\n : bodyHeight / 2 - contentHeight / 2;\n const triggerHeight = triggerCoordinates ? triggerCoordinates.height : 0;\n let addPopoverBottomClass = false;\n /**\n * Adjust popover so it does not\n * go off the left of the screen.\n */\n if (left < bodyPadding + safeAreaMargin) {\n left = bodyPadding;\n checkSafeAreaLeft = true;\n originX = 'left';\n /**\n * Adjust popover so it does not\n * go off the right of the screen.\n */\n }\n else if (contentWidth + bodyPadding + left + safeAreaMargin > bodyWidth) {\n checkSafeAreaRight = true;\n left = bodyWidth - contentWidth - bodyPadding;\n originX = 'right';\n }\n /**\n * Adjust popover so it does not\n * go off the top of the screen.\n * If popover is on the left or the right of\n * the trigger, then we should not adjust top\n * margins.\n */\n if (triggerTop + triggerHeight + contentHeight > bodyHeight && (side === 'top' || side === 'bottom')) {\n if (triggerTop - contentHeight > 0) {\n /**\n * While we strive to align the popover with the trigger\n * on smaller screens this is not always possible. As a result,\n * we adjust the popover up so that it does not hang\n * off the bottom of the screen. However, we do not want to move\n * the popover up so much that it goes off the top of the screen.\n *\n * We chose 12 here so that the popover position looks a bit nicer as\n * it is not right up against the edge of the screen.\n */\n top = Math.max(12, triggerTop - contentHeight - triggerHeight - (arrowHeight - 1));\n arrowTop = top + contentHeight;\n originY = 'bottom';\n addPopoverBottomClass = true;\n /**\n * If not enough room for popover to appear\n * above trigger, then cut it off.\n */\n }\n else {\n bottom = bodyPadding;\n }\n }\n return {\n top,\n left,\n bottom,\n originX,\n originY,\n checkSafeAreaLeft,\n checkSafeAreaRight,\n arrowTop,\n arrowLeft,\n addPopoverBottomClass,\n };\n};\nconst shouldShowArrow = (side, didAdjustBounds = false, ev, trigger) => {\n /**\n * If no event provided and\n * we do not have a trigger,\n * then this popover was likely\n * presented via the popoverController\n * or users called `present` manually.\n * In this case, the arrow should not be\n * shown as we do not have a reference.\n */\n if (!ev && !trigger) {\n return false;\n }\n /**\n * If popover is on the left or the right\n * of a trigger, but we needed to adjust the\n * popover due to screen bounds, then we should\n * hide the arrow as it will never be pointing\n * at the trigger.\n */\n if (side !== 'top' && side !== 'bottom' && didAdjustBounds) {\n return false;\n }\n return true;\n};\n\nconst POPOVER_IOS_BODY_PADDING = 5;\n/**\n * iOS Popover Enter Animation\n */\n// TODO(FW-2832): types\nconst iosEnterAnimation = (baseEl, opts) => {\n var _a;\n const { event: ev, size, trigger, reference, side, align } = opts;\n const doc = baseEl.ownerDocument;\n const isRTL = doc.dir === 'rtl';\n const bodyWidth = doc.defaultView.innerWidth;\n const bodyHeight = doc.defaultView.innerHeight;\n const root = getElementRoot(baseEl);\n const contentEl = root.querySelector('.popover-content');\n const arrowEl = root.querySelector('.popover-arrow');\n const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);\n const { contentWidth, contentHeight } = getPopoverDimensions(size, contentEl, referenceSizeEl);\n const { arrowWidth, arrowHeight } = getArrowDimensions(arrowEl);\n const defaultPosition = {\n top: bodyHeight / 2 - contentHeight / 2,\n left: bodyWidth / 2 - contentWidth / 2,\n originX: isRTL ? 'right' : 'left',\n originY: 'top',\n };\n const results = getPopoverPosition(isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, trigger, ev);\n const padding = size === 'cover' ? 0 : POPOVER_IOS_BODY_PADDING;\n const margin = size === 'cover' ? 0 : 25;\n const { originX, originY, top, left, bottom, checkSafeAreaLeft, checkSafeAreaRight, arrowTop, arrowLeft, addPopoverBottomClass, } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, margin, results.originX, results.originY, results.referenceCoordinates, results.arrowTop, results.arrowLeft, arrowHeight);\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const contentAnimation = createAnimation();\n backdropAnimation\n .addElement(root.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n // In Chromium, if the wrapper animates, the backdrop filter doesn't work.\n // The Chromium team stated that this behavior is expected and not a bug. The element animating opacity creates a backdrop root for the backdrop-filter.\n // To get around this, instead of animating the wrapper, animate both the arrow and content.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1148826\n contentAnimation\n .addElement(root.querySelector('.popover-arrow'))\n .addElement(root.querySelector('.popover-content'))\n .fromTo('opacity', 0.01, 1);\n // TODO(FW-4376) Ensure that arrow also blurs when translucent\n return baseAnimation\n .easing('ease')\n .duration(100)\n .beforeAddWrite(() => {\n if (size === 'cover') {\n baseEl.style.setProperty('--width', `${contentWidth}px`);\n }\n if (addPopoverBottomClass) {\n baseEl.classList.add('popover-bottom');\n }\n if (bottom !== undefined) {\n contentEl.style.setProperty('bottom', `${bottom}px`);\n }\n const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';\n const safeAreaRight = ' - var(--ion-safe-area-right, 0)';\n let leftValue = `${left}px`;\n if (checkSafeAreaLeft) {\n leftValue = `${left}px${safeAreaLeft}`;\n }\n if (checkSafeAreaRight) {\n leftValue = `${left}px${safeAreaRight}`;\n }\n contentEl.style.setProperty('top', `calc(${top}px + var(--offset-y, 0))`);\n contentEl.style.setProperty('left', `calc(${leftValue} + var(--offset-x, 0))`);\n contentEl.style.setProperty('transform-origin', `${originY} ${originX}`);\n if (arrowEl !== null) {\n const didAdjustBounds = results.top !== top || results.left !== left;\n const showArrow = shouldShowArrow(side, didAdjustBounds, ev, trigger);\n if (showArrow) {\n arrowEl.style.setProperty('top', `calc(${arrowTop}px + var(--offset-y, 0))`);\n arrowEl.style.setProperty('left', `calc(${arrowLeft}px + var(--offset-x, 0))`);\n }\n else {\n arrowEl.style.setProperty('display', 'none');\n }\n }\n })\n .addAnimation([backdropAnimation, contentAnimation]);\n};\n\n/**\n * iOS Popover Leave Animation\n */\nconst iosLeaveAnimation = (baseEl) => {\n const root = getElementRoot(baseEl);\n const contentEl = root.querySelector('.popover-content');\n const arrowEl = root.querySelector('.popover-arrow');\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const contentAnimation = createAnimation();\n backdropAnimation.addElement(root.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n contentAnimation\n .addElement(root.querySelector('.popover-arrow'))\n .addElement(root.querySelector('.popover-content'))\n .fromTo('opacity', 0.99, 0);\n return baseAnimation\n .easing('ease')\n .afterAddWrite(() => {\n baseEl.style.removeProperty('--width');\n baseEl.classList.remove('popover-bottom');\n contentEl.style.removeProperty('top');\n contentEl.style.removeProperty('left');\n contentEl.style.removeProperty('bottom');\n contentEl.style.removeProperty('transform-origin');\n if (arrowEl) {\n arrowEl.style.removeProperty('top');\n arrowEl.style.removeProperty('left');\n arrowEl.style.removeProperty('display');\n }\n })\n .duration(300)\n .addAnimation([backdropAnimation, contentAnimation]);\n};\n\nconst POPOVER_MD_BODY_PADDING = 12;\n/**\n * Md Popover Enter Animation\n */\n// TODO(FW-2832): types\nconst mdEnterAnimation = (baseEl, opts) => {\n var _a;\n const { event: ev, size, trigger, reference, side, align } = opts;\n const doc = baseEl.ownerDocument;\n const isRTL = doc.dir === 'rtl';\n const bodyWidth = doc.defaultView.innerWidth;\n const bodyHeight = doc.defaultView.innerHeight;\n const root = getElementRoot(baseEl);\n const contentEl = root.querySelector('.popover-content');\n const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);\n const { contentWidth, contentHeight } = getPopoverDimensions(size, contentEl, referenceSizeEl);\n const defaultPosition = {\n top: bodyHeight / 2 - contentHeight / 2,\n left: bodyWidth / 2 - contentWidth / 2,\n originX: isRTL ? 'right' : 'left',\n originY: 'top',\n };\n const results = getPopoverPosition(isRTL, contentWidth, contentHeight, 0, 0, reference, side, align, defaultPosition, trigger, ev);\n const padding = size === 'cover' ? 0 : POPOVER_MD_BODY_PADDING;\n const { originX, originY, top, left, bottom } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, 0, results.originX, results.originY, results.referenceCoordinates);\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n const contentAnimation = createAnimation();\n const viewportAnimation = createAnimation();\n backdropAnimation\n .addElement(root.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).duration(150).fromTo('opacity', 0.01, 1);\n contentAnimation\n .addElement(contentEl)\n .beforeStyles({\n top: `calc(${top}px + var(--offset-y, 0px))`,\n left: `calc(${left}px + var(--offset-x, 0px))`,\n 'transform-origin': `${originY} ${originX}`,\n })\n .beforeAddWrite(() => {\n if (bottom !== undefined) {\n contentEl.style.setProperty('bottom', `${bottom}px`);\n }\n })\n .fromTo('transform', 'scale(0.8)', 'scale(1)');\n viewportAnimation.addElement(root.querySelector('.popover-viewport')).fromTo('opacity', 0.01, 1);\n return baseAnimation\n .easing('cubic-bezier(0.36,0.66,0.04,1)')\n .duration(300)\n .beforeAddWrite(() => {\n if (size === 'cover') {\n baseEl.style.setProperty('--width', `${contentWidth}px`);\n }\n if (originY === 'bottom') {\n baseEl.classList.add('popover-bottom');\n }\n })\n .addAnimation([backdropAnimation, wrapperAnimation, contentAnimation, viewportAnimation]);\n};\n\n/**\n * Md Popover Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const root = getElementRoot(baseEl);\n const contentEl = root.querySelector('.popover-content');\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(root.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).fromTo('opacity', 0.99, 0);\n return baseAnimation\n .easing('ease')\n .afterAddWrite(() => {\n baseEl.style.removeProperty('--width');\n baseEl.classList.remove('popover-bottom');\n contentEl.style.removeProperty('top');\n contentEl.style.removeProperty('left');\n contentEl.style.removeProperty('bottom');\n contentEl.style.removeProperty('transform-origin');\n })\n .duration(150)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst popoverIosCss = \":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:\\\"\\\";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start) .popover-arrow:dir(rtl){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end) .popover-arrow:dir(rtl){-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}\";\n\nconst popoverMdCss = \":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}\";\n\nconst Popover = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionPopoverDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionPopoverWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionPopoverWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionPopoverDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.ionMount = createEvent(this, \"ionMount\", 7);\n this.parentPopover = null;\n this.coreDelegate = CoreDelegate();\n this.lockController = createLockController();\n this.inline = false;\n this.focusDescendantOnPresent = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.onLifecycle = (modalEvent) => {\n const el = this.usersElement;\n const name = LIFECYCLE_MAP[modalEvent.type];\n if (el && name) {\n const event = new CustomEvent(name, {\n bubbles: false,\n cancelable: false,\n detail: modalEvent.detail,\n });\n el.dispatchEvent(event);\n }\n };\n this.configureTriggerInteraction = () => {\n const { trigger, triggerAction, el, destroyTriggerInteraction } = this;\n if (destroyTriggerInteraction) {\n destroyTriggerInteraction();\n }\n if (trigger === undefined) {\n return;\n }\n const triggerEl = (this.triggerEl = trigger !== undefined ? document.getElementById(trigger) : null);\n if (!triggerEl) {\n printIonWarning(`A trigger element with the ID \"${trigger}\" was not found in the DOM. The trigger element must be in the DOM when the \"trigger\" property is set on ion-popover.`, this.el);\n return;\n }\n this.destroyTriggerInteraction = configureTriggerInteraction(triggerEl, triggerAction, el);\n };\n this.configureKeyboardInteraction = () => {\n const { destroyKeyboardInteraction, el } = this;\n if (destroyKeyboardInteraction) {\n destroyKeyboardInteraction();\n }\n this.destroyKeyboardInteraction = configureKeyboardInteraction(el);\n };\n this.configureDismissInteraction = () => {\n const { destroyDismissInteraction, parentPopover, triggerAction, triggerEl, el } = this;\n if (!parentPopover || !triggerEl) {\n return;\n }\n if (destroyDismissInteraction) {\n destroyDismissInteraction();\n }\n this.destroyDismissInteraction = configureDismissInteraction(triggerEl, triggerAction, el, parentPopover);\n };\n this.presented = false;\n this.hasController = false;\n this.delegate = undefined;\n this.overlayIndex = undefined;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.component = undefined;\n this.componentProps = undefined;\n this.keyboardClose = true;\n this.cssClass = undefined;\n this.backdropDismiss = true;\n this.event = undefined;\n this.showBackdrop = true;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.triggerAction = 'click';\n this.trigger = undefined;\n this.size = 'auto';\n this.dismissOnSelect = false;\n this.reference = 'trigger';\n this.side = 'bottom';\n this.alignment = undefined;\n this.arrow = true;\n this.isOpen = false;\n this.keyboardEvents = false;\n this.keepContentsMounted = false;\n }\n onTriggerChange() {\n this.configureTriggerInteraction();\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n connectedCallback() {\n const { configureTriggerInteraction, el } = this;\n prepareOverlay(el);\n configureTriggerInteraction();\n }\n disconnectedCallback() {\n const { destroyTriggerInteraction } = this;\n if (destroyTriggerInteraction) {\n destroyTriggerInteraction();\n }\n }\n componentWillLoad() {\n const { el } = this;\n const popoverId = setOverlayId(el);\n this.parentPopover = el.closest(`ion-popover:not(#${popoverId})`);\n if (this.alignment === undefined) {\n this.alignment = getIonMode(this) === 'ios' ? 'center' : 'start';\n }\n }\n componentDidLoad() {\n const { parentPopover, isOpen } = this;\n /**\n * If popover was rendered with isOpen=\"true\"\n * then we should open popover immediately.\n */\n if (isOpen === true) {\n raf(() => this.present());\n }\n if (parentPopover) {\n addEventListener(parentPopover, 'ionPopoverWillDismiss', () => {\n this.dismiss(undefined, undefined, false);\n });\n }\n }\n /**\n * When opening a popover from a trigger, we should not be\n * modifying the `event` prop from inside the component.\n * Additionally, when pressing the \"Right\" arrow key, we need\n * to shift focus to the first descendant in the newly presented\n * popover.\n *\n * @internal\n */\n async presentFromTrigger(event, focusDescendant = false) {\n this.focusDescendantOnPresent = focusDescendant;\n await this.present(event);\n this.focusDescendantOnPresent = false;\n }\n /**\n * Determines whether or not an overlay\n * is being used inline or via a controller/JS\n * and returns the correct delegate.\n * By default, subsequent calls to getDelegate\n * will use a cached version of the delegate.\n * This is useful for calling dismiss after\n * present so that the correct delegate is given.\n */\n getDelegate(force = false) {\n if (this.workingDelegate && !force) {\n return {\n delegate: this.workingDelegate,\n inline: this.inline,\n };\n }\n /**\n * If using overlay inline\n * we potentially need to use the coreDelegate\n * so that this works in vanilla JS apps.\n * If a developer has presented this component\n * via a controller, then we can assume\n * the component is already in the\n * correct place.\n */\n const parentEl = this.el.parentNode;\n const inline = (this.inline = parentEl !== null && !this.hasController);\n const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);\n return { inline, delegate };\n }\n /**\n * Present the popover overlay after it has been created.\n * Developers can pass a mouse, touch, or pointer event\n * to position the popover relative to where that event\n * was dispatched.\n */\n async present(event) {\n const unlock = await this.lockController.lock();\n if (this.presented) {\n unlock();\n return;\n }\n const { el } = this;\n const { inline, delegate } = this.getDelegate(true);\n /**\n * Emit ionMount so JS Frameworks have an opportunity\n * to add the child component to the DOM. The child\n * component will be assigned to this.usersElement below.\n */\n this.ionMount.emit();\n this.usersElement = await attachComponent(delegate, el, this.component, ['popover-viewport'], this.componentProps, inline);\n if (!this.keyboardEvents) {\n this.configureKeyboardInteraction();\n }\n this.configureDismissInteraction();\n /**\n * When using the lazy loaded build of Stencil, we need to wait\n * for every Stencil component instance to be ready before presenting\n * otherwise there can be a flash of unstyled content. With the\n * custom elements bundle we need to wait for the JS framework\n * mount the inner contents of the overlay otherwise WebKit may\n * get the transition incorrect.\n */\n if (hasLazyBuild(el)) {\n await deepReady(this.usersElement);\n /**\n * If keepContentsMounted=\"true\" then the\n * JS Framework has already mounted the inner\n * contents so there is no need to wait.\n * Otherwise, we need to wait for the JS\n * Framework to mount the inner contents\n * of this component.\n */\n }\n else if (!this.keepContentsMounted) {\n await waitForMount();\n }\n await present(this, 'popoverEnter', iosEnterAnimation, mdEnterAnimation, {\n event: event || this.event,\n size: this.size,\n trigger: this.triggerEl,\n reference: this.reference,\n side: this.side,\n align: this.alignment,\n });\n /**\n * If popover is nested and was\n * presented using the \"Right\" arrow key,\n * we need to move focus to the first\n * descendant inside of the popover.\n */\n if (this.focusDescendantOnPresent) {\n focusFirstDescendant(this.el, this.el);\n }\n unlock();\n }\n /**\n * Dismiss the popover overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'.\n * @param dismissParentPopover If `true`, dismissing this popover will also dismiss\n * a parent popover if this popover is nested. Defaults to `true`.\n */\n async dismiss(data, role, dismissParentPopover = true) {\n const unlock = await this.lockController.lock();\n const { destroyKeyboardInteraction, destroyDismissInteraction } = this;\n if (dismissParentPopover && this.parentPopover) {\n this.parentPopover.dismiss(data, role, dismissParentPopover);\n }\n const shouldDismiss = await dismiss(this, data, role, 'popoverLeave', iosLeaveAnimation, mdLeaveAnimation, this.event);\n if (shouldDismiss) {\n if (destroyKeyboardInteraction) {\n destroyKeyboardInteraction();\n this.destroyKeyboardInteraction = undefined;\n }\n if (destroyDismissInteraction) {\n destroyDismissInteraction();\n this.destroyDismissInteraction = undefined;\n }\n /**\n * If using popover inline\n * we potentially need to use the coreDelegate\n * so that this works in vanilla JS apps\n */\n const { delegate } = this.getDelegate();\n await detachComponent(delegate, this.usersElement);\n }\n unlock();\n return shouldDismiss;\n }\n /**\n * @internal\n */\n async getParentPopover() {\n return this.parentPopover;\n }\n /**\n * Returns a promise that resolves when the popover did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionPopoverDidDismiss');\n }\n /**\n * Returns a promise that resolves when the popover will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionPopoverWillDismiss');\n }\n render() {\n const mode = getIonMode(this);\n const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this;\n const desktop = isPlatform('desktop');\n const enableArrow = arrow && !parentPopover;\n return (h(Host, Object.assign({ \"aria-modal\": \"true\", \"no-router\": true, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${20000 + this.overlayIndex}`,\n }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h(\"ion-backdrop\", { tappable: this.backdropDismiss, visible: this.showBackdrop, part: \"backdrop\" }), h(\"div\", { class: \"popover-wrapper ion-overlay-wrapper\", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h(\"div\", { class: \"popover-arrow\", part: \"arrow\" }), h(\"div\", { class: \"popover-content\", part: \"content\" }, h(\"slot\", null)))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"trigger\": [\"onTriggerChange\"],\n \"triggerAction\": [\"onTriggerChange\"],\n \"isOpen\": [\"onIsOpenChange\"]\n }; }\n};\nconst LIFECYCLE_MAP = {\n ionPopoverDidPresent: 'ionViewDidEnter',\n ionPopoverWillPresent: 'ionViewWillEnter',\n ionPopoverWillDismiss: 'ionViewWillLeave',\n ionPopoverDidDismiss: 'ionViewDidLeave',\n};\nPopover.style = {\n ios: popoverIosCss,\n md: popoverMdCss\n};\n\nexport { Popover as ion_popover };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, H as Host, f as getElement } from './index-b49b173c.js';\nimport { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-96c9ace3.js';\nimport { g as getElementRoot, r as raf } from './helpers-3379ba19.js';\nimport { c as createLockController } from './lock-controller-e8c6c051.js';\nimport { p as printIonWarning } from './index-595d62c9.js';\nimport { d as createDelegateController, e as createTriggerController, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-cec6bac8.js';\nimport { g as getClassMap, c as createColorClasses } from './theme-17531cdf.js';\nimport { c as config, b as getIonMode } from './ionic-global-246ca78f.js';\nimport { c as createAnimation } from './animation-92066c62.js';\nimport { w as win } from './index-7a14ecec.js';\nimport './framework-delegate-aa433dea.js';\nimport './hardware-back-button-39299f84.js';\n\n/**\n * iOS Toast Enter Animation\n */\nconst iosEnterAnimation = (baseEl, opts) => {\n const baseAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n const { position, top, bottom } = opts;\n const root = getElementRoot(baseEl);\n const wrapperEl = root.querySelector('.toast-wrapper');\n wrapperAnimation.addElement(wrapperEl);\n switch (position) {\n case 'top':\n wrapperAnimation.fromTo('transform', 'translateY(-100%)', `translateY(${top})`);\n break;\n case 'middle':\n const topPosition = Math.floor(baseEl.clientHeight / 2 - wrapperEl.clientHeight / 2);\n wrapperEl.style.top = `${topPosition}px`;\n wrapperAnimation.fromTo('opacity', 0.01, 1);\n break;\n default:\n wrapperAnimation.fromTo('transform', 'translateY(100%)', `translateY(${bottom})`);\n break;\n }\n return baseAnimation.easing('cubic-bezier(.155,1.105,.295,1.12)').duration(400).addAnimation(wrapperAnimation);\n};\n\n/**\n * iOS Toast Leave Animation\n */\nconst iosLeaveAnimation = (baseEl, opts) => {\n const baseAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n const { position, top, bottom } = opts;\n const root = getElementRoot(baseEl);\n const wrapperEl = root.querySelector('.toast-wrapper');\n wrapperAnimation.addElement(wrapperEl);\n switch (position) {\n case 'top':\n wrapperAnimation.fromTo('transform', `translateY(${top})`, 'translateY(-100%)');\n break;\n case 'middle':\n wrapperAnimation.fromTo('opacity', 0.99, 0);\n break;\n default:\n wrapperAnimation.fromTo('transform', `translateY(${bottom})`, 'translateY(100%)');\n break;\n }\n return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(300).addAnimation(wrapperAnimation);\n};\n\n/**\n * MD Toast Enter Animation\n */\nconst mdEnterAnimation = (baseEl, opts) => {\n const baseAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n const { position, top, bottom } = opts;\n const root = getElementRoot(baseEl);\n const wrapperEl = root.querySelector('.toast-wrapper');\n wrapperAnimation.addElement(wrapperEl);\n switch (position) {\n case 'top':\n wrapperEl.style.top = top;\n wrapperAnimation.fromTo('opacity', 0.01, 1);\n break;\n case 'middle':\n const topPosition = Math.floor(baseEl.clientHeight / 2 - wrapperEl.clientHeight / 2);\n wrapperEl.style.top = `${topPosition}px`;\n wrapperAnimation.fromTo('opacity', 0.01, 1);\n break;\n default:\n wrapperEl.style.bottom = bottom;\n wrapperAnimation.fromTo('opacity', 0.01, 1);\n break;\n }\n return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(400).addAnimation(wrapperAnimation);\n};\n\n/**\n * md Toast Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n const root = getElementRoot(baseEl);\n const wrapperEl = root.querySelector('.toast-wrapper');\n wrapperAnimation.addElement(wrapperEl).fromTo('opacity', 0.99, 0);\n return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(300).addAnimation(wrapperAnimation);\n};\n\n/**\n * Calculate the CSS top and bottom position of the toast, to be used\n * as starting points for the animation keyframes.\n *\n * Note that MD animates bottom-positioned toasts using style.bottom,\n * which calculates from the bottom edge of the screen, while iOS uses\n * translateY, which calculates from the top edge of the screen. This\n * is why the bottom calculates differ slightly between modes.\n *\n * @param position The value of the toast's position prop.\n * @param positionAnchor The element the toast should be anchored to,\n * if applicable.\n * @param mode The toast component's mode (md, ios, etc).\n * @param toast A reference to the toast element itself.\n */\nfunction getAnimationPosition(position, positionAnchor, mode, toast) {\n /**\n * Start with a predefined offset from the edge the toast will be\n * positioned relative to, whether on the screen or anchor element.\n */\n let offset;\n if (mode === 'md') {\n offset = 8;\n }\n else {\n offset = position === 'top' ? 10 : -10;\n }\n /**\n * If positionAnchor is defined, add in the distance from the target\n * screen edge to the target anchor edge. For position=\"top\", the\n * bottom anchor edge is targeted. For position=\"bottom\", the top\n * anchor edge is targeted.\n */\n if (positionAnchor && win) {\n warnIfAnchorIsHidden(positionAnchor, toast);\n const box = positionAnchor.getBoundingClientRect();\n if (position === 'top') {\n offset += box.bottom;\n }\n else if (position === 'bottom') {\n /**\n * Just box.top is the distance from the top edge of the screen\n * to the top edge of the anchor. We want to calculate from the\n * bottom edge of the screen instead.\n */\n if (mode === 'md') {\n offset += win.innerHeight - box.top;\n }\n else {\n offset -= win.innerHeight - box.top;\n }\n }\n /**\n * We don't include safe area here because that should already be\n * accounted for when checking the position of the anchor.\n */\n return {\n top: `${offset}px`,\n bottom: `${offset}px`,\n };\n }\n else {\n return {\n top: `calc(${offset}px + var(--ion-safe-area-top, 0px))`,\n bottom: mode === 'md'\n ? `calc(${offset}px + var(--ion-safe-area-bottom, 0px))`\n : `calc(${offset}px - var(--ion-safe-area-bottom, 0px))`,\n };\n }\n}\n/**\n * If the anchor element is hidden, getBoundingClientRect()\n * will return all 0s for it, which can cause unexpected\n * results in the position calculation when animating.\n */\nfunction warnIfAnchorIsHidden(positionAnchor, toast) {\n if (positionAnchor.offsetParent === null) {\n printIonWarning('The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.', toast);\n }\n}\n\nconst toastIosCss = \":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}\";\n\nconst toastMdCss = \":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}\";\n\nconst Toast = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.didPresent = createEvent(this, \"ionToastDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionToastWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionToastWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionToastDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);\n this.presented = false;\n this.dispatchCancelHandler = (ev) => {\n const role = ev.detail.role;\n if (isCancel(role)) {\n const cancelButton = this.getButtons().find((b) => b.role === 'cancel');\n this.callButtonHandler(cancelButton);\n }\n };\n this.revealContentToScreenReader = false;\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.color = undefined;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.cssClass = undefined;\n this.duration = config.getNumber('toastDuration', 0);\n this.header = undefined;\n this.layout = 'baseline';\n this.message = undefined;\n this.keyboardClose = false;\n this.position = 'bottom';\n this.positionAnchor = undefined;\n this.buttons = undefined;\n this.translucent = false;\n this.animated = true;\n this.icon = undefined;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n }\n componentWillLoad() {\n setOverlayId(this.el);\n }\n componentDidLoad() {\n /**\n * If toast was rendered with isOpen=\"true\"\n * then we should open toast immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n }\n /**\n * Present the toast overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n await this.delegateController.attachViewToDom();\n const { el, position } = this;\n const anchor = this.getAnchorElement();\n const animationPosition = getAnimationPosition(position, anchor, getIonMode(this), el);\n /**\n * Cache the calculated position of the toast, so we can re-use it\n * in the dismiss animation.\n */\n this.lastPresentedPosition = animationPosition;\n await present(this, 'toastEnter', iosEnterAnimation, mdEnterAnimation, {\n position,\n top: animationPosition.top,\n bottom: animationPosition.bottom,\n });\n /**\n * Content is revealed to screen readers after\n * the transition to avoid jank since this\n * state updates will cause a re-render.\n */\n this.revealContentToScreenReader = true;\n if (this.duration > 0) {\n this.durationTimeout = setTimeout(() => this.dismiss(undefined, 'timeout'), this.duration);\n }\n unlock();\n }\n /**\n * Dismiss the toast overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the toast.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the toast.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n */\n async dismiss(data, role) {\n var _a, _b;\n const unlock = await this.lockController.lock();\n const { durationTimeout, position, lastPresentedPosition } = this;\n if (durationTimeout) {\n clearTimeout(durationTimeout);\n }\n const dismissed = await dismiss(this, data, role, 'toastLeave', iosLeaveAnimation, mdLeaveAnimation, \n /**\n * Fetch the cached position that was calculated back in the present\n * animation. We always want to animate the dismiss from the same\n * position the present stopped at, so the animation looks continuous.\n */\n {\n position,\n top: (_a = lastPresentedPosition === null || lastPresentedPosition === void 0 ? void 0 : lastPresentedPosition.top) !== null && _a !== void 0 ? _a : '',\n bottom: (_b = lastPresentedPosition === null || lastPresentedPosition === void 0 ? void 0 : lastPresentedPosition.bottom) !== null && _b !== void 0 ? _b : '',\n });\n if (dismissed) {\n this.delegateController.removeViewFromDom();\n this.revealContentToScreenReader = false;\n }\n this.lastPresentedPosition = undefined;\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the toast did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionToastDidDismiss');\n }\n /**\n * Returns a promise that resolves when the toast will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionToastWillDismiss');\n }\n getButtons() {\n const buttons = this.buttons\n ? this.buttons.map((b) => {\n return typeof b === 'string' ? { text: b } : b;\n })\n : [];\n return buttons;\n }\n /**\n * Returns the element specified by the positionAnchor prop,\n * or undefined if prop's value is an ID string and the element\n * is not found in the DOM.\n */\n getAnchorElement() {\n const { position, positionAnchor, el } = this;\n /**\n * If positionAnchor is undefined then\n * no anchor should be used when presenting the toast.\n */\n if (positionAnchor === undefined) {\n return;\n }\n if (position === 'middle' && positionAnchor !== undefined) {\n printIonWarning('The positionAnchor property is ignored when using position=\"middle\".', this.el);\n return undefined;\n }\n if (typeof positionAnchor === 'string') {\n /**\n * If the anchor is defined as an ID, find the element.\n * We do this on every present so the toast doesn't need\n * to account for the surrounding DOM changing since the\n * last time it was presented.\n */\n const foundEl = document.getElementById(positionAnchor);\n if (foundEl === null) {\n printIonWarning(`An anchor element with an ID of \"${positionAnchor}\" was not found in the DOM.`, el);\n return undefined;\n }\n return foundEl;\n }\n if (positionAnchor instanceof HTMLElement) {\n return positionAnchor;\n }\n printIonWarning('Invalid positionAnchor value:', positionAnchor, el);\n return undefined;\n }\n async buttonClick(button) {\n const role = button.role;\n if (isCancel(role)) {\n return this.dismiss(undefined, role);\n }\n const shouldDismiss = await this.callButtonHandler(button);\n if (shouldDismiss) {\n return this.dismiss(undefined, role);\n }\n return Promise.resolve();\n }\n async callButtonHandler(button) {\n if (button === null || button === void 0 ? void 0 : button.handler) {\n // a handler has been provided, execute it\n // pass the handler the values from the inputs\n try {\n const rtn = await safeCall(button.handler);\n if (rtn === false) {\n // if the return value of the handler is false then do not dismiss\n return false;\n }\n }\n catch (e) {\n console.error(e);\n }\n }\n return true;\n }\n renderButtons(buttons, side) {\n if (buttons.length === 0) {\n return;\n }\n const mode = getIonMode(this);\n const buttonGroupsClasses = {\n 'toast-button-group': true,\n [`toast-button-group-${side}`]: true,\n };\n return (h(\"div\", { class: buttonGroupsClasses }, buttons.map((b) => (h(\"button\", Object.assign({}, b.htmlAttributes, { type: \"button\", class: buttonClass(b), tabIndex: 0, onClick: () => this.buttonClick(b), part: buttonPart(b) }), h(\"div\", { class: \"toast-button-inner\" }, b.icon && (h(\"ion-icon\", { \"aria-hidden\": \"true\", icon: b.icon, slot: b.text === undefined ? 'icon-only' : undefined, class: \"toast-button-icon\" })), b.text), mode === 'md' && (h(\"ion-ripple-effect\", { type: b.icon !== undefined && b.text === undefined ? 'unbounded' : 'bounded' })))))));\n }\n /**\n * Render the `message` property.\n * @param key - A key to give the element a stable identity. This is used to improve compatibility with screen readers.\n * @param ariaHidden - If \"true\" then content will be hidden from screen readers.\n */\n renderToastMessage(key, ariaHidden = null) {\n const { customHTMLEnabled, message } = this;\n if (customHTMLEnabled) {\n return (h(\"div\", { key: key, \"aria-hidden\": ariaHidden, class: \"toast-message\", part: \"message\", innerHTML: sanitizeDOMString(message) }));\n }\n return (h(\"div\", { key: key, \"aria-hidden\": ariaHidden, class: \"toast-message\", part: \"message\" }, message));\n }\n /**\n * Render the `header` property.\n * @param key - A key to give the element a stable identity. This is used to improve compatibility with screen readers.\n * @param ariaHidden - If \"true\" then content will be hidden from screen readers.\n */\n renderHeader(key, ariaHidden = null) {\n return (h(\"div\", { key: key, class: \"toast-header\", \"aria-hidden\": ariaHidden, part: \"header\" }, this.header));\n }\n render() {\n const { layout, el, revealContentToScreenReader, header, message } = this;\n const allButtons = this.getButtons();\n const startButtons = allButtons.filter((b) => b.side === 'start');\n const endButtons = allButtons.filter((b) => b.side !== 'start');\n const mode = getIonMode(this);\n const wrapperClass = {\n 'toast-wrapper': true,\n [`toast-${this.position}`]: true,\n [`toast-layout-${layout}`]: true,\n };\n /**\n * Stacked buttons are only meant to be\n * used with one type of button.\n */\n if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {\n printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);\n }\n return (h(Host, Object.assign({ tabindex: \"-1\" }, this.htmlAttributes, { style: {\n zIndex: `${60000 + this.overlayIndex}`,\n }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h(\"div\", { class: wrapperClass }, h(\"div\", { class: \"toast-container\", part: \"container\" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h(\"ion-icon\", { class: \"toast-icon\", part: \"icon\", icon: this.icon, lazy: false, \"aria-hidden\": \"true\" })), h(\"div\", { class: \"toast-content\", role: \"status\", \"aria-atomic\": \"true\", \"aria-live\": \"polite\" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }; }\n};\nconst buttonClass = (button) => {\n return Object.assign({ 'toast-button': true, 'toast-button-icon-only': button.icon !== undefined && button.text === undefined, [`toast-button-${button.role}`]: button.role !== undefined, 'ion-focusable': true, 'ion-activatable': true }, getClassMap(button.cssClass));\n};\nconst buttonPart = (button) => {\n return isCancel(button.role) ? 'button cancel' : 'button';\n};\nToast.style = {\n ios: toastIosCss,\n md: toastMdCss\n};\n\nexport { Toast as ion_toast };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { a as setPlatformHelpers, g as getMode, c as setMode } from './index-b49b173c.js';\n\n// TODO(FW-2832): types\nclass Config {\n constructor() {\n this.m = new Map();\n }\n reset(configObj) {\n this.m = new Map(Object.entries(configObj));\n }\n get(key, fallback) {\n const value = this.m.get(key);\n return value !== undefined ? value : fallback;\n }\n getBoolean(key, fallback = false) {\n const val = this.m.get(key);\n if (val === undefined) {\n return fallback;\n }\n if (typeof val === 'string') {\n return val === 'true';\n }\n return !!val;\n }\n getNumber(key, fallback) {\n const val = parseFloat(this.m.get(key));\n return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;\n }\n set(key, value) {\n this.m.set(key, value);\n }\n}\nconst config = /*@__PURE__*/ new Config();\nconst configFromSession = (win) => {\n try {\n const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);\n return configStr !== null ? JSON.parse(configStr) : {};\n }\n catch (e) {\n return {};\n }\n};\nconst saveConfig = (win, c) => {\n try {\n win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));\n }\n catch (e) {\n return;\n }\n};\nconst configFromURL = (win) => {\n const configObj = {};\n win.location.search\n .slice(1)\n .split('&')\n .map((entry) => entry.split('='))\n .map(([key, value]) => [decodeURIComponent(key), decodeURIComponent(value)])\n .filter(([key]) => startsWith(key, IONIC_PREFIX))\n .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])\n .forEach(([key, value]) => {\n configObj[key] = value;\n });\n return configObj;\n};\nconst startsWith = (input, search) => {\n return input.substr(0, search.length) === search;\n};\nconst IONIC_PREFIX = 'ionic:';\nconst IONIC_SESSION_KEY = 'ionic-persist-config';\n\nconst getPlatforms = (win) => setupPlatforms(win);\nconst isPlatform = (winOrPlatform, platform) => {\n if (typeof winOrPlatform === 'string') {\n platform = winOrPlatform;\n winOrPlatform = undefined;\n }\n return getPlatforms(winOrPlatform).includes(platform);\n};\nconst setupPlatforms = (win = window) => {\n if (typeof win === 'undefined') {\n return [];\n }\n win.Ionic = win.Ionic || {};\n let platforms = win.Ionic.platforms;\n if (platforms == null) {\n platforms = win.Ionic.platforms = detectPlatforms(win);\n platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));\n }\n return platforms;\n};\nconst detectPlatforms = (win) => {\n const customPlatformMethods = config.get('platform');\n return Object.keys(PLATFORMS_MAP).filter((p) => {\n const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];\n return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);\n });\n};\nconst isMobileWeb = (win) => isMobile(win) && !isHybrid(win);\nconst isIpad = (win) => {\n // iOS 12 and below\n if (testUserAgent(win, /iPad/i)) {\n return true;\n }\n // iOS 13+\n if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {\n return true;\n }\n return false;\n};\nconst isIphone = (win) => testUserAgent(win, /iPhone/i);\nconst isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);\nconst isAndroid = (win) => testUserAgent(win, /android|sink/i);\nconst isAndroidTablet = (win) => {\n return isAndroid(win) && !testUserAgent(win, /mobile/i);\n};\nconst isPhablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;\n};\nconst isTablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);\n};\nconst isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');\nconst isDesktop = (win) => !isMobile(win);\nconst isHybrid = (win) => isCordova(win) || isCapacitorNative(win);\nconst isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);\nconst isCapacitorNative = (win) => {\n const capacitor = win['Capacitor'];\n return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);\n};\nconst isElectron = (win) => testUserAgent(win, /electron/i);\nconst isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };\nconst testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);\nconst matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };\nconst PLATFORMS_MAP = {\n ipad: isIpad,\n iphone: isIphone,\n ios: isIOS,\n android: isAndroid,\n phablet: isPhablet,\n tablet: isTablet,\n cordova: isCordova,\n capacitor: isCapacitorNative,\n electron: isElectron,\n pwa: isPWA,\n mobile: isMobile,\n mobileweb: isMobileWeb,\n desktop: isDesktop,\n hybrid: isHybrid,\n};\n\n// TODO(FW-2832): types\nlet defaultMode;\nconst getIonMode = (ref) => {\n return (ref && getMode(ref)) || defaultMode;\n};\nconst initialize = (userConfig = {}) => {\n if (typeof window === 'undefined') {\n return;\n }\n const doc = window.document;\n const win = window;\n const Ionic = (win.Ionic = win.Ionic || {});\n const platformHelpers = {};\n if (userConfig._ael) {\n platformHelpers.ael = userConfig._ael;\n }\n if (userConfig._rel) {\n platformHelpers.rel = userConfig._rel;\n }\n if (userConfig._ce) {\n platformHelpers.ce = userConfig._ce;\n }\n setPlatformHelpers(platformHelpers);\n // create the Ionic.config from raw config object (if it exists)\n // and convert Ionic.config into a ConfigApi that has a get() fn\n const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);\n config.reset(configObj);\n if (config.getBoolean('persistConfig')) {\n saveConfig(win, configObj);\n }\n // Setup platforms\n setupPlatforms(win);\n // first see if the mode was set as an attribute on \n // which could have been set by the user, or by pre-rendering\n // otherwise get the mode via config settings, and fallback to md\n Ionic.config = config;\n Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));\n config.set('mode', defaultMode);\n doc.documentElement.setAttribute('mode', defaultMode);\n doc.documentElement.classList.add(defaultMode);\n if (config.getBoolean('_testing')) {\n config.set('animated', false);\n }\n const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };\n const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);\n setMode((elm) => {\n while (elm) {\n const elmMode = elm.mode || elm.getAttribute('mode');\n if (elmMode) {\n if (isAllowedIonicModeValue(elmMode)) {\n return elmMode;\n }\n else if (isIonicElement(elm)) {\n console.warn('Invalid ionic mode: \"' + elmMode + '\", expected: \"ios\" or \"md\"');\n }\n }\n elm = elm.parentElement;\n }\n return defaultMode;\n });\n};\n\nexport { isPlatform as a, getIonMode as b, config as c, getPlatforms as g, initialize as i };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation-92066c62.js';\nimport { g as getIonPageElement } from './index-7d2b2808.js';\nimport './index-7a14ecec.js';\nimport './helpers-3379ba19.js';\nimport './index-b49b173c.js';\n\nconst DURATION = 540;\n// TODO(FW-2832): types\nconst getClonedElement = (tagName) => {\n return document.querySelector(`${tagName}.ion-cloned-element`);\n};\nconst shadow = (el) => {\n return el.shadowRoot || el;\n};\nconst getLargeTitle = (refEl) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n const query = 'ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large';\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n return activeTab != null ? activeTab.querySelector(query) : null;\n }\n return refEl.querySelector(query);\n};\nconst getBackButton = (refEl, backDirection) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n let buttonsList = [];\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n if (activeTab != null) {\n buttonsList = activeTab.querySelectorAll('ion-buttons');\n }\n }\n else {\n buttonsList = refEl.querySelectorAll('ion-buttons');\n }\n for (const buttons of buttonsList) {\n const parentHeader = buttons.closest('ion-header');\n const activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');\n const backButton = buttons.querySelector('ion-back-button');\n const buttonsCollapse = buttons.classList.contains('buttons-collapse');\n const startSlot = buttons.slot === 'start' || buttons.slot === '';\n if (backButton !== null && startSlot && ((buttonsCollapse && activeHeader && backDirection) || !buttonsCollapse)) {\n return backButton;\n }\n }\n return null;\n};\nconst createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringEl, leavingEl) => {\n const enteringBackButton = getBackButton(enteringEl, backDirection);\n const leavingLargeTitle = getLargeTitle(leavingEl);\n const enteringLargeTitle = getLargeTitle(enteringEl);\n const leavingBackButton = getBackButton(leavingEl, backDirection);\n const shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;\n const shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;\n if (shouldAnimationForward) {\n const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();\n const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, enteringBackButtonBox);\n animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, leavingLargeTitleBox, enteringBackButtonBox);\n }\n else if (shouldAnimationBackward) {\n const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();\n const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, leavingBackButtonBox);\n animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, enteringLargeTitleBox, leavingBackButtonBox);\n }\n return {\n forward: shouldAnimationForward,\n backward: shouldAnimationBackward,\n };\n};\nconst animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, largeTitleBox, backButtonBox) => {\n const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;\n const START_TEXT_TRANSLATE = rtl ? '7px' : '-7px';\n const END_TEXT_TRANSLATE = rtl ? '-4px' : '4px';\n const ICON_TRANSLATE = rtl ? '-4px' : '4px';\n const TEXT_ORIGIN_X = rtl ? 'right' : 'left';\n const ICON_ORIGIN_X = rtl ? 'left' : 'right';\n const FORWARD_TEXT_KEYFRAMES = [\n {\n offset: 0,\n opacity: 0,\n transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,\n },\n { offset: 1, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n ];\n const BACKWARD_TEXT_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n { offset: 0.6, opacity: 0 },\n {\n offset: 1,\n opacity: 0,\n transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,\n },\n ];\n const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;\n const FORWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n { offset: 1, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n ];\n const BACKWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n { offset: 0.2, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n { offset: 1, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n ];\n const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;\n const enteringBackButtonTextAnimation = createAnimation();\n const enteringBackButtonIconAnimation = createAnimation();\n const clonedBackButtonEl = getClonedElement('ion-back-button');\n const backButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');\n const backButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');\n clonedBackButtonEl.text = backButtonEl.text;\n clonedBackButtonEl.mode = backButtonEl.mode;\n clonedBackButtonEl.icon = backButtonEl.icon;\n clonedBackButtonEl.color = backButtonEl.color;\n clonedBackButtonEl.disabled = backButtonEl.disabled;\n clonedBackButtonEl.style.setProperty('display', 'block');\n clonedBackButtonEl.style.setProperty('position', 'fixed');\n enteringBackButtonIconAnimation.addElement(backButtonIconEl);\n enteringBackButtonTextAnimation.addElement(backButtonTextEl);\n enteringBackButtonTextAnimation\n .beforeStyles({\n 'transform-origin': `${TEXT_ORIGIN_X} center`,\n })\n .beforeAddWrite(() => {\n backButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);\n })\n .afterAddWrite(() => {\n backButtonEl.style.setProperty('display', '');\n clonedBackButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);\n })\n .keyframes(TEXT_KEYFRAMES);\n enteringBackButtonIconAnimation\n .beforeStyles({\n 'transform-origin': `${ICON_ORIGIN_X} center`,\n })\n .keyframes(ICON_KEYFRAMES);\n rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);\n};\nconst animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, backButtonBox) => {\n const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;\n const START_TRANSLATE = rtl ? '-18px' : '18px';\n const ORIGIN_X = rtl ? 'right' : 'left';\n const BACKWARDS_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.49)` },\n { offset: 0.1, opacity: 0 },\n { offset: 1, opacity: 1, transform: `translate3d(0, ${largeTitleBox.top + 2}px, 0) scale(1)` },\n ];\n const FORWARDS_KEYFRAMES = [\n { offset: 0, opacity: 0.99, transform: `translate3d(0, ${largeTitleBox.top + 2}px, 0) scale(1)` },\n { offset: 0.6, opacity: 0 },\n { offset: 1, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.5)` },\n ];\n const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;\n const clonedTitleEl = getClonedElement('ion-title');\n const clonedLargeTitleAnimation = createAnimation();\n clonedTitleEl.innerText = largeTitleEl.innerText;\n clonedTitleEl.size = largeTitleEl.size;\n clonedTitleEl.color = largeTitleEl.color;\n clonedLargeTitleAnimation.addElement(clonedTitleEl);\n clonedLargeTitleAnimation\n .beforeStyles({\n 'transform-origin': `${ORIGIN_X} center`,\n height: '46px',\n display: '',\n position: 'relative',\n [ORIGIN_X]: TITLE_START_OFFSET,\n })\n .beforeAddWrite(() => {\n largeTitleEl.style.setProperty('opacity', '0');\n })\n .afterAddWrite(() => {\n largeTitleEl.style.setProperty('opacity', '');\n clonedTitleEl.style.setProperty('display', 'none');\n })\n .keyframes(KEYFRAMES);\n rootAnimation.addAnimation(clonedLargeTitleAnimation);\n};\nconst iosTransitionAnimation = (navEl, opts) => {\n var _a;\n try {\n const EASING = 'cubic-bezier(0.32,0.72,0,1)';\n const OPACITY = 'opacity';\n const TRANSFORM = 'transform';\n const CENTER = '0%';\n const OFF_OPACITY = 0.8;\n const isRTL = navEl.ownerDocument.dir === 'rtl';\n const OFF_RIGHT = isRTL ? '-99.5%' : '99.5%';\n const OFF_LEFT = isRTL ? '33%' : '-33%';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const backDirection = opts.direction === 'back';\n const contentEl = enteringEl.querySelector(':scope > ion-content');\n const headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n const enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const rootAnimation = createAnimation();\n const enteringContentAnimation = createAnimation();\n rootAnimation\n .addElement(enteringEl)\n .duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || DURATION)\n .easing(opts.easing || EASING)\n .fill('both')\n .beforeRemoveClass('ion-page-invisible');\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (leavingEl && navEl !== null && navEl !== undefined) {\n const navDecorAnimation = createAnimation();\n navDecorAnimation.addElement(navEl);\n rootAnimation.addAnimation(navDecorAnimation);\n }\n if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {\n enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n enteringContentAnimation.addElement(contentEl); // REVIEW\n enteringContentAnimation.addElement(headerEls);\n }\n rootAnimation.addAnimation(enteringContentAnimation);\n if (backDirection) {\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, OFF_OPACITY, 1);\n }\n else {\n // entering content, forward direction\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n }\n if (contentEl) {\n const enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');\n if (enteringTransitionEffectEl) {\n const enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');\n const enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');\n const enteringTransitionEffect = createAnimation();\n const enteringTransitionCover = createAnimation();\n const enteringTransitionShadow = createAnimation();\n enteringTransitionEffect\n .addElement(enteringTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n enteringTransitionCover\n .addElement(enteringTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0, 0.1);\n enteringTransitionShadow\n .addElement(enteringTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.03, 0.7);\n enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);\n enteringContentAnimation.addAnimation([enteringTransitionEffect]);\n }\n }\n const enteringContentHasLargeTitle = enteringEl.querySelector('ion-header.header-collapse-condense');\n const { forward, backward } = createLargeTitleTransition(rootAnimation, isRTL, backDirection, enteringEl, leavingEl);\n enteringToolBarEls.forEach((enteringToolBarEl) => {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolBarEl);\n rootAnimation.addAnimation(enteringToolBar);\n const enteringTitle = createAnimation();\n enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW\n const enteringToolBarButtons = createAnimation();\n const buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));\n const parentHeader = enteringToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n let buttonsToAnimate;\n if (backDirection) {\n buttonsToAnimate = buttons.filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n }\n else {\n buttonsToAnimate = buttons.filter((button) => !button.classList.contains('buttons-collapse'));\n }\n enteringToolBarButtons.addElement(buttonsToAnimate);\n const enteringToolBarItems = createAnimation();\n enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));\n const enteringToolBarBg = createAnimation();\n enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const enteringBackButton = createAnimation();\n const backButtonEl = enteringToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n enteringBackButton.addElement(backButtonEl);\n }\n enteringToolBar.addAnimation([\n enteringTitle,\n enteringToolBarButtons,\n enteringToolBarItems,\n enteringToolBarBg,\n enteringBackButton,\n ]);\n enteringToolBarButtons.fromTo(OPACITY, 0.01, 1);\n enteringToolBarItems.fromTo(OPACITY, 0.01, 1);\n if (backDirection) {\n if (!inactiveHeader) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`);\n // back direction, entering page has a back button\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n else {\n // entering toolbar, forward direction\n if (!enteringContentHasLargeTitle) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n enteringToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n enteringToolBarBg.fromTo(OPACITY, 0.01, 'var(--opacity)');\n }\n else {\n enteringToolBarBg.fromTo('transform', isRTL ? 'translateX(-100%)' : 'translateX(100%)', 'translateX(0px)');\n }\n // forward direction, entering page has a back button\n if (!forward) {\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n if (backButtonEl && !forward) {\n const enteringBackBtnText = createAnimation();\n enteringBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo(`transform`, isRTL ? 'translateX(-100px)' : 'translateX(100px)', 'translateX(0px)');\n enteringToolBar.addAnimation(enteringBackBtnText);\n }\n }\n });\n // setup leaving view\n if (leavingEl) {\n const leavingContent = createAnimation();\n const leavingContentEl = leavingEl.querySelector(':scope > ion-content');\n const leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const leavingHeaderEls = leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n if (!leavingContentEl && leavingToolBarEls.length === 0 && leavingHeaderEls.length === 0) {\n leavingContent.addElement(leavingEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n leavingContent.addElement(leavingContentEl); // REVIEW\n leavingContent.addElement(leavingHeaderEls);\n }\n rootAnimation.addAnimation(leavingContent);\n if (backDirection) {\n // leaving content, back direction\n leavingContent\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n const leavingPage = getIonPageElement(leavingEl);\n rootAnimation.afterAddWrite(() => {\n if (rootAnimation.getDirection() === 'normal') {\n leavingPage.style.setProperty('display', 'none');\n }\n });\n }\n else {\n // leaving content, forward direction\n leavingContent\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 1, OFF_OPACITY);\n }\n if (leavingContentEl) {\n const leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');\n if (leavingTransitionEffectEl) {\n const leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');\n const leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');\n const leavingTransitionEffect = createAnimation();\n const leavingTransitionCover = createAnimation();\n const leavingTransitionShadow = createAnimation();\n leavingTransitionEffect\n .addElement(leavingTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n leavingTransitionCover\n .addElement(leavingTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.1, 0);\n leavingTransitionShadow\n .addElement(leavingTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.7, 0.03);\n leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);\n leavingContent.addAnimation([leavingTransitionEffect]);\n }\n }\n leavingToolBarEls.forEach((leavingToolBarEl) => {\n const leavingToolBar = createAnimation();\n leavingToolBar.addElement(leavingToolBarEl);\n const leavingTitle = createAnimation();\n leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW\n const leavingToolBarButtons = createAnimation();\n const buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');\n const parentHeader = leavingToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n const buttonsToAnimate = Array.from(buttons).filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n leavingToolBarButtons.addElement(buttonsToAnimate);\n const leavingToolBarItems = createAnimation();\n const leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');\n if (leavingToolBarItemEls.length > 0) {\n leavingToolBarItems.addElement(leavingToolBarItemEls);\n }\n const leavingToolBarBg = createAnimation();\n leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const leavingBackButton = createAnimation();\n const backButtonEl = leavingToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n leavingBackButton.addElement(backButtonEl);\n }\n leavingToolBar.addAnimation([\n leavingTitle,\n leavingToolBarButtons,\n leavingToolBarItems,\n leavingBackButton,\n leavingToolBarBg,\n ]);\n rootAnimation.addAnimation(leavingToolBar);\n // fade out leaving toolbar items\n leavingBackButton.fromTo(OPACITY, 0.99, 0);\n leavingToolBarButtons.fromTo(OPACITY, 0.99, 0);\n leavingToolBarItems.fromTo(OPACITY, 0.99, 0);\n if (backDirection) {\n if (!inactiveHeader) {\n // leaving toolbar, back direction\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)')\n .fromTo(OPACITY, 0.99, 0);\n }\n leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n leavingToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n // leaving toolbar, back direction, and there's no entering toolbar\n // should just slide out, no fading out\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n leavingToolBarBg.fromTo(OPACITY, 'var(--opacity)', 0);\n }\n else {\n leavingToolBarBg.fromTo('transform', 'translateX(0px)', isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n }\n if (backButtonEl && !backward) {\n const leavingBackBtnText = createAnimation();\n leavingBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${(isRTL ? -124 : 124) + 'px'})`);\n leavingToolBar.addAnimation(leavingBackBtnText);\n }\n }\n else {\n // leaving toolbar, forward direction\n if (!inactiveHeader) {\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 0.99, 0)\n .afterClearStyles([TRANSFORM, OPACITY]);\n }\n leavingToolBarItems\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .afterClearStyles([TRANSFORM, OPACITY]);\n leavingBackButton.afterClearStyles([OPACITY]);\n leavingTitle.afterClearStyles([OPACITY]);\n leavingToolBarButtons.afterClearStyles([OPACITY]);\n }\n });\n }\n return rootAnimation;\n }\n catch (err) {\n throw err;\n }\n};\n\nexport { iosTransitionAnimation, shadow };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { g as getCapacitor } from './capacitor-b4979570.js';\n\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\n\nvar KeyboardResize;\n(function (KeyboardResize) {\n /**\n * Only the `body` HTML element will be resized.\n * Relative units are not affected, because the viewport does not change.\n *\n * @since 1.0.0\n */\n KeyboardResize[\"Body\"] = \"body\";\n /**\n * Only the `ion-app` HTML element will be resized.\n * Use it only for Ionic Framework apps.\n *\n * @since 1.0.0\n */\n KeyboardResize[\"Ionic\"] = \"ionic\";\n /**\n * The whole native Web View will be resized when the keyboard shows/hides.\n * This affects the `vh` relative unit.\n *\n * @since 1.0.0\n */\n KeyboardResize[\"Native\"] = \"native\";\n /**\n * Neither the app nor the Web View are resized.\n *\n * @since 1.0.0\n */\n KeyboardResize[\"None\"] = \"none\";\n})(KeyboardResize || (KeyboardResize = {}));\nconst Keyboard = {\n getEngine() {\n const capacitor = getCapacitor();\n if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('Keyboard')) {\n return capacitor.Plugins.Keyboard;\n }\n return undefined;\n },\n getResizeMode() {\n const engine = this.getEngine();\n if (!(engine === null || engine === void 0 ? void 0 : engine.getResizeMode)) {\n return Promise.resolve(undefined);\n }\n return engine.getResizeMode().catch((e) => {\n if (e.code === ExceptionCode.Unimplemented) {\n // If the native implementation is not available\n // we treat it the same as if the plugin is not available.\n return undefined;\n }\n throw e;\n });\n },\n};\n\nexport { Keyboard as K, KeyboardResize as a };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { K as Keyboard } from './keyboard-b063f012.js';\nimport './capacitor-b4979570.js';\nimport './index-7a14ecec.js';\n\nconst KEYBOARD_DID_OPEN = 'ionKeyboardDidShow';\nconst KEYBOARD_DID_CLOSE = 'ionKeyboardDidHide';\nconst KEYBOARD_THRESHOLD = 150;\n// TODO(FW-2832): types\nlet previousVisualViewport = {};\nlet currentVisualViewport = {};\nlet keyboardOpen = false;\n/**\n * This is only used for tests\n */\nconst resetKeyboardAssist = () => {\n previousVisualViewport = {};\n currentVisualViewport = {};\n keyboardOpen = false;\n};\nconst startKeyboardAssist = (win) => {\n const nativeEngine = Keyboard.getEngine();\n /**\n * If the native keyboard plugin is available\n * then we are running in a native environment. As a result\n * we should only listen on the native events instead of\n * using the Visual Viewport as the Ionic webview manipulates\n * how it resizes such that the Visual Viewport API is not\n * reliable here.\n */\n if (nativeEngine) {\n startNativeListeners(win);\n }\n else {\n if (!win.visualViewport) {\n return;\n }\n currentVisualViewport = copyVisualViewport(win.visualViewport);\n win.visualViewport.onresize = () => {\n trackViewportChanges(win);\n if (keyboardDidOpen() || keyboardDidResize(win)) {\n setKeyboardOpen(win);\n }\n else if (keyboardDidClose(win)) {\n setKeyboardClose(win);\n }\n };\n }\n};\n/**\n * Listen for events fired by native keyboard plugin\n * in Capacitor/Cordova so devs only need to listen\n * in one place.\n */\nconst startNativeListeners = (win) => {\n win.addEventListener('keyboardDidShow', (ev) => setKeyboardOpen(win, ev));\n win.addEventListener('keyboardDidHide', () => setKeyboardClose(win));\n};\nconst setKeyboardOpen = (win, ev) => {\n fireKeyboardOpenEvent(win, ev);\n keyboardOpen = true;\n};\nconst setKeyboardClose = (win) => {\n fireKeyboardCloseEvent(win);\n keyboardOpen = false;\n};\n/**\n * Returns `true` if the `keyboardOpen` flag is not\n * set, the previous visual viewport width equal the current\n * visual viewport width, and if the scaled difference\n * of the previous visual viewport height minus the current\n * visual viewport height is greater than KEYBOARD_THRESHOLD\n *\n * We need to be able to accommodate users who have zooming\n * enabled in their browser (or have zoomed in manually) which\n * is why we take into account the current visual viewport's\n * scale value.\n */\nconst keyboardDidOpen = () => {\n const scaledHeightDifference = (previousVisualViewport.height - currentVisualViewport.height) * currentVisualViewport.scale;\n return (!keyboardOpen &&\n previousVisualViewport.width === currentVisualViewport.width &&\n scaledHeightDifference > KEYBOARD_THRESHOLD);\n};\n/**\n * Returns `true` if the keyboard is open,\n * but the keyboard did not close\n */\nconst keyboardDidResize = (win) => {\n return keyboardOpen && !keyboardDidClose(win);\n};\n/**\n * Determine if the keyboard was closed\n * Returns `true` if the `keyboardOpen` flag is set and\n * the current visual viewport height equals the\n * layout viewport height.\n */\nconst keyboardDidClose = (win) => {\n return keyboardOpen && currentVisualViewport.height === win.innerHeight;\n};\n/**\n * Dispatch a keyboard open event\n */\nconst fireKeyboardOpenEvent = (win, nativeEv) => {\n const keyboardHeight = nativeEv ? nativeEv.keyboardHeight : win.innerHeight - currentVisualViewport.height;\n const ev = new CustomEvent(KEYBOARD_DID_OPEN, {\n detail: { keyboardHeight },\n });\n win.dispatchEvent(ev);\n};\n/**\n * Dispatch a keyboard close event\n */\nconst fireKeyboardCloseEvent = (win) => {\n const ev = new CustomEvent(KEYBOARD_DID_CLOSE);\n win.dispatchEvent(ev);\n};\n/**\n * Given a window object, create a copy of\n * the current visual and layout viewport states\n * while also preserving the previous visual and\n * layout viewport states\n */\nconst trackViewportChanges = (win) => {\n previousVisualViewport = Object.assign({}, currentVisualViewport);\n currentVisualViewport = copyVisualViewport(win.visualViewport);\n};\n/**\n * Creates a deep copy of the visual viewport\n * at a given state\n */\nconst copyVisualViewport = (visualViewport) => {\n return {\n width: Math.round(visualViewport.width),\n height: Math.round(visualViewport.height),\n offsetTop: visualViewport.offsetTop,\n offsetLeft: visualViewport.offsetLeft,\n pageTop: visualViewport.pageTop,\n pageLeft: visualViewport.pageLeft,\n scale: visualViewport.scale,\n };\n};\n\nexport { KEYBOARD_DID_CLOSE, KEYBOARD_DID_OPEN, copyVisualViewport, keyboardDidClose, keyboardDidOpen, keyboardDidResize, resetKeyboardAssist, setKeyboardClose, setKeyboardOpen, startKeyboardAssist, trackViewportChanges };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Creates a lock controller.\n *\n * Claiming a lock means that nothing else can acquire the lock until it is released.\n * This can momentarily prevent execution of code that needs to wait for the earlier code to finish.\n * For example, this can be used to prevent multiple transitions from occurring at the same time.\n */\nconst createLockController = () => {\n let waitPromise;\n /**\n * When lock() is called, the lock is claimed.\n * Once a lock has been claimed, it cannot be claimed again until it is released.\n * When this function gets resolved, the lock is released, allowing it to be claimed again.\n *\n * @example ```tsx\n * const unlock = await this.lockController.lock();\n * // do other stuff\n * unlock();\n * ```\n */\n const lock = async () => {\n const p = waitPromise;\n let resolve;\n waitPromise = new Promise((r) => (resolve = r));\n if (p !== undefined) {\n await p;\n }\n return resolve;\n };\n return {\n lock,\n };\n};\n\nexport { createLockController as c };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation-92066c62.js';\nimport { g as getIonPageElement } from './index-7d2b2808.js';\nimport './index-7a14ecec.js';\nimport './helpers-3379ba19.js';\nimport './index-b49b173c.js';\n\nconst mdTransitionAnimation = (_, opts) => {\n var _a, _b, _c;\n const OFF_BOTTOM = '40px';\n const CENTER = '0px';\n const backDirection = opts.direction === 'back';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const ionPageElement = getIonPageElement(enteringEl);\n const enteringToolbarEle = ionPageElement.querySelector('ion-toolbar');\n const rootTransition = createAnimation();\n rootTransition.addElement(ionPageElement).fill('both').beforeRemoveClass('ion-page-invisible');\n // animate the component itself\n if (backDirection) {\n rootTransition.duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n }\n else {\n rootTransition\n .duration(((_b = opts.duration) !== null && _b !== void 0 ? _b : 0) || 280)\n .easing('cubic-bezier(0.36,0.66,0.04,1)')\n .fromTo('transform', `translateY(${OFF_BOTTOM})`, `translateY(${CENTER})`)\n .fromTo('opacity', 0.01, 1);\n }\n // Animate toolbar if it's there\n if (enteringToolbarEle) {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolbarEle);\n rootTransition.addAnimation(enteringToolBar);\n }\n // setup leaving view\n if (leavingEl && backDirection) {\n // leaving content\n rootTransition.duration(((_c = opts.duration) !== null && _c !== void 0 ? _c : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n const leavingPage = createAnimation();\n leavingPage\n .addElement(getIonPageElement(leavingEl))\n .onFinish((currentStep) => {\n if (currentStep === 1 && leavingPage.elements.length > 0) {\n leavingPage.elements[0].style.setProperty('display', 'none');\n }\n })\n .fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`)\n .fromTo('opacity', 1, 0);\n rootTransition.addAnimation(leavingPage);\n }\n return rootTransition;\n};\n\nexport { mdTransitionAnimation };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { d as doc } from './index-7a14ecec.js';\nimport { b as getIonMode, c as config } from './ionic-global-246ca78f.js';\nimport { C as CoreDelegate } from './framework-delegate-aa433dea.js';\nimport { OVERLAY_BACK_BUTTON_PRIORITY } from './hardware-back-button-39299f84.js';\nimport { c as componentOnReady, f as focusElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-3379ba19.js';\nimport { p as printIonWarning } from './index-595d62c9.js';\n\nlet lastOverlayIndex = 0;\nlet lastId = 0;\nconst activeAnimations = new WeakMap();\nconst createController = (tagName) => {\n return {\n create(options) {\n return createOverlay(tagName, options);\n },\n dismiss(data, role, id) {\n return dismissOverlay(document, data, role, tagName, id);\n },\n async getTop() {\n return getPresentedOverlay(document, tagName);\n },\n };\n};\nconst alertController = /*@__PURE__*/ createController('ion-alert');\nconst actionSheetController = /*@__PURE__*/ createController('ion-action-sheet');\nconst loadingController = /*@__PURE__*/ createController('ion-loading');\nconst modalController = /*@__PURE__*/ createController('ion-modal');\nconst pickerController = /*@__PURE__*/ createController('ion-picker');\nconst popoverController = /*@__PURE__*/ createController('ion-popover');\nconst toastController = /*@__PURE__*/ createController('ion-toast');\n/**\n * Prepares the overlay element to be presented.\n */\nconst prepareOverlay = (el) => {\n if (typeof document !== 'undefined') {\n /**\n * Adds a single instance of event listeners for application behaviors:\n *\n * - Escape Key behavior to dismiss an overlay\n * - Trapping focus within an overlay\n * - Back button behavior to dismiss an overlay\n *\n * This only occurs when the first overlay is created.\n */\n connectListeners(document);\n }\n const overlayIndex = lastOverlayIndex++;\n /**\n * overlayIndex is used in the overlay components to set a zIndex.\n * This ensures that the most recently presented overlay will be\n * on top.\n */\n el.overlayIndex = overlayIndex;\n};\n/**\n * Assigns an incrementing id to an overlay element, that does not\n * already have an id assigned to it.\n *\n * Used to track unique instances of an overlay element.\n */\nconst setOverlayId = (el) => {\n if (!el.hasAttribute('id')) {\n el.id = `ion-overlay-${++lastId}`;\n }\n return el.id;\n};\nconst createOverlay = (tagName, opts) => {\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined') {\n return window.customElements.whenDefined(tagName).then(() => {\n const element = document.createElement(tagName);\n element.classList.add('overlay-hidden');\n /**\n * Convert the passed in overlay options into props\n * that get passed down into the new overlay.\n */\n Object.assign(element, Object.assign(Object.assign({}, opts), { hasController: true }));\n // append the overlay element to the document body\n getAppRoot(document).appendChild(element);\n return new Promise((resolve) => componentOnReady(element, resolve));\n });\n }\n return Promise.resolve();\n};\n/**\n * This query string selects elements that\n * are eligible to receive focus. We select\n * interactive elements that meet the following\n * criteria:\n * 1. Element does not have a negative tabindex\n * 2. Element does not have `hidden`\n * 3. Element does not have `disabled` for non-Ionic components.\n * 4. Element does not have `disabled` or `disabled=\"true\"` for Ionic components.\n * Note: We need this distinction because `disabled=\"false\"` is\n * valid usage for the disabled property on ion-button.\n */\nconst focusableQueryString = '[tabindex]:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^=\"-\"]):not([hidden]):not([disabled]), textarea:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), button:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), select:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), .ion-focusable[disabled=\"false\"]:not([tabindex^=\"-\"]):not([hidden])';\nconst focusFirstDescendant = (ref, overlay) => {\n let firstInput = ref.querySelector(focusableQueryString);\n const shadowRoot = firstInput === null || firstInput === void 0 ? void 0 : firstInput.shadowRoot;\n if (shadowRoot) {\n // If there are no inner focusable elements, just focus the host element.\n firstInput = shadowRoot.querySelector(focusableQueryString) || firstInput;\n }\n if (firstInput) {\n focusElement(firstInput);\n }\n else {\n // Focus overlay instead of letting focus escape\n overlay.focus();\n }\n};\nconst isOverlayHidden = (overlay) => overlay.classList.contains('overlay-hidden');\nconst focusLastDescendant = (ref, overlay) => {\n const inputs = Array.from(ref.querySelectorAll(focusableQueryString));\n let lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;\n const shadowRoot = lastInput === null || lastInput === void 0 ? void 0 : lastInput.shadowRoot;\n if (shadowRoot) {\n // If there are no inner focusable elements, just focus the host element.\n lastInput = shadowRoot.querySelector(focusableQueryString) || lastInput;\n }\n if (lastInput) {\n lastInput.focus();\n }\n else {\n // Focus overlay instead of letting focus escape\n overlay.focus();\n }\n};\n/**\n * Traps keyboard focus inside of overlay components.\n * Based on https://w3c.github.io/aria-practices/examples/dialog-modal/alertdialog.html\n * This includes the following components: Action Sheet, Alert, Loading, Modal,\n * Picker, and Popover.\n * Should NOT include: Toast\n */\nconst trapKeyboardFocus = (ev, doc) => {\n const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');\n const target = ev.target;\n /**\n * If no active overlay, ignore this event.\n *\n * If this component uses the shadow dom,\n * this global listener is pointless\n * since it will not catch the focus\n * traps as they are inside the shadow root.\n * We need to add a listener to the shadow root\n * itself to ensure the focus trap works.\n */\n if (!lastOverlay || !target) {\n return;\n }\n /**\n * If the ion-disable-focus-trap class\n * is present on an overlay, then this component\n * instance has opted out of focus trapping.\n * An example of this is when the sheet modal\n * has a backdrop that is disabled. The content\n * behind the sheet should be focusable until\n * the backdrop is enabled.\n */\n if (lastOverlay.classList.contains('ion-disable-focus-trap')) {\n return;\n }\n const trapScopedFocus = () => {\n /**\n * If we are focusing the overlay, clear\n * the last focused element so that hitting\n * tab activates the first focusable element\n * in the overlay wrapper.\n */\n if (lastOverlay === target) {\n lastOverlay.lastFocus = undefined;\n /**\n * Otherwise, we must be focusing an element\n * inside of the overlay. The two possible options\n * here are an input/button/etc or the ion-focus-trap\n * element. The focus trap element is used to prevent\n * the keyboard focus from leaving the overlay when\n * using Tab or screen assistants.\n */\n }\n else {\n /**\n * We do not want to focus the traps, so get the overlay\n * wrapper element as the traps live outside of the wrapper.\n */\n const overlayRoot = getElementRoot(lastOverlay);\n if (!overlayRoot.contains(target)) {\n return;\n }\n const overlayWrapper = overlayRoot.querySelector('.ion-overlay-wrapper');\n if (!overlayWrapper) {\n return;\n }\n /**\n * If the target is inside the wrapper, let the browser\n * focus as normal and keep a log of the last focused element.\n * Additionally, if the backdrop was tapped we should not\n * move focus back inside the wrapper as that could cause\n * an interactive elements focus state to activate.\n */\n if (overlayWrapper.contains(target) || target === overlayRoot.querySelector('ion-backdrop')) {\n lastOverlay.lastFocus = target;\n }\n else {\n /**\n * Otherwise, we must have focused one of the focus traps.\n * We need to wrap the focus to either the first element\n * or the last element.\n */\n /**\n * Once we call `focusFirstDescendant` and focus the first\n * descendant, another focus event will fire which will\n * cause `lastOverlay.lastFocus` to be updated before\n * we can run the code after that. We will cache the value\n * here to avoid that.\n */\n const lastFocus = lastOverlay.lastFocus;\n // Focus the first element in the overlay wrapper\n focusFirstDescendant(overlayWrapper, lastOverlay);\n /**\n * If the cached last focused element is the\n * same as the active element, then we need\n * to wrap focus to the last descendant. This happens\n * when the first descendant is focused, and the user\n * presses Shift + Tab. The previous line will focus\n * the same descendant again (the first one), causing\n * last focus to equal the active element.\n */\n if (lastFocus === doc.activeElement) {\n focusLastDescendant(overlayWrapper, lastOverlay);\n }\n lastOverlay.lastFocus = doc.activeElement;\n }\n }\n };\n const trapShadowFocus = () => {\n /**\n * If the target is inside the wrapper, let the browser\n * focus as normal and keep a log of the last focused element.\n */\n if (lastOverlay.contains(target)) {\n lastOverlay.lastFocus = target;\n }\n else {\n /**\n * Otherwise, we are about to have focus\n * go out of the overlay. We need to wrap\n * the focus to either the first element\n * or the last element.\n */\n /**\n * Once we call `focusFirstDescendant` and focus the first\n * descendant, another focus event will fire which will\n * cause `lastOverlay.lastFocus` to be updated before\n * we can run the code after that. We will cache the value\n * here to avoid that.\n */\n const lastFocus = lastOverlay.lastFocus;\n // Focus the first element in the overlay wrapper\n focusFirstDescendant(lastOverlay, lastOverlay);\n /**\n * If the cached last focused element is the\n * same as the active element, then we need\n * to wrap focus to the last descendant. This happens\n * when the first descendant is focused, and the user\n * presses Shift + Tab. The previous line will focus\n * the same descendant again (the first one), causing\n * last focus to equal the active element.\n */\n if (lastFocus === doc.activeElement) {\n focusLastDescendant(lastOverlay, lastOverlay);\n }\n lastOverlay.lastFocus = doc.activeElement;\n }\n };\n if (lastOverlay.shadowRoot) {\n trapShadowFocus();\n }\n else {\n trapScopedFocus();\n }\n};\nconst connectListeners = (doc) => {\n if (lastOverlayIndex === 0) {\n lastOverlayIndex = 1;\n doc.addEventListener('focus', (ev) => {\n trapKeyboardFocus(ev, doc);\n }, true);\n // handle back-button click\n doc.addEventListener('ionBackButton', (ev) => {\n const lastOverlay = getPresentedOverlay(doc);\n if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {\n ev.detail.register(OVERLAY_BACK_BUTTON_PRIORITY, () => {\n return lastOverlay.dismiss(undefined, BACKDROP);\n });\n }\n });\n // handle ESC to close overlay\n doc.addEventListener('keydown', (ev) => {\n if (ev.key === 'Escape') {\n const lastOverlay = getPresentedOverlay(doc);\n if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {\n lastOverlay.dismiss(undefined, BACKDROP);\n }\n }\n });\n }\n};\nconst dismissOverlay = (doc, data, role, overlayTag, id) => {\n const overlay = getPresentedOverlay(doc, overlayTag, id);\n if (!overlay) {\n return Promise.reject('overlay does not exist');\n }\n return overlay.dismiss(data, role);\n};\n/**\n * Returns a list of all overlays in the DOM even if they are not presented.\n */\nconst getOverlays = (doc, selector) => {\n if (selector === undefined) {\n selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';\n }\n return Array.from(doc.querySelectorAll(selector)).filter((c) => c.overlayIndex > 0);\n};\n/**\n * Returns a list of all presented overlays.\n * Inline overlays can exist in the DOM but not be presented,\n * so there are times when we want to exclude those.\n * @param doc The document to find the element within.\n * @param overlayTag The selector for the overlay, defaults to Ionic overlay components.\n */\nconst getPresentedOverlays = (doc, overlayTag) => {\n return getOverlays(doc, overlayTag).filter((o) => !isOverlayHidden(o));\n};\n/**\n * Returns a presented overlay element.\n * @param doc The document to find the element within.\n * @param overlayTag The selector for the overlay, defaults to Ionic overlay components.\n * @param id The unique identifier for the overlay instance.\n * @returns The overlay element or `undefined` if no overlay element is found.\n */\nconst getPresentedOverlay = (doc, overlayTag, id) => {\n const overlays = getPresentedOverlays(doc, overlayTag);\n return id === undefined ? overlays[overlays.length - 1] : overlays.find((o) => o.id === id);\n};\n/**\n * When an overlay is presented, the main\n * focus is the overlay not the page content.\n * We need to remove the page content from the\n * accessibility tree otherwise when\n * users use \"read screen from top\" gestures with\n * TalkBack and VoiceOver, the screen reader will begin\n * to read the content underneath the overlay.\n *\n * We need a container where all page components\n * exist that is separate from where the overlays\n * are added in the DOM. For most apps, this element\n * is the top most ion-router-outlet. In the event\n * that devs are not using a router,\n * they will need to add the \"ion-view-container-root\"\n * id to the element that contains all of their views.\n *\n * TODO: If Framework supports having multiple top\n * level router outlets we would need to update this.\n * Example: One outlet for side menu and one outlet\n * for main content.\n */\nconst setRootAriaHidden = (hidden = false) => {\n const root = getAppRoot(document);\n const viewContainer = root.querySelector('ion-router-outlet, ion-nav, #ion-view-container-root');\n if (!viewContainer) {\n return;\n }\n if (hidden) {\n viewContainer.setAttribute('aria-hidden', 'true');\n }\n else {\n viewContainer.removeAttribute('aria-hidden');\n }\n};\nconst present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) => {\n var _a, _b;\n if (overlay.presented) {\n return;\n }\n setRootAriaHidden(true);\n overlay.presented = true;\n overlay.willPresent.emit();\n (_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();\n const mode = getIonMode(overlay);\n // get the user's animation fn if one was provided\n const animationBuilder = overlay.enterAnimation\n ? overlay.enterAnimation\n : config.get(name, mode === 'ios' ? iosEnterAnimation : mdEnterAnimation);\n const completed = await overlayAnimation(overlay, animationBuilder, overlay.el, opts);\n if (completed) {\n overlay.didPresent.emit();\n (_b = overlay.didPresentShorthand) === null || _b === void 0 ? void 0 : _b.emit();\n }\n /**\n * When an overlay that steals focus\n * is dismissed, focus should be returned\n * to the element that was focused\n * prior to the overlay opening. Toast\n * does not steal focus and is excluded\n * from returning focus as a result.\n */\n if (overlay.el.tagName !== 'ION-TOAST') {\n focusPreviousElementOnDismiss(overlay.el);\n }\n /**\n * If the focused element is already\n * inside the overlay component then\n * focus should not be moved from that\n * to the overlay container.\n */\n if (overlay.keyboardClose && (document.activeElement === null || !overlay.el.contains(document.activeElement))) {\n overlay.el.focus();\n }\n};\n/**\n * When an overlay component is dismissed,\n * focus should be returned to the element\n * that presented the overlay. Otherwise\n * focus will be set on the body which\n * means that people using screen readers\n * or tabbing will need to re-navigate\n * to where they were before they\n * opened the overlay.\n */\nconst focusPreviousElementOnDismiss = async (overlayEl) => {\n let previousElement = document.activeElement;\n if (!previousElement) {\n return;\n }\n const shadowRoot = previousElement === null || previousElement === void 0 ? void 0 : previousElement.shadowRoot;\n if (shadowRoot) {\n // If there are no inner focusable elements, just focus the host element.\n previousElement = shadowRoot.querySelector(focusableQueryString) || previousElement;\n }\n await overlayEl.onDidDismiss();\n previousElement.focus();\n};\nconst dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnimation, opts) => {\n var _a, _b;\n if (!overlay.presented) {\n return false;\n }\n /**\n * If this is the last visible overlay then\n * we want to re-add the root to the accessibility tree.\n */\n if (doc !== undefined && getPresentedOverlays(doc).length === 1) {\n setRootAriaHidden(false);\n }\n overlay.presented = false;\n try {\n // Overlay contents should not be clickable during dismiss\n overlay.el.style.setProperty('pointer-events', 'none');\n overlay.willDismiss.emit({ data, role });\n (_a = overlay.willDismissShorthand) === null || _a === void 0 ? void 0 : _a.emit({ data, role });\n const mode = getIonMode(overlay);\n const animationBuilder = overlay.leaveAnimation\n ? overlay.leaveAnimation\n : config.get(name, mode === 'ios' ? iosLeaveAnimation : mdLeaveAnimation);\n // If dismissed via gesture, no need to play leaving animation again\n if (role !== GESTURE) {\n await overlayAnimation(overlay, animationBuilder, overlay.el, opts);\n }\n overlay.didDismiss.emit({ data, role });\n (_b = overlay.didDismissShorthand) === null || _b === void 0 ? void 0 : _b.emit({ data, role });\n activeAnimations.delete(overlay);\n /**\n * Make overlay hidden again in case it is being reused.\n * We can safely remove pointer-events: none as\n * overlay-hidden will set display: none.\n */\n overlay.el.classList.add('overlay-hidden');\n overlay.el.style.removeProperty('pointer-events');\n /**\n * Clear any focus trapping references\n * when the overlay is dismissed.\n */\n if (overlay.el.lastFocus !== undefined) {\n overlay.el.lastFocus = undefined;\n }\n }\n catch (err) {\n console.error(err);\n }\n overlay.el.remove();\n return true;\n};\nconst getAppRoot = (doc) => {\n return doc.querySelector('ion-app') || doc.body;\n};\nconst overlayAnimation = async (overlay, animationBuilder, baseEl, opts) => {\n // Make overlay visible in case it's hidden\n baseEl.classList.remove('overlay-hidden');\n const aniRoot = overlay.el;\n const animation = animationBuilder(aniRoot, opts);\n if (!overlay.animated || !config.getBoolean('animated', true)) {\n animation.duration(0);\n }\n if (overlay.keyboardClose) {\n animation.beforeAddWrite(() => {\n const activeElement = baseEl.ownerDocument.activeElement;\n if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.matches('input,ion-input, ion-textarea')) {\n activeElement.blur();\n }\n });\n }\n const activeAni = activeAnimations.get(overlay) || [];\n activeAnimations.set(overlay, [...activeAni, animation]);\n await animation.play();\n return true;\n};\nconst eventMethod = (element, eventName) => {\n let resolve;\n const promise = new Promise((r) => (resolve = r));\n onceEvent(element, eventName, (event) => {\n resolve(event.detail);\n });\n return promise;\n};\nconst onceEvent = (element, eventName, callback) => {\n const handler = (ev) => {\n removeEventListener(element, eventName, handler);\n callback(ev);\n };\n addEventListener(element, eventName, handler);\n};\nconst isCancel = (role) => {\n return role === 'cancel' || role === BACKDROP;\n};\nconst defaultGate = (h) => h();\n/**\n * Calls a developer provided method while avoiding\n * Angular Zones. Since the handler is provided by\n * the developer, we should throw any errors\n * received so that developer-provided bug\n * tracking software can log it.\n */\nconst safeCall = (handler, arg) => {\n if (typeof handler === 'function') {\n const jmp = config.get('_zoneGate', defaultGate);\n return jmp(() => {\n try {\n return handler(arg);\n }\n catch (e) {\n throw e;\n }\n });\n }\n return undefined;\n};\nconst BACKDROP = 'backdrop';\nconst GESTURE = 'gesture';\n/**\n * Creates a delegate controller.\n *\n * Requires that the component has the following properties:\n * - `el: HTMLElement`\n * - `hasController: boolean`\n * - `delegate?: FrameworkDelegate`\n *\n * @param ref The component class instance.\n */\nconst createDelegateController = (ref) => {\n let inline = false;\n let workingDelegate;\n const coreDelegate = CoreDelegate();\n /**\n * Determines whether or not an overlay is being used\n * inline or via a controller/JS and returns the correct delegate.\n * By default, subsequent calls to getDelegate will use\n * a cached version of the delegate.\n * This is useful for calling dismiss after present,\n * so that the correct delegate is given.\n * @param force `true` to force the non-cached version of the delegate.\n * @returns The delegate to use and whether or not the overlay is inline.\n */\n const getDelegate = (force = false) => {\n if (workingDelegate && !force) {\n return {\n delegate: workingDelegate,\n inline,\n };\n }\n const { el, hasController, delegate } = ref;\n /**\n * If using overlay inline\n * we potentially need to use the coreDelegate\n * so that this works in vanilla JS apps.\n * If a developer has presented this component\n * via a controller, then we can assume\n * the component is already in the\n * correct place.\n */\n const parentEl = el.parentNode;\n inline = parentEl !== null && !hasController;\n workingDelegate = inline ? delegate || coreDelegate : delegate;\n return { inline, delegate: workingDelegate };\n };\n /**\n * Attaches a component in the DOM. Teleports the component\n * to the root of the app.\n * @param component The component to optionally construct and append to the element.\n */\n const attachViewToDom = async (component) => {\n const { delegate } = getDelegate(true);\n if (delegate) {\n return await delegate.attachViewToDom(ref.el, component);\n }\n const { hasController } = ref;\n if (hasController && component !== undefined) {\n throw new Error('framework delegate is missing');\n }\n return null;\n };\n /**\n * Moves a component back to its original location in the DOM.\n */\n const removeViewFromDom = () => {\n const { delegate } = getDelegate();\n if (delegate && ref.el !== undefined) {\n delegate.removeViewFromDom(ref.el.parentElement, ref.el);\n }\n };\n return {\n attachViewToDom,\n removeViewFromDom,\n };\n};\n/**\n * Constructs a trigger interaction for an overlay.\n * Presents an overlay when the trigger is clicked.\n *\n * Usage:\n * ```ts\n * triggerController = createTriggerController();\n * triggerController.addClickListener(el, trigger);\n * ```\n */\nconst createTriggerController = () => {\n let destroyTriggerInteraction;\n /**\n * Removes the click listener from the trigger element.\n */\n const removeClickListener = () => {\n if (destroyTriggerInteraction) {\n destroyTriggerInteraction();\n destroyTriggerInteraction = undefined;\n }\n };\n /**\n * Adds a click listener to the trigger element.\n * Presents the overlay when the trigger is clicked.\n * @param el The overlay element.\n * @param trigger The ID of the element to add a click listener to.\n */\n const addClickListener = (el, trigger) => {\n removeClickListener();\n const triggerEl = trigger !== undefined ? document.getElementById(trigger) : null;\n if (!triggerEl) {\n printIonWarning(`A trigger element with the ID \"${trigger}\" was not found in the DOM. The trigger element must be in the DOM when the \"trigger\" property is set on an overlay component.`, el);\n return;\n }\n const configureTriggerInteraction = (targetEl, overlayEl) => {\n const openOverlay = () => {\n overlayEl.present();\n };\n targetEl.addEventListener('click', openOverlay);\n return () => {\n targetEl.removeEventListener('click', openOverlay);\n };\n };\n destroyTriggerInteraction = configureTriggerInteraction(triggerEl, el);\n };\n return {\n addClickListener,\n removeClickListener,\n };\n};\n\nexport { BACKDROP as B, GESTURE as G, alertController as a, actionSheetController as b, popoverController as c, createDelegateController as d, createTriggerController as e, present as f, dismiss as g, eventMethod as h, isCancel as i, prepareOverlay as j, setOverlayId as k, loadingController as l, modalController as m, activeAnimations as n, focusFirstDescendant as o, pickerController as p, getPresentedOverlay as q, safeCall as s, toastController as t };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst hostContext = (selector, el) => {\n return el.closest(selector) !== null;\n};\n/**\n * Create the mode and color classes for the component based on the classes passed in\n */\nconst createColorClasses = (color, cssClassMap) => {\n return typeof color === 'string' && color.length > 0\n ? Object.assign({ 'ion-color': true, [`ion-color-${color}`]: true }, cssClassMap) : cssClassMap;\n};\nconst getClassList = (classes) => {\n if (classes !== undefined) {\n const array = Array.isArray(classes) ? classes : classes.split(' ');\n return array\n .filter((c) => c != null)\n .map((c) => c.trim())\n .filter((c) => c !== '');\n }\n return [];\n};\nconst getClassMap = (classes) => {\n const map = {};\n getClassList(classes).forEach((c) => (map[c] = true));\n return map;\n};\nconst SCHEME = /^[a-z][a-z0-9+\\-.]*:/;\nconst openURL = async (url, ev, direction, animation) => {\n if (url != null && url[0] !== '#' && !SCHEME.test(url)) {\n const router = document.querySelector('ion-router');\n if (router) {\n if (ev != null) {\n ev.preventDefault();\n }\n return router.push(url, direction, animation);\n }\n }\n return false;\n};\n\nexport { createColorClasses as c, getClassMap as g, hostContext as h, openURL as o };\n","import LocalForage from 'localforage';\n/** @hidden */\nexport const Drivers = {\n SecureStorage: 'ionicSecureStorage',\n IndexedDB: LocalForage.INDEXEDDB,\n LocalStorage: LocalForage.LOCALSTORAGE\n};\nconst defaultConfig = {\n name: '_ionicstorage',\n storeName: '_ionickv',\n dbKey: '_ionickey',\n driverOrder: [\n Drivers.SecureStorage,\n Drivers.IndexedDB,\n Drivers.LocalStorage\n ]\n};\nexport class Storage {\n /**\n * Create a new Storage instance using the order of drivers and any additional config\n * options to pass to LocalForage.\n *\n * Possible default driverOrder options are: ['indexeddb', 'localstorage'] and the\n * default is that exact ordering.\n *\n * When using Ionic Secure Storage (enterprise only), use ['ionicSecureStorage', 'indexeddb', 'localstorage'] to ensure\n * Secure Storage is used when available, or fall back to IndexedDB or LocalStorage on the web.\n */\n constructor(config = defaultConfig) {\n this._db = null;\n this._secureStorageDriver = null;\n const actualConfig = Object.assign({}, defaultConfig, config || {});\n this._config = actualConfig;\n }\n async create() {\n const db = LocalForage.createInstance(this._config);\n this._db = db;\n await db.setDriver(this._config.driverOrder || []);\n return this;\n }\n /**\n * Define a new Driver. Must be called before\n * initializing the database. Example:\n *\n * await storage.defineDriver(myDriver);\n * await storage.create();\n */\n async defineDriver(driver) {\n if (driver._driver === Drivers.SecureStorage) {\n this._secureStorageDriver = driver;\n }\n return LocalForage.defineDriver(driver);\n }\n /**\n * Get the name of the driver being used.\n * @returns Name of the driver\n */\n get driver() {\n var _a;\n return ((_a = this._db) === null || _a === void 0 ? void 0 : _a.driver()) || null;\n }\n assertDb() {\n if (!this._db) {\n throw new Error('Database not created. Must call create() first');\n }\n return this._db;\n }\n /**\n * Get the value associated with the given key.\n * @param key the key to identify this value\n * @returns Returns a promise with the value of the given key\n */\n get(key) {\n const db = this.assertDb();\n return db.getItem(key);\n }\n /**\n * Set the value for the given key.\n * @param key the key to identify this value\n * @param value the value for this key\n * @returns Returns a promise that resolves when the key and value are set\n */\n set(key, value) {\n const db = this.assertDb();\n return db.setItem(key, value);\n }\n /**\n * Remove any value associated with this key.\n * @param key the key to identify this value\n * @returns Returns a promise that resolves when the value is removed\n */\n remove(key) {\n const db = this.assertDb();\n return db.removeItem(key);\n }\n /**\n * Clear the entire key value store. WARNING: HOT!\n * @returns Returns a promise that resolves when the store is cleared\n */\n clear() {\n const db = this.assertDb();\n return db.clear();\n }\n /**\n * @returns Returns a promise that resolves with the number of keys stored.\n */\n length() {\n const db = this.assertDb();\n return db.length();\n }\n /**\n * @returns Returns a promise that resolves with the keys in the store.\n */\n keys() {\n const db = this.assertDb();\n return db.keys();\n }\n /**\n * Iterate through each key,value pair.\n * @param iteratorCallback a callback of the form (value, key, iterationNumber)\n * @returns Returns a promise that resolves when the iteration has finished.\n */\n forEach(iteratorCallback) {\n const db = this.assertDb();\n return db.iterate(iteratorCallback);\n }\n setEncryptionKey(key) {\n var _a;\n if (!this._secureStorageDriver) {\n throw new Error('@ionic-enterprise/secure-storage not installed. Encryption support not available');\n }\n else {\n (_a = this._secureStorageDriver) === null || _a === void 0 ? void 0 : _a.setEncryptionKey(key);\n }\n }\n}\n","'use strict';\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin \n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\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 *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (typeof module !== 'undefined') {\n module.exports = dijkstra;\n}\n","'use strict'\n\nmodule.exports = function encodeUtf8 (input) {\n var result = []\n var size = input.length\n\n for (var index = 0; index < size; index++) {\n var point = input.charCodeAt(index)\n\n if (point >= 0xD800 && point <= 0xDBFF && size > index + 1) {\n var second = input.charCodeAt(index + 1)\n\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n point = (point - 0xD800) * 0x400 + second - 0xDC00 + 0x10000\n index += 1\n }\n }\n\n // US-ASCII\n if (point < 0x80) {\n result.push(point)\n continue\n }\n\n // 2-byte UTF-8\n if (point < 0x800) {\n result.push((point >> 6) | 192)\n result.push((point & 63) | 128)\n continue\n }\n\n // 3-byte UTF-8\n if (point < 0xD800 || (point >= 0xE000 && point < 0x10000)) {\n result.push((point >> 12) | 224)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // 4-byte UTF-8\n if (point >= 0x10000 && point <= 0x10FFFF) {\n result.push((point >> 18) | 240)\n result.push(((point >> 12) & 63) | 128)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // Invalid character\n result.push(0xEF, 0xBF, 0xBD)\n }\n\n return new Uint8Array(result).buffer\n}\n","/*!\n localForage -- Offline Storage, Improved\n Version 1.10.0\n https://localforage.github.io/localForage\n (c) 2013-2017 Mozilla, Apache License 2.0\n*/\n(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.localforage = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw (f.code=\"MODULE_NOT_FOUND\", f)}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o element; its readystatechange event will be fired asynchronously once it is inserted\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\n var scriptEl = global.document.createElement('script');\n scriptEl.onreadystatechange = function () {\n nextTick();\n\n scriptEl.onreadystatechange = null;\n scriptEl.parentNode.removeChild(scriptEl);\n scriptEl = null;\n };\n global.document.documentElement.appendChild(scriptEl);\n };\n } else {\n scheduleDrain = function () {\n setTimeout(nextTick, 0);\n };\n }\n}\n\nvar draining;\nvar queue = [];\n//named nextTick for less confusing stack traces\nfunction nextTick() {\n draining = true;\n var i, oldQueue;\n var len = queue.length;\n while (len) {\n oldQueue = queue;\n queue = [];\n i = -1;\n while (++i < len) {\n oldQueue[i]();\n }\n len = queue.length;\n }\n draining = false;\n}\n\nmodule.exports = immediate;\nfunction immediate(task) {\n if (queue.push(task) === 1 && !draining) {\n scheduleDrain();\n }\n}\n\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{}],2:[function(_dereq_,module,exports){\n'use strict';\nvar immediate = _dereq_(1);\n\n/* istanbul ignore next */\nfunction INTERNAL() {}\n\nvar handlers = {};\n\nvar REJECTED = ['REJECTED'];\nvar FULFILLED = ['FULFILLED'];\nvar PENDING = ['PENDING'];\n\nmodule.exports = Promise;\n\nfunction Promise(resolver) {\n if (typeof resolver !== 'function') {\n throw new TypeError('resolver must be a function');\n }\n this.state = PENDING;\n this.queue = [];\n this.outcome = void 0;\n if (resolver !== INTERNAL) {\n safelyResolveThenable(this, resolver);\n }\n}\n\nPromise.prototype[\"catch\"] = function (onRejected) {\n return this.then(null, onRejected);\n};\nPromise.prototype.then = function (onFulfilled, onRejected) {\n if (typeof onFulfilled !== 'function' && this.state === FULFILLED ||\n typeof onRejected !== 'function' && this.state === REJECTED) {\n return this;\n }\n var promise = new this.constructor(INTERNAL);\n if (this.state !== PENDING) {\n var resolver = this.state === FULFILLED ? onFulfilled : onRejected;\n unwrap(promise, resolver, this.outcome);\n } else {\n this.queue.push(new QueueItem(promise, onFulfilled, onRejected));\n }\n\n return promise;\n};\nfunction QueueItem(promise, onFulfilled, onRejected) {\n this.promise = promise;\n if (typeof onFulfilled === 'function') {\n this.onFulfilled = onFulfilled;\n this.callFulfilled = this.otherCallFulfilled;\n }\n if (typeof onRejected === 'function') {\n this.onRejected = onRejected;\n this.callRejected = this.otherCallRejected;\n }\n}\nQueueItem.prototype.callFulfilled = function (value) {\n handlers.resolve(this.promise, value);\n};\nQueueItem.prototype.otherCallFulfilled = function (value) {\n unwrap(this.promise, this.onFulfilled, value);\n};\nQueueItem.prototype.callRejected = function (value) {\n handlers.reject(this.promise, value);\n};\nQueueItem.prototype.otherCallRejected = function (value) {\n unwrap(this.promise, this.onRejected, value);\n};\n\nfunction unwrap(promise, func, value) {\n immediate(function () {\n var returnValue;\n try {\n returnValue = func(value);\n } catch (e) {\n return handlers.reject(promise, e);\n }\n if (returnValue === promise) {\n handlers.reject(promise, new TypeError('Cannot resolve promise with itself'));\n } else {\n handlers.resolve(promise, returnValue);\n }\n });\n}\n\nhandlers.resolve = function (self, value) {\n var result = tryCatch(getThen, value);\n if (result.status === 'error') {\n return handlers.reject(self, result.value);\n }\n var thenable = result.value;\n\n if (thenable) {\n safelyResolveThenable(self, thenable);\n } else {\n self.state = FULFILLED;\n self.outcome = value;\n var i = -1;\n var len = self.queue.length;\n while (++i < len) {\n self.queue[i].callFulfilled(value);\n }\n }\n return self;\n};\nhandlers.reject = function (self, error) {\n self.state = REJECTED;\n self.outcome = error;\n var i = -1;\n var len = self.queue.length;\n while (++i < len) {\n self.queue[i].callRejected(error);\n }\n return self;\n};\n\nfunction getThen(obj) {\n // Make sure we only access the accessor once as required by the spec\n var then = obj && obj.then;\n if (obj && (typeof obj === 'object' || typeof obj === 'function') && typeof then === 'function') {\n return function appyThen() {\n then.apply(obj, arguments);\n };\n }\n}\n\nfunction safelyResolveThenable(self, thenable) {\n // Either fulfill, reject or reject with error\n var called = false;\n function onError(value) {\n if (called) {\n return;\n }\n called = true;\n handlers.reject(self, value);\n }\n\n function onSuccess(value) {\n if (called) {\n return;\n }\n called = true;\n handlers.resolve(self, value);\n }\n\n function tryToUnwrap() {\n thenable(onSuccess, onError);\n }\n\n var result = tryCatch(tryToUnwrap);\n if (result.status === 'error') {\n onError(result.value);\n }\n}\n\nfunction tryCatch(func, value) {\n var out = {};\n try {\n out.value = func(value);\n out.status = 'success';\n } catch (e) {\n out.status = 'error';\n out.value = e;\n }\n return out;\n}\n\nPromise.resolve = resolve;\nfunction resolve(value) {\n if (value instanceof this) {\n return value;\n }\n return handlers.resolve(new this(INTERNAL), value);\n}\n\nPromise.reject = reject;\nfunction reject(reason) {\n var promise = new this(INTERNAL);\n return handlers.reject(promise, reason);\n}\n\nPromise.all = all;\nfunction all(iterable) {\n var self = this;\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\n return this.reject(new TypeError('must be an array'));\n }\n\n var len = iterable.length;\n var called = false;\n if (!len) {\n return this.resolve([]);\n }\n\n var values = new Array(len);\n var resolved = 0;\n var i = -1;\n var promise = new this(INTERNAL);\n\n while (++i < len) {\n allResolver(iterable[i], i);\n }\n return promise;\n function allResolver(value, i) {\n self.resolve(value).then(resolveFromAll, function (error) {\n if (!called) {\n called = true;\n handlers.reject(promise, error);\n }\n });\n function resolveFromAll(outValue) {\n values[i] = outValue;\n if (++resolved === len && !called) {\n called = true;\n handlers.resolve(promise, values);\n }\n }\n }\n}\n\nPromise.race = race;\nfunction race(iterable) {\n var self = this;\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\n return this.reject(new TypeError('must be an array'));\n }\n\n var len = iterable.length;\n var called = false;\n if (!len) {\n return this.resolve([]);\n }\n\n var i = -1;\n var promise = new this(INTERNAL);\n\n while (++i < len) {\n resolver(iterable[i]);\n }\n return promise;\n function resolver(value) {\n self.resolve(value).then(function (response) {\n if (!called) {\n called = true;\n handlers.resolve(promise, response);\n }\n }, function (error) {\n if (!called) {\n called = true;\n handlers.reject(promise, error);\n }\n });\n }\n}\n\n},{\"1\":1}],3:[function(_dereq_,module,exports){\n(function (global){\n'use strict';\nif (typeof global.Promise !== 'function') {\n global.Promise = _dereq_(2);\n}\n\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{\"2\":2}],4:[function(_dereq_,module,exports){\n'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction getIDB() {\n /* global indexedDB,webkitIndexedDB,mozIndexedDB,OIndexedDB,msIndexedDB */\n try {\n if (typeof indexedDB !== 'undefined') {\n return indexedDB;\n }\n if (typeof webkitIndexedDB !== 'undefined') {\n return webkitIndexedDB;\n }\n if (typeof mozIndexedDB !== 'undefined') {\n return mozIndexedDB;\n }\n if (typeof OIndexedDB !== 'undefined') {\n return OIndexedDB;\n }\n if (typeof msIndexedDB !== 'undefined') {\n return msIndexedDB;\n }\n } catch (e) {\n return;\n }\n}\n\nvar idb = getIDB();\n\nfunction isIndexedDBValid() {\n try {\n // Initialize IndexedDB; fall back to vendor-prefixed versions\n // if needed.\n if (!idb || !idb.open) {\n return false;\n }\n // We mimic PouchDB here;\n //\n // We test for openDatabase because IE Mobile identifies itself\n // as Safari. Oh the lulz...\n var isSafari = typeof openDatabase !== 'undefined' && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform);\n\n var hasFetch = typeof fetch === 'function' && fetch.toString().indexOf('[native code') !== -1;\n\n // Safari <10.1 does not meet our requirements for IDB support\n // (see: https://github.com/pouchdb/pouchdb/issues/5572).\n // Safari 10.1 shipped with fetch, we can use that to detect it.\n // Note: this creates issues with `window.fetch` polyfills and\n // overrides; see:\n // https://github.com/localForage/localForage/issues/856\n return (!isSafari || hasFetch) && typeof indexedDB !== 'undefined' &&\n // some outdated implementations of IDB that appear on Samsung\n // and HTC Android devices <4.4 are missing IDBKeyRange\n // See: https://github.com/mozilla/localForage/issues/128\n // See: https://github.com/mozilla/localForage/issues/272\n typeof IDBKeyRange !== 'undefined';\n } catch (e) {\n return false;\n }\n}\n\n// Abstracts constructing a Blob object, so it also works in older\n// browsers that don't support the native Blob constructor. (i.e.\n// old QtWebKit versions, at least).\n// Abstracts constructing a Blob object, so it also works in older\n// browsers that don't support the native Blob constructor. (i.e.\n// old QtWebKit versions, at least).\nfunction createBlob(parts, properties) {\n /* global BlobBuilder,MSBlobBuilder,MozBlobBuilder,WebKitBlobBuilder */\n parts = parts || [];\n properties = properties || {};\n try {\n return new Blob(parts, properties);\n } catch (e) {\n if (e.name !== 'TypeError') {\n throw e;\n }\n var Builder = typeof BlobBuilder !== 'undefined' ? BlobBuilder : typeof MSBlobBuilder !== 'undefined' ? MSBlobBuilder : typeof MozBlobBuilder !== 'undefined' ? MozBlobBuilder : WebKitBlobBuilder;\n var builder = new Builder();\n for (var i = 0; i < parts.length; i += 1) {\n builder.append(parts[i]);\n }\n return builder.getBlob(properties.type);\n }\n}\n\n// This is CommonJS because lie is an external dependency, so Rollup\n// can just ignore it.\nif (typeof Promise === 'undefined') {\n // In the \"nopromises\" build this will just throw if you don't have\n // a global promise object, but it would throw anyway later.\n _dereq_(3);\n}\nvar Promise$1 = Promise;\n\nfunction executeCallback(promise, callback) {\n if (callback) {\n promise.then(function (result) {\n callback(null, result);\n }, function (error) {\n callback(error);\n });\n }\n}\n\nfunction executeTwoCallbacks(promise, callback, errorCallback) {\n if (typeof callback === 'function') {\n promise.then(callback);\n }\n\n if (typeof errorCallback === 'function') {\n promise[\"catch\"](errorCallback);\n }\n}\n\nfunction normalizeKey(key) {\n // Cast the key to a string, as that's all we can set as a key.\n if (typeof key !== 'string') {\n console.warn(key + ' used as a key, but it is not a string.');\n key = String(key);\n }\n\n return key;\n}\n\nfunction getCallback() {\n if (arguments.length && typeof arguments[arguments.length - 1] === 'function') {\n return arguments[arguments.length - 1];\n }\n}\n\n// Some code originally from async_storage.js in\n// [Gaia](https://github.com/mozilla-b2g/gaia).\n\nvar DETECT_BLOB_SUPPORT_STORE = 'local-forage-detect-blob-support';\nvar supportsBlobs = void 0;\nvar dbContexts = {};\nvar toString = Object.prototype.toString;\n\n// Transaction Modes\nvar READ_ONLY = 'readonly';\nvar READ_WRITE = 'readwrite';\n\n// Transform a binary string to an array buffer, because otherwise\n// weird stuff happens when you try to work with the binary string directly.\n// It is known.\n// From http://stackoverflow.com/questions/14967647/ (continues on next line)\n// encode-decode-image-with-base64-breaks-image (2013-04-21)\nfunction _binStringToArrayBuffer(bin) {\n var length = bin.length;\n var buf = new ArrayBuffer(length);\n var arr = new Uint8Array(buf);\n for (var i = 0; i < length; i++) {\n arr[i] = bin.charCodeAt(i);\n }\n return buf;\n}\n\n//\n// Blobs are not supported in all versions of IndexedDB, notably\n// Chrome <37 and Android <5. In those versions, storing a blob will throw.\n//\n// Various other blob bugs exist in Chrome v37-42 (inclusive).\n// Detecting them is expensive and confusing to users, and Chrome 37-42\n// is at very low usage worldwide, so we do a hacky userAgent check instead.\n//\n// content-type bug: https://code.google.com/p/chromium/issues/detail?id=408120\n// 404 bug: https://code.google.com/p/chromium/issues/detail?id=447916\n// FileReader bug: https://code.google.com/p/chromium/issues/detail?id=447836\n//\n// Code borrowed from PouchDB. See:\n// https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-adapter-idb/src/blobSupport.js\n//\nfunction _checkBlobSupportWithoutCaching(idb) {\n return new Promise$1(function (resolve) {\n var txn = idb.transaction(DETECT_BLOB_SUPPORT_STORE, READ_WRITE);\n var blob = createBlob(['']);\n txn.objectStore(DETECT_BLOB_SUPPORT_STORE).put(blob, 'key');\n\n txn.onabort = function (e) {\n // If the transaction aborts now its due to not being able to\n // write to the database, likely due to the disk being full\n e.preventDefault();\n e.stopPropagation();\n resolve(false);\n };\n\n txn.oncomplete = function () {\n var matchedChrome = navigator.userAgent.match(/Chrome\\/(\\d+)/);\n var matchedEdge = navigator.userAgent.match(/Edge\\//);\n // MS Edge pretends to be Chrome 42:\n // https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx\n resolve(matchedEdge || !matchedChrome || parseInt(matchedChrome[1], 10) >= 43);\n };\n })[\"catch\"](function () {\n return false; // error, so assume unsupported\n });\n}\n\nfunction _checkBlobSupport(idb) {\n if (typeof supportsBlobs === 'boolean') {\n return Promise$1.resolve(supportsBlobs);\n }\n return _checkBlobSupportWithoutCaching(idb).then(function (value) {\n supportsBlobs = value;\n return supportsBlobs;\n });\n}\n\nfunction _deferReadiness(dbInfo) {\n var dbContext = dbContexts[dbInfo.name];\n\n // Create a deferred object representing the current database operation.\n var deferredOperation = {};\n\n deferredOperation.promise = new Promise$1(function (resolve, reject) {\n deferredOperation.resolve = resolve;\n deferredOperation.reject = reject;\n });\n\n // Enqueue the deferred operation.\n dbContext.deferredOperations.push(deferredOperation);\n\n // Chain its promise to the database readiness.\n if (!dbContext.dbReady) {\n dbContext.dbReady = deferredOperation.promise;\n } else {\n dbContext.dbReady = dbContext.dbReady.then(function () {\n return deferredOperation.promise;\n });\n }\n}\n\nfunction _advanceReadiness(dbInfo) {\n var dbContext = dbContexts[dbInfo.name];\n\n // Dequeue a deferred operation.\n var deferredOperation = dbContext.deferredOperations.pop();\n\n // Resolve its promise (which is part of the database readiness\n // chain of promises).\n if (deferredOperation) {\n deferredOperation.resolve();\n return deferredOperation.promise;\n }\n}\n\nfunction _rejectReadiness(dbInfo, err) {\n var dbContext = dbContexts[dbInfo.name];\n\n // Dequeue a deferred operation.\n var deferredOperation = dbContext.deferredOperations.pop();\n\n // Reject its promise (which is part of the database readiness\n // chain of promises).\n if (deferredOperation) {\n deferredOperation.reject(err);\n return deferredOperation.promise;\n }\n}\n\nfunction _getConnection(dbInfo, upgradeNeeded) {\n return new Promise$1(function (resolve, reject) {\n dbContexts[dbInfo.name] = dbContexts[dbInfo.name] || createDbContext();\n\n if (dbInfo.db) {\n if (upgradeNeeded) {\n _deferReadiness(dbInfo);\n dbInfo.db.close();\n } else {\n return resolve(dbInfo.db);\n }\n }\n\n var dbArgs = [dbInfo.name];\n\n if (upgradeNeeded) {\n dbArgs.push(dbInfo.version);\n }\n\n var openreq = idb.open.apply(idb, dbArgs);\n\n if (upgradeNeeded) {\n openreq.onupgradeneeded = function (e) {\n var db = openreq.result;\n try {\n db.createObjectStore(dbInfo.storeName);\n if (e.oldVersion <= 1) {\n // Added when support for blob shims was added\n db.createObjectStore(DETECT_BLOB_SUPPORT_STORE);\n }\n } catch (ex) {\n if (ex.name === 'ConstraintError') {\n console.warn('The database \"' + dbInfo.name + '\"' + ' has been upgraded from version ' + e.oldVersion + ' to version ' + e.newVersion + ', but the storage \"' + dbInfo.storeName + '\" already exists.');\n } else {\n throw ex;\n }\n }\n };\n }\n\n openreq.onerror = function (e) {\n e.preventDefault();\n reject(openreq.error);\n };\n\n openreq.onsuccess = function () {\n var db = openreq.result;\n db.onversionchange = function (e) {\n // Triggered when the database is modified (e.g. adding an objectStore) or\n // deleted (even when initiated by other sessions in different tabs).\n // Closing the connection here prevents those operations from being blocked.\n // If the database is accessed again later by this instance, the connection\n // will be reopened or the database recreated as needed.\n e.target.close();\n };\n resolve(db);\n _advanceReadiness(dbInfo);\n };\n });\n}\n\nfunction _getOriginalConnection(dbInfo) {\n return _getConnection(dbInfo, false);\n}\n\nfunction _getUpgradedConnection(dbInfo) {\n return _getConnection(dbInfo, true);\n}\n\nfunction _isUpgradeNeeded(dbInfo, defaultVersion) {\n if (!dbInfo.db) {\n return true;\n }\n\n var isNewStore = !dbInfo.db.objectStoreNames.contains(dbInfo.storeName);\n var isDowngrade = dbInfo.version < dbInfo.db.version;\n var isUpgrade = dbInfo.version > dbInfo.db.version;\n\n if (isDowngrade) {\n // If the version is not the default one\n // then warn for impossible downgrade.\n if (dbInfo.version !== defaultVersion) {\n console.warn('The database \"' + dbInfo.name + '\"' + \" can't be downgraded from version \" + dbInfo.db.version + ' to version ' + dbInfo.version + '.');\n }\n // Align the versions to prevent errors.\n dbInfo.version = dbInfo.db.version;\n }\n\n if (isUpgrade || isNewStore) {\n // If the store is new then increment the version (if needed).\n // This will trigger an \"upgradeneeded\" event which is required\n // for creating a store.\n if (isNewStore) {\n var incVersion = dbInfo.db.version + 1;\n if (incVersion > dbInfo.version) {\n dbInfo.version = incVersion;\n }\n }\n\n return true;\n }\n\n return false;\n}\n\n// encode a blob for indexeddb engines that don't support blobs\nfunction _encodeBlob(blob) {\n return new Promise$1(function (resolve, reject) {\n var reader = new FileReader();\n reader.onerror = reject;\n reader.onloadend = function (e) {\n var base64 = btoa(e.target.result || '');\n resolve({\n __local_forage_encoded_blob: true,\n data: base64,\n type: blob.type\n });\n };\n reader.readAsBinaryString(blob);\n });\n}\n\n// decode an encoded blob\nfunction _decodeBlob(encodedBlob) {\n var arrayBuff = _binStringToArrayBuffer(atob(encodedBlob.data));\n return createBlob([arrayBuff], { type: encodedBlob.type });\n}\n\n// is this one of our fancy encoded blobs?\nfunction _isEncodedBlob(value) {\n return value && value.__local_forage_encoded_blob;\n}\n\n// Specialize the default `ready()` function by making it dependent\n// on the current database operations. Thus, the driver will be actually\n// ready when it's been initialized (default) *and* there are no pending\n// operations on the database (initiated by some other instances).\nfunction _fullyReady(callback) {\n var self = this;\n\n var promise = self._initReady().then(function () {\n var dbContext = dbContexts[self._dbInfo.name];\n\n if (dbContext && dbContext.dbReady) {\n return dbContext.dbReady;\n }\n });\n\n executeTwoCallbacks(promise, callback, callback);\n return promise;\n}\n\n// Try to establish a new db connection to replace the\n// current one which is broken (i.e. experiencing\n// InvalidStateError while creating a transaction).\nfunction _tryReconnect(dbInfo) {\n _deferReadiness(dbInfo);\n\n var dbContext = dbContexts[dbInfo.name];\n var forages = dbContext.forages;\n\n for (var i = 0; i < forages.length; i++) {\n var forage = forages[i];\n if (forage._dbInfo.db) {\n forage._dbInfo.db.close();\n forage._dbInfo.db = null;\n }\n }\n dbInfo.db = null;\n\n return _getOriginalConnection(dbInfo).then(function (db) {\n dbInfo.db = db;\n if (_isUpgradeNeeded(dbInfo)) {\n // Reopen the database for upgrading.\n return _getUpgradedConnection(dbInfo);\n }\n return db;\n }).then(function (db) {\n // store the latest db reference\n // in case the db was upgraded\n dbInfo.db = dbContext.db = db;\n for (var i = 0; i < forages.length; i++) {\n forages[i]._dbInfo.db = db;\n }\n })[\"catch\"](function (err) {\n _rejectReadiness(dbInfo, err);\n throw err;\n });\n}\n\n// FF doesn't like Promises (micro-tasks) and IDDB store operations,\n// so we have to do it with callbacks\nfunction createTransaction(dbInfo, mode, callback, retries) {\n if (retries === undefined) {\n retries = 1;\n }\n\n try {\n var tx = dbInfo.db.transaction(dbInfo.storeName, mode);\n callback(null, tx);\n } catch (err) {\n if (retries > 0 && (!dbInfo.db || err.name === 'InvalidStateError' || err.name === 'NotFoundError')) {\n return Promise$1.resolve().then(function () {\n if (!dbInfo.db || err.name === 'NotFoundError' && !dbInfo.db.objectStoreNames.contains(dbInfo.storeName) && dbInfo.version <= dbInfo.db.version) {\n // increase the db version, to create the new ObjectStore\n if (dbInfo.db) {\n dbInfo.version = dbInfo.db.version + 1;\n }\n // Reopen the database for upgrading.\n return _getUpgradedConnection(dbInfo);\n }\n }).then(function () {\n return _tryReconnect(dbInfo).then(function () {\n createTransaction(dbInfo, mode, callback, retries - 1);\n });\n })[\"catch\"](callback);\n }\n\n callback(err);\n }\n}\n\nfunction createDbContext() {\n return {\n // Running localForages sharing a database.\n forages: [],\n // Shared database.\n db: null,\n // Database readiness (promise).\n dbReady: null,\n // Deferred operations on the database.\n deferredOperations: []\n };\n}\n\n// Open the IndexedDB database (automatically creates one if one didn't\n// previously exist), using any options set in the config.\nfunction _initStorage(options) {\n var self = this;\n var dbInfo = {\n db: null\n };\n\n if (options) {\n for (var i in options) {\n dbInfo[i] = options[i];\n }\n }\n\n // Get the current context of the database;\n var dbContext = dbContexts[dbInfo.name];\n\n // ...or create a new context.\n if (!dbContext) {\n dbContext = createDbContext();\n // Register the new context in the global container.\n dbContexts[dbInfo.name] = dbContext;\n }\n\n // Register itself as a running localForage in the current context.\n dbContext.forages.push(self);\n\n // Replace the default `ready()` function with the specialized one.\n if (!self._initReady) {\n self._initReady = self.ready;\n self.ready = _fullyReady;\n }\n\n // Create an array of initialization states of the related localForages.\n var initPromises = [];\n\n function ignoreErrors() {\n // Don't handle errors here,\n // just makes sure related localForages aren't pending.\n return Promise$1.resolve();\n }\n\n for (var j = 0; j < dbContext.forages.length; j++) {\n var forage = dbContext.forages[j];\n if (forage !== self) {\n // Don't wait for itself...\n initPromises.push(forage._initReady()[\"catch\"](ignoreErrors));\n }\n }\n\n // Take a snapshot of the related localForages.\n var forages = dbContext.forages.slice(0);\n\n // Initialize the connection process only when\n // all the related localForages aren't pending.\n return Promise$1.all(initPromises).then(function () {\n dbInfo.db = dbContext.db;\n // Get the connection or open a new one without upgrade.\n return _getOriginalConnection(dbInfo);\n }).then(function (db) {\n dbInfo.db = db;\n if (_isUpgradeNeeded(dbInfo, self._defaultConfig.version)) {\n // Reopen the database for upgrading.\n return _getUpgradedConnection(dbInfo);\n }\n return db;\n }).then(function (db) {\n dbInfo.db = dbContext.db = db;\n self._dbInfo = dbInfo;\n // Share the final connection amongst related localForages.\n for (var k = 0; k < forages.length; k++) {\n var forage = forages[k];\n if (forage !== self) {\n // Self is already up-to-date.\n forage._dbInfo.db = dbInfo.db;\n forage._dbInfo.version = dbInfo.version;\n }\n }\n });\n}\n\nfunction getItem(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var req = store.get(key);\n\n req.onsuccess = function () {\n var value = req.result;\n if (value === undefined) {\n value = null;\n }\n if (_isEncodedBlob(value)) {\n value = _decodeBlob(value);\n }\n resolve(value);\n };\n\n req.onerror = function () {\n reject(req.error);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Iterate over all items stored in database.\nfunction iterate(iterator, callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var req = store.openCursor();\n var iterationNumber = 1;\n\n req.onsuccess = function () {\n var cursor = req.result;\n\n if (cursor) {\n var value = cursor.value;\n if (_isEncodedBlob(value)) {\n value = _decodeBlob(value);\n }\n var result = iterator(value, cursor.key, iterationNumber++);\n\n // when the iterator callback returns any\n // (non-`undefined`) value, then we stop\n // the iteration immediately\n if (result !== void 0) {\n resolve(result);\n } else {\n cursor[\"continue\"]();\n }\n } else {\n resolve();\n }\n };\n\n req.onerror = function () {\n reject(req.error);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n\n return promise;\n}\n\nfunction setItem(key, value, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n var dbInfo;\n self.ready().then(function () {\n dbInfo = self._dbInfo;\n if (toString.call(value) === '[object Blob]') {\n return _checkBlobSupport(dbInfo.db).then(function (blobSupport) {\n if (blobSupport) {\n return value;\n }\n return _encodeBlob(value);\n });\n }\n return value;\n }).then(function (value) {\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n\n // The reason we don't _save_ null is because IE 10 does\n // not support saving the `null` type in IndexedDB. How\n // ironic, given the bug below!\n // See: https://github.com/mozilla/localForage/issues/161\n if (value === null) {\n value = undefined;\n }\n\n var req = store.put(value, key);\n\n transaction.oncomplete = function () {\n // Cast to undefined so the value passed to\n // callback/promise is the same as what one would get out\n // of `getItem()` later. This leads to some weirdness\n // (setItem('foo', undefined) will return `null`), but\n // it's not my fault localStorage is our baseline and that\n // it's weird.\n if (value === undefined) {\n value = null;\n }\n\n resolve(value);\n };\n transaction.onabort = transaction.onerror = function () {\n var err = req.error ? req.error : req.transaction.error;\n reject(err);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction removeItem(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n // We use a Grunt task to make this safe for IE and some\n // versions of Android (including those used by Cordova).\n // Normally IE won't like `.delete()` and will insist on\n // using `['delete']()`, but we have a build step that\n // fixes this for us now.\n var req = store[\"delete\"](key);\n transaction.oncomplete = function () {\n resolve();\n };\n\n transaction.onerror = function () {\n reject(req.error);\n };\n\n // The request will be also be aborted if we've exceeded our storage\n // space.\n transaction.onabort = function () {\n var err = req.error ? req.error : req.transaction.error;\n reject(err);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction clear(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var req = store.clear();\n\n transaction.oncomplete = function () {\n resolve();\n };\n\n transaction.onabort = transaction.onerror = function () {\n var err = req.error ? req.error : req.transaction.error;\n reject(err);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction length(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var req = store.count();\n\n req.onsuccess = function () {\n resolve(req.result);\n };\n\n req.onerror = function () {\n reject(req.error);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction key(n, callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n if (n < 0) {\n resolve(null);\n\n return;\n }\n\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var advanced = false;\n var req = store.openKeyCursor();\n\n req.onsuccess = function () {\n var cursor = req.result;\n if (!cursor) {\n // this means there weren't enough keys\n resolve(null);\n\n return;\n }\n\n if (n === 0) {\n // We have the first key, return it if that's what they\n // wanted.\n resolve(cursor.key);\n } else {\n if (!advanced) {\n // Otherwise, ask the cursor to skip ahead n\n // records.\n advanced = true;\n cursor.advance(n);\n } else {\n // When we get here, we've got the nth key.\n resolve(cursor.key);\n }\n }\n };\n\n req.onerror = function () {\n reject(req.error);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction keys(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\n if (err) {\n return reject(err);\n }\n\n try {\n var store = transaction.objectStore(self._dbInfo.storeName);\n var req = store.openKeyCursor();\n var keys = [];\n\n req.onsuccess = function () {\n var cursor = req.result;\n\n if (!cursor) {\n resolve(keys);\n return;\n }\n\n keys.push(cursor.key);\n cursor[\"continue\"]();\n };\n\n req.onerror = function () {\n reject(req.error);\n };\n } catch (e) {\n reject(e);\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction dropInstance(options, callback) {\n callback = getCallback.apply(this, arguments);\n\n var currentConfig = this.config();\n options = typeof options !== 'function' && options || {};\n if (!options.name) {\n options.name = options.name || currentConfig.name;\n options.storeName = options.storeName || currentConfig.storeName;\n }\n\n var self = this;\n var promise;\n if (!options.name) {\n promise = Promise$1.reject('Invalid arguments');\n } else {\n var isCurrentDb = options.name === currentConfig.name && self._dbInfo.db;\n\n var dbPromise = isCurrentDb ? Promise$1.resolve(self._dbInfo.db) : _getOriginalConnection(options).then(function (db) {\n var dbContext = dbContexts[options.name];\n var forages = dbContext.forages;\n dbContext.db = db;\n for (var i = 0; i < forages.length; i++) {\n forages[i]._dbInfo.db = db;\n }\n return db;\n });\n\n if (!options.storeName) {\n promise = dbPromise.then(function (db) {\n _deferReadiness(options);\n\n var dbContext = dbContexts[options.name];\n var forages = dbContext.forages;\n\n db.close();\n for (var i = 0; i < forages.length; i++) {\n var forage = forages[i];\n forage._dbInfo.db = null;\n }\n\n var dropDBPromise = new Promise$1(function (resolve, reject) {\n var req = idb.deleteDatabase(options.name);\n\n req.onerror = function () {\n var db = req.result;\n if (db) {\n db.close();\n }\n reject(req.error);\n };\n\n req.onblocked = function () {\n // Closing all open connections in onversionchange handler should prevent this situation, but if\n // we do get here, it just means the request remains pending - eventually it will succeed or error\n console.warn('dropInstance blocked for database \"' + options.name + '\" until all open connections are closed');\n };\n\n req.onsuccess = function () {\n var db = req.result;\n if (db) {\n db.close();\n }\n resolve(db);\n };\n });\n\n return dropDBPromise.then(function (db) {\n dbContext.db = db;\n for (var i = 0; i < forages.length; i++) {\n var _forage = forages[i];\n _advanceReadiness(_forage._dbInfo);\n }\n })[\"catch\"](function (err) {\n (_rejectReadiness(options, err) || Promise$1.resolve())[\"catch\"](function () {});\n throw err;\n });\n });\n } else {\n promise = dbPromise.then(function (db) {\n if (!db.objectStoreNames.contains(options.storeName)) {\n return;\n }\n\n var newVersion = db.version + 1;\n\n _deferReadiness(options);\n\n var dbContext = dbContexts[options.name];\n var forages = dbContext.forages;\n\n db.close();\n for (var i = 0; i < forages.length; i++) {\n var forage = forages[i];\n forage._dbInfo.db = null;\n forage._dbInfo.version = newVersion;\n }\n\n var dropObjectPromise = new Promise$1(function (resolve, reject) {\n var req = idb.open(options.name, newVersion);\n\n req.onerror = function (err) {\n var db = req.result;\n db.close();\n reject(err);\n };\n\n req.onupgradeneeded = function () {\n var db = req.result;\n db.deleteObjectStore(options.storeName);\n };\n\n req.onsuccess = function () {\n var db = req.result;\n db.close();\n resolve(db);\n };\n });\n\n return dropObjectPromise.then(function (db) {\n dbContext.db = db;\n for (var j = 0; j < forages.length; j++) {\n var _forage2 = forages[j];\n _forage2._dbInfo.db = db;\n _advanceReadiness(_forage2._dbInfo);\n }\n })[\"catch\"](function (err) {\n (_rejectReadiness(options, err) || Promise$1.resolve())[\"catch\"](function () {});\n throw err;\n });\n });\n }\n }\n\n executeCallback(promise, callback);\n return promise;\n}\n\nvar asyncStorage = {\n _driver: 'asyncStorage',\n _initStorage: _initStorage,\n _support: isIndexedDBValid(),\n iterate: iterate,\n getItem: getItem,\n setItem: setItem,\n removeItem: removeItem,\n clear: clear,\n length: length,\n key: key,\n keys: keys,\n dropInstance: dropInstance\n};\n\nfunction isWebSQLValid() {\n return typeof openDatabase === 'function';\n}\n\n// Sadly, the best way to save binary data in WebSQL/localStorage is serializing\n// it to Base64, so this is how we store it to prevent very strange errors with less\n// verbose ways of binary <-> string data storage.\nvar BASE_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\nvar BLOB_TYPE_PREFIX = '~~local_forage_type~';\nvar BLOB_TYPE_PREFIX_REGEX = /^~~local_forage_type~([^~]+)~/;\n\nvar SERIALIZED_MARKER = '__lfsc__:';\nvar SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER.length;\n\n// OMG the serializations!\nvar TYPE_ARRAYBUFFER = 'arbf';\nvar TYPE_BLOB = 'blob';\nvar TYPE_INT8ARRAY = 'si08';\nvar TYPE_UINT8ARRAY = 'ui08';\nvar TYPE_UINT8CLAMPEDARRAY = 'uic8';\nvar TYPE_INT16ARRAY = 'si16';\nvar TYPE_INT32ARRAY = 'si32';\nvar TYPE_UINT16ARRAY = 'ur16';\nvar TYPE_UINT32ARRAY = 'ui32';\nvar TYPE_FLOAT32ARRAY = 'fl32';\nvar TYPE_FLOAT64ARRAY = 'fl64';\nvar TYPE_SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER_LENGTH + TYPE_ARRAYBUFFER.length;\n\nvar toString$1 = Object.prototype.toString;\n\nfunction stringToBuffer(serializedString) {\n // Fill the string into a ArrayBuffer.\n var bufferLength = serializedString.length * 0.75;\n var len = serializedString.length;\n var i;\n var p = 0;\n var encoded1, encoded2, encoded3, encoded4;\n\n if (serializedString[serializedString.length - 1] === '=') {\n bufferLength--;\n if (serializedString[serializedString.length - 2] === '=') {\n bufferLength--;\n }\n }\n\n var buffer = new ArrayBuffer(bufferLength);\n var bytes = new Uint8Array(buffer);\n\n for (i = 0; i < len; i += 4) {\n encoded1 = BASE_CHARS.indexOf(serializedString[i]);\n encoded2 = BASE_CHARS.indexOf(serializedString[i + 1]);\n encoded3 = BASE_CHARS.indexOf(serializedString[i + 2]);\n encoded4 = BASE_CHARS.indexOf(serializedString[i + 3]);\n\n /*jslint bitwise: true */\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 return buffer;\n}\n\n// Converts a buffer to a string to store, serialized, in the backend\n// storage library.\nfunction bufferToString(buffer) {\n // base64-arraybuffer\n var bytes = new Uint8Array(buffer);\n var base64String = '';\n var i;\n\n for (i = 0; i < bytes.length; i += 3) {\n /*jslint bitwise: true */\n base64String += BASE_CHARS[bytes[i] >> 2];\n base64String += BASE_CHARS[(bytes[i] & 3) << 4 | bytes[i + 1] >> 4];\n base64String += BASE_CHARS[(bytes[i + 1] & 15) << 2 | bytes[i + 2] >> 6];\n base64String += BASE_CHARS[bytes[i + 2] & 63];\n }\n\n if (bytes.length % 3 === 2) {\n base64String = base64String.substring(0, base64String.length - 1) + '=';\n } else if (bytes.length % 3 === 1) {\n base64String = base64String.substring(0, base64String.length - 2) + '==';\n }\n\n return base64String;\n}\n\n// Serialize a value, afterwards executing a callback (which usually\n// instructs the `setItem()` callback/promise to be executed). This is how\n// we store binary data with localStorage.\nfunction serialize(value, callback) {\n var valueType = '';\n if (value) {\n valueType = toString$1.call(value);\n }\n\n // Cannot use `value instanceof ArrayBuffer` or such here, as these\n // checks fail when running the tests using casper.js...\n //\n // TODO: See why those tests fail and use a better solution.\n if (value && (valueType === '[object ArrayBuffer]' || value.buffer && toString$1.call(value.buffer) === '[object ArrayBuffer]')) {\n // Convert binary arrays to a string and prefix the string with\n // a special marker.\n var buffer;\n var marker = SERIALIZED_MARKER;\n\n if (value instanceof ArrayBuffer) {\n buffer = value;\n marker += TYPE_ARRAYBUFFER;\n } else {\n buffer = value.buffer;\n\n if (valueType === '[object Int8Array]') {\n marker += TYPE_INT8ARRAY;\n } else if (valueType === '[object Uint8Array]') {\n marker += TYPE_UINT8ARRAY;\n } else if (valueType === '[object Uint8ClampedArray]') {\n marker += TYPE_UINT8CLAMPEDARRAY;\n } else if (valueType === '[object Int16Array]') {\n marker += TYPE_INT16ARRAY;\n } else if (valueType === '[object Uint16Array]') {\n marker += TYPE_UINT16ARRAY;\n } else if (valueType === '[object Int32Array]') {\n marker += TYPE_INT32ARRAY;\n } else if (valueType === '[object Uint32Array]') {\n marker += TYPE_UINT32ARRAY;\n } else if (valueType === '[object Float32Array]') {\n marker += TYPE_FLOAT32ARRAY;\n } else if (valueType === '[object Float64Array]') {\n marker += TYPE_FLOAT64ARRAY;\n } else {\n callback(new Error('Failed to get type for BinaryArray'));\n }\n }\n\n callback(marker + bufferToString(buffer));\n } else if (valueType === '[object Blob]') {\n // Conver the blob to a binaryArray and then to a string.\n var fileReader = new FileReader();\n\n fileReader.onload = function () {\n // Backwards-compatible prefix for the blob type.\n var str = BLOB_TYPE_PREFIX + value.type + '~' + bufferToString(this.result);\n\n callback(SERIALIZED_MARKER + TYPE_BLOB + str);\n };\n\n fileReader.readAsArrayBuffer(value);\n } else {\n try {\n callback(JSON.stringify(value));\n } catch (e) {\n console.error(\"Couldn't convert value into a JSON string: \", value);\n\n callback(null, e);\n }\n }\n}\n\n// Deserialize data we've inserted into a value column/field. We place\n// special markers into our strings to mark them as encoded; this isn't\n// as nice as a meta field, but it's the only sane thing we can do whilst\n// keeping localStorage support intact.\n//\n// Oftentimes this will just deserialize JSON content, but if we have a\n// special marker (SERIALIZED_MARKER, defined above), we will extract\n// some kind of arraybuffer/binary data/typed array out of the string.\nfunction deserialize(value) {\n // If we haven't marked this string as being specially serialized (i.e.\n // something other than serialized JSON), we can just return it and be\n // done with it.\n if (value.substring(0, SERIALIZED_MARKER_LENGTH) !== SERIALIZED_MARKER) {\n return JSON.parse(value);\n }\n\n // The following code deals with deserializing some kind of Blob or\n // TypedArray. First we separate out the type of data we're dealing\n // with from the data itself.\n var serializedString = value.substring(TYPE_SERIALIZED_MARKER_LENGTH);\n var type = value.substring(SERIALIZED_MARKER_LENGTH, TYPE_SERIALIZED_MARKER_LENGTH);\n\n var blobType;\n // Backwards-compatible blob type serialization strategy.\n // DBs created with older versions of localForage will simply not have the blob type.\n if (type === TYPE_BLOB && BLOB_TYPE_PREFIX_REGEX.test(serializedString)) {\n var matcher = serializedString.match(BLOB_TYPE_PREFIX_REGEX);\n blobType = matcher[1];\n serializedString = serializedString.substring(matcher[0].length);\n }\n var buffer = stringToBuffer(serializedString);\n\n // Return the right type based on the code/type set during\n // serialization.\n switch (type) {\n case TYPE_ARRAYBUFFER:\n return buffer;\n case TYPE_BLOB:\n return createBlob([buffer], { type: blobType });\n case TYPE_INT8ARRAY:\n return new Int8Array(buffer);\n case TYPE_UINT8ARRAY:\n return new Uint8Array(buffer);\n case TYPE_UINT8CLAMPEDARRAY:\n return new Uint8ClampedArray(buffer);\n case TYPE_INT16ARRAY:\n return new Int16Array(buffer);\n case TYPE_UINT16ARRAY:\n return new Uint16Array(buffer);\n case TYPE_INT32ARRAY:\n return new Int32Array(buffer);\n case TYPE_UINT32ARRAY:\n return new Uint32Array(buffer);\n case TYPE_FLOAT32ARRAY:\n return new Float32Array(buffer);\n case TYPE_FLOAT64ARRAY:\n return new Float64Array(buffer);\n default:\n throw new Error('Unkown type: ' + type);\n }\n}\n\nvar localforageSerializer = {\n serialize: serialize,\n deserialize: deserialize,\n stringToBuffer: stringToBuffer,\n bufferToString: bufferToString\n};\n\n/*\n * Includes code from:\n *\n * base64-arraybuffer\n * https://github.com/niklasvh/base64-arraybuffer\n *\n * Copyright (c) 2012 Niklas von Hertzen\n * Licensed under the MIT license.\n */\n\nfunction createDbTable(t, dbInfo, callback, errorCallback) {\n t.executeSql('CREATE TABLE IF NOT EXISTS ' + dbInfo.storeName + ' ' + '(id INTEGER PRIMARY KEY, key unique, value)', [], callback, errorCallback);\n}\n\n// Open the WebSQL database (automatically creates one if one didn't\n// previously exist), using any options set in the config.\nfunction _initStorage$1(options) {\n var self = this;\n var dbInfo = {\n db: null\n };\n\n if (options) {\n for (var i in options) {\n dbInfo[i] = typeof options[i] !== 'string' ? options[i].toString() : options[i];\n }\n }\n\n var dbInfoPromise = new Promise$1(function (resolve, reject) {\n // Open the database; the openDatabase API will automatically\n // create it for us if it doesn't exist.\n try {\n dbInfo.db = openDatabase(dbInfo.name, String(dbInfo.version), dbInfo.description, dbInfo.size);\n } catch (e) {\n return reject(e);\n }\n\n // Create our key/value table if it doesn't exist.\n dbInfo.db.transaction(function (t) {\n createDbTable(t, dbInfo, function () {\n self._dbInfo = dbInfo;\n resolve();\n }, function (t, error) {\n reject(error);\n });\n }, reject);\n });\n\n dbInfo.serializer = localforageSerializer;\n return dbInfoPromise;\n}\n\nfunction tryExecuteSql(t, dbInfo, sqlStatement, args, callback, errorCallback) {\n t.executeSql(sqlStatement, args, callback, function (t, error) {\n if (error.code === error.SYNTAX_ERR) {\n t.executeSql('SELECT name FROM sqlite_master ' + \"WHERE type='table' AND name = ?\", [dbInfo.storeName], function (t, results) {\n if (!results.rows.length) {\n // if the table is missing (was deleted)\n // re-create it table and retry\n createDbTable(t, dbInfo, function () {\n t.executeSql(sqlStatement, args, callback, errorCallback);\n }, errorCallback);\n } else {\n errorCallback(t, error);\n }\n }, errorCallback);\n } else {\n errorCallback(t, error);\n }\n }, errorCallback);\n}\n\nfunction getItem$1(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName + ' WHERE key = ? LIMIT 1', [key], function (t, results) {\n var result = results.rows.length ? results.rows.item(0).value : null;\n\n // Check to see if this is serialized content we need to\n // unpack.\n if (result) {\n result = dbInfo.serializer.deserialize(result);\n }\n\n resolve(result);\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction iterate$1(iterator, callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName, [], function (t, results) {\n var rows = results.rows;\n var length = rows.length;\n\n for (var i = 0; i < length; i++) {\n var item = rows.item(i);\n var result = item.value;\n\n // Check to see if this is serialized content\n // we need to unpack.\n if (result) {\n result = dbInfo.serializer.deserialize(result);\n }\n\n result = iterator(result, item.key, i + 1);\n\n // void(0) prevents problems with redefinition\n // of `undefined`.\n if (result !== void 0) {\n resolve(result);\n return;\n }\n }\n\n resolve();\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction _setItem(key, value, callback, retriesLeft) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n // The localStorage API doesn't return undefined values in an\n // \"expected\" way, so undefined is always cast to null in all\n // drivers. See: https://github.com/mozilla/localForage/pull/42\n if (value === undefined) {\n value = null;\n }\n\n // Save the original value to pass to the callback.\n var originalValue = value;\n\n var dbInfo = self._dbInfo;\n dbInfo.serializer.serialize(value, function (value, error) {\n if (error) {\n reject(error);\n } else {\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'INSERT OR REPLACE INTO ' + dbInfo.storeName + ' ' + '(key, value) VALUES (?, ?)', [key, value], function () {\n resolve(originalValue);\n }, function (t, error) {\n reject(error);\n });\n }, function (sqlError) {\n // The transaction failed; check\n // to see if it's a quota error.\n if (sqlError.code === sqlError.QUOTA_ERR) {\n // We reject the callback outright for now, but\n // it's worth trying to re-run the transaction.\n // Even if the user accepts the prompt to use\n // more storage on Safari, this error will\n // be called.\n //\n // Try to re-run the transaction.\n if (retriesLeft > 0) {\n resolve(_setItem.apply(self, [key, originalValue, callback, retriesLeft - 1]));\n return;\n }\n reject(sqlError);\n }\n });\n }\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction setItem$1(key, value, callback) {\n return _setItem.apply(this, [key, value, callback, 1]);\n}\n\nfunction removeItem$1(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName + ' WHERE key = ?', [key], function () {\n resolve();\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Deletes every item in the table.\n// TODO: Find out if this resets the AUTO_INCREMENT number.\nfunction clear$1(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName, [], function () {\n resolve();\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Does a simple `COUNT(key)` to get the number of items stored in\n// localForage.\nfunction length$1(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n // Ahhh, SQL makes this one soooooo easy.\n tryExecuteSql(t, dbInfo, 'SELECT COUNT(key) as c FROM ' + dbInfo.storeName, [], function (t, results) {\n var result = results.rows.item(0).c;\n resolve(result);\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Return the key located at key index X; essentially gets the key from a\n// `WHERE id = ?`. This is the most efficient way I can think to implement\n// this rarely-used (in my experience) part of the API, but it can seem\n// inconsistent, because we do `INSERT OR REPLACE INTO` on `setItem()`, so\n// the ID of each key will change every time it's updated. Perhaps a stored\n// procedure for the `setItem()` SQL would solve this problem?\n// TODO: Don't change ID on `setItem()`.\nfunction key$1(n, callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName + ' WHERE id = ? LIMIT 1', [n + 1], function (t, results) {\n var result = results.rows.length ? results.rows.item(0).key : null;\n resolve(result);\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction keys$1(callback) {\n var self = this;\n\n var promise = new Promise$1(function (resolve, reject) {\n self.ready().then(function () {\n var dbInfo = self._dbInfo;\n dbInfo.db.transaction(function (t) {\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName, [], function (t, results) {\n var keys = [];\n\n for (var i = 0; i < results.rows.length; i++) {\n keys.push(results.rows.item(i).key);\n }\n\n resolve(keys);\n }, function (t, error) {\n reject(error);\n });\n });\n })[\"catch\"](reject);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// https://www.w3.org/TR/webdatabase/#databases\n// > There is no way to enumerate or delete the databases available for an origin from this API.\nfunction getAllStoreNames(db) {\n return new Promise$1(function (resolve, reject) {\n db.transaction(function (t) {\n t.executeSql('SELECT name FROM sqlite_master ' + \"WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'\", [], function (t, results) {\n var storeNames = [];\n\n for (var i = 0; i < results.rows.length; i++) {\n storeNames.push(results.rows.item(i).name);\n }\n\n resolve({\n db: db,\n storeNames: storeNames\n });\n }, function (t, error) {\n reject(error);\n });\n }, function (sqlError) {\n reject(sqlError);\n });\n });\n}\n\nfunction dropInstance$1(options, callback) {\n callback = getCallback.apply(this, arguments);\n\n var currentConfig = this.config();\n options = typeof options !== 'function' && options || {};\n if (!options.name) {\n options.name = options.name || currentConfig.name;\n options.storeName = options.storeName || currentConfig.storeName;\n }\n\n var self = this;\n var promise;\n if (!options.name) {\n promise = Promise$1.reject('Invalid arguments');\n } else {\n promise = new Promise$1(function (resolve) {\n var db;\n if (options.name === currentConfig.name) {\n // use the db reference of the current instance\n db = self._dbInfo.db;\n } else {\n db = openDatabase(options.name, '', '', 0);\n }\n\n if (!options.storeName) {\n // drop all database tables\n resolve(getAllStoreNames(db));\n } else {\n resolve({\n db: db,\n storeNames: [options.storeName]\n });\n }\n }).then(function (operationInfo) {\n return new Promise$1(function (resolve, reject) {\n operationInfo.db.transaction(function (t) {\n function dropTable(storeName) {\n return new Promise$1(function (resolve, reject) {\n t.executeSql('DROP TABLE IF EXISTS ' + storeName, [], function () {\n resolve();\n }, function (t, error) {\n reject(error);\n });\n });\n }\n\n var operations = [];\n for (var i = 0, len = operationInfo.storeNames.length; i < len; i++) {\n operations.push(dropTable(operationInfo.storeNames[i]));\n }\n\n Promise$1.all(operations).then(function () {\n resolve();\n })[\"catch\"](function (e) {\n reject(e);\n });\n }, function (sqlError) {\n reject(sqlError);\n });\n });\n });\n }\n\n executeCallback(promise, callback);\n return promise;\n}\n\nvar webSQLStorage = {\n _driver: 'webSQLStorage',\n _initStorage: _initStorage$1,\n _support: isWebSQLValid(),\n iterate: iterate$1,\n getItem: getItem$1,\n setItem: setItem$1,\n removeItem: removeItem$1,\n clear: clear$1,\n length: length$1,\n key: key$1,\n keys: keys$1,\n dropInstance: dropInstance$1\n};\n\nfunction isLocalStorageValid() {\n try {\n return typeof localStorage !== 'undefined' && 'setItem' in localStorage &&\n // in IE8 typeof localStorage.setItem === 'object'\n !!localStorage.setItem;\n } catch (e) {\n return false;\n }\n}\n\nfunction _getKeyPrefix(options, defaultConfig) {\n var keyPrefix = options.name + '/';\n\n if (options.storeName !== defaultConfig.storeName) {\n keyPrefix += options.storeName + '/';\n }\n return keyPrefix;\n}\n\n// Check if localStorage throws when saving an item\nfunction checkIfLocalStorageThrows() {\n var localStorageTestKey = '_localforage_support_test';\n\n try {\n localStorage.setItem(localStorageTestKey, true);\n localStorage.removeItem(localStorageTestKey);\n\n return false;\n } catch (e) {\n return true;\n }\n}\n\n// Check if localStorage is usable and allows to save an item\n// This method checks if localStorage is usable in Safari Private Browsing\n// mode, or in any other case where the available quota for localStorage\n// is 0 and there wasn't any saved items yet.\nfunction _isLocalStorageUsable() {\n return !checkIfLocalStorageThrows() || localStorage.length > 0;\n}\n\n// Config the localStorage backend, using options set in the config.\nfunction _initStorage$2(options) {\n var self = this;\n var dbInfo = {};\n if (options) {\n for (var i in options) {\n dbInfo[i] = options[i];\n }\n }\n\n dbInfo.keyPrefix = _getKeyPrefix(options, self._defaultConfig);\n\n if (!_isLocalStorageUsable()) {\n return Promise$1.reject();\n }\n\n self._dbInfo = dbInfo;\n dbInfo.serializer = localforageSerializer;\n\n return Promise$1.resolve();\n}\n\n// Remove all keys from the datastore, effectively destroying all data in\n// the app's key/value store!\nfunction clear$2(callback) {\n var self = this;\n var promise = self.ready().then(function () {\n var keyPrefix = self._dbInfo.keyPrefix;\n\n for (var i = localStorage.length - 1; i >= 0; i--) {\n var key = localStorage.key(i);\n\n if (key.indexOf(keyPrefix) === 0) {\n localStorage.removeItem(key);\n }\n }\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Retrieve an item from the store. Unlike the original async_storage\n// library in Gaia, we don't modify return values at all. If a key's value\n// is `undefined`, we pass that value to the callback function.\nfunction getItem$2(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = self.ready().then(function () {\n var dbInfo = self._dbInfo;\n var result = localStorage.getItem(dbInfo.keyPrefix + key);\n\n // If a result was found, parse it from the serialized\n // string into a JS object. If result isn't truthy, the key\n // is likely undefined and we'll pass it straight to the\n // callback.\n if (result) {\n result = dbInfo.serializer.deserialize(result);\n }\n\n return result;\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Iterate over all items in the store.\nfunction iterate$2(iterator, callback) {\n var self = this;\n\n var promise = self.ready().then(function () {\n var dbInfo = self._dbInfo;\n var keyPrefix = dbInfo.keyPrefix;\n var keyPrefixLength = keyPrefix.length;\n var length = localStorage.length;\n\n // We use a dedicated iterator instead of the `i` variable below\n // so other keys we fetch in localStorage aren't counted in\n // the `iterationNumber` argument passed to the `iterate()`\n // callback.\n //\n // See: github.com/mozilla/localForage/pull/435#discussion_r38061530\n var iterationNumber = 1;\n\n for (var i = 0; i < length; i++) {\n var key = localStorage.key(i);\n if (key.indexOf(keyPrefix) !== 0) {\n continue;\n }\n var value = localStorage.getItem(key);\n\n // If a result was found, parse it from the serialized\n // string into a JS object. If result isn't truthy, the\n // key is likely undefined and we'll pass it straight\n // to the iterator.\n if (value) {\n value = dbInfo.serializer.deserialize(value);\n }\n\n value = iterator(value, key.substring(keyPrefixLength), iterationNumber++);\n\n if (value !== void 0) {\n return value;\n }\n }\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Same as localStorage's key() method, except takes a callback.\nfunction key$2(n, callback) {\n var self = this;\n var promise = self.ready().then(function () {\n var dbInfo = self._dbInfo;\n var result;\n try {\n result = localStorage.key(n);\n } catch (error) {\n result = null;\n }\n\n // Remove the prefix from the key, if a key is found.\n if (result) {\n result = result.substring(dbInfo.keyPrefix.length);\n }\n\n return result;\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction keys$2(callback) {\n var self = this;\n var promise = self.ready().then(function () {\n var dbInfo = self._dbInfo;\n var length = localStorage.length;\n var keys = [];\n\n for (var i = 0; i < length; i++) {\n var itemKey = localStorage.key(i);\n if (itemKey.indexOf(dbInfo.keyPrefix) === 0) {\n keys.push(itemKey.substring(dbInfo.keyPrefix.length));\n }\n }\n\n return keys;\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Supply the number of keys in the datastore to the callback function.\nfunction length$2(callback) {\n var self = this;\n var promise = self.keys().then(function (keys) {\n return keys.length;\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Remove an item from the store, nice and simple.\nfunction removeItem$2(key, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = self.ready().then(function () {\n var dbInfo = self._dbInfo;\n localStorage.removeItem(dbInfo.keyPrefix + key);\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\n// Set a key's value and run an optional callback once the value is set.\n// Unlike Gaia's implementation, the callback function is passed the value,\n// in case you want to operate on that value only after you're sure it\n// saved, or something like that.\nfunction setItem$2(key, value, callback) {\n var self = this;\n\n key = normalizeKey(key);\n\n var promise = self.ready().then(function () {\n // Convert undefined values to null.\n // https://github.com/mozilla/localForage/pull/42\n if (value === undefined) {\n value = null;\n }\n\n // Save the original value to pass to the callback.\n var originalValue = value;\n\n return new Promise$1(function (resolve, reject) {\n var dbInfo = self._dbInfo;\n dbInfo.serializer.serialize(value, function (value, error) {\n if (error) {\n reject(error);\n } else {\n try {\n localStorage.setItem(dbInfo.keyPrefix + key, value);\n resolve(originalValue);\n } catch (e) {\n // localStorage capacity exceeded.\n // TODO: Make this a specific error/event.\n if (e.name === 'QuotaExceededError' || e.name === 'NS_ERROR_DOM_QUOTA_REACHED') {\n reject(e);\n }\n reject(e);\n }\n }\n });\n });\n });\n\n executeCallback(promise, callback);\n return promise;\n}\n\nfunction dropInstance$2(options, callback) {\n callback = getCallback.apply(this, arguments);\n\n options = typeof options !== 'function' && options || {};\n if (!options.name) {\n var currentConfig = this.config();\n options.name = options.name || currentConfig.name;\n options.storeName = options.storeName || currentConfig.storeName;\n }\n\n var self = this;\n var promise;\n if (!options.name) {\n promise = Promise$1.reject('Invalid arguments');\n } else {\n promise = new Promise$1(function (resolve) {\n if (!options.storeName) {\n resolve(options.name + '/');\n } else {\n resolve(_getKeyPrefix(options, self._defaultConfig));\n }\n }).then(function (keyPrefix) {\n for (var i = localStorage.length - 1; i >= 0; i--) {\n var key = localStorage.key(i);\n\n if (key.indexOf(keyPrefix) === 0) {\n localStorage.removeItem(key);\n }\n }\n });\n }\n\n executeCallback(promise, callback);\n return promise;\n}\n\nvar localStorageWrapper = {\n _driver: 'localStorageWrapper',\n _initStorage: _initStorage$2,\n _support: isLocalStorageValid(),\n iterate: iterate$2,\n getItem: getItem$2,\n setItem: setItem$2,\n removeItem: removeItem$2,\n clear: clear$2,\n length: length$2,\n key: key$2,\n keys: keys$2,\n dropInstance: dropInstance$2\n};\n\nvar sameValue = function sameValue(x, y) {\n return x === y || typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y);\n};\n\nvar includes = function includes(array, searchElement) {\n var len = array.length;\n var i = 0;\n while (i < len) {\n if (sameValue(array[i], searchElement)) {\n return true;\n }\n i++;\n }\n\n return false;\n};\n\nvar isArray = Array.isArray || function (arg) {\n return Object.prototype.toString.call(arg) === '[object Array]';\n};\n\n// Drivers are stored here when `defineDriver()` is called.\n// They are shared across all instances of localForage.\nvar DefinedDrivers = {};\n\nvar DriverSupport = {};\n\nvar DefaultDrivers = {\n INDEXEDDB: asyncStorage,\n WEBSQL: webSQLStorage,\n LOCALSTORAGE: localStorageWrapper\n};\n\nvar DefaultDriverOrder = [DefaultDrivers.INDEXEDDB._driver, DefaultDrivers.WEBSQL._driver, DefaultDrivers.LOCALSTORAGE._driver];\n\nvar OptionalDriverMethods = ['dropInstance'];\n\nvar LibraryMethods = ['clear', 'getItem', 'iterate', 'key', 'keys', 'length', 'removeItem', 'setItem'].concat(OptionalDriverMethods);\n\nvar DefaultConfig = {\n description: '',\n driver: DefaultDriverOrder.slice(),\n name: 'localforage',\n // Default DB size is _JUST UNDER_ 5MB, as it's the highest size\n // we can use without a prompt.\n size: 4980736,\n storeName: 'keyvaluepairs',\n version: 1.0\n};\n\nfunction callWhenReady(localForageInstance, libraryMethod) {\n localForageInstance[libraryMethod] = function () {\n var _args = arguments;\n return localForageInstance.ready().then(function () {\n return localForageInstance[libraryMethod].apply(localForageInstance, _args);\n });\n };\n}\n\nfunction extend() {\n for (var i = 1; i < arguments.length; i++) {\n var arg = arguments[i];\n\n if (arg) {\n for (var _key in arg) {\n if (arg.hasOwnProperty(_key)) {\n if (isArray(arg[_key])) {\n arguments[0][_key] = arg[_key].slice();\n } else {\n arguments[0][_key] = arg[_key];\n }\n }\n }\n }\n }\n\n return arguments[0];\n}\n\nvar LocalForage = function () {\n function LocalForage(options) {\n _classCallCheck(this, LocalForage);\n\n for (var driverTypeKey in DefaultDrivers) {\n if (DefaultDrivers.hasOwnProperty(driverTypeKey)) {\n var driver = DefaultDrivers[driverTypeKey];\n var driverName = driver._driver;\n this[driverTypeKey] = driverName;\n\n if (!DefinedDrivers[driverName]) {\n // we don't need to wait for the promise,\n // since the default drivers can be defined\n // in a blocking manner\n this.defineDriver(driver);\n }\n }\n }\n\n this._defaultConfig = extend({}, DefaultConfig);\n this._config = extend({}, this._defaultConfig, options);\n this._driverSet = null;\n this._initDriver = null;\n this._ready = false;\n this._dbInfo = null;\n\n this._wrapLibraryMethodsWithReady();\n this.setDriver(this._config.driver)[\"catch\"](function () {});\n }\n\n // Set any config values for localForage; can be called anytime before\n // the first API call (e.g. `getItem`, `setItem`).\n // We loop through options so we don't overwrite existing config\n // values.\n\n\n LocalForage.prototype.config = function config(options) {\n // If the options argument is an object, we use it to set values.\n // Otherwise, we return either a specified config value or all\n // config values.\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n // If localforage is ready and fully initialized, we can't set\n // any new configuration values. Instead, we return an error.\n if (this._ready) {\n return new Error(\"Can't call config() after localforage \" + 'has been used.');\n }\n\n for (var i in options) {\n if (i === 'storeName') {\n options[i] = options[i].replace(/\\W/g, '_');\n }\n\n if (i === 'version' && typeof options[i] !== 'number') {\n return new Error('Database version must be a number.');\n }\n\n this._config[i] = options[i];\n }\n\n // after all config options are set and\n // the driver option is used, try setting it\n if ('driver' in options && options.driver) {\n return this.setDriver(this._config.driver);\n }\n\n return true;\n } else if (typeof options === 'string') {\n return this._config[options];\n } else {\n return this._config;\n }\n };\n\n // Used to define a custom driver, shared across all instances of\n // localForage.\n\n\n LocalForage.prototype.defineDriver = function defineDriver(driverObject, callback, errorCallback) {\n var promise = new Promise$1(function (resolve, reject) {\n try {\n var driverName = driverObject._driver;\n var complianceError = new Error('Custom driver not compliant; see ' + 'https://mozilla.github.io/localForage/#definedriver');\n\n // A driver name should be defined and not overlap with the\n // library-defined, default drivers.\n if (!driverObject._driver) {\n reject(complianceError);\n return;\n }\n\n var driverMethods = LibraryMethods.concat('_initStorage');\n for (var i = 0, len = driverMethods.length; i < len; i++) {\n var driverMethodName = driverMethods[i];\n\n // when the property is there,\n // it should be a method even when optional\n var isRequired = !includes(OptionalDriverMethods, driverMethodName);\n if ((isRequired || driverObject[driverMethodName]) && typeof driverObject[driverMethodName] !== 'function') {\n reject(complianceError);\n return;\n }\n }\n\n var configureMissingMethods = function configureMissingMethods() {\n var methodNotImplementedFactory = function methodNotImplementedFactory(methodName) {\n return function () {\n var error = new Error('Method ' + methodName + ' is not implemented by the current driver');\n var promise = Promise$1.reject(error);\n executeCallback(promise, arguments[arguments.length - 1]);\n return promise;\n };\n };\n\n for (var _i = 0, _len = OptionalDriverMethods.length; _i < _len; _i++) {\n var optionalDriverMethod = OptionalDriverMethods[_i];\n if (!driverObject[optionalDriverMethod]) {\n driverObject[optionalDriverMethod] = methodNotImplementedFactory(optionalDriverMethod);\n }\n }\n };\n\n configureMissingMethods();\n\n var setDriverSupport = function setDriverSupport(support) {\n if (DefinedDrivers[driverName]) {\n console.info('Redefining LocalForage driver: ' + driverName);\n }\n DefinedDrivers[driverName] = driverObject;\n DriverSupport[driverName] = support;\n // don't use a then, so that we can define\n // drivers that have simple _support methods\n // in a blocking manner\n resolve();\n };\n\n if ('_support' in driverObject) {\n if (driverObject._support && typeof driverObject._support === 'function') {\n driverObject._support().then(setDriverSupport, reject);\n } else {\n setDriverSupport(!!driverObject._support);\n }\n } else {\n setDriverSupport(true);\n }\n } catch (e) {\n reject(e);\n }\n });\n\n executeTwoCallbacks(promise, callback, errorCallback);\n return promise;\n };\n\n LocalForage.prototype.driver = function driver() {\n return this._driver || null;\n };\n\n LocalForage.prototype.getDriver = function getDriver(driverName, callback, errorCallback) {\n var getDriverPromise = DefinedDrivers[driverName] ? Promise$1.resolve(DefinedDrivers[driverName]) : Promise$1.reject(new Error('Driver not found.'));\n\n executeTwoCallbacks(getDriverPromise, callback, errorCallback);\n return getDriverPromise;\n };\n\n LocalForage.prototype.getSerializer = function getSerializer(callback) {\n var serializerPromise = Promise$1.resolve(localforageSerializer);\n executeTwoCallbacks(serializerPromise, callback);\n return serializerPromise;\n };\n\n LocalForage.prototype.ready = function ready(callback) {\n var self = this;\n\n var promise = self._driverSet.then(function () {\n if (self._ready === null) {\n self._ready = self._initDriver();\n }\n\n return self._ready;\n });\n\n executeTwoCallbacks(promise, callback, callback);\n return promise;\n };\n\n LocalForage.prototype.setDriver = function setDriver(drivers, callback, errorCallback) {\n var self = this;\n\n if (!isArray(drivers)) {\n drivers = [drivers];\n }\n\n var supportedDrivers = this._getSupportedDrivers(drivers);\n\n function setDriverToConfig() {\n self._config.driver = self.driver();\n }\n\n function extendSelfWithDriver(driver) {\n self._extend(driver);\n setDriverToConfig();\n\n self._ready = self._initStorage(self._config);\n return self._ready;\n }\n\n function initDriver(supportedDrivers) {\n return function () {\n var currentDriverIndex = 0;\n\n function driverPromiseLoop() {\n while (currentDriverIndex < supportedDrivers.length) {\n var driverName = supportedDrivers[currentDriverIndex];\n currentDriverIndex++;\n\n self._dbInfo = null;\n self._ready = null;\n\n return self.getDriver(driverName).then(extendSelfWithDriver)[\"catch\"](driverPromiseLoop);\n }\n\n setDriverToConfig();\n var error = new Error('No available storage method found.');\n self._driverSet = Promise$1.reject(error);\n return self._driverSet;\n }\n\n return driverPromiseLoop();\n };\n }\n\n // There might be a driver initialization in progress\n // so wait for it to finish in order to avoid a possible\n // race condition to set _dbInfo\n var oldDriverSetDone = this._driverSet !== null ? this._driverSet[\"catch\"](function () {\n return Promise$1.resolve();\n }) : Promise$1.resolve();\n\n this._driverSet = oldDriverSetDone.then(function () {\n var driverName = supportedDrivers[0];\n self._dbInfo = null;\n self._ready = null;\n\n return self.getDriver(driverName).then(function (driver) {\n self._driver = driver._driver;\n setDriverToConfig();\n self._wrapLibraryMethodsWithReady();\n self._initDriver = initDriver(supportedDrivers);\n });\n })[\"catch\"](function () {\n setDriverToConfig();\n var error = new Error('No available storage method found.');\n self._driverSet = Promise$1.reject(error);\n return self._driverSet;\n });\n\n executeTwoCallbacks(this._driverSet, callback, errorCallback);\n return this._driverSet;\n };\n\n LocalForage.prototype.supports = function supports(driverName) {\n return !!DriverSupport[driverName];\n };\n\n LocalForage.prototype._extend = function _extend(libraryMethodsAndProperties) {\n extend(this, libraryMethodsAndProperties);\n };\n\n LocalForage.prototype._getSupportedDrivers = function _getSupportedDrivers(drivers) {\n var supportedDrivers = [];\n for (var i = 0, len = drivers.length; i < len; i++) {\n var driverName = drivers[i];\n if (this.supports(driverName)) {\n supportedDrivers.push(driverName);\n }\n }\n return supportedDrivers;\n };\n\n LocalForage.prototype._wrapLibraryMethodsWithReady = function _wrapLibraryMethodsWithReady() {\n // Add a stub for each driver API method that delays the call to the\n // corresponding driver method until localForage is ready. These stubs\n // will be replaced by the driver methods as soon as the driver is\n // loaded, so there is no performance impact.\n for (var i = 0, len = LibraryMethods.length; i < len; i++) {\n callWhenReady(this, LibraryMethods[i]);\n }\n };\n\n LocalForage.prototype.createInstance = function createInstance(options) {\n return new LocalForage(options);\n };\n\n return LocalForage;\n}();\n\n// The actual localForage object that we expose as a module or via a\n// global. It's extended by pulling in one of our other libraries.\n\n\nvar localforage_js = new LocalForage();\n\nmodule.exports = localforage_js;\n\n},{\"3\":3}]},{},[4])(4)\n});\n","\nconst canPromise = require('./can-promise')\n\nconst QRCode = require('./core/qrcode')\nconst CanvasRenderer = require('./renderer/canvas')\nconst SvgRenderer = require('./renderer/svg-tag.js')\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n","// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n","/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n","const Mode = require('./mode')\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n '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 ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n","function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n","/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n","const encodeUtf8 = require('encode-utf8')\nconst Mode = require('./mode')\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n data = encodeUtf8(data)\n }\n this.data = new Uint8Array(data)\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n","const ECLevel = require('./error-correction-level')\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n","exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const getSymbolSize = require('./utils').getSymbolSize\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n","const Utils = require('./utils')\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n","const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n","const Mode = require('./mode')\nconst Utils = require('./utils')\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n","/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n","const VersionCheck = require('./version-check')\nconst Regex = require('./regex')\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const Mode = require('./mode')\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n","const GF = require('./galois-field')\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n","const Utils = require('./utils')\nconst ECLevel = require('./error-correction-level')\nconst BitBuffer = require('./bit-buffer')\nconst BitMatrix = require('./bit-matrix')\nconst AlignmentPattern = require('./alignment-pattern')\nconst FinderPattern = require('./finder-pattern')\nconst MaskPattern = require('./mask-pattern')\nconst ECCode = require('./error-correction-code')\nconst ReedSolomonEncoder = require('./reed-solomon-encoder')\nconst Version = require('./version')\nconst FormatInfo = require('./format-info')\nconst Mode = require('./mode')\nconst Segments = require('./segments')\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n","const Polynomial = require('./polynomial')\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n","const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n","const Mode = require('./mode')\nconst NumericData = require('./numeric-data')\nconst AlphanumericData = require('./alphanumeric-data')\nconst ByteData = require('./byte-data')\nconst KanjiData = require('./kanji-data')\nconst Regex = require('./regex')\nconst Utils = require('./utils')\nconst dijkstra = require('dijkstrajs')\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes (segs) {\n const nodes = []\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i]\n\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length },\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.ALPHANUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.KANJI:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n break\n case Mode.BYTE:\n nodes.push([\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n }\n }\n\n return nodes\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph (nodes, version) {\n const table = {}\n const graph = { start: {} }\n let prevNodeIds = ['start']\n\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i]\n const currentNodeIds = []\n\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j]\n const key = '' + i + j\n\n currentNodeIds.push(key)\n table[key] = { node: node, lastCount: 0 }\n graph[key] = {}\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n]\n\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] =\n getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) -\n getSegmentBitsLength(table[prevNodeId].lastCount, node.mode)\n\n table[prevNodeId].lastCount += node.length\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length\n\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) +\n 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost\n }\n }\n }\n\n prevNodeIds = currentNodeIds\n }\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0\n }\n\n return { map: graph, table: table }\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment (data, modesHint) {\n let mode\n const bestMode = Mode.getBestModeForData(data)\n\n mode = Mode.from(modesHint, bestMode)\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' +\n ' cannot be encoded with mode ' + Mode.toString(mode) +\n '.\\n Suggested mode is: ' + Mode.toString(bestMode))\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE\n }\n\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data)\n\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data)\n\n case Mode.KANJI:\n return new KanjiData(data)\n\n case Mode.BYTE:\n return new ByteData(data)\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray (array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null))\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode))\n }\n\n return acc\n }, [])\n}\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString (data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n\n const nodes = buildNodes(segs)\n const graph = buildGraph(nodes, version)\n const path = dijkstra.find_path(graph.map, 'start', 'end')\n\n const optimizedSegs = []\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node)\n }\n\n return exports.fromArray(mergeSegments(optimizedSegs))\n}\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit (data) {\n return exports.fromArray(\n getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n )\n}\n","let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n","/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n","const Utils = require('./utils')\nconst ECCode = require('./error-correction-code')\nconst ECLevel = require('./error-correction-level')\nconst Mode = require('./mode')\nconst VersionCheck = require('./version-check')\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) {\n let seg\n\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M)\n\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl)\n }\n\n if (data.length === 0) {\n return 1\n }\n\n seg = data[0]\n } else {\n seg = data\n }\n\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl)\n}\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits (version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version')\n }\n\n let d = version << 12\n\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH))\n }\n\n return (version << 12) | d\n}\n","const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n","const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : ''\n\n const path =\n ''\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '' + bg + path + '\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n","function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n","import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const { hasError, thrownError, _value } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next((this._value = value));\n }\n}\n","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n this._subscribe(subscriber)\n :\n this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => (value = x), (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n","import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const { _infiniteTimeWindow, _buffer } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error,\n };\n}\n","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n }\n else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const { args: observables, keys } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys\n ?\n (values) => createObject(keys, values)\n :\n identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return (subscriber) => {\n maybeSchedule(scheduler, () => {\n const { length } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (!--active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n }\n else {\n execute();\n }\n}\n","import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable((subscriber) => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable((subscriber) => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable((subscriber) => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const { args: sources, keys } = argsArgArrayOrObject(args);\n const result = new Observable((subscriber) => {\n const { length } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable((subscriber) => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then((result) => {\n if (result.done) {\n subscriber.complete();\n }\n else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable((subscriber) => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n }\n else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable((subscriber) => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({ value, done } = iterator.next());\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target)\n ? eventTargetMethods.map((methodName) => (handler) => target[methodName](eventName, handler, options))\n :\n isNodeStyleEventEmitter(target)\n ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName))\n : isJQueryStyleEventEmitter(target)\n ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName))\n : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap((subTarget) => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable((subscriber) => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return (methodName) => (handler) => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { __asyncValues, __awaiter } from \"tslib\";\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isPromise } from '../util/isPromise';\nimport { Observable } from '../Observable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isIterable } from '../util/isIterable';\nimport { isReadableStreamLike, readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nimport { isFunction } from '../util/isFunction';\nimport { reportUnhandledError } from '../util/reportUnhandledError';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function innerFrom(input) {\n if (input instanceof Observable) {\n return input;\n }\n if (input != null) {\n if (isInteropObservable(input)) {\n return fromInteropObservable(input);\n }\n if (isArrayLike(input)) {\n return fromArrayLike(input);\n }\n if (isPromise(input)) {\n return fromPromise(input);\n }\n if (isAsyncIterable(input)) {\n return fromAsyncIterable(input);\n }\n if (isIterable(input)) {\n return fromIterable(input);\n }\n if (isReadableStreamLike(input)) {\n return fromReadableStreamLike(input);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\nexport function fromInteropObservable(obj) {\n return new Observable((subscriber) => {\n const obs = obj[Symbol_observable]();\n if (isFunction(obs.subscribe)) {\n return obs.subscribe(subscriber);\n }\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n });\n}\nexport function fromArrayLike(array) {\n return new Observable((subscriber) => {\n for (let i = 0; i < array.length && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n });\n}\nexport function fromPromise(promise) {\n return new Observable((subscriber) => {\n promise\n .then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, reportUnhandledError);\n });\n}\nexport function fromIterable(iterable) {\n return new Observable((subscriber) => {\n for (const value of iterable) {\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n subscriber.complete();\n });\n}\nexport function fromAsyncIterable(asyncIterable) {\n return new Observable((subscriber) => {\n process(asyncIterable, subscriber).catch((err) => subscriber.error(err));\n });\n}\nexport function fromReadableStreamLike(readableStream) {\n return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));\n}\nfunction process(asyncIterable, subscriber) {\n var asyncIterable_1, asyncIterable_1_1;\n var e_1, _a;\n return __awaiter(this, void 0, void 0, function* () {\n try {\n for (asyncIterable_1 = __asyncValues(asyncIterable); asyncIterable_1_1 = yield asyncIterable_1.next(), !asyncIterable_1_1.done;) {\n const value = asyncIterable_1_1.value;\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n subscriber.complete();\n });\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { timer } from './timer';\nexport function interval(period = 0, scheduler = asyncScheduler) {\n if (period < 0) {\n period = 0;\n }\n return timer(period, period, scheduler);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Observable } from '../Observable';\nimport { async as asyncScheduler } from '../scheduler/async';\nimport { isScheduler } from '../util/isScheduler';\nimport { isValidDate } from '../util/isDate';\nexport function timer(dueTime = 0, intervalOrScheduler, scheduler = asyncScheduler) {\n let intervalDuration = -1;\n if (intervalOrScheduler != null) {\n if (isScheduler(intervalOrScheduler)) {\n scheduler = intervalOrScheduler;\n }\n else {\n intervalDuration = intervalOrScheduler;\n }\n }\n return new Observable((subscriber) => {\n let due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;\n if (due < 0) {\n due = 0;\n }\n let n = 0;\n return scheduler.schedule(function () {\n if (!subscriber.closed) {\n subscriber.next(n++);\n if (0 <= intervalDuration) {\n this.schedule(undefined, intervalDuration);\n }\n else {\n subscriber.complete();\n }\n }\n }, due);\n });\n}\n","export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate((source, subscriber) => {\n let innerSub = null;\n let syncUnsub = false;\n let handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, (err) => {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { identity } from '../util/identity';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function distinctUntilChanged(comparator, keySelector = identity) {\n comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;\n return operate((source, subscriber) => {\n let previousKey;\n let first = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const currentKey = keySelector(value);\n if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function filter(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => predicate.call(thisArg, value, index++) && subscriber.next(value)));\n });\n}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n }\n finally {\n subscriber.add(callback);\n }\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = (value) => (active < concurrent ? doInnerSub(value) : buffer.push(value));\n const doInnerSub = (value) => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n }\n else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n }\n else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n }\n catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const { connector = () => new Subject(), resetOnError = true, resetOnComplete = true, resetOnRefCountZero = true } = options;\n return (wrapperSource) => {\n let connection;\n let resetConnection;\n let subject;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = (subject = subject !== null && subject !== void 0 ? subject : connector());\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection &&\n refCount > 0) {\n connection = new SafeSubscriber({\n next: (value) => dest.next(value),\n error: (err) => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnError, err);\n dest.error(err);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete);\n dest.complete();\n },\n });\n innerFrom(source).subscribe(connection);\n }\n })(wrapperSource);\n };\n}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n },\n });\n return innerFrom(on(...args)).subscribe(onSubscriber);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n }\n else {\n bufferSize = (configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity);\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe((innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n })));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0\n ?\n () => EMPTY\n : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { isFunction } from '../util/isFunction';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nexport function tap(observerOrNext, error, complete) {\n const tapObserver = isFunction(observerOrNext) || error || complete\n ?\n { next: observerOrNext, error, complete }\n : observerOrNext;\n return tapObserver\n ? operate((source, subscriber) => {\n var _a;\n (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n let isUnsub = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n var _a;\n (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.complete) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n subscriber.complete();\n }, (err) => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.error) === null || _a === void 0 ? void 0 : _a.call(tapObserver, err);\n subscriber.error(err);\n }, () => {\n var _a, _b;\n if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n })\n :\n identity;\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n","export function getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\n","export const observable = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass((_super) => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","const { isArray } = Array;\nconst { getPrototypeOf, prototype: objectProto, keys: getKeys } = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return { args: first, keys: null };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map((key) => first[key]),\n keys,\n };\n }\n }\n return { args: args, keys: null };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {});\n}\n","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n }\n else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","export function identity(x) {\n return x;\n}\n","export const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n","import { isFunction } from './isFunction';\nexport function isAsyncIterable(obj) {\n return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\nexport function isInteropObservable(input) {\n return isFunction(input[Symbol_observable]);\n}\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));\n}\n","import { isFunction } from \"./isFunction\";\nexport function isPromise(value) {\n return isFunction(value === null || value === void 0 ? void 0 : value.then);\n}\n","import { __asyncGenerator, __await } from \"tslib\";\nimport { isFunction } from './isFunction';\nexport function readableStreamLikeToAsyncGenerator(readableStream) {\n return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const { value, done } = yield __await(reader.read());\n if (done) {\n return yield __await(void 0);\n }\n yield yield __await(value);\n }\n }\n finally {\n reader.releaseLock();\n }\n });\n}\nexport function isReadableStreamLike(obj) {\n return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { map } from \"../operators/map\";\nconst { isArray } = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","export function noop() { }\n","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n","export function createInvalidObservableTypeError(input) {\n return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);\n}\n","!function(t,e){if(\"object\"==typeof exports&&\"object\"==typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)(\"object\"==typeof exports?exports:t)[r]=n[r]}}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=194)}([function(t,e,n){var r=n(79),i=n(130);t.exports=function(t,e,n){return(e=i(e))in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){\"use strict\";var r=n(9),i=n(65),o=n(103),s=n(10),a=n(48).f,u=n(128),c=n(7),f=n(42),l=n(37),p=n(14),h=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return i(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,i,d,v,g,y,m,_,x,b=t.target,S=t.global,w=t.stat,I=t.proto,k=S?r:w?r[b]:(r[b]||{}).prototype,E=S?c:c[b]||l(c,b,{})[b],P=E.prototype;for(v in e)i=!(n=u(S?v:b+(w?\".\":\"#\")+v,t.forced))&&k&&p(k,v),y=E[v],i&&(m=t.dontCallGetSet?(x=a(k,v))&&x.value:k[v]),g=i&&m?m:e[v],i&&typeof y==typeof g||(_=t.bind&&i?f(g,r):t.wrap&&i?h(g):I&&s(g)?o(g):g,(t.sham||g&&g.sham||y&&y.sham)&&l(_,\"sham\",!0),l(E,v,_),I&&(p(c,d=b+\"Prototype\")||l(c,d,{}),l(c[d],v,g),t.real&&P&&(n||!P[v])&&l(P,v,g)))}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(399)},function(t,e,n){var r=n(79),i=n(130);function o(t,e){for(var n=0;n=e.length?(t.target=void 0,c(void 0,!0)):c(\"keys\"==n?r:\"values\"==n?e[r]:[r,e[r]],!1)}),\"values\");var d=o.Arguments=o.Array;if(i(\"keys\"),i(\"values\"),i(\"entries\"),!f&&l&&\"values\"!==d.name)try{a(d,\"name\",{value:\"values\"})}catch(t){}},function(t,e,n){t.exports=n(408)},function(t,e,n){t.exports=n(311)},function(t,e,n){var r=n(84),i=n(5);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r=n(47);t.exports=Array.isArray||function(t){return\"Array\"==r(t)}},function(t,e,n){var r,i=n(20),o=n(112),s=n(115),a=n(89),u=n(136),c=n(108),f=n(90),l=f(\"IE_PROTO\"),p=function(){},h=function(t){return\"