{ "version": 3, "sources": ["apps/business-center-client/src/app/core/mobile.ts"], "sourcesContent": ["export class TokenInfo {\n registrationToken: string;\n userId: string;\n partnerId: string;\n deviceId: string;\n\n constructor(registrationToken: string, userId: string, partnerId: string, deviceId: string) {\n this.registrationToken = registrationToken;\n this.userId = userId;\n this.partnerId = partnerId;\n this.deviceId = deviceId;\n }\n\n equals(other: TokenInfo): boolean {\n return (\n this.registrationToken === other.registrationToken &&\n this.userId === other.userId &&\n this.partnerId === other.partnerId &&\n this.deviceId === other.deviceId\n );\n }\n}\n\n// Determines if the screen is a mobile phone sized screen\nexport function isMobile(): boolean {\n return window.matchMedia('(max-width: 767px)').matches;\n}\n"], "mappings": "wCAwBM,SAAUA,GAAQ,CACtB,OAAOC,OAAOC,WAAW,oBAAoB,EAAEC,OACjD,CA1BA,IAAaC,EAAbC,EAAAC,EAAA,KAAaF,EAAP,KAAgB,CAMpBG,YAAYC,EAA2BC,EAAgBC,EAAmBC,EAAgB,CACxF,KAAKH,kBAAoBA,EACzB,KAAKC,OAASA,EACd,KAAKC,UAAYA,EACjB,KAAKC,SAAWA,CAClB,CAEAC,OAAOC,EAAgB,CACrB,OACE,KAAKL,oBAAsBK,EAAML,mBACjC,KAAKC,SAAWI,EAAMJ,QACtB,KAAKC,YAAcG,EAAMH,WACzB,KAAKC,WAAaE,EAAMF,QAE5B", "names": ["isMobile", "window", "matchMedia", "matches", "TokenInfo", "init_mobile", "__esmMin", "constructor", "registrationToken", "userId", "partnerId", "deviceId", "equals", "other"] }