summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/messaging-compat/dist
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/messaging-compat/dist
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/messaging-compat/dist')
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js134
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/package.json1
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/index.d.ts31
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/messaging-compat.d.ts41
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/registerMessagingCompat.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/fakes.d.ts20
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/messaging-compat.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js140
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/src/index.d.ts40
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/src/messaging-compat.d.ts41
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/src/registerMessagingCompat.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/test/fakes.d.ts20
-rw-r--r--frontend-old/node_modules/@firebase/messaging-compat/dist/test/messaging-compat.test.d.ts17
15 files changed, 0 insertions, 550 deletions
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js
deleted file mode 100644
index 886ce14..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js
+++ /dev/null
@@ -1,134 +0,0 @@
-import firebase from '@firebase/app-compat';
-import { Component } from '@firebase/component';
-import { getToken, deleteToken, onMessage } from '@firebase/messaging';
-import { isIndexedDBAvailable, areCookiesEnabled } from '@firebase/util';
-import { onBackgroundMessage } from '@firebase/messaging/sw';
-
-const name = "@firebase/messaging-compat";
-const version = "0.2.23";
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-function isSupported() {
- if (self && 'ServiceWorkerGlobalScope' in self) {
- // Running in ServiceWorker context
- return isSwSupported();
- }
- else {
- // Assume we are in the window context.
- return isWindowSupported();
- }
-}
-/**
- * Checks to see if the required APIs exist.
- * Unlike the modular version, it does not check if IndexedDB.open() is allowed
- * in order to keep isSupported() synchronous and maintain v8 compatibility.
- */
-function isWindowSupported() {
- return (typeof window !== 'undefined' &&
- isIndexedDBAvailable() &&
- areCookiesEnabled() &&
- 'serviceWorker' in navigator &&
- 'PushManager' in window &&
- 'Notification' in window &&
- 'fetch' in window &&
- ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&
- PushSubscription.prototype.hasOwnProperty('getKey'));
-}
-/**
- * Checks to see if the required APIs exist within SW Context.
- */
-function isSwSupported() {
- return (isIndexedDBAvailable() &&
- 'PushManager' in self &&
- 'Notification' in self &&
- ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&
- PushSubscription.prototype.hasOwnProperty('getKey'));
-}
-class MessagingCompatImpl {
- constructor(app, _delegate) {
- this.app = app;
- this._delegate = _delegate;
- this.app = app;
- this._delegate = _delegate;
- }
- async getToken(options) {
- return getToken(this._delegate, options);
- }
- async deleteToken() {
- return deleteToken(this._delegate);
- }
- onMessage(nextOrObserver) {
- return onMessage(this._delegate, nextOrObserver);
- }
- onBackgroundMessage(nextOrObserver) {
- return onBackgroundMessage(this._delegate, nextOrObserver);
- }
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-const messagingCompatFactory = (container) => {
- if (self && 'ServiceWorkerGlobalScope' in self) {
- // in sw
- return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
- }
- else {
- // in window
- return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging').getImmediate());
- }
-};
-const NAMESPACE_EXPORTS = {
- isSupported
-};
-function registerMessagingCompat() {
- firebase.INTERNAL.registerComponent(new Component('messaging-compat', messagingCompatFactory, "PUBLIC" /* ComponentType.PUBLIC */).setServiceProps(NAMESPACE_EXPORTS));
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-registerMessagingCompat();
-firebase.registerVersion(name, version);
-//# sourceMappingURL=index.esm.js.map
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js.map
deleted file mode 100644
index aca79ef..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/index.esm.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.esm.js","sources":["../../src/messaging-compat.ts","../../src/registerMessagingCompat.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n FirebaseApp as AppCompat,\n _FirebaseService\n} from '@firebase/app-compat';\nimport {\n Messaging,\n MessagePayload,\n deleteToken,\n getToken,\n onMessage\n} from '@firebase/messaging';\nimport {\n areCookiesEnabled,\n isIndexedDBAvailable,\n NextFn,\n Observer,\n Unsubscribe\n} from '@firebase/util';\n\nimport { onBackgroundMessage } from '@firebase/messaging/sw';\n\nexport interface MessagingCompat {\n getToken(options?: {\n vapidKey?: string;\n serviceWorkerRegistration?: ServiceWorkerRegistration;\n }): Promise<string>;\n\n deleteToken(): Promise<boolean>;\n\n onMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe;\n\n onBackgroundMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe;\n}\n\nexport function isSupported(): boolean {\n if (self && 'ServiceWorkerGlobalScope' in self) {\n // Running in ServiceWorker context\n return isSwSupported();\n } else {\n // Assume we are in the window context.\n return isWindowSupported();\n }\n}\n\n/**\n * Checks to see if the required APIs exist.\n * Unlike the modular version, it does not check if IndexedDB.open() is allowed\n * in order to keep isSupported() synchronous and maintain v8 compatibility.\n */\nfunction isWindowSupported(): boolean {\n return (\n typeof window !== 'undefined' &&\n isIndexedDBAvailable() &&\n areCookiesEnabled() &&\n 'serviceWorker' in navigator &&\n 'PushManager' in window &&\n 'Notification' in window &&\n 'fetch' in window &&\n ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&\n PushSubscription.prototype.hasOwnProperty('getKey')\n );\n}\n\n/**\n * Checks to see if the required APIs exist within SW Context.\n */\nfunction isSwSupported(): boolean {\n return (\n isIndexedDBAvailable() &&\n 'PushManager' in self &&\n 'Notification' in self &&\n ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&\n PushSubscription.prototype.hasOwnProperty('getKey')\n );\n}\n\nexport class MessagingCompatImpl implements MessagingCompat, _FirebaseService {\n constructor(readonly app: AppCompat, readonly _delegate: Messaging) {\n this.app = app;\n this._delegate = _delegate;\n }\n\n async getToken(options?: {\n vapidKey?: string;\n serviceWorkerRegistration?: ServiceWorkerRegistration;\n }): Promise<string> {\n return getToken(this._delegate, options);\n }\n\n async deleteToken(): Promise<boolean> {\n return deleteToken(this._delegate);\n }\n\n onMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe {\n return onMessage(this._delegate, nextOrObserver);\n }\n\n onBackgroundMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe {\n return onBackgroundMessage(this._delegate, nextOrObserver);\n }\n}\n","/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Component,\n ComponentContainer,\n ComponentType,\n InstanceFactory\n} from '@firebase/component';\nimport { MessagingCompatImpl, isSupported } from './messaging-compat';\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\n\ndeclare module '@firebase/component' {\n interface NameServiceMapping {\n 'messaging-compat': MessagingCompatImpl;\n }\n}\n\nconst messagingCompatFactory: InstanceFactory<'messaging-compat'> = (\n container: ComponentContainer\n) => {\n if (self && 'ServiceWorkerGlobalScope' in self) {\n // in sw\n return new MessagingCompatImpl(\n container.getProvider('app-compat').getImmediate(),\n container.getProvider('messaging-sw').getImmediate()\n );\n } else {\n // in window\n return new MessagingCompatImpl(\n container.getProvider('app-compat').getImmediate(),\n container.getProvider('messaging').getImmediate()\n );\n }\n};\n\nconst NAMESPACE_EXPORTS = {\n isSupported\n};\n\nexport function registerMessagingCompat(): void {\n (firebase as _FirebaseNamespace).INTERNAL.registerComponent(\n new Component(\n 'messaging-compat',\n messagingCompatFactory,\n ComponentType.PUBLIC\n ).setServiceProps(NAMESPACE_EXPORTS)\n );\n}\n","/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { name, version } from '../package.json';\n\nimport firebase from '@firebase/app-compat';\nimport { registerMessagingCompat } from './registerMessagingCompat';\nimport { MessagingCompat } from './messaging-compat';\n\nregisterMessagingCompat();\nfirebase.registerVersion(name, version);\n\n/**\n * Define extension behavior of `registerMessaging`\n */\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n messaging: {\n (app?: FirebaseApp): MessagingCompat;\n isSupported(): boolean;\n };\n }\n interface FirebaseApp {\n messaging(): MessagingCompat;\n }\n}\n"],"names":[],"mappings":"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"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/package.json b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/package.json
deleted file mode 100644
index 7c34deb..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{"type":"module"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/index.d.ts
deleted file mode 100644
index 5e32ac5..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/index.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { MessagingCompat } from './messaging-compat';
-/**
- * Define extension behavior of `registerMessaging`
- */
-declare module '@firebase/app-compat' {
- interface FirebaseNamespace {
- messaging: {
- (app?: FirebaseApp): MessagingCompat;
- isSupported(): boolean;
- };
- }
- interface FirebaseApp {
- messaging(): MessagingCompat;
- }
-}
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/messaging-compat.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/messaging-compat.d.ts
deleted file mode 100644
index d16ab46..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/messaging-compat.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp as AppCompat, _FirebaseService } from '@firebase/app-compat';
-import { Messaging, MessagePayload } from '@firebase/messaging';
-import { NextFn, Observer, Unsubscribe } from '@firebase/util';
-export interface MessagingCompat {
- getToken(options?: {
- vapidKey?: string;
- serviceWorkerRegistration?: ServiceWorkerRegistration;
- }): Promise<string>;
- deleteToken(): Promise<boolean>;
- onMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
- onBackgroundMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
-}
-export declare function isSupported(): boolean;
-export declare class MessagingCompatImpl implements MessagingCompat, _FirebaseService {
- readonly app: AppCompat;
- readonly _delegate: Messaging;
- constructor(app: AppCompat, _delegate: Messaging);
- getToken(options?: {
- vapidKey?: string;
- serviceWorkerRegistration?: ServiceWorkerRegistration;
- }): Promise<string>;
- deleteToken(): Promise<boolean>;
- onMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
- onBackgroundMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
-}
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/registerMessagingCompat.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/registerMessagingCompat.d.ts
deleted file mode 100644
index b26cfeb..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/src/registerMessagingCompat.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { MessagingCompatImpl } from './messaging-compat';
-declare module '@firebase/component' {
- interface NameServiceMapping {
- 'messaging-compat': MessagingCompatImpl;
- }
-}
-export declare function registerMessagingCompat(): void;
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/fakes.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/fakes.d.ts
deleted file mode 100644
index 2494b29..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/fakes.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp } from '@firebase/app-compat';
-import { Messaging } from '@firebase/messaging';
-export declare function getFakeApp(): FirebaseApp;
-export declare function getFakeModularMessaging(): Messaging;
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/messaging-compat.test.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/messaging-compat.test.d.ts
deleted file mode 100644
index 731d2d9..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/esm/test/messaging-compat.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export {};
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js b/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js
deleted file mode 100644
index 7e53dca..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js
+++ /dev/null
@@ -1,140 +0,0 @@
-'use strict';
-
-var firebase = require('@firebase/app-compat');
-var component = require('@firebase/component');
-var messaging = require('@firebase/messaging');
-var util = require('@firebase/util');
-var sw = require('@firebase/messaging/sw');
-
-function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
-
-var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
-
-const name = "@firebase/messaging-compat";
-const version = "0.2.23";
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-function isSupported() {
- if (self && 'ServiceWorkerGlobalScope' in self) {
- // Running in ServiceWorker context
- return isSwSupported();
- }
- else {
- // Assume we are in the window context.
- return isWindowSupported();
- }
-}
-/**
- * Checks to see if the required APIs exist.
- * Unlike the modular version, it does not check if IndexedDB.open() is allowed
- * in order to keep isSupported() synchronous and maintain v8 compatibility.
- */
-function isWindowSupported() {
- return (typeof window !== 'undefined' &&
- util.isIndexedDBAvailable() &&
- util.areCookiesEnabled() &&
- 'serviceWorker' in navigator &&
- 'PushManager' in window &&
- 'Notification' in window &&
- 'fetch' in window &&
- ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&
- PushSubscription.prototype.hasOwnProperty('getKey'));
-}
-/**
- * Checks to see if the required APIs exist within SW Context.
- */
-function isSwSupported() {
- return (util.isIndexedDBAvailable() &&
- 'PushManager' in self &&
- 'Notification' in self &&
- ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&
- PushSubscription.prototype.hasOwnProperty('getKey'));
-}
-class MessagingCompatImpl {
- constructor(app, _delegate) {
- this.app = app;
- this._delegate = _delegate;
- this.app = app;
- this._delegate = _delegate;
- }
- async getToken(options) {
- return messaging.getToken(this._delegate, options);
- }
- async deleteToken() {
- return messaging.deleteToken(this._delegate);
- }
- onMessage(nextOrObserver) {
- return messaging.onMessage(this._delegate, nextOrObserver);
- }
- onBackgroundMessage(nextOrObserver) {
- return sw.onBackgroundMessage(this._delegate, nextOrObserver);
- }
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-const messagingCompatFactory = (container) => {
- if (self && 'ServiceWorkerGlobalScope' in self) {
- // in sw
- return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging-sw').getImmediate());
- }
- else {
- // in window
- return new MessagingCompatImpl(container.getProvider('app-compat').getImmediate(), container.getProvider('messaging').getImmediate());
- }
-};
-const NAMESPACE_EXPORTS = {
- isSupported
-};
-function registerMessagingCompat() {
- firebase__default["default"].INTERNAL.registerComponent(new component.Component('messaging-compat', messagingCompatFactory, "PUBLIC" /* ComponentType.PUBLIC */).setServiceProps(NAMESPACE_EXPORTS));
-}
-
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-registerMessagingCompat();
-firebase__default["default"].registerVersion(name, version);
-//# sourceMappingURL=index.cjs.js.map
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js.map
deleted file mode 100644
index 24e4fca..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/index.cjs.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.cjs.js","sources":["../src/messaging-compat.ts","../src/registerMessagingCompat.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n FirebaseApp as AppCompat,\n _FirebaseService\n} from '@firebase/app-compat';\nimport {\n Messaging,\n MessagePayload,\n deleteToken,\n getToken,\n onMessage\n} from '@firebase/messaging';\nimport {\n areCookiesEnabled,\n isIndexedDBAvailable,\n NextFn,\n Observer,\n Unsubscribe\n} from '@firebase/util';\n\nimport { onBackgroundMessage } from '@firebase/messaging/sw';\n\nexport interface MessagingCompat {\n getToken(options?: {\n vapidKey?: string;\n serviceWorkerRegistration?: ServiceWorkerRegistration;\n }): Promise<string>;\n\n deleteToken(): Promise<boolean>;\n\n onMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe;\n\n onBackgroundMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe;\n}\n\nexport function isSupported(): boolean {\n if (self && 'ServiceWorkerGlobalScope' in self) {\n // Running in ServiceWorker context\n return isSwSupported();\n } else {\n // Assume we are in the window context.\n return isWindowSupported();\n }\n}\n\n/**\n * Checks to see if the required APIs exist.\n * Unlike the modular version, it does not check if IndexedDB.open() is allowed\n * in order to keep isSupported() synchronous and maintain v8 compatibility.\n */\nfunction isWindowSupported(): boolean {\n return (\n typeof window !== 'undefined' &&\n isIndexedDBAvailable() &&\n areCookiesEnabled() &&\n 'serviceWorker' in navigator &&\n 'PushManager' in window &&\n 'Notification' in window &&\n 'fetch' in window &&\n ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&\n PushSubscription.prototype.hasOwnProperty('getKey')\n );\n}\n\n/**\n * Checks to see if the required APIs exist within SW Context.\n */\nfunction isSwSupported(): boolean {\n return (\n isIndexedDBAvailable() &&\n 'PushManager' in self &&\n 'Notification' in self &&\n ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') &&\n PushSubscription.prototype.hasOwnProperty('getKey')\n );\n}\n\nexport class MessagingCompatImpl implements MessagingCompat, _FirebaseService {\n constructor(readonly app: AppCompat, readonly _delegate: Messaging) {\n this.app = app;\n this._delegate = _delegate;\n }\n\n async getToken(options?: {\n vapidKey?: string;\n serviceWorkerRegistration?: ServiceWorkerRegistration;\n }): Promise<string> {\n return getToken(this._delegate, options);\n }\n\n async deleteToken(): Promise<boolean> {\n return deleteToken(this._delegate);\n }\n\n onMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe {\n return onMessage(this._delegate, nextOrObserver);\n }\n\n onBackgroundMessage(\n nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>\n ): Unsubscribe {\n return onBackgroundMessage(this._delegate, nextOrObserver);\n }\n}\n","/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Component,\n ComponentContainer,\n ComponentType,\n InstanceFactory\n} from '@firebase/component';\nimport { MessagingCompatImpl, isSupported } from './messaging-compat';\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\n\ndeclare module '@firebase/component' {\n interface NameServiceMapping {\n 'messaging-compat': MessagingCompatImpl;\n }\n}\n\nconst messagingCompatFactory: InstanceFactory<'messaging-compat'> = (\n container: ComponentContainer\n) => {\n if (self && 'ServiceWorkerGlobalScope' in self) {\n // in sw\n return new MessagingCompatImpl(\n container.getProvider('app-compat').getImmediate(),\n container.getProvider('messaging-sw').getImmediate()\n );\n } else {\n // in window\n return new MessagingCompatImpl(\n container.getProvider('app-compat').getImmediate(),\n container.getProvider('messaging').getImmediate()\n );\n }\n};\n\nconst NAMESPACE_EXPORTS = {\n isSupported\n};\n\nexport function registerMessagingCompat(): void {\n (firebase as _FirebaseNamespace).INTERNAL.registerComponent(\n new Component(\n 'messaging-compat',\n messagingCompatFactory,\n ComponentType.PUBLIC\n ).setServiceProps(NAMESPACE_EXPORTS)\n );\n}\n","/**\n * @license\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 * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { name, version } from '../package.json';\n\nimport firebase from '@firebase/app-compat';\nimport { registerMessagingCompat } from './registerMessagingCompat';\nimport { MessagingCompat } from './messaging-compat';\n\nregisterMessagingCompat();\nfirebase.registerVersion(name, version);\n\n/**\n * Define extension behavior of `registerMessaging`\n */\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n messaging: {\n (app?: FirebaseApp): MessagingCompat;\n isSupported(): boolean;\n };\n }\n interface FirebaseApp {\n messaging(): MessagingCompat;\n }\n}\n"],"names":["isIndexedDBAvailable","areCookiesEnabled","getToken","deleteToken","onMessage","onBackgroundMessage","firebase","Component"],"mappings":"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"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/src/index.d.ts
deleted file mode 100644
index 1b6364b..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/index.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { MessagingCompat } from './messaging-compat';
-/**
- * Define extension behavior of `registerMessaging`
- */
-declare module '@firebase/app-compat' {
- interface FirebaseNamespace {
- messaging: {
- (app?: FirebaseApp): MessagingCompat;
- isSupported(): boolean;
- };
- }
- interface FirebaseApp {
- messaging(): MessagingCompat;
- }
-}
-
-import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
-import { type Messaging, type GetTokenOptions, type NextFn, type MessagePayload, type Observer, type Unsubscribe } from "@firebase/messaging";
-declare module "@firebase/messaging" {
- function deleteToken(messaging: MessagingCompat): Promise<boolean>;
- function getMessaging(app?: FirebaseAppCompat): Messaging;
- function getToken(messaging: MessagingCompat, options?: GetTokenOptions): Promise<string>;
- function onMessage(messaging: MessagingCompat, nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
-}
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/messaging-compat.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/src/messaging-compat.d.ts
deleted file mode 100644
index d16ab46..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/messaging-compat.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp as AppCompat, _FirebaseService } from '@firebase/app-compat';
-import { Messaging, MessagePayload } from '@firebase/messaging';
-import { NextFn, Observer, Unsubscribe } from '@firebase/util';
-export interface MessagingCompat {
- getToken(options?: {
- vapidKey?: string;
- serviceWorkerRegistration?: ServiceWorkerRegistration;
- }): Promise<string>;
- deleteToken(): Promise<boolean>;
- onMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
- onBackgroundMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
-}
-export declare function isSupported(): boolean;
-export declare class MessagingCompatImpl implements MessagingCompat, _FirebaseService {
- readonly app: AppCompat;
- readonly _delegate: Messaging;
- constructor(app: AppCompat, _delegate: Messaging);
- getToken(options?: {
- vapidKey?: string;
- serviceWorkerRegistration?: ServiceWorkerRegistration;
- }): Promise<string>;
- deleteToken(): Promise<boolean>;
- onMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
- onBackgroundMessage(nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
-}
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/registerMessagingCompat.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/src/registerMessagingCompat.d.ts
deleted file mode 100644
index b26cfeb..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/src/registerMessagingCompat.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { MessagingCompatImpl } from './messaging-compat';
-declare module '@firebase/component' {
- interface NameServiceMapping {
- 'messaging-compat': MessagingCompatImpl;
- }
-}
-export declare function registerMessagingCompat(): void;
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/test/fakes.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/test/fakes.d.ts
deleted file mode 100644
index 2494b29..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/test/fakes.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { FirebaseApp } from '@firebase/app-compat';
-import { Messaging } from '@firebase/messaging';
-export declare function getFakeApp(): FirebaseApp;
-export declare function getFakeModularMessaging(): Messaging;
diff --git a/frontend-old/node_modules/@firebase/messaging-compat/dist/test/messaging-compat.test.d.ts b/frontend-old/node_modules/@firebase/messaging-compat/dist/test/messaging-compat.test.d.ts
deleted file mode 100644
index 731d2d9..0000000
--- a/frontend-old/node_modules/@firebase/messaging-compat/dist/test/messaging-compat.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export {};