{"version":3,"sources":["Scripts/showBrowserSupport.ts"],"names":["Alkami","Dom","onDocumentReady","BrowserSupport","support","getSupport","isMobile","isMobileUnsupported","displayMobileUnsupportedMessage","showPopup","displayUnsupportedMessage","hasCookies","displayCookiesDisabledMessage"],"mappings":"aAEAA,OAAOC,IAAIC,iBAAgB,WAEvB,GAAIF,OAAOG,eAAgB,CACvB,IAAMC,EAAUJ,OAAOG,eAAeE,aAEtC,GAAID,EAAQE,UACR,GAAIF,EAAQG,oBAER,YADAP,OAAOG,eAAeK,uCAI1B,GAAIJ,EAAQK,UAER,YADAT,OAAOG,eAAeO,4BAM9B,IAAKN,EAAQO,WAET,YADAX,OAAOG,eAAeS","file":"showBrowserSupport.min.js","sourcesContent":["declare var Alkami: any;\r\n\r\nAlkami.Dom.onDocumentReady(() => {\r\n\r\n if (Alkami.BrowserSupport) {\r\n const support = Alkami.BrowserSupport.getSupport();\r\n\r\n if (support.isMobile) {\r\n if (support.isMobileUnsupported) {\r\n Alkami.BrowserSupport.displayMobileUnsupportedMessage();\r\n return;\r\n }\r\n } else {\r\n if (support.showPopup) {\r\n Alkami.BrowserSupport.displayUnsupportedMessage();\r\n return;\r\n }\r\n }\r\n\r\n // Check whether or not cookies are enabled\r\n if (!support.hasCookies) {\r\n Alkami.BrowserSupport.displayCookiesDisabledMessage();\r\n return;\r\n }\r\n }\r\n});"]}